[Q] how to make kernel back to stock? - HTC One X

Hi,
I updated my kernel for install CM10.1.
now I want to flash HDR 18.2 And I know it works best with the stock kernel.
how do I install the stock kernel?
Thanks!

Flash the boot.img that you have in zip of rom or from OP of thread of your rom
you have to make an "erase cache" (with command: "fastboot erase cache") before and after flash the new boot.img

Guich said:
Flash the boot.img that you have in zip of rom or from OP of thread of your rom
you have to make an "erase cache" (with command: "fastboot erase cache") before and after flash the new boot.img
Click to expand...
Click to collapse
oh, so its that easy? i thought i need to do something complicated for changing the kernel.
but u say to do it just like i flash a normal rom?
thanks! :silly:

For change the kernel, you have to flash the boot.img from fastboot and making an erase cache.
After, you have to flash the modules (if you are flashing a custom kernel).
If you need change the rom, you have to do:
- A backup of your currently rom
- Reboot in fastboot and making a "fastboot erase cache"
- Flash the boot.img (fastboot flash boot boot.img)
- Another erase cache
- Reboot in recovery
- Full wipe
- Flash new rom
- Reboot & Enjoy

Related

Fastboot flashing HELP!

What are the commands for flashing a rom in fastboot?
Ive tried
Code:
fastboot flash ----.zip
?
Am doing this cause JOKERDROID4.2BUZZ.zip wont flash in clockwork mod 3.2.0.0 or 4.0.0.2. It flashes in 2.5.1.7 but boot loops. I am coming from cm7 what do you think?
You can only flash a particular partition with Fastboot, like /system /data, Recovery, boot etc. AFAIK, You cant flash a Zip ROM as is the case with CWM.
You can check the list of Fastboot Commands here:
http://android-dls.com/wiki/index.php?title=Fastboot
Also, you got 2.5.1.7? Where? AFAIK Wildfire only has 2.5.0.7. Anyway, you can use Fastboot to replace your CWM 3.x or 4.x with 2.5.0.7, then try flashing Jokerdroid. Also, make sure you are performing a wipe (Factory Reset / Wipe data in Clockworkmod)
Where can i get 2.5.0.7?
Cant remember where i got 2.5.1.7 the file name was 2.5.0.7 but cwm said 2.5.1.7?
It's there under Custom Recoveries:
http://forum.xda-developers.com/showthread.php?t=1029318
jokerdroid just bootloops!?
i have wiped and wiped cache and delvik!
Try Redownloading the ROM. Or, if you search the thread, there is one version which is clocked at 648MHz. Try that. Probably the high CPU clocks are not suiting your device.
EDIT: Scratch that. Its clocked at 710, so shouldn't cause an issue.
Well after boot looping 5 or so times it rebooted cwm then rebooted system and bootlooped once but the powered up? Wierd!
if you want to flash a .zip package:
fastboot update filename.zip
if you want to flash an img. file:
depending whether you want to flash a new recovery:
fastboot flash recovery filename.img
or a new ROM:
fastboot flash system filename.img
I do however strongly recommend erasing you current recovery before flashing a new one:
fastboot erase recovery
and do a full wipe (this will erase your data, recovery and system partitions)
fastboot erase system -w

Bootloader crashes after flashing fastboot boot.img

Every time I try to flash boot.img for a custom ROM using fastboot the bootloader on the device crashes (gets stuck until manual reboot).
It seems to flash fine according to terminal.
To test, I just flashed the newest CWM recovery using fastboot and that worked fine. Bootloader didn't get stuck.
The device is crashing a lot since installing 1.29 ROMs so I think boot.img isn't flashing.
any ideas?
is that after changing roms?
You need to have correct boot.img for the ROM you are using.
Also, between changing ROMs, you should delete at least(!) the cache partition (fastboot erase cache), preferably whole /data (will reset to factory!).
Simply put - I think erasing cache will solve your problem: fastboot erase cache
Did you manage to resolve this in the end? I'm getting exactly the same issues.
Naturally, after posting, I realised that I was typing fastboot boot boot.img, forgetting to add the "flash"
Actual syntax: fastboot flash boot boot.img

[Q] "failed installation" of ARHD 18.1

Hello,
Id appreciate any help with my problem:
After wishing to upgrade to JB from ARHD 9 (ICS), I flashed the correct Hboot and upgraded CWM to 5.8.4.0. However, when trying to flash the ARHD ROM, im getting a "failed installation" message after selecting the zip on the SD card. I thought it might be the boot.img i was using (from the download section), so used the one from the ROM zip instead. No luck. I erase the cache etc very time I can.
Any ideas to what might be the problem?
Thanks in advance
so you have a hboot 1.3* and you flashed the boot.img with fastboot command
fastboot erase cache
fastboot flash boot boot.img
fastboot erase cache
then entered recovery and did a FULL wipe (also dalvik cache under the advanced tab)
then trying to install the rom.zip ?
install failed, redownload the rom, might be corrupted !
Mr Hofs said:
so you have a hboot 1.3* and you flashed the boot.img with fastboot command
fastboot erase cache
fastboot flash boot boot.img
fastboot erase cache
then entered recovery and did a FULL wipe (also dalvik cache under the advanced tab)
then trying to install the rom.zip ?
install failed, redownload the rom, might be corrupted !
Click to expand...
Click to collapse
exactly - all steps followed. currently downloading it again...

[Q] Boot image kernel with fastboot ?

Hi,
I got a HTC One X (JB, ARHD 19.2)
I'd like to use the XM-Kernel (http://forum.xda-developers.com/show....php?t=2136731)
but I don't understand the 4th instruction here given in the kernel thread.
"1.Install modules from recovery (Install the zip)
2.Wipe dalvik cache.
3.Erase fastboot cache
4.Flash kernel image with fastboot"
Flash kernel image with fastboot ?
Do I have to unzip the kernel on my computer, use the " new_boot.img " file inside the folder ?
So... The question is : Where's the kernel image ??
the boot.img could be in the .zip file. open it and check it......i dont know if its need to be repacked for the rom you are using by the way....
Open the xmkernel zip and extract 'boot.img' or 'senseboot.img' to your fastboot folder. Copy the intact zip to your sdcard and flash in cwm after flashing kernel. Xmister advises that no repacking is required, but I used the online service anyway.
Thanks for this post, answered my queston. One more thing:
Is there a specific fastboot command for flashing kernal image like there is for, say, boot.img
i.e. fastboot flash boot boot.img?
iang265 said:
Thanks for this post, answered my queston. One more thing:
Is there a specific fastboot command for flashing kernal image like there is for, say, boot.img
i.e. fastboot flash boot boot.img?
Click to expand...
Click to collapse
Yes its
Fastboot erase cache
Fastboot flash boot boot.img
Fastboot erase cache
And as additional info, if you ever made a nandroid backup with twrp recovery you get a boot.emmc.win file (its the boot.img)
Fastboot erase cache
Fastboot flash boot boot.emmc.win
Fastboot erase cache
Mr Hofs said:
Yes its
Fastboot erase cache
Fastboot flash boot boot.img
Fastboot erase cache
And as additional info, if you ever made a nandroid backup with twrp recovery you get a boot.emmc.win file (its the boot.img)
Fastboot erase cache
Fastboot flash boot boot.emmc.win
Fastboot erase cache
Click to expand...
Click to collapse
Thank you, it's worked a treat. :good:

[Q] Sense ROM to Non Sense ROM

Hi all,
I'm on RENOVATE ROM at the moment. Is it possible to switch to aokp or aosp roms with just flashing boot.img using fastboot and installing the ROM from recovery??
Yes!
1. Flash the boot.img from ROM.zip via fastboot and then fastboot erase cache
2. Go to recovery and flash this script : http://d-h.st/kG0 (it wipes data/cache/dalvic/system)
3. Flash the rom.zip and gapps.
4. Reboot!

Categories

Resources