Author Topic: Is there any way to make Debian a primary partition on Gemini PDA ?  (Read 2317 times)


  • Newbie
  • *
  • Posts: 2
    • View Profile
I want to make Debian on Gemini PDA a primary boot partition in order to boot to Debian by default.
As far as I understand it was possible with old flashing tool (,
but the new partition tool ( says that
Boot 1 supports only Android, rooted Android and Sailfish
Boot 2 and Boot 3 support Android, rooted Android, TWRP, Debian and Kali

Does anybody know what is the reason for this change ?
Did anybody try to flash newer debian image with files created by old flashing tool ?


  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Is there any way to make Debian a primary partition on Gemini PDA ?
« Reply #1 on: January 21, 2020, 11:07:15 pm »
I made a single Debian partition using the new flashing tool. The tool doesn't specifically allow it, but if you choose Sailfish it does. So I did this:

1. I chose Sailfish, then downloaded the scatter file.
2. I downloaded the Debian image
3. I copied the debian image and the Sailfish scatter file into the Gemini base image folder as instructed
4. I then ran the Firmware flashing tool and loaded the Sailfish scatter file

But at that point you'll see a couple of the options aren't ticked in the flash tool (from memory boot, boot2 and boot3). Because these are pointing to the sailfish image (which doesn't exist). So you just need to

5. Open the scatter file in a text editor (if you're using Windows I'd recommend Notepad++ or somethign and make sure the file Line ending is set to Unix (LF). Notepad I think uses Windows Line Ending so the file will probably become corrupted)
6. Search for sailfishos_boot.img and replace it with debian_boot.img then save the file
7. Reload it in the Flash Tool and all should be ticked.

Let me know if you have any trouble and I"ll send you my scatter file. As long as you only want a single partition and you have the X27 sim version, I think it should work.


  • Newbie
  • *
  • Posts: 2
    • View Profile
Is there any way to make Debian a primary partition on Gemini PDA ?
« Reply #2 on: January 22, 2020, 09:38:46 am »
Thank you very much, confirmed working on one device. I going to check it better in close future.
Just for completeness, there are 2 minor problems I can see now
1 - blue led indicating charging state when device is off is gone and stopped working.
2 - Battery level in power management widget is updated only when new power event happens (for example connecting/removing charging cable)

Did anybody see something like this ?

Update: upower -i /org/freedesktop/UPower/devices/battery_battery shows something meaningful. The problem looks like to be somewhere in UI of the panel widget.
« Last Edit: January 22, 2020, 10:40:02 am by d_ohrenelli »