How To Guide Run an GSI on your Mi Pad 5 - Xiaomi Mi Pad 5

To run an GSI on your Mi pad 5 :
Unlock bootloader
Download an arm64 AB gsi: https://forum.xda-developers.com/f/treble-enabled-device-development-a-ab-roms.7260/
I used system-roar-arm64-ab-vndklite-vanilla.img by Phh
Download vbmeta.img from google
Reboot to fastboot
Open an cmd:
fastboot flash vbmeta vbmeta.img
fastboot reboot fastboot
fastboot flash system system-roar-arm64-ab-vndklite-vanilla.img
fastboot reboot recovery
Make an factory reset
Reboot

Is there any gsi from tab s7?

Link dead
https://download.havoc-os.com/arm64-ab-vndklite/Havoc-OS-v4.1-20210208-arm64-ab-vndklite-Official-GApps.img.xz

jaca22 said:
Link dead
https://download.havoc-os.com/arm64-ab-vndklite/Havoc-OS-v4.1-20210208-arm64-ab-vndklite-Official-GApps.img.xz
Click to expand...
Click to collapse
https://github.com/phhusson/treble_experimentations/releases/download/v312/system-roar-arm64-ab-vndklite-vanilla.img.xz

Riview experience using gsi rom

I got crDroid gsi installed, random app closures, full screen gestures work, but there is a empty space on bottom of screen after the navigation bar. changing the brightness does not work very well. 120hz works.
Magisk included. Gapps flashed with magisk (no twrp). Some seroius audio errors.
Back to miui.

I installed the GSI crDroid on the Mi Pad 5 Pro following OPs instructions. First time using a GSI rom and have only had this one installed for a couple of hours. Here's what has not/worked for me.
Working
- Fingerprint scanner
- Front/back cameras
- Wifi and bluetooth
- Touchscreen
- Magisk/GApps
- crDroid and other non-Phh settings
Kind of Working
- Sound. I get audio when I go to YouTube in the browser. System audio (notifications, touch sounds, etc.) don't seem to be working.
Not Working
- Phh Treble settings. Changing them caused bootloops that required going into recovery wiping data and rebooting the system
- Xiaomi keyboard cover doesn't work
- Xiaomi smart pen doesn't work. It can be paired via bluetooth, but but touches aren't registered on the screen

Mileage vary a lot with different GSI, best compatibility usually with phh gsi's
Only bug i found is tap to wake, all other seems ok

Android 12 ab-vndklite phh GSI was released recently, has anyone tried it out yet? I can't do it on my own since my pad 5 hasn't arrived yet.

Please do a review about this Gsi in YouTube

Anyone tried another option? Any GSI working 100%?
I need to replace MIUI asap! Google for Work is VERY bugged
NisseGurra said:
Mileage vary a lot with different GSI, best compatibility usually with phh gsi's
Only bug i found is tap to wake, all other seems ok
Click to expand...
Click to collapse
R u still using this GSI? Any comments? Any other bugs found?

DanielKolikio said:
Anyone tried another option? Any GSI working 100%?
I need to replace MIUI asap! Google for Work is VERY bugged
R u still using this GSI? Any comments? Any other bugs found?
Click to expand...
Click to collapse
Still on PHH gsi, tap to wake broken, but otherwise all ok.
Getting 1h screen on / 10% battery, similar to stock

NisseGurra said:
Still on PHH gsi, tap to wake broken, but otherwise all ok.
Getting 1h screen on / 10% battery, similar to stock
Click to expand...
Click to collapse
Is the ui like a phone?
In settings and quick setting panel

Keyvannn said:
Is the ui like a phone?
In settings and quick setting panel
Click to expand...
Click to collapse
Yes, i have not found any way to enable more tablet like ui.

NisseGurra said:
Yes, i have not found any way to enable more tablet like ui.
Click to expand...
Click to collapse
And how did u get Gapps installed?

DanielKolikio said:
And how did u get Gapps installed?
Click to expand...
Click to collapse
No gapps, microg.

DanielKolikio said:
And how did u get Gapps installed?
Click to expand...
Click to collapse
https://www.reddit.com/r/Android/comments/kuy36f

Could you please provide the downloadlink for the vbmeta.img.
Unfortunatelly i cannot find the right version. thx

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwj5m6CQzZD0AhVZQfEDHfk8CAcQFnoECAUQAQ&url=https%3A%2F%2Fdl.google.com%2Fdevelopers%2Fandroid%2Fqt%2Fimages%2Fgsi%2Fvbmeta.img%3Fhl%3Des-419&usg=AOvVaw3DPxWfxt4GV2IA6JtRnP_N

thx

Related

[GUIDE] Having a decent Android P GSI experience while Markus works.

So, this is how I PERSONALLY got a pretty decent experience on phhussons P GSI.
I am not responsible if something doesn't work or doesn't work the way you want.
Update: The PixelExperience build over on the Treble section works pretty well and eliminates the need for Overlays_Pr1.zip as well as Bitgapps. It's also including gapps (with SetupWizard as well as the pixel launcher). Same bugs as listed below.
Step 1: Trebleizing your phone
Download the latest trebleized Lineage OS ROM by SGCMarkus here and install it.
Make sure to read his guide to repartition your device carefully, otherwise this won't work.
Step 2: Prerequesites to have a nice time with Android P.
Before we wegin with the GSI stuff, you will have to copy the build.prop [or if you have the device fingerprint for your phone, just copy that] to a safe location.
Step 3: Installing the GSI
Download phhusson's latest Pie GSI from here
Unzip it and load it onto your phone's storage.
Proceed with wiping your /system, /data, /cache and Dalvik. Do not wipe /vendor (duh.)
Then install the image by tapping "Install image" button in the selection screen.
Step 4: Installing GAPPS
Download BitGapps from here. (I do **not** recommend using unofficial OpenGapps, as I run into several issues with them.)
[This version of GApps does not include any SetupWizard, which means you will have to download all your apps manually!]
Step 5: Fixing Device not Certified
While the notification doesn't pop up, it is indeed not certified and is (one of) the reason(s) why the phone gets so hot sometimes.
So what you need to do is download Magisk 16.7 (or later) as well as MagiskPropsHideConfig from here
as well as get any terminal app from the Play Store you like. [I personally like Material Terminal, as you can copy/paste in it]
After doing that, open a terminal window and type "props" (without quotation marks). Then select 1 and enter your device fingerprint (either from the build.prop we saved earlier or the fingerprint you saved somewhere)
Step 6: Makin' it nice.
So most of this besides maybe the Vibrator are purely optional, so you can go and enjoy some Pie if you wish.
Vibration:
- reboot to TWRP
- mount /vendor
- Install SGC's sGSI fix from here
- Install temp_vib_fix_joan_v2.zip from the attached files. Doesn't fix the dullness that occurs after some time.
DT2W:
- reboot to TWRP
- mount /system
- Install dt2w_on_gsi_joan.zip
Proper rounded corners and that new navbar[not required on PE P GSI]:
- Reboot to TWRP
- mount /vendor
- Install Overlays_PR1.zip from the attached files. (not mine, it's from erfanoabdi's Telegram group, will add proper credits if i manage to find the creator)
- Navigate to Settings -> System -> Gestures -> Swipe up to home
Additional System Accents (Yay! Colors!)
- Reboot to TWRP
- Install System_Accents_P.zip from the attached files. (not mine, it's from erfanoabdi's Telegram group, will add proper credits if i manage to find the creator)
Always-on Display (DT2W still works!)[Not required on PE P GSI]
According to phhusson, this does more than just enable AOD apparently, and it does something with the vibration, so installing this is on **your own risk** (not like it wasn't anyways)
-Reboot to TWRP
- Install P_AOD_FIX_-_by_ElHechicero.zip (not mine, credit goes to ElHechicero)
Getting Wellbeing [Not requried on PE GSI]:
-Download the Wellbeing.apk from ApkMirror
-Rename it to WellBeing.apk
-Move it into /system/priv-app/WellBeing/ (create the folder WellBeing)
-Reboot
Getting a nicer launcher with the appdrawer[PE P GSI uses the Pixel Launcher]:
-Download Nokias (HMDs) Launcher from ApkMirror
-Rename it to Quickstep.apk
-Replace /system/priv-app/Quickstep/Quickstep.apk with the Nokia launcher (which you renamed to Quickstep)
-Reboot
Issues:
- A lag when tapping on the "Default Apps" or the Bluetooth/NFC area in Settings
- Can get warmer when in playstore
- Vibration: Gets dull and sounds like static after a while. Hopefully SGCMarkus will be able to fix this or we'll be stuck with the dullness on P gsi's for now.
Not working:
-Hotspot
-NFC (?) [Seemed to work just fine on my device]
- Let me (or others, rather.) know.
Credits go to:
SGCMarkus
the LG V30 telegram group for the pointers
erfanoabdi's telegram group
ElHechicero
phhusson​
FAQs:
Is Launcher <Insert Launcher Name here> compatible?
- Any launcher is but don't expect the new Recents-Appdrawer to work.
Does the DAC work?
- Only in certain apps, as for all AOSP roms.
Screenies in attachments
You did a good job! I'm happy to have android pie on v30 but does its dac still not work?
thanks for the tutorial,
depending on your experience, do you think it suitable as a daily driver (I don't mind with the quad DAC) ?
Panokiaran said:
You did a good job! I'm happy to have android pie on v30 but does its dac still not work?
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=77389334&postcount=15
Onkyo HF Player
USB Audio Player PRO
both are able to utilize the quad dac,
with the 2nd you can even use it with streaming
dr.guru said:
thanks for the tutorial,
depending on your experience, do you think it suitable as a daily driver (I don't mind with the quad DAC) ?
Click to expand...
Click to collapse
If you don't depend on Hotspot (and maybe NFC) and don't mind the occasional dullness, then yes. It is very daily driver capable. I'm using it.
Saxithon said:
If you don't depend on Hotspot (and maybe NFC) and don't mind the occasional dullness, then yes. It is very daily driver capable. I'm using it.
Click to expand...
Click to collapse
Any comments on battery life ?
Saxithon said:
Update: The PixelExperience build over on the Treble section works pretty well and eliminates the need for Overlays_Pr1.zip as well as Bitgapps. It's also including gapps (with SetupWizard as well as the pixel launcher). Same bugs as listed below.
Click to expand...
Click to collapse
is this the proper image: click ?
So this will eliminatre the need to install bitggaps, but I still need to go through points 5 and 6, right?
Is Nova compatible with this setup?
zacharias.maladroit said:
https://forum.xda-developers.com/showpost.php?p=77389334&postcount=15
Onkyo HF Player
USB Audio Player PRO
both are able to utilize the quad dac,
with the 2nd you can even use it with streaming
Click to expand...
Click to collapse
Thanks your
rdeets said:
Is Nova compatible with this setup?
Click to expand...
Click to collapse
Any launcher is. Just the new Recents Appdrawer will only work with certain devices. As of now those are working: AOSP Quickstep, Nokia Quickstep(Also called Android One launcher), The Pixel launcher (but doesn't work by installing?? [works on the PE P GSI tho]) and sometime in the future Lawnchair V2.
pizmak said:
is this the proper image: click ?
So this will eliminatre the need to install bitggaps, but I still need to go through points 5 and 6, right?
Click to expand...
Click to collapse
Yup and yup.
zacharias.maladroit said:
https://forum.xda-developers.com/showpost.php?p=77389334&postcount=15
Onkyo HF Player
USB Audio Player PRO
both are able to utilize the quad dac,
with the 2nd you can even use it with streaming
Click to expand...
Click to collapse
if the dac not work with jetaudio and spotify than why treble !!! ?
Sent from my LGM-V300S using XDA Labs
seloka180 said:
if the dac not work with jetaudio and spotify than why treble !!!
Sent from my LGM-V300S using XDA Labs
Click to expand...
Click to collapse
Has nothing to do with treble... its aosp in general.
me2151 said:
Has nothing to do with treble... its aosp in general.
Click to expand...
Click to collapse
thank you
Sent from my LGM-V300S using XDA Labs
why can't you just backup your rom and make a zip file?
everything working good and smooth, but i only can not instal MagiskPropsHideConfig from magisk or TWRP,
and camera always force close, but then open camera doing well in PE room.
ahhh so great to taste the sweetest pie
thanks to you and others dev
much love
Arif Ferdian said:
everything working good and smooth, but i only can not instal MagiskPropsHideConfig from magisk or TWRP,
and camera always force close, but then open camera doing well in PE room.
ahhh so great to taste the sweetest pie
thanks to you and others dev
much love
Click to expand...
Click to collapse
Have the same issue. Fixed by going to TWRP, wipe cache & Dalvik and then reflash the Magisk 16.7 zip, then boot to OS and install MagiskPropsHideConfig.
@Saxithon your thread name suggests that @SGCMarkus is working on sth.
Will he make a flashable zip of the Pie ROM that we can flash without treblezing?
FcBayernMinga said:
@Saxithon your thread name suggests that @SGCMarkus is working on sth.
Will he make a flashable zip of the Pie ROM that we can flash without treblezing?
Click to expand...
Click to collapse
Im working on Pie, kinda, but atm im stuck somewhere...
Have to figure out wtf is going on there
Followed the treble parttioning guide, flashed EnesSastim pixel expirience rom, and im happy to report its working fine so far. Left my Ext sdcard in exfat fromat working well so far too. Did not need to recertify my device. And no error after the setup wizard. I will change the apn settign to see if i can get lte, so far i am 4g.
Edit: cant seem to be able to use camera, even with open camera app.

[PATCHES] For getting the best out of treble roms. [Notch, Sound and NFC fixed]

Hello everybody!
This patch is for getting the notch working on treble roms.
- Tested on PHH Treble (9.0)
Manual:
Mount system and vendor in TWRP
adb push treble-overlay-xiaomi-mi8.apk /vendor/overlay/treble-overlay-xiaomi-mi8.apk
adb push treble-overlay-xiaomi-mi8.apk /system/overlay/treble-overlay-xiaomi-mi8.apk
Download: treble-overlay-xiaomi-mi8.apk
To fix the crappy sound:
- Reboot into TWRP
- Mount vendor
- Use file manager to remove the whole soundfx direcory (/vendor/lib64/soundfx)
To fix NFC:
- Download the zip (over here)
- Reboot into TWRP
- Mount vendor
- Flash the zip
Current bugs on phh-treble (9.0) :
- Fingerprintscanner pretend to be an enter / select key.
- Camera is not yet the quallity of the stock MIUI
- Hotspot is not working (Bluetooth thering does work)
PS:
If you find something to patch, let me now!
Also if you got a patch, be nice to share it
is there treble roms wotking for our mi8?
Vihru said:
is there treble roms wotking for our mi8?
Click to expand...
Click to collapse
All treble roms will work on Mi 8, because it's launched with Android 8.0 or higher.
The Mi 8 is an A-Only version, so you have the flash the A-only image
It's only possible some features wont work, like wifi, camera and fingerprint scanner.
I use the PHH Treble (9.0) rom and I'm really satisfied
Still waiting on my Mi 8 to arrive, but I'm glad you figured out how to implement the notch! mind sharing an image of what the notifications look like now? does it have the overflow dot when the notifications exceed the room?
Thank you, this works great
EErez said:
Still waiting on my Mi 8 to arrive, but I'm glad you figured out how to implement the notch! mind sharing an image of what the notifications look like now? does it have the overflow dot when the notifications exceed the room?
Click to expand...
Click to collapse
At the moment I have no notifications, so I will wait for notifications and make a screen of it! :laugh:
EDIT:
I've got enough notifications to make a screen of it!
Thanks, appreciate it. looks good, only problem is now that the clock is on the left there is only room for 2 notifications it seams. Wonder if there is any way to move the clock back to the right to make more room?
EErez said:
Thanks, appreciate it. looks good, only problem is now that the clock is on the left there is only room for 2 notifications it seams. Wonder if there is any way to move the clock back to the right to make more room?
Click to expand...
Click to collapse
It's for now possible with an Substratum theme to move the clock to the position you want.
Here is the link to the theme: StatusBar Clock
It works on the Mi 8
NielsvdS said:
At the moment I have no notifications, so I will wait for notifications and make a screen of it! :laugh:
EDIT:
I've got enough notifications to make a screen of it!
Click to expand...
Click to collapse
Oh how you get wifi working? Any patch?
xdamami said:
Oh how you get wifi working? Any patch?
Click to expand...
Click to collapse
I've installed the phh-treble over MIUI, I've did a factory reset with TWRP and flashed the system with the phh-treble image
i need guide install rom treble on Mi8, share me plz
Ziarrr said:
i need guide install rom treble on Mi8, share me plz
Click to expand...
Click to collapse
same. I've never touched treble before. I'm using xiaomi.eu rom at the moment but i'd much rather get away from miui to something more stock. Also does Xposed work?
NielsvdS said:
All treble roms will work on Mi 8, because it's launched with Android 8.0 or higher.
The Mi 8 is an A-Only version, so you have the flash the A-only image
It's only possible some features wont work, like wifi, camera and fingerprint scanner.
I use the PHH Treble (9.0) rom and I'm really satisfied
Click to expand...
Click to collapse
Are there any bugs that u are facing?
bassbounce said:
Are there any bugs that u are facing?
Click to expand...
Click to collapse
Only the annoying soundbug with notification and alarm sounds, the other are fixed by ViperFX 1.7
Also the fingerprint sensor pretends to be the enter of the select key.
I have to figure it out where it is going wrong, so I can fix it with an other patch :good:
Ziarrr said:
i need guide install rom treble on Mi8, share me plz
Click to expand...
Click to collapse
Tomorrow I will make a guide!
I also had to figure it out what to do and I have been stuck, so it's nice to share my experience with installing a full treble rom.
Can we all do this using TWRP or we need a PC?
Wow this is great ! Could very well be the first ever custom rom for Mi 8?
Can you list all working and non-working features on your Treble ROM?
samwise110712 said:
Can we all do this using TWRP or we need a PC?
Click to expand...
Click to collapse
It is possible! download the apk.
Reboot into recovery, just mount system and vendor in TWRP
Use the filemanager in TWRP:
- Copy the apk from your internal storage
- Paste it at /vendor/overlay
- Copy the apk again
- Paste /system/overlay
NielsvdS said:
It is possible! download the apk.
Reboot into recovery, just mount system and vendor in TWRP
Use the filemanager in TWRP:
- Copy the apk from your internal storage
- Paste it at /vendor/overlay
- Copy the apk again
- Paste /system/overlay
Click to expand...
Click to collapse
Thanks!
What about camera quality in treble roms? ist it good or much worse than on miui roms?

Treble Project for Huawei p20

Since we don't really have a developer for our device, my thought was we can open a thread and share our experiences with treble Rom's.
Anyone got an Android P Treble Rom running?
For example:
-------------------------------------------
Havoc 2.0 :
- https://forum.xda-developers.com/pr...-device-development/rom-havoc-os-8-1-t3819050
- Don't boot (Stuck at "You're Device is unlocked")
-------------------------------------------
Havoc 1.0
- https://sourceforge.net/projects/ha...oc-arm64_aonly_vanilla_nosu-0819.zip/download
- For me the best UI ever (a lot like Android P)
-> Not Working:
- Fingerprint Scanner, automatic brightness adjustment (fix: https://forum.xda-developers.com/pr.../overlay-enable-night-light-adaptive-t3741965 )
-> Working:
- everything else
(if you want me to check some specific just ask )
-------------------------------------------
Schubi97 said:
Since we don't really have a developer for our device, my thought was we can open a thread and share our experiences with treble Rom's.
Anyone got an Android P Treble Rom running?
For example:
-------------------------------------------
Havoc 2.0 :
- https://forum.xda-developers.com/pr...-device-development/rom-havoc-os-8-1-t3819050
- Don't boot (Stuck at "You're Device is unlocked")
-------------------------------------------
Click to expand...
Click to collapse
Good Idea. Keep it alive. I just have my bootloader unlocked, no root, no custom recovery, so no experience from my side ?
Phh Treble
https://forum.xda-developers.com/pr...opment/experimental-phh-treble-t3709659/page1
-Not working: NFC, Volte, Hotspot
burgess_boy said:
Phh Treble
https://forum.xda-developers.com/pr...opment/experimental-phh-treble-t3709659/page1
-Not working: NFC, Volte, Hotspot
Click to expand...
Click to collapse
I thought hotspot was fixed a while ago, I tried Phh but went to back to EMUI but I don't recall having hotspot broken
You all have fingerprints working on these roms?
Fingerprints were not getting stored....
deepsrd said:
You all have fingerprints working on these roms?
Fingerprints were not getting stored....
Click to expand...
Click to collapse
No I do not think that works for any Treble Rome yet
Not treble rom per se.. ..
But grab Luk's P20 Pro rom, and extract the system.img from it and flash on the P20.
Works great.. (including fingerprints)
NFC does not work..
Cheers!
To install treble rom i need unlocked bootloader?
g_oral said:
To install treble rom i need unlocked bootloader?
Click to expand...
Click to collapse
Yes, unfortunately you do
Schubi97 said:
Havoc 1.0
- https://sourceforge.net/projects/ha...oc-arm64_aonly_vanilla_nosu-0819.zip/download
- For me the best UI ever (a lot like Android P)
-> Not Working:
- Fingerprint Scanner, automatic brightness adjustment (fix: https://forum.xda-developers.com/pr.../overlay-enable-night-light-adaptive-t3741965 )
-> Working:
- everything else
(if you want me to check some specific just ask )
-------------------------------------------
Click to expand...
Click to collapse
How are you installing Havoc 1.0, the link you have added is for Kirin 960 devices. Did you extract the firmware file?
burgess_boy said:
How are you installing Havoc 1.0, the link you have added is for Kirin 960 devices. Did you extract the firmware file?
Click to expand...
Click to collapse
Just download the file Havoc-arm64_aonly_vanilla_nosu-0819.zip on https://sourceforge.net/projects/havoc-os/files/arm64aonly/
- Extract it
- and flash the .img file
Schubi97 said:
Just download the file Havoc-arm64_aonly_vanilla_nosu-0819.zip on https://sourceforge.net/projects/havoc-os/files/arm64aonly/
- Extract it
- and flash the .img file
Click to expand...
Click to collapse
I've tried flashing with fastboot commands and can't boot. I'll try with TWRP.
UPDATE: Flashed successfully, however I get a vendor img mismatch error. Is this normal?
burgess_boy said:
I've tried flashing with fastboot commands and can't boot. I'll try with TWRP.
Click to expand...
Click to collapse
Are you sure you've downloaded the correct version not the PIE one?
Stuck it on Bootscreen?
If yes did you erased Data in TWRP?
Schubi97 said:
Are you sure you've downloaded the correct version not the PIE one?
Stuck it on Bootscreen?
If yes did you erased Data in TWRP?
Click to expand...
Click to collapse
Yeh I was flashing the Android Pie system file. Did you get a vendor img mismatch message on boot. Also which package of gapps did you install with this rom.
burgess_boy said:
Yeh I was flashing the Android Pie system file. Did you get a vendor img mismatch message on boot. Also which package of gapps did you install with this rom.
Click to expand...
Click to collapse
Yeah i do so but that isn't a problem for me.
For Gapps: "Mind the Gapps" https://androidfilehost.com/?fid=3700668719832236382
Schubi97 said:
Yeah i do so but that isn't a problem for me.
For Gapps: "Mind the Gapps" https://androidfilehost.com/?fid=3700668719832236382
Click to expand...
Click to collapse
Havoc OS 1.0 works extremely well and I am very impressed with it. It also has a vast amount of Android P UI features already built in which is impressive for an 8.1 rom.
The only issue I have had, which I am monitoring, is that some apps randomly crash. A reboot appears to fix this issue.
burgess_boy said:
Havoc OS 1.0 works extremely well and I am very impressed with it. It also has a vast amount of Android P UI features already built in which is impressive for an 8.1 rom.
The only issue I have had, which I am monitoring, is that some apps randomly crash. A reboot appears to fix this issue.
Click to expand...
Click to collapse
I do not have that problem..
Did you make a clean flash ("erase data" and "factory reset" after flashing)
Schubi97 said:
I do not have that problem..
Did you make a clean flash ("erase data" and "factory reset" after flashing)
Click to expand...
Click to collapse
Seems to have worked itself out l, I did erase data and factory reset. How did you find battery life? Seems to be discharging a lot quicker than stock. I've got better battery stats set up to investigate.
burgess_boy said:
Seems to have worked itself out l, I did erase data and factory reset. How did you find battery life? Seems to be discharging a lot quicker than stock. I've got better battery stats set up to investigate.
Click to expand...
Click to collapse
Did you install the overlay mentioned in my first post?
This fixed my problems with the battery
Schubi97 said:
Did you install the overlay mentioned in my first post?
This fixed my problems with the battery
Click to expand...
Click to collapse
Thanks, I had installed it but found out it was working correctly. Changed file permissions and everything is working.

[GSI][9.0][Compatible] AOSP Phh-Treble v109 (and above)

Hi, all!
Simple instruction how to install AOSP rom. Plus overview and feedback, i hope)
First, you need:
1.1. basic knowledge how to using ADB, fastboot and recovery
1.2. clean flashed 9.6.11.0 stock rom
Files:
2.1. TWRP for daisy (official or patched by me for external SD-card and UTF-8 support)
2.2. GSI v110 AOSP rom for arm64-ab (gapps and vanilla variants tested by me)
2.3. attachments
Procedure:
3.1. format you DATA with recovery (!CAUTION! all files from internal storage will lost!)
3.2 on the PC unpack *.xz rom archive to system.img with 7-Zip archivator
3.2. connect phone to PC and go to bootloader mode
3.3. flash unpacked rom image:
fastboot flash system system.img
3.4. when done, run TWRP:
fastboot boot twrp-3.2.3-0-daisy.img
/or fastboot boot twrp-3.2.3-0-daisy_zero.img/
3.5. in TWRP mount /vendor partition and run on the PC (this fix for disable ForceEncryption):
adb push fstab.qcom.txt /vendor/etc/fstab.qcom
3.6. in TWRP mount /system partition and run adb:
adb push uinput-goodix.kl.txt /system/system/usr/keylayout/uinput-goodix.kl
this fix tuning fingerprint gestures: swipe from left2right is "paste-text-from-buffer", swipe from up2down is "wakeup-screen"
3.7. unmount partitions and reboot to system from TWRP. all done!!!:fingers-crossed:
.
Overview of ROM is here https://forum.xda-developers.com/showpost.php?p=78744887&postcount=1481
one bug is founded - camera not worked in DnD mode
add: phhusson gave quick fix for camera in DnD mode!
just do it:
adb root
...(...wait 1-2sec...)...
adb shell "echo audio.camerasound.force=true >> /data/local.prop"
adb shell "chmod 0600 /data/local.prop"
then restart phone))
.
Is pull-down of notification bar working in landscape mode?
Sent from my Phh-Treble vanilla using Tapatalk
cd492 said:
Is pull-down of notification bar working in landscape mode?
Sent from my Phh-Treble vanilla using Tapatalk
Click to expand...
Click to collapse
of course)
eremitein said:
of course)
Click to expand...
Click to collapse
No I mean't when you play a game for example and have fullscreen.
---------- Post added at 02:29 PM ---------- Previous post was at 02:06 PM ----------
Ok I successfully installed and tested it, everything is working as intended but what I'd like to know, what is the difference to the latest Stock Rom?
cd492 said:
Ok I successfully installed and tested it, everything is working as intended but what I'd like to know, what is the difference to the latest Stock Rom?
Click to expand...
Click to collapse
well good!
this is a pure AOSP android, it was created to be simple and work quickly and without problems))
in stock we have a lot of crap. in recent stock versions after update sometimes system are broken. did you have problems on the Pie stock, no?)
and I ask you to check in AOSP whether the camera starts up in "Do not disturb" mode. thanks
eremitein said:
well good!
this is a pure AOSP android, it was created to be simple and work quickly and without problems))
in stock we have a lot of crap. in recent stock versions after update sometimes system are broken. did you have problems on the Pie stock, no?)
and I ask you to check in AOSP whether the camera starts up in "Do not disturb" mode. thanks
Click to expand...
Click to collapse
Sorry I already flashed PixelDust again and didn't test the camera in dnd mode.
Sent from my Phh-Treble vanilla using Tapatalk
With all due respect, no one should flash GSI roms. No matter how cool it is, they are unoptimized and don't receive any updates. I was on a GSI rom for the longest time and never once was it updated. Which means you'll be behind on security patches, which unfortunately, is rather important.
Project Treble is a failure. Good tutorial for those willing to risk it tho.
kftX said:
With all due respect, no one should flash GSI roms. No matter how cool it is, they are unoptimized and don't receive any updates. I was on a GSI rom for the longest time and never once was it updated. Which means you'll be behind on security patches, which unfortunately, is rather important.
Project Treble is a failure. Good tutorial for those willing to risk it tho.
Click to expand...
Click to collapse
So, if you don't care about security updates it's a win?
The only reason people search for other roms is because of the features they have.
Also, good maintainers update their roms weekly (or daily for betas)
kftX said:
With all due respect, no one should flash GSI roms. No matter how cool it is, they are unoptimized and don't receive any updates. I was on a GSI rom for the longest time and never once was it updated. Which means you'll be behind on security patches, which unfortunately, is rather important.
Project Treble is a failure. Good tutorial for those willing to risk it tho.
Click to expand...
Click to collapse
man, stock version for our device had sec update on the 17-th or 18-th january.
phhAOSP released january 8.
so, which version is better supported?)
and more important - after stock update many people have very huge problems.
i'm search a good GSI only because stock version not good
eremitein said:
man, stock version for our device had sec update on the 17-th or 18-th january.
phhAOSP released january 8.
so, which version is better supported?)
and more important - after stock update many people have very huge problems.
i'm search a good GSI only because stock version not good
Click to expand...
Click to collapse
Yeah, keep doing this!
I used havoc for a long time, but in the end bb was too bad, compared to stock. RR7 is much too laggy, and freezes and sometimes has no incall sound...
What we should do is focussing on one or two gsi's and modifying everything, sothat it will run on our device properly.
Under QA section there are many solutions for those problems. We only need to put them all together in one thread, connected to the right gsi...
I tried almost all GSI Roms and the only Rom which satisfies me is the PixelDust for Daisy. Only the notch isn't perfect but that's not so important.
The Stock Roms are a now go for me, I can't even swap the nav buttons and I don't care about security updates at all.
Sent from my Phh-Treble vanilla using Tapatalk
cd492 said:
I tried almost all GSI Roms and the only Rom which satisfies me is the PixelDust for Daisy. Only the notch isn't perfect but that's not so important.
The Stock Roms are a now go for me, I can't even swap the nav buttons and I don't care about security updates at all.
Sent from my Phh-Treble vanilla using Tapatalk
Click to expand...
Click to collapse
Is Pixeldust usable with p-base?
Voodoojonny said:
Is Pixeldust usable with p-base?
Click to expand...
Click to collapse
Tried it only with 9.6.4.0 so far.
RR7 work fine without lag or freeze with 9.6.9.0 base, twrp zero.
Very smooth
alcopsy said:
RR7 work fine without lag or freeze with 9.6.9.0 base, twrp zero.
Very smooth
Click to expand...
Click to collapse
hi
RR have that's bugs, can you confirm?
[[ Bugs ]]
:: charger indicator not work
:: in call time touch sensor not disable
:: not to be able to pull quick settings in landscape/fullscreen mode
:: not work hi-res video recording?
eremitein said:
hi
RR have that's bugs, can you confirm?
[[ Bugs ]]
:: charger indicator not work
:: in call time touch sensor not disable
:: not to be able to pull quick settings in landscape/fullscreen mode
:: not work hi-res video recording?
Click to expand...
Click to collapse
1.yes (led)
2.no
3. no problem with QS
4.i don't know
alcopsy said:
2.no
3. no problem with QS
Click to expand...
Click to collapse
are you sure?
because other people confirmed
- in call time touch sensor not disable
- not to be able to pull quick settings in landscape/fullscreen mode
eremitein said:
are you sure?
because other people confirmed
- in call time touch sensor not disable
- not to be able to pull quick settings in landscape/fullscreen mode
Click to expand...
Click to collapse
I've had sensor not disable un official rom, not have for me in RR.
I can confirm quick setting no work in fullscreen..
alcopsy said:
I've had sensor not disable un official rom, not have for me in RR.
I can confirm quick setting no work in fullscreen..
Click to expand...
Click to collapse
yep, that RR problems... and i don't know how to fix it(
in phhAOSP works
and in my case sensor disabled in other rom and on the stock, but not in RR

How To Guide A Complete Guide to Unlocking and Flashing for the A52s 5G.

Disclaimer​
Your warranty will be void
Some carriers' Terms of Service prohibit device modifications
Modifying will trip Samsung Knox and SafetyNet, so be aware that some apps will cease to work
I AM NOT RESPONSIBLE FOR BRICKED DEVICES, FAILED ATTEMPTS AND OTHER CAUSES OF IMPROPER USAGE OF THIS GUIDE!​Now that we got that out of the way, we can continue.
Unlocking the Bootloader​UNLOCKING THE BOOTLOADER WILL ERASE ALL OF YOUR DATA!​
Go into Settings > About Phone > Software Information
Find Build Number and quickly tap it 7 times. This will enable Developer Options
Find OEM Unlocking and USB Debugging options and enable them
Turn off the phone
Hold Volume Up and Volume Down while connecting your phone to a PC to boot into Download Mode
Read the Warning carefully to understand it and then if you want to continue press Volume Up
On the Unlock Bootloader screen, press and hold the Volume Up button one more time (This is the step that erases all of your data, if you don't want to do it, now is the time to turn back!)
After the automatic reboot, repeat steps 1. - 3. and make sure that OEM Unlocking is greyed out and enabled
Congratulations! You bootloader is now unlocked.
Flashing a Custom Recovery​Credit to @BlackMesa123 for this guide.
Rooting your Phone​
Download the latest version of Magisk on your Computer
Follow the Official Installation Guide from Magisk developers
Flashing a GSI (Generic System Image)​
Choose a GSI from this List
Power Off your phone and connect it to your Computer
Hold Volume Up and Power buttons, after the logo appears, release only the Power button, this will boot you into TWRP
Do a Wipe and transfer the GSI file from you Computer to your Phone
Click Install >Image Flashing, find your transferred GSI file and tap on it.
Toggle the System Image option and flash the file.
After flashing Format Data to be able to boot into your new System.
I know your Camera doesn't work, don't worry check out this Post to get it to work again.
Useful Resources​
A52s bootloader/modem collection repository
OrangeFox Recovery
SafetyNet Fix for Magisk (Zygisk)
Custom ROMs: RayOS (One UI 4.1), NcX (One UI 5.0)
Mesa's Custom Kernel
Credit to @BlackMesa123 @Ryzen5950XT @ShaDisNX255 for the additional resources.
That's it! Thank you for following the guide and enjoy your unlocked Samsung.
This is very helpful thanks
Thank you for the guide. Here's some additional resources/changes that can be added in the post:
- A52s bootloader/modem collection repository
- OrangeFox Custom Recovery, same as TWRP but with a different UI
- SafetyNet and (some) Knox features can still work with the correct adjustments. See the SafetyNet fix for Magisk (Zygisk) or custom ROM's such as RayOS (One UI 4.1), NcX (One UI 5.0)
- Mesa's Custom Kernel, greatly improves device's performance
Hoping to see the list enhanced soon.
BlackMesa123 said:
Thank you for the guide. Here's some additional resources/changes that can be added in the post:
- A52s bootloader/modem collection repository
- OrangeFox Custom Recovery, same as TWRP but with a different UI
- SafetyNet and (some) Knox features can still work with the correct adjustments. See the SafetyNet fix for Magisk (Zygisk) or custom ROM's such as RayOS (One UI 4.1), NcX (One UI 5.0)
- Mesa's Custom Kernel, greatly improves device's performance
Hoping to see the list enhanced soon.
Click to expand...
Click to collapse
Thank you for the links, thread is now updated.
Quick question, with MCK, should I wipe everything before/after flashing and will it work with PE+ GSI?
kzyx said:
Thank you for the links, thread is now updated.
Quick question, with MCK, should I wipe everything before/after flashing and will it work with PE+ GSI?
Click to expand...
Click to collapse
You shouldn’t wipe anything when flashing the kernel. If the stock kernel works fine, I don’t see why mine shouldn’t
Everything is working perfectly, thanks for the guide. I installed the PixelExperience GSI but for some reason Fingerprint sensor is not working. The process is stuck on "Touch the sensor" and the sensor is not lighting up. Yes, I set the color of fingerprint sensor to White (and even tried all other colors).
I even have the following options checked
- Enable Extra Sensor
- Enable workaround for broken fingerprint sensor
- Enable workaround for white-ish screen
Any help will be appreciated, thanks.
Mian-786 said:
Everything is working perfectly, thanks for the guide. I installed the PixelExperience GSI but for some reason Fingerprint sensor is not working. The process is stuck on "Touch the sensor" and the sensor is not lighting up. Yes, I set the color of fingerprint sensor to White (and even tried all other colors).
I even have the following options checked
- Enable Extra Sensor
- Enable workaround for broken fingerprint sensor
- Enable workaround for white-ish screen
Any help will be appreciated, thanks.
Click to expand...
Click to collapse
I don't know what could be the issue, maybe try to google or try disabling and enabling the fingerprint lock again.
I have tried few GSI Roms. Here is my summary:
Android 13
- AOSP, Android 13, No image with GAPPs pre-installed and cannot seem to install it. Tried NikGAPPs, and LiteGAPPs, both didn't work
- Google GSI, Android 13, same issue
- Pixel Experience, Android 13, GAPPs pre-installed but Fingerprint sensor won't get detected.
Android 12
- AOSP, Android 12, GAPPs pre-installed, Fingerprint sensor detected (changing color to white). Will stick to it unless there is an issue detected.
Mian-786 said:
I have tried few GSI Roms. Here is my summary:
Android 13
- AOSP, Android 13, No image with GAPPs pre-installed and cannot seem to install it. Tried NikGAPPs, and LiteGAPPs, both didn't work
- Google GSI, Android 13, same issue
- Pixel Experience, Android 13, GAPPs pre-installed but Fingerprint sensor won't get detected.
Android 12
- AOSP, Android 12, GAPPs pre-installed, Fingerprint sensor detected (changing color to white). Will stick to it unless there is an issue detected.
Click to expand...
Click to collapse
Thanks for the feedback, have you tried any ROMs instead of GSIs?
You have links for them in this thread.
kzyx said:
Thanks for the feedback, have you tried any ROMs instead of GSIs?
You have links for them in this thread.
Click to expand...
Click to collapse
Nope, I tried to find a good custom rom for A52s but couldn't find any.
What about volte and hotspot on GSI pixel experience 13?
Mian-786 said:
I have tried few GSI Roms. Here is my summary:
Android 13
- AOSP, Android 13, No image with GAPPs pre-installed and cannot seem to install it. Tried NikGAPPs, and LiteGAPPs, both didn't work
- Google GSI, Android 13, same issue
- Pixel Experience, Android 13, GAPPs pre-installed but Fingerprint sensor won't get detected.
Android 12
- AOSP, Android 12, GAPPs pre-installed, Fingerprint sensor detected (changing color to white). Will stick to it unless there is an issue detected.
Click to expand...
Click to collapse
Thanks for your summary,
Is there any experience with MicroG on this device with AOSP 13?
7slaper said:
Thanks for your summary,
I'm on AOSP 13 now, but perhabs it's better to go back to 12. I'm very interested in the AOSP with the GAPPs pre-installed. Could you share a link to the file?
Click to expand...
Click to collapse
I got the image from AOSP under the official Android 12/12L section. You can find release here. The exact image I got is the system-squeak-arm64-ab-vndklite-gapps-secure.img.xz one since the standard gapps one came with an app called "superuser" which I couldn't seem to uninstall (I tried the scripts to remove supersu). This caused my banking apps to not run. That is why I installed the "secure" one and then installed Magisk and added my banking apps to the defylist.
Zhazhael said:
What about volte and hotspot on GSI pixel experience 13?
Click to expand...
Click to collapse
I think VoLTE was available as an option in one of the ROM I tested but I don't remember exactly. Currently AOSP 12 doesn't support it. Hotspot worked on every ROM just fine.
Mian-786 said:
I got the image from AOSP under the official Android 12/12L section. You can find release here. The exact image I got is the system-squeak-arm64-ab-vndklite-gapps-secure.img.xz one since the standard gapps one came with an app called "superuser" which I couldn't seem to uninstall (I tried the scripts to remove supersu). This caused my banking apps to not run. That is why I installed the "secure" one and then installed Magisk and added my banking apps to the defylist.
Click to expand...
Click to collapse
Hi Mian,
Thanks for your response. When I typed my question I realized that in the end I want to have and de-googled phone. So I changed my question in the direction of MicroG. I didn't expect you to be so quick with answering.
7slaper said:
Hi Mian,
Thanks for your response. When I typed my question I realized that in the end I want to have and de-googled phone. So I changed my question in the direction of MicroG. I didn't expect you to be so quick with answering.
Click to expand...
Click to collapse
I haven't tried MicroG in any of the ROM. I just to have as little Google apps as possible but if you do find a good guide, let me know, I will try to use a de-googled phone.
Thx, all worked.
Mian-786 said:
I haven't tried MicroG in any of the ROM. I just to have as little Google apps as possible but if you do find a good guide, let me know, I will try to use a de-googled phone.
Click to expand...
Click to collapse
I've installed MicroG. But it seems AOSP doen't allaw support system spoofs signature. Play services (GmsCore) is installed but without the spoofed signature it can't do much I guess...
I have been using AOSP Android 12 for the past week or so. Most of the things just plain works but somethings don't. Here is the list of things that are not working so you can decide if the hassle of installing GSI is worth it or not.
- Proximity Sensor is worse than it was in OneUI. Yes, it is a virtual sensor but on OneUI, it worked better. Now, it is worse. More often than not, it turns on the screen during the call. It would have been better if it simply didn't work.
- The viewport of default camera App in the AOSP displays picture in 4:3 but the camera hardware is giving out 16:9, so the viewport was squeezed. After installing GCam everything is good.
- Fingerprint Sensor simply doesn't work in-app like those in banking apps. It works on the lock screen but nowhere else.
- USB Audio Devices don't work. I have a USB-C to A OTG where I used to insert my headphones. On OneUI they used to work but here they don't. Storage devices work.
- 120 Hz felt smoother on OneUI.
Hello everyone
I managed to install LineageOS with working GApps and camera using this guide, so a big thanks to everyone who worked on flashing this phone
If anyone wants to install it, you need to:
Chose a bgN package (I installed this one : https://sourceforge.net/projects/an...UNOFFICIAL-arm64_bgN-vndklite.img.xz/download). It includes the GApps. You won't be able to install GApps after installing a vanilla (bvS / bvN) package. For some reasons, the /system partition is too small.
For unlocking camera and install magisk, just flash this kernel : https://forum.xda-developers.com/t/kernel-12-13-a528b-n-mesas-custom-kernel-r4.4490653/
I also installed magiskhide prop conf module, but I'm not sure it changed anything and the camera fix was probably already in the MCK. You can find it here anyway : https://forum.xda-developers.com/t/...safetynet-prop-edits-and-more-v6-1-2.3789228/

Categories

Resources