[Q] First Time Rooter, am I doing this right - Moto X Q&A

These are the steps I am planing on following to root my AT&T Moto X, If you see any mistakes please let me know.
First I need to Get my Moto x to 4.2.2 firmware
Install RSD Lite
Install Moto Drivers
Download 4.2.2 Firmware
Unzip 4.2.2 Firmware
Open Firmware XLM file and delete <step operation="getvar" var="max-download-size" />
Save file and Re-zip Firmware folder
Plug in phone and enable USB debugging, disable Verify apps over USB
Then open Minimal ADB/Fastboot command prompt and type in "adb reboot bootloader"
Run RSD Lite and flash the firmware package I just made.
Let the whole process finish. When phone reboots, wait 5 min and I wont take the OTA
Next i got to root my phone on 4.2.2
Get My phones IP Address
un-zip Rockmymoto
Place the Rockmymoto.jar file and the su file into the Minimal ADB/Fastboot folder
Then push Rockmymoto.jar file and the su file to the SD card
Run Impactor and select "# start telnetd as system on port 2222", then hit start
Run telnet: telnet {phone's ipaddress} 2222
Run the exploit through telnet
The exploit will tell you to use adb to reboot
Wait 5 min run the exploit through telnet for the second time, it will reboot on it's own
Wait 5 min run the exploit through telnet for the third time, it will not reboot
Wait 0-60 seconds, for su to install, then install SuperSu from the market
Now i have to disable Write Protection
Download and extract the MotoWPnomo
run wpbegone.exe as administrator
follow the on-screen prompts
verify with: adb shell getprop ro.boot.write_protect
Using Rsd lite reflash the 4.2.2 Firmware that I had flashed in the first part
At this point its time to Slap My Moto
Unzip SlapMyMoto.zip and place the 5 files (Classes.dex, Install.sh, install-recovery.sh, SlapMyMoto.jar, and su) in the Minimal ADB/Fastboot folder and push the jar file to my internal storage
Over telnet, run Stage1 with this command: dalvikvm -cp /sdcard/SlapMyMoto.jar SlapMyMoto
When the device tells you to reboot, do this manually with "adb reboot" and wait 5 min
Run Impactor again and connect over telnet just like in the previous step, then run the same command
Device will reboot, wait 5 min then take the 4.4 OTA
When the phone reboots wait 5 min and finish with adb shell:
adb shell
cp /sdcard/install.sh /data/local/tmp/install.sh
chmod 755 /data/local/tmp/install.sh
echo "/data/local/tmp/install.sh" > /sys/kernel/uevent_helper
The wait for my device to reboot. And ill be 4.4 rooted on my moto X

:what::what::what:
Just go to fastboot mode and install directly 4.4 ,this one include the OTA update, the phone will reboot.
Ok...go to fastmode again and install/flash TWRP 2.6.3.1 recovery http://forum.xda-developers.com/showthread.php?t=2534850 ok ...now in fastboot mode select "recovery" twrp will start, there is a reboot option, just select "reboot/system" and twrp will ask you if u want to install superSU/root.....select "yes/install super SU" . the phone will reboot.....ready !!! Just go to playstore and update superSU, open superSU and update binaries.
All this process will be ready in 5-8 mins.

omias said:
:what::what::what:
Just go to fastboot mode and install directly 4.4 ,this one include the OTA update, the phone will reboot.
Ok...go to fastmode again and install/flash TWRP 2.6.3.1 recovery http://forum.xda-developers.com/showthread.php?t=2534850 ok ...now in fastboot mode select "recovery" twrp will start, there is a reboot option, just select "reboot/system" and twrp will ask you if u want to install superSU/root.....select "yes/install super SU" . the phone will reboot.....ready !!! Just go to playstore and update superSU
All this process will be ready in 5-8 mins.
Click to expand...
Click to collapse
Isn't this only unlocked bootloader
Sent from my XT1053 using Tapatalk

U need unlocked bootloader the 1st post process is 'tedious' :sly::sly:

Related

ATT Root MotoX Failed to Update to 4.4

Hey guys, so I decided to root my ATT Moto X, I went through the process of reverting to 4.2.2 rooting(RockMyMoto) flashing factory img rooting (SlapMyMoto), did the wpnomore. And then started to update to 4.4, and it fails. Gets about half way and that says "error" and boots back up just fine. Tried a few times and it keeps happening, I tried booting into fastboot and erased the cache, still fails.
Any ideas?
dansskittles said:
Hey guys, so I decided to root my ATT Moto X, I went through the process of reverting to 4.2.2 rooting(RockMyMoto) flashing factory img rooting (SlapMyMoto), did the wpnomore. And then started to update to 4.4, and it fails. Gets about half way and that says "error" and boots back up just fine. Tried a few times and it keeps happening, I tried booting into fastboot and erased the cache, still fails.
Any ideas?
Click to expand...
Click to collapse
is this the order you did
flash to 4.2.2 CU
Root 4.2.2
disable WP
flash back to 4.2.2 CU
start SlapMyMoto guide
here is my step by step guide
http://forum.xda-developers.com/showthread.php?t=2603358
but if i am not mistaken you can unlock your bootloader and then just flash TWRP everything is in the guide i just linked you too
Followed the steps from this script http://forum.xda-developers.com/showthread.php?t=2591875
I can not unlock my bootloader.
Check if WP is off if so flash back to stock 4.2.2 camera update and then start the slap my Moto guide it should work
Sent from my XT1056 using XDA Premium 4 mobile app
Tried the step by step guide. 4.4. OTA still fails.
dansskittles said:
Tried the step by step guide. 4.4. OTA still fails.
Click to expand...
Click to collapse
no error msg or anything. when you try to install the 4.4 OTA did it redownload it or did it just install it without downloading.
The only thing i could think of is that it is trying to install a corrupted OTA file so if i can find out ware it downloads it and have you delete it and try installing the 4.4 OTA again it might work
No really error messages, besides the Software update failed. Everytime it goes to install the OTA it redownloads it. However I also tried copying it over to the device and updating from recovery. Same error as the OTA.
dansskittles said:
No really error messages, besides the Software update failed. Everytime it goes to install the OTA it redownloads it. However I also tried copying it over to the device and updating from recovery. Same error as the OTA.
Click to expand...
Click to collapse
ok i have a idea let me check it out and ill make a guide for you
That sounds awesome, thanks a lot.
Ok this is just a thought on how you might be able to get this to work but please Flash at your Own risk.
Download Required Files:
4.2.2 Camera update Firmware
http://sbf.droid-developers.org/download.php?device=0&file=22
4.4 firmware
http://sbf.droid-developers.org/download.php?device=0&file=4
ADB/Fastboot(Android SDK)
http://developer.android.com/sdk/index.html
Mfastboot
https://drive.google.com/file/d/0B0dUKGxGylgNTk43eU0xc3VLekE/edit?usp=sharing
SlapMyMoto
http://forum.xda-developers.com/attachment.php?attachmentid=2463879&d=1387477699
First thing we are going to do is flash your phone back to 4.2.2CU via fastboot,
To do this we need to extract the 4.2.2CU firmware into the same folder that your adb/fastboot/mfastboot is located in.
so open the .rar file and then open the ATT_XT1058_4.2.2-13.9.0Q2.X-116-X-17-54_CFC_1FF.xml folder and extract all the files inside.
now put your phone into Bootloader mode and plug in the USB cable
i see your on a Mac so open terminal and CD to the location of your adb/fastboot/mfastboot and firmware files.
once there we are going to run the commands below.
Code:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
mfastboot flash system system.img
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase userdata
fastboot erase cache
fastboot reboot
let you device boot up and then we are going to start the SlapMyMoto part
Step1)
Unzip SlapMyMoto-1,0.zip and push the jar file to your internal storage
Code:
adb push SlapMyMoto.jar /sdcard/SlapMyMoto.jar
Step2)
Use http://www.cydiaimpactor.com/ to open up a telnet session as system user on port 2222. We covered how to use Impactor and telnet in the RockMyMoto root, I won't be covering it again since this post is going to be long enough already, see here -> http://forum.xda-developers.com/show....php?t=2509590 or http://rootzwiki.com/topic/107098-ro...the-first-ota/
Connecting over telnet, and run Stage1 with this command:
Code:
dalvikvm -cp /sdcard/SlapMyMoto.jar SlapMyMoto
When the device tells you to reboot, do this manually with "adb reboot" or your power button. It will not auto reboot on this step
Step3)
Once the device has rebooted, run Impactor again and connect over telnet just like in the previous step, then run the same command
Code:
dalvikvm -cp /sdcard/SlapMyMoto.jar SlapMyMoto
OK this is ware i am going to change on how we install the 4.4 OTA we are going to manually install it but leave out some commands
Now we need to delete all the 4.2.2CU firmware files we extracted out of your adb/fastboot/mfastboot folder
once you do that then extract the 4.4 firmware the same way we did the 4.2.2Cu firmware.
now we are going to open Terminal again if you closed it and Cd to the same directory as last time ware you extracted the 4.4 firmware files.
Now we are going to run these commands
Code:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
mfastboot flash system system.img
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot reboot
after your phone boots up we are going to finish the last step in the slapmymoto guide
Code:
adb shell
cp /sdcard/install.sh /data/local/tmp/install.sh
chmod 755 /data/local/tmp/install.sh
echo "/data/local/tmp/install.sh" > /sys/kernel/uevent_helper
Then either wait, or toggle your bluetooth. Once the device reboots, you will have root.
if all goes well you should be rooted after the auto reboot or you might have to manually reboot your device.
sometimes you have to install SuperSU your self from the market.
To check and see if you have root install root checker from the market and see what it says.
again i am not sure if this will work but it is the only thing left i can think of to get the 4.4 OTA and Root on your device.
Credits
jcase - for the Lovely SlapMyMoto Root Exploit
Well this upgraded me to 4.4 just fine. But i get hung up here
Code:
[email protected]:/ $ echo "/data/local/tmp/install.sh" > /sys/kernel/uevent_helper
/system/bin/sh: can't create /sys/kernel/uevent_helper: Permission denied
dansskittles said:
Well this upgraded me to 4.4 just fine. But i get hung up here
Code:
[email protected]:/ $ echo "/data/local/tmp/install.sh" > /sys/kernel/uevent_helper
/system/bin/sh: can't create /sys/kernel/uevent_helper: Permission denied
Click to expand...
Click to collapse
SlapMyMoto didn't work then. Make sure you got rid of write protection using MotoWpNoMo...Use "adb shell getprop ro.boot.write_protect" to verify, it should say "0" if you no longer have write protection.
To be clear:
1. Revert to 4.2.2
2. RockMyMoto
3. Make sure you have root.
4. MotoWpNoMo
5. Make sure write protection is disabled.
6. Revert to 4.2.2
7. SlapMyMoto - First half on 4.2.2
8. SlapMyMoto - Second half on 4.4
It does indeed say 0
Install SuperSU from the market open it let it install the binary reboot and check root with root checker
Sent from my XT1056 using XDA Premium 4 mobile app
I installed SuperSU, "There us no SU binary installed, and SuperSU cannot install it"
dansskittles said:
I installed SuperSU, "There us no SU binary installed, and SuperSU cannot install it"
Click to expand...
Click to collapse
I would reflash back to 4.2.2 and retry SlapMyMoto.
dansskittles said:
I installed SuperSU, "There us no SU binary installed, and SuperSU cannot install it"
Click to expand...
Click to collapse
now that Su is installed try running the last commands again then if still nothing then i would do what j-hunnter said
Code:
adb shell
cp /sdcard/install.sh /data/local/tmp/install.sh
chmod 755 /data/local/tmp/install.sh
echo "/data/local/tmp/install.sh" > /sys/kernel/uevent_helper
when you do these make sure you run them one by one
adb shell
enter
and so forth
---------- Post added at 05:51 PM ---------- Previous post was at 05:50 PM ----------
JJHunterx said:
I would reflash back to 4.2.2 and retry SlapMyMoto.
Click to expand...
Click to collapse
J-Hunterx i know i am having him do some weird stuff but i had another user have this issue and im trying to find the post but he was able to get root without re-doing everything
dray_jr said:
now that Su is installed try running the last commands again then if still nothing then i would do what j-hunnter said
Code:
adb shell
cp /sdcard/install.sh /data/local/tmp/install.sh
chmod 755 /data/local/tmp/install.sh
echo "/data/local/tmp/install.sh" > /sys/kernel/uevent_helper
when you do these make sure you run them one by one
adb shell
enter
and so forth
---------- Post added at 05:51 PM ---------- Previous post was at 05:50 PM ----------
J-Hunterx i know i am having him do some weird stuff but i had another user have this issue and im trying to find the post but he was able to get root without re-doing everything
Click to expand...
Click to collapse
Fair enough. It sounded to me like he couldn't get Supersu to install the binary to gain root and he wouldn't be able to run the shell commands.
Im currently on 4.2.2 and cant get root working. Scripts/apps Slap/Rock MyMoto don't run. However read/write is still at 0.
Tried re flashing back to CMU, no luck.
i feel your pain, I had the same issues a few days ago.
Instead of using 604k's script (which is great, it helped me understand the process better), i just followed Jcase's steps manually and EVENTUALLY got it to work (20+ times of reflashing...) 3 days or so to figure this out
granted I am a novice... but its like 10 lines of commands you'd think it'd be simple!
What i did and what worked for me,
flash to 4.2.2 camera firmware w/ RSDlite
ROOT w/ rockmymoto (only should have to be done once)
remove write protection (permanent)
run slapmymoto UNTIL the 2nd step where it says 'accept 4.4 OTA')
WHILE STILL ON 4.2.2:
i ran the commands:
adb push su /data/local/tmp/su
adb push install.sh /data/local/tmp/install.sh
adb push install-recovery.sh /data/local/tmp/install-recovery.sh
adb reboot
then i was able to have root on 4.2.2
then accept 4.4 OTA (it will work now)
then:
adb shell
cp /sdcard/install.sh /data/local/tmp/install.sh
chmod 755 /data/local/tmp/install.sh
echo "/data/local/tmp/install.sh" > /sys/kernel/uevent_helper
then reboot and you will have root!

