[ROM][LINUX][DANDELION] Droidian Bookworm

Search This thread
71599051.png

Requirements​

  • Android 10 firmware for your device:
    • Redmi 9A/9AT dandelion: LINK.

Dandelion​

Installation​

  • Extract the archive
  • run the flash_all script
  • Boot to fastboot and let the script flash everything.
UBports Installer

Alternatively the UBports installer can also be used to install Droidian.

Notes​

Bugs​

  • Encryption is not supported.
  • Mobile data needs an APN to be set up from Settings -> Mobile -> Access Point Names.
  • RIL gets broken after switching airplane mode or modem off/on.
  • Mobile data might stop working after making or receiving phone calls. Toggle Mobile Data from the settins off/on.
  • Mobile data quick toggle doesn't work.
  • Bluetooth can be used via the terminal using bluetoothctl command or using blueman sudo apt install blueman but does not work via the settings app.
  • GPS works partially via Epiphany (tested with open street map).
  • Signal strength is reported at 1% but Mobile data and calls work just fine.
  • Anything related to cameras do not work it is a global issue across all devices, it does however work in Waydroid.
  • Changing audio to speaker in calls does not work on dandelion but works on angelica.
  • When a headphone is plugged in audio output must be changed manually in the settings.
  • Dual SIM functionality is currently not implemented in Phosh so only one SIM works at the moment.
  • Mobile hotspot does not work

Final notes​

  • I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.

Support

All the sources are available at

Attached images are from different devices but the interface looks and acts the same.
 

Attachments

  • phosh1.jpg
    phosh1.jpg
    225 KB · Views: 262
  • phosh5.jpg
    phosh5.jpg
    92.7 KB · Views: 248
  • phosh3.jpg
    phosh3.jpg
    79.5 KB · Views: 232
  • phosh4.jpg
    phosh4.jpg
    63.6 KB · Views: 224
  • phosh6.jpg
    phosh6.jpg
    21 KB · Views: 218
  • phosh7.jpg
    phosh7.jpg
    98.8 KB · Views: 207
  • phosh8.jpg
    phosh8.jpg
    105.7 KB · Views: 281
Last edited:
  • Like
Reactions: RidzVarn

laharl_22

Senior Member
Jan 23, 2011
247
19
I cant flash this on the recovery touchscreen dont Work what can i do for fix?il dont know my type of redmi 9a the data code is m2008c3lg
 

laharl_22

Senior Member
Jan 23, 2011
247
19
It fails at the last step install.sh no such file or directory but the dir of the script is mounted and chmod work .sorry for my double post
 
Last edited:

laharl_22

Senior Member
Jan 23, 2011
247
19
cd /tmp/adaptation-garden-script && chmod +x install.sh && sh install.sh
mount: '/dev/block/loop10'->'/mnt/': Block device required
mknod: /dev/loop1: File exists
losetup: /dev/loop1=/data/rootfs.img: Device or resource busy
mkdir: '/rootfs': File exists
cp: bad './etc/systemd/system/pulseaudio.service.d/*': No such file or directory
cp: /rootfs/etc/udev/rules.d/: No such file or directory
cp: /rootfs/etc/pulse/: Is a directory
cp: /rootfs/etc/ofono/: Is a directory
cp: '/rootfs/etc/modules-load.d/' not directory
cp: /rootfs/etc/apt/sources.list.d/: No such file or directory
cp: /rootfs/usr/share/keyrings/garden.gpg: No such file or directory
chroot: exec /bin/bash: No such file or directory i have this at the final step
 
cd /tmp/adaptation-garden-script && chmod +x install.sh && sh install.sh
mount: '/dev/block/loop10'->'/mnt/': Block device required
mknod: /dev/loop1: File exists
losetup: /dev/loop1=/data/rootfs.img: Device or resource busy
mkdir: '/rootfs': File exists
cp: bad './etc/systemd/system/pulseaudio.service.d/*': No such file or directory
cp: /rootfs/etc/udev/rules.d/: No such file or directory
cp: /rootfs/etc/pulse/: Is a directory
cp: /rootfs/etc/ofono/: Is a directory
cp: '/rootfs/etc/modules-load.d/' not directory
cp: /rootfs/etc/apt/sources.list.d/: No such file or directory
cp: /rootfs/usr/share/keyrings/garden.gpg: No such file or directory
chroot: exec /bin/bash: No such file or directory i have this at the final step
Can you drop me a message at @FakeShell at telegram?
because this seems to work and run fine on my 9A
have to troubleshoot a bit
 

vipinc

New member
Feb 26, 2012
1
0
Where to write it: cd /tmp/adaptation-garden-script && chmod +x install.sh && ./install.sh ???
 

mcloc

New member
Nov 1, 2022
1
0
View attachment 5665895

Requirements

  • Android 10 firmware for your device:
    • Redmi 9A dandelion: LINK.
    • Redmi 9C angelica: LINK.

Dandelion

