How To : Create System.IMG from System Folder - Repack System.IMG

imprezif

New Member
Aug 29, 2015
1
0
1
#21
My issue is trying to copy files into the mounted. I've tried changing owner and permissions.  I have no problems removing files and saving. I keep receiving not enough space messages.

Help someone? 
 
Dec 11, 2015
3
0
1
#22
I installed ubuntu virtual machine into VMPlayer, followed cookbook, but all folders and files are locked, in the mounted drive (linux says - I am not owner). How can I delete the files?


Thanks for answer.


Libor
 
Dec 12, 2014
77
20
8
38
#23
check file permission http://stackoverflow.com/questions/18960689/ubuntu-says-bash-program-permission-denied


and run as SU
I cannot get away with bash permission denied. I am using Linux mint. Any tips? I have tried all the commands mentioned in the link with su status.
 
Likes: mrsim
Dec 12, 2014
77
20
8
38
#27
Thanks. I've found out the aforementioned android-tools-fsutils have a bug in make_ext4fs which makes it unable to set Android permissions in the file.


So, instead, I used the compiled files at: http://mtkfirmware.com/content/linux-commands-instructions-tools-unpacking-and-repacking-system-images-mtk-devices-ext4-and (also attached).


I installed Ubuntu alongside Windows (can be run also from trial mode directly from bootable USB or disc) and ran the scripts. I will write a tutorial about this. The correct partition size depends on the device being targeted (i.e. 512M, 768M or 1024M). Then it packs correctly for flashing.


View attachment 4135
 
Last edited by a moderator:
Likes: mrsim

mrsim

KingOfNoobs
Staff member
Mar 1, 2014
16,207
2,366
113
47
London UK
#28
Thanks. I've found out the aforementioned android-tools-fsutils have a bug in make_ext4fs which makes it unable to set Android permissions in the file.


So, instead, I used the compiled files at: http://mtkfirmware.com/content/linux-commands-instructions-tools-unpacking-and-repacking-system-images-mtk-devices-ext4-and (also attached).


I installed Ubuntu alongside Windows (can be run also from trial mode directly from bootable USB or disc) and ran the scripts. I will write a tutorial about this. The correct partition size depends on the device being targeted (i.e. 512M, 768M or 1024M). Then it packs correctly for flashing.


View attachment 4135
looking forward to your tutorial mate... :good2: