Tag Info

Hot answers tagged

5

I just did this! /data/property/persist.sys.dalvik.vm.lib is a textfile containing one of two values: 'libart.so' or 'libdvm.so'. You can change from ART to Dalvik simply by editing this file. Ex: adb shell 'echo libdvm.so >/data/property/persist.sys.dalvik.vm.lib'


3

Quite easy: find / starts exploring at the file system root (i.e. the very top). So it comes to places you have no access to as normal user, and runs into permission issues. It sees a directory called /proc/19619 and, knowing this is a directory, wants to traverse into it. But it is not permitted to (most likely the permission of that directory is something ...


1

After months of not being able to debug through ADB, I've figured it out. According to this answer on Stack Overflow, the program EasyTetherUSBEthernet can cause problems with ADB. Running this in terminal, with a reboot fixed all my problems. sudo kextunload -v /System/Library/Extensions/EasyTetherUSBEthernet.kextv If you need to use ...


1

Adb sideload command just loads a zip file from the computer to the phone. The creator of the zip controls what it does (the recovery just uploads it from the computer and looks at a specific file). You can do a lot with it, but it's not a full rom, it's cannot replace a rom. Here is an example of an update.zip I once wrote and sideloaded it to a phone: ...


1

As it turns out, the issue was that my phone was no longer being recognised as a composite USB device by Windows, meaning only one of ADB, MTP or HTC Sync was capable of running at a given time. After the update, MTP was always recognised first. This explains both the 4.3 issue of MTP and ADB conflicting, and the 4.4 issue of no ADB. The solution was ...


1

If you run adb with no arguments, the help text will tell you the answer to this question. adb uninstall -k com.mycompany.myapp removes the app but leaves the data and cache directories. Similarly, adb install -r myapp.apk reinstalls an existing app with a new APK file, keeping its data intact. As a side-note, I don't know if this affects you, but ...



Only top voted, non community-wiki answers of a minimum length are eligible