The Stock Recovery Of Android One 5.1
Instructions
1.Download The Recovery From Here
2.Place It In Platform Tools Folder
3.Boot Your Phone Into Fastboot Mode
4.Open Command Prompt In Platform Tools And Type The Following
Code:
fastboot flash recovery recovery.img
Done
Hit Thanks If I Helped
I am unable to flash the 5.1.1 ota update with this recovery..
where is this platform tools folder
Related
guys i need step by step procedure on how to flash the latest twrp recovery using fastboot?.. or can you give the link for instructions,. cause my twrp just messed up,. it says it cannot mount E:/storage and all,. or can i just use the htc one tool? thx guys in advance
Follow this step:
Download this and rename this in twrp
Copy/Paste this in your fastboot folder
Connect the device in fastboot
Open a cmd windows and browser into your fastboot folder
Type:
Code:
fastboot devices
and if you will see your device go on
Now type:
Code:
fastboot flash recovery twrp.img
Type:
Code:
fastboot erase cache
Now you can reboot in the latest twrp
IMPORTANT NOTE ABOUT ROOTING:
After flashing TWRP 3.0.2, use the SuperSU 2.46 flashable zip, do NOT use latest version or will result in a bootloop. Good Luck and have fun with rooting.
REQUIREMENTS
1- Unlocked Bootloader (search on google if you dont know how to unlock)
2- Drivers and Adb/Fastboot commands knowledge
--------------------------------------------------------------------------------------------------------------------------------
New TWRP bugfix update! Now you can flash stock rom on TWRP without bricking! Download Page updated!
Bugs:
1- adb shell command needs to be sent before system partition is mounted or it will give an error, after doing adb shell you can mount system and do all the modifications you need.
2- You cant flash any img on twrp it gives an error, im trying to fix.
3- Backups do work, but everytime twrp restarts, the serial number folder seems to change (which means that on /TWRP/BACKUPS/serialnumber/backupsinside/ changes every reboot so you have to go get the backup inside the old serialnumber folder and put on the new serialnumber folder).
Im leaving an unsecured boot image because system does not boot android if anything seems changed. So please if system does not boot after flashing twrp/rooting, flash the unsecured boot img on fastboot
Steps to Install TWRP and root
1. Download and extrct the files: https : // drive. google . com/file/d/0BxzG5iupOOSKNTdlRC1Wd0VmTlk/view
2. Power off the tablet.
3. Enter fastboot mode by pressing the power button while holding down Vol -
4. Open up command prompt and navigate to the directory where fastboot.exe is located.
5. Pass the following commands:
fastboot flash boot unsecuredboot.img
fastboot flash recovery TWRP.img
6. Reboot into recovery (TWRP) and install SuperSU v2.46.zip ---
Continuation 6. Step by Step of Step 6 since people seem to have been running into issues with it:
After rebooting to TWRP and having SuperSU.zip in the tablet storage. Go on Install tab and press the supersu file and install/flash it then reboot the device.
last day i accidentally delete the os of my honor 4x..does somebody know how to install new os and where to download a new one?
jdaryl04E19 said:
last day i accidentally delete the os of my honor 4x..does somebody know how to install new os and where to download a new one?
Click to expand...
Click to collapse
hmm...model code?
and your device is unlocked bootloader?
Giannhs Togias said:
hmm...model code?
and your device is unlocked bootloader?
Click to expand...
Click to collapse
Che2-L11....yes it is unlocked, it was accidentally deleted using TWRP.
is it still possible to make it work again?
thank you in advance.
jdaryl04E19 said:
Che2-L11....yes it is unlocked, it was accidentally deleted using TWRP.
is it still possible to make it work again?
thank you in advance.
Click to expand...
Click to collapse
Step1: Download the ROM Package from the link
http://consumer.huawei.com/jo/support/downloads/detail/index.htm?id=87523
Step2: Extract using Winrar. (Inside dload folder you will find Update.app file)
Step3: Download Huawei Update extractor
https://forum.xda-developers.com/showthread.php?t=2433454
Step4:: Now Run the huawei update extractor and point to the update.app file.
Now the contents of the update.app file will be displayed.
Select the Boot.img,recovery.img and System.img alone and select extract by rightclicking it.
Step5: You need the adb tool kit.
https://drive.google.com/file/d/0B8C...R3c/view?pli=1
Step6: Install and configure the Adb (yes all)
Step7: Copy the extracted recovery.img,system.img and boot.img to the adb root folder which should be in c:\adb\.
Step8: Open fastboot (connect the device to usb and press vol down) + open adb (shift+right click and select to open cmd here)
And now type in cmd:
1. "fastboot devices" -Displays some id of your device which makes sure your device is connected.
2. "fastboot flash recovery recovery.img" - Flashes stock recovery
3. "fastboot flash system system.img" - Replaces your custom rom with stock rom
4. "fastboot flash boot boot.img" - Flashes boot partition which is need to boot stock rom.
5. "fastboot reboot"
Step9: End restart your phone,open recovery and select "Wipe data/factory reset :laugh:
Giannhs Togias said:
Step1: Download the ROM Package from the link
http://consumer.huawei.com/jo/support/downloads/detail/index.htm?id=87523
Step2: Extract using Winrar. (Inside dload folder you will find Update.app file)
Step3: Download Huawei Update extractor
https://forum.xda-developers.com/showthread.php?t=2433454
Step4:: Now Run the huawei update extractor and point to the update.app file.
Now the contents of the update.app file will be displayed.
Select the Boot.img,recovery.img and System.img alone and select extract by rightclicking it.
Step5: You need the adb tool kit.
https://drive.google.com/file/d/0B8C...R3c/view?pli=1
Step6: Install and configure the Adb (yes all)
Step7: Copy the extracted recovery.img,system.img and boot.img to the adb root folder which should be in c:\adb\.
Step8: Open fastboot (connect the device to usb and press vol down) + open adb (shift+right click and select to open cmd here)
And now type in cmd:
1. "fastboot devices" -Displays some id of your device which makes sure your device is connected.
2. "fastboot flash recovery recovery.img" - Flashes stock recovery
3. "fastboot flash system system.img" - Replaces your custom rom with stock rom
4. "fastboot flash boot boot.img" - Flashes boot partition which is need to boot stock rom.
5. "fastboot reboot"
Step9: End restart your phone,open recovery and select "Wipe data/factory reset :laugh:
Click to expand...
Click to collapse
i was in the cmd and started to type the commands but it say that the "fastboot" is not recognized as an external or internal command, operable or batch file...
my phone is open in fastboot and rescue mode and "unlocked"
jdaryl04E19 said:
i was in the cmd and started to type the commands but it say that the "fastboot" is not recognized as an external or internal command, operable or batch file...
my phone is open in fastboot and rescue mode and "unlocked"
Click to expand...
Click to collapse
you need to download minimal adb and fastboot, and run the commands from it. or, you can do it the easy way. just put your update.app file inside /dload/ folder, and do the forced upgrade. if its not working, then fallback to fastboot method.
jdaryl04E19 said:
last day i accidentally delete the os of my honor 4x..does somebody know how to install new os and where to download a new one?
Click to expand...
Click to collapse
This method is propably easiest https://forum.xda-developers.com/honor-4x/how-to/install-emui-4-1-4x-4c-g-play-g-play-t3515702 It also has link to site that has firmwares.
keikari said:
This method is propably easiest https://forum.xda-developers.com/honor-4x/how-to/install-emui-4-1-4x-4c-g-play-g-play-t3515702 It also has link to site that has firmwares.
Click to expand...
Click to collapse
Thank you
I have was trying to flash the TWRP recovery in my phone (Redmi 4a), but the recovery always got replaced after every reboot with the STOCK recovery.
I am now going to show how to flash this, beside the command line technique......(Although, some command line is necessary).....
1. Set adb and fastboot files in your Windows pc, fine
2. Now download the required twrp on to your pc and place it in adb-fastboot's folder.... or techies could path to that ****....
3. Enter bootloader with.....
adb reboot bootloader4. Now boot to twrp using......
fastboot boot recovery.img(I have named that twrp file as recovery)
5. Download super su zip, move it in phone, root your device....... reboot your device.......Now the second phase of process comes
6. Install twrp app in your phone, open it, copy the twrp image file to phone, tap on flash recovery
7. Select your twrp recovery in the phone and boom....... you have done it...... reboot to recovery by adb reboot recovery
I FORGOT TO MENTION, you should have your device unlocked, and I AM NOT RESPONSIBLE FOR ANY MISHAP and FOR THE STATE TO PLAY CRICKET WITH YOUR PHONE...... I am honest ....... IT WORKED FOR ME......
any tester n confirmed worked ?
No reason to do all those, you can flash recovery directly from fastboot with one command. The command:
Code:
fastboot boot recovery.img
just boot to that recovery one time. This is good for testing a recovery or use it for one time without install it.
If you want to flash a recovery you just need to use:
Code:
fastboot flash recovery recovery.img
Also for both commands isn't necessary to rename the recovery file or to put it adb folder, or root the device. Just need to specify the path and filename in place of "recovery.img". For e.g:
Code:
fastboot flash recovery C:\Phone\Recoveries\twrp_3.2.1.img
Hi, first of all, I'm not a dev or else just user who had difficulties to flash GSI on my phone... Was 7 years with a samsung galaxy Note 3, with twrp....So easy to flash....
with the help of @gr0ndpa, thanks to him.....
FLASH GSI
Now I will explain how to flash easily with files attached
1/ first of all you need a phone and drivers installed, use xiaomi pc suite, unzip and install it
2/ you need to activate USB debug in dev options.
3/ dl platform tools folder unzip it and put in C
4/ run command and type
Code:
cd /adb
5/ then
Code:
adb devices
to check if phone recognised
6/
Code:
adb reboot bootloader
once in fast boot
7/
Code:
fastboot flash vbmeta vbmeta.img
wait finished type to enter in fastbootD
8/
Code:
fastboot reboot fastboot
9/
Code:
fastboot flash system
LiR 313.XXX.img
you will have a system error, but wait the flash begin in few seconds
at the end wait ok then
10/
Code:
fastboot reboot recovery
on stock recover
11/ wipe data and reboot with +/- and PWR
and you're done...
In case you want to flash custom kernel or patched boot image to root with magisk, you have to
12/
Code:
adb reboot bootloader
Copy kernel boot image to C drive and rename kernel boot image to boot.img.
13/
Code:
fastboot flash boot c:\boot.img
14/
Code:
fastboot reboot
In case you want to flash twrp put the file to adb folder and type in fastboot
15/
Code:
fastboot boot twrp.img
You can check what I ve done on tuto ss...
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++==================================================================================================================================================================================================================++
Flash ROM
This now how to flash ROM on your device, it's convenient for all roms like LOS, corvus, awaken...
First you need all the proper drivers installed and unlocked bootloader, USB debugging all of that stuff.
Now open up a cmd/terminal , and put the files i sent and the ROM file in the folder from where you're opening the cmd/terminal and connect the phone (you may need to put ./ as an suffix for all the commands if you're on linux)
Type
Code:
adb reboot bootloader
Then type
Code:
fastboot devices
to see if everything is ok
Then type
Code:
fastboot flash boot_ab boot.img
(you can drag and drop the file instead of typing it)
After that's done type
Code:
fastboot flash vendor_boot_ab vendor_boot.img
(you can drag and drop this too if you want)
Code:
fastboot flash dtbo dtbo.img
(you can drag and drop this too if you want)
After that's done type
Code:
fastboot reboot recovery
This will boot you into a recovery and now you need to go to wipe and format data
After that go to apply update then adb sideload then
In the cmd type
Code:
adb sideload rom.zip
for example (you put the ROM zip here you can drag and drop it)
Wait for that to finish it will go to 47% and on the phone it will show step 1/2 then step 2/2
and when it's done it's gonna show an error
adb: failed to read command: No error
Then you can reboot to system
One more
Two more
This the tuto I follow to flash renoir, who have same characteristic than all Note 12 series... Tuesday I can confirm it works
I'm having a problem that my phone can't go to fastboot via CMD after I flash vbmeta.
Is is me doing wrong or also happen to you?