yashsingh1/xdaforums huggingface dataset:
[Moto X Android Development] mschumacher69:
There's little to no reason to root using RockMyMoto or SlapMyMoto on an unlocked bootloader device, just flash a custom recovery and then super user and u're good to go ;)
[Moto X Android Development] NWKENT:
Yes Sir..Absolutely agree..not trying to "fix" (setup) my DEV..but to test with..This reason alone is why I purchased the DEV model..I never intended to use it daily..I have two Droid Maxx Public models..Wanna test to help out others to avoid the dreaded 4.4 No Root on public models..

sent by my 4.3_14.14.14

XT1028 (aka) Moto-G
[Moto X Android Development] mschumacher69:
Have u tried my suggestion above to re-lock?
[Moto X Android Development] NWKENT:
Nope..was about to thow..

So..the first line code needs to look like this >>> fastboot oem lock begin

And then do a normal system flash.? Is this your suggestion.?

sent by my 4.3_14.14.14

XT1028 (aka) Moto-G
[Moto X Android Development] mschumacher69:
That's right, but if u already have an unmodified system image installed, you can try this:

fastboot oem lock begin

fastboot erase cache

fastboot erase userdata

fastboot oem lock
[Moto X Android Development] NWKENT:
Tried your suggestion here first..the results >> No valid PIV block in SP for system piv validation failed (system) Re-lock failure

BUT..I used fastboot command..not mfastboot

sent by my 4.3_14.14.14

XT1028 (aka) Moto-G
[Moto X Android Development] mschumacher69:
OK so then try flashing a full system image along with erasing cache and userdata between fastboot oem lock begin and fastboot oem lock
[Moto X Android Development] NWKENT:
Nope..ran your suggestion couple different ways..THANKS VERY MUCH for your efforts to help..I'll keep searching for the way to overcome this..lol

sent by my 4.3_14.14.14

XT1028 (aka) Moto-G
[Moto X Android Development] mschumacher69:
Try looking or posting here:

http://xdaforums.com/showthread.php?t=2434223

http://xdaforums.com/showthread.php?t=2571786
[Moto X Android Development] RadOD1:
mfastbooting gives me recovery. But I get an error when trying to flash the supersu zip from here: hxxp://download.chainfire.eu/382/SuperSU/UPDATE-SuperSU-v1.93.zip. (sorry, too noob to post links) Also get an error flashing 1.91.

What do I need to do to get root?
[Moto X Android Development] flashallthetime:
You flash the zip through recovery

Sent on my Gummy running Lenoto X
[Moto X Android Development] NWKENT:
Gentleman..where, what version of TRWP is compatible with JB 4.2.2 for the Droid Maxx DE..a link if not this thread would be great..This thread's header mentions 4.4..but is this version usable on the 4.2.2.?

Is TRWP anything like SafeStrap..the screen, and function layout, the general function/ procedures, I adore SS..wish the where a version similar to SafeStrap for the DEV models

I certainly miss the beloved SafeStrap.. :(

sent by my MZ617-32 XYBoard 10.1_SafeStrap v3.12_Jelly Bean 4.1.2

Please donate to: jcase & Hashcode (if you can)
[Moto X Android Development] bsaidmalta:
Can I use this recovery on my EU Moto X (XT 1052) running 4.4.2?
[Moto X Android Development] Kittiesoncrack:
I can confirm this works on Sprints Moto X on 4.4.2
[Moto X Android Development] eksasol:
Hey guys, sorry if this has been asked before.

I usually can boot into TWRP on Nexus without having to flash it by: (m)fastboot boot twrp.img

Is there a way to do this on the Moto X?

Also is it safe to flash the stock 4.4 recovery to my 4.4.2 Moto X? And to relock the bootloader without having to use the unlock code again? For security I want to put back stock recovery and lock the bootloader.
[Moto X Android Development] :
You can add boot to recovery with gravity box. Or use quickboot from play store. ;)

Sent from my Moto X cellular telephone...
[Moto X Android Development] piccit:
Why would you want the 4.4 recovery and not the 4.4.2?

(i don't know the answers to your other questions)
[Moto X Android Development] eksasol:
I have custom recovery and want to flash stock recovery. I would want the 4.4.2 recovery, but there is no 4.4.2 factory image of the T-Mobile version yet, unless I can use one from another Moto X version. I just broke warranty on this phone so I just want to make sure to not kill it, I'm used to Nexus flashing, but just taking precaution since I'm totally new with Motorola flashing. Thanks.

sent via Le Motonovo X
[Moto X Android Development] :
Why do you need stock recovery? You can do the occasional nandroid now. In case you run into troubles.

The only reason I could see to put anything like recovery to stock is for ota's .....and the next one is probably awhile away. :)

Sent from my Moto X cellular telephone...
[Moto X Android Development] eksasol:
It give extra security in case I lose the phone and I don't need to flash all the time since it's the Moto X. But thanks anyway.

sent via Le Motonovo X
[Moto X Android Development] mschumacher69:
[MENTION=4661942]flashallthetime[/MENTION] ;)
[Moto X Android Development] Kittiesoncrack:
I can flash a recovery from 4.4 on my 4.4.2 phone, right? I know the bootloader cant be downgraded but the recovery should be able to right?
[Moto X Android Development] flashallthetime:
Why? Nandroids won't work

Sent on my Gummy running Lenoto X
[Moto X Android Development] jpd_:
FYI, you can't flash 4.4.2 roms on Motorola 4.4.2. TWRP probably needs to be recompiled :/ I wish I had known. You can still restore but not flash roms.
[Moto X Android Development] flashallthetime:
I actually had the opposite problem ,I could flash ROM s 4.4.2 with 4.2.2 twrp while running 4.4 system but my nandroids would not work

Sent on my Gummy running Lenoto X
[Moto X Android Development] Kittiesoncrack:
I dont really mind. I just wanna be on stock recovery. Its possible right?
[Moto X Android Development] flashallthetime:
Yes, you can flash the stock recovery, you can't flash any mods or Roms like a custom recovery

Sent on my Gummy running Lenoto X
[Moto X Android Development] dandan2980:
So what recovery flashes ROMs for you??? In still on 4.4 software haven't received the ota just wondering if you tried others
[Moto X Android Development] Kittiesoncrack:
alright good. there may or may not be a soak test about to happen so I wanna go back. Is there anything else I should do for an ota? I cant sbf because there isnt one for 4.4.2. Can i remove xposed installer and factory reset? will that be enough?
[Moto X Android Development] wooddale:
You need to go back to stock recovery to get ota. If you do a FDR with custom recovery all it does is eraces your data but won't bring you back to stock only way you can do that is through Moto.I'm guessing you have a dev edition. If not I don't know I couldnt go back with my RAZR HD.
[Moto X Android Development] Kittiesoncrack:
I know that, im asking if i should fdr after getting stock recovery
[Moto X Android Development] jpd_:
I cant flash roms at the moment. I have an unlocked bootloader and rooted but TWRP doesn't work when trying to flash AOSP roms :(
[Moto X Android Development] dandan2980:
Have you tried philz cwm recovery or there is the gummy cwm recovery you can find a link for that one in the gummy/liquid smooth thread also. You can use recovery tools - flasher from the app store to flash the recoveries try them out .

Anyone else on 4.4.2 having problems flashing aosp or stock ROMs I might hold off taking the ota when its Sprints turn to upgrade to 4.4.2 if I am not able to flash Aosp .

Also what happens when you try flashing what is your procedure before flashing cause I noticed wiping more than once in advanced wipe will cause the install to fail and rebooting recovery and installing did the trick
[Moto X Android Development] jpd_:
I tried philz and I expirienced the same error. Do you have a link for that Gummy cwm? I'll give it a go.
[Moto X Android Development] dandan2980:
http://xdaforums.com/showthread.php?t=2546412

Its into the first post of this thread just look for cwm swipe recovery for gummy
[Moto X Android Development] jpd_:
It works :D

I really appreciate your help.

Btw, here is the link for the recovery: http://androidhosting.org/Devs/Gummy/ghost/nightly/Gummy-CWM-based-recovery-ghost.img
[Moto X Android Development] dems86:
It works fine for 4.4+?
[Moto X Android Development] dandan2980:
I used it to flash gummy and LS but reverted back to TWRP I'm still on 4.4
[Moto X Android Development] ken1645:
FYI for those interested this version of TWRP works on T Mobile OTA 4.4.2 unlocked bootloader. I had unlocked the bootloader from the moto website when I got the phone a while ago and even after flashing stock 4.4 sbf recovery (to make OTA update notifications go away) my bootloader remained unlocked, then accepted OTA update to get to 4.4.2 and flashed TWRP to get root back.

thanks,

Kendall
[Moto X Android Development] jpd_:
yes it works.
[Moto X Android Development] geekabilly:
TWRP 2.6.3.1, that version, works for 4.4.2 version 161.44.25 on an XT1053?
[Moto X Android Development] Cozume:
I don't think it matters which model of phone you have. Someone in another thread said 2.6.3.1 would work for 4.4.2.

http://xdaforums.com/showpost.php?p=50276716&postcount=5
[Moto X Android Development] geekabilly:
Looks like consensus, thanks Coz
[Moto X Android Development] ken1645:
Yes 161.44.25 on XT1053. TWRP works on my phone running android 4.4.2.
[Moto X Android Development] bergwitza:
Is it necessary to write the image or would boot be enough for just booting the recovery kernel and its ramdisk?

I'm asking because I would like to gain minimal root on my device.. and the steps would look similar to these:

- unlock bootloader

- fastboot boot twrp.img (every bit on the device should still be untouched)

- create dd-backups of every modifiable partition (while every bit is still untouched)

- mount /system

- install a simple su binary (not SuperSU or any of its friends)

- chmod 4755 /path/to/su

- unmount /system

I didn't try any of this yet but my background is a heap of unix terminal-years that i'm trying to wrap around these phones because on some rare occasions I'd really like to have uid=0.
[Moto X Android Development] INZANEDUD:
Works beautifully in android 4.4.2 stock (south america)
[Moto X Android Development] Slorks:
okay i flashed it but i dont know how to boot into recovery, i keep hitting the bootloader screen scrolling to the recovery and pushing the power button but it boots into android instead of recovery
[Moto X Android Development] wooddale:
Hit volume up not power
[Moto X Android Development] Morrolan:
I'm having a weird issue on my new Verizon DE. I unlocked the bootloader (I'm sure, because I see the white unlocked bootloader warning screen). I boot into the bootloader and enter

C:\>mfastboot flash recovery twrp-2.6.3.1-ghost-4.4.img

Command Prompt returns:

sending 'recovery' (9854 KB)...

OKAY [ 0.860s]

writing 'recovery'...

OKAY [ 1.006s]

finished. total time: 1.870s

The phone confirms the recovery has been written. I choose recovery, and the phone just boots up into the phone interface. I cannot get into recovery at all. I've read through the thread, but I can't find the solution. Would anybody mind helping out? Do I maybe need to run CMD in Administrator Mode? Do I need to set the phone up after unlocking the bootloader? I've read the instructions over and over and triple checked everything. I have to be missing something.
[Moto X Android Development] Cozume:
Follow these step-by-step instructions:

Step-By-Step Instructions on Unlocking and Rooting
[Moto X Android Development] Morrolan:
Everything worked except fastboot bootloader. However, I manually rebooted into the bootloader and chose recovery. Now I am rooted. Thanks!
[Moto X Android Development] Cozume:
You are welcome.

It's fastboot reboot-bootloader. If you typed fastboot bootloader, no that won't work. But you got rooted, so that is all that matters!!!
[Moto X Android Development] n0obpr0:
TWRP 2.6.3.1 works with Tmobile moto x running stock 4.4.2.
[Moto X Android Development] mschumacher69:
Yes...
[Moto X Android Development] n0obpr0:
lol my bad. I was confirming not asking =P!
[Moto X Android Development] mschumacher69:
Lol my bad actually, there's no question mark and the comment is not phrased as a question. I don't know why I read it as a question :P
[Moto X Android Development] iscott:
it works well for 4.4.2.
[Moto X Android Development] gavron:
This twrp ids as "xt1060" ; 4.4.2 upgrade fails

