[20.2.2015][Root and stay with stock recovery] - YU Yureka General

Hello Yu Yureka fans!!!
This for the Yu Yureka fans who want to root the phone but don't want to miss OTA update by flashing custom recovery
In this thread i will tell you how to ROOT your Yu Yureka without flashing custom recovery.
This method will not flash custom recovery over stock recovery, this will just boot the custom recovery once just to flash the superuser.zip. so you will be back to stock recovery after flashing superuser.zip.
So lets get started...
Your Bootloader should be UNLOCKED
Files you need:
1. adb and fastboot drivers
2. A CWM recovery link (don't worry we wont flash it, it is just needed to install superuser.zip)
3. Superuser.zip link (save this in your sd card or internal memory)
Note: Keep recovery.img file in the same folder where adb and Fastboot drivers are placed and always open command window from that folder.
Connect your phone to pc via data cable
Steps:
1. Open command window (cntl+shift+right click)
2. Type
Code:
adb devices
if your device is connected you will get it in connected devices
3. Type
Code:
adb reboot-bootloader
4. Type
Code:
fastboot -i 0x1ebf boot recovery-yu.img
now your device will boot into recovery mode
5. Select install zip from sd and navigate where you have downloaded the superuser.zip and select install.
6. Done!!! Your device is rooted and you are still in stock recovery :good: you wont miss the OTA
To check if you are in stock recovery just reboot into recovery :good:
Hit thanks if this helped :good:

This isn't yours, You copied it from YuPlayGodForums, from DoomLord's post...

N'ayam Amarsh'e said:
This isn't yours, You copied it from YuPlayGodForums, from DoomLord's post...
Click to expand...
Click to collapse
First i am not a user of yuplaygod forums,
Second its not copied
Third you have no right to point at someone without any valid reason
Lastly stop spamming my post (read xda forum rules first you visit it here --> http://forum.xda-developers.com/announcement.php?f=3861)

@aashking
You can't boot the recovery image on locked bootloader; we have covered this fact already.
http://forum.xda-developers.com/showpost.php?p=58628082&postcount=12

Titokhan said:
@aashking
You can't boot the recovery image on locked bootloader; we have covered this fact already.
http://forum.xda-developers.com/showpost.php?p=58628082&postcount=12
Click to expand...
Click to collapse
@Titokhan yeah dude thanks for reminding i will update the OP :good:

Unable to get the 3rd command working. It keeps waiting for the device and the device reboots in normal mode. What am I doing wrong?

jitendragarg said:
Unable to get the 3rd command working. It keeps waiting for the device and the device reboots in normal mode. What am I doing wrong?
Click to expand...
Click to collapse
Reinstall ADB Drivers
adbdriver.com

N'ayam Amarsh'e said:
Reinstall ADB Drivers
adbdriver.com
Click to expand...
Click to collapse
Thanks, will check. Although I downloaded the drivers just today, so not sure, how it is not up to date. Anyway, will check it once I am home in 3 hours.

tried resintalling the drivers. didn't help. command prompt still keeps on waiting for device forever, while phone is in fastboot mode.
Edit:
If I cancel the third command, and check the list again, phone is not listed. Somehow, after rebooting into bootloader, phone stops the adb connection.

i am on twrp recovery can i flash this recovery on that and update the new ota?
please help

Related

S-on AND Root

I've been posting here and there around here lately but thought I'd get a cleaner, more focused thread going for those of us who used HTC's unlock tool and want root.
I managed to get the bootloader unlocked with HTC's tool and installed SU and clockwork onto my Inc2 but I think I'm having problems because I'm still S-On instead of S-Off.
So, what do we do next after unlocking the bootloader? I'm under the impression that because I'm S-On still, I can flash a custom ROM, but not only the ones with the stock kernel intact. This would be why Sabotage was able to install, but Mik wouldn't. Still only a theory, though.
ANY HELP PLEASE!!!
Kayak83 said:
I've been posting here and there around here lately but thought I'd get a cleaner, more focused thread going for those of us who used HTC's unlock tool and want root.
I managed to get the bootloader unlocked with HTC's tool and installed SU and clockwork onto my Inc2 but I think I'm having problems because I'm still S-On instead of S-Off.
So, what do we do next after unlocking the bootloader? I'm under the impression that because I'm S-On still, I can flash a custom ROM, but not only the ones with the stock kernel intact. This would be why Sabotage was able to install, but Mik wouldn't. Still only a theory, though.
ANY HELP PLEASE!!!
Click to expand...
Click to collapse
There are 2 options to flash a custom ROM that has a custom kernel on an unlocked bootloader.
1. Instead of booting to recovery mode directly, you need to boot in Fastboot mode and issue the command:
Fastboot boot [path to custom recovery.img]
This will boot you into recovery mode using the custom recovery image. Then you can flash a custom ROM with a custom kernel correctly.
2. Extract the boot.img from the custom ROM zip file and copy it to your SDK tool directory.
Then boot into recovery mode and flash the custom ROM. Next you must reboot into bootloader mode and enter Fastboot mode. Enter the following command:
Fastboot flash boot [path to the boot.img file].
Try either option 1 or option 2. You do not need to do both.
Hope this helps.
tpbklake said:
There are 2 options to flash a custom ROM that has a custom kernel on an unlocked bootloader.
1. Instead of booting to recovery mode directly, you need to boot in Fastboot mode and issue the command:
Fastboot boot [path to custom recovery.img]
This will boot you into recovery mode using the custom recovery image. Then you can flash a custom ROM with a custom kernel correctly.
2. Extract the boot.img from the custom ROM zip file and copy it to your SDK tool directory.
Then boot into recovery mode and flash the custom ROM. Next you must reboot into bootloader mode and enter Fastboot mode. Enter the following command:
Fastboot flash boot [path to the boot.img file].
Try either option 1 or option 2. You do not need to do both.
Hope this helps.
Click to expand...
Click to collapse
Tried option 1 and when I go to select install zip from sd card after booting to cwm the phone restarts. Trying option 2 now...
Option #2 won't work since I get stuck at the HTC screen when trying to load a custom ROM.
Kayak83 said:
Option #2 won't work since I get stuck at the HTC screen when trying to load a custom ROM.
Click to expand...
Click to collapse
How did you try to reboot into bootloader from recovery once the ROM was flashed. Once I get into recovery I connect the phone with a USB cable and then type
Adb reboot bootloader
This will boot you into HBOOT straight from recovery and should prevent the hang at the HTC.
Ok. Let's start fresh and complete:
1- Plug phone into computer.
2- select HTC sync on phone
3- open cmd and get to sdk
4- type "adb reboot bootloader"
5- phone should reboot to HTC's recovery thing
now what?
I have cwm installed already.
Kayak83 said:
Ok. Let's start fresh and complete:
1- Plug phone into computer.
2- select HTC sync on phone
3- open cmd and get to sdk
4- type "adb reboot bootloader"
5- phone should reboot to HTC's recovery thing
now what?
I have cwm installed already.
Click to expand...
Click to collapse
Just select Charge Only, not HTC Sync.
Once you type adb reboot bootloader you should get the HBOOT screen and it should show FASTBOOT USB.
At this point you should enter Fastboot commands from you PC command prompt.
So you said you tried fastboot boot [path to recovery.img file] and it did boot you into recovery, right? Then you should be able to flash the custom ROM and reboot normally when the install is complete.
For option 2 once you are in recovery mode flash the custom ROM and then when it is finished connect the phone with the USB cable and at the command prompt you should be able to type adb devices and it will respond with your device id.
If it does, then type adb reboot bootloader and it will take you back to the HBOOT screen. From there you would then enter the following Fastboot command:
Fastboot flash boot [path to boot.img file]
Then Fastboot reboot
tpbklake said:
Just select Charge Only, not HTC Sync.
Once you type adb reboot bootloader you should get the HBOOT screen and it should show FASTBOOT USB.
At this point you should enter Fastboot commands from you PC command prompt.
So you said you tried fastboot boot [path to recovery.img file] and it did boot you into recovery, right? Then you should be able to flash the custom ROM and reboot normally when the install is complete.
For option 2 once you are in recovery mode flash the custom ROM and then when it is finished connect the phone with the USB cable and at the command prompt you should be able to type adb devices and it will respond with your device id.
If it does, then type adb reboot bootloader and it will take you back to the HBOOT screen. From there you would then enter the following Fastboot command:
Fastboot flash boot [path to boot.img file]
The Fastboot reboot
Click to expand...
Click to collapse
I'm able to fastboot into cwm. But when I go to select install zip from sd card via the phone controls (volume up/down/power), the phone reboots.
Kayak83 said:
I'm able to fastboot into cwm. But when I go to select install zip from sd card via the phone controls (volume up/down/power), the phone reboots.
Click to expand...
Click to collapse
Which version of CWM are ou using. I use CWM 5.0.2 and it works fine.
SUCCESS. Thanks for your help!
Glad you got it goin!
Sent from my ADR6350 using xda premium
Kayak83 said:
SUCCESS. Thanks for your help!
Click to expand...
Click to collapse
Which option did you have success with?
dumb question but...
how do you find the path to your custom recovery?
mza929 said:
dumb question but...
how do you find the path to your custom recovery?
Click to expand...
Click to collapse
You determine what the path is when you download the recovery image to your PC. The best place to download or copy it to is the same folder you run adb.exe and fastboot.exe from.
tpbklake said:
You determine what the path is when you download the recovery image to your PC. The best place to download or copy it to is the same folder you run adb.exe and fastboot.exe from.
Click to expand...
Click to collapse
great thank you... i was thinking i had to use a path to the recovery on my phone's storage not my PC's...
Can someone link me to a cwm recovery that works. I'm having the reboot issue after selecting choose file from SD card.
Sent from my dinc2 using XDA App
mza929 said:
Can someone link me to a cwm recovery that works. I'm having the reboot issue after selecting choose file from SD card.
Sent from my dinc2 using XDA App
Click to expand...
Click to collapse
You should look for and use CWM 5.0.2
Kayak83 said:
I've been posting here and there around here lately but thought I'd get a cleaner, more focused thread going for those of us who used HTC's unlock tool and want root.
I managed to get the bootloader unlocked with HTC's tool and installed SU and clockwork onto my Inc2 but I think I'm having problems because I'm still S-On instead of S-Off.
So, what do we do next after unlocking the bootloader? I'm under the impression that because I'm S-On still, I can flash a custom ROM, but not only the ones with the stock kernel intact. This would be why Sabotage was able to install, but Mik wouldn't. Still only a theory, though.
ANY HELP PLEASE!!!
Click to expand...
Click to collapse
OK maybe I am missing something here. Do you actually have full root? If you do, how did you get it? I don't know how to get the su binary and busybox installed. I have unlocked my bootloader using the htc supertool and I don't have root, which is keeping me from installing CWM or anything root related for that matter. I have not seen any instructions on how to root this thing since the unlock tool became compatible 3 days ago. But maybe I have missed something.
Thanks for any help.
Still cant get rom to boot... however, i have been able to fastboot into custom recovery and complete the flashing process...
Now i am just stuck at the HTC screen after reboot.
Any suggestions?
Thank you all so far. You have been most helpful.
***** update ***** I finally got it after fast booting into recovery, flashing rom, and then extracting boot.img from that rom and flashing it via fastboot.
mza929 said:
Still cant get rom to boot... however, i have been able to fastboot into custom recovery and complete the flashing process...
Now i am just stuck at the HTC screen after reboot.
Any suggestions?
Thank you all so far. You have been most helpful.
***** update ***** I finally got it after fast booting into recovery, flashing rom, and then extracting boot.img from that rom and flashing it via fastboot.
Click to expand...
Click to collapse
Yes good job. The last part is the key to getting a custom ROM installed. Glad it worked for you.
---------- Post added at 09:13 AM ---------- Previous post was at 09:09 AM ----------
hackweed said:
OK maybe I am missing something here. Do you actually have full root? If you do, how did you get it? I don't know how to get the su binary and busybox installed. I have unlocked my bootloader using the htc supertool and I don't have root, which is keeping me from installing CWM or anything root related for that matter. I have not seen any instructions on how to root this thing since the unlock tool became compatible 3 days ago. But maybe I have missed something.
Thanks for any help.
Click to expand...
Click to collapse
After you have an unlocked HBOOT, you need to flash CWM recovery image in FASTBOOT mode. Once you have CWM installed, you can install the latest SU-3.0.xx.zip to root your current ROM and then you can installl and use root programs like ROM Manager, Busybox, Titianium Backup, etc. or you can install a rooted custom ROM.

[Q] OTA updates failing

Anyone able to tell me how to get the OTA updates to work again?
Phone was originally rooted but deleted the root and also added teamwin recovery
Not sure what to do but notifications of the update are annoying me
Thanks in advance!
xploitUK said:
added teamwin recovery
Click to expand...
Click to collapse
There's your problem.
You need stock recovery for OTAs not custom recoveries.
How do I remove it?
xploitUK said:
How do I remove it?
Click to expand...
Click to collapse
If you don't have a backup of your stock recovery on PC then you can download stock recovery from this thread
Extract the recovery to the folder where adb/fastboot is in, by default this will be in the platform-tools folder for the SDK kit.
Connect your device to the pc.
Hold shift and right click in window(tools folder) open command prompt - or open command prompt and change directory to location of fastboot/recovery.img (You should have done this before when you flash the custom recovery so you should know where the folder etc is).
Type: adb devices - check if device gets picked up, should show you your serial number for the device.
Type: adb reboot bootloader
Type: fastboot flash recovery recovery.img
Type: fastboot reboot
Done.
Stock recovery will then be on device again, it'll reboot and once done you should be able to install OTA update. :good:
Great many thanks
Alrighty, no problem! =oD
Just hooked phone up to computer and flashed new recovery, now showing as 1.54.401.10 - cheers for helping with update

my phone keeps booting into fastboot mode

hello,
after i failed to root my phone
everytime i try to put it in recovery mode it goes back to fastboot mode ..
even if i tried to flash a recovery on it , it would boot to fastboot mode
even when trying to install a official htc software update it just boots into fastboot ..
now i want to get it back to stock..
can you please help me !!
if someone would like to help me .. i can open teamviewer and he can do it for me ..
thx
zsnorow said:
hello,
after i failed to root my phone
everytime i try to put it in recovery mode it goes back to fastboot mode ..
even if i tried to flash a recovery on it , it would boot to fastboot mode
even when trying to install a official htc software update it just boots into fastboot ..
now i want to get it back to stock..
can you please help me !!
if someone would like to help me .. i can open teamviewer and he can do it for me ..
thx
Click to expand...
Click to collapse
If you are able to boot into fastboot, search the latest TWRP and flash it via adb. Connect your device while in fastboot mode and see if it recognize it.
If it does put the recovery file you have downloaded on your desktop and open a command window, press shift and right click at the same time and click on Open command window here.
Type adb devices, if you see a serial number go on and type adb reboot bootloader, then type fastboot flash recovery [ the name of the recovery file you have just downloaded ]
You can do this just by powering on your phone, no need to be already in fastboot mode, just follow the commands.
Press shift and right click : open command window here : adb devices : adb reboot bootloader : fastboot flash recovery [ the name of the recovery file you have just downloaded, do not forget the .img extension ]
fastboot reboot
Once you have a working TWRP you can flash your corresponding backup and go back to stock. The backup will be flashed from TWRP, search for instructions.
XSL-FO said:
If you are able to boot into fastboot, search the latest TWRP and flash it via adb. Connect your device while in fastboot mode and see if it recognize it.
If it does put the recovery file you have downloaded on your desktop and open a command window, press shift and right click at the same time and click on Open command window here.
Type adb devices, if you see a serial number go on and type adb reboot bootloader, then type fastboot flash recovery [ the name of the recovery file you have just downloaded ]
You can do this just by powering on your phone, no need to be already in fastboot mode, just follow the commands.
Press shift and right click : open command window here : adb devices : adb reboot bootloader : fastboot flash recovery [ the name of the recovery file you have just downloaded, do not forget the .img extension ]
fastboot reboot
Once you have a working TWRP you can flash your corresponding backup and go back to stock. The backup will be flashed from TWRP, search for instructions.
Click to expand...
Click to collapse
can you sir please give me a link for the TWRP and teach em how to flash it ? it would be much appreciated..
zsnorow said:
can you sir please give me a link for the TWRP and teach em how to flash it ? it would be much appreciated..
Click to expand...
Click to collapse
http://teamw.in/project/twrp2 and click on the upper right Get TWRP for your device.
Choose your device recovery and download the adb version. That is the .img
Once you have downloaded TWRP put it on your desktop.
Connect your device with your laptop/pc with the unknown sources checked also the usb debugging checked.
Move your mouse over a free space on your desktop, click once just to be sure there is no app or file clicked.
Then press shift and keep it pressed while you right click your mouse.
Press open command window here
in that command window type : adb devices
if you see a serial number type : adb reboot bootloader
then type : fastboot flash recovery openrecovery-twrp-2.8.1.0-m8.img
fastboot reboot
openrecovery-twrp-2.8.1.0-m8 : This is an example, you will write the name of your recovery but it should be pretty much the same.
Good luck.
Are you familiar with
adb/fastboot commands?
It's a bad idea to mess with your phone if you don't know how to repair it if something goes wrong
spinninbsod said:
It's a bad idea to mess with your phone if you don't know how to repair it if something goes wrong
Click to expand...
Click to collapse
I agree with you but maybe he has done some reading and has fixed it sense he hasn't given us an update
ive tried everything
jball said:
I agree with you but maybe he has done some reading and has fixed it sense he hasn't given us an update
Click to expand...
Click to collapse
i tried everything to fix my phone like sideloading (my phone doesent get recognised when in sideload mode) , pushing a ROM and the flashing it with TWRP (it says that its completed but it doesent work)..
what else can i do .. cant someone do it for me via teamviewer ..
zsnorow said:
i tried everything to fix my phone like sideloading (my phone doesent get recognised when in sideload mode) , pushing a ROM and the flashing it with TWRP (it says that its completed but it doesent work)..
what else can i do .. cant someone do it for me via teamviewer ..
Click to expand...
Click to collapse
What guides/tutorials have you followed to get to the point you are at now.I'm sure someone wouldn't mind teamviewing the whole process but what would you learn by having that done .
From start to finish what have you used?
i honestly cant remember everything i did
jball said:
What guides/tutorials have you followed to get to the point you are at now.I'm sure someone wouldn't mind teamviewing the whole process but what would you learn by having that done .
From start to finish what have you used?
Click to expand...
Click to collapse
i cant remember everything i did but im sure that i followed the tutorials that are on youtube/XDA/android forums correctly
zsnorow said:
i tried everything to fix my phone like sideloading (my phone doesent get recognised when in sideload mode) , pushing a ROM and the flashing it with TWRP (it says that its completed but it doesent work)..
what else can i do .. cant someone do it for me via teamviewer ..
Click to expand...
Click to collapse
You say "pushing a ROM" with what?
You don't push a ROM with TWRP you just flash it.
Or are you talking about pushing the ROM with fastboot?
If you have TWRP than download a stock backup and flash it.
Take a long look at my profile man and if you look just right you will see I've done and asked some stupid things in my travels here on XDA.I can tell you I remember every phone and ridiculous thing I've done to each of them,I still feel crunchy when I think of the mistakes.
We really need more info about the full process.please I'm not trying to offend you and I'm trying to help
zsnorow said:
i cant remember everything i did but im sure that i followed the tutorials that are on youtube/XDA/android forums correctly
Click to expand...
Click to collapse
If you can't remember what you did, or at least even try to list in detail the steps you did as best you can remember; it makes it very hard for anyone to help.
Saying you followed some tutorials on an entire website (3 websites actually) doesn't tell us jack, and isn't any better than telling us nothing.
Its not even clear the current condition of the phone. Your OP says TWRP doesn't work, then a later post says you are trying things with TWRP, so presumably you have TWRP. But since you never stated that, we can only guess.
What happens when you try to adb push or sideload? What error messages, does it make the phone reboot, stuck on boot screen, etc?
TWRP working? Bootloader is unlocked? If yes to both of those, you should be able to just adb push a ROM, or put one on removable SD with a card reader attached to your computer. Than flash the ROM in TWRP.
same thing happened with me but i remember what i did
redpoint73 said:
If you can't remember what you did, or at least even try to list in detail the steps you did as best you can remember; it makes it very hard for anyone to help.
Saying you followed some tutorials on an entire website (3 websites actually) doesn't tell us jack, and isn't any better than telling us nothing.
Its not even clear the current condition of the phone. Your OP says TWRP doesn't work, then a later post says you are trying things with TWRP, so presumably you have TWRP. But since you never stated that, we can only guess.
What happens when you try to adb push or sideload? What error messages, does it make the phone reboot, stuck on boot screen, etc?
TWRP working? Bootloader is unlocked? If yes to both of those, you should be able to just adb push a ROM, or put one on removable SD with a card reader attached to your computer. Than flash the ROM in TWRP.
Click to expand...
Click to collapse
firstly i unlocked my bootloader via htcdev website then i installed twrp recovery successfully and then when i tried to root my phone by installing two zip files (mm-su-boot. & beta super su) i installed these two files and then tried to reboot my phone it opened in fastboot mode only . then i read here about the revolution hd rom installed it successfully but it does not reboot . help needed
farhanakhtar39 said:
firstly i unlocked my bootloader via htcdev website then i installed twrp recovery successfully and then when i tried to root my phone by installing two zip files (mm-su-boot. & beta super su) i installed these two files and then tried to reboot my phone it opened in fastboot mode only . then i read here about the revolution hd rom installed it successfully but it does not reboot . help needed
Click to expand...
Click to collapse
Your device is M8 dual SIM .. mm-su-boot is for M8 single SIM, won't work on your device.
Install custom ROM with support for Dual SIM or restore your stock ROM backup
please can you provide any link of the rom for dual sim addition
farhanakhtar39 said:
please can you provide any link of the rom for dual sim addition
Click to expand...
Click to collapse
Not so sure,
if Sense ROM - https://forum.xda-developers.com/htc-one-m8/development/rom-sense-6-12-401-4-mra58k-stock-t3296066
maybe S.ROM too has dual SIM support, you need to ask in their thread
https://forum.xda-developers.com/ht...the-worlds-first100-m9-port-m8upload-t3064838
if non-Sense ROM
CM13 ROM - https://forum.xda-developers.com/htc-one-m8/development/rom-cyanogenmod-13-0-experimental-t3259068
Nougat ROM -
https://forum.xda-developers.com/showthread.php?t=2753248
https://forum.xda-developers.com/htc-one-m8/development/rom-resurrection-remix-v5-8-0-t3507210
https://forum.xda-developers.com/ht...cyanogenmod-14-1-htc-one-m8-dual-sim-t3507192
There are a few more that support Dual SIM but you have to check & ask in their development thread as I'm not familiar with most of the available custom ROMs .. I don't try most of them
Thnks
Thanks buddy it worked
cm 13 worked for me !
God bless you
If I may jump in on this post and ask some advise my m8s is only booting to fastboot screen it has never been flashed, have tried recovery: nothing just goes back to fastboot, also wiped cache and factory reset: same result..... It has done this 2 times previous but only after restarting phone, usually repeatedly doing reboot it loads but it's been 2 days now and still only getting fastboot screen...plez help
My phone is having similar issues
Stanna16 said:
If I may jump in on this post and ask some advise my m8s is only booting to fastboot screen it has never been flashed, have tried recovery: nothing just goes back to fastboot, also wiped cache and factory reset: same result..... It has done this 2 times previous but only after restarting phone, usually repeatedly doing reboot it loads but it's been 2 days now and still only getting fastboot screen...plez help
Click to expand...
Click to collapse
I recently decided to root and install a custom rom on my old stock sprint HTC one m8. I unlocked the boot loader via HTC Dev website. I then flashed the TWRP recovery. Since doing the latter step, it's been booting into fast boot all the time! Did you ever figure out what was wrong with your phone?
pancho2009 said:
I recently decided to root and install a custom rom on my old stock sprint HTC one m8. I unlocked the boot loader via HTC Dev website. I then flashed the TWRP recovery. Since doing the latter step, it's been booting into fast boot all the time! Did you ever figure out what was wrong with your phone?
Click to expand...
Click to collapse
You only flashed TWRP onto the phone? Or did you root also?
Not nearly enough info to provide the proper help.
Please do fastboot getvar all, and post the results (delete IMEI and serial number before posting).
What version TWRP?
What version SuperSU did you flash (if you got that far)?

How to Flash the Stock Firmware

because of sim slot 2 issue i want to give my phone under warranty
I want to Flash the original stock firmware of Zenfone 2
i have downloaded the stock Firmware file.
how should i flash it. should i flash it using Fastboot method or TWRP directly ?
current recovery : TWRP
If you have TWRP then you must have unlocked the bootloader, which means your warranty is void.
Ya i know... But it is hardware prob. So i don't think so they will check my phone bootloader.. So want to give a try
Do you have the white splash screen? If you do I'd flash the black one back in TWRP, then at least it isn't immediately obvious the the boot loader is unlocked. Next, I'd fastboot flash back to the stock recovery for the firmware you are going to restore (you don't want to leave TWRP on there). Then wipe data and cache, put the firmware on your SD card renamed as MOFD_SDUPDATE, and boot into recovery to flash it.
Thxxx. I had already flashed black splash screen...
Ok finally i need flash stock recovery and then flash the original firmware...
Sagarvaghela said:
Thxxx. I had already flashed black splash screen...
Ok finally i need flash stock recovery and then flash the original firmware...
Click to expand...
Click to collapse
Don't forget to unroot, uninstall xposed, l speed mod, etc. that writes to /system.
Ntrasme said:
Don't forget to unroot, uninstall xposed, l speed mod, etc. that writes to /system.
Click to expand...
Click to collapse
He doesn't need to do that - flashing the full firmware file via recovery will overwrite the whole of /system. Only need to unroot etc if flashing an ota.
Hi folks
Can anyone make a guide step-by-step to how back (from cm12.1 to stock)??
Clean install like factory stock!
I think it´s a good action to noobs, like me!
I found this steps, but i donót know if is so simply like description:
http://www.asus.com/zentalk/forum.php?mod=viewthread&tid=12528
"Open adb folder and Shift + right click > Open Command pomport Here (click on it)
On the adb cmd type adb reboot-bootloader
After you enter the fastboot/droid boot, on the adb cmd type fastboot flash recovery <Recovery Image File Name.img>
Example: fastboot flash recovery recovery.img
After the recovery flash complete go to "recovery menu" and select on it, after you enter recovery navigate and select "update from adb"
And type on adb cmd adb sideload <Firmware File.zip>
Wait the for the process to complete the phone (~25min), if you have an auto reboot, you need to enter in the "boot loader" and select again "Recovery Mode"
you can now select "wipe data/factory reset" (~5min)
when is finish select "wipe cache partition" (~1min)
and for the end select "reboot system now"
The Boot process Will be Little Longer After This Process PLease Be Patient (~5min)
Finish!
*Note This Tutorial Can Be Applied To This Cases : [U Want To Upgrade Your Zenfone 2 Or Downgrade It, Your Phone Has Soft Bricked (Boot Loop) And You Want To Fix It By Yourself]"
Work to rollback from CM???
Reflashing Stock Rom
Simple Way
If you come from CM 12.1 @crpalmer and TWRP from @TheSSJ and want to flashing stock rom.
1. you must download full stock rom from asus server
2. put your downloaded stock rom into adb folder
3. go to recovery mode (TWRP) and select Advanced > ADB Sideload > select Wipe Dalvik Cache and Wipe Cache and swipe to start sideload
4. access your adb and From the command line, type adb sideload yourstockrom.zip
5. wait until finished and select reboot
Done.!!
device not found
pocax said:
Simple Way
If you come from CM 12.1 @crpalmer and TWRP from @TheSSJ and want to flashing stock rom.
1. you must download full stock rom from asus server
2. put your downloaded stock rom into adb folder
3. go to recovery mode (TWRP) and select Advanced > ADB Sideload > select Wipe Dalvik Cache and Wipe Cache and swipe to start sideload
4. access your adb and From the command line, type adb sideload yourstockrom.zip
5. wait until finished and select reboot
Done.!!
Click to expand...
Click to collapse
I am trying this to flash stock rom ,during the stage at (twrp recovery > advanced > adb sideload> sipe cache/dalvik),but in adb ,after giving the command says "device not found" what to do. I am a noob. I rooted/ unlocked the bootloader/installed a custom recovery (twrp) /installed cm12.1 nightly. now I want to back to stock root . help me. how to work in adb and sideload when the device is not found
dr.arifeen7009 said:
I am trying this to flash stock rom ,during the stage at (twrp recovery > advanced > adb sideload> sipe cache/dalvik),but in adb ,after giving the command says "device not found" what to do. I am a noob. I rooted/ unlocked the bootloader/installed a custom recovery (twrp) /installed cm12.1 nightly. now I want to back to stock root . help me. how to work in adb and sideload when the device is not found
Click to expand...
Click to collapse
I was only able to adb sideload from stock recovery. Reflash stock recovery and do it from there.
stock rom/recovery
rlaw said:
I was only able to adb sideload from stock recovery. Reflash stock recovery and do it from there.
Click to expand...
Click to collapse
how to flash the stock recovery? what will happen with the twrp (custom recovery ) then?
after flashing stock recovery , will i will be able to get ota update from asus?
i mean, i completely wana go back to the initial stage like when i bought the phone, (pure stock/un rooted/locked bootloader) what's the process?
i was wondering if going back to stock will not give me ota update from asus again.
if there's a guide line showing complete process of rolling back to stock from cm12.1 nightly and having stock rom with ota enabled ( yah! i dun wana hang up on bootloader animation. it happens)
please suggest me.
thanks for responce and help
peace!! (Y):good:
dr.arifeen7009 said:
how to flash the stock recovery? what will happen with the twrp (custom recovery ) then?
after flashing stock recovery , will i will be able to get ota update from asus?
i mean, i completely wana go back to the initial stage like when i bought the phone, (pure stock/un rooted/locked bootloader) what's the process?
i was wondering if going back to stock will not give me ota update from asus again.
if there's a guide line showing complete process of rolling back to stock from cm12.1 nightly and having stock rom with ota enabled ( yah! i dun wana hang up on bootloader animation. it happens)
please suggest me.
thanks for responce and help
peace!! (Y):good:
Click to expand...
Click to collapse
Backup anything you want to keep and export it to PC to re-add it onto your phone later.
Download stock firmware here: http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE551ML/UL-Z00A-WW-2.20.40.59-user.zip
Rename it to update.zip to make it easier for you. Put it in the same folder where your adb is located on PC.
http://www.mediafire.com/?afulultx06r70a4
Download latest stock recovery here.
Reboot your phone into bootloader. Open a command window where these files are located (shift+right click in Windows should open a context menu with open command window here option).
Flash the recovery: "fastboot flash recovery recovery.img"
Type that without quotes and press enter.
After it's finished, press volume down on phone til recovery option comes up then press power button.
Let the phone reboot. Eventually an error screen will pop up. When it does, hold down power button and press volume up. Release both buttons at the same time. If you did it correctly, recovery menu will now show up.
Choose apply update from adb sideload then from PC command window type "adb sideload update.zip" without quotes.
Then wait 10-20mins for it to finish. You'll be completely stock. Your data and internal storage will be formatted. That's why I said make backups first.
rlaw said:
Backup anything you want to keep and export it to PC to re-add it onto your phone later.
Download stock firmware here: http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE551ML/UL-Z00A-WW-2.20.40.59-user.zip
Rename it to update.zip to make it easier for you. Put it in the same folder where your adb is located on PC.
http://www.mediafire.com/?afulultx06r70a4
Download latest stock recovery here.
Reboot your phone into bootloader. Open a command window where these files are located (shift+right click in Windows should open a context menu with open command window here option).
Flash the recovery: "fastboot flash recovery recovery.img"
Type that without quotes and press enter.
After it's finished, press volume down on phone til recovery option comes up then press power button.
Let the phone reboot. Eventually an error screen will pop up. When it does, hold down power button and press volume up. Release both buttons at the same time. If you did it correctly, recovery menu will now show up.
Choose apply update from adb sideload then from PC command window type "adb sideload update.zip" without quotes.
Then wait 10-20mins for it to finish. You'll be completely stock. Your data and internal storage will be formatted. That's why I said make backups first.
Click to expand...
Click to collapse
Anybody tried this?
rblaker said:
Anybody tried this?
Click to expand...
Click to collapse
If you looked around the forum and did research, you'd see this is common and MANY people have done it. It's one of 3 ways to flash firmware.
rlaw said:
If you looked around the forum and did research, you'd see this is common and MANY people have done it. It's one of 3 ways to flash firmware.
Click to expand...
Click to collapse
if i get back to stock, will i be able to receive ota?
Help Me DUDE !!
Hey There, I need to give my phone for replacement but I had unlocked the bootloader. how do I Re lock it ???
I bought a Z00A online just a few days ago, rooted it, unlocked the bootloader, installed TWRP, and then CM12. All was perfect until I realized some hardware problems with the speaker. Also lately it doesn't boot up easily on pressing the power button. In fact every time I have to go to the bootloader and 'Normal Boot' from there. And even that doesn't happen all the time. I have installed the stock recovery, flashed back the black splashscreen, and also the stock-firmware through adb sideload successfully.
Now can someone tell me does flashing the stock firmware through adb sideload re-locks the bootloader or not ??
If no, what are my chances of getting a replacement ???
I'm attempting to go back to stock also. So when I'm in bootloader fastboot and adb do not see the phone. Adb sees it when in recovery and in normal. But I need fastboot in order to flash stock recovery. Right now I have official TWRP and superzen installed. I've tried in both Windows and LinuxMint. With the same results in both. Any ideas would be appreciated.

Help I bricked my Oneplus 3

Hi, i played around with my new OP3, and i wanted to root it. Since i'm noob at rooting, it went wrong. (i did it with twrp)
So first it just went in to bootloop, then i was still able to get to rcovery and stuff, but i followed a guide to fix bootloop, and that ****ed it even more up. The guide i followedet told me to use "OnePlus3_Unbrick_Tool"
After using "OnePlus3_Unbrick_Tool", i now cant even go into recovery anymore, the only thing i can do is go to bootloader, but when i'm in bootloader now, it wont connect proberly, so that i can use "flash twrp", so that i can use twrp recovery.
Also when i try to boot it, it because of "OnePlus3_Unbrick_Tool" goes into something, where it says "md5 checksum failed", and then restarts and does it again and again.....
I hope it's not bricked forever, pls help ))
have you tried re-flashing the stock or twrp recovery with adb sideload command?
if not give it a shot, it might work.
bonham1988 said:
have you tried re-flashing the stock or twrp recovery adb sideload command?
Click to expand...
Click to collapse
And how do you say I do that? I have tried using the "tool all in one", where you han flash both stock and twrp, but it doesnt seem to do anything, when i press them (and the device is in bootloader)
Godeske said:
And how do you say I do that? I have tried using the "tool all in one", where you han flash both stock and twrp, but it doesnt seem to do anything, when i press them (and the device is in bootloader)
Click to expand...
Click to collapse
Just boot into bootloader mode and through command prompt check if your phone is detected by typing fastboot devices. If its detected then you flash a new recovery again. Forget the toolkit, just look for instructions on how to install a custom recovery.
Sent from my OnePlus3 using XDA Labs
bonham1988 said:
Just boot into bootloader mode and through command prompt check if your phone is detected by typing fastboot devices. If its detected then you flash a new recovery again. Forget the toolkit, just look for instructions on how to install a custom recovery.
Sent from my OnePlus3 using XDA Labs
Click to expand...
Click to collapse
Okay i've tried that now, and it wont allow me unlock my bootloader from command prompt, and i cant do the flash while it's locked.. what to do?
Godeske said:
Okay i've tried that now, and it wont allow me unlock my bootloader from command prompt, and i cant do the flash while it's locked.. what to do?
Click to expand...
Click to collapse
In fastboot mode, did you manage to find your device on the computer? On Linux this is "sudo fastboot devices", on Windows it should be roughly similar.
simthadim said:
In fastboot mode, did you manage to find your device on the computer? On Linux this is "sudo fastboot devices", on Windows it should be roughly similar.
Click to expand...
Click to collapse
When im in fastboot mode in the bootloader, i can only find it in "device manager" as "marshall london device -> marshall london bootloader interface"
Godeske said:
When im in fastboot mode in the bootloader, i can only find it in "device manager" as "marshall london device -> marshall london bootloader interface"
Click to expand...
Click to collapse
Might seem a silly question but what phone are you using? If it is a OnePlus3 have you installed the correct drivers?
ghostofcain said:
Might seem a silly question but what phone are you using? If it is a OnePlus3 have you installed the correct drivers?
Click to expand...
Click to collapse
Pretty sure i have, but i have booked a session with oneplus costumer service now, so that they do it for me live lololol
bonham1988 said:
have you tried re-flashing the stock or twrp recovery with adb sideload command?
if not give it a shot, it might work.
Click to expand...
Click to collapse
Hey bonham,
The same thing happened to me but when I try to sideload it says I need 1.0.32 or higher to sideload this device
What should I do?
gavintoronto2016 said:
Hey bonham,
The same thing happened to me but when I try to sideload it says I need 1.0.32 or higher to sideload this device
What should I do?
Click to expand...
Click to collapse
Adb version is outdated. Just download the latest ones.
Sent from my OnePlus3 using XDA Labs
Hey guys, if there are some of you, who knows a lot about this, would you like to answer this comment? Idk maybe we could use teamviewer to help me or something
simthadim said:
In fastboot mode, did you manage to find your device on the computer? On Linux this is "sudo fastboot devices", on Windows it should be roughly similar.
Click to expand...
Click to collapse
Ohh i think i understand your question. YEs in command prompt I am able to find the device, it is connected.
(do you know a lot about this, maybe you could teamview me to help?))
Godeske said:
Ohh i think i understand your question. YEs in command prompt I am able to find the device, it is connected.
(do you know a lot about this, maybe you could teamview me to help?))
Click to expand...
Click to collapse
Hey!
I'm not the expert but I have played with my 1+3 enough to have some knowledge.
First of all, do not use "all in one tools", those do not put you in control.
Cool, so fastboot is detected, though you can't get into the recovery?
Step 1) make sure you have the latest version of "fastboot" and "adb" (Android Debug Bridge) and unlock the bootloader. This tread should be helpfull: http://forum.xda-developers.com/oneplus-3/how-to/oneplus-3-how-to-unlock-bootloader-t3398733
You need to do this, because otherwise we will not be able to proceed (i.e. the phone is to be 'unlocked' for what we are about to do).
Step 2) If you are ready than let's flash a new recovery (TWRP):
This is also step 2 in the thread mentioned above. Very important: "Once the flash has completed, Don't use the "Fastboot Reboot" Command Instead Unplug Your phone then Manually boot it into recovery by keeping Power + Volume Down button pressed."
So once you have flashed a new recovery using fastboot, than you should reboot your phone into the new recovery!
step 3)
Once in the new recovery (TWRP) go to advanced and to ADB sideload. Make sure your computer detects your device with the command "adb devices" and flash a new ROM. Just for simplicity use the official OOS 3.2.4.
This should do the trick. Before you go and try make sure you understand EVERYTHING I have written. Let me know if you have questions.
simthadim said:
Hey!
I'm not the expert but I have played with my 1+3 enough to have some knowledge.
First of all, do not use "all in one tools", those do not put you in control.
Cool, so fastboot is detected, though you can't get into the recovery?
Step 1) make sure you have the latest version of "fastboot" and "adb" (Android Debug Bridge) and unlock the bootloader. This tread should be helpfull: http://forum.xda-developers.com/oneplus-3/how-to/oneplus-3-how-to-unlock-bootloader-t3398733
You need to do this, because otherwise we will not be able to proceed (i.e. the phone is to be 'unlocked' for what we are about to do).
Step 2) If you are ready than let's flash a new recovery (TWRP):
This is also step 2 in the thread mentioned above. Very important: "Once the flash has completed, Don't use the "Fastboot Reboot" Command Instead Unplug Your phone then Manually boot it into recovery by keeping Power + Volume Down button pressed."
So once you have flashed a new recovery using fastboot, than you should reboot your phone into the new recovery!
step 3)
Once in the new recovery (TWRP) go to advanced and to ADB sideload. Make sure your computer detects your device with the command "adb devices" and flash a new ROM. Just for simplicity use the official OOS 3.2.4.
This should do the trick. Before you go and try make sure you understand EVERYTHING I have written. Let me know if you have questions.
Click to expand...
Click to collapse
Thank you, but i have not enabled "allow oem unlocking" in the developer settings when the phone worked, so i get a error message "FAILED (remote: oem unloc is not allowed)
What to do to unlock it then?
Bro, download 3.2.4 oos rom zip file from official link. Its around 1.3 GB. Just connect ur OP3 to computer. It will detect as MTP device.Im my computer it was in the name of RAIN Transfer the zip file to internal storage. Wipe cache. And select install option in TWRP and select the zip file u pushed and flash it. Best of luck..
jaganmohans said:
Bro, download 3.2.4 oos rom zip file from official link. Its around 1.3 GB. Just connect ur OP3 to computer. It will detect as MTP device.Im my computer it was in the name of RAIN Transfer the zip file to internal storage. Wipe cache. And select install option in TWRP and select the zip file u pushed and flash it. Best of luck..
Click to expand...
Click to collapse
Bro, if just it were that simple, but it's not.. It doesn't find the phone in my computer...
simthadim said:
Hey!
I'm not the expert but I have played with my 1+3 enough to have some knowledge.
First of all, do not use "all in one tools", those do not put you in control.
Cool, so fastboot is detected, though you can't get into the recovery?
Step 1) make sure you have the latest version of "fastboot" and "adb" (Android Debug Bridge) and unlock the bootloader. This tread should be helpfull: http://forum.xda-developers.com/oneplus-3/how-to/oneplus-3-how-to-unlock-bootloader-t3398733
You need to do this, because otherwise we will not be able to proceed (i.e. the phone is to be 'unlocked' for what we are about to do).
Step 2) If you are ready than let's flash a new recovery (TWRP):
This is also step 2 in the thread mentioned above. Very important: "Once the flash has completed, Don't use the "Fastboot Reboot" Command Instead Unplug Your phone then Manually boot it into recovery by keeping Power + Volume Down button pressed."
So once you have flashed a new recovery using fastboot, than you should reboot your phone into the new recovery!
step 3)
Once in the new recovery (TWRP) go to advanced and to ADB sideload. Make sure your computer detects your device with the command "adb devices" and flash a new ROM. Just for simplicity use the official OOS 3.2.4.
This should do the trick. Before you go and try make sure you understand EVERYTHING I have written. Let me know if you have questions.
Click to expand...
Click to collapse
Hey i have the same problem but this fix does not work for me.
So I have the bootloader unlocked and I can enter the bootload and my computer detects my device which is nice.
when I flash twrp on my phone trough CMD it doesnt work, my PC tells me that everything is okay but my phone will not boot into twrp and instead it will give me weird errors.
---------- Post added at 03:31 PM ---------- Previous post was at 02:56 PM ----------
this fix worked for me,
On the screen when the phone failed to md5 checksum, you've got several partition failed right? in red text.
- download this : https://www.androidfilehost.com/?fid=24591000424942573
and then extract.
- download platform tools attached below. extract in the same folder with first file you've downloaded.
- Boot your phone to fastboot mode, plug your usb, make sure adb and fastboot driver are installed.
- on the folder, hold shift and right click, click open command here
- type fastboot devices
- make sure your serial number appear.
- now flash the img of the missing file according to the partition in red text on your ms5 checksum failed one by one.
- e.g. "fastboot flash boot_aging boot_aging.img.
- make sure you flash all the missing partition.
- type fastboot reboot.
this will boot you to oos 3.1.2.
unfortunately I couldn't extract the newest oos dat. data. but you could always take the OTA
goodluck mate. sorry for my english
Godeske said:
Bro, if just it were that simple, but it's not.. It doesn't find the phone in my computer...
Click to expand...
Click to collapse
Hmm bad try installing all op3 drivers and see whether phone is detected or not. I was in the same situation previously. Pushing zip through adp terminal is painful process. I got device offline first,after solving that i got service not recognized issue. For solving that usb debugging needs to be enabled i stuck in that step.
can you enter recovery trough fastboot mode? I.e. if you are in fastboot mode you van use the volume keys to select recovery.
100% sure you can't enter recovery?
you can try Fast and pro's option. let us know!

Categories

Resources