yashsingh1/xdaforums huggingface dataset:
[Redmi 9A Questions & Answers] ahsan.ey.ca:
I attached the image of root checker, it says not rooted. I downloaded lucky patched and it also does not show the options which are available to rooted rom.

Also my devices is not getting detected in "Fastboot devices". When i run "fastboot reboot" it gives "Waiting for device".

Also facing this issue, I take it to fastboot mode and it automatically reboots normally.

Edit: Updated my platform tools and issue resolved. I'm in recovery now. Also this recovery is staying as you said.

But the rom is still not showing root, please help. Tried to flash magisk via TWRP, still mount system issue.
[Redmi 9A Questions & Answers] ercl:
I have the same problem

---------- Post added at 09:25 PM ---------- Previous post was at 09:20 PM ----------

works for me
[Redmi 9A Questions & Answers] Tigrouzen:
Think maybe India model use different touch screen driver
[Redmi 9A Questions & Answers] ahsan.ey.ca:
Do you have root? How did you check it?
[Redmi 9A Questions & Answers] ercl:
on the global version it works?
[Redmi 9A Questions & Answers] ahsan.ey.ca:
Mine is global stable rom, TWRP works. But asop rom does not show root.

Your is i guess indian rom, twrp does not work for you but asop rom shows root.

I don't understand what is happening.

---------- Post added at 09:50 PM ---------- Previous post was at 09:46 PM ----------

@Tigrouzen

How can I check if I have correctly installed your asop rom?

I did all the steps as it is, and it flashed new rom. I setup phone, check root status it does not show root. While [MENTION=11261269]ercl[/MENTION] gets root by same method. What could go wrong with me?

---------- Post added at 09:50 PM ---------- Previous post was at 09:50 PM ----------

@Tigrouzen

How can I check if I have correctly installed your asop rom?

I did all the steps as it is, and it flashed new rom. I setup phone, check root status it does not show root. While [MENTION=11261269]ercl[/MENTION] gets root by same method. What could go wrong with me?
[Redmi 9A Questions & Answers] Rediancool:
Man South Asian internet is **** it took me 30min to download 40% of the global ROM. Gonna try again tomorrow
[Redmi 9A Questions & Answers] ahsan.ey.ca:
New rom installed, thanks to [MENTION=11261269]ercl[/MENTION] for guidance. Also it has root.

How to adjust brightness?
[Redmi 9A Questions & Answers] ercl:
gently move the slider is bug

---------- Post added at 10:36 PM ---------- Previous post was at 10:33 PM ----------

in this rom still the screen does not work in this twrp

any idea?
[Redmi 9A Questions & Answers] ahsan.ey.ca:
I have not installed the twrp yet, will tell you when i do.
[Redmi 9A Questions & Answers] Doghan13:
Many thanks for your work, I'll try this when my Redmi 9A will be unlocked.

You should post it on Guide or Development section to make it easier to find even if we don't have not much threads here.

Keep up and thanks again ;)
[Redmi 9A Questions & Answers] Tigrouzen:
Now i'm working to find way to make Miui rom root, because i don't like unofficial rom it is not work smooth...

Also making miui rom smooth without garbage apps

What do you think ?
[Redmi 9A Questions & Answers] ercl:
brightness bug solved

Open termux and type....

su

Then give termux root access....

Then Type Two lines...

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

setprop persist.sys.overlay.devinputjack true
[Redmi 9A Questions & Answers] Doghan13:
IMO we can use your GSI if root is absolutely needed. But Miui have some stability and just need to be patched so if the work is not too hard, yup it would be better.

GSI can be reworked later as it work already.

Waiting for others to tell if it's good for them
[Redmi 9A Questions & Answers] ercl:
I will very gladly tested but first I wanted to solve the problem with drivers in twrp
[Redmi 9A Questions & Answers] Rediancool:
man still no luck, i tried with global rom (dandelion_global_images_V12.0.7.0.QCDMIXM_20201028.0000.00_10.0_global_2628946939.tgz)

fastboot flash recovery https://gofile.io/d/8WGAHQ

fastboot flash boot https://gofile.io/d/ZgzCny

then fastboot reboot hold the volume up key

twrp doesn't come redmi logo shows up then phone starts and stops again and again(it doesn't eveven boots) also fastboot reboot recovery doesn't work

any idea what i am doing wrong?
[Redmi 9A Questions & Answers] Mrinalsaha:
Everyone would really love if redmi 9A will be able to root via magisk in MIUI rom without bloatware

that would be really awsome I am looking forward to it

---------- Post added at 10:52 AM ---------- Previous post was at 10:45 AM ----------

I checked in device info HW and in touchscreen section it is showing me NVT-ts

Is that different for you ?

still not able to use touch in your perevious TWRP
[Redmi 9A Questions & Answers] Rediancool:
can anyone tell me the twrp flashing process again. how did you get it to work
[Redmi 9A Questions & Answers] Mrinalsaha:
after you type fastboot reboot and hold vol up

then your redmi logo will show and after a few seconds you will be stuck in a black screen {phone will not boot}

If that's what happening with you then you are doing everything correct because that's what supposed to happen.
[Redmi 9A Questions & Answers] Rediancool:
it isn't struck when i release it turns off and shows the start screen again
[Redmi 9A Questions & Answers] Tigrouzen:
flash the latest boot.img and recovery with vbmeta.img too
[Redmi 9A Questions & Answers] ahsan.ey.ca:
This new rom should be light and fast I guess, but i makes gameplay hell slow. Moded MIUI should be better.

For now I see a game using 1GB game which earlier consumed less. Is this possible? And what can I do about it? Like limiting the ram usage foe this game?
[Redmi 9A Questions & Answers] Tigrouzen:
If you talk about Treble Aosp rom yes but you need compile some hardware information apk for Redmi 9A

https://github.com/phhusson/vendor_hardware_overlay
[Redmi 9A Questions & Answers] ahsan.ey.ca:
Not being a dev I don't understand this. Can you provide something which a noob like me can do?
[Redmi 9A Questions & Answers] Tigrouzen:
The only way it is overcklocking and porting from source but need kernel source and porting hardware with android source, and i don't want wast my time for dev because it is take too much time, brain and night also i'm 47 old now :)

Then the best it is making some mod under rom with script, and remove some apk ;)

Now it is possible we can remove app and modify some script inside system.img with linux, and flash under recovery, but take more time without root under android explore file
[Redmi 9A Questions & Answers] Mrinalsaha:
Please find a way to root it with magisk

Getting root without magisk isn't good

And I also want to hide my root from some apps

And use some magisk modules in my redmi 9A
[Redmi 9A Questions & Answers] ahsan.ey.ca:
I understand, appreciate the work you have done for us. I'll wait for moded MIUI rom.

Also if you could tell me a safe app or method for overclocking, I would be great. I tried to freeze some apps like playstore and schrome to save ram but not much help. Game is consuming half the Ram. I need to reduce it if possible.
[Redmi 9A Questions & Answers] Tigrouzen:
This is what i try now ;)
[Redmi 9A Questions & Answers] ercl:
if someone is bored and has time, he can extract the touch driver from the original recovery, preferably global 7, and upload to twrp where it does not work.

instruction below.

https://forum.hovatek.com/thread-32743.html

https://forum.hovatek.com/thread-32744.html

you need to check the boot.img which is patched. The link was a few pages earlier.
[Redmi 9A Questions & Answers] Rediancool:
https://i.imgur.com/UPxajaI.png

no luck. guess i will have to try the next update
[Redmi 9A Questions & Answers] ercl:
recovery in which the touch does not work

boot patched and vbmeta.

https://gofile.io/d/1AXLEc
[Redmi 9A Questions & Answers] ahsan.ey.ca:
I tried CPU clocking but no affect. Then I used kernel adiutor's zRam and created 2GB virtul memory, it works better now. Still gets lag at times.

I'll wait for MIUI moded for root.

Also which phones won't have these issues in root? I purchased this one assuming that if MI is officially allowing unlock, then there wont be these issues.
[Redmi 9A Questions & Answers] Tigrouzen:
try this

flash same vbmeta.img to boot

fastboot flash vbmeta vbmeta.img
[Redmi 9A Questions & Answers] Rediancool:
i am just curious.

is it possible/hard to debloat the stock rom and create a fastboot flashable rom?
[Redmi 9A Questions & Answers] Rediancool:
i worked!!!(flashed vbmeta.img to vbmeta) thanks man.

thanks to ercl brightness problem solved
[Redmi 9A Questions & Answers] Doghan13:
It can be done by unpacking the img file, debloating and repacking but don't know if it will boot with fastboot flashing.

It has been done many times on Samsung phones but always with TWRP flashable zip.

You can find a thread (the only one lol) on development section for debloating miui rom with wich package to erase and wich to keep.
[Redmi 9A Questions & Answers] Tigrouzen:
Not with fastboot because it's new Android 10 system dynamic paritions.

You need dump your system vendor and product then mount rw you can modify it and reflash under recovery

first mount it on recovery mode adb shell >>

mount /system_root

mount /vendor

mount /product

then you can pull it

adb pull vendor /dev/block/dm(?)

dm-1 it is system

dm-2 vendor

dm-0 product

if im not forget you can check with command

mount /system_root

mount /vendor

mount /product

mount

but is better you dont touch your original dump then if bootloop you can reflash orginal with adb push
[Redmi 9A Questions & Answers] Rediancool:
yeah i already almost bricked it trying to install havoc os

---------- Post added at 07:31 PM ---------- Previous post was at 06:36 PM ----------

Dunno what it does but this tweak works great

https://xdaforums.com/showpost.php?p=80252302&postcount=376

On phh treble
[Redmi 9A Questions & Answers] Tigrouzen:
You can test all you want but you need take once A/B 32bits >> binder64

Recovery gui working now ;)
[Redmi 9A Questions & Answers] Rediancool:
looking forward to the update

thanks for your work
[Redmi 9A Questions & Answers] Tigrouzen:
try this on recovery shell

echo "2048" > /sys/class/leds/lcd/blacklight/brightness
[Redmi 9A Questions & Answers] Rediancool:
there is a typo it should be this echo "2048" > /sys/class/leds/lcd-backlight/brightness

and where should i flash gsi (if it is possible) there is a super partition

and touch works first time but when i reboot to recovery again it doesn't work

when i try to push other gsi images it says storage ranout. raw size limit is like 1.9 gb
[Redmi 9A Questions & Answers] Tigrouzen:
Recovery with gui

https://gofile.io/d/cdACSz

Need correct now file manager work with it

Now you can mount product vendor and system you can see it but can't delete file under file manager only under shell
[Redmi 9A Questions & Answers] Tigrouzen:
Data fully uncrypted ;)
[Redmi 9A Questions & Answers] Rediancool:
is there a permanent solution to twrp brightness problem

i have to change it everytime i open twrp
[Redmi 9A Questions & Answers] Mrinalsaha:
which twrp are you talking about I am lost
[Redmi 9A Questions & Answers] Rediancool:
latest one also ( https://gofile.io/d/cdACSz)

if i change the brightness value it is fixed but when i start the twrp again it resets

and did you guys find any ways to install gapps?
[Redmi 9A Questions & Answers] Mrinalsaha:
when I flash that recovery I see a black screen

I don't know why ?

any fix for that?
[Redmi 9A Questions & Answers] Tigrouzen:
Try this one https://gofile.io/d/mu5OLU
[Redmi 9A Questions & Answers] Rediancool:
connect the device to pc

then start adb shell

and type this

echo "2048" > /sys/class/leds/lcd-backlight/brightness

and press enter
[Redmi 9A Questions & Answers] Mrinalsaha:
can we install magisk.zip with this?
[Redmi 9A Questions & Answers] Tigrouzen:
Ok not working this phone its is garbage :)

put this file on your /sdcard/TWRP/ folder

https://gofile.io/d/6ZzSIB

Now you can have light on recovery

---------- Post added at 14:58 ---------- Previous post was at 14:56 ----------

Magisk it is not the issue but we need found way to make su work
[Redmi 9A Questions & Answers] Rediancool:
i can not make a folder screenshot

you think its because the phone is encrypted?

putting it on internel storage also doesn"t work
[Redmi 9A Questions & Answers] ercl:
dandelion:/ $ echo "2048" > /sys/class/leds/lcd-backlight/brightness

/system/bin/sh: can't create /sys/class/leds/lcd-backlight/brightness: Permission denied
[Redmi 9A Questions & Answers] Tigrouzen:
Ok i downloaded the source port it and compile it now no more issue with screen

Next need make read write system vendor and product partition writable under TWRP

https://gofile.io/d/NO4DLB

For uncrypt phone you need modify your vendor partition

i'm gonna make script for our phone to make vendor uncrypt data mode
[Redmi 9A Questions & Answers] Rediancool:
goto recovery first (when the device is black screen)

---------- Post added at 10:25 PM ---------- Previous post was at 10:22 PM ----------

dude are you working all day?
[Redmi 9A Questions & Answers] Tigrouzen:
it is my job :)

tel me if last recovery work right with lcd
[Redmi 9A Questions & Answers] Rediancool:
it didn"t work sadly and the device is being recognized as g90

and adb push doesn"t, work it says operation is not permitted
[Redmi 9A Questions & Answers] Tigrouzen:
Oh it is work great whit my phone
[Redmi 9A Questions & Answers] Mrinalsaha:
still had to use echo "2048" > /sys/class/leds/lcd-backlight/brightness is adb shell for it to work

and now for me the touchscreen is also not working

earlier it was
[Redmi 9A Questions & Answers] ercl:
you noticed that when pressing install img install zip files are decrypted for a fraction of a second ?
[Redmi 9A Questions & Answers] Rediancool:
which gsi you guys are using
[Redmi 9A Questions & Answers] ercl:
phh-treble
[Redmi 9A Questions & Answers] Rediancool:
I am also using it(not much customization, well it is aosp)

I wanted to try caos. But latest a64bg showing only one mirror in sourceforge when downloading, which is unstable as hell
[Redmi 9A Questions & Answers] ercl:
maybe try ResurrectionRemixOS https://sourceforge.net/projects/androidgsi/files/ResurrectionRemixOS/RRQ_8.6.4/

or Nitrogen OS Android 11 https://sourceforge.net/projects/amber-gsi/files/Nitrogen-OS-11/
[Redmi 9A Questions & Answers] Rediancool:
the file size with gapps is too big. it won't flash
[Redmi 9A Questions & Answers] ercl:
tutirial flash gsi

https://m.youtube.com/watch?v=qswTHlJIvNo

I haven't tested any of them. ask the community how to fix the problem.
[Redmi 9A Questions & Answers] Mrinalsaha:
I have checked everything and come to a result that this device has 64 bit support but still I am not able to use arm64 apps

https://www.mediatek.com/products/smartphones/mediatek-helio-g25
[Redmi 9A Questions & Answers] Rediancool:
i think the machine is 64 bit but android and kernel is 32 bit, so if you write a 64 bit os for this device it will work

---------- Post added at 11:25 AM ---------- Previous post was at 11:18 AM ----------

man xiaomi is an ass

the system partition size is 1.980801024 gig, so system image bigger than that won't work, and most of the gsi's with gapps are bigger than that, so no twrp - no gapps - no gsi

life is pain

should have bought a qualcomm device

:crying:
[Redmi 9A Questions & Answers] Rediancool:
caos runs great but brightness bug... as there is no root in caos so cannot fix it, any idea how to fix it?
[Redmi 9A Questions & Answers] Mrinalsaha:
any updates?
[Redmi 9A Questions & Answers] Tigrouzen:
Recovery : https://gofile.io/d/XYBNGQ

On recovery mode power button to wake up light

then on setting configure your light preference and now work at reboot all time

to mounting system vendor and product in read write mode command :

adb shell mount -o rw /dev/block/dm-0

(dm-0 product dm-1 system dm-2 vendor)

---------- Post added at 15:08 ---------- Previous post was at 15:02 ----------

verry difficult on Miui rom

i make unbloating rom verry smooth with uncrypted data

Now i tryng to found how i can make su work

Debloating uncrypted rom https://gofile.io/d/9fCqGw :

Unzip the rom boot on recovery then use adb shell :

adb shell mount -o rw /dev/block/dm-0

adb shell mount -o rw /dev/block/dm-2

adb push vendor /dev/block/dm-2

adb push product /dev/block/dm-0

Wipe >> Format Data

Reboot
[Redmi 9A Questions & Answers] stev69:
cool bro and good work, join our team at TG @ Redmi9A_Official
[Redmi 9A Questions & Answers] Rediancool:
screen lights up but touch doesn't work
[Redmi 9A Questions & Answers] ercl:
because this recovery is from g90 or something
[Redmi 9A Questions & Answers] ercl:
it hangs at the miui logo and after the format there are no drivers to touch, so recovery is not working
[Redmi 9A Questions & Answers] Rediancool:
i wanted to build twrp from source today. it require 40 gb + download........
[Redmi 9A Questions & Answers] ercl:
no problem, at least for me I don't mind pasting the command :) but I'm more worried about this brick ...

should these files be in the ADB folder or copy on the phone and turn on the terminal in recovery?
[Redmi 9A Questions & Answers] Tigrouzen:
i'm not sure we have same phone :)
[Redmi 9A Questions & Answers] Rediancool:
yeah there is two variation
[Redmi 9A Questions & Answers] ercl:
8

Redmi 9A Dandelion

MediaTek MT6762G Helio G25

,miui 12.07 Global

2GB/32GB

yes I know. there is also a 3GB version
[Redmi 9A Questions & Answers] Tigrouzen:
Yes but there's different lcd and touchscreen ;) possible.

send me your original recovery.img
[Redmi 9A Questions & Answers] Rediancool:
i flashed into boot and the touch worked!!

and broke again
[Redmi 9A Questions & Answers] Tigrouzen:
Corrected data format f2fs

https://gofile.io/d/2o4AKI

now you can push vendor and product ;) then format data with recovery mode under menu and reboot
[Redmi 9A Questions & Answers] ercl:
Thanks, I'll check it out soon. I've stocked up on a million files to flash for root. In fact, I was able to do it 50% because I used the x8 sandbox it is terribly inconvenient
[Redmi 9A Questions & Answers] Tigrouzen:
[YOUTUBE]Qj_QnG0yA_o[/YOUTUBE]
[Redmi 9A Questions & Answers] ercl:
buddy, these files are supposed to be on the phone or in adb?
[Redmi 9A Questions & Answers] Rediancool:
by pc adb shell, format with mouse otg if touch doesn't work
[Redmi 9A Questions & Answers] Tigrouzen:
are you using windows or linux? so i will make video for the installation
[Redmi 9A Questions & Answers] ercl:
hahahahaha [IMG="G90"]https://i.postimg.cc/52FvxGYF/G90.jpg[/IMG] this one does not work, there are no drivers

---------- Post added at 06:38 PM ---------- Previous post was at 06:36 PM ----------

no need. I ask because there was brick every time so I thought it mattered
[Redmi 9A Questions & Answers] Tigrouzen:
also adb shell

umount /data

umount /sdcard/

make_f2fs /dev/block/by-name/userdata
[Redmi 9A Questions & Answers] ercl:
I do not have a cable :) cool, no problem. there is a terminal and some useful programs :)
[Redmi 9A Questions & Answers] Tigrouzen:
Phone on recovery mode
[Redmi 9A Questions & Answers] Rediancool:
How did you debloat and does flashing gsi works ?
[Redmi 9A Questions & Answers] ercl:
as you will improve recovery add 2 lcd drivers
[Redmi 9A Questions & Answers] Tigrouzen:
mounting img erase app and some tweak under file like uncrypt data...

you can also debloat cust.img i forget to push it

but it is small part then i give you command under recovery mode with adb shell

also i debloat system but it's 4gb then i dont want upload it :)

i make script maybe for that

for cust just mount it and erase all

adb shell mount /dev/block/by-name/cust /mnt

adb shell rm -r /mnt/*

reboot

---------- Post added at 20:36 ---------- Previous post was at 20:33 ----------

you need a64 64binder Aonly

simg2img it then flash it like vendor

push your_gsi /dev/block/dm-1

format your userdata

reboot

---------- Post added at 20:41 ---------- Previous post was at 20:36 ----------

the best way it is pull vendor product and system then you can mount to modify

you need linux and root user to mount it read/write

---------- Post added at 20:42 ---------- Previous post was at 20:41 ----------

i'm looking for
[Redmi 9A Questions & Answers] Rediancool:
I am little confused, I flashed 6-7 a64ab gsi with fastboot, and it worked

Will a64a also work?
[Redmi 9A Questions & Answers] Tigrouzen:
how you flash it ?

if you use fastboot flash super you brick your super patition

it is not possible there's only /dev/block/by-name/super partition

which contain vendor product and system
[Redmi 9A Questions & Answers] ercl:
driver from what I remember is NVT-tsi or something like that. but it seems to be in an embedded system.

NVT-ts screen

I do not have a root to write exactly what
[Redmi 9A Questions & Answers] Rediancool:
There is a new fastbootd mode. Only available in stock recovery. You type adb reboot fastboot

Some guy shared a YouTube video in this thread I saw it there. I also found this guide https://source.android.com/setup/build/gsi

Also this https://source.android.com/devices/bootloader/fastbootd
[Redmi 9A Questions & Answers] Tigrouzen:
Thank you so much :)
[Redmi 9A Questions & Answers] ahsan.ey.ca:
Is this MIUI or treble?
[Redmi 9A Questions & Answers] Tigrouzen:
Miui
[Redmi 9A Questions & Answers] ahsan.ey.ca:
Root via magisk will work on it with your latest TWRP or not yet?
[Redmi 9A Questions & Answers] ercl:
do not update via OTA to Global Stable 12.08. after the above steps, the hinge at 0.1% flash boot.img vbmeta.img recovery.img did not help flash from a clean system also does not give anything
[Redmi 9A Questions & Answers] stev69:
Bdw dt already
[Redmi 9A Questions & Answers] stev69:
Nice plox

??
[Redmi 9A Questions & Answers] ercl:
clearer can you?
[Redmi 9A Questions & Answers] Tigrouzen:
Omg what happened here ?
[Redmi 9A Questions & Answers] Tigrouzen:
Recovery all mount write mode, rooted Miui rom ;) need now adapt touchscreen and finaly make Miui partition write too

Some app doesnt work with su because need to write under system file

But luckyP work ;)
[Redmi 9A Questions & Answers] Tigrouzen:
Finaly full root, recovery perfet

it only remains to correct the touchscreen for different device
[Redmi 9A Questions & Answers] ahsan.ey.ca:
Cool. How to get it?

I still have your treble rom installed. Please share a procedure to update to this rom along with necessary file links. Appreciate your work.
[Redmi 9A Questions & Answers] Tigrouzen:
Need some one send dump of his touchscreen info in recovery mode with adb shell

Wiche one touchscreen doesnt work of course, pm me for explain how and what i need.

i'm gonna upload full rom with explain, but before i want finish touchscreen issue for some

Now some rest headache ;)
[Redmi 9A Questions & Answers] ahsan.ey.ca:
Mine touchscreen always worked with your twrp, so no issue for me. Get some rest bro :) Will wait for your upload. Cheers.
[Redmi 9A Questions & Answers] ahsan.ey.ca:
When you make the procedure, please include any difference in case someone like me still have treble rom. I remember we did some conversion at the time of flashing, not sure if updating to MIUI will have a different procedure than if someone already has MIUI.
[Redmi 9A Questions & Answers] Tigrouzen:
New rom thread
[Redmi 9A Questions & Answers] Rediancool:
man all the messages got deleted
[Redmi 9A Questions & Answers] Tigrouzen:
Redmi 9A ROMs, Kernels, Recoveries, & Other Develo

Improve your Redmi 9A's battery life, performance, and look by rooting it and installing a custom ROM, kernel, and more.

xdaforums.com

Read at begin because we can't edit post
[Redmi 9A Questions & Answers] VasilisPpdm:
I have redmi 9a and I m trying to flash twrp in fastboot mode but when the phone reboots doesnt open twrp. is there a problem with the twrp.img i have installed?