-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When built alongside VoltageOS APK left unsigned #30
Comments
I remember bumping into issues like this a while back, when working on IodéOS not los4microg. I don't think the APK should be getting its libs unpacked and then signed because i is already pre-signed. In our Android.mk we have the line |
I'm using your configs so yep - PRESIGNED is present. This issue is baffling me - not sure why the APKs are being messed with. I believe it's just because GmsCore contains libs but still... very strange. |
Then I'm baffled too. Just for information, here's the issue where we dealt with this in IodéOS Maybe worth looking at the second fix -
But I think I'm clutching at straws here :( |
Well - great clutching because that was EXACTLY the issue and your fix worked wonderfully. :) Thanks a lot for the advice - very greatly appreciated. May be worth noting that in the README for any other poor soup facing the same issue with other ROM. :) |
I'll do that before I close this issue. Please can you give me a bit more information about how you are / were trying to use the components from this repo? In particular,
I've had a quick look at @VoltageOS and your |
Draft text for the README Note 3. If you encounter problems related to APK / app signing when using these components you may need to add the following line in the
Such problems can occur when
(Some background to this can be found [here](link to this issue) and [here](link to the IodéOS gitlab issue)) |
Exactly that @petefoth! :) I was trying to build Android 14, I included them with this patch: https://github.com/cawilliamson/treble_voltage/blob/14/patches/personal/platform_device_phh_treble/0011-Add-microG-to-build-script.patch It's a GSI meaning it can be made to run on many devices with one image but that's more just FYI - not really relevant to the ticket. 👍 Not sure if you want to go in to this detail but the symptoms can display as certain apps (in my case, FakeStore and GmsCore) missing completely from your launcher and acting like they're not installed. To check users can run:
Again - not sure if that's too much info - I'd imagine anyone getting to the point where this becomes a problem would have checked logcat already although I'll admit it took me an embarrassing amount of time to find the problem! :) |
README.md updated. Closing |
Hello!
So I have a strange issue - I'm trying to integrate your microG implementation as a build option for VoltageOS because folks have asked for it.
It builds just fine and integrates nicely but the problem is the GmsCore APK specifically ends up being left unsigned:
This then results in that APK being completely ignored. It's very strange because I see nobody else reporting this issue and Voltage is based on LineageOS so I'm a bit mystified.
I believe what's happening is that the APK is getting its libs unpacked but then being repacked and not signed. I have attempted to remedy this by adding the following to each APK definition:
This should, in theory, skip modifying the APK but then we fail to actually build the ROM at all because then I get errors like this:
So it seems like I'm in a catch 22 with this - any guidance would be greatly appreciated. :)
The text was updated successfully, but these errors were encountered: