Sorry to report that I have the same issues with the latest AOSP_12_Jan_7 build than the previous one.
Hmm. so sad to hear this. Any guys who have a computer could try building the rom?Sorry to report that I have the same issues with the latest AOSP_12_Jan_7 build than the previous one.
Dear bro,That's actually what I started looking into ... I haven't built a rom since Gingerbread, so bear with meDo you have a specific git and/or tutorial ? Currently, I am checking out the AOSP (GSI and normal), phhusson stuff. I was also gonna checkout the mata source code just in case. Thank god for WSL cause I don't have a Linux box lying around anymore that have the required specs.
This boots properly, but like in all Android 12 based GSI's, wifi is broken ... Android 12 kernel is probably missing the wifi modules/driver. We seems to be making progressDear bro,
As some ones reported that using the android-12-enabled kernel together with AOSP can be a successful solution.
Therefore, I have built a new image with android-12 kernel and system AOSP 11.
The link to the new build I have updated on #3 post. Could you please help me try it?
For the confirmation, the wifi works normally on AOSP 11 but is broken in Android 12 GSI? Is it your situation?This boots properly, but like in all Android 12 based GSI's, wifi is broken ... Android 12 kernel is probably missing the wifi modules/driver. We seems to be making progressI spent some time looking the source code to get a full AOSP build going in Android 12, but it is quite tedious and I don't have a ton of free time on my hands currently.
With the A12 ROMs that I tried, this seems to be the case. Using OEM boot.img results in SELinux enforcing, but WiFi that will not turn on. When that boot.img is patched w/ Magisk, SELinux becomes permissive, but WiFi is then working OK.For the confirmation, the wifi works normally on AOSP 11 but is broken in Android 12 GSI? Is it your situation?
According to your report, maybe the wifi module violates some SELinux rules in Android 12. It is a good idea to get the logging of SELinux so that I can analyze and fix it.With the A12 ROMs that I tried, this seems to be the case. Using OEM boot.img results in SELinux enforcing, but WiFi that will not turn on. When that boot.img is patched w/ Magisk, SELinux becomes permissive, but WiFi is then working OK.
Also, every A12 GSI I tried requires the .088 vendor.img in order to boot. This is all in addition to the fact that A12 AOSP and GSI ROMs based on it are a work in progress and far from ready to be "daily drivers"
With the A12 ROMs that I tried, this seems to be the case. Using OEM boot.img results in SELinux enforcing, but WiFi that will not turn on. When that boot.img is patched w/ Magisk, SELinux becomes permissive, but WiFi is then working OK.
Also, every A12 GSI I tried requires the .088 vendor.img in order to boot. This is all in addition to the fact that A12 AOSP and GSI ROMs based on it are a work in progress and far from ready to be "daily drivers"
I have updated wifi driver to the latest version with CAF. Here is the new built, please give it a try bros!This boots properly, but like in all Android 12 based GSI's, wifi is broken ... Android 12 kernel is probably missing the wifi modules/driver. We seems to be making progressI spent some time looking the source code to get a full AOSP build going in Android 12, but it is quite tedious and I don't have a ton of free time on my hands currently.
Thank you for your dmesg log. It is very useful.Here is a dump of dmesg with the latest version ... No apparent changes from the previous one. Hope it helps
[ 5.369755] init: processing action (boot) from (/vendor/etc/init/hw/init.mata.rc:133)
[ 5.370427] init: Command 'start rfs_access' action=boot (/vendor/etc/init/hw/init.mata.rc:138) took 0ms and failed: service rfs_access not found
[ 5.394091] subsys-pil-tz soc:qcom,kgsl-hyp: a540_zap: Brought out of reset
[ 5.395434] devfreq soc:qcom,kgsl-busmon: Couldn't update frequency transition information.
[ 5.445446] wlan: disagrees about version of symbol module_layout
[ 5.446817] init: Command 'insmod /vendor/lib/modules/qca_cld3_wlan.ko' action=boot (/vendor/etc/init/hw/init.mata.rc:140) took 76ms and failed: finit_module for "/vendor/lib/modules/qca_cld3_wlan.ko" failed: Exec format error
Well, it's turning out not to be so straightforward after all. I'm still testing.According to your report, maybe the wifi module violates some SELinux rules in Android 12. It is a good idea to get the logging of SELinux so that I can analyze and fix it.
The AOSP rom is built upon .088 vendor so that using the lower version of vendor may result in errors, bro!
Have you tried the latest build? AOSP_Jan_28.zipWell, it's turning out not to be so straightforward after all. I'm still testing.
Yes, and I did get WiFi working, but the problem with it is different than I suggested, and still to be figured out.
let's try the lineage-19.0-20220114-UNOFFICIAL-treble_arm64_bvS.img.xzWhich of these ANDROID 12 GSI i can try on my device using TWRP? https://sourceforge.net/projects/andyyan-gsi/files/lineage-19.x/
i'm running lir-v315-220128-a64-bgZ-lite.img on my device atm
im on custom los 11 do i need to follow the instructions you have here or i just need to flash this with twrp and thats it?
fastboot flashing unlock
fastboot flashing unlock_critical
fastboot flash boot_a boot.img
fastboot set_active a
fastboot flash vendor_a vendor.img
fastboot flash system_a system.img
fastboot format userdata
fastboot reboot
adb root
adb disable-verity
adb reboot bootloader
fastboot flash system_a system.img
fastboot format userdata
fastboot reboot