Need help on OTA update with Nexus 7 2012 Rooted - Nexus 7 Q&A, Help & Troubleshooting

Hi,
My Nexus 7 3G 2012 was rooted, stock rom 4.3 but I've deleted some APK in the system partition. Now my Nexus 7 received an OTA update for the KitKat. What is the quickest way to safely update to the 4.4 while maintain all of the installed apps and userdata?
Thanks

1. Download the official KitKat image files from Google
2. Extract system.ing and boot.img from it
3. boot into bootloader
4. fastboot flash system system.img
5. fastboot flash boot boot.img
6. reboot your system
Sent from my Nexus 7 using xda app-developers app

AndDiSa said:
1. Download the official KitKat image files from Google
2. Extract system.ing and boot.img from it
3. boot into bootloader
4. fastboot flash system system.img
5. fastboot flash boot boot.img
6. reboot your system
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Tks for your reply.
So all data and installed apps will be inact?
Sent from my Nexus 7 using Tapatalk

Yes, I am doing it always in that way, because I have a rooted system and normally there are often problems with applying the OTA. Flashing boot and system will keep your data and apps which are located on the data partition. If you want to be really sure to have a clean system, I would also flash a custom recovery, boot directly into recovery and wipe dalvik-cache, but this is not really needed.
Sent from my Nexus 7 using xda app-developers app

This is interesting and really new to me.
Could you please precise, which tools you use? A little how-to would be very helpfull to get along with the bunch of possibilities coming with TWRP and/or wugfresh´s toolkit.

I am using no tools / toolkits as I want to have full control on the flashing process. Probably you might want to have a look at my blog. Here I described the update process already some time ago (not to go to 4.4, but the steps and the mechanism are the same).
Sent from my Nexus 7 using xda app-developers app

Ok tks for your response.
However my friend confirmed that he updated successfully to 4.4 via OTA while rooted.
Sent from my Nexus 7 using Tapatalk

I have used this method every update. Only takes about 5 minutes.
It amazes me all the convoluted methods and bricked devices that you see, when if people would do a little research and had a little understanding of what they are doing it would save them a lot of grief.
All I can say is thanks to the person who wrote this simple how-to.
Now I will get off my soap box.

Related

Will i get OTA after rooting

I just want to root my N4 and flash stock ROM...i want to root because many gr8 apps requires root permission and i could do a little tempering to my N4
My main query is will i get OTA updates (i am not asking about a .zip file flashed for OTA)
Delete
Sent from my Samsung Galaxy S3 using tapatalk 2
Yes.
Download supersu binaries and put on internal storage
unlock - fastboot oem unlock
Download and boot a custom recovery - fastboot boot recovery.img
Flash the supersu binaries and reboot
Note unlocking the bootloader will wipe your data.
By using fastboot boot recovery.img you will leave the stock recovery on your phone so it will not interfere with any ota updates
Sent from my Nexus 4 using xda app-developers app
scream4cheese said:
As long as you're on stock recovery.
Next time search the forum for the answer.
Sent from my Samsung Galaxy S3 using tapatalk 2
Click to expand...
Click to collapse
You can have a custom recovery and still install the ota update
Sent from my Nexus 4

How do I manually re-root 4.3 and update SU binaries?

I was rooted on 4.2.2 and checked for the system update for 4.3. It was there so I got really excited and installed it immediately, without writing a thread about it, making sure I'm not doing something wrong. Well, I was.
It updated to 4.3 and it works fine, but I can't access TWRP (I get an opened Android with a red X over it). Also, when I go into SU, I get a message saying "There is no SU binary installed. ... If you've just upgraded to 4.3, you need to manually re root your device."
How do I do this? Thanks.
Sent from my Nexus 4 using Tapatalk 4
I followed instructions as given in the following video: www (dot) youtube (dot) com/watch?v=jn5ih0omlxI
Worked for me. Simple instructions to follow.
rabrot said:
I was rooted on 4.2.2 and checked for the system update for 4.3. It was there so I got really excited and installed it immediately, without writing a thread about it, making sure I'm not doing something wrong. Well, I was.
It updated to 4.3 and it works fine, but I can't access TWRP (I get an opened Android with a red X over it). Also, when I go into SU, I get a message saying "There is no SU binary installed. ... If you've just upgraded to 4.3, you need to manually re root your device."
How do I do this? Thanks.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
Toolkits cannot flash the recovery on Android 4.3 so you have to download the recovery image and flash the recovery image using "fastboot flash recovery [Replace_this_with_image_name]" and enter while your Nexus 4 is on bootloader mode to flash the recovery properly.
Now you need to transfer the SuperSU v1.51 zip file to the root of your internal storage and install it via TWRP recovery and then you are fully rooted without any TB restore issues or anything like that.
Sent from my Nexus 4 using xda app-developers app
andyabc said:
Toolkits cannot flash the recovery on Android 4.3 so you have to download the recovery image and flash the recovery image using "fastboot flash recovery [Replace_this_with_image_name]" and enter while your Nexus 4 is on bootloader mode to flash the recovery properly.
Now you need to transfer the SuperSU v1.51 zip file to the root of your internal storage and install it via TWRP recovery and then you are fully rooted without any TB restore issues or anything like that.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Thank you so much, but I don't quite understand the first part since I've only rooted my Nexus 4 once, using a toolkit. I hope you don't mind, I have a few questions: Where do I download the recovery image and where do I type the text you wrote?
Thanks so much!
Sent from my Nexus 4 using Tapatalk 4
rabrot said:
Thank you so much, but I don't quite understand the first part since I've only rooted my Nexus 4 once, using a toolkit. I hope you don't mind, I have a few questions: Where do I download the recovery image and where do I type the text you wrote?
Thanks so much!
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
I rooted and unlocked my device with a Toolkit but the problem is that you do not know what is exactly going on since you cannot see the commands.
You have to get the Android SDK for this one, I already have it all in a zip file but that is on my laptop and I will be working on my phone today by installing PA.
One you get the SDK you have to go into the SDK manager and download/update the ADB tools, after that open the CMD in the folder which says "Platform-tools" and type the command from there.
Has for the image you have to put it in platform-tools has well for this to work:
http://techerrata.com/file/twrp2/mako/openrecovery-twrp-2.6.0.0-mako.img
Sent from my Nexus 4 using Tapatalk 4

Aokp to 4.4

Hello all. I am in need of some assistance. I had bought the wifi nexus 7 (2012) rooted for my son... it had aokp rom booted on it.. my other son has a stock nexus 7 and received the update.. can someone please help me and guide me know how to update his nexus to 4.4 stock rom.. I'm not a stranger to rooting and such. He currently has the newest version of twrp recovery and bootloader 4.13.
Thank you in advance.
Sent from my SM-N900V using xda app-developers app
jjdicecco said:
Hello all. I am in need of some assistance. I had bought the wifi nexus 7 (2012) rooted for my son... it had aokp rom booted on it.. my other son has a stock nexus 7 and received the update.. can someone please help me and guide me know how to update his nexus to 4.4 stock rom.. I'm not a stranger to rooting and such. He currently has the newest version of twrp recovery and bootloader 4.13.
Thank you in advance.
Sent from my SM-N900V using xda app-developers app
Click to expand...
Click to collapse
Hi, jjdicecco...
If you have a Nexus 7 with a Custom ROM (such as AOKP) installed on it, you won't be able to update it to stock Android 4.4 KitKat via the normal process of OTA updates.
Googles OTA updates do not work with Custom ROMs - only with Unmodified Stock
The reason why, is because OTA's aren't full ROMs - they consist of a collection of 'patches' that are applied (during the update process) to the system files in the preexisting version of official stock Android. But before those 'patches' can be applied, the OTA runs a checksum on all system files to ensure they haven't been modified... and a Custom ROM such as AOKP, represents a very significant modification of stock Android... so, in short, the OTA will abort with no changes made.
The only way to bring your AOKP Nexus 7 up to date with KitKat, is to forget about OTA's and flash the full factory image for Android 4.4 KitKat, available here. Essentially, you need to re-install the entire Android OS from scratch.
It's important you download the correct factory image for your specific Nexus 7... so if your Nexus 7 is WiFi only, you'll need the 'nakasi' image... if it's the WiFi & 3G model, then the 'nakasig' image is required.
Although there are toolkits that will get the job done (so to speak), I've never used them myself... and IMHO, you'd be better of using the fastboot tool that Google themselves provide.
There is an excellent tutorial available here on how to use fastboot to flash a factory image on the Nexus 7.
It looks a little daunting, but if, as you say, you're no stranger to rooting or flashing recoveries such as TWRP, then you shouldn't have much problem following it - it's actually quite straightforward.
Hope this helps... and good luck.
Rgrds,
Ged.
Thank you very much.. can I just flash a whole rom from development
Sent from my SM-N900V using xda app-developers app
jjdicecco said:
Thank you very much.. can I just flash a whole rom from development
Sent from my SM-N900V using xda app-developers app
Click to expand...
Click to collapse
Yes, you can.
If you have TWRP installed, just download the ROM .zip of your choice directly to the Nexus 7... boot into TWRP, go to WIPE>ADVANCED WIPE and clear Dalvik Cache, System, Cache and Data... BUT UNDER NO CIRCUMSTANCES, WIPE INTERNAL STORAGE... or you'll lose the Custom ROM you just downloaded. You'll have no bootable OS, and no easy means of installing one... without resort to either ADB or fastboot.
After this, use the INSTALL button in TWRP to flash that ROM. (You'll need to navigate to where it downloaded to - usually the /download folder on the Nexus 7's internal storage).
It's a good idea, though, before doing any of this, to perform a NANDROID backup of your current AOKP system using the BACKUP button in TWRP... just in case anything goes wrong with your ROM flash, or if the ROM you flashed isn't what you expected it be.
You'll then have an easy way of getting back to your current setup.
Rgrds,
Ged.

Going from 4.2.2 to 4.4.2

Hi there, I'm currently rooted with 4.2.2 and I want to upgrade to the latest which I believe is 4.4.2, after a brief check I don't see the toolkits supporting this so can someone give me a clue on what to do? Is it upgrade to 4.3 then 4.4 and finally 4.4.2 or can I just jump from my current to 4.4.2?
Sent from my Nexus 10 using xda app-developers app
TomAshcroft said:
Hi there, I'm currently rooted with 4.2.2 and I want to upgrade to the latest which I believe is 4.4.2, after a brief check I don't see the toolkits supporting this so can someone give me a clue on what to do? Is it upgrade to 4.3 then 4.4 and finally 4.4.2 or can I just jump from my current to 4.4.2?
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
If your on stock ROM and kernel and recovery just check for updates under about tablet system updates. If your running a custom ROM or kernel then you'll want to get to stock first. Also you can just download the factory image and adb flash it. Just search how to install 4.4,2 factory image with adb on nexus 10. There's plenty of guides.
Sent from my white LG Nexus 5
abdel12345 said:
If your on stock ROM and kernel and recovery just check for updates under about tablet system updates. If your running a custom ROM or kernel then you'll want to get to stock first. Also you can just download the factory image and adb flash it. Just search how to install 4.4,2 factory image with adb on nexus 10. There's plenty of guides.
Sent from my white LG Nexus 5
Click to expand...
Click to collapse
Adb? I think you mean fastboot ?
Sent from my Galaxy Nexus using XDA Premium HD app
mrgnex said:
Adb? I think you mean fastboot ?
Sent from my Galaxy Nexus using XDA Premium HD app
Click to expand...
Click to collapse
Yes fastboot my bad. I meant use adb commands to flash like fastboot flash ...
My brain was dead from stuyding lol
Sent from my white LG Nexus 5
I want to remain rooted though, also I'm trying to use the system update but it says restarting in 10, counts down then doesn't restart.
Since I want to remain rooted but just upgrade to 4.4.2 what can I do? I can't find an appropriate video.
Sent from my Nexus 10 using xda app-developers app
Well attaining root again only takes about 1 minute....
Sent from my Nexus 10 using XDA Premium 4 mobile app
TomAshcroft said:
I want to remain rooted though, also I'm trying to use the system update but it says restarting in 10, counts down then doesn't restart.
Since I want to remain rooted but just upgrade to 4.4.2 what can I do? I can't find an appropriate video.
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
Just update and root again. It takes a minute using one of the toolkits. Or you can just flash the super su zip which is even quicker if you have a custom recovery. Either way it's easy and quick
Sent from my white LG Nexus 5
I can't use system updates, it won't restart after counting down from 10 it just hangs there. I also don't think the toolkits have 4.4.2, I'm pretty sure I downloaded the right files, I just don't know the commands to use in CMD.
Sent from my Nexus 10 using xda app-developers app
TomAshcroft said:
I can't use system updates, it won't restart after counting down from 10 it just hangs there. I also don't think the toolkits have 4.4.2, I'm pretty sure I downloaded the right files, I just don't know the commands to use in CMD.
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
Wugs toolkit has it.
Extract it and put it in the correct folder with Fastboot capabilities and use the commands
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img (this'll give you stock recovery)
fastboot flash userdata userdata.img (only do this one if you want to completely reset and delete everything on your internal SD card. Don't do this step of you want to keep your files like pictures and music on SD card)
Sent from my white LG Nexus 5
Okay, going to try Wugs. Ah, I'm mistaken then, I just have the factory image and update superSU zip files.
See this is what I don't get, it asks me my build, which is 4.2.2. And then asks to download the image, but I want 4.4.2 so do o just change it to that?
Sent from my Nexus 10 using xda app-developers app
TomAshcroft said:
Okay, going to try Wugs. Ah, I'm mistaken then, I just have the factory image and update superSU zip files.
See this is what I don't get, it asks me my build, which is 4.2.2. And then asks to download the image, but I want 4.4.2 so do o just change it to that?
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
Yeah. Choose 4.4.2. Asking your build is just so when you flash kernnel and recoveries it flashes a compatible one. But since your just flashing stock images. Just do that. But again remember it'll wipe everything so backup your SD card to a computer first
Sent from my white LG Nexus 5
Okay trying this now, which option would I choose as my boot loader is already unlocked and I'm already rooted
Sent from my Nexus 10 using xda app-developers app
I managed to get to the point where it boots TWRP and then just had "waiting for device"
Edit: got to this same point 3 times now, tried rebooting but I'm still on 4.2.2, could you tell me what files I need to go ahead and flash it using cmd?
Sent from my Nexus 10 using xda app-developers app
If you use Wigs toolkit you can flash the new update if you do a complete restore with in root. Then you can re root. Just go to flash stock + unroot then click the images drop down down box. Pick the mantaray-manta : android 4.4.4- build KOT49H then click the button that shows automatically download. After install re root and restore. Backup everything first it makes a quicker restore.
Sent from my Nexus 10 using xda app-developers app
TomAshcroft said:
I managed to get to the point where it boots TWRP and then just had "waiting for device"
Edit: got to this same point 3 times now, tried rebooting but I'm still on 4.2.2, could you tell me what files I need to go ahead and flash it using cmd?
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
Gimme a sec ill type this up for ya, I just want to make sure its good and detailed.
Sent from my Nexus 10 using XDA Premium 4 mobile app
---------- Post added at 06:33 AM ---------- Previous post was at 05:43 AM ----------
First, go download the image:
https://developers.google.com/android/nexus/images
While that is downloading, make a new folder on the desktop and name it FLASH, also for extracting the file once it is downloaded I reccomend total commander:
http://www.ghisler.com/download.htm
Also head over to here to download adb and fastboot without the android sdk:
https://docs.google.com/file/d/0B1MWexkzYR_bV2VlaF9UcHVBU00/edit?usp=docslist_api
Once the zip file with adb and fastboot is downloaded extract the files into the FLASH folder. Now that we've done all this the image should be downloaded, extract the contents to the FLASH folder. Now open up command prompt. In command prompt type the following(excluding the quotation marks):
"cd C:\Users\*username*\Desktop\FLASH"
*username* Is the name of the user. Now turn off your device then boot your device into fastboot mode(hold the power+volume up+volume down buttons) once your device is in fastboot mode connect it to your computer. In command prompt type(again excluding quotations):
"fastboot devices"
After that you should see your nexus device in fastboot mode, if you have no important data and don't care about losing everything(me) you can just type this in command prompt(no quotations):
"flash-all"
But if that does not work or you do have important things, type:
"fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img”
Sent from my Nexus 10 using XDA Premium 4 mobile app
Hi guys thanks for all the help, I decided to go with Wugs toolkit, unrooted, then re rooted with 4.4.2. All worked fine just need to restore my data now
Sent from my Nexus 10 using xda app-developers app

ADB not working

Recently, I have been trying to install 5.0.1 update, as my phone is rooted, but every time I see "adb is out of date... killing...". I have been trying many times to update using nexus root toolkit and manual way but it doesn't work. Everything else work like putting and taking files from my phone. My phone is on LRX21T, rooted and with custom recovery (TWRP). If there is no way to fix the problem, can someone give me LRX22C flashable zip to flash the update using TWRP?
Ali_Mahmoud said:
Recently, I have been trying to install 5.0.1 update, as my phone is rooted, but every time I see "adb is out of date... killing...". I have been trying many times to update using nexus root toolkit and manual way but it doesn't work. Everything else work like putting and taking files from my phone. My phone is on LRX21T, rooted and with custom recovery (TWRP). If there is no way to fix the problem, can someone give me LRX22C flashable zip to flash the update using TWRP?
Click to expand...
Click to collapse
Google 15 second adb xda. That'll set up the latest version of adb and fastboot on your device. There is no flashable 22C twrp flashable zip
Sent from my Nexus 9 using XDA Free mobile app
I used it but still I get that sentence
Ali_Mahmoud said:
I used it but still I get that sentence
Click to expand...
Click to collapse
What are you trying to do?
Sent from my Nexus 9 using XDA Free mobile app
I said I want to update my phone to 5.0.1 but adb is not working so I can't update my phone using Nexus Root Toolkit and I can't update it manually
Sent from my Nexus 4 using XDA Free mobile app
Ali_Mahmoud said:
I said I want to update my phone to 5.0.1 but adb is not working so I can't update my phone using Nexus Root Toolkit and I can't update it manually
Sent from my Nexus 4 using XDA Free mobile app
Click to expand...
Click to collapse
Are you on 5.0?
Sent from my Nexus 9 using XDA Free mobile app
Yeah
Sent from my Nexus 4 using XDA Free mobile app
You'll get rid of the message if you kill "adb.exe" using Task Manager. But to flash the factory images manually you don't really need ADB. Just power it off, boot into fastboot (hold Vol- while starting it) and follow steps C and D from this guide
Ali_Mahmoud said:
Yeah
Sent from my Nexus 4 using XDA Free mobile app
Click to expand...
Click to collapse
Download the factory image from here https://developers.google.com/android/nexus/images. Extract it using 7-zip or winrar. You'll find the radio.img file and a zip file. Extract the zip file too. In there is system and boot images.
Open a command window in the first folder, the one where the radio image files is. Then
fastboot flash radio radio.img. (note user the full name of the radio image file
Then open a command window in the folder the boot and system images are in. Then
fastboot flash boot boot.img
fastboot flash system system.img
You'll be updated to 5.0.1
Sent from my Nexus 9 using XDA Free mobile app
Thank you guys. My phone is now updated to 5.0.1, thanks to you.
Sent from my Nexus 4 using XDA Free mobile app

Categories

Resources