Professional Documents
Culture Documents
Inside The System Folder Create 2 New Folders and Rename Them As
Inside The System Folder Create 2 New Folders and Rename Them As
Create Folder
Create a New Folder anywhere in you computer and rename it system
Inside the system folder create 2 new folders and rename them as
etc
lib
Copy From
Stock Rom
etc folder
to system\et
c folder
Folder
firmware
permission
security
wide-dhcpv6
Files
vold.fstab
vold.fstab.nand
Folder
hw
drm
modules
soundfx
Files
libaudio.primary.default.so
libcamalgo.so
libmhaldrv.so
libcamera_client.so
libcameracustom.so
libcameraprofile.so
libcameraservice.so
Now copy full usr and vendor folder from Stock Rom to system folder
Step 3. Porting
Go to the Port Rom folder.
You need to delete some 3 folders from Port Rom system folder are below:
system\etc\firmware
system\lib\hw
system\lib\modules
Now paste system folder (Created with Stock Rom files) and replace files and folders to
the port rom system folder (Not inside the port rom system folder)
File copied
completed.
Go to Port
Rom META-
INF\com\google\android open updater-script with Notepad++ change the mount point.
Find the line /dev/block/mmcblk0p and you will get the line like below.
format("ext4", "EMMC", "/dev/block/mmcblk0p5", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p5", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p7", "/data");
Mount point I marked in red color 5 & 7 now change it as per your device mount point.
(Do not need to change the whole line.) If your device mount point for system is 3 then
make it 3 instead of 5. If your device mount point for data is 5 then make it 5 instead
of 7. To know your device mount point run MTK Droid Root and Tools and connect your
device. Then click Block Map.
First time it will take time for create system folder but after that you can port rom for
your device with in five minutes.
Overview:
1. Delete mentioned folders for Port Rom and Replace the system (mentioned in
guide) folder to the Port Rom