[RECOVERY][UNOFFICIAL][3.5.0][apollo]TWRP for Mi 10T/Mi 10T Pro/Redmi K30S Ultra - Xiaomi Mi 10T / 10T Pro ROMs, Kernels, Recoveries,

Code:
/**
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
**/
Working:
Boot
Decryption data
Vibration
flash zip
Android 11 support
Ota update
continue in #2 post
Not working:
ADB sideload
Supported devices:
Mi 10T (apollo)
Mi 10T PRO (apollopro)
Redmi K30S Ultra (apollo)
I haven't tested on Mi 10T and K30S, but it should work
We couldn't modify /system /vendor /product and /odm, caused by new type of partition, so if you want modify them, use magisk module instead.​
Install guide:
To boot (Reccomended):
Code:
fastboot boot <twrp.img>
To recovery (Not Reccomended):
Code:
fastboot flash recovery <twrp.img>
-----
How can I pass file to device, if mtp not work s?
You can use adb command, to push them.
Code:
adb push C:\<file>.zip /sdcard
Where are the files, which i copied with mtp?
Maybe you can find them in /data/media
Can i flash twrp in recovery partition?
Yes, you can flash since 3.5.0_10-beta 1. I provided prevent-twrp-replace (to keep twrp after reboot) and stock-fingerprint (for ota update).
-----
Download:
Downloads for : Xiaomi Mi 10T Pro | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
Donation:
Get your very own PayPal.Me link
Post it. Text it. Tag it. Share it. Shout it. And let your friends pay you back in a tap or two. Grab your PayPal.Me link today.
www.paypal.me
Discussion:
XIAOMI 10T / 10T PRO / REDMI K30S ULTRA - Global
Update channel: @Mi10TUpdates Photography: @Mi10TPhotoGraphy OffTopic: @Mi10TOT Discussion: @Mi10TSeriesGlobal
t.me
Code source:
https://github.com/Whyle/android_device_xiaomi_apollo
https://github.com/TeamWin/android_bootable_recovery
-----
Thanks:
@mauronofrio and other twrp developer.

3.4.0_0 (07.11.2020)
- Init twrp recovery
- Decryption data
- Vibration
3.4.0_1 (08.11.2020)
- Can flash twrp in recovery partition.
3.4.0_2 (20.11.2020)
- Fix permission denied on mount
- Fix mtp not work after install ROM. (For me seem work)
3.4.0_3 (21.11.2020)
- Fix f2fs file system
- Fix screenshots(in TWRP folder)
- Adjust MTP device name
- Resize GUI measures
after wipe, I suggest you change filesystem to f2fs.
-..
3.4.0_10(07.12.2020)
- /data filesystem to f2fs
- Fix mtp after factory reset
- Add some partition (flash .img)
After working on TWRP for 2 weeks (without configuring the system), I finally found solution to resolve it.
Now you can flash all roms as you have done usually
3.5.0_10-beta_1(04.01.2021
- Android 11 support
- Android 11 data decryption
- Add-on zips
(install > select storage)
- Add prevent twrp replace
- Add OTA fingerprint
Notice: in some case a11 data decryption won't work, i will fix it as soon as possible.
Tips: after wipe data, I was set the default mtp directory to /data/media and after boot, the mtp directory will set /data/media/0.
----------------------------------------------------------------------
Thanks every testers:
@xingdu @GabSam @kimbo_985
give me yours right id.
----------------------------------------------------------------------
If you like my hard works, please buy me a coffee to keep me alive.
PayPal​----------------------------------------------------------------------
Blocking checks
- [✔] Correct screen/recovery size
- [✔] Working Touch, screen
- [✔] Backup to internal/microSD
- [✔] Restore from internal/microSD
- [✔] reboot to system
- [✔] ADB
Medium checks
- [] update.zip sideload
- [✔] UI colors (red/blue inversions)
- [✔] Screen goes off and on
- [✔] F2FS/EXT4 Support, exFAT/NTFS where supported
- [✔] all important partitions listed in mount/backup lists
- [✔] backup/restore to/from external (USB-OTG) storage (not supported by the device)
- [] backup/restore to/from adb (https://gerrit.omnirom.org/#/c/15943/)
- [✔] decrypt /data
- [✔] Correct date
Minor checks
- [✔] MTP export
- [✔] reboot to bootloader
- [✔] reboot to recovery
- [✔] poweroff
- [✔] battery level
- [✔] temperature
- [] encrypted backups
- [] input devices via USB (USB-OTG) - keyboard, mouse and disks (not supported by the device)
- [✔] set brightness
- [✔] vibrate
- [✔] screenshot

good job.

Awesome work, well done! I can't wait to try it (as soon as my 7 day wait is over for unlocking the bootloader)

Is it work at mi10t pro?

pusando said:
Is it work at mi10t pro?
Click to expand...
Click to collapse
it should. title says mi10t/mi10tpro

Tested flash recovery on Mi 10T Pro its work fine.
But /system /vendor /product and /odm still can't modify cause dynamic partition.

I tryed on my Mi10T Pro and it works with the known issues on partition. How can I fix it by Magisk? Thanks in advance.

Now this is something! Thanks a lot for your work!!

So we cant flash this permanently to the recovery partition? Anyway this is magnificent, thanks!

Dorisnov said:
So we cant flash this permanently to the recovery partition? Anyway this is magnificent, thanks!
Click to expand...
Click to collapse
next version, it can install on recovery partition. now, I'm optimizing...

Whyle said:
next version, it can install on recovery partition. now, I'm optimizing...
Click to expand...
Click to collapse
Nice!

works fine in mi 10t pro

Whyle said:
next version, it can install on recovery partition. now, I'm optimizing...
Click to expand...
Click to collapse
You are nailing it man! Million thanks for this awesome work!!

thank you for this twrp, ill try as soon as my waiting time is over. :good: :good:

Any chance for Mi 10 Ultra?
I use now a chinese version, that is for Mi 10T

batareikin51 said:
Any chance for Mi 10 Ultra?
I use now a chinese version, that is for Mi 10T
Click to expand...
Click to collapse
Mi 10T in chinese version is Redmi K30S Ultra

Whyle said:
Mi 10T in chinese version is Redmi K30S Ultra
Click to expand...
Click to collapse
Sorry, I was wrong. Twrp I used was for Mi 10 Pro.
So my question is still valid,
any chance your twrp is compatible with Mi 10 Ultra?
thank you for your effort!

batareikin51 said:
Sorry, I was wrong. Twrp I used was for Mi 10 Pro.
So my question is still valid,
any chance your twrp is compatible with Mi 10 Ultra?
thank you for your effort!
Click to expand...
Click to collapse
This is the wrong forum is it not?
This forum is for Mi10 T and T pro.
Mi 10 Ultra is a different device entirely.

batareikin51 said:
Sorry, I was wrong. Twrp I used was for Mi 10 Pro.
So my question is still valid,
any chance your twrp is compatible with Mi 10 Ultra?
thank you for your effort!
Click to expand...
Click to collapse
Twrp for Mi 10 Ultra you can find in Chinese forums.
http://bbs.ydss.cn/thread-1497014-1-1.html
Link 2
here is one, you can use Google translate to translate these website.

Related

[UPDATE; MIUI 11 EU 9.12.5 Beta] [MIUI-11 Global ,China, EU ][Erfan GSIs]

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Latest update MIUI-11 here https://forum.xda-developers.com/mi-pad-4-plus/how-to/miui-11-global-china-t3994147/page4 +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++================
Warning:
Backup persist partition
(There are some project that changes your WIFI MAC Address. if it happened you will lost it forever.)
It shows wifi but after entering pwd it shows only saved. Can't connect at all.
-Boot TWRP
-connect your PC with USB
-your computer -Open CMD
cmd>adb shell
cmd>cd /dev/block/platform/soc/c0c4000.sdhci/by-name/
cmd>ls -l /dev/block/platform/soc/c0c4000.sdhci/by-name/
cmd>dd if=/dev/block/platform/soc/c0c4000.sdhci/by-name/persist of=/sdcard/persist.img
(keep your persist.img in the safe place)
--------------------------
How to restore it if you have a problem.
(load your persist.img into sdcard.)
cmd>dd if=/sdcard/persist.img of=/dev/block/mmcblk0p48
================================================================
+Update the best MIUI-11 Android 10/Q For MiPad4 Plus
------------------------------------------------------------------------------
++++++++++ A10 MIUI-11 China Beta ++++++++
------------------------------------------------------------------------------
+- Ported from Redmi Note 5 Pro (Redmi Note 5) using Erfan Tool by O Canal High Tech do VegaDados Bobo...
- MIUI 11 CN Beta 9.10.17
- Updated Security Patch: 2019-10-01
- More Debloated
+-install GApps ( ExliteGapps )
+-a little fix error
------------------------------------
Begin
1. Flash Vendor_for_CN_MIU-I11.zip https://mega.nz/#!9OZDFYxT!ZvU3Qlaw4E8oJFaItyi_IdsNRXCvPg7bksQSvtVpLWM
2. Flash System.img [MIUI11-Q-Aonly-VegaDataTests-10-20191017-ErfanGSI.img]
Download here hurry up https://drive.google.com/file/d/1eqFbi4mou3UxcQkH86y2mcsis2qqdj9h/view
3. Flash "allzygotefix2.zip" https://mega.nz/#F!AGAkXQYY!LPtbReZSBnZBneCMV8dp8Q
4. Flash Magisk latest stable version.
5. Reboot (the fist time boot --hello MIUI 11 CN
Not set wifi --No online during setup android.
6. Enable Developer mode set DPI ( Smallest width about 600 or any ...up to you )
-setup Fingerprint
-make Lock screen shot-cut on home-screen
-setting-->Home Screen Menu
set Swip up on the Home screen to = None
set App vault = Disable
-open wifi
-Flash Fix Treble Sound https://mega.nz/#!5DoHQIoA!vQStmoPfEFceOahuBjr4Wcz1S6espGsDA1NZFRQhLCQ
-New Fix System sound cracked " fixaudiogsi.zip"
https://mega.nz/#!cOZXGarJ!nneoUuB-gPqxBn5OQhFY-KdzIxa7L7Hd2S5niK2N8BE
------------
Make CN to EN
7. Install EdXposed
Magisk Manager install below mods
-Riru-Core (Magisk Mod)
-Riru-EdXposed YAHFA (Magisk Mod)
-EdXposedManager.apk
Edxposed Manager -- install below mod
-HiddenCore (com.cofface.ivader) ---xposed mod
-MIUI Anesthetist
More Debloated by yourself
8.Install Root Explorer (Root) or any you like
-Delete System Apps ( forbidden to delete such as..)
/System/app/MiuiSuperMarket
/System/app/Updater
Etc.
-----------------
Optional step for MicroG /NanoDroid User ( Later )
-----------------
9.Next step install Gapps
"ExLiteGApps-10.0_arm64-20191101_v2.3.zip"
https://sourceforge.net/projects/exlitegapps/files/Android 10/Plus-edition/
Note I use 2.3 version for now
Download and flash with TWRP
Reboot you will founded there are Gboard and Play store app already installed.
House keeping
---Fix sound bug .( by install Viper4A)
**How to install Viper4A with Android 10/Q
1.Download ROOTLESS DRIVER INSTALLER " v4afx-rootless_08.18.2019.zip" from here
https://zackptg5.com/android.php#viper
2.Flash " " v4afx-rootless_08.18.2019.zip"
3.Download archive ViPER4Android.rar extract to your phone storage
.Open and run v4a.apk from inside ViPER4Android folder.
4.open Magisk manager install Audio Modification library and restart
-If your launcher starts to flick on startup, flash that: Google Drive
(https://drive.google.com/file/d/1bWCEX4ri5LK1UwMHVxu6t9AJyLlTQ3wB/view?usp=sharing)
Just flash if launcher flicks on first boot
Fix error " Android System: your vendor image does not match the system......."
-edit (system/vendor----> bulid prop)
change line " ro.vendor.build.fingerprint = xxx to ro.build.fingerprint=xxx
and/or
-edit (system ---> bulid prop)
change " ro.treble.enabled=true" to " ro.treble.enabled=false"
- reboot
END
========================================
++++++++++ A9 MIUI-11 Stable +++++++++
========================================
All files
https://mega.nz/#F!AGAkXQYY!LPtbReZSBnZBneCMV8dp8Q
Info.:
Android Version: 9
- Ported from
Brand: xiaomi
Model: Redmi 7
MIUI 11 Global Stable V11.0.3.0
Security Patch: 2019-10-01
Fingerprint: xiaomi/onc_eea/onc:9/PKQ1.181021.001/V11.0.3.0.PFLEUXM:user/release-keys
-Note
- To login into your Google Account, you need to install Google Play Services, after do that, reboot.
Download: Hurry up it will delete soon
https://drive.google.com/file/d/18O4k8RWAcp_NX1HhUnGl1hvalzrtsMYg/view?usp=sharing
TWRP : TWRP-20191001-3.3.1.0-clover.img = https://mega.nz/#!NTYgnYpR!SghroCrXa9BhT89P3SzOefdBjnSmW2EZ2-gBSTaikqo
Step
1. Flash vendor (_vendor_miui11.zip)
2. Flash System Img (MIUI11-Aonly-VegaDataTests-9-20191025-ErfanGSI.img)
3. Flash permissiver _v4
4. Flash Disable Force Encryption Treble + Magisk
5. Reboot ( Take more times to boot )
6. install google services apk
7. Fix All Sound------------
-Flash Fix Treble Sound https://mega.nz/#!5DoHQIoA!vQStmoPfE...GsDA1NZFRQhLCQ
-New Fix System sound cracked " fixaudiogsi.zip"
https://mega.nz/#!cOZXGarJ!nneoUuB-g...7Hd2S5niK2N8BE
[Xiaomi.EU's MIUI 11 (Android Q/10) GSI]
--------------------------------------------------
- Ported from Redmi K20
- MIUI 11 BETA ver. 9.10.17
- Android 10
-- Updated Security Patch: 2019-10-01
- Xiaomi.EU include GAPPS, so, to use Google Play and these things, you need to install Google Play Services
-Download -ARM64 Aonly https://drive.google.com/file/d/19q6lPqGbyDaRdtzhN_dHsDdOkWcXiST8/view?usp=sharing
Step https://mega.nz/#F!AGAkXQYY!LPtbReZSBnZBneCMV8dp8Q
1. Flash vendor ( _vendor-MIUI.EU.zip )
2. Flash System.img ( MIUI11-EU-Q-Aonly-VegaDataTests-10-20191017-ErfanGSI.img )
3. Flash allzygotefix2.zip
-flash magisk
4. Reboot --(Take more time to boot at redmi logo)
5. install google services (gms)
6.reboot
7.login google account
8.Fix sound error ( install Viper4A)
9.Enable Developer mode adjust DPI go back to setting set ICon size
===============
----Supported GCam 7
----Tips:
- If you get some visual bugs, try to enable "Disable HW overlays" in Developer Mode
----Work function
DT2C/W
Face unlock
Fingerprint unlock
Full screen display
power boot menu
etc... you will test it
===================================
Very important
You will founded error sound, please install viper4A. ( howto down below)
**How to install Viper4A with Android 10/Q
1.Download ROOTLESS DRIVER INSTALLER " v4afx-rootless_08.18.2019.zip" from here
https://zackptg5.com/android.php#viper
2.Flash " " v4afx-rootless_08.18.2019.zip"
3.Download archive ViPER4Android.rar extract to your phone storage
.Open and run v4a.apk from inside ViPER4Android folder.
4.open Magisk manager install Audio Modification library and restart
5.Fix Sound bug
-Flash Fix Treble Sound https://mega.nz/#!5DoHQIoA!vQStmoPfE...GsDA1NZFRQhLCQ
-New Fix System sound cracked " fixaudiogsi.zip"
https://mega.nz/#!cOZXGarJ!nneoUuB-g...7Hd2S5niK2N8BE
https://sourceforge.net/projects/zjrdroid/files/GSIs/
Remark
ZJRDroid GSIs Updates, [31.10.19 22:51]
Hello everyone, it is with great sadness that I inform you that I am pausing all my work with GSIs, because currently I have no time to GSIs. We will continue to have GSIs, but infrequently.
Thank you for understand. @ZJRDroid
tom.android said:
[Xiaomi.EU's MIUI 11 (Android Q/10) GSI] *****recommend
- Ported from Redmi K20
- MIUI 11 BETA ver. 9.10.17
- Android 10
-- Updated Security Patch: 2019-10-01
- Xiaomi.EU include GAPPS, so, to use Google Play and these things, you need to install Google Play Services
-Download -ARM64 Aonly https://drive.google.com/file/d/19q6lPqGbyDaRdtzhN_dHsDdOkWcXiST8/view?usp=sharing
Step https://mega.nz/#F!AGAkXQYY!LPtbReZSBnZBneCMV8dp8Q
1. Flash vendor ( _vendor-MIUI.EU.zip )
2. Flash System.img ( MIUI11-EU-Q-Aonly-VegaDataTests-10-20191017-ErfanGSI.img )
3. Flash allzygotefix2.zip
4. Reboot
5. install google services (gms)
===============
Very important
You will founded error sound, please install viper4A. ( from Magisk' repo --ViPER4Android_FX_Legacy-v4.4.zip) only its driver that we want cause v4a not support Android 10
----Supported GCam 7
----Tips:
- If you get some visual bugs, try to enable "Disable HW overlays" in Developer Mode
----Work function
DT2C/W
Face unlock
Fingerprint unlock
Click to expand...
Click to collapse
Tablet ended in Bootloop with this
Everlite92 said:
Tablet ended in Bootloop with this
Click to expand...
Click to collapse
1.First thing first please install TWRP-20191001-3.3.1.0-clover.img = https://mega.nz/#!sHoXlaDK!ZIfuRrtl7...diEd-6iQS2YFNg
2.Clean Flash Wipe Advanced ( Davik + cache + data + system + vendor) and Format Data
( Not forgotten to backup your data before )
3.Reboot back to recovery do step to install gsi
Note --- Test with my Mi pad 4 Plus only
tom.android said:
1.First thing first please install TWRP-20191001-3.3.1.0-clover.img = https://mega.nz/#!sHoXlaDK!ZIfuRrtl7...diEd-6iQS2YFNg
2.Clean Flash Wipe Advanced ( Davik + cache + data + system + vendor) and Format Data
( Not forgotten to backup your data before )
3.Reboot back to recovery do step to install gsi
Note --- Test with my Mi pad 4 Plus only
Click to expand...
Click to collapse
Did everything, still bootloops =(
Everlite92 said:
Did everything, still bootloops =(
Click to expand...
Click to collapse
ok please wait I will extract current boot.img,vendor.img from my pad4plus. use twrp flash my boot.img and vendor.img then flash system MIUI11-EU-Q-Aonly-VegaDataTests-10-20191017-ErfanGSI.img don't forget to flash allzygotefix2.zip
https://mega.nz/#F!oTZzBKTB!sugkCk_ov7gcfdOuJeGV6g
Android 9 GSI boots up fine, only 10 doesnt want to
---------- Post added at 06:37 AM ---------- Previous post was at 06:15 AM ----------
tom.android said:
ok please wait I will extract current boot.img,vendor.img from my pad4plus. use twrp flash my boot.img and vendor.img then flash system MIUI11-EU-Q-Aonly-VegaDataTests-10-20191017-ErfanGSI.img don't forget to flash allzygotefix2.zip
https://mega.nz/#F!oTZzBKTB!sugkCk_ov7gcfdOuJeGV6g
Click to expand...
Click to collapse
Bootscreen is completly black. normal?
Everlite92 said:
Android 9 GSI boots up fine, only 10 doesnt want to
---------- Post added at 06:37 AM ---------- Previous post was at 06:15 AM ----------
Bootscreen is completly black. normal?
Click to expand...
Click to collapse
no firstboot mi logo then Redmi logo wait (take more time)
tom.android said:
no firstboot mi logo then Redmi logo wait (take more time)
Click to expand...
Click to collapse
Mi Logo appears, but no redmi logo. stays black. will wait longer but for now nothing happens
i hear the windows sound that a device is plugged in but no redmi logo.
Boot in mi pad 4 8"
Brightness no work and imei error id
Great work
Enviado desde mi ZTE A2017X mediante Tapatalk
davidroid1 said:
Boot in mi pad 4 8"
Brightness no work and imei error id
Great work
Enviado desde mi ZTE A2017X mediante Tapatalk
Click to expand...
Click to collapse
try Brightness Fix (mount vendor befor flash)
https://mega.nz/#F!5fBlFYxD!830A7OTeXkVX0jSZ-TfRXw
the twrp mega link is broken... (wrong c/p) "..." in link
here a working link:
TWRP-20191001-3.3.1.0-clover_mokee.img
Everlite92 said:
Mi Logo appears, but no redmi logo. stays black. will wait longer but for now nothing happens
i hear the windows sound that a device is plugged in but no redmi logo.
Click to expand...
Click to collapse
for me too. just a black screen and the windows sounds comes...
(with boot.img and vendor.img)
Mi Logo appears, then black screen, after some time windows sound, that a device was pluggin in
Windows Device Manager Shows: Qualcomm HS-USB Diagnostics 900E
deepblue2000 said:
for me too. just a black screen and the windows sounds comes...
(with boot.img and vendor.img)
Mi Logo appears, then black screen, after some time windows sound, that a device was pluggin in
Windows Device Manager Shows: Qualcomm HS-USB Diagnostics 900E
Click to expand...
Click to collapse
The new GSI's here with Android 10 are ending in blackscreen too. Only Android 9 Miui GSI Seems to work. LOS 17 GSI runs great. Don't get it....
I got it working now... but I have to think about it how I did it...
- first do not install the vendor.img which has @tom.android posted seperated
- I just installed the boot.img
So that the RedMi Logo shows up... there was a reboot loop... I let it as it is.. it rebooted many many times
In the meantime, I built a bathroom cabinet ... then I took a look at the MiPad4Plus, and there was no
reboot loop anymore, but it stuck at the Redmi Logo...
Then I rebooted twrp again, flashed again the rom.img and let it boot... and boot does work now..
but I cant activated cause, the wifi menu was missing, the back to twrp and installed allzygotefix2.zip again.
now wifi works and I could activate it...
deepblue2000 said:
I got it working now... but I have to think about it how I did it...
- first do not install the vendor.img which has @tom.android posted seperated
- I just installed the boot.img
So that the RedMi Logo shows up... there was a reboot loop... I let it as it is.. it rebooted many many times
In the meantime, I built a bathroom cabinet ... then I took a look at the MiPad4Plus, and there was no
reboot loop anymore, but it stuck at the Redmi Logo...
Then I rebooted twrp again, flashed again the rom.img and let it boot... and boot does work now..
but I cant activated cause, the wifi menu was missing, the back to twrp and installed allzygotefix2.zip again.
now wifi works and I could activate it...
Click to expand...
Click to collapse
So you wiped everything (vendor cache etc.) and then only flashed the boot img without vendor? could you describe every step you did?
yes I did wipe everything,
but I think you can follow the first steps how to install it from tom.android.
keep it in bootloop with the redme logo and go something to drink for 30-50minutes...
I think there are no other steps needed (seperated boot and vendor image from tom.android)
I will try it tomorrow again, to get a proof that it is working as tom.android wrote it.
but Chrome is freezing/lagging alot... and the homescreen does not rotate anymore.
deepblue2000 said:
yes I did wipe everything,
but I think you can follow the first steps how to install it from tom.android.
keep it in bootloop with the redme logo and go something to drink for 30-50minutes...
I think there are no other steps needed (seperated boot and vendor image from tom.android)
I will try it tomorrow again, to get a proof that it is working as tom.android wrote it.
but Chrome is freezing/lagging alot... and the homescreen does not rotate anymore.
Click to expand...
Click to collapse
i didnt mange to get to the redmi Logo. Mi Logo, blackscreen Reboot, Mi Logo Blackscreen. stays black.
the Redmi Logo shows up, if you follow the steps from Page 1 ..
but do not flash the vendor.img
edit:
I wanted to do it again, to understand what I did, so I wiped everything and formated data again
but now it works from the beginning.
Edit: chrome still freezes/crashes, but Edge works perfect
Edit: Bluetooth does not work, always crashing and brightness does not work

[EXPERIMENTAL][RECOVERY][3.4.0][umi]Unofficial TWRP for Mi 10 Unified

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Features:
- TWRP boots.
- Decryption is working.
- Vibration
- System, Vendor and Product partitions mount is working but you can't modify them.
- You can flash magisk, miui roms, kernels, firmwares, etc.
Not working:
- Partition formatting (upstream)
- ADB sideload (upstream)
Install guide:
To boot (Reccomended):
Code:
fastboot boot <twrp.img>
To install (NOT reccomended):
Code:
fastboot flash recovery <twrp.img>
Download:
Now build is checking "ro.boot.hwversion". If it is begined with "1" then use Mi 10 Pro cmi profile, otherwise it will use Mi 10 umi profile.
Please report ro.boot.hwversion if possible. You can get it from getprop command.
Mega Drive Link
Source code:
Device Tree
Recovery Source
Thanks:
@mauronofrio @bigbiff and more open source TWRP devs.
Mi 10 Pro (cmi) thread:
https://forum.xda-developers.com/xi...xperimental-unofficial-twrp-mi-10-10-t4106385
USB OTG ?
Hi,
very important for me: is USB OTG working to read ROM from it ?
thank you !
Tested : USB OTG not working.
fastboot reboot recovery.img hangs the phone.
Solved using another twrp for the moment.
adario73 said:
Hi,
very important for me: is USB OTG working to read ROM from it ?
thank you !
Click to expand...
Click to collapse
It should work but I could not test it for you...
Great. Here we start development section.
tested:
can not mount system and vendor.
if you choose : reboot - recovery ( in this TWRP), the device will hang on fastboot.
k1n9n0th1n9 said:
tested:
can not mount system and vendor.
if you choose : reboot - recovery ( in this TWRP), the device will hang on fastboot.
Click to expand...
Click to collapse
Could you fetch a copy of log at /cache/recovery/log.gz for me?
You can only mount them with read only flag. It's super partition's limit.
Will mi 10 get twrp and other custom roms stuff??
---------- Post added at 12:58 PM ---------- Previous post was at 12:57 PM ----------
No custom development till 5 months??!!
Hi guys, new build (rev. 2) has been uploaded. Tested fastboot flash recovery is working.
The way to fix it is just appending recovery dtbo from official recovery. OTG might still not working. Source code has been updated.
cc @k1n9n0th1n9 @adario73
simonsmh said:
Hi guys, new build (rev. 2) has been uploaded. Tested fastboot flash recovery is working.
The way to fix it is just appending recovery dtbo from official recovery. OTG might still not working. Source code has been updated.
cc @k1n9n0th1n9 @adario73
Click to expand...
Click to collapse
can not select partitions system and vendor to mount
k1n9n0th1n9 said:
can not select partitions system and vendor to mount
Click to expand...
Click to collapse
Even with read-only flag? You could only mount system and vendor as read-only.
Do not try to Chmod 755 cause phone won't boot! even after ROM installed and rooted, do not do that with any file manager cause will stop the phone from booting!
head_djmusic said:
Do not try to Chmod 755 cause phone won't boot! even after ROM installed and rooted, do not do that with any file manager cause will stop the phone from booting!
Click to expand...
Click to collapse
Just don't do that if you are unfamiliar with AVB. You could disable this security feature by reflash vbmeta.img with disable verity and disable verification flag with fastboot. You can find more infomation on Google.
k1n9n0th1n9 said:
can not select partitions system and vendor to mount
Click to expand...
Click to collapse
Hi guys, new build (rev. 3) has been uploaded for fixing mount issue, please test when you have free time.
simonsmh said:
Hi guys, new build (rev. 3) has been uploaded for fixing mount issue, please test when you have free time.
Click to expand...
Click to collapse
Decryption works fine.
First I chose [Mount]: System was not checked, Vendor had a checkmark. Then I unticked Vendor and tried to mount it again. But both aren't able to get mountet within rev.3.
Backing up System isnt working too.
recover log is attached.
nocturnoz said:
Decryption works fine.
First I chose [Mount]: System was not checked, Vendor had a checkmark. Then I unticked Vendor and tried to mount it again. But both aren't able to get mountet within rev.3.
Backing up System isnt working too.
recover log is attached.
Click to expand...
Click to collapse
It's pretty weird since I didn't have this issue on my side, could you try it at command line?
Code:
mount /dev/block/mapper/system /system_root
Then check the result it printed and see if it mounts under /system_root
I also remembered that I flashed the miui rom for testing twrp, and after that I could mount both system and vendor. Could you have a try?
-----
Could you grab a logcat for me?
Code:
adb logcat > logcat.log
nocturnoz said:
Decryption works fine.
First I chose [Mount]: System was not checked, Vendor had a checkmark. Then I unticked Vendor and tried to mount it again. But both aren't able to get mountet within rev.3.
Backing up System isnt working too.
recover log is attached.
Click to expand...
Click to collapse
same
simonsmh said:
It's pretty weird since I didn't have this issue on my side, could you try it at command line?
Code:
[B]1.: mount /dev/block/mapper/system /system_root[/B]
Then check the result it printed and see if it mounts under /system_root
I also remembered that I flashed the miui rom for testing twrp, and after that I could mount both system and vendor. 2. Could you have a try?
-----
Could you grab a logcat for me?
Code:
[B]3. adb logcat > logcat.log[/B]
Click to expand...
Click to collapse
1.: mount: '/dev/block/mapper/system/system_root' not in fstab
2.: I'm running MIUI.EU 12 20.5.24 (weekly)
3.: ADB Sideload isn't working in TRWP.
nocturnoz said:
It's pretty weird since I didn't have this issue on my side, could you try it at command line?
Then check the result it printed and see if it mounts under /system_root
I also remembered that I flashed the miui rom for testing twrp, and after that I could mount both system and vendor. 2. Could you have a try?
-----
Could you grab a logcat for me?
1.: mount: '/dev/block/mapper/system/system_root' not in fstab
2.: I'm running MIUI.EU 12 20.5.24 (weekly)
3.: ADB Sideload isn't working in TRWP.
Click to expand...
Click to collapse
1. There is a space in it.
2. I will have a try with eu at weekends.
3. Since you can decrypt your data, I suggest you put it in your /sdcard instead. I will try to fix sideload soon.
Still it would be very helpful if you could grab a logcat for me.
simonsmh said:
1. There is a space in it.
2. I will have a try with eu at weekends.
3.Since you can decrypt your data, I suggest you put it in your /sdcard instead. I will try to fix sideload soon.
Still it would be very helpful if you could grab a logcat for me.
Click to expand...
Click to collapse
1. mount /dev... gave an error that -t is required
1a.
Code:
mount -t /dev/blck/mapper/system /system_root
mount: '/dev/blck/dm-2' -> '/system_root': Device or resource busy
2. TWRP Backup is possible until vendor backup. Then I'll get Error 255.
3. How do I do that? :/
4. When I'm on my ROM MIUI 12, then I'll connect the phone via USB and launch the ADB logcat commmand? Or where do I have to get the logcat from?
nocturnoz said:
1. mount /dev... gave an error that -t is required
1a.
Code:
mount -t /dev/blck/mapper/system /system_root
mount: '/dev/blck/dm-2' -> '/system_root': Device or resource busy
2. TWRP Backup is possible until vendor backup. Then I'll get Error 255.
3. How do I do that? :/
4. When I'm on my ROM MIUI 12, then I'll connect the phone via USB and launch the ADB logcat commmand? Or where do I have to get the logcat from?
Click to expand...
Click to collapse
Hi,
I mean logcat of TWRP, you can grab it on TWRP boot. ADB sideload is confirmed not working for now.
Could you try my latest build (rev.4) first? I rebased upstream source to see if it would fix system mounting issue for you.

[RECOVERY][3.4.0-14][phoenix/in]Unofficial TWRP for Xiaomi Poco X2/Redmi K30 (Beta)

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Features:
- Decryption works
- Otg works
- Flash Rom works
- F2FS support
- Fastboot boot command support
Not working:
- Fastbootd
- Adb sideload
- Backup restore and image flash (system-vendor-product)
- Android 11 fully support
Download:
TWRP 3.4.0-14 Unofficial by mauronofrio
TWRP 3.4.0-12 Unofficial by mauronofrio
TWRP 3.4.0-10 Unofficial by mauronofrio
To Flash the TWRP:
Code:
fastboot flash recovery twrp-3.3.1-xx-xxxxxx-mauronofrio.img
Then reboot in TWRP manually or using a fastboot command.
Code:
fastboot boot twrp-3.3.1-xx-xxxxxx-mauronofrio.img
or
Code:
fastboot oem reboot-recovery
REMEMBER: is important that from fastboot you directly go in TWRP mode or the TWRP will be overwritten.
Reccomended ADB and Fastboot binaries:
Adb and Fastboot Installer
Source code:
https://github.com/Teamwin/android_bootable_recovery
https://github.com/mauronofrio/android_device_xiaomi_phoenix
https://github.com/sm6150-dev/android_kernel_xiaomi_sm6150
My Telegram TWRP Support Group:
https://t.me/twrp_Mauronofrio
Donations:
Credits:
- Thanks to @merothh for the hard testing and other support
- Thanks to @bigbiff and @Captain_Throwback for the hard work on this android 10 TWRP
Thanks to all testers on the Telegram Group
Created 2020-09-16
Nice work the first build...
Thanks and waiting for 2nd build.....
mauronofrio said:
- Backup restore and image flash (system-vendor-product)
Click to expand...
Click to collapse
But does backup & restore for the data partition work?
Nice work!!!
Ya_SG said:
But does backup & restore for the data partition work?
Click to expand...
Click to collapse
it is in non working list
Nice. May I ask does Format data works reliably yet? (mean after Format data and flash rom, the phone won't automatically encrypt)
Never_Sm1le said:
Nice. May I ask does Format data works reliably yet? (mean after Format data and flash rom, the phone won't automatically encrypt)
Click to expand...
Click to collapse
Yes works
Finally!
Now I don't have to be afraid the phone will brick because of unknown sourced twrp from chinese.
Martensite said:
Finally!
Now I don't have to be afraid the phone will brick because of unknown sourced twrp from chinese.
Click to expand...
Click to collapse
I'm using the chinese one for months and it does not have any issues.
Until this has stable status or official status I'm more afraid of flashing this one
It's always asking for the password. Even though i did format data using that chinese twrp, when i flash this, it asks for password again.
TWRP 3.4.0-14 for Xiaomi Poco X2 (phoenix-phoenixin):
- Fixed decryption request also when the device is not encrypted.
TWRP 3.4.0-14 Unofficial by mauronofrio
mauronofrio said:
TWRP 3.4.0-14 for Xiaomi Poco X2 (phoenix-phoenixin):
- Fixed decryption request also when the device is not encrypted.
So the remaining issues still exist?
Thanks btw for new build
Click to expand...
Click to collapse
internal storage not showing in pc from this latest build. cannot copy rom zips to internal
This TWRP is worked on my Redmi k30 Phoenix. I have tried 'recovery-TWRP-3.4.0B-0209-REDMI_K30-CN-wzsx150', but failed boot twrp.
Thank u so much 'Dev', Please continue releasing newer version <3
arifn82 said:
internal storage not showing in pc from this latest build. cannot copy rom zips to internal
Click to expand...
Click to collapse
reboot again in TWRP, connect USB cable to pc. now u can see internal storage
How can i make the twrp permanent ?
Userbaban said:
How can i make the twrp permanent ?
Click to expand...
Click to collapse
Don't Flash stock ROM/ official ROM .
'boot ' fastboot command in lastest platform-tools won't work in that way.It assume the file is a KERNEL,not a whole boot image.This will only make device go blackscreen.Check the binaries' help before run this command!
I found a problem.
If I use WIPE to format internal storage in TWRP and still can't mount internal storage after rebooting recovery.
It will not be possible to copy ROM files properly.
If you restart the system, re-entering TWRP after a successful system boot will restore the system to normal.
I wonder if it can be fixed?
ask Decrypt password everytime I reboot to twrp.
Help!

Question Failed to Mount System , Vendor

dear buddies
I wanted to flash some custom roms but I am facing a problem
unable to mount/wipe system , vendor
error occured in
twrp and orangefox
#help
same problem here
Taken from Pixel Experience Installation help page, we need to disable File Based Encryption (THE FBE ERROR ON TWRP), so they suggest this step. I will try it and post update here.
NOTE: If you have installed the stable Android 11 MIUI or you have installed the stable Android 11 MIUI vendor, you won’t need to flash again.
Download the correct stable Android 11 MIUI according to the version of your phone:
Redmi Note 9 Pro 5G
Xiaomi Mi 10i
Xiaomi Mi 10T Lite(Global)
Xiaomi Mi 10T Lite(Taiwan)
Xiaomi Mi 10T Lite(EEA)
If you are not in recovery, reboot into recovery:
With the device powered off, hold Volume Up + Power. Keep holding both buttons until the “MI” logo appears on the screen, then release.
Sideload the .zip package:
On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.
On the host machine, sideload the package using: adb sideload filename.zip.
check
TIP: If the process succeeds the output will stop at 47% and report adb: failed to read command: Success/No error.
Return to the main menu.
Now tap Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition.
Update it worked, using pixel experience now
Black Plague said:
Taken from Pixel Experience Installation help page, we need to disable File Based Encryption (THE FBE ERROR ON TWRP), so they suggest this step. I will try it and post update here.
NOTE: If you have installed the stable Android 11 MIUI or you have installed the stable Android 11 MIUI vendor, you won’t need to flash again.
Download the correct stable Android 11 MIUI according to the version of your phone:
Redmi Note 9 Pro 5G
Xiaomi Mi 10i
Xiaomi Mi 10T Lite(Global)
Xiaomi Mi 10T Lite(Taiwan)
Xiaomi Mi 10T Lite(EEA)
If you are not in recovery, reboot into recovery:
With the device powered off, hold Volume Up + Power. Keep holding both buttons until the “MI” logo appears on the screen, then release.
Sideload the .zip package:
On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.
On the host machine, sideload the package using: adb sideload filename.zip.
check
TIP: If the process succeeds the output will stop at 47% and report adb: failed to read command: Success/No error.
Return to the main menu.
Now tap Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition.
Update it worked, using pixel experience now
Click to expand...
Click to collapse
The updates we get from the settings menu are the same ones right? And do we have to switch region ROMs like EU, China etc..
Sparkplug3000 said:
The updates we get from the settings menu are the same ones right? And do we have to switch region ROMs like EU, China etc..
Click to expand...
Click to collapse
Use the ROM that is specific to your device. For example I have the Mi 10i from India and I'd download that specific ROM. Don't bother with EU or China ROMs if you do not intend to use them for a while.
Ham_is_here said:
Use the ROM that is specific to your device. For example I have the Mi 10i from India and I'd download that specific ROM. Don't bother with EU or China ROMs if you do not intend to use them for a while.
Click to expand...
Click to collapse
same here, I flashed for the 10i and am using dot os 5.1.3 (non root) Thank you for answering
KB971033Z29 said:
dear buddies
I wanted to flash some custom roms but I am facing a problem
unable to mount/wipe system , vendor
error occured in
twrp and orangefox
#help
Click to expand...
Click to collapse
#gauguin devices have a dynamic storage partition or A/B partition system. No need to wipe system & vendor to flash any rom. You can flash rom just by wiping cache, dalvik cache, data. That's will solve your problem.
But Magisk app says A-only... and so does Treble Check

Question MI 10i Error 1

hey buddies
I need your help
how to get rid of this #error1
am facing this error with twrp and orange fox
help me
device mi 10i
I'm not sure of why it is not working, but you can flash the original rom with Fastboot or within the recovery.
You can download it from downmi, xiaomitoolv2, etc
Dont use Sd Card.
KimUyLong said:
Dont use Sd Card.
Click to expand...
Click to collapse
didn't worked either flash from internal storage X(
AnibalSP said:
I'm not sure of why it is not working, but you can flash the original rom with Fastboot or within the recovery.
You can download it from downmi, xiaomitoolv2, etc
Click to expand...
Click to collapse
any ways to do that ?
KB971033Z29 said:
is there any problem ????
Click to expand...
Click to collapse
Some Rom will get error 1 if you place it on Ex SD card
KimUyLong said:
Some Rom will get error 1 if you place it on Ex SD card
Click to expand...
Click to collapse
didn't worked either flash from internal storage X(
Taken from Pixel Experience Installation help page, we need to disable File Based Encryption (THE FBE ERROR ON TWRP), so they suggest this step. I will try it and post update here.
NOTE: If you have installed the stable Android 11 MIUI or you have installed the stable Android 11 MIUI vendor, you won’t need to flash again.
Download the correct stable Android 11 MIUI according to the version of your phone:
Redmi Note 9 Pro 5G
Xiaomi Mi 10i
Xiaomi Mi 10T Lite(Global)
Xiaomi Mi 10T Lite(Taiwan)
Xiaomi Mi 10T Lite(EEA)
If you are not in recovery, reboot into recovery:
With the device powered off, hold Volume Up + Power. Keep holding both buttons until the “MI” logo appears on the screen, then release.
Sideload the .zip package:
On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.
On the host machine, sideload the package using: adb sideload filename.zip.
check
TIP: If the process succeeds the output will stop at 47% and report adb: failed to read command: Success/No error.
Return to the main menu.
Now tap Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition.
Update it worked, using pixel experience now
Black Plague said:
Taken from Pixel Experience Installation help page, we need to disable File Based Encryption (THE FBE ERROR ON TWRP), so they suggest this step. I will try it and post update here.
NOTE: If you have installed the stable Android 11 MIUI or you have installed the stable Android 11 MIUI vendor, you won’t need to flash again.
Download the correct stable Android 11 MIUI according to the version of your phone:
Redmi Note 9 Pro 5G
Xiaomi Mi 10i
Xiaomi Mi 10T Lite(Global)
Xiaomi Mi 10T Lite(Taiwan)
Xiaomi Mi 10T Lite(EEA)
If you are not in recovery, reboot into recovery:
With the device powered off, hold Volume Up + Power. Keep holding both buttons until the “MI” logo appears on the screen, then release.
Sideload the .zip package:
On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.
On the host machine, sideload the package using: adb sideload filename.zip.
check
TIP: If the process succeeds the output will stop at 47% and report adb: failed to read command: Success/No error.
Return to the main menu.
Now tap Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition.
Update it worked, using pixel experience now
Click to expand...
Click to collapse
let me try
When you install custom rom, first you need to be the same version of andorid, which is the custom rom. At your case you need official miui rom android 11. Install it with Fastboot. Afer that twrp. When you are in twrp Go to Wipe>> Format data. type YES. After that Advance wipe. And after everything flash the custom rom

Categories

Resources