Stock Recovery to TWRP - One (M7) Q&A, Help & Troubleshooting

Dear xda_users,xda_devs
Greetings .
I am using HTC one M7 UL . I have downloaded 3 gb of updates from OTA. as I was not using it from 2 years, it upgraded from 2.xxx -> 7.xx i.e Sense 6 and Android 5.0 , In between update process I flashed cwm (TWRP is not working ,idk why, fastboot boot recovery command is also not working),and figured out that when i try to install OTA it fails , some check sum or signature failure was there .
And when i flashed a stock recovery from my phone my phone was kind of soft reset , and it went to version 2.xxx . So I have to download all the updates again, which I did , now my question is how can I make a nandroid backup without flashing custom recovery , as if I flash a custom recovery after updating . 1. I download update , it wont install from OTA. 2. I used by backup which i created from cwm it will restore my phone to that date . but cwm will be also recovered , so My point of backup will be useless.
Conclusion :- I need to install updates from OTA , plus I need root as well ( Sadly fastboot boot recovery.img is not working ). I am having no issues with custom recoveries but I have to install OTA .And also why my phone get reset when I flashed my stock recovery , it didnt happened in cwm or TWRP or philz
In seek of help
Thanking You
rahulnegi1409

Related

[Q] stock 4.2.2 - how to root ?

Can someone please help with this ?
I'm want to flash the stock recovery in order to receive the 4.2.2 OTA update (currently I have the stock 4.1.2 + root + TWRP + S-OFF)
Can someone guide me please, what stock recovery do I need to flash and where should I grab it from ?
I've found only this link http://forum.xda-developers.com/showthread.php?t=2158763
Not sure if is the right recovery but the download link from there is broken
Any idea if I need to be S-OFF or ON in order to receive the OTA ?
That's old thread. Run either a ruu or Mike's stock. Be sure u have stock recovery as well.
Sent from my HTC One
where can I have the stock recovery ? (I can't find it)
- Ok after a lot of digging around I've found a stockrecovery.img file , so I've flashed that like this: fastboot flash recovery stockrecovery.img
- the spooky part after doing this was that I was unable to enter into recovery anymore , the screen alway remained in Entering Recovery and that was it ... maybe someone explain why ?
- then I've locked the bootloader like this: fastboot oem lock
- then I've installed a RUU for Europe (also found out here after diggin around) which actually downgraded my firmware to an older version
- after downgrade I've received an OTA update to a newer firmware - did that
- then after I've received the 4.2.2 OTA update , finaly
- then I've performed a bootloader unlock
- then I've flashed a TWRP recovery image in order to root the device
Now here comes the issue, after flashing the TWRP recovery image, while entering into the TWRP recovery I'm not able to click on any menu , is like the touch screen does not take any input so I'm unable to install the SU binaries
Has anyone encountered this issue ?
How did you root your stock 4.2.2 device ?
Reflashed the CWM recovery (instead of TWRP) as somebody recommend it and it worked - now I have root, too.
dinoc said:
Reflashed the CWM recovery (instead of TWRP) as somebody recommend it and it worked - now I have root, too.
Click to expand...
Click to collapse
Hi there,
i have the exact same problem, the screen wont register touches. How do i reflash CMW? im a noob
You are going to flash it in the same manner you did with the TWRP.
You put your phone into fastboot then issue a command like :
fastboot flash recovery cwm_image_name
You should search for a cwm recovery image file.
And you need to have the bootloader unlocked
After update to 4.2.2 TWRP wont recocnize touch due to the driver update.
Here is a modified version of TWRP where touch work with 4.2.2 OTA
Download and rename it to howdoyouwant.img then
fastboot flash recovery howdoyouwant.img
fastboot erase cache

((SOLVED)) HTC one mini 2 Restore to factory settings with enabled OTA updates

can any one please share ? i'd like to get the OTAs badly. Rooted my phone, installed custom recovery, now i want to the stock recovery back, also i relocked the bootloader. Will this allow me to get OTAs normally after i flash the stock recovery back ? thanks.
I need version 2.16.401.5, thanks.
i tried flashing with the 2.16.401.1 recovery but getting "signature verify fail", could it be because i installed superuser with TWRP recovery ?If so, how can i fix it ?
EDIT: i guess i did it, forgot to unlock the bootloader, dont know why i locked it again lol, anyways, installed 401.1 recovery and did a factory reset. Is this it ? or do i need to unroot the device with supersu that i have installed and relock the bootloader ? I did not install any custom roms, so the rom is HTC stock, but i installed superuser with TWRP. Will this do any harm ?
Okay i did some research and i FIXED the problem and was able to get OTA update back.
this is what i did:
-Unlocked Bootloader (which i forgot obviosly)
-Installed TWRP (http://forum.xda-developers.com/one-mini-2/orig-development/recovery-twp-2-7-1-0-one-mini-2-t2801370)
-Downloaded original nandroid backup (thanks to Kativiti) (http://forum.xda-developers.com/one-mini-2/help/img-rom-ruu-request-t2847860) (nandroid backup: https://mega.co.nz/#!msthgIJB!WF5r4CwkXOg3Xda1YP_ESAKRNeY7AC5jkA_tIW65PwU
-made a recovery to show me where i need to copy the backup on my sdcard to
-copied the backup there and made a restore in TWRP
-then flashed the original bootloader back (thanks to: djluisbento) (thread: http://forum.xda-developers.com/one-mini-2/help/request-original-recovery-img-t2809031) , also make sure you flash the 2.16.401.1 recovery because the nandroid backup is also 2.16.401.1 version. (stock recovery download: https://drive.google.com/folderview?id=0B4sLrKlVs0CPMXZMb2FJNGFOdEE&usp=sharing)
-after i did all that stuffs i was able to get the 2.16.401.5 update and it works flawlessly. And to not forget my CID is HTC__032.
Thanks guys for these files and thanks to this forum. You saved me, you are the best. Cant believe i fixed it so easily. May god bless you
~jnB
(^-^)~ Nyaa

[HOW TO]Restoring TWRP Backup L10...B135/B136 ROM after other ROMs installation

Using TWRP some people have a problems with B135/B136 ROM backup restoration after custom rom installation (f.e.MIUI). In this case TWRP can't restore DATA partition of backup. This situation occurs because some ROMs are developed for other model P7. MIUI is based on the B124 ROM for P7-L07.. But not for P7-L10.
My solution:
Boot yours current ROM.
Backup important data from internal card ! (it will be erased by forced installation).
Download B135 ROM and save file update.apk to dload folder on SD card (dload\update.apk)
Restore stock recovery.img and boot.img by Flashify or Fastboot
Charge battery min 50% and unplug USB cable.
Reboot to Recovery mode (press power and vol+ buttons) and wipe data and cache.
Reboot to Install mode (press power and vol+ and vol- buttons). ROM will be automatically installed.
Reboot and minimal configure system (minimal because it will be replaced by backup).
Root phone by RootGenius and delete set_immutable.list by phone console or by ADB.
Flash TWRP 2.8.1.0 recovery by Flashify or Fastboot (similar to pt 4)
Reboot to Recovery mode and restore DATA partition (or if you wish SYSTEM and DATA) from TWRP backup.
Anyway You have to delete set_immutable.list to have full root.
Other way is installing My-RoM which is full rooted and configured for smooth using.
On my device this procedure restored backup properly. I have tried it many times !
Ziółek said:
Using TWRP (2.8.0.0) some people have a problem with B135 ROM backup restoration after MIUI custom rom installation. In this case TWRP can't restore DATA partition of backup copy.
I suggest to solve this problem:
1. Backup important files from internal card !!!
2. Restore stock recovery.img and boot.img by Flashify or Minimal ADB and Fastboot
3. Install clean B135 ROM
4. Root by RootGenius
5. Flash TWRP recovery.
6. Restore DATA partition from backup by TWRP or first delete set_immutable.list file and restore SYSTEM and DATA partition.
Anyway You have to delete set_immutable.list to properly using TWRP and another adds in the future.
On my device this procedure restored backup properly.
Click to expand...
Click to collapse
Thanks so much for the tutorial , but :
After flashing recovery.img and boot.img can not install ROM B135 , each time immediately at the beginning of the installation will pop up - FAIL
jkmaxfli said:
Thanks so much for the tutorial , but :
After flashing recovery.img and boot.img can not install ROM B135 , each time immediately at the beginning of the installation will pop up - FAIL
Click to expand...
Click to collapse
Did You wipe everything in recovery first and install ROM by reboot (SD card...dload\update.apk)?
Ziółek said:
Did You wipe everything in recovery first and install ROM by reboot (SD card...dload\update.apk)?
Click to expand...
Click to collapse
After flash your posted recovery to get into the system will not boot at all and also to get into recovery, I could do a full install rom wipe. If I installed B135 immediately jumps to the beginning of the message fail. For flashing Iuse the method of the three buttons, because I dont get into the system and even there I do not have the possibility of local updates. I downgrade out of emui 3.0, which was for the L07 version of the phone and I have the L10.
After trying the emui 3.0 and difficult downgrade to emui 2.3 a have this problems with installing any rom.
jkmaxfli said:
After flash your posted recovery to get into the system will not boot at all and also to get into recovery, I could do a full install rom wipe. If I installed B135 immediately jumps to the beginning of the message fail. For flashing Iuse the method of the three buttons, because I dont get into the system and even there I do not have the possibility of local updates. I downgrade out of emui 3.0, which was for the L07 version of the phone and I have the L10.
After trying the emui 3.0 and difficult downgrade to emui 2.3 a have this problems with installing any rom.
Click to expand...
Click to collapse
I have never install Huawei EMUI 3.0 ! and this tuto is working for me.
Upgrade from MyROM v1.2 to MyROM v3.2
Hi there,
First of all, thank you for your work! I've used your MyROM v1.2 (running b135?) and loved it.
Now it's time to upgrade to MyROM v3.2, and I'm having some trouble doing it right, since I'm quite new to this!
I've searched all over this forum, and I nailed it down to this:
1) Flash recovery.img of b135
2) Put update.app of b133sp01 on sdcard/dload
3) Open update.app and do a local update
4) When b133 is "installed", upgrade to b602/b609 and flash its recovery, and do a reset.
5) Install CWM recovery and SuperSU v2.4
6) ... follow your instructions on forum.xda-developers.com/ascend-p7/development/rom-rom-v3-1-emui-3-0-t2977409
Am I right? I already ****ed it up a couple of times, and I want to make sure I do it right.
Again, thanks to all of you who contribute to customization of the lovely P7.
ner0s said:
...
6) ... follow your instructions on forum.xda-developers.com/ascend-p7/development/rom-rom-v3-1-emui-3-0-t2977409
Am I right? I already ****ed it up a couple of times, and I want to make sure I do it right...
Click to expand...
Click to collapse
Exactly. Be sure that you carffuly follow instruction for installation v3.2 especially wiping factory data by stock recovery.
Sent from my HUAWEI P7-L10
It worked. Thanks a lot, you rock
Sent from my HUAWEI P7-L10 using XDA Free mobile app

