Closed mikeNG closed 3 years ago
Note: only tested on sargo & android 10, checking android 11 and the rest of the devices would be appreciated
@mikeNG this change looks good to me. @daradib - curious if you have any thoughts on this change?
Converted to draft pending a test run, might need updates for Pixel 2
This is fine on 10.
A quick test on 11 would be appreciated.
If you don't pick the build/make
change linked the apn file here would just get ignored.
@mikeNG was looking into CarrierConfig overlay as well, but the vendor.xml
mostly points to com.google.android.ims
which might rely on gapps and thus can't be put into naked.
Works. All devices build, and generated apns file looks good too.
This doesn't work with AOSP even with the standard APN configuration copying disabled. Maybe it has to do with the vendor file whitelist feature. Regardless, it doesn't work.
Also, worth noting that they let many of the apps in the factory images get outdated and update them via the Play Store. We need to check if there's an update to this app being served via the Play Store and use that instead.
It's possible that this is not actually device-specific beyond the version of the app that's bundled, and should actually be handled outside of android-prepare-vendor by extracting this from the latest version of the app and replacing the APNs in AOSP.
Fixes #28
Requires a change in platform/build to prevent copying the AOSP sample APN list. Here's my proposed commit for CalyxOS: https://review.calyxos.org/c/CalyxOS/platform_build/+/584