Hi. I have a VZW DEV MotoX. Twrp 2.6.3.1 from this thread. I have read most of the 31 pages here... but

skimmed the ones where it appeared people were talking about how to install, unlock, etc.

When I try the update I get:

installing BL updater extensions

file_contexts path is present in /tmp/file_contextsscript aborted: This package is for "ghost" devices; this is a "xt1060".
This package is for "ghost" devices; this is a "xt1060".
E:Error executing updater binary in zip '/cache/Blur_Version.140.45.5.ghost_verizon.Verizon.en.US.zip'

I've tried editing ro.product.device in both /system/build.prop as well as /default.prop but of course they are hardcoded

in the binary.

***I did try using file-roller and updating the check to look for "xt1060" instead of "ghost" and that got past the first check,

but it failed a subsequent checksum/signature of the whole file ***

Is there a TWRP for Motox that ids as "ghost"? (ro.product.device=="ghost")

Thank you :)

Ehud

P.S. I also have an XT1053... and run into the same problem... so the same solution here would be great.

(My XT1053 runs the German 4.4.2 release)
[Moto X Android Development] mschumacher69:
U cannot install an OTA using a custom recovery. U have to flash stock recovery to install an OTA.
[Moto X Android Development] gavron:
Updated to 4.2.2 using TWRP 2.6.3.1

Turns out you can.

0. Downloaded the OTA upgrade. It puts it in /cache. adb got that to the laptop

1. Used file-roller to update the product id check as described in the previous post. (Changed "xt1060" to "ghost")

2. Removed the vzw entitlement patch checks for .odex and .apk

3. Removed the vzw entitlement actual patches for .odex and .apk

4. Saved new version in /sdcard... basically ANYWHERE OTHER THAN /cache which is where the auto upgrade will put it.

*** Took a backup BEFORE agreeing to the update *** This is important because once you agree to the upgrade, if it fails you'll be stuck in a reboot about 60s after each boot.

5. Allowed the upgrade to proceed normally. It boots into TWRP, attempts the upgrade and FAILS (product id is not "ghost").

6. Still in TWRP "Install" "/sdcard" "Blur...." (the file uploaded in step 4)

7. It processed all the checks successfully. It processed all the upgrades successfully. It cleared the cache. It completed successfully.

8. Selected "Reboot" [as in reboot system]. No need to wipe dalvik/cache as the upgrade process does that.

9. It booted normally, "upgrading applications"... and was back up normally.

10. Tested WiFi tether, the only part that I did NOT upgrade, because I'd done the replacement of the verizon wireless entittlement APK

to allow free WiFi tether. It works. Tested root. It works.

Version reading: 4.2.2 kernel 3.4.2-g338454 dbbuild@ca88lnxdroid14#1 Thu Jan 23 17:09:37 PST 2014

165.44.2.ghost_verizon.Verizon.en.US

Build Number KXA20.16-1.25.2

This is now considered a success. I'll run with it and if no issues will take another backup -- the first of 4.4.2

and that will be the new base :)

That brings my VZWDEVMOTOX to the same level as my TMODEVMOTOX.

Samsung is about to get sued. They accidentally locked my G4DEV during a digitizer fix, and

despite my returning it to them twice did not re-unlock it. (Said they did tho...)

E
[Moto X Android Development] wmarcin:
Awesome! I'll give it a go. Did you have any system apps/Verizon bloat uninstalled? Xposed framework? Or just root and Wi-Fi tether?

... Moto X VZW DE ...
[Moto X Android Development] porkrynd:
[MENTION=234017]gavron[/MENTION]... wow bud, interesting procedure! Please keep us updated if you run into any issues!

-Sent from a nitroglycerine infused moto X... handle with care

---------- Post added at 12:06 PM ---------- Previous post was at 12:01 PM ----------

@hashcode... will your TWRP get updated for 4.4.2? Or is an update not needed?

-Sent from a nitroglycerine infused moto X... handle with care
[Moto X Android Development] mschumacher69:
This version of twrp already works on 4.4.2...
[Moto X Android Development] porkrynd:
Excellent!

