Home > Mobile >  Under the apk to Android 8.1 how preset data/app?
Under the apk to Android 8.1 how preset data/app?

Time:09-29

MTK platform, the apk preset to the data/app.
After compiling, check out with the test data/app directory. The apk.
. To view the userdata img only 57 KB, no packed into the userdata. Img, so after upgrade the software data/app no apk,
Analysis of reasons: we are using the version 8.1 go, userdata partition file format for hair f2fs, unable to preset file.
But go version 9.0 is ok.
Only -s make_f2fs O1 version with the parameters of the size is also do img, will not be out/target/product/xx/data directory into img, but an empty img.
P version do img with the -f parameter, will the out/target/product/xx/data directory is packaged into the userdata img.
Excuse me each great god, and how to modify the 8.1 also supports the preset to the data/app. (file format for f2fs unchanged)




CodePudding user response:

Why not change the file format, change to corruption format, revise PackageManagerService. Java, is ok

CodePudding user response:

The boot script execution and the adb install,
  • Related