How can I revert from CM 10 to Stock firmware - Nexus 4 Q&A, Help & Troubleshooting

With latest release of CM 10.1 I;m having lost of issues suck as I can not lock my device GPS is not working properly or just shot off and last and the work Bluetooth is not working or it starts to work then dies.
I want to go back to Official Android 4.2.2 How can I do this?

efkawe said:
With latest release of CM 10.1 I;m having lost of issues suck as I can not lock my device GPS is not working properly or just shot off and last and the work Bluetooth is not working or it starts to work then dies.
I want to go back to Official Android 4.2.2 How can I do this?
Click to expand...
Click to collapse
The easiest way IMO is to use a toolkit, from there you can download and flash it.
Alternatively, you can manually download it from here: https://developers.google.com/android/nexus/images#occamjdq39 and flash via fastboot.
Sent from my Nexus 4 using xda premium

fastboot the factory image files...

ELB27 said:
The easiest way IMO is to use a toolkit, from there you can download and flash it.
Alternatively, you can manually download it from here: https://developers.google.com/android/nexus/images#occamjdq39 and flash via fastboot.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
A toolkit is really unnecessary. Just install fastboot and run the batch file from the official factory image zip. It will reflash the stock firmware without any user interaction.

Is not working I tried everything

efkawe said:
Is not working I tried everything
Click to expand...
Click to collapse
If you tried everything, it would be working..
Check the help thread and the index/FAQ

Here you go...
http://forum.xda-developers.com/showthread.php?t=2010312
Sent from my Nexus 4 using xda premium

Dude. Search.

Related

4.1.2 >>> 4.2 unable to update

Okey so yesterday I couldn't wait anymore and wanted to update my Nexus 7 to 4.2 but couldn't.
After restarting it did initiate the update but right after it gave me a red triangle with a (!)
And now I can't see any updates anymore. I yet I'm on 4.1.2 still
Dang it..
Sent from my Nexus 7
Download the 4.2 factory images from google and flash via fastboot.
Consider yourself lucky and stay with 4.1.2
I have the same problem as well. When I first tried to get the update, the Android had a red ! And failed the update. Now, it says no update available....
I'm not sure if I should wait until a more stable version is out, however.
Sent from my Nexus 7 using xda app-developers app
Meh rootbrain is right. Jag ive been reading upp on 4.2 and i better stay on 4.1.2
Sent from my Nexus 7
It's all subjective. Some like it, while others don't. Neither opinion is the end all, be all gospel truth.
Sent from my Nexus 7 using Tapatalk 2
rootbrain said:
Consider yourself lucky and stay with 4.1.2
Click to expand...
Click to collapse
Aren't there enough 4.2 bashing threads that you feel the need to take this one off-topic?
The OP asked for help not for your opinion.
Sent from Tapatalk XDA Premium
<><><><><><><><><><><><>
Nexus 7
Clean ROM 3.0 - Leankernel 0.8.x
Any help would be appreciated...I want to have the latest update, not be stuck...
Sent from my Nexus 7 using xda app-developers app
yanksrock1000 said:
Any help would be appreciated...I want to have the latest update, not be stuck...
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Have you modified, frozen, or deleted any of the stock system files? The update checks for approximately 200 files and if any aren't stock, will fail. Your best bet, as someone else said, is going to be to fastboot flashing the stock image. Be forewarned that you'd be essentially starting from scratch as it would wipe your tablet, but I'd personally find that preferable since you'd be circumventing some of the issues that are irking the most vocal of 4.2's critics.
Sent from my Nexus 7 using Tapatalk 2
I actually just purchased the tablet, and out of the box the first thing I tried to do was update, and it failed.
I'm not very knowlegable about flashing the factory image myself, but I've heard about updating using a "toolkit"? Is this easier?
Sent from my Nexus 7 using xda app-developers app
yanksrock1000 said:
I actually just purchased the tablet, and out of the box the first thing I tried to do was update, and it failed.
I'm not very knowlegable about flashing the factory image myself, but I've heard about updating using a "toolkit"? Is this easier?
Click to expand...
Click to collapse
Yup, easier. But using a command line and the android SDK/fastboot isn't all that hard... maybe your issue is just the universes way of saying you should go learn a new trick. :cyclops:
However I doubt the universe will waste any energy punishing you if you choose to go the easy route. Plus, you can always read the thorough directions for both routes and make an educated decision before you get your hands even the least bit dirty.
using Fastboot: http://forum.xda-developers.com/showthread.php?t=1907796
Wugs Windows toolkit: http://forum.xda-developers.com/showthread.php?t=1766475
najaboy said:
Have you modified, frozen, or deleted any of the stock system files? The update checks for approximately 200 files and if any aren't stock, will fail. Your best bet, as someone else said, is going to be to fastboot flashing the stock image.
Click to expand...
Click to collapse
i have the same issue, but i dont want to fastboot it, what should i do? i havent rooted or anything yet. i have a 32gb no 3g version...
PenguinDroid said:
i have the same issue, but i dont want to fastboot it, what should i do? i havent rooted or anything yet. i have a 32gb no 3g version...
Click to expand...
Click to collapse
Why not, it's a safe operation.
If you're completely stock, and update fails, either try again (and again, and again), or send it to repair (slowest). Or fastboot (fastest).
issak42 said:
Why not, it's a safe operation.
If you're completely stock, and update fails, either try again (and again, and again), or send it to repair (slowest). Or fastboot (fastest).
Click to expand...
Click to collapse
well, in that case, id rather root it and flash a custom rom, and thats probably what i am gonna end up doing... ill see, thanks for the answer

