Good day, I can't pack the firmware https://daivietpda.com/2019/07/unoffici ... -pros905x/ even without making any changes when trying to pack it gives an error
create a sparse img...
##################
loaded 2676 fs_config entries
set_selinux_xattr: Unknown code ____ 255 searching for label "/tmp-mksh"
make: *** [build/mod.mak:62: bc-tool/stamp/.stamp.mod-partition-all] Ошибка 1
I tried different versions of Ubuntu, nothing helps, please help!
[LINUX][TOOL] Android 9.0 partition repack tool!
Hi, Please help As I am noob.
I have unpacked img succeffully but I want to add custom app in system/priv-app but I can't access, the only thing I found is system.img which I mounted and copied my custom app and unmounted. I built the aml upgrade img succeffully but when I try to flash it says image check failed. Thanks in advance
I have unpacked img succeffully but I want to add custom app in system/priv-app but I can't access, the only thing I found is system.img which I mounted and copied my custom app and unmounted. I built the aml upgrade img succeffully but when I try to flash it says image check failed. Thanks in advance
-
- Verified Member
- Posts: 13
- Joined: Sat Nov 07, 2020 4:56 pm
- Has thanked: 6 times
- Been thanked: 1 time
Hello [mention]bumerc[/mention] , thanks for the tool (guide) and I've installed linux for unpacking Android 9 custom ROM.
I've read the readme file, and got img unpacked. After adding new APK, add some new kl files for remote, and changed a wallpaper.
Then I've used:
make mod-sepolicy
make mod-IMG
Which i got a new IMG file. However, it seems like everything I newly added was not replaced back in after unpack the new img file.
i.e: wallpaper still the same from the custom rom, and total of KL files were the same amount when I unpack from the original img.
Did I missed any steps? or simply adding new files and replace files won't work?
Thanks
I've read the readme file, and got img unpacked. After adding new APK, add some new kl files for remote, and changed a wallpaper.
Then I've used:
make mod-sepolicy
make mod-IMG
Which i got a new IMG file. However, it seems like everything I newly added was not replaced back in after unpack the new img file.
i.e: wallpaper still the same from the custom rom, and total of KL files were the same amount when I unpack from the original img.
Did I missed any steps? or simply adding new files and replace files won't work?
Thanks
-
- Administrator & Developer
- Posts: 1551
- Joined: Tue Oct 02, 2018 6:19 pm
- Has thanked: 211 times
- Been thanked: 334 times
Yes, you missed the main step
Code: Select all
make mod-partition-all
Code: Select all
make mod-IMG