Hi!
I'm about to sell (give) my Oneplus 7t Pro and I want to restore it to OOS. What is the best and safest way to do this?
There is some guides and some tools to choose from. I rather not use any tools as i use Linux only on my computer.
My phone is not rooted and it runs on crDroid 9 at the moment.
msm tool downgrade using EDL (restores stock image and relocks bootloader)
otherwise there's fastboot method (which i do not like that... tbh)
Related
Managed to get my hands on a cheap second hand TabZ in good condition. And although Sony's Lollipop firmware looks and feels nice I really want to go the custom Rom road as it allows me to tinker more with it.
Now is when the situation gets complicated as it seems there is a plethora of versions, some more complicated then others, to root the device and install a recovery on it. My questions to you, anybody willing to clear these things out, are:
1. Does the bootloader need to be unlocked in order to obtain root for a tablet already running Lollipop? (I read in one thread that starting with Lollipop this might not be required anymore)
2. What is the best way of getting root?
3. How do you install recovery? I understand the XZDualRecovery to be really popular but some of the instructions can be mind boggling (the use of Kernel Builder to repack the kernel in order to replace the built in recovery with XZDualRecovery). Is this the same as flashing a recovery every time I install a new ROM before rebooting if I want to still have one (basically there is no permanent one, but changes with the rom you are flashing?! )
Any help would be much appreciated as I am stuck as I have never been with rooting and installing recovery on a device. Thanks!
1&2. Bootloader is not directly connected with Root. Unlocked bootloader allows you to install custom ROMs like FXP, cDroid, CyanogenMod and others.
For rooting stock Sony Rom rooting doesn't usually need bootloader unlock.
For example for 4.4.4 and 5.0.2 firmwares KingRoot will help you to root device. For other firmware, other tools exist.
3. For installing Custom Roms like FXP, CyanogenMod and others you need unlocked bootloader.
XZDualRecovery is mainly used for stock Sony Rom and based on stock roms.
For custom roms you can flash TWRP recovery to FOTA partition which will be permanent and will allow you to install any custom rom.
Also before bootloader unlock, get root and Backup TA partition of your device.
My little beast is just 20 days old i was sony user back then.. in sony there when i want to root i use kingroot and its do my work without bootloops and anything like that... And when i want to unlock bootloader it just i want to backup my drm keys and restore then and relock bootloader when i want to my warranty..
Now i have redmi
I'm soo confused
What i need
1. I need root to delete blots that i don't use...
2.i want to try custom roms
3.i don't want to void my warranty.
4.i want to update to marshmallow miui how i can do
I hope your guys will help me
Grajatyadav said:
My little beast is just 20 days old i was sony user back then.. in sony there when i want to root i use kingroot and its do my work without bootloops and anything like that... And when i want to unlock bootloader it just i want to backup my drm keys and restore then and relock bootloader when i want to my warranty..
Now i have redmi
I'm soo confused
What i need
1. I need root to delete blots that i don't use...
2.i want to try custom roms
3.i don't want to void my warranty.
4.i want to update to marshmallow miui how i can do
I hope your guys will help me
Click to expand...
Click to collapse
In Xiaomi you there isn't any TA partition so you don't have to worry about DRM keys. You can simply unlock bootloader and fastboot flash TWRP recovery and SuperSU binary via recovery to get root access.
I recommend you to unlock bootloader and flash zcx recovery and create a full nandroid backup before mounting system partition. This way you have a complete backup of the current state and you can return to it at any time.
You can install any custom ROM via recovery.
Unlocking bootloader won't void the warranty.
If you want to use marshmallow you can either flash beta MIUI ROM with/without unlocking bootloader or unlock the bootloader and flash a MM based ROM via recovery.
You can return to factory state at any time by either flashing MIUI fastboot ROM via EDL mode on locked/unlocked bootloader or by flashing fastboot ROM via fastboot mode on unlocked bootloader.
BlueJeans said:
In Xiaomi you there isn't any TA partition so you don't have to worry about DRM keys. You can simply unlock bootloader and fastboot flash TWRP recovery and SuperSU binary via recovery to get root access.
I recommend you to unlock bootloader and flash zcx recovery and create a full nandroid backup before mounting system partition. This way you have a complete backup of the current state and you can return to it at any time.
You can install any custom ROM via recovery.
Unlocking bootloader won't void the warranty.
If you want to use marshmallow you can either flash beta MIUI ROM with/without unlocking bootloader or unlock the bootloader and flash a MM based ROM via recovery.
You can return to factory state at any time by either flashing MIUI fastboot ROM via EDL mode on locked/unlocked bootloader or by flashing fastboot ROM via fastboot mode on unlocked bootloader.
Click to expand...
Click to collapse
Thanks.. for replying.. now some confusion are sortedout...
One thing more.. i juts want to delete some bloatware can i just root my phone with kingroot and delete them from system and enjoy miui stble latest version as I'm new i want to use miui more and Don't need recovery and all as of now. I hope help..
I just need to root for blot remove and usibg greenyfy and some more apps and i just need do simple step
Grajatyadav said:
Thanks.. for replying.. now some confusion are sortedout...
One thing more.. i juts want to delete some bloatware can i just root my phone with kingroot and delete them from system and enjoy miui stble latest version as I'm new i want to use miui more and Don't need recovery and all as of now. I hope help..
I just need to root for blot remove and usibg greenyfy and some more apps and i just need do simple step
Click to expand...
Click to collapse
I won't recommend you to use kingroot to root the device due to following reasons:
1) I don't trust these shady chinese closed source apps that relies on software vulnerability.
2) If you've rooted by any method without unlocking bootloader you won't be able to flash "incremental" OTA updates as it verifies system partition before flashing. However, you should be able to flash MIUI full recovery ROM that'll overwrite the whole image without verifying for the changes. Unlike OTA it's usually about 1.2GB in size. There's another method to flash OTA without system image verification which involves removal of a few lines from updater-script but I haven't tested it yet on stock recovery.
BlueJeans said:
I won't recommend you to use kingroot to root the device due to following reasons:
1) I don't trust these shady chinese closed source apps that relies on software vulnerability.
2) If you've rooted by any method without unlocking bootloader you won't be able to flash "incremental" OTA updates as it verifies system partition before flashing. However, you should be able to flash MIUI full recovery ROM that'll overwrite the whole image without verifying for the changes. Unlike OTA it's usually about 1.2GB in size. There's another method to flash OTA without system image verification which involves removal of a few lines from updater-script but I haven't tested it yet on stock recovery.
Click to expand...
Click to collapse
So now i will first officialy unlock bootloader then twrp and super su then i will make a full backup now more questions
If i flash CyanogenMod and in case i want to back to miui then how i will do that and also how i can install miui marshmallow beta and will you suggest me???
Thank you soo much budy u are helping me soo much
Grajatyadav said:
So now i will first officialy unlock bootloader then twrp and super su then i will make a full backup now more questions
If i flash CyanogenMod and in case i want to back to miui then how i will do that and also how i can install miui marshmallow beta and will you suggest me???
Thank you soo much budy u are helping me soo much
Click to expand...
Click to collapse
1) If you want to revert back to MIUI from CyanogenMod, restore nandroid backup. But make sure to backup every partition in TWRP recovery first before any modification. And don't allow system modification on the first boot to recovery. Firstly, create a full backup and then you can flash whatever ROM you like. In case you want to switch back, restore the full backup except "firmware" partition. I suggest you to use zcx recovery. You can find more about it in the xda thread.
2) If you don't have a TWRP backup, you can revert to stock ROM by flashing MIUI fastboot ROM via pc in fastboot mode. You can do the same in EDL mode but it'll wipe everything including internal storage.
3) If you want to install MIUI beta ROM based on MM, you can do that both on a locked and unlocked bootloader. Go to en.miui.com and download the latest beta ROM, put it on your internal storage and use the updater app to install it.
4) If you do the step (3) and want to revert back to MIUI stable based on LP, then you'll face sim detection issue which can be fixed by flashing modem (NON-HLOS.bin) of the same stable ROM via fastboot on unlocked bootloader. This is a bug from Xiaomi side.
5) You can use MIUI beta ROM, actually it's more stable than MIUI stable ROM and most people prefer it over stable.
Hope that helps
BlueJeans said:
1) If you want to revert back to MIUI from CyanogenMod, restore nandroid backup. But make sure to backup every partition in TWRP recovery first before any modification. And don't allow system modification on the first boot to recovery. Firstly, create a full backup and then you can flash whatever ROM you like. In case you want to switch back, restore the full backup except "firmware" partition. I suggest you to use zcx recovery. You can find more about it in the xda thread.
2) If you don't have a TWRP backup, you can revert to stock ROM by flashing MIUI fastboot ROM via pc in fastboot mode. You can do the same in EDL mode but it'll wipe everything including internal storage.
3) If you want to install MIUI beta ROM based on MM, you can do that both on a locked and unlocked bootloader. Go to en.miui.com and download the latest beta ROM, put it on your internal storage and use the updater app to install it.
4) If you do the step (3) and want to revert back to MIUI stable based on LP, then you'll face sim detection issue which can be fixed by flashing modem (NON-HLOS.bin) of the same stable ROM via fastboot on unlocked bootloader. This is a bug from Xiaomi side.
5) You can use MIUI beta ROM, actually it's more stable than MIUI stable ROM and most people prefer it over stable.
Hope that helps
Click to expand...
Click to collapse
Thnk you soo much bro
Greetings,
I am planning to get a pocophone f1 and install lineageos 16 stable. Questions are:
1. Will it be possible to revert to the stock rom (to prove warranty or if i were to return it)?
2. How do you revert?
3. Is there a flashing tool for doing it?
4. Anyone done it?
Kind regards
1. Will it be possible to revert to the stock rom (to prove warranty or if i were to return it)? Yes
2. How do you revert? Use Mi Flash Tool and fastboot ROM
3. Is there a flashing tool for doing it? http://en.miui.com/a-234.html
4. Anyone done it? Many times, if you don't want to lock bootloader while doing it, don't choose clean all and lock
Cheers!!!
Thanks for answer.
I've found that to flash lineageos you need to flash a pie vendor. wondering in case of a revert, whether you need to flash stock vendor. I guess it gets flashed if I use flashtool and flash fastboot rom, correct?
secondly, if i relock bootloader, to reunlock, do i need to repeat same process as first time unlocking? or is it just a "fastboot oem unlock" command?
thirdly, should I be worried about xiaomi "anti rollback" feature? will it just prevent downgrade?
I've found that to flash lineageos you need to flash a pie vendor. wondering in case of a revert, whether you need to flash stock vendor. I guess it gets flashed if I use flashtool and flash fastboot rom, correct?
Yes, the tool would take care of it.
secondly, if i relock bootloader, to reunlock, do i need to repeat same process as first time unlocking? or is it just a "fastboot oem unlock" command?
Same process as before, fastboot command doesn't work on Poco.
thirdly, should I be worried about xiaomi "anti rollback" feature? will it just prevent downgrade?
No, there is no "anti rollback" for Poco
Windoors said:
Greetings,
I am planning to get a pocophone f1 and install lineageos 16 stable. Questions are:
1. Will it be possible to revert to the stock rom (to prove warranty or if i were to return it)?
2. How do you revert?
3. Is there a flashing tool for doing it?
4. Anyone done it?
Kind regards
Click to expand...
Click to collapse
Ans1 , yes you can revert back anytime, manytimes (always take backup because Miui encrypts data partition and custom rom has to wipe it so chances are you will loose you data .... but last week i flashed MIUI 10.3.4 Global Stable from lineage and then flashed havoc. i didn't loose any data (used latest twrp and magisk19 beta)
Ans2. there are 3 ways, download recovery rom and simply flash it via twrp ( which is the most common), OR download fastboot rom and flash it via miflashtool (by putting fone in fastboot mode) BUT this way you will DELETE ALL THE DATA and there is one button on MIFLASH called "flash and LOCK" if you by accident didn't uncheck it, chances are your boot will be LOCKED, so becareful. ---- the third method is EDL but you will never use that, it involves putting fone in edl mode (back panel is remove and two short points are touched via wire on motherboard and usb cable is plugged in and then fastboot rom is FLASHED by miflash tool, this usually done on BRICKED Xiaomi fones and MIFLASH asks for AUTHORISED ACCOUNT , which usually only few members have ,,, so this third method you will not use! ...
Ans3.. the popular tool to flash fastboot rom in fastboot mode and edl mode is MI FLASH (latest came out during May2018) but
(a) if your redmi/mi fone is mediatek base then you can try SP FLASHTOOL also! (never done)
(b) if your redmi/mi fone is qualcom snapdragon like redmi3s/ redmi max / redmi6 series / redmi5 series (snapdragon 430/625/660 and now Poco f1 on snapdragon 8x) then you can use QUALCOM's OWN Flashtool https://www.qpstflash.com/ ... i flashed lenevo via qualcom flasher once and it was successful! BUTTTT its HIGHLY NOT RECOMENDED!!!!! ,,, for poco f1. just stating here for your information
Ans4. recently bought Poco so NO, but i have flashed my REDMI 3s via miflash tool (EDL MODE) and then Redmi Note 5pro, i have flashed in fastboot mode so it works but you have to patience, REDMI/Mi is UNSTABLE devices (unlike Sony or Samsung) , and can easily be bricked and many time there are no solutions on miui forums for strange errors coming / poping up in miflash tool... like "cannot send zero packet data" etc etc
summing up..
anything can go wrong even if you are flashing ! so whenever you are flashing any custom rom or miui via twrp/miflashtool ALWAYS "cross your fingers"
What's the way to achieve this? I'm scared to just go and install MIUI because of anti rollback protection, so I'd like to ask:
1. What's the reliable source to download MIUI from? Global user here.
2. What are the exact steps to safely install MIUI?
Download mi-flashtool, download MIUI official fastboot rom and flash via mi-flashtool
DON'T FORGET to backup everything before, If you choose "clean all" option before flashing
And, There is no Anti-roll back in Redmi 5 plus aka Vince
So i was trying to root my Oneplus 6t that was running OXynogen 10.3.4 Android 10 using TWRP & MagicSk.I read a tutorial somewhere explaining how to install TWRP recovery & then flash Magicsk.I successfully installed TWRP recovery on my phone using cmd with the help of fastboot.However, when i tried flashing Magicsk using TWRP,i got an error "KEY VERIFICATION FAILED".Now, i don't plant to proceed with rooting my phone any further.Can someone please tell me how can i undo all of my actions and get my phone back in original condition as it was when i purvhased.Like pure stock android with no TWRP,No unlocked bootloader...Just like a phone's software looks when purchased new.
TWRP can't get uninstalled. You've to flash Stock ROM to get rid off of it.
jwoegerbauer said:
TWRP can't get uninstalled. You've to flash Stock ROM to get rid off of it.
Click to expand...
Click to collapse
How do u suggest i flash the custom ROM? Will i have to do it using TWRP? Oneplus gives a .zip file of stock ROM on its website.Also will doing this lock my bootloader again?
@Illicit_Lokesh
I thought I made it clear.
FYI: Recovery and ROM are two completely independent different things.
No one needs a custom recovery as TWRP to flash Stock ROM: This can be done with Android SDK tools like ADB and Fastboot.