S-ON and kernel flash? - Verizon Droid Incredible 2

I'm S-On so I'm used to flashing the boot image through adb. I tried to flash a different kernel on aokp milestone 4 but it didn't stick after reboot somehow. Do I need to flash it through adb as well a certain way? I'm hoping to get better battery life out of my phone with the aokp.

Can somebody please help me on this. I flashed the latest aeroevan cm9 and his kernel and wifi won't work. I assume I need to flash custom kernels differently since i'm htc unlocked.

Related

stuck on htc white screen, no backup, flash it using cwm, questions

i have a unbranded wildfire s 2.3.5 unlocked bootloader via htc dev with cwm recovery 5.0.1 and rooted. i watched some videos of MrTaco505 from youtube about overclocking and rooting. i flashed mine with OCkernel2.3.5.v2 by jikantaru.zip hoping to enable me to setcpu on the phone. after flashing the phone just freezes after boot. i installed it with stockkernel.zip for wildfire s hoping to correct the problem but after flashing the phone is stuck on white htc logo. i have several questions in mind that needs clarification
1. does roms here have their own kernels inside their package?
2. how long does it take for a rom to flash it? and what would the phone look like? (i havent tried thisa nd scared of doing this but i dont have other choice coz my phone is unusable)
3. what are the standard procedures in flashing a rom?
4. since i have no choice, im flashing a rom in cwm recovery using sdcard. is this safe?
5. does a rom like unofficial cm7.2 for wildfire s have its own kernel inside the package? do i need to download another kernel for the rom?
thank you for all your answers. any help would be a gift to me since i only have this phone at the moment. -simone-
1 - Yes, most custom roms come with a working OC kernel
2 - Depends on the size of the ROM. but usually no longer than 5 mins
3 - You have cwm. standard procedure is to install a rom in a zip format. btw you really should update cwm and flash the latest official versio 5.0.2.8
4 - as written above, this is the standard way to flash custom roms. it is safe
5 - All roms, wether they're custom or stock ship with a kernel. but custom ones most of the time come with an OC kernel.

[Q] About installing custom roms

Hello all well I have been following the forums much lately and have finally managed to root my Xperia Arc mobile [Lt15i]
Now the question here is that while flashing a custom kernel I was encountered with the "1 block damaged" error and hence for a while my phone got bricked which I later recovered by flashing with Flashtool.
Now I want to install custom roms and most of the tutorials which I have gone through guides us to flash the custom kernel and then flash the custom rom using recovery.
Now since that doesn't happen in my case, I was thinking whether I could just "boot" the recovery mode and then flash the custom rom.
Would it work? From what I've been reading, it seems custom roms and kernels work in conjunction... am I right or are custom roms independent of kernels?... it's just that I've been sitting here on this chair for 6 straight hours [trying to bring my arc back to life] and before I do anything I really want to be sure becuz I've gone through a big hassle.
Thank you for your time in advance.
Do you have your bootloader unlocked?
Prince
No most of the roms here needs a kernel to work. There are some few that works.
Have you tried to flash kernel with fastboot method ??
Typed down from the sky with sexy LT15i
In my experience, it depends on the custom rom.
Some custom roms, for example JJ's Hybrid will work with the stock kernel from Sony. These are usually roms that are based off the official Sony, but with various modifications and tweaks.
Other custom roms, for example FreeXperiaProject/Cyanogenmod require you to use a custom kernel as well. These roms are usually built from Android's open source code.
In any case you will need a phone with unlocked bootloader for custom roms because of the need for Clockworkmod.
Re: What you said about just booting recovery.
Yes it is possible to just temporarily "hotboot" a kernel with CWM recovery built in, BUT this requires fastboot mode, and unfortunately on Arc fastboot mode requires an unlocked bootloader.
Sorry on my part for not giving details.
Yes I have an unlocked bootloader. And it is through fastboot method that I flashed my kernel.
And I was thinking of flashing this rom on my arc
- http://forum.xda-developers.com/showthread.php?t=1681555
As far as I've searched, clockworkmod doesn't support the arc yet and the "wiki" method which I read had to use flashing using "fastboot boot boot.img" method which gives me the "1 bad sector error". Which is why I refrain from trying it.
Plus he's given the green signal that it works on stock kernel. Only the CWN mod is a problem!

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

Kernels

I have a T-Mobile Galaxy S2. Rooted it withe hercules tar kernel on Android 2.3. When I upgraded to JB the kernel no longer worked (couldn't root). I tried flashing Cyangoen 10.0 and 9.0 but neither wokred (Waited 20 minutes and nothing). Is there a kernel I need to flash with ODIN?
Also, looking for a good place to learn abot kernels in genral.
Many thanks.
FezK
FezK said:
I have a T-Mobile Galaxy S2. Rooted it withe hercules tar kernel on Android 2.3. When I upgraded to JB the kernel no longer worked (couldn't root). I tried flashing Cyangoen 10.0 and 9.0 but neither wokred (Waited 20 minutes and nothing). Is there a kernel I need to flash with ODIN?
Also, looking for a good place to learn abot kernels in genral.
Many thanks.
FezK
Click to expand...
Click to collapse
Kernel is causing the problem. Flash only kernel which is made for specific rom/android version. follow this if you want to flash via Odin. I recommend you to install CWM because its easy,safe and time saving.
Installed CWM Recovery, tried to flash Cyanogen 9...now it keeps rebooting back into CWM...can't access the Recovery menu. I downloaded the updated kernel. How do I get it flashed?
I was able to connect via ODIN. Can't get recovery-clockwork-touch-6.0.3.1-hercules.tar to flash.
restart your computer log back in and use a different USB port and make sure you have all the DRIVERS for the phone plug it in flash the ODIN CWM file then you should flash an ICS ROM then flash JB to avoid any hiccups 2.3.4 is a big jump to JB might be giving you errors and you are rooted correct ?
Thank you. Yes I'm rooted an runnning smoothly with Juggernaut ROM for now. Want to change to Cyanogen 9.0. I'll flash the ODIN CWM file as you recommend. Where can I find a good ICS ROM and JB? Didn't know the jump from 2.3.4 to JB would be so big.
Many thanks.
what do you prefer the more stocky looking approach or you into AOKP/CM if you like stock then anything from PTMR and JAMISON904 are on point and very stable if you want some options and custom stuff look into the CM/AOKP around here in the development forums since you are rooted i would download a nice ICS you wont be on it long so doesnt matter lol and then finally jump ship to JB give it time for the battery to settle in becuase there was nothin like GB as far as the battery life goes this one guy who has amazing work and dedication http://goo.im/devs/Cl3Kener anything on there will do you justice when you get to the JB stage good luck and happy flashing!!
C13Kener DOES have some amazing stuff. Thanks. I see that he has a nice ICS stock ROM (Samsung-Stock-4.1.2-Tiberius-Kernel-1.1.zip). Can I just flash that from recovery or do I need to flash a new kernel via ODIN beforehand? Apprecaite your patience and help.
FezK said:
C13Kener DOES have some amazing stuff. Thanks. I see that he has a nice ICS stock ROM (Samsung-Stock-4.1.2-Tiberius-Kernel-1.1.zip). Can I just flash that from recovery or do I need to flash a new kernel via ODIN beforehand? Apprecaite your patience and help.
Click to expand...
Click to collapse
I think there is some confusion here. A ROM is not the same thing as a kernel.
I think thats where I'm having trouble. I have an older kernel (recovery-cwm-hercules.tar) and need to upgrade it before I can flash an ICS ROM. Don't know where to find kernels for the ROMS I want to flash. I thought some ROMs came with the kernel embedded in their zipfile, but finding thats not the case. ODIN is fairly easy to use, but I don't know where to find the right kernels for ROMs like Cyanogen.
FezK said:
I think thats where I'm having trouble. I have an older kernel (recovery-cwm-hercules.tar) and need to upgrade it before I can flash an ICS ROM. Don't know where to find kernels for the ROMS I want to flash. I thought some ROMs came with the kernel embedded in their zipfile, but finding thats not the case. ODIN is fairly easy to use, but I don't know where to find the right kernels for ROMs like Cyanogen.
Click to expand...
Click to collapse
Recovery is a tool used to flash ROMs and do backups.
TWRP and CWM are recoveries.
ROMs are the operating system of the phone. They come with a kernel. The kernel is what boots the phone into the OS. You can flash a different kernel if it matches the type of ROM you are on. I hope that clears up some of the confusion.

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.

Categories

Resources