FORUMS
Remove All Ads from XDA

[Root 4.4.X] Pie for Motorola devices

6,099 posts
Thanks Meter: 15,158
 
By jcase, Forum Moderator / Senior Recognized Developer - Taco Vendor on 3rd June 2014, 05:57 PM
Post Reply Email Thread
Changelog
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:
http://blog.cassidiancybersecurity.c...old-local-root

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.

Usage:
Code:
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:
Code:
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.

FAQ:
Where is source?
On my computer

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

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?
No

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

Will you X?
No

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, 43820 views)
The Following 145 Users Say Thank You to jcase For This Useful Post: [ View ]
 
 
3rd June 2014, 05:59 PM |#2  
Recognized Developer
Thanks Meter: 1,695
 
More
Wow, first 4.4.2 root. This is huge! Everyone owes @jcase a big thank you!
The Following 3 Users Say Thank You to ryanbg For This Useful Post: [ View ]
3rd June 2014, 06:08 PM |#3  
Senior Member
Las Vegas
Thanks Meter: 94
 
More
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
The Following User Says Thank You to marcviado For This Useful Post: [ View ] Gift marcviado Ad-Free
3rd June 2014, 06:22 PM |#4  
Junior Member
Thanks Meter: 1
 
More
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, 06:42 PM |#5  
KidJoe's Avatar
Recognized Contributor
Flag Thorndale/Romansville, PA
Thanks Meter: 1,605
 
More
Quote:
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, 06:48 PM |#6  
livinginkaos's Avatar
Member
Oregon
Thanks Meter: 76
 
More
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 ] Gift livinginkaos Ad-Free
3rd June 2014, 06:55 PM |#7  
SamuriHL's Avatar
Senior Member
Thanks Meter: 2,227
 
More
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 ] Gift SamuriHL Ad-Free
3rd June 2014, 07:07 PM |#8  
a1exus's Avatar
Senior Member
Flag NYC
Thanks Meter: 61
 
Donate to Me
More
Thanks Justin)

Sent from my XT1060 using Tapatalk
3rd June 2014, 07:14 PM |#9  
Senior Member
Thanks Meter: 295
 
More
Getting this:

Code:
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, 07:16 PM |#10  
rmjones2006's Avatar
Senior Member
Flag birmingham
Thanks Meter: 78
 
More
If only I was as talented as jcase... A job well done sir

Sent from my XT1080M "Developer Edition"
3rd June 2014, 07:23 PM |#11  
jcase's Avatar
OP Forum Moderator / Senior Recognized Developer - Taco Vendor
Flag Sequim WA
Thanks Meter: 15,158
 
10
Donate to Me
More
Quote:
Originally Posted by abuttino

Getting this:

Code:
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.

That output is expected, and none of that indicates a su failure
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes