FORUMS

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of … more

OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

how to flash a zimage

159 posts
Thanks Meter: 5
 
By kaokollaa, Senior Member on 26th July 2010, 07:23 AM
Post Reply Subscribe to Thread Email Thread
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,670
 
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,670
 
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,945
 
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 ]
19th May 2013, 07:46 PM |#11  
Account currently disabled
Flag Austin,Texas
Thanks Meter: 715
 
Donate to Me
More
Quote:
Originally Posted by HipKat

+1 lolz

haha :P bless him he actually thought he was helping rofl hehe xx

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes