[TUT][HOW TO] Flash Recovey without use bootloader - HTC Wildfire S

Hi guyz! With this small guide I hope i'll explain to you how to flash a recovery without bootloader. C'mon!
1) Download the recovery
2) Extract the recovery image in the zip (normally the folder is named "pg76img.zip" and the recovery "recovery.img")
4) Download terminal emulator
5) Open Terminal Emulator
6) Write su and accept superuser request
7) write flash_image recovery /sdcard/recovery.img
8) if you'd like to try if recovery work write reboot recovery
9) enjoy!
-EDIT-
This script doesn't work with stock rom (sense roms)
Sent from my Wildfire S using xda app-developers app

This method won't work on Sense ROMs unless you install the flash_image script (Else you'll get not found or something similar).
Assuming you've already downloaded and installed Android SDK and that stuff, we can start:
1. Extract the script. Let's say you extracted it to your Desktop.
2. Connect your WFS with android debugging on.
3. Type the following:
Code:
adb root (enter)
adb remount (enter)
adb push Desktop\flash_image /system/bin (enter)
adb shell chmod 0755 /system/bin/flash_image (enter)
4. Flash your recovery. (In this case, your recovery.img is on /sdcard/)
Code:
adb shell flash_image recovery /sdcard/recovery.img
That's all. And there's no need to do this on CM-based ROMs as they already have this command script.

ScardracS said:
Hi guyz! With this small guide I hope i'll explain to you how to flash a recovery without bootloader. C'mon!
1) Download the recovery
2) Extract the recovery image in the zip (normally the folder is named "pg76img.zip" and the recovery "recovery.img")
4) Download terminal emulator
5) Open Terminal Emulator
6) Write su and accept superuser request
7) write flash_image recovery /sdcard/recovery.img
8) if you'd like to try if recovery work write reboot recovery
9) enjoy!
Sent from my Wildfire S using xda app-developers app
Click to expand...
Click to collapse
this won't work on stock roms....as stock doesn't have flash_image script....so mention in OP only for cm based roms....& ofcourse for stock based roms djoliver has already posted a tut

Related

[GUIDE] How to Root the Motorola Xoom

Article found on BriefMobile!
1. Download the Motorola Xoom Root Zip file and unzip it. Download
2. Place the files in the SDK Tools folder.
3. adb reboot bootloader (You can skip the next 3 steps if you’ve unlocked with fastboot previously)
5. fastboot oem unlock (wait for reboot)
6. adb reboot bootloader
7. fastboot flash boot rootboot.img
7. fastboot reboot (wait for reboot)
8. adb remount
9. adb shell push su /system/bin
10. adb shell ln –s /system/bin/su /system/xbin/su
11. adb shell chmod 4755 /system/bin/su
12. adb push Superuser.apk /system/app
Thanks for the hard work Koush! His website
Awesome. Let's get a boot image to make roms
Sent from my DROIDX using Tapatalk
Are we gonna be able to undo this when we send them back for the upgrade?
Ok I have rooted a few times via ADB and have no idea what steps 5-7 mean. What does fastboot oem unlock mean? And what does number 7 mean,,,in english for us dummys please LOL
5. fastboot oem unlock (wait for reboot)
6. adb reboot bootloader
7. fastboot flash boot rootboot.img
7. fastboot reboot (wait for reboot)
camblue said:
Ok I have rooted a few times via ADB and have no idea what steps 5-7 mean. What does fastboot oem unlock mean? And what does number 7 mean,,,in english for us dummys please LOL
5. fastboot oem unlock (wait for reboot)
6. adb reboot bootloader
7. fastboot flash boot rootboot.img
7. fastboot reboot (wait for reboot)
Click to expand...
Click to collapse
You have to type those commands in your adb command window.
yes, fastboot is a tool included with the android sdk just like adb
it has somewhat different functions though
smaskell said:
yes, fastboot is a tool included with the android sdk just like adb
it has somewhat different functions though
Click to expand...
Click to collapse
Ok so question,,,, i downloaded the files, should i take them out of the xoomroot folder and place in the sdk tools folder or the folder itself?
also do i unzip the rootboot zip?
camblue said:
Ok so question,,,, i downloaded the files, should i take them out of the xoomroot folder and place in the sdk tools folder or the folder itself?
also do i unzip the rootboot zip?
Click to expand...
Click to collapse
put those files with the sdk tools. rootboot shows a disc image to me. i would leave that alone
socomdark said:
put those files with the sdk tools.
Click to expand...
Click to collapse
Ok i dont mean to be difficult but does that mean take them out of the xoomroot folder and place all three of them individually into the sdk tools folder? thank you!
everytime i try
adb shell ln –s /system/bin/su /system/xbin/su
i always get a link failed no such file or directory but i just pushed su to the system/bin folder... any ideas on whats going on?
http://www.koushikdutta.com/2011/02/motorola-xoom-rooted.html
It's from Koush!
Update: I dont think that the command shell should be in step 12?
2 things. Fastboot was not included in my fresh download of the 3.0 SDK tools.
I grabbed it here:
http://developer.htc.com/adp.html#s2
And second, with the newest Android 3.0 SDK, at step 12, pushing the su file, I recieve:
push: not found
If I go into adb-shell and type "push" I recieve the same error?
I got the moto dev drivers & 3.0 sdk and can do push / pull.
lasphyxial said:
everytime i try
adb shell ln –s /system/bin/su /system/xbin/su
i always get a link failed no such file or directory but i just pushed su to the system/bin folder... any ideas on whats going on?
Click to expand...
Click to collapse
On same step...even looked and su is in the first folder.
camblue said:
Ok i dont mean to be difficult but does that mean take them out of the xoomroot folder and place all three of them individually into the sdk tools folder? thank you!
Click to expand...
Click to collapse
oh sorry, yes take them out of xoom root folder and into sdk tools individually.
koush made a mistake on one of the instructions and had fix it so the op wont be entirely accurate. use instructions from koush's site
This is what i did, and i just deleted the 2 games that come with the tablet.
1. # Download the XOOM root zip.
2. # Unzip the package.
3. # Put your junk in the box.
4. adb reboot bootloader (skip the next 3 steps if you have already unlocked via fastboot)
5. fastboot oem unlock
6. # wait for reboot
7. adb reboot bootloader
8. fastboot flash boot rootboot.img
9. fastboot reboot
10. # wait for reboot
11. adb remount
12. adb push su /system/bin
13. adb shell ln –s /system/bin/su /system/xbin/su <<i didnt do this step, instead i did 13. adb push su /system/xbin
14. adb shell chmod 4755 /system/bin/su
15. adb push Superuser.apk /system/app
Here you go
thank you very much! Has anyone did this with success yet?
camblue said:
thank you very much! Has anyone did this with success yet?
Click to expand...
Click to collapse
I think the real question is once the bootloader is unlocked and system rooted, will unrooting and re-locking the bootloader be detected by motorola when sending it in for the 4glte upgrade???
camblue said:
thank you very much! Has anyone did this with success yet?
Click to expand...
Click to collapse
I did, but i changed one step...look up 2 post.

[RECOVERY] Official TWRP 2.4.4.0 for Acer A100

Hey all, I found the most recent TWRP recovery on Goo.im for our A100's. I installed using Ubuntu.
Here's the link: http://goo.im/devs/OpenRecovery/a100/openrecovery-twrp-2.4.4.0-a100.img
To install, plugin your USB cable to your device, open a terminal window, cd to the directory you downloaded the img file to then:
Code:
sudo -s (then enter your Ubuntu account password)
adb reboot bootloader
fastboot flash recovery openrecovery-twrp-2.4.4.0-a100.img
fastboot reboot
It's working great for me. :laugh: :good:

[TUT]How to flash a rom when your device boots in recovery or hboot.

You just want to flash a new rom... you did all the wipes and then you realize that you don't have any rom or nandroid backup on your sd card. ***! Don't worry bro. This is what you can do:
1. Search for a wonderful rom in the Android development section.
2. Download it and paste the rom.zip in the same folder where adb and fastboot are.
3. Go to Clockworkmod Recovery.
4. Go to mounts and storage.
5. You must see "unmount /sdcard/" and "unmount /system/".
6. open up command prompt and cd to your adb folder.
7. In adb, type: adb push romname.zip /sdcard/ where romname.zip is the name of the zip (you must have enough space left on your sd card).
8. Flash the rom and enjoy!
When you don't have Clockworkmod installed, do this:
1. Download the Clockworkmod recovery img.
2. Put it in your adb folder.
3. Open up command prompt.
4. Boot your device in hboot and connect it with the usb cable.
5. Cd to your adb folder.
6. In command prompt, type: fastboot flash recovery name.img where name.img is the exact name of the clockworkmod recovery img.
7. You just installed Clockworkmod recovery!
If this is too hard for you, flash an RUU.
Some tips:
1. Sometimes type: adb devices or fastboot devices.
2. Be sure you don't have a faulty usb cable.
3. For the lazy people, when you download a rom or recovery, name it to rom.zip or recovery.img
Hope this helped.
I will try this tonight. Any suggestions on ROM's for the MetroPCS CDMA Version? I'm on Android 2.3.4
ClockWorkMod Recovery 5.0.2.8

[Q] CWM - No such file or directory

Hello,
I'm new in this forum.
I have problem, I download recovery.img (working) for Android 4.4.2 CM 11 and i try to install this img, but I can't. I use cmd.exe on Windows or emulator on Phone and I have the same problem:
No such file or directory
Click to expand...
Click to collapse
I have recovery. img on sdcard and flash_image on system/bin
With cmd.exe I use
adb shell
flash_image recoveryonly /sdcard/recovery.img
and with emulator
su
flash_image recoveryonly /sdcard/recovery.img
I can't install CWM RECOVERY for GIO
What I did wrong ?
I use this code
Code:
adb push c:\flash_image /sdcard/
adb push c:\recovery.img /sdcard/
adb shell
su
mount -o remount, rw /system
cp /sdcard/flash_image /system/bin
cd /system/bin
chmod 777 flash_image
flash_image recovery /sdcard/recovery.img
I tried to put recovery.img to lastest zip package but it crashed
Please help me I searched very much but I can't find answer. Can anyone make zip package of CWM RECOVERY for GIO, Thanks
FenoMenAG
Just download any CWM flashable .zip and replace recovery.img ( I used CWM 5.0.2.7 ext4only zip and it worked )
Sent from my GT-S5660 using Tapatalk 2
Thanks, I have CWM Recovery 6.0.4.7 i packed wrong files to zip.
I have other problem when I install the latest verision of experminental system (i do wipe data/factory reset, wipe cache partition i wipe dalvik cache)
I mount data i system and install it and rebot i go to CWM not to system any idea what I do wrong ?
Sorry...I've installed CM11 with CWM6.0.4.7 :
1. Wipe data/cache and dalvik cache
2. Flash CM11 nightly ( experimental shoul work too )
P.S. I don't mount data or system , after flash just "reboot system now"
Sent from my GT-S5660 using Tapatalk 2
Thanks, I have CWM Recovery 6.0.4.7 i packed wrong files to zip.
I have other problem when I install the latest verision of experminental system (i do wipe data/factory reset, wipe cache partition i wipe dalvik cache)
I mount data i system and install it and rebot i go to CWM not to system any idea what I do wrong ?
i had kind of the same problem,rebooting only in recovery,when i installed the recovery.img the second time i waited a while before restarting the gio and that is the trick...
download the recovert.img from the cm11 31january or 1february (about 5mb)
put it on sdcard
terminal on gio, su
flash_image recoveryonly /sdcard/recovery.img
wait a while!!! than reboot or reboot in recovery
I have Android 4.4.2 with CM 11 !!!
FenoMenAG said:
I have Android 4.4.2 with CM 11 !!!
Click to expand...
Click to collapse
when you get in recoverymode after rebooting you have to reinstall your recovery 6.0.4.7
so first reinstall (sideload,see [guide][how to] cwm 6.0.4.7)your cm11 again,than you should be able to boot in cm11 again.
than do the reinstall of cwm 6.0.4.7 see topic above and beware to take some time after the flash_image command so the cwm is completely!!! installed

(Guide) [ HOW TO ] Extract Boot.img From Android To Sdcard. [ Without PC ]

This Guide Is Not Developed by me.
I Collect This Guide From Anotherone
This Guide Is Working 100% With The easiest way.....
Prerequierd:-
*Your Phone must be rooted.
*Terminal Emulator or other terminal app Installed
*Any File Exploler
Procced:-
Launch Terminal Emulator
Type This simple Command
COMMAND:- ____________________________________
su (Hit enter)
dd if=/dev/block/mmcblk0p5 of=/sdcard/boot.img bs=4096 (Hit enter)
____________________________________
Done!!! :thumbup: Goto Sdcard and See your boot.img...
If You Want To Extract Recovery.img
Use this command
COMMAND:-
____________________________________
Su
dd if=/dev/block/mmcblk0p6 of=/sdcard/recovery.img bs=4096
____________________________________
if This Guide Will work For you Hit Thanks :thumbup: Button
Hi, i just want to ask regarding the recovery .img if is possible to flash it using custom recovery like twrp or cwm? i mean the one that you will see in the sd card you mention after doing the procedure in terminal emulator.
thanks
Sent from my Cloudfone GEO 402q using XDA Free mobile app
You can flash this recovery using Img Flash tool , Mobile uncle tool
Ok, next question...
Ok, so now that i have my boot image and recovery on my sd card, my device is the sm-t217a, now freshly rooted using the KingRoot 4.5 apk, busybox install, Supersume method. My bootloader is a locked bootloader. Im fairly new doing these things, so could you give me a hand holding guide to unlocking the bootloader if this will work for my situation.

Categories

Resources