Flash boot.IMG without PC and s-on - Verizon HTC Droid Incredible 4G LTE

I take no credit for this information.
Extract boot.IMG from ROM.
Place boot.IMG on root of sdcard.
Open Terminal emulator and enter.
su
dd if=/sdcard/boot.img of=/dev/block/mmcblk0p21
Reboot to recovery, wipe, and flash.
Source: http://forum.xda-developers.com/sh...all on TACHYON using XDA Premium 4 mobile app

zax10 said:
I take no credit for this information.
Extract boot.IMG from ROM.
Place boot.IMG on root of sdcard.
Open Terminal emulator and enter.
su
dd if=/sdcard/boot.img of=/dev/block/mmcblk0p21
Reboot to recovery, wipe, and flash.
Source: http://forum.xda-developers.com/sh...u'd of forced an overwrite of who knows what.
Click to expand...
Click to collapse

Very true. I had already confirmed this myself. Thanks Mdmower. Should have put that in there.
Sent from my Fireball on TACHYON using XDA Premium 4 mobile app

not working
Says can't find boot partition: no such file or directory.
Xperia Pro MK16i using terminal emulator

Are you on a HTC incredible 4g? You signature says experia. If so you do not need to mess with with this.
Sent from my Fireball on TACHYON using XDA Premium 4 mobile app

Related

Is there a way to flash clockworkmod without fastboot?

My bro has not long got a Dell streak.. but has no computer to hook it up to.
Is there any way round flashing with fastboot?
The phone is already rooted.. so I just need to flash the recovery.
Can handle some command line stuff if anyone knows how to do it.
Thanks.
Sent from my Desire HD using XDA App
Bump!
The phone IS ROOTED already... So if I can mount /system I can delete the install-recovery.sh script so the stock recovery won't reflash.
But Rom manager flashes recovery to the wrong place apparently.
Can anyone tell me if 'flash_image' will work
My bro wants a custom Rom bad... But no pc to get him started
Sent from my Desire HD using XDA App
Maybe with terminal emulator, and clockwork on your sd card... Not sure tho, search the forums.
Just a brain storm.... But could I modify the install-recovery.sh script to flash cwm?
Sent from my Desire HD using XDA App
If someone could upload the script from their phone... Id really appreciate it.
Thanks
Sent from my Desire HD using XDA App
Yes it can be done with terminal on streak just make sure you su.
I will post the script for you if i get time
Cool... I knew it was possible.
He's definatley got Su privileges.. so just need to know the appropriate commands for him to type.
Thanks
Sent from my HTC Vision using XDA App
At a quick guess
Name the recovery something like recovery
copy the Recovery to the SD card
Make sure you have a terminal app on the phone
On the phone, Run the terminal application and type su press enter
Note that the terminal's text prompt will change from # to $
If it doesn't, then you haven't "rooted" the phone. Go back and try again!
In the Terminal, type
flash_image recovery /sdcard/recovery.img
when its done reboot the phone
Thats off top of my head but i think its right

Recovery

Important away from a computer for a few days and was wondering if there's a way to flash CWM recovery without a pc or any previous versions of CWM installed. I had the CWM at some point and now when i boot into recovery i have the stock Samsung recovery and can't flash anything......
Sent from my SAMSUNG-SGH-I717 using XDA
I believe you can flash the img from terminal
Yes.
Assuming you're rooted, you should be able to move it to the right partition with a terminal emulator on your phone.
studacris said:
Yes.
Assuming you're rooted, you should be able to move it to the right partition with a terminal emulator on your phone.
Click to expand...
Click to collapse
Sorry but im not familiar with using terminal.....could you post the steps i need to take? Thx in advance
Sent from my SAMSUNG-SGH-I717 using XDA
typically it would go like this
assuming you have the recovery image in the root directory of the sdcard
open the terminal app
$
type 'su'
you should get the # prompt
then
# cd sdcard
# flash_image recovery recovery_image_name
give that a try
jyazzie110 said:
Sorry but im not familiar with using terminal.....could you post the steps i need to take? Thx in advance
Sent from my SAMSUNG-SGH-I717 using XDA
Click to expand...
Click to collapse
animatechnica said:
typically it would go like this
assuming you have the recovery image in the root directory of the sdcard
open the terminal app
$
type 'su'
you should get the # prompt
then
# cd sdcard
# flash_image recovery recovery_image_name
give that a try
Click to expand...
Click to collapse
Thank you!!! I will try that and post results
Sent from my SAMSUNG-SGH-I727 using XDA
animatechnica said:
typically it would go like this
assuming you have the recovery image in the root directory of the sdcard
open the terminal app
$
type 'su'
you should get the # prompt
then
# cd sdcard
# flash_image recovery recovery_image_name
give that a try
Click to expand...
Click to collapse
Still a no go...
Sent from my SAMSUNG-SGH-I727 using XDA
animatechnica said:
typically it would go like this
assuming you have the recovery image in the root directory of the sdcard
open the terminal app
$
type 'su'
you should get the # prompt
then
# cd sdcard
# flash_image recovery recovery_image_name
give that a try
Click to expand...
Click to collapse
I keep getting "error scanning partitions: No such file or ditectory" i have the recovery.img file on the root of my sd card as well
Sent from my SAMSUNG-SGH-I727 using XDA
If you are rooted you can use the goo manager app in the play store to flash TWRP to your phone

[tutorial] flashing custom recovery via terminal emulator

