Hi all,
as the GSI topic here is still having a few issues, i have created a gsi overlay as per phhussons instructions:
https://github.com/phhusson/treble_experimentations/wiki/How-to-create-an-overlay
The source code can be found here:
https://github.com/mKenfenheuer/vendor_hardware_overlay
Build/install instructions:
(Assuming you have a recent Ubuntu/Debian/Mint Linux machine running)
1. Install xmlstarlet and dos2unix
2. Go to build folder
3. Run bash build.sh
4. Copy treble-overlay-realme-x2pro.apk to /system/overlay in your gsi.
5. add the following property to /vendor/build.prop or replace with the attached build.prop
# Patch to add device specific match for treble overlays by mkenfenheuer
ro.vendor.build.overlay.deviceid=RMX1931
Works (confirmed by me):
- Always on display
- 90hz display
'Should' be working:
- Enables DT2W option but enabling does not seem to have any effect to me.
- VOLTE - i cannot test as my carrier does not offer this anymore
- more reliable network connection (i have noticed far less lte issues, but this is my perception)
MISC:
- Imported the settings from realme vendor (i don't know if they are nescessary)
If there are any issues, simply delete the file from /system/overlay with recovery file manager and reboot.
I've added the compiled apk to this post, in case you do not want to build it yourself.
as the GSI topic here is still having a few issues, i have created a gsi overlay as per phhussons instructions:
https://github.com/phhusson/treble_experimentations/wiki/How-to-create-an-overlay
The source code can be found here:
https://github.com/mKenfenheuer/vendor_hardware_overlay
Build/install instructions:
(Assuming you have a recent Ubuntu/Debian/Mint Linux machine running)
1. Install xmlstarlet and dos2unix
2. Go to build folder
3. Run bash build.sh
4. Copy treble-overlay-realme-x2pro.apk to /system/overlay in your gsi.
5. add the following property to /vendor/build.prop or replace with the attached build.prop
# Patch to add device specific match for treble overlays by mkenfenheuer
ro.vendor.build.overlay.deviceid=RMX1931
Works (confirmed by me):
- Always on display
- 90hz display
'Should' be working:
- Enables DT2W option but enabling does not seem to have any effect to me.
- VOLTE - i cannot test as my carrier does not offer this anymore
- more reliable network connection (i have noticed far less lte issues, but this is my perception)
MISC:
- Imported the settings from realme vendor (i don't know if they are nescessary)
If there are any issues, simply delete the file from /system/overlay with recovery file manager and reboot.
I've added the compiled apk to this post, in case you do not want to build it yourself.
Attachments
-
20.3 KB Views: 91
-
1.9 KB Views: 47
Last edited: