The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)
Adaptations/libhybris/Install SailfishOS for onyx
From Mer Wiki
Notes for installing Sailfish OS on the OnePlus X (onyx).
Contents |
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.4.0 | Y | Y | Y | Y | N/A | Y | Y | Y | Y | Y | Y | Y | Y | N/A | Y | Y | Y | Y | Y | Y | N/A | Y | Y | Y | Y | Y | Y | Y |
Status
Things that doesn't work
- Jolla Store (Harbour) doesn't work. Do not sign in with Jolla account.
- Bluetooth is enabled after every boot.
- Voicecall volume is stuck at max.
- Camera images are missing orientation EXIF tag. Take landscape photos or rotate later.
- Battery gauge gets stuck at 100% after full charge
- wlan0 mac address is not correct
- 4G is not shown in mobile network settings (due ui/mw version conflict)
- If you change mobile network from 4G (blank) to 3G/2G from settings, you can't change back
- Restore 4G
dbus-send --system --type=method_call --print-reply --dest=org.ofono /ril_0 org.ofono.RadioSettings.SetProperty string:TechnologyPreference variant:string:lte
- Restore 4G
- Volume keys have effect even when screen is off - they shouldn't
Things that work
Random but worth mentioning
- USB OTG: Memory stick, keyboard
- Flipcover HAL Sensor
Experimental stuff
- OTA should work from alpha-3 on
- OTA to 2.0.1.11 possible but on own risk
- 4K video
- http://forum.xda-developers.com/oneplus-x/orig-development/mod-custom-camera-hal-4k-uhd-dci-30-fps-t3315382
- https://build.merproject.org/package/show/home:kimmoli/onyx-camera-settings-plugin
- https://build.merproject.org/package/show/home:kimmoli:onyx_test2/camres
- https://github.com/kimmoli/camres/blob/master/readme.md
- pixel ratio 1.8
- Scales icons and stuff so that they look same size as on jolla phone
- script https://pastebin.com/mxKRkt7Z
WIP Over-the-Air updates (OTA)
- Open shell with normal nemo user
- You can be on any Sailfish OS version you have installed before
- Ensure that sailfish_latest_(architecture) repo on OBS points to the version you'll OTA to for best results (ping us on IRC if not sure)
Currently available OTA versions:
- for Nexus 4: 2.0.1.11, 2.0.2.51, 2.0.5.6
- for Nexus 5: 1.1.9.28, 2.0.0.10
- (we're also coding an OTA update checker, sync with mal- at IRC and help with that!)
RELEASE=<the version> # e.g. RELEASE=2.0.0.10 devel-su sed -i -e 's#^adaptation=.*$#adaptation=http://repo.merproject.org/obs/nemo:/testing:/hw:/oneplus:/onyx/sailfish_latest_armv7hl/#' \ /usr/share/ssu/repos.ini ssu dr adaptation0 ssu release $RELEASE ssu lr # ^ double-triple check that no -two- enabled repos point to the same URL # You may have many of OpenRepos enabled. It's recommended to disable them, even # though version --dup will do its best-effort to isolate repositories: ssu lr | grep openrepos devel-su zypper clean -a devel-su zypper ref -f version --dup # if above fails, try again version --dup sync reboot
Installation
Requirements for installation
- Base Android zip: XDA CyanogenMod download
- Latest Sailfish OS release: (newest directory and then the zip)
- Computer with adb and fastboot installed
- Patience and luck
Installation steps
- Install Android base zip by following instructions: XDA CyanogenMod thread
- Install the Sailfish OS zip on top of that Android base
- Reboot
Report bugs
- Software-related bugs (Sailfish OS): first search in https://together.jolla.com. If not found, add your question and tag with "porting"
- App bugs (e.g. an app doesn't scale well on different screens): contact its developer
- Problems which depend on hardware: search existing http://bit.ly/port-bugs; add new http://bit.ly/port-new-bug
- Please do not contact Jolla Care, Jolla Developer Care or phone's maker (e.g. LG, OnePlus, Google), as this is the Sailfish OS community's build for other phones