I was trying to flash faux kernel via recovery but i got the status 7 error so i guess the problem is that because iam s-on so plz anybody knows how to flash a custom kernel with s-on.
yus99 said:
I was trying to flash faux kernel via recovery but i got the status 7 error so i guess the problem is that because iam s-on so plz anybody knows how to flash a custom kernel with s-on.
Click to expand...
Click to collapse
Flash the boot.img from the zip via fastboot.
You can find the instructions here: http://forum.xda-developers.com/showthread.php?p=25587345
Make sure you use the boot.img from the zip & not the one from the guide.
HI
So just to make sure these are the steps:
Put the"boot.img" in your "C:\Android" (or wherever your adb and fastboot are located)
Shift right click in the white space on that folder
Select "Open command window here
Type in: adb
Type in: adb reboot-bootloader
Your phone will reboot, wait until you see a white screen which says "FASTBOOT USB"
Type in: "fastboot flash boot boot.img"
Wait until it's done flashing
Type in: "fastboot reboot"
One more thing i didnt see the boot.img in the zip of the kernel there are three folders:
1- kernel
2- META-INF
3- system
In the kernel folder there are these files:MKbootimg,dd,unpackbootimg,zImage,mkbootimg.sh,modclean.sh
What to do I am so confused
yus99 said:
So just to make sure these are the steps:
Put the"boot.img" in your "C:\Android" (or wherever your adb and fastboot are located)
Shift right click in the white space on that folder
Select "Open command window here
Type in: adb
Type in: adb reboot-bootloader
Your phone will reboot, wait until you see a white screen which says "FASTBOOT USB"
Type in: "fastboot flash boot boot.img"
Wait until it's done flashing
Type in: "fastboot reboot"
One more thing i didnt see the boot.img in the zip of the kernel there are three folders:
1- kernel
2- META-INF
3- system
In the kernel folder there are these files:MKbootimg,dd,unpackbootimg,zImage,mkbootimg.sh,modclean.sh
What to do I am so confused
Click to expand...
Click to collapse
thats a recovery flashable zip
you can flash that via recovery only
as you are SON ...better have 4EXT recovery
there ..just enable smartflash in 4EXT-> tools and then flash the kernel package
EDIT:
this thread explains the reason for error 7 and the probable fix
http://forum.xda-developers.com/showthread.php?t=1556620
hi
just one more thing do i need to uninstall my current recovery to install the 4-ext one or just install it.
yus99 said:
just one more thing do i need to uninstall my current recovery to install the 4-ext one or just install it.
Click to expand...
Click to collapse
just install it either via fastboot
fastboot flash recovery recovery.img
recovery.img from here (its rc3 ...and latest is rc5 btw)
or
via 4EXT updater app available in sensation development thread
Related
I htcdev unlocked my phone with the all in one Htc one x program. It all worked fine but i accidentally flashed an htc one x kernel on my sensation! Ive seen people say to just install a new one but when i do that it says an error about the boot.img. Help please!! SON btw
Reatret said:
I htcdev unlocked my phone with the all in one Htc one x program. It all worked fine but i accidentally flashed an htc one x kernel on my sensation! Ive seen people say to just install a new one but when i do that it says an error about the boot.img. Help please!! SON btw
Click to expand...
Click to collapse
Download a ROM, extract its boot.img then use fastboot command:
fastboot flash boot boot.img
Oh and p.s dont use tools designed for other phones in future - why you needed one to htcdev unlock is beyond me though, the instructions are perfectly clear on the htcdev.com website
Jonny said:
Download a ROM, extract its boot.img then use fastboot command:
fastboot flash boot boot.img
Oh and p.s dont use tools designed for other phones in future - why you needed one to htcdev unlock is beyond me though, the instructions are perfectly clear on the htcdev.com website
Click to expand...
Click to collapse
Its a lot easier that way, I found. Anyways, could you pleaselink me to a stable working rom? I dont trust myself on finding one. and what do you mean by "use fastboot command: fastboot flash boot boot.img"
Reatret said:
Its a lot easier that way, I found. Anyways, could you pleaselink me to a stable working rom? I dont trust myself on finding one. and what do you mean by "use fastboot command: fastboot flash boot boot.img"
Click to expand...
Click to collapse
You need the adb/fastboot files to use the fastboot command, there is a link either in the "flashing ROM's with S-ON" guide or in the "Guide to S-OFF, custom recovery and SuperCID" thread - sorry, Im on my phone so cant link it.
Then put the files in C:\adb and open command prompt and type:
cd C:\adb
then press enter
Next you need to extract the boot.img from a Sense ROM zip file - any from the dev thread will do as long as its a Sense ROM - and place boot.img in the C:\adb folder then put phone into bootloader, connect to computer and select "fastboot USB" from the phones bootloader menu and then type the following command into command prompt:
fastboot flash boot boot.img
hit enter then type:
fastboot reboot
press enter and all done
Jonny said:
You need the adb/fastboot files to use the fastboot command, there is a link either in the "flashing ROM's with S-ON" guide or in the "Guide to S-OFF, custom recovery and SuperCID" thread - sorry, Im on my phone so cant link it.
Then put the files in C:\adb and open command prompt and type:
cd C:\adb
then press enter
Next you need to extract the boot.img from a Sense ROM zip file - any from the dev thread will do as long as its a Sense ROM - and place boot.img in the C:\adb folder then put phone into bootloader, connect to computer and select "fastboot USB" from the phones bootloader menu and then type the following command into command prompt:
fastboot flash boot boot.img
hit enter then type:
fastboot reboot
press enter and all done
Click to expand...
Click to collapse
Is there a way to get the adb/fastboot files on a bricked phone? :C
lefiese wilful
Jonny said:
You need the adb/fastboot files to use the fastboot command, there is a link either in the "flashing ROM's with S-ON" guide or in the "Guide to S-OFF, custom recovery and SuperCID" thread - sorry, Im on my phone so cant link it.
Then put the files in C:\adb and open command prompt and type:
cd C:\adb
then press enter
Next you need to extract the boot.img from a Sense ROM zip file - any from the dev thread will do as long as its a Sense ROM - and place boot.img in the C:\adb folder then put phone into bootloader, connect to computer and select "fastboot USB" from the phones bootloader menu and then type the following command into command prompt:
fastboot flash boot boot.img
hit enter then type:
fastboot reboot
press enter and all done
Click to expand...
Click to collapse
Oh nevermind! I got it down, I am downloading ViperS Rom, i understand all your instructions now!! I am very confident this will work, ill reply with results.
Jonny said:
You need the adb/fastboot files to use the fastboot command, there is a link either in the "flashing ROM's with S-ON" guide or in the "Guide to S-OFF, custom recovery and SuperCID" thread - sorry, Im on my phone so cant link it.
Then put the files in C:\adb and open command prompt and type:
cd C:\adb
then press enter
Next you need to extract the boot.img from a Sense ROM zip file - any from the dev thread will do as long as its a Sense ROM - and place boot.img in the C:\adb folder then put phone into bootloader, connect to computer and select "fastboot USB" from the phones bootloader menu and then type the following command into command prompt:
fastboot flash boot boot.img
hit enter then type:
fastboot reboot
press enter and all done
Click to expand...
Click to collapse
By the way, the exact error is 'assert failed: write_raw_image("/tmp/newboot.img","boot")'
Reatret said:
By the way, the exact error is 'assert failed: write_raw_image("/tmp/newboot.img","boot")'
Click to expand...
Click to collapse
Yep, because you are S-ON, the script cant write to the boot partition which is why the fastboot flash boot boot.img workaround is needed
Jonny said:
Yep, because you are S-ON, the script cant write to the boot partition which is why the fastboot flash boot boot.img workaround is needed
Click to expand...
Click to collapse
Do you know where the boot.img is located? I downloaded CoreDrod Sensation and cant seem to find it.
boot.img is located
try to explore or double click the ROM you download ROMname.rar boot.img must in the archive.
Reatret said:
Do you know where the boot.img is located? I downloaded CoreDrod Sensation and cant seem to find it.
Click to expand...
Click to collapse
I dont know where its located in every ROM, just a few. My Sense 3.6 ROM boot.img is located in Extras/Kernel/ but most are just in the root of the file - I do things a little different because of the way my customizations in Aroma Installer work
I'm newbie in the Android world. I'm now rooting my HTC IncS using this guide (http://forum.xda-developers.com/show....php?t=2118187) and now stuck at step 3 which is unlocking bootloader. In this area I'm stuck where command prompt and fastbooting is included.
I'm not moving on steps unless I fastboot my IncS before I connect so I can do the step 8 and so on htcdev.com ...
What to do? I need how to fastboot my IncS. Thanks for the help.
The link is broken, but this is how fastboot is used:
1. Go to the fastboot folder and press shift+right click, then select open command prompt here
2. type in: "fastboot flash boot boot.img" where the boot.img is the file, you put in the folder before. It can also be kernel.elf, so then you type: fastboot flash boot kernel.elf
Thank you for the reply. :good::good::good:
But can you help me more? I have already flash my recovery and when I select recovery from the bootloader, it doesn't open the window where I will install the .zip files. It always turn on everytime I do it. Is there a step I did wrong?
Here is the guide I'm referring.
http://forum.xda-developers.com/showthread.php?t=2118187
[SOLVED] (not sure how to tag as solved in the title, if mods can do that please or tell me how)
Flashed Clockwork Mod Recovery following these instuctions
droidviews.com/2013/install-clockworkmod-recovery-on-motorola-droid-razr-hd-xt925gsm/
Installed Rom manager.
Booting into recovery results in robot on his back with the triangle and exclamation point animation and stays there unless I
force reboot by holding the power button. Phone boots to stock rom or fastboot just fine.
Tried reflashing CWM just in case.
I am rooted via motochopper
Unlocked bootloader via motopocalyspe.
I factory reset my phone prior to all this so there are only a few apps installed, also SuperSU installed.
Rogers version XT925
Anyone else have this issue or know how to fix it?
Are you using the cmd 'fastboot flash recovery recovery.img'
?
Sent from my Desire HD
ykdr-scott said:
Are you using the cmd 'fastboot flash recovery recovery.img'
?
Sent from my Desire HD
Click to expand...
Click to collapse
Thanks for the quick reply; yes that is the command I used to flash the recovery image to my phone.
check see if your recovery image is in the same directory as your fastboot eg Cmd > cd C:/fastboot flash recovery recovery.Img
I always paste my files directly into cd C:/ .
If you have them in a folder in c it would be ' cd C:/folder name here fastboot flash recovery recovery.img
Sent from my Desire HD
ykdr-scott said:
check see if your recovery image is in the same directory as your fastboot eg Cmd > cd C:/fastboot flash recovery recovery.Img
I always paste my files directly into cd C:/ .
If you have them in a folder in c it would be ' cd C:/folder name here fastboot flash recovery recovery.img
Sent from my Desire HD
Click to expand...
Click to collapse
They are in the same folder, in the mean time I actually found another thread with the same problem. I guess I didn't search hard enough the first time before posting. I found a 1 click installer for CWM/TWRP that fixed my issue. I'm guessing I may have just had a bad recovery img or something.
http://forum.xda-developers.com/showthread.php?p=42255792#post42255792
links to the thread with the 1 click installer.
Hello,
I have followed a tutorial for solving the problem of "Fastboot mode started
udc_start()" from this thread http://forum.xda-developers.com/showthread.php?t=2131247 and something was go wrong.
I have done this steps in the sdk platform tools folder:
1- fastboot erase recovery
2- fastboot flash recovery recovery.img ( here i've got an error)
3- fastboot reboot
Everyting was ok until I have tried to write the .img file on the phone. I've got an error that I don't have enough space. I think I have deleted the recovery file and now it's stuck, because it's not booting. The 4 leds from the bottom it's flashing continuously and the screen remains to the LG logo. I have tried to connect the phone to the PC but the device it's not recognized anymore. I get this message in the adb tool "Waiting for device"
I really appreciate if it's someone that can help me
I have a p500 and I had the exact same problem as you. But I was able to fix it after a lot of Googling.
Can you get to fastboot right now? If so, make sure that the recovery you downloaded is correctly named "recovery.img" and is placed in the same folder as adb.exe is located. After that, type:
Code:
fastboot devices
into ADB. If your device is listed then proceed and type:
Code:
fastboot flash recovery recovery.img
If nothing comes up when you ask it to list fastboot devices you need to delete all of the drivers associated with your p350, and then reinstall them using a toolkit or PDAnet. Then go back and try fastboot devices again.
.
Logan_M said:
I have a p500 and I had the exact same problem as you. But I was able to fix it after a lot of Googling.
Can you get to fastboot right now? If so, make sure that the recovery you downloaded is correctly named "recovery.img" and is placed in the same folder as adb.exe is located. After that, type:
Code:
fastboot devices
into ADB. If your device is listed then proceed and type:
Code:
fastboot flash recovery recovery.img
If nothing comes up when you ask it to list fastboot devices you need to delete all of the drivers associated with your p350, and then reinstall them using a toolkit or PDAnet. Then go back and try fastboot devices again.
.
Click to expand...
Click to collapse
No, I can't get to fastboot. I can't do anything with the command line. It remains to the logo screen
catalin11 said:
No, I can't get to fastboot. I can't do anything with the command line. It remains to the logo screen
Click to expand...
Click to collapse
Can you pull the battery and then use the combination to get into Fastboot? If you can't get to fastboot, then the problem is beyond what I'm capable of doing.
Though, the problem may be that you completely deleted your recovery.
Logan_M said:
Can you pull the battery and then use the combination to get into Fastboot? If you can't get to fastboot, then the problem is beyond what I'm capable of doing.
Though, the problem may be that you completely deleted your recovery.
Click to expand...
Click to collapse
Now, I'm back to the first problem
"Fastboot mode started udc_start()
-- suspend --
-- suspend --
"
catalin11 said:
Now, I'm back to the first problem
"Fastboot mode started udc_start()
-- suspend --
-- suspend --
"
Click to expand...
Click to collapse
if i write this in cmd "fastboot flash recovery recovery.img" it apear < waiting for device > and nothing happens
catalin11 said:
if i write this in cmd "fastboot flash recovery recovery.img" it apear < waiting for device > and nothing happens
Click to expand...
Click to collapse
now i'm in the emergency mode
Problem solved:
1- download the official drivers from LG Site
2- cmd and:
fastboot erase boot
fastboot erase system
fastboot erase userdata
fastboot -w
fastboot flash recovery recovery.img (Clowork custom recovery)
Fastboot Reboot
Installing Cyanogen after i erase everything (fastboot erase sdcard). I like fresh starts
some1 pls help me
catalin11 said:
Problem solved:
1- download the official drivers from LG Site
2- cmd and:
fastboot erase boot
fastboot erase system
fastboot erase userdata
fastboot -w
fastboot flash recovery recovery.img (Clowork custom recovery)
Fastboot Reboot
Installing Cyanogen after i erase everything (fastboot erase sdcard). I like fresh starts
Click to expand...
Click to collapse
can u plz elaborate...i too have the same problem....plz..
Logan_M said:
If so, make sure that the recovery you downloaded is correctly named "recovery.img" and is placed in the same folder as adb.exe is located.
Click to expand...
Click to collapse
That is incorrect. The recovery does NOT have to be named recovery to use fastboot to flash it, although it does make life simpler
i was try to flash SVHD 2.0.0 rom and i successfully flashed it via recovery .i flash its boot image with HTC Desire S All In One Kit and boot image was successfully flashed but when i switch on the phone after the HTC logo it shows the black screen and phone doesnt boot up . Will any one help me about this problem or can anyone tell me where i am going wrong .
I am having hboot 2.02.0002 and radio 3831.19.00.110
Did u flash the boot.img from the latest svhd zip or an older version?
Extract the boot.img from the zip and try flashing it via cmd in fastboot.
Cheers
FromBeyondThisWorld
#Fear said:
Did u flash the boot.img from the latest svhd zip or an older version?
Extract the boot.img from the zip and try flashing it via cmd in fastboot.
Cheers
FromBeyondThisWorld
Click to expand...
Click to collapse
i flashed boot.img of new svhd rom 2.0.0 and i flash it through HTC Desire S All In One Kit . please help
Try flashing it manual without using the toolkit.
First you would need an adb and fastboot setup.
Open the rom (.zip file) you downloaded and put the ''boot.img'' file in ''C:\android-tools''.
Make a nandroid backup
Full wipe(except sd)
Flash rom
Select reboot into fastboot
Flash the boot.img manual by :
- Go to start->run-> type cmd and press enter. A command prompt will now appear.
cd c:\android-tools [press enter]
fastboot flash boot boot.img [press enter]
Click to expand...
Click to collapse
Do make sure you're in fastboot and not the other.
After it's successfully installed, turn of your phone and just boot normally. It may take a while for your phone to boot up.