Lost root on as I updated to 2.3.4 on my Nexus S - Nexus S General

After getting assert_failed errors since forever on 2.3.2, I finally downgraded my radio to fix them and without even thinking installed 2.3.4 OTA. The install went fine but I lost my root.
Now, I haven't unlocked my bootloader. To root, I have to unlock the bootloader which will wipe my phone clean. To take a nandroid/full backup of phone I need root. So, kinda stuck in a catch-22 here.
I still have ROM Manager installed and when I used backup feature in it, it created a new backup. However I am not sure if its a full phone backup or just the ROM. Is there anyway to verify?
Also, any solution to gain my root back with all my data? I am fine with unlocking the bootloader as long as my data is safe.
Edit:
This just struck my mind. If I modify the update file and put in su binaries repackage it and reinstall it on my phone, would it work? Can I even reinstall an update?
Edit2:
Can I just create my own update.zip containing su binaries, sign it and install it?

dpacmittal said:
Edit2:
Can I just create my own update.zip containing su binaries, sign it and install it?
Click to expand...
Click to collapse
You can create it, of course, but I doubt you could install it with a locked bootloader, since you are unlikely to have the private key google uses to sign its updates.

How much can I back-up without rooting my phone? I'll backup the SD partition. I just want all my application settings (eg; Angry birds data) with all the applications, messages and contacts. Is it possible to back all these up without root?
I have titanium installed, if its any good?

[Guide] Install ClockworkMod Recovery image after updated to 2.3.4 (GRJ22).
I hope this will able to help you
http://forum.xda-developers.com/showthread.php?p=13800735#post13800735

My bootloader is locked, mate. Your method won't work for me. Thanks, anyways

Related

OTA Update not work.

So i got 2.3.2v 3.0.A.2.184, and locked my bootloader.
When i try OTA update it failed cus i deleted apps like fifa, bruce lee.
Is there any way to restore them without unlocking bootloader again?
I think i still got root.
SirArt89 said:
So i got 2.3.2v 3.0.A.2.184, and locked my bootloader.
When i try OTA update it failed cus i deleted apps like fifa, bruce lee.
Is there any way to restore them without unlocking bootloader again?
I think i still got root.
Click to expand...
Click to collapse
i wanna know that too..
One way would be to do a Titanium Backup or My Backup Root on your phone and then flash/downgrade firmware and and use gingerbreak to root and then without doing anything else OTA to newest available FW.
Or try to restore all the apps you deleted, there's some threads floating around here with stock apps (imo it's to much work and might not work in the end if the app's do not match your FW biuld?).
Check this out on how to downgrade/root/update:
http://forum.xda-developers.com/showthread.php?t=1116090
If you've got an unlocked BL my guess is, you might be able to just flash sytem.sin with fastboot. It can be extracted from the .ftf.file with winrar and then placed in fastboot folder. I'm not to sure about the command to issue here, could be this:
fastboot flash system system.sin
(I'm only guessing here so you might want somebody with more knowledge to say ok for this).
Regards Dousan...

[Q] New TN7 - what to do first: root or upgrade?

Hello guys,
my TN7 is nagging me to upgrade from 4.2.2 to 4.3 via OTA. I've read that with the upgrade the bootloader will be locked and if I tried to root afterwards a full wipe will be neccessary to unlock the bootloader.
So here's my question: if I root first and upgrade then will root access persist or do I have to suffer a full reset anyway? What would you suggest?
Any hints are appreciated!
freeekbert said:
Hello guys,
my TN7 is nagging me to upgrade from 4.2.2 to 4.3 via OTA. I've read that with the upgrade the bootloader will be locked and if I tried to root afterwards a full wipe will be neccessary to unlock the bootloader.
So here's my question: if I root first and upgrade then will root access persist or do I have to suffer a full reset anyway? What would you suggest?
Any hints are appreciated!
Click to expand...
Click to collapse
I have not rooted my device but after you upgrade to 4.3, within 5-10 minutes it will ask you again to upgrade to 4.4.2. I think you should consider this also before rooting. ( I am having 4.4.2. )
What is the advantage of rooting TN7?
asratxda said:
I have not rooted my device but after you upgrade to 4.3, within 5-10 minutes it will ask you again to upgrade to 4.4.2. I think you should consider this also before rooting.
Click to expand...
Click to collapse
Thanks for the info. Up to now I'm not a big fan of KitKat...
asratxda said:
What is the advantage of rooting TN7?
Click to expand...
Click to collapse
All my Android devices are rooted, because in general I don't like the idea that there is a lot of potential hidden from the customer. For example if you want to make Nandroid backups you need root access. And I'm using Nandroids excessively
Other apps like Tasker need root access to use their full potential.
So the question remains: will root stick through the upgrade(s) or not? And if it doesn't, what can I do make it persist?
no, you will need to root after each update. So you might as well do the updates, then the root. many here are wishing they would have just stayed on 4.3 and not rooted (IMHO) The only thing I like about KK is the gamepad mapper.
I did the two updates (4.3 and then 4.4.2) then I unlocked the boot loader and rooted using the tool as it supports the 4.4.3 update.
Was plain sailing and no problems.
Phil
Thanks guys, so I'm going to root on current version to backup all apps and settings. Then I can do both updates and unlock the boot loader without worrying about data loss.
I'll give feedback how it went :thumbsup:
So, I promised to report back. Coming from Android 4.2.2 I did the following:
Root like described in here:
HTML:
http://forum.xda-developers.com/showpost.php?p=47810386&postcount=1
I used the Chinese method, but please be aware that this way there is strange software installed on your device.
Then I grabbed Titanium Backup Pro and created a backup of all my installed apps. Those backups and important data from internal storage were pushed to a remote FTP server, because I read that unlocking the boot loader also wipes sdcard0.
Next step is installing all three OTA updates. Please be patient, because that this (especially the update to 4.4.2) may take some time.
Unlock boot loader. CAUTION: ALL DATA WILL BE LOST! Follow the instructions of Super Tool:
HTML:
http://forum.xda-developers.com/showthread.php?t=2627654
Flash ClockworkMod Recovery with Super Tool or manually via fastboot. I recommend Super Tool, because it's very handy to use.
Boot to CWM and flash SuperSU.zip by Chainfire and you should be good to go. Now you can reinstall Titanium Backup and restore your previously backed up apps and data from your remote location!
I hope this could come in handy for someone!
freeekbert said:
So, I promised to report back. Coming from Android 4.2.2 I did the following:
Root like described in here:
HTML:
http://forum.xda-developers.com/showpost.php?p=47810386&postcount=1
I used the Chinese method, but please be aware that this way there is strange software installed on your device.
Then I grabbed Titanium Backup Pro and created a backup of all my installed apps. Those backups and important data from internal storage were pushed to a remote FTP server, because I read that unlocking the boot loader also wipes sdcard0.
Next step is installing all three OTA updates. Please be patient, because that this (especially the update to 4.4.2) may take some time.
Unlock boot loader. CAUTION: ALL DATA WILL BE LOST! Follow the instructions of Super Tool:
HTML:
http://forum.xda-developers.com/showthread.php?t=2627654
Flash ClockworkMod Recovery with Super Tool or manually via fastboot. I recommend Super Tool, because it's very handy to use.
Boot to CWM and flash SuperSU.zip by Chainfire and you should be good to go. Now you can reinstall Titanium Backup and restore your previously backed up apps and data from your remote location!
I hope this could come in handy for someone!
Click to expand...
Click to collapse
:good: GREAT!!!! you finally rooted your device!!! I just want to ask you, is it possible to flash "SuperSU.zip" from "STOCK recovery" after unlocking the bootloader? i.e
1) Unlock bootloader 2) Flash SuperSU.zip from stock recovery ; thats all, now your are rooted. ???
...
...
I am going to root , but after at least 3-4 month's of usage. In the past I had rooted LG O1, CUBE U9GT4, iBall Andi4.3a. I also love taking BKPs with TB, very useful for game progress.
Have you tried "viper4android audio mod" and "GLTools"(for maximizing graphics performance for any app)?
asratxda said:
I just want to ask you, is it possible to flash "SuperSU.zip" from "STOCK recovery" after unlocking the bootloader? i.e
1) Unlock bootloader 2) Flash SuperSU.zip from stock recovery ; thats all, now your are rooted. ???
Click to expand...
Click to collapse
Nope, unfortunately it won't work this way, because the stock recovery system looks for a special signature which is not present in the zip file.
asratxda said:
Have you tried "viper4android audio mod" and "GLTools"(for maximizing graphics performance for any app)?
Click to expand...
Click to collapse
Neither one of them. But this is possibly because I don't play games on my tablet usually
asratxda said:
I am going to root , but after at least 3-4 month's of usage.
Click to expand...
Click to collapse
Personally I'd do it as soon as possible, because you will lose all your saved data. So the earlier you root, the less you have to restore