[Q] Stock Unrooted Flashable ROM

Does anyone know of a stock flashable ROM without Root and Busybox?
I'm aware of the thread guiding people on going back to factory but I don't want to do that. I want to be able to just flash a Rooted ROM if I want one and flash back to standard unrooted if I want using TWRP.
My reason behind this that I spend a lot of time on the train at the minute so decided to get Sky Go. Unfortunately it detects that the device is rooted and won't run.
There are a few threads around the net with scripts and suggestions but nothing seems to work for me.
I don't think there are any..... Hmmm.
Sent from my Nexus 4 using Tapatalk 2
You can flash the stock ROM with fastboot but not from within recovery. Get it here: https://developers.google.com/android/nexus/images
I could make one I suppose, wouldn't take long at all...
EddyOS said:
I could make one I suppose, wouldn't take long at all...
Click to expand...
Click to collapse
If you could do that it would be great.
I was just looking at the tutorial to bake it myself but having issues with Cygwin. Much quicker and easier if you did it.
Owe you one.
I use Linux so it won't take long. You literally want a flashable stock ROM, no changes whatsoever?
EddyOS said:
I use Linux so it won't take long. You literally want a flashable stock ROM, no changes whatsoever?
Click to expand...
Click to collapse
Exactly. I use a standard stock rooted ROM usually.
Just realised I don't actually use root for anything at the minute but likely will do in the future.
Thanks again.
I'll try and do it this afternoon but if not this evening once back at home
Uploading at the mo, it's literally the stock ROM dumped into the kitchen and cooked out with no change whatsoever
EddyOS said:
Uploading at the mo, it's literally the stock ROM dumped into the kitchen and cooked out with no change whatsoever
Click to expand...
Click to collapse
Excellent. Thanks buddy.
I think I'll play with it too and keep the zip stored just so I have it.
Thanks
Sent from my Nexus 4 using Tapatalk 2
Here you go. I've not tested but it should be fine (let me know if it's not)
https://www.yousendit.com/download/UVJnSU5IQVNiV3dPd3NUQw
Working perfectly so far mate! Sky Go is working and no wipe was required.
Owe you one mate. Top work. Thank you.
Good to hear! You're welcome
EddyOS said:
I could make one I suppose, wouldn't take long at all...
Click to expand...
Click to collapse
Very cool that you've done this, but I should give a word of caution: there are some problems that wiping via fastboot will fix, but installing a flashable stock .zip won't fix. For example, when a 16GB phone thinks it's only 8GB. (I have reason to believe that there are other problems that can only be fixed in this way, but I can't prove it. :silly
That's not something the OP cared about, he just needed to 'unroot' to use a TV app that checks for root access
He should give this app a try
http://forum.xda-developers.com/showthread.php?t=1241517.
Sent from my Nexus 4 using XDA Premium HD app
trapdogg said:
He should give this app a try
http://forum.xda-developers.com/showthread.php?t=1241517.
Sent from my Nexus 4 using XDA Premium HD app
Click to expand...
Click to collapse
It doesn't work - none of the 'root hiding' apps work with Sky Go
trapdogg said:
He should give this app a try
http://forum.xda-developers.com/showthread.php?t=1241517.
Sent from my Nexus 4 using XDA Premium HD app
Click to expand...
Click to collapse
I tried that.
I tried a script that was published on the net to remove root and busybox.
I tried removing root and busybox manually.
I tried flashing stock kernal
I tried several other apps.
A flashable stock rom was my last resort as I was under the impression that I'd need to wipe and I didn't want to do that. I just tried it without wiping on the off chance that it worked and it did, so problem solved.
None of my Apps were using Root so I thought I'd get rid of it completely but wanted the option to flash CM10.1 once Bluetooth MAP profile is fixed and working without having to go through putting TWRP on again.
It's all in the OP and posts following that.
EddyOS saw what I was after and offered to help. He's a great dude.
Just for learning purposes, how come no one has made a flashable stock zip until now? Wouldn't it just be like any custom rom but instead its just stock?

About twrp manager...

Hello everyone. I recently got a nexus 7 and i rooted it and unlocked the bootloader,but i didn't install a custom recovery yet. Can someone tell me how to install it without a PC? I downoaded TWRP manager from google play and i see that it has options to install stuff from it. But i would like to install CWM from it. Is it possible to do that. I have android 4.2.2 btw... thanks in advance.
Sent from my Nexus 7 using xda app-developers app
Twrp and cwm are completely separate recoveries. Just download an image of cwm from the original software sub section, then download flash image gui from the play store. Then, flash cwm. All done. That is the easiest way to do it without using fastboot.
Sent from my Nexus 7 using xda premium
Thank you very much for your help.
Sent from my Nexus 7 using xda app-developers app
rebel1699 said:
Twrp and cwm are completely separate recoveries. Just download an image of cwm from the original software sub section, then download flash image gui from the play store. Then, flash cwm. All done. That is the easiest way to do it without using fastboot.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Why? Rom manager works fine for installing cwm and goo manager works fine for installing TWRP.
Dont really see a need for a completely different app that will handle that process. Dont even have to manually download anything
Sent from my Galaxy Nexus
Pirateghost said:
Why? Rom manager works fine for installing cwm and goo manager works fine for installing TWRP.
Dont really see a need for a completely different app that will handle that process. Dont even have to manually download anything
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
omg the man himself! i think the world needs a binnacle rom for the n7 :highfive: :victory:
tylercarter said:
omg the man himself! i think the world needs a binnacle rom for the n7 :highfive: :victory:
Click to expand...
Click to collapse
I LOL'd
doubt that will happen
Pirateghost said:
I LOL'd
doubt that will happen
Click to expand...
Click to collapse
Its been too long since ive run pg anything on a device. :fingers-crossed:
Pirateghost said:
Why? Rom manager works fine for installing cwm and goo manager works fine for installing TWRP.
Dont really see a need for a completely different app that will handle that process. Dont even have to manually download anything
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
I usually go with flash image gui because no matter which recovery, or even which specialized version of a recovery (multirom modified twrp, landscape twrp.....) you have the tool right there handy to quickly flash it on the fly without need of fastboot and a pc. If they never intend to use anything other than the basic custom recovery, i guess the other options are fine. But honestly, flash image gui covers all bases, and makes future modification,should you choose, that much easier.
At its worst, if they do get a little more advanced and want to flash specialized in the future, maybe we avoid another "how to flash image?" post in the q&a section, because thay have already become familiar with the tool to use.
Sent from my Nexus 7 using xda premium