SOME OF YOU HAVE PROBLEM WITH ROM MANAGER(LIKE ME) AND SOME WITH COMPUTER THATS WHY ITS THE PERFECT(99.9 % WORKING METHOD) TO FLASH CUSTOM RECOVERY VIA TE
TUTORIAL
YOU SHOULD BE ROOTED
I DONT HELD RESPONSIBLE IF SOMETHING HAPPENS TO UR BELOVED O1
1 NOW DOWNLOAD FLASH_IMAGE( http://www.mediafire.com/?7pkcte8gcyn9pet)
2 now download any recovery from this thread( forum.xda-developers.com/showthread.php?t=1523050 ) and extract the "RECOVERY.IMG" ONLY and place it in /sdcard/
3 extract the flash_image
4 USING ROOT MANAGER OR ANY OTHER FILE MANAGER(THAT GIVES YOU ROOT ACCESS) PUT FLASH_IMAGE IN /SYSTEM/BIN ya change ots permission to rwxr-xr-x(thanka for rembering coodingdroid)
5 IN TERMINAL EMULATOR
TYPE
su
it will prompt for root access allow it
then type this
flash_image recovery /sdcard/recovery.img
(and press enter)
you will now get this
#
now type reboot recovery
and you have got a new recovery for your phone
press thanks if i helped you
This should go into the general section.
Bytecode said:
This should go into the general section.
Click to expand...
Click to collapse
Yes and he forgot to mention that we need to set permissions, without setting permissions = no go
Code:
chmod 0777 /system/bin/flash_image
What do you mean by "3. Extract flash_image"?
It is a file, a script, isn't it?
Sent from my LG-P500 running Protos 0.0.1
CodingDroid said:
Yes and he forgot to mention that we need to set permissions, without setting permissions = no go
Code:
chmod 0777 /system/bin/flash_image
What do you mean by "3. Extract flash_image"?
It is a file, a script, isn't it?
Sent from my LG-P500 running Protos 0.0.1
Click to expand...
Click to collapse
ya u r saying right but wo chanhing the permissions it will still work but u still are correct
and the extracting thing is its in zip format the real file is 9.41kb which is inside the zip folder
androidisfuture said:
ya u r saying right but wo chanhing the permissions it will still work but u still are correct
and the extracting thing is its in zip format the real file is 9.41kb which is inside the zip folder
Click to expand...
Click to collapse
Okay now I understand.
But without settings permissions in /system/bin/, /xbin/, /init.d the system won't run the script, as it hasn't any permissions to run it.
Sent from my LG-P500 running Protos 0.0.1
so i need to put that flash file in system/bin and in /xbin ? i copy that but i dont see the file ... superuser allow me to copy that in /bin and /xbin but i dont see the file there .
buhanita said:
so i need to put that flash file in system/bin and in /xbin ? i copy that but i dont see the file ... superuser allow me to copy that in /bin and /xbin but i dont see the file there .
Click to expand...
Click to collapse
ok don't use superuser use any filenanager like solid; es and do it there will be no problem
and u have to put it in system/bin
I did all the things what you said above
But when i type
flash_image recovery /sdcard/recovery.img
I got error with out of memory
But I have a 110mb in internal memory
Now what I do
Sent from my LG-P500 using xda premium
acerkumar said:
i did all the things what you said above
but when i type
flash_image recovery /sdcard/recovery.img
i got error with out of memory
but i have a 110mb in internal memory
now what i do
Sent from my lg-p500 using xda premium
Click to expand...
Click to collapse
get a taskmanager kill all the apps running and then try
it will surely work
I did kill all apps and tried
It didn't show any error msgs
Sent from my LG-P500 using xda premium
---------- Post added at 07:03 PM ---------- Previous post was at 06:57 PM ----------
Is it safe type reboot recovery in terminal emulator
Or
Can I try to boot into recovery mode by turning off the phone and press
Vol +home+power button
Which is safe
Sent from my LG-P500 using xda premium
if it worked
press thanks
Yes, I have flashed amonra 3.0.6 successfully
Thank you :thumbup:
It's work like charm with in few seconds I had flashed amonra easily :thumbup:
Sent from my LG-P500 using xda premium
Hey guysss........there's no such command as "flash_image":crying::crying:
tharu_roxx said:
Hey guysss........there's no such command as "flash_image":crying::crying:
Click to expand...
Click to collapse
please follow the instructions
put the flash image in system/bin
please read before posting
Yeahhhh!!! It worked!! Thanxxx!
Current Device : MT11i Xperia Neo V
ROM : Xperia Ultimate HD ™
Build Number : 2.0.3
Kernel : Suave Kernel
Root Status : Rooted
Bootloader : Unlocked
Previous Devices : Samsung Galaxy Y
GT-5360(Sold)
Sent from my MT11i using XDA Premium HD app
Fastboot after
After recovery reboot I got into fastboot ... Oops .. :/
Can I use it on stock rooted Rom???
Sent from my HTC Desire X using xda app-developers app
sachin kamboj said:
Can I use it on stock rooted Rom???
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
You need to flash_image for that
Sent from my GT-I9082 using xda premium

Is it possible to flash a recovery with terminal emulator?

I know goo manager uses root permission to flash a recovery while the phone is on. So I was wondering if terminal emulator could do the same. I know this question is probably very noob-ish, but I'm curious.
Sent from my EVO using xda premium
You should be able to with root permission
You think you could enlighten me on the "how to"?
Sent from my EVO using xda premium
Yea its the same as when u do it via command prompt just do su at the start
Sent from my EVO using xda premium
Place the recovery on the root of your sd card. Make sure its not in any folders. Rename the recovery img "recovery.img" without the quotes. Then open up terminal. Type "su" without the quotes. Then when you receive the # sign, then type this
flash_image recovery /sdcard/recovery.img
(and press enter)
you will now get this
#
now type
reboot recovery
and you should boot into your recovery you just flashed.
#Root-Hack_Mod*Always=LTE
Ok, so what I'm trying to do is flash a stock recovery so I can take the ota. Does that sound feasible or am I just dreaming?
Sent from my EVO using xda premium
Jason021680 said:
You think you could enlighten me on the "how to"?
Sent from my EVO using xda premium
Click to expand...
Click to collapse
Be more specific next time, you asked if it was possible not how it was possible or what the relevant commands were.
My mistake
Sent from my EVO using xda premium
Jason021680 said:
My mistake
Sent from my EVO using xda premium
Click to expand...
Click to collapse
Its cool man we all been there. But as om4 posted you should always give exact details on what it is your trying to do or wanting to do. That way you get the best feedback. Also you can use the method I posted above to flash the stock recovery. However if you type the "reboot recovery" command and boot into the stock recovery you will have to hard shut down via power button to exit/reboot I believe. Not a 100% sure as I haven't seen the stock recovery since I first got this phone.
#Root-Hack_Mod*Always=LTE
laie1472 said:
Its cool man we all been there. But as om4 posted you should always give exact details on what it is your trying to do or wanting to do. That way you get the best feedback. Also you can use the method I posted above to flash the stock recovery. However if you type the "reboot recovery" command and boot into the stock recovery you will have to hard shut down via power button to exit/reboot I believe. Not a 100% sure as I haven't seen the stock recovery since I first got this phone.
#Root-Hack_Mod*Always=LTE
Click to expand...
Click to collapse
And it has to be an .img not a .zip right?
Sent from my EVO using xda premium
Yes it has to be an image file
Any idea where I can find a stock recovery .img?
Sent from my EVO using xda premium
adb tools
I'm having trouble getting it to flash though. Keeps saying flash image not found.
Sent from my EVO using xda premium
Did you make sure it was named correctly?? "recovery.img" not "recovery.img.img" without the quotes?? Also did you make sure it's on the "root" of your sd card. As in "not in any folders" ???
#Root-Hack_Mod*Always=LTE
make sure that the file is in the right directory. Just to make sure there is no misunderstanding, you did extract the image file from the archive I linked?
laie1472 said:
Did you make sure it was named correctly?? "recovery.img" not "recovery.img.img" without the quotes?? Also did you make sure it's on the "root" of your sd card. As in "not in any folders" ???
#Root-Hack_Mod*Always=LTE
Click to expand...
Click to collapse
Yeah, I renamed it recovery.img with no quotes. Yup root of the sdcard is where its at.
Sent from my EVO using xda premium
om4 said:
make sure that the file is in the right directory. Just to make sure there is no misunderstanding, you did extract the image file from the archive I linked?
Click to expand...
Click to collapse
Yeah the one that says stock_EVO4GLTE_recovery.img. I renamed it recovery.img and moved it to the root of my sdcard. No dice... Am I typing the command right? flash_image recovery /sdcard/recovery.img
Sent from my EVO using xda premium
Sent from my EVO using xda premium
The first one I tried it with the original name and the second I renamed it recovery.img
Sent from my EVO using xda premium

Please help I need a solution!!!

Hi so I just got an HTC one x+ and unlocked and it and rooted it. I flashbooted a boot.img from a custom and realized I forgot to put the custom ROM itself on the phone. My phone now can't use WiFi or show up on the computer unless in fastboot. I really need help please let me know what to do. Thanks!!!
Sent from my SGH-T999 using xda app-developers app
brianisawesome1 said:
Hi so I just got an HTC one x+ and unlocked and it and rooted it. I flashbooted a boot.img from a custom and realized I forgot to put the custom ROM itself on the phone. My phone now can't use WiFi or show up on the computer unless in fastboot. I really need help please let me know what to do. Thanks!!!
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Within a custom recovery, ex. TWRP. Go into advance and select adb sideload. Use adb to sideload the Rom using the command adb sideload Rom.zip to your phone
Sent from my HTC One X+ using Tapatalk
nheolon thous
I have a similar problem here.
I wanted to try this"adb sideload" but I can get ti to work because when I use "adb devices". I get nothing listed.
can I get an extra help please?
Thank you
XAlexander_AlexanderX said:
Within a custom recovery, ex. TWRP. Go into advance and select adb sideload. Use adb to sideload the Rom using the command adb sideload Rom.zip to your phone
Sent from my HTC One X+ using Tapatalk
Click to expand...
Click to collapse
I got cannot read ROM.zip anything more specific I didn't do
Sent from my SGH-T999 using xda app-developers app
brianisawesome1 said:
I got cannot read ROM.zip anything more specific I didn't do
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Use the name of the Rom. For example. If the Rom name is cm10. You type adb sideload cm10.zip
Sent from my HTC One X+ using Tapatalk
XAlexander_AlexanderX said:
Use the name of the Rom. For example. If the Rom name is cm10. You type adb sideload cm10.zip
Sent from my HTC One X+ using Tapatalk
Click to expand...
Click to collapse
Ya I did that and still sane problem
Sent from my SGH-T999 using xda app-developers app
brianisawesome1 said:
Ya I did that and still sane problem
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Is the Rom in the same folder as adb (if your using windows )?
Sent from my HTC One X+ using Tapatalk
XAlexander_AlexanderX said:
Is the Rom in the same folder as adb (if your using windows )?
Sent from my HTC One X+ using Tapatalk
Click to expand...
Click to collapse
Ill tell u step by step what I do:
1. Recovery to adb sideload on phone
2. Move ROM to c:\android where fastboot and adb are located
3. Run cmd
4. cd c:\android
5. Adb sideload "ROM name"
6. I get the error
Sent from my SGH-T999 using xda app-developers app
brianisawesome1 said:
Ill tell u step by step what I do:
1. Recovery to adb sideload on phone
2. Move ROM to c:\android where fastboot and adb are located
3. Run cmd
4. cd c:\android
5. Adb sideload "ROM name"
6. I get the error
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Adb is located in platform tools. Put Rom there and CD cmd there and run the command.
Sent from my HTC One X+ using Tapatalk
brianisawesome1 said:
Ill tell u step by step what I do:
1. Recovery to adb sideload on phone
2. Move ROM to c:\android where fastboot and adb are located
3. Run cmd
4. cd c:\android
5. Adb sideload "ROM name"
6. I get the error
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
open platform-tools(or the folder where adb is found) shift + right click on any empty space, you will find "open command prompt here" press on it, then type ADB devices, if it is read, simply type " adb sideload " then drag and drop the rom zip into the command prompt. it will automatically write its location and prevent the spelling mistakes.
IF: ADB devices can't read your device try the following:
1-Try another usb port, if you tried 2.0 then try 3.0 and vice versa.
2- If you are on windows vista or above, open start menu and search for cmd, right click on it and run as administrator, however you will have to cd to the platform tools location, " cd C:\Android\sdk\platform-tools " then you type in adb devices should read your device fine now. however running cmd as admin prevents the drag and drop technique (atleast here on windows 8.1 it does) so you have to type in the location of your rom and rom name correctly, and dont forget the .zip
Ghand0ur said:
open platform-tools(or the folder where adb is found) shift + right click on any empty space, you will find "open command prompt here" press on it, then type ADB devices, if it is read, simply type " adb sideload " then drag and drop the rom zip into the command prompt. it will automatically write its location and prevent the spelling mistakes.
IF: ADB devices can't read your device try the following:
1-Try another usb port, if you tried 2.0 then try 3.0 and vice versa.
2- If you are on windows vista or above, open start menu and search for cmd, right click on it and run as administrator, however you will have to cd to the platform tools location, " cd C:\Android\sdk\platform-tools " then you type in adb devices should read your device fine now. however running cmd as admin prevents the drag and drop technique (atleast here on windows 8.1 it does) so you have to type in the location of your rom and rom name correctly, and dont forget the .zip
Click to expand...
Click to collapse
Ok great thanks it worked! Question: can u flash a custom kernel that's not in the same and ROM? I got viper ROM and everything is slow and I'm trying to make it fast
Sent from my SGH-T999 using xda app-developers app
brianisawesome1 said:
Ok great thanks it worked! Question: can u flash a custom kernel that's not in the same and ROM? I got viper ROM and everything is slow and I'm trying to make it fast
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Since we have the stupid s-on, your choice of custom kernels is very limited and they make almost no difference, if you are on viper rom which is sense based, you can use the stock kernel (I THINK<<< Not sure) or insertcoin kernel's , but no they don't make any difference as far as i know. Try and see

Categories

Resources