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

1

imprezif

New Member
Aug 29, 2015
1
0
1
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? 
 
1

jenkalibor

New Member
Dec 11, 2015
3
0
1
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
 
2

JVitor

Member
Dec 12, 2014
77
0
8
39
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.
 
2

JVitor

Member
Dec 12, 2014
77
0
8
39
great work mate
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:
30

mrsim

KingOfNoobs
Staff member
Mar 1, 2014
16,174
1
113
48
London UK
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:
 
Help Users

You haven't joined any rooms.

    You haven't joined any rooms.