best gcam mod for mi A2 - Xiaomi Mi A2 / 6X Themes, Apps, and Mods

This thread is to discuss best gcam mod for mi A2.
The Google Camera HDR+ was a must-have for Xiaomi Mi A1. With it, the phone’s dual camera worked surprisingly well in low light.
So how are we?
Will there be a gcam app port to the Mi A2? And will the effect be es big, as before?

I am looking forward for this , on paper , Mi A1 / Mi A2 / Mi A2 Lite using AndroidOne , for Mi A2 Version (im referring to both Mi A2 and Mi A2 Lite) , wondering if the TWRP will be the same ?

for of all, does it have camera2api enabled or we have to root again to enable. someone please confirm.

I think my Mi A2 will arrive in nex 6/8 days, when i'll got it i'll can confirm or not the compatibility with camera 2 api, i will use this application to test compatibility https://play.google.com/store/apps/d...vice.inspector and report the check

Ivan93tm said:
I think my Mi A2 will arrive in nex 6/8 days, when i'll got it i'll can confirm or not the compatibility with camera 2 api, i will use this application to test compatibility https://play.google.com/store/apps/d...vice.inspector and report the check
Click to expand...
Click to collapse
please qoute me i consider buying tis phone. thank you!
EDIT: please make a fe night photos, this is also a key selling point. and what you think about the audio on headphones, thast REALLY important for me!
peace"

bejunk said:
please qoute me i consider buying tis phone. thank you!
EDIT: please make a fe night photos, this is also a key selling point. and what you think about the audio on headphones, thast REALLY important for me!
peace"
Click to expand...
Click to collapse
I will do it as soon as my phone arrive, i can't wait, i will do test of macro, HDR in daily conditions, low light condition hand take and low light condition with trippod, eadphones audio is something i can't do because xiaomi does not provide headphones and i use bluetooth techvilla headphones, sorry for this

Ivan93tm said:
I will do it as soon as my phone arrive, i can't wait, i will do test of macro, HDR in daily conditions, low light condition hand take and low light condition with trippod, eadphones audio is something i can't do because xiaomi does not provide headphones and i use bluetooth techvilla headphones, sorry for this
Click to expand...
Click to collapse
camera is okay i guess. but have wait until get root access and install gcam mod

update.
I rooted the device + enable Camera2API + installed M1 Gcam. Seems to be working fine. We test and let know later

crazykas said:
update.
I rooted the device + enable Camera2API + installed M1 Gcam. Seems to be working fine. We test and let know later
Click to expand...
Click to collapse
well this is a great news... mind to share the steps?

mytowyn said:
well this is a great news... mind to share the steps?
Click to expand...
Click to collapse
Source
* https://forum.xda-developers.com/showpost.php?p=77222940&postcount=2
* https://forum.xda-developers.com/showpost.php?p=77226755&postcount=7
* https://forum.xda-developers.com/mi-a1/how-to/guide-how-to-enable-hal3-camera2api-t3747073
* https://forum.xda-developers.com/mi-a1/themes/request-google-camera-hdr-mi-a1-t3684325
Credits @guangie , @flex1911 , @Dornyx , @Arnova8G2 , scrubber
WARNING, FLASH AT your OWN RISK!!!!
1. Unlock bootloader via fastboot
2. Makesure you are on V9.6.5.0.ODIMIFE
3. Go here https://github.com/guangie88/xiaomi-jasmine-magisk-boot and download patched_boot.img
4. Boot to fastboot and flash it as given in instructions (fastboot flash boot_a patched_boot.img, fastboot flash boot_b patched_boot.img)
4. Boot to system and install Magisk Manager. APK via internet or extracted APK.
5. Now enable camera2API
"
Enable ADB in the developer settings.
-Assuming you already have platform-tools binaries, do this in your shell/cmd:
-Code:
adb shell
-Now, when you are in the device shell, type this:
-Code:
su
-The device will probably ask about root access, grant it.
-Now, when you are in the root shell, type this:
-Code:
setprop persist.camera.HAL3.enabled 1
"
6. REBOOT the phone
7. Download and install good Gcam mod for Mi A1
i used those
scrubber_GCameraP2XL.apk - front is not working
GCam5.1.018-Arnova8G2-V1.4.apk - Everything seems to be working fine

crazykas said:
Source
* https://forum.xda-developers.com/showpost.php?p=77222940&postcount=2
* https://forum.xda-developers.com/showpost.php?p=77226755&postcount=7
* https://forum.xda-developers.com/mi-a1/how-to/guide-how-to-enable-hal3-camera2api-t3747073
* https://forum.xda-developers.com/mi-a1/themes/request-google-camera-hdr-mi-a1-t3684325
Credits @guangie , @flex1911 , @Dornyx , @Arnova8G2 , scrubber
WARNING, FLASH AT your OWN RISK!!!!
1. Unlock bootloader via fastboot
2. Makesure you are on V9.6.5.0.ODIMIFE
3. Go here https://github.com/guangie88/xiaomi-jasmine-magisk-boot and download patched_boot.img
4. Boot to fastboot and flash it as given in instructions (fastboot flash boot_a patched_boot.img, fastboot flash boot_b patched_boot.img)
4. Boot to system and install Magisk Manager. APK via internet or extracted APK.
5. Now enable camera2API
"
Enable ADB in the developer settings.
-Assuming you already have platform-tools binaries, do this in your shell/cmd:
-Code:
adb shell
-Now, when you are in the device shell, type this:
-Code:
su
-The device will probably ask about root access, grant it.
-Now, when you are in the root shell, type this:
-Code:
setprop persist.camera.HAL3.enabled 1
"
6. REBOOT the phone
7. Download and install good Gcam mod for Mi A1
i used those
scrubber_GCameraP2XL.apk - front is not working
GCam5.1.018-Arnova8G2-V1.4.apk - Everything seems to be working fine
Click to expand...
Click to collapse
Thanks man.. Im going to try this out . btw... I am using Mi A2 Lite.. will this same step works ?

Go to link in step 3 and see whether there is patched boot image for A2 lite. If not dont even try those steps

crazykas said:
Go to link in step 3 and see whether there is patched boot image for A2 lite. If not dont even try those steps
Click to expand...
Click to collapse
how bout using the [OTA][DUMP][DAISY] v9.6.4.0.ODLMIFF that were posted on the thread ? its for Mi A2 Lite.. btw thanks for answering. appreciate it man.

crazykas said:
Source
* https://forum.xda-developers.com/showpost.php?p=77222940&postcount=2
* https://forum.xda-developers.com/showpost.php?p=77226755&postcount=7
* https://forum.xda-developers.com/mi-a1/how-to/guide-how-to-enable-hal3-camera2api-t3747073
* https://forum.xda-developers.com/mi-a1/themes/request-google-camera-hdr-mi-a1-t3684325
Credits @guangie , @flex1911 , @Dornyx , @Arnova8G2 , scrubber
WARNING, FLASH AT your OWN RISK!!!!
1. Unlock bootloader via fastboot
2. Makesure you are on V9.6.5.0.ODIMIFE
3. Go here https://github.com/guangie88/xiaomi-jasmine-magisk-boot and download patched_boot.img
4. Boot to fastboot and flash it as given in instructions (fastboot flash boot_a patched_boot.img, fastboot flash boot_b patched_boot.img)
4. Boot to system and install Magisk Manager. APK via internet or extracted APK.
5. Now enable camera2API
"
Enable ADB in the developer settings.
-Assuming you already have platform-tools binaries, do this in your shell/cmd:
-Code:
adb shell
-Now, when you are in the device shell, type this:
-Code:
su
-The device will probably ask about root access, grant it.
-Now, when you are in the root shell, type this:
-Code:
setprop persist.camera.HAL3.enabled 1
"
6. REBOOT the phone
7. Download and install good Gcam mod for Mi A1
i used those
scrubber_GCameraP2XL.apk - front is not working
GCam5.1.018-Arnova8G2-V1.4.apk - Everything seems to be working fine
Click to expand...
Click to collapse
Have you tried to relock bootloader and remove magisk after the procedure? Maybe this will be the best way to enable camera 2 but keep phone usability for banking application and other app that check security
Sent from my Huawei Honor 9 using XDA Labs

Ivan93tm said:
Have you tried to relock bootloader and remove magisk after the procedure? Maybe this will be the best way to enable camera 2 but keep phone usability for banking application and other app that check security
Sent from my Huawei Honor 9 using XDA Labs
Click to expand...
Click to collapse
No i didn't cause im okay with that. But if you wanna keep it there is. Way right. Its in one of source that i have posted

crazykas said:
No i didn't cause im okay with that. But if you wanna keep it there is. Way right. Its in one of source that i have posted
Click to expand...
Click to collapse
btw. could u share same sample shot from gcam in Mi A2 here ?

crazykas said:
Source
* https://forum.xda-developers.com/showpost.php?p=77222940&postcount=2
* https://forum.xda-developers.com/showpost.php?p=77226755&postcount=7
* https://forum.xda-developers.com/mi-a1/how-to/guide-how-to-enable-hal3-camera2api-t3747073
* https://forum.xda-developers.com/mi-a1/themes/request-google-camera-hdr-mi-a1-t3684325
Credits @guangie , @flex1911 , @Dornyx , @Arnova8G2 , scrubber
WARNING, FLASH AT your OWN RISK!!!!
1. Unlock bootloader via fastboot
2. Makesure you are on V9.6.5.0.ODIMIFE
3. Go here https://github.com/guangie88/xiaomi-jasmine-magisk-boot and download patched_boot.img
4. Boot to fastboot and flash it as given in instructions (fastboot flash boot_a patched_boot.img, fastboot flash boot_b patched_boot.img)
4. Boot to system and install Magisk Manager. APK via internet or extracted APK.
5. Now enable camera2API
"
Enable ADB in the developer settings.
-Assuming you already have platform-tools binaries, do this in your shell/cmd:
-Code:
adb shell
-Now, when you are in the device shell, type this:
-Code:
su
-The device will probably ask about root access, grant it.
-Now, when you are in the root shell, type this:
-Code:
setprop persist.camera.HAL3.enabled 1
"
6. REBOOT the phone
7. Download and install good Gcam mod for Mi A1
i used those
scrubber_GCameraP2XL.apk - front is not working
GCam5.1.018-Arnova8G2-V1.4.apk - Everything seems to be working fine
Click to expand...
Click to collapse
Gcam can record 1080p 60fps? Can you confirm it? Ois avaible too? Share samples?
Thank you

crazykas said:
No i didn't cause im okay with that. But if you wanna keep it there is. Way right. Its in one of source that i have posted
Click to expand...
Click to collapse
Really thanks, I really appreciate your test
Sent from my Huawei Honor 9 using XDA Labs

This is perfect, working fine with my Mi A2. Thanks

Some edit to my experience with A2, there is now way to turn back to stock after changin boot image for root, if relock bootloader and remove magisk phone does not boot and get error no command so for now i have to stay with unlocked bootloader and can't use netflix or banking apps
EDIT: i managed to relock bootloader and make phone boot properly with stock boot image but unfortunally build prop revert back to stock with no API 2 CAMERA enabled, i followed this step
Unlock bootloader with "fastboot oem unlock"
Flashed pathced boot with "fastboot flash boot_a patched_boot.img"
same with boot_b
reboot phone and installed magisk apk
edit build prop with "setprop persist.camera.HAL3.enabled 1"
rebooted phone and checked if camera api 2 was enabled
reboot bootloader and flashed stock boot img
relocked bootloader and waitg for reboot
unlucky no succes, for now i think i will keep my phone with stock camera API or maybe i' ll wait for a modded recovery and a flashable zip for enable API...

Related

Caterpillar s40 + Xposed?

I have cat s40 met 5.1 Lollipop. This Smartphone is success rooted by rootking.
I want have Xposed on that phone, but when i fail mod that phone how i recover back it?
Caterpillar don't released PC suite like "Samsung Smart Switch" or "Odin". Is any alternative for flash cat s40?
I don't saw any Stock ROM in internet for that phone and i don't found source code for that phone.
I don't found TWRP for that phone is released for it?
Caterpillar s40 is compatible to Xposed? someone have Xposed on that phone?
I search too good program for backup NAND and recovery before try install custom recovery.
Could you find or possibly post your stock Cat S40 rom?
Fudgehog said:
Could you find or possibly post your stock Cat S40 rom?
Click to expand...
Click to collapse
Can't no tools for do that and i don't search more because i my cat s40 send on warrianty.
Now i have formatted clean and no more root that... :/
I had bricked this phone after change root ap KingRoot to SuperSU.
This phone don't have recovery or anyother program like SmartSwitch. No TWRP.
Now i don't try mod this phone like my Samsung because i don't want again brick this phone.
OK I see. Thanks anyway.
Fudgehog said:
OK I see. Thanks anyway.
Click to expand...
Click to collapse
I think I am able to get hold of a rom!!
That would be great but..
I have the S50 and there are still no custom recoveries for either that I'm aware of.
someone has problems with the touch?
cangrejon said:
someone has problems with the touch?
Click to expand...
Click to collapse
Double posting, duh!
Click here.
Source Code S40 + Recovery Mode
Source code cat s40
http://www.catphones.com/en-gb/legal/general-terms-and-conditions
but we don't have access to file for now lol
Cat S40 Source Code
but Cat B15Q can download normally.
Cat B15Q Source Code
i found too how enter Recovery Mode maybe isn't it CWM or TWRP but better that than nothing
1. PowerOff phone
2. Connect USB cable to phone
3. Press and hold the Vol +
4. Connect USB cable to PC or Power Supply
5. Recovery Mode!
I hope after we can download source code someone can make TWRP of custom ROM for us ;]
Cat s40 SuperSU + Xposed
I have SUCCESS ROOT + SuperSU + Xposed on my Cat s40 :]
1. Kingroot root
2. install "SuperSU_v2.65.apk" ( i installed it by Lucky Patcher as System app)
3. Reboot
4. use script "switch_armv7.sh" i added script i found that on XDA forum but i don't remember where.
If script don't work you can try again gain root by kingroot and in SuperSU update supersu binary ( SuperSU can detect Kingroot so you must uninstall it) This script worked for my Cat s40 fine.
5. After script install new binary in SuperSU app
6. SuperSU succes!
7. FlashFire flash Xposed Binary ( i added too Xposed binary)
7. Reboot ( boot is longer than normal)
8. You have SuperSU root and Xposed Framawork on your Cat s40
You can too by FlashFire make backup your system partition and use it in TWRP if someone do it for us... or flash it after gain SuperSU root ( FlashFire on Kingroot don't working)
You do it at your own risk!
First i tried that method on myPhone Infinity LTE ( i can that flash by computer when it bricked )
I think it can work on all Android 5.1 lollipop.
Wirusx, thanks for the feedback.
Can i get more detail and confirmation :
First use kingroot 4.9.3 found here: http://forum.xda-developers.com/android/apps-games/one-click-root-tool-android-2-x-5-0-t3107461
After that it's rooted, and then you install the script in supersubinary.rar . But can you explain in detail to put what file where on the S40, or do we only need to install the superuser.apk file?
Is xposed framework nessesary found here: http://forum.xda-developers.com/showthread.php?t=3034811
How about use uptodate kingroot and after that supersumepro ?
Rooted Cat S40 running 5.1 Lollipop
After several attempts and reboots all ok. Caterpillar Cat S40 running Lollipop 5.1 working fine.
1st thanks to all devs. (VickyB, MrW0lf, Chainfire etc). :good:
Then. My attempt consisted from pointers or several threads. Started with Wirusx and got something else from somewhere else. I try getting a whole picture here.
(I did not look for fresh look, but better battery consuption, better security and such. So no new roms etc needed. Cat is quite plain and sleek anyway.)
Basically it was of Wirusx instructions, but with some tweaks as apparently at this stage some update has tightened Cat OS that fewer exploits work.
Several files has be in phone (internal storage worked for me, sdcard not). One app from Gplay (Terminal Emulator) and ->
see this thread: http://forum.xda-developers.com/android/apps-games/replace-kingroot-supersu-t3339950
1. Kingoroot - 2. Reboot - 3. Run Script (which will give you also SuperUser app). - 4. Reeboot - 5. Updated Superuser and another reboot.
- Done.
There were some moments when not all ok. After 3, verified through Emulator who is "in charge". "su -v" in same directory as you ran the original script. Showed SuperUser 2.65, so all ok. But apps listed listed KingoRoot/Purify. But not SuperUser, although the root was through it. I had to download it again via Play. After 5 all ok "in Wonderland".
Some pointers from unknown threads (which I failed to find again). Apparently the situation was like the following exerpt shows.
"It seems that the script doesn't work the same way on every device. For me, it just deleted Kingroot,
and left me with just a temporary root terminal, . SuperSU was never launched nor installed,
and when I installed it I got a "There are no su binaries installed".
I did the following to install SuperSU:
1. Run the script for your proper architecture.
2. If it doesn't launch SuperSU at the end or even worse, if you install it but get the
" no su binaries", DON'T close the last root terminal.
3. Run
su -v
If it returns something like SUPERSU-2.65 you're good to go. If it doesn't,
re-run the script again in order to push the proper su binary again.
4. Go to the terminal and type:
mount -o rw,remount /system
chmod 7777 /system/xbin/su
chmod 7777 /system/xbin/daemonsu
Note: at this point SuperSU will start to work, even if you didn't update its binaries.
4. Open SuperSU. It'll ask you to update its binaries, press yes.
5. Since it's highly advised to have SuperSU in /system in order to preserve root access
through updates, you just gotta move the SuperSU.apk included in the zip to /system /app and
chmod it with 0755 permissions.
I downloaded SuperSu from Play and it worked.
Rooted Cat S40 firmware update
Hi!
Is it possible (ad if yes, how) to update the firmware of a rooted Cat S40. My rooting process was the previously mentioned Kingroot -> SU, but after this the OTA update does't finish, even with FlashFire.
jeroensky said:
Wirusx, thanks for the feedback.
Can i get more detail and confirmation :
First use kingroot 4.9.3 found here: http://forum.xda-developers.com/android/apps-games/one-click-root-tool-android-2-x-5-0-t3107461
After that it's rooted, and then you install the script in supersubinary.rar . But can you explain in detail to put what file where on the S40, or do we only need to install the superuser.apk file?
Is xposed framework nessesary found here: http://forum.xda-developers.com/showthread.php?t=3034811
How about use uptodate kingroot and after that supersumepro ?
Click to expand...
Click to collapse
supersumepro = android frezze on boot = send phone for warrianty ;/
pliz share
anyone else succeeded in rooting?
After contacting CAT and bullet-group they managed to fix their "Open Source Codes" section and add links. Sadly, no actual response
(*sigh* can't add links)

[Guide] Mi Pad 4 Plus with LOS 16 from @Thargorsson) with or without NanoDroid]

!!! Update lineage-16.0-20190910-UNOFFICIAL-clover.zip
https://androidfilehost.com/?fid=1899786940962581845
---------------------------------------
Download ROM https://androidfilehost.com/?fid=11410963190603907427
Supported-
DT2W
DT2C ( on Status bar)
exFAT
USB Preferences options (File transfe, usb tethering, MIDI,PTP,No data transfer)
Xiaomi performance setting option
!!!! Important
Unlocked Bootloader
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.
Download TWRP--- https://mega.nz/#!qcA2BQIJ!xiBnnC0B4Z7fqpARbIY2ARdDY4hJLZgsriJsWaCCzNQ
-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
------------------------------------------------------------
Step for Normal user
Flash Lastest Firmware (option)
https://github.com/XiaomiFirmwareUp...jKlFtxZa6wKy4bTGrLy5ptJJvfZy0d14c5fQlHypsZyLQ
Flash ROM
Flash GApps Nano 9.0
Boot System
Flash Magisk (Root Manager)-Option
-------------------------------------------------------------
****Step-For microG user (Test with NanoDroid 20.6)
Flash ROM
Flash Magisk (Root Manager)
Boot System for setting up Android.
Boot TWRP
Note download nanodroid here https://downloads.nanolx.org/NanoDroid/Stable/
-Flash NanoDroid-patcher
-Flash NanoDroid-microG
Boot System for setting up microG setting program.
-Self-Check --click menu for Adding System spoffs signature
-Google device registration (Enable)
-Google Cloud Messaging (Enable)
-Google SafetyNet (Enable)
-UnifiedNlp Setting
---tab Configur location backends menu then tic Deja vu location service
---tab Configure address lookup backens menu then tic Nominatim
Install fdroid.apk (lastest version. https://f-droid.org/en/) --No use NanoDroid-fdroid
-open f-droid program--->set up repo (Add 3 new repos below)
https://www.nanolx.org/fdroid/repo
https://fdroid.bromite.org/fdroid/repo
https://microg.org/fdroid/repo
Install satstate from f-droid
-Open device GPS by Use location widget from Status bar.
-Open satstate program and run GPS menu
Install MozillaNlpBackend from f-droid
Run microG Self-Check again but this time click UnifiedNlp setting---->Configure location backends-----Enable Mozilla Location Service
self-check Unifield status will pass all (6 options)
After a bit of a struggle I managed to get this installed and working last night
A few things I noticed:
1) It may have been previously unlocked by the ebay seller I got it from. The official unlocker I got from http://en.miui.com/unlock/ (https://xiaomi.eu/community/threads/miui-10-0-10-1-10-2-stable-release.47170/ has other details) had issues, finally got it, at one point in time, to say unlocked even though all 3 steps didn't have any checkboxes next to them... Strange, but I finally looked at the fastboot_unlock binary that came with the unlocker exe, and that indicated it was unlocked.
2) I found 3 different TWRP to try and install, with 2 of them (I _think_ the one linked here, and the one linked at the EU community thread above) kept giving me "too large to transfer". I finally got the one linked above by the following process:
start powered off
hold power + vol down to get to Fastboot
fastboot devices
fastboot -s <DEVICE ID> flash recovery recovery.img
At this point, the screen went black except for at the upper right it said "press any button to power off", and fastboot exe is saying "waiting for <DEVICE ID>"
press a button, device powers off, leave it connected to the computer
hold power + vol down to get to Fastboot, fastboot exe should see the device and now do it's thing to send/flash the recovery.img
after fastboot finishes, do fastboot boot recovery.img
should now boot to TWRP, should be able to tap a button/screen to get into it
3) I also found I needed to perform a device wipe/reset from within TWRP before copying the LOS and OpenGAPPs zip files over. First time I tried it without wiping it had some weird install/configuration left and caused major issues upon booting LOS. Seemed to think it wasn't a fresh install, and had most of the apps keep crashing and restarting.
Please tell me Is the problem of changed mac address occuring with gsi roms or it is also there with normal flashable zip roms
Can it be repaired by flashing fastboot rom with mi flash tool?
hey,
Can someone tell me what kind of processor mi pad 4 plus is using?
ARM, ARM64, or x86
You heard about search engines? --> https://www.gsmarena.com/xiaomi_mi_pad_4_plus-9295.php
Hi Tom.
On one of your screenshots the lock screen says “charging rapidly”. I thought the pad 4 plus doesn’t support this function. Is it now possible with this version of LineageOS?
r0b said:
Hi Tom.
On one of your screenshots the lock screen says “charging rapidly”. I thought the pad 4 plus doesn’t support this function. Is it now possible with this version of LineageOS?
Click to expand...
Click to collapse
Try LOS 17 Android 10
@tom.android:
I tried LOS 17, but it was not running well on my Pad 4 Plus.
So I switched to this one here and LOS 16 so far runs well.
Though I have a problem with auto brightness which is not working properly. Once activated it doesnt have any effect and from time to time it just lowers brightness to the lowest point.
From your LOS 17 post I grabbed the auto brightness fix and flashed it, but it didnt work for LOS 16. Is there another fix you know about?
Also from time to time the tablet wakes up without me using it and not going to sleep again. This results into the device being display on all night long. Really annoying
r0b said:
Hi Tom.
On one of your screenshots the lock screen says “charging rapidly”. I thought the pad 4 plus doesn’t support this function. Is it now possible with this version of LineageOS?
Click to expand...
Click to collapse
Looks like different device to me. ???

TWRP install

Copying instructions that were in the miscellaneous thread while we were waiting for a proper sub forum. Keep in mind that the program to get TWRP onto the phone is in Chinese and will trigger an antivirus warning. Also TWRP will be in Chinese so users have to press the button on the right in the 1st screen to enable English.
TWRP is working for Nubia Z20 Chinease, Europe and American version
Download TWRP from this link
[Mod Edit] Download link removed due to GPL incompliance
Installing TWRP steps:
1. Enable usb debugging in nubia z20
2. Connect your mobile to the computer
3. Disable Anti-virus on your computer
4. Copy paste TWRP application to C:/adb
5. Click the only button on the TWRP interface
6. On the next screen, click the only button (fastboot twrp) on the screen
7. mobile will reboot to bootloader
8. reboot to recovery
9. if you have security code, input your security pin.
10. change language by clicking right side button
11. In twrp, you can flash global rom and magisk for root
For Rooting Nubia (all version)
1. Install TWRP from the above link
2. From TWRP, you can install magisk manager (latest) and reboot to system.
3. From Magisk application, download riru modules (core & hook) install and reboot.
4. Insatll Edxposed for xposed modules
Custom modules working for Nubia:
1. Gravity Box (working only for global roms)
2. Face unlock (Magisk module)
3. Instant Face unlock (Xposed module)
4. Pixelify (Magisk module0
5. Force touch enabler (Xposed module)
6. Xposed edge (Xposed module)
7. AR core patcher (Magisk module)
8. Google cam (Gcam shared earliet posts with attached xml scripts)
9. Youtube vanced
10. Whatsapp emojis
11. L Tweaks
Linux?
What should Linux users do?
Cheako said:
What should Linux users do?
Click to expand...
Click to collapse
Switch to windows? Seriously...at least for a short time. I'm a Linux user myself but always have a Windows machine handy for flashing
n1tro said:
Switch to windows? Seriously...at least for a short time. I'm a Linux user myself but always have a Windows machine handy for flashing
Click to expand...
Click to collapse
Thanks! I haven't used Windows since the late 90s and every time I try what you're suggesting I have a horrible time. It's not worth any amount of effort to have Windows for running this one application that does something ultimately resulting in Malware. That is to say running this program is analogous to running an application that, I not only don't have the source too, but indeed can't even explain what it does. That's the vary definition of malicious software, running software that has no explainable purpose.
It piss me off why every nubia TWRP is a .exe can you just install it yourself and make a backup of your recovery partition and send us the img ?
its here ***
[Mod Edit] Download link removed due to GPL incompliance
GPL Violation.
This program is obviously linked with a compiled image of TWRP, witch is GPL. The exe is encrypted, a form of UPX. Regardless it's against copyright to distribute without source.
RomanLeFrais said:
It piss me off why every nubia TWRP is a .exe can you just install it yourself and make a backup of your recovery partition and send us the img ?
its here ***
[Mod Edit] Download link removed due to GPL incompliance
Click to expand...
Click to collapse
Looks like a boot image, but triggers the same error on my device. From another thread we are discussing the differences of V1.x(NON-EU) and phones from the EU that are V2.x. The images I've found and have been using are V2.x and the phone is from US Amazon, not that you can't purchase EU phones from there. It's unknown what version my phone is.
I've been pointing out everywhere the GPL violations and that also applies here.
Tell me if I'm wrong but the only difference beteween eu and non-eu are the radio frequency and maybe some minor adjustement that don't affect the way TWRP work, and the only difference between 1.x and 2.x are the system update it also don't affect the way TWRP need to be compiled except for the included magisk install ect in the advanced tabs that Scarlet-glass added
If you want to have your own clean version you can always compile TWRP yourself to not deal with a GPL issue (Isn't it the GNU Free software license ?) Scarlet-glass released the device tree
UPX is a compression algorithm lol, to check if its obfuscated run Detect-it-Easy on it, I did and its not obfuscated take a look at my binwalk output
https://pastebin.com/7Ut6E5Zz
The executable maybe came from the person that make the "Global" ROM for all the aliexpress seller by removing the chinese app and installing google, they left their "weibo VIP channel" in /etc on the system part but I don't know how to join.
So anyway I doubt they copyrighted their TWRP image and its normal that the recovery image appear as a boot image because it is one lol
Apparently this device is not the same for EU users as America or China, that is to say one model for EU and another model for NON-EU(presumably China, India, Japan, Canada, US, ect). I was using V2.x(EU) files, but my phone is V1.x(NON-EU). The major version numbers are more like part of the model number than like a version indicator. Here is the full dump where I got the boot and recovery images, it's 2.2GB compressed
https://www.filehosting.org/file/details/835328/NX627J_NubiaEmergencyDownload_V103.7z
I'll try and post just the boot/recovery images here: https://mikemestnik.net/archives/
Code:
SHA256 (NX627J_NubiaEmergencyDownload_V103.7z) = bd412eeab191c001a4ee5b11bda8a2ec7273257ccd2e1d024e60e8c6a1bd174b
SHA256 (NX627J-stock-1_03.7z) = f53a120dc7e8029bf2bb0fb7a462d027376d63bb39e4b7f2ae2f55ae2bcba9ae
RomanLeFrais said:
Tell me if I'm wrong but the only difference beteween eu and non-eu are the radio frequency and maybe some minor adjustement that don't affect the way TWRP work, and the only difference between 1.x and 2.x are the system update it also don't affect the way TWRP need to be compiled except for the included magisk install ect in the advanced tabs that Scarlet-glass added
If you want to have your own clean version you can always compile TWRP yourself to not deal with a GPL issue (Isn't it the GNU Free software license ?) Scarlet-glass released the device tree
UPX is a compression algorithm lol, to check if its obfuscated run Detect-it-Easy on it, I did and its not obfuscated take a look at my binwalk output
https://pastebin.com/7Ut6E5Zz
The executable maybe came from the person that make the "Global" ROM for all the aliexpress seller by removing the chinese app and installing google, they left their "weibo VIP channel" in /etc on the system part but I don't know how to join.
So anyway I doubt they copyrighted their TWRP image and its normal that the recovery image appear as a boot image because it is one lol
Click to expand...
Click to collapse
The file you are talking about and the one that is currently posted are nothing alike.
Code:
[email protected]:~/Downloads$ binwalk nubia\ Z20-for\ Android\ P-TWRP-3.3.1.exe
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
0 0x0 Microsoft executable, portable (PE)
372399 0x5AEAF SHA256 hash constants, little endian
4642204 0x46D59C MySQL ISAM compressed data file Version 10
13113062 0xC816E6 gzip compressed data, last modified: 2019-08-30 09:47:28
42228777 0x2845C29 End of Zip archive, footer length: -25518
42279022 0x285206E PARity archive data - file number 7950
42571120 0x2899570 XML document, version: "1.0"
This reminds me to add checksums to my uploads!
Cheako said:
The file you are talking about and the one that is currently posted are nothing alike.
This reminds me to add checksums to my uploads!
Click to expand...
Click to collapse
I first decompressed with upx
Code:
upx -d nubia\ Z20-for\ Android\ P-TWRP-3.3.1.exe
Edit: I downloaded 1.03 and 2.03 and try to look for diff in some files with
Code:
vimdiff <(xxd "EUROPE-ASIA/file" ) <(xxd "US/file" )
and they are a little different I didn't try the android files (system,vendor,boot etc) because they are too big though
RomanLeFrais said:
I first decompressed with upx
Code:
upx -d nubia\ Z20-for\ Android\ P-TWRP-3.3.1.exe
Edit: I downloaded 1.03 and 2.03 and try to look for diff in some files with
Code:
vimdiff <(xxd "EUROPE-ASIA/file" ) <(xxd "US/file" )
and they are a little different I didn't try the android files (system,vendor,boot etc) because they are too big though
Click to expand...
Click to collapse
help me please i am some speak english. my nubia z20 brick . i need stock rom my phone global en v203 i want to chinese rom but my phone brick.
i need rom i need help
Not working for me.....
Not able to install TWRP.
Have also tried to install img.
Have typed in "adb reboot bootloader" in command window, and the phone reboot.
But when typing "fastboot flash recovery recovery.img", it get stuck on "waiting for device".
Anyone have the correct USB driver?
Or is the problem windows 10?
Btw, USb debugging is on, and OEM unlocking is on.
Ui is CNCommon_V2.17.
The China special with no update function, beside update by usb-c OTG, wich don't work.
Why can not create backup from TWRP, both to the internal memory and to the flash card via OTG, writes an error.
Olfoss said:
Not able to install TWRP.
Have also tried to install img.
Have typed in "adb reboot bootloader" in command window, and the phone reboot.
But when typing "fastboot flash recovery recovery.img", it get stuck on "waiting for device".
Anyone have the correct USB driver?
Or is the problem windows 10?
Btw, USb debugging is on, and OEM unlocking is on.
Ui is CNCommon_V2.17.
The China special with no update function, beside update by usb-c OTG, wich don't work.
Click to expand...
Click to collapse
please answer me
n1tro said:
Copying instructions that were in the miscellaneous thread while we were waiting for a proper sub forum. Keep in mind that the program to get TWRP onto the phone is in Chinese and will trigger an antivirus warning. Also TWRP will be in Chinese so users have to press the button on the right in the 1st screen to enable English.
TWRP is working for Nubia Z20 Chinease, Europe and American version
Download TWRP from this link
https://drive.google.com/file/d/1rpyehWTPdzzNLhZVqvOuaPmoZ0bG0gak/view?usp=sharing
Installing TWRP steps:
1. Enable usb debugging in nubia z20
2. Connect your mobile to the computer
3. Disable Anti-virus on your computer
4. Copy paste TWRP application to C:/adb
5. Click the only button on the TWRP interface
6. On the next screen, click the only button (fastboot twrp) on the screen
7. mobile will reboot to bootloader
8. reboot to recovery
9. if you have security code, input your security pin.
10. change language by clicking right side button
11. In twrp, you can flash global rom and magisk for root
For Rooting Nubia (all version)
1. Install TWRP from the above link
2. From TWRP, you can install magisk manager (latest) and reboot to system.
3. From Magisk application, download riru modules (core & hook) install and reboot.
4. Insatll Edxposed for xposed modules
Custom modules working for Nubia:
1. Gravity Box (working only for global roms)
2. Face unlock (Magisk module)
3. Instant Face unlock (Xposed module)
4. Pixelify (Magisk module0
5. Force touch enabler (Xposed module)
6. Xposed edge (Xposed module)
7. AR core patcher (Magisk module)
8. Google cam (Gcam shared earliet posts with attached xml scripts)
9. Youtube vanced
10. Whatsapp emojis
11. L Tweaks
Click to expand...
Click to collapse
please can you improve twrp for android 11 this way
I can't. I'm not a developer. The information above was done by someone else before the forum was created. I only copied the content over.
This phone has almost no support unless you are using the Chinese version. Nubia does not care about the global market as they make enough money selling phones within China in my opinion.
n1tro said:
I can't. I'm not a developer. The information above was done by someone else before the forum was created. I only copied the content over.
This phone has almost no support unless you are using the Chinese version. Nubia does not care about the global market as they make enough money selling phones within China in my opinion.
Click to expand...
Click to collapse
i will never buy a nubia phone again.
I upgraded to android 11 beta for nubia z20, it installed without issue, but I was not satisfied with the upgrade because I could not access my contacts. I tried to reinstall the standard ROM back, it loads the nubia logo and then shows the warning “Device is corrupted. It can't be trusted and won't boot. " I have flashed the Nubia z20 unbrick tool v1.03 and this does not help either, please help

[Fix]Magisk manager 20.3 ctsProfile : False (Gpay and banking apps )

This worked for me on latest build of havoc os, might work for other Roms too.
Step 1 :
Open Magisk manager, download and install both
MagiskHide Props Config (link) and Busybox for android NDK modules from downloads, after installing reboot your phone.
Step 2:
Install terminal emulator from playstore(link)
Step 3:
open terminal emulator
enter command :
Code:
su
Grant superuser access when prompted
Step 4:
type in command:
Code:
props
Step 6 :
and follow the on screen options
select option 1 - edit device fingerprint
by typing : 1
then type in f to Pick a certified fingerprint
from the list pick your mobile manufacturer
select your mobile model
select the latest available android version
finally reboot your phone by typing in
Code:
reboot
this should fix the ctsProfile issue,
to use banking or wallet apps, hide magisk by using magisk hide option and select the app you want to hide root access from
thanks to this awesome dev Didgeridoohan for making this possible
https://forum.xda-developers.com/member.php?u=4667597
for people who want a video to look at the process here is the video
credits :
Thread link for magisk hide props config module: https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228
DEV for magisk hide props config module : Didgeridoohan
you can donate him at : https://www.paypal.me/didgeridoohan
does it affect the fingerprint?
is it safe?
this process works to solve cts Profile check, but banking apps still doesn't work
Doesn't work for me.
I used:
Google Pixel XL (Android 10)
Magisk 20.4
Magisk Manager 7.5.1
Edit: Enable "Magisk Hide" in the Settings -> reboot -> now it works.
Doesn't work for me either.
Pixel 4
It didn't give me an option to select an Android version.
I managed to make banking apps to work by disabling usb debugging.
Enviado desde mi F8331 mediante Tapatalk
I did exactly as it described above but still ctsprofile: false. Google pay sees root on my Poco F2 Pro.
Unfortunately does not work for Google Pixel 4 XL (Android 10)
For everyone that's struggling with trying to pass CTS:
https://www.didgeridoohan.com/magisk/MagiskHide#hn_Unlocked_bootloader_3
Google seemed to do something, i.e. Google Pay has been working for a long time. But when I was sleeping, Google sneaked in to my bedroom and made so that ctsProfile returned false in Magisk when I wake up.
A new unknown and uninvented method needs to be done? A Magisk update?
Vantskruv said:
Google seemed to do something, i.e. Google Pay has been working for a long time. But when I was sleeping, Google sneaked in to my bedroom and made so that ctsProfile returned false in Magisk when I wake up.
A new unknown and uninvented method needs to be done? A Magisk update?
Click to expand...
Click to collapse
Ha!
I concur!
did the whole process with my Mi A3 with Android 10 and my device is stuck on Mi logo. how to fix?
Interesting. Woke up jul 8th as well with as notification that Google pay cannot be used any more. Seems like they flipped a switch.... I tried unroofing until I realized I had to do a factory reset to relock the bootloader. So back on root without Google pay. I hope for a quick solution though
Heh...
I have tried this method. It was suprising that Mi 10 is not on the props list...
The best thing in my phone is that the CTS is false (for - as I can remember - three weeks) but GP payements work.
Banking apps not working even though hided in the magisk. Any fix for it?
Not working with Magisk 20.4
Try disabling usb debugging and/or magisk hidding
Enviado desde mi F8331 mediante Tapatalk
vamsi209 said:
This worked for me on latest build of havoc os, might work for other Roms too.
Step 1 :
Open Magisk manager, download and install both
MagiskHide Props Config (link) and Busybox for android NDK modules from downloads, after installing reboot your phone.
Step 2:
Install terminal emulator from playstore(link)
Step 3:
open terminal emulator
enter command :
Code:
su
Grant superuser access when prompted
Step 4:
type in command:
Code:
props
Step 6 :
and follow the on screen options
select option 1 - edit device fingerprint
by typing : 1
then type in f to Pick a certified fingerprint
from the list pick your mobile manufacturer
select your mobile model
select the latest available android version
finally reboot your phone by typing in
Code:
reboot
this should fix the ctsProfile issue,
to use banking or wallet apps, hide magisk by using magisk hide option and select the app you want to hide root access from
thanks to this awesome dev Didgeridoohan for making this possible
https://forum.xda-developers.com/member.php?u=4667597
for people who want a video to look at the process here is the video
credits :
Thread link for magisk hide props config module: https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228
DEV for magisk hide props config module : Didgeridoohan
you can donate him at : https://www.paypal.me/didgeridoohan
Click to expand...
Click to collapse
Hi!
At the end of the tutorial my phone was not there (redmi note 8 pro) so what i need to do if my phone is not to the list????
roberto_1986 said:
Hi!
At the end of the tutorial my phone was not there (redmi note 8 pro) so what i need to do if my phone is not to the list????
Click to expand...
Click to collapse
Pick whatever device on the list that's closest, or help with finding a working, certified print for your device.
Didgeridoohan said:
Pick whatever device on the list that's closest, or help with finding a working, certified print for your device.
Click to expand...
Click to collapse
its safe??? because it change my phone fingerprint....
---------- Post added at 02:04 AM ---------- Previous post was at 01:09 AM ----------
roberto_1986 said:
its safe??? because it change my phone fingerprint....
Click to expand...
Click to collapse
also for get fingerprint u need to have both CTS profile and basic integrity set to true (not in my case because CTS is set to false)
so someone can get his finger pring from a redmi note 8 pro???

How To Guide Root POCO M3 Pro 5G yourself and optionnal Debloat/Privacy.

Hello !
Its for root POCO M3 Pro 5G ( Camellia M2103K19PG MT6833 ) with success.
With any miui rom of your choice but you had to download the rom in question which corresponds to your phone to patch the correct version of the boot.img corresponding to it.
I post this, the main line to proceed because I wanted to do it as much as possible myself.
I made a video with this same procedure in description :
All you need Phone/Magisk/Miunlock/Miflash/Fastboot and miui "fastboot update" image
The steps that I did:
Unlock
https://c.mi.com/thread-2740493-1-0.html
Wait a week!
During this waiting time I advise you not to go to the developer option relating to the Mi account, try the unlock once, you have the timer like 7 days, and now leave the phone off, and you give it an appointment in 7 days.
Download "fastboot update" corresponding your phone country.
https://c.mi.com/oc/miuidownload/detail?guide=2
For example Eu / eea global : https://bigota.d.miui.com/V12.0.10....EUXM_20210809.0000.00_11.0_eea_3a153481fd.tgz
Extract with 7zip for exemple to get folder with files like this inside:
images
build_all.sh
flash_all.bat
flash_all.sh
....
Put phone in fastboot mode (vol-down+power)
Flash this rom using MiFlash https://cdn.alsgp0.fds.api.mi-img.com/micomm/MiFlash2020-3-14-0.rar
!!Before click on flash!! :
Don't not lose your unlock. On miflash check "cleanall" and not "cleanall and lock"
At the end an error occurs it's normal that we don't want to lock the bootloader.
(Check the "log" folder on Miflash folder to be sure all is fine)
When done install Magisk on the phone.
https://github.com/topjohnwu/Magisk/releases/download/v22.1/Magisk-v22.1.apk
Save from previously original extracted miui rom archive, boot.img and vbmeta.img
Put boot.img on phone storage.
Open Magisk click install and patch manually boot.img with “Select and patch a file” (If you don't have this option connect phone to network)
Now you have on "Download" folder a file named magisk_patched......img
Save back the patched boot.img to your computer rename like bootpatch.img
Put phone in fastboot mode.
Flash using platform-tools https://dl.google.com/android/repository/platform-tools_r31.0.3-windows.zip
Put bootpatch.img and vbmeta.img on fastboot.exe folder.
On fastboot folder type cmd in the address bar and press return.
Now flash original vbmeta.img like this to disable android verified boot (AVB):
fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_b vbmeta.img
And flash patched boot.img (bootpatch.img) like this:
fastboot flash boot_a bootpatch.img
fastboot flash boot_b bootpatch.img
Reboot.
fastboot reboot
Open magisk and check if its good.
And there he is rooted. Your turn to do it !
----------------------------------------------------------------------------------
Optionally:
For better lightness and privacy on Miui 12:
Install afwall to control which apps have network access.
GitHub - ukanth/afwall: AFWall+ (Android Firewall +) - iptables based firewall for Android
AFWall+ (Android Firewall +) - iptables based firewall for Android - GitHub - ukanth/afwall: AFWall+ (Android Firewall +) - iptables based firewall for Android
github.com
Removing unwanted app.
But many others are grayed and impossible to remove from the ui
You can do it by enabling usb debugging on developer option
Connect phone and with ADB type:
adb shell
su
Accept magisk root request.
Now you can remove app like this exemple:
pm disable com.miui.micloudsync (to disable app)
pm uninstall --user 0 com.miui.micloudsync (to uninstall app)
pm clear com.miui.micloudsync (to clear app data)
"pm uninstall --user 0" and "pm clear" Is sufficient to remove the app.
The list you can remove without significative problem:
com.google.android.apps.subscriptions.red
com.google.android.youtube
com.xiaomi.miplay_client
com.google.android.googlequicksearchbox
com.milink.service
com.xiaomi.account
com.miui.msa.global
com.xiaomi.payment
com.miui.micloudsync
com.miui.daemon
com.google.android.gm
com.google.android.setupwizard
com.facebook.services
com.android.printspooler
com.miui.cloudbackup
com.xiaomi.upnp
com.google.android.tts
com.xiaomi.mipicks
com.xiaomi.joyose
com.google.android.printservice.recommendation
com.xiaomi.midrop
com.miui.cloudservice
com.miui.cloudservice.sysbase
com.facebook.system
com.miui.analytics
com.miui.yellowpage
com.facebook.appmanager
com.xiaomi.discover
com.mipay.wallet.in
com.miui.fmservice
com.xiaomi.finddevice
!!Don't remove com.xiaomi.finddevice or your device bootloop.
And do not remove com.facebook.... if you using facebook for example....
To check network activity use a terminal emulator or adb shell and type:
su
netstat -t -u -p
(That display network list about active connection, udp, tcp, port, app name)
Best Regards.
lol are you serious? did you have a look in the forum? is at least 2 months we do have the root and working procedure:
root gained Poco m3 pro
Yes I see, I did this to make it more detailed, and maybe more secure, starting from a xiaomi rom and without pushing .img from unknown sources, moreover to deactivate the AVB. original vbmeta is sufficient with the option --disable-verity --disable-verification why propose another one vbmeta.img ... I hear well, I do this to help people see more clear,to avoid any inconvenience, so as not to brick the phone. Sorry if I could deeply hurt you in your pride. If it poses a serious and dramatic problem, see apocalyptic, tell me.
Karli7ca said:
Yes I see, I did this to make it more detailed, and maybe more secure, starting from a xiaomi rom and without pushing .img from unknown sources, moreover to deactivate the AVB. original vbmeta is sufficient with the option --disable-verity --disable-verification why propose another one vbmeta.img ... I hear well, I do this to help people see more clear,to avoid any inconvenience, so as not to brick the phone. Sorry if I could deeply hurt you in your pride. If it poses a serious and dramatic problem, see apocalyptic, tell me.
Click to expand...
Click to collapse
well in 3 months everybody was happy to root m3 and redmi without any issue but if this makes you happy... than be happy
This is a very well written and concise guide @Karli7ca. You should be proud of yourself.
This is exactly what the community should be about - helping others. And you have done a very good job with this, well done!
As a veteran here, top notch job!
there is a simply graphic tool to do a good debloat. https://github.com/Szaki/XiaomiADBFastbootTools
remove Xiaomi account i'm not sure is a good idea...
simika said:
well in 3 months everybody was happy to root m3 and redmi without any issue but if this makes you happy... than be happy
Click to expand...
Click to collapse
what's your problem?
Karli7ca said:
Yes I see, I did this to make it more detailed, and maybe more secure, starting from a xiaomi rom and without pushing .img from unknown sources, moreover to deactivate the AVB. original vbmeta is sufficient with the option --disable-verity --disable-verification why propose another one vbmeta.img ... I hear well, I do this to help people see more clear,to avoid any inconvenience, so as not to brick the phone. Sorry if I could deeply hurt you in your pride. If it poses a serious and dramatic problem, see apocalyptic, tell me.
Click to expand...
Click to collapse
Thank you for your detailed info and for your time.
miui 12.5.3 global rooted successfully using vbmeta extracted from stock! this guide is perfect
wetito said:
miui 12.5.3 global rooted successfully using vbmeta extracted from stock! this guide is perfect
Click to expand...
Click to collapse
thank you, this really helped. I couldn't root 12.5.3 global at first
Magisk v24.1 confirmed to work following this guide. You just need to enable install the universal safetynet fix for zygisk and enable denylist within the app.
shi-no_tenshi said:
Magisk v24.1 confirmed to work following this guide. You just need to enable install the universal safetynet fix for zygisk and enable denylist within the app.
Click to expand...
Click to collapse
Also clear Google Play cache and all data if you still get device not verified in Google Play.
shi-no_tenshi said:
Magisk v24.1 confirmed to work following this guide. You just need to enable install the universal safetynet fix for zygisk and enable denylist within the app.
Click to expand...
Click to collapse
I can confirm. Magisk 24 with zygisk work perfect! Also lsposed for zygisk Is available, no riru needed
12.5.4 global out. I have used EEA boot.img patched to testore magisk with no issue. 12.5.4 EEA fastboot firmware Is available for download
Tested successfully with V13.0.2.0 without errors.
Many thanks for this detailed process.
wetito said:
there is a simply graphic tool to do a good debloat. https://github.com/Szaki/XiaomiADBFastbootTools
Click to expand...
Click to collapse
I just test this tool while I turn back to MIUI as i did not find the GSI ROM I wanted.
I install OpenJDK (because i did not have any java version installed) and launch it from a dos windows as administrator (with "X:\blablabla\jdk\bin\java.exe" -jar X:\XiaomiADBFastbootTools.jar command ) and it seems to do the job.
Still see some apps that it did not see, but quite good and easy
if someone is interested, i can share with some new miui13 magisks modules super cools! example... MIUI13 MONET ENGINE
tell me, if you are interested, i will shares in a new thread
Karli7ca said:
Hello !
Its for root POCO M3 Pro 5G ( Camellia M2103K19PG MT6833 ) with success.
With any miui rom of your choice but you had to download the rom in question which corresponds to your phone to patch the correct version of the boot.img corresponding to it.
I post this, the main line to proceed because I wanted to do it as much as possible myself.
I made a video with this same procedure in description :
All you need Phone/Magisk/Miunlock/Miflash/Fastboot and miui "fastboot update" image
The steps that I did:
Unlock
https://c.mi.com/thread-2740493-1-0.html
Wait a week!
During this waiting time I advise you not to go to the developer option relating to the Mi account, try the unlock once, you have the timer like 7 days, and now leave the phone off, and you give it an appointment in 7 days.
Download "fastboot update" corresponding your phone country.
https://c.mi.com/oc/miuidownload/detail?guide=2
For example Eu / eea global : https://bigota.d.miui.com/V12.0.10....EUXM_20210809.0000.00_11.0_eea_3a153481fd.tgz
Extract with 7zip for exemple to get folder with files like this inside:
images
build_all.sh
flash_all.bat
flash_all.sh
....
Put phone in fastboot mode (vol-down+power)
Flash this rom using MiFlash https://cdn.alsgp0.fds.api.mi-img.com/micomm/MiFlash2020-3-14-0.rar
!!Before click on flash!! :
Don't not lose your unlock. On miflash check "cleanall" and not "cleanall and lock"
At the end an error occurs it's normal that we don't want to lock the bootloader.
(Check the "log" folder on Miflash folder to be sure all is fine)
When done install Magisk on the phone.
https://github.com/topjohnwu/Magisk/releases/download/v22.1/Magisk-v22.1.apk
Save from previously original extracted miui rom archive, boot.img and vbmeta.img
Put boot.img on phone storage.
Open Magisk click install and patch manually boot.img with “Select and patch a file” (If you don't have this option connect phone to network)
Now you have on "Download" folder a file named magisk_patched......img
Save back the patched boot.img to your computer rename like bootpatch.img
Put phone in fastboot mode.
Flash using platform-tools https://dl.google.com/android/repository/platform-tools_r31.0.3-windows.zip
Put bootpatch.img and vbmeta.img on fastboot.exe folder.
On fastboot folder type cmd in the address bar and press return.
Now flash original vbmeta.img like this to disable android verified boot (AVB):
fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_b vbmeta.img
And flash patched boot.img (bootpatch.img) like this:
fastboot flash boot_a bootpatch.img
fastboot flash boot_b bootpatch.img
Reboot.
fastboot reboot
Open magisk and check if its good.
And there he is rooted. Your turn to do it !
----------------------------------------------------------------------------------
Optionally:
For better lightness and privacy on Miui 12:
Install afwall to control which apps have network access.
GitHub - ukanth/afwall: AFWall+ (Android Firewall +) - iptables based firewall for Android
AFWall+ (Android Firewall +) - iptables based firewall for Android - GitHub - ukanth/afwall: AFWall+ (Android Firewall +) - iptables based firewall for Android
github.com
Removing unwanted app.
But many others are grayed and impossible to remove from the ui
You can do it by enabling usb debugging on developer option
Connect phone and with ADB type:
adb shell
su
Accept magisk root request.
Now you can remove app like this exemple:
pm disable com.miui.micloudsync (to disable app)
pm uninstall --user 0 com.miui.micloudsync (to uninstall app)
pm clear com.miui.micloudsync (to clear app data)
"pm uninstall --user 0" and "pm clear" Is sufficient to remove the app.
The list you can remove without significative problem:
com.google.android.apps.subscriptions.red
com.google.android.youtube
com.xiaomi.miplay_client
com.google.android.googlequicksearchbox
com.milink.service
com.xiaomi.account
com.miui.msa.global
com.xiaomi.payment
com.miui.micloudsync
com.miui.daemon
com.google.android.gm
com.google.android.setupwizard
com.facebook.services
com.android.printspooler
com.miui.cloudbackup
com.xiaomi.upnp
com.google.android.tts
com.xiaomi.mipicks
com.xiaomi.joyose
com.google.android.printservice.recommendation
com.xiaomi.midrop
com.miui.cloudservice
com.miui.cloudservice.sysbase
com.facebook.system
com.miui.analytics
com.miui.yellowpage
com.facebook.appmanager
com.xiaomi.discover
com.mipay.wallet.in
com.miui.fmservice
com.xiaomi.finddevice
!!Don't remove com.xiaomi.finddevice or your device bootloop.
And do not remove com.facebook.... if you using facebook for example....
To check network activity use a terminal emulator or adb shell and type:
su
netstat -t -u -p
(That display network list about active connection, udp, tcp, port, app name)
Best Regards.
Click to expand...
Click to collapse
This guide help me alot. Thank you very much. Not to much hassle and easy to understand. Btw Im using Poco M3 Pro 5G miui 13.0.2 Global Rom. Unlock bootloader using GSM Sulteng Tool v1.3.6.
TheBula97 said:
This guide help me alot. Thank you very much. Not to much hassle and easy to understand. Btw Im using Poco M3 Pro 5G miui 13.0.2 Global Rom. Unlock bootloader using GSM Sulteng Tool v1.3.6.
Click to expand...
Click to collapse
GSM Sulteng Tool v1.3.6.
Do you have a tutorial for that? Do you have to wait for 7 days or its instant unlock?

Categories

Resources