[Q] Restore stock rom from TWRP/CWM - Moto G Q&A, Help & Troubleshooting

I have a Moto G (XT-1032) unlocked. I would install cyanogenmod. My question is if i make a backup of the stock rom via custom recovery and can this backup restore later if i don't like Cyanogenmod or i must install the Stock rom via fastboot?
Thanks for all answer

Blacksoni33 said:
I have a Moto G (XT-1032) unlocked. I would install cyanogenmod. My question is if i make a backup of the stock rom via custom recovery and can this backup restore later if i don't like Cyanogenmod or i must install the Stock rom via fastboot?
Thanks for all answer
Click to expand...
Click to collapse
You have to flash the stock kernel from Fastboot at least, because the stock and cm kernels aren't compatible. After that (in theory) you can restore your nandroid backup.
Sent from my XT1032 using Tapatalk

ok thanks for the answer. i will test it and answer later

okay i tested with two roms but these roms are based of stock rom. i installed these roms and after testing i restore stock rom from recovery. And it was all fine you don't need to flash the kernel from fastboot
Sent from my XT1032 using xda app-developers app

Related

[Q] How can I return to stock kernel ?

I am new to the nexus s , but have been a heavy galaxy s user. I noticed that flashing roms etc is a bit different from what I am used to on my galaxy s .. I did not see any thread containing stock kernels ... So how can I return to stock after I have flashed another kernel ? I have installed the voodoo kernel with ext4, sound and colour enhancement .. But suppose I want to return to my stock gri54 kernel , how can I do that ? Have read allready about fastboot etc etc but then I should have an .img of the stock kernel , correct ?
By flashing back to stock rom, you will get back your stock kernel automatically.
Sent from my Nexus S using Tapatalk
navlem said:
By flashing back to stock rom, you will get back your stock kernel automatically.
Sent from my Nexus S using Tapatalk
Click to expand...
Click to collapse
So by flashing back to stock ROM via recovery, does it mean that it will be locked and un-rooted as factory default [like when you first purchase the device]?
navlem said:
By flashing back to stock rom, you will get back your stock kernel automatically.
Sent from my Nexus S using Tapatalk
Click to expand...
Click to collapse
But will i not loose everything if i do it like that? And where can i find stock rom. I only found an odin package
Sent from my Nexus S using XDA Premium App
johnkim0011 said:
So by flashing back to stock ROM via recovery, does it mean that it will be locked and un-rooted as factory default [like when you first purchase the device]?
Click to expand...
Click to collapse
It will be unrooted, but still with unlocked bootloader.
Bandis710 said:
But will i not loose everything if i do it like that? And where can i find stock rom. I only found an odin package
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
The Odin package can put you back to stock rom too.
So what you are saying there is no way to flash only the stock kernel ?? Very confusing .. I am able to flash just another kernel using fastboot but I am not able to flash back the stock kernel using fastboot ? Odin is a last resort method .. haven't seen fastboot .img files of the stock here in the forums ?
I'm not sure if anybody posted any stock kernel file in the forums. If there is any, you can easily download it and install via recovery or fastboot.
Otherwise you can only revert to stock roms because stock roms links are easily available through the forums or samsung firmware website.
Or after you have failed everything, may want to consider Odin. It seems to touch the phone at a lower level compare to other techniques.
follow the instruction on this
http://www.samfirmware.com/WEBPROTECT-i9023.htm
work great for me after all
Samsung i9023
Good luck
Yeah , I also mentioned odin allready .. Used it a lot when I had my galaxy s .. Just thought that since the nexus s can use fastboot I could get rid of odin ..
I am also not used that all has to be flashed to achieve a single goal .. On the galaxy s I could flash the kernel separately and also stcok kernel were easy to find .. I think it is kind of a hassle to reflash a whole rom just because you want stock kernel back ..
Voodoo has stated that his kernel is 'almost' stock, with only voodoo addon to the pure stock kernel. Maybe you can use that?
Some news here?
Hi there!
I was also wondering about this same situation. Let's say I want to stick with the original ROM and try some non-stock kernels. After some tests I know there is an OTA available but I don't want to backup and restore everything (using TB or similar). From what I understood I wouldn't be able to flash stock kernel (in other words, back to full stock ROM + Kernel) and apply OTA update...
What if we just flash boot.img from a nandroid of stock rom+kernel?
RM
Here you go: http://forum.xda-developers.com/showpost.php?p=20442919&postcount=3
Sent from my Nexus S using XDA App
Hoo great!
but, can you tell us where to find or how to get it from the stock ROM and make it flashable? It might be useful for upcoming releases of stock ROM/Kernels.
Thank you once again,
RM
edit: after searching by the filename you gently provided I found this:
hxxp://www.android-hilfe.de/2277361-post1.html
hxxp://www.michalurban.cz/Nexus_S_i9023/Kernel/
seems to be a good compilation, and stock is in the list!
The file I posted is already flashable through CWM. Just wipe dalvik first. Of course make sure you have a Nandroid backup just in case.
Hi,
sure, I noticed that. What I was wondering was how to get this flashable kernels. From the stock ROM full installation file? From a nandroid backup of a stock ROM??
RM
Hi, is any chance to get stock kernel for Jelly Bean 4.1.1? I've got stock rom, Air Kernel and OTA is buzzing me multiple times a day. No luck in upgrade, Error Status 7. I think it's Air Kernel's fault.
0mn1us said:
Hi, is any chance to get stock kernel for Jelly Bean 4.1.1? I've got stock rom, Air Kernel and OTA is buzzing me multiple times a day. No luck in upgrade, Error Status 7. I think it's Air Kernel's fault.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1572307
Flash factory. Easy.
Sent from my Nexus S using xda premium

