yashsingh1/xdaforums huggingface dataset:
[Droid Ultra Original Android Development] xDroid4Lifex:
Confirmed not working on build 19.6.3 Su2-3.3 April 30th. Flashing back to 19.5.3. Will report back
[Droid Ultra Original Android Development] bagheadinc:
This is exactly what needs to be done. I was able to revert back to 19.5.3 and have now gained root via jcase's exploit.

For those who need to know how to do this, you will need to download the 19.5.3 update for your phone:

Droid MAXX: http://sbf.droid-developers.org/phone.php?device=4 (alternate version by [MENTION=3333955]NWKENT[/MENTION], prevents losing data)

Droid Ultra: http://sbf.droid-developers.org/phone.php?device=1

Droid Mini: http://sbf.droid-developers.org/phone.php?device=2

Then you will need to use RSD Lite to flash it to your phone. This thread will explain how to do that if you are unfamiliar. Follow the Method 1 instructions. When it gets to the part about removing <step operation="getvar" var="max-download-size" />, you actually have to remove a few additional lines to make it work. These are the lines I removed from the XML file...

<step operation="getvar" var="max-download-size" />

<step operation="oem" var="fb_mode_set" />

<step operation="oem" var="config carrier vzw" />

<step operation="oem" var="fb_mode_clear" />

