Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Root 4.4.X] Pie for Motorola devices

OP jcase

3rd June 2014, 06:57 PM   |  #1  
jcase's Avatar
OP Forum Moderator / Senior Recognized Developer - Taco Vendor
Flag Sequim WA
Thanks Meter: 8,584
4,028 posts
Join Date:Joined: Feb 2010
Donate to Me
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 root.sh /data/local/atvc

adb shell chmod 755 /data/local/atvc/root.sh

adb shell /data/local/atvc/root.sh
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 root.sh /data/local/atvc
81 KB/s (137 bytes in 0.001s)
Retina:package jcase$ adb shell chmod 755 /data/local/atvc/root.sh
Retina:package jcase$ adb shell /data/local/atvc/root.sh
pie by jcase
want to buy me pie? paypal-> jcase@cunninglogic.com
Retina:package jcase$ adb shell
shell@ghost:/ $ su
root@ghost:/ # id
uid=0(root) gid=0(root) context=u:r:kernel:s0
Busybox license -> http://www.busybox.net/license.html
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 package1.1.zip - [Click for QR Code] (1.42 MB, 20202 views)
Last edited by jcase; 3rd June 2014 at 09:00 PM.
The Following 141 Users Say Thank You to jcase For This Useful Post: [ View ]
3rd June 2014, 06:59 PM   |  #2  
Senior Member
Flag Minnesota
Thanks Meter: 1,020
463 posts
Join Date:Joined: Jan 2008
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: [ View ]
3rd June 2014, 07:08 PM   |  #3  
Senior Member
Las Vegas
Thanks Meter: 60
494 posts
Join Date:Joined: Aug 2010
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
3rd June 2014, 07:22 PM   |  #4  
Junior Member
Thanks Meter: 1
22 posts
Join Date:Joined: 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
3rd June 2014, 07:42 PM   |  #5  
KidJoe's Avatar
Recognized Contributor
Flag Thorndale/Romansville, PA
Thanks Meter: 957
2,274 posts
Join Date:Joined: Aug 2008
Originally Posted by jcase

...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?
3rd June 2014, 07:48 PM   |  #6  
livinginkaos's Avatar
Thanks Meter: 68
68 posts
Join Date:Joined: Nov 2012
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: [ View ]
3rd June 2014, 07:55 PM   |  #7  
SamuriHL's Avatar
Senior Member
Thanks Meter: 1,730
2,933 posts
Join Date:Joined: 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.
The Following 4 Users Say Thank You to SamuriHL For This Useful Post: [ View ]
3rd June 2014, 08:07 PM   |  #8  
a1exus's Avatar
Senior Member
Flag NYC
Thanks Meter: 38
743 posts
Join Date:Joined: Jun 2008
Donate to Me
Thanks Justin)

Sent from my XT1060 using Tapatalk
3rd June 2014, 08:14 PM   |  #9  
Senior Member
Thanks Meter: 268
1,481 posts
Join Date:Joined: Sep 2006
Getting this:

adb shell /data/local/atvc/root.sh
mkdir failed for /data/local/atvc/dalvik-cache, File exists
pie by jcase
want to buy me pie? paypal-> jcase@cunninglogic.com
su fails because it can't find it.
3rd June 2014, 08:16 PM   |  #10  
rmjones2006's Avatar
Senior Member
Flag birmingham
Thanks Meter: 76
244 posts
Join Date:Joined: Sep 2013
If only I was as talented as jcase... A job well done sir

Sent from my XT1080M "Developer Edition"

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes