[Q] Boot image kernel with fastboot ? - HTC One X

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:

Related

[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] how to make kernel back to stock?

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

[Q] Noob Flashing Venom ??

Hi can anyone help me pls and tell me how exactly and what exactly does: Extract boot.img from ROM zip and flash it using ‘fastboot flash boot boot.img’.
Use 'fastboot erase cache' to avoid boot issues.
I mean what do i have to do I know that these are commands in cmd but what do I have to have on my computer .I`m sorry if this question is answered somewhere but i looked for it for 2 hours and did not find it.
Thx in advance for your help
Once you download the VenomRom.zip file.. you need to open it with winrar/winzip/7zip and extract the boot.img file from it...
Extract the boot.img file in your fastboot folder... Now boot your phone into fastboot mode and connect it to your PC.
Open the fastboot folder where you had extracted the boot.img file and right click anywhere in the window along with pressing the shift key... in the menu, click on "Open Command Window Here"
Now run the following code:
Code:
fastboot erase cache
fastboot flash boot boot.img
fastboot erase cache
You can download the fastboot folder from here : http://www.mediafire.com/?cm2famr3xd2cnom
vin4yak said:
Once you download the VenomRom.zip file.. you need to open it with winrar/winzip/7zip and extract the boot.img file from it...
Extract the boot.img file in your fastboot folder... Now boot your phone into fastboot mode and connect it to your PC.
Open the fastboot folder where you had extracted the boot.img file and right click anywhere in the window along with pressing the shift key... in the menu, click on "Open Command Window Here"
Now run the following code:
Code:
fastboot erase cache
fastboot flash boot boot.img
fastboot erase cache
You can download the fastboot folder from here : http://www.mediafire.com/?cm2famr3xd2cnom
Click to expand...
Click to collapse
And what do I have to have in the fastboot folder apart from the zip and the boot.img?Thx for the previous answer
Saw it thx
You don't need the zip file in your fastboot folder... You only need the boot.img file so that you can flash it using the above command!
Copy the zip file on to your phone... you flash that in recovery...
fastboot folder has has 4 files... fastboot.exe, adb.exe and couple of dll files...
vin4yak said:
You don't need the zip file in your fastboot folder... You only need the boot.img file so that you can flash it using the above command!
Copy the zip file on to your phone... you flash that in recovery...
fastboot folder has has 4 files... fastboot.exe, adb.exe and couple of dll files...
Click to expand...
Click to collapse
Thx alot for ur help.One more question though,If i want to flash another kernel how do I do it?
and sorry for beeing ssuch a noob
You flash the boot.img from the downloaded kernel.zip and then install the .zip file in the recovery like a rom. Wipe the dalvik cache and the cache from the partition (all in the recovery) and reboot
In the case of Venom.. you don't need to repack the kernel...
so...
1. Flash the boot.img (of the kernel)
2. Go into recovery and delete cache/dalvic
3. flash the modules.zip file in recovery...
4. Reboot

[Q] Hardest Soft-Bricked ever seen!!! (Help me plz)

hello
i try to install recovery on 5.1.1 stock ROM with this:
http://forum.xda-developers.com/showthread.php?t=1346180
after clicking on install... my device reboot but stuck in bootloop
I try to fix this... flash softbrick/bootloop with Nexus Root ToolKit but not fixed
and next i try flash manually and wipe dalvik_cache but stuck bootloop agian...
sorry for poor my english...
PLZ HELP!!!
xx000xx said:
hello
i try to install recovery on 5.1.1 stock ROM with this:
http://forum.xda-developers.com/showthread.php?t=1346180
after clicking on install... my device reboot but stuck in bootloop
I try to fix this... flash softbrick/bootloop with Nexus Root ToolKit but not fixed
and next i try flash manually and wipe dalvik_cache but stuck bootloop agian...
sorry for poor my english...
PLZ HELP!!!
Click to expand...
Click to collapse
You tried to flash with an app designed for the TF101?????? And you wonder why this is happening to your Nexus 7?
graphdarnell said:
You tried to flash with an app designed for the TF101?????? And you wonder why this is happening to your Nexus 7?
Click to expand...
Click to collapse
I didn't see that...anyway it happened... NO WAY???!! :crying:
xx000xx said:
I didn't see that...anyway it happened... NO WAY???!! :crying:
Click to expand...
Click to collapse
You don't sound like one who's familiar with flashing anything. Be that as it may, what did you do exactly by "manually flash"? Can you get into fastboot mode or recovery at all? If you can, what does the screen show? You mentioned bootloop. How far does the tablet get before looping?
graphdarnell said:
You don't sound like one who's familiar with flashing anything. Be that as it may, what did you do exactly by "manually flash"? Can you get into fastboot mode or recovery at all? If you can, what does the screen show? You mentioned bootloop. How far does the tablet get before looping?
Click to expand...
Click to collapse
i did flashing with factory img already...
--------
i did manually flash because when flash system.img cmd error:cannot load system.img
so I fixed it by editing the command used to flash the system.img
fastboot flash -S 512M system system.img
and all my commands cmd:
Code:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
fastboot flash bootloader ["bootloader name".img]
fastboot flash radio ["radio name".img]
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash -S 512M system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
And all command were finished successfully
---------
yes... i can get into fastboot mode and recovery mode
you said : "If you can, what does the screen show?"
hmm...in fastboot show normal bootloader
and in recovery mode I install cwm recovery
------------
bootloop happen in animation after google logo
-----------
xx000xx said:
i did flashing with factory img already...
--------
i did manually flash because when flash system.img cmd error:cannot load system.img
so I fixed it by editing the command used to flash the system.img
fastboot flash -S 512M system system.img
and all my commands cmd:
Code:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
fastboot flash bootloader ["bootloader name".img]
fastboot flash radio ["radio name".img]
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash -S 512M system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
And all command were finished successfully
---------
yes... i can get into fastboot mode and recovery mode
you said : "If you can, what does the screen show?"
hmm...in fastboot show normal bootloader
and in recovery mode I install cwm recovery
------------
bootloop happen in animation after google logo
-----------
Click to expand...
Click to collapse
From experience, mine and others', if you get to the animation part, it means the boot partition is intact. You get into trouble when that is damaged somehow. If I were you, I would flash everything again and separately, from boot.img, to system.img, to recovery.img.
Make sure you choose the right one for your tablet. LTE for LTE and flo for flo (wifi only model) - no mix up. I did flash a wi-fi only rom on an LTE 2012 before, and it didn't brick the tablet, but I have no idea what such a mistake would do to a 2013 model.
I would use a stock-based rom like CleanRom only because so many people bricked theirs after flashing stock rom. I would try Cleanrom to make sure the tablet is functional hardware-wise first. Then, if you feel like taking the dive, go for your stock rom. Ask the author if you cannot retrieve the individual images from the zip file. Good luck.
hardest soft-bricked ever seen!!!
anybody haven't idea?
Why is -S 512M needed? I see what you said above but I've never seen anyone saying to use that command for this device. Update fastboot? Maybe a fastboot format cache at the end?
To be a ****, all you had to do was fastboot flash recovery recoveryname.img but you know that now. :highfive:
yosmokinman said:
Why is -S 512M needed? I see what you said above but I've never seen anyone saying to use that command for this device. Update fastboot? Maybe a fastboot format cache at the end?
To be a ****, all you had to do was fastboot flash recovery recoveryname.img but you know that now. :highfive:
Click to expand...
Click to collapse
because this:
http://forum.xda-developers.com/google-nexus-5/help/load-img-error-t3108648
in #4 solved
---
i did that all thing u said but not worked
---

[stock][img][a500cg][a501cg][a600cg][a601cg][3.24.40.87]

Hello guys,
I created flashable stock rom img. Rom versions 3.24.40.87
Step 1
You should unlock the bootloader
Code:
fastboot flash dnx dnx_fwr_ctp_a600cg.bin
fastboot flash ifwi ifwi_ctp_a600cg_unlock.bin
fastboot reboot-bootloader
Step 2
Flash The IMG Files
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot erase data
fastboot erase userdata
fastboot erase cache
fastboot reboot
Download Links
System img very big, compressed
System: Uploading...
Boot: https://drive.google.com/file/d/0B0fzy0qa-E-8elVkOWJUWGQ2eEU/view?usp=sharing
Recovery:https://drive.google.com/file/d/0B0fzy0qa-E-8NUlOdFIwbG91b00/view?usp=sharing
Bootloader Unlock:https://drive.google.com/file/d/0B0fzy0qa-E-8MzhWeVNQbHR2TEE/view?usp=sharing
Edorewiel said:
System img very big, compressed
System: Uploading...
Click to expand...
Click to collapse
Thaks, this will be very usefull for me, I'm awaiting for system.img
BR
i testing system.img
dont compress try to upload in torrents pls
Project Cancelled
Edorewiel said:
Project Cancelled
Click to expand...
Click to collapse
Y dude..I am in need of stock rom
Work for Asus Zenfone 5 (A501CG)?
I hope it work.
Edorewiel said:
Hello guys,
I created flashable stock rom img. Rom versions 3.24.40.87
Step 1
You should unlock the bootloader
Code:
fastboot flash dnx dnx_fwr_ctp_a600cg.bin
fastboot flash ifwi ifwi_ctp_a600cg_unlock.bin
fastboot reboot-bootloader
Step 2
Flash The IMG Files
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot erase data
fastboot erase userdata
fastboot erase cache
fastboot reboot
Download Links
System img very big, compressed
System: Uploading...
Boot: https://drive.google.com/file/d/0B0fzy0qa-E-8elVkOWJUWGQ2eEU/view?usp=sharing
Recovery:https://drive.google.com/file/d/0B0fzy0qa-E-8NUlOdFIwbG91b00/view?usp=sharing
Bootloader Unlock:https://drive.google.com/file/d/0B0fzy0qa-E-8MzhWeVNQbHR2TEE/view?usp=sharing
Click to expand...
Click to collapse
thank you
System img very big, compressed
System: Uploading...
Click to expand...
Click to collapse
To this date, legend has it that system is still uploading
Kidding aside, I too am in need of that system.img
Please help me sir. can you please send me a link of a500cg stock boot.img? Just stock boot.img only im looking for it, Coz somethings wrong with the link you gave. i think its gone already. your help is much more appreciated. thankyou

Categories

Resources