INFO ABOUT THIS STUFF
DISCLAIMER
Code:
[COLOR="Red"]/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, broken hearts,
* thermonuclear war, you getting fired because the alarm app failed, or
* unfulfilled sexual partners. Please do some research if you have any
* concerns about features included in this ROM before flashing it! YOU are
* choosing to make these modifications, and if you point the finger at me
* for messing up your device, I will point that finger back at you and laugh. */[/COLOR]
There are many Recoveris out there like the famous ClockworkMod Recovery or TeamWin's Recovery Project. Because in their DEV-Threads there are so many people asking how to flash it, I decided to make a flash instruction.
INFO ABOUT RECOVERIES
Every phone comes with a Stock Recovery. If you make a factory reset, or something very internal is getting updated or changed, the Recovery does its Job. If you root your phone, you will need to have a Custom Recovery installed, which with you can flash .zip files (ROMs, GApps, Scripts, etc.), make a backup, restore to a ROM, make a factory reset, etc.
RECOVERY INSTALLATION
METHOD 1, VIA PC
Code:
[COLOR="Red"]You need to be [URL="http://forum.xda-developers.com/showthread.php?t=1878031"]Bootloader unlocked[/URL] to work with this mehtod![/COLOR]
Download a working Recovery image to your PC, for example this one !
Download the Android SDK Tools from here, extract them to
Code:
C:\Development
and move everything into this folder so that the folders called "eclipse", "sdk" and the file called "SDK Manager.exe" are found in
Code:
C:\Development
and not in the automatically created subfolder called "
adt-bundle-windows-x86_64-20130514" (name may vary because of 32Bit (x86) respectively 64Bit (x64) system architecture, newer releases or different operating systems, i.e. Ubuntu)!
Then follow this guide, to set up ADB and Fastboot drivers on your PC. Skip the steps 2 and 3 as you already did them before!
If you don''t understand this Tutorial, google for one in your language!
After you installed the ADB and Fastboot drivers on your PC, copy the recovery.img file from the "Downloads" folder and paste it in the ~/Development/sdk/platform-tools, and type. In this folder hit the "Shift" key on the key board and simultaneously the right mouse key. Then select "Open command prompt here" - may vary, translated into english by me.
Now, you have to connect your phone in fastboot mode. In order to do this, you need to power off your phone, hold down volume down+power button simultaneously. In the bootloader mode - it must say
Code:
*UNLOCKED*
at the very top - select "Fastboot", and connect your phone with the USB Cable to your PC. Then it should say "Fastboot USB" on your phone's screen.
Type:
Code:
fastboot flash recovery recovery.img
! Wait a few seconds, until in the command prompt it says "finished total time x.x.x.x.". Then, disconnect your phone and close the cmd window. In the Fastboot mode on your phone, select "Reboot Bootloader". Wait for it to reboot! Wait for HBOOT to finish its job. Then select "Recovery" and it should take you right into the recovery mode!
METHOD 2, VIA YOUR PHONE
Code:
[COLOR="Red"]You need to be [URL="http://forum.xda-developers.com/showthread.php?t=1878031"]rooted and Bootloader unlocked[/URL] to work with this mehtod![/COLOR]
2.1 Download a working Recovery image on your device, for example this one and place it in the root of your SDCard [/sdcard] and NOT in a (sub-)folder!
In order to that - without using a PC -you need to download a File Manager from Google's Play Store, navigate to the folder "Download", cut the recovery.img out and place it in "/storage/sdcard0" - the root of your SDCard!
2.2 Make sure you have the Terminal Emulator installed on your device!
2.3 Open the Terminal Emulator on your device and type:
Code:
su
and hit enter! In the SuperUser-Pop-Up-Window select "accept/allow"!
2.4 Again: Make sure that the recovery.img is in the root of your SDCard [/sdcard] and NOT in a folder!
Then, type:
Code:
flash_image recovery /sdcard/recovery.img
and hit enter!
2.5 You might get a stream of almost identical looking code after hitting the enter key, this is normal, as long as you got no error messages in the code and you got a "#" at the end!
Then you can type in this:
Code:
reboot recovery
and hit enter! This will take you to your new recovery's home screen.
HOW TO BOOT INTO A RECOVERY
Power your phone off. Hold down the volume down and the power button simultaneously. Wait a few seconds, until you get to a screen with three skating Androids at the bottom. Without doing anything HBOOT will start to search for a PG76IMG.xxx file (another method to install a recovery) on your phone but it shouldn't find anything. So if you see the main screen again, navigate - with the volume buttons - to "Recovery" and confirm your decision with pressing the power button. Now you'll see the HTC Logo and after a few seconds, you'll see the home screen of your Recovery.
NANDROID BACKUP
Boot into Recovery (Bootloader,Recovery). select "backup and restore" (navigate with the volume buttons), enter with the power button and select "backup",you're now doing a "Nandroid Backup"!
After it finished, take out your Phone's SD Card, and plug it in to your computer with an micro SD Adapter.
If you do not have such an Adapter, select "reboot system now" in Recovery's Main Menu, and connect your phone via USB cable. Pull the just created Backup from the folder "~/clockworkmod/backup" - found on your phone's SDCard - into any location on your PC!/INDENT]
NOW YOU CAN...
...feel free to ask me if you did not understand anything
...flash a Custom ROM on your phone via "install zip from sdcard" > "choose zip from sdcard"
...do a factory reset/full wipe via "factory reset/full wipe"
...only wipe the cache via "wipe cache partition"
...wipe Battery Stats and the dalvik cache via "advanced" > "wipe dalvik cache"/"wipe battery stats"
FOOTNOTE
This instruction is extracted from my Root Tutorial!
You can do this in terminal emulator as well. Just do the same thing but use flash_image recovery recovery.img that should work and I use that method
Sent from the Time Vortex
Tezlastorme said:
You can do this in terminal emulator as well. Just do the same thing but use flash_image recovery recovery.img that should work and I use that method
Sent from the Time Vortex
Click to expand...
Click to collapse
I know thanks for this bump, fully forgot to add!
iH8ra!n said:
METHOD 1, VIA PC
Download a working Recovery image on your PC, for example this one !
Make sure you have ADB and Fastboot drivers installed on your PC! If you can't understand this Tutorial, google for one in your language!
After you installed ADB and Fastboot drivers on your PC, you have to connect your phone in fastboot mode (Bootloader > Fastboot) via USB Cable to your PC. Then it should say "Fastboot USB" on your phone's screen. Open a command prompt on Windows - click the Windows button and "R" at the same time on your keyboard, in the search field type "cmd"! After, type - with phone connected- :
Code:
cd C:\path to recovery\
and enter!
Then, type:
Code:
fastboot flash recovery recovery.img
and wait for it to finish. Select "reboot bootloader", then "recovery" and you should be done!
Wait a few seconds, until in cmd it says "finished total time x.x.x.x.". Then disconnect your phone, close the cmd window. In Fastboot select "Reboot Bootloader". Wait for it to reboot. Select "Bootloader", wait for HBOOT finishing its thing. Then select "Recovery"!
Click to expand...
Click to collapse
I tried Method 1 and after i Choose Recovery it shows HTC logo and nothing comes up... i have unlocked my bootloader!!
Any thoughts kinda a stuck in here..
All right new steps, let me try!
artistiq said:
I tried Method 1 and after i Choose Recovery it shows HTC logo and nothing comes up... i have unlocked my bootloader!!
Any thoughts kinda a stuck in here..
Click to expand...
Click to collapse
I reworked the instructions and linked to a new recovery! try it now and report back
Nope Still Stuck on the logo HTC..nothing shows CWM Recovery.. :/
artistiq said:
Nope Still Stuck on the logo HTC..nothing shows CWM Recovery.. :/
Click to expand...
Click to collapse
Isn't this that bug with the 2012 model of the wfs? There's a fix somewhere I think.
artistiq said:
Nope Still Stuck on the logo HTC..nothing shows CWM Recovery.. :/
Click to expand...
Click to collapse
http://d-h.st/bmg
i know this form but good job
i know this form but good job man! :good: :laugh:
Nice job :good:
Goodbye!
Hey Guys,
as you may have noticed I didn't submit a new CyanogenMod 10.1 build for two months now as I wasn't able to get another successfully finished build.
Then I removed everything and wanted to set up a whole new build environment on my Laptop. And although I had vacations back then (today's the last day of the summer vacations here in Germany) I didn't have enough time. Then I was on holidays with a friend of mine for a week (26th August - 2nd September) and I didn't have WLAN nor LAN - so no internet. From the 8th September - 21st September I'm in Italy for a 2-week-student-scholarship, so I'll again have no time.
As I'm having a Nexus 4 since January, and I only used my HTC Wildfire S for testing what I've built, I do not feel the motivation to build or develop anything for it anymore.
Taking everything into consideration I came to the decision to not maintain my threads anymore!
It were interesting - 2 - years - I think - here on the XDA developer forum with many instructive moments, arguments and much more!
But I now feel to say "Goodbye!" to my really active time here on XDA and "Hello!" to the time in which I'll enjoy CM's or PA's and also Google's work, and of course the work from Kernel developers, for my Nexus 4.
Goodbye, Guys!
P.S.: I'll close this thread very soon!
As the title says my phone will just reboot into twrp recovery and give me a black screen. Is there anyway i can make it boot normally or just boot into fastboot so that i can flash stock recovery? phone was working correctly and i had this problem when i tried to make a factory reset.
Is there Lollipop?
Keep on using:
adb reboot
adb reboot recovery
adb reboot bootloader
adb shell reboot
adb shell reboot recovery
adb shell reboot bootloader
and try to guess where the reboot option in the recovery is (bottom right then right in the middle and another one in the middle of the screen to not install root from recovery or swipe to install it)
I get it whenever I try to do anything with the recovery, but it can be escaped!
I managed around 5 times now. lol
Also try holding volume up + power button for 8+ seconds.
This probably happens because of:
1) Recovery is 32-bit
2) Boot and Recovery partitions were shifted one digit (from mmcblk0p42 and 43 to mmcblk0p43 and 44)
Yes i am using lollipop
Yess i guessed where the reboot option was and i managed to boot the phone. But is there any way to fix the twrp recovery on lollipop? I could not flash stock recovery neither..
have similar problem, but had twrp (on lollipop) but need back to stock.
Dl this
http://forum.xda-developers.com/desire-820/general/recovery-stock-recovery-lollipop-5-0-1-t3236989
and now i only can boot to recovery, but twrp. can't boot normal, or bootloader
any ideas?
boots only when connected to pc and vol up + power boots recovery (managed to install twrp2.8 XianShiDeNiWo)
boots vol up + power 8 sec+ to recovery.
C:\adb>adb reboot
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
C:\adb>adb reboot recovery
adb server is out of date. killing...
* daemon started successfully *
C:\adb>adb reboot bootloader
adb server is out of date. killing...
* daemon started successfully *
C:\adb>
C:\adb>adb shell reboot
adb server is out of date. killing...
* daemon started successfully *
/sbin/sh: reboot: not found
C:\adb>
Click to expand...
Click to collapse
Any ideas what can I do?
/*
* I am not responsible for bricked devices, dead SD cards,
*thermonuclear war,
or the current economic crisis caused by you following these
directions.
*YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I willlaugh at you.
*/
I have readed lot about how to flash custom ROM or stock ROM on Android device readed some comments that many people wiped their internal storage while installing ROM.
i found a Very Safe and easy way to do this.
First of all you need these things.
1.Philz Touch recovery.
For Sprout4 (Android one)->https://www.androidfilehost.com/?fid=23681161096069959
2.Flashify app from Play store
https://play.google.com/store/apps/details?id=com.cgollner.flashify
(For 1time process)
If you have PC then skip 2nd.
3.Only for PC users
https://forum.xda-developers.com/showthread.php?t=2588979
If you have ADB installed skip this also.
After downloading follow my steps.
Mobile users NO PC
1. Place Your ROM in Sdcard .
Flash the downloaded recovery.img with flashify to recovery partition..>
[Caution:->Do this carefully it can harm device if you didn't flashed right partition]
2.Boot to recovery.
3.Select Clean to install new ROM.
Wait for completing...
4. Select install zip and select install from external sdcard.
5. Find your ROM and flash.
Done
For PC USERS
1.Download ADB and fastboot drivers.
(link is given above only for Windows)
if you are using linux you can find adb and fastboot in software manager App.
And
Recovery.img (link provided)
Place in a folder and open that folder press
Shift and Right click and select open in CMD. (Without selecting anything ((click on empty place inside folder)))
2.Open CMD / terminal.
Type:-> "adb reboot bootloader"
Without quotes abd Press Enter.
[Remember device connected with usb and usb debugging turned on)
3. Type :-> " fastboot flash recovery recovery.img"
Without quotes and Press enter.
Flashing done..
(You can skip this step if you don't want to install Philz recovery in your phone.
Simply follow 4th step)
4. Type:-> fastboot boot recovery.img
Phone will boot into Recovery.
5.Select Clean to install new ROM.
Wait for completing...
6.Select install and select install form external sdcard.
Choose ROM and it will flash.
Needed Any Further Help feel free to comment below.
And
if you find it useful Press Thanks button.
Credits: @varun.chitre15 for recovery.img
@Snoop05 for ADB
@cgollner for Flashify.
This is my guide on how to install TWRP recovery on a OnePlus 3, Good luck!:
DISCLAIMER:
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about this device modification
* before you Use it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you!
Downloads:
SuperSU
TWRP Recovery
As this is my first post I have not been able to provide links sorry but you should be able to find them on google.
Prerequisites:
A unlocked bootloader;
A USB-C cable;
ADB installed on your computer system-wide;
Access to a computer with internet connection;
and lastly of course a OnePlus 3
Instructions:
1) Download SuperSU and TWRP on your computer
2) Create a file on your desktop and call it OP3 Root, then drag the TWRP img into that file, and then rename the img and change it's name to Recovery.img
3) Go to settings on your OnePlus3, settings->about phone and then tap on build number until the phone's screen shows 'no need, you are already a developer.'
4) Go back to settings, then go to developer options and enable USB Debugging; Advanced Reboot and OEM Unlocking.
5) Connect your OnePlus3 to your computer via USB cable
6) Transfer your Super SU zip onto your OnePlus 3
7) Load into bootloader on your OnePlus3
8) Open your OP3 Root file on your desktop then shift right-click in the OP3 Root file window and select open command window.
9) In the command window type 'fastboot devices' and press enter, if your OnePlus 3 device number shows up your good to go.
10) Then in the command window type 'fastboot flash recovery recovery.img' then press enter, then wait for the command to finish.
11) Then unplug your OnePlus 3 from the computer and boot it into recovery, wait for TWRP recovery to load and then press install, then flash the SuperSU file, after the file has finished flashing, wipe cache/dalvik (do not worry this will not delete data on your device), then reboot your device (don't worry if it loops a few times this is perfectly normal, especially if this is the first time rooting your device).
12) After your OnePlus 3 boots, install Root Checker from the play store, verify root and if root is shown to be installed. Then congratulations! You have successfully rooted your OnePlus3! Thumbs Up!
I want to install a Custom Rom to my A2 Lite. I did all the prerequisites and tried to install in fastboot on Windows the TWRP-Img to my A2-lite.
C:\Users\marcel\platform-tools>fastboot boot "C:\Users\marcel\platform-tools\twrp-3.5.2_9-2-daisy-unofficial.img"
Sending 'boot.img' (28724 KB) OKAY [ 0.614s]
Booting OKAY [ 0.170s]
Finished. Total time: 0.820s
Click to expand...
Click to collapse
After image was copied and the phone reboots, it doesn't start to TWRP. The display is on, but stay black.
I booted in fastboot and tried it again, but the same issue. I used the "format usedata and format cache" before.
I can start in the stock rom, but not in TWRP.
What can I do?
turn the phone to download mode before plug it, donot plg it while pressing down button
Antho02 said:
turn the phone to download mode before plug it, donot plg it while pressing down button
Click to expand...
Click to collapse
"download mode" means fastboot-mode, so volume-down and power button, right?
I do this, but same issue. After sending the image file with fastboot command (above) the phone reboots and stucks.
maeck said:
"download mode" means fastboot-mode, so volume-down and power button, right?
I do this, but same issue. After sending the image file with fastboot command (above) the phone reboots and stucks.
Click to expand...
Click to collapse
yes sorry, i meant fastboot mode, turn off phone and then boot with up or down wolume (cant remember wich one) + power
thats a long time i didnt use but i remember that booting on boot.img didint work when i entered the mode with pluging the cable,
i always need to turn off phone, then turn on into fastboot mode, and then plug it
also it worked with adb reboot bootloader command
found my previous message about it, it helped the person asking, hope you too :
[GUIDE] Install Magisk with proper support for OTA updates
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. * Please do some research if you have any concerns about features included in the products you find here before...
forum.xda-developers.com
It seams that the img-file was corrupted. I re-downloaded it and now it runs smootly.