[Q] Getting Lollipop on rooted Nexus 4 with custom recovery - guide for fools?

I want Lollipop and my Nexus 4 won't shut up about the OTA update. Naturally, it failed, and i have since tried to find a fool-proof guide to uptade it WITHOUT LOOSING DATA. Not been so lucky. Theres talk about fastbooting (?) and going back to stock, but not much in the way of step-by-step guides. I think most people with nexus 4 and root are like me - did it because it was easy, not knowing a lot about it...
I have rooted with towelroot, installed TWRP custom recovery with flashify, unlocked bootlocker with Bootunlock, installed Xposed framework and SuperSU. Never used ADB or any commands. Can't be the only one in this exact situation
What excactly do i need to do to get Lollipop without loosing any data (like a regular OTA update)?
Maybe user Titanium Backup or some kinda backup software to backup files and stuff then just go for a fresh installation? Most of the basic settings should be saved to your google account.
This post should help you with setting up ADB in your computer and to get you up to speed with using ADB and Fastbooot
KishanW said:
Maybe user Titanium Backup or some kinda backup software to backup files and stuff then just go for a fresh installation? Most of the basic settings should be saved to your google account.
This post should help you with setting up ADB in your computer and to get you up to speed with using ADB and Fastbooot
Click to expand...
Click to collapse
Thanks for the quick reply! But i was hoping for a solution that DIDN'T wipe my phone. I just wanna undo all the rooting business, so i can do the OTA...
605
tommyhj said:
Thanks for the quick reply! But i was hoping for a solution that DIDN'T wipe my phone. I just wanna undo all the rooting business, so i can do the OTA...
Click to expand...
Click to collapse
That would be interesting if someone has an answer for your question. I can use it too
Sorry that I couldn't help you.
tommyhj said:
I want Lollipop and my Nexus 4 won't shut up about the OTA update. Naturally, it failed, and i have since tried to find a fool-proof guide to uptade it WITHOUT LOOSING DATA. Not been so lucky. Theres talk about fastbooting (?) and going back to stock, but not much in the way of step-by-step guides. I think most people with nexus 4 and root are like me - did it because it was easy, not knowing a lot about it...
I have rooted with towelroot, installed TWRP custom recovery with flashify, unlocked bootlocker with Bootunlock, installed Xposed framework and SuperSU. Never used ADB or any commands. Can't be the only one in this exact situation
What excactly do i need to do to get Lollipop without loosing any data (like a regular OTA update)?
Click to expand...
Click to collapse
Hey,
Follow these instructions http://forum.xda-developers.com/nexus-4/general/how-to-how-to-flash-factory-image-t2010312.
there are a few things to note:
1. You do not need to unlock the bootloader, you will have done that when you rooted
2. Download the 5.0 image instead of the original stock image when you do this.
3. DO NOT flash userdata.img. That will wipe your data.
Those are the steps I followed to flash over to 5.0 without losing data.
But I would absolutely do a backup anyway, just in case something goes wrong.
gardn227 said:
Hey,
Follow these instructions http://forum.xda-developers.com/nexus-4/general/how-to-how-to-flash-factory-image-t2010312.
there are a few things to note:
1. You do not need to unlock the bootloader, you will have done that when you rooted
2. Download the 5.0 image instead of the original stock image when you do this.
3. DO NOT flash userdata.img. That will wipe your data.
Those are the steps I followed to flash over to 5.0 without losing data.
But I would absolutely do a backup anyway, just in case something goes wrong.
Click to expand...
Click to collapse
Ok, cool. So you're saying to towel-root my device, unlock bootloader with bootunlocker app, remove root by installing SuperSU and using the clean-up funtion. And then adb fastboot flash boot/recovery/system from the FACTORY img? Why not sideload the OTA instead? Because it wont work unless i reflash stock 4.4.4 completely?

[HELP] Rooted Partially - Want to Unroot back

Hi Everyone,
I might have a problem now after tried to root my Axon 7 A2017 B27 (using the instruction http://forum.xda-developers.com/axon-7/development/wip-axon-7-root-bootloader-unlokced-t3441204). Unfortunately, the phone seems rooted partially after that.
Root Checker told me it's unrooted. But when i tried to upgrade to B29 package today, after downloaded and rebooted, it went to TWRP and couldn't be installed itself. The system indicated my phone has been rooted.
Now i'd like to unroot it back. Anyone could help and provide the detail step i should do? Thank you very much!
liuyiji said:
Hi Everyone,
I might have a problem now after tried to root my Axon 7 A2017 B27 (using the instruction http://forum.xda-developers.com/axon-7/development/wip-axon-7-root-bootloader-unlokced-t3441204). Unfortunately, the phone seems rooted partially after that.
Root Checker told me it's unrooted. But when i tried to upgrade to B29 package today, after downloaded and rebooted, it went to TWRP and couldn't be installed itself. The system indicated my phone has been rooted.
Now i'd like to unroot it back. Anyone could help and provide the detail step i should do? Thank you very much!
Click to expand...
Click to collapse
2 choices.
1. http://forum.xda-developers.com/axon-7/development/rom-guide-updates-to-stock-files-via-t3469484 best option. Use TWRP to install the B29 bootstack and B29 system. It worked for me.
2. Use the backups you made from the axon7backup.exe - move the files to the same folder you have the axon7root.exe, delete the boot and recovery files there, rename your backup files accordingly, and the axon7root.exe program will flash those files when you run the axon7root.exe program.
I really recommend using option 1. Much easier and quite frankly DrakenFX made it idiotproof.
tabletalker7 said:
2 choices.
1. http://forum.xda-developers.com/axon-7/development/rom-guide-updates-to-stock-files-via-t3469484 best option. Use TWRP to install the B29 bootstack and B29 system. It worked for me.
2. Use the backups you made from the axon7backup.exe - move the files to the same folder you have the axon7root.exe, delete the boot and recovery files there, rename your backup files accordingly, and the axon7root.exe program will flash those files when you run the axon7root.exe program.
I really recommend using option 1. Much easier and quite frankly DrakenFX made it idiotproof.
Click to expand...
Click to collapse
Thanks so much @tabletalker7. I just noticed this new post. Will try the option 1 for sure. When you did that, did all the data wipe out? If so, would you mind tell me which tool you use to backup the apps? Thanks again.
You do have to wipe data so I assume you lose everything - I have nothing important on the phone storage so I can wipe my phone all I want all I need is my sd card. Don't know of any way to not lose apps, but google did restore everything when I set up the phone on B29.
tabletalker7 said:
You do have to wipe data so I assume you lose everything - I have nothing important on the phone storage so I can wipe my phone all I want all I need is my sd card. Don't know of any way to not lose apps, but google did restore everything when I set up the phone on B29.
Click to expand...
Click to collapse
Thanks, will try some way to backup first then
liuyiji said:
Hi Everyone,
I might have a problem now after tried to root my Axon 7 A2017 B27 (using the instruction http://forum.xda-developers.com/axon-7/development/wip-axon-7-root-bootloader-unlokced-t3441204). Unfortunately, the phone seems rooted partially after that.
Root Checker told me it's unrooted. But when i tried to upgrade to B29 package today, after downloaded and rebooted, it went to TWRP and couldn't be installed itself. The system indicated my phone has been rooted.
Now i'd like to unroot it back. Anyone could help and provide the detail step i should do? Thank you very much!
Click to expand...
Click to collapse
Something to keep in mind for next time: you cannot apply official OTA updates if you have a modified boot.img (systemless root), modified recovery.img (TWRP), or have modified the /system partition (some root apps do this). You need to be completely stock (sans unlocked bootloader) in order to apply official OTA updates.
xtermmin said:
Something to keep in mind for next time: you cannot apply official OTA updates if you have a modified boot.img (systemless root), modified recovery.img (TWRP), or have modified the /system partition (some root apps do this). You need to be completely stock (sans unlocked bootloader) in order to apply official OTA updates.
Click to expand...
Click to collapse
Thx, @xtermmin. I'm just switching from iphone to android, need more time to study. Seems it would not easy for me to get the phone unrooted as well, lol

Can't update my Moto G5 Plus after rooting. How to unroot it easily?

Recently I rooted my G5 plus and it worked really well for me. I didn't use SuperSU, instead, have Magisk installed. Unfortunately, now my phone isn't updating. What should I do to unroot it without much problem and without losing any data on my phone? And will it update if I unroot it?
It's a little more complicated than that... to bad there isn't a guide to doing it here somewhere... Hmmm....
https://forum.xda-developers.com/g5-plus/how-to/guide-complex-ota-update-magisk-rooted-t3688175
acejavelin said:
It's a little more complicated than that... to bad there isn't a guide to doing it here somewhere... Hmmm....
https://forum.xda-developers.com/g5-plus/how-to/guide-complex-ota-update-magisk-rooted-t3688175
Click to expand...
Click to collapse
So like can't I simply unroot my phone and install the updates? Isn't there any easy way of uprooting?
dt.dragonborn said:
So like can't I simply unroot my phone and install the updates? Isn't there any easy way of uprooting?
Click to expand...
Click to collapse
Root is only part of the problem, TWRP is another big one.
OTA updates can only be installed on a purely stock device, the install script will check multiple things to verify the device is unmodified and in the correct state before applying, then it applies changes to specific files or partitions, they must be at a known starting condition before changes can be applied.
So, can you simply "unroot and install updates"? No, you must undo all changes to the device that are system related... Return the recovery, boot, and system partitions to their original state or any update will fail. Unrooting does not undo any changes, adds, or deletions you performed with root access, those actions are permanent.
Isn't there an easy way of unrooting? Sure, Magisk and SuperSU both have methods of removal, but that doesn't gain you what is needed to apply an OTA update.
I provided a link previously, that is what you need to do.
dt.dragonborn said:
Recently I rooted my G5 plus and it worked really well for me. I didn't use SuperSU, instead, have Magisk installed. Unfortunately, now my phone isn't updating. What should I do to unroot it without much problem and without losing any data on my phone? And will it update if I unroot it?
Click to expand...
Click to collapse
Which OTA(s) isn't installing?
Sent from my Moto G Plus (5th Gen) using XDA Labs
cdysthe said:
Which OTA(s) isn't installing?
Click to expand...
Click to collapse
I am not much of a tech guy but the update says
New Version-NPN25.1 37-67
Improved audio in Video Capture
Data traffic improvements
acejavelin said:
Root is only part of the problem, TWRP is another big one.
OTA updates can only be installed on a purely stock device, the install script will check multiple things to verify the device is unmodified and in the correct state before applying, then it applies changes to specific files or partitions, they must be at a known starting condition before changes can be applied.
So, can you simply "unroot and install updates"? No, you must undo all changes to the device that are system related... Return the recovery, boot, and system partitions to their original state or any update will fail. Unrooting does not undo any changes, adds, or deletions you performed with root access, those actions are permanent.
Isn't there an easy way of unrooting? Sure, Magisk and SuperSU both have methods of removal, but that doesn't gain you what is needed to apply an OTA update.
I provided a link previously, that is what you need to do.
Click to expand...
Click to collapse
Thank you for this. I unlocked the bootloader, and installed TWRP and Magisk to gain root. This worked fine. However, I decided I wanted to go back to complete stock yesterday. So I uninstalled Magisk and flashed stock firmware using ADB. My phone is now unrooted, has a locked bootloader, and is running stock firmware which is what I wanted. Once I get the phone to boot, almost everything functions normally. However, it seems as though I now do not have any recovery whatsoever (and I assume that's because I did not specifically replace TWRP with stock recovery). So when I boot my phone, it goes to the bootloader and stops. If I then hit "start" on the bootloader, the ROM loads up normally after that. f that were the only issue, I could live with it. But not being able to get to recovery is concerning. And I am not able to get OTAs at the moment.
So, I'll check the other thread you mentioned. I assume I will need to flash stock recovery in order to get where I need to be.
Thank you for the post!

Categories

Resources