Been working on a phone with the build number
2.19.605.1
CL123435 test-keys
Cannot get this to take a custom recovery, It seems to have root in ADB but when I try to flash a recovery it fails.
Any advice?
which method are you using?
I would suggest the fastboot method its a lot easier to do.
Just make sure recovery.img is in the tools directory. Then just follow these directions if you don't have windows just look for fastboot.bin and compile it in linux and it should work.
Code:
WINDOWS USERS
From your tools directory in the sdk do the following command
adb reboot bootloader
You will have FASTBOOT highlighted in red like it is here
Now on your computer do the following
Fastboot flash recovery recovery.img
you should see "sending....ok" then "writing.....ok"
on your command prompt when its done just do
fastboot reboot
that will reboot your phone and then you can either turn it off and reboot
into recovery or run
adb reboot recovery
from the command prompt.
BTW: all commands are run from command prompt.
Hope this helps.
Related
So I was able to easily unlock the bootloader but when trying to install recovery I get the following: "error cannot load recovery.img" Any idea what I'm doing wrong? I have fastboot and recovery.img in same folder so I'm not sure what the problem is. Any help would be greatly appreciated as I'd really like to install Kens rom and restore my phone to my liking.
First not a major issue your just not typing something right or not placed right
Lets do this !
2nd Please Remove install_recovery.sh located in your /system/etc/ ,so that the recovery will not be overwrite to stock one.
you dont HAVE to it will still work just wont have the stock recovery.
1st make sure the moto-fastboot or fastboot (they both work i have tested )file is in your c:\
you have to cd the drive first so make sure its in c:\ the commands on the guide for cwm needs
to be updated this will help you out.FYI make sure all the files are in one folder not the root drive
so name a folder (whatever) then cd that folder from cmd.
Dont use " " just showing you commands
Then go to cmd
"cd c:\moto-fastboot" or fastboot
click enter
then type "moto-fastboot flash recovery recovery-en-goapk-0630-1029.img" or fastboot
click enter
Should say writing\sending
Once your done and it completes
type moto-fastboot reboot or fastboot
enter
P.S. Depending on if your using fastboot or moto-fast boot
commands would be
"fastboot flash recovery recovery-en-goapk-0630-1029.img" Fastboot
"moto-fastboot flash recovery recovery-en-goapk-0630-1029.img" moto-fastboot
And if you were wondering
Moto-fastboot is for bigger files
fastboot is for smaller files
They both work because the recovery is in
the middle in size for both fastboots.
I Flashed the CWM Recovery on the mid8125 made for mid7125 and worked like a Charm!
Recovery
You can Download recovery here! (No Spaces)
https ://drive.google.com/ folderview?id=0B9qDvuiSXACpM2oyTXRCNmNxZFk&usp= sharing
Copy Paste it
It Requieres a littleknowledge on adb but it works
1. Enable Usb debugging on device
2.place the recovery.img in your android sdk platform tools folder. Open command prompt or terminal(linux), type: "adb reboot bootloader" (this will boot device in fastboot)
3. flash using command "fastboot flash recovery recovery.img" from command prompt in your sdk directory. Hopefully you have used adb before.
4. voila,CWM recovery on that darn MID8125.
Rooting
Download from here
Srs root
Link No Spaces: http ://forum.xda-developers.com/showthread.php ?t=2122682
Follow the instruction.
If you like what I DID well don't the minds behind the recovery and the srs software deserve all the credit.
Im wondering if anyone has a guide or the command for flashing a Boot.img from terminal to my HOX+ preferably by Fastboot I've tried looking but most ofthe guide are just on setting up ADB, Fastboot or Android SDK.
Im running Xubuntu 13.10 and have no access to Windows as thats how I originally gained root and flashed boot.img using a toolkit.
mackay508 said:
Im wondering if anyone has a guide or the command for flashing a Boot.img from terminal to my HOX+ preferably by Fastboot I've tried looking but most ofthe guide are just on setting up ADB, Fastboot or Android SDK.
Im running Xubuntu 13.10 and have no access to Windows as thats how I originally gained root and flashed boot.img using a toolkit.
Click to expand...
Click to collapse
Oh! An ubuntu fan like myself!
Well I hope you already followed those guides to setup the environment. If so then you should directly write "fastboot devices" and detect your device. If not then re-read those guide and setup the ADB and fastboot first then continue to read my reply.
I am running ubuntu which has the feature that if you drag and drop the file into the terminal it writes the location of the file for you.
So, write the following in terminal "sudo fastboot flash boot "and drag and drop the file into the terminal and press on enter.
IF you do not have such feature then "sudo fastboot flash boot 'LOCATION OF THE FILE' " Then press enter.
IF you get "waiting for devices" error , then re-read the guide and follow what he says about "you need to add an android.rule file in tmp"
Hope it helps, GL!
Ghand0ur said:
Oh! An ubuntu fan like myself!
Well I hope you already followed those guides to setup the environment. If so then you should directly write "fastboot devices" and detect your device. If not then re-read those guide and setup the ADB and fastboot first then continue to read my reply.
I am running ubuntu which has the feature that if you drag and drop the file into the terminal it writes the location of the file for you.
So, write the following in terminal "sudo fastboot flash boot "and drag and drop the file into the terminal and press on enter.
IF you do not have such feature then "sudo fastboot flash boot 'LOCATION OF THE FILE' " Then press enter.
IF you get "waiting for devices" error , then re-read the guide and follow what he says about "you need to add an android.rule file in tmp"
Hope it helps, GL!
Click to expand...
Click to collapse
Worked great thank you
My android (jellybean) tablet was turned off in middle of update and now is in boot loop. It was rooted with USB debugging on.
I MUST recover files (PDFs, .doc, .wav .JPEG, etc ) without erasing them.
Questions:
1 Do I use Odin and TWRP together?
2 Will Odin flash Samsung stock firmware erase files on device?
3. Will TWRP .img file erase everything?
4. Are these instructions correct?
I recommend you install TWRP recovery. It's the most feature-rich of all the recoveries I have used, and I will be assuming that is the recovery you use for the rest of this.
1. Boot into TWRP. (how? TWRP is an .img file )
2. Push your ADB public key to your device to force authentication.
____On Windows, do: adb push %UserProfile%\.android\ad
bkey.pub /data/misc/adb/adb_keys
3. Reboot into Android. Try adb shell and see if you get a shell prompt. If so, great! Exit it and run adb logcat, and read the huge error log for problems. If you didn't get the shell, well, then I think you're screwed, unless someone has cooked up a recovery zip for enabling adb.
What happens after ADB logcat?
Thank you..
Hello, I have a H-901 v-10 That I've successfully unlocked the bootloader and am ready to flash TWRP recovery but every time I try to open the file my computer wants to burn it to a cd/disc.
What am I doing wrong?
hank1948 said:
Hello, I have a H-901 v-10 That I've successfully unlocked the bootloader and am ready to flash TWRP recovery but every time I try to open the file my computer wants to burn it to a cd/disc.
What am I doing wrong?
Click to expand...
Click to collapse
Stop trying to OPEN the image file. You should be on a command line using the fastboot flash command to flash the .img file directly to the recovery partition. You need to do some more reading because it sounds to me like you haven't yet installed the android developers kit which contains the adb and fastboot commands you will need to communicate with your phone.
Start by doing what you should have tried first...a google search for "How do I install TWRP on my phone?"...the first result is https://www.howtogeek.com/240047/how-to-flash-twrp-recovery-on-your-android-phone/
I've setup adb and fastboot, opened the twrp folder and have opened a command prompt window by typing shift + right click and entered fastboot flashing recovery recovery image then it showed some code on the command prompt but it didn't flash the twrp what do I do