How to port manufacturer ROM

====

http://forum.xda-developers.com/showthread.php?t=2245786



  • --> persist.sys.usb.config=mtp to persist.sys.usb.config=mtp,adb
    --> ro.adb.secure=1 to ro.adb.secure=0
  • Save and recompile kernel
  • Use CM/AOSP modified kernel in your rom.
17. Now ZIP your PORT rom folder and flash it.











Please don't forget to use LOGCAT to debug the rom..... And to thanks or/and donate to me .....
Thanks !

GalaxyUser
ThanksTHANKS
 
REPLY Multi-Quote This Message
The Following 167 Users Say Thank You to GalaxyUser For This Useful Post: [ Click to Expand ]
 
GalaxyUser
Old
(Last edited by GalaxyUser; 11th November 2013 at 05:26 PM.)
#2 
GalaxyUser's Avatar 
Senior Member -  OP
Thanks Meter  1993
Posts:  569
Join Date:  Jun 2010
Location:  Aix-en-Provence

 
DONATE TO ME
Here, I give you some tips and may help you to fix issues..
Files to fix ...
  • You can try to replace some of these files (if exists) to fix ...

    NFC
  • /system/app/Nfc.apk
  • /system/lib/libnfc*.so
  • /system/bin/pcscd


    Radio FM
  • /system/bin/fmradio


    Sensors
  • /system/bin/akmd*
  • /system/lib/libsensors.so


    Bluetooth
  • /system/bin/bd_prov
  • /system/bin/uim*
  • /system/bin/hcid
  • /system/bin/bluetooth*
  • /system/bin/hciattach
  • /system/bin/sdptool
  • /system/xbin/hciconfig


    Wifi
  • /system/bin/netcfg
  • /system/bin/dhcpcd
  • /system/bin/ifconfig
  • /system/bin/hostap
  • /system/bin/hostapd
  • /system/bin/hostapd_bin
  • /system/bin/pcscd
  • /system/bin/wlan*
  • /system/bin/wpa*


    RIL
  • /system/bin/stmd
  • /system/bin/rild*
  • /system/etc/rril


    Camera
  • Copy libcamera*.so from base to port rom
  • If rom does not boot after that, replace file one by one and see which file is the problem.

If you port on HTC Devices, try these:
Fix Network auto select
  • Decompile framework-res.apk
  • Go to this folder \framework-res\res\values
  • Open bools.xml
  • Change <bool name="skip_restoring_network_selection">true</bool>
  • To Change <bool name="skip_restoring_network_selection">false</bool>
Fix graphichal issues
  • Decompile framework.jar
  • Change these files with your CM base
  • smali\smali\android\os
  • Environment
  • SystemProperties
  • smali\smali\android\view
  • HardwareCanvas
  • HardwareRenderer$Gl20Renderer
  • HardwareRenderer$GlRenderer
  • HardwareRenderer
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值