Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - skmakine

Pages: [1]
1
Gemini PDA - Linux / Why flash when you can apt-get update
« on: June 28, 2018, 02:16:36 pm »
Is there any benefit at all to flashing the new Debian image from Planet, as opposed to simply using apt to upgrade everything?

For Android, I guess flashing is the only way to upgrade. But perhaps I would then simply flash the boot etc partitions using the new firmware, and leave Debian and Android user data un-touched?

2
Gemini PDA - Linux / Good news about Mali drivers
« on: June 28, 2018, 02:12:02 pm »
Sounds supremely promising!

Any experiences on using this work in practice?

3
Gemini PDA - Linux / Access Linux partition from Termux
« on: June 28, 2018, 02:07:48 pm »
I have mounted the Debian partition from Android using Termux. Works fine, but requires root.

4
Gemini PDA - Linux / Alternative Linux available
« on: June 28, 2018, 02:06:04 pm »
Quote from: psionlover
Maybe you like to mention the most important missing 'desires' for using Gemian/DebianTP, it will help people who are fiddling around with Gemian right now.

to be honest, there's so many really major things not working at all or usably enough to even be able to make a proper list... but here's some major and minor things that work in Android but not so much in Debian TP1
  • I can trivially get 10+ days of stand-by time without a restart, while still having an instant-on device. In Deb, I can't even get a day. Plus trying to put the device to sleep just crashes it, requiring a hard reboot. This is so very important.
  • despite trying to follow instructions, I can't get the lid close functionality to work. Screen remains on, unless I manually execute gemian-lock
  • Android gives me 4G networking at the press of a button. I haven't even dared to attempt this in Debian, after looking at the instructions and the disclaimers in it.
  • overall the Android GUI is user friendly, whereas the Debian TP1 desktop simply isn't designed for this kind of device. It would be very interesting to get Ubuntu Touch running in Gemini. Maybe I'll try that next... but for now, without attaching a mouse, many things are quite difficult. Maybe a stylus would also help.
  • terminal is optimized for touch use
  • I can use Firefox in Android. It runs very bad in Debian. Probably fixable, but I don't know how, yet.
  • in Android I have a fully featured Skype client. In Debian I have to settle for a partially functional web skype, or Pidgin with extremely bad GUI. While I'm not all happy about my dependence on Skype, unfortunately this remains important for now
I know it's a preview of course, so it's not to be expected for everything to be working yet.

5
Gemini PDA - Linux / Alternative Linux available
« on: June 26, 2018, 03:21:53 pm »
Hey all!

Personally I wouldn't have known this was possible without stumbling on to it some time earlier, so here's something for you all to consider.

The Debian TP leaves much to desire at it's present state, with so many things just plain not working. For me, it's not really useful now, but for sure it's interesting and for now I'm keeping it installed to play around with.

However I'm reasonably happy with running Ubuntu virtually under Android. It does those things I need it to do, when I'm not using it my device is a normal Android device, and while running virtual Linux I can just instantly alt-tab between Linux and Android applications. For me at this time, it's the best of both worlds.

Here's how it works:
  • root your Android. This is required. I also installed the Magisk Manager to control root access.
  • install LinuxDeploy by meefik from Google Play
  • use the GUI to set up a new virtual Linux system (VNC is probably the only useful choice for desktop GUI)
  • start the VM, and connect to it with any VNC client
There you go. It will download and setup your new virtual Linux and prep it for use.

For myself, I installed Ubuntu/MATE into an image file in internal storage, added a bunch of softwares I need, and the bonus: I've set up an SDCard with a LUKS encrypted partition, and I can use that within the virtual Linux, to have a relatively safer encrypted storage, which is not accessible to Android OS at all, without some further special tricks. Now I dare to keep some confidential material on my device: Android snoopware can't access it, it's in encrypted storage, and best of all: if my device HW fails, I can just pop out the SDCard and mount it on an Ubuntu desktop.

I also made the VM desktop about half of the Gemini screen resolution, and then I have the VNC client scale it up to full screen. This way all the scrollbars etc are usable directly via touch screen, without having to figure out how to make the desktop environment make everything super-sized, which doesn't quite work with many softwares.

Using bVNC as the VNC client, I can toggle live between different modes for the touch screen, e.g. change from direct mode to simulated touchpad mode.

It's not 100% perfect, but for now works well enough for me. Some issues FYI:
  • with the VNC setup, I can't alt-tab inside the VM. Alt-tab switches between VNC client and other Android apps
  • when I use alt-drag to move windows, after the operation the Planet app bar always pops up, so I have to press the Planet key again to close it
  • no HW acceleration in the VNC desktop
  • no XRANDR extension (or I don't know yet how to achieve it)
  • home, end, pg up, pg down don't work so far
  • can't get FB to work as display method; the screen just keeps rotating till I kill it, or if I kill Android UI I get a very small popup error, and then have to force a hard reboot...
If you're interested, and end up trying this, please share your experiences! Particularly since it seems like there's not much good documentation about LinuxDeploy...

6
PS: besides airplane mode, you can also set the Wifi connection to turn off when the device goes into sleep mode. Maybe a softer approach than complete radio silence, and one that works automatically.

7
There is also the DuraSpeed option, available in Settings, which will restrict background apps. That sounds like it would help battery life.

8
Gemini PDA - Android / SDCard silly massive battery drain
« on: June 18, 2018, 12:19:18 pm »
I partitioned the sdcard in Ubuntu, and then formatted the only partition as LUKS.

Android obviously can't mount it, so it complains about a corrupt sdcard in the system notifications.

Just idling in Android, screen off, wifi off, no SIM card, softwares stopped, consumes about 50% battery power overnight (~8-10 hours).

I you're wondering where your battery is going, best check what your sdcard situation is...

9
Gemini PDA - Linux / Problem flashing from Linux
« on: June 17, 2018, 09:45:00 am »
FWIW I flashed with a plain desktop computer with plain Ubuntu 16.04 with zero tweaks besides installing that missing lib that the flash tool requires.

I used sudo directly, never even tried it without.

10
I went ahead and tried it, I guess things went as expected. Process:

copy Gemini_Dual_Boot.txt as Gemini_Dual_Boot_Rooted.txt
edit Gemini_Dual_Boot_Rooted.txt: replace "boot.img" with "patched_boot.img"
follow Flashing instructions, except that un-check all the boxes except "boot", and use Download Only option.

Flash device, boot: now it's rooted.

Can't see that I would have lost anything in the process; software and accounts remain on Android side, and Debian side seems the same also.

11
Is it quite safe to run the flashing tool so that I manually select which partitions to flash and which not? Can this result in a bricked device?

I already have a dual booting Gemini, and I'd like to root my Android.

I look at the scatter files, and the only diff between regular Android and rooted Android is "patched_boot.img". And then of course a big bunch of diffs between Android and dual boot.

So can I just change the "boot.img" file to "patched_boot.img" in the dual boot scatter file, then run the flashing tool, and *only* flash the SYS23/boot partition?

The aim here is to:
- not brick the device
- not lose/reset the Debian installation
- not lose Android user data
- ideally not even reset the Android installation
- achieve root in Android

Pages: [1]