Once I removed those, I was able to flash via RSD Lite with no troubles. Thanks again to jcase for this exploit.
[Droid Ultra Original Android Development] pyromaniac1:
Is it possible to use this method to downgrade to 4.2.2?
[Droid Ultra Original Android Development] bagheadinc:
Unfortunately not, it throws an error if you try. Once you are one 19.5.3, you cannot downgrade any further.
[Droid Ultra Original Android Development] pyromaniac1:
So after root, can I get safestrap or any other recovery for droid mini?
[Droid Ultra Original Android Development] bagheadinc:
Not currently.
[Droid Ultra Original Android Development] xDroid4Lifex:
So after doing this exploit and messing around somehow my write protect managed to disable? Is this normal? Its showing a 0 when I check in the terminal. I tried a soft reboot and it stuck, I'm kind of worried to do a full reboot lol
[Droid Ultra Original Android Development] xDroid4Lifex:
OK so I just did a full reboot and write protect is still at 0, but I still need to reroot every time? Any ideas?
[Droid Ultra Original Android Development] xDroid4Lifex:
Well I managed to somehow get write protect off, install safestrap and install su to system directly.
[Droid Ultra Original Android Development] bagheadinc:
Care to post a write-up of how you did it? I'm sure quite a few of us would be interested ;)
[Droid Ultra Original Android Development] xDroid4Lifex:
i was messing around with motowpno, redoing the root.sh everytime the phone had to reboot. wpnomo said the installtion failed but i was going through getprop in the terminal and noticed write_protect was at 0! i almost had to go change my unders haha. so i soft rebooted and it all was well(still had root and w/p off) so i hard booted and lost root(obviously due to this expolit but w/p was still at 0! so i rerooted and tried to install safestrap and it worked! flashed superuser.zip and now it and xposed are installed directly to system

edit- after 3 hardboots i still have root and w/p off
[Droid Ultra Original Android Development] bagheadinc:
Cool, I'll play around with MotoWpNoMo and see if I can achieve the same results.
[Droid Ultra Original Android Development] xDroid4Lifex:
You must keep a cmd prompt open behind Wpbegone as it runs so you can quickly type the adb shell /data/local/atvc/root.sh each time the phone boots

---------- Post added at 03:10 AM ---------- Previous post was at 03:09 AM ----------

I did it 4 or 5 times the other night before I gave up. Noticed in terminal today w/p was actually off. I couldn't be happier.
[Droid Ultra Original Android Development] bagheadinc:
You rock. Your instructions worked perfectly. I now have SU installed to system!
[Droid Ultra Original Android Development] xDroid4Lifex:
Glad I could help! [MENTION=2376614]jcase[/MENTION] looks like this root just became untethered!
[Droid Ultra Original Android Development] danger2u:
can we try this to Moto x?

how can i flash it permanently?
[Droid Ultra Original Android Development] xDroid4Lifex:
Don't know since the X is on 4.4.2 while the Droids are still on 4.4.

You could always test and report back if it works for you
[Droid Ultra Original Android Development] gotsaved289:
Just verifying this worked for me, it took a couple tries but worked. And to think about 3 days ago I thought I was stuck on 4.4.2.

Thanks developers/community!
[Droid Ultra Original Android Development] bigv5150:
So if this actually works and keeps root on 4.4 maxx and 4.4.2 motox then jcase should get the bounty. He found an exploit to permantely keep root and w/p off. Well with some XDA inginuity.
[Droid Ultra Original Android Development] bagheadinc:
I can definitely confirm it works for the MAXX. No only was I able to get permanent root, but I was also able to upgrade to 19.6.3 and retain root (and w/p off) with SuperSU Pro's Survival mode function.
[Droid Ultra Original Android Development] danger2u:
can u gives some details?

thank u
[Droid Ultra Original Android Development] bagheadinc:
Sure, here's a quick overview of exactly what I did from start to finish:

Reverted back to 19.5.3 [Instructions] Use [MENTION=3333955]NWKENT[/MENTION]'s FXZ file to prevent losing all your data [LINK]

Used Pie exploit by [MENTION=2376614]jcase[/MENTION] [Instructions]

Used MotoWpNoMo by [MENTION=711482]beaups[/MENTION] [Instructions] Thanks to [MENTION=5693047]xDroid4Lifex[/MENTION] for showing me the trick to get it working [Instructions]

Installed Safestrap Recovery [Instructions]

Flashed SuperSU via Safestrap Recovery [Link]

Installed SuperSU Pro from Play Store and enabled "Survival mode" in settings [Link]

Performed OTA Upgrade as normal

If you need more clarification on any of those steps let me know and I'll see if I can clarify. Hope this helps you out.
[Droid Ultra Original Android Development] danger2u:
thanks.

the root will be permanently??

Inviato dal mio XT1052 utilizzando Tapatalk
[Droid Ultra Original Android Development] xDroid4Lifex:
Well he gave the Pie root exploit which was only a tethered root(lose root and all changes to /system upon reboot, I figured out how to get the w/p off with some trickery on the old MotoWpNoMo exploit. Don't think it works with Moto X 4.4.2 though as a few users stated in the Moto X forum that I wasn't working, could be that they didn't do it right or try enough times. Wouldn't be possible with out his work though! Jcase Definitely deserves every penny

---------- Post added at 07:39 PM ---------- Previous post was at 07:29 PM ----------

And just to clarify with everyone when I was doing the trick with Wpnomo and command prompt reroot the Wpnomo program did fail the installation with "su or fu" but somehow still disabled w/p. Just keep on trying until it works for you! Check getprop ro.boot.write_protect and if it displays 0 instead of 1 you've succeeded!

---------- Post added at 07:44 PM ---------- Previous post was at 07:39 PM ----------

For the software this phone currently has, yes. As long as you follow instructions properly. Who knows what could happen when the 4.4.3 update gets here, I know I probably will steer clear of it now that I have permanent root. Phone is perfect now that I can customize as I please.
[Droid Ultra Original Android Development] jjmk4096:
Thank you. Your directions work perfectly. I was able to get MotoWpNoMo to complete successfully by using the jcase's exploit each time the phone restarted. It would be great to see the root exploit and MotoWpNoMo rolled into one piece.

Edit: I think jcase deserves the bounty since this was achieved using his exploits.
[Droid Ultra Original Android Development] BADDINOROX99:
How do I get this working do I run the script from my phone using terminal emulator or do I run it on command prompt on my computer? Does my phone have to be connected to the computer I've tried a bunch of times different ways I have no idea how to start
[Droid Ultra Original Android Development] bagheadinc:
You should be doing it from the command prompt on your computer with your phone connected via USB. The script used ADB to connect to the phone.
[Droid Ultra Original Android Development] kanagadeepan:
Whether OTA patch upgrade is possible with Safestrap installed? Please confirm this...
[Droid Ultra Original Android Development] bagheadinc:
It will remove Safestrap recovery when you do the OTA upgrade, but you can just re-install it after the upgrade.
[Droid Ultra Original Android Development] ceelos218:
can someone help me remotely? ull make a quick 10 bucks to root my phone.

add me on google hangouts

cee.los218@gmail.com if you would like to help.
[Droid Ultra Original Android Development] Tharkys:
I confirm that this worked for me. I will say that every time motowpnomo rebooted, I reapplied root access and I never got an error from motowpnomo.

Thanks for everything jcase and bagheadinc!
[Droid Ultra Original Android Development] johnny567:
So for some stupid reason I am getting confused. Does this give untethered root?
[Droid Ultra Original Android Development] bagheadinc:
Correct. Basically it's using jcase's tethered root exploit as a shoe in the door to run an older exploit to gain r/w access to /system. Once you have that you can install a su binary to /system for a permanent root.
[Droid Ultra Original Android Development] johnny567:
Fantastic! Thank you for clarifying.
[Droid Ultra Original Android Development] Tharkys:
Well it worked until I took the OTA.. The OTA wiped root and WP.. odd.
[Droid Ultra Original Android Development] bagheadinc:
Were you using SuperSU Pro's Survival mode or something like RootKeeper?
[Droid Ultra Original Android Development] Tharkys:
Yes I had SuperSU Pro installed and the Survival mode box was checked.
[Droid Ultra Original Android Development] bagheadinc:
Hmm, strange. Not sure why it didn't work for you. Are you using the latest SuperSU binary (v1.99r4)?
[Droid Ultra Original Android Development] Tharkys:
Had to check, but yeah..

The only thing I can figure is the way the update happened. It wasn't a normal OTA update. I plugged in my phone and the Motorola software popped up asking me if I wanted to update my phone since there was an update available. I allowed it, the phone rebooted and I lost root, safestrap and WP. PIE still existed, but I couldn't run it. I ended up having to do the whole process over again. For now I froze MotorolaOTA. I'm hoping that kills the OTA message. I'm fine being on this version so long as I have root.
[Droid Ultra Original Android Development] Y_Yan_C:
hi, the ota doesn't seem to work for me, keeps saying bad recovery, so when I choose normal power up it keeps shutting down to try updating again, doesn't work until I wipe dcatch and catch on safestrap. I have also tried uninstalling safestrap, doesn't help.... any idea whats going on? :eek:
[Droid Ultra Original Android Development] bagheadinc:
Did you happen to freeze any system apps before trying to install the OTA?
[Droid Ultra Original Android Development] distortedloop:
Thanks for taking the time to write those up.

It was seriously tedious to get motowpnomo to finish on my Droid Maxx, in fact, I never did get it to complete successfully, however, I do get a 0 on the adb getprop test, and I was able to install Safestrap and flash SuperSu via safestrap. SuperSU Pro installed, and Survival Mode enabled. Root maintained during a test reboot.

I'm now getting the OTA update is available message on the phone. A little nervous about accepting it, but seems like no one else having problems.
[Droid Ultra Original Android Development] jaydotelloh:
So, forgive my stupidity but I've been stuck on 4.4.2 without any root for a while so I forgot how all this works. If I remember right, the motowpnomo reboots your phone a couple times while doing its thing. Is the idea here to push the root.sh each time the phone reboots? Or am I way off-base here?
[Droid Ultra Original Android Development] xDroid4Lifex:
If you're on 4.4.2 do you have a Moto X? Droids only have 4.4 hence why the w/p off exploit still works and yes you also have to re-run the root.sh everytime the phone boots if trying WPnomo. If you have 4.4.2 the only possibility is a tethered root through Jcases Pie exploit, no w/p off at this time.

Pie is also patched in 4.4.3 so if you take the update when its available for the Droids there's no possibility of root unless you have w/p off and install it to system and hope it survives the ota, or if downgrade is possible take that route but nobody knows right now. I'm happy as is now, no need for an update.

Sent from a carrier pigeon
[Droid Ultra Original Android Development] jaydotelloh:
Whoops, I have a droid MAXX with 4.4 (not 4.4.2, my mistake) which is on 19.6.3. I'll have to try this out tonight and see how it goes. I've been stuck without root on 4.4 for a while now and have been patiently waiting for something like this.

If i for whatever reason miss pushing root.sh during one of the reboots, does it mess anything up for can i just do a hard reboot and try again?
[Droid Ultra Original Android Development] rds217:
Just remember to revert back to 19.5.3 using the FXZ, as Jcase's pie exploit doesn't work on 19.6.3.
[Droid Ultra Original Android Development] krazie1:
Video how to Root using Pie by DroidModderX https://www.youtube.com/watch?v=dWh2rkMj-WM&feature=youtu.be
[Droid Ultra Original Android Development] xDroid4Lifex:
After each attempt, even if Wpbegone prompts that it failed make sure you check getprop to.boot.write_protect to see if it displays a 0, it might succeed even if it says it didn't. If it actually didn't (ro.boot.write_protect will display 1) keep trying and you'll eventually get it.

Sent from a carrier pigeon
[Droid Ultra Original Android Development] jaydotelloh:
After several months without root I finally have it back! Thanks for the help!
[Droid Ultra Original Android Development] xDroid4Lifex:
No problem at all! Glad I could help

Sent from a carrier pigeon
[Droid Ultra Original Android Development] krazie1:
How many times should the Phone Reboot when doing MotoWPNoMo, Mine rebooted I believe 4x?

EDIT: SUCCESS! Thanks Man
[Droid Ultra Original Android Development] xDroid4Lifex:
Enjoy! I can't believe how much I've missed being able to actually PLAY with my phone :D

Sent from a carrier pigeon

if I helped you, consider a thanks.
[Droid Ultra Original Android Development] bsilvertab:
work

How did you get motowpnomo to finally complete? I can't get past the first reboot. No matter what I do I can't get the app to recognize adb.
[Droid Ultra Original Android Development] distortedloop:
Are you using a VM? I had the same problem trying to do it in a Mac VMWare Win7 machine.

I had to boot a Linux disc on my old MacBook to get it to work.

Like I said, it's seriously tedious...and don't forget, once it does recognize adb you have to re-run the temp root sh script IMMEDIATELY upon the phone indicating debugging mode USB connected for several reboots.
[Droid Ultra Original Android Development] bsilvertab:
I was using a Windows 7 VM, but moved onto an old Vista laptop. The trick to get it working was to unplug the usb cable, uncheck and recheck developer mode, then plug back in and run the root.sh script. No more write protection. Thanks!
[Droid Ultra Original Android Development] distortedloop:
Did you have to remove Safestrap to accept the OTA? I envision it failing with Safestrap due to recovery not matching, or does the update just overwrite recovery or not touch it?
[Droid Ultra Original Android Development] bagheadinc:
OTA worked for me with Safestrap installed. It ended removing it, but I just re-installed it after the update.
[Droid Ultra Original Android Development] lenard_hester:
So, if I already have WP off on my phone does this save me a step? I still have my MAXX on 4.2.2 (I've been refusing to upgrade) I did all the prior exploits to get root on 4.2.2 and one of those was to run motowpnomo. It was my understanding that this would survive through upgrades.I was afraid to pull the trigger on 4.4 for fear of messing up the previous exploit and being without root.

Does that mean that I would just need to:

-Upgrade to 4.4.2 (19.5.3)

-use PIE

-install safestrap

-flash SuperSU via safestrap

-Install SuperSU pro

-perform the latest OTA update

-?

-profit

Or would I need to do the MotoWPNoMo exploit again?
[Droid Ultra Original Android Development] xDroid4Lifex:
If you already have root and write protection disabled then there's no need for Pie or Safestrap. Install SuperSu Pro, enable OTA survival in the settings menu and then take the update to 19.5.3, once that's done make sure survival mode is still enabled then take the update to 19.6.3.

We're still on 4.4 though, and will be skipping straight to 4.4.3 in the near future. That update will probably re-enable write protection like it did on the Moto X though.
[Droid Ultra Original Android Development] Archangel:
Is this the same for a droid mini on the 4.2.2 12.7.7 version using pawnmymoto and then MotoWPNoMo?
[Droid Ultra Original Android Development] lenard_hester:
I tried this last night, and unfortunately, the OTA update fails. No idea why, but my next step would be to go back to stock (no root) and run the OTA unless someone has some other thoughts. I probably will not be trying anything else till next week.
[Droid Ultra Original Android Development] xDroid4Lifex:
Any bloat you may have uninstalled that you forgot to put back? Uninstall xposed?

Sent from a carrier pigeon
[Droid Ultra Original Android Development] lenard_hester:
That is what I initially thought, but I unfroze everything and it still failed. I don't have xposed installed.
[Droid Ultra Original Android Development] -voided:
Great guide, got perma-root on 4.4/19.5.3 on my Droid Maxx.

From everything I've read, Safestrap (despite being based on TWRP) is not a true boot loader, and as such I can't use any custom ROMs on this device. Is this true? If so, is there any way to truly unlock the boot loader now that I've got root and W/P off?
[Droid Ultra Original Android Development] rmjones2006:
this http://xdaforums.com/showthread.php?t=2751177

Sent from my XT1080M "Developer Edition"
[Droid Ultra Original Android Development] -voided:
Ah, good answer. I did know about that option, but, given my limited understanding, I just wonder what prevents it from being unlocked by more typical means. Devs have been able to unlock locked bootloaders in other devices, right?

edit: to be clear, this isn't a "OMG when will the hax0rZZZ be out??" message, my goal is to understand what prevents this from being an option currently.
[Droid Ultra Original Android Development] bzxzlg:
Completely rooted on stock 4.4 - no ifs, ands, or butts!!

Thanks much to jcase for PIE and bagheadinc on documenting the pieces-parts.:good:

These days I call myself a "low-end" rooter in that I may not utilise root to the fullest extent, I just want access to my ENTIRE system the way I want it period. That being said, my device is still stock bootloader and OS (4.4/19.6.3), just permanently rooted.:victory:

Even though Moto isn't watching any longer, noticed when in bootloader, qe shows 1/1.

Of note: MotoWpNoMo completely rooted my device. No issues at all. Just had to keep running PIE after every reboot of the device until it was complete.

Also, my biggest obstacle in this entire process was getting ADB to work. Unless I read through it somewhere, I had to put my system - once connected - into "camera" connection mode. Then the ADB driver installed and was good-to-go.

Question though: again, unless I just blurry-eyed read through it ... CFC-fastboot-obake-maxx_verizon-user-4.4-SU2-3-15-release-keys.xml ...

Can one simply remove the "<step operation="erase" partition="userdata" />" statement and retain the contents of the SD portion of the device?

IMHO, jcase and bagheadinc - maybe one or two others - deserve the bounty!!!
[Droid Ultra Original Android Development] MonkeyMouth:
Followed this and on the first try. I was tired of my phone bootlooping after using xposed and softbooting. I'm still hesitant to install that again. But right now I am rooted. SuperSU Installed! And I can rest easy tonight.
[Droid Ultra Original Android Development] s_u_n:
This is a great thread. But I am curious about the rebooting part.

After I am done with all the steps described to get 'permanent' root, the next time I wish to reboot the device or power-off and power-on the device,

1. do I have to connect it to the computer and run some commands every time?

or

2. do I have to run something (like PIE?) from the recovery menu on the phone every time?

or

3. do nothing each time and yet maintain root

My only objective in rooting is to have Notification Toggles being able to toggle Airplane mode and GPS with a single tap, instead of just presenting me the Settings menu. As per the developer that requires rooted phone.

I am on Droid Maxx (completely stock with 4.4 - 19.6.3) and I don't want to lose my apps and data - as far as possible.
[Droid Ultra Original Android Development] tjohnstone3:
Once you have done all of the steps and gotten permanent root you will not have to do anything after a reboot, you have full access to system and all of your changes using Xposed (or whatever you choose) will stick.

As for the apps/data, since you are on 19.6.3 you would need to flash back to 19.5.3 (using RSDLite or manually flashing in fastboot) which will wipe all of your data.

You can use an app called Carbon to backup/restore your apps before you obtain root, it will store the backup to your computer and you can restore it to your phone from your computer as well.
[Droid Ultra Original Android Development] bzxzlg:
So I found the answer to my question ... Haven't tried it yet ... Looks like it's a simple as removing the erase userdata statement. Wish I'd had paid attention a little more and tried this the first time - goofed up and forgot to save off some pictures from a concert last week :(
[Droid Ultra Original Android Development] Jumnhy:
Still need help? I am fresh off doing this myself and feeling comfortable enough to get it working for you if you want.
[Droid Ultra Original Android Development] Archangel:
Is this the same for a droid mini on the 4.2.2 12.7.7 version using pawnmymoto and then MotoWPNoMo?

Quote:

Originally Posted by xDroid4Lifex View Post

If you already have root and write protection disabled then there's no need for Pie or Safestrap. Install SuperSu Pro, enable OTA survival in the settings menu and then take the update to 19.5.3, once that's done make sure survival mode is still enabled then take the update to 19.6.3.

We're still on 4.4 though, and will be skipping straight to 4.4.3 in the near future. That update will probably re-enable write protection like it did on the Moto X though.

Any help on this?
[Droid Ultra Original Android Development] rhouse1983:
The wpnomo is not working for me. It only reboots once. Is that common? Am I missing something? Any tips?

---------- Post added at 06:54 PM ---------- Previous post was at 05:58 PM ----------

What exactly do you mean by getting adb drivers installed? I have adb working but the wpnomo doesn't seem to catch it. What am I missing?
[Droid Ultra Original Android Development] s_u_n:
I am a little confused about the loss of data due to the downgrade.

I read that if we use the FXZ from here, then you won't lose any data.

I have not found time to sit down and read everything carefully, but perhaps someone can confirm trying this method and report back.