Related
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
hansonmi said:
Does anyone know if it is at all possible to inject root into the updates that are available from Asus's website?
Click to expand...
Click to collapse
It is possible, but you can't sign the modified package with the correct key, so you could only apply them to unlocked devices.
_that said:
It is possible, but you can't sign the modified package with the correct key, so you could only apply them to unlocked devices.
Click to expand...
Click to collapse
Yup, that whole signing thing is a ***** Great that it validates the Firmware you are installing... sucks for modders
_that said:
It is possible, but you can't sign the modified package with the correct key, so you could only apply them to unlocked devices.
Click to expand...
Click to collapse
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.
Perseus71 said:
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.
Click to expand...
Click to collapse
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.
_that said:
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.
Click to expand...
Click to collapse
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 ?
Perseus71 said:
Ah! I see. In my Case I don't have ASUS Transformer.
Click to expand...
Click to collapse
This is the TF700 forum.
Perseus71 said:
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 ?
Click to expand...
Click to collapse
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.
_that said:
This is the TF700 forum.
Click to expand...
Click to collapse
Yes I know. My device is Orphan! There's no forum for it....
_that said:
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.
Click to expand...
Click to collapse
What is
"SUID Bit Set"
Please ?
Perseus71 said:
Yes I know. My device is Orphan! There's no forum for it....
Click to expand...
Click to collapse
http://forum.xda-developers.com/forumdisplay.php?f=2070
Perseus71 said:
What is
"SUID Bit Set"
Please ?
Click to expand...
Click to collapse
http://lmgtfy.com/?q=suid+bit
_that said:
http://forum.xda-developers.com/forumdisplay.php?f=2070
Click to expand...
Click to collapse
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.
_that said:
http://lmgtfy.com/?q=suid+bit
Click to expand...
Click to collapse
Yeah I guess I deserved that. My apologies.
I just got a new nexus 5
It had a 4.4.4 update immediately available. I updated
Now I'm not seeing a 5.0 update.
Can I speed up it finding the update somehow?
I am too scared to do the manual update. I might do something horribly wrong...
You have to wait till google pushes you update via OTA
lpganesh said:
You have to wait till google pushes you update via OTA
Click to expand...
Click to collapse
How frequently is google pushing the OTA when they have the 5.0.2?
I can't wait...
tonkku107 said:
How frequently is google pushing the OTA when they have the 5.0.2?
I can't wait...
Click to expand...
Click to collapse
All the time, in batches. If you can't wait, side load the ota or flash a factory image.
tonkku107 said:
How frequently is google pushing the OTA when they have the 5.0.2?
I can't wait...
Click to expand...
Click to collapse
You're on XDA, you don't have to wait. Just flash the factory image, you shouldn't even be taking an OTA anyway.
_MetalHead_ said:
You're on XDA, you don't have to wait. Just flash the factory image, you shouldn't even be taking an OTA anyway.
Click to expand...
Click to collapse
Why? I don't think I want the factory image. I would need to wipe everything. I have already stuff on this device.
Hiw much will the android SDK with the adb stuff take space from my computer then?
tonkku107 said:
Why? I don't think I want the factory image. I would need to wipe everything. I have already stuff on this device.
Hiw much will the android SDK with the adb stuff take space from my computer then?
Click to expand...
Click to collapse
If you're 100% stock then sideload the OTA, more info here: http://forum.xda-developers.com/google-nexus-5/general/info-nexus-5-ota-help-desk-t2523217
If you're not 100% stock, sideloading won't work, but if your bootloader is unlocked you can:
fastboot flash system system.img
fastboot flash boot boot.img
Also flash the radio and bootloader if you want to. This won't wipe since you're not flashing userdata.img nor using -w.
And by 100% stock, I mean exactly one hundred percent.
I don't understand why an OTA is so special when you can get the update right away yourself, and often with much less trouble.
Lethargy said:
If you're 100% stock then sideload the OTA, more info here: http://forum.xda-developers.com/google-nexus-5/general/info-nexus-5-ota-help-desk-t2523217
If you're not 100% stock, sideloading won't work, but if your bootloader is unlocked you can:
fastboot flash system system.img
fastboot flash boot boot.img
Also flash the radio and bootloader if you want to. This won't wipe since you're not flashing userdata.img nor using -w.
And by 100% stock, I mean exactly one hundred percent.
I don't understand why an OTA is so special when you can get the update right away yourself, and often with much less trouble.
Click to expand...
Click to collapse
Going to 5.x from 4.x without flashing userdata isn't a good idea.
You've been warned, OP.
beekay201 said:
Going to 5.x from 4.x without flashing userdata isn't a good idea.
You've been warned, OP.
Click to expand...
Click to collapse
Not really, if the usual internal storage derp happens then running one of the restorecon commands will usually fix it, but yeah, if you flash userdata then no chance of it happening.
Lethargy said:
Not really, if the usual internal storage derp happens then running one of the restorecon commands will usually fix it, but yeah, if you flash userdata then no chance of it happening.
Click to expand...
Click to collapse
Yeah, you're right: I forgot about the restorecon cmds.
:good:
They're best to avoid though. For some TWRP users, the restorecon needs to be repeated regularly. Not sure if the 2.8.3.0 has this issue though, I assume not.
Personally, I think its better to go full factory image from 4.4.x to 5. It takes longer but its a much better bet for compatibility issues.
Uhh...
I'm completely stock, so what are you talking about TWRP?
If there's a 'derp' I guess I better not flash it...
I don't get the restorecon stuff... Explain me what ot does
tonkku107 said:
Uhh...
I'm completely stock, so what are you talking about TWRP?
If there's a 'derp' I guess I better not flash it...
I don't get the restorecon stuff... Explain me what ot does
Click to expand...
Click to collapse
Nothing, I wasn't talking to you about TWRP
Restorecon fixes the sdcard issues that you'll probably have if you upgrade to lollipop badly.
I think if you're not confident, wait.
rootSU said:
Nothing, I wasn't talking to you about TWRP
Restorecon fixes the sdcard issues that you'll probably have if you upgrade to lollipop badly.
I think if you're not confident, wait.
Click to expand...
Click to collapse
Could you tell me more about the 'derp'?
I heard that google has stopped pushing the 5.0 because of it's issues.
There are no otas (atleast in the thread) from 4.4.4 to 5.0.1.
tonkku107 said:
Could you tell me more about the 'derp'?
I heard that google has stopped pushing the 5.0 because of it's issues.
There are no otas (atleast in the thread) from 4.4.4 to 5.0.1.
Click to expand...
Click to collapse
Not sure what derp you're talking about. You cannot ota from 4.4.4 to 5.0.1.
I don't think Google stopped pushing ota for 5.
rootSU said:
Not sure what derp you're talking about. You cannot ota from 4.4.4 to 5.0.1.
I don't think Google stopped pushing ota for 5.
Click to expand...
Click to collapse
It's possible with manta though.
Code:
I/SystemUpdateService( 759): processDownloadedFile /cache/930525cd9d47bae895e0c632c5f91c89af259c94.signed-mantaray-LRX22C-from-KTU84P.930525cd.zip
beekay201 said:
It's possible with manta though.
Code:
I/SystemUpdateService( 759): processDownloadedFile /cache/930525cd9d47bae895e0c632c5f91c89af259c94.signed-mantaray-LRX22C-from-KTU84P.930525cd.zip
Click to expand...
Click to collapse
Thats interesting.
rootSU said:
Not sure what derp you're talking about. You cannot ota from 4.4.4 to 5.0.1.
I don't think Google stopped pushing ota for 5.
Click to expand...
Click to collapse
This:
Lethargy said:
Not really, if the usual internal storage derp happens then running one of the restorecon commands will usually fix it, but yeah, if you flash userdata then no chance of it happening.
Click to expand...
Click to collapse
tonkku107 said:
This:
Click to expand...
Click to collapse
/sdcard doesn't exist. it's just a link to /data/media/0. Sometimes when not upgrading to 5.0 officially, that link breaks, so /sdcard looks empty. The command fixes it.
rootSU said:
/sdcard doesn't exist. it's just a link to /data/media/0. Sometimes when not upgrading to 5.0 officially, that link breaks, so /sdcard looks empty. The command fixes it.
Click to expand...
Click to collapse
So, basicly, it's nothing that I should even worry about, right?
Did anyone try out last night's software update? Any noticeable changes?
Initial observations: Up-gradation and initial boot up takes quite some time. What is more noticeable is the phone heating up during this process.
Found the OTA: (OTA_HIA_AERO_UL_M60_SENSE7GP_ATT_NA_Gen_Unlock_1.12.617.6-1.11.617.5_release_458832.zip) however TWRP nor stock recovery + stock boot will install it.
rlvl said:
Did anyone try out last night's software update? Any noticeable changes?
Initial observations: Up-gradation and initial boot up takes quite some time. What is more noticeable is the phone heating up during this process.
Click to expand...
Click to collapse
Any comment over the improvement in camera and performance?
Cashreedhar said:
Any comment over the improvement in camera and performance?
Click to expand...
Click to collapse
It's tough to see any changes considering it was all buttery smooth before as well
Wish HTC would post a changelog ...
That said.. The november update is supposed to fix the stagefright exploit.. So this update is critical.
What if your rooted can you still get the OTA update?
jbea007 said:
What if your rooted can you still get the OTA update?
Click to expand...
Click to collapse
I might be wrong, but I don't think anyone has successfully done this yet.
jbea007 said:
What if your rooted can you still get the OTA update?
Click to expand...
Click to collapse
ota upgrade rooted then this is possible because I have personally tried. focus is on twrp recovery restore or install will need to be system partition read only.At that time I was using [Root] HTC A9 thread completed. The other two threads I have not tried.
@jollywhitefoot: seen this?
edit: nevermind. You originated the thread and download links, lol.
http://www.htc.com/us/support/htc-one-a9/news/
Looks like the unlocked USA RUU: RUU_HIA_AERO_UL_M60_SENSE7GP_ATT_NA_Gen_Unlock_1.12.617.6.exe
Can't you flash just any ruu when s-off?
jaypeg123 said:
Can't you flash just any ruu when s-off?
Click to expand...
Click to collapse
You can flash it S-On or S-Off. If S-ON you MIGHT need to relock bootloader, but I'm not positive about that
This one: http://forum.xda-developers.com/attachment.php?attachmentid=3541020&d=1447433290
I just downloaded the RUU from the htc website
Won't I be able to push su.img back on and reinstall supersu.apk? Noticed that the first reboot when trying the OTA just boots it into TWRP. I'm going to try the RUU and see what happens. currently s-on bootloader unlocked with twrp. factory carrier unlocked
Did you see any changes after updating software guys ?
Will972 said:
Did you see any changes after updating software guys ?
Click to expand...
Click to collapse
Noticed that the storage menu in settings has a new set of options to format the sd card or use it as internal storage. Before it was only a button to unmount. if I remember correctly. Oh and I can't get root. I'm flashing back until I can find a modified boot.img that works
gunnarrrrr said:
Noticed that the storage menu in settings has a new set of options to format the sd card or use it as internal storage. Before it was only a button to unmount. if I remember correctly.
Click to expand...
Click to collapse
That was always there, but i don't think it shows up until you enable security
gunnarrrrr said:
Oh and I can't get root. I'm flashing back until I can find a modified boot.img that works
Click to expand...
Click to collapse
what problem are you having with root? I didn't have any issue re-rooting after the update
jollywhitefoot said:
That was always there, but i don't think it shows up until you enable security
what problem are you having with root? I didn't have any issue re-rooting after the update
Click to expand...
Click to collapse
That makes sense. and just booting after flashing the boot img. have one you want to share?
gunnarrrrr said:
That makes sense. and just booting after flashing the boot img. have one you want to share?
Click to expand...
Click to collapse
I just used the modified boot.img from the OP in jcase's root thread.
jollywhitefoot said:
I just used the modified boot.img from the OP in jcase's root thread.
Click to expand...
Click to collapse
I've been trying that one too but then after I reboot it just hangs at the HTC logo with the red text for about 20 minutes then I just end up giving up and reflashing
gunnarrrrr said:
I've been trying that one too but then after I reboot it just hangs at the HTC logo with the red text for about 20 minutes then I just end up giving up and reflashing
Click to expand...
Click to collapse
Are you formatting data in TWRP after flashing modified boot?
jollywhitefoot said:
Are you formatting data in TWRP after flashing modified boot?
Click to expand...
Click to collapse
*currently feeling like the dumbest person alive* thank you.
I didn't get the system update notification..
I'm rooted on unlock version ..
I've read that some people get the notification.. how is it possible
Can anyone please make a guide on updating rooted essential phone via OTA?
surya17 said:
Can anyone please make a guide on updating rooted essential phone via OTA?
Click to expand...
Click to collapse
Best way is to update using fastboot man...or sideload the OTA
BakedTator said:
Best way is to update using fastboot man...or sideload the OTA
Click to expand...
Click to collapse
Will side loading with no wipe.bat cause any bugs? I was thinking that it's similar to dirty flashing custom ROMs.
surya17 said:
Will side loading with no wipe.bat cause any bugs? I was thinking that it's similar to dirty flashing custom ROMs.
Click to expand...
Click to collapse
Nope, just have to reroot after you do and you're golden. I do every update.
crixley said:
Nope, just have to reroot after you do and you're golden. I do every update.
Click to expand...
Click to collapse
Okay, should I flash the current build I'm on and update via OTA or should I flash the latest build directly?
surya17 said:
Okay, should I flash the current build I'm on and update via OTA or should I flash the latest build directly?
Click to expand...
Click to collapse
Flash the latest directly by extracting the zip and fastboot flashing each file. Open the flash all script in a word editor to see the commands if you're unsure, but do not run it or it will wipe your phone. Also do not run the wipe userdata command obviously haha
What is the process to upgrade and keep root? Is it the same (flash magisk into partition a/b after upgrade?)
Thanks
kevkid said:
What is the process to upgrade and keep root? Is it the same (flash magisk into partition a/b after upgrade?)
Thanks
Click to expand...
Click to collapse
after flashing the ROM, you need to flash magisk.zip.. that's all brother
Spuffyffet said:
after flashing the ROM, you need to flash magisk.zip.. that's all brother
Click to expand...
Click to collapse
Isn't it possible to install magisk to inactive slot after update and before reboot any more?
epr said:
Isn't it possible to install magisk to inactive slot after update and before reboot any more?
Click to expand...
Click to collapse
Yes, you can do that as long as you do a manual install. Not if you let the System Update do a "download and install".
BillGoss said:
Yes, you can do that as long as you do a manual install. Not if you let the System Update do a "download and install".
Click to expand...
Click to collapse
So if I want to update from OOS11 to OOS12 I have to download the full image, do a manual install via system - updates - local upgrade, install magisk to inactive slot and reboot?
The way it used to be (system downloads the full image and installs it - magisk to inactive slot - reboot) is no longer working? Why? Isn't it the same?
epr said:
So if I want to update from OOS11 to OOS12 I have to download the full image, do a manual install via system - updates - local upgrade, install magisk to inactive slot and reboot?
The way it used to be (system downloads the full image and installs it - magisk to inactive slot - reboot) is no longer working? Why? Isn't it the same?
Click to expand...
Click to collapse
What you're proposing may work (the OOS 12 OTA is a full image). But with incremental OTAs you can't let the system download and install and then install Magisk to inactive. It breaks the installation.
So, your phone - do it your way and let us know the result. That we all learn something out of the process.
BillGoss said:
What you're proposing may work (the OOS 12 OTA is a full image). But with incremental OTAs you can't let the system download and install and then install Magisk to inactive. It breaks the installation.
So, your phone - do it your way and let us know the result. That we all learn something out of the process.
Click to expand...
Click to collapse
OK, thanks.
I'll try with the OTA as soon as OOS 12 is available for my region (EU, KB2003).
epr said:
OK, thanks.
I'll try with the OTA as soon as OOS 12 is available for my region (EU, KB2003).
Click to expand...
Click to collapse
I went back and read what I said in https://forum.xda-developers.com/t/guide-root-and-keeping-root-options.4387977/ which was:
You also need to know that if you let System Update download and install a delta update, then you cannot make any changes to the updated partitions until after the phone has rebooted otherwise the update will fail.
Click to expand...
Click to collapse
So you're ok with doing what you suggested.
Ah, the joys of getting old and forgetful!
BillGoss said:
I went back and read what I said in https://forum.xda-developers.com/t/guide-root-and-keeping-root-options.4387977/ which was:
So you're ok with doing what you suggested.
Ah, the joys of getting old and forgetful!
Click to expand...
Click to collapse
Same fits to me.
Not the youngest anymore...