1 (edited by FoxTech 2023-12-28 11:03:44)

Topic: Guide: QET-0.100DEV on Touchscreen Andriod Samsung Tab S7 with S-Pen

IS NOW A GUIDE!
IS NOW A GUIDE!
IS NOW A GUIDE!
IS NOW A GUIDE!
IS Now a.. *Takes Breath*

Below is a 2 minute video just showing that it is possible to run QET on a Android Tablet. NO-ROOT. Rooting of the device was not needed. Can be done on a stock android tablet and/or phone.

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

*Most everything has been removed from this original post, this post has now changed to a Guide since several of the issues have been solved.

                               INSTALLATION GUIDE

*$ indicates what you type in the Terminal Window. Do not include $.

  • Open Google Playstore in Andriod OS

  • Install UserLAnd - Linux on Andriod

  • Open UserLAnd

  • Start Distribution: Ubuntu

  • Select Desktop Environment: Minimal

  • Select Connection Type: Graphical

  • Select Graphic Settings that best fit your application (Probably Defaults)

  • <<WAIT FOR TERMINAL TO APPEAR>>

  • $ sudo apt update

  • $ sudo apt-get install software-properties-common

  • <<RESTART>> (Andriod: Overview Screen -> Swipe UserLAnd Closed -> Start UserLAnd -> Click Sessions Tab -> Long Click Ubuntu Session -> Stop Session -> Tap Ubuntu Session to Open)

                              https://launchpad.net/~scorpio/+archive … rotech-dev

  • $ sudo add-apt-repository ppa:scorpio/qelectrotech-dev

  • $ sudo apt update

  • $ cat <<EOF | sudo tee /etc/apt/preferences.d/40qelectrotech-devel

  • $ Package: qelectrotech*

  • $ Pin: version 0.100.*

  • $ Pin-Priority: 1001

  • $ EOF

  • $ sudo apt update

  • $ sudo apt-get install qelectrotech qelectrotech-data qelectrotech-examples qet-tb-generator pysimplegui

  • $ sudo apt-get install xfce4-session xfce4-goodies

  • <<RESTART>> (Andriod: Overview Screen -> Swipe UserLAnd Closed -> Start UserLAnd -> Click Sessions Tab -> Long Click Ubuntu Session -> Stop Session -> Tap Ubuntu Session to Open)

  • <<WAIT FOR UI TO FULLY LOAD>>

  • Enable Hotkeys
    See the above video for how hotkeys are turned on and appear in the bottom left.

  • Select Shift

  • Click in Background

  • Go To: Applications -> Graphics -> QElectroTech

*Remember your hotkeys when editing your schematics or you will get aggravated as you wonder why you are drawing lines or not able to drag elements, etc. etc. 

There are still a few more things to figure out, such as if you are able to Print from this Virtual Machine, and how to transfer files on and off the Virtual Machine. It will be awhile until I start hacking away at this problem, so if anyone else wants to pick up the torch, please feel free to figure these things out. nomicons/smile

I will update this post as progress is made.

                               ISSUES LIST

As of: 12/27/2023

  • Step 7: Select Graphic Settings, Scaling Factor 1 causes a Aspect-Ratio mis-match between the resolution of the virtual machine and the resolution of the device itself in such a way that the height in the aspect ratio is higher in the virtual machine than on the device itself, ON SOME DEVICES. This causes, when fully zoomed out, the window on the virtual machine to expand out to the width causing you to have to always Pan up and down if you want to see the whole screen.

    The work around currently is to to enter desktop-top mode on the andriod device. This can currently be done using something like Samsung DEX mode, or if the andriod system is new enough, entering Developer Settings and turning on "Force Desktop Mode". Then connecting the andriod device, normally via USB-C to HDMI to a monitor or TV. Open UserLAnd in this environment and the Specified Geometry will be different when selecting the Scaling Factor. This may need to be put into the guide if an easier solution can not be found.

  • Unable to find a way to transfer files on and off the virtual machine. Obviously the environment can connect to the internet and it can even see some files and folders on the android OS, but .qet projects are hidden for some reason when using the UI's browser window. A lot more testing will need to be done to see the different ways this can be accomplished through UserLAnd.

  • Unknown if it is possible to setup a printer on this virtual machine. I don't have a printer or access to a network on my personal devices that do have a printer, so I will be unable to test this myself. If anyone wants to provide feedback on if they are able to, or the errors they get, because a lot of the errors are related to missing commands on the Ubuntu installation that we can fix, please make a reply.

It is not entirely impossible to move away from UserLAnd, the challenge and goal is to find a solution for the ARM64 android operating system where root is not required.

https://download.qelectrotech.org/qet/forum_img_2/Screenshot_20231224_055605_UserLAnd.jpg

Re: Guide: QET-0.100DEV on Touchscreen Andriod Samsung Tab S7 with S-Pen

@Foxtech: Wow it could be of interest to a lot of people.

I saw many many guys ask me, these guys want to launch QET on a Ipad or Android tablet..
The tablets allow you to take notes or correct a diagram in front of the electrical cabinets...

Maybe be to more easy on Ipad pro M1/M2? -> It doesn't seem very safe I think...

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Guide: QET-0.100DEV on Touchscreen Andriod Samsung Tab S7 with S-Pen

Original Post has been completely changed to a GUIDE.

Re: Guide: QET-0.100DEV on Touchscreen Andriod Samsung Tab S7 with S-Pen

There are still a few more things to figure out, such as if you are able to Print from this Virtual Machine, and how to transfer files on and off the Virtual Machine. It will be awhile until I start hacking away at this problem, so if anyone else wants to pick up the torch, please feel free to figure these things out.  I will update this post as progress is made.

Maybe....
1) You have network working also, try to install samba packages  to share yours files between Windows or linux machines. I think it's always installed.

2) Buy a usb adapter and key formatted in FAT 32, try to find it or mount it in your VM. Or try to found your internal SD card if you have a little shared partition in FAT32.

3) maybe you can try to print with WIFI .... If yours printers was connected to your router by cables or Wifi..

Tip: on tablet with this little screen, stack the widgets one on top of the other, in order to have more room for your diagram...


Good hacking...

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Guide: QET-0.100DEV on Touchscreen Andriod Samsung Tab S7 with S-Pen

Added an Issues List. The last issue, "print", I will need help with.

Re: Guide: QET-0.100DEV on Touchscreen Andriod Samsung Tab S7 with S-Pen

Importing and exporting files in UserLAnd:
https://github.com/CypherpunkArmory/Use … n-UserLAnd
Running Linux apps on Android without rooting your phone:
Printing with CUPS does not immediately work either.
https://www.linux-magazine.com/Issues/2 … (offset)/3

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Guide: QET-0.100DEV on Touchscreen Andriod Samsung Tab S7 with S-Pen

Bonjour

avez vous eu des retour positif

en recherchant je tombe sur ce post il me semble que ça correspond a ce que je cherche, c'est à dire pouvoir travailler avec QElectroTech sur ma tablette