How to unroot and back completely to factory stock >>>>>>>>>>>>>>>
hello
guys i need to completely unroot my butterfly s and return to stock
i need everything back to factory like (recovery + boot + firmware ect...
thanks
Unrooting and removing all mods (BUTTERFLY S)
ijbarah said:
hello
guys i need to completely unroot my butterfly s and return to stock
i need everything back to factory like (recovery + boot + firmware ect...
thanks
Click to expand...
Click to collapse
S-OFF your phone if it's not already . Then download the stock ROM from this thread: http://forum.xda-developers.com/show....php?t=2422783
flash the ROM (this undoes root and any mods in /system)....
Reboot into recovery, adb shell, reset the "tampered" flag and lock the device according to these instructions: http://forum.xdadevelopers.com/show....php?t=2540434
Download the latest firmware.zip from http://forum.xda-developers.com/show....php?t=2422783, rename it to PO68IMG.zip
copy PO68IMG.zip to the external SD card
Reboot into bootloader – this should flash the original firmware, including the stock recovery
Factory reset ...
All done:good::good:
The links are all not working. Could you please direct me to the correct one?
Hi, i'm guessing he's just copying without realizing it's a shortened URL hence its "...." in between. Here's the link after simply putting the thread number into the URL in the web address.
http://forum.xda-developers.com/showthread.php?t=2422783
http://forum.xda-developers.com/showthread.php?t=2540434
http://forum.xda-developers.com/showthread.php?t=2422783
Related
Hello,
I'd like to ask few question about using the factory reset option with a stock 4.3 sense rom (unlocked bootloader, rooted and twrp recovery)
So, i rooted my device to try out viper4android but turns out its completely useless to me as i later learned that stock does not allow read/write to system partition and now i'm wondering how to go back safely.
As i said above, i'm still using the stock 4.3 rom with an unlocked bootloader no other changes made, so my question is to go back stock (using factory reset) do i need to:
1. Flash stock recovery and do a factory reset.
2. Flash stock recovery, relock bootloader and do a factory reset.
3. Guru reset M7
4. Other?
Thanks ~
EDIT:
Quick update, so just flashed stock recovery and used factory reset, now ofc the root did remain, so now my question is, can i
take ota safely with stock rom/recovery but rooted?
Thanks ~
Anyone please, are any of my choices the good one (if so wich one)?
Goolum said:
Anyone please, are any of my choices the good one (if so wich one)?
Click to expand...
Click to collapse
This is the way to go back to a stock ROM:
http://forum.xda-developers.com/showthread.php?t=2541082
If you’re on hboot which is above 1.44, then first thing is to downgrade that:
so download this: http://www.htc1guru.com/dld/1-29-401-12_hboot_1-44-zip/
in bootloader/FASTBOOT USB, flash it:
fastboot oem rebootRUU
fastboot flash zip 1.29.401.12_hboot_1.44.zip
fastboot flash zip 1.29.401.12_hboot_1.44.zip <---- just in case the above said “failed flush again”
fastboot reboot-bootloader
--> and confirm hboot is now 1.44
Thank you for your help, the problem is i'm on hboot 1.55 and rumrunner ain't working because of the
secure stock kernel, so i cannot go with the ruu way, wich is why i was wondering if i could simply use
the factory reset option since other than being rooted it is fully stock, or else the htc1 guru reset option.
Goolum said:
Anyone please, are any of my choices the good one (if so wich one)?
Click to expand...
Click to collapse
Post ur getvar all if ur confused as to which RUU to flash
As i said above flashing a ruu ain't an option since i'm s-on, what i meant by factory reset is the built in option (either through fastboot
or settings) with stock sense since i did not change anything, just unlocked the bootloader and rooted, and if that's not possible then if
guru reset utility for peoples with s-on is a good idea.
So i ended flashing stock recovery and used factory reset, everything did go alright tho ofc the root did remain, so now my question is, can i
take kitkat ota safely with stock rom/recovery but rooted? Or the fact that it's rooted risk messing up stuff? Oh and i dont mind loosing root.
Thanks ~
Goolum said:
So i ended flashing stock recovery and used factory reset, everything did go alright tho ofc the root did remain, so now my question is, can i
take kitkat ota safely with stock rom/recovery but rooted? Or the fact that it's rooted risk messing up stuff? Oh and i dont mind loosing root.
Thanks ~
Click to expand...
Click to collapse
Your fine...you will lose root tho...
At first, this is my story:
-HTC One was untouched
-flashed cyanogenmod with the installer (after some connection-issues it worked)
-wanted back to stock and used guru reset (flashed with CWM)
-wanted to update immediately up to the latest version of android
-ota update (from Htc) failed to install and the phone was stuck in a bootloop (at this state, the phone was unlocked and s-on)
(-panicked)...
-flashed CWM via fastboot
-tried to copy a rom (viper) with adb but adb could not see my Htc (but fastboot could! )
-tried to flash viper with sideload but t failed every time i tried at the end
-at least i was able flash cyanogenmod (sideload and fastboot)
-made a nandroid backup (that was stored in "mnt/shell/emulated/clockworkmod/backup" (root access to see it)
-backup was 1.2Gb big, wen i had 1,2gb free space, it was 1,6Gb big, when there were 1,6Gb of unwritten storage..
so now my questions
1. Why did my it was stuck in bootloop after i tried to update it?
1.1. How can i go back to stock and do ota updates without getting this ee..nice bootloop?
2. Why could adb not see the Htc while fastboot could?
3. Why was the backup stored in the secure path
4. Is more space required for a backup? (used every single bit of my free space both times)
and at least i saw that i have a unusual(?) folder-structure. it is very
do i have ****ed up my folderstructure with adb/fastboot while i did not understand, what i was doing? (so the backups are in the "wrong" path)
that: what confused me:
system(root){mnt\sdcard\( all mediafolders..)
system(root)\mnt\shell\emulated\0\(all mediafolders...)
(legacy folder was in "system/mount/shell/emulated/0/legacy")
system(root)\storage\emulated\legacy\( all mediafolders..)
system(root)\storage\sdcard\(all mediafolders)
why there are so much ways to get to the "normal mediafolders"?
that there are to, because of the splitted internal sdcard ok but..
Thats it
I am very thankful for any help you can give me.
same
I had a very similar issue in which now I stick to CyanogenMod in search of an answer. I had previously used guru rest and ota worked well even up to 4.4.2 sense 5.5, I tried CyanogenMod once more but still missed a few features from stock, I reused guru reset and all went well till the update which seemed good till it started boot loop. The rest was done in panic tho I managed to get CyanogenMod back that's where I'm at. Please any help would be awesome.
Back to stock and ota updates.
Ok now for you and everyone interested.
For going back to Stock Htc Sense and all this stuff, you have to search for a nandroid Backup for your Htc M7. -look for your CID! (s-off is only required if you have to change your CID because you cant find a nandroid for you)
Than just flash the nandroid. (I dont know if you have to or when you need to wipe cache/dalvik..but I would do so for safety)
Next Step: Flash the stock recovery.
Now you are able to get ota updates from HTC.
With the ota update, your root will be lost, so you have to reroot it everytime you made a ota update.. (maybe there are some ways to protect the root)
Please search about this way of getting back to Stock. I am not a pro!
I am not responsible for your messed up phone..
Have a nice flash, everyone.
schnittlauch said:
1. Why did my it was stuck in bootloop after i tried to update it?
1.1. How can i go back to stock and do ota updates without getting this ee..nice bootloop?
2. Why could adb not see the Htc while fastboot could?
3. Why was the backup stored in the secure path
4. Is more space required for a backup? (used every single bit of my free space both times)
Click to expand...
Click to collapse
Maybe because you did not choose the option in guru reset to flash stock recovery, maybe because the guru reset version doesn't match your firmware version.... hard to say without a fastboot getvar all and a link to the guru reset you tried to use.
going back to stock with a RUU, with a guru reset or with a nandroid + stock recovery like you did
ADB only works from booted OS or from custom recovery, not in bootloader (fastboot usb). In bootloader you can only use fastboot commands.
4 and 5) I don't know much about cwm, I'm using twrp.
So I have a T-mo rooted Nexus 6 running stock rom and kernel presently. I would like to decrypt the phone as I've heard/read I will see an improvement in both performance and battery life. So first question is what would be the best/easiest method to do this and second will I lose root and have to re-root after decrypting. Thanks in advance for any help.
Basically you will have to flash a different boot image that disable the encryption flag.
This will require you to completely wipe your device and start over. Yes, you would have to re-root but if you know how to flash a stock no-encrypt image then rooting is easy and simply requires you to flash the current SuperSU zip from recovery once you are all set up.
Basically follow the long version of this guide. Technically you don't need to flash completely stock and couold just follow the guide in the next section but if you have to factory reset anyway I would want to start fresh:http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
But use this no-encrypt boot image instead that matches the stock google rom you flash:http://forum.xda-developers.com/nexus-6/development/disable-forced-encryption-gain-root-t2946715
Once that is done you can flash recovery (or simply boot into TWRP temporarily if you want to keep the stock recovery) and flash Supersu.zip from here and then you're rooted again. I think you could also flash TWRP in the first step above when you are going back to stock but I usually do it at the end for some reason:http://forum.xda-developers.com/showthread.php?t=1538053
Thank you so much
Hi,
I'm sending tomorrow my phone for repair so I need to get it back stock. I have stock rom, root, S-ON and unlocked Bootloader.
1. How do I get rid of superSu?? SuperSu was installed through recovery. I tried Full Unroot, it doesn't work and also I tried to remove it from the /system/app folder but everytime e restart the phone the app is back.
2. How do I wipe the "Sdcard" already did a factory reset but it doesn't remove my personal files on the "Sdcard"
Thanks
nuno_oliveira said:
Hi,
I'm sending tomorrow my phone for repair so I need to get it back stock. I have stock rom, root, S-ON and unlocked Bootloader.
1. How do I get rid of superSu?? SuperSu was installed through recovery. I tried Full Unroot, it doesn't work and also I tried to remove it from the /system/app folder but everytime e restart the phone the app is back.
2. How do I wipe the "Sdcard" already did a factory reset but it doesn't remove my personal files on the "Sdcard"
Thanks
Click to expand...
Click to collapse
check still do you have root ?
if not flash supers zip again then try for full unroot
or find a RUU or Stock reset rom and flash that
Hi there, I am currently running B383 on my P9, and really want to root it. However when I do, will I still be able to get future updates to the software? Do I need to unroot and lock bootloader first?
Also when the bootloader is unlocked, a message is displayed at boot about your phone being unsecured and non-trustworthy, is it possible to remove this message? (I used to have a moto g with an unlocked bootloader, and I flashed some file to remove the warning).
Thanks
I don't think there is a way to remove that message every time the phone is turned on. Mine does that too as I've unlocked the bootloader.
Did you unlock the bootloader yet? Because when you need to unlock it, the phone will basically be factory reset when bootloader is switched from locked to unlock (vice-versa).
And for OTA updates the best way is to do it manually, downloading the MV-PV file via Huawei Firmware finder (Full PV file which contains two files update.zip and hweu..zip, update.zip (system firmware) is flashed first then hweu.zip (The system apps).
You will need a custom recovery. The one you will need to use is TWRP (This one specifically - twrp-3.1.1-0-eva.img) to flash OTA's via custom recovery (To repeat you flash update.zip first then hweu.zip) You can ignore the errors if it prints any while flashing the OTA files as I did the same and it worked fine no problem.
When you want to root your phone, make sure to flash 'SuperSU-v.2.82-EMUI5-SELEnforcing.zip' via TWRP recovery to root your phone.
For the other questions, you do not need to unroot the phone to install the OTA updates. The phone will just unroot itself when the OTA update is flashed onto phone. You simply just need to re-root it again by re flashing the SuperSU zip as mentioned above.
When you need to boot the custom TWRP recovery you need to turn the phone off and hold power + volume up until Huawei Logo / text is displayed you must release both keys immediately after 0.5-1 second which is a short time frame to get the phone to boot to custom recovery or else it will boot the Huawei eRecovery instead.
SuperSU here: https://forum.xda-developers.com/p9/development/root-supersu-2-81-emui-5-t3612258
TWRP here: https://forum.xda-developers.com/p9/development/twrp-t3565703
Best to follow the instructions from those links. The information above is to guide you through the processes.
..
benjamen50 said:
I don't think there is a way to remove that message every time the phone is turned on. Mine does that too as I've unlocked the bootloader.
Did you unlock the bootloader yet? Because when you need to unlock it, the phone will basically be factory reset when bootloader is switched from locked to unlock (vice-versa).
And for OTA updates the best way is to do it manually, downloading the MV-PV file via Huawei Firmware finder (Full PV file which contains two files update.zip and hweu..zip, update.zip (system firmware) is flashed first then hweu.zip (The system apps).
You will need a custom recovery. The one you will need to use is TWRP (This one specifically - twrp-3.1.1-0-eva.img) to flash OTA's via custom recovery (To repeat you flash update.zip first then hweu.zip) You can ignore the errors if it prints any while flashing the OTA files as I did the same and it worked fine no problem.
When you want to root your phone, make sure to flash 'SuperSU-v.2.82-EMUI5-SELEnforcing.zip' via TWRP recovery to root your phone.
For the other questions, you do not need to unroot the phone to install the OTA updates. The phone will just unroot itself when the OTA update is flashed onto phone. You simply just need to re-root it again by re flashing the SuperSU zip as mentioned above.
When you need to boot the custom TWRP recovery you need to turn the phone off and hold power + volume up until Huawei Logo / text is displayed you must release both keys immediately after 0.5-1 second which is a short time frame to get the phone to boot to custom recovery or else it will boot the Huawei eRecovery instead.
SuperSU here: https://forum.xda-developers.com/p9/development/root-supersu-2-81-emui-5-t3612258
TWRP here: https://forum.xda-developers.com/p9/development/twrp-t3565703
Best to follow the instructions from those links. The information above is to guide you through the processes.
Click to expand...
Click to collapse
Thanks for the quality answer, I have no doubts anymore!