Angelica

Dandelion installation

  • Flash boot-dandelion.img: fastboot flash boot boot-dandelion.img.
  • Flash dtbo-dandelion.img: fastboot flash dtbo dtbo-dandelion.img.
  • Flash vbmeta-dandelion.img: fastboot --disable-verity --disable-verification flash vbmeta vbmeta-dandelion.img.
  • Flash OrangeFox-R11-garden-droidian.img: fastboot flash recovery OrangeFox-R11-garden-droidian.img.
  • Format userdata as ext4 from inside the recovery or via fastboot: fastboot format:ext4 userdata.
  • Now boot into recovery.
  • Go into sideload mode and sideload droidian-OFFICIAL-phosh-phone-rootfs-api29-armhf-nightly_XXXXXXXX.zip: adb sideload droidian-OFFICIAL-phosh-phone-rootfs-api29-armhf-nightly_XXXXXXXX.zip
  • Go into sideload mode and sideload adaptation-droidian-garden.zip: adb sideload adaptation-droidian-garden.zip
  • Now boot into your device.

  • If for some reason sideload or recovery did not work out for you should try my second installation method:
  • Download the adaptation script (not the adaptation package): [adaptation-garden-script.zip] (https://garden.bardia.tech/adaptation-garden-script.zip).
  • Download PBRP: [PBRP-3.1.0.img] (https://garden.bardia.tech/PBRP-3.1.0.img)
  • Flash PBRP-3.1.0.img: fastboot flash recovery PBRP-3.1.0.img.
  • Now boot into recovery
  • Now extract adaptation-garden-script.zip on your PC/Laptop and push it to your device: adb push adaptation-garden-script /tmp
  • adb shell and Change directory to /tmp and run the script: cd /tmp/adaptation-garden-script && chmod +x install.sh && ./install.sh
  • Now boot into your device.

  • The first boot will take a while.

Angelica installation

  • Flash boot-angelica.img: fastboot flash boot boot-angelica.img.
  • Flash dtbo-angelica.img: fastboot flash dtbo dtbo-angelica.img.
  • Flash vbmeta-dandelion.img: fastboot --disable-verity --disable-verification flash vbmeta vbmeta-angelica.img.
  • Flash OrangeFox-R11-garden-droidian.img: fastboot flash recovery OrangeFox-R11-garden-droidian.img.
  • Format userdata as ext4 from inside the recovery or via fastboot: fastboot format:ext4 userdata.
  • Now boot into recovery.
  • Go into sideload mode and sideload droidian-OFFICIAL-phosh-phone-rootfs-api29-armhf-nightly_XXXXXXXX.zipip: adb sideload droidian-OFFICIAL-phosh-phone-rootfs-api29-armhf-nightly_XXXXXXXX.zip
  • Go into sideload mode and sideload adaptation-droidian-garden.zip: adb sideload adaptation-droidian-garden.zip
  • Now boot into your device.

  • If for some reason sideload or recovery did not work out for you should try my second installation method:
  • Download the adaptation script (not the adaptation package): [adaptation-garden-script.zip] (https://garden.bardia.tech/adaptation-garden-script.zip).
  • Download PBRP: [PBRP-3.1.0.img] (https://garden.bardia.tech/PBRP-3.1.0.img)
  • Flash PBRP-3.1.0.img: fastboot flash recovery PBRP-3.1.0.img.
  • Now boot into recovery
  • Now extract adaptation-garden-script.zip on your PC/Laptop and push it to your device: adb push adaptation-garden-script /tmp
  • Change directory to /tmp and run the script: cd /tmp/adaptation-garden-script && chmod +x install.sh && ./install.sh
  • Now boot into your device.

  • The first boot will take a while.

Notes

  • The default password is 1234.
  • Xiaomi has not updated their kernel source tree and as a result some models of 9A and 9C have non functional display panels with our kernel.
  • Droidian GSIs are experimental! Bugs and missing features are expected.
  • List of working things can be found at https://garden.bardia.tech

Bugs

  • Mobile data needs an APN to be set up from Settings -> Mobile -> Acess Point Names.
  • RIL gets broken after switching airplane mode or modem off/on.
  • Mobile data might stop working after making or recieving phone calls. Toggle Mobile Data from the settins off/on.
  • Mobile data quick toggle doesn't work.
  • Bluetooth can be used via the terminal using bluetoothctl command or using blueman sudo apt install blueman but does not work via the settings app.
  • GPS works partially via Epiphany (tested with open street map).
  • Signal strengh is reported at 1% but Mobile data and calls work just fine.
  • Anything related to cameras do not work it is a global issue across all devices, it does however work in Waydroid which is currently not available on angelica and dandelion.
  • Changing audio to speaker in calls does not work on dandelion but works on angelica.
  • When a headphone is plugged in audio output must be changed manually in the settings.
  • Dual SIM functionality is currently not implemented in Phosh so only one SIM works at the moment.
  • Just like bluetooth, hotspot does not work from settings either and has to be used from a GUI application (such as the default advanced network app) or from terminal.
  • Flashlight can be used via the desktop icons only.

Final notes

  • I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.

Support

All the sources are available at
Ow Lord, atomic bomb breaked myself on knees ;)

+1
 

the_arxyn

Senior Member
Jul 27, 2021
262
40
Redmi 9A
Hello bro
Your work is appreciable but i have a question that your droidian rom is based on Android 10 (Q) and it is became old in this big community Android 11 (R) and Android 12 (T) will (maybe) also release soon then who wants downgrade to an old android version from the latest android and latest security patches
My main question is that this rom droidian cant be based on latest android ?
 
Hello bro
Your work is appreciable but i have a question that your droidian rom is based on Android 10 (Q) and it is became old in this big community Android 11 (R) and Android 12 (T) will (maybe) also release soon then who wants downgrade to an old android version from the latest android and latest security patches
My main question is that this rom droidian cant be based on latest android ?
This is a Linux OS its not an Android ROM they are very different. It uses the Android 10 vendor and kernel and thats it. the rest is done on droidian itself. The kernel we have right now is patched to work with all variants of dandelion, angelica and angelican thanks to TheKit and Muhammad. as we all know xiaomi did not update their kernel source for these devices (garden). but we have all the needed drivers that Xiaomi did not include. for vendor the reason it cannot be upgraded is that we don't use the android vendor the way you might think we do. the system partition is completely wiped and the OS is completely up to date so I will argue that right now Droidian is much more secure than android itself. upgrading to Android 12 is impossible right now as we don't have a general Halium container image for Android 12 but Android 11 is doable albeit a waste of time. because of how low end these devices are and the ram usage will increase without any benefit on our end.
The main concern right now is with the vendor being armhf which forces us to also work with armhf rootfs instead of arm64 (while the kernel is arm64!).
But then again arm64 vendor will also just increase memory usage and there are variants of garden with 2GB of memory which already suffer with armhf so at least for now arm64 is completely out of the question.
 
  • Like
Reactions: MaverickNextDoor

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    71599051.png

    Requirements​

    • Android 10 firmware for your device:
      • Redmi 9A/9AT dandelion: LINK.

    Dandelion​

    Installation​

    • Extract the archive
    • run the flash_all script
    • Boot to fastboot and let the script flash everything.
    UBports Installer

    Alternatively the UBports installer can also be used to install Droidian.

    Notes​

    Bugs​

    • Encryption is not supported.
    • Mobile data needs an APN to be set up from Settings -> Mobile -> Access Point Names.
    • RIL gets broken after switching airplane mode or modem off/on.
    • Mobile data might stop working after making or receiving phone calls. Toggle Mobile Data from the settins off/on.
    • Mobile data quick toggle doesn't work.
    • Bluetooth can be used via the terminal using bluetoothctl command or using blueman sudo apt install blueman but does not work via the settings app.
    • GPS works partially via Epiphany (tested with open street map).
    • Signal strength is reported at 1% but Mobile data and calls work just fine.
    • Anything related to cameras do not work it is a global issue across all devices, it does however work in Waydroid.
    • Changing audio to speaker in calls does not work on dandelion but works on angelica.
    • When a headphone is plugged in audio output must be changed manually in the settings.
    • Dual SIM functionality is currently not implemented in Phosh so only one SIM works at the moment.
    • Mobile hotspot does not work

    Final notes​

    • I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.

    Support

    All the sources are available at

    Attached images are from different devices but the interface looks and acts the same.
    1
    Hello bro
    Your work is appreciable but i have a question that your droidian rom is based on Android 10 (Q) and it is became old in this big community Android 11 (R) and Android 12 (T) will (maybe) also release soon then who wants downgrade to an old android version from the latest android and latest security patches
    My main question is that this rom droidian cant be based on latest android ?
    This is a Linux OS its not an Android ROM they are very different. It uses the Android 10 vendor and kernel and thats it. the rest is done on droidian itself. The kernel we have right now is patched to work with all variants of dandelion, angelica and angelican thanks to TheKit and Muhammad. as we all know xiaomi did not update their kernel source for these devices (garden). but we have all the needed drivers that Xiaomi did not include. for vendor the reason it cannot be upgraded is that we don't use the android vendor the way you might think we do. the system partition is completely wiped and the OS is completely up to date so I will argue that right now Droidian is much more secure than android itself. upgrading to Android 12 is impossible right now as we don't have a general Halium container image for Android 12 but Android 11 is doable albeit a waste of time. because of how low end these devices are and the ram usage will increase without any benefit on our end.
    The main concern right now is with the vendor being armhf which forces us to also work with armhf rootfs instead of arm64 (while the kernel is arm64!).
    But then again arm64 vendor will also just increase memory usage and there are variants of garden with 2GB of memory which already suffer with armhf so at least for now arm64 is completely out of the question.