[Q] HELP! Can't root after using MotoWPNoMo

Okay all... I had 4.2.2 rooted, write protection off. I tried rooting up to 4.4, didn't go well so I flashed fresh 4.2.2, no root.
Well, I lost root and I'm not sure how to get it back. I've searched the forums for about 3 hours to no avail....
Any help or pointing me in the right direction would be greatly appreciated!
byrdmang2 said:
Okay all... I had 4.2.2 rooted, write protection off. I tried rooting up to 4.4, didn't go well so I flashed fresh 4.2.2, no root.
Well, I lost root and I'm not sure how to get it back. I've searched the forums for about 3 hours to no avail....
Any help or pointing me in the right direction would be greatly appreciated!
Click to expand...
Click to collapse
Start Rant
There is no way you searched the forums for 3 hours the 5th Thread in the Original Android Development is RockMyMoto which is the root for 4.2.2. Also a quick Google Search of Moto X 4.2.2 Root would of given you many guides..
End Rant
Here is the link hope it helps.
http://forum.xda-developers.com/showthread.php?t=2509590
and if you want to root 4.4 check out this guide.
http://forum.xda-developers.com/showthread.php?t=2603358
dray_jr said:
Start Rant
There is no way you searched the forums for 3 hours the 5th Thread in the Original Android Development is RockMyMoto which is the root for 4.2.2. Also a quick Google Search of Moto X 4.2.2 Root would of given you many guides..
End Rant
Here is the link hope it helps.
http://forum.xda-developers.com/showthread.php?t=2509590
and if you want to root 4.4 check out this guide.
http://forum.xda-developers.com/showthread.php?t=2603358
Click to expand...
Click to collapse
That's the thing though... I already HAD 4.2.2 root. I just wanted to root 4.4. I tried the OTA to it, then RSD'd to 4.2.2. But by that point, my write protection was gone, and trying slapmymoto wasn't working either... I'm sorry for being a nuisance and newb, I just want to figure it out and be done!
byrdmang2 said:
That's the thing though... I already HAD 4.2.2 root. I just wanted to root 4.4. I tried the OTA to it, then RSD'd to 4.2.2. But by that point, my write protection was gone, and trying slapmymoto wasn't working either... I'm sorry for being a nuisance and newb, I just want to figure it out and be done!
Click to expand...
Click to collapse
You should still have write protect off even if you flash the stock firmware
run this command and let me know what you get
Code:
adb shell getprop ro.boot.write_protect
If you see "0", that pesky write protection is gone
then we will go from there
but if you have tried rooting you need to give us the error's you got trying to do the 4.4 root so we can see what the issues is and help you find a fix.
Well I have 0.. I've checked that every time I've given this a go. I'm assuming since I've rooted 4.2.2 before AND ran (successfully) motowpnomo, I jump to slapmymoto right?
Well when I do that and run the dalvikvm -cp ... command line, it gives me the line that the system is not write protected (duh), proceed to step 3 attempt the 4.4 ota.. But it doesn't auto reboot like I've read it should. So I've manually done adb reboot, figuring no difference right?
After I'm on 4.4 I try adb reboot bootloader to flash the 4.2.2 recovery.. Does it's business, fastboot reboot.
It's now gotten to the LAST command line with the "echo" command where I get permission denied.. How does that work?
byrdmang2 said:
Well I have 0.. I've checked that every time I've given this a go. I'm assuming since I've rooted 4.2.2 before AND ran (successfully) motowpnomo, I jump to slapmymoto right?
Well when I do that and run the dalvikvm -cp ... command line, it gives me the line that the system is not write protected (duh), proceed to step 3 attempt the 4.4 ota.. But it doesn't auto reboot like I've read it should. So I've manually done adb reboot, figuring no difference right?
After I'm on 4.4 I try adb reboot bootloader to flash the 4.2.2 recovery.. Does it's business, fastboot reboot.
It's now gotten to the LAST command line with the "echo" command where I get permission denied.. How does that work?
Click to expand...
Click to collapse
idk what guide your following but i think it is old.
1. download the correct 4.2.2 CU firmware for your Carrier
2. open the .zip files and extract the files into your folder with ADB and MFastBoot.
3. Boot your phone into the bootloader
4. Run the below commands one by one
Code:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
mfastboot flash system system.img
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot reboot
i recommend wiping your device also but that is up to you
Code:
fastboot erase userdata
fastboot erase cache
Step1)
Unzip SlapMyMoto-1,0.zip and push the jar file to your internal storage
Code:
adb push SlapMyMoto.jar /sdcard/SlapMyMoto.jar
Step2)
Use http://www.cydiaimpactor.com/ to open up a telnet session as system user on port 2222. We covered how to use Impactor and telnet in the RockMyMoto root, I won't be covering it again since this post is going to be long enough already, see here -> http://forum.xda-developers.com/show....php?t=2509590 or http://rootzwiki.com/topic/107098-ro...the-first-ota/
Connecting over telnet, and run Stage1 with this command:
Code:
dalvikvm -cp /sdcard/SlapMyMoto.jar SlapMyMoto
When the device tells you to reboot, do this manually with "adb reboot" or your power button. It will not auto reboot on this step
Step3)
Once the device has rebooted, run Impactor again and connect over telnet just like in the previous step, then run the same command
Code:
dalvikvm -cp /sdcard/SlapMyMoto.jar SlapMyMoto
Once the device has rebooted, please take the 4.4 OTA.
Step4)
Now that we are on 4.4, we can finish the process with adb shell:
Code:
adb shell
cp /sdcard/install.sh /data/local/tmp/install.sh
chmod 755 /data/local/tmp/install.sh
echo "/data/local/tmp/install.sh" > /sys/kernel/uevent_helper
Then either wait, or toggle your bluetooth. Once the device reboots, you will have root.
Some times you have to manually reboot your device and also manually install SuperSU from the market place
Okay, I'm gonna try it again. What I'm seeing for myself as well as everyone else: fastboot camera update > rsd.
Should I root check before taking the ota to make sure everything's in working order? Especially when the times it's supposed to reboot on its own, don't.
byrdmang2 said:
Okay, I'm gonna try it again. What I'm seeing for myself as well as everyone else: fastboot camera update > rsd.
Should I root check before taking the ota to make sure everything's in working order? Especially when the times it's supposed to reboot on its own, don't.
Click to expand...
Click to collapse
nope just flash the 4.2.2 CU firmware and start the slapmymoto guide when u get to the end reboot after it boots up look for SU if not there install and open see if the binaries will install then check root.
Well sir, whatever method(s) I was/were using were obviously wrong or just bad, cause I got the 4.4 root!
I got kinda nervous when I had to manually reboot at the end and wait for supersu to install.
Thank you very much for your assistance! Thanks are in order :good:
byrdmang2 said:
Well sir, whatever method(s) I was/were using were obviously wrong or just bad, cause I got the 4.4 root!
I got kinda nervous when I had to manually reboot at the end and wait for supersu to install.
Thank you very much for your assistance! Thanks are in order :good:
Click to expand...
Click to collapse
glade your up and running

Update Nexus 7 to 5.0 from 4.4.4 (root + unlocked bootloader) KEEP DATA

This is a "re-tread" of a post I previously made, taking an account of the steps I took to successfully update my Nexus 7 from 4.4.4 to 5.0. Note: This is for an unlocked bootloader, if you don't have an unlocked bootloader you will lose your data; consider TiBackup.
My Nexus 7 [WiFi] was rooted on 4.4.4, unlocked bootloader, but stock rom, stock system (as far as I remember). I couldn't find a walkthrough so I'll make one with my experience. This worked for me on my Mac, I hope this helps you.
In the end I didn't lose any data, still have unlocked bootloader and rooted with CWM Recovery & SuperSU (you can replace with TWRP recovery or CWM Touch if desired)
Directions ("./" = file path to platform-tools folder, if you 'cd' to that location the "./" will pull that location in the terminal)
1. You must have Android SDK installed. Download it here: http://developer.android.com/sdk/index.html.
2. UNZIP and you will see a bunch of folders. The one we are interested in is the subfolder "platform-tools". You may copy it to an easier location if you want.
3. Download the factory images 4.4 (KRT16S) (4.4 required, see HERE, Google broke its own bootloader) and 5.0 (LRX21P) for your Nexus 7: https://developers.google.com/android/nexus/images#nakasi (WARNING: Download the correct images for YOUR device, Nexus 7 Wi-Fi vs Mobile)
4. Unzip the 4.4 image file you downloaded and copy "bootloader-grouper-4.23.img" (img name depends on your build) to your "platform-tools" folder (where adb and fastboot are). (WARNING: the bootloader image in 5.0 is broken see HERE)
5. Unzip the 5.0 image file you downloaded and copy all content, except for "bootloader-grouper-4.23.img," to your "platform-tools" folder (where adb and fastboot are).
6. Plug your Nexus 7 into your computer with USB debugging (activate it in "About Phone" and touch "Build number" 6 times, it will activate "Developer Options" menu where you will be able to activate "USB debugging")
7. Open terminal and "cd" to the platform-tools folder
8. Verify ADB is working type "./adb devices"
9. Reboot your device into fastboot mode: type in terminal "./adb reboot-bootloader"
10. Type:
"./fastboot flash bootloader ./bootloader-grouper-4.23.img" (img name depends on your build)
11. If you have "WiFi Only" skip to step 12; for Mobile flash radio type:
"./fastboot reboot-bootloader"
"./fastboot flash radio ./radio-XXXXXXXX.img" (img name depends on your build)
12. Type:
"./fastboot reboot-bootloader"
"./fastboot update ./image-nakasi-lrx21p.zip" (zip name depends on your build)
It will then reboot (takes a while, 5-10 minutes on boot animation, then it must update App info, another 5-10 miuntes) and then you will be in Android 5.0 with all your data preserved.
Then if you want a custom recovery:
1. On your computer, download CWM, CWM Touch, or TWRP recovery from here: CWM Dwnld or TWRP Dwnld (WARNING: Download the correct image for YOUR device, Nexus 7 WiFi vs Mobile)
2. Place the image file you downloaded in your "platform-tools" folder (where adb and fastboot are)
3. Connect your Nexus 7 (debug mode) and put it in fastboot mode (step 9 above): type in terminal "./adb reboot-bootloader"
4. In the terminal type:
"./fastboot flash recovery ./FILENAME.img" (replace FILENAME.img by the file name of the CWM/TWRP file you just downloaded)
5. Verify Recovery - Shut down your device and boot it into recovery mode (Once off, push vol- and power together). Choose recovery mode with vol-, then power to select (Note: if you get an Android on his back you still have stock recovery, retry Steps 1-4. I flashed CWM, CWM Touch. and TWRP with no success, plugged my cable into a different USB port and got it first try; try different cables and ports)
Then if you want a root:
Note: If you don't have an unlocked bootloader you will lose data. Already unlocked should be fine, when you boot there should be an open lock at the bottom of the screen below the Google logo. On PC WugFresh Nexus Root Toolkit might be your best option, for me on Mac it is not available so this is what I did.
1. On your computer, download CF-Auto-Root from here: Auto Root Dwnld (WARNING: Download the correct image for YOUR device, Nexus 7 WiFi vs Mobile)
2. Unzip the CF-Auto-Root file you downloaded and copy all its content to your "platform-tools" folder (where adb and fastboot are)
3. Connect your Nexus 7 (debug mode) and put it in fastboot mode (step 9 above): type in terminal "./adb reboot-bootloader"
4. Type: (Note: Step 4 commands need to be run as Admin)
"chmod +x root-mac.sh"
"ls -al"
"./root-mac.sh"
5. Follow on-screen prompt and type your Mac User Account password and ENTER
6. Let the phone go through its thing (Red Android screen), it will reboot when complete.
That is it!
Thanks to Phil Tech: http://youtu.be/IPg_FGbeyq0
Thanks to jipi: http://forum.xda-developers.com/showthread.php?t=2377691
Good luck and happy flashing.
Thanks for the effort.
Thanks ! I did that, more or less adapted. The result was just awefully slow, so I had to do a wipe to start with a clean slate.
Android, the new Windows: reinstall every 6 months....
I've followed the procedure on w8.1 64bit.
All went well but I lost adb after 5.0 finally booted. So I could not install root through NRT (1.9.8).
Adb mode was recognised in windows device manager but adb commands failed with no device found.
Suprisingly fastboot was working.
The solution was to uninstall NRT and adb drivers and reinstall them.
Great guide!!
Followed the steps to the 'T' and I've got Lollipop on my Nexus 7 Wi-Fi.
If the Bootloader is already on 4.23 then Step 10 can be skipped, as I did.
dg170775 said:
Great guide!!
Followed the steps to the 'T' and I've got Lollipop on my Nexus 7 Wi-Fi.
If the Bootloader is already on 4.23 then Step 10 can be skipped, as I did.
Click to expand...
Click to collapse
True, I was already on 4.23, but still flashed it anyways. Thanks for the input.

[GUIDE] Huawei p7 root

Rooting Guide for Beginners
Before you begin:
- This guide is only meant for Windows!
If you have a MAC, then use this guide.
-To obtain root on b609, follow this guide.
-Make sure you have your drivers installed!
If not then download hisuite.
- Some people have reported that they are unable to obtain the unlocking code, only getting a server busy message. It can be fixed by setting the webpage's
language to Chinese!
How to root?
1. Request for your bootloader code.
- (if you are registering a new account choose to register with email and when you register your account for the first time, it will redirect you to the main page, from there select "download" on the website and from there select "unlock bootloader")
2. Download Minimal ADB and Fastboot.
3. Enable USB debugging.
- (Activate developer mode by going to your settings, about phone, then tap on the build number until it says you are a developer) .
4. Connect your phone to your computer.
5. Install Minimal ADB and Fastboot, complete the setup and when it asks to create a desktop icon then accept.
6. Open Minimal ADB and Fastboot and then type: adb reboot bootloader
- (don't be frightened if you see a red text saying your phone is locked)
7. Then type: fastboot oem unlock xxxxxxxxxxxx
- (replace the x with your code)
8. Download TWRP Recovery.
9. Copy twrp_p7-3.0.0-0.img to the Minimal ADB and Fastboot folder.
10. After placing TWRP to the folder, type into the Command Window: fastboot flash recovery twrp_p7-3.0.0-0.img
11. Now type into the Command Window: fastboot reboot
12. Download SuperSU and place the zip to your phone.
13. Now type into the Command Window: adb reboot recovery
14. Flash supersu.zip in the recovery.
15. Reboot your phone.
16. Install "Root Browser" from PlayStore and delete the setimmutable.list in /root/system/
Now you should have a fully rooted phone!
Download UPDATE-SuperSU-v2.65-20151226141550.zip
Copyright © 2011-2016 - Chainfire
https://download.chainfire.eu/921/SuperSU/UPDATE-SuperSU-v2.65-20151226141550.zip
Maxi_69 said:
Download UPDATE-SuperSU-v2.65-20151226141550.zip
Copyright © 2011-2016 - Chainfire
https://download.chainfire.eu/921/SuperSU/UPDATE-SuperSU-v2.65-20151226141550.zip
Click to expand...
Click to collapse
Thank you, I have updated the download link!
Hello!
You wrote "( replace the x with your code) "
Where i can find my "code"?
Many thanks!
Ment0r said:
Hello!
You wrote "( replace the x with your code) "
Where i can find my "code"?
Many thanks!
Click to expand...
Click to collapse
point n° 1
Oooooh...
*facepalm*
Many thanks
how do we remove twrp from the phone
please help
thanks
kgurm said:
how do we remove twrp from the phone
please help
thanks
Click to expand...
Click to collapse
Flash your stock recovery via adb or download flashify from the playstore and flash with that.
I get error when entering adb reboot bootloader. Should I navigate to some location when I open Minimal ADB and fastboot?
The error is: adb server is out of date. killing
adb server didnt ACK
*failed to start daemon*
error: unknown host service
Thank you it works like a charm
why delete 'delete the setimmutable.list in /ROOT/SYSTEM/' ?
Stike999 said:
I get error when entering adb reboot bootloader. Should I navigate to some location when I open Minimal ADB and fastboot?
The error is: adb server is out of date. killing
adb server didnt ACK
*failed to start daemon*
error: unknown host service
Click to expand...
Click to collapse
Yes, just open the desktop icon.
迅捷斥候 said:
Thank you it works like a charm
why delete 'delete the setimmutable.list in /ROOT/SYSTEM/' ?
Click to expand...
Click to collapse
You have to delete it because it doesn't allow editing of certain system files and because of that you can't have full root on your system until you remove it.
TheSproker said:
You have to delete it because it doesn't allow editing of certain system files and because of that you can't have full root on your system until you remove it.
Click to expand...
Click to collapse
Ok thanks
adb sideload
im trying to sideload firmware it always fails. do you have a ROM that will work.
thanks
TheSproker said:
I have seen may people asking how to root their phones, so I decided to make a guide and save You from the hassle of going through many different forums. This guide should work on any version of firmware and model of Huawei p7.
Before doing this make sure you have your drivers installed!
If not then download hisuite: http://consumer.huawei.com/minisite/HiSuite_en/
So, let's begin with the rooting! :
1. Request for your bootloader code: https://hwid5.vmall.com/oauth2/porta...in/login.php (if you are registering a new account choose to register with email)
2. Download Minimal ADB and Fastboot. http://forum.xda-developers.com/show....php?t=2317790
3. Enable USB debugging in your phone in the developer menu.
-(Enable developer mode by going to your settings, about phone, then tap on the build number until it says you are a developer) .
4. Connect your phone to your computer.
5. Install Minimal ADB and Fastboot, complete the setup and when it asks to create a desktop icon then accept.
6. Open Minimal ADB and Fastboot then type: adb reboot bootloader
(don't be frightened if you see a red text saying your phone is locked)
7. Then type: fastboot oem unlock xxxxxxxxxxxx
( replace the x with your code)
8. Download TWRP Recovery:
http://www46.zippyshare.com/v/SlBf3dvC/file.html
9. Copy the twrp-3.0.0-0.img to the Minimal ADB and Fastboot folder.
10. After placing TWRP to the folder, type into the Command Window: fastboot flash recovery twrp-3.0.0-0.img
11. Now type into the Command Window: fastboot reboot
12. Download SuperSU: https://download.chainfire.eu/921/SuperSU/UPDATE-SuperSU-v2.65-20151226141550.zip
(Copy the Supersu.zip to your phone)
13. Now type into the Command Window: adb reboot recovery
14. In TWRP recovery flash the supersu.zip on your phone.
15. Reboot your phone.
16. Install X-Plore File Manager from PlayStore and delete the setimmutable.list in /ROOT/SYSTEM/
Now you should have a fully rooted phone !
If you have any questions, or suggestions please feel free to post them!
Click to expand...
Click to collapse
Can this be also done on mac? and also the link for downloading adb is broke wat should i refer to?
fahad69 said:
Can this be also done on mac? and also the link for downloading adb is broke wat should i refer to?
Click to expand...
Click to collapse
ADB and Fastboot Installation on MAC
Download : Androidv5.zip
1. Download and extract the above zip file.
2. Place the extracted folder on the desktop.
3. Open up a new terminal window.
4. Enter “cd Desktop/Androidv5” and press enter.
5. Enter “./ADB-Install-Mac.sh” and press enter.
The script will automatically install both adb and fastboot
I can't delete setimmutable.list
I get a message saying that" some items could not be deleted"
What should I do? I've completed all the other steps
austinewuncler said:
I can't delete setimmutable.list
I get a message saying that" some items could not be deleted"
What should I do? I've completed all the other steps
Click to expand...
Click to collapse
I just fixed that problem. Here's what i did:
1) have your phone ROOTED
2) install BUSYBOX from PLAYSTORE
3) install terminal emulator from PLAYSTORE
4)open Terminal Emulator and type in the following commands exactly:
su
mount -o rw,remount /system
cd system
rm –f /system/set_immutable.list
Check with X-plore if the set_immutable.list file is removed. Worked for me.
SenGAndroid said:
I just fixed that problem. Here's what i did:
1) have your phone ROOTED
2) install BUSYBOX from PLAYSTORE
3) install terminal emulator from PLAYSTORE
4)open Terminal Emulator and type in the following commands exactly:
su
mount -o rw,remount /system
cd system
rm â??f /system/set_immutable.list
Check with X-plore if the set_immutable.list file is removed. Worked for me.
Click to expand...
Click to collapse
It worked. Thank you very much
austinewuncler said:
It worked. Thank you very much
Click to expand...
Click to collapse
Can some one share stock recovery for build number: p7-l10c900b852 ?
Just broke my phone.. cant go out from recovery.. plz help.

[GUIDE] Root, Unlock Bootloader & TWRP Recovery install on LG H502TV (Brazil) / Magna

[GUIDE] Root, Unlock Bootloader & TWRP Recovery install on LG H502TV (Brazil) / Magna
After long months searching the web for a guide to unlock bootloader and install TWRP on LG H502TV (Brazil) / LG Magna without success, I got it working.
First you need to install Kingroot, I know, it's evil but we need root first. We'll uninstall it later.
On your mobile, open a web browser and go to http://www.kingroot.net/
Install it and run. It will reboot and fail a couple of times, I had success on my 4th run.
Go to Google Play Store and download Terminal Emulator - https://play.google.com/store/apps/details?id=jackpal.androidterm
Copy or download directly on your internal memory root the 3 files in atachment: uboot.img, recovery.img and BETA-SuperSU-v2.68-20160228150503.zip
Open terminal emulator and type:
Code:
su
dd if=/storage/sdcard/uboot.img of=/dev/uboot count=1024
dd if=/storage/sdcard/recovery.img of=/dev/recovery count=32768
Now you can remove the devil, I mean, Kingroot. Open it, go to About and the last option is Remove kingroot.
It'll reboot, go to Settings, About your Phone and enable USB Debugging, connect it to your PC and type:
Code:
adb reboot recovery
In TWRP install BETA-SuperSU-v2.68-20160228150503.zip reboot and be happy.
Now with Unlocked bootloader and a Custom Recovery we can MAYBE get custom roms on our phone. Anyone said Marshmallow?
Just one question!
The last command, before plug phone on pc with usb debug, its be make on terminal (phone) or open cmd and make this command?
Code:
adb shell
su
dd if=/storage/sdcard0/uboot.img of=/dev/uboot count=1024
dd if=/storage/sdcard0/recovery.img of=/dev/recovery count=32768
Use these commands.
Flashable MarshMallow 6.0 to Lg magna TV but you end up with only one sim. Flash via TWRP after system wipe and factory reset!
I am trying to add dual sim support but lets see. I guess all you need to change settings in build.prop using build.pro editor from play store
https://onedrive.live.com/?authkey=...3F770E76CFB14DC1!308&parId=root&action=locate
Update flash Indian firmware on h502TV and it works perfectly. No problem. Make sure you use bootloader from update bootloader in TOT method and restart from Mini OS by using power key and then tap on restart (normal)
Done!
I tried step-by-step but I can't get to TWRP screen, It boots me normally or brings up the hard reset option, I even choose hard reset one but it just doesn't work. I tried all the steps over 12 times, can I get some help please?
My phone is an H522F

Categories

Resources