[Q] How to flash a rom with a different kernel? - HTC Vivid, Raider, Velocity

I am trying to flash the de sensed rom from wajeeh and he suggests that I should flash KozmickKick's RC1 Kernel. Those are two separate files so I have no idea how to flash it from kernel then rom.
Please help. I am still a beginner at with rooting and stuff

GlowingStar said:
I am trying to flash the de sensed rom from wajeeh and he suggests that I should flash KozmickKick's RC1 Kernel. Those are two separate files so I have no idea how to flash it from kernel then rom.
Please help. I am still a beginner at with rooting and stuff
Click to expand...
Click to collapse
Flash the Rom in recovery the go into bootloader and fastboot flash the boot.IMG unless you're s-off in which case you can download my s-off kernel version and just flash that in recovery too.
Sent from my HTC PH39100 using xda premium

Thank you for your help
Sent from my HTC PH39100 using XDA

How do you flash a kernel in fastboot?

GlowingStar said:
How do you flash a kernel in fastboot?
Click to expand...
Click to collapse
put the boot.img in the same folder as fastboot open the folder in a open area right click while hitting shift key pick command prompt at the prompt type fastboot flash boot boot.img hit enter of course your phone must be hooked up to the computer in fastboot usb mode

Thanks. I figured it out and now running de sense.

Related

[Q] Wifi problem

Okay so I just rooted my HTC Vivid, ive tried many different roms and my WiFi doesnt work on any of them.
A hour ago my WiFi was working fine on Stock ICS 4.0.3.
Currently im running Holics ROM 0.8.
Anything?
Thanks,
Dom
I would try reflashing Rom run fix permission and make sure busybox is installed hope this helps.
Sent from my HTC PH39100 using xda premium
Yeah I did reflash each individual rom. I probably re-flashed over 10 times.
And i tried permissions aswell.
Nothing yet.
And what is busybox?
Its background support software basic runs some linux commands might get WiFi running.
Sent from my HTC PH39100 using xda premium
Are you s-off
Sent from my HTC PH39100 using xda premium
Mjones307 said:
Are you s-off
Sent from my HTC PH39100 using xda premium
Click to expand...
Click to collapse
No i believe im S-ON
This is what my bootloader looks like:
*** UNLOCKED ***
Holiday PVT SHIP S-ON RL
HBOOT-1.85.0025
Click to expand...
Click to collapse
domdiv said:
No i believe im S-ON
This is what my bootloader looks like:
Click to expand...
Click to collapse
you need to fastboot the boot.img extract the boot.img from the rom you are going to use put the boot.img in the same folder as fast boot open that folder and right click will hitting shift key in a open area pick command prompt reboot your phone to hboot hook it to your computer and at the command prompt type fastboot flash boot boot.img once it is done reboot your phone and your wifi should work
What if my phone isnt even detected ?
I typed "fastboot devices" and nothing happened.
Its not even showing up
domdiv said:
What if my phone isnt even detected ?
I typed "fastboot devices" and nothing happened.
Its not even showing up
Click to expand...
Click to collapse
try different port on your computer also different cable if you can
or a different computer
Quick question: After you extract the boot.img from the rom zip and flash it via fastboot, can you leave the boot.img in the rom zip or need to remove it before flashing the rom? I am still S-on.
ncpanicfan said:
Quick question: After you extract the boot.img from the rom zip and flash it via fastboot, can you leave the boot.img in the rom zip or need to remove it? I am still S-on.
Click to expand...
Click to collapse
you can leave it in wont hurt anything
I sent you a link to the guide for flashing ROM/Kernels while on S-On, we can't post it here.
I can't seem to figure out how to fix mine. I've tried flashing the boot.img from the ROM, and I copied bcmd.ko or what ever to System/Lib/Module as well, nothing is fixing it but re flashing the ROM, but then when I install a kernel (Like the situation I'm in now) my wifi breaks. I worked hard to get my ROM and APN settings right.
Is there a way to fix it without re flashing and losing everything? Please rescue me. :,'(
keeng james said:
I can't seem to figure out how to fix mine. I've tried flashing the boot.img from the ROM, and I copied bcmd.ko or what ever to System/Lib/Module as well, nothing is fixing it but re flashing the ROM, but then when I install a kernel (Like the situation I'm in now) my wifi breaks. I worked hard to get my ROM and APN settings right.
Is there a way to fix it without re flashing and losing everything? Please rescue me. :,'(
Click to expand...
Click to collapse
read post 7
keeng james said:
I can't seem to figure out how to fix mine. I've tried flashing the boot.img from the ROM, and I copied bcmd.ko or what ever to System/Lib/Module as well, nothing is fixing it but re flashing the ROM, but then when I install a kernel (Like the situation I'm in now) my wifi breaks. I worked hard to get my ROM and APN settings right.
Is there a way to fix it without re flashing and losing everything? Please rescue me. :,'(
Click to expand...
Click to collapse
You're going to have to reflash the kernel separately from the ROM. I have to do it the same way, bc I'm "S-On" still as well. That's the only way to get your Wifi working. Make sure the kernel's boot.img is in the same folder as your fastboot.exe and your adb files. Reboot your phone into fastboot mode, then connect it to you computer.. it should then change to 'fastboot usb' which means your phone is recognised. Open your command prompt in the folder with fastboot.exe, and run the code, "fastboot flash boot boot.img," if you see 'OK' msgs then everything is done correctly. Reboot your phone n it should work perfectly.
Sent from my de-sensed HTC Vivid, Virtuous Inquisition 4.0.2.1, Faux v005 Kernel

Is it possible to use custom kernel is phone is s-on?

I'm using htcdev unlocked boot loader with s-on and nik's jelly bean rooted ROM. I want to flash custom kernel . Is it possible with s-on device?
Sent from my Incredible S using xda premium
sikandar9 said:
I'm using htcdev unlocked boot loader with s-on and nik's jelly bean rooted ROM. I want to flash custom kernel . Is it possible with s-on device?
Sent from my Incredible S using xda premium
Click to expand...
Click to collapse
Yes, and but you also need to fastboot flash your kernel's boot.img
But there are no custom kernels for JB on our device, are there?
Maybe he is talking about ICS's kernel
eric1357a said:
Maybe he is talking about ICS's kernel
Click to expand...
Click to collapse
right, I'm just confirming adaptability.
Sent from my Incredible S using xda premium
markj338 said:
Yes, and but you also need to fastboot flash your kernel's boot.img
But there are no custom kernels for JB on our device, are there?
Click to expand...
Click to collapse
then what would be the fastboot command? May be "fastboot flash kernel boot.img" ???
Sent from my Incredible S using xda premium
sikandar9 said:
then what would be the fastboot command? May be "fastboot flash kernel boot.img" ???
Sent from my Incredible S using xda premium
Click to expand...
Click to collapse
fastboot flash boot boot.img
tpbklake said:
fastboot flash boot boot.img
Click to expand...
Click to collapse
Same command for flashing kernel and boot image?
Sent from my Incredible S using xda premium
sikandar9 said:
Same command for flashing kernel and boot image?
Sent from my Incredible S using xda premium
Click to expand...
Click to collapse
Kernel is the boot.img
So by fastboot flashing the boot.img you are flashing the kernel to the correct partition
markj338 said:
Kernel is the boot.img
So by fastboot flashing the boot.img you are flashing the kernel to the correct partition
Click to expand...
Click to collapse
Not entirely correct. The boot.img is the kernel(zImage) and the ramdisk. In an Anykernel update, ramdisk is extracted from your phones existing boot.img and combined with the updates zImage to make a new boot.img in a temp directory, flashed back to the boot partition and then deleted from the temp directory.
The problem with this on an s-on phone is that the boot partition is unwritable in recovery mode so it fails to update. There is a workaround where you can edit the updater-script file in the flashable zip so it doesn't attempt to flash the boot partition and delete the temp sir, so the user can then flash it manually through fastboot, but if you're at a level to do this, it's much easier to just s-off and avoid the hassle.
AFAIK l0st.prophet's kernel isn't working with jb roms, unless something has changed since I tested it.
Nonverbose said:
Not entirely correct. The boot.img is the kernel(zImage) and the ramdisk. In an Anykernel update, ramdisk is extracted from your phones existing boot.img and combined with the updates zImage to make a new boot.img in a temp directory, flashed back to the boot partition and then deleted from the temp directory.
The problem with this on an s-on phone is that the boot partition is unwritable in recovery mode so it fails to update. There is a workaround where you can edit the updater-script file in the flashable zip so it doesn't attempt to flash the boot partition and delete the temp sir, so the user can then flash it manually through fastboot, but if you're at a level to do this, it's much easier to just s-off and avoid the hassle.
AFAIK l0st.prophet's kernel isn't working with jb roms, unless something has changed since I tested it.
Click to expand...
Click to collapse
Right. My understanding of kernels and s-on hboot has been updated
Thanks for correcting me, I meant to say the kernel is IN the boot.img but I guess I got lazy. Hopefully I was right there
markj338 said:
Right. My understanding of kernels and s-on hboot has been updated
Thanks for correcting me, I meant to say the kernel is IN the boot.img but I guess I got lazy. Hopefully I was right there
Click to expand...
Click to collapse
Yes lol. Hope my explaination was clear enough.
Nonverbose said:
Yes lol. Hope my explaination was clear enough.
Click to expand...
Click to collapse
It was and I am out of thanks. Time to turn on the N7 for some more hardcore thanksing.
Sorry to half hijack this thread guys

[Q] I am stuck on CryanogenMod startup screen

i rooted my htc vivid yesterday and i wanted to get a custom rom do i downloaded it and flashed it on my phone but when i rebooted my phone all that comes up is the cyanogenmod startup screen with the spinning circle and nothing else happens i deleted my recovery by mistake and now im stuck like this can anybody help?
tpaina380 said:
i rooted my htc vivid yesterday and i wanted to get a custom rom do i downloaded it and flashed it on my phone but when i rebooted my phone all that comes up is the cyanogenmod startup screen with the spinning circle and nothing else happens i deleted my recovery by mistake and now im stuck like this can anybody help?
Click to expand...
Click to collapse
Have you wiped data and both cache as well..??
Also have your flashed latest Gapps..?
i need to correst apps
i was hoping to flash it back to the stock Rogers [ICS] 4.0.3 ruu do you know where i can get that ruu?
Yes
Yes ive done that and it still shows the cyanogenmod screen when i start up the phone it wont load past that
If its your first time installing... you need to wipe data as well
Sent from my Vivid 4G using Tapatalk 2
Did you fastboot flash the boot.img
Sent from my HTC PH39100 using xda app-developers app
No
i dont know where the boot.img is
tpaina380 said:
i dont know where the boot.img is
Click to expand...
Click to collapse
It's in the Rom zip, assuming your not s-off it must be flashed separately
You can check if your s-off by going to hboot, toward the top it will say s-off or s-on...which basically means security off/on - its another level of security HTC added on above the bootloader
Sent from my HTC PH39100 using Tapatalk 2
It says s-on
so what do i do from here?
Put your boot.img into the folder which your fastboot and adb are and then open a terminal to the folder. Then put your phone into fastboot by entering the bootloader. Then type fastboot devices to see if your device is connected to the computer. If it comes up with your serial number continue if not try again. Then type fastboot flash boot.img and then go to recovery and reflash the rom.
---------- Post added at 11:13 AM ---------- Previous post was at 11:10 AM ----------
If you need help with a better guide try
http://forum.xda-developers.com/showthread.php?t=1416836
and read the flash custom kernel/recovery the third option
Didnt work
all is says is
C:\Fastboot Command Folder>fastboot devices
MB201VJ21706 fastboot
C:\Fastboot Command Folder>fastboot flash boot.img
unknown partition 'boot.img'
error: cannot determine image filename for 'boot.img'
I worked!!!!!!!!!!! DDDDDD
When i typed in "fastboot flash boot.img" it didn't work so i tried "fastboot flash boot boot.img" and it worked i flashed cm-10 afterwards and then i flashed the ics gapps and it loaded up my holiday is now running android 4.1.2 and it is awsome!!!!!!!!!!!!!!!!!!!!! thank you for the help much appreciated
You figured out what you where doing wrong before i could tell you. Well done glad to help.
tpaina380 said:
i rooted my htc vivid yesterday and i wanted to get a custom rom do i downloaded it and flashed it on my phone but when i rebooted my phone all that comes up is the cyanogenmod startup screen with the spinning circle and nothing else happens i deleted my recovery by mistake and now im stuck like this can anybody help?
Click to expand...
Click to collapse
yea bro i had the same issue. first thing redownload the cm10 rom. sometimes you can get a bad dl. second you have to take the boot.img and flash it using fastboot. once you do that perform the wipes. then immediantly flash the cm10 rom from recovery. that should work. if you deleted the recovery witch is hard to do lol. u will have to use odin. hope i help
Bigc13 said:
yea bro i had the same issue. first thing redownload the cm10 rom. sometimes you can get a bad dl. second you have to take the boot.img and flash it using fastboot. once you do that perform the wipes. then immediantly flash the cm10 rom from recovery. that should work. if you deleted the recovery witch is hard to do lol. u will have to use odin. hope i help
Click to expand...
Click to collapse
No no... bad advice... ODIN is for Samsung...
Sent from my Vivid 4G using Tapatalk 4 Beta
Download either TWRP or WCX recovery. As long as your phone can get to the bootloader, you can get into Fastboot and flash the recovery again. Make sure the recovery is in the same folder where you have the adb.exe and fastboot.exe. Open up a command prompt, then change directory to where your fastboot and adb are. Type in fastboot flash recovery "recovery".img where "recovery" would be the name of the recovery file you download. This will flash pretty quickly. Once you get to that point, you probably are S-On so you need to make sure to extract the boot.img from the ROM you downloaded. Use either winrar or 7zip to extract the boot.img to the same location where you have the fastboot.exe and adb.exe. Then go to the command prompt again and change directories to the same folder where you have fastboot and adb. Type in fastboot flash boot boot.img. I usually would run this 3 times to make sure it loads properly. Once that is done reboot the phone again.
Sorry I used it on the HTC evolution 4g and it worked so I figured it would work for vivid
Sent from my Vivid 4G using xda app-developers app
Bigc13 said:
Sorry I used it on the HTC evolution 4g and it worked so I figured it would work for vivid
Sent from my Vivid 4G using xda app-developers app
Click to expand...
Click to collapse
?
How...
I've never heard of using ODIN on anything other than Samsung?
Anyone else?
Sent from my Vivid 4G using Tapatalk 4 Beta
Man I used a jig to put in dl mode to flash a file I can't remember exactly it was a couple years ago lol but sorry I shouldn't have said nt
rignfool said:
?
How...
I've never heard of using ODIN on anything other than Samsung?
Anyone else?
Sent from my Vivid 4G using Tapatalk 4 Beta
Click to expand...
Click to collapse
That would be a no for me as well... but these Springdale-ians... never know what they will come up with. JK.

Back up boot IMG

Is it possible to backup a rom and restore from it with a different version... I have a cm10 backup(system only)I'm currently in cm10.1 can restore without having to flash boot IMG??? If not is there a way to restore without fastboot.
No you cannot use different version kernels on not corresponding version roms. No you cannot flash boot IMG without the android debug bridge
Sent from my HTC Desire C using xda app-developers app
me4488 said:
No you cannot use different version kernels on not corresponding version roms. No you cannot flash boot IMG without the android debug bridge
Sent from my HTC Desire C using xda app-developers app
Click to expand...
Click to collapse
Can I back up the system and boot...and successfully restore from different version without having to flash IMG?
Even of you have backed up boot, you still have to use fastboot to flash kernel. I think it's because we don't have s-off.. Now don't ask what is s-off, google it if you don't know
I do know what s-off is... why doesn't HTC pico have to flash kernel when change a rom? it is doesn't have s-off
yasir4abbas said:
Can I back up the system and boot...and successfully restore from different version without having to flash IMG?
Click to expand...
Click to collapse
You cant flash it without fastboot. You dont need to back it up as there are download links all over.

[Q] Bootloop after going GPE to a 4.4 Rom

A couple of months back I flashed my HTC One to a GPE Rom and then updating using OTA to Android 4.3 which was working fine.
Upon finding this: http://forum.xda-developers.com/showthread.php?t=2356654
I wanted to flash to 4.4 using it. I followed instructions and it said it installed fine.
However I'm no stuck in a boot loop.
I get the "HTc quietly brilliant" screen and then it reboots, and this loops.
I can hold down vol button and then select recovery but as soon as I do it reboots and I cannot get into recover. I've tried a few adb commands like adb reboot recovery etc. and it just says device not found. Any tips?
Is your bootloader unlocked? Custom or stock recovery?
Sent from my HTC One using Tapatalk
Ivanovic said:
Is your bootloader unlocked? Custom or stock recovery?
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Before doing the flashing I was bootloader unlocked and was using clockwork mod if that is what you're asking.
You flashed a custom Google edition Rom or your converted your phone to Google edition (change cid,stock Rom,stock recovery) ?
Sent from my HTC One using Tapatalk
Ivanovic said:
You flashed a custom Google edition Rom or your converted your phone to Google edition (change cid,stock Rom,stock recovery) ?
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
I didn't change anything, just flashed a Rom to make it a GPE. I just installed clockwork mod and flashed the rom.
this is the name of the rom I used
bigxie_m7_GPe_JWR66V_odexed-signed
Maybe the 4.4 you flashed isn't compatible. I suggest you flash back that Rom or restore your nandroid backup if any
Sent from my HTC One using Tapatalk
Ivanovic said:
Maybe the 4.4 you flashed isn't compatible. I suggest you flash back that Rom or restore your nandroid backup if any
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
How can I do this if my phone won't go into recovery and just keeps looping to boot screen?
Reflash cwm or twrp. You need the latest version.
Then flash again ARHD 5.1 Rom and make sure you full wipe.
Sent from my HTC One using Tapatalk
Ivanovic said:
Reflash cwm or twrp. You need the latest version.
Then flash again ARHD 5.1 Rom and make sure you full wipe.
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Same here. I even dunno how to flash a new recovery...i don´t have any access to the phone - only hboot...
Boot to bootloader. Choose fastboot and then connect your phone to PC.
Next step is to download the latest version of your favorite custom recovery and place it inside the fastboot folder. Open a command window and write fastboot devices to check that fastboot is working and then write the following:
Fastboot flash recovery filename.img
Sent from my HTC One using Tapatalk
Ivanovic said:
Boot to bootloader. Choose fastboot and then connect your phone to PC.
Next step is to download the latest version of your favorite custom recovery and place it inside the fastboot folder. Open a command window and write fastboot devices to check that fastboot is working and then write the following:
Fastboot flash recovery filename.img
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Ok,but there´s a little problem : ABD couldn´t find my device..
Download the latest HTC drivers. There are in the android development sub forum
Sent from my HTC One using Tapatalk
Ivanovic said:
Download the latest HTC drivers. There are in the android development sub forum
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Puh...recovery works again.Thanks ! But I got another question : Is it possible to flash a ROM directly by using ADB ?
No. But you can use adb to transfer a Rom to your sdcard using adb push command
Sent from my HTC One using Tapatalk
Ivanovic said:
No. But you can use adb to transfer a Rom to your sdcard using adb push command
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Like discribed in this thread ?
http://forum.xda-developers.com/showthread.php?t=1667929
Yes, that is the way to so it
Sent from my HTC One using Tapatalk
Ivanovic said:
Yes, that is the way to so it
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
It won´t work...
I´m not able to mount/unmount system with theTWPR 2.6.3.0...but it´s the only recovery that works. I couldn´t even find the right cwm recovery...damn...
I'm was having the exact same problem, and I believe it's because you're S-ON like I am (says in the first green line of the bootloader)
Problem is try as I might (rum runner, Moonshine, revone) I cannot for the life of me get my phone S-OFF
Rum runner tells me there is no adb connection to the device, yet moonshine has no problem there and it's driving me nuts.
Until you can get S-OFF (and if you manage it let me know how) you'll more than likely have bootloop issues with that ROM
DiCR7 said:
I won´t work...
I´m not able to mount/unmount system with theTWPR 2.6.3.0...but it´s the only recovery that works. I couldn´t even find the right cwm recovery...damn...
Click to expand...
Click to collapse
Make sure adb works and write the paths correctly. What kind of error did you get?
Sent from my HTC One using Tapatalk
Ivanovic said:
Make sure adb works and write the paths correctly. What kind of error did you get?
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
This one seems to be proper :
C:\Program Files\Minimal ADB and Fastboot>adb push Android_Revolution_HD-One_4.1
_GE.zip /sdcard/Android_Revolution_HD-One_4.1_GE.zip
2282 KB/s (452221989 bytes in 193.456s)
..but after that,,,unable to open the zip file..and the best - the zip file has gone!!
Hmm..with TWPR I´m not able to mount the sdcard..maybe thats the failure...

Categories

Resources