ICT: Diary
D: 28 W: 05
| < | December 2022 | > | ||||
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
nexus
Trying to get postmarketOS running on my Asus Nexus 7, but I'm having the following issues:
- adb is not finding the device
- installing adb on alpine linux
- tmpfs file system is full building root fs with pmbootstrap
Holding Power + Volume Down gets the device into boot loader mode.
The tmpfs being full was solved by answering [y] to the extra space question[1].
Hints from docker-adb helped install adb on alpine.
Set up udev with the /etc/udev/rules.d/51-android.rules file with the following:
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e40", MODE="0666", GROUP="plugdev", SYMLINK+="android%n"
Hints from StackExchange and archived cyanogenmode helped me to set up udev.
It didn't help that started it shows up as:
Bus 001 Device 010: ID 18d1:d001 Google Inc. Nexus 4 (fastboot)
when booting.
Even with udev apparently set up correctly:
sysadmin:~$ udevadm info -q all -n /dev/bus/usb/001/008
P: /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3
N: bus/usb/001/008
S: android3
E: BUSNUM=001
E: DEVLINKS=/dev/android3
E: DEVNAME=/dev/bus/usb/001/008
E: DEVNUM=008
E: DEVPATH=/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3
E: DEVTYPE=usb_device
E: DRIVER=usb
E: ID_BUS=usb
E: ID_FOR_SEAT=usb-pci-0000_00_1a_0-usb-0_1_3
E: ID_MODEL=Android
E: ID_MODEL_ENC=Android
E: ID_MODEL_FROM_DATABASE=Nexus 7 (fastboot)
E: ID_MODEL_ID=4e40
E: ID_PATH=pci-0000:00:1a.0-usb-0:1.3
E: ID_PATH_TAG=pci-0000_00_1a_0-usb-0_1_3
E: ID_REVISION=0000
E: ID_SERIAL=Google__Inc_Android_015d18844c0c1609
E: ID_SERIAL_SHORT=015d18844c0c1609
E: ID_USB_INTERFACES=:ff4203:
E: ID_VENDOR=Google__Inc
E: ID_VENDOR_ENC=Google\x2c\x20Inc
E: ID_VENDOR_FROM_DATABASE=Google Inc.
E: ID_VENDOR_ID=18d1
E: MAJOR=189
E: MINOR=7
E: PRODUCT=18d1/4e40/0
E: SUBSYSTEM=usb
E: TAGS=:seat:
E: TYPE=0/0/0
E: USEC_INITIALIZED=179360486226
/var/log/messages was showing this message:
Dec 24 16:29:46 sysadmin user.info : checking bus 1, device 11: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3"
Dec 24 16:29:46 sysadmin user.info : bus: 1, device: 11 was not an MTP device
fastboot devices -l:
015d18844c0c1609 fastboot usb:2-1.2
fastboot oem uart-on:
(bootloader) UART will be enabled after rebooting...
OKAY [ 0.411s]
Finished. Total time: 0.411s
fastboot getvar all:
(bootloader) version-bootloader: 4.23
(bootloader) version-baseband: N/A
(bootloader) version-hardware: ER3
(bootloader) version-cdma: N/A
(bootloader) variant: grouper
(bootloader) serialno: 015d18844c0c1609
(bootloader) product: grouper
(bootloader) secure: no
(bootloader) unlocked: yes
(bootloader) uart-on: yes
(bootloader) partition-size:bootloader: 0x0000000000600000
(bootloader) partition-type:bootloader: emmc
(bootloader) partition-size:recovery: 0x0000000000c00000
(bootloader) partition-type:recovery: emmc
(bootloader) partition-size:boot: 0x0000000000800000
(bootloader) partition-type:boot: emmc
(bootloader) partition-size:system: 0x0000000028a00000
(bootloader) partition-type:system: ext4
(bootloader) partition-size:cache: 0x000000001bb00000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:userdata: 0x0000000700f00000
(bootloader) partition-type:userdata: ext4
all:
Finished. Total time: 0.165s
My PinePhone earphone serial console plug did not work with the Nexus as on the Nexus the Tip is RX_in but it is Tx on the pinephone.
sidenote
trying to leave vritualenv with exit was causing me to leave the ssh session, and all I needed was deactivate…
$Id: dates.htm,v 1
$Id: diary,v 1.38 2025/01/01 22:43:54 fred Exp $