begonia
is the global variant whereas begoniain
is the Indian variant. The only difference between the 2 is NFC. The Indian Variant has no NFC.Source: XDA
Packages
sudo pacman -S android-tools android-udev
Unlock
The unlocking tutorial was performed on a Windows 10 computer.
Arch Linux - AUR
GitHub
xiaomitool.com
On phone
Before you start, write down some information about your phone.
Go to Settings
-> About phone
-> All specs
.
Write down:
- MIUI version = especially between ()
- Model = M1906G7*
- Baseband version
Or just take a picture ;-)
- Go to
Settings
->About phone
->click 7 times on
->MIUI version
untilDeveloper options
are available. - Go back to
Settings
->Additional settings
->Developer options
-> enableOEM unlocking
-> click onMi Unlock status
andAdd account and device
->copy id number under your avatar
(Create a new account if necessary.)
On computer
Go to miui.com and click on unlock. Change language to english (footer). After logging in, you must create a new user for the forum if you have just created an account.
TIP 1: Use some chinese signs behind your nickname if you're using the alphabet.
TIP 2: Follow again `step 1` to reach the site -> [download - unlock file]Connect your phone and let Windows install all necessary drivers.
Now turn your phone off and start it again with
VOL DOWN + POWER BUTTON
andhold
it untilFASTBOOT
is written. Connect your phone and let Windows install all the fastboot drivers for your phone (if not done in step 1).-
Download Mi Unlock and extract the files to
C:\unlock\
and startmiflash_unlock
. Sign in and connect your phone again if necessary. Now click unlock button.Problems (Unlock button greyd out)? Try that XDA.
Couldn't unlock - Please unlock XXX hours later? Wait XXX hours later. Click on
Unlock
->Unlock anyway
->Unlock anyway
Up to this point it is no longer necessary to use a Windows computer.
USB debugging
Go to
Settings
->About phone
->click 7 times on
->MIUI version
untilDeveloper options
are available.Go back to
Settings
->Additional settings
->Developer options
-> enableUSB debugging
.
Brick safe mode
This is a quick guide with the important info. Check the xda thread for the whole info!
Before you go any further make sure you're running Android 9!!! If you are on Android 10, you must first downgrade.
- Go to
Settings
->About phone
.
fastboot
Download the files from xda.
Reboot your phone to fastboot mode
by holding VOL DOWN + POWER BUTTON
or run adb reboot bootloader
in your terminal.
Got to the images
folder and run the following commands:
fastboot flash preloader preloader_begonia.bin
fastboot flash lk lk.img
fastboot flash lk2 lk.img
TWRP
Download Firmware
You have 2 options to download your firmware:
- mi.com
- Your phone
I suggest number 2. That way it's pretty sure you'll be using your firmware for your particular phone.
For that, got to:
- Go to
Settings
->About phone
->System update
->3 dots (top right)
) ->Download latest package
- Connect your phone to your computer click on
File transfer
and go to the folderdownloaded_rom
and copy the file to your computer.
Reboot
later (but do step 2. first. After the restart the firmware is gone) to make sure you are using the firmware (make sure it is Android 9).
Android Verified Boot (AVB)
This device uses Android Verified Boot (AVB)
This means that installing TWRP or swiping to allow system modifications will prevent you from being able to boot. To bypass AVB's boot prevention, you will have to disable it or install a custom ROM that ships with disabled AVB.To disable AVB via fastboot, grab the vbmeta image from the ROM you are on, and flash it with the following command:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
AVB should be now disabled on your device.
Click on your downloaded firmware and extract vbmeta.img
.
Reboot your phone to fastboot mode
by holding VOL DOWN + POWER BUTTON
or run adb reboot bootloader
in your terminal.
Copy both files vbmeta.img
and twrp-3.4.0-0-begonia.img
in one folder and run the following commands:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash recovery twrp-3.4.0-0-begonia.img
Restart your phone with fastboot reboot
and immediately press and hold VOL UP
until you reach the recovery mode or until you need to select the recovery mode.
Custom Firmware (CFW) & Custom ROMs
First follow all the steps above if you have not already done it.
Download:
CFW
Recovery:
ROMs
Just check the XDA thread for your preferred ROM. Make sure that the [CFW]
tag is in the title of your favorite ROM.
Flash
It's more or less from the XDA post.
Boot into recovery
Follow these steps again if you are not already in your recovery.
Wipe system, cache, dalvik
Click Wipe
-> Advanced Wipe
-> Dalvik / ART Cache
& Cache
& System
-> Swipe to Wipe
Flash CFW, CFW compatible ROM
Install
-> begonia(n)-A10-CFW_20200530.zip
-> Add more Zips
->Your-ROM
-> Swipe to confirm Flash
Backup
-
Backup
-> select everything andSwipe to Backup
- Connect your phone to your computer and copy the whole
Internal Storage
. At least theTWRP
folder.
Format data
Wipe
-> Format Data
-> yes
Reboot to bootloader
Reboot
-> Bootloader
Flash CFW recovery
fastboot flash recovery twrp-CFW-3.4.0-2-begonia_UNOFFICIAL_0707.img
Reboot!
fastboot reboot
Going back to MIUI from CFW
- Flash full MIUI firmware from SP Flash Tools or fastboot