View Single Post
Old 12-29-2025, 10:33 AM   #34
Kisuke-CZE
Enthusiast
Kisuke-CZE is no e-book dilettante.Kisuke-CZE is no e-book dilettante.Kisuke-CZE is no e-book dilettante.Kisuke-CZE is no e-book dilettante.Kisuke-CZE is no e-book dilettante.Kisuke-CZE is no e-book dilettante.Kisuke-CZE is no e-book dilettante.Kisuke-CZE is no e-book dilettante.Kisuke-CZE is no e-book dilettante.Kisuke-CZE is no e-book dilettante.Kisuke-CZE is no e-book dilettante.
 
Posts: 33
Karma: 53196
Join Date: Apr 2018
Device: Kobo Forma, Onyx Boox Palma 2 Pro
Hi,

I am trying to continue in mission of modifying Palma 2 Pro.

My thinking was, that maybe I could make it reliable phone for incoming calls. So I am trying to replace various components from Palma 2 Pro software with software from FP4.

I am using magic_overlayfs to be able to write into /system partition.

But I did run into another problem. When I replace system app, it refuses to function.

For example replacing TeleService app:
Code:
adb push ../apk_from_fairphone/TeleService.* /tmp/
adb shell
su -mm -c magic_remount_rw
su
cp /tmp/TeleService.apk /system/priv-app/TeleService/TeleService.apk
cp /tmp/TeleService.odex /system/priv-app/TeleService/oat/arm64/TeleService.odex
cp /tmp/TeleService.vdex /system/priv-app/TeleService/oat/arm64/TeleService.vdex
su -mm -c magic_remount_ro
exit
exit
adb reboot
Unfortunately on next boot it does not work. Ends up with this error:
Code:
12-29 15:17:29.359  7481  7481 E System  : ******************************************
12-29 15:17:29.359  7481  7481 E System  : ************ Failure starting system services
12-29 15:17:29.359  7481  7481 E System  : java.lang.IllegalStateException: Signature mismatch on system package com.android.phone for shared user SharedUserSetting{ee5270f android.uid.phone/1001}
12-29 15:17:29.359  7481  7481 E System  : 	at com.android.server.pm.ReconcilePackageUtils.reconcilePackages(ReconcilePackageUtils.java:284)
12-29 15:17:29.359  7481  7481 E System  : 	at com.android.server.pm.InstallPackageHelper.addForInitLI(InstallPackageHelper.java:3960)
12-29 15:17:29.359  7481  7481 E System  : 	at com.android.server.pm.InstallPackageHelper.installPackagesFromDir(InstallPackageHelper.java:3704)
12-29 15:17:29.359  7481  7481 E System  : 	at com.android.server.pm.InitAppsHelper.scanDirTracedLI(InitAppsHelper.java:377)
12-29 15:17:29.359  7481  7481 E System  : 	at com.android.server.pm.InitAppsHelper.scanSystemDirs(InitAppsHelper.java:345)
12-29 15:17:29.359  7481  7481 E System  : 	at com.android.server.pm.InitAppsHelper.initSystemApps(InitAppsHelper.java:178)
12-29 15:17:29.359  7481  7481 E System  : 	at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:2292)
12-29 15:17:29.359  7481  7481 E System  : 	at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1763)
12-29 15:17:29.359  7481  7481 E System  : 	at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:1259)
12-29 15:17:29.359  7481  7481 E System  : 	at com.android.server.SystemServer.run(SystemServer.java:945)
12-29 15:17:29.359  7481  7481 E System  : 	at com.android.server.SystemServer.main(SystemServer.java:666)
12-29 15:17:29.359  7481  7481 E System  : 	at java.lang.reflect.Method.invoke(Native Method)
12-29 15:17:29.359  7481  7481 E System  : 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
12-29 15:17:29.359  7481  7481 E System  : 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:870)
12-29 15:17:29.359  7481  7481 E Zygote  : System zygote died with fatal exception
12-29 15:17:29.359  7481  7481 E Zygote  : java.lang.IllegalStateException: Signature mismatch on system package com.android.phone for shared user SharedUserSetting{ee5270f android.uid.phone/1001}
12-29 15:17:29.359  7481  7481 E Zygote  : 	at com.android.server.pm.ReconcilePackageUtils.reconcilePackages(ReconcilePackageUtils.java:284)
12-29 15:17:29.359  7481  7481 E Zygote  : 	at com.android.server.pm.InstallPackageHelper.addForInitLI(InstallPackageHelper.java:3960)
12-29 15:17:29.359  7481  7481 E Zygote  : 	at com.android.server.pm.InstallPackageHelper.installPackagesFromDir(InstallPackageHelper.java:3704)
12-29 15:17:29.359  7481  7481 E Zygote  : 	at com.android.server.pm.InitAppsHelper.scanDirTracedLI(InitAppsHelper.java:377)
12-29 15:17:29.359  7481  7481 E Zygote  : 	at com.android.server.pm.InitAppsHelper.scanSystemDirs(InitAppsHelper.java:345)
12-29 15:17:29.359  7481  7481 E Zygote  : 	at com.android.server.pm.InitAppsHelper.initSystemApps(InitAppsHelper.java:178)
12-29 15:17:29.359  7481  7481 E Zygote  : 	at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:2292)
12-29 15:17:29.359  7481  7481 E Zygote  : 	at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1763)
12-29 15:17:29.359  7481  7481 E Zygote  : 	at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:1259)
12-29 15:17:29.359  7481  7481 E Zygote  : 	at com.android.server.SystemServer.run(SystemServer.java:945)
12-29 15:17:29.359  7481  7481 E Zygote  : 	at com.android.server.SystemServer.main(SystemServer.java:666)
12-29 15:17:29.359  7481  7481 E Zygote  : 	at java.lang.reflect.Method.invoke(Native Method)
12-29 15:17:29.359  7481  7481 E Zygote  : 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
12-29 15:17:29.359  7481  7481 E Zygote  : 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:870)
12-29 15:17:29.359  7481  7481 D AndroidRuntime: Shutting down VM
12-29 15:17:29.359  7481  7481 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
I will try to search for some answers. But maybe there will be again someone smarter who did this in past.
Kisuke-CZE is offline   Reply With Quote