Guide to Dual Boot Snapdragon Note 4

Dual Boot is one of the most desirable features for a flashaholic, and with this guide by XDA … more

Has ART Made a Noticeable Jump in App Performance?

We’ve received mixed reports about switching to ART but it seems that the … more

Samsung Galaxy S6 Edge Drop Test

The Samsung Galaxy S6 and Galaxy S6 Edge are already proving to be amongst the head turners of 2015. … more

Consolidated GApps Central

Following the retirement of Paranoid Android GApps Provider TKruzze and subsequent deletion of … more
Post Reply Subscribe to Thread Email Thread

Smile Porting turtorial for MT6582 To MT6582

27th August 2014, 03:06 PM   |  #1  
OP Junior Member
Flag Rangpur
Thanks Meter: 4
 
6 posts
Join Date:Joined: Jun 2014
More
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 ]



[jelly Bean]

*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



[KITKAT]

*system/bin/pq
*system/bin/vold
*system/etc/bluetooth
*system/etc/firmware
*system/etc/permission/platform.xml
*system/etc/permission/handheld_core_hardware.xml
*system/etc/wifi
*system/etc/apns-conf.xml
*system/lib/egl
*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/libcameraservice.so
*system/lib/libdpframework.so
*system/lib/libsensorservice.so
*system/lib/lilbinput.so
*system/lib/libinputservice.so
*system/lib/libvcodecdrv.so
*system/lib/libsync.so
*system/usr/keylayout
*system/vendor
*system/xbin/libmnlp_mt6582



[N.B Some Rom Not Port, Flow The Next 2 Step ]


STEP 1



*system/bin/pq
*system/bin/vold
*system/etc/bluetooth
*system/etc/firmware
*system/etc/permission/platform.xml
*system/etc/permission/handheld_core_hardware.xml
*system/etc/wifi
*system/etc/apns-conf.xml
*system/lib [Delete Port Lib Folder And Pest Stock Lib Folder ]
*system/usr/keylayout
*system/vendor
*system/xbin/libmnlp_mt6582


STEP 2

COMING SOON.........


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

SD Card Problem :
*system/bin/vold
*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
own 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..
Last edited by A.S.Noman Khan; 20th March 2015 at 03:01 AM.
The Following 2 Users Say Thank You to A.S.Noman Khan For This Useful Post: [ View ]
5th October 2014, 08:07 AM   |  #2  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Sep 2014
Hi I got a mtk6582 device, I got a similar phone in Malaysia/Indonesia they called it Evercoss A7V in my country we call it cloudfone excite 502q, i was able to install their rom (Galaxy S5) the only thing here is the camera, it says could not connect to the camera... what steps should I do?
15th November 2014, 04:10 PM   |  #3  
eyesfortech's Avatar
Member
Thanks Meter: 26
 
63 posts
Join Date:Joined: Nov 2011
Donate to Me
More
tested?
I guess the first question I have to ask is have you tested this on any custom ROM?
The Following User Says Thank You to eyesfortech For This Useful Post: [ View ]
22nd November 2014, 11:29 PM   |  #4  
Junior Member
Thanks Meter: 0
 
7 posts
Join Date:Joined: Nov 2014
"...It is very esy....." REALLY?!?

Did you do it practically? If so then could you please mention from which device to which you ported???
Because I can see many senior developers here are trying to do it. But, there is no success... but, you did it with just mere notepad. BRAVO!
14th December 2014, 04:09 PM   |  #5  
OP Junior Member
Flag Rangpur
Thanks Meter: 4
 
6 posts
Join Date:Joined: Jun 2014
More
solv
Quote:
Originally Posted by sirhca13

Hi I got a mtk6582 device, I got a similar phone in Malaysia/Indonesia they called it Evercoss A7V in my country we call it cloudfone excite 502q, i was able to install their rom (Galaxy S5) the only thing here is the camera, it says could not connect to the camera... what steps should I do?

MT6582 mobile camera not conect:

STEP 1:


copy these from stock ROM to port ROM
system\lib\hw\camera.default.so

(N.B.if you have two files like camera.goldfish.so delete this the one with the goldfish)

system/lib/ libcamdrv.so
system/lib/libcamalgo.so
system/lib/libcameracustom.so
system/lib/libdpframework.so
system\etc\permissions\android.hardware.camera.xml

STEP 2:

unpcack the boot.img from Port ROM
open init.rc file add/replace below lines
#Camera
#chmod 0660 /dev/FM50AF
chmod 0660 /dev/OV8825AF
chmod 0660 /dev/CAM_CAL_DRV

#chown system camera /dev/FM50AF
chown system camera /dev/OV8825AF
chown system camera /dev/CAM_CAL_DRV
& repack boot.img




####
Camera Force closed or camera not conect :


copy these from stock rom to port Rom

system\lib\hw\camera.default.so
system\lib\libcamera_client.so
system\lib\libcameracustom.so
system\lib\libcameraprofile.so
system\lib\libcameraservice.so
system\lib\libmhal.so
system\lib\libmhalcontent.so
system\lib\libmhaldrv.so
system\lib\libmhalmdp.so
system\lib\libmhalpipe.so
system\lib\libmhalscenario.so
system\lib\libmhalutility.so
system\etc\permission\android.hardware.camera.fron t.xml
system\etc\permission\android.hardware.camera.xml

FOR CAMERA NOT CONNECTED ISSUE /CAMERA GREEN /CAMERA FORCE CLOSE "unfortunately camera has stopped"

Replace first libcamdrv.so (needed for 6582
devices) and check if not success then replace
libcameraservice.so from/lib.

Camera Focus Problem :
system/lib/libcameraservice.so
system/lib/libfeatureio.so from
[NB:These step not required for some mobile]
28th January 2015, 12:38 PM   |  #6  
arun.negi004's Avatar
Member
Flag kotdwara
Thanks Meter: 45
 
42 posts
Join Date:Joined: Jan 2015
More
Smile Thanks Bro for the Guide
thanks bro for this nice guide
but bro my phone get bricked every time while porting this rom (http://forum.xda-developers.com/andr...ee-m2-t2949199) to my micromax a120 kk.
Bro please help me.... how can i port this rom to my device.
5th March 2015, 03:00 PM   |  #7  
i try to port to my lenovo s860...
4.2.2 JB for miui and aosp..
bug on internal storage unmount and loudspeaker problem..
i try many time to put vold.fstab and vold.fstab.nand...but still problem
on camera show "Please insert sd card before using camera"
but this s860 doesnt have sdcard slot..

please help me...
20th March 2015, 02:50 AM   |  #8  
OP Junior Member
Flag Rangpur
Thanks Meter: 4
 
6 posts
Join Date:Joined: Jun 2014
More
Thumbs up Sd card mount
Quote:
Originally Posted by ghaf85

i try to port to my lenovo s860...
4.2.2 JB for miui and aosp..
bug on internal storage unmount and loudspeaker problem..
i try many time to put vold.fstab and vold.fstab.nand...but still problem
on camera show "Please insert sd card before using camera"
but this s860 doesnt have sdcard slot..

please help me...

Replace Stock to Port...
System/bin/vold

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes