I have tested 2 GSI's so far, phh's AOSP and AndyYan's LineageOS 19.1.
Everything works so far except:
Install Prove N's Unofficial TWRP and follow his guide. DONT INSTALL MAGISK, IT HAS THE IMEI PROBLEM AND ITS NOT TESTED WITH GSIs
Download your preferred GSI, I recommend lineage-19.1-20220320-UNOFFICIAL-arm64_bvS.img.xz, comes without GAPPS (Use bgS if you want em).
Extract it and rename the .img file to system.img
(Optional) Download this vendor.img, I made a treble overlay and added it to the image. The rom should be more stable and power management should be fixed with that. I still have to push the changes to github.
Download ChonDoe_Flasher.zip, it's a tool to flash dynamic partitions. It checks your storage for system.img and vendor.img.
Get a microSD card, and copy to the root of it the ChonDoe_Flasher.zip, system.img and vendor.img.
Boot to TWRP, and install the ChonDoe zip, wait till it finishes flashing.
Reboot to TWRP again, so it can mount the vendor partition again, go to the terminal and type multidisabler, so we remove encryption.
Format data, internal storage and reboot, you should be ready to go.
Settings in PHH Treble Settings
I know MTP can be fixed changing the kernel driver, I have compiled the kernel from @Prove N. , he had some USB fixes, but I don't know how to pack it for Samsung, It could be nice to have it for GSIs. If anyone wants to help me with these small issues it would be awesome.
Report bugs, workarounds and fixes here in this thread, let's try to make this phone usable!
Everything works so far except:
- MTP file transfer
- Fingerprint reader
- File encryption (GSIs don't boot if you dont disable encryption)
Install Prove N's Unofficial TWRP and follow his guide. DONT INSTALL MAGISK, IT HAS THE IMEI PROBLEM AND ITS NOT TESTED WITH GSIs
Download your preferred GSI, I recommend lineage-19.1-20220320-UNOFFICIAL-arm64_bvS.img.xz, comes without GAPPS (Use bgS if you want em).
Extract it and rename the .img file to system.img
(Optional) Download this vendor.img, I made a treble overlay and added it to the image. The rom should be more stable and power management should be fixed with that. I still have to push the changes to github.
Download ChonDoe_Flasher.zip, it's a tool to flash dynamic partitions. It checks your storage for system.img and vendor.img.
Get a microSD card, and copy to the root of it the ChonDoe_Flasher.zip, system.img and vendor.img.
Boot to TWRP, and install the ChonDoe zip, wait till it finishes flashing.
Reboot to TWRP again, so it can mount the vendor partition again, go to the terminal and type multidisabler, so we remove encryption.
Format data, internal storage and reboot, you should be ready to go.
Settings in PHH Treble Settings
- Go to Samsung features and check "Enable extended brightness range" and "Enable access to all cameras".
- Go to Misc features and check "Use alternate way to detect headsets"
- To get the display working at 90hzs go to "Force FPS" and check the option.
- On camera check "Expose Aux cameras" and "Force Enable Camera2API HAL3" (In theory you should get better photos with that but I didn't go outside today lol)
I know MTP can be fixed changing the kernel driver, I have compiled the kernel from @Prove N. , he had some USB fixes, but I don't know how to pack it for Samsung, It could be nice to have it for GSIs. If anyone wants to help me with these small issues it would be awesome.
Report bugs, workarounds and fixes here in this thread, let's try to make this phone usable!