I am rooted and unlocked on my Nexus 7..I flashed a battery percentage mod few days back in which I renamed SystemUI.odex file.. now while installing the new update via CWM it is giving me some kind of SystemUi error..I renamed the file back but the same thing is happening.. can anyone tell me how can I flash this update without factory reset.I m new to all this. Thanks!
Sent from my Nexus 7 using xda app-developers app
Did you happen to backup the SystemUI before Modding it? The new update checks for a few things that may have been modified and won't install if its not all stock.
Sent from my Nexus 7 using XDA Premium App
You could probably just wipe your system partition and flash the update, which will keep your data intact.
Related
Hello, I've been trying to install the 4.1.2 Update error to my rooted 4.1.1 nexus 7, with custom kernel, stock rom but I keep getting the error status 7. I tried to install it with twrp, cwr but it says the same thing.... Even doing the adb sideload with no luck... It doesn't install
I don't want to lose my data by flashing the 4.1.2 rom image from Google... My build number is JRO03D.....any help?
Sent from my Nexus 7 using XDA Premium HD app
u cant flash the update with a custom kernel applied..
flash the stock 4.1.1 kernel and retry..
Any idea where to get 4.1.1 stock kernel? Thx
Sent from my Nexus 7 using Tapatalk 2
Download factory images and pull the boot.img
tpboi said:
Any idea where to get 4.1.1 stock kernel? Thx
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
just download the google nexus toolkit and you will find the option for downloading stock kernel
Sent from my Nexus 7 using xda premium
Help
I have the toolkit but the only option to download i see is option 9 but that says it flashes the whole rom
is there a way to do it without losing my data?
henkidama said:
just download the google nexus toolkit and you will find the option for downloading stock kernel
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
aecabanaboy said:
I have the toolkit but the only option to download i see is option 9 but that says it flashes the whole rom
is there a way to do it without losing my data?
Click to expand...
Click to collapse
I've tried with stock kernel, but without success...
It gives me an error on the signature; when I try to install without signing verification, it gives me this error:
Failed: apply patch_check ("system/app/chrome.apk" - and two groups of 41 aphanumeric characters-).
Could be due to the fact I've installed all system software updates in the past (gapps and others) into rom using Titanium Backup?
--- update---
After a full backup using CWM, I've flashed stock "system" using Nexus Root Toolkit. Reboot in recovery and applied the JZ054K patch.
New error now... apply patch_check (EMMC: /dev/block/platform/sdhci-tegra.3/by-name/LNX: and a lot of digits...
I give up!
alexr71 said:
I've tried with stock kernel, but without success...
It gives me an error on the signature; when I try to install without signing verification, it gives me this error:
Failed: apply patch_check ("system/app/chrome.apk" - and two groups of 41 aphanumeric characters-).
Could be due to the fact I've installed all system software updates in the past (gapps and others) into rom using Titanium Backup?
--- update---
After a full backup using CWM, I've flashed stock "system" using Nexus Root Toolkit. Reboot in recovery and applied the JZ054K patch.
New error now... apply patch_check (EMMC: /dev/block/platform/sdhci-tegra.3/by-name/LNX: and a lot of digits...
I give up!
Click to expand...
Click to collapse
Same here!
trunksinflames said:
Same here!
Click to expand...
Click to collapse
I tried ti flash the boot.img but it fails.........now what?
abel09011 said:
I tried ti flash the boot.img but it fails.........now what?
Click to expand...
Click to collapse
Click on my thread below
http://forum.xda-developers.com/showthread.php?p=32686619
Go all the way at the bottom of my post. There are two flashable zips. One is for the original the other is for the new kernel.
Just an FYI , you can't flash a boot.IMG like a zip file using cwm or any custom recovery. I use adb for this. You can search for the info on here. There are many posts on it. Hope I helped.
Sent from my Nexus 7 using xda app-developers app
Got odex error
I had my nexus unlocked and rooted using http://forum.xda-developers.com/showthread.php?t=1741395 so I should have original kernel.
I got an error when trying to update related to BrowserProviderProxy.apk that I had renamed to have android browser working.
Now I can't seem to get it to update again from system updates.
Can I retry using the previously downloaded file? Where does the downloaded file gets stored? I got CWM and can download the image again to install, but I was wondering where does it get stored. Thanks!
---------- Post added at 09:21 PM ---------- Previous post was at 08:59 PM ----------
dfhess said:
I had my nexus unlocked and rooted using http://forum.xda-developers.com/showthread.php?t=1741395 so I should have original kernel.
I got an error when trying to update related to BrowserProviderProxy.apk that I had renamed to have android browser working.
Now I can't seem to get it to update again from system updates.
Can I retry using the previously downloaded file? Where does the downloaded file gets stored? I got CWM and can download the image again to install, but I was wondering where does it get stored. Thanks!
Click to expand...
Click to collapse
Nevermind found it in cache folder. I reapplied after renaming the browserprovider and I got 4.1.2 working fine!
Tried to update to 4.2 today used ota with rootkeeper and tried to flash zip with twrp keep getting error md5 won't check right with flash and ota update gets error and boot me to twrp recovery any help would be appreciated
Sent from my Nexus 7 using XDA Premium HD app
ricobudz123 said:
Tried to update to 4.2 today used ota with rootkeeper and tried to flash zip with twrp keep getting error md5 won't check right with flash and ota update gets error and boot me to twrp recovery any help would be appreciated
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
Re-download the image your trying to flash.
As an MD5 is a checksum, meaning if the MD5 isn't valid something has gone wrong with the download, hense the Check Sum is incorrect.
ricobudz123 said:
Tried to update to 4.2 today used ota with rootkeeper and tried to flash zip with twrp keep getting error md5 won't check right with flash and ota update gets error and boot me to twrp recovery any help would be appreciated
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
Had the same problem myself.
The 4.2 update won't install if you changed anything in /system
An example of how you might have done that is used titanium backup to uninstall a system app or use the integrate updates of system apps into ROM option.
The solution is to restore what has changed. For example, if you removed a system app that came with your nexus such as that Korean keyboard app (which a lot of people seem to have done) you need to somehow get a hold of that apk and put it back into /system/apps or the update will not install.
Sent from my Nexus 7 using Tapatalk 2
Can confirm that any changes to the system in any way will stop the device updating via ota.
I moved apps and froze some installed some custom changes to system ui etc the normal stuff you do when rooted. The update downloaded fine but would not install.
Thankfully I had a cwm stock backup,hid root using voodoo ota rootkeeper then was able to update to 4.2 then restore all apps and data using titanium backup.
Sent from my Nexus 7 using xda premium
Thanks for the help I just used wugfresh and the tgz file for 4.2 wiped everything but no worries there. Got 4.2 running all I have to do is root
Sent from my Nexus 7 using XDA Premium HD app
Alright, so I'm running 4.2.1, and I'm rooted. I want to update to 4.2.2, but will this brick my nexus 7? Will it just unroot? How should i go about this?
No it won't brick it but you may lose root. There are many guides to manually flashing the OTA on unlocked and rooted Nexus 7.
Sent from my Desire HD using xda premium
You might not be able to update even though you are on stock ROM because in order to root n7 we need to unlock the bootloader and hence you cant
Sent from my Nexus 7 using xda app-developers app
This is the extracted factory image for 4.2.2 - in both odexed and deodexed verisons, rooted with insecure boot, init.d support & busybox - easily flashed from CWM or TWRP - data & apps are preserved.
http://forum.xda-developers.com/showthread.php?t=2148337
As always, backup first off to PC or cloud storage as a matter of precaution first. From download to prep to finish, less than 20 minutes - which is the path that I took, directly from 4.1.2 rooted to 4.2.2 and rooted.
Have fun !
I've just got my N4 and am thinking about rooting it to allow me to install cerebus on the system partition, when a new version of android comes out would I simply be able to delete the cerebus apk and update the software? Also once the boot loader is unlocked can I re-root (in case i loose root with the update) without loosing any data?
Cheers
Sent from my Nexus 4 using xda app-developers app
Unlock the boot loader before you do anything because it will wipe all of your data. Then root it. As long as you don't install a custom recovery, I believe that you can still get the ota updates.
Edit..Rooting does not wipe data.
Sent from my Nexus 4 using xda premium
Sweet, thanks very much.
Sent from my Nexus 4 using xda app-developers app
lyall29 said:
Unlock the boot loader before you do anything because it will wipe all of your data. Then root it. As long as you don't install a custom recovery, I believe that you can still get the ota updates.
Edit..Rooting does not wipe data.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
if i remember correctly, using a custom recovery stops OTA updates
but you can always fastboot flash a new google stock image when an update is available : https://developers.google.com/android/nexus/images
(you have to root again afterwards)
Today I received the ota for 4.4 on my Nexus 4 and when I pressed "restart and install" it went to my custom recovery (which was flickering BTW Idk why never seen it do that before) and when I restarted it I wasn't running 4.4. I found the download location for the OTA would it be OK for me to boot into twrp and simply flash it like I would any other custom rom? Just wanted to ask before I did it.
Sent from my Nexus 4 using xda app-developers app
tsmith9191 said:
Today I received the ota for 4.4 on my Nexus 4 and when I pressed "restart and install" it went to my custom recovery (which was flickering BTW Idk why never seen it do that before) and when I restarted it I wasn't running 4.4. I found the download location for the OTA would it be OK for me to boot into twrp and simply flash it like I would any other custom rom? Just wanted to ask before I did it.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Hi, What format is it in? Unless it's in a zip format (which I doubt) then flagging it through recovery won't work I think .. I'll have a poke about and see what I can find ..
K
Sent from my Nexus 4 using Tapatalk 2
Hi can you tell me where you found the ota folder I am looking for it but can't locate it.I had the same problem as you.I think we need to be on stock recovery for it to install.
Sent from my Nexus 4 using xda app-developers app
Usually a root browser go to root and it is under the cache folder.
Sent from my Nexus 4 using xda app-developers app
krrunch said:
Hi, What format is it in? Unless it's in a zip format (which I doubt) then flagging it through recovery won't work I think .. I'll have a poke about and see what I can find ..
K
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
OK and yes it is in a zip format
Sent from my Nexus 4 using xda app-developers app
tsmith9191 said:
Today I received the ota for 4.4 on my Nexus 4 and when I pressed "restart and install" it went to my custom recovery (which was flickering BTW Idk why never seen it do that before) and when I restarted it I wasn't running 4.4. I found the download location for the OTA would it be OK for me to boot into twrp and simply flash it like I would any other custom rom? Just wanted to ask before I did it.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Depending on how the ota image is packaged you may want to take a look at this thread here
http://forum.xda-developers.com/showthread.php?t=2010312
[HOW-TO] How to flash a factory image / return to stock / unlock / root #
Hth
K
--------
:: Nexus 4 :: SlimKat :: Faux mainline ::
---------- Post added at 10:13 PM ---------- Previous post was at 10:08 PM ----------
tsmith9191 said:
OK and yes it is in a zip format
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Then I see no reason why you can't give it a go Make sure you have a backup of everything though before you go ahead .. I'm assuming you already have an unlocked bootloader ..
--------------------------------------------------------------
:: Nexus 4 :: SlimKat :: Faux mainline ::
Yes I do have an unlocked bootloader
Sent from my Nexus 4 using xda app-developers app
guys you can't flash the OTA while running custom recovery or roms. If you want to be on kitkat why not just download one of the many stock rooted roms out there? Make your life simple and for future reference like I said custom recovery will not flash OTA unless its been manipulated by someone
I tested flashing OTA using latest TWRP successfully on a 100% unmodified stock rom with no root. CWM on the other hand is not compatible for flashing OTA.
I do not recommend doing this, modifications to your /systems partition or root can cause it to fail and softbrick. I have heard people hardbricking their device too due to the bootloader getting corrupted in the process.
Make a backup before you flash.
I have installed franco kernel but I backed up the stock kernel and restored it. I have also used xposed but I uninstalled that as well as disabled and uninstalled the only module I was running which was gravity box.
Sent from my Nexus 4 using xda app-developers app
eksasol said:
I tested flashing OTA using latest TWRP successfully on a 100% unmodified stock rom with no root. CWM on the other hand is not compatible for flashing OTA.
I do not recommend doing this, modifications to your /systems partition or root can cause it to fail and softbrick. I have heard people hardbricking their device too due to the bootloader getting corrupted in the process.
Make a backup before you flash.
Click to expand...
Click to collapse
What do you recommend I do to receive the 4.4 update without losing data?
Sent from my Nexus 4 using xda app-developers app
tsmith9191 said:
What do you recommend I do to receive the 4.4 update without losing data?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Backup your data partition first, then follow either of the two guide links in my signature to flash 4.4 factory image without wiping data.
I had the same problem yesterday where the OTA made absolutely no changes (This method worked fine when I went from 4.2 to 4.3 under the same conditions; TWRP, unlocked bootloader, and stock ROM). It may be related to a new conflict with TWRP. I also had a hybrid radio installed, but I put the stock radio back in before I tried the OTA; however there were a couple changes associated with this such as build prop changes and LTE activation that I did not revert. Who knows. After searching this forum I came across a fix in the "Nexus 4 OTA Help-Desk" thread...fancy that. If you have the Android SDK installed, this is a really quick and easy fix.
1) Under "Factory Images "occam" for Nexus 4" I downloaded "4.4 (KRT16S)".
https://developers.google.com/android/nexus/images#occamkrt16s
2) I then followed these directions (WARNING: Note the instructions to remove the "-w" from the flash-all.bat file before you run it. This will retain all your existing data, apps, settings, etc.).
http://forum.xda-developers.com/showthread.php?t=2527142
3) I then installed the latest versions of TWRP (for recovery) and superuser (for root).
Now I have a fully functioning 4.4 install with no loss of data. I am holding off on the new hybrid radio until things stabilize a bit with that.
pjc123 said:
I had the same problem yesterday where the OTA made absolutely no changes (This method worked fine when I went from 4.2 to 4.3 under the same conditions; TWRP, unlocked bootloader, and stock ROM). It may be related to a new conflict with TWRP. I also had a hybrid radio installed, but I put the stock radio back in before I tried the OTA; however there were a couple changes associated with this such as build prop changes and LTE activation that I did not revert. Who knows. After searching this forum I came across a fix in the "Nexus 4 OTA Help-Desk" thread...fancy that. If you have the Android SDK installed, this is a really quick and easy fix.
1) Under "Factory Images "occam" for Nexus 4" I downloaded "4.4 (KRT16S)".
https://developers.google.com/android/nexus/images#occamkrt16s
2) I then followed these directions (WARNING: Note the instructions to remove the "-w" from the flash-all.bat file before you run it. This will retain all your existing data, apps, settings, etc.).
http://forum.xda-developers.com/showthread.php?t=2527142
3) I then installed the latest versions of TWRP (for recovery) and superuser (for root).
Now I have a fully functioning 4.4 install with no loss of data. I am holding off on the new hybrid radio until things stabilize a bit with that.
Click to expand...
Click to collapse
Hybrid radios are fine I have been running 4.4 and .27/84 with no issues for weeks... No need to flash the 97 if you have a hybrid radio that was already working fine. sometimes just cuz its new dont make it better...
playya said:
Hybrid radios are fine I have been running 4.4 and .27/84 with no issues for weeks... No need to flash the 97 if you have a hybrid radio that was already working fine. sometimes just cuz its new dont make it better...
Click to expand...
Click to collapse
Good to know. By the way, the 27/84 hybrid radio is the only one that would work for me (quick GPS lock). I don't have LTE in my immediate area anyway (Straight Talk AT&T), so I am in no rush, and will see how the .27/97 works out for users.
pjc123 said:
I had the same problem yesterday where the OTA made absolutely no changes (This method worked fine when I went from 4.2 to 4.3 under the same conditions; TWRP, unlocked bootloader, and stock ROM). It may be related to a new conflict with TWRP. I also had a hybrid radio installed, but I put the stock radio back in before I tried the OTA; however there were a couple changes associated with this such as build prop changes and LTE activation that I did not revert. Who knows. After searching this forum I came across a fix in the "Nexus 4 OTA Help-Desk" thread...fancy that. If you have the Android SDK installed, this is a really quick and easy fix.
1) Under "Factory Images "occam" for Nexus 4" I downloaded "4.4 (KRT16S)".
https://developers.google.com/android/nexus/images#occamkrt16s
2) I then followed these directions (WARNING: Note the instructions to remove the "-w" from the flash-all.bat file before you run it. This will retain all your existing data, apps, settings, etc.).
http://forum.xda-developers.com/showthread.php?t=2527142
3) I then installed the latest versions of TWRP (for recovery) and superuser (for root).
Now I have a fully functioning 4.4 install with no loss of data. I am holding off on the new hybrid radio until things stabilize a bit with that.
Click to expand...
Click to collapse
So the directions you have listed are the ones you found at the help desk?
tsmith9191 said:
So the directions you have listed are the ones you found at the help desk?
Click to expand...
Click to collapse
Yes, and since then in other forums, and since then in eksasol's post above.
I was in the same boat as you. Flashed stock 4.4 (entire image, not just the ota) and never lost data. I did have to reroot though.
Sent from my Nexus 4, while driving in my Evo9.