Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,637 Members 40,164 Now Online
XDA Developers Android and Mobile Development Forum

[Root 4.4.X] Pie for Motorola devices

Tip us?
(Last edited by jcase; 3rd June 2014 at 08:00 PM.)
jcase's Avatar
Forum Moderator / Senior Recognized Developer - Taco Vendor - OP
Thanks Meter 7153
Posts: 3,623
Join Date: Feb 2010
Location: Sequim WA

Default [Root 4.4.X] Pie for Motorola devices

1.1 - doh
fixes a bug where exploit only works once.

Pie is a root for motorola devices, should work up to and including 4.4.2.

I had hoped to save this until August however the bug was outed with 4.4.3, and detailed publicly by several people. It now has no value for my purposes. Sucks for me, great for you.

Vulnerability details:

This is a tethered root (think tethered jailbreak), meaning you have to run it each time you reboot in order to have root access. You do not get system write access, you do get root and busybox.

adb push pie.jar /data/local/atvc

adb push /data/local/atvc

adb shell chmod 755 /data/local/atvc/

adb shell /data/local/atvc/
Expected output:
Retina:package jcase$ adb push pie.jar /data/local/atvc
5288 KB/s (1538203 bytes in 0.284s)
Retina:package jcase$ adb push /data/local/atvc
81 KB/s (137 bytes in 0.001s)
Retina:package jcase$ adb shell chmod 755 /data/local/atvc/
Retina:package jcase$ adb shell /data/local/atvc/
pie by jcase
want to buy me pie? paypal->
Retina:package jcase$ adb shell
shell@ghost:/ $ su
root@ghost:/ # id
uid=0(root) gid=0(root) context=u:r:kernel:s0
Busybox license ->
BusyBox v1.20.2-Stericson (2012-07-04 21:33:31 CDT) multi-call binary.
If busybox source is needed please ask me, while it is petty since you can get it from the obvious places, I will gladly package it on floppy disks and mail it media mail at your cost.

Where is source?
On my computer

Will it work on LG G3, Samsung <model>, Nexus 5?

Will you root X?
No, don't ask me.

You suck!
Not really a question, but I get this a lot. This is the 5th exploit I have released for MotoX, bite me.

This doesn't work, will you help me?
No, ask the community for support

Will you make this work on X?
No, this exploit, as it is, will only work on motorola phones, and only some.

Will you do this for me?

This doesn't work!
Then you are probably running firmware that has been patched, you should have bought a dev edition.

Will you X?

What is your favorite pie?
I like apple pie with vanilla ice cream, and Boston cream pie.
Attached Files
File Type: zip - [Click for QR Code] (1.42 MB, 8887 views)
I'm taking a break of an undetermined length. Please don't contact me about exploits

Something important?
Like Android security topics? Join our G+ community ->
My Bitcoin address : 1Newifz6yETTmbziCsZZstmHHPH6ejNr75
The Following 134 Users Say Thank You to jcase For This Useful Post: [ Click to Expand ]
Senior Member
Thanks Meter 880
Posts: 374
Join Date: Jan 2008
Location: Minnesota
Wow, first 4.4.2 root. This is huge! Everyone owes @jcase a big thank you!
The Following 2 Users Say Thank You to ryanbg For This Useful Post: [ Click to Expand ]
Senior Member
Thanks Meter 56
Posts: 452
Join Date: Aug 2010
Location: Las Vegas
Awesome! @jcase is the man but being a tethered root does this mean we can't flash a custom recovery and or ROM? Since the root access will not stick and as it says on op you have to run it every time you boot the phone? Nonetheless great work man
Junior Member
Thanks Meter 1
Posts: 22
Join Date: May 2013
Just what I was hoping for!!! will we be able to use xmodule? Or does it require write permission as well? I want root for that specific reason

Sent from my XT1058 using Tapatalk
KidJoe's Avatar
Senior Member
Thanks Meter 740
Posts: 1,902
Join Date: Aug 2008
Location: Thorndale/Romansville, PA
Originally Posted by jcase View Post
...You do not get system write access, you do get root and busybox..
So no modifying of build.prop or other things in /system, etc., not even temporarily? Right?
aka Mark_Venture

My Moto X tips and info

Currently using Verizon Moto X Developer Edition on my personal line.. But I have too many devices to choose from for work and personal... For the full list click -> HERE <-

Sign up for Dropbox -> HERE
livinginkaos's Avatar
Thanks Meter 42
Posts: 54
Join Date: Nov 2012
Location: Oregon
This is great! I don't see a link to make a Pie donation however?

Paypal doesn't take Pie.....
The Following User Says Thank You to livinginkaos For This Useful Post: [ Click to Expand ]
SamuriHL's Avatar
Senior Member
Thanks Meter 1407
Posts: 2,389
Join Date: Aug 2010
Nice job, man. Even though I don't own a Moto device anymore, I thank you for working on exploits. Tough, and time consuming game, and your work is appreciated.

Samsung S4 Google Play Edition
Moto X Developer Edition
The Following 4 Users Say Thank You to SamuriHL For This Useful Post: [ Click to Expand ]
a1exus's Avatar
Senior Member
Thanks Meter 36
Posts: 704
Join Date: Jun 2008
Location: NYC

Thanks Justin)

Sent from my XT1060 using Tapatalk
Moto X Android 4.4.2 KitKat update soaktest OTA Verizon VZW | alexus' blog
Android L Developer Preview | alexus' blog
  • Moto X by Motorola (XT1060) - Android 4.4 KitKat
  • ASUS Nexus 7 (2012) - Android 4.4.4 KitKat
  • ASUS Nexus 7 (2013) - Android L Lollipop
Senior Member
Thanks Meter 226
Posts: 1,276
Join Date: Sep 2006
Getting this:

adb shell /data/local/atvc/
mkdir failed for /data/local/atvc/dalvik-cache, File exists
pie by jcase
want to buy me pie? paypal->
su fails because it can't find it.
rmjones2006's Avatar
Senior Member
Thanks Meter 72
Posts: 221
Join Date: Sep 2013
Location: birmingham
If only I was as talented as jcase... A job well done sir

Sent from my XT1080M "Developer Edition"

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes