Hi as my promised I will teach you the basic procedure on
how to port mt6592 chipset. I've noticed some of you want to learn this porting or cross porting method. But before you proceed make sure you have back up and have knowledges in flashing via SPFT because this is not an easy task it can cause bootloop, lost IMEI and sometimes hard brick of your device.
Note: I'm not liable for any damages of your device. Do it at your own risk!Requirements :
*Windows XP/7/8
* 7-Zip
* Notepad++
* Java Jdk
* Cygwin
* Boot.img Unpack/Repack Tools or Android kitchen
* Stock ROM
* Port Rom
Note : There are two type of roms
1. Stock rom [ original rom from your mobile ]
2. Port rom [ Any Rom you want to Port]
Procedure:
1. Replace it from your
Stock rom to the
Port rom [ FOLDER & FILE TO REPLACE ]
*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
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
2. Replace the
Stock boot.img to
Port rom3. Now open the Port rom folder go to
META-INF/google/Android / and open
updater-script in
Notepad++And change these line.......
[mmcblkOp3 ----- mmcblkOp9]Find the
mountpoints of your
SYSTEM and
DATA via MTKDROIDTOOLS or terminal emulator.
Using this command:
adb shell cat/proc/dumchar_info
4. Now go to back the folder of port rom and you will see two folder and one file name
+ META-INF+ system+ boot.img5. 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: ZIPCompression Level : NormalCompression Method: DeflateDictoioany Size: 32kWord Size 32* Now Start Zipping and Push theZIP to your Memory Card
6. Go to Custom Recovery >> Install ZIP
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 :
#Camerachmod 0660 /dev/camera-sysramchmod 0660 /dev/camera-ispchmod 0660 /dev/camera-pipemgrchmod 0660 /dev/kd_camera_hwchmod 0660 /dev/kd_camera_flashlightchmod 0660 /dev/kd_camera_hw_bus2chmod 0660 /dev/FM50AFchmod 0660 /dev/OV8825AFchmod 0660 /dev/OV88252AFchmod 0660 /dev/OV8850AFchmod 0660 /dev/CAM_CAL_DRVchown system camera /dev/camera-sysramchown system camera /dev/camera-ispchown system camera /dev/camera-pipemgrchown system camera /dev/kd_camera_hwchown system camera /dev/kd_camera_flashlightchown system camera /dev/kd_camera_hw_bus2chown system camera /dev/FM50AFchown system camera /dev/OV8825AFchown system camera /dev/OV88252AFchown system camera /dev/OV8850AFchown system camera /dev/CAM_CAL_DRVCredits:
XDA
Labels: Android Tricks, Cross Porting, mt6592, MT6595