Hi @ all,
a short info what i was doing on cm11:
to include apps to my flashable zip i included my wanted apk's to /system/app and the depending libs of the apk's to /system/lib. This was working a long time perfect.
With CM12 there was not enough space in system partition so it is not longer possible.
To solve this in created an independend zip to flash which puts my wanted apk's to /data/app. Caused by the new structure in /data/app there is a subfolder for each app /data/app/appfolder/app.apk. For the needed libs on each appfolder there are subfolders /data/app/appfolder/lib/arm which contains the needed libs.
The Interesting part: some apps wont install on initial boot.
Another try was to create the structure /data/app/appfolder/app.apk without the subfolders for libs and the libs itselve then all apps will install but some crashes caused by the missing libs.
Has anybody knowhow to get it working correctly ?
PS: By try and error i noticed if apps are installed from playstore and later is updated by a new release the old one is not removed from /data/app. In older versions of android it was removed. Is this a normal behaviour now in android 5 ?
Thx
a short info what i was doing on cm11:
to include apps to my flashable zip i included my wanted apk's to /system/app and the depending libs of the apk's to /system/lib. This was working a long time perfect.
With CM12 there was not enough space in system partition so it is not longer possible.
To solve this in created an independend zip to flash which puts my wanted apk's to /data/app. Caused by the new structure in /data/app there is a subfolder for each app /data/app/appfolder/app.apk. For the needed libs on each appfolder there are subfolders /data/app/appfolder/lib/arm which contains the needed libs.
The Interesting part: some apps wont install on initial boot.
Another try was to create the structure /data/app/appfolder/app.apk without the subfolders for libs and the libs itselve then all apps will install but some crashes caused by the missing libs.
Has anybody knowhow to get it working correctly ?
PS: By try and error i noticed if apps are installed from playstore and later is updated by a new release the old one is not removed from /data/app. In older versions of android it was removed. Is this a normal behaviour now in android 5 ?
Thx
Aucun commentaire:
Enregistrer un commentaire