hTc S801 ROM 相互porting方法 - Android

Table of Contents

適用於M8/Eye/E8/BF2
意味Eye/E8/BF2 可以共用M8的ROM資源

sun_dream原始教學文:
https://media.weibo.cn/article?id=2309403956147697677603


整理簡化一下,分成兩個部分:

(一)將原本Eye/E8/BF2的以下部分覆蓋到新ROM:

system/etc/nfc****.xml
#NFC配置相关

system/lib/hw/nfc****.so
system/lib/libnfc****.so
system/vendor/firmware/libpn****.so
#NFC驱动

system/app/Nfc***
#NFC 服务软件

system/etc/res_ctrl*.conf
#相机畫素配置

system/usr/keylayout/device-keypad.kl
#實體按鍵配置

system/lib/modules
#核心模組


(二)boot.img ramdisk置換:

將原ROM與新ROM的boot.img解包
把新ROM的ramdisk取代原本的ramdisk
原本的ROM再打包
並使用這個boot.img

這個經移植後的產物變成你可使用的ROM了。



而我目前使用 Sun_dream製作M10 port to M8 ROM

系統資訊
https://i.imgur.com/MpFmh5e.png
https://i.imgur.com/BW8pqTa.png

M10 Boomsound with Dolby
以及仿Android N 下拉UI
https://i.imgur.com/xe5LQD2.png
https://i.imgur.com/CNf54gH.png
https://i.imgur.com/sWCpOm2.png
https://i.imgur.com/KYrr3hR.png
https://i.imgur.com/3LaV3cX.png

Sense 9.3 Camera
https://i.imgur.com/PlkY11A.png


簡單分享而已

這些機器差不多快被淘汰了

提供一個再利用的管道

--

All Comments

Poppy avatarPoppy2018-03-22