FORUMS

Which Features from Apple Watch Do You Think Android Wear Will Copy?

The Apple Watch and Android Wear are both growing platforms. Now … more

XDA Picks: Best Apps of the Week (May 15 – 22)

Apps are at the front and center of any smartphone experience, and with over a … more

Android 5.1 for the Nvidia Shield Tablet is Out!

Nvidia is quite good at delivering updates in a timely fashion. The producer of famous … more

Other than XDA (of Course), What’s Your Favorite Site That Covers Android?

There is a number of other great sites that cover … more
Post Reply Subscribe to Thread Email Thread

how to flash a zimage

26th July 2010, 07:23 AM |#1  
kaokollaa's Avatar
OP Senior Member
Flag woodside
Thanks Meter: 5
 
More
please if some one knows how to flash a zimage kernel with adb shell????
The Following User Says Thank You to kaokollaa For This Useful Post: [ View ]
 
 
26th July 2010, 02:29 PM |#2  
Recognized Developer
Flag Walnutport, PA
Thanks Meter: 41
 
Donate to Me
More
Quote:
Originally Posted by kaokollaa

please if some one knows how to flash a zimage kernel with adb shell????

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)
The Following User Says Thank You to chuckhriczko For This Useful Post: [ View ]
26th July 2010, 02:37 PM |#3  
pseudoremora's Avatar
Senior Member
Thanks Meter: 70
 
More
Quote:
Originally Posted by kaokollaa

please if some one knows how to flash a zimage kernel with adb shell????

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.
Last edited by pseudoremora; 26th July 2010 at 02:39 PM.
The Following 4 Users Say Thank You to pseudoremora For This Useful Post: [ View ]
13th October 2010, 05:37 AM |#4  
_MetalHead_'s Avatar
Senior Member
Flag Chicagoland
Thanks Meter: 2,669
 
More
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.
13th October 2010, 05:46 AM |#5  
dkdude36's Avatar
Senior Member
Flag los angeles
Thanks Meter: 717
 
Donate to Me
More
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.
13th October 2010, 05:58 AM |#6  
_MetalHead_'s Avatar
Senior Member
Flag Chicagoland
Thanks Meter: 2,669
 
More
Quote:
Originally Posted by dkdude36

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.

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?
Last edited by _MetalHead_; 13th October 2010 at 06:20 AM.
8th February 2011, 06:44 PM |#7  
MishXT's Avatar
Senior Member
Flag Bradford
Thanks Meter: 42
 
More
http://tinypic.com/r/2q9ifir/7

dont know what to do...
10th January 2013, 03:28 PM |#8  
Junior Member
Thanks Meter: 7
 
More
Replay
Quote:
Originally Posted by MishXT

****tinypic****/r/2q9ifir/7

dont know what to do...

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
The Following User Says Thank You to Murakuchi For This Useful Post: [ View ]
10th January 2013, 05:40 PM |#9  
Evilone69tmg's Avatar
Senior Member
Flag Chicago
Thanks Meter: 396
 
Donate to Me
More
Quote:
Originally Posted by Murakuchi

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

I'm pretty sure he figured this out already as his question is close to 2 years old.
The Following User Says Thank You to Evilone69tmg For This Useful Post: [ View ]
12th January 2013, 12:35 AM |#10  
HipKat's Avatar
Recognized Contributor
Flag Peoria-hell, IL via Buffalo, NY
Thanks Meter: 1,931
 
Donate to Me
More
Quote:
Originally Posted by Evilone69tmg

I'm pretty sure he figured this out already as his question is close to 2 years old.

+1 lolz
The Following 2 Users Say Thank You to HipKat For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes