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?
 
jcase
Old
(Last edited by jcase; 3rd June 2014 at 08:00 PM.)
#1  
jcase's Avatar
Forum Moderator / Senior Recognized Developer - Taco Vendor - OP
Thanks Meter 7153
Posts: 3,623
Join Date: Feb 2010
Location: Sequim WA

 
DONATE TO ME
Default [Root 4.4.X] Pie for Motorola devices

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, 8887 views)
I'm taking a break of an undetermined length. Please don't contact me about exploits

Something important? jcase@cunninglogic.com
Like Android security topics? Join our G+ community -> https://plus.google.com/communities/...07618051049043
My Bitcoin address : 1Newifz6yETTmbziCsZZstmHHPH6ejNr75
The Following 134 Users Say Thank You to jcase For This Useful Post: [ Click to Expand ]
 
ryanbg
Old
#2  
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 ]
 
marcviado
Old
#3  
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
 
cestdiego
Old
#4  
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
Old
#5  
KidJoe's Avatar
Senior Member
Thanks Meter 740
Posts: 1,902
Join Date: Aug 2008
Location: Thorndale/Romansville, PA
Quote:
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
Old
#6  
livinginkaos's Avatar
Member
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
Old
#7  
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
Old
#8  
a1exus's Avatar
Senior Member
Thanks Meter 36
Posts: 704
Join Date: Jun 2008
Location: NYC

 
DONATE TO ME
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
 
abuttino
Old
#9  
Senior Member
Thanks Meter 226
Posts: 1,276
Join Date: Sep 2006
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.
 
rmjones2006
Old
#10  
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