• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Error after sign system-apps from Lineage-OS!

andrmade7

Lurker
Nov 30, 2018
1
0
I have signed all system apps of LineageOS with my own key and have replaced them all before the first boot. LineageOS boots normally but then all signed system apps crash with an error like:

SystemUI stopped, Settings stopped.

The screen stays dark. It seems that the re-signed system apps are unusable. Maybe I made some mistake or LineageOS has some anti-tampering check implemented?

What i have done: I opened all system apps with the winrar zip manager and removed the CERT.RSA and CERT.SF files in each META INF folder and deleted all the names and SHA-256 digest entries in all MF manifest-files. Also all other apk for example, in the framework folder, like the framework-res.apk file, I edited them like this. Then I created a keystore with Key, using the Java keytool, I think this is self-signed. Then I signed all APKs with the Uber Apk signet tool and successfully performed zip-aligning. Then I flashed Lineage OS with TWRP on the phone. Before the first boot, I deleted the system apks with the TWRP file manager and replaced them with my self-signed ones. Uber-Sign-Tool: https://github.com/patrickfav/uber-apk-signer

Picture of the error: https://imgur.com/a/hAwsJuO

Thanks for your help

Mike the android-noob

That's why I did that: https://www.reddit.com/r/LineageOS/comments/9z728h/how_to_change_frameworkresapk_without_bootloop/
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones