How do you push a Kernel through Fastboot via PC? - HTC Rezound

OK so I put the BAMF Cubed Kernel on my phone and now I can't flash other kernels.
Many of us are having this problem, and I am having trouble installing new kernels when I try new ROMs.
Would someone please tell me step by step how to do this?
My understanding is that the boot.img file should be placed in the same folder on my PC as adb.exe, Fastboot, etc...
Is this correct? If so, what is the command line I should use to push the kernel to the phone?

Example: I want to try the new RezROM ICS from lllboredlll.
I downloaded the ROM, and have the zip on my phone's SD card. I also have it on my PC.
When I open it, I see a folder called Kernel. In that folder, there is a boot image. Also in that folder is a PH98IMG file containing a second boot image.
Which one is the correct kernel file to push via PC?

The way I understand it and have been doing it. Open up the zipped rom and you will see a boot image , extract or copy it to the folder that you have fastboot in . Then in Hboot..pull up a CMD box.. and either change location or if you have abd in your path.. the instructions are fastboot flash boot boot.img
then that should flash the kernel .. then boot to recovery ..wipe data/factory reset and then flash the rom .

BBEgo said:
OK so I put the BAMF Cubed Kernel on my phone and now I can't flash other kernels.
Many of us are having this problem, and I am having trouble installing new kernels when I try new ROMs.
Would someone please tell me step by step how to do this?
My understanding is that the boot.img file should be placed in the same folder on my PC as adb.exe, Fastboot, etc...
Is this correct? If so, what is the command line I should use to push the kernel to the phone?
Click to expand...
Click to collapse
Boot the phone into fastboot. Plug in the USB cable, open a CMD window on your computer. Set the current directory to the folder with adb.exe, fastboot.exe, and your new boot.img file.
enter the command:
fastboot flash boot boot.img

How come no one sets up their path to include the android-SDK folder with adv, fastboot...etc? I did and makes life so much easier since you never have to cd to anything to run those commands.
Sent from my ADR6425LVW using Tapatalk

Related

Help with flashing 2.3.4

Solved. Thanks
jbrussee said:
Hi, I'm attempting to flash 2.3.4 after unlocking my AT&T Atrix. How do I fastboot flash it? Please give a step by step on how. I tried doing it like I did to unlock it but that did not work.
http://forum.xda-developers.com/showthread.php?t=1138092 gives no help whatsoever. horrid
Also, i need help on what files to use, where to place them, etc. I have the four files for windows (the two .img files + fastbootfriends (whatever its called) and the fastboot files)
Click to expand...
Click to collapse
Here's the guide for Windows x64/x86
I would say if you are struggling that much you probably should not try it until there is an easier way for you.
Sent from my MB860 using XDA Premium App
I can help
Make sure you have all your drivers installed, if you had them before, make sure you are using the same usb port.
Also make sure your phone is on usb debugging.
You can also run afterupdate bat file. (not needed)
Also download the zip file from the post above. or this http://forum.xda-developers.com/showthread.php?t=1139715
Take that folder and extract it with winrar or whatever you use and put the folder in your C drive.
Also make sure your phone is on usb debugging.
You can also run afterupdate bat file. (not needed)
Anyway extract the folder to your c drive.
open up cdm and you will see this
C:\Users\Your Name>
Now this is what you will type , your screen should look just like mine as long as you havent changed names of anything.
C:\Users\Your Name>cd C:\android-sdk-windows\tools
Then type this
cd C:\moto-fastboot
moto-fastboot flash boot atrix-2.3.4-hktw-boot.img
moto-fastboot flash system atrix-2.3.4-hktw-system.img
moto-fastboot -w
moto-fastboot reboot.
I know you installed the android sdk tools but just in case watch this video
http://www.youtube.com/watch?v=y6K1XLmafPc.
hope this helps

help with recovery

an anyone tell me what im doing wrong
I download the zip file and unzipped it to the C drive
The image files name is recovery-en-goapk
I have placed it inside C\android-sdk-windows\tools
then i type the following code
C:\Users\Mike>cd C:\android-sdk-windows\tools
then
C:\android-sdk-windows\tools>fastboot flash recovery C:\recovery-en-go-apk
then i get: error cannot load 'C:\recovery-en-goapk
http://forum.xda-developers.com/showthread.php?t=1138541
Make sure the recovery file is in the same directory as your fastboot.exe if using windows. The same goes for the moto-fastboot if using that one.
jra89027 said:
an anyone tell me what im doing wrong
I download the zip file and unzipped it to the C drive
The image files name is recovery-en-goapk
I have placed it inside C\android-sdk-windows\tools
then i type the following code
C:\Users\Mike>cd C:\android-sdk-windows\tools
then
C:\android-sdk-windows\tools>fastboot flash recovery C:\recovery-en-go-apk
then i get: error cannot load 'C:\recovery-en-goapk
Click to expand...
Click to collapse
SGTShark said:
http://forum.xda-developers.com/showthread.php?t=1138541
Make sure the recovery file is in the same directory as your fastboot.exe if using windows. The same goes for the moto-fastboot if using that one.
Click to expand...
Click to collapse
if you placed the recovery-en-go-apk file INSIDE the tools directory why would you be trying to point it to the root of C:\ ????
lets make a small attempt at logic. i damn sure would not be doing this to my device if i wasnt sure of the path of the file......

[Q] need quick help with adb and CWM for pudding

I flashed pudding on my 1.83 ATT atrix. This worked fine, and I am trying to get CWM for unlocked bootloaders now. I am following the instructions directly from the thread: http://forum.xda-developers.com/showthread.php?t=1138541
Problem is, after extracting the zip to C: and running "fastboot flash recovery C:\(image name).img", I get "fastboot is not recognized as an internal or external command..."
This leads me to believe that I don't have adb set up properly. I have standard adb set up for pushing apk's, but am I missing something specific for fastboot?
All i have under android-sdk-windows>platform-tools is adb.exe adbwinapi.dll and adbwinusbapi.dll. I DO have USB debugging on lol.
I seem to remember having more stuff under platform tools at an earlier date. All the threads for setting up adb are LONG buried, and after exhaustive searching, I finally gave up and decided to post (at least not in dev ). Even turning to google for adb help, I only get a bunch of the ad-farming tip websites that are outdated.
Please help me out guys. I can usually help myself after enough research, but I admit defeat on this one :/
Thanks much,
-omni
omni_angel7 said:
I flashed pudding on my 1.83 ATT atrix. This worked fine, and I am trying to get CWM for unlocked bootloaders now. I am following the instructions directly from the thread: http://forum.xda-developers.com/showthread.php?t=1138541
Problem is, after extracting the zip to C: and running "fastboot flash recovery C:\(image name).img", I get "fastboot is not recognized as an internal or external command..."
This leads me to believe that I don't have adb set up properly. I have standard adb set up for pushing apk's, but am I missing something specific for fastboot?
All i have under android-sdk-windows>platform-tools is adb.exe adbwinapi.dll and adbwinusbapi.dll. I DO have USB debugging on lol.
I seem to remember having more stuff under platform tools at an earlier date. All the threads for setting up adb are LONG buried, and after exhaustive searching, I finally gave up and decided to post (at least not in dev ). Even turning to google for adb help, I only get a bunch of the ad-farming tip websites that are outdated.
Please help me out guys. I can usually help myself after enough research, but I admit defeat on this one :/
Thanks much,
-omni
Click to expand...
Click to collapse
If your on linux it's "./moto-fastboot" not just fastboot.
Windows 7 64 bit. sorry, should have specified.
Nobody with win 7 knowledge/advice?
Alrighty, let us see here...
Try this.
1: Create a folder named fastboot (or whatever you prefer, just something simple like that) on the root of your C drive.
2: Download this file, http://www.mediafire.com/?yl17mz8l7w9h687
3: Unzip contents of said file into the folder you created in step 1
4: Click on Start, type cmd into the bar at the bottom and hit enter
5: Type cd C:\fastboot (or whatever you named the folder in step one)
6: Type moto-fastboot flash recovery recovery-en-goapk-0630-1029.img
That should work. The recovery included in the flash is current AS OF THIS POST. Obviously, the instructions will change if you download a newer copy of CWM as they are released, since the filename of the recovery file will change.
If you are wondering why it is moto-fastboot, the fastboot I included is the modified one that allows for larger img flashing. Not particularly useful anymore, with CWM working well now and all... but hey.
Diviance said:
Alrighty, let us see here...
Try this.
1: Create a folder named fastboot (or whatever you prefer, just something simple like that) on the root of your C drive.
2: Download this file, http://www.mediafire.com/?yl17mz8l7w9h687
3: Unzip contents of said file into the folder you created in step 1
4: Click on Start, type cmd into the bar at the bottom and hit enter
5: Type cd C:\fastboot (or whatever you named the folder in step one)
6: Type moto-fastboot flash recovery recovery-en-goapk-0630-1029.img
That should work. The recovery included in the flash is current AS OF THIS POST. Obviously, the instructions will change if you download a newer copy of CWM as they are released, since the filename of the recovery file will change.
If you are wondering why it is moto-fastboot, the fastboot I included is the modified one that allows for larger img flashing. Not particularly useful anymore, with CWM working well now and all... but hey.
Click to expand...
Click to collapse
Thanks SO much for the quick response and all the effort I'd actually updating OTA from 1.26 because I flashed back, thinking no one was gonna help! Well, when I feel up to it another night. I'll give this another shot. Thanks for the custom fastboot, too!
i get < waiting for device >
did i do something wrong?
Me too. ^^^^^^^
I figured it out, i forgot to put it into fastboot mode!
did not work for me
when I do what you told the other guy it says system cant find the path specified couls you please help I have spent a couple of days trying different things and also when I try to erase the recovery installer file it want let me

Bricked Badly

Hello i have a transformer prime and i did some work on it and at this moment, it has not any files in it but i can access cwm recovery and fastboot mode. Plz help me. I think that somehow i need to put rom inside so i can flash it with cwm but how.
Put rom on sd card?
Sent from my Galaxy Nexus using XDA Premium HD app
Although you may get flamed from posting in Dev instead of QA,iIf you have fastboot access from your PC, then you can run the following command:
fastboot -i 0x0b05 flash staging YourChoiceOfRom.blob
Afterwards, reboot your TFP and your new rom should install.
If not, you can also try using ADB to push the file from your PC to the tablet's internal storage, then install through CWM.
kokopuphz said:
Although you may get flamed from posting in Dev instead of QA,iIf you have fastboot access from your PC, then you can run the following command:
fastboot -i 0x0b05 flash staging YourChoiceOfRom.blob
Afterwards, reboot your TFP and your new rom should install.
If not, you can also try using ADB to push the file from your PC to the tablet's internal storage, then install through CWM.
Click to expand...
Click to collapse
ADB push a rom onto /sdcard from your pc through Recovery
SFG said:
ADB push a rom onto /sdcard from your pc through Recovery
Click to expand...
Click to collapse
Download nvflash from the dev thread, extract it to C: it has adb in it. Download universal naked driver from dev thread, install the drivers as per the opening page (the prime is connected to the pc by cable at this point and booted into cwm). Download a rom, put it in the nvflash folder where the adb.exe is. Open the folder so you can see adb.exe, press and hold the shift key, right click the mouse, from the menu select open command window here. In the window, type adb push (enter name of the rom) don't forget the .zip at the end, press enter. This will take about 5 minutes to transfer. Reboot to cwm, install the zip (rom). You should be good to go.

Question What if I directly flash the zip file "DN2101_A15"?

So, I tried flashing it through Partition backer but it always should some error, I also placed it in the same folder as the platform-tools and extract zip of file but it does not work. I was thinking what would if I flashed it directly using ADB Sideload? What could go wrong?

Categories

Resources