原文
20170924 LineageOS 15.0 alpha test build
Finally, I have some breakthrough this weekend.
With a cocktail of the methods I tried, I can have a reliable RIL connection now. There are still a few loose ends but good enough for an alpha test. Therefore, I uploaded my latest test build for those few fellow developers to study. I don't know if its the first ever Oreo for MTK devices but this is just an experiment. Still a long way to go but seems not impossible now, cheers!
For those interested, you may check the experimental folder : https://www.androidfilehost.com/?w=files&flid=131362
There are still major issues so it is not ready for normal use yet, it just pointless to report anything too. Those who have real idea are welcome but I can't accept any log no more. I just don't have enough time for myself, sorry. It's not just a few patches or fixes would make Oreo work or even boot. If you don't understand what I suggested or posted, you are not ready yet.
I was planning to build AOSP but the out folder grows rapidly after a few builds. (from 80G to over 160G easy!). A clean build take over 4 hours even with ccache. So I would triple check in every attempt to avoid another build. I just can't have more than two Oreo inside my 500G partition without regularly removing the temp files...
Anyway, the current status is:
1. Audio IN/OUT is working.
2. GPS is working.
3. Power off charging is working. (With the CM/LOS charging images)
4. Wifi is working (may be 90%) but hidden ssid is not supported.
5. Wifi hotspot is working.
6. All sensors are working.
7. LED is working. I only tested with missing calls.
8. FM radio is working.
9. Torch (Flash light) is working.
10. DT2W is not working but you may press the back key to wake up the screen. Don't know if its the new feature of Oreo...
And finally RIL, I would say its 80% working now.
Dual SIM are supported and both SIM can make/receive phone calls and can connect to data. But, SMS can only be sent not received. I was thinking its APN related but data is working now. It might be IMS related but still have no idea yet.
SIM settings only work with one SIM in the device. It crashes with dual SIMs presence. I think its a platform bug. There seems no dual SIM device with official Oreo yet so can't verify.
Other major issues (mostly platform related) are:
1. Bluetooth hci can't read(I think write too) from the port. Seems CLANG related. It's a tiny but fatal bug. It makes no sense to use the old libc. pending...
2. Camera can't connect to the frame buffer. I think it needs the HAL1 handling. Let LOS do the job first. pending...
3. All codecs are successfully loaded but video playback fail. Seems security issues or media player services. pending...
Oreo is still early. It might be time wasting to deal with those platform issues. At this stage there are still hardware related issues. There is a long holiday ahead. I would take a break and continue later...
必应翻译
最后, 这个周末我有了一些突破。
用我尝试过的方法的鸡尾酒, 我现在可以有一个可靠的 RIL 连接。仍然有一些松散的结束, 但足够好的阿尔法测试。因此, 我上传了我最新的测试版本, 为那些少数开发人员学习。我不知道这是否是第一次奥利奥的 MTK 设备, 但这只是一个实验。还有很长的路要走, 但现在似乎不是不可能了, 干杯!