Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
23145 29 |
19:55, Feb-19-2015 | From PC
|
|
Go to reply no.
Choose Custom ROM from a device matching same resolution to reduce App
Sizerelated bugs
Get. Set. Go.
Step 1 : PatchingSystem Folder for the port patch.
First of all make a folder named "Port_Patch" andsetup all the folder as shown in
the images below.
System has been patched, copy this /system to patch the /system of port ROM.
Step2: Patching the boot.img of the port rom.
This is bittricky but can be done easily.
1 So,first of download this little tool, to unpack & repack your boot.img-
MTKbootimg.zip- tested on Windows 7 & aboveplatform
2 Extractthe Tool and you will get two folders named "stock"& "port"
3 Copyboot.img's respectively from stock rom in"stock" folder & from port
romto "port"
4 Unpackboth boot.img repectively and they may look like this.
In updater-script
Openupdater-script using notepad++ from "port ROM\META-
INF\com\google\android"
Remove wholelines contain assert word at the beginning of the file like this line
assert(getprop("ro.product.device")== "cancro" || getprop("ro.build.product")
=="cancro");
Verify/system should be mounted in "/dev/block/mmcblk0pS" & /datashould be
mounted in "/dev/block/mmcblk0pD"
What is S andD?
S SystemMount Point
D DataMount Point
To know thesemount point values
- Open MTKDroid Tool after connecting your phone to PC.
- Open BlockMaps.
- Check theselines.
libandroid_runtime.so
libandroid_servers.so
libmedia_jni.so
libsync.so
If possible try modifying framework.jar "\smali\com\android\server" (copy from
stock)
To fix compass
Replace libsensorservice.so from /lib
For green camera/ lag / no wallpaper /no status bar (important file for
mt6582)
Replace libdpframework.so from lib folder
Any resolution problem
Add this line to build.prop
ro.sf.lcd_density=your phone screen dpi
ex- ro.sf.lcd_density=480 for FHD devices
*system/vendor
*system/usr
*system/lib/modules
*system/lib/hw
*system/lib/libncurses.so
*system/etc/firmware
*system/etc/vold.fstab
*system/etc/vold.fstab.nand
*system/etc/bluetooth
FOR FIXING PROBLEMS...
*system/etc/permissions
*system/etc/security
*system/etc/audio
*system/etc/wifi
*system/lib/drm
*system/lisystem/lib/soundfx
HAPPY
PORTING :D
10
Favorite9 Share
+1 Fantastic!
dendie701
+1 Fantastic!
PraveenKumara
+1 Thanks!
Sajalsh_25
+5 Awesome!
scherzy
Report
10#
18:13, Jul-05-2015 | From PC
|
GRATE TUTORIAL
amshpitz
Senior Member
Credits
36
Online time
23 Hours
Send PM
Reply Support 1 Object 0
Report
#2
scherzy
MIUI Porting
Team
Credits
2684
Device
Others
MIUI Version
5.7.10
Online time
168 Hours
Send PM
Reply
Report
#3
Credits
22
Online time
3 Hours
Send PM
Reply Support Object
Report
#4
Credits
28
MIUI Version
V8.1.4.0.MBFMIDI
Online time
23 Hours
Send PM
Reply Support Object
Report
5#
12:42, Mar-30-2015 | From PC
|
thanks
manyol82
Senior Member
Credits
194
Device
Mi 4c
MIUI Version
7.3.30
Online time
35 Hours
Send PM
Reply
Report
6#
00:28, May-02-2015 | From PC
|
jhommark replied at 2015-3-4 16:04
I think it's in the latest versions of MIUI. I'm having problems
with vibrations too. It's not worki ...
batsilos2
Replace libhardware_legacy.so from your original phone to your
MIUI Porting Team miui port.
Credits
93
Device Bilias aka Fazer-1000
Others
MIUI Version
6.7.14
Online time
24 Hours
Send PM
Reply Support Object
Report
7#
17:06, May-11-2015 | From PC
|
Can We Port The Redmi Note 4g Cyanogenmod 12 To our
Redmi Note 3g By This Method?
Sajalsh_25 Please Reply!
CM 12 IS AMAZING!
Senior Member
Credits
56
Device
Mi 3
MIUI Version
JHDMIBL42.0
Online time
23 Hours
Send PM
Reply Support Object
Report
8#
20:35, Jun-24-2015 | From PC
|
wow good job
amshpitz
Senior Member
Credits
36
Online time
23 Hours
Send PM
Reply Support Object
Report
9#
16:54, Jun-25-2015 | Via mobile
|
Thanks
rajy
Gold Member
Credits
228
Device
Redmi Note 3G
MIUI Version
V8.0.1.0.KHDMIDG
Online time
75 Hours
Send PM
Reply
Report
123>
Return to forum
Advanced Mode
B Color Image Link Quote Code Smilies
Please sign in to reply. Sign In | Register
Credits Management
To last page
MIUI Official Site |Mi Official Site |User Agreement |Privacy Policy |Mobile
17 139 1010
Senior Member
System/lib/libcamalgo.so
System/lib/libcamdrv.so
System/lib/libcameracustom.so
System/lib/libfeautureio.so
System/lib/libvcodecdrv.so
System/lib-lib64/hw/audio.primary.default.so
System/lib-lib64/hw/gps.default.so
System/lib-lib64/hw/gralloc.default.so
System/lib-lib64/hw/ any file starting with mt67xx.so
GUIDE 2 :
System/lib/hw
System/lib/egl
If it didn't boot
System/bin/bbc
System/bin/linker
System/bin/linker64
System/bin/mdnsd
System/bin/ndc
System/bin/netd
Libcamalgo.so
Libfeatureio.so
Libcam.camparamsmgr.so
Libjpeg.so
Libdpframework.so
Libcamdrv.so
Libcameracustom.so
Lib3a.so
Lib3a_sample.so
Liba3m.so
Libcam.camadapter.so
Libcam.camnode.so
Libcam.client.so
Libcam.halsensor.so
Libcam.iopipe.so
Libcam.metadataprovider.so
Libcam.camparamsmgr.so
Libcam.sdkclient.so
Libdpframework.so
Libexif.so
Libfeatureiodrv.so
Lib.j3am.so
LibmtkOmxAdpcmDec.so
LibmtkOmxAdpcmEnc.so
LibmtkOmxAlacDec.so
LibmtkOmxApeDec.so
LibmtkOmxCore.so
LibmtkOmxFlacDec.so
LibmtkOmxG711Dec.so
LibmtkOmxGsm.dec.so
LibmtkOmxMp3Dec.so
LibmtkOmxRawDec.so
LibmtkOmxvDec.so
LibmtkOmxvEnc.so
LibmtkOmxVorbisEnc.so
Credits:
Mad Skill Skill
MT6735/MT6753 X64 group
Swiss Carter
LINK's :
http://www.techubng.com/2016/08/mtk-rom-porting-guide-
mt67xx.html
http://www.techubng.com/2016/08/mtk-porting-guide-mt67xx.html
===================================================
==================
/System/bin/bcc
/System/bin/install-recovery.sh
/System/bin/linker
/System/bin/linker64
/System/bin/mdnsd
/System/bin/ndc
/System/bin/netd
/System/etc/firmware folder
/System/etc/mddb folder
/System/etc/agps_profiles_conf2.xml
/System/etc/apns_conf.xml
/System/etc/custom.conf
/System/etc/recovery.fstab
/System/etc/recovery.sig
/System/etc/spn_conf.xml
/System/etc/trustzone.bin
Lib3a.so
Lib3a_sample.so
Liba3m.so
Libcamalgo.so
Libcamdrv.so
Libcameracustom.so
Libcam.camadapter.so
Libcam.camnode.so
Libcam.client.so
Libcam.halsensor.so
Libcam.iopipe.so
Libcam.metadataprovider.so
Libcam.paramsmgr.so
Libcam.sdkclient.so
Libdpframework.so
Libexif.so
Libfeatureio.so
Libja3m.so
LibMtkOmxAdpcmDec.so
LibMtkOmxAdpcmEnc.so
LibMtkOmxAlacDec.so
LibMtkOmxApeDec.so
LibMtkOmxCore.so
LibMtkOmxFlacDec.so
LibMtkOmxG711Dec.so
LibMtkOmxGsmDec.so
LibMtkOmxMp3Dec.so
LibMtkOmxRawDec.so
LibMtkOmxvDec.so
LibMtkOmxVenc.so
LibMtkOmxVorbisEnc.so
LibVcodecdrv.so
Credits:
Mad Skill Skill
Mt67xx 64 group
Swiss Carter (it wasn't easy to carefully scrutinize this)
LINK :
http://www.techubng.com/2016/08/cyanogen-porting-guide-mtk-
mt67xx.html
Bug Fixes For Any MTK CM Based
ROM
Dumnoi Ikechukwu August 14, 2016 ROM fixes
This topic is about fixing bugs after porting a CM Based ROM. You can learn how to port A CM
Based ROM with this guide here
So let's begin
System/etc/firmware/mt6620_patch_e3_hdr.bin
Systemetc/firmware/mt66320_patch_e6_hdr.bin
Systemetc/firmware/WMT.CFG
System/lib/modules/mtk_fm_drv.ko
System/lib/libfmcust.so
COMPASS PROBLEM:
System/lib/libsensorservice.so
GPS:
System/xbin/ibmnlp
System/etc/gps.conf
System/lib/module/mtk_stp_gps.ko
TOUCHSCREEN:
System/lib/libinput.so
System/usr
System/usr/keylayout/generic.kl (fix home button or capacitive)
FOR SOUND/AUDIO:
System/lib/libaudio.primary.default.so
(If above doesn't work replace all files starting with libaudio.xxxx in System/lib/)
STORAGE PROBLEM:
System/bin/vold
System/bin/pq
Edit storage_list.xml in framework-res.apk
BOOTLOOP ISSUE:
System/lib/libandroid_runtime.so
System/lib/libandroid_servers.so
System/lib/media_jni.so
Re-edit boot image
SENSOR FIX:
System/bin/akmdxxxx
System/lib/libsensorservice.so
System/bin/servicemanager
System/lib/libcameracustom.so
System/lib/libcameraservice.so
System/lib/libfeatureio.so (don't use this for some mt6580, may lead to said problem if
it didn't persist before)
Unpack boot image and replace camera lines from init.rc (stock boot image) to
init.mt65xx.rc (custom ROM)
For mt6580 replace camera lines from init.mt6580.rc (stock) to init.mt6580.rc (custom)
CAMERA FOCUS:
System/lib/libcameraservice.so
System/lib/libfeatureio.so
System/lib/libjpeg.so
System/lib/libdpframework.so
System/lib/featureio.so (for some mt6580)
System/lib/libcam.exif.so
System/lib/libcamdrv.so
System/lib/libcam.paramsmgr.so
System/lib/libcamalgo.so
System/lib/libcameracustom.so
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/libmhalsenario.so
System/lib/libmhalutility.so
System/etc/permission/android.hardware.camera.front.xml
System/etc/permission/android.hardware.camera.xml