[Q] Updating via OTA works with TWRP?

I was wondering if it will be safe if you update via OTA with a custom Open script Recovery such has TWRP would be safe, I do not want to get any issues while updating to Android 4.3 when it is available like soft bricking.
andyabc said:
I was wondering if it will be safe if you update via OTA with a custom Open script Recovery such has TWRP would be safe, I do not want to get any issues while updating to Android 4.3 when it is available like soft bricking.
Click to expand...
Click to collapse
You have to be stock to get the google updates. No custom recovery at all.
zelendel said:
You have to be stock to get the google updates. No custom recovery at all.
Click to expand...
Click to collapse
Have you tested it?, I am not sure if it could be possible since TWRP is OpenScriptRecovery so the system should be able to just get the OTA update to flash like nothing is wrong or anything.
I can restore the stock recovery using the Nexus Toolkit.
Sent from my Nexus 4 using xda app-developers app
andyabc said:
Have you tested it?, I am not sure if it could be possible since TWRP is OpenScriptRecovery so the system should be able to just get the OTA update to flash like nothing is wrong or anything.
I can restore the stock recovery using the Nexus Toolkit.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
It is well known that it will not work on none official recoveries. It will also not work if you are rooted. There are threads around about this.
zelendel said:
It is well known that it will not work on none official recoveries. It will also not work if you are rooted. There are threads around about this.
Click to expand...
Click to collapse
What do you mean that it will not work if your rooted?, will it give you some error or something on the stock recovery?
Sent from my Nexus 4 using xda app-developers app
andyabc said:
What do you mean that it will not work if your rooted?, will it give you some error or something on the stock recovery?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Ok it seems it will flash but you will lose root.
http://forum.xda-developers.com/showthread.php?t=2145848
zelendel said:
Ok it seems it will flash but you will lose root.
http://forum.xda-developers.com/showthread.php?t=2145848
Click to expand...
Click to collapse
Will OTA Rootkeeper help?, I have that installed just in case there is an update has I am fully aware that the update will replace the system partition.
Sent from my Nexus 4 using xda app-developers app
andyabc said:
Will OTA Rootkeeper help?, I have that installed just in case there is an update has I am fully aware that the update will replace the system partition.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
To be honest I have no idea as I never do OTA updates. No real point.
zelendel said:
To be honest I have no idea as I never do OTA updates. No real point.
Click to expand...
Click to collapse
Ok, I found a really useful thread though: http://forums.androidcentral.com/htc-one/282447-install-ota-update-twrp-recovery.html
Looks like that stock recovery is the first thing to do.
Sent from my Nexus 4 using xda app-developers app
andyabc said:
Ok, I found a really useful thread though: http://forums.androidcentral.com/htc-one/282447-install-ota-update-twrp-recovery.html
Looks like that stock recovery is the first thing to do.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Even though that is for a different device and a completely different OTA set up. Being fully stock is always the best bet. Like I said I never do OTA and on a nexus it is almost completely pointless as the 4.3 update will be available in a flashable zip file with in a matter of hours in not less.
zelendel said:
Even though that is for a different device and a completely different OTA set up. Being fully stock is always the best bet. Like I said I never do OTA and on a nexus it is almost completely pointless as the 4.3 update will be available in a flashable zip file with in a matter of hours in not less.
Click to expand...
Click to collapse
So you can just flash the zip 100% on a custom recovery?
Sent from my Nexus 4 using xda app-developers app
andyabc said:
So you can just flash the zip 100% on a custom recovery?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Yeah. Once the devs have gotten their hands on it there will be a rooted zip in a matter of hours of release that can be flashed like a normal custom rom
zelendel said:
Yeah. Once the devs have gotten their hands on it there will be a rooted zip in a matter of hours of release that can be flashed like a normal custom rom
Click to expand...
Click to collapse
Awesome, I am just going to flash the stock recovery so when the update is available the data will not get wiped.
Sent from my Nexus 4 using xda app-developers app
If your using twrp v2.5.0.0 when we get the ota update you can use it to update and it will flash it fine it will also detect that you don't have root and will ask you if you want it restored
From my BLACKED OUT N4
spaceman860 said:
If your using twrp v2.5.0.0 when we get the ota update you can use it to update and it will flash it fine it will also detect that you don't have root and will ask you if you want it restored
From my BLACKED OUT N4
Click to expand...
Click to collapse
So the OTA update would just work?, all well I have the stock recovery flashed at the moment anyway so when the OTA updates stop I will flash the recovery back and then install a custom rom with 4G and USB Host supported also having all the good tweaks like the camera tweak.
Sent from my Nexus 4 using xda app-developers app
I had CWM on my rooted Nexus 4, and the OTA for android 4.3 came along, and worked fine! Android asked to reboot to install the update, so I agreed, and the reboot loaded CWM which flashed the update. I lost root however, but it was easy to put back.
Has anyone done the OTA to 4.3 while having TWRP recovery? I wonder which of the two recoveries is better at handling OTA updates ... some folks say never attempt OTA with a custom recovery, but CWM has always handled it fine on my Nexus 4 (I've done different over-the-air updates around 3 times now).
sordna said:
Has anyone done the OTA to 4.3 while having TWRP recovery? I wonder which of the two recoveries is better at handling OTA updates ... some folks say never attempt OTA with a custom recovery, but CWM has always handled it fine on my Nexus 4 (I've done different over-the-air updates around 3 times now).
Click to expand...
Click to collapse
I am also interested about doing an update to 4.3 with everything stock except for TWRP, and am waiting to hear other people experiences before I try it. I see that the following shows one recommended method (Scenario #2), although I am not sure exactly how to do it. I am curious as to why this is any different than doing it OTA:
http://forum.xda-developers.com/show....php?t=2145848
pjc123 said:
I am also interested about doing an update to 4.3 with everything stock except for TWRP, and am waiting to hear other people experiences before I try it. I see that the following shows one recommended method (Scenario #2), although I am not sure exactly how to do it. I am curious as to why this is any different than doing it OTA:
http://forum.xda-developers.com/show....php?t=2145848
Click to expand...
Click to collapse
From what I am reading now, it's going to work. You will loose root and might loose TWRP, but if you have unlocked bootloader you can flash them both again. I'd say go ahead and let us know if you lost both root and TWRP or just root.
sordna said:
From what I am reading now, it's going to work. You will loose root and might loose TWRP, but if you have unlocked bootloader you can flash them both again. I'd say go ahead and let us know if you lost both root and TWRP or just root.
Click to expand...
Click to collapse
Actually, what I am reading now from a lot of people is that it is not necessary to download the file, and just do the OTA, as there is no difference. If I were to lose TWRP it is an easy enough process to get it back. As far as rooting, I am waiting for Koush to upgrade his superuser app, as I switched from SuperSU a while back (Both developers are having a tough time with 4.3). I am also waiting for things to settle down with all the 4.3 bugs and app upgrades. Maybe in a few weeks; there is just way too many issues.
pjc123 said:
Actually, what I am reading now from a lot of people is that it is not necessary to download the file, and just do the OTA, as there is no difference. If I were to lose TWRP it is an easy enough process to get it back. As far as rooting, I am waiting for Koush to upgrade his superuser app, as I switched from SuperSU a while back (Both developers are having a tough time with 4.3). I am also waiting for things to settle down with all the 4.3 bugs and app upgrades. Maybe in a few weeks; there is just way too many issues.
Click to expand...
Click to collapse
No need to wait, you can switch back to SuperSU, the latest version (1.51) has been working perfectly with 4.3 for me.
BTW I just installed BootUnlocker for nexus devices, a great app that can lock/unlock your boot loader from within android without wiping your data!

[How to Video] Manually update the Nexus 7 to 4.4 KitKat

Just threw together a video showing how to manually update your Nexus 7 to 4.4 KitKat.
Hopefully this cuts down the questions. You must be on the 4.3 JSS15R build to update.
Video:
http://youtu.be/bgjH2E5oi0Y
qbking77 said:
Just threw together a video showing how to manually update your Nexus 7 to 4.4 KitKat.
Hopefully this cuts down the questions. You must be on the 4.3 JSS15R build to update.
Video:
http://youtu.be/bgjH2E5oi0Y
Click to expand...
Click to collapse
Can you rename the ota.zip to just ota.zip?
godutch said:
Can you rename the ota.zip to just ota.zip?
Click to expand...
Click to collapse
Yes.
sfhub said:
Yes.
Click to expand...
Click to collapse
Thanks, easier than copying these filenames with hashes
Any specific reason that it only works with the 4.3 JSS15R build instead of the 4.3.1 JLS36I build? Is one just the WiFi version?
Craysh said:
Any specific reason that it only works with the 4.3 JSS15R build instead of the 4.3.1 JLS36I build? Is one just the WiFi version?
Click to expand...
Click to collapse
Yes right now there is no update zip for the LTE N7. I will update my site once that zip comes available
I just upgraded. It seems that the ota package doesn't contain the new launcher that the Nexus 5 uses. There is no Google Now home screen as the far left screen and the app drawer still contains a tab for widgets. Is there a separate app to install now from the store?
codahq said:
I just upgraded. It seems that the ota package doesn't contain the new launcher that the Nexus 5 uses. There is no Google Now home screen as the far left screen and the app drawer still contains a tab for widgets. Is there a separate app to install now from the store?
Click to expand...
Click to collapse
Those features are for the N5 only.
Craysh said:
Any specific reason that it only works with the 4.3 JSS15R build instead of the 4.3.1 JLS36I build? Is one just the WiFi version?
Click to expand...
Click to collapse
Yeah it does a signature check of your system files and the ota file, if one does not check out the update won't apply
I get an error when it tries to install the update - something to do with the BasicDreams.apk not being valid (or something along those lines). It then aborts the installation. Not sure if anyone else is running into this problem, or if there's something I can do to fix it. I'm running stock, but rooted, and I've switched back to the standard recovery image from TWRP to try the install.
Thanks!
Thanks man, I've never used the stock recovery before, so had no clue how to get past the broken robot screen. Your video helped a lot!
Does anyone know the way to do this on a Mac?
Question?
Hello,
I can't get the side load to work because it no longer recognizes my nexus 7 when i enter recovery mode? is there a quick fix for this?
im rooted,using cuatom.kernel and recovery
if i flash the stock kernel and recovery and do what u did on the video,will i lose root or lose any data??
Sent from my Nexus 7 using xda app-developers app
Ignore plz
Sent from my Nexus 7 using xda app-developers app
Just as a note, adb sideload method works with twrp installed. Same steps as the guide but the sideload option is located under the advanced tab.
Sent from my Nexus 7 using XDA Premium 4 mobile app
konradsa said:
Watch the video, the answer is right there.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Thanks!! :good:
Sorry goober, I answered to the wrong post by accident. I intended to answer to the guy asking about the recovery mode.
But I think the Mac procedure should be pretty similar, the archive download from Google contains the same tools for Mac. Just not sure how driver installer works on Mac.
Sent from my Nexus 7 using xda app-developers app
Still not having any luck. I can sideload the file onto the tablet fine, but when it gets to the "Verifying current system" stage I get an error saying:
"/system/app/BasicDreams.apk" has unexpected contents
E:Error in /tmp/update.zip
(Status 7)
Installation aborted
I've tried this several times and keep getting the same result. I'm rooted, but running the stock kernel and rom, and using the stock recovery. Any help on this would be greatly appreciated.
Will this work on a stock rooted N7?

Categories

Resources