Compare commits

..

No commits in common. "592465911e99807734b831e9ee1a4e0217f6cceb" and "de742dd06ebb15c12cd0b174af7883ed9d5e053a" have entirely different histories.

2 changed files with 19 additions and 46 deletions

View file

@ -36,35 +36,6 @@ Roll out audio workarounds: `./audio.sh`
## Project Status
### To Do List
- Make installer images
- Have droid-juicer run on installer images and test LUKS
- Make an ITP for tinyalsa and q6voiced and get that done (use the workarounds from this repo to get call audio working for now)
- Combine SDM670 kernel patches with those in the Mobian qcom kernel
- Patches are already being upstreamed by the sdm670-linux project, maybe that's already done before I start working on it xD
#### Issues To Solve To Get Official Mobian Images
- Remove hard-coded value in the `droid-juicer` systemd unit (needs someone who knows Rust, **help wanted**)
- https://gitlab.com/mobian1/droid-juicer/-/issues/4
- New release of qcom-phone-utils required so that my patches are available from the repo
- https://salsa.debian.org/DebianOnMobile-team/qcom-phone-utils/-/commit/4f77281197c6ba1cfc1a82596157d00e8a7e014b
- Combining SDM670 kernel patches with the Mobian qcom kernel (To Do List entry above)
#### Misc Issues
- ALSA config for the device has not been upstreamed yet (can be added using the Playbook in this repo)
(This is a non-exhaustive list)
#### Low Priority
- add udev rule for the vibration motor to the right package
- fix udev rule for the Bluetooth workaround in this repo
- add script that brings up Bluetooth & then package it
- for now this repo contains a simple script specific to this device and a udev rule, but something is wrong with the udev rule. Run "/opt/bluetooth-mac.bash" to get Bluetooth working, repeat after reboots
### This Works
- booting
@ -77,21 +48,16 @@ Roll out audio workarounds: `./audio.sh`
- wifi
- torch
- suspend
- SMS (only receiving has been tested, but I dont have reason to believe sending wouldnt work)
- call audio
- SMS (only receiving was tested, but I dont have reason to believe sending wouldnt work)
- call audio (partly, I still need to sort out how to get the built-in microphone working in calls, it already works outside of calls)
- vibration
- audio (ALSA config not packaged, but can be manually added using the playbook in this repo)
- Bluetooth™
- eSIM
- camera (both are still WIP, front camera buggy, back camera works but patches not in git yet)
- camera (front camera buggy, back camera works but patches not in git yet)
- GPS (needs some improvements for better accuracy)
### This Has An Unknown Status
- Fingerprint Sensor
- NFC (no idea what software I could use for testing, but should work, does so on pmOS)
### This Does Not Work Yet (Soon™)
### This Does Not Work (Soon)
- USB host mode (need to verify whether that's still the case or whether it can be used now)
- full disk encryption (no installer images yet, once the other stuff is done this will magically be there)
@ -108,16 +74,29 @@ Roll out audio workarounds: `./audio.sh`
- ambient light sensor
- barometer
### The Main Issues To Solve
- A systemd unit with a hard-coded value, that has to be manually edited for now (`droid-juicer.service`)
- https://gitlab.com/mobian1/droid-juicer/-/issues/4
- New release of qcom-phone-utils required so that my patches are available from the repo
- https://salsa.debian.org/DebianOnMobile-team/qcom-phone-utils/-/commit/4f77281197c6ba1cfc1a82596157d00e8a7e014b
- ALSA config not yet packaged, has to be manually copied for now (the Playbook in this repo does that)
- A few things to do for kernel packaging and then submitting that to Mobian... or merge with patches for the qcom kernel somehow
- patches are already being upstreamed by the sdm670-linux project, maybe that's already done before I start working on it xD
- no call audio yet, as the daemon (q6voiced) is not yet packaged (the Playbook in this repo compiles it and installs it)
- simple script that brings up Bluetooth has to be added somewhere (for now this repo contains a udev rule... but something is wrong with it. Run "/opt/bluetooth-mac.bash" to get Bluetooth working, repeat after reboots)
- udev rule for vibration has to be added to whatever package that is
### The Sources (Use The Source, Luke)
- My efforts of packaging a device-specific kernel: https://salsa.debian.org/erebion/sdm-670-linux (which can be used for now as patches are not yet in upstream Linux)
- My efforts of packaging a device-specific kernel: https://salsa.debian.org/erebion/sdm-670-linux (which will be used until all patches are part of upstream Linux and we can finally use a regular mainline kernel)
- `mobian-recipes`, which is used to build images: https://salsa.debian.org/Mobian-team/mobian-recipes
- `droid-juicer`, which retrieves some important files from some partitions: https://gitlab.com/mobian1/droid-juicer
- postmarketOS wiki: https://wiki.postmarketos.org (lovely folks, thanks for sharing everything you found out the hard way :D)
### Thanks For All The Fish
Huge thanks to be sdm670-linux project and flamingradian who did and still does an awful lot of work to make sure the Kernel works on those devices! :)
Huge thanks to be sdm670-linux project and flamingradian who runs the project (just one person!) to make sure the Kernel works on those devices! :)
I dont know how Kernel development works, so I would have never started porting without this project.

View file

@ -5,16 +5,10 @@
### ALSA Config ###
- name: "Remove previously downloaded versions of alsa ucm configs"
ansible.builtin.file:
path: "/root/alsa-ucm-conf-master.tar.gz"
state: absent
- name: "Download https://gitlab.com/sdm670-mainline/alsa-ucm-conf/-/archive/master/alsa-ucm-conf-master.tar.gz"
ansible.builtin.get_url:
url: "https://gitlab.com/sdm670-mainline/alsa-ucm-conf/-/archive/master/alsa-ucm-conf-master.tar.gz"
dest: /root/alsa-ucm-conf-master.tar.gz
force: true # overwrite if the already have a previous version
mode: '0440'
retries: 20