Flashing Original Kernel - Samsung Galaxy Nexus

I want to have a test of some of the custom kernels on XDA... is there a way to backup and restore just the kernel or is there a flash-able package available somewhere with the original kernel?
Cheers

Download the stock Google images. Unzip them and find the boot.img file. This is the stock kernel that you can flash in fast boot. Be sure it is in the same folder as fastboot and use
fastboot flash boot boot.img
Sent from my Galaxy Nexus using xda premium

Thank you sir... just what I was after

I assume I can just flash the boot.img i get from a nandroid backup?

Related

Nandroids

Hi guys!
I just came to the one x from a nexus s. As you may know the nexus s has "full s-off" as in you can flash the boot.img from recovery etc. All that it takes to flash a rom is the flash of a zip. Similarly nandroids are that simple too. I know that the one x requires you to flash the boot.img through fastboot and i was wondering what effect this has on restoring nandroid backups. If I switch to a totally different rom and decide to restore the nandroid of a previous rom, do i need to manually flash the boot.img of the previous rom?
Thanks
shahravi94 said:
Hi guys!
I just came to the one x from a nexus s. As you may know the nexus s has "full s-off" as in you can flash the boot.img from recovery etc. All that it takes to flash a rom is the flash of a zip. Similarly nandroids are that simple too. I know that the one x requires you to flash the boot.img through fastboot and i was wondering what effect this has on restoring nandroid backups. If I switch to a totally different rom and decide to restore the nandroid of a previous rom, do i need to manually flash the boot.img of the previous rom?
Thanks
Click to expand...
Click to collapse
Yes, you can copy the boto.img and flash it using cmd commands " fastboot Erase cache" then "fastboot flash boot boot.img". Then in the recovery use the Nandroid backup. U need to flash the same boot.img of the nandroid
Enviado desde mi HTC One X
dragonesdenano said:
Yes, you can copy the boto.img and flash it using cmd commands " fastboot Erase cache" then "fastboot flash boot boot.img". Then in the recovery use the Nandroid backup. U need to flash the same boot.img of the nandroid
Enviado desde mi HTC One X
Click to expand...
Click to collapse
please note that even though nandroid cannot restore your boot.img it does back it up
so you can grab it in /sdcard/clockworkmod/backup/XXXXXX/boot.img
just pull it
restore your backup
go to fastboot
flash your pulled boot.img
Glad someone asked this.
I've come from a sensation, and was down with flashing ROMs
Re-learning on the One X
Nandroids backs the kernel up, but you still need to flash it through ADB.

[Q] Kernel Flashing Problem (NOT .img)

Team Venom ViperX: http://forum.xda-developers.com/showthread.php?t=2087443
I want to flash the ViperX Kernel#10 but that's not a flashable zip,
I wonder how to flash the boot and modules?
I usually flash kernel with boot.img in cmd or XXX.zip in recovery
Anyone helps?
Yeah flash the whole rom. Extract the boot.img. flash it through the fastboot via cmd.
Afaik viperx uses the stock kernel.
Tweaks are already in the rom
jackytsz said:
Team Venom ViperX: http://forum.xda-developers.com/showthread.php?t=2087443
I want to flash the ViperX Kernel#10 but that's not a flashable zip,
I wonder how to flash the boot and modules?
I usually flash kernel with boot.img in cmd or XXX.zip in recovery
Anyone helps?
Click to expand...
Click to collapse
I suppose the tweaks are already inside the ROM zip and you don't need to flash Kernel #10. Also the boot.img is the same.
If they do actually differ in some points, you can put the modules folder from Kernel zip in the ROM zip (in /system/lib folder) and then flash the ROM.
But as I said earlier that wouldn't be needed, as the tweaks are available in the ROM from the very first day they're developed!!!
If I helped, press the thanks button.
The boot.img #10 in the OP is the same as the one in the rom.zip......so flash the boot.img and install the rom.
And if you want to be sure .... I made a flashable zip for the #10 boot.img + modules
http://db.tt/6qFZ6PSL

Recovery

I for some reason can't get the stock recovery to flash the root file or any stock firmware. Also I can't get it to change recoveries for some reason I've tried in terminal with a few different ones and tried flashing the stock one also but it won't change. Does anything know how to fix this? Is there a back to stock thing I can flash it? I've been searching for days with no luck. Thanks
Sent from my X9006 using XDA Free mobile app
You have to flash the latest stock recovery! They patched the stock recovery and hashed for that!
Flash a custom recovery and make a nandroid backup. Save your backup for security reasons to your pc then install coloros completely new from 1.2.1and only update it with ota to 1.2.4 . Now use fastboot to boot from a custom recovery like Philz.(fastboot boot recovery.img)
Recovery.img should be replaced with the name of your recovery. Twrp won't work for this plan!, cause it don't backs up the recovery. Now make again a backup. Save the recovery.img from backup safely. Now restore your old backup and flash the captured stock recovery. Tada now your ota update should work fine!
Cheers
got it thanks a lot!! got root and that custom recovery worked! thanks again!!
Zoltan-X said:
You have to flash the latest stock recovery! They patched the stock recovery and hashed for that!
Flash a custom recovery and make a nandroid backup. Save your backup for security reasons to your pc then install coloros completely new from 1.2.1and only update it with ota to 1.2.4 . Now use fastboot to boot from a custom recovery like Philz.(fastboot boot recovery.img)
Recovery.img should be replaced with the name of your recovery. Twrp won't work for this plan!, cause it don't backs up the recovery. Now make again a backup. Save the recovery.img from backup safely. Now restore your old backup and flash the captured stock recovery. Tada now your ota update should work fine!
Cheers
Click to expand...
Click to collapse
mr2guy18 said:
got it thanks a lot!! got root and that custom recovery worked! thanks again!!
Click to expand...
Click to collapse
How did you get stock 2.0 to your phone?

Flashable Stock Kernel?

Has anyone got the stock kennel extracted as a flashable zip or IMG. I'd like to try out some of these kernels, but don't really want to reflash the ROM to revert if I decide they're not for me.
I think extracting and flashing the stock boot.img will revert you back to the stock kernel
Also, I'm pretty sure this should be in the Questions and Answers section
Since (afaik) some kernels also touch system, I would recommend backing up boot and system (image!) in TWRP. Then it's just a couple of seconds to restore both.
i made a backup from the stock kernel with twrp if you like ...
https://forum.xda-developers.com/showpost.php?p=74664776&postcount=82
rickysidhu_ said:
I think extracting and flashing the stock boot.img will revert you back to the stock kernel
Also, I'm pretty sure this should be in the Questions and Answers section
Click to expand...
Click to collapse
Like he said,
1 Download the FULL ROM zip (not the OTA)
2. Inside the zip folder you'll find a boot.img file. Extract that or copy it to your device
3. Go to TWRP (backup just in case) then go to Install > Select install Image > Select the boot.img you extracted or copied
4. It should prompt you to select boot, recovery, or system image. Choose Boot and then swipe to flash
5. Reboot
Ps. Once you flash the boot.img you'll have to flash twrp again via adb and if you used a root method you'll have to reflash that too.
Thanks guys!
Afaik boot.img are kernel + ramdisk.
Gesendet von meinem Honor 6X mit Tapatalk

flashing roms with twrp on the honor 7x

I was wondering are there any ROMs I can flash using twrp recovery installed?
For .img file roms make sure to use fastboot because that's the best for flashing .img system files. Make sure to extract it if the file is compressed. Other ones should be flashed with TWRP. Always use fastboot unless the instructions say to do otherwise. Use TWRP to flash GApps and some system addons, and that's it.

Categories

Resources