Yes, I try it, but is works strange. If I add new files in out folder or modif some files, then repack img with commands “. /mkimage.sh” and “. /pack_image.sh”. Sometime ROM don’t contain new files, sometime contain.
I don’t understand why it happens…
May be need something more?
If you add files to eg. out/*/system it won’t repack into the images since there are other prebuilt files that tell the image maker tools to only use the files previously built and your added files aren’t included there.
It’s part of Google’s security I think to make sure partitions haven’t been tampered with.
Android OS’s before Oreo didn’t have this problem.
Anyway, if you add any extra files in the out folder
just run ‘make -j4’ again then your files will be included in the built files.
Then just run ‘./mkimage.sh’.
All your files will be included.
Changes to eg. build.prop won’t be saved as they are regenerated each time you run a build and has to match on each partition for the firmware to boot properly. You need to make changes to the source code eg. system.prop if you want this changed.
Oh, very interesting. Thank you so much!
Previously I built Nougaut and lower android…
I have issue with library for gps, it does not work in Pie.
I made library for gps (gps.default.so), I put it on system/lib/hw and system/lib64/hw but it does not work on EDGE Pie, but it works on other px5 devices on Oreo.
May be Pie has special path for gps?
Also, I have two phone with Pie, and first has gps.default.so in vendor/lib/hw and vendor/lib64/hw folders.
But second has gps.default.so in vendor/lib64/hw folder only.
They have not gps.default.so files in system folder…
You can try the vendor folder too, just make sure they aren’t in the system partition too.
You might need to modify the source code of your gps driver.
Most Rockchip lib files are stored in the vendor instead of system partition now.