Author Topic: Is there anyone who can create a well-working linux package for debian  (Read 5025 times)

szilveszter domotor

  • Newbie
  • *
  • Posts: 7
    • View Profile
Hi,

I tried both Kali and Debian stretch on my gemini, and it seriously hard to work with it currently. Is here anyone who can share a flash able image, which consistent and components working well, well is the key. I am personally saw this GUI first time in my life (used Xdebian/Xubuntu,Gnome , KDE and might couple of more, but for one time i can't even recall)...

Issues which actually make life harder is that out-of-box new image come with conflicts/incorrect dependencys. Debian has libreoffice by default, but it will fail the upgrade. on Kali it even worse, because the conflict will rise during the upgrade and you will not be able to boot the device anymore, if you can't solve it in that session, as far i remember packages which were involved are vim,vim* and kali distribution. What I could do remove from catalog and binarias, could not resolved via dpkg and apt. Furthermore if you upgrade KDE imported apps will not work properly , like ARK which will be not able to extract or create archive.

So a custom debian which support the following options would be really good:
Consistent apps and version
More useable gui like kde/gnome
Allowing f1-f12 by default to check the console messages and dbus during the boot, and if GUI fails somewhy still possible to do anything else than reflash...
Supporting all pheriphereis, I still struggling with bluetooth audio, can connect and trust but pulseaido fail and reset pulse each time (with max volume on speaker)  when you want to select the bloototh device in Bluetoothctl I can see connected as audio-card...

These were the first pains i observed on my first week, I was trying out sailfish as well, but I don't think that will be enough for me at all ... Gemini should keep drivers updated, but it seems not happening in general . I also read some articles at maemo forum, and it seems that are couple people already put a good system together, what I would like to have a flashable image of one of the all working systems.

Thiago Alves

  • Newbie
  • *
  • Posts: 12
    • View Profile
Is there anyone who can create a well-working linux package for debian
« Reply #1 on: August 03, 2019, 11:41:29 pm »
This is my personal recipe for a perfect install. Sorry I'm copying pasting my notes, so if it is not clear, just ask me. What I found out is that Android 8 is sketchy at best. When I tried to dual boot Gemian and Android 8 I was having all sorts of problems (apparently they both share the same kernel, IDK). Then I reflashed the whole thing with Android 7 and Gemian and things started to work a bit better. After installing the old Android 7 + Gemian duo, here is my after install perfect recipe:

GEMINI TWEAKS
==========

1. Install old image (Linux + Android 7)
2. Don't apt upgrade the system as it will break it, but update the repository info:
Code: [Select]
wget http://gemian.thinkglobally.org/archive-key.asc
sudo apt-key add archive-key.asc
sudo apt update
3. Install gemian-modular-kernel and gemian-modular-kernel-headers:
Code: [Select]
sudo apt install gemian-modular-kernel gemian-modular-kernel-headers4. Set timezone:
Code: [Select]
sudo dpkg-reconfigure tzdata5. pick a language_location specific UTF8 locale:
Code: [Select]
sudo dpkg-reconfigure locales6. Disable sleep:
Code: [Select]
sudo nano /etc/X11/xorg.conf
At the top of the file there is a ServerFlags section. Add/replace the following in the ServerFlags section:
Code: [Select]
    Option "OffTime" "0"
    Option "StandbyTime" "0"
    Option "SuspendTime" "0"
    Option "BlankTime" "0"
7. Lock the MAC address

Install hexedit:
Code: [Select]
sudo apt install hexedit
Code: [Select]
sudo hexedit /nvdata/APCFG/APRDEB/WIFIand set a mac address in bytes 04-09 (mind that the base is 0, so it starts at the 5th byte) of the first row (0)
TIP: This can be optional as most times the MAC address is already set in there. So just close hexedit and proceed.
set the i attr on the file:
Code: [Select]
sudo chattr +i /nvdata/APCFG/APRDEB/WIFIThis will lock down the mac address.

8. Change user name: https://askubuntu.com/questions/34074/how-d...nge-my-username
    NOTE: usermod only works on root. So all commands must be ran on sudo su

9. Touchscreen as touchpad: https://www.oesf.org/forum/index.php?showto...p;mode=threaded

10. Bluetooth mouse:
Code: [Select]
sudo apt install bluetooth blueman
« Last Edit: November 23, 2019, 05:35:05 pm by Thiago Alves »

Eric BF

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Is there anyone who can create a well-working linux package for debian
« Reply #2 on: August 04, 2019, 02:16:21 pm »
Thanks.

I am curious: why disable sleep?
Gemini 4G Debian
OpenPandora with Debian

mithrandir

  • Full Member
  • ***
  • Posts: 193
    • View Profile
    • http://www.mygnu.de
Is there anyone who can create a well-working linux package for debian
« Reply #3 on: August 05, 2019, 01:33:37 pm »
I'd suggest to perform the updates. Without updates you won't get updated versions of i.e. the camera app which work with the Gemini. Well, without updating the old image you won't even get the modular kernel. The broken Libreoffice update is fixable:
@see: https://www.mygnu.de/2019/02/libreoffice-update-failure  and some topics in this forum

All other updates worked for me.

mith

Thiago Alves

  • Newbie
  • *
  • Posts: 12
    • View Profile
Is there anyone who can create a well-working linux package for debian
« Reply #4 on: August 06, 2019, 08:41:15 am »
@Erick BF: I disabled sleep because it was annoyingly stopping long processes. I would leave the Gemini compiling something big just to find out later that the auto sleep had put the device to sleep and killed all my processes. Not to mention that the auto sleep is (at least on my device) a bit buggy. Sometimes the device would enter in seep mode to never wake up again. I would have to hold the "on" button for several seconds until the device rebooted.

@mithrandir: I'm not talking about LibreOffice update. When I apt upgrade my system after a fresh install, it is breaking something that prevents lxqt panel to initialize. The system was still booting and running, but was very hard to use without the panel taskbar. When I tried to figure out where the problem was, it looked like something related to pulse audio, which then was hanging the little volume control that was in the panel, which then hanged the panel initialization. I reflashed the system twice and the same problem happened. I had no issues when I apt upgrade from the new Android 8 + Linux image. So perhaps there is something from the old image that doesn't update properly. However, even without the upgrade I was able to get the modular kernel:
Code: [Select]
$ uname -a
Linux localhost 3.18.41 #1 SMP PREEMPT Fri May 24 19:53:00 UTC 2019 aarch64 GNU/Linux

$ lsmod
Module                  Size  Used by
mousedev               11309  0
joydev                 11231  0
uio_pdrv_genirq         3587  0
uio                     9769  1 uio_pdrv_genirq