stock kernel

hei guys .. i have installed the 4.0.4 zip ...and was wondering..if i want to flash air kernel ... how can i return to the stock one ? if i flash a clean 4.0.4 backup made with clockworkmod recovery will it return me to the stock kernel ? sorry for the noob question .. . thanks
plese help...anyone who knows.. i want to flash another kernel...but dont want to compleetly loose this stock one
Yeah, that will work, but you will be flashing the entire ROM again.
Sent from my Nexus S using Tapatalk
raducux said:
plese help...anyone who knows.. i want to flash another kernel...but dont want to compleetly loose this stock one
Click to expand...
Click to collapse
you cant have both, its either one or the other. if you dont like the custom kernel, all you have to do is reflash the rom. or you can pull the boot.img from the rom and flash it via fastboot or terminal emulator. but, i bet, for you itll be easier to just reflash the rom.
thanks
just wanted to know if a clockworkmod backup would restore my kernel as well . thank you
Make a backup of your rom with stock kernel, flash another kernel, and if you don't like you can restore your backup.
Sent from my Nexus S 4G using xda premium

[Q] TWRP vs. CWM

I remember seeing over in the Dev. forums that CWM recovery isn't restoring the kernel properly when people try to restore their backup of the stock ROM
Does this happen with TWRP as well? Or is the issue with the stock ROM / Kernel?
I'm hesitant to try CM9 and would like a clean way to recover to the stock ROM without having to use the downgrade method and reinstall everything.
edgemaster191 said:
I remember seeing over in the Dev. forums that CWM recovery isn't restoring the kernel properly when people try to restore their backup of the stock ROM
Does this happen with TWRP as well? Or is the issue with the stock ROM / Kernel?
I'm hesitant to try CM9 and would like a clean way to recover to the stock ROM without having to use the downgrade method and reinstall everything.
Click to expand...
Click to collapse
From what I read in the CM9 thread someone had the same issue when using TWRP.
Nandroids don't include the kernel i believe it must be restored seperately
It should, wouldn't that be in boot.img? I know on my Droid Inc I have gone between sense and aosp backups, both using different kernels.
Sent from my ADR6300 using Tapatalk 2

Help with funbook restoring stock rom

Hello
I flashed 2.3.4 qware rom using live suit but the sound is not working on it so i decided to restore back to stock rom 4.03 so i install cwm5 in it. i have already taken backup of my stock rom but when i try to restore it.it restore sucesfully but when i reboot it get stuck on qware logo
Pls help me
Thank you
Sent from my LG-P350 using Tapatalk 2
You cannot restore a ROM of a different version of android than the one you are running.
Sent from my SGH-T959 using xda app-developers app
It mean that i should first flash 4.0.3 than restore the stock rom
Sent from my LG-P350 using Tapatalk 2
check this "funbook gizmolord" website... goggle that words and check the website...
The way you're stating things is off, so I'm assuming you mean you created a Nandroid before flashing the new Rom? If so then yes, just wipe data, wipe cache, format and remount system and then re-flash the stock Rom by whatever method your devices uses.

[Q] Stock boot.img for Villec2

Do i need to flash a stock boot.img when restoring a backup from TWRP?
My experience points to yes because I tried and it never got to boot animation after nandroid restore. Not 100% sure though.
Sent from my HTC One S using Tapatalk 2
Well if you think about it technically... If your backup is a custom rom and you restore it you have to flash its kernel, so since the backup is like a custom rom only backupped so you will have to flash its kernel too

Categories

Resources