Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
hansonmi
Old
#1  
Member - OP
Thanks Meter 30
Posts: 63
Join Date: Jul 2010
Location: Michigan, USA
Default Inject root in stock updates possible

Does anyone know if it is at all possible to inject root into the updates that are available from Asus's website? Like to download the full update from Asus website, extract the system image and put the SU binary in there and repack then run the update on the tablet? I know the SU binary for ICS works with the latest OTA update so logically i would think it to be possible... especially since there are root injected stock roms available for various phones that i own (ie. SGS III).

I just would think it would be easier to inject root into the stock downloaded updates and install them instead of having to always go back to ICS and re-root and stuff if the latest OTA fails like mine did, causing me to manually update which also wiped out my SU backup that Rootkeeper made...

If it is possible to make root injected updates, any tips on how to go about doing it and where the SU binary and other files need to be located in the image?

Thanks.

Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Why is it that the more technology advances to bring us forward, it seems that more and more people keep getting left behind?
 
_that
Old
#2  
Senior Member
Thanks Meter 969
Posts: 1,793
Join Date: Oct 2012
Default Re: Inject root in stock updates possible

Quote:
Originally Posted by hansonmi View Post
Does anyone know if it is at all possible to inject root into the updates that are available from Asus's website?
It is possible, but you can't sign the modified package with the correct key, so you could only apply them to unlocked devices.
 
hx4700 Killer
Old
#3  
hx4700 Killer's Avatar
Senior Member
Thanks Meter 235
Posts: 1,202
Join Date: Oct 2007
Location: Texas
Quote:
Originally Posted by _that View Post
It is possible, but you can't sign the modified package with the correct key, so you could only apply them to unlocked devices.
Yup, that whole signing thing is a bitch Great that it validates the Firmware you are installing... sucks for modders
___________________________________________
HTC One X (original from AT&T)

Asus Transformer Infinity TF700T

Asus Transformer Prime TF201 - Now in my daughtes hands

Former Devices: Nokia Lumia 900, Samsung Focus, Dell Venue Pro (for 2 weeks), Tilt 2, Fuze, Tilt, HP HX4700
 
Perseus71
Old
#4  
Perseus71's Avatar
Senior Member
Thanks Meter 52
Posts: 228
Join Date: Feb 2011
Quote:
Originally Posted by _that View Post
It is possible, but you can't sign the modified package with the correct key, so you could only apply them to unlocked devices.
Can you kindly elaborate ? Are you referring to Unlocked Bootloaders or Network Unlocked phones ? Either way, won't APK Multi Tool be able to Sign the file ?

What I have is a device with Locked Bootloader and no Network lock (to my knowledge). I have its Stock update.zip that I'd like to inject Root into.
Please hit Thanks if you find this useful.

My Work - JASS Rom for Favi Smartstick
 
_that
Old
#5  
Senior Member
Thanks Meter 969
Posts: 1,793
Join Date: Oct 2012
Default Re: Inject root in stock updates possible

Quote:
Originally Posted by Perseus71 View Post
Can you kindly elaborate ? Are you referring to Unlocked Bootloaders or Network Unlocked phones ? Either way, won't APK Multi Tool be able to Sign the file ?

What I have is a device with Locked Bootloader and no Network lock (to my knowledge). I have its Stock update.zip that I'd like to inject Root into.
You need an unlocked bootloader. The locked bootloader checks for the Asus digital signature - so any signing tool would help you only if you somehow obtain Asus' private key.
 
Perseus71
Old
#6  
Perseus71's Avatar
Senior Member
Thanks Meter 52
Posts: 228
Join Date: Feb 2011
Quote:
Originally Posted by _that View Post
You need an unlocked bootloader. The locked bootloader checks for the Asus digital signature - so any signing tool would help you only if you somehow obtain Asus' private key.
Ah! I see. In my Case I don't have ASUS Transformer. Rather I have Smartstick. I believe Its bootloader does not do this Check. So I should be ok inserting su binary into /system/bin with correct compression.

Question though, other than Inserting SU Binary and SuperSU in /System/app, is there anything else I need to be doing in order to Root my Stock Rom ?
Please hit Thanks if you find this useful.

My Work - JASS Rom for Favi Smartstick
 
_that
Old
#7  
Senior Member
Thanks Meter 969
Posts: 1,793
Join Date: Oct 2012
Quote:
Originally Posted by Perseus71 View Post
Ah! I see. In my Case I don't have ASUS Transformer.
This is the TF700 forum.

Quote:
Originally Posted by Perseus71 View Post
So I should be ok inserting su binary into /system/bin with correct compression.

Question though, other than Inserting SU Binary and SuperSU in /System/app, is there anything else I need to be doing in order to Root my Stock Rom ?
If your device supports flashing of unsigned ROM images, then that's it - you only need the su binary with the correct permissions (with the SUID bit set) and SuperSU - in whatever format your device accepts ROM images. But that's off topic here.
 
Perseus71
Old
#8  
Perseus71's Avatar
Senior Member
Thanks Meter 52
Posts: 228
Join Date: Feb 2011
Quote:
Originally Posted by _that View Post
This is the TF700 forum.
Yes I know. My device is Orphan! There's no forum for it....


Quote:
Originally Posted by _that View Post
If your device supports flashing of unsigned ROM images, then that's it - you only need the su binary with the correct permissions (with the SUID bit set) and SuperSU - in whatever format your device accepts ROM images. But that's off topic here.
What is
"SUID Bit Set"
Please ?
Please hit Thanks if you find this useful.

My Work - JASS Rom for Favi Smartstick
 
_that
Old
#9  
Senior Member
Thanks Meter 969
Posts: 1,793
Join Date: Oct 2012
Quote:
Originally Posted by Perseus71 View Post
Yes I know. My device is Orphan! There's no forum for it....
http://forum.xda-developers.com/forumdisplay.php?f=2070

Quote:
Originally Posted by Perseus71 View Post
What is
"SUID Bit Set"
Please ?
http://lmgtfy.com/?q=suid+bit
 
Perseus71
Old
#10  
Perseus71's Avatar
Senior Member
Thanks Meter 52
Posts: 228
Join Date: Feb 2011
Thanks for pointing that out. Although I knew about it, IMHO its a Zoo of Noob Central.
I am trying to Build a ROM on my own for a device launched in November Last Year. So my question on that forum will most likely not get Developer's attention.

Quote:
Originally Posted by _that View Post
Yeah I guess I deserved that. My apologies.
Please hit Thanks if you find this useful.

My Work - JASS Rom for Favi Smartstick

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more