[GUIDE] Install Official Firmware from fastboot [athene] [Android N] - Moto G4 Plus Guides, News, & Discussion

Well, this is my first post and I do it for if someone needed (like me). I bougth a Moto G4 Plus (XT1641), upgrade it to Android 7.0 soak test but I don't unlock bootloader. So, I was stuck on soak test, with no OTA's update and no way to back to MM. Until I found this.
I tried and it's working.
Requirements:
The same if like you go to flash a firmware official trough fastboot.
The rom
Steps:
1.- Download ROM file and unrar.
2.- Reboot to Fastboot mode.
3.- Plug your phone to PC.
4.- Execute the script in the ROM folder, there's a file called "flashall.bat", run it.
5.- Wait up to the device reboot normally, it boot with a new bootanimation and we are on Android 7.0 Official (build: NPJ25.93-11).
I tried and works! Enjoy Nougat. And sorry for my english! And I can't post the links because recently join to XDA, just erase the space and tried. Well, I post a txt file with the URL's, sorry for that. TXT: drive google com/open?id=0B5kVulIea_ByY00wRThTT013Ync

URL to TXT(substitute space for dots): drive google com/open?id=0B5kVulIea_ByY00wRThTT013Ync

Related

Stuck at twrp no idea how to install SO... I'm so scared

WTF did I do? no idea guys...
I had my phone working fine, I found out that was an official lolipop, I WANTED IT.
1. I had my phone with MT7-L09V1... and rooted,
2. I tried to install lolipop manually wth usb debugging on, trough the phone normally then with the reset was jumping one of the recovery I had no idea which one was it but it wasn't working I guess because my recovery was 4.4 no idea...
3. Then I installed Recovery installer for mate7 android 5.1, in my pc is a software that allows you to install any recovery for ascend mate 7 I guess you know what's that.
4. I installed Twrp 2.8.7.0 recovery 4.4, and then I entered in recovery mode.
Wait for it......
5. I wiped: System, Cache, Data and Cust. Now I can't entered my OS.
What do I have to do now? I just want lolipop but now I'm scared if I f**** bricked my phone because I don't know what I'm doing...
Little help pls I'm fu*** xD
Guys any idea please... I can't find anything ... Can't believe what I did I read a lot of things, but I can't follow a proper guide with my case, and where to download the stock image of kiktat wheter I want loli...
ivan333 said:
Guys any idea please... I can't find anything ... Can't believe what I did I read a lot of things, but I can't follow a proper guide with my case, and where to download the stock image of kiktat wheter I want loli...
Click to expand...
Click to collapse
1. Got and install kitkat 4.4 stock recovery(flash via adb commands, or windows app)
2. Download huawei lolipop to kitkat transition package, put it to folder dload on (fat32 formated) memory card and flash it via keycombo (try to insert memory card in card slot just after huawei logo
3. If it flash succesfuly go to next step, if not, try to flash system.img recovery.img boot.img via fastboot commands (fastboot flash recovery recovery.img) on bootloader screen (turn on phone with volume down + power button with your phone plugged in the PC). You can extract this images from kitkat rom file, there is huawei firmware extractor on the web.
3. Flash kitkat firmware via (dload folder and keycombo metod)
gahu777 said:
1. Got and install kitkat 4.4 stock recovery(flash via adb commands, or windows app)
2. Download huawei lolipop to kitkat transition package, put it to folder dload on (fat32 formated) memory card and flash it via keycombo (try to insert memory card in card slot just after huawei logo
3. If it flash succesfuly go to next step, if not, try to flash system.img recovery.img boot.img via fastboot commands (fastboot flash recovery recovery.img) on bootloader screen (turn on phone with volume down + power button with your phone plugged in the PC). You can extract this images from kitkat rom file, there is huawei firmware extractor on the web.
3. Flash kitkat firmware via (dload folder and keycombo metod)
Click to expand...
Click to collapse
Thanks it worked xDDD Thanks man.

[Guide] Root twrp Firmware for Xiaomi MI 5X [tiffany]

Guide for MI 5X users-
This is a Step by Step by Step guide for MI 5X users to Install twrp obtain Root Right Flash Firmware etc......i already Share a guide on My blog [Stupdroid] and Finally Here with You..
Disclaimer-
Code:
i am not Responsible for any Damage to your Phone, Dead SD card, etc...
How to Install twrp and Root MI 5X
Download MI 5X toolkit From here https://forum.xda-developers.com/mi-5x/development/twrp-mi-5x-tiffany-t3655722
unlock bootloader from Here http://en.miui.com/unlock/
then run exe file from toolkit folder and Follow screen Instructions...
type 41 hit enter to flash twrp, just after flashing the recovery your phone booted in twrp so type 45 and hit enter it will transfer Require files to your Phone.
Go to backup tab and create a nandroid backup
then Do a factory reset
Go to Install tab/From SD card/ locate No verity and flash
again Go to Install/ From SD card Locate magisk Flash
reboot System Now.....
if not bootup again flash noverity....
Done. Successfully Rooted......
How to unbrick Flash official Firmware-
official way...
Note- you can use below Method [unofficial way] to unbrick Without locking the Bootloader [100% working]
Download official fastboot ROM From here http://en.miui.com/a-234.html
Extract inside a Folder
Run MI flash Locate Extracted Folder
Reboot phone in bootloader and Connect to PC with USB
on MI flash Click Flash
Wait For Success.....
Done...
unofficial way.
How to Flash Latest update without locking the Bootloader-
Don't worry i prepare a tool which is able to flash full Xiaomi ROM Without Locking the Bootloader
1. Download one Click Flash xiaomi from http://www.mediafire.com/file/0vs9h6afy9i8icj/flash_xiaomi.rar
2. Download Latest fastboot ROM from Here http://en.miui.com/a-234.html
3. Extract Xiaomi ROM [images]] in one click tool folder
4. reboot phone to fastboot mod and connect to pc with usb
5. Run flash xiaomi, wait for success. Done You have Latest ROM Without Locking the Bootloader but it will erase all data of phone because this is a Full ROM. again flash twrp using above step or you can delete recovery.img file from rom folder during flashing to skip the recovery flashing.
Convert China ROM to Global [MIUI 9]-
1. you have Flash latest China ROM without Locking the Bootloader using above steps
2. flash supersu/magisk to Root again because Root is lossed after flashing the Complete ROM
3. Go to root explorer/ system/ build.prop/ edit build.prop and add below values
Code:
ro.product.mod_device=scorpio_mam_global
ro.product.locale.language=it
ro.product.locale.region=IT
persist.sys.timezone=Europe/Rome
persist.sys.language=it
persist.sys.region=IT
ro.product.locale.language=it
Change values according your country save and reboot all chines content are removed... Done.
if you have Dead MI 5X follow this Guide....
https://forum.xda-developers.com/mi-5s/how-to/how-to-flash-hard-bricked-mi-5s-mi-5s-t3490252
Network disconnect continuously
Hi , i purchaged mi 5x from china n using in india. Here reliance jio network constantly disconnected . How can i fix it? Please help me.. all other sim work perfectly in mi 5x and Jio sim work perfectly in other mi device.
---------- Post added at 04:11 PM ---------- Previous post was at 03:59 PM ----------
And my second question , how to edit build pro for india.. cause many useful app does not work due to chines locale...thank you
did they block this recently? because i have permission and i always get error
I thought I was doing something wrong, until I realized there's a bit of a wait between flashing twrp and rebooting.
Yay, I got nice brick.
All I see is Linux penguin sitting in the middle of the screen.
What I did was copying .img files from tiffany images .tgz to Flash Xiaomi folder, because in the description didn´t say Copy folder named images...
I need "emmc_appsboot.mbn" file from a working MD E2 devices.
Any body can help me pls. My mi5x device is now on black secreen. Not openning..
it became after load orijinal rom onto oxygen boot.
Any body can help me pls
I need "emmc_appsboot.mbn" file from a working MD E2 devices.
Work in my device.
Thanks for sharing.
Brick
Do not follow the unofficial way described above. you will surely get a brick
i have experienced a lot of trouble by folllowing that unofficial way. A lots of error will occurred and will get a penguin screen with no fastboot or anything else. So be careful before use it.

[GUIDE] How to flash a custom recovery and root a Nokia 6 Retail Phone

WARNING: This method currently doesn't work on Nokia 6 TA-1000 with latest Android O Update! Finding workaround.
Workaround found on leaked Android 8.1 Update, with Magisk Systemless Root Method.
ROOT YOUR PHONE MAY VOID YOUR WARRANTY, DO IT AT YOUR OWN RISK
You can download new recovery from this post: https://forum.xda-developers.com/nokia-6/how-to/nokia-6-ta-1000-homebrew-stock-android-t3752006
Changes in new TWRP Recovery 3.2.1-0:
1. Add English Interface.
2. Use Magisk ROOT instead of SuperSU ROOT.
3. You can backup EFS. However you can't backup modem or the procedure will break.
Thanks to @xinkid 's effort, we can finally root Nokia 6 on Android Oreo again.
Procedure for non TA-1000 users:
0. Backup your phone and remove your lock screen password before proceed! If your phone get stuck at "Powered by Android" splash after the procedure, you may need to format userdata.
1. Sideload the PLE-372B ota package in recovery, which you can download from here:
https://forum.xda-developers.com/nokia-6/help/nokia-6-ota-update-ddls-t3721424
Refer this guide's part 2 to downgrade.
https://forum.xda-developers.com/nokia-6/how-to/guide-upgrade-downgrade-nougat-oreo-t3752393
2. Flash the service bootloader and grant service permission
Reboot to bootloader, then flash the service bootloader with following commands. Service bootloader file (D1C-emmc_appsboot.mbn attached in this topic)
Code:
fastboot oem dm-verity [md5_of_your_device_serial_number]
fastboot flash aboot D1C-emmc_appsboot.mbn
fastboot reboot-bootloader
fastboot oem dm-verity [md5_of_your_device_serial_number]
For example, if your serial number is PLEABCD123456789, and the md5 checksum of your serial number is 5f47b9a8dc1da1873c12945cf806691e, then type this command:
Code:
fastboot oem dm-verity 5f47b9a8dc1da1873c12945cf806691e
fastboot flash aboot D1C-emmc_appsboot.mbn
fastboot reboot-bootloader
fastboot oem dm-verity 5f47b9a8dc1da1873c12945cf806691e
You can google a website to calculate md5 checksum of a string.
3. Reflash newer firmware basis to your phone except aboot
After you grant service permission, Extract the newer one OTA package on your PC, in this case, PLE-558B.
Everything you need are placed at firmware-update folder that you extracted.
Take PLE-558B for example, type these commands (commands need to be changed if newer firmware released):
Code:
fastboot flash sbl1 D1C-0-558B-sbl1.mbn
fastboot flash keymaster D1C-0-558B-keymaster.mbn
fastboot flash devcfg D1C-0-558B-devcfg.mbn
fastboot flash cmnlib64 D1C-0-558B-cmnlib64.mbn
fastboot flash rpm D1C-0-558B-rpm.mbn
fastboot flash tz D1C-0-558B-tz.mbn
fastboot flash cmnlib D1C-0-558B-cmnlib.mbn
fastboot flash modem D1C-0-558B-NON-HLOS.bin
fastboot flash dsp D1C-0-558B-adspso.bin
fastboot flash default_nv D1C-0-558B-NV-default.mbn
fastboot flash persist D1C-0-558B-00WW-persist.img
fastboot flash hwcfg D1C-0-558B-hwcfg.img
fastboot flash mdtp D1C-0-558B-00WW-mdtp.img
fastboot flash systeminfo fver
fastboot flash sec D1C-0-558B-sec.dat
fastboot flash cda PLE-00WW-013-cda.img
You'll also need the boot img in the extracted ota package:
fastboot flash boot boot.img
Then flash the custom recovery:
fastboot flash recovery nokia-6-ta-1000-8_0-twrp3.2.1-7to-recovery-magisk-root-2018.3.15.img
Power off your phone (case sensitive). Disconnect your phone after execute this command:
fastboot oem HALT
4. Connect your phone to a charger. When charging animation appears, press and hold Volume Up and Power until you see "7to.com" logo. Tap the white cog to choose English language, tap Advanced - Magisk Root, and wait for the procedure complete.
========================SEPARATOR====================
This new guide is only based and tested on Nokia 6 TA-1000. Non TA-1000 (e.g. TA-1021) users need to find their own old OTA package to downgrade.
1. Downgrade the bootloader according to this guide: https://forum.xda-developers.com/nokia-6/how-to/guide-upgrade-downgrade-nougat-oreo-t3752393
If you've flashed my homebrew Android O firmware, skip this step.
2. Use old method below to flash the new recovery again. You must use this recovery, otherwise you can't mount and root.
If you've flashed my homebrew Android O firmware, type this command will allow you to flash recovery:
Code:
fastboot-android oem dm-verity (your_serial_number's_md5_checksum)
3. Use old method below to enter recovery. To load English interface, tap the white cog on the top-right corner, then tap "English" and OK button, just wait few seconds.
4. Tap "Advanced" - "Magisk ROOT" and swipe.
5. If you meet recovery loop after rooted, flash the package misc_initial.zip attached below to escape from recovery loop.
That's it. It's not recommended to receive any newer OTA update since it will overwrite bootloader to patched state.
If you're using TA-1000, you can also try to flash Android 8.1 Homebrew Firmware before rooting.
I'm sorry if you found the guide looks confusing.
Following method for Nougat is archived, only for reference.
Yesterday, I got my own Nokia 6 Retail Phone. Since I’ve already rooted Nokia 5, 6 and 8 Prototype, now it’s time to find out how to root retail Nokia 6 without involving risky Qualcomm EDL Mode.
It works on any variant of Nokia 6 in theory, but I only tested it on D1C/TA-1000.
If there’s a custom recovery for Nokia 2/3/5 released, the guide also works on them. But I’ve tested it on a Nokia 8 retail phone, it doesn’t work on it.
To Nokia 7 and 8 Users, You may want to read this topic: https://forum.xda-developers.com/showthread.php?t=3729396
Click to expand...
Click to collapse
First, you need to download OFW of Nokia 6, install OST LA and patch it.
You can download them from here: https://forum.xda-developers.com/no...ia-8-official-firmware-links-updated-t3678487
(Although the link is for Nokia 8, firmware for Nokia 6 is still available)
如果你是中国用户,诺6固件的下载和使用方法请看本文:
https://www.ithome.com/html/android/328333.htm
Click to expand...
Click to collapse
If you own an unlocked prototype device, just skip to step 6.
Click to expand...
Click to collapse
1. Open OST LA from INSTALLATION DIRECTORY DIRECTLY instead of Start Menu.
2. Load your OFW you downloaded with extension name nb0.
3. Power off your phone, then connect it to your PC. This will boot your phone to “Download mode” directly, in fact it’s fastboot mode.
4. Click “Edit Phone Info” on OST LA. This will load a service purposed bootloader. When your phone reboots and re-enters the Download mode, the service purposed bootloader is now loaded.
5. You can close OST LA when it prompts “Boot FTM mode fail”, or just kill it in task manager if it’s not responding.
6. Open a command prompt or PowerShell in OST LA Installation Directory, then execute this command to flash a custom recovery:
Code:
.\fastboot-android flash recovery E:\recovery.img
I assume that you put the custom recovery in drive E and named as recovery.img.
You can also use your own fastboot if you want, but I’ll prefer the one provided along with OST LA.
I used the recovery from here: https://forum.xda-developers.com/no...veryteamwim-recovery-project-nokia-6-t3650499
7. Type this command but do not execute right now:
Code:
.\fastboot-android reboot
8. Now this step is a little tricky. Press and hold [Volume Up] and [Power] on your phone, then execute the command above at the same time. DO NOT RELEASE both keys on your phone until your phone entered the custom recovery.
9. Now your phone has entered a custom recovery. In this example, we’re using TWRP from Chinese 7to forum, only Chinese is available. I believe most of members on XDA can’t read Chinese, so I’ll attach screenshots. Simply tap “Advanced” – “SuperSU ROOT” will root your phone. If you prefer your own root zip update package, tap “Install Zip” then flash your own zip package in your storage, or tap “Advanced” – “ADB Sideload” then use ADB to sideload a zip package.
You can install the Materialized Theme for TWRP to get English interface from https://forum.xda-developers.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584 by @z31s1g
Click to expand...
Click to collapse
Currently, DO NOT FLASH Magisk, or your phone will brick as Qualcomm 900E.
You can only use Magisk Root method in latest Android O Update, which I'll cover later.
Click to expand...
Click to collapse
10. After your phone rooted, you can reboot your phone. DO NOT INSTALL ANY OTA UPDATES OR YOUR PHONE WILL GET STUCK AT STOCK RECOVERY, but I’ll recommend you to disable automatic update in settings.
That’s wraps up the whole guide. Please do feedback if there’s something wrong.
Here' the video of how to root a Nokia 6: https://youtu.be/24b-49qTheg
Special thanks:
@blackpanther0582 for Nokia 3/5/6/8 Official Firmware.
@xinkid from Chinese 7to forum for his TWRP.
@hawwin88 for providing info about adding English Interface to recovery.
UPDATE: Uploaded the SuperSU ZIP (verify-xinkid.zip) used in this recovery.
Thank you it worked on nokia6 ta-1000 chinese. I rooted the phone successfully
Finally!
Boy O Boy!
Finally, after a long, long wait, Got my Nokia 6 Rooted! (TA-1000)
Thanks a LOT, Man! :good:
Anyone tried it on any other variant yet?
Hi .i am 1st root my ta1021 with Android 7.1.2 .f**k me
but your method have some problems ...
1. I can't find powershell or anything else in ost la folder.
2.fastboot-android not working....
Now I want complete your method from 6.
6. Before you must install adb and fastboot tools and drivers and use command prompt ,
copy recovery.img to drive c
After ost la changeing phone to edit mod wait 10 second and type this command
Fastboot flash recovery c:\recovery.img
And after flashing completed hold both volume+ and power button and type this command
Fastboot reboot
Don't release buttons and after few seconds you enter Chinese recovery swipe it to right and use screen shots to root your device, after that reboot to system you can find it from screenshot, it go to download mod and then type
Fastboot continue
And enter congratulations, your phone go to normal boot.
Bla bla super su installed....
Thanks, hikari_calyx. For this thread..
Some errors happend when I use rill but after reboot again it is not happening....
same6630 said:
Hi .i am 1st root my ta1021 with Android 7.1.2 .f**k me
but your method have some problems ...
1. I can't find powershell or anything else in ost la folder.
2.fastboot-android not working....
Now I want complete your method from 6.
6. Before you must install adb and fastboot tools and drivers and use command prompt ,
copy recovery.img to drive c
After ost la changeing phone to edit mod wait 10 second and type this command
Fastboot flash recovery c:\recovery.img
And after flashing completed hold both volume+ and power button and type this command
Fastboot reboot
Don't release buttons and after few seconds you enter Chinese recovery swipe it to right and use screen shots to root your device, after that reboot to system you can find it from screenshot, it go to download mod and then type
Fastboot continue
And enter congratulations, your phone go to normal boot.
Bla bla super su installed....
Thanks, hikari_calyx. For this thread..
Some errors happend when I use rill but after reboot again it is not happening....
Click to expand...
Click to collapse
If you're running Windows Vista or Windows 7, you can open a command prompt from installation directory by click right button on the mouse while holding Shift key on the keyboard.
If you're running Windows 8/8.1 or Windows 10, you can open a command prompt or PowerShell from the left corner "File" button. Administrators privilege is optional.
Also, as I mentioned:
You can also use your own fastboot if you want.
Click to expand...
Click to collapse
IDK but you should have change/put the title of this topic as Nokia 6 - TA 1000 (Chinese variant) rather than Retail Phone.
Well, getting root is definitely a temptation but since I'm just a noob and the HMD hasn't release any official firmware/tool yet to recover the phone if thing goes wrong, I guess I'll wait a little bit longer then.
lips_1234 said:
IDK but you should have change/put the title of this topic as Nokia 6 - TA 1000 (Chinese variant) rather than Retail Phone.
Click to expand...
Click to collapse
As I mentioned on the topic, it works on any variant, not only China Variant TA-1000 and Hong Kong Variant TA-1003.
 @same6630 tested on a TA-1021 which is a global variant.
lips_1234 said:
Well, getting root is definitely a temptation but since I'm just a noob and the HMD hasn't release any official firmware/tool yet to recover the phone if thing goes wrong, I guess I'll wait a little bit longer then.
Click to expand...
Click to collapse
HMD released official firmware of Nokia 6 of course, and it's needed to flash a recovery.
Mine
I got some screenshots....
Did someone successfully rooted his Nokia 6 TA-1033?
So just to be clear before I do this to my TA-1000; how do I go about to update it later if I want to update it? For example, my TA-1000 still don't have the 7.1.2 update, and the 8.0 update coming later would be something I want as well.
Do I just update through zip files, or will I simply not be able to update?
Make.Sense said:
So just to be clear before I do this to my TA-1000; how do I go about to update it later if I want to update it? For example, my TA-1000 still don't have the 7.1.2 update, and the 8.0 update coming later would be something I want as well.
Do I just update through zip files, or will I simply not be able to update?
Click to expand...
Click to collapse
After you rooted your phone, you're not able to install any update until you reinstall stock rom.
[THEME][TWRP] TWRP Materialised
U can also install theme for your chinese twrp and you will show english language ...
download theme from this thread
https://forum.xda-developers.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584
hawwin88 said:
U can also install theme for your chinese twrp and you will show english language ...
download theme from this thread
https://forum.xda-developers.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584
Click to expand...
Click to collapse
Thanks for providing info!
When I try to flash the recovery.img through command I have this:
...etc
FAILED (remote. Partition flashing is not allowed)~
finished. ´
etc...
Im using a TA-1033, unlocked UK version.
Can anyone help me, please.
wolfpower95 said:
When I try to flash the recovery.img through command I have this:
...etc
FAILED (remote. Partition flashing is not allowed)~
finished. ´
etc...
Im using a TA-1033, unlocked UK version.
Can anyone help me, please.
Click to expand...
Click to collapse
maybe u are not in bootloader mode .. try to reconnect ur phone again and tap "edit phone" on OST LA software
or try to type this in command :
"fastboot reboot-bootloader"
hawwin88 said:
maybe u are not in bootloader mode .. try to reconnect ur phone again and tap "edit phone" on OST LA software
or try to type this in command :
"fastboot reboot-bootloader"
Click to expand...
Click to collapse
When I connect my TA-0033 it enters in Download mode, when I press "Edit phone", the device continues in download mode and the OST LA software goes unresponsive.
Im using a TA-0033 with 7.1.2 N
done!!!! thank you my good friend!!!! i've just installed the recovery AND ROOT MY TA-1021 with english theme. only a question. without pc what is the best way to reboot in recovery mode nokia 6? when i'ts time to update to oreo, i've only just click to restore in: setting=>backup and restore?? thanksssssss
canapo92 said:
done!!!! thank you my good friend!!!! i've just installed the recovery AND ROOT MY TA-1021 with english theme. only a question. without pc what is the best way to reboot in recovery mode nokia 6? when i'ts time to update to oreo, i've only just click to restore in: setting=>backup and restore?? thanksssssss
Click to expand...
Click to collapse
I recommend you to install Xposed and GravityBox for Nougat to enable Reboot to Recovery option.
hikari_calyx said:
I recommend you to install Xposed and GravityBox for Nougat to enable Reboot to Recovery option.
Click to expand...
Click to collapse
I just got Nokia 6 TA 1021 android 7.1.1, Build is 00WW_3_320. Can your method also work for it?

Guide: How-to Unlock, Root, TWRP, ROMs, Android P, Google Apps, Magisk

In the original Mi Mix Forum we had a one-in-all thread for all new users, so I try to continue it here.
I will try to mention all people from who I take sources from. If I forgot anyone, please don't hesitate to tell me.
If you have change requests or useful additions, I will try to update the original posts ASAP.
Change log 2018-08-16 03:30 AM UTC
Code:
+ Updated: MIUI 10 china & global beta links
+ Added: Google Maps Location Sharing & Timeline on Chinese ROM
+ Updated: Working GCam links
Chat Group
Get live help and discuss topics around Mi Mix 2S in our Telegram Group: MOD EDIT: Telegram link removed, read the STICKY!
Available ROM & Download Links
The variants sold outside of China come with the Global ROM including Google Apps.
For devices that have the Official Chinese ROM, it's only possible to flash the Official Global ROM after you unlock your device due to region mismatch.
OTA or recovery zips can be flashed in the official MIUI updater app if it matches your region) or if you're unlocked, you can flash through TWRP whatever you want.
Fastboot ROM can be flashed by using fastboot or the XiaoMi Flash Tool.
ROMs:
Recovery can be flashed through the Updater app on your phone (if locked, china can only flash china, global can only flash global) or better through TWRP Recovery (if unlocked, can of course flash any region over any).
Fastboot can be flashed by connecting your phone through USB and use XiaoMi Flash Tool or fastboot.
Custom ROMs can be flashed by TWRP (if unlocked)
MIUI 9.5 Official Download Links on miui.com (Chinese Stable/Developer, Global Stable/Developer)
Recovery latest
Fastboot latest
MIUI 9.5 Global Stable (leaked):
Recovery 9.5.19
Recovery 9.5.18
Recovery 9.5.4
Fastboot 9.5.4
MIUI 10 Global Closed Beta, Android 9 (leaked)
Recovery 8.8.7
MIUI 10 Global Closed Beta, Android 8 (leaked):
Fastboot 8.6.26
Recovery 8.6.14
MIUI 10 Chinese Beta, Android 9.0 (leaked)
Recovery 8.8.15
MIUI 10 Chinese Beta, Android 8.0 (leaked)
Recovery 8.7.2
Fastboot 8.6.21
Recovery 8.6.13
Recovery 8.6.12
Recovery 8.6.11
Recovery 8.6.6 *relocks bootloader, flash root/magisk or unlock again (you'll loose /data)
Recovery 8.6.5
Recovery 8.6.4
Recovery 8.5.31
MIUI 9.5 xiaomi.eu Custom ROM:
Recovery latest
Official Android P preview from Google (pure AOSP):
System Image
AOSP Custom ROMs
Mokee
Lineage Treble
Available TWRP recoveries & Download Links
TWRP by xiaomi.eu and miuiItalia
The first versions are from xiaomi.eu and miuiItalia and aren't able to read encrypted internal storage. If you want to flash something with this TWRP you need to format your internal storage then copy the file over in MTP mode and flash it. So you loose your storage all the time. No problem when you want to cleanly flash new ROMs, but annoying when you just flash magisk, mods and other things.
Download TWRP polaris by xiaomi.eu
Download TWRP by miuiItalia
TWRP by notsyncing
notsyncing's version is able to work with encrypted storage. You need to enter your pin or draw your lock pattern in order to work. Switching between different ROMs like Chinese/Global/Custom you most probably still need to format your /data, but when you stay on the same ROM no need to wipe or format.
Thread
Guide: Install Google Apps & Contact Sync on Chinese ROMs
Chinese ROMs don't contain Google Apps. Especially if you didn't unlock your phone you probably want to install Google Apps and Framework:
Download the Oreo Google Apps package: https://androidfilehost.com/?fid=818222786056028173 and extract it on your phone
Install every APK from 1-6 without opening them after installation!
Install 8.0-Oreo.com.google.android.gsf_8.0.0-4147944-26_minAPI26.apk
Don't inistall the remaining two APKs
Download and install the updated contacts sync 8.1.0 APK: https://www.apkmirror.com/apk/google-inc/google-contacts-sync/google-contacts-sync-8-1-0-release/google-contacts-sync-8-1-0-2-android-apk-download/
Go into Settings > Installed apps and find all Google Apps in the list. Select each of them and turn on Autostart Permission. Additionally go into Permissions and enable all permissions in there. Again: Do this for all Apps you've just installed or that have the name Google or Contacts or Calendar in it.
Reboot your phone
Login to your google account, by opening Settings > Sync > Add Account > Google
Guide: Install Global ROM (leak)
If you're on Chinese or xiaomi.eu ROM and you want to flash the official Global ROM that has been leaked:
Unlock bootloader
Download Global V9.5.18.0.ODGMIFA from above
Boot phone into fastboot, open fastboot console on your pc, connect phone via USB with your pc
download and extract official twrp recovery for mix 2s and name the file recovery.img and copy it onto C:\
fastboot boot recovery.img
wipe > advanced > dalvik cache, system, data, internal storage, cache
copy V9.5.18.0.ODGMIFA zip and region fix onto your phone (may not be necessary with global device, and/or with newer global ROM leaks. try without the fix first)
twrp: install V9.5.18.0.ODGMIFA zip
twrp: install region fix zip
reboot and complete setup of your phone
For magisk see below
Guide: Install MIUI 10 leak
phone: boot to fastboot
pc:
Code:
fastboot boot twrp.img
phone: wipe data, system, dalvic, cache
phone: format DATA
phone: reboot phone into fastboot
pc: fastboot boot twrp.img
pc: transfer miui 10 zip to phone memory
phone: install miui 10 zip
phone: reboot to miui 10 setup device wizard
phone: in case your device is bound to a xiaomi ID, enter your password
phone: complete MIUI 10 setup
phone: download form apkmirror and install:
Magisk
Info: info: may not work if you have the chinese 6GB model instead of the global model, but always works on the 8gb model
phone: reboot to fastboot
pc: copy magisk 16.4 install/uninstall zip to phone
phone: install magisk
reboot
Guide: Install official Android P developer preview
Google announced the Android P preview officially for the Mi Mix 2S as shown here: https://developer.android.com/preview/devices/
Requirements:
Unlocked bootloader
ROM: http://bigota.d.miui.com/8.5.3/polaris_dp_global_images_8.5.3_20180503.0000.00_9.0_ef2f024b87.tgz
Setup after first boot needs to be completed in Chinese. Then afterwards changing the language to English is possible
Steps to install: Download Android P for Mi Mix 2S: http://www.mi.com/en/androidppreview/
Guide: Unlock bootloader
On your phone, login to your Miui Account, if you don't have an account, create one. That's under Settings > MI Account
Enable developer mode on your phone, under Settings > My Device > All Specs > Tap on MIUI version 5 times until the toast notification tells you that you're a developer
Go into Settings > Additional Settings > Developer options > Enable: OEM unlocking, then go into MI Unlock status and "Add account and device". (If you get an error messages, you need to use a VPN app and connect to a city in Mainland China, like Beijing)
Download and run http://en.miui.com/unlock/ the unlocker app on your computer, login with your MI Account. The first time you may have to apply for Unlocking permissions with your MI Account. The SMS confirmation code they send you may take several days to arrive. Please be patient and don't try to unlock your device before.
After you got your SMS confirmation code, enter it in the unlocker application on your computer and connect your phone via USB
Try to unlock your phone.
Sometimes Xiaomi will now force you to wait for up to 360 hours until you can try again to unlock. This is annoying, but you have to wait. Otherwise your account may be blocked.
Guide: Flash any Treble ROM
Download any Treble ROM:
https://forum.xda-developers.com/project-treble/trebleenabled-device-development
https://forum.xda-developers.com/project-treble
Requirements:
Unlocked bootloader
Be on Global or Chinese official stable ROM, flash it through XiaoMiFlasher and download the fastboot ROM from mi.com if necessary
Minimal ADB & Fastboot installed on your Windows computer
Download the ARM64 NANO OpenGApps for the exact Android version your Treble ROM uses: https://opengapps.org/
Optional: Download Magisk 16.4 and Magisk Uninstaller
Perform a factory reset on your device. You have two options here:
Open the settings app on your phone and look for the factory reset option.
Boot your phone into fastboot
With your device connected to your PC start the Minimal ADB & Fastboot console
Enter a command in the following format:
Code:
fastboot flash system
having a space at the end, so it's fastboot flash system(SPACE) and drag and drop your Treble img file with your mouse from an Explorer window into the cmd console
Example:
Code:
fastboot flash system C:\Users\Superman\Desktop\Mix2S\system-arm64-aonly-gapps-su.img
Push enter, and allow the image to flash, it could take a few minutes.
Once it has completed, reboot your device into fastboot then (WARNING: THIS WIPES EVERYTHING) enter
Code:
fastboot -w
from your computers command prompt window.
Reboot
Optional:
You can flash TWRP and then flash GApps and or Magisk if you want. The DM-Verity check may prevent the phone from booting, so by flashing Magisk DM-Verity check should be disabled and your phone should boot.
Guide: Flash TWRP Recovery and Custom ROM
Download TWRP for Mi Mix 2S above
Extract the img file of the TWRP zip you've downloaded, into C:\ and name it recovery.img
Turn off phone
Press Volume Down + Power button until phone boots into fastboot mode
Download and install latest Minimal ADB and Fastboot from here https://forum.xda-developers.com/showthread.php?t=2317790 on your windows computer
Connect your phone with the USB cable
Open a CMD window on your windows computer (Press CTRL+R enter cmd, press enter)
enter the following command and press enter: fastboot flash recovery C:\recovery.img
enter the following command and press enter: fastboot boot C:\recovery.img
Wipe /data partition
Copy the ROM zip file to the internal storage of your phone
Install the ROM zip
Reboot
done
Guide: Install Magisk
More information on http://en.miui.com/thread-2449455-1-1.html
For Official Global ROM (not xiaomi.eu) I can confirm this works (safetynet passed):
NOTE: Check your phone model in settings > my device > model (MIUI 9) or settings > my device > verification (MIUI 10). Depending on your Model and ROM Magisk may not work. See below for confirmed outcomes.
Click to expand...
Click to collapse
Chinese / Global / Beta + M1803D5XA + Magisk = OK
Chinese + M1803D5XE + Magisk = OK
Chinese + M1803D5XE + Magisk = OK
xiaomi.eu + M1803D5XE + Magisk = OK
Global + M1803D5XA + SR-SuperSU-v2.82-SR5 = OK
How to flash Magisk the common way
Use the modified twrp with working partition decryption
Unlock your bootloader
on PC: fastboot boot recovery.img
in TWRP: Install your ROM (example Global V9.5.18.ODGMIFA)
If you want to flash global on a chinese device, in TWRP: install region fix otherwise go to next step
on Phone: Boot and complete MIUI setup
on PC: fastboot boot recovery.img
in TWRP: enter your password to decrypt storage
in TWRP: install Magisk-v16.4.zip
Reboot
Guide: Pass Safety Net with Magisk
Install MagiskHide Props Config in MagiskManager Modules
Reboot phone
Install Terminal Android, and start it.
Give it root permissions
type in the terminal window:
Code:
su
props
1
fingerprint
use the fingerprint:
Code:
Xiaomi/polaris/polaris:8.0.0/OPR1.170623.032/V9.5.15.0.ODGCNFA:user/release-keys
And boom, pass safetynet after a reboot
Info: You can enable developer mode, turn on USB debugging and use ADB on your PC instead of the terminal on your android. After installing Minimal ADB & Fastboot on your PC, search for the link in your start menu and open it. A black CMD window should appear where you can type commands after you connect your PC with your phone, and allow ADB on your phone. Then enter:
Code:
adb devices
adb shell
Enter the commands in the tutorial above
Click to expand...
Click to collapse
Enable Google Maps Location Sharing & Location History on Chinese MIUI ROM
You need Magisk properly installed on your ROM and then download & install the module: Unlock CN GMS
Google Camera with HDR+
Some modified versions of Google Camera may allow to use HDR+ with the Mi Mix 2S. For some these may work:
defcomg-fix_OP6v0.3_MGC_5.1.018_FINAL_3.4A.apk
As the modders keep creating new fixes, you should try out new versions from here regularily and see if HDR+ works and the portrait camera works.
Original thread: Mix 2S Google Camera
only fastboot roms
tool only fastboot rom. How do I flash your ROM?
underlines said:
...
Official Global ROM
The variants sold outside of China come with the Global ROM including Google Apps.
For devices that have the Official Chinese ROM l, it's possible to flash the Official Global ROM. L
Follow the Unlock tutorial in this guide
Download the Official Global ROM: http://bigota.d.miui.com/V9.5.4.0.ODGMIFA/miui_MIMIX2SGlobal_V9.5.4.0.ODGMIFA_702fd64fce_8.0.zip
Extract the Zip to C:\rom
Download and install Mi Flash tool
Turn off your phone. Press Volume Down + Power button to boot into Fastboot mode
Connect your phone via USB to your computer
Flash the ROM with Mi Flash Tool
...
Coming soon
Click to expand...
Click to collapse
Thanks for your effort. About the quoted part i don't think it will work by following this steps. People in this topic tried without success: https://forum.xda-developers.com/xiaomi-mi-mix-2s/how-to/global-stable-rom-link-t3786717
It seems the proper way is the one it follows:
teddy74eva said:
I've just tried it and the bootloader has to be unlocked, otherwise the phone will not boot. But thanks for your guide, I have succesfully installed Global, many thanks so to sum things up, to install Global rom you need to:
Unlock your bootloader
Flash TWRP from Xiaomi.eu
Flash Global from first post and WITHOUT rebooting flash region fix from carburano's guide
Now you can reboot to system
Click to expand...
Click to collapse
I think, he never test his guide himself... the rom is the same as in the other link here from italian guy and it is not an fastboot rom. So i wonder, how he flash this file with miui-flash... so i think, he never had flash this.
I've ordered the 8GB-256GB model and it has the Chinese ROM, can I flash the Global ROM regardless of bootloader status etc.
Well this time xiaomi forced me to wait for 360 hours before i can unlock, even though my mi account has unlock permissions since 2016... So i can't yet validate anything.
Thanks for your input. I'll adapt the guide
TheInfiniteAndroid said:
I've ordered the 8GB-256GB model and it has the Chinese ROM, can I flash the Global ROM regardless of bootloader status etc.
Click to expand...
Click to collapse
If anyone can confirm this I'd really appreciate it, thanks
TheInfiniteAndroid said:
If anyone can confirm this I'd really appreciate it, thanks
Click to expand...
Click to collapse
Right now you can't flash with locked bootloader. Maybe it will be possible when Xiaomi releases a fastboot rom. According some users this rom release will be in the next few days.
Bill Power said:
Right now you can't flash with locked bootloader. Maybe it will be possible when Xiaomi releases a fastboot rom. According some users this rom release will be in the next few days.
Click to expand...
Click to collapse
Thank-you for this, I guess I'll just have to hope & wait and see :good:
TheInfiniteAndroid said:
Thank-you for this, I guess I'll just have to hope & wait and see :good:
Click to expand...
Click to collapse
Yes. I'm in the same situation.
Bill Power said:
Yes. I'm in the same situation.
Click to expand...
Click to collapse
I need global because I'll be using it as my daily driver when I go over to the US using Verizon, hopefully the ROM will come out soon
underlines said:
In the original Mi Mix Forum we had a one-in-all thread for all new users, so I try to continue it here.
I will try to mention all people from who I take sources from. If I forgot anyone, please don't hesitate to tell me.
If you have change requests or useful additions, I will try to update the original posts ASAP.
Click to expand...
Click to collapse
Hi,
Don't forget to add "How to install Google Apps", please.
Thanks
EDIT 1; NVM, found it under Chinese rom
EDIT 2: Gapps installation went flawlessly, many many thanks
TheInfiniteAndroid said:
I need global because I'll be using it as my daily driver when I go over to the US using Verizon, hopefully the ROM will come out soon
Click to expand...
Click to collapse
I suggest you to unlock it too. After ROM installation you can lock it again. It seems it will not be possible to flash with a locked bootloader even for an Official Rom.
Bill Power said:
I suggest you to unlock it too. After ROM installation you can lock it again. It seems it will not be possible to flash with a locked bootloader even for an Official Rom.
Click to expand...
Click to collapse
So unlock the bootloader, flash the global ROM, then relock the bootloader and all done?
TheInfiniteAndroid said:
So unlock the bootloader, flash the global ROM, then relock the bootloader and all done?
Click to expand...
Click to collapse
Yes. Now i'm waiting the sms message to finish the process. The OP has all the instructions for unlocking the bootloader if you need it.
Bill Power said:
Yes. Now i'm waiting the sms message to finish the process. The OP has all the instructions for unlocking the bootloader if you need it.
Click to expand...
Click to collapse
So just to sum up, when my Mix 2s comes with the Chinese ROM, I unlock, flash this, then I'm on Global official and can still receive OTA's etc?
TheInfiniteAndroid said:
So just to sum up, when my Mix 2s comes with the Chinese ROM, I unlock, flash this, then I'm on Global official and can still receive OTA's etc?
Click to expand...
Click to collapse
Yes but global rom OTAs of course
where did u find twrp for mix2s? 'cause I havn't found one on their website.
Change log 2018-05-09 04:38AM GMT
Code:
+ Added: Android P developer preview for Mi Mix 2S section
+ Added: Magisk section
- Removed: Xposed section
underlines said:
Change log 2018-05-09 04:38AM GMT
Code:
+ Added: Android P developer preview for Mi Mix 2S section
+ Added: Magisk section
- Removed: Xposed section
Click to expand...
Click to collapse
Thanks underlines. I'm stuck waiting for the sms message. How much time usually does take to receive it?

[TUTORIAL][Google FI][STOCK][PIE 9.0]Go From Rooted Oreo to Pie on Android One 1900-1

Rooted Oreo -> Stock Pie
When I attempted to go from Oreo by flashing the Pie zip from this thread I got an error saying the update wasn't valid. This guide is how to get around that and upgrade your phone to Pie!
Warning
THIS IS ONLY INTENDED FOR THE GOOGLE FI ANDROID ONE MOTO X4. Follow at your own risk. XDA and I are not responsible for anything (bricked phone, nuclear war, etc).
The flash scripts provided do not have the command to erase user data but I am still not responsible in anyway if somehow it gets corrupted or erased.
​
You Will Need:
A rooted Google Fi Moto X4 with an unlocked bootloader (Duh)
Latest Oreo Project Fi Firmware (You can also check the MotoFirmware Twitter for a more up to date copy)
Pie v9.0 Project Fi Firmware
(Windows/MacOS) Motorola drivers:- https://support.motorola.com/us/en/drivers
(Windows)flash-all.bat script + ADB & Fastboot
(Linux)flash-all.sh + adb & fastboot - Note you will need to install adb & fastboot from your linux distributions repositories.
(MacOS)flash-all.sh + ADB & Fastboot for Mac
Once you have everything downloaded and installed do the following:
Extract the Oreo Firmware
(Windows)Extract and copy the contents of the flash files.zip to the Oreo firmware folder
(Linux/MacOS)Place the flash-all.sh into the Oreo firmware folder
Shutdown your device then boot into the bootloader by pressing volume down button & power button simultaneously.
Plug your device into your PC preferably using the factory USB cable.
Open a command prompt or shell window and navigate to the Oreo firmware folder
(Windows)Unroot your device by running
Code:
flash-all.bat
(Linux/MacOS)Unroot your device by running
Code:
./flash-all.sh
Reboot your phone by using
Code:
fastboot reboot
Your phone should now be running stock Oreo without losing any user data!
To get to Pie continue with these steps
First you will need to go to Settings ->System -> Update and install every OTA until it says you're up to date.
Once you have every OTA installed, shutdown your phone and boot to the bootloader pressing volume down button & power button simultaneously.
Then select Recovery Mode using the volume buttons and pressing the power button.
Once you arrive to the "No command" screen, hold the power button and press the volume up once and then release the power button.
Select Apply Update From ADB and plug your phone into your PC
Open a command prompt or shell window and navigate to the folder that has the Pie Firmware Zip but do not extract the zip
Use the command
Code:
adb sideload blur_version.29.11.31.payton_fi.google_fi.en.us.zip
Be patient while it applies the update, it can take anywhere from 15-60 minutes
Once it finishes the update you may reboot your phone
Congrats! If everything went well you are now on Stock Pie:good:
You can now take Pie OTA's, install TWRP and Magisk, or any other root software you like.
How would I do this was an unlocked Android 8.1 Moto X? I had magisk installed but I uninstalled that and now all I have is TWRP and I am trying to figure out how to do this without wiping my entire phone with reflash of stock. Could somebody help?
patrick8996 said:
How would I do this was an unlocked Android 8.1 Moto X? I had magisk installed but I uninstalled that and now all I have is TWRP and I am trying to figure out how to do this without wiping my entire phone with reflash of stock. Could somebody help?
Click to expand...
Click to collapse
You probably want to go to the Moto X forum's. This thread is for the Moto X4.
Thank you, it worked!
No loops or freezes, worked the first time!
can be done on any Moto x4 with unlocked bootloader.
Here's a video guide if you want one.
https://www.youtube.com/watch?v=2AtoswXA0Pw
Can the first part (steps and files) be used to revert to Oreo from Pie?
rczrider said:
Can the first part (steps and files) be used to revert to Oreo from Pie?
Click to expand...
Click to collapse
Yes, if you have unlocked bootloader.
Well, your instructions worked great, so thanks!
But of course I borked it after everything was good. I flashed TWRP after successfully booting into Pie for the first time and now I'm stuck in a bootloop at the Android One logo. I did a factory data reset from within TWRP since I didn't care about my data. Still looping.
Then I flashed stock Oreo via fastboot)...still looping, and TWRP is gone. I can't seem to get into stock recovery using the vol+/pwr so I can do an adb sideload of Pie.
Thoughts?
Unlocked bootloader and rooted
I followed the steps and I can't get Stock oreo to flash in TWRP nor can I flash to unroot and start the process all over. I am a bit lost. Can someone help

Categories

Resources