please if some one knows how to flash a zimage kernel with adb shell????
kaokollaa said:
please if some one knows how to flash a zimage kernel with adb shell????
Click to expand...
Click to collapse
You can't do it with adb. The only way is to use fastboot from the android sdk (same folder that adb is located in) and use:
Code:
fastboot flash zimage zImage (where the second zImage is the filename)
kaokollaa said:
please if some one knows how to flash a zimage kernel with adb shell????
Click to expand...
Click to collapse
To flash a zImage:
1. Place the zImage you want to flash inside your AndroidSDK\tools folder
2. Reboot your phone into FASTBOOT/bootloader mode
3. Run the following commands (from your AndroidSDK\tools PATH):
Code:
fastboot devices -- Should pull up serial #
Code:
fastboot boot zImage -- Your phone will automatically reboot
The command above will only temporarily boot the new zImage, meaning you can test and do whatever you want, but after you reboot your phone again -- your previous zImage will be reloaded, removing the current one you were testing (Recommended method for testing, until you're sure you want to permanently flash).
If you want to make the new zImage you're trying to flash permanent, enter this command instead:
Code:
fastboot flash zimage zImage
Fastboot might hang so just turn the power off on your Evo then put it back into “fastboot” mode by pressing on the Power button WHILE holding down the Volume down button. Then press Power button once more to enter “fastboot” mode. You should see the image flashing now. Just reboot after that.
I'm trying to flash a zImage and I first got this error with the 0.97 bootloader
Code:
writing 'zImage'... FAILED (remote: not allowed)
And with the eng bootloader the error says
Code:
writing 'zImage'... FAILED (remote: unknown fail)
Anybody have any ideas to fix this? I searched for a while and turned up nothing.
do you have eng .76 bootloader? it is the one needed for clockworkmod. also, instead of the second zimage, type the name of your file. are you on a mac or a pc? if you are on a mac, you will need the mac fastboot file. pm me if you need it.
dkdude36 said:
do you have eng .76 bootloader? it is the one needed for clockworkmod. also, instead of the second zimage, type the name of your file. are you on a mac or a pc? if you are on a mac, you will need the mac fastboot file. pm me if you need it.
Click to expand...
Click to collapse
I flashed the eng bootloader and that's when I started getting the "remote: unknown fail" error when trying to flashe the zimage.
The file IS named zImage so that's right.
Plot thickens- now it will only boot into fastboot. I tried restoring my nandroid and it will still only boot into fastboot. I can get into the bootloader and recovery no problem but the phone reboots into fastboot every time.
I tried to flash a stock PC36IMG file and during the install process next to boot it says Fail-PU.
Now it says "Partition update fail!"
Please tell me I didn't just brick my phone.
EDIT: Ok, I flashed the PC36IMG file again and now it's booting again. My question is this- is the kernel stored on the boot partition? Would wiping the boot partiton and then flashing the zImage work? What commands would I use to do that?
http://tinypic.com/r/2q9ifir/7
dont know what to do...
Replay
MishXT said:
****tinypic****/r/2q9ifir/7
dont know what to do...
Click to expand...
Click to collapse
I am a ubuntu user,
but you need root permissions,
Try what you get when you type : fastboot devices
When you get an error with no permissions. Get root acces (in ubuntu sudo -s)
try export the fastboot directory path and run fastboot devices again.
Then when that is working, try your thing again. There will be no errors
Murakuchi said:
I am a ubuntu user,
but you need root permissions,
Try what you get when you type : fastboot devices
When you get an error with no permissions. Get root acces (in ubuntu sudo -s)
try export the fastboot directory path and run fastboot devices again.
Then when that is working, try your thing again. There will be no errors
Click to expand...
Click to collapse
I'm pretty sure he figured this out already as his question is close to 2 years old.
Evilone69tmg said:
I'm pretty sure he figured this out already as his question is close to 2 years old.
Click to expand...
Click to collapse
+1 lolz
HipKat said:
+1 lolz
Click to expand...
Click to collapse
haha bless him he actually thought he was helping rofl hehe xx
KernelDev101 said:
haha bless him he actually thought he was helping rofl hehe xx
Click to expand...
Click to collapse
Hello, another post added to a year old thread.
I am getting trouble trying to flash a custom compiled HTC amaze x715e. (unbranded, S-off, unlocked, SuperCID)
I cross-compiled the kernel source and now have the zImage in my /arch/arm/boot folder.
fastboot flash zimage zImage
results in 'FAILED (remote: not allowed)'
fastboot boot zImage
results in 'FAILED (remote: reproduce boot image with on-flash ramdisk error)'
How am I suppose to flash this?
Is there a thread for this?
Thanks in advance.
hey guys anone knows how to flash a boot.img using a mac
im currently on ARHD by mike
i know i have to be in fastboot mode but what do i do next
Flash the boot image?
./fastboot-mac flash boot (name of boot image / e.g. boot_1.2.3.img)
thanks for the reply but when i type it it says (no such file or directory)
any ideas?
you have the image.img and fasthboot in same folder?
Be sure that you are typing the image name right.
please anyone give me RUU_Marvel_hTC_Asia_India_1.35.720.3_Radio_47.10.35.3029H_7.46.35.08_release_188899_signed.exe stock rom.
i want to unroot my phone and remove clockwork mode.
http://www.mediafire.com/?177rsnw9lxdv76e
You won't be able to flash it normally. You will have to follow the downgrade tutorial 1st
solved.
vbhtt said:
http://www.mediafire.com/?177rsnw9lxdv76e
You won't be able to flash it normally. You will have to follow the downgrade tutorial 1st
Click to expand...
Click to collapse
i want .exe file not .zip file as you can see in football's marvel stock roms.i found all roms except our asia_india version.if it's there you can directly flashed ruu.our badluck
and i have file that you mentioned so i unzip it and flashed system.img and recovery.img and boot.img in fastboot usb.
and its done.sucessfully returned to stock rom and stock recovery then updated via fota.and relock bootloader its done..
Did you unzip the file? The exe will be inside
vbhtt said:
Did you unzip the file? The exe will be inside
Click to expand...
Click to collapse
i unzip it.but cant see .exe..just hboot,system,recovery etc..
Then use fastboot to push them like
Fastboot flash <partition name> <filename>
vbhtt said:
Then use fastboot to push them like
Fastboot flash <partition name> <filename>
Click to expand...
Click to collapse
ya its done.i do it manually from fastboot usb.and well your thread is very good about phone brick.
here is the latest version which u can directly run ruu...
no need to downgrade your hboot or radio..
http://forum.xda-developers.com/showthread.php?t=1691164
Hi guys!
I've a problem with the flash of the zip or img file from the terminal on my Mac Osx 10.6.8!
When I try to flash with this command: "fastboot-mac flash boot boot.img" it write "Cannot load "boot.img".
The devices is online with fastboot usb.
The image below rappresent my problem!
Someone can help me please?
You should have the boot.img within the fastboot folder. (In the same folder as the fastboot files)
Are you root? On linux at least you need root to use fastboot.
Sent from my HTC One X using xda app-developers app
Yes the image file or the zip that i would to flash is always in the fastboot folder. I've also tried to flash with the root users but nothing. (image)
Is there a way to flash a recovery with access to only the bootloader/fastboot?
fokum8 said:
Is there a way to flash a recovery with access to only the bootloader/fastboot?
Click to expand...
Click to collapse
if your recovery is a zip file, unzip it and it will contain a img file (maybe recovery.img). You can flash that using
Code:
fastboot flash recovery recovery.img
alresave said:
if your recovery is a zip file, unzip it and it will contain a img file (maybe recovery.img). You can flash that using
Code:
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Remember the img must be in the directory with the fastboot.exe and that the correct drivers are installed for it to work. Also it may not be called recovery.img so use the name of the file depending on what it was, then you can use fastboot reboot to reboot afterwards.
Fastboot boot recovery.img is a temp recovery flash I think?