-Sent from a nitroglycerine infused moto X... handle with care
[Moto X Android Development] NWKENT:
With SafeStrap from its birth, but new to TWRP..which version is for JB 4.2.2_on Moto X and is the same version for Droid Maxx.?

Seems as thow v2.6.3.0 has failed every time on the Maxx, failed to restore a backup..just after the restore cache function..

Tried v2.6.3.0 on 4.2.2 and get a RED failure on Moto X..what have I done wrong.?

v2.6.3.1 works great with my Moto X on 4.4 , have not run v2.6.3.1 on 4.4.2 yet..

sent by my 4.2.2_12.15.15

XT1080MDEV (aka) Droid Maxx DE

Please donate to: jcase & Hashcode (if you can)
[Moto X Android Development] gavron:
4.4.2 OTA update done by TWRP after minor file edit

First, the 4.4.2 update via TWRP worked perfectly as per my comment above.

I had made sure to unfreeze (TiBu) all VZW Bloat, since the update does check for them.

I do have the Xposed framework and did not deinstall it.

4.4.2 has been running perfectly since I installed it. -Zero- errors or unusual or FCs or

anything. 100% awesome.

So good I took my first 4.4.2 TWRP backup today, and that's the new baseline.

I will re-summarize. These instructions are useful to those who already know what

they're doing. The rest may find these vague. That means you shouldn't do this

until you have a great understanding of _what_ you're doing rather than just copy/paste.

There's nothing wrong with copy/paste but if you lack an understanding, YOU CAN'T

FIX IT IF IT BREAKS, so there you go.

Tools: TWRP - installed, file-roller or other in-place zip editor, moto-fastboot or equivalent flashing tool, replacement logo file if you like

1. BACKUP BEFORE AGREEING TO OTA UPDATE. ***Important*** Once you agree to the OTA update, if it doesn't work, the phone will reboot 30-60s after each reboot... so you will need to intercept it, get into recovery, and get a working update. So do your backup BEFORE you agree to the update just in case of failure.

Using a tool like file-roller do an in-place editing of the install-script in the zip file:

2. Change device id check to check for "xt1060" instead of "ghost" (1 edit)

NOTE: If you have NOT replaced the VZW Entitlement APKs to allow free wifi tether, you may safely disregard steps 3 and 4.

3. Remove patch checks for VZW Entitlement APK and ODEX (delete 2 lines)

4. Remove actual patches for those (delete 2 lines)

5. Place that file on /sdcard

6. Accept the update. It will tell you it takes 10 minutes and reboots into recovery. The OTA will fail because the device-id mismatch. (It wants "ghost").

7. Since you're already in TWRP, select Install and install the file you uploaded in step 5. Reboot after. (No need to wipe anything -- the update does that for you.)

Enjoy

Post-install cleanup (optional)

8. flash some other Motorola logo that doesn't have an annoying warning about unlocked bootloaders

9. run AdFree or equivalent to restore a hosts file that blocks advertising sources

10. delete the file from /sdcard ;)

IF THIS DOESN'T WORK 100% TO YOUR LIKING, reboot into recovery and restore from the backup made in step 1.

If you didn't make a backup in step 1, don't post here.

E
[Moto X Android Development] wmarcin:
Ended up taking this route earlier today, before your reply: http://xdaforums.com/showthread.php?t=2644646

Thanks for the detailed instructions. Hope they help someone else.

... Moto X VZW DE ...
[Moto X Android Development] spiral777:
Multirom

Has anyone heard anything about Multirom for the Developer Edition Moto X or droid maxx?
[Moto X Android Development] RadOD1:
Need some help here. My flash fails.

1) Downloaded Blur_Version.140.45.5.ghost_verizon.Verizon.en.US.zip from /cache

2) Edited updater-script in Notepad++ (ANSI, EOL UNIX format)

a) Edited to getprop("ro.product.device") == "xt1060" || abort

b) Deleted apply_patch_check("/system/priv-app/VzwEntitlementService.apk"...

c) Deleted apply_patch_check("/system/priv-app/VzwEntitlementService.odex", "5...

d) Deleted assert(apply_patch("/system/priv-app/VzwEntitlementService.apk", "-"...

e) Deleted assert(apply_patch("/system/priv-app/VzwEntitlementService.odex", "...

3) Zipped back up with winrar in zip format 'store'

4) Push back to /sdcard

5) Flash with TWRP. Error flashing zip.

What am I missing?
[Moto X Android Development] gavron:
The right tools. File-roller.

E
[Moto X Android Development] RadOD1:
You mean to only way to zip up a script is from linux under gnome?

Is the problem I need to sign the update?
[Moto X Android Development] Cubfan99:
USB OTG working yet?
[Moto X Android Development] supr2nr:
Hashcode, is there any plans on keeping TWRP updated with the current releases? I see that the current release for most devices is up to 2.7. Although I'm not sure if there are any changes/fixes if any between the two releases. By no means am i insinuating that it needs to be updated as 2.6.3.1 works fine for me but I was just wondering if there would be an official release so that we could download and flash as they are released.

Thanks.
[Moto X Android Development] FSRBIKER:
DHacker has TWRP 2.6.3.2 posted here http://androidhosting.org/Devs/Dhacker29/MotoX/
[Moto X Android Development] Bill Idol:
Can you use this on moto x 4.4.2 and how about clock work recovery, can that be used on moto x as well?

Sent from my XT1060 using Xparent Cyan Tapatalk 2
[Moto X Android Development] Thomas_BA:
Thanks for that.

Any change-log available and can it be flashed of the older version?
[Moto X Android Development] FSRBIKER:
I prefer TWRP since it was released.

---------- Post added at 02:24 PM ---------- Previous post was at 02:24 PM ----------

I haven't seen one, I'll ask him on Twitter.
[Moto X Android Development] Bill Idol:
Thanks brudda

Sent from my XT1060 using Xparent Cyan Tapatalk 2

---------- Post added at 10:52 AM ---------- Previous post was at 10:43 AM ----------

Bro. I flashed 2.6.3.2 but on TWRP it reads 2.6.3.0?

Sent from my XT1060 using Xparent Cyan Tapatalk 2
[Moto X Android Development] mschumacher69:
I read somewhere that it would read 2.6.3.0 but it is actually 2.6.3.2
[Moto X Android Development] GoClifGo05:
Yea. Dhacker confirmed on Twitter a while back it will read 2630 but it's 2632

Sent from my Eclipsed Moto X DE
[Moto X Android Development] Bill Idol:
Cool. That's good enough for me:D

Sent from my XT1060 using Xparent Cyan Tapatalk 2
[Moto X Android Development] FSRBIKER:
From Dhacker " [MENTION=385448]yes[/MENTION] it's the newest I forgot to change the number. I'll post 2.7 later”

Don't forget to support our developer's, Dhacker ported & maintains CM also. Skip a coffee and donut/bagel once this week and donate the $5 to him instead.

Beamed from my Moto X
[Moto X Android Development] mastarifla:
Any chance that we could get TWRP 2.7 ?

Edit: Thanks :)
[Moto X Android Development] NYCHitman1:
Read the post above.
[Moto X Android Development] bigv5150:
Can you flash the new twrp over an existing one or do I need to install stock recovery then flash twrp.
[Moto X Android Development] wooddale:
Is there NY reason why we have to flash the new TWRP? Everything I have flashed so far works.
[Moto X Android Development] Bill Idol:
download and install recovery tools. This app will flash all your recovery images. Pretty sweet.

https://play.google.com/store/apps/details?id=de.mkrtchyan.recoverytools

Sent from my XT1060 using Xparent Cyan Tapatalk 2
[Moto X Android Development] bigv5150:
Dude that is sweet no need for a pc and has the recovery in a list damn sweeeeeeeeeeeeeeeeeet.
[Moto X Android Development] NYCHitman1:
You don't HAVE to flash the new version. However, you will be missing out on some great features if you decide to stick with the older version.

That app is a bite off of Flashify.
[Moto X Android Development] Mickoou:
Will this flash the stock recovery