[SOLVED] c5502 5.1.1 Stuck on black blank screen, Unlocked bootloader, No recovery!

Hello Xperia ZR users,
I had dual recovery i flashed RR M and RR N rom's in a single day. the next day i restored stock rom which i have backup approximately 5.30 gb it took so much time to boot whole 60 percent charging had been gone so i flashed stryflex mm rom for sony look but again i thought to use stock rom so this time i restored stock backup rom through otg pendrive because my external storage got write permissions problem when i installed stryflex! but now also same happened device taking so much time to boot and i thought to flash rr nougat but i wiped everything through dualrecovery and i removed battery as dualrecovery not showing anything in otg pendrive now there is also no recovery available to flash anything!
Xda user Robin guided me to flash stock rom through firmtool but ended with errors in xperia firmtool log file!
So now i am having black blank screen! no recovery unlocked bootloader! i had installed adb drivers through flashtool drivers and also installed other universal adb drivers but pc is not showing my device in adb devices list in command prompt! My device is showing in Device manager as ADB interface! when i connected my phone through fastboot mode !
Please help me!
SOLUTION : If u are using custom roms and want to go back to stock rom 5.1.1 ?! and while flashing are u experiencing blank screen after a successful flash through flashtool or experiencing any errors in flashtool while flashing?! Well there are two methods to flash stock roms! Successfully!!
Method 1 : whatever the custom rom you are in! Just flash the stock 5.1.1 rom in your phone through flashtool but with other pc! Yes other pc, pc with no drivers installed regarding adb! Try out your friends laptop or pc! Don't forget to install flashtool, fastboot and your xperia model drivers through flashtool drivers exe file! which is located in c drive!! Also install adb setup file that install all drivers all over pc! And just flash the stock 5.1.1 rom through flashtool! There are 99.99999% chance that stock rom will be successfully flashed in your phone! If this doesn't work!! It's your bad luck and its definitely pc problem not your phone! Then just follow method 2 to flash the rom!
Method 2 : flash the twrp img through flashtool (use any flashtool version!) by entering into fastboot mode and select flash the kernel option and select the twrp img file in your pc (i mean u have to download the twrp 3.0.3 img and use it ! ) twrp will be successfully installed in ur phone and then flash the stock jellybean 4.1.2 version the download link is available below! it is an ftf file convert the ftf file into zip file and then flash through recovery! that's it u will be booted to stock jb firmware and it will ask to factory reset on first boot press yes option it will take few minutes and then it will be booted to jb rom!! restore drm keys if u have the backup and update the os through xperia companion!! or else flash the 5.1.1 zip through recovery!
Note: only flash the jb rom i tested flashing kitkat it doesn't worked!
Stock jellybean firmware Link:
https://forum.xda-developers.com/showthread.php?t=2384512
PRFCreator tool:
https://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
I uploaded a flashtool log file ! Please help!!
Delta solution
I was also stuck with same error, I Banged my head in all forums with all rookie answers.
Why this problem occurs?
Ans: Because the user has installed Marshmallow or Nougat ROM on Lollipop. Even if you try to
come back on Lollipop stock, it won't accept the TA partition and won't go further (Although CM 10/11/12/13/14 or ASOP 10/11/12/13/14 RR-M/N WORKS without ERROR, but I assume user is hungry for STOCK 5.1.1 LOLLIPOP).
So, what's the solution, either you need backup of your TA partition OR - and if you haven't like me. Nothing to worry. You just need Stock JellyBean ROM (THIS IS IMPORTANT).
My solution will 100 percent work (Its Brahmastra ).
Step 1) download https://forum.xda-developers.com/showthread.php?t=2384512
Step 2) download flash tool version which is mentioned in the above link , I used 0.9.11. Version 0.9.19.8 is HELL - You will never succeed with this version)
Step3) flash... Even if you encounter error [17] no worries, if no error, still no worries (If you get error after TA partation is done...you are through, if you encounter before TA partition, it is worrisome)
Step 4) fastboot -i 0x0fce oem unlock 0xxxxxxxxxxxxxxx69
Step 5) fastboot flash boot boot. Img (twrp or PhilZ recovery) or STEP 8)
Step 5) download customized 5.1.1 by chippa
Step 6) goto TWRP (Recovery) and install customized , NO CMW recovery
Step 7) beer for me, go to STEP 10
Step 8) use flash tool to install C5502_10.7.A.0.222_1273-5765_R1E
Step 9) It boots after 3 sec
step 10) go to step 7 (beer loop mode)
If you go to SONY service centre, those M*F* will say, your screen is damaged, because once you push power button, it vibrates and goes to blank screen.
OR
You have locked your bootloader and you simply need to unlock the bootloader in ( STEP 4 ) and you will start with normal BOOT procedure.
How to unlock the bootloader?
Ans: http://www.cyanogenmods.org/forums/topic/unlock-bootloader-android-phone-using-fastboot/
OR
Relock bootloader (boot), then unlock bootloader (boot the device)
Cheers,
Dr. Lamda
Ok man thanks for your help! I am really surprised that someone gave me the solution! Well, i think i repaired my device! I don't know exactly what i did was correct or wrong few days before i installed a universal adb driver that repaired the driver in pc although there was an existing adb driver! And then i installed an old adb setup because i found that new adb not works sometime! And then through flashtool ver 0.9.23. something , i flashed the twrp 3.0.3 img by fastboot mode it installed successfully! And then i just flashed a rr nougat rom through recovery. I seen so many errors while wiping and flashing rom and gapps! But phone rebooted successfully! After that i see that selinux is set to enforcing rr nougat rom and i can't go to recovery mode so i same flashed twrp img through flashtool but it only rebooting to twrp i pulled off battery and booted again it was successfully booted to ROM!
Hey! Can i flash customised 5.1.1 through recovery ?! as now i am in nougat !
sandeepxperia said:
Ok man thanks for your help! I am really surprised that someone gave me the solution! Well, i think i repaired my device! I don't know exactly what i did was correct or wrong few days before i installed a universal adb driver that repaired the driver in pc although there was an existing adb driver! And then i installed an old adb setup because i found that new adb not works sometime! And then through flashtool ver 0.9.23. something , i flashed the twrp 3.0.3 img by fastboot mode it installed successfully! And then i just flashed a rr nougat rom through recovery. I seen so many errors while wiping and flashing rom and gapps! But phone rebooted successfully! After that i see that selinux is set to enforcing rr nougat rom and i can't go to recovery mode so i same flashed twrp img through flashtool but it only rebooting to twrp i pulled off battery and booted again it was successfully booted to ROM!
Hey! Can i flash customised 5.1.1 through recovery ?! as now i am in nougat !
Click to expand...
Click to collapse
Yes! you can go back to 5.1.1 by the above procudure
If you want to revert back from RR - N to stock firmware then use flashtool-0.9.18.4 and first flash stock 4.4.4 firmware/ boot then flash stock 5.1.1 firmware.
Lλmdα said:
Yes! you can go back to 5.1.1 by the above procudure
Click to expand...
Click to collapse
so i can flash the customised 5.1.1 rom by chippa through twrp recovery, right?
moly.maji , i love u brooooooo with your help what i did was i downloaded a jelly bean 4.1.2 rom and flashed through twrp 3.0.3 recovery by converting the ftf file to zip file (thanks to my other bro xda member robin for telling the info about prf creator pc software tool that converts ftf to zip) and it was successfully booted to jellybean stock rom !
and i am saying to whoever facing to flash the stock rom after updating the device to custom roms to prevent any errors to return to stock 5.1.1 firmware while flashing through flashtool it may be driver related errors in pc or any error just use the flashtool for flashing the twrp img! only by going to fastboot mode and then select flash the kernel option through that select the twrp img that's it within seconds the twrp will be installed in your phone and through twrp recovery flash the jellybean 4.1.2 rom ! i tested flashing kitkat but failed! so flash only jellybean rom!! that's it your phone will boot to jb rom and then if u have backup of drm keys restore and update the os through xperia companion or flash the 5.1.1 rom through recovery that's it !!
my device cant be detected and refused to go into fastboot or Recovery mode
is there any way?

Install official rom without pc

Hi Dear
i want instal official firmware wihout pc , my device usb port has damaged and not recognized with pc ,,
Can i install offucial rom with custom recovery ???
tnx alot ...
k.pax said:
Hi Dear
i want instal official firmware wihout pc , my device usb port has damaged and not recognized with pc ,,
Can i install offucial rom with custom recovery ???
tnx alot ...
Click to expand...
Click to collapse
If the device boots and you can download a factory OTA to the device, you should be able to install it like any other ROM in TWRP. Going back to stock will remove TWRP and restore the stock recovery.
ktmom said:
If the device boots and you can download a factory OTA to the device, you should be able to install it like any other ROM in TWRP. Going back to stock will remove TWRP and restore the stock recovery.
Click to expand...
Click to collapse
tnx for answer :good:
yes phone now boot up and i have Nitrogen custom rom ,,
but ota rom just install whit pc , is there official rom with custom recovery capability??
k.pax said:
tnx for answer :good:
yes phone now boot up and i have Nitrogen custom rom ,,
but ota rom just install whit pc , is there official rom with custom recovery capability??
Click to expand...
Click to collapse
I saw your post in the other thread, but it's off topic there, so I'm responding here.
I'm not sure why you want to revert to stock. There is the Pure Nexus ROM which is closer to stock with some nice improvements. The last release was July 2017 ( last stock October 2017).
There's a couple of ways to get stock on the N6 while keeping TWRP without needing a USB port.
One is to do what I described above, and flash the full factory OTA file in TWRP. To save TWRP, you would need to do a backup of the recovery partition, then restore it before leaving TWRP. There's also the issue of encryption, but if your device is decrypted, a no force encrypt zip can be used. What I'm not sure about is, if your device is encrypted, will that affect TWRP on the next reboot. There have been some glitches. One thing I would definitely do is remove all screen locks, boot passwords, nothing but swipe to unlock.
I actually dusted off my N6 and tested this several times today successfully. I could provide you with exact instructions.
The second method is to create a TWRP flashable ROM using the stock system and boot images. What bootloader are you on? What was the last stock version installed? If you're not sure, reboot to the bootloader and grab the information from the screen. The line starting with "BL moto-".
If you are on the final bootloader, then I have a zip that you could use. If your bootloader is older than mine, I can't test a ROM that I make though.

Categories

Resources