Showing posts with label 'adb. Show all posts
Showing posts with label 'adb. Show all posts

Wednesday, 7 October 2015

adb build.prop restore - rooted phone but cannot gain SU or 'root' in adb.



Hi all,

I have been through douzens of threads and forums looking for a solution to this.

I followed some instructions to modify the build.prop file on my Huawei G535-L11 to disable Huawei theme manager in order to get Xsposed working fully (changed ro.config.hwtheme: 0). I did a backup of my original build.prop before hand, and my phone was rooted and unlocked but running the stock rom.

Unfortunately, it rebooted but won't go past the first 'EE' splash screen (just turns off again).
I can inconsistently get in to both fastboot and Android recovery, so I have been trying to use adb to push the original build.prop to /system/ on the phone.
However, this fails as /system/ is apparently RO. I have now discovered that I can't get SU permissions despite my phone being rooted.
If I try:
adb shell
$ su
nothing happens and it goes back to a $ prompt.
If I try:
adb root
I get the message (paraphrased):
adb cannot run as root in production builds.

So I can't push or do any adb method of restoring the build.prop file?! I don't understand why it is acting as if it is not rooted. I had Link2sd, Gravity Box, No Frills Cpu Controller all set up and working before, so I'm fairly sure I did truly have root.

I have also tried flashing a TWRP recovery, which apparently is successful, but when I go in to recovery it is still the Android Recovery.

Does anyone have any ideas what I could do to get my phone working again please?! This is my last gasp before the phone gets filed under 'B' in the cylindrical cabinet in the corner of the room!

Any assistance greatly appreciated!



[HELP] 'adb reboot bootloader', I need feedback



Hi,

I've just reported an issue about a batch using adb commands.
Please, go to see my post where I report the issue and give me some of your enlightenment about it.

This can be summarize in one question:

On win 8.1 x64, is it normal that the adb reboot bootloader command process keeps running in background after the phone has rebooted to bootloader?

If not, what could cause that?

Thanks for your help guys.

Cheers



Tuesday, 6 October 2015

N6 recognized in fastboot but not in ADB. MAC OS X 10.10.5



I am asking for some help on this. I have always previously used toolkits to root and install recovery but I have a new N6 and I would like to learn to use ADB and fastboot. I have read several help guides and it all seems pretty straight forward except when i query the N6 with "adb devices", it does not return anything. However, if I enter the boot loader and query with "fastboot devices", it recognizes my N6. I have tried several different cables and ports, switching from mtp to ptp, resetting RSA keys, all with no success. I am using the latest adb, version 1.0.32 and my phone is stock 5.1.1. I am not a MAC power user by any means, so if someone can help, please use the simplest terms possible. Many Thanks