Stock Kernel - Lenovo ZUK Z2 (Plus) Questions & Answers

I need some help. I'm pretty noob with all what is related to kernel and Custom Rom in general. I just wanted to know if using QPST method I restore the stock kernel, if previously I installed another one with a Custom Rom.
And if i doesn't, where can I find it?

Yes, it restores all necessary partitions including stock kernel

Related

[Q] What Custom ROMs can I use without new kernal?

Hi all,
I'm planning to start installing custom ROM's and haven't yet installed CWM. I don't plan on changing the kernal, as I hear issues about battery drain etc, and I just wanted to know which Custom ROM's I can use without flashing anything extra, as in just going on CWM, and installing a .zip?
Thanks in advance!
Anyone? :/
Under the heading stock based ROMs from here:
http://forum.xda-developers.com/showthread.php?t=1294129
Its not a complete list and you should still always read to make sure you don't need to flash a kernel along with it. If you flash a ROM that requires a custom kernel on locked bootloader you will brick your phone, so read carefully.

Is a custom kernel necessary for a custom rom?

Hopefully my title didn't confuse anyone lol.
I was told the main reason for flashing a custom kernel is entering recovery mode, well if that's the case, I have an app called x-parts, it allows me to boot my xperia play in recovery mode without flashing a custom kernel. so....would I be able to flash a custom rom via x-parts WITHOUT having to flash a kernel?
IM HAVING THE HARDEST TIME TRYING TO GET CM7/CM9 ON MY PHONE, ANY HELP WOULD BE APPRECIATED!
Xperia Player said:
Hopefully my title didn't confuse anyone lol.
I was told the main reason for flashing a custom kernel is entering recovery mode, well if that's the case, I have an app called x-parts, it allows me to boot my xperia play in recovery mode without flashing a custom kernel. so....would I be able to flash a custom rom via x-parts WITHOUT having to flash a kernel?
IM HAVING THE HARDEST TIME TRYING TO GET CM7/CM9 ON MY PHONE, ANY HELP WOULD BE APPRECIATED!
Click to expand...
Click to collapse
I'm pretty sure you can use the same kernel for a CM7 ROM since stock and CM7 are the same Android version, basically.
However, to use an ICS based ROM, flashing a custom kernel is necessary.
Solar.Plexus said:
I'm pretty sure you can use the same kernel for a CM7 ROM since stock and CM7 are the same Android version, basically.
However, to use an ICS based ROM, flashing a custom kernel is necessary.
Click to expand...
Click to collapse
It means that i can flash CM7 on stock???? Without flash a custom kernel??? If that is true then CM7 works on locked bootloader....
No. You must have a custom kernel for a custom ROM. Any ROMs that can be flashed on locked bootloader will say so explicitly. CM7 is not one of those.
Thanks for the info guys just curious to see how kernels tried into roms

[Q]Want to SIM-unlock

So upon searching, I've found that I need to be on a stock or stock-based ROM to unlock (using this method: http://forum.xda-developers.com/showthread.php?t=2176719&highlight=unlock )
I'm currently on CM10.1 nightlies, so obviously I need to get to a stock or stock-based ROM in order to do this. Again, searching led me to this thread: http://forum.xda-developers.com/showthread.php?p=33570269#post33570269
This allows me to use ODIN to flash stock touchwiz.
My question is this: is there an easier way to get to an appropriate ROM than using ODIN? It's been approximately a year since I've last used it, and I would prefer to just flash a ROM like I would a new CM nightly. Which ROMs are suitable for me to flash which will allow me to SIM-unlock my phone?
Also, if I make a nandroid, flash the stock ROM, unlock, then restore the nandroid, will I keep the unlock? Or is the best way about doing this: wipe data/cache, flash stock ROM, unlock, wipe data/cache, flash CM?
Thanks in advance!
thelakeshow said:
So upon searching, I've found that I need to be on a stock or stock-based ROM to unlock (using this method: http://forum.xda-developers.com/showthread.php?t=2176719&highlight=unlock )
I'm currently on CM10.1 nightlies, so obviously I need to get to a stock or stock-based ROM in order to do this. Again, searching led me to this thread: http://forum.xda-developers.com/showthread.php?p=33570269#post33570269
This allows me to use ODIN to flash stock touchwiz.
My question is this: is there an easier way to get to an appropriate ROM than using ODIN? It's been approximately a year since I've last used it, and I would prefer to just flash a ROM like I would a new CM nightly. Which ROMs are suitable for me to flash which will allow me to SIM-unlock my phone?
Also, if I make a nandroid, flash the stock ROM, unlock, then restore the nandroid, will I keep the unlock? Or is the best way about doing this: wipe data/cache, flash stock ROM, unlock, wipe data/cache, flash CM?
Thanks in advance!
Click to expand...
Click to collapse
Look in Android Development for any modded TW ROM and flash that.
I have the same question. waiting for someone to help.

Cant or dont know how to flash a kernel?

Hello everyone. I am new to the HTC One (m7wlv) but not new to htc or rooting/flashing etc. I am s-off and my bootloader is unlocked, and i am running the stock rom rooted and debloated. I want to get a custom kernel on here, but i cant seem to get any to stick. By that i mean i have tried several, and they all flash with no errors. But when i reboot, the kernel is still stock and unchanged. I have tried all three different recoveries, ive tried regular flashing and flashing with htc dumlock. What am i missing here? Can you not use a custom kernel with a stock rooted rom? Any help would be greatly appreciated.
cmlusco said:
Hello everyone. I am new to the HTC One (m7wlv) but not new to htc or rooting/flashing etc. I am s-off and my bootloader is unlocked, and i am running the stock rom rooted and debloated. I want to get a custom kernel on here, but i cant seem to get any to stick. By that i mean i have tried several, and they all flash with no errors. But when i reboot, the kernel is still stock and unchanged. I have tried all three different recoveries, ive tried regular flashing and flashing with htc dumlock. What am i missing here? Can you not use a custom kernel with a stock rooted rom? Any help would be greatly appreciated.
Click to expand...
Click to collapse
can you link the rom and kernel you are trying?
welcome to the One. i remember your avatar from the OG Inc days i believe. ^_^
cmlusco said:
Hello everyone. I am new to the HTC One (m7wlv) but not new to htc or rooting/flashing etc. I am s-off and my bootloader is unlocked, and i am running the stock rom rooted and debloated. I want to get a custom kernel on here, but i cant seem to get any to stick. By that i mean i have tried several, and they all flash with no errors. But when i reboot, the kernel is still stock and unchanged. I have tried all three different recoveries, ive tried regular flashing and flashing with htc dumlock. What am i missing here? Can you not use a custom kernel with a stock rooted rom? Any help would be greatly appreciated.
Click to expand...
Click to collapse
The rom is just the ota 2.10.605.1 that i rooted and debloated.
obone http://forum.xda-developers.com/showthread.php?t=2539041, is the latest kernel ive tried. I tried a few others i found, but i cant remember which ones. Not to many kernels to choose from on sense 4.3. Any other kernels you know of that i could try?
Yes i was pretty active on the incredible. Unforrunatley it took a crap finally so i decided to go for the one. Thanks for replying.
cmlusco said:
The rom is just the ota 2.10.605.1 that i rooted and debloated.
obone http://forum.xda-developers.com/showthread.php?t=2539041, is the latest kernel ive tried. I tried a few others i found, but i cant remember which ones. Not to many kernels to choose from on sense 4.3. Any other kernels you know of that i could try?
Yes i was pretty active on the incredible. Unforrunatley it took a crap finally so i decided to go for the one. Thanks for replying.
Click to expand...
Click to collapse
You need an insecure Boot.img in your current rom, to allow it to be overwritten.
My Stock rom has an insecure Boot.img in it.
You could fastboot flash that Boot.Img and then flash the custom one.
You should be able to just fastboot flash the new kernel, if it is packed into a Boot.Img.(most custom kernels aren't)
If it's packed in Anykernel style, then you will have to repack it into a Boot.img from your rom, or do what I suggested above and then flash it.
Essentially you are on an unrooted, secure stock Boot.Img that will not allow for the kernel to be overwritten.
Chances are, that the modules did flash though and you probably ended up just breaking wifi...and maybe more.
How are you going about flashing a kernel?
santod040 said:
You need an insecure Boot.img in your current rom, to allow it to be overwritten.
My Stock rom has an insecure Boot.img in it.
You could fastboot flash that Boot.Img and then flash the custom one.
You should be able to just fastboot flash the new kernel, if it is packed into a Boot.Img.(most custom kernels aren't)
If it's packed in Anykernel style, then you will have to repack it into a Boot.img from your rom, or do what I suggested above and then flash it.
Essentially you are on an unrooted, secure stock Boot.Img that will not allow for the kernel to be overwritten.
Chances are, that the modules did flash though and you probably ended up just breaking wifi...and maybe more.
Click to expand...
Click to collapse
Couldnt have said it better myself. tank you santod.
i would recommend backup up user data and flash Santod debloat stock 4.3 and everything should be good from there.
Thank you guys. Im off to try it out now.
Thanks again guys. I fastboot flashed the boot.img from your rom, and then the kernel and it worked. Time to tinker with some settings.

regarding kernel

Hi! How can I revert back to stock kernel provided by the custom rom? Will I need to restore the backup (boot partition) in twrp? Or do I need to dirty flash the custom rom I'm in? I'm curious and new to this kind of things. Thank you.
giiieeeXD said:
Hi! How can I revert back to stock kernel provided by the custom rom? Will I need to restore the backup (boot partition) in twrp? Or do I need to dirty flash the custom rom I'm in? I'm curious and new to this kind of things. Thank you.
Click to expand...
Click to collapse
either way will replace it to stock from rom.

Categories

Resources