Hello B2G world ! I'm trying to port B2G to OnePlus One ( OPO ) phone ( THE Flagship Killer : http://oneplus.net )
I have read the B2G wiki page about porting ( https://wiki.mozilla.org/B2G/Porting ) but I have some problems, and I would like to see if someone could help me. 1) "Clone B2G repo" Done! 2) "Create local backup of the original Android system" Done, my BG2 repo contain : /b2g/opo/ /b2g/opo/system/ /b2g/opo/system/etc/* /b2g/opo/system/system/* 3) "Add new device in config.sh" Done, simple copy/paste 4) "Create manifest file "default.xml" for new device" Done, but no real idea of what to set for specific hardware. I found some chipsets specs on iFixit ( https://ifixit.org/blog/6535/oneplus/ ) : Samsung K3QF7F70DM-QGCF 3 GB LPDDR3 RAM Qualcomm Snapdragon 801 likely layered beneath Qualcomm WCD9320 Audio Codec AGD2 2402 WX9DR (likely gyroscope) Toshiba THGBMBG9D8KBAIG eMMC 5.0 64 GB Onboard Storage Skyworks SKY77629-21 Power Amplifier Module Qualcomm WCN3680 802.11ac/FM/BT 4.0 Combo Chip Qualcomm WTR1625L RF Transceiver Skyworks SKY85709 WLAN Front-End Module Synaptics S3508A Touchscreen Controller 5) "Create configuration tree for new device" I'm blocked to this step. OPO is directly installed with CyanogenMod 11S, so we have the luck to have a tree branch on Cyanogen repo : https://github.com/CyanogenMod/android_device_oneplus_bacon But... there missing some required files : AndroidBoard.mk => Present, but contain only 2 lines.. it's weird AndroidProducts.mk => MISSING BoardConfig.mk => Present extract-files.sh => Present full_<device_id>.mk => MISSING idc files for touchscreen => MISSING ( only found querty.idc in my /system ) init files (init.rc, init.<target>.rc, uevent.rc...) => Copied from my OPO The wiki don't explain what theses files should contain. 6) "The need to rebuild boot.img" I have installed on my OPO the multiboot tool MultiROM ( http://forum.xda-developers.com/oneplus-one/development/mod-multirom-v26-t2835738 ) , I don't known if I need to rebuild boot.img ? I don't known if I also need to use a prebuilt kernel or from source. Any help will be appreciate :) Best regards, _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
