yashsingh1/xdaforums huggingface dataset:
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
I'll need help with these. My queries in brackets ( )

-Give attention system for system vendor for vendor.... (Please explain a bit)

-Format your data, do not wipe format (A bit more explanation)

-Last one thing mount cust partition under mount menu then you can enter this command under terminal recovery :

cd /cust

rm -r *

(Do I have to do this inside recovey menu?)

-Also if you allready formated before with new vendor, you don't need format it again, just wipe :) crappy new forum (Not formatted before)

Don't forget you only need install MagiskManager ;) then he ask you reboot once time

Archive.zip (MagiskManager, Youtube Vance, and...) (Do i have to install magisk via zip in recovery? If so, which file? As u said latest wont work)
[Redmi 9A Guides, News, & Discussion] Yesen06:
For me recovery no touch.Send me anethyng to test.
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
This is not gsi mode, it's Miui boot.img recovery.img and full rom hacked.

4 file in your phone

System.img Vendor.img Product.img and Boot.img

Recovery Menu :

Install > Install Image >> vendor.img >> Vendor Image Swipe

Same for all 4 image

Then format your data if you are on crypted Miui rom or just wipe if you got allready uncrypted data mode

Finaly Mount Menu

Check Cust to mount

Then back to Advanced menu choose Terminal :

cd /cust

rm -r *

Reboot and wait

Archive.zip it is for you make easyer to got what you need : just unzip it on your phone after reboot finish and install what you need
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
No don't install Magisk.zip as i say can't work, you don't need magisk.zip anymore, just install Magisk Manager under Anrdoid in the Archive.zip
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
vendor.img >> Vendor Image >> Swipe

system.img >> System Image >> Swipe

product.img >> Product Image >> Swipe

boot.img >> Boot >> Swipe
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Then format your data if you are on crypted Miui rom or just wipe if you got allready uncrypted data mode

I'm not sur about this, I flashed Treble Rom when u shared and after that I did not change anything. So do I format now or just wipe?
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
Last time i share vendor uncrypted mode if you got this vendor mod then you allready formated it to got uncrypted data ;) if not then format your data.
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Format your data, do not wipe format

I've flashed vendor, system, product and boot. Now I'm on main menu. Where do I format from? Wipe I guess?
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
By clicking wipe, I have 2 options:

1. Advanced Wipe

2. Format Data

And then on bottom is "Swipe to factory reset"

What do i do?
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
"yes" >> swipe
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
https://wiki.commown.coop/dl244?display
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Done.

Now this:

Finaly Mount Menu (from where)

Check Cust to mount

Then back to Advanced menu choose Terminal :

cd /cust

rm -r *
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
**** I swiped to factory reset :( Now what can i do?
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
back and choose format data ;)

then back at home choose Mount then check Cust back home then advanced menu terminal
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Guess I have to repeat the process from start?
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Check cust only?

Cache and sd card are also checked already
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
Non just format Data
[Redmi 9A Guides, News, & Discussion] Doghan13:
Many many thanks for your awesome work. Download in progress, I will install all this sweet package ASAP :D

If a moderator come here I would be able to help by giving a more spelled and precise tutorial. But for me it still perfectly nice
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
Back to home Adva,ced menu Terminel then :

cd cust

rm -r *

reboot
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
Edit doesnt work then it is crappy maybe tommorow i do a new one and erase this thread
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Done. Not phone starting, will update u.

Also there is a recovery file in the rom folder, what to do with that?
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Sorry i mean "Now phone starting"

(I need edit option here too :) )
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Ok everything seemed to work fine, m setting up phone. Now just one thing:

" , just install Magisk Manager under Anrdoid in the Archive.zip "

Please brief a bit. Where is the zip file? Or I install magisk manager from apk and then insite the magisk menu do something from there?
[Redmi 9A Guides, News, & Discussion] Rediancool:
i think magisk is preinstalled, you just have to install the apk from archive
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
All done. I installed magisk manager from their website, it restarted and now I have root. Thanks * 1000 bro. You truly are a hero :)

If you need any help in documenting this process in a better wording, I good with this. If you feel necessary, you may send me the draft process and I'll proof read and everything and then send you back for posting.

Thank again. Stay blessed.
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
I worked with a modified boot.img to debug kernel so I shared my version with you forgetting to remove the debugging, the version without debugging works better.

It's here : https://gofile.io/d/z1ExYV
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
So we just flash it in fastboot mode?
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Its working fine btw, only busybox gets stuck and i have to restart phone.
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Phone asks to install an update, if I do will I lose root? And to get rid of this notification? No option to disable it.
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
I disable it

For boot.img now you can use recovery or fastboot like you want

Finaly we can edit post 😊
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
How to disable update?
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
Security and Update setting
[Redmi 9A Guides, News, & Discussion] dbubra:
Guys, my phone is still booting in stock recovery after flashing twrp and requires data formatting to be loaded into the system. How to properly boot into twrp after flashing? Thanks
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
Flash my boot.img too
[Redmi 9A Guides, News, & Discussion] dbubra:
Now can boot into twrp but no touch too. Cannot swipe to unlock
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
I need your log

before recovery start you need enter this command on cmd windows with adb

adb logcat > log

then share your log file
[Redmi 9A Guides, News, & Discussion] dbubra:
But root works) I just flashed recovery and boot images from head post then Magisk Manager prompt extended installation of magisk and after confirmation I have working root without flashing other images) Thanks
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
yes this rom it is for uncrypt and debloating too ;)

without uncrypt you cant' use recovery
[Redmi 9A Guides, News, & Discussion] dbubra:
My logcat output
[Redmi 9A Guides, News, & Discussion] Rediancool:
Hey guys I don't know how but magisk worked with this twrp in losq gsi rom.

I did this and that (like flashing magisk zip and flashing provided boot IMG )
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
Yes i allready patched boot.img now you can use any rom ;)

But i like Miui rom this is why i make miui better
[Redmi 9A Guides, News, & Discussion] Rediancool:
Yeah gsi doesn't work at all

Havoc is - no sim

Every gsi - brightness problem, ****ty unusable camera,slow
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
Yes because need some source compiled for, but seriously i prefer Miui environnement

The big prob with miui it is bloatware but now i can make it better and better
[Redmi 9A Guides, News, & Discussion] stohey:
please explain in video on youtube how to root redmi 9A step by step < i tried to use all method to root but all fail
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Gofile - Free Unlimited File Sharing and Storage

Gofile is a free, secure file sharing and storage platform. With unlimited bandwidth and storage, you can easily store and share files of any type without any limits. Our advanced features, such as CDN support and password protection, make Gofile the ideal choice for individuals and businesses...

gofile.io
[Redmi 9A Guides, News, & Discussion] dbubra:
Without rom for uncrypt I cant' use recovery, but how I install the rom without working recovery?) sorry i'm confused)
[Redmi 9A Guides, News, & Discussion] Rediancool:
The ROM he provided is unencrypted with magisk preinstalled.

He provided instructions throughout the thread, you have read them all. Making a step by step guide would be pain. If you touch doesn't work you have to use mouse.
[Redmi 9A Guides, News, & Discussion] Rediancool:
Hey tigrouzen clean up the thread.
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
if touchscreen doesn't work you need use adb shell

flash with fastboot boot.img and recovery.img then boot on recovery

with adb under cmd windows

adb shell umount /data

adb shell umount /sdcard

adb shell mke2fs /dev/block/by-name/userdata

adb shell push vendor.img /dev/block/dm-2

adb shell push system.img /dev/block/dm-1

adb shell push product.img /dev/block/dm-0
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
i can't
[Redmi 9A Guides, News, & Discussion] Rediancool:
Ah you can't delete comments 😂
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
Update thread

For who never flash rom need vbmeta flashed
[Redmi 9A Guides, News, & Discussion] dbubra:
boot and recovery already in place, but..

/sbin/sh: push: inaccessible or not found
[Redmi 9A Guides, News, & Discussion] Yesen06:
Tape without shell and its work, but phone will stey on miui logo.Dont tray!
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
Search some howto adb you can use it under cmd

Command adb shell go shell

Under shell you don't need write adb shell

other way it is to use adb shell white command

like adb shell push under cmd Windows

Boot on recovery with USB and use adb under Windows cmd
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
"Root only mode :

If you just want root

flash only vbmeta and boot.img with fastboot"

So If we don't flash the new Rom and want to root stock Rom, we only have to flash this vbmeta and boot?
[Redmi 9A Guides, News, & Discussion] Doghan13:
That's it. Don't know about VBMeta but Boot contain Magisk. Flash both and reboot, install Magisk Manager and you'll have root.

And enjoy, I have to wait 5 days again 'cause I haven't put my Xiaomi account on the right way xD
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
@Tigrouzen if I want to flash original MIUI rom, how do I do that?

(I want to root that one using your boot image)

I tried the method I knew (Copied rom files in platform tools and run flash_all.bat) but nothing happened.
[Redmi 9A Guides, News, & Discussion] Ssmiles:
Redmi 9A MIUI 12.0.8 Root Magisk 20.4 😜

Thanks @Tigrouzen 👍👏
[Redmi 9A Guides, News, & Discussion] zhihuiyuze:
I used magisk to repair and then brushed in to root successfully. Currently I am looking for twrp support
[Redmi 9A Guides, News, & Discussion] Rediancool:
flash orginal rom(if you are on other rom)

go to fastboot mode

fastboot flash boot providedboot.img

fastboot flash vbmeta providedvbmeta.img

reboot

worked for me don't know it will for you if bootloop try flashing orginal boot.img
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
I tried to flash the fastboot rom via platform tools, didn't work.

Also tried to flash the recovery rom via TWRP, but it does not flash.

This is all trouble here, glad if someone could help. @Rediancool @Mrinalsaha @ercl

Update: I update to MIUI 12.0.8 though phone about section update, and now it takes me to TWRP after restart.

I've tried to flash the moded MIUI rom again as per steps, didnt work. Took me to TWRP screen all the time.

Tried to flash treble again, didnt work. Bootoop once and then after sometime I'm in treble rom flashed (thank god).

How do I get back to original MIUI rom?
[Redmi 9A Guides, News, & Discussion] Rediancool:
try flashing fastboot rom with this software https://github.com/Szaki/XiaomiADBFastbootTools
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Which software?

Meanwhile please tell me command to stable the brightness, as I'm on treble rom now.
[Redmi 9A Guides, News, & Discussion] Rediancool:
download the fastboot rom

unzip

go to fastboot mode in mobile

connect to pc

open the software and select the rom folder

select clean all if you want clean all

and then flash rom
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
My office laptop dont allow installation of any software.

However, I tried with to flash via MiFlash official software and didnt work. Platform tools method worked back then. Now thats also not working.

Meanwhile please help resolving brightness issue. I run the command echo "2048" > /sys/class/leds/lcd-backlight/brightness but it gives this error /system/bin/sh: can't create /sys/class/leds/lcd-backlight/brightness: Permission denied
[Redmi 9A Guides, News, & Discussion] Rediancool:
if you have java installed the software will work

you need root to fix brightness

from adb type this command

adb shell su -c setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)

or from terminal emulator in android

type

su

then

setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Checked root access and its not there, strange that the same Rom had root access when I previously installed. What could be reason?

Meanwhile I'm downloading the stock rom and will try with the software.

Update: dont have java either, software wont work.
[Redmi 9A Guides, News, & Discussion] Rediancool:
which gsi are you using
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Treble, the one which Tigrouzen provided earlier. Same Rom had root when I flashed earlier, now it does not have.
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Another strange thing is that I downloaded magisk manager, and just like it happened in case of Moded MIUI provided by Tigrouzen, it restarted and now I have root.

Brightness issue also resolved, your command worked. Thanks.

Man there is some strange VooDoo going on with my device.
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
The Miui rom containt many script protection to detect modified rom
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
1. Treble Rom has a better root I guess, as uninstalling systems aps works quick and fine with it. On Moded MIUI root, whenever i tried to uninstall a system app it would hang device system app would still be there.

2. Need to know how you flash stock Rom (as your device is exactly same as mine in all respects). I'm on treble rom at the moment, as I felt it better than Moded MIUI wrt root operations.

3. If I flash stock Rom and flash your patched boot image, will it be rooted or not? (As you said MIUI rom detects modifications).

Please comment on all 3.
[Redmi 9A Guides, News, & Discussion] KenzoUme:
There seems to be two boot.img files. One in the Rom.tar and a different one @ Update boot.img : https://gofile.io/d/z1ExYV

Which one to use?
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
Updated file of course
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
I will think about it as soon as I have time to answer 😂

First answer : yes i know because the init file on Miui rom need recompiled without protection. I don't have time and power computer to compile full Android. In the past, donations allowed me to rent a powerful pc in the cloud to compile. It was in the days of Samsung's bada phones. You can find on xda.

Second : you have two possibilities, if you want to keep my vendor and product you have to extract the img system in the super.img file. After doing a sigm2img and flashing it with recovery.

You can flash full Miui rom with my boot.img with vbmeta only for boot.

With my rom : uncrypted data, unbloated, less memory usage
[Redmi 9A Guides, News, & Discussion] KenzoUme:
Yes of course. But its not obvious to someone joining the thread. Maybe delete the redundant files from the Rom.tar file?

You have put a lot of work into this and it is much appreciated.

Thank you
[Redmi 9A Guides, News, & Discussion] Tigrouzen:
Upload take Time but I can advise
[Redmi 9A Guides, News, & Discussion] ercl:
touch for me does not work, commands also not some idea?

dandelion:/ # push vendor.img /dev/block/d

/sbin/sh: push: inaccessible or not found
[Redmi 9A Guides, News, & Discussion] dbubra:
I have the same problem.

Several days in search of a solution but no result.
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Flashed latest stock rom using "All in one Root".
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Flashed boot and vbmeta given by Tigrouzen in start of thread, rooted now. Working absolutely fine.
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
@Tigrouzen @Rediancool @ercl

I've done detailed testing. On rooted Rom (MIUI, Moded MIUI or Treble), my games crash. I uninstall root, they work fine.

Any solution to this?
[Redmi 9A Guides, News, & Discussion] Doghan13:
After waiting my 7 days to unlock, I tried to flash everything.

TWRP had no touch, ADB won't work as expected, so I just flashed boot and vbmeta.

Magisk works perfectly, I've added a multiple fix module for Magisk for better stability, debloated my rom with Titanium Backup, and now my phone have Root and work much better than before (ex : Dragon Ball Legends restart every time I go back home before, no more now).

I know that's nothing in front of your work, but I would say MANY MANY thanks... You saved our cheap phone to be stuck at stock
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Which module is it?
[Redmi 9A Guides, News, & Discussion] dreadmachine:
i did everything as you said, sadly did not work, could you please be more clear with instructions? perhaps i missed something?
[Redmi 9A Guides, News, & Discussion] Doghan13:
@ahsan.ey.ca The module is on top
[Redmi 9A Guides, News, & Discussion] kiff20072008:
Hello! Have any news about recovery with working touchscreen? Or working insctructions how to flash if recovery touchscreen does't work? Please, very important to me(
[Redmi 9A Guides, News, & Discussion] dreadmachine:
anyone managed to install this?? I'm facing some problems hope I can receive help
[Redmi 9A Guides, News, & Discussion] strongst:
@Tigrouzen i'm still waiting for your feedback.

strongst

Forum Moderator
[Redmi 9A Guides, News, & Discussion] dreadmachine:
hey umm i have a few questions?
[Redmi 9A Guides, News, & Discussion] strongst:
If they are not related to this thread, please contact me via conversation 😉
[Redmi 9A Guides, News, & Discussion] dreadmachine:
im having issues with twrp, after i wipe, and attemp to install system.img vendor.img and product.img, i install em all, and then when i go to reboot, it says: no OS on your system... thanks in advance
[Redmi 9A Guides, News, & Discussion] Michael2020:
Neither this tutorial nor the video helped me. Horror. It's so difficult for me to do all this (((I didn't understand anything at the point where he had a partition on the computer c: / adb
[Redmi 9A Guides, News, & Discussion] KenzoUme:
Hi Michael2020, with due respect, if you don't understand anything on this thread perhaps you should do more research before attempting to root your device and/or change the ROM. If you don't know how to set up a directory on your PC (eg C:/ adb) then you need to undertake some basic learning of how file structures work on PCs.
[Redmi 9A Guides, News, & Discussion] Arthistic04:
Can you provide clear instructions? and also pictures/screenshots?
[Redmi 9A Guides, News, & Discussion] KenzoUme:
Forum member ahsan.ey.ca provided a 'how to' on Gofile but it looks like its no longer available. Also @Tigrouzen has described the process earlier in this thread. Maybe read the thread carefully, have a go at it yourself and then you can provide the step by step instructions and screenshots?
[Redmi 9A Guides, News, & Discussion] Hassan El Atyqy:
Hello please upload video how root redmi 9A Global bad thanks
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
Guys you don't need the modified Rom its not much different. You don't even need TWRP, it not stable. You only need to root your phone and for that you need a unlocked bootloader, then flash the patched boot image and vbmeta. Then reboot and install the latest magisk managerr and your phone restarts and it will be rooted.

Here is the guide link:

https://xdaforums.com/t/verified-root-method.4199935/

Also attaching the relevant magisk manager version that works.

Keep in mind this devices is a VooDoo device and you never know what goes wrong when. I'm speaking from my experience as I tried everything (AOSP Treble Rom, Moded MIUI ROM, TWRP and Root). Same method with work one time and will not work the other time even if u follow same procedure.

So my advice, just root it as per the given method and enjoy. Don't install mod rom, dont install TRWP.
[Redmi 9A Guides, News, & Discussion] StanGumn:
please, another link server? Filego.io fail
[Redmi 9A Guides, News, & Discussion] ahsan.ey.ca:
I've attached the boot and vbmeta image in this thread.

https://xdaforums.com/t/verified-root-method.4199935/

But if you need the rom, that's on gofile.
[Redmi 9A Guides, News, & Discussion] dreadmachine:
can anyone help me here plz?..
[Redmi 9A Guides, News, & Discussion] Mrinalsaha:
installing magisk 21.2.zip in recovery will also give root access in this device
[Redmi 9A Guides, News, & Discussion] dreadmachine:
this rom doesn't work at all for me and no one is even helping :/
[Redmi 9A Guides, News, & Discussion] Mrinalsaha:
you don't need this rom

just get root in your phone and that's it no need for rom
[Redmi 9A Guides, News, & Discussion] langithitam:
Hy,

i managed to flash the system image,

but the product and product gave me error size of the image is larger than target device"

can u help?
[Redmi 9A Guides, News, & Discussion] iwingmusic:
could you make 64 bit vendor rom?
[Redmi 9A Guides, News, & Discussion] mohacraft8:
stuck in fastbooot
[Redmi 9A Guides, News, & Discussion] Ssmiles:
Hi everyone, yesterday I managed to remake a friend's Redmi 9A with Miui 12.0.12 GLOBAL with Root Magisk v20.4 and TWRP 3.4.2b , I will try to explain to you how I do. It may be useful for some of you ;-) since there is not much on the net for this smartphone.
[Redmi 9A Guides, News, & Discussion] KenzoUme:
When can you do that? It would be helpful to know your process.

Thanks
[Redmi 9A Guides, News, & Discussion] Ssmiles:
https://xdaforums.com/t/miui-12-0-12-0-qcdeuxm-eea-magisk-20-4b-twrp-3-4-2b-android-10.4293079/