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 - Alexi Pistonrod

Pages: [1]
1
Gemini PDA - Linux / Problem flashing Debian for dual boot
« on: November 30, 2018, 05:18:32 pm »
Someone should have explained that the flashing process is something that happens only when the device is powered up. There is no special key combination or incantation needed. You just need to select the partitions to flash and start the download and while it is waiting just plug in the gemini it should auto detect and begin flashing.


As for conman, I decided to ditch in the end and use network-manager it just seemed more reliable and gave me the option to use nmtui from the command line if I did not want to use the gui.

Consider installing the xnput driver in relative mode. It makes using the mouse point significantly easier than the default.

2
Gemini PDA - Linux / Touchscreen as touchpad - relative mouse input
« on: September 19, 2018, 03:46:47 pm »
Quote from: Kiriririn
A video is worth 1000 words:

https://www.youtube.com/watch?v=bsJn3eMvG7w

tl;dw this technique changes the touchscreen from an absolute mode touchscreen (which is too fiddly for full linux desktop use) into a relative mode touchpad like on most laptops


Easy mode:
  • sudo apt install xserver-xorg-input-mtrack
  • Edit /usr/share/X11/xorg.conf.d/40-libinput.conf, find:
    Code: [Select]
    Section "InputClass"
            Identifier "libinput touchscreen catchall"
            MatchIsTouchscreen "on"
            MatchDevicePath "/dev/input/event*"
            Driver "libinput"
    EndSection
    Replace with:
    Code: [Select]
    Section "InputClass"
            Identifier "libinput touchscreen catchall"
            MatchIsTouchscreen "on"
            MatchDevicePath "/dev/input/event*"
            Driver "mtrack"
            Option "ScrollDistance" "40"
            Option "FingerLow" "1"
            Option "FingerHigh" "2"
            Option "Sensitivity" "1.8"
            Option "BottomEdge" "0"
            Option "SwipeDistance" "100"
            Option "ScaleDistance" "40"
            Option "ButtonMoveEmulate" "false"
            Option "ClickTime" "25"
            Option "MaxTapMove" "55"
            Option "EdgeBottomSize" "0"
    EndSection
  • sudo systemctl restart sddm or reboot
  • Recommended to disable acceleration in the LXQT mouse settings GUI
Hard mode:

(Instead of installing mtrack from debian repos, there is an improved version that must be built from source...)
  • Config edit as above
  • Enter a suitable empty directory
  • Install the standard debian build tools
  • sudo apt install xserver-xorg-dev libmtdev-dev xutils-dev
  • git clone https://github.com/p2rkw/xf86-input-mtrack
  • cd into the downloaded folder
  • ./configure --prefix=/usr
  • dpkg-buildpackage -uc -us
  • cd ..
  • sudo dpkg -i xserver-xorg-input-mtrack_0.5.0_arm64.deb
  • sudo systemctl restart sddm or reboot
  • Recommended to disable acceleration in the LXQT mouse settings GUI



Thanks for this , applied it and it is great however there seem to be many many options we can use to tweak the driver and I am not clear how to click and drag accurately.

How much have you experimented with the settings?

3
Gemini PDA - Android / Magisk manager not working?
« on: June 28, 2018, 06:50:50 pm »
Ok I am throwing my weight in here because Planet's rooted android just does not work. It has the weirdest layout I have seen but the su binary (and yes it is an su binary) seems to have been linked to something different.

[blockquote]which su
/sbin/su[/blockquote]

[blockquote]ls -la /sbin
drwxr-xr-x  3 root root 300 2018-06-28 22:54 .
drwxr-xr-x 21 root root   0 2018-06-28 22:54 ..
drwxr-xr-x  5 root root 100 2018-06-28 22:54 .core
lrwxrwxrwx  1 root root  10 2018-06-28 22:54 adbd -> /root/adbd
lrwxrwxrwx  1 root root  23 2018-06-28 22:54 fuelgauged_static -> /root/fuelgauged_static
lrwxrwxrwx  1 root root  13 2018-06-28 22:54 healthd -> /root/healthd
lrwxrwxrwx  1 root root  15 2018-06-28 22:54 magisk -> /root/ltCXUKAph
lrwxrwxrwx  1 root root  15 2018-06-28 22:54 magiskhide -> /root/ltCXUKAph
lrwxrwxrwx  1 root root  15 2018-06-28 22:54 magiskpolicy -> /root/Hq3Bdj1rs
lrwxrwxrwx  1 root root  16 2018-06-28 22:54 multi_init -> /root/multi_init
lrwxrwxrwx  1 root root  15 2018-06-28 22:54 resetprop -> /root/ltCXUKAph
lrwxrwxrwx  1 root root  15 2018-06-28 22:54 su -> /root/ltCXUKAph
lrwxrwxrwx  1 root root  15 2018-06-28 22:54 supolicy -> /root/Hq3Bdj1rs
lrwxrwxrwx  1 root root  13 2018-06-28 22:54 ueventd -> /root/ueventd
lrwxrwxrwx  1 root root  15 2018-06-28 22:54 watchdogd -> /root/watchdogd[/blockquote]


[blockquote]cd /root

ls -la

drwxr-xr-x  2 root root       0 2018-06-28 22:54 .
drwxr-xr-x 21 root root       0 2018-06-28 22:54 ..
-rwxr-x---  1 root root  790120 1970-01-01 01:00 Hq3Bdj1rs
-rwxr-x---  2 root root 1095264 1970-01-01 01:00 adbd
-rwxr-x---  2 root root  396600 1970-01-01 01:00 fuelgauged_static
-rwxr-x---  2 root root  803616 1970-01-01 01:00 healthd
-rwxr-xr-x  1 root root  109600 2018-06-28 22:53 ltCXUKAph
-rwxr-x---  2 root root 1262960 1970-01-01 01:00 multi_init
lrwxrwxrwx  2 root root       7 1970-01-01 01:00 ueventd -> ../init
lrwxrwxrwx  2 root root       7 1970-01-01 01:00 watchdogd -> ../init[/blockquote]


[blockquote]su
Permission denied


Planet:/ $ /root/ltCXUKAph                                                
ltCXUKAph: applet not found[/blockquote]




Notice the timestamp on that binary. Seems it is just generated.

So on the off-chance I got a bum download I downloaded it again. Sadly though the md5sums match.


[blockquote]cb71a5aadaa2800221dba99f1d6cf055  root_boot.img[/blockquote]


So no point in re-flashing it as it will not solve the underlying issue. That of broken su binary.



EDIT:

Ok so I got SU working again. I just installed Magisk Manager from the Git repo here
https://github.com/topjohnwu/MagiskManager/releases"\" target=\"_blank\"]
https://github.com/topjohnwu/MagiskManager/releases[/a]

0.5.7 installed and did not free this time. So dunno what I might have done to help that. But feed back from others say this is how they got SU to work properly as well.

Pages: [1]