I am running stock rom with franco.kernel and would like to try out elementalx. What is the process to do this? Do i just have to download and flash this kernel in the recovery or is there something else that I need to do like flashing stock kernel first?
vlawrence0324 said:
I am running stock rom with franco.kernel and would like to try out elementalx. What is the process to do this? Do i just have to download and flash this kernel in the recovery or is there something else that I need to do like flashing stock kernel first?
Click to expand...
Click to collapse
Wouldn't the ElementalX thread be the beast place to ask this?
vlawrence0324 said:
I am running stock rom with franco.kernel and would like to try out elementalx. What is the process to do this? Do i just have to download and flash this kernel in the recovery or is there something else that I need to do like flashing stock kernel first?
Click to expand...
Click to collapse
This should be in Q/A FYI
You can find answers in the said thread, but basically dirty flash your current ROM and flash elemental over it
Sent from my Nexus 5 using xda app-developers app
vlawrence0324 said:
I am running stock rom with franco.kernel and would like to try out elementalx. What is the procan ess to do this? Do i just have to download and flash this kernel in the recovery or is there something else that I need to do like flashing stock kernel first?
Click to expand...
Click to collapse
Just flash the stock kernel (boot.img) in fastboot and after that Elemental in recovery.
Verstuurd vanaf mijn Nexus 5 met Tapatalk
Hi,
Only the boot.img is enough?
Because: http://forum.xda-developers.com/showpost.php?p=47583830&postcount=2.
Franco's kernel changes these system files below, so to change them back you can remove the .bak extension, or fastboot system.IMG and boot.IMG from a Google factory image which is probably easier and faster.
1 - Rename /system/lib/hw/power.msm8974.so.bak to /system/lib/hw/power.msm8974.so
2 - Rename /system/bin/thermal-engine-hh-bak to /system/bin/thermal-engine-hh
Click to expand...
Click to collapse
Flashing only the boot.img replace the system files above?
And from ElementalX kernel thread:
INSTALLATION
1. If you've been using another custom kernel, reflash your ROM without wiping data
Click to expand...
Click to collapse
So running the stock rom, I would reflash the boot.img and the system.img, or only rename the files mentioned above if your are confident with that (at least for me it's easier and faster)...
Hammer_Of_The_Gods said:
Hi,
Only the boot.img is enough?
Because: http://forum.xda-developers.com/showpost.php?p=47583830&postcount=2.
Flashing only the boot.img replace the system files above?
And from ElementalX kernel:
So running the stock rom, I would reflash the system.img, or only rename the files mentioned above if your are convenient to that...
Click to expand...
Click to collapse
Did it this way always and i never had an issue. OP can also dirty flash system.img and boot.img in fastboot.
Oeps already suggested.
Verstuurd vanaf mijn Nexus 5 met Tapatalk
Related
I have rooted, unlocked, and flashed CM10, and then flashed the stock ROM. I had trouble downloading the ROM from samsung-updates.com, and found a page with a different link to a file of a different name, but a similiar size. The file name is:
HOME_I535VRALF2_I535VZWALF2_618049_REV09_user_low_ship.tar.md5
I'm curious, has anyone else used this file? Is that the correct file to use? When flashing back to stock rom with that file, do you also get the locked bootloader, the original recovery, and lose root? It seems like it does, but wanted to confirm. Do I still need to flash the bootloader as provided in this post:
http://forum.xda-developers.com/showthread.php?t=1769411
docdockstader said:
I have rooted, unlocked, and flashed CM10, and then flashed the stock ROM. I had trouble downloading the ROM from samsung-updates.com, and found a page with a different link to a file of a different name, but a similiar size. The file name is:
HOME_I535VRALF2_I535VZWALF2_618049_REV09_user_low_ship.tar.md5
I'm curious, has anyone else used this file? Is that the correct file to use? When flashing back to stock rom with that file, do you also get the locked bootloader, the original recovery, and lose root? It seems like it does, but wanted to confirm. Do I still need to flash the bootloader as provided in this post:
http://forum.xda-developers.com/showthread.php?t=1769411
Click to expand...
Click to collapse
Click link and sig and follow section 6...questions are answered there.
droidstyle said:
Click link and sig and follow section 6...questions are answered there.
Click to expand...
Click to collapse
I tried the link in section 6 and it completes after only 5 meg. Question on the kernel, if I didn't flash a new kernel when flashing CM10, did I screw up, and do I still need to flash the stock kernel?
docdockstader said:
I tried the link in section 6 and it completes after only 5 meg. Question on the kernel, if I didn't flash a new kernel when flashing CM10, did I screw up, and do I still need to flash the stock kernel?
Click to expand...
Click to collapse
Cm installs a kernel
piiman said:
Cm installs a kernel
Click to expand...
Click to collapse
OK, and the stock flash doesn't? Cool, thanks. How about ROM manager restore, does that backup and restore the proper kernel?
docdockstader said:
OK, and the stock flash doesn't? Cool, thanks. How about ROM manager restore, does that backup and restore the proper kernel?
Click to expand...
Click to collapse
No but section 6 of the guide does...link fixed btw!
Wanting to try a different kernel but wanting to go back to stock if it doesn't go well (stock kernel). I know how to flash a kernel but not sure how to get back to stock kernel.
Just flash the stock kernel like anything else.
iElvis said:
Just flash the stock kernel like anything else.
Click to expand...
Click to collapse
Not sure exactly where to find that though. I believe also there is a difference between cm10 and sense kernel though, correct?
Also curious if since I've flashed a jb sense rom if my kernel also updated to jb kernel
scabbard1 said:
Not sure exactly where to find that though. I believe also there is a difference between cm10 and sense kernel though, correct?
Also curious if since I've flashed a jb sense rom if my kernel also updated to jb kernel
Click to expand...
Click to collapse
You need a sense kernel for sense roms, and cm/aosp/aokp kernels for those roms.
Stock no-wp sense kernel here: http://forum.xda-developers.com/showthread.php?t=2150219
Check About>Software information>More and it will tell you what kernel you're on.
If you flash a ROM, it will flash a kernel with the ROM. You can find that kernel in the ROM zip file (boot.IMG). Extract that file and flash it using fastboot to return to the kernel that was packaged with your ROM.
Sent from my One X using Tapatalk 2
jeffwyeh said:
If you flash a ROM, it will flash a kernel with the ROM. You can find that kernel in the ROM zip file (boot.IMG). Extract that file and flash it using fastboot to return to the kernel that was packaged with your ROM.
Click to expand...
Click to collapse
If hboot is <1.14 (or you are S-off), the kernel will just flash as the ROM. You can just dirty flash the ROM again.
If hboot is 1.14 or greater (and S-on), just extract boot.img and flash in fastboot as mentioned above. Kernel is part of boot.img.
Thanks so much for this info. I was going to post the same question
Question: Is the boot.img the kernel file? Thanks
petey006 said:
Thanks so much for this info.
Click to expand...
Click to collapse
There's a button for that.
petey006 said:
Question: Is the boot.img the kernel file? Thanks
Click to expand...
Click to collapse
Yes. But you can't flash just a boot.img in recovery. You would need fastboot for that. If you want the commands they're in the general stickies or I can post them here.
Sent from Xparent Red using my Venomized Evita
ImagioX1 said:
Yes. But you can't flash just a boot.img in recovery. You would need fastboot for that.
Click to expand...
Click to collapse
Depends on the hboot version and S-On or Off. But I already discussed those above.
---------- Post added at 11:30 AM ---------- Previous post was at 11:26 AM ----------
petey006 said:
Question: Is the boot.img the kernel file?
Click to expand...
Click to collapse
As I already said, the kernel is a part of boot.img.
There are other things in boot.img besides just the kernel:
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images#Structure_of_boot_and_recovery_images
Although the terms boot.img and kernel are used nearly synonymously here. When "kernels" are posted, I think its always the entire boot.img package.
And in regards to your original question, it doesn't really matter.
To return to the stock kernel, just flash the stock boot.img.
redpoint73 said:
Depends on the hboot version and S-On or Off.
Click to expand...
Click to collapse
So you can flash a straight boot.img not in a zip or anything through recovery with s-off?
Sent from Xparent Red using my Venomized Evita
ImagioX1 said:
So you can flash a straight boot.img not in a zip or anything through recovery with s-off?
Click to expand...
Click to collapse
Wait, no. I was misunderstanding you. The kernel has to be a flashable zip to be able to install from recovery. Otherwise, I think you are right, if you just have the boot.img, you need to install with fastboot.
I've noticed that some kernel only works with sense roms (ElementalX).
Say for example, i want to flash another rom without sense ui.
Do i need to reflash stock kernel first? Or flash the boot.img (kernel?) inside the new rom zip file?
Also the stock kernel from the link has two files. One is "installer" and the other is boot.img. I need to install the installer file thur Recovery, correct? And also flash the boot.img to go back to stock?
Thanks i'm such a n00b.
petey006 said:
I've noticed that some kernel only works with sense roms (ElementalX).
Say for example, i want to flash another rom without sense ui.
Do i need to reflash stock kernel first? Or flash the boot.img (kernel?) inside the new rom zip file?
Click to expand...
Click to collapse
Sense requires a Sense kernel.
AOSP based ROMs require an AOSP kernel.
In general, you should install the kernel for the ROM that you are flashing. Some kernels may work over more than one ROM (do the research before you try it), but never a Sense kernel for an AOSP ROM, or vice versa.
petey006 said:
I've noticed that some kernel only works with sense roms (ElementalX).
Also the stock kernel from the link has two files. One is "installer" and the other is boot.img. I need to install the installer file thur Recovery, correct? And also flash the boot.img to go back to stock?
Click to expand...
Click to collapse
One or the other, you don't need both. If you are hboot 1.14 or higher, I don't know if the installer way will work. The boot.img way (in fastboot) will work, no matter what hboot you are on.
redpoint73 said:
Wait, no. I was misunderstanding you. The kernel has to be a flashable zip to be able to install from recovery. Otherwise, I think you are right, if you just have the boot.img, you need to install with fastboot.
Click to expand...
Click to collapse
I was about to say!! Thanks for clarifying.
Sent from Xparent Red using my Venomized Evita
Ok so i flashed francos kernel trough FKU updater app and i want to go back to stock just to compare the battery life and some stuff again and to decide what to use.
How can i flash stock kernel back, do i flash all factory images or is there .zip file to flash trough recovery, or there is another way to do this? thanks for your replays.
Hi,
Stock kernel here (recovery zip file): http://forum.xda-developers.com/showthread.php?p=47269605.
You can also take a look here to fastboot the boot.img (kernel): http://forum.xda-developers.com/showthread.php?t=2513701.
Alexandar92zr said:
Ok so i flashed francos kernel trough FKU updater app and i want to go back to stock just to compare the battery life and some stuff again and to decide what to use.
How can i flash stock kernel back, do i flash all factory images or is there .zip file to flash trough recovery, or there is another way to do this? thanks for your replays.
Click to expand...
Click to collapse
boot.img is the kernel. If you have the factory images you can just fastboot flash that,
Hammer_Of_The_Gods said:
Hi,
Stock kernel here (recovery zip file): http://forum.xda-developers.com/showthread.php?p=47269605.
You can also take a look here to fastboot the boot.img (kernel): http://forum.xda-developers.com/showthread.php?t=2513701.
Click to expand...
Click to collapse
ok so i just download the zip and flash trough twrp right?
rootSU said:
boot.img is the kernel. If you have the factory images you can just fastboot flash that,
Click to expand...
Click to collapse
oh ok did not know that im quite new to this, but now i know thanks for information.
Alexandar92zr said:
ok so i just download the zip and flash trough twrp right?
Click to expand...
Click to collapse
That's right, download the right zip (4.4 or 4.4.1/4.4.2) put it "in your sdcard", reboot in recovery, flash and reboot, that's all
Hammer_Of_The_Gods said:
That's right, download the right zip (4.4 or 4.4.1/4.4.2) put it "in your sdcard", reboot in recovery, flash and reboot, that's all
Click to expand...
Click to collapse
thanks man i clicked on that thanks button
Alexandar92zr said:
thanks man i clicked on that thanks button
Click to expand...
Click to collapse
No worries, thanks
Last thing since you came from Franco kernel (the following procedure is specific):
The Gingerbread Man said:
Return to stock romz
Franco's kernel changes these system files below, so to change them back you can remove the .bak extension, or fastboot system.IMG and boot.IMG from a Google factory image which is probably easier and faster.
1 - Rename /system/lib/hw/power.msm8974.so.bak to /system/lib/hw/power.msm8974.so
2 - Rename /system/bin/thermal-engine-hh-bak to /system/bin/thermal-engine-hh
3 - Reboot to the boot loader and flash stock Kernel by downloading the Nexus images and then fastboot flash boot boot.img
...
Click to expand...
Click to collapse
So before flashing the stock kernel in recovery do the step 1 and 2 (even after if you forgot, it should be good).
Alexandar92zr said:
thanks man i clicked on that thanks button
Click to expand...
Click to collapse
May i suggest you start reading up before you get into serious rouble. Read the first 4 threads in the General section.
Verstuurd vanaf mijn Nexus 5 met Tapatalk
Hammer_Of_The_Gods said:
No worries, thanks
Last thing since you came from Franco kernel (the following procedure is specific):
So before flashing the stock kernel in recovery do the step 1 and 2 (even after if you forgot, it should be good).
Click to expand...
Click to collapse
ok lets see if i understood right.
im comeing from the stock rom just with francos kernel and now to go back to the stock i need to do step 1 and 2, how do i rename that files i connect my phone to pc or i need to download some file menager that can see that files? and about step 3 do i need to flash boot.img via fast boot or i can do it trough twrp as well?
sorry about the many questions but i do not want do do something wrong
Alexandar92zr said:
ok lets see if i understood right.
im comeing from the stock rom just with francos kernel and now to go back to the stock i need to do step 1 and 2, how do i rename that files i connect my phone to pc or i need to download some file menager that can see that files? and about step 3 do i need to flash boot.img via fast boot or i can do it trough twrp as well?
sorry about the many questions but i do not wont do do something wrong
Click to expand...
Click to collapse
With a file explorer, directly from your phone, (Root Explorer, Es File Explorer, etc...) follow the path to the files in point 1 and 2, rename the files and save. Then reboot in recovery and flash the stock kernel if you want to flash it via recovery (equal to step 3).
If you are not used with this kind of stuff (modify system files by yourself), flash the system.img and boot.img by following the link I provided above (http://forum.xda-developers.com/showthread.php?t=2513701).
Hammer_Of_The_Gods said:
With a file explorer, directly from your phone, (Root Explorer, Es File Explorer, etc...) follow the path to the files in point 1 and 2, rename the files and save. Then reboot in recovery and flash the stock kernel if you want to flash it via recovery (equal to step 3).
If you are not used with this kind of stuff (modify system files by yourself), flash the system.img and boot.img by following the link I provided above (http://forum.xda-developers.com/showthread.php?t=2513701).
Click to expand...
Click to collapse
i founded the files that i need to rename via es file explorer and now i understand it all and im not confused anymore about how to get stock kernel back.
im not used to this stuff yet because i rooted my phone yesterday and im quite new to this because last device i rooted and flashed lots of custom roms and stuff is to HD2 so i know the basic stuff but not much
and one of the topic question. why does my colors look a little diferent when i flashed the francos kernel? i know that there is something about color profiles etc. but i do not know where to start and look into that
Alexandar92zr said:
i founded the files that i need to rename via es file explorer and now i understand it all and im not confused anymore about how to get stock kernel back.
im not used to this stuff yet because i rooted my phone yesterday and im quite new to this because last device i rooted and flashed lots of custom roms and stuff is to HD2 so i know the basic stuff but not much
and one of the topic question. why does my colors look a little diferent when i flashed the francos kernel? i know that there is something about color profiles etc. but i do not know where to start and look into that
Click to expand...
Click to collapse
Okay, so all is fine to go back to stock, take your time and read all closely
About the colors, take a look here: http://forum.xda-developers.com/showpost.php?p=49561443 (links for profiles are down, for example: http://192.227.135.147/N5_ColorProfiles/Latest_Profiles/ from vomer).
Hammer_Of_The_Gods said:
Okay, so all is fine to go back to stock, take your time and read all closely
About the colors, take a look here: http://forum.xda-developers.com/showpost.php?p=49561443 (links for profiles are down, for example: http://192.227.135.147/N5_ColorProfiles/Latest_Profiles/ from vomer).
Click to expand...
Click to collapse
thanks i will look into this.
I made a stock kernel backup on Franco app and used it to restore back to stock kernel after using Franco was this process ok
Sent from my Nexus 5 using xda app-developers app
sorry if this doesn't quite belong here but I was curious to go back just to stock kernel, not completely stock itself. Could anyone link me to a good step by step for me to do this? Do i use adbfastboot the boot.img only? Im just a a little confused..
Sorry I am still new and learning. Thanks for any help!
Download the relevant kernel to your device from here.
Reboot to recovery
Install the zip you just downloaded
This stuff tends to be a lot simpler than you'd expect, tbh.
dallas220 said:
sorry if this doesn't quite belong here but I was curious to go back just to stock kernel, not completely stock itself. Could anyone link me to a good step by step for me to do this? Do i use adbfastboot the boot.img only? Im just a a little confused..
Sorry I am still new and learning. Thanks for any help!
Click to expand...
Click to collapse
Download the factory images from Google : https://developers.google.com/android/nexus/images#hammerheadkot49h
Extract the boot.img and flash it via fastboot.. (fastboot flash boot boot.img)
Make sure your on stock rom before you flash it..
Sent from my Nexus 5 using Tapatalk
dallas220 said:
sorry if this doesn't quite belong here but I was curious to go back just to stock kernel, not completely stock itself. Could anyone link me to a good step by step for me to do this? Do i use adbfastboot the boot.img only? Im just a a little confused..
Sorry I am still new and learning. Thanks for any help!
Click to expand...
Click to collapse
Fastboot, you flash with fastboot and yes the kernel image is boot.img. You should probably also reflash your ROM (system.img if you're on the stock ROM) as many custom kernels also modify the system partition.
BirchBarlow said:
Fastboot, you flash with fastboot and yes the kernel image is boot.img. You should probably also reflash your ROM (system.img if you're on the stock ROM) as many custom kernels also modify the system partition.
Click to expand...
Click to collapse
Thanks for all the replies guys!
I am indeed on stock rom. To flash the system.img is pretty much the same as the boot.img yes?
dallas220 said:
Thanks for all the replies guys!
I am indeed on stock rom. To flash the system.img is pretty much the same as the boot.img yes?
Click to expand...
Click to collapse
Hi,
Same way: http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701.
Hammer_Of_The_Gods said:
Hi,
Same way: http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701.
Click to expand...
Click to collapse
Thank you brother
And just to add to my noobness.. Returning to stock kernel and or rom doesn't wipe any files on the phone correct? Ie picture data etc....?
dallas220 said:
Thank you brother
And just to add to my noobness.. Returning to stock kernel and or rom doesn't wipe any files on the phone correct? Ie picture data etc....?
Click to expand...
Click to collapse
As long as you don't flash the userdata.img, you are fine!
If you are using the flashall script then remove the -w flag and you're good to go!
Sent from my Nexus 5 using Tapatalk
vin4yak said:
As long as you don't flash the userdata.img, you are fine!
If you are using the flashall script then remove the -w flag and you're good to go!
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I plan on flashing sys and boot!
And so sorry but what do you mean the flashall srcipt?
Would that be basically flashing everything to stock?
Sorry for such dumb questions
dallas220 said:
I plan on flashing sys and boot!
And so sorry but what do you mean the flashall srcipt?
Would that be basically flashing everything to stock?
Click to expand...
Click to collapse
So no worries since you don't flash all (you use the "Method2" from the link I posted above), about the "flash-all.sh" file, when you open the factory image file, you have this script, more info here about the "-w" to delete: http://forum.xda-developers.com/showpost.php?p=51949577&postcount=4.
Hammer_Of_The_Gods said:
So no worries since you don't flash all (you use the "Method2" from the link I posted above), about the "flash-all.sh" file, when you open the factory image file, you have this script, more info here about the "-w" to delete: http://forum.xda-developers.com/showpost.php?p=51949577&postcount=4.
Click to expand...
Click to collapse
thanks for you help my brother. Just another question.. If I have a nandroidbackup on the computer that I made before I installed my custom kernel, could you somehow use that to get back to the stock kernel? Is that something...or I am just asking the most ridiculous questions?
It seems the more I read, the less I am confident with adb, flashing, backups etc.... :S
dallas220 said:
thanks for you help my brother. Just another question.. If I have a nandroidbackup on the computer that I made before I installed my custom kernel, could you somehow use that to get back to the stock kernel? Is that something...or I am just asking the most ridiculous questions?
It seems the more I read, the less I am confident with adb, flashing, backups etc.... :S
Click to expand...
Click to collapse
If want the stock kernel download the factory images from google and flash the boot.img via fastboot. That's the easiest way.
If you still want to use nandroid backup then copy the nandroid backup to the correct location... Head over to Philz Touch recovery and use the custom restore option by which you can select only the "boot" and "system" partition. But I haven't tried doing it so can't say whether it will work or not. However, technically it should work. I have no idea how to do this using TWRP though as I haven't used it much.
In attempt to switch from franco to elementalx, I think I have to flash the stock kernel before i flash elementalx.
jjs0891 said:
In attempt to switch from franco to elementalx, I think I have to flash the stock kernel before i flash elementalx.
Click to expand...
Click to collapse
Nah. If you're feeling paranoid, maybe flash stock system image.
people wrote that the franco kernel alters the ramdisk or whatever whereas elementalx does not. They say it may "cause problems". I haven't found anyone to have actually tested this theory and i'm not really willing to try. I don't want to set up my entire phone and apps again.
jjs0891 said:
people wrote that the franco kernel alters the ramdisk or whatever whereas elementalx does not. They say it may "cause problems". I haven't found anyone to have actually tested this theory and i'm not really willing to try. I don't want to set up my entire phone and apps again.
Click to expand...
Click to collapse
Download the factory image. Extract it. Inside is a zip file, extract it too. There you'll find the boot.img. Flash it with fastboot
Sent from my Nexus 5 using XDA Free mobile app
Is boot.img.p the same thing? That's the closest thing to boot.img in the zip file
jjs0891 said:
Is boot.img.p the same thing? That's the closest thing to boot.img in the zip file
Click to expand...
Click to collapse
The factory images are found here: https://developers.google.com/android/nexus/images
The .p extension means it's a patch, usually found in OTA files, which you probably downloaded instead of a factory image.
jjs0891 said:
Is boot.img.p the same thing? That's the closest thing to boot.img in the zip file
Click to expand...
Click to collapse
Use 7zip to extract the factory images.
beekay201 said:
Use 7zip to extract the factory images.
Click to expand...
Click to collapse
What's wrong with WinRAR?
zagorteney said:
What's wrong with WinRAR?
Click to expand...
Click to collapse
Nothing is wrong with WinRAR, why do you ask?
Aerowinder said:
Nothing is wrong with WinRAR, why do you ask?
Click to expand...
Click to collapse
I'm just asking if there is any difference in extracting factory images. I'm doing this with WinRAR and now have problems executing system.img not just with 5.1, but with 5.0.1 either.
I realised that the nexus toolkit has the option to flash boot.img.
Thank you guys for the helping
jjs0891 said:
I realised that the nexus toolkit has the option to flash boot.img.
Thank you guys for the helping
Click to expand...
Click to collapse
What's nexus toolkit? That's some foreign object isn't it? fastboot flash boot boot.img and you're done.
Sent from my Nexus 5 using XDA Free mobile app