[Q] Backup stock kernel - Nexus 4 Q&A, Help & Troubleshooting

How can I backup my stock kernel and drivers before I flash a new one?

Download the factory images and pull out the boot.img. When you want to go back to the stock kernel just flash it in fastboot.
There's lots of ways... if you're not aware of them then do your homework before you mess up your phone.

Related

Stock rom image

Anyone got a stock rom image I can have a copy of?
For some reason my backup is messed up and when I flash the backup wifi does not want to turn on.
Thank you
You can get the stock firmware from Asus website.
When restoring your backup, you might need to flash the kernel again as it does not get restore.

[Q] restoring nandroid backup and flashing stock images

Hi guys. I have read many posts about this things and I am not really sure on what to do. So I have a nandroid backup with stock rom and kernel. I am on francos+paranoidandroid now and I want to go back to stock with locked bootloader and unrooted for warranty purposes. Before I flashed a custom rom and kernel, I made a backup when I was still in stock rom and stock kernel. My questions are:
1. Do I need to flash stock boot image before restoring my backup to get back to stock rom and kernel, then lock bootloader and unroot?
or
2. I will just restore backup of stock rom and kernel, lock bootloader and unroot? No need to flash stock boot image first?
Thank you!
gio_punsalan said:
Hi guys. I have read many posts about this things and I am not really sure on what to do. So I have a nandroid backup with stock rom and kernel. I am on francos+paranoidandroid now and I want to go back to stock with locked bootloader and unrooted for warranty purposes. Before I flashed a custom rom and kernel, I made a backup when I was still in stock rom and stock kernel. My questions are:
1. Do I need to flash stock boot image before restoring my backup to get back to stock rom and kernel, then lock bootloader and unroot?
or
2. I will just restore backup of stock rom and kernel, lock bootloader and unroot? No need to flash stock boot image first?
Thank you!
Click to expand...
Click to collapse
How to return to stock: http://forum.xda-developers.com/showthread.php?t=2010312
gio_punsalan said:
Hi guys. I have read many posts about this things and I am not really sure on what to do. So I have a nandroid backup with stock rom and kernel. I am on francos+paranoidandroid now and I want to go back to stock with locked bootloader and unrooted for warranty purposes. Before I flashed a custom rom and kernel, I made a backup when I was still in stock rom and stock kernel. My questions are:
1. Do I need to flash stock boot image before restoring my backup to get back to stock rom and kernel, then lock bootloader and unroot?
or
2. I will just restore backup of stock rom and kernel, lock bootloader and unroot? No need to flash stock boot image first?
Thank you!
Click to expand...
Click to collapse
if you want to go back to stock for warranty purporses... you will have to flash the factory images..
restoring backup of stock rom wont get back the factory recovery.... but can unroot and lock bootloader if u restore backup...
so if u are sending for warranty purposes... flash using factory images...

[Q] Restore Stock Recovery

I'm having trouble finding an answer to this. I have TWRP recovery installed and want to revert to Stock. According to the TWRP website, all I have to do is install the stock recovery over TWRP.
However, the problem I'm having is finding a way to do this with out doing a complete factory reset and/or firmware flash. Is there somewhere I can find just the stock recovery. I've been googling and looking through the forums for the past 45 minutes and can't seem to find anything.
Thanks!
The only way I know how to do it is Odin the stock firmware. But if you can do that or not will depend what phone you have and what firmware you're on. You'll have to do a factory reset and will lose data do you'll need to backup first.
I didn't want to Odin back to stock as that wipes data. I ended up downloading the stock TAR firmware, extracting the recovery.img and running this command via Heimdall:
Code:
heimdall flash --RECOVERY "C:\path\to\recovery.img" --no-reboot
Hope this helps.
theSpam said:
I didn't want to Odin back to stock as that wipes data. I ended up downloading the stock TAR firmware, extracting the recovery.img and running this command via Heimdall:
Code:
heimdall flash --RECOVERY "C:\path\to\recovery.img" --no-reboot
Hope this helps.
Click to expand...
Click to collapse
Cool, thanks
Edit, what firmware were you on?
silverHound said:
I'm having trouble finding an answer to this. I have TWRP recovery installed and want to revert to Stock. According to the TWRP website, all I have to do is install the stock recovery over TWRP.
However, the problem I'm having is finding a way to do this with out doing a complete factory reset and/or firmware flash. Is there somewhere I can find just the stock recovery. I've been googling and looking through the forums for the past 45 minutes and can't seem to find anything.
Thanks!
Click to expand...
Click to collapse
Once you installed TWRP, did you use it? Did you make a backup of your stock handset? Well good for you! Now before you go and follow directions and flash your recovery, I always use MyBackup Pro, which requires root to work. It allows you to restore your call log and all your text and picture messages if you ever should like them back. Once you go back to stock, you'll have to root again and go get the MyBackup Pro again from the Play store, but at least you can retrieve everything. Do the flash like the directions says in TWRP, but plan ahead.
You gotta flash dude. It's the only way.
Just make sure everything is in order before you swipe that little slider bar. After you swipe the slider bar to flash your backup that you made of your stock setup, that's exactly what will happen. Like brand new right out of the box. You won't show any sign of TWRP and your "stock recovery" will return.
You did make a backup first thing after installing TWRP right? It was 3.56 GB and it wouldn't fit on phone storage so I had to save mine to the external SD card.
If you're on stock (not a custom ROM) with only a custom recovery, ODIN to stock should not wipe your phone. If you're on a custom ROM and you ODIN to stock, it will wipe.
Either way, you should do a Nandroid backup first...then if you aren't happy with the results, you can install a custom recovery again and Nandroid back to where you were to start. Just make sure when you go back to stock you don't end up getting the MF3 update!
Process to ODIN back to stock:
http://forum.xda-developers.com/showthread.php?t=2261573
Source to download the latest firmware (MDL) prior to MF3:
http://forum.xda-developers.com/showthread.php?t=2263533

Backup restore failed

I have the s5 900f. I'm not new to custom ROMs and thought I'd give one a go for the s5.
Done system backup with twrp and flashed bliss. The ROMs is but I preferred the stock. Anyway I done a full wipe and then selected the restore. All seems to go well and the restore completes. But when restart the phone it starts to boot then fails. No error message or anything. OK I know I can flash another stock rom but I had the back just how I wanted it with all my settings and customisation.
I read a lot about the partitions being changed with a custom rom which can cause a restore to fail. I will flash a stock ROM then once I get it working I will try a restore again. Do I need to flash the pit file?
OK so previously have had htcs. On those I had to flash the bootloader via fastboot and then flash the ROM from recovery. Is it right that with the s5 the bootloader is bundled and flashed with the custom ROM? So when I reflashed the backup the phone still had the bootloader from the customer ROM? Can someone confirm if that is correct or not? I know how to fix my phone but I also like to learn and under stand what happenened.
Just flash the G900F PIT file along with a stock ROM in ODIN
PIT files should be avoided there are many risks while flashing them, albeit the procedure is as easy as it gets.
I would recommend getting Titanium Backup (i have the pro version so i don't know whether what i'm about to suggest is available in the free version or not) and then using titanium to "Extract from Nandroid backup" in the Main Menu and scrolling down to Special Backup/Restore
Hi Guys, I downloaded the stock rom from sammymobile and flashed it via odin. It also reset my recovery to stock as well but was is easy enough to fix
I then made sure the reactivation lock was turned off and reflashed my recovery back and I then reflashed my original backup recovery and success!
Tp recap if anyone else has this problem....
Download and flash the original stock rom,
Boot the phone and turn off the reactivation lock (you dont need to bother with account setup)
Flash the recovery (must be the same one you used for your backup)
Flash your saved backup
Done
Hopefully this gelps someone who finds themselves in my pickle.
To be honest after coming from HTCs I never appreciated the differences when it comes to rooting, customs roms etc. I now do!

.

..
Flash a stock ROM to restore your recovery, as I don't think the recovery image is separate in stock ROM files flashed through Odin. I'm sure someone will correct me if I'm wrong on that, but why do you need or want the stock recovery anyway?
..
Ok. There were no changes in the recovery from when the phone was first released to now. If you want the stock recovery, just flash the image you have.

Categories

Resources