[phpBB Debug] PHP Warning: in file [ROOT]/ext/spaceace/ajaxchat/controller/chat.php on line 220: Trying to access array offset on value of type bool
atvXperience : The Forum • [LINUX][TOOL] Android 9.0 partition repack tool! - Page 2
Page 2 of 7

[TOOL] Android 9.0 partition repack tool!

Posted: Sat Oct 24, 2020 8:17 pm
by SnowSimba
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!

[TOOL] Android 9.0 partition repack tool!

Posted: Sun Oct 25, 2020 5:36 pm
by bumerc
[mention]SnowSimba[/mention]
You added something and didn't define any rules for it in plat_file_contexts or vendor_file_contexts

[TOOL] Android 9.0 partition repack tool!

Posted: Tue Oct 27, 2020 3:29 pm
by shmox
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

[TOOL] Android 9.0 partition repack tool!

Posted: Tue Oct 27, 2020 7:36 pm
by bumerc
[mention]shmox[/mention]
all extracted partitions are in afck/bc-tool, you don't have to mount anything, the tool does it automatically

[TOOL] Android 9.0 partition repack tool!

Posted: Wed Oct 28, 2020 5:27 am
by shmox
bumerc wrote: Tue Oct 27, 2020 7:36 pm [mention]shmox[/mention]
all extracted partitions are in afck/bc-tool, you don't have to mount anything, the tool does it automatically
OMG didn't know that. Many thanks

ModEDIT: Because you haven't read readme.md.

[TOOL] Android 9.0 partition repack tool!

Posted: Mon Nov 02, 2020 6:50 am
by ath156
[mention]bumerc[/mention]
Is it OK to update to a newer version of Ubuntu (as I got a message for doing it)?
Thank you.

[TOOL] Android 9.0 partition repack tool!

Posted: Mon Nov 02, 2020 8:14 am
by bumerc
ath156 wrote: Mon Nov 02, 2020 6:50 am Is it OK to update to a newer version of Ubuntu (as I got a message for doing it)?
Basically yes, you only have to install the android-tools-fsutils package, as it is no longer available under these package names in newer Ubuntu versions..

[TOOL] Android 9.0 partition repack tool!

Posted: Mon Nov 02, 2020 8:51 pm
by ath156
bumerc wrote: Mon Nov 02, 2020 8:14 am Basically yes, you only have to install the android-tools-fsutils package, as it is no longer available under these package names in newer Ubuntu versions..
Thank you.

[TOOL] Android 9.0 partition repack tool!

Posted: Fri Nov 20, 2020 5:39 pm
by justin10
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

[TOOL] Android 9.0 partition repack tool!

Posted: Fri Nov 20, 2020 9:54 pm
by bumerc
justin10 wrote: Fri Nov 20, 2020 5:39 pm Did I missed any steps?
Yes, you missed the main step

Code: Select all

make mod-partition-all
then

Code: Select all

make mod-IMG