How To Guide [GUIDE] HOW TO INSTALL GSI CUSTOM ROMS ON REDMI NOTE 10 5G/POCO M3 PRO 5G - POCO M3 Pro / Redmi Note 10 5G

Code:
I am NOT responsible for bricked devices, destroyed SD cards or any
damage that may happen to your device.
Requirements:
Unlocked bootloader.
WARNING​Don't use Nippon gsi they aren't working.
How to guide:
power + volume down button
fastboot reboot fastboot
install fastbootd drivers,follow this tutorial
fastboot set_active a
fastboot erase system
fastboot flash system (name gsi.img)
fastboot flash vbmeta (vbmeta.img)
fastboot flash vbmeta_b (vbmeta.img)
fastboot set_active a
fastboot reboot recovery
in recovery select wipe data
reboot to system
The GSI will get installed in your phone
Bugs:
Brightness slider but you can fix it
Recommended rom:
Pixel experience:
Releases · ponces/treble_build_pe
Script and patches for building PHH-Treble Pixel Experience - ponces/treble_build_pe
github.com
Select arm64 ab variant
How to fix brightness slider:
[GSI] Brightness Fix & Other Fixes
Brightness black lockscreen fixed & Brightness Slider fix. GSI Misc Settings ✅Use Linear Brightness Scale ✅Force Alternatice Backlight Scale ✅Allow Settings to the lowest Flash this file on magisk and reboot :) Note: There's a better fix...
forum.xda-developers.com
How to fix bluetooth audio:
Go to phh treble settings,misc settings, "Force enable a2dp off-load" and "Bluetooth workarounds" select mediatek option and reboot the device.
How to install magisk on your device:
ROOT GAINED !!!!
THIS METHOD WORKS on both: POCO M3 Pro / Redmi Note 10 5G hey guys.. wonderful news.. been trying here and there and IT WORKS FINALLY i gained root of POCO m3 Pro 5G ! i'll write in steps how it works and post all files i've been using...
forum.xda-developers.com
How to flash gapps:
You need magisk on your phone
Download this file then flash from magisk
MagiskGApps - Browse /r/Stock at SourceForge.net
GApps for Magisk
sourceforge.net

Nippon gsi is the largest community of ported gsi. but flash carefully. not al generic gsi are compatible with stock vendors driver. after rebbot you can have some bugs. but the stock system can be easily restored. i suggest ported gsi from redmi note 8

@Fire1511 do you picture proof on device with any GSI running on poco m3 pro 5g

n0af32 said:
@Fire1511 do you picture proof on device with any GSI running on poco m3 pro 5g
Click to expand...
Click to collapse

n0af32 said:
@Fire1511 do you picture proof on device with any GSI running on poco m3 pro 5g
Click to expand...
Click to collapse

that was fast. thank you
side note, do you have twrp for poco m3 pro 5g?

n0af32 said:
that was fast. thank you
side note, do you have twrp for poco m3 pro 5g?
Click to expand...
Click to collapse
No twrp

https://www.droidontime.com/ in my opinion this is the best custom rom. on download section u can find the official gsi

Fire1511 said:
Code:
I am NOT responsible for bricked devices, destroyed SD cards or any
damage that may happen to your device.
Requirements:
Unlocked bootloader.
How to guide:
Adb reboot fastboot
fastboot delete-logical-partition product
fastboot erase system
fastboot flash system (name gsi.img)
fastboot --disable-verity --disable-verification flash vbmeta (vbmeta.img mod or patch)
fastboot flash vbmeta_b (vbmeta.img mod or patch)
fastboot set_active a
fastboot reboot recovery
in recovery select wipe data
Reboot to system
rom Will be installed in your phone
General bugs:
Brightness slider (can be fixed with termux)
Adaptive brightness.
Recommended roms:
Pixel experience:
Releases · ponces/treble_build_pe
Script and patches for building PHH-Treble Pixel Experience - ponces/treble_build_pe
github.com
Select arm64 ab variant
How to fix brightness slider:
You will need magisk and termux
Open termux
Type su
Then type this:
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)
Bug will be fixed do this after a reboot.
How to install magisk on your device:
ROOT GAINED !!!!
THIS METHOD WORKS on both: POCO M3 Pro / Redmi Note 10 5G hey guys.. wonderful news.. been trying here and there and IT WORKS FINALLY i gained root of POCO m3 Pro 5G ! i'll write in steps how it works and post all files i've been using...
forum.xda-developers.com
How to flash gapps:
You will need magisk on your phone
Download this file then flash from magisk
MagiskGApps - Browse /r/Stock at SourceForge.net
GApps for Magisk
sourceforge.net
Click to expand...
Click to collapse
Hi bro, how about for daily use?
Is there other bugs found?

m_iijul said:
Hi bro, how about for daily use?
Is there other bugs found?
Click to expand...
Click to collapse
GSI roms are very stable no bugs found only brightness slider on certain phone but I posted a fix

Fire1511 said:
vbmeta.img
Click to expand...
Click to collapse
what is this? where can i find it?

hectomax said:
what is this? where can i find it?
Click to expand...
Click to collapse
This is a dm verity fix

hectomax said:
what is this? where can i find it?
Click to expand...
Click to collapse

thanks, but i got another problem, when i enter adb reboot fastboot my phone enters in fastbootD and after that my pc doesnt see him, how can i fix it? (sorry in advance for the possibly stupid questions, I'm new to modding)

hectomax said:
thanks, but i got another problem, when i enter adb reboot fastboot my phone enters in fastbootD and after that my pc doesnt see him, how can i fix it? (sorry in advance for the possibly stupid questions, I'm new to modding)
Click to expand...
Click to collapse
This video will help you to install fastbootd drivers

Whats wrong now?

now my phone dont boot miui and automaticly boot fastboot mode, not fastbootD, and my pc again doesnt see him

hectomax said:
now my phone dont boot miui and automaticly boot fastboot mode, not fastbootD, and my pc again doesnt see him
Click to expand...
Click to collapse
fastboot set_active a

hectomax said:
now my phone dont boot miui and automaticly boot fastboot mode, not fastbootD, and my pc again doesnt see him
Click to expand...
Click to collapse
Go to fastboot then fastboot reboot fastboot then fastboot set_active a then try another time to install gsi

Fire1511 said:
Go to fastboot then fastboot reboot fastboot then fastboot set_active a then try another time to install gsi
Click to expand...
Click to collapse
thank you, thats works, but how can i install gsi, i tried with pixel expirience and got the same error, should i reinstall my windows, maybe it will help?

Related

How to install TWRP and Magisk on Redmi 8?

How to install TWRP and Magisk on Redmi 8?
I always end up in a bootloop and have to flash official rom over and over again.
I'm looking for installing twrp for the redmi 8 Olive, but still haven't found it. Where did you get yours?
ketogeno said:
How to install TWRP and Magisk on Redmi 8?
I always end up in a bootloop and have to flash official rom over and over again.
Click to expand...
Click to collapse
Same here bro
Maybe you guys need to flash the no verity zip file after magisk?
Not sure if that will do the trick tho.
How are you installing magisk without any official or unofficial twrp???
I'm another one lookingo for TWRP for Redmi 8 and still didn't find it.
I think you guys are looking for this https://c.mi.com/thread-1843805-1-0.html
TWRP.zip
Instructions from Altsec
Install TWRP from Redmi 8a
It's ONLY for redmi 8 with dispay Tianma !!!
Other display needed otg + mouse.
Attention! Unlocked Bootloader Required !!!
1. Download Attached file twrp.zip
2. Unpack to the root of the disk (I had C: \ TWRP \)
3. Restart the phone to fastboot mode (Volume - and Power at the same time)
4. In the folder we find flash.bat, run it, it will flash two files vbmeta and recovery
5. The device will reboot, after rebooting you can boot into the recovery manually Volume + and Turn On Simultaneously
куча лагов тврп заточено под 32 а редми 8 64 глючит оно
a bunch of lags of tvrp is imprisoned under the 32 kernel and the redmi 8 64 is buggy.
Does not install firmware in backup sistem does not fail with error apparently incompatibility is on
redmi 8 terp
I am not sure, but on cz.xiaomi page one admin take this link to redmi 8 twrp. I dont try it because i dont have unlock bootloader now.
Sorry i try to take link in here but this stupid server rules... "To prevent spam on the XDA forums, ALL new users prevented from posting outside links in their messages. After approximately 10 posts, you will be able to post outside links. Thank you for understanding!"
Go to miuios.cz to section redmi 8/8A, post MIUI CZ SK ROM + TWRP, you must be loged and in VMach3 post is this link.
I have only tried to boot mentioned recovery, but it was not working for me.
Code:
~/Downloads$ fastboot boot recovery-TWRP-3.3.1-1127-REDMI8-CN.img
downloading 'boot.img'...
OKAY [ 2.107s]
booting...
OKAY [ 2.121s]it
finished. total time: 4.228s
~/Downloads$
After automatic reboot started system. When manualy restarted phone booted to vendor recovery mode. No adb was available and any try to boot to system was failure - phone always booted to recovery mode. To boot to system I needed to select "wipe data" and then reboot to phone (but all previous data/configuration was deleted).
One more try with this Unofficial TWRP 3.3.1-1127 for REDMI 8 by wzsx150, this time it was success, everything was working smoothly.
Install from fastboot mode:
Code:
fastboot flash recovery recovery-TWRP-3.3.1-1127-REDMI8-CN-wzsx150.img
fastboot boot recovery-TWRP-3.3.1-1127-REDMI8-CN-wzsx150.img
my device:
Code:
fastboot getvar product
product: olive
Tested also with rom MIUI 11 xiaomi.eu without issues.
jkkk88 said:
One more try with this Unofficial TWRP 3.3.1-1127 for REDMI 8 by wzsx150, this time it was success, everything was working smoothly.
Install from fastboot mode:
Code:
fastboot flash recovery recovery-TWRP-3.3.1-1127-REDMI8-CN-wzsx150.img
fastboot boot recovery-TWRP-3.3.1-1127-REDMI8-CN-wzsx150.img
my device:
Code:
fastboot getvar product
product: olive
Tested also with rom MIUI 11 xiaomi.eu without issues.
Click to expand...
Click to collapse
Hi. Am I right, this TWRP is for China version of Redmi 8? I have Global version. Will it work for me?
mcichy10 said:
Hi. Am I right, this TWRP is for China version of Redmi 8? I have Global version. Will it work for me?
Click to expand...
Click to collapse
TWRP is language and version (global, china etc.) neutral. You have on first screen by first run button on right side at the bottom where you can select english language.
If you want root your phone with magisk, go directly to canary version. By stable version I got root only by adb, other apps were denied root access and freeze for a short time (for ex. Total commander beta).
On the other hand I was not able to use phone with not encrypted data with none of magisk version (stable or canary) even if I had "Preserve forced Encryption" unticked.
Code:
~$ adb shell getprop ro.crypto.state
encrypted
Tested on MIUI 11.0.4 by xiaomi.eu.
Unable to install official TWRP in Redmi 8, Miui 11.0.7. It installed. and then vanished when rebooted. and then boot looped. Had to flash original recovery and boot img to reboot.
Had made sure that I didn't boot to system after flashing TWRP. and boot to recovery instead. It flashed okay. Could use the root after installing Magisk. But on reboot, all was gone. Boot looped.
nugroho2 said:
Unable to install official TWRP in Redmi 8, Miui 11.0.7. It installed. and then vanished when rebooted. and then boot looped. Had to flash original recovery and boot img to reboot.
Had made sure that I didn't boot to system after flashing TWRP. and boot to recovery instead. It flashed okay. Could use the root after installing Magisk. But on reboot, all was gone. Boot looped.
Click to expand...
Click to collapse
Hello,
Did you reboot via button combo or fastboot reboot?
I read somewhere that Magisk is to be flashed before reboot.
Anyway, you will succeed.
I follow you because I am at 100 h to unlock.
soket1 said:
TWRP.zip
Instructions from Altsec
Install TWRP from Redmi 8a
It's ONLY for redmi 8 with dispay Tianma !!!
Other display needed otg + mouse.
Attention! Unlocked Bootloader Required !!!
1. Download Attached file twrp.zip
2. Unpack to the root of the disk (I had C: \ TWRP \)
3. Restart the phone to fastboot mode (Volume - and Power at the same time)
4. In the folder we find flash.bat, run it, it will flash two files vbmeta and recovery
5. The device will reboot, after rebooting you can boot into the recovery manually Volume + and Turn On Simultaneously
Click to expand...
Click to collapse
Thank you

[guide][kernel] how to install a gsi[eu variant only guaranteed]

Hey folks i took the afford and unlocked by bootloader and flash a gsi , i noticed sound and wifi were broken and investigated then i recompiled the olive kernel with some changes hacked together a working kernel image (the sources xiaomi provided are broken)
DOWNLOADS:
AndroidFileHost
STEPS
1. unlock your bootloader
2. disable avb by reflashing vbmeta "fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
2. boot into twrp on your pc type "adb shell" then "mount -o rw /dev/block/bootdevice/by-name/vendor /vendor " (if your touch works in twrp you can just hit mount and vendor)
4. push the edited fstab file "adb push fstab.qcom /vendor/etc/"
5. flash the gsi , download the one of your choise , even tho we are a only we need arm64 a/b gsis others wont work "fastboot flash system pathtogsisystemimghere"
6. wipe the data to remove the encryption "fastboot -w" (if touch in twrp works hit wipe format data type yes)
7. flash my kernel (fastboot flash boot BOOT_GSI.img )
8 reboot the device (fastboot reboot)
9. after first boot is done enable adb
10. type "adb root" then "adb remount" then "adb push pathtotheoverlayapkilinked /system/overlay/" then "adb reboot"
ALL COMMANDS ARE TYPED WITHOUT ""​
Thanks
phh for his gsis
erfan adbi for helping me figuring out how to fix module loading
sellerie for his method of reusing a kernel dtb
me for putting this all together and recompiling the kernel
SOURCES
Thanks for figuring out and writing it all down for us!
Where can I download the vbmeta.img?
Trying to do this. Got a Redmi 8 EU version with novatek touchscreen, no touch in twrp. Should still work, right? I do not need to do anything in twrp correct?
EDIT: Never mind, other recovery works. How does your kernel compare to stock? Why was it necessary to recompile it? I just installed LOS gsi 5 minutes ago, thanks for your help.
(Also, just out of curiosity: What does fstab.qcom do exactly?
M47Z said:
Thanks for figuring out and writing it all down for us!
Where can I download the vbmeta.img?
Trying to do this. Got a Redmi 8 EU version with novatek touchscreen, no touch in twrp. Should still work, right? I do not need to do anything in twrp correct?
EDIT: Never mind, other recovery works. How does your kernel compare to stock? Why was it necessary to recompile it? I just installed LOS gsi 5 minutes ago, thanks for your help.
(Also, just out of curiosity: What does fstab.qcom do exactly?
Click to expand...
Click to collapse
which recovery does work for you also how can i find out what screen i do have , the kernel was needed to be recompiled since the modules werent loading at all so we had no sound and no wifi i edited the kernel config to ignore module signatures and also force load modules.
the new fstab does disable the force encryption if it is enabled the gsi will bootloop
M47Z said:
Thanks for figuring out and writing it all down for us!
Where can I download the vbmeta.img?
Trying to do this. Got a Redmi 8 EU version with novatek touchscreen, no touch in twrp. Should still work, right? I do not need to do anything in twrp correct?
EDIT: Never mind, other recovery works. How does your kernel compare to stock? Why was it necessary to recompile it? I just installed LOS gsi 5 minutes ago, thanks for your help.
(Also, just out of curiosity: What does fstab.qcom do exactly?
Click to expand...
Click to collapse
got ya , uploaded vbmeta.img also uploaded redmi8 overlay apk so brightness will start work etc just check the updated steps 9 and 10
J0SH1X said:
which recovery does work for you also how can i find out what screen i do have
Click to expand...
Click to collapse
probably property sys.panel.display show it. By me:
Code:
~$ adb shell getprop sys.panel.display
tianma
Compatibility
Does all redmi 8 olive support this? ( im new in this gsi and im also noob bout this stuff) thanks!:fingers-crossed::fingers-crossed:
Probe07 said:
Does all redmi 8 olive support this? ( im new in this gsi and im also noob bout this stuff) thanks!:fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
You are in correct thread. If something is not working in GSI for your olive , you can report it here.
jkkk88 said:
You are in correct thread. If something is not working in GSI for your olive , you can report it here.
Click to expand...
Click to collapse
yeah he is in the right thread , it might work on other variants or maybe not , it will boot for sure but idk if my kernel will work for any other variant then eu , just test and report
Could you give a noob a link to where I can find gsi's. If there are more than one please give me a link to the one you used succesfully. Thanks.
OK, found little time and tried:
history:
MIUI version: MIUI Global 10.3.1 | Stable / 10.3.1.0 (PCNEUXM)
MIUI version: MIUI by xiaomi.eu 11.0.4 | Stable / 11.0.4.0 (PCNCNXM)
GSI AOSP 10.0 v.208 / AOSP 9.0 v.123 installed according J0SH1X guide
Wifi, touchscreen working only till first display lock. Display brighthness and volume cannot be smoothly set
Currently getting warning before first login after each reboot:.
There's an internal problem with your device. Contact your manufacturer for details.
When touchscreen doesn't respond to your taps, you can still use mouse connected via OTG or ADB cli.
Mouse and adb is working fine also in Unofficial TWRP 3.3.1-1127 for REDMI 8 by wzsx150, just checked.
jkkk88 said:
OK, found little time and tried:
history:
MIUI version: MIUI Global 10.3.1 | Stable / 10.3.1.0 (PCNEUXM)
MIUI version: MIUI by xiaomi.eu 11.0.4 | Stable / 11.0.4.0 (PCNCNXM)
GSI AOSP 10.0 v.208 / AOSP 9.0 v.123 installed according J0SH1X guide
Wifi, touchscreen working only till first display lock. Display brighthness and volume cannot be smoothly set
Currently getting warning before first login after each reboot:.
There's an internal problem with your device. Contact your manufacturer for details.
When touchscreen doesn't respond to your taps, you can still use mouse connected via OTG or ADB cli.
Mouse and adb is working fine also in Unofficial TWRP 3.3.1-1127 for REDMI 8 by wzsx150, just checked.
Click to expand...
Click to collapse
the warning is expected because my kernel securety patch level is newer then the one provided by vendor , the boot level is the day i packed the bootimage thats why this is happening and i dont have an idea how to set
J0SH1X said:
got ya , uploaded vbmeta.img also uploaded redmi8 overlay apk so brightness will start work etc just check the updated steps 9 and 10
Click to expand...
Click to collapse
Alright so this took me a while, this is what I found out:
I got Redmi 8 EU 4/64GB, on MIUI V11.0.1.0.PCNEUXM. I tried all this stuff with LineageOS 16 GSI (download here)
So I tried to follow your steps and it seems to be working alright. But there were some bugs: Fingerprint would not work. When I would set up a pin, pattern etc, it would not work after setup. LineageOS complained about decrypted phone. I then tried all kind of things and this is what I found out:
- We dont need a custom kernel. The stock one from latest stable MIUI (V11.0.1.0.PCNEUXM) works just fine as far as I have tested.
- We do not need a modified vbmeta, just flash the stock one with --disable-verification option.
- Instead of flashing fixed overlay we can also fix the brightness in LOS by entering "setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)" in adb su shell.
So the fastest way to get LOS running (at least on EU version, without TWRP) should be:
0. Make sure you are on latest stable MIUI V11.0.1.0.PCNEUXM. Download and unpack LineageOS 16 GSI, also download vbmeta_stock_V11.0.1.0.PCNEUXM.img from attachments.
1. Unlock bootloader.
2. Flash system image: "fastboot flash system /path/to/lineage-16.0-20191017-UNOFFICIAL-treble_arm64_bvN.img"
3. Wipe data: "fastboot -w"
4. Disable verification: "fastboot flash vbmeta --disable-verification /path/to/vbmeta_stock_V11.0.1.0.PCNEUXM.img"
5. Reboot: "fastboot reboot"
6. Fix screen brightness: Enable developer settings, in there enable root for adb. Connect to PC and type:
Code:
adb shell
su
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)
Done! LineageOS 16 works, fingerprint and pin working, encryption working, brightness working,found no bugs so far but only tried it for a couple of hours. Don't know if we need your kernel and mods for other roms though. On LineageOS something in your steps breaks the system, I guess it is the edited fstab and/or the --disable-verity option when flashing vbmeta (or vbmeta itself? ).
Hope this helps someone! Merry christmas!
M47Z said:
Alright so this took me a while, this is what I found out:
I got Redmi 8 EU 4/64GB, on MIUI V11.0.1.0.PCNEUXM. I tried all this stuff with LineageOS 16 GSI (download here)
So I tried to follow your steps and it seems to be working alright. But there were some bugs: Fingerprint would not work. When I would set up a pin, pattern etc, it would not work after setup. LineageOS complained about decrypted phone. I then tried all kind of things and this is what I found out:
- We dont need a custom kernel. The stock one from latest stable MIUI (V11.0.1.0.PCNEUXM) works just fine as far as I have tested.
- We do not need a modified vbmeta, just flash the stock one with --disable-verification option.
- Instead of flashing fixed overlay we can also fix the brightness in LOS by entering "setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)" in adb su shell.
So the fastest way to get LOS running (at least on EU version, without TWRP) should be:
0. Make sure you are on latest stable MIUI V11.0.1.0.PCNEUXM. Download and unpack LineageOS 16 GSI, also download vbmeta_stock_V11.0.1.0.PCNEUXM.img from attachments.
1. Unlock bootloader.
2. Flash system image: "fastboot flash system /path/to/lineage-16.0-20191017-UNOFFICIAL-treble_arm64_bvN.img"
3. Wipe data: "fastboot -w"
4. Disable verification: "fastboot flash vbmeta --disable-verification /path/to/vbmeta_stock_V11.0.1.0.PCNEUXM.img"
5. Reboot: "fastboot reboot"
6. Fix screen brightness: Enable developer settings, in there enable root for adb. Connect to PC and type:
Code:
adb shell
su
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)
Done! LineageOS 16 works, fingerprint and pin working, encryption working, brightness working,found no bugs so far but only tried it for a couple of hours. Don't know if we need your kernel and mods for other roms though. On LineageOS something in your steps breaks the system, I guess it is the edited fstab and/or the --disable-verity option when flashing vbmeta (or vbmeta itself? ).
Hope this helps someone! Merry christmas!
Click to expand...
Click to collapse
vbmeta is stock non patched one i extracted out of a stock rom zip i downloaded also i noticed the kernel thing aswell , idk why it wasnt working earlier for me but if anyone has no working wifi and sound we atleast know how to fix that , also install the overlay apk it will fix up notch and statusbar and rounded corners aswell
M47Z said:
Alright so this took me a while, this is what I found out:
I got Redmi 8 EU 4/64GB, on MIUI V11.0.1.0.PCNEUXM. I tried all this stuff with LineageOS 16 GSI (download here)
So I tried to follow your steps and it seems to be working alright. But there were some bugs: Fingerprint would not work. When I would set up a pin, pattern etc, it would not work after setup. LineageOS complained about decrypted phone. I then tried all kind of things and this is what I found out:
- We dont need a custom kernel. The stock one from latest stable MIUI (V11.0.1.0.PCNEUXM) works just fine as far as I have tested.
- We do not need a modified vbmeta, just flash the stock one with --disable-verification option.
- Instead of flashing fixed overlay we can also fix the brightness in LOS by entering "setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)" in adb su shell.
So the fastest way to get LOS running (at least on EU version, without TWRP) should be:
0. Make sure you are on latest stable MIUI V11.0.1.0.PCNEUXM. Download and unpack LineageOS 16 GSI, also download vbmeta_stock_V11.0.1.0.PCNEUXM.img from attachments.
1. Unlock bootloader.
2. Flash system image: "fastboot flash system /path/to/lineage-16.0-20191017-UNOFFICIAL-treble_arm64_bvN.img"
3. Wipe data: "fastboot -w"
4. Disable verification: "fastboot flash vbmeta --disable-verification /path/to/vbmeta_stock_V11.0.1.0.PCNEUXM.img"
5. Reboot: "fastboot reboot"
6. Fix screen brightness: Enable developer settings, in there enable root for adb. Connect to PC and type:
Code:
adb shell
su
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)
Done! LineageOS 16 works, fingerprint and pin working, encryption working, brightness working,found no bugs so far but only tried it for a couple of hours. Don't know if we need your kernel and mods for other roms though. On LineageOS something in your steps breaks the system, I guess it is the edited fstab and/or the --disable-verity option when flashing vbmeta (or vbmeta itself? ).
Hope this helps someone! Merry christmas!
Click to expand...
Click to collapse
how did you fix fingerprint and pattern im kinda loosing my mind over it here , if i reenable force encryption the phone will ALWAYS reboot to twrp with pstore telling me vold died , im using aosp not lineageos tho
J0SH1X said:
how did you fix fingerprint and pattern im kinda loosing my mind over it here , if i reenable force encryption the phone will ALWAYS reboot to twrp with pstore telling me vold died , im using aosp not lineageos tho
Click to expand...
Click to collapse
Thought I was not the only one restore latest MIUI with fastboot method. Important: Check "clean all" instead of "clean all and lock" or you will have to do the whole unlock process again. After that, follow the steps exactly as I wrote in the post before. Do NOT flash BOOT_GSI.img, fstab.qcom or treble-overlay-xiaomi-redmi8.apk. You do not need TWRP for this, but you can just install it afterwards if you want. Good luck! :good:
J0SH1X said:
vbmeta is stock non patched one i extracted out of a stock rom zip i downloaded also i noticed the kernel thing aswell , idk why it wasnt working earlier for me but if anyone has no working wifi and sound we atleast know how to fix that , also install the overlay apk it will fix up notch and statusbar and rounded corners aswell
Click to expand...
Click to collapse
I guess vbmeta changed with some later update then! The one I attatched is also just pulled from latest MIUI, no modification. I strongly think wrong/mismatching vbmeta and/or --disable-verity option while flashing it causes the fingerprint/pattern/pin/... bug, at least in LineageOS 16 GSI.
M47Z said:
Thought I was not the only one restore latest MIUI with fastboot method. Important: Check "clean all" instead of "clean all and lock" or you will have to do the whole unlock process again. After that, follow the steps exactly as I wrote in the post before. Do NOT flash BOOT_GSI.img, fstab.qcom or treble-overlay-xiaomi-redmi8.apk. You do not need TWRP for this, but you can just install it afterwards if you want. Good luck! :good:
I guess vbmeta changed with some later update then! The one I attatched is also just pulled from latest MIUI, no modification. I strongly think wrong/mismatching vbmeta and/or --disable-verity option while flashing it causes the fingerprint/pattern/pin/... bug, at least in LineageOS 16 GSI.
Click to expand...
Click to collapse
The vbmeta flag is not it that's the official way of disabling avb documented in Google docs.
Also I pred phh to fix brightness
https://github.com/phhusson/device_phh_treble/pull/137
J0SH1X said:
The vbmeta flag is not it that's the official way of disabling avb documented in Google docs.
Click to expand...
Click to collapse
Well we surely do not need it to run LOS. Is it possible it does not need avb disabled? OP in the thread says: "verified booting on an arm64 ab device I own".
But I am 100% sure: On untouched latest stable MIUI, if you follow the steps by OP exactly with LOS, it will not work, you will get fingerprint/pin/... error and non encrypted device. If you do it like I wrote, flashing latest stock vbmeta with --disable-verification only, and NOT installing fstab.qcom, BOOT_GSI.img or treble-overlay-xiaomi-redmi8.apk, it will all work nicely. If vbmeta is not the issue, then it is the fstab. Might be different for other roms of course.
J0SH1X said:
Also I pred phh to fix brightness
https://github.com/phhusson/device_phh_treble/pull/137
Click to expand...
Click to collapse
Nice :good:
As there is a new Version , here is the vbmeta for those who want to try it out with V11.0.2.0.PCNEUXM. I got it from here:
https://xiaomifirmwareupdater.com/miui/olive/
I will try it in a few weeks.
And many thanks to @M47Z for your instructions. This will save me and others much time.
rudolfm said:
As there is a new Version , here is the vbmeta for those who want to try it out with V11.0.2.0.PCNEUXM. I got it from here:
https://xiaomifirmwareupdater.com/miui/olive/
Click to expand...
Click to collapse
Hmm maybe I am blind but... there is no V11.0.2.0.PCNEUXM right? Global and China got 11.0.3.0, Indonesia and India got 11.0.2.0, and Europe and Russia got 11.0.1.0 at the moment. So latest for European phone is V11.0.1.0.PCNEUXM right?
M47Z said:
Hmm maybe I am blind but... there is no V11.0.2.0.PCNEUXM right? Global and China got 11.0.3.0, Indonesia and India got 11.0.2.0, and Europe and Russia got 11.0.1.0 at the moment. So latest for European phone is V11.0.1.0.PCNEUXM right?
Click to expand...
Click to collapse
Global version has two different versions.one of them PCNEUXM (Europe)
and one is the real global PCNIM blah blah blah blah blah.....really stupid xiaomi ...
Sent from my Redmi 8 using Tapatalk

[SHARE] [10] [gsi] android 10 aosp gsi - phh-treble gsi

We successfully booted the Android 10 AOSP GSI by phhusson. Got it flashed using fastboot.
Test in Realme C3/Narzo 10A. (RMX2020/RMX2027)
Steps to flash:
I am not responsible for your loss
Note (all your data will get erased back it up if you are not lazy )
1. unlock bootloader
2. enable usb debugging
3. adb reboot fastboot
4. fastboot reboot fastboot
5. fastboot --disable-verification flash vbmeta vbmeta.img
6. fastboot erase system
7. fastboot flash system system.img
8. fastboot -w
9. fastboot reboot bootloader
10. fastboot erase usrdata
11. fastboot reboot
Not Working:
VOLTE
VOWIFI
Some Fixes For GSI
For this fixes to run you should have adb running on you pc and have your devices connected via adb
>adb shell
>su
Brightness_Fix:
setprop persist.sys.qcom-brightness 2047
Headphone_Jack_Fix:
setprop persist.sys.overlay.devinputjack true
Google Play Service Fix
https://www.xda-developers.com/how-to-fix-device-not-certified-by-google-error/
Download Link:
https://github.com/phhusson/treble_experimentations/releases
Flash on the ARM64 ab build
Android version: 10
Build Author: https://forum.xda-developers.com/member.php?u=1915408
{Mod edit}
Special thanks to @phhusson, Google and all other developers.
Thanks to Okta Viano to test the GSI in his device.
@sarthakroy2002
We only grant developers the privilege to provide a link to their social media in the OP of their own development threads. These conditions obviously don't apply to you or your thread. Reference to Telegram has been removed.
Additionally, I've moved the thread from the development to the "Guides etc." section. Please refer to here.
Bluetooth calling issue in Samsung Galaxy M30S with GSI ROM PixelExperience
Hi, I have flashed my Samsung Galaxy M30S with PixelExperience-10.0-20200328-GSI-ARM64-AB ROM, Everything is working fine except Bluetooth calling, Bluetooth music is working but unable to receive/connect calls via bluetooth.
Can someone help ?
back it up if ur not lazy. lmao that so funny ???
This rom fix gyroscope delay in Pubg???
Sarathi4936 said:
This rom fix gyroscope delay in Pubg???
Click to expand...
Click to collapse
noo
sarthakroy2002 said:
noo
Click to expand...
Click to collapse
You can fix it??
Sarathi4936 said:
You can fix it??
Click to expand...
Click to collapse
No one can fix indeed...lmao
Anything else not working?
Any Experience?
How's this GSI so far?
Battery performance any review ?
Are there any ROMs with notch support, or is there a way to adjust the status bar margins? I'm tempted to flash this on my RMX2020.
Need Help through this !!!!!!!!!!!!!
Facing an error ____ System partitioned doesn't exist (got an error at very beginning of the process )!!!! while Gsi flashing on Realme 7 RMX2151(MTK G95) , seeking help here & there.
...Saurav said:
View attachment 5234329
Need Help through this !!!!!!!!!!!!!
Facing an error ____ System partitioned doesn't exist (got an error at very beginning of the process )!!!! while Gsi flashing on Realme 7 RMX2151(MTK G95) , seeking help here & there.
Click to expand...
Click to collapse
sorry previous one was my fault (was skipping a line of command ) but now I"m facing is that my device is booting into fastboot mode but got stucked on recovery(stock) page & on cmd its shows waiting for device .(previously tried on CUstom PBRP recovery same result that's why this time tried with stock recovery but same can't boot Dynamic Fastboot.
Need testers for egis fp in gsi with realme ui 2 base
rabim94 said:
Need testers for egis fp in gsi with realme ui 2 base
Click to expand...
Click to collapse
Confirmed working in realme UI 2 base. Need testers for UI 1 base

How To Guide [GUIDE]HOW TO INSTALL GSI ON REDMI NOTE 11/T POCO M4 PRO 5G

Code:
I am NOT responsible for bricked devices, destroyed SD cards or any
damage that may happen to your device.
Requirements:
Unlocked bootloader.
WARNING​Don't use nippon gsi they aren't working,I recommend using phh gsi by phusson lineage os by Andyyan and PE 12 by ponces
How to guide:
Power + volume down button
fastboot reboot fastboot
Install fastbootd drivers,follow this tutorial
fastboot set_active a
fastboot delete-logical-partition product
fastboot erase system
fastboot flash system (name gsi.img)
fastboot --disable-verity --disable-verification flash vbmeta (vbmeta.img mod or patch)
fastboot flash vbmeta_b (vbmeta.img mod or patch)
fastboot set_active a
fastboot reboot recovery
in recovery select wipe data
Reboot to system
rom Will be installed in your phone
bugs:
No bugs
Recommended roms:
Pixel experience:
Releases · ponces/treble_build_pe
Script and patches for building PHH-Treble Pixel Experience - ponces/treble_build_pe
github.com
Select arm64 ab variant
If brightness slider is broken:
Go to phh treble settings,misc settings enable "use alternative brightness scale", "use linear screen brightness slider" and "allow setting brightness to the lowest possible",reboot the device
Id bluetooth audio is broken:
Go to phh treble settings,misc settings, "Force enable a2dp off-load" and "Bluetooth workarounds" select mediatek option and reboot the device
How to install magisk on your device:
[GUIDE] HOW TO ROOT POCO M4 PRO 5G REDMI NOTE 11/T WITHOUT TWRP
WARNING I am NOT responsible for bricked devices, destroyed SD cards or any damage that may happen to your device. Requirements: Original boot.img extracted from the firmware u can find it on mifirm.net Magisk.apk...
forum.xda-developers.com
How to flash gapps:
You will need magisk on your phone
Download this file then flash from magisk
MagiskGApps - Browse /r/Stock at SourceForge.net
GApps for Magisk
sourceforge.net
Thanks for the information, it is very useful. I'll try to root my Note 11T and if there are any issues I'll come back to you!
Fire1511 said:
Code:
Je ne suis PAS responsable des appareils maçonnés, des cartes SD détruites ou de tout
dommages qui pourraient arriver à votre appareil.
Exigences:
Chargeur de démarrage déverrouillé.
AVERTISSEMENT​N'utilisez pas nippon gsi ils ne fonctionnent pas, je recommande d'utiliser phh gsi par phusson lineage os par Andyyan et PE 12 par ponces
Guide d'instruction:
Bouton d'alimentation + volume bas
redémarrage rapide redémarrage rapide
Installez les pilotes fastbootd, suivez ce tutoriel
fastboot set_active a
produit fastboot delete-logical-partition
système d'effacement rapide
système flash fastboot (nom gsi.img)
fastboot --disable-verity --disable-verification flash vbmeta (mod ou patch vbmeta.img)
fastboot flash vbmeta_b (mod ou patch vbmeta.img)
fastboot set_active a
Click to expand...
Click to collapse
Hello, which vbmeta do you use? Thanks
super_sonic said:
Hello, which vbmeta do you use? Thanks
Click to expand...
Click to collapse
Search it on google its same for all devices
steveroysston said:
Thanks for the information, it is very useful. I'll try to root my Note 11T and if there are any issues I'll come back to you!
Click to expand...
Click to collapse
Hello
i tried rooting Poco m4 in patching boot.img with magisk, never succeeded. Device boots only in fastboot
super_sonic said:
Hello
i tried rooting Poco m4 in patching boot.img with magisk, never succeeded. Device boots only in fastboot
Click to expand...
Click to collapse
I don't have that phone, you can try the steps to install Magisk in the link below,
How to Root POCO M4 Pro 5G using Magisk without TWRP
Xiaomi finally launched Poco M4 Pro 5G in Europe and other markets which is their rebranded version of Redmi Note 11 5G which was debuted in China. The
www.getdroidtips.com
steveroysston said:
I don't have that phone, you can try the steps to install Magisk in the link below,
How to Root POCO M4 Pro 5G using Magisk without TWRP
Xiaomi finally launched Poco M4 Pro 5G in Europe and other markets which is their rebranded version of Redmi Note 11 5G which was debuted in China. The
www.getdroidtips.com
Click to expand...
Click to collapse
Thanks . did you succeed with Note 11T?
super_sonic said:
Hello
i tried rooting Poco m4 in patching boot.img with magisk, never succeeded. Device boots only in fastboot
Click to expand...
Click to collapse
Wait which boot.img u used?
super_sonic said:
Hello
i tried rooting Poco m4 in patching boot.img with magisk, never succeeded. Device boots only in fastboot
Click to expand...
Click to collapse
I think that you used poco m3 pro boot.img u can't u have first to find the boot.img from firmware then you patch it from magisk manager and u can flash it from fastboot
Fire1511 said:
Wait which boot.img u used?
Click to expand...
Click to collapse
The one extracted from the fastboot official rom installed on my device. Why?
Fire1511 said:
I think that you used poco m3 pro boot.img u can't u have first to find the boot.img from firmware then you patch it from magisk manager and u can flash it from fastboot
Click to expand...
Click to collapse
No it's the poco M4 Pro boot.img that I've used. Maybe the issue is with vbmeta
Thanks.
super_sonic said:
The one extracted from the fastboot official rom installed on my device. Why?
No it's the poco M4 Pro boot.img that I've used. Maybe the issue is with vbmeta
Thanks.
Click to expand...
Click to collapse
[GUIDE] HOW TO ROOT POCO M4 PRO 5G REDMI NOTE 11/T WITHOUT TWRP
WARNING I am NOT responsible for bricked devices, destroyed SD cards or any damage that may happen to your device. Requirements: Original boot.img extracted from the firmware u can find it on mifirm.net Magisk.apk...
forum.xda-developers.com
I made a new guide,check out!
Fire1511 said:
[GUIDE] HOW TO ROOT POCO M4 PRO 5G REDMI NOTE 11/T WITHOUT TWRP
WARNING I am NOT responsible for bricked devices, destroyed SD cards or any damage that may happen to your device. Requirements: Original boot.img extracted from the firmware u can find it on mifirm.net Magisk.apk...
forum.xda-developers.com
I made a new guide,check out!
Click to expand...
Click to collapse
Thanks. Will try tomorrow.
Is it not necessary to disable verity?
"fastboot --disable-verity --disable-verification flash vbmeta"
super_sonic said:
Is it not necessary to disable verity?
"fastboot --disable-verity --disable-verification flash vbmeta"
Click to expand...
Click to collapse
Yes u have to type this command
super_sonic said:
Thanks . did you succeed with Note 11T?
Click to expand...
Click to collapse
No bro, this is a new phone so I've to wait for a few more months for a good rooting software!
super_sonic said:
Hello
i tried rooting Poco m4 in patching boot.img with magisk, never succeeded. Device boots only in fastboot
Click to expand...
Click to collapse
You have to replace stock product with a custom product image. Follow this thread for magisk workaround.
MPK99 said:
You have to replace stock product with a custom product image. Follow this thread for magisk workaround.
Click to expand...
Click to collapse
Ok thanks. New product.img allows to resize partitions? I don't understand link with magisk? I'll try.
super_sonic said:
Ok thanks. New product.img allows to resize partitions? I don't understand link with magisk? I'll try.
Click to expand...
Click to collapse
You can't resize partitions. But you can use vndk gsi builds and get some reserved space on the partitions.
Guys, join our chat group. Let's share and have fun . https://t.me/evergochat
Guys, all these manipulations are not needed with our device, it is unnecessary to flash any vbmeta, neither when installing gsi firmware, nor when installing root.
You also do not need to delete/to create logical partitions, I put several gsi firmware, everything fits perfectly.

Question HELP I bricked my phone - Stuck on fastboot loop

So I really new into this, I didn't really know what I was doing but i tried to install Pixel Experience on my device. After some struggle it seems that I managed to flash the rom into system. I followed the instruccions to the part where you wipe all data from the phone, but then it got stucked and didn't start the OS, maybe system got corrupted or something bc when I try to reinstall the rom cmd tells me "This partition doesn't exists".
As far as i know there isn't a version of twrp for Redmi note 10 5g so all I have is Xiaomi ADB Fastboot Tools. Pls help me.
What firmware do you want to install?
Can you elaborate on your installation process, guide instructions and firmware sources?
1:
Do not need to use twrp, general Fastboot command to brush the GSI on the line, after installation to play some black screen patch and settings.
GSI always jumps to Fastboot and Recovery after booting, indicating that there is a problem with GSI, replace it with another variant or downgrade version.
2:
Fastboot Method
https://c.mi.com/thread-1857937-1-0.html
jianjianus said:
What firmware do you want to install?
Can you elaborate on your installation process, guide instructions and firmware sources?
Click to expand...
Click to collapse
Correct me if im wrong. I tried to install a GSI of Pixel Experience from this pinned tutorial on the board.
Fire1511 said:
Code:
I am NOT responsible for bricked devices, destroyed SD cards or any
damage that may happen to your device.
Requirements:
Unlocked bootloader.
WARNING​Don't use Nippon gsi they aren't working,I recommend using phh gsi by @phhusson lineage os by @AndyYan and PE 12 by @ponces
How to guide:
power + volume down button
fastboot reboot fastboot
install fastbootd drivers,follow this tutorial
fastboot set_active a
fastboot erase system
fastboot flash system (name gsi.img)
fastboot --disable-verity --disable-verification flash vbmeta (vbmeta.img)
fastboot flash vbmeta_b (vbmeta.img)
fastboot set_active a
fastboot reboot recovery
in recovery select wipe data
reboot to system
The GSI will be installed in your phone
Bugs:
Brightness slider but you can fix it
Recommended rom:
Pixel experience:
Releases · ponces/treble_build_pe
Script and patches for building PHH-Treble Pixel Experience - ponces/treble_build_pe
github.com
Select arm64 ab variant
How to fix brightness slider:
Go to phh treble settings,misc settings enable "use alternative brightness scale", "use linear screen brightness slider" and "allow setting brightness to the lowest possible",reboot the device
There is an better alternative to fix this annoying bug,follow this guide!
[GSI] Brightness Fix & Other Fixes
Brightness black lockscreen fixed & Brightness Slider fix. GSI Misc Settings ✅Use Linear Brightness Scale ✅Force Alternatice Backlight Scale ✅Allow Settings to the lowest Flash this file on magisk and reboot :) Note: There's a better fix...
forum.xda-developers.com
How to fix bluetooth audio:
Go to phh treble settings,misc settings, "Force enable a2dp off-load" and "Bluetooth workarounds" select mediatek option and reboot the device.
How to install magisk on your device:
ROOT GAINED !!!!
THIS METHOD WORKS on both: POCO M3 Pro / Redmi Note 10 5G hey guys.. wonderful news.. been trying here and there and IT WORKS FINALLY i gained root of POCO m3 Pro 5G ! i'll write in steps how it works and post all files i've been using...
forum.xda-developers.com
How to flash gapps:
You need magisk on your phone
Download this file then flash from magisk
MagiskGApps - Browse /r/Stock at SourceForge.net
GApps for Magisk
sourceforge.net
Click to expand...
Click to collapse
My process was a total mess bc I didn't knew my device had 2 partitions in system and the post didn't clarify that, so I found this other tutorial (
). Everything went smoothly, the installation was completed and I wiped all data, rebooted to system, and got stuck on a loop of the Redmi logo. I assumed something gone wrong and I tried to go fastboot again and when i try to install the image sends me the error "This partition doesn't exists".
I don't have the precise commands on cmd I wrote bc i restarted my pc. Sorry.
The source Pixel Experience Plus v415.1 arm64 ab
chileangarbage said:
The source Pixel Experience Plus v415.1 arm64 ab
Click to expand...
Click to collapse
Some people have given feedback that this phenomenon occurs with v415.
I tried it and this problem also appeared. They said that dropping down to V414 would not cause this problem.
I don't know if the latest version has a fix?
I have not tried this firmware again and am currently using lineageos19.1
Andy Yan's personal builds // GSI - Browse Files at SourceForge.net
sourceforge.net
Pixel Experience Plus v415.1 is also reported not to work on MediaTek devices. v414 is the latest working version.
chileangarbage said:
Correct me if im wrong. I tried to install a GSI of Pixel Experience from this pinned tutorial on the board.
My process was a total mess bc I didn't knew my device had 2 partitions in system and the post didn't clarify that, so I found this other tutorial (
). Everything went smoothly, the installation was completed and I wiped all data, rebooted to system, and got stuck on a loop of the Redmi logo. I assumed something gone wrong and I tried to go fastboot again and when i try to install the image sends me the error "This partition doesn't exists".
I don't have the precise commands on cmd I wrote bc i restarted my pc. Sorry.
The source Pixel Experience Plus v415.1 arm64 ab
Click to expand...
Click to collapse
chileangarbage said:
Correct me if im wrong. I tried to install a GSI of Pixel Experience from this pinned tutorial on the board.
My process was a total mess bc I didn't knew my device had 2 partitions in system and the post didn't clarify that, so I found this other tutorial (
). Everything went smoothly, the installation was completed and I wiped all data, rebooted to system, and got stuck on a loop of the Redmi logo. I assumed something gone wrong and I tried to go fastboot again and when i try to install the image sends me the error "This partition doesn't exists".
I don't have the precise commands on cmd I wrote bc i restarted my pc. Sorry.
The source Pixel Experience Plus v415.1 arm64 ab
Click to expand...
Click to collapse
This tutorial works. But not ABSOLUTELY. I did get stucked on bootloader ever after flashing 3 different images. I think that problem was caused because versions of bootloader in my original ROM and installed GSI image didn't match(I was trying to flash latest Android version but my original ROM was Android 11). So I tried flashing the GSI image with Android version 11 and that worked. Therefore, I wanna say that just don't worry just keep flashing and you'll see the Love One.

Categories

Resources