Install/flash stock pie and lock again bootloader - Xiaomi Mi A2 / 6X Questions & Answers

I would flash stock PIe. I have the .tgz file to use with fastboot. But how is the procedure? Thank you for help.

Related

Is Root access without recovery possible?

I found that my moto xt1052 has bootloader unlocking available and im very excited. I like to know if its compulsory to flash recovery to make device rooted. I don't want to install new roms or firmware. Im rooting to control running apps and use some root apps.
I like my phn to be receptive for ota, which isn't possible if i flash custom recovery.
So i want to know if recovery is compulsory to have root status and manage permissions or if i can enjoy root privileged with just unlocking the bootloader.
Thankyou.
Sent from my moto XT1052 using XDA Free mobile app
After unlocking the bootloader, flash TWRP, root, then flash stock recovery back on the phone and run that way.
KidJoe said:
After unlocking the bootloader, flash TWRP, root, then flash stock recovery back on the phone and run that way.
Click to expand...
Click to collapse
hi KidJoe,
how back to stock recovery ?
is it enough to flashing file "recovery.img" by RSD Lite ?
I know rsd lite is made to be more user friendly but I still prefer flashing via fastboot.
Fastboot flash recovery recovery.img
Moto-x said:
hi KidJoe,
how back to stock recovery ?
is it enough to flashing file "recovery.img" by RSD Lite ?
Click to expand...
Click to collapse
RSDLite is overkill to flash just recovery.
Do as @cntryby429 said... use mfastboot to flash recovery. You can use it to flash either TWRP (when rooting) and/or Stock recovery.

root stock lolli, will this method work?

hi guys just want to ask if my idea in rooting the stock lolli will work.
here's what inside my mind.
1. download stock ftf and flash
2. use kernel by venkat "http://forum.xda-developers.com/showpost.php?p=60564323&postcount=2" and flash via fastboot
3. go to recovery after flashing the kernel and flash the flashable supersu.zip
will this work or not..just asking, tell me if i am wrong.. thank you
No for flashing an custom kernel you need an unlocked Bootloader. For unlocking the bootloader you need root
-Happy Feet- said:
No for flashing an custom kernel you need an unlocked Bootloader. For unlocking the bootloader you need root
Click to expand...
Click to collapse
Mmmm, if he has a TA backup from earlier... this might work...
0. Unlock bootloader
1. download stock ftf and flash
2. use kernel by venkat "http://forum.xda-developers.com/showpost.php?p=60564323&postcount=2" and flash via fastboot
3. go to recovery after flashing the kernel and flash the flashable supersu.zip
4. Restore TA backup
What do you think? should work, shouldn't it?

Manually flashing 6.0, will this approach still work?

To start: 5.1.1 (LMY48M), rooted, with TWRP for recovery
For every 5.x update so far, this has been my procedure using fastboot:
Flash boot.img
Flash radio.img
Flash system.img
After successfully updated, I'd use WugFresh's Nexus toolkit to root and flash TWRP.
I'm a fan of not needing to flash userdata.img, as I don't think that should be necessary given that the OTA wouldn't wipe installed apps and such.
I've read other threads about using fastboot to upgrade and am concerned about the boot warnings, which seem to require a custom kernel to circumvent. My question is: will the above approach still work? Do I need to flash any other files? If I need to flash a custom kernel, where do I get it, how do I flash it (is it just a custom boot.img?), and at which point in the flash sequence should I apply it?
Secondly, has anyone tried gaining root through the Nexus toolkit once upgraded to 6.0?
I'm looking for recommendations so I don't spend hours trying to unbrick my device. Thanks!
You'll also want to flash the 6.0 bootloader and why are you using the toolkit to flash twrp when you can flash it in fastboot along with the rest of the files?
Ah OK, I'll flash the bootloader image as well. Anything else to be concerned with? The toolkit has a feature to root + flash twrp as a feature, so I just use that.
Do the bootloader first, then reboot the bootloader before you flash anything else. There are instructions floating around here some where or you can google nexus 6 flash factory images. You don't have to flash user data as this will format all you data/ apps.
Just download the latest SuperSu zip (2.50) and put it on your SDcard. If you flash as you suggested and then boot directly into recovery, you will still have TWRP. If you don't flash the stock recovery.img to replace TWRP, it will replace on first boot anyway, unless you root imeediately, but you are probably booting to use the toolkit, which replaces recovery only to have to use the toolkit to flash recovery anwyay.
So do your flashes, boot straight into recovery, flash the supersu zip on your sdcard. Done.

How to install stock recovery/rom/unroot/relock bootloader?

Guys , I have to sell my phone, so, I decided to do all the necessary to have it stock..
So, the question is, how can I do this? I need the phone like when I bought it
You can do most of this via SRK Tool. If you can't relock bootloader then you can flash your stock update.app via stock recovery and that will relock your bootloader and get rid of root.
Please don't follow this for when you have Nougat beta installed though.
I currently have TWRP recovery.. How can I put stock recovery?
Is better to put 1st the rom and for 2nd the recovery or contrary?
Anyway thanks for answering me!
1. Backup (as always)
2. Flash stock recovery with flashify for example
https://www.androidfilehost.com/?fid=529152257862669572
3. Flash stock Rom b182 with dload-method
http://download-c.huawei.com/download/downloadCenter?downloadId=91783&version=358257&siteCode=de
Now your Bootloader is relocked and everything is stock again (I hope so)

To go back to Stock EMUI

Is is possible to flash the EMUI zip update file by TWRP to get back to the stock ROM?
itsmejerrin said:
Is is possible to flash the EMUI zip update file by TWRP to get back to the stock ROM?
Click to expand...
Click to collapse
Nope, that is not possible through TWRP. You have to flash a stock recovery first and then use three button method to update...
official way is dload way . use it to go stock !
itsmejerrin said:
Is is possible to flash the EMUI zip update file by TWRP to get back to the stock ROM?
Click to expand...
Click to collapse
Flash stock recovery in fastboot first.
If you have kirin 620 version, I guess you could use updateflasher.zip to flash UPDATE.APP with TWRP recovery. Check this thread http://forum.xda-developers.com/honor-4x/how-to/install-emui-4-1-4x-4c-g-play-g-play-t3515702
itsmejerrin said:
Is is possible to flash the EMUI zip update file by TWRP to get back to the stock ROM?
Click to expand...
Click to collapse
Flash stock recovery via fadtboot.then flash stock ROM via dload method

Categories

Resources