-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Proceed to the new wiki for the proper Droidian port
It is expected that you already have unlocked bootloader and installed TWRP or maybe any other recovery capable of flashing zips.
I'm also making a list of better apps to use, it's small for now, but you can check it out here.
- Download LineageOS rom and adaptation from the latest release.
- Download latest stable Droidian rootfs from here (droidian-OFFICIAL-phosh-phone-rootfs-api30-arm64). You can also download devtools to have additional features, out-of-the-box ssh for example, so it's recommended.
- Place everything on your SD card, or just in some directory if you want to adb sideload.
Do not use usb 3.0 ports for sideloading, it can lead to problems
- Reboot into TWRP
- Factory reset, format data
- Flash LineageOS rom
- Flash Droidian rootfs (and optionally devtools).
- Flash droidian-adaptation-vayu
- Reboot
- While booting do not press anything. After POCO logo, the Droidian logo will appear very shortly and disappear after a second or two, wait and do not press anything. The password is 1234.
- Go to terminal -
rm ~/.local/share/keyrings/*
- Go to Software -> Updates, refresh, download and install updates.
- Reboot (it can freeze, so you may need to force-reboot by long-pressing power button)
To change default password - sudo passwd droidian
in terminal
Sometimes on the first boot there can be no sound and keyboard - just reboot by longpress.
Starting with the new version of adaptation (11.05.23), almost all fixes mentioned in the next section are already applied out of the box.
The things user still may want to do:
Enable batman service - sudo systemctl enable batman
(again, the password is 1234)
By default the available space is only 8gb. To increase it:
- Reboot to recovery
- Go to terminal
-
df -h /data/
to check how much space you can get (the size column) e2fsck -f /data/rootfs.img
-
resize2fs /data/rootfs.img 32G
- resizes to 32gb obviously, you can change to the value from the first command from the size column - Reboot to system
Run sudo /usr/share/ofono/scripts/list-contexts
It will output details about your APN, which you should use to set up Mobile Data in the Settings app (Access Point Names). After that data should work within GUI. You may need to turn Mobile Data on and off, but usually you just need to wait a little. Right now after reboot you need to turn it off and on again.
Create gtk.css file in ~/.config/gtk-3.0/
directory with the following contents:
.phosh-topbar-clock {
margin-left: 75px;
}
I made slightly customized us and ru layouts for squeekboard. It's a little wider than original, so it extends to the edges of the screen and also have comma key on the default view, so you don't need to switch to numbers to type it.
To use it you need to download corresponding yaml file from this repo.
Put the yaml file into ~/.local/share/squeekboard/keyboards
and it will work immediately. If you don't like it, just remove the file or rename it to something.
And you can make your own, it's amazingly simple.
While camera works, it works only after you open, close, open again the Camera app. And it is in wrong orientation.
Just install waydroid from repo, sudo apt install waydroid
Official waydroid instructions
To remove unwanted android apps from phosh app drawer, you can edit corresponding desktop files in ~/.local/share/applications/ directory. Add this line in a file of every app you don't want to show in the app drawer:
NoDisplay=True
To use flatpak with flathub, in terminal do:
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && flatpak remote-add --user --if-not-exists kdeapps http://distribute.kde.org/kdeapps.flatpakrepo
Add the following to /etc/apt/sources.list
deb http://droidian-libhybris.repo.droidian.org/bullseye-flatpak/ bullseye main
deb http://droidian-halium-wrappers.repo.droidian.org/bullseye-tls-padding-flatpak/ bullseye main
This will switch to using GPU accelerated flatpaks.
If you want, you can change default scaling by editing /usr/share/phosh/phoc.ini
[output:HWCOMPOSER-1]
scale = 3
Add following to /etc/apt/sources.list
deb http://droidian-stated.repo.droidian.org/bullseye-initial-implementation/ bullseye main
deb http://droidian-libhybris.repo.droidian.org/bookworm-wayland-egl-displays/ bookworm main
deb http://droidian-droidian-quirks.repo.droidian.org/bookworm-webkit-accel/ bookworm main