The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)
Adaptations/libhybris/Install SailfishOS for gemini
From Mer Wiki
< Adaptations | libhybris(Difference between revisions)
(→Downloads) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 16: | Line 16: | ||
=== Status === | === Status === | ||
+ | * 21th Jul 2017: most sensors work, and also OTA :) | ||
+ | * 16th Jul 2017: audio/video playback works, camera partially works, preview and capture work, video record not. | ||
* 26th May 2017: tried krnlyng's hwc workround, now lipstick working happily :), many thanks to krnlyng! | * 26th May 2017: tried krnlyng's hwc workround, now lipstick working happily :), many thanks to krnlyng! | ||
* 16th February 2017: wifi works. | * 16th February 2017: wifi works. | ||
* 14th February 2017: Unstable, not ready for use :) | * 14th February 2017: Unstable, not ready for use :) | ||
+ | |||
+ | === Downloads === | ||
+ | |||
+ | Last image you can get here https://www.androidfilehost.com/?fid=8889791610682945367 | ||
+ | |||
+ | === Steps to install === | ||
+ | !!!! BACKUP YOUR FILES FIRST!!!! | ||
+ | |||
+ | * unlock bootloader, please follow http://www.miui.com/unlock | ||
+ | |||
+ | * flash twrp recovery & format data partition (press and hold Volume down and Power key, boot to bootloader) | ||
+ | fastboot flash recovery twrp-3.0.2-3-gemini.img | ||
+ | |||
+ | * flash cm13.0 zip with twrp (press and hold Volume up and Power key, boot to recovery) | ||
+ | cm-13.0-20161220-SNAPSHOT-ZNH5YAO3XM-gemini.zip | ||
+ | |||
+ | * flash sailfishos zip with twrp | ||
+ | sailfishos-gemini-release-2.1.0.11-alpha5.zip | ||
+ | |||
+ | * reboot! | ||
+ | |||
+ | |||
+ | === Build image by yourself === | ||
+ | |||
+ | * Refer to https://sailfishos.org/hadk and download the porting guide PDF | ||
+ | * Replace "Creating Repositories for a New Device" section with this local manifest https://raw.githubusercontent.com/zhxt/local_manifests/hybris-13.0/gemini.xml | ||
+ | |||
=== Known Issues === | === Known Issues === | ||
− | 1. lipstic crash sometimes. | + | 1. lipstic crash sometimes.[fixed with krnlyng's hybris patch]. |
dmesg: | dmesg: | ||
Line 29: | Line 58: | ||
[ +0.044521] binder: send failed reply for transaction 6048, target dead | [ +0.044521] binder: send failed reply for transaction 6048, target dead | ||
− | 2. The working version of libdsyscalls.so is borrowed from ghosalmartin. :) | + | 2. The working version of libdsyscalls.so is borrowed from ghosalmartin. :) |
+ | |||
+ | [fixed by: | ||
+ | <krnlyng> zhxt, revert the thread_local stuff, and add LOCAL_CLANG := false to libdsyscalls.so in Android.mk | ||
+ | ] |
Latest revision as of 07:29, 25 September 2020
Gemini | |
Vendor: | Xiaomi |
Product name: | Mi 5 |
Sailfish OS version: | 2.1.0.10 |
Last update: | 26.05.2017 |
Sources: |
Contents |
[edit] Hardware Support
Device released | Linux Kernel |
Display | Touch | LED | Audio | NFC | Bluetooth | GSM | WLAN | GPS | Camera | Fingerprint | Sensors | Keys | Vibra | Haptics | Power Mgmt. |
RTC alarms |
USB | FM Radio | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SMS | Voice | Data | Connect | Hotspot | ALS | PS | Accel. | Gyro. | Magne. | Vol+/- | Home | Net. | Charge | ||||||||||||||||
3.18.31 | Y | Y | Y | Y | ? | N | Y | Y | Y | Y | Y | Y | Y | ? | Y | N | Y | Y | Y | Y | Y | Y | Y | Y | ? | Y | Y | N/A |
[edit] Status
- 21th Jul 2017: most sensors work, and also OTA :)
- 16th Jul 2017: audio/video playback works, camera partially works, preview and capture work, video record not.
- 26th May 2017: tried krnlyng's hwc workround, now lipstick working happily :), many thanks to krnlyng!
- 16th February 2017: wifi works.
- 14th February 2017: Unstable, not ready for use :)
[edit] Downloads
Last image you can get here https://www.androidfilehost.com/?fid=8889791610682945367
[edit] Steps to install
!!!! BACKUP YOUR FILES FIRST!!!!
- unlock bootloader, please follow http://www.miui.com/unlock
- flash twrp recovery & format data partition (press and hold Volume down and Power key, boot to bootloader)
fastboot flash recovery twrp-3.0.2-3-gemini.img
- flash cm13.0 zip with twrp (press and hold Volume up and Power key, boot to recovery)
cm-13.0-20161220-SNAPSHOT-ZNH5YAO3XM-gemini.zip
- flash sailfishos zip with twrp
sailfishos-gemini-release-2.1.0.11-alpha5.zip
- reboot!
[edit] Build image by yourself
- Refer to https://sailfishos.org/hadk and download the porting guide PDF
- Replace "Creating Repositories for a New Device" section with this local manifest https://raw.githubusercontent.com/zhxt/local_manifests/hybris-13.0/gemini.xml
[edit] Known Issues
1. lipstic crash sometimes.[fixed with krnlyng's hybris patch].
dmesg:
[ +19.213579] __create_fence: fb0_release: get_unused_fd_flags failed error:0xffffffe8 [ +0.000018] __handle_buffer_fences: unable to retrieve release fence [ +0.044521] binder: send failed reply for transaction 6048, target dead
2. The working version of libdsyscalls.so is borrowed from ghosalmartin. :)
[fixed by: <krnlyng> zhxt, revert the thread_local stuff, and add LOCAL_CLANG := false to libdsyscalls.so in Android.mk ]