Smile Porting turtorial for MT6582 To MT6582

How to Port MT6582 to MT6582
It is very esy.....

Requirements :

*Windows XP/7/8
* 7-Zip
* Notepad++
* Java Jdk
* Cygwin
* Boot.img Unpack/Repack Tools or Android kitchen
* Stock ROM
*Port RomRom

[N.B : There are two type roms
1. Stock rom [ orginal rom from your mobile ]
2. Port rom [ Whichever you want to port rom ]]


*SO NOW PORTING START
# TIPS FOR SYSTEM FOLDER
+ Replace it from your stock rom to the port rom
[ FOLDER & FILE TO REPLACING ]

*system/etc/firmware
*system/etc/permission/platform.xml
*system/etc/permission/handheld_core_hardware.xml
*system/lib/hw
*system/lib/modules
*system/lib/ libaudio.primary.default.so
*system/lib/ libcamdrv.so
*system/lib/libcamalgo.so
*system/lib/libcameracustom.so
*system/lib/libdpframework.so
*system/lib/ libsensorservice.so
*system/lib/libvcodecdrv.so
*system/lib/libsync.so
*system/usr/keylayout



[ FIXING PROBLEM ]
Sim card problem :
*system/bin

SD Card Problem :
*system/etc/vold.fstab
*system/etc/vold.fstab.nand

Camera Focus Problem :
*system/lib/libcameraservice.so
[NB:These step not required for Walton Primo GF,GH,GH+ & GH2]

Boot loop problem :
*system/lib/libandroid_runtime.so
*system/lib/libandroid_servers.so
*system/lib/libmedia_jni.so

Other Problem :
*system/etc/dhcpcd
*system/etc/permissions
*system/etc/security
*system/etc/audio
*system/etc/bluetooth
*system/etc/wifi
*system/lib/drm
*system/lib/egl
*system/lib/soundfx

* Replace the stock boot.img to port rom

* Now open the Port rom folder go to META-INF/google/Android / and open updater-script in Notpad++
And change these line.......
[mmcblkOp3 ----- mmcblkOp9]
[ Example for WALTON PRIMO GH2 [mmcblkOp6]]

* Now go to back the folder of port rom and you will see two folder and one file name
+ META-INF
+ system
+ boot.img

* Now select these 2 folder 1 file and click right mouse button and click on 7zip ->> add to archive
* Now a dialouge box should
appear!
* Configure the Format like This:
Archive format: ZIP
Compression Level : Normal
Compression Method: Deflate
Dictoioany Size: 32k
Word Size 32
* Now Start Zipping and Push the
ZIP to your Memory Card
* Go to Recovery >> Install ZIP &
Wipe Data
Finished!!


[# Camera Drive problem fixing]
* Extract the boot.img for android kitchen [ Both stock & port boot.img]
* and open init.rc/# camera
* Find these missing line port to stock boot.img and whole missing line paste it (#Camera)

Example :





#Camera
chmod 0660 /dev/camera-sysram
chmod 0660 /dev/camera-isp
chmod 0660 /dev/camera-pipemgr
chmod 0660 /dev/kd_camera_hw
chmod 0660 /dev/kd_camera_flashlight
chmod 0660 /dev/kd_camera_hw_bus2
chmod 0660 /dev/FM50AF
chmod 0660 /dev/OV8825AF
chmod 0660 /dev/OV88252AF
chmod 0660 /dev/OV8850AF
chmod 0660 /dev/CAM_CAL_DRV
chown system camera /dev/camera-sysram
chown system camera /dev/camera-isp
chown system camera /dev/camera-pipemgr
chown system camera /dev/kd_camera_hw
chown system camera /dev/kd_camera_flashlight
chown system camera /dev/kd_camera_hw_bus2
chown system camera /dev/FM50AF
chown system camera /dev/OV8825AF
chown system camera /dev/OV88252AF
chown system camera /dev/OV8850AF
chown system camera /dev/CAM_CAL_DRV



________=______=_____A.S.NOMAN KHAN..