How to access Android phone's storage from Termux

Use the following cmd in Termux

termux-setup-storage


This cmd will request permission to access phone's storage.

Grant the permission.




This will create symbolic links in Termux home directory

(/data/data/com.termux/files/home/storage)

to various shared storage locations on your phone


Its just a Terminal Emulator on Android phone. A small playground without root permission is provided to play around in Android phone.

If at all you need a root privilege better root your phone :)

How to

1. Install Termux from google play store



2. Update and Upgrade packages in Termux app

Use the cmd

pkg update

pkg upgrade


Set of packages Upgraded



3. Install OpenSSH

pkg install openssh



4. Set Termux User password 

passwd


5. Termux will accept any user name but for integrity sake

Use cmd 

whoami

6. To find the android phone IP address

ifconfig


7. Start the daemon in Termux which listens on port 8022

sshd


To check the port number

grep Port $PREFIX/etc/ssh/sshd_config

cmd printenv output above

8.  Using ssh client prg

ssh -p 8022 user@10.242.52.143



Diagram of type 1 hypervisor, type 2 hypervisor and os level virtualization(container)


Steps involved in installing Docker on Raspberry Pi 4

Update and Upgrade 

1. sudo apt-get update


2. sudo apt-get upgrade


3. curl sSL https://get.docker.com -o get-docker.sh


Execute the shell script using the command

4. sudo sh get-docker.sh


Add the current user to the docker group

5. sudo usermod -aG docker $USER

Screenshot of before and after using the usermod command



Above entries are from the file /etc/group 

6. sudo reboot

groups cmd will show that docker the group member of the user qwakaw

To view the docker version

7. docker version

Execute a simple hello world container 

8. docker run hello-world


Hiccups and fews cmds 

List packages installed Raspberry Pi OS which is Debian based

apt list --installed

dpkg -l | grep neofetch

Hangs during upgrade process

Setting up realvnc-vnc-server (7.13.1.57) ...

Updating /etc/pam.d/vncserver

Updating /etc/pam.conf... done

Looking for font path...

Solution

sudo apt-get remove realvnc-vnc-server


cmd to view the env variables

printenv 

printenv USER

or

echo $USER

6printenv-cmd.png

Used Photoflare to crop images in raspberry Pi 4(be patient when using the selection tool)

Samsung Galaxy Tab A9+ 5G

Had been looking for large screen device which elderly(not much of tech savvy) could use for their regular browsing as well as support regular phone call and SMS on the same device.

More than enough specs about the device are mentioned on the manufacturer website.





https://www.samsung.com/au/tablets/galaxy-tab-a/galaxy-tab-a9-plus-5g-graphite-64gb-sm-x216bzaaats/buy/

This log is here as a reference/redundant data :)  

Processor Type: Qualcomm Snapdragon

Processor Cores: Octa Core

Processor Model Number: SM6375

Processor Max. Clock Speed (GHz): 2.2

RAM (GB): 4

SSD storage: 64GB

Connectivity

USB Version: USB 2.0

Location Technology: GPS, Glonass, Beidou, Galileo, QZSS

Earjack: 3.5mm Stereo

Wi-Fi: 802.11 a/b/g/n/ac 2.4G+5GHz, VHT80

Wi-Fi Direct: Yes

Bluetooth Version: Bluetooth v5.1

NFC: No

Bluetooth Profiles: A2DP, AVRCP, DI, HFP, HID, HOGP, HSP, MAP, OPP, PAN, PBAP

Sensors

Accelerometer, Gyro Sensor, Geomagnetic Sensor, Hall Sensor, Light Sensor

Battery Capacity (mAh, Typical): 7040

Samsung galaxy Tab A9+ 5G - Supported network bands

Network

2G GSM

GSM850, GSM900, DCS1800, PCS1900

3G UMTS

B1(2100), B2(1900), B4(AWS), B5(850), B8(900)

4G FDD LTE

B1(2100), B2(1900), B3(1800), B4(AWS), B5(850), B7(2600), B8(900), B12(700), B13(700), B17(700), B20(800), B26(850), B28(700), B66(AWS-3)

4G TDD LTE

B38(2600), B40(2300), B41(2500)

5G FDD Sub6

N1(2100), N3(1800), N5(850), N7(2600), N8(900), N20(800), N28(700), N66(AWS-3)

5G TDD Sub6

N38(2600), N40(2300), N41(2500), N77(3700), N78(3500)

Different frequency bands for mobile phones

AU Mobile bands

2G and 3G networks are no more.

Au - telecom bands



To view information on individual cell tower/Mobile Network base stations visit Radio Frequency National Site Archive(RFNSA)https://www.rfnsa.com.au/

IN - telecom bands


Other Freqnecy bands available in IN are

2G (GSM) - still operational

  •  900MHz
  •  1800MHz

3G (UMTS) - shutdown by most operators 
  • 2100 MHz

4G (LTE)
  • 1800MHz
  • 2300MHz
  • 850MHz
  • 700MHz

 Raspberry pi os for Raspberry Pi 4/5 doesn't respond to F2 keyboard shortcut for renaming file.

Disabling an option in the File manager(FYI file manager is pcmanfm) will enable the F2 shortcut.

In pcmanfm(file manager) -> Edit -> Preference

Layout->Disable Display Simplified user interface and menu



ref :- https://forums.raspberrypi.com/viewtopic.php?f=91&t=217486&p=1337477#p1337475


Draw Arrow in GIMP 2.10

 cp arrow-set-size.scm to 

/home/qwakaw/.config/GIMP/2.10/scripts

or

${HOME}/.config/GIMP/2.10/scripts/


Open GIMP and use Path tool to draw a path.
Then use Tools -> Arrow



 For Video **

Used a VGA to HDMI adapter -> HDMI to micro HDMI adapter

For Audio **

There are USB headphone but for me 3.5mm audio output was provided in the VGA to HDMI adapter



top