Skip to content
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

Wrong ims.apk path, crash com.android.phone after installing #5

Open
dkmgfk opened this issue Feb 15, 2019 · 1 comment
Open

Wrong ims.apk path, crash com.android.phone after installing #5

dkmgfk opened this issue Feb 15, 2019 · 1 comment

Comments

@dkmgfk
Copy link

dkmgfk commented Feb 15, 2019

Build it by myself from the stock stable pie firmware. However the ims.apk is located in /system/priv-app. After changing that, the build script worked.

Here's the result.
ims.zip
build log
xubuntu 18.04 openjdk 8

However, imediately after installing the said apk, the signal lost, both SIM slots are showing as empty.
After a reboot, com.android.phone keeps stopping, signal lost again after a minute.
Signal restored after uninstalling ims.apk.
adb logcat
So this ims.apk is incompatible with treble aosp image?
Steps I've taken to build ims.apk:

  1. Fresh installation of latest xubuntu LTS. 2. Install openjdk-8-jdk, simg2img and their dependencies.
  2. Convert system.IMG, vendor.IMG to ext4 format.
  3. Mount them.
  4. Change /system/app/ims to /system/priv-app/ims in build.sh
  5. Make the script executable.
  6. Run the script.

Originally posted by @dkmgfk in phhusson/treble_experimentations#398 (comment)
Originally posted by @dkmgfk in phhusson/treble_experimentations#398 (comment)

@dkmgfk
Copy link
Author

dkmgfk commented Feb 15, 2019

Also there's an mysterious "imssettings" app in stock ROM, under /system/app, don't know what it is for; some flashable VoLTE fixes for treble gsi image included this in zip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant