Changes

Jump to navigation Jump to search
GPS works somewhat with https://gitlab.com/postmarketOS/pmaports/-/merge_requests/2039
| name = Swift
| codename = wileyfox-crackling
| image = File:wileyfox-crackling-white-experimental.jpg| imagecaption = Wileyfox Swift running XFCE4Plasma Mobile
| releaseyear = 2015
| category = community
| originalsoftware = Android 5.1.1
| chipset = Qualcomm MSM8916 Snapdragon 410
| status_touch = Y
| status_screen = Y
| status_wifi = <!-- Wireless network works? -->Y
| status_xwayland = Y
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->Y| status_mainline = <!-- Instead of a Linux kernel fork, it is possible to run mainline. -->Y| status_battery = <!-- Charging the battery with charging-sdl is possible -->Y| status_3d = <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->Y| status_accel = <!-- The sensor that measures proper acceleration works -->Y| status_audio = <!-- Using the device's speakers/headphone jack works -->Y| status_bluetooth = <!-- It's possible to pair and use other devices via the bluetooth protocol -->Y
| status_camera = <!-- Taking photos and videos works. -->
| status_gps = <!-- The Global Positioning System sensor works. -->Y| status_mobiledata = <!-- Connecting to the Internet via cellular network. -->Y| status_sms = <!-- Sending and receiving short messages works as intended. -->Y| status_calls = <!-- Talking to other people over the cellular network. -->Y
| status = <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" -->
| booting = yes <!-- The device is booting at all, can be yes/no *IMPORTANT* -->
| status_otg = -P| pmoskernel = Mainline
<!-- you can also use these lines if you need to:
if the device haven't originally ran Android OS, e.g. Nokia N900
| n-android = ✔
Version of the kernel that pmos is running
| pmoskernel = 3.x.x
see Unixbench page on wiki
| whet_dhry = 0.0
Is OTG available, not used in wiki
| status_otg = -
-->
}}
Fairly popular device based on reference Qualcomm design. Initialy Initially shipped with CyanogenOS.
There is also another device called GeneralMobile 4g (Android One device) that is very similar with this one.
 
== Problems ==
* Battery charge level reported incorrectly (at zero most of the time)
== Contributors ==
* ''[[user:TravMurav|TravMurav]]''
* ''[[user:Minecrell|Minecrell]]''
== Maintainer(s) ==
<!-- Only if this device doesn't run on linux-postmarketos yet! -->
<!-- This person needs to be willing to answer questions from users of this device -->
* ''[[user:TravMurav|TravMurav]]''
* ''[[user:Minecrell|Minecrell]]''
== Users owning this device ==
{{Device owners}}
<!-- autogenerated, use {{Owns device|devicepage|notes}} on your profile page -->
<!-- use _ instead of spaces in device page name, e.g. {{Owns device|Nokia_N900|broken screen}}-->
<!-- you may need to purge page cache to see changes (more->purge cache)-->
<!-- you can use {{My devices}} on your profile page to show table with all your devices -->
== How to enter flash mode ==
* '''DownloadRecovery:''' With Power on the device powered offwith both <code>Power</code> and <code>Volume Down</code> buttons.* '''Stock fastboot:''' Power on the device with both <code>Power</code> and <code>Volume Up</code> buttons. You only need this to install lk2nd.* '''lk2nd Fastboot:''' Power on the device. After it vibrates/the display shows up, hold <code>Volume UpDown</code> and connect .{{note|'''Note:''' Pressing the keys too early will cause the stock bootloader to handle the key combination. You will end up in the USB cablewrong Fastboot interface.}}
== Installation ==
<!-- add more sections below as necessary# You need to enable OEM unlocking in the developer settings of your android/cynogen installation. Otherwise, ethe Cynogen recovery will refuse to boot.gHowever, you are allowed to flash the rootfs. WifiKernel, photosRecovery and bootloader not.# Make sure that you have the latest Cyanogen bootloader. If necessary, you can use the <code>flash-radio.sh</code> script from https://androidfilehost.com/?fid=10763459528675591497.# Install [https://github. com/msm8916-->mainline/lk2nd lk2nd] (alternative bootloader that handles certain mainline quirks like setting up the WiFi/BT MAC addresses. Keep in mind that you have to install pmOS components with lk2nd, not original fastboot)Just follow the # Follow [[Qualcomm_Snapdragon_410/412_(MSM8916)#Installation guide]]. == Battery and charging ==Wileyfox Swift uses LBC charger in pm8916. A simple driver was added to the kernel to enable and configure charging. Compared to downstream driver that makes some decisions in software, this driver leaves charging entirely to hardware since, according to documentation, LBC can work on it's own after it was initially configured.{{note|'''Note:''' As with any device, it's not recommended to leave your phone on charger for prolonged periods of time, leave it unattended or charge it in conditions that may cause overheating. }} This device uses "Voltage Mode BMS" (VM-BMS) to estimate State Of Charge (SOC) of the battery. Compared to other devices that have additional hardware (Fuel Gauge) to measure SOC, VM-BMS is mostly implemented in software. Accurate SOC estimation requires complex math algorithms and, ideally, should be implemented as userspace program. As a temporary solution, vm-bms driver was implemented. It uses simple, less accurate algorithm to estimate SOC. This algorithm works well enough to show approximate SOC in normal use but may fail in some unusual cases.
== Audio ==See [[WestonQualcomm_Snapdragon_410_(MSM8916)#Audio]] and . == Modem ==See [[XFCE4Qualcomm_Snapdragon_410_(MSM8916)#Modem]] works. [[Plasma Mobile]] unuseable because of software rendering == USB Host (OTG) ==This device doesn't support OTG so it can't provide power or even detect normal OTG adapters but it is still possible to use USB in host mode. This requires custom adapter that will provide power to your USB device. In order to detect such adapter we abuse the fact that USB ID pin in microUSB is used to force EDL mode but since it is pulled down we can't detect normal OTG adapters with it. (USB_ID on those adapters is connected to ground when we can only detect 5v on this pin) So your custom adapter not only should provide external power but also should provide logical-high signal to USB_ID. This can make such adapter dangerous for other devices so you should avoid plugging it anywhere else. You can put a resistor between 5v and USB ID to make it a bit safer. Please note that device will boot into EDL mode if you leave such adapter in while powering on the device. EDL have no visible indication and you will need to pull battery out in order to reboot.
== See also ==
* {{MR|485|pmaports}} Initial merge request
 
* [https://gitlab.com/postmarketOS/pmaports/-/tree/master/device/community/device-wileyfox-crackling Device package]
* [https://gitlab.com/postmarketOS/pmaports/-/tree/master/main/linux-postmarketos-qcom-msm8916 msm8916 mainline kernel package]
* [https://github.com/msm8916-mainline/linux Mainline kernel tree for msm8916 devices]
 
<!--
You can also add normal web links:
* [https://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100 Replicant wiki page]
--><!--If you manage to get your device packages merged, uncomment links below and change DEVICE_CODENAME with the actual one.* [https://gitlab.com/postmarketOS/pmaports/tree/master/device/device-DEVICE_CODENAME Device package]* [https://gitlab.com/postmarketOS/pmaports/tree/master/device/linux-DEVICE_CODENAME Kernel package]
-->
560

edits

Navigation menu