How To Guide Unlock, Change from Chinese to Eu rom, and root guide with magisk - Xiaomi Mi MIX 4

Unlocking your mi mix 4 :​
lets start by enabling developer options on our mix 4, to do that go to device settings,then tap on My device > All specs > keep tapping on miui version till u enable developer options.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
this will enable developer options under additional settings,
go to developer settings and enable OEM unlocking, and
select mi unlock status, put in a sim card, disconnect from wifi, enable cellular data, and tap on add account and device
wait for a week, only then u are allowed to unlock.
on your windows pc download and install adb, fastboot and drivers using the 15 seconds adb install tool link
this should install device drivers,
boot your phone into fastboot mode,
to boot your phone into fastboot, power off your device, and while poweing on hold volume down button.
this will put your phone into fastboot mode, connect it to your windows pc, check if the drivers are installed properly by going into
device manager and see if android device is shown without any errors,
open power shell and see if the device is recognised by the system by typing in
Code:
fastboot devices
this should display your device id.
Warning : unlocking your phone will format the whole phone please take a bakcup of your daata.
now download mi unlock tool from this link
open the mi unlock tool select your device and tap on unlock, it will prompt for your credentials,
type in your mi account details that are binded to your device, and once your are logged in,
click on unlock again, this will start the unlock process
on your mix 4, you will be prompted with this,
tap on the first option and log in using your mi account credentials,
your phone is now unlocked.
Replacing the chinese rom with an EU rom:​now that the phone is unlocked, lets download the latest available EU fastboot flashable build from the following link
extract the downloaded rom, before we flash the rom, we need to reboot our phone to fastboot mode, to do that
as i told earlier, power off your device, and while powering the phone on, hold volume down, this will boot your mix 4 into fastboot mode.
lets reverify if your phone is unlocked by opening powershell and type in this command
Code:
fastboot oem device-info
Warning : the next step will format your device to factory settings, please backup the needed files.
now that we verified that the device is unlocked, lets flash the rom by clicking on
windows_fastboot_first_install_with_data_format.bat
this will start the flashing process. once the flash process is done, you can setup the mix 4 device.
Rooting mix 4 with magisk manager:​warning : to root the phone your phone should be having an unlocked bootloader, please dont try to root your phone without unlocking the bootloader.and also banking apps, and payment apps might not work, so do accordingly.
copy imgages/boot.img file from extracted eu rom folder to mix 4 device,
install magisk manager from magisk github link.
once the magisk manager is installed,
open magisk manager, tap on install button next to Magisk,
then tap on select and patch file,
from the file manager, select the copied boot.img, and tap on next.
this will patch the boot.img image file and generate a magisk_patched.img in the downloads folder.
copy the magisk_patched.img file from downloads folder on android to the desktop on windows,
reboot your mix 4 to fastboot mode, and connect it to pc.
now open power shell window in the desktop folder by howering your mouse in the empty space,
and while holding the shift key on your keyboard, right click on the mouse, this will show an option
of open power shell window. click on it, and see if the device is recognised in fastboot mode by typing in
Code:
fastboot devices
this should show your device code.
now that the device is in fastboot mode, type in the following command
Code:
fastboot flash boot magisk_patched*.img
this will flash the magisk patched boot image, you can reboot your phone by typing in
Code:
fastboot reboot
once the phones booted up, open magisk manager, it should say installed : yes under magisk
and also a hovering menu at the bottom which will give access to super su functionality, and magisk modules too.
so if you guys want a detailed video for the same, check out ,

Great tutorial, i did all this but did not use magisk or root the phone, is there any reason to ?

jrvenge said:
Great tutorial, i did all this but did not use magisk or root the phone, is there any reason to ?
Click to expand...
Click to collapse
If you want to use Google Pay or any other app that uses SafeNet API to detect root, you might want to use Magisk to add hide module to trick SafetyNet and hide. SafetyNet unfortunately detects even unlocked bootloader and/or flashed custom ROM.

inao said:
If you want to use Google Pay or any other app that uses SafeNet API to detect root, you might want to use Magisk to add hide module to trick SafetyNet and hide. SafetyNet unfortunately detects even unlocked bootloader and/or flashed custom ROM.
Click to expand...
Click to collapse
so most of the banking apps or payment apps only stop working if u have rooted your rom. so i am on eu rom and most of the banking apps work if i dont root it

I guess it depends. On my MIX 3 Google Pay wasn't working because I had bootloader unlocked even when nothing was flashed. I'm planning to experiment a bit when official TWRP comes out because I really hate CN XiaoAI and a lot of features missing.

vamsi209 said:
so most of the banking apps or payment apps only stop working if u have rooted your rom. so i am on eu rom and most of the banking apps work if i dont root it
Click to expand...
Click to collapse
It does? Maybe try this one...
wipe cache of google play services
then perform safetynet-check...
I use google Pay on a daily basis and my phone is rooted.

SanHelios said:
It does? Maybe try this one...
wipe cache of google play services
then perform safetynet-check...
I use google Pay on a daily basis and my phone is rooted.
Click to expand...
Click to collapse
ok but rooted phones how is ur safetynet check passing mate ?

vamsi209 said:
ok but rooted phones how is ur safetynet check passing mate ?
Click to expand...
Click to collapse
Yes, everytime...
I should mention, that i use magisk hide for all my playstore and banking apps too.

Will the wait time to unlock bootloader reset if the phone is turned off for 7 days?

Aleksanderbjorn said:
Will the wait time to unlock bootloader reset if the phone is turned off for 7 days?
Click to expand...
Click to collapse
No. I turned off my device too. Unlocking proceeded without any problems.

Can anybody give instruction on root and magisk without installing eu? If i wanna use ch?

flozzz said:
Can anybody give instruction on root and magisk without installing eu? If i wanna use ch?
Click to expand...
Click to collapse
so inorder to root, you have to have your bootloader unlocked for sure,
so unlock your device as shown in my post above,
then extract your boot.img from the rom( find the version of your rom, download that specific rom from https://mifirm.net/model/odin.ttt )
and follow the above instructions for root as shown in my post(basically install magisk manager on your phone, use magisk to patch the boot.img, and the finally flash the boot.img using the command in fastboot mode.
Code:
fastboot flash boot magisk_patched*.img
and your phone should be rooted.

What if I want to return a phone to stock?
Bootloader is unlocked and it is running MIUI 12.6 by xiaomi.eu.
So I want to lock the bootloader and install the official rom so I can get OTA updates.
I downloaded MiFlash2020-3-14-0 and China Fastboot ROM: odin_images_V12.5.12.0.RKMCNXM_20211021.0000.00_11.0_cn_0d71adc934.
In MiFlash I selected clean all and lock. When trying to flash I am getting an Antirollback check error.

Short update: it seems you can't have spaces in the file path. After fixing this it flashed with no errors

ferid said:
Short update: it seems you can't have spaces in the file path. After fixing this it flashed with no errors
Click to expand...
Click to collapse
thaanks for the update

By switching to the EU rom, does that mean I will not have to change any permission settings to get the gaps to work or will I still have to change permissions settings even after the ROM comes preinstalled with Google apps?

Related

[GUIDE][RECOVERY][ROOT] Install TWRP and Root (Magisk) Lenovo Z5 Pro GT [L78032]

How to Install TWRP:
Note: that version is UNOFFICIAL TWRP-3.3.0-0524
.Pre-Requirements
ADB means Android Debug Bridge, and it is software that you should always do have installed on your PC.
Pre-Requisite 1
Make sure that you have the drivers for your phone installed on your PC.
If not, you can download and install them from here https://devsjournal.com/usb-drivers-...d-devices.html
Pre-Requisite 2
You must also install: Minimal ADB & Fastboot, you can download the software
from here https://devsjournal.com/download-min...boot-tool.html
Pre-Requisite 3
Your device needs this with unlocked bootloader
if it is not unlocked do the tutorial to unlock HERE
Pre-Requisite 4
Make sure you have enabled 'USB Debugging' and OEM Unlocking on your device
Settings -> Advanced settings -> Developer Options
PAY ATTENTION: If you do not see the Developer Options menu you need to do this:
Settings -> Device Info -> tap 6 or 7 times on the 'ZUI version' entry
A pop-up should appear, telling you 'now you are a developer'
------------------------------------------------
1) Download TWRP: recovery-TWRP-3.3.0-0524-LENOVO_Z5PRO_GT-CN-wzsx150.img
2) After getting the TWRP file put it in the same ADB folder
3) Now start the phone in bootlader by doing this:
Connect the phone to the PC
Start the Minimal ADB & Fastboot program from the PC
On the PC screen, type:
adb reboot bootloader
(A request may appear on the phone screen with permission of USB debugging, accept it)
The phone will now restart in Bootloader mode.
4) Now that you are in bootloader mode, from the PC, from the screen
Minimal ADB and Fastboot type:
fastboot flash recovery recovery-TWRP-3.3.0-0524-LENOVO_Z5PRO_GT-CN-wzsx150.img
Sending 'recovery' (98304 KB) OKAY [ 5.970s]
Writing 'recovery' OKAY [ 0.539s]
Done !
---------
.How to Install Root Magisk:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Done !
Credits:
Maker: wzsx150
Developer Team: LR.Team
Is there any issues related to this recovery?
firemax13 said:
Is there any issues related to this recovery?
Click to expand...
Click to collapse
I had no problem with this recovery
My device was unlocked by vendor. I'm unable to boot into twrp to root my device. The flashing is successful but it will only boot in a simple recovery where I can only install an "update.zip".
Have tried this https://forum.xda-developers.com/z5...-guide-lenovo-z5-pro-gt-t3915945#post81055547 but the problem remains.
Hope anyone can help. I need to root my device. Thanks
BlueIce84 said:
My device was unlocked by vendor. I'm unable to boot into twrp to root my device. The flashing is successful but it will only boot in a simple recovery where I can only install an "update.zip".
Have tried this https://forum.xda-developers.com/z5...-guide-lenovo-z5-pro-gt-t3915945#post81055547 but the problem remains.
Hope anyone can help. I need to root my device. Thanks
Click to expand...
Click to collapse
Have the same scenario as you but I haven't done the tutorial yet as I read your post and I got concerned. Have you fix you issue? Is it safe to do this tutorial?
No solution so far. No twrp and no root
Now I have flashed the original rom with ZUI 10. Works well and updated to ZUI 11.
luigi0824 said:
Have the same scenario as you but I haven't done the tutorial yet as I read your post and I got concerned. Have you fix you issue? Is it safe to do this tutorial?
Click to expand...
Click to collapse
I've read somewhere that you need to flash vbmeta.img if verified boot is enabled, however I couldn't find the correct img to flash anywhere. Maybe if we ask someone that has the phone already rooted.
Can anyone post wzsx150's newest TWRP 3.3.1 from October 4? It's in this thread but the download link is for registered users only. I can't sign up for a Club Lenovo account.
BlueIce84 said:
No solution so far. No twrp and no root
Now I have flashed the original rom with ZUI 10. Works well and updated to ZUI 11.
Click to expand...
Click to collapse
What method would you follow to install the stock rom, like you, it comes with the bootloader unlocked by the seller and I don't know how to flash stock rom
Use this guide:
https://forum.xda-developers.com/z5-pro-gt/how-to/guide-unbrick-guide-lenovo-z5-pro-gt-t3915945
carlshark said:
Can anyone post wzsx150's newest TWRP 3.3.1 from October 4? It's in this thread but the download link is for registered users only. I can't sign up for a Club Lenovo account.
Click to expand...
Click to collapse
I gave up on clublenovo. They require SMS authentication to post so even when you log in you can't post and download. TWRP 3.3.1 is also available from 4PDA. That's what I used.
I was able to flash the TWRP 3.3.1 but i cant root nor i cant flash anything as the folders inside the sdcard directory is showing in weird names
luigi0824 said:
I was able to flash the TWRP 3.3.1 but i cant root nor i cant flash anything as the folders inside the sdcard directory is showing in weird names
Click to expand...
Click to collapse
You need to decrypt the internal storage.
normally this is done by entering to ping code to unlock the phone in TWRP on start up.
thorvall said:
You need to decrypt the internal storage.
normally this is done by entering to ping code to unlock the phone in TWRP on start up.
Click to expand...
Click to collapse
Will I lose any data if I decrypt my phone? And where do I find that pin code?
luigi0824 said:
Will I lose any data if I decrypt my phone? And where do I find that pin code?
Click to expand...
Click to collapse
Its the pin code you use to open the phone.
And enabling does not remove data, but it does give twrp read/write permission
Is it possible to implement support for OTA updates through TWRP?
BlueIce84 said:
My device was unlocked by vendor. I'm unable to boot into twrp to root my device. The flashing is successful but it will only boot in a simple recovery where I can only install an "update.zip".
Have tried this https://forum.xda-developers.com/z5...-guide-lenovo-z5-pro-gt-t3915945#post81055547 but the problem remains.
Hope anyone can help. I need to root my device. Thanks
Click to expand...
Click to collapse
i had the same issue and discover a solution
1) you have to manually go to your phone after you finish the flash below. DO NOT cmd fastboot reboot as it will flash stock
recovery
a) fastboot flash recovery twrp.img ( i rename the tweak recovery file to twrp.img)
b) http://4pda.ru/forum/index.php?showtopic=973179&st=0
(tweak recovery version 3.31)
2) after flash quickly go to your phone fastboot mode ( reminder again: do not tyoe fastboot reboot after flash successful appear in cmd)
3) manually select recovery , select english then select reboot and TWRP will appear
issues
1) i cannot manually tweak recovery via phone ( power +volume down ) as stock recovery will appear again.
A) so you need to go your PC to redo flash recovery again
B) i did a back up and redo PC flassh recovery again and mine files are stored successful
c) there is no install root in TWRP
D) about backup...
.best to back up via OTA-USB. pixel GCI crash ( QUALCOMM CRASH DUMP MODE ) my phone and my restore
file was missing as TWRP rename the restore file. spent one hour it so decide to do stock rom
current
a) I have not flash any rom yet and my original ANTUTU benchmark hovers around 300000 to 350000 based on vendor custom global rom
b) my phone model is 8gb 128gb android version 9 and lenovo version 11.0.084
c) updatess and NFC not supported
d) i opt not too root
e) bootloader still unlock
REQUEST...
would appreciate a ROM recommendation
a) have anyone flash a rom (not china stock rom) wirh an antutu beachmark abve 400000 ?
from a novice... after 2 weeks i can finally flash tweak recovery from the phonE.
about flashing stock rom..
i opt for stock rom and my antutu hovers around 409000 to 418000. from LENOVO app centre you can install play store
butterx2341 said:
i had the same issue and discover a solution
1) you have to manually go to your phone after you finish the flash below. DO NOT cmd fastboot reboot as it will flash stock
recovery
a) fastboot flash recovery twrp.img ( i rename the tweak recovery file to twrp.img)
b) http://4pda.ru/forum/index.php?showtopic=973179&st=0
(tweak recovery version 3.31)
2) after flash quickly go to your phone fastboot mode ( reminder again: do not tyoe fastboot reboot after flash successful appear in cmd)
3) manually select recovery , select english then select reboot and TWRP will appear
issues
1) i cannot manually tweak recovery via phone ( power +volume down ) as stock recovery will appear again.
A) so you need to go your PC to redo flash recovery again
B) i did a back up and redo PC flassh recovery again and mine files are stored successful
c) there is no install root in TWRP
D) about backup...
.best to back up via OTA-USB. pixel GCI crash ( QUALCOMM CRASH DUMP MODE ) my phone and my restore
file was missing as TWRP rename the restore file. spent one hour it so decide to do stock rom
current
a) I have not flash any rom yet and my original ANTUTU benchmark hovers around 300000 to 350000 based on vendor custom global rom
b) my phone model is 8gb 128gb android version 9 and lenovo version 11.0.084
c) updatess and NFC not supported
d) i opt not too root
e) bootloader still unlock
REQUEST...
would appreciate a ROM recommendation
a) have anyone flash a rom (not china stock rom) wirh an antutu beachmark abve 400000 ?
from a novice... after 2 weeks i can finally flash tweak recovery from the phonE.
about flashing stock rom..
i opt for stock rom and my antutu hovers around 409000 to 418000. from LENOVO app centre you can install play store
Click to expand...
Click to collapse
If you boot your ZUI system, your twrp will be overwritten by a stock recovery.
However if you flash magisk, your twrp won't be overwritten anymore. If you want to preserve your twrp after rebooting on ZUI, you need to flash magisk.
whatever I do.. the twrp wont be installed (let alone the root/magisk). ADB does say the twrp is flashed... but it will always boot to or the bootloader.. or the system (not the lenovo recovery or twrp recovery). Quiet frustrating... what can I do? Want this boy rooted!
Edit: done. The twrp linked in the tutorial is not correct use this one: https://drive.google.com/file/d/13mt0RLmT83BHSUBpH-J7EhaeZQ-MPYUu/view
That worked!
I want to unlock my bootloader but the site where you request the image file for unlocking it wont accept my IMEI1.. any idea guys?

[Howto][China] Flash TWRP, custom ROM and fix Google Pay

I realize that there's no howto guide yet on this forum. To a new Xiaomi device user, this can be daunting.
This is my guide on how I flashed my China Redmi K20 Pro and fixed Google Pay.
I am NOT responsible for whatever happens to your device as a result of following the below instructions.
At all times remember to download only the ones applicable for the China version i.e. recovery, ROM.
EXTRA:: New phone out of the box and waiting for bootloader unlock?
Install Google Play. Some of the download links in the thread are outdated so it is best to go to apkmirror.com to search, download and install them.
1) In order to flash any custom ROM, the bootloader must be unlocked
Xiaomi locks this by default on all devices. You must unlock it before proceeding to next steps, or you will brick your device. If it's bricked, try this or read the last section of this post.
i. Check Mi lock status from Developer Options. To enable Developer Options, go to Settings -> My Device -> All Specs -> tap on MIUI version. The Developer Options will appear in Settings -> Additional Settings eventually after about 7 taps.
The unlock time can take anywhere from 2 days to 30 days. You can check the timer in step 1vi. You no longer need to apply to Xiaomi to unlock the bootloader.
ii. Download the miflash_unlock_en_3.3.827.31. Extract the zip and run miflash_unlock.exe
iii. On the computer, sign in to the same mi account that's being bound to your phone.
iv. Send the phone to fastboot mode (power down, then power button + volume down button at the same time until the android picture appears).
v. Connect the phone to the computer by USB.
vi. On the computer, attempt to proceed to unlock. It will show you the number of hours left that you need to wait before the phone can be unlocked. Try again after that.
2) Bootloader unlocked
When you try to unlock the phone now (step 1iii - vi), the phone's screen will suddenly change while your mi unlock tool is "verifying" the phone. The tool will say error unlocking. This is normal. On the phone's screen, after progressing about 10% it will appear to reset. Your phone is now unlocked. You can verify the lock status by repeating step 1.
3) Install TWRP custom recovery
You need an Intel (AMD Ryzen seems to be an issue) Windows PC and ADB/fastboot installed. If you don't already, download from here.
There are several recoveries out there, but this one works for me. Download your choice into your PC. When you are done:
i. Open PowerShell (in File Explorer, shift + left click on an empty space) in that folder you downloaded into. If it's a zip, extract to get the .img file.
ii. Send phone into fastboot mode (power down, then vol down button + power button together).
iii. Connect phone to computer.
iv. Type
Code:
fastboot devices
into the PowerShell window. On your computer, you will be able to see that the phone is now in fastboot mode.
v. Type
Code:
fastboot flash recovery TWRP-3.3.1-0529-REDMI_K20PRO-CN-wzsx150.img
vi. When done, send your phone into TWRP recovery (vol up button + power button together).
Note: You must complete step vi or you will lose TWRP recovery because official ROMs restore to official recovery. If you missed this step, you must repeat from steps 3ii to go into TWRP.
4) Send ROM to your phone. If you have the ROM downloaded into your phone already, you may skip this step
Choose a ROM from the ROM section. For me, I use xiaomi.eu 9.8.22. Direct download link for the lazy.
Continuing in the same PowerShell window, type:
Code:
adb devices
adb push "D:\xiaomi.eu_multi_HMK20ProMI9TPro_9.8.22_v10-10.zip" /sdcard/
Replace D:\...... with the full path to the downloaded ROM. The file transfer may take some time. Wait for the PowerShell window to finish the executing command. It took 320 seconds for me.
5) Flash the ROM
For a clean ROM install, be sure to wipe the data, Dalvik and cache partitions. It is called a dirty flash if you wipe only Dalvik and cache.
i. On your phone while still in TWRP, go to Wipe -> Advanced Wipe -> select Dalvik / ART Cache and Data partitions. DON'T choose the FORMAT DATA or wipe any other partition.
ii. Select Install, then choose the ROM and swipe to start the flash. Alternatively, you can also run the same by continuing in the PowerShell window:
Code:
adb shell twrp install /sdcard/xiaomi.eu_multi_MI9_9.8.22_v10-10.zip
iii. When done, select "Reboot System". The first startup will take some time (maybe 3 minutes). You may disconnect the cable from the computer now.
6) Congrats! You are now using a custom ROM!
7) Set up Google Pay
Last tested and still working on 29 August 2019.
There's still one last obstacle. It seems that even though we can pass SafetyNet, Google Pay still doesn't want to work.
a) Make sure Google Pay app has already been installed and run once.
b) Install Magisk Manager
i. Open the App and then download the Magisk zip file.
ii. Send the phone into recovery. Power down the phone, then power button + vol up button at the same time.
iii. Select the Install menu, then select the Magisk zip file and slide to confirm flash. When done, select "Reboot to system".
c) Open Magisk App, then under Downloads, find and install Busybox for Android NDK and SQLite3 for ARM aarch64. Reboot phone.
d) Download the GPay SQLite Fix (more reading here)
Which version to use? It depends on how you want the fix:
Fix stays even if Magisk is uninstalled - use v1.5
To uninstall later, use Termux, type in the following:
Code:
su
chattr -i /data/data/com.google.android.gms/databases/dg.db
Grant superuser to the App when prompted.
Fix is uninstalled together when Magisk is uninstalled - use v1.7
e) Open Magisk app, go to Modules, press on the + button to custom select a module. Select file manager, then browse to the downloaded zip file. When done flashing, reboot phone. You can begin to setup contactless payment next.
If you used v1.5, you may uninstall Magisk now.
TIP: You need to change the NFC method if you want to use Google Pay.
Under Settings, go to Wireless & Networks -> More -> Secure element position -> Use HCE Wallet.
Help! It keeps rebooting into TWRP and never into my ROM!
I hope you never end up needing this. But if it did happen:
a) Download and install MIUI ROM Flashing Tool from MIUI.com. Guide is also available in the page.
b) Download a fastboot ROM from here example: China V10.3.8.0PFKCNXM Fastboot.
c) Unzip into a directory with no space in between:
Code:
D:\Redmi K20 Pro\fastboot - NOT OK
D:\Redmi_K20_Pro\fastboot - OK
d) Send phone to fastboot mode (power down, then vol down button + power button together).
e) Connect phone to computer
f) Open the MIUI ROM Flashing Tool. Browse to the directory where you had extracted the file e.g. D:\Redmi_K20_Pro\fastboot\raphael_images_V10.3.8.0.PFKCNXM_20190601.0000.00_9.0_cn
The program always defaults to "clean all and lock". This option will install the official ROM and lock the bootloader.
Make sure to change to "clean all" to keep the bootloader unlocked.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
g) Press "refresh" to confirm your phone is listed and then press "flash" when you are ready.
The flashing process will take several minutes. Do not disconnect the cable.
The program will show "success" under result.
Your phone will automatically boot into the official ROM.
You may then repeat step 3 Install TWRP custom recovery.
im having issue with twrp, i flashed it successfully and boot to the system(rom) but when i try to boot to recovery the stock recovery overwrites twrp, flashed 4x same result, how to fix this?
karltabby said:
im having issue with twrp, i flashed it successfully and boot to the system(rom) but when i try to boot to recovery the stock recovery overwrites twrp, flashed 4x same result, how to fix this?
Click to expand...
Click to collapse
Same here and flipping bought my phone from Ebay and its now locked to Mi account
Gooners4life said:
Same here and flipping bought my phone from Ebay and its now locked to Mi account
Click to expand...
Click to collapse
your have mi accnt of the previous owner
ionflux said:
I realize that there's no howto guide yet on this forum. To a new xiaomi device user this can be daunting.
This is my guide on how I flashed my Redmi K20 Pro and fixed gpay.
I am NOT responsible for whatever happens to your device as a result of following the below instructions.
EXTRA:: New phone out of the box and waiting for bootloader unlock?
Install Google Play. Some of the download links in the thread are outdated so it is best to go to apkmirror.com to search, download and install them.
1) In order to flash any custom ROM, the bootloader must be unlocked. Xiaomi locks this by default on all devices. You must unlock it before proceeding to next steps, or you will brick your device.
i. Check Mi lock status from Developer Options
To enable Developer Options, go to Settings -> My Device -> All Specs -> tap on MIUI version. The Developer Options will appear in Settings -> Additional Settings eventually after about 7 taps.
If this is locked, you will need to apply to Xiaomi to unlock. This can take anywhere from 2d to 30d. I think it is a random countdown timer set by Xiaomi. Mine took 7 days.
ii. You will be able to download their unlock tool (miflash_unlock_en_3.3.827.31) after applying. Extract the zip and run this tool (miflash_unlock.exe).
iii. On the computer, sign in to the same mi account that's used on your phone.
iv. Send the phone to fastboot mode (power down. then power button + volume down button at the same time until android picture appears)
v. Connect the phone to the computer by USB
vi. On the computer, attempt to proceed to unlock. It will show you the number of hours left you need to wait before the phone can be unlocked. Try again after that
2) Bootloader unlocked
When you try to unlock the phone now (step 1iii - vi), the phone's screen will suddenly change when your mi software is "verifying" the phone. The software will say error unlocking. This is normal. On the phone's screen, after progressing about 10% it will appear to reset. Your phone is now unlocked. You can verify by trying step 1.
3) Install TWRP custom recovery
There is a thread here that links to the custom TWRP made for Redmi K20 Pro. The last time I tried the download link had expired, so I used the archived one linked by the thread poster.
After extracting the zip, you will find a few important files:
These are essentially all you need to flash the custom recovery.
i. Open PowerShell in that folder you unzipped into. (In File Explorer, shift + left click on an empty space)
ii. Send phone into fastboot mode (power down, then power button + vol down button together)
iii. Connect phone to computer
iv. Type into the PowerShell window. You will be able to see that the phone is now in fastboot on your computer.
v. Type
vi. Type
vii. Your phone should boot into TWRP now.
4) Send ROM to your phone. If you have the ROM downloaded into your phone already, you may skip this step.
I downloaded the stable ROM 10.3.12.0. Direct link for the lazy
Continuing in the same PowerShell window, type
Replace D:\...... with the full path to the downloaded ROM. The file transfer may take some time. It took 454 seconds for me.
5) Flash the ROM.
Before flashing the ROM, clean the data and Dalvik cache partitions.
i. On your phone while it's still in TWRP, go to Wipe -> Advanced Wipe -> select Dalvik Cache and Data partitions. DON'T wipe any other partitions.
ii. Go back to home screen. Now go to Install menu, then select the ROM.zip in your /sdcard/ directory. Slide to confirm flash. When done, select "Reboot to system". The first startup will take some time (maybe 3 minutes).
6) You are using xiaomi.eu ROM (yay!)
Congrats! You are now using xiaomi.eu ROM!
7) Set up Google Pay
There's still one last obstacle. It seems that even though we can pass SafetyNet, Google Pay still doesn't want to work.
As of this post, I have tried this fix and it works.
Make sure Google Pay app has already been installed and run once.
a) Install Magisk Manager
i. Open the App and then download the Magisk zip file.
ii. Send the phone into recovery. Power down the phone, then power button + vol up button at the same time.
iii. Select Install menu, then select the Magisk zip file and slide to confirm flash. When done, select "Reboot to system".
b) Open Magisk app, then under Downloads, find and install busybox. Reboot phone.
c) Download the gpay sqlite fix (more reading here)
d) Open Magisk app, go to Modules, press on the + button to custom select a module. Select file manager, then browse to the downloaded zip file. When done flashing, reboot phone.
OPTIONAL: If you don't want Magisk, you can uninstall it now. After the phone reboots, you can begin to setup contactless payment.
If you want to keep Magisk, then you should hide Magisk Manager and all other apps that check for rooting i.e. Google Pay and other banking apps.
TIP: You need to change the NFC method if you want to use Google Pay
Under Settings, go to Wireless & Networks -> More -> Secure element position -> Use HCE Wallet.
Click to expand...
Click to collapse
You no longer need to apply for unlock permissions. This has been the case for a few months. I've no idea why Xiaomi don't take down the unlock request page.
---------- Post added at 03:04 PM ---------- Previous post was at 03:02 PM ----------
karltabby said:
im having issue with twrp, i flashed it successfully and boot to the system(rom) but when i try to boot to recovery the stock recovery overwrites twrp, flashed 4x same result, how to fix this?
Click to expand...
Click to collapse
MIUI will restore stock recovery on reboot. After flashing TWRP immediately boot into TWRP and install Magisk. This will prevent stock MIUI from restoring stock recovery.
karltabby said:
your have mi accnt of the previous owner
Click to expand...
Click to collapse
The phone was sealed when I got it and boot loader was unlocked. On a Paypal dispute.
Robbo.5000 said:
You no longer need to apply for unlock permissions. This has been the case for a few months. I've no idea why Xiaomi don't take down the unlock request page.
Click to expand...
Click to collapse
can you share the link to this? i wouldn't dare to try flashing a custom ROM without unlocking
karltabby said:
im having issue with twrp, i flashed it successfully and boot to the system(rom) but when i try to boot to recovery the stock recovery overwrites twrp, flashed 4x same result, how to fix this?
Click to expand...
Click to collapse
you cannot boot into system after flashing twrp. on the official ROM they will restore to the official recovery. you need to flash a custom ROM like xiaomi.eu while in TWRP, then boot into system.
Gooners4life said:
Same here and flipping bought my phone from Ebay and its now locked to Mi account
Click to expand...
Click to collapse
same how? could you get into TWRP? you need to sign out of the mi account
ionflux said:
you cannot boot into system after flashing twrp. on the official ROM they will restore to the official recovery. you need to flash a custom ROM like xiaomi.eu while in TWRP, then boot into system.
Click to expand...
Click to collapse
If i flash eu rom while on twrp after reboot twrp will stay as default recovery? Someone tol me to flash "descript" i have no idea what it is
ionflux said:
can you share the link to this? i wouldn't dare to try flashing a custom ROM without unlocking
Click to expand...
Click to collapse
You still need to unlock the bootloader and you will most likely need to wait to unlock it, probably 7 days. But you no longer need to apply for unlock permissions for your Mi account.
There are still a lot of Xiaomi bootloader unlock How-to articles being written that tell you to go to the Xiaomi bootloader unlock permission webpage and apply for unlock permissions for your Mi account. This is not necessary anymore.
---------- Post added at 06:06 PM ---------- Previous post was at 06:01 PM ----------
ionflux said:
you cannot boot into system after flashing twrp. on the official ROM they will restore to the official recovery. you need to flash a custom ROM like xiaomi.eu while in TWRP, then boot into system.
Click to expand...
Click to collapse
If you want to keep an official ROM, then you need to install Magisk.
Though if you are not installing a custom ROM or you're not installing Magisk, then I'm not sure why you'd be installing TWRP.
I am having this slight issue of restarting my device of freezing at the redmi logo for awhile and the phone just shuts down, if i try to power the phone for a couple of times then it will bbot up, can you help me out how to solve this? Im still on stock rom/recovery
---------- Post added at 11:53 PM ---------- Previous post was at 11:28 PM ----------
am having this slight issue of restarting my device of freezing at the redmi logo for awhile and the phone just shuts down, if i try to power the phone for a couple of times then it will bbot up, can you help me out how to solve this? Im still on stock rom/recovery, this problem started after i flashe twrp a couple of times i am unlocked btw
Robbo.5000 said:
You still need to unlock the bootloader and you will most likely need to wait to unlock it, probably 7 days. But you no longer need to apply for unlock permissions for your Mi account.
There are still a lot of Xiaomi bootloader unlock How-to articles being written that tell you to go to the Xiaomi bootloader unlock permission webpage and apply for unlock permissions for your Mi account. This is not necessary anymore.
Click to expand...
Click to collapse
How do you find the official link to download the unlock tool or trigger the countdown if you don't do the apply?
Robbo.5000 said:
If you want to keep an official ROM, then you need to install Magisk.
Though if you are not installing a custom ROM or you're not installing Magisk, then I'm not sure why you'd be installing TWRP.
Click to expand...
Click to collapse
I'm quite certain this thread is about how to flash a custom ROM and I was explaining why the user was having trouble entering TWRP and kept returning to the official recovery. Perhaps you want to clarify why you're talking about magisk on an official ROM?
karltabby said:
If i flash eu rom while on twrp after reboot twrp will stay as default recovery? Someone tol me to flash "descript" i have no idea what it is
Click to expand...
Click to collapse
Yes, that's how it worked for me. I am not aware of a "descript".
karltabby said:
I am having this slight issue of restarting my device of freezing at the redmi logo for awhile and the phone just shuts down, if i try to power the phone for a couple of times then it will bbot up, can you help me out how to solve this? Im still on stock rom/recovery
---------- Post added at 11:53 PM ---------- Previous post was at 11:28 PM ----------
am having this slight issue of restarting my device of freezing at the redmi logo for awhile and the phone just shuts down, if i try to power the phone for a couple of times then it will bbot up, can you help me out how to solve this? Im still on stock rom/recovery, this problem started after i flashe twrp a couple of times i am unlocked btw
Click to expand...
Click to collapse
After you flash TWRP and the phone enters into TWRP, can you install a custom ROM?
I thinki can i just did not flash any custom rom atm, im scared that i might brick my device since im experiencing this freezing at the redmi logo
ionflux said:
How do you find the official link to download the unlock tool or trigger the countdown if you don't do the apply?
I'm quite certain this thread is about how to flash a custom ROM and I was explaining why the user was having trouble entering TWRP and kept returning to the official recovery. Perhaps you want to explain clearer why you're talking about magisk on an official ROM?
Click to expand...
Click to collapse
If you want to be safe and download the unlock tool from the Xiaomi site, then yes you are forced to fill the request for unlock permissions before you can access the download. But there are plenty of reliable sources where you can download the unlock tool.
When you create a Mi account it now has unlock permissions automatically.
The countdown will start when you 'Add Device' in the Mi Unlock Status screen within the Developer Options settings. In the last 3 months I've unlocked 2 Xiaomi phones and I've never applied for unlock permissions.
The user with the problem of losing TWRP did not mention whether they want to install a custom ROM or stay on stock. They may have been using your guide only for the TWRP installation. I was giving the information, should they wish to stay on stock.
Hi @ionflux. I tried this and still got an error from gpay saying device has been rooted or altered in some way. I am on stable china rom with magisk and unlocked bootloader. When installing the sqlite fix I get a message in magisk saying sqlite3 binary is not found
karltabby said:
I thinki can i just did not flash any custom rom atm, im scared that i might brick my device since im experiencing this freezing at the redmi logo
Click to expand...
Click to collapse
If you get in to trouble with your phone, then you can restore your phone by installing an official fastboot ROM. If you have bricked your phone, but can boot to the fastboot screen and have a unlocked bootloader, then you can restore the phone this way.
Download the latest official fastboot ROM from here.
https://forum.xda-developers.com/k2...irmware-10-3-8-0-9-6-13-t3939647/post79726515
Then follow this guide to flash the ROM via fastboot.
http://en.miui.com/a-234.html
In step 5 you need to make sure the option at the bottom is 'Clean All', otherwise you will lock the bootloader again.
Is there a situation that flashing twrp acouple times will mess up the device? Ive just experience this freezing after i flash twrp like 7x,do you think i can just dive in and flash eu rom? My bl is unlocked so that makes my devices restorable?
karltabby said:
Is there a situation that flashing twrp acouple times will mess up the device? Ive just experience this freezing after i flash twrp like 7x,do you think i can just dive in and flash eu rom? My bl is unlocked so that makes my devices restorable?
Click to expand...
Click to collapse
Normally, installing TWRP shouldn't cause issues, it's irrelevant how many times you try and install TWRP. I would say go ahead and flash an eu ROM. If you still have freezing issues when booting, then restore the phone and see if that fixes it. If so then start again with the TWRP and eu ROM install.

[GUIDE] How to root Redmi 9C and pass SafetyNet (tested)

I am not responsible for your actions, but I will try to help.
I'm going to assume you have unlocked bootloader and ADB/Fastboot tools installed.
1. Download latest Magisk and make 2 copies of it. Install one of them on your phone. Change the extension of 2nd from .apk to .zip, then move it to your phone`s storage
2. Download Pitch Black recovery for Redmi 9C
3. Move recovery.img to both your ADB folder (can be found at C:\adb) and phone`s storage
5. Download DM-VERITY, FORCED ENCRYPTION
6. Rename it to enfec.zip and place in phone`s storage
4. Download attached vbmeta.img and place it in your ADB folder
5. Go into fastboot mode
5. On your PC, open cmd-here.exe in adb folder
6. fastboot flash recovery recovery.img
7. fastboot flash vbmeta vbmeta.img
8. fastboot reboot recovery
9. Sometimes recoveries don't work with touchscreen. In this case, flash other region's ROM. To do this, find and download fastboot version of ROM. Unzip it, run flash_all.bat while being in a fastboot mode (this will erase all data). WARNING: DO NOT RUN flash_all_and_lock.bat. THIS WILL LOCK THE BOOTLOADER AND YOU WILL HAVE TO WAIT ANOTHER WEEK!
Next retry again the whole tutorial. You can also use USB-OTG mouse.
10. Navigate to 'Install' section. Check every option except 'Reboot after installation is complete', 'Zip signature verification' and 'Advanced remove of Forced Encryption'. Select recovery image that you previously moved to your storage and install it 'as Recovery'.
11. In recovery, move to 'backup' and make a backup to your SD card (optional, but highly recommended). Usually, it doesn`t work out of the box. Try searching for guides.
12. In the same section install enfec.zip and then Magisk.zip. If you get errors like 'Failed to mount /nv_data', ignore them.
13. Reboot to system, copy external_sd/PBRB/tools -> storage/0/emulated/PBRB/
Done!
How to pass SafetyNet (tested on 05.05.21 dd/mm):
Simply enable MagiskHide. This will only work if you haven`t modified the /system with modules that don`t hide themselves.
If you did heavy modifications, install UniversalSafetyNetFix (USNF) (repo) or install both MagiskHide Props Config (can be found in Magisk`s modules) and USNF. Instructions to installation of Props Config can be found in the README or on the web. Experiment with it, this is device specific.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It seems like you are using redmi 9C NFC
I am using redmi 9C Global
Did you tested this recovery on your phone?
I downloaded a recovery from GitHub for redmi 9c flashed it after flashing I flashed vbmeta too but can't boot into recovery
I am currently on global EU ROM 12.0.3 which I flashed yesterday
Before that I was on miui global 12.0.10
I tried to root it with magisk and after flashing magisk patched boot.img flashed vbmeta too
But can't get root access
Before I was on miui global 12.0.8
I rooted with magisk and got root access
In order to get root access I downgraded back to miui 12.0.8 but can't get root access
What should I do now?
It seems like you are using redmi 9C NFC
Click to expand...
Click to collapse
True
I am using redmi 9C Global
Click to expand...
Click to collapse
That doesn`t really matter
Did you tested this recovery on your phone?
Click to expand...
Click to collapse
Yes
I downloaded a recovery from GitHub for redmi 9c
Click to expand...
Click to collapse
Which recovery have you flashed? I provided link to SouceForge, not GitHub
I downloaded a recovery [...] flashed it after flashing I flashed vbmeta too but can't boot into recovery
Click to expand...
Click to collapse
Try fastboot reboot recovery.img
If that doesn`t work, try updating your ADB/Fastboot tools. Just download needed files from any site and place them in your ADB folder.
Also, since this recovery is unofficial port, it is a bit different from original. To boot into recovery, you don`t have to hold power+volume_up untill you see recovery menu. Instead, hold it untill screen goes black.
I tried to root it with magisk and after flashing magisk patched boot.img flashed vbmeta too
But can't get root access
Click to expand...
Click to collapse
From my guide:
No users report bootloops, but in some cases root isn't granted. In this case follow next steps.
Click to expand...
Click to collapse
Before I was on miui global 12.0.8
I rooted with magisk and got root access
In order to get root access I downgraded back to miui 12.0.8 but can't get root access
Click to expand...
Click to collapse
I don`t really get what you say, but there is no need to downgrade/upgrade. If I were you, I would flash latest MIUI, though
What should I do now?
Click to expand...
Click to collapse
Try flashing latest eu MIUI (I can help with that, if you want) and then follow method B) step by step, without making any changes and reading everything that I wrote
Hope this helps!
Can't make a backup as your tutorial because i got an error, and what i need to backup just the 'one' selected from the recobery ? can i skip this step and just install the enfec.zip and then Magisk.zip ?
I am stuck from the step 8 and 9 because i got that error and i have no idea what select from the list of the backup...
Backup is an optional step. I get an error too and I have no idea why.
Seems like it worked very well. but the safetynet failed, should download Magisk v21.4 zip because the newest one failed at the moment to flash it, and if you get an error at the end of flashing the DM-VERITY, FORCED ENCRYPTION it's ok still working anyway. thanks for sharing the post
@0purple​
Btw personally skip the step 8 and 9, if you failed to get into recovery with the bottons just try again the step 5,6,7
Knox6 said:
but the safetynet failed, should download Magisk v21.4 zip because the newest one failed at the moment to flash it,
Click to expand...
Click to collapse
Updated the post, try it
I have the European version 12.06 of the redmi 9c. I tried to boot into recovery, but the touch doesn't work in any way, so I can't do anything... help me
i just enabled magisk hide option in magisk manager setting it fixed it
MHaseebpk said:
View attachment 5278627View attachment 5278627i just enabled magisk hide option in magisk manager setting it fixed it
Click to expand...
Click to collapse
does the root work for you? I have the EUropera version 12.0.6 and it doesn't work
sephirot91 said:
does the root work for you? I have the EUropera version 12.0.6 and it doesn't work
Click to expand...
Click to collapse
Yes
MHaseebpk said:
Yes
Click to expand...
Click to collapse
See this
MHaseebpk said:
See this View attachment 5278773
Click to expand...
Click to collapse
how did you do it? I followed the guide perfectly and it doesn't work. On the other hand, with the second method, the pitch recovery touch does not respond to commands

			
				
sephirot91 said:
how did you do it? I followed the guide perfectly and it doesn't work. On the other hand, with the second method, the pitch recovery touch does not respond to commands
Click to expand...
Click to collapse
I just followed seconds method and I am on global rom
You should flash global rom and should try again
MHaseebpk said:
I just followed seconds method and I am on global rom
You should flash global rom and should try again
Click to expand...
Click to collapse
Ok thanks, I could try. Do you have a guide to flash the global version? thank you very much
https://c.mi.com/oc/miuidownload/detail?guide=2
is it okay? for flashing rom global
sephirot91 said:
Ok thanks, I could try. Do you have a guide to flash the global version? thank you very much
Click to expand...
Click to collapse
First you need to download angelica global latest (12.0.10) fastboot rom from Here
Download miflash pro english from Here
Extract mi flash pro zip file install mi flash pro and extract angelica global image too in your PC
Now power off you phone
Hold volume down and power button simultaneously for 5 seconds
Your phone will boot into fastboot mode
Now open miflash pro login with your mi account connect your phone
When you will connect your phone your phone will be automatically detected
And miflash pro will recommend you to flash in recovery click on it
Next select package (fastboot rom) which you downloaded and extracted before and select script flash all.bat
Wait for 5 to 6 minutes
Your phone will be flashed
After that setup your phone
Boot again into fastboot mode
Setup adb in your PC
Install mediatek USB vcom drivers
And next follow second method
MHaseebpk said:
First you need to download angelica global latest (12.0.10) fastboot rom from Here
Download miflash pro english from Here
Extract mi flash pro zip file install mi flash pro and extract angelica global image too in your PC
Now power off you phone
Hold volume down and power button simultaneously for 5 seconds
Your phone will boot into fastboot mode
Now open miflash pro login with your mi account connect your phone
When you will connect your phone your phone will be automatically detected
And miflash pro will recommend you to flash in recovery click on it
Next select package (fastboot rom) which you downloaded and extracted before and select script flash all.bat
Wait for 5 to 6 minutes
Your phone will be flashed
After that setup your phone
Boot again into fastboot mode
Setup adb in your PC
Install mediatek USB vcom drivers
And next follow second method
Click to expand...
Click to collapse
I don't lose the unlocked bootloader, right?
sephirot91 said:
I don't lose the unlocked bootloader, right?
Click to expand...
Click to collapse
Yes select flash all.bat your bootloader will remain unlock and your phone will be flashed
Don't select flash all and lock script otherwise bootloader of your phone will be locked and you will have to wait for 7 days to unlock bootloader

General [SHARED] LineageOS 18.1 | UNOFFICIAL | Android 11 Updated: 04/12/22

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
First I'm not the developper of this rom and just share it here
credits go to @NeoArian
Be aware that it's a provisory thread and the dev will create his own when he decide the rom is ready....
LineageOS is a free, community built, aftermarket firmware distribution of Android 11, which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.
#LineageOS #Unofficial #R #ROM #Renoir
LineageOS 18.1 | UNOFFICIAL | Android 11
Updated: 06/11/'21
Download (https://sourceforge.net/projects/ep...1/lineage-18.1-20220412-UNOFFICIAL-renoir.zip)
Changelogs & Flashing Guide
(https://drive.google.com/file/d/13rLVqeowVTRWivrpgenl-7k60r7tVB66/view?usp=sharing)Notes:
• Images for flashing can be found here
Credits and thanks to @NeoArian
Installation Instructions:
Lineage Os Installation:
1- Install LOS Recovery: With the phone in FASTBOOT mode in the Platform-tool folder and the necessary files, open the CMD
2- Next we place in the window: fastboot flash boot_ab boot.img and then fastboot flash vendor_boot_ab vendor_boot.img to finish fastboot reboot recovery
3- The cell phone will restart in recovery mode with LOS recovery already installed (it is managed with the volume and power keys)
4- Perform Format Data (do not restart again)
5- Give Apply Update and then Apply Update from SDcard1 and look for the ROM
6- Then Reboot System Now (WILL INITIATE THE ROM)
7- Force restart in recovery to install Gapps (PICO Recommended)
8- Apply Update, Apply update from SDcard1 choose the gapps
9 Reboot System Now and enjoy XD
ALTERNATIVE WAY OF FLASHING THE ROM see post 2
Link for the boot.img too big for being attached here, look my AFH
first custom rom for our device.....enjoy...
******************************************************************************************************************************//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////********************************************************************************************************************************
signature spoofing is possible with last update and before....
here are the files you have to flash with magisk and reboot...
1st sppof and microG
its from HERE
ALTERNATIVE WAY OF FLASHING THE ROM
For those like me who have issue with flashing this rom here i what I do to bypass recovery issue..
after flash boot+vendor and start on LOS recovery and format data, I click update but I haven' apply update from sdcard1 but justapply from ADB..in advanced settings, there isn't such option....so I installed with ADB sideload
that what I do, and after 1 error I tried again and got error when I command adb reboot that system was not installed but I'm now on your rom....only issue is with my sdcard not recognized...have to backup on pc, format and recopy back, but certainly error on my side when I flash back miui rom.......
Install Custom ROM with ADB sideload
What is Android Debug Bridge?
ADB is a command-line tool included in the Android SDK development kit. It is used to communicate with any device that runs the Android operating system. You can use the ADB commands to perform various operations on your Android device.
With the help of the Android Debug bridge, you can install custom ROMs, mods, GApps, backup Android, flash official stock firmware, and install Android apps. Besides, you can also use ADB to uninstall bloatware without Root, downgrade an app, etc.
What is ADB Sideload?
ADB sideload, a command that transfer and install a zip file on an Android device from the PC. This command is handy for a custom ROM developer to push and install any installation zip file directly on a device.
The sideload feature was introduced with the Android Jelly bean recovery. Most importantly, this sideload mode requires a TWRP recovery version 2.3 or higher. Besides, it is also essential to install the latest ADB binaries on your PC.
How to Flash Custom ROM using ADB and Fastboot
Are you ready to use ADB and Fastboot for flashing custom firmware on your Android phone? Then let’s get started.
Warning
Ensure to install the right custom ROM on your Android phone. Do NOT proceed if the firmware is incompatible with your phone model number.
Requirements
A Windows PC and a standard USB cable.
Charge your device to a minimum of 50%.
Install mobile USB drivers on your computer.
Enable USB Debugging mode from your device settings.
Also, enable the OEM unlocking and Advance reboot mode.
Moreover, unlock your device bootloader.
Install TWRP 2.3 or higher on your Android device.
(Optional) Temporarily disable antivirus and firewall on your PC.
Steps to Install Custom ROM using ADB Sideload
Follow these step-by-step instructions to sideload the zip file on your Android phone.
1. Download Custom ROM
At first, download the mobile-specific Android custom ROM on your PC.
Ensure that the ROM file is in zip format.
Also, download the correct firmware that is compatible with your device’s model number.
2. Install ADB and Fastboot drivers
Download and install the latest ADB drivers on your computer.
Make sure that the ADB version is 1.0.29 or higher.
3. Transfer Custom ROM to ADB folder
Copy the downloaded custom ROM and paste it into the ADB folder.
The folder default location will be C:\Program Files\Minimal ADB and Fastboot.
4. Boot Android phone into Recovery mode
Switch off your Android phone.
Now, restart it into recovery mode.
Every device has different methods to boot into recovery.
You can either Google it or use the Recovery reboot app from Play Store.
5. Set the device into ADB sideload mode
As soon as you enter the recovery mode, click on the Advanced button.
On the next screen, click on the ADB sideload option.
6. Connect Android phone to PC
Now, connect your Android device to the computer using a USB cable.
Keep the device as it is in sideload mode.
After a successful connection, tick the Wipe Davik Cache and Wipe Cache options.
Then, swipe right on your device to start sideload.
7. Launch CMD window
Open the ADB folder, hold your keyboard’s Shift button, and right-click.
From the list of options, tap on the Open command window here option.
This will open the command prompt window on your PC.
8. Confirm the ADB connection
Furthermore, type the below command in the cmd window and press the enter key:
adb devices
You’ll see some random numbers with a ‘List of devices attached’ message.
This will confirm that your Android device is successfully connected to the PC.
9. Flash Custom ROM with ADB sideload command
To flash the custom ROM zip package file, enter the below command in the CMD:
adb sideload LineageOS18.zip
Make sure to type the exact name of the custom ROM file.
Also, don’t forget to add the zip extension at the end.
Here, I’m flashing LineageOS18 custom ROM.
Finally, hit the enter key to begin the ROM flashing process.
10. Reboot Android phone
On the installation finishes, your device will show a message saying, ‘ADB sideload complete.’
Tap on the Reboot System option to restart your device.
or those who don't know how to use ADB sideload here is a tuto you can read
How to Flash Custom ROM using ADB sideload [Easy Steps]
Flash Custom ROM zip file with ADB and Fastboot commands on any Android phone. Install Custom Firmware without TWRP recovery using CMD.
www.droidthunder.com
rayman95 said:
first custom rom for our device.....enjoy...
Click to expand...
Click to collapse
@rayman95
I've edited the OP of your thread and removed the reference to Telegram from it. As an exemption from the last bullet of rule no. 5 of the XDA Forum Rules, we grant only developers the privilege to share references to their social media in their own development threads. These conditions obviously don't apply to your thread or you. Please refrain from sharing of social media in future.
Additionally, I've added a tag [SHARED] to the thread title to clearly indicate already in the title that it's not your development. Please do not remove this tag.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
Be aware that it's a provisory thread and the dev will create his own when he decide the rom is ready....
simple twrp wont work?
new update from the dev @NeoArian ....HERE
I'm im still deciding to flash or not to flash custom rom on my phone
But can someone explain it to me how to do it? I mean I know how to flash rom but I cant find simple steps for flashing.
I'm currently on stock MIUI, didnt touched anything?
What are steps for me? For what I can understand
1. Unlock bootloader
2. steps from: https://drive.google.com/file/d/13rLVqeowVTRWivrpgenl-7k60r7tVB66/view
Is that it or am I missing something in between?
ilidari said:
I'm im still deciding to flash or not to flash custom rom on my phone
But can someone explain it to me how to do it? I mean I know how to flash rom but I cant find simple steps for flashing.
I'm currently on stock MIUI, didnt touched anything?
What are steps for me? For what I can understand
1. Unlock bootloader
2. steps from: https://drive.google.com/file/d/13rLVqeowVTRWivrpgenl-7k60r7tVB66/view
Is that it or am I missing something in between?
Click to expand...
Click to collapse
You forget to activate Dev option before flash, then you can go
rayman95 said:
new update from the dev....HERE
Click to expand...
Click to collapse
Hy, how in hell can you access to "Apply Update from SDcard1" ? I only can access to ADB Sideload, and it fails at 47% ? I try almost all of you tutos, and all are failing and I still don't get why, as I do everything as suggested. How do you transfer your rom on to SDCARD1 to begin with ?
Eightkiller said:
Hy, how in hell can you access to "Apply Update from SDcard1" ? I only can access to ADB Sideload, and it fails at 47% ? I try almost all of you tutos, and all are failing and I still don't get why, as I do everything as suggested. How do you transfer your rom on to SDCARD1 to begin with ?
Click to expand...
Click to collapse
you need to change phone or get an exorcism....
are you on W10??if yes I can help you with team viewer if you want....
Forget this or any gsi rom if you wanna enable banking app and nfc. I get 'missing security keys' as warning when I try to enable it.
Pitty!!
dwensch said:
Forget this or any gsi rom if you wanna enable banking app and nfc. I get 'missing security keys' as warning when I try to enable it.
Pitty!!
Click to expand...
Click to collapse
some people pass security with magisk hide....
rayman95 said:
some people pass security with magisk hide....
Click to expand...
Click to collapse
Thanks for the tip. But I see Magisk has stopped developing MagiskHide? Guess I need an older apk?
Thanks for sharing the ROM.
rayman95 said:
1- Install LOS Recovery
Click to expand...
Click to collapse
Wich LOS Recovery should I install?
DanielTheHam said:
Thanks for sharing the ROM.
Wich LOS Recovery should I install?
Click to expand...
Click to collapse
its the boot.img on first post
Thanks for answearing.
So I installed the ROM and Open GApps but when I reboot to the system the screen goes white and then black. The phone is on because I can hear the lock/unlock sounds but I have no screen.
I also tried to only install the ROM but the same thing happened.
Do you have any solution for this or any idea what the problem could be?
DanielTheHam said:
Thanks for answearing.
So I installed the ROM and Open GApps but when I reboot to the system the screen goes white and then black. The phone is on because I can hear the lock/unlock sounds but I have no screen.
I also tried to only install the ROM but the same thing happened.
Do you have any solution for this or any idea what the problem could be?
Click to expand...
Click to collapse
from which base you start, miui, gsi???
did you a full wipe?? have you followed correctly the tuto with boot and vendor, then flashed with recovery??
if not succeed, you can try GSI who is maybe easier to flash
rayman95 said:
from which base you start, miui, gsi???
did you a full wipe?? have you followed correctly the tuto with boot and vendor, then flashed with recovery??
Click to expand...
Click to collapse
The first try was from Pixel Experience Plus 11.0 v313 GSI and the second one from MIUI 12.0.5 Global.
I flashed the boot and vendor, went to recovery and did a factory reset and finally I flashed the ROM and OpenGApps using adb sideload.
rayman95 said:
if not succeed, you can try GSI who is maybe easier to flash
Click to expand...
Click to collapse
I used Pixel Experience Plus for 2 weeks and I really liked it but there was a really annoying problem with the vibration so I decided to try this ROM.
I tried the rom. Everything works well. GCam also works. ANX camera doesnt work though.
amit kattal said:
I tried the rom. Everything works well. GCam also works. ANX camera doesnt work though.
Click to expand...
Click to collapse
Can you try with a wired headset and USB-C adapter if you can change volume on the cable..
Thanks

How To Guide How to Root S23 (S91*B/N/0)

How to Root Samsung S23 (SM-S91*B/N/0)
WARNING!
Before you root your device you must be aware that
This will void warranty.
As of now you will lose Samsung Pay and Samsung Pass forever if you root once, even unrooting won't help.
There are many features stop working when you unlock bootloader other than S pay/Pass like Samsung Health, Secure Folder, Galaxy Watch pairing issue, Issue connecting old gear watch (S3 or earlier), Google Pay etc but some ROMs are patched for all these mentioned features, you can use custom ROM or patch it yourself for stock ROM. Still you may trouble using some bank apps and these may fixed by adding these apps to Magisk Hide
There may be some knox features there which you may not able to use but I can't list those as I never used. Just Google It
Patched featurs are working today when writing this, No idea if it may stop working next moment/tomorrow or later
Also to note, once you root, you can't go back to "pre-rooted" state completely. It is one way!
OTA won't work once you root device.
ROOT with caution.
You can unroot & Relock bootloader after flashing stock firmware, but still your warranty flag remain 0x1 and most of countries it still voids warranty. Also after unrooting & relocking bootloader, some knox features never work again.
How to Unlock Bootloader
Follow below four steps to ulock the bootloader
1.Enable Developer Option
Open the Settings app on your Galaxy device.
Choose About > Software Information.
Now tap on Build Number 7 times to enable the developer option.
You’ll get a message “You’re now a developer.”
Now Developer option has been enabled.
2: Enable OEM Unlock
Go to the Settings app again on your device.
Navigate to the Developer option.
Enable the toggle next to OEM Unlocking.
Tap YES to turn on the confirmation dialog box.
3: Boot Your device to Download Mode
While device is booted → Connect device to PC → Select to Restart → As soon as device screen turns off, Press and hold Volume Up + Volume Down simultaneously OR In case device is powered off Press and hold Volume Up + Volume Down simultaneously and connect your device to the PC via a USB Cable.
You can see the warning message on your device and release the pressed keys.
Finally, press the Volume Up key once, and you will be booted into Download Mode.
4: Unlock Bootloader
Once device booted into Download Mode, you will see option to long press Volume up to unlock bootloader,Now, press and hold the Volume Up key for a few seconds., Here, you’ll get a confirmation whether you are sure to proceed.
Use the Volume Up button to reply to the confirmation.
This will erase all the data on your device and unlock the bootloader.
Once completed, your device will automatically boot up to the OS.
Now you have successfully unlocked the bootloader
How to root S23
Instructions for stock non rooted ROM​
Use either samfirm.js, Frija, or Samloader to download the latest firmware zip of your device directly from Samsung servers.
Unzip the firmware and copy the AP tar file to your device. It is normally named as AP_[device_model_sw_ver].tar.md5
Download and Install latest Magisk apk (Get Latest Magisk apk from here)
Press the Install button in the Magisk card
Choose “Select and Patch a File” in method, and select the AP tar file
When done, copy patched file to PC
Reboot to download mode. Open Odin on your PC, and flash magisk_patched.tar as AP, together with BL, CP, and CSC (NOT HOME_CSC because we want to wipe data) from the original firmware.
Your device should reboot automatically once Odin finished flashing. Agree to do a factory reset if asked.
Install the Magisk app you’ve already downloaded above and launch the app. It should show a dialog asking for additional setup.
Let the app do its job and automatically reboot the device. Voila!
Upgrading the OS​Once you have rooted your Samsung device, you can no longer upgrade your Android OS through OTA. To upgrade your device’s OS, you have to manually download the new firmware zip file and go through the same AP patching process written in the previous section. The only difference here is in the Odin flashing step: do NOT use the CSC tar, but instead use the HOME_CSC tar as we are performing an upgrade, not the initial install.
Important Notes​
Never, ever try to restore either boot, recovery, or vbmeta partitions back to stock! You can brick your device by doing so, and the only way to recover from this is to do a full Odin restore with data wipe.
To upgrade your device with a new firmware, NEVER directly use the stock AP tar file with reasons mentioned above. Always patch AP in the Magisk app and use that instead.
Never just flash only AP, or else Odin may shrink your /data filesystem size. Flash AP + BL + CP + HOME_CSC when upgrading.
PS : It is strongly recommended to make EFS backup once you root device and save to safer place like on cloud or PC
For TWRP : Read here
Credit : topjohnwu Guide part taken from Origin guide here
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Will try this now. Should the other slots BL/CP/CSC be filled with the firmware files when flashing this AP?
zzattack said:
Will try this now. Should the other slots BL/CP/CSC be filled with the firmware files when flashing this AP?
Click to expand...
Click to collapse
No needs, Flash requied file with AP slot onl
I flashed the AP file. I could not enter recovery mode to do factory reset. Device went into boot-loop mode, but after some failed attempts launched recovery by itself. Then I was able to do factory reset, and device boots properly.
Magisk (25.2 from apk in your zip file) still indicates: not installed. Ramdisk yes. Zygisk no (obviously).
zzattack said:
I flashed the AP file. I could not enter recovery mode to do factory reset. Device went into boot-loop mode, but after some failed attempts launched recovery by itself. Then I was able to do factory reset, and device boots properly.
Magisk (25.2 from apk in your zip file) still indicates: not installed. Ramdisk yes. Zygisk no (obviously).
Click to expand...
Click to collapse
You flashed AP file I have provide or one with patched with magisk yourself?
Earlier today I used Magisk alpha to patch the AP from WA6 firmware.
Some minutes ago I flashed AP file from you on top. It only wrote boot and vbmeta.
Any debug info/logging I can provide?
zzattack said:
Earlier today I used Magisk alpha to patch the AP from WA6 firmware.
Some minutes ago I flashed AP file from you on top. It only wrote boot and vbmeta.
Any debug info/logging I can provide?
Click to expand...
Click to collapse
Odin was passed successful?
Kernel I have provided is surely Patched., May be needs to contact Jhon with log. Kindly post in Magisk thread
Yes, no problems from ODIN. I will try to find the magisk thread and useful logging infos.
Magisk log added
zzattack said:
Magisk log added
Click to expand...
Click to collapse
If you can save log from Magisk App - Logs - Save and attach here
Also show me screenshtot of magisk app
Nice!!!
zzattack said:
Magisk log added
Click to expand...
Click to collapse
I have updated link (with debug version), Can you flash again and Install included Magisk? After this take log so I can send to Jhon with debug version. Also take screenshot of magisk app
Logs + magisk screenshot attached with debug image and apk.
zzattack said:
Logs + magisk screenshot attached with debug image and apk.
Click to expand...
Click to collapse
Do you have telegram? If yes inbox me. We can do some test with easy communication
@zzattack or any other user
I have updated link(v3), If anyone available to test new version.
.
This one gave me the "Magisk needs additional setup" prompt. After accepting + reboot, Manager detects magisk correctly and root is functional. Great work!
Would you be able to upload a release kernel too? Thanks so much!
zzattack said:
This one gave me the "Magisk needs additional setup" prompt. After accepting + reboot, Manager detects magisk correctly and root is functional. Great work!
Would you be able to upload a release kernel too? Thanks so much!
Click to expand...
Click to collapse
Great,
That's awesome news!
Thank you very much for testing.
Any other user available to test then let me know, Next test will be for Root with Magisk Stable (25.2)
Debug version already reported working (reported by @zzattack )
.
I'm waiting for my s23 ultra next week and then I'll be able to test.
I'm aware I'll lost Samsung Pay and pass. I really don't care... Don't use it... But, will I have troubles with Google pay and secure folder if rooted?
zzattack said:
This one gave me the "Magisk needs additional setup" prompt. After accepting + reboot, Manager detects magisk correctly and root is functional. Great work!
Would you be able to upload a release kernel too? Thanks so much!
Click to expand...
Click to collapse
does zygisk work?

Categories

Resources