• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[T110 / T111][WIP] Linux for Tab 3 Lite, PostMarketOS or Debian

Search This thread

adryyy

Senior Member
Nov 3, 2012
98
47
Status: 🟩Booting into the OS; 🟩Can telnet into init stage; 🟩 Can SSH to OS; 🟩 PostmarketOS Wiki;

Getting started:
Note: this will not wipe anything from your device. This doesn't contain any OS, just the pmOS init with stock Kernel. Read bellow to how install pmOS on MicroSD Card.

Sources: https://github.com/T110-pmOS

What's working:
  • 🟩Build kernel from source
  • 🟩Kernel is loaded and working
  • 🟩OS is booting
  • 🟩SSH acces to OS though USB
  • 🟩Touchscreen works
  • 🟩Battery level reads correctly
  • 🟩Mate and Wayland Demo
  • 🟩Repack stock kernel with pmOS initramfs
  • 🟩Load the pmOS on MicroSD card
  • 🟩Compile pmOS with and without UI
  • 🟩Mount and chroot pmOS manually using telnet
  • 🟩Telnet access during init
  • 🟩Read and mounts SDCard partitions correctly
  • 🟩Pass extracting initramfs-extra
  • 🟩Can read kernel logs through UART *
What's not working:
  • 📛Boot the kernel from source
  • 📛HW Acceleration
  • 📛Boot-ing kernel build with pmbootstrap build
  • 📛Stuck at loading
  • 📛No ssh access
  • 📛Logs aren't written rc.conf
  • 📛Can't read kernel logs through UART *
* UART Serial Debugging tested with 150Kohm, 530Kohm, 619Kohm ID to GND, 3.3V. RX/TX seem to work. See attached photos for adapter and Serial debugging:Cable schematics .

USB Network (Telnet, SSH) from Windows 10: info in post #3.

Alternatively to Telnet, SSH you can use a Linux machine, or to run some distribution (like Xubuntu) in VirtualBox and pass the USB SAMSUNG_Android [9999] to VirtualBox OS.

Revert to stock:
Start with OS from scratch:

In order to install pmOS on SDCard:

  • Check pmOS "Installation guide"
  • After pmbootstrap init
  • Select as device Samsung -> lt023g
  • Follow guide to pmbootstrap install --sdcard=/dev/mmcblk
I've made a tree for goyawifi also, but didn't uploaded it yet as I didn't manage to get it to work properly by compiling Kernel from source, it stuck at Samsung bootloader logo.

Debian guide coming soon, as I've found this Medium post. I try to get it to work.

As I've managed to boot pmOS, I don't think I'll try to run Debian, but you can try with pmOS and Debian on SDCard according to that Medium post. Should work.

The boot-postmarketOS_s1_n12.zip contains boot.img with kernel config CONFIG_DEVTMPFS = Y that seems to boot OS as SSH is working. Get the last updated version with all configs from above.

More info in post #3.

1634682969036.jpg
IMG_20211025_172754.jpg
 

Attachments

  • boot-pmOS-manual-s1-n9.zip
    5 MB · Views: 8
  • boot_stock_1.zip
    6.9 MB · Views: 15
  • samsung-goyawifi-failed-attempts-#1.zip
    29.6 KB · Views: 8
  • SM-T110 servicell.rar
    1 MB · Views: 4
  • boot-postmarketOS_s1_n12.zip
    4.9 MB · Views: 4
  • boot-postmarketOS_s1_n14.zip
    4.9 MB · Views: 38
  • USB-MicroUSB-Serial-JIG-Samsung-T110.jpg
    USB-MicroUSB-Serial-JIG-Samsung-T110.jpg
    3 MB · Views: 87
  • USB-MicroUSB-Serial-JIG-Samsung-T110-back.jpg
    USB-MicroUSB-Serial-JIG-Samsung-T110-back.jpg
    2.6 MB · Views: 28
  • boot-postmarketOS_s1_n17.zip
    9.5 MB · Views: 38
Last edited:
  • Like
Reactions: Jespert

adryyy

Senior Member
Nov 3, 2012
98
47
The problem I've detected for now is that prebuild kernel hasn't
CONFIG_DEVTMPFS = Y configure, and all the other kernels I've tried to build from different sources (T110, I8200, T230) doesn't boot and no one, stock, the ones I've build, etc. can't get output through UART serial interface (I've even tried to get output directly from UART testpoints on the mainboard).

If you want to try, download and flash boot-pmOS-manual-s1-n9.zip, this will replace the boot.img of the device with the one that contains initramfs from pmOS and stock zImage kernel. You can connect to this environment through telnet according to: Inspecting the initramfs . To make connection on Windows 10, I've used Ubuntu Console and from Device Manager I've set the Samsung_Android device to use driver Remote NDIS based Internet Sharing Device.
You can also telnet from VirtualBox if you pass the USB to Linux environment.
As for SDCard, I've used xUbuntu on VirtualBox, which you can download from here to don't waste time installing it manually, then with pmbootstrap you can init it for example for I8200. It dosen't make a difference for now which similar device you use for init to create compatible SDCard OS, as they are similar to what I expect to run on T110.
E.g.
Code:
pmbootstrap init -> Device Samsung -> I8200 / lt023g -> ...
pmbootstrap install --sdcard=/dev/sdb
You can see more in Installation guide .

Debugging: as far as I've tried, rc.log would not be written, because OpenRC fails due to that config. However, you can log all the things to dmesg (/var/log/dmesg on SDCard) with this guide. To do these edits, you can use pmbootstrap chroot before install to SDCard or edit the files on SDCard after installation.

SSH doesn't work as the OpenRC fails to load SSH server and also hwclock, I expect is due to that config.

So, the objective is to compile an working kernel for this tablet from source.

If you want to try what I've done, unpack the samsung-goyawifi-failed-attempts-#1.zip
to ~/.local/var/pmbootstrap/cache_git/pmaports/device/testing/ and pmbootstrap init -> Samsung -> Goyawifi .. then fallow the build kernel from Porting to a new device starting with pmbootstrap build linux-samsung-goyawifi.
 
Last edited:

adryyy

Senior Member
Nov 3, 2012
98
47
Update: I've managed to build kernel from source with CONFIG_DEVTMPFS = Y and ssh seems to work, so I expect to get the OS booting.

How I've compiled the kernel: using android_goyawifi_ramdisk , and gcc-4.7 for ARM, gcc-4.7-arm-linux-gnueabi, gcc-4.7-arm-linux-gnueabihf, gcc-4.7-arm-linux-gnueabi-base, gcc-4.7-arm-linux-gnueabihf-base, gcc-4.7 and so on.
Please uninstall other versions of gcc.
To install this version of gcc to xUbuntu OS I've referred before you need to append this to /etc/apt/sources.list
Code:
deb https://mirror.efect.ro/ubuntu/archive/ xenial main
deb https://mirror.efect.ro/ubuntu/archive/ xenial universe
* you might want to replace mirror to one close to your country
then sudo apt-get update
Run ./mkboot build
If you get errors, you might need to modify the Makefile parameters as:
Code:
CROSS_COMPILE    ?= /usr/bin/arm-linux-gnueabi-
CC        = $(CROSS_COMPILE)gcc-4.7

I'll attach updated zip in OP with boot.img for pmOS which contains kernel with CONFIG_DEVTMPFS = Y.
 

adryyy

Senior Member
Nov 3, 2012
98
47
Great news! Managed to get it to boot.
I've compiled the kernel with all the options asked by pmOS and it works!
Updated zip with boot.img on OP.

IMG_20211025_172754.jpg
 
Last edited:
  • Like
Reactions: Jespert

adryyy

Senior Member
Nov 3, 2012
98
47
Yes, for sure, I'll make a zip or a backup when I finish the basic setup and try to get WiFi, Audio and some other basic functions to work.
However, I have good news. MATE seem to work smooth and is responsive.
Maybe I could get also Anbox to work in order to run some Android Apps. This would make the tablet usable again with newer software.
However, it's great that we can get a Linux that's works and is long-term updatable for this tablet, as the possibilities are infinite. If web browser works fine, this is a clear upgrade from deprecated 4.2 Android.
 

Attachments

  • 1635286036239.jpg
    1635286036239.jpg
    5.2 MB · Views: 36

TriDiscord

Senior Member
May 15, 2021
95
6
Yes, for sure, I'll make a zip or a backup when I finish the basic setup and try to get WiFi, Audio and some other basic functions to work.
However, I have good news. MATE seem to work smooth and is responsive.
Maybe I could get also Anbox to work in order to run some Android Apps. This would make the tablet usable again with newer software.
However, it's great that we can get a Linux that's works and is long-term updatable for this tablet, as the possibilities are infinite. If web browser works fine, this is a clear upgrade from deprecated 4.2 Android.
Hey! Have you tried installing the linux_firmware_mrvl package?
 

adryyy

Senior Member
Nov 3, 2012
98
47
Update: 🟩 WiFi is fully working!
Code:
########## More elegant ############
# Don't stop the NetworkManager
# https://wiki.alpinelinux.org/wiki/NetworkManager

sudo rc-service networkmanager start
sudo nmtui
sudo rc-update add networkmanager
#Add a blank Wi-Fi and specify device mlan0

Code:
### Using mrvl binaries from stock ROM (/android/etc/firmware/mrvl)
samsung-goyawifi:$ ls /lib/firmware/mrvl
SDIO8777_SDIO_SDIO.bin  bt_cal_data.conf        cal_data.conf           sd8777_uapsta.bin
WlanCalData_ext.conf    bt_init_cfg.conf        reg_alpha2

samsung-goyawifi:$ sudo modprobe sd8xxx
samsung-goyawifi:$ sudo lsmod
Module                  Size  Used by
sd8xxx                323247  0
mlan                  260239  1 sd8xxx
mwifiex_sdio           17060  0
mwifiex               129515  1 mwifiex_sdio

samsung-goyawifi:$ sudo rc-service networkmanager stop

samsung-goyawifi:$ sudo killall wpa_supplicant && sudo wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i mlan0 -D wext

Successfully initialized wpa_supplicant
rfkill: Cannot get wiphy information
ioctl[SIOCSIWESSID]: Bad address
mlan0: Trying to associate with 2a:5f:d8:61:4a:24 (SSID='AdryyyX' freq=2462 MHz)
Failed to add supported operating classes IE
mlan0: Associated with 2a:5f:d8:61:4a:24
mlan0: CTRL-EVENT-CONNECTED - Connection to 2a:5f:d8:61:4a:24 completed [id=0 id_str=]

samsung-goyawifi:$ sudo udhcpc -i mlan0
ijsudo| password for q:
udhcpc: started, v1.33.1
udhcpc: sending discover
udhcpc: sending select for 192.168.121.148
udhcpc: lease of 192.168.121.148 obtained, lease time 3599

samsung-goyawifi:$ sudo ifconfig mlan0
mlan0     Link encap:Ethernet  HWaddr 00:50:43:02:FE:01
          inet addr:192.168.121.148  Bcast:192.168.121.255  Mask:255.255.255.0
          inet6 addr: fe80::250:43ff:fe02:fe01/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1524 (1.4 KiB)  TX bytes:1869 (1.8 KiB)

samsung-goyawifi:$ ping google.com
PING google.com (142.250.187.174): 56 data bytes
64 bytes from 142.250.187.174: seq=0 ttl=42 time=409.638 ms
64 bytes from 142.250.187.174: seq=1 ttl=42 time=433.044 ms

samsung-goyawifi:$ sudo apk update
fetch http://mirror.postmarketos.org/postmarketos/v21.06/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.14/main/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.14/community/armv7/APKINDEX.tar.gz
2021-10-24 13:22:26.080540 ijhttp://mirror.postmarketos.org/postmarketos/v21.06|
v3.14.2-116-gea9b052f30 ijhttp://dl-cdn.alpinelinux.org/alpine/v3.14/main|
v3.14.2-117-gc76a8e57ec ijhttp://dl-cdn.alpinelinux.org/alpine/v3.14/community|
OK: 14882 distinct packages available

samsung-goyawifi:$ cat /etc/resolv.conf
nameserver 192.168.121.82

Yes. I only need to get the wpa_supplincant and DHCP to work.
The driver and Linux module loads correctly (if loaded after OS is booted).

Code:
samsung-goyawifi:/proc/mwlan/mlan0$ cat info
driver_name = "wlan"
driver_version = SD8777-14.66.33.p63-M3X14453-GPL-(FP66)
interface_name="mlan0"
bss_mode ="Managed"
media_state="Disconnected"
mac_address="56:09:89:13:54:99"

I should get the Wi-Fi to work, then Audio and maybe Bluetooth, Accelerometer, GPS.
The system is stable. I keep the tablet over-night without charger and it only discharged about 20%, which I think is fine for this battery age.

As you can see, the Wi-Fi scan is working, but not connecting:
* actually it connect to my Hotspot without password, but for a split second and then it disconnects.

Code:
############## Working for a split second ###################
############## See last attempt with wext for more info #########
sudo killall wpa_supplicant && sudo wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i mlan0 -D wext
Successfully initialized wpa_supplicant
rfkill: Cannot get wiphy information
ioctl[SIOCSIWESSID]: Bad address
mlan0: Trying to associate with 2a:5f:d8:61:4a:24 (SSID='AdryyyX' freq=2462 MHz)
Failed to add supported operating classes IE
mlan0: Associated with 2a:5f:d8:61:4a:24
mlan0: CTRL-EVENT-CONNECTED - Connection to 2a:5f:d8:61:4a:24 completed [id=0 id_str=]
mlan0: CTRL-EVENT-DISCONNECTED bssid=2a:5f:d8:61:4a:24 reason=0
mlan0: Trying to associate with 2a:5f:d8:61:4a:24 (SSID='AdryyyX' freq=2462 MHz)
Failed to add supported operating classes IE
mlan0: Associated with 2a:5f:d8:61:4a:24
mlan0: CTRL-EVENT-CONNECTED - Connection to 2a:5f:d8:61:4a:24 completed [id=0 id_str=]
mlan0: CTRL-EVENT-DISCONNECTED bssid=2a:5f:d8:61:4a:24 reason=0
mlan0: Trying to associate with 2a:5f:d8:61:4a:24 (SSID='AdryyyX' freq=2462 MHz)
Failed to add supported operating classes IE
mlan0: Associated with 2a:5f:d8:61:4a:24
mlan0: CTRL-EVENT-CONNECTED - Connection to 2a:5f:d8:61:4a:24 completed [id=0 id_str=]
mlan0: CTRL-EVENT-DISCONNECTED bssid=2a:5f:d8:61:4a:24 reason=0
mlan0: Trying to associate with 2a:5f:d8:61:4a:24 (SSID='AdryyyX' freq=2462 MHz)
Failed to add supported operating classes IE
^Cioctl[SIOCSIWAP]: Bad address
mlan0: Association request to the driver failed
^Cioctl[SIOCSIWESSID]: Bad address
mlan0: CTRL-EVENT-DISCONNECTED bssid=2a:5f:d8:61:4a:24 reason=3 locally_generated=1
ioctl[SIOCSIWESSID]: Bad address
mlan0: CTRL-EVENT-TERMINATING

############## WITH wext ###############
sudo wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -W -i mlan0 -D wext -dd
wpa_supplicant v2.9
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'mlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
country='de'
ctrl_interface='/var/run/wpa_supplicant'
update_config=1
eapol_version=1
ap_scan=1
fast_reauth=1
okc=1
p2p_listen_reg_class=81
p2p_listen_channel=1
p2p_oper_reg_class=81
p2p_oper_channel=1
device_name='SAMSUNG_MOBILE'
manufacturer='SAMSUNG_ELECTRONICS'
model_name='SAMSUNG_MOBILE'
model_number='2013'
serial_number='19691101'
Line: 19 - start of a new network block
ssid - hexdump_ascii(len=6):
     41 64 72 79 79 79                                 Adryyy
PSK - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='Adryyy'
rfkill: Cannot get wiphy information
WEXT: RFKILL status not available
SIOCGIWRANGE: WE(compiled)=22 WE(source)=15 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0x1f flags 0x0
ioctl[SIOCSIWESSID]: Bad address
WEXT: Failed to set bogus SSID to disconnect
WEXT: Driver: wlan_sdio
netlink: Operstate: ifindex=5 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface mlan0 to a new radio N/A
mlan0: Own MAC address: de:fc:4c:55:26:9a
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
mlan0: RSN: flushing PMKID list in the driver
mlan0: Setting scan request: 0.100000 sec
mlan0: WPS: UUID based on MAC address: eb45f301-0485-521c-96d1-2011b8949d91
ENGINE: Loading builtin engines
ENGINE: Loading builtin engines
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
Using existing control interface directory.
ctrl_iface bind(PF_UNIX) failed: Address in use
ctrl_iface exists, but does not allow connections - assuming it was leftover from forced program termination
Successfully replaced leftover ctrl_iface socket '/var/run/wpa_supplicant/mlan0'
mlan0: Added interface mlan0
mlan0: State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
CTRL_IFACE - mlan0 - wait for monitor to attach

############## WITH nl80211 ###############

samsung-goyawifi:/proc/mwlan/mlan0$ sudo wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -W -i mlan0 -dd
wpa_supplicant v2.9
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'mlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
country='de'
ctrl_interface='/var/run/wpa_supplicant'
update_config=1
eapol_version=1
ap_scan=1
fast_reauth=1
okc=1
p2p_listen_reg_class=81
p2p_listen_channel=1
p2p_oper_reg_class=81
p2p_oper_channel=1
device_name='SAMSUNG_MOBILE'
manufacturer='SAMSUNG_ELECTRONICS'
model_name='SAMSUNG_MOBILE'
model_number='2013'
serial_number='19691101'
Line: 19 - start of a new network block
scan_ssid=1 (0x1)
proto: 0x2
key_mgmt: 0x2
ssid - hexdump_ascii(len=7):
     41 64 72 79 79 79 7a                              Adryyyz
PSK - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='Adryyyz'
nl80211: Could not add multicast membership for vendor events: -2 (No such file or directory)
nl80211: deinit ifname=mlan0 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
netlink: Operstate: ifindex=5 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -19 (No such device)
mlan0: Failed to initialize driver interface
Failed to add interface mlan0
mlan0: Cancelling scan request
mlan0: Cancelling authentication timeout
Off-channel: Clear pending Action frame TX (pending_action_tx=0
samsung-goyawifi:/proc/mwlan/mlan0$ sudo wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -W -i mlan0 -dd
wpa_supplicant v2.9
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'mlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
country='de'
ctrl_interface='/var/run/wpa_supplicant GROUP=wheel'
update_config=1
eapol_version=1
ap_scan=1
fast_reauth=1
okc=1
p2p_listen_reg_class=81
p2p_listen_channel=1
p2p_oper_reg_class=81
p2p_oper_channel=1
device_name='SAMSUNG_MOBILE'
manufacturer='SAMSUNG_ELECTRONICS'
model_name='SAMSUNG_MOBILE'
model_number='2013'
serial_number='19691101'
Line: 19 - start of a new network block
scan_ssid=1 (0x1)
proto: 0x2
key_mgmt: 0x2
ssid - hexdump_ascii(len=7):
     41 64 72 79 79 79 7a                              Adryyyz
PSK - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='Adryyyz'
nl80211: Could not add multicast membership for vendor events: -2 (No such file or directory)
nl80211: deinit ifname=mlan0 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
netlink: Operstate: ifindex=5 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -19 (No such device)
mlan0: Failed to initialize driver interface
Failed to add interface mlan0
mlan0: Cancelling scan request
mlan0: Cancelling authentication timeout
Off-channel: Clear pending Action frame TX (pending_action_tx=0)

############ ATTEMPT ###############
sudo killall wpa_supplicant && sudo wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i mlan0 -D wext -dd
[sudo] password for q:
wpa_supplicant v2.9
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'mlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
country='de'
ctrl_interface='/var/run/wpa_supplicant GROUP=wheel'
update_config=1
ap_scan=1
Line: 19 - start of a new network block
scan_ssid=1 (0x1)
key_mgmt: 0x4
ssid - hexdump_ascii(len=7):
     41 64 72 79 79 79 58                              AdryyyX
Priority group 0
   id=0 ssid='AdryyyX'
rfkill: Cannot get wiphy information
WEXT: RFKILL status not available
SIOCGIWRANGE: WE(compiled)=22 WE(source)=15 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0x1f flags 0x0
ioctl[SIOCSIWESSID]: Bad address
WEXT: Failed to set bogus SSID to disconnect
WEXT: Driver: wlan_sdio
netlink: Operstate: ifindex=5 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface mlan0 to a new radio N/A
mlan0: Own MAC address: d2:19:ce:70:8f:cc
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
mlan0: RSN: flushing PMKID list in the driver
mlan0: Setting scan request: 0.100000 sec
mlan0: WPS: UUID based on MAC address: 05200efc-e3a6-526d-b7cc-9205da47581d
ENGINE: Loading builtin engines
ENGINE: Loading builtin engines
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
mlan0: Added interface mlan0
mlan0: State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
random: Got 20/20 bytes from /dev/random
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b06 len=8
Ignore event for foreign ifindex 6
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b06 len=8
mlan0: State: DISCONNECTED -> SCANNING
Scan SSID - hexdump_ascii(len=7):
     41 64 72 79 79 79 58                              AdryyyX
mlan0: Starting AP scan for wildcard SSID (Interleave with specific)
mlan0: Add radio work 'scan'@0xb6b6bde0
mlan0: First radio work item in the queue - schedule start immediately
mlan0: Starting radio work 'scan'@0xb6b6bde0 after 0.000214 second wait
Scan requested (ret=0) - scan timeout 10 seconds
EAPOL: disable timer tick
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=8
mlan0: Event SCAN_RESULTS (3) received
Received 3517 bytes of scan results (9 BSSes)
mlan0: BSS: Start scan result update 1
mlan0: BSS: Add new id 0 BSSID 98:da:c4:2f:d1:7d SSID 'XXXXXXXXXXXX ' freq 2427
mlan0: BSS: Add new id 1 BSSID XXXXXXXXXXXX  SSID '' freq 2427
mlan0: BSS: Add new id 2 BSSID XXXXXXXXXXXX SSID 'XXXXXXXXXXXX ' freq 2457
mlan0: BSS: Add new id 3 BSSID XXXXXXXXXXXX  SSID '' freq 2457
mlan0: BSS: Add new id 4 BSSID XXXXXXXXXXXX  SSID 'XXXXXXXXXXXX ' freq 2427
mlan0: BSS: Add new id 5 BSSID XXXXXXXXXXXX  SSID 'XXXXXXXXXXXX ' freq 2437
mlan0: BSS: Add new id 6 BSSID XXXXXXXXXXXX  SSID 'XXXXXXXXXXXX -uXbY-2.4G' freq 2457
mlan0: BSS: Add new id 7 BSSIDXXXXXXXXXXXX  SSID 'XXXXXXXXXXXX ' freq 2462
mlan0: BSS: Add new id 8 BSSID 2a:5f:d8:61:4a:24 SSID 'AdryyyX' freq 2462
BSS: last_scan_res_used=9/32
mlan0: New scan results available (own=0 ext=0)
WPS: AP 98:da:c4:2f:d1:7d type 0 added
WPS: AP 90:9a:4a:80:40:77 type 0 added
WPS: AP 84:94:8c:46:99:28 type 0 added
WPS: AP c8:d7:19:77:6d:d5 type 0 added
WPS: AP[0] 98:da:c4:2f:d1:7d type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[1] 90:9a:4a:80:40:77 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[2] 84:94:8c:46:99:28 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[3] c8:d7:19:77:6d:d5 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
mlan0: Radio work 'scan'@0xb6b6bde0 done in 4.645691 seconds
mlan0: radio_work_free('scan'@0xb6b6bde0): num_active_works --> 0
mlan0: Selecting BSS from priority group 0
XXXXXXXXXXXX
XXXXXXXXXXXX
mlan0:    skip - SSID mismatch
mlan0: 8: 2a:5f:d8:61:4a:24 ssid='AdryyyX' wpa_ie_len=0 rsn_ie_len=0 caps=0x1 level=-36 freq=2462
mlan0:    allow in non-WPA/WPA2
mlan0:    selected BSS 2a:5f:d8:61:4a:24 ssid='AdryyyX'
mlan0: Considering connect request: reassociate: 0  selected: 2a:5f:d8:61:4a:24  bssid: 00:00:00:00:00:00  pending: 00:00:00:00:00:00  wpa_state: SCANNING  ssid=0xb6bb6980  current_ssid=0
mlan0: Request association with 2a:5f:d8:61:4a:24
mlan0: No ongoing scan/p2p-scan found to abort
mlan0: Add radio work 'connect'@0xb6b6bde0
mlan0: First radio work item in the queue - schedule start immediately
mlan0: Starting radio work 'connect'@0xb6b6bde0 after 0.000061 second wait
mlan0: Trying to associate with 2a:5f:d8:61:4a:24 (SSID='AdryyyX' freq=2462 MHz)
mlan0: Cancelling scan request
mlan0: WPA: clearing own WPA/RSN IE
mlan0: WPA: clearing AP WPA IE
mlan0: WPA: clearing AP RSN IE
mlan0: WPA: clearing own WPA/RSN IE
mlan0: Automatic auth_alg selection: 0x1
Failed to add supported operating classes IE
mlan0: State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Limit connection to BSSID 2a:5f:d8:61:4a:24 freq=2462 MHz based on scan results (bssid_set=0 wps=0)
mlan0: Determining shared radio frequencies (max len 1)
mlan0: Shared frequencies (len=0): completed iteration
wpa_driver_wext_associate
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_psk
mlan0: Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=ForceAuthorized
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 2a:5f:d8:61:4a:24
mlan0: Event ASSOC (0) received
mlan0: State: ASSOCIATING -> ASSOCIATED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
mlan0: Associated to a new BSS: BSSID=2a:5f:d8:61:4a:24
mlan0: Associated with 2a:5f:d8:61:4a:24
mlan0: WPA: Association event - clear replay counter
mlan0: WPA: Clear old PTK
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state S_FORCE_AUTH
EAPOL: Supplicant port status: Authorized
EAPOL: SUPP_BE entering state IDLE
mlan0: Cancelling authentication timeout
mlan0: State: ASSOCIATED -> COMPLETED
mlan0: Radio work 'connect'@0xb6b6bde0 done in 0.065186 seconds
mlan0: radio_work_free('connect'@0xb6b6bde0): num_active_works --> 0
mlan0: CTRL-EVENT-CONNECTED - Connection to 2a:5f:d8:61:4a:24 completed [id=0 id_str=]
wpa_driver_wext_set_operstate: operstate 0->1 (UP)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
mlan0: Cancelling scan request
RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8c02 len=37
WEXT: Custom wireless event: 'WMM_CONFIG_CHANGE.indication'
RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b1a len=15
RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8c02 len=27
WEXT: Custom wireless event: 'EVENT=PORT_RELEASE'
RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=1 ifi_flags=0x1043 ([UP][RUNNING])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
mlan0: Event DISASSOC (1) received
mlan0: Disassociation notification
mlan0: CTRL-EVENT-DISCONNECTED bssid=2a:5f:d8:61:4a:24 reason=0
mlan0: Auto connect enabled: try to reconnect (wps=0/0 wpa_state=9)
mlan0: Setting scan request: 0.100000 sec
Added BSSID 2a:5f:d8:61:4a:24 into blacklist
mlan0: Blacklist count 1 --> request scan in 100 ms
mlan0: Ignore new scan request for 0.100000 sec since an earlier request is scheduled to trigger sooner
mlan0: WPA: Clear old PMK and PTK
mlan0: State: COMPLETED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: External notification - portValid=0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
mlan0: State: DISCONNECTED -> SCANNING
Scan SSID - hexdump_ascii(len=7):
     41 64 72 79 79 79 58                              AdryyyX
mlan0: Starting AP scan for specific SSID: AdryyyX
mlan0: Add radio work 'scan'@0xb6b6bde0
mlan0: First radio work item in the queue - schedule start immediately
mlan0: Starting radio work 'scan'@0xb6b6bde0 after 0.000061 second wait
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=8
mlan0: Event SCAN_RESULTS (3) received
Received 3517 bytes of scan results (9 BSSes)
mlan0: BSS: Start scan result update 2
BSS: last_scan_res_used=9/32
mlan0: New scan results available (own=0 ext=0)
WPS: AP[0] 98:da:c4:2f:d1:7d type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[1] 90:9a:4a:80:40:77 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[2] 84:94:8c:46:99:28 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[3] c8:d7:19:77:6d:d5 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
mlan0: Radio work 'scan'@0xb6b6bde0 done in 2.565979 seconds
mlan0: radio_work_free('scan'@0xb6b6bde0): num_active_works --> 0
mlan0: Selecting BSS from priority group 0
XXXXXXXXXXXX
XXXXXXXXXXXX   wps
mlan0:    skip - SSID mismatch
mlan0: 8: 2a:5f:d8:61:4a:24 ssid='AdryyyX' wpa_ie_len=0 rsn_ie_len=0 caps=0x1 level=-36 freq=2462
mlan0:    skip - blacklisted (count=1 limit=0)
mlan0: No APs found - clear blacklist and try again
Removed BSSID 2a:5f:d8:61:4a:24 from blacklist (clear)
mlan0: Selecting BSS from priority group 0
XXXXXXXXXXXX
XXXXXXXXXXXX
mlan0:    skip - SSID mismatch
mlan0: 8: 2a:5f:d8:61:4a:24 ssid='AdryyyX' wpa_ie_len=0 rsn_ie_len=0 caps=0x1 level=-36 freq=2462
mlan0:    allow in non-WPA/WPA2
mlan0:    selected BSS 2a:5f:d8:61:4a:24 ssid='AdryyyX'
mlan0: Considering connect request: reassociate: 0  selected: 2a:5f:d8:61:4a:24  bssid: 00:00:00:00:00:00  pending: 00:00:00:00:00:00  wpa_state: SCANNING  ssid=0xb6bb6980  current_ssid=0
mlan0: Request association with 2a:5f:d8:61:4a:24
mlan0: Re-association to the same ESS
mlan0: No ongoing scan/p2p-scan found to abort
mlan0: Add radio work 'connect'@0xb6b6bde0
mlan0: First radio work item in the queue - schedule start immediately
mlan0: Starting radio work 'connect'@0xb6b6bde0 after 0.000061 second wait
mlan0: Trying to associate with 2a:5f:d8:61:4a:24 (SSID='AdryyyX' freq=2462 MHz)
mlan0: Cancelling scan request
mlan0: WPA: clearing own WPA/RSN IE
mlan0: WPA: clearing AP WPA IE
mlan0: WPA: clearing AP RSN IE
mlan0: WPA: clearing own WPA/RSN IE
mlan0: Automatic auth_alg selection: 0x1
Failed to add supported operating classes IE
mlan0: State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Limit connection to BSSID 2a:5f:d8:61:4a:24 freq=2462 MHz based on scan results (bssid_set=0 wps=0)
mlan0: Determining shared radio frequencies (max len 1)
mlan0: Shared frequencies (len=0): completed iteration
wpa_driver_wext_associate
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_psk
mlan0: Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=ForceAuthorized
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 2a:5f:d8:61:4a:24
mlan0: Event ASSOC (0) received
mlan0: State: ASSOCIATING -> ASSOCIATED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
mlan0: Associated with 00:00:00:00:00:00
mlan0: WPA: Association event - clear replay counter
mlan0: WPA: Clear old PTK
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state S_FORCE_AUTH
EAPOL: Supplicant port status: Authorized
EAPOL: SUPP_BE entering state IDLE
mlan0: Cancelling authentication timeout
mlan0: State: ASSOCIATED -> COMPLETED
mlan0: Radio work 'connect'@0xb6b6bde0 done in 1.404633 seconds
mlan0: radio_work_free('connect'@0xb6b6bde0): num_active_works --> 0
mlan0: CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed [id=0 id_str=]
wpa_driver_wext_set_operstate: operstate 0->1 (UP)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
mlan0: Cancelling scan request
RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8c02 len=37
WEXT: Custom wireless event: 'WMM_CONFIG_CHANGE.indication'
RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b1a len=15
RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8c02 len=27
WEXT: Custom wireless event: 'EVENT=PORT_RELEASE'
RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=1 ifi_flags=0x1043 ([UP][RUNNING])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=1 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
mlan0: Event DISASSOC (1) received
mlan0: Disassociation notification
mlan0: CTRL-EVENT-DISCONNECTED bssid=2a:5f:d8:61:4a:24 reason=0
mlan0: Auto connect enabled: try to reconnect (wps=0/0 wpa_state=9)
mlan0: Setting scan request: 0.100000 sec
Added BSSID 2a:5f:d8:61:4a:24 into blacklist
mlan0: Blacklist count 1 --> request scan in 100 ms
mlan0: Ignore new scan request for 0.100000 sec since an earlier request is scheduled to trigger sooner
mlan0: WPA: Clear old PMK and PTK
mlan0: State: COMPLETED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: External notification - portValid=0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
mlan0: State: DISCONNECTED -> SCANNING
mlan0: Starting AP scan for wildcard SSID
mlan0: Add radio work 'scan'@0xb6b6bde0
mlan0: First radio work item in the queue - schedule start immediately
mlan0: Starting radio work 'scan'@0xb6b6bde0 after 0.000061 second wait
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=8
mlan0: Event SCAN_RESULTS (3) received
Received 3517 bytes of scan results (9 BSSes)
mlan0: BSS: Start scan result update 3
BSS: last_scan_res_used=9/32
mlan0: New scan results available (own=0 ext=0)
WPS: AP[0] 98:da:c4:2f:d1:7d type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[1] 90:9a:4a:80:40:77 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[2] 84:94:8c:46:99:28 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[3] c8:d7:19:77:6d:d5 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
mlan0: Radio work 'scan'@0xb6b6bde0 done in 2.268708 seconds
mlan0: radio_work_free('scan'@0xb6b6bde0): num_active_works --> 0
mlan0: Selecting BSS from priority group 0
XXXXXXXXXXXX
XXXXXXXXXXXX
mlan0:    skip - SSID mismatch
mlan0: 8: 2a:5f:d8:61:4a:24 ssid='AdryyyX' wpa_ie_len=0 rsn_ie_len=0 caps=0x1 level=-35 freq=2462
mlan0:    skip - blacklisted (count=1 limit=0)
mlan0: No APs found - clear blacklist and try again
Removed BSSID 2a:5f:d8:61:4a:24 from blacklist (clear)
mlan0: Selecting BSS from priority group 0
mlan0: 0: XXXXXXXXXXXX  ssid='XXXXXXXXXXXX ' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-28 freq=2427  wps
mlan0:    skip - SSID mismatch
mlan0: 1: XXXXXXXXXXXX  ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-29 freq=2427
mlan0:    skip - SSID not known
mlan0: 2: XXXXXXXXXXXX  ssid='XXXXXXXXXXXX ' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-62 freq=2457  wps
mlan0:    skip - SSID mismatch
mlan0: 3: XXXXXXXXXXXX  ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-64 freq=2457
mlan0:    skip - SSID not known
mlan0: 4: XXXXXXXXXXXX  ssid='XXXXXXXXXXXX ' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-71 freq=2427
mlan0:    skip - SSID mismatch
mlan0: 5: XXXXXXXXXXXX  ssid='XXXXXXXXXXXX ' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-85 freq=2437  wps
mlan0:    skip - SSID mismatch
mlan0: 6: XXXXXXXXXXXX  ssid='XXXXXXXXXXXX -uXbY-2.4G' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-90 freq=2457
mlan0:    skip - SSID mismatch
mlan0: 7: XXXXXXXXXXXX  ssid='XXXXXXXXXXXX ' wpa_ie_len=28 rsn_ie_len=24 caps=0x11 level=-91 freq=2462  wps
mlan0:    skip - SSID mismatch
mlan0: 8: 2a:5f:d8:61:4a:24 ssid='AdryyyX' wpa_ie_len=0 rsn_ie_len=0 caps=0x1 level=-35 freq=2462
mlan0:    allow in non-WPA/WPA2
mlan0:    selected BSS 2a:5f:d8:61:4a:24 ssid='AdryyyX'
mlan0: Considering connect request: reassociate: 0  selected: 2a:5f:d8:61:4a:24  bssid: 00:00:00:00:00:00  pending: 00:00:00:00:00:00  wpa_state: SCANNING  ssid=0xb6bb6980  current_ssid=0
mlan0: Request association with 2a:5f:d8:61:4a:24
mlan0: Re-association to the same ESS
mlan0: No ongoing scan/p2p-scan found to abort
mlan0: Add radio work 'connect'@0xb6b6bde0
mlan0: First radio work item in the queue - schedule start immediately
mlan0: Starting radio work 'connect'@0xb6b6bde0 after 0.000061 second wait
mlan0: Trying to associate with 2a:5f:d8:61:4a:24 (SSID='AdryyyX' freq=2462 MHz)
mlan0: Cancelling scan request
mlan0: WPA: clearing own WPA/RSN IE
mlan0: WPA: clearing AP WPA IE
mlan0: WPA: clearing AP RSN IE
mlan0: WPA: clearing own WPA/RSN IE
mlan0: Automatic auth_alg selection: 0x1
Failed to add supported operating classes IE
mlan0: State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Limit connection to BSSID 2a:5f:d8:61:4a:24 freq=2462 MHz based on scan results (bssid_set=0 wps=0)
mlan0: Determining shared radio frequencies (max len 1)
mlan0: Shared frequencies (len=0): completed iteration
wpa_driver_wext_associate
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_psk
mlan0: Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=ForceAuthorized
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 2a:5f:d8:61:4a:24
mlan0: Event ASSOC (0) received
mlan0: State: ASSOCIATING -> ASSOCIATED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
mlan0: Associated to a new BSS: BSSID=2a:5f:d8:61:4a:24
mlan0: Associated with 2a:5f:d8:61:4a:24
mlan0: WPA: Association event - clear replay counter
mlan0: WPA: Clear old PTK
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state S_FORCE_AUTH
EAPOL: Supplicant port status: Authorized
EAPOL: SUPP_BE entering state IDLE
mlan0: Cancelling authentication timeout
mlan0: State: ASSOCIATED -> COMPLETED
mlan0: Radio work 'connect'@0xb6b6bde0 done in 1.379241 seconds
mlan0: radio_work_free('connect'@0xb6b6bde0): num_active_works --> 0
mlan0: CTRL-EVENT-CONNECTED - Connection to 2a:5f:d8:61:4a:24 completed [id=0 id_str=]
wpa_driver_wext_set_operstate: operstate 0->1 (UP)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
mlan0: Cancelling scan request
RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8c02 len=37
WEXT: Custom wireless event: 'WMM_CONFIG_CHANGE.indication'
RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b1a len=15
RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8c02 len=27
WEXT: Custom wireless event: 'EVENT=PORT_RELEASE'
Ignore event for foreign ifindex 7
RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Ignore event for foreign ifindex 7
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=1 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=1 ifi_flags=0x1043 ([UP][RUNNING])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
mlan0: Event DISASSOC (1) received
mlan0: Disassociation notification
mlan0: CTRL-EVENT-DISCONNECTED bssid=2a:5f:d8:61:4a:24 reason=0
mlan0: Auto connect enabled: try to reconnect (wps=0/0 wpa_state=9)
mlan0: Setting scan request: 0.100000 sec
Added BSSID 2a:5f:d8:61:4a:24 into blacklist
mlan0: Blacklist count 1 --> request scan in 100 ms
mlan0: Ignore new scan request for 0.100000 sec since an earlier request is scheduled to trigger sooner
mlan0: WPA: Clear old PMK and PTK
mlan0: State: COMPLETED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: External notification - portValid=0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mlan0' added
WEXT: if_removed already cleared - ignore event
mlan0: State: DISCONNECTED -> SCANNING
Scan SSID - hexdump_ascii(len=7):
     41 64 72 79 79 79 58                              AdryyyX
mlan0: Starting AP scan for wildcard SSID (Interleave with specific)
mlan0: Add radio work 'scan'@0xb6b6bf60
mlan0: First radio work item in the queue - schedule start immediately
mlan0: Starting radio work 'scan'@0xb6b6bf60 after 0.000030 second wait
Scan requested (ret=0) - scan timeout 30 seconds
Ignore event for foreign ifindex 7
Ignore event for foreign ifindex 7
Ignore event for foreign ifindex 7
^Cmlan0: Removing interface mlan0
mlan0: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=00:00:00:00:00:00 reason=3 (DEAUTH_LEAVING) state=SCANNING
mlan0: State: SCANNING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_wext_set_countermeasures
mlan0: WPA: Clear old PMK and PTK
Removed BSSID 2a:5f:d8:61:4a:24 from blacklist (clear)
mlan0: BSS: Remove id 0 BSSID XXXXXXXXXXXX 'XXXXXXXXXXXX ' due to wpa_bss_flush
mlan0: BSS: Remove id 1 BSSID XXXXXXXXXXXX SSID '' due to wpa_bss_flush
mlan0: BSS: Remove id 2 BSSID XXXXXXXXXXXX  SSID 'XXXXXXXXXXXX ' due to wpa_bss_flush
mlan0: BSS: Remove id 3 BSSID XXXXXXXXXXXX  SSID '' due to wpa_bss_flush
mlan0: BSS: Remove id 4 BSSID XXXXXXXXXXXX  SSID 'XXXXXXXXXXXX ' due to wpa_bss_flush
mlan0: BSS: Remove id 5 BSSID XXXXXXXXXXXX  SSID 'XXXXXXXXXXXX ' due to wpa_bss_flush
mlan0: BSS: Remove id 6 BSSID XXXXXXXXXXXX  SSID 'XXXXXXXXXXXX -uXbY-2.4G' due to wpa_bss_flush
mlan0: BSS: Remove id 7 BSSID XXXXXXXXXXXX  SSID 'XXXXXXXXXXXX ' due to wpa_bss_flush
mlan0: BSS: Remove id 8 BSSID XXXXXXXXXXXX  SSID 'AdryyyX' due to wpa_bss_flush
mlan0: Cancelling scan request
mlan0: Cancelling authentication timeout
Off-channel: Clear pending Action frame TX (pending_action_tx=0
Remove interface mlan0 from radio
mlan0: Remove radio work 'scan'@0xb6b6bf60 (started)
mlan0: radio_work_free('scan'@0xb6b6bf60): num_active_works --> 0
Remove radio
ioctl[SIOCSIWESSID]: Bad address
WEXT: Failed to set bogus SSID to disconnect
netlink: Operstate: ifindex=5 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
mlan0: CTRL-EVENT-TERMINATING

############### ATTEMPT ######################

samsung-goyawifi:~$ sudo killall wpa_supplicant && sudo wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i mlan0 -dd
wpa_supplicant v2.9
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'mlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
country='de'
ctrl_interface='/var/run/wpa_supplicant GROUP=wheel'
update_config=1
ap_scan=1
Line: 19 - start of a new network block
scan_ssid=1 (0x1)
key_mgmt: 0x4
ssid - hexdump_ascii(len=7):
     41 64 72 79 79 79 58                              AdryyyX
Priority group 0
   id=0 ssid='AdryyyX'
nl80211: Could not add multicast membership for vendor events: -2 (No such file or directory)
nl80211: deinit ifname=mlan0 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
netlink: Operstate: ifindex=5 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -19 (No such device)
mlan0: Failed to initialize driver interface
Failed to add interface mlan0
mlan0: Cancelling scan request
mlan0: Cancelling authentication timeout
Off-channel: Clear pending Action frame TX (pending_action_tx=0
 
Last edited:

adryyy

Senior Member
Nov 3, 2012
98
47
Here's Firefox and Youtube running (without audio).
ADS loads faster and looks better as always ...
Speedtest: about 45mbps down / 30 up. The network handle up to 500 and my phone reach these speeds.

IMG_20211028_120301.jpg
 
Last edited:

TriDiscord

Senior Member
May 15, 2021
95
6
That's amazing to hear!! Does HW rendering work or is it just software rendering like the CM port?
 

adryyy

Senior Member
Nov 3, 2012
98
47
That's amazing to hear!! Does HW rendering work or is it just software rendering like the CM port?
Didn't tested yet, but I think there is some hardware acceleration as Youtube videos looks like it runs on 60p.
Galcore seems to load correctly after boot.
Code:
samsung-goyawifi:/etc/X11$ lsmod
Module                  Size  Used by
galcore               291259  0
sd8xxx                323247  3
mlan                  260239  1 sd8xxx
samsung-goyawifi:/etc/X11$ modinfo galcore
filename:       /lib/modules/3.4.5/galcore.ko
license:        GPL
description:    Vivante Graphics Driver
depends:
intree:         Y
vermagic:       3.4.5 SMP preempt mod_unload modversions ARMv7
parm:           major:uint
parm:           irqLine:int
parm:           registerMemBase:ulong
parm:           registerMemSize:ulong
parm:           irqLine2D:int
parm:           registerMemBase2D:ulong
parm:           registerMemSize2D:ulong
parm:           irqLineVG:int
parm:           registerMemBaseVG:ulong
parm:           registerMemSizeVG:ulong
parm:           contiguousSize:ulong
parm:           contiguousBase:ulong
parm:           pmemSize:long
parm:           bankSize:ulong
parm:           fastClear:int
parm:           compression:int
parm:           signal:int
parm:           baseAddress:ulong
parm:           mmuBaseAddress:ulong
parm:           physSize:ulong
parm:           logFileSize:uint
parm:           showArgs:int
parm:           coreClock:ulong
 
Last edited:

TriDiscord

Senior Member
May 15, 2021
95
6
Didn't tested yet, but I think there is some hardware acceleration as Youtube videos looks like it runs on 60p.
Galcore seems to load correctly after boot.
Code:
samsung-goyawifi:/etc/X11$ lsmod
Module                  Size  Used by
galcore               291259  0
sd8xxx                323247  3
mlan                  260239  1 sd8xxx
samsung-goyawifi:/etc/X11$ modinfo galcore
filename:       /lib/modules/3.4.5/galcore.ko
license:        GPL
description:    Vivante Graphics Driver
depends:
intree:         Y
vermagic:       3.4.5 SMP preempt mod_unload modversions ARMv7
parm:           major:uint
parm:           irqLine:int
parm:           registerMemBase:ulong
parm:           registerMemSize:ulong
parm:           irqLine2D:int
parm:           registerMemBase2D:ulong
parm:           registerMemSize2D:ulong
parm:           irqLineVG:int
parm:           registerMemBaseVG:ulong
parm:           registerMemSizeVG:ulong
parm:           contiguousSize:ulong
parm:           contiguousBase:ulong
parm:           pmemSize:long
parm:           bankSize:ulong
parm:           fastClear:int
parm:           compression:int
parm:           signal:int
parm:           baseAddress:ulong
parm:           mmuBaseAddress:ulong
parm:           physSize:ulong
parm:           logFileSize:uint
parm:           showArgs:int
parm:           coreClock:ulong
That's great to hear! What else doesn't work?
 

adryyy

Senior Member
Nov 3, 2012
98
47
📛Audio is not working yet.

Here's backup of my SDCard content.
You will need a Linux distro * to write it to your own SDCard, and a SDCard to insert into tablet, of course.
Use it with boot-postmarketOS_s1_n17.zip (added in OP) and it should work with n14 also, but n17 boots the OS directly without the telnet prompt, so you will can connect tablet to WiFi and connect with SSH directly, through WiFi or USB.

* You can also use VirtualBox like described all over thread, and don't forget to select your card reader.

You should partition SDCard according to the photo. You can use GParted to do this. pmOS_root can be bigger than this, it's not mandatory to be 6.98 GB.

Download the tar.gz archives into the Linux and then untar them to the newly created partitions.


Mirror:


Password for q is q

Code:
# Using Linux Terminal
# Find SDCard letter with lsblk
# Format SDCard
sudo parted -s /dev/sdb mktable msdos mkpart primary ext2 2048s 256M mkpart primary 256M 100% set 1 boot on
# mount the partitions
sudo mkdir /media/pmos_boot
sudo mkdir /media/pmos_root
# check partitions paths on GParted or lsblk command
sudo mount /dev/sdb1 /media/pmos_boot
sudo mount /dev/sdb2 /media/pmos_root
# assuming you got tar.gz archives in user home directory (e.g. osboxes)
cd ~/
# check if your tar.gz are in home with ls
ls
# untar them to the SDCard
cd /media/pmos_boot
sudo tar xpvzf ~/pmos_boot.tar.gz
cd /media/pmos_root
sudo tar xpvzf ~/pmos_root.tar.gz

Code:
sudo fdisk -l
Disk /dev/sdb: 14.84 GiB, 15931539456 bytes, 31116288 sectors
Disk model: Storage Device
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb63de8b9

Device     Boot  Start      End  Sectors  Size Id Type
/dev/sdb1  *      2048   499711   497664  243M 83 Linux
/dev/sdb2       499712 31115263 30615552 14.6G 83 Linux
 

Attachments

  • 1635536473654.png
    1635536473654.png
    65.8 KB · Views: 79
Last edited:

adryyy

Senior Member
Nov 3, 2012
98
47
Can you try pushing /system/etc/asound.conf from stock ROM to /etc/asound.conf?
Yes. I've tried a lot of things. You can see in debugging folder pmos_console_audio_history.txt.
I manage to get some low volume noise running from file from stock ROM /system/bin/open_aud_path_fm_speaker.sh using /system/bin/amixer from mounted stock ROM to the pmOS, so I think we could manage to make audio to work somehow, but sadly it uses /system/usr/lib/alsa-lib/libasound_module_ctl_codec.so from stock ROM which is property and can't get it to work on pmOS standalone, because it uses Android binders and functions and works only if I use the stock amixer.

Did you manage to load the OS to SDCard and boot it?
 

TriDiscord

Senior Member
May 15, 2021
95
6
Yes. I've tried a lot of things. You can see in debugging folder pmos_console_audio_history.txt.
I manage to get some low volume noise running from file from stock ROM /system/bin/open_aud_path_fm_speaker.sh using /system/bin/amixer from mounted stock ROM to the pmOS, so I think we could manage to make audio to work somehow, but sadly it uses /system/usr/lib/alsa-lib/libasound_module_ctl_codec.so from stock ROM which is property and can't get it to work on pmOS standalone, because it uses Android binders and functions and works only if I use the stock amixer.

Did you manage to load the OS to SDCard and boot it?
Ah, I'm not trying to boot into pmOS right now, I'm mostly concerned about the CM port :p Maybe we could port Treble and get GSI and pmOS working that way?
 

adryyy

Senior Member
Nov 3, 2012
98
47
Ah, I'm not trying to boot into pmOS right now, I'm mostly concerned about the CM port :p Maybe we could port Treble and get GSI and pmOS working that way?
I don't think is possible, as we don't have access to proprietary blobs.
However, I've found that there is something called libhybris and halium which have could give us a door for future ports using proprietary binaries, but from what I've read on Sailfish OS Hardware Adaptation you also need to compile an working CM version in order to recompile some part of the Android ROM with hybris / halium implemented to make it possible for other OS-s to load them. Maybe we could port other Android versions this way, but who knows.
However, I don't think it's worth the hassle, as an used Nexus 7 it's under 50 bucks and that tablet it's a steal, as it still got Android 11 updates, Ubuntu Touch, Debian, pmOS with great support, so ..

This was a nice challenge, but I've spend already too much time to work on it alone.

The point of having working pmOS with working Anbox is that we could run newer Android apps inside it, like for Android 7+ and so on, but this require to get it work all together, including Audio and HW acceleration.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    1636649623347.png

    Will be updating posts soon.
    2
    HUGE UPDATES!!

    It seems like this package has a LOT more than what ruben15prd has provided on GitHub (INCLUDING A GENERIC DEVICE TREE AND PROPER ALSALIB)! I'll upload as soon as I can.
    1
    Oops, they are gone now :p
    Will push them on my own GitHub soon.
  • 2
    1636649623347.png

    Will be updating posts soon.
    2
    HUGE UPDATES!!

    It seems like this package has a LOT more than what ruben15prd has provided on GitHub (INCLUDING A GENERIC DEVICE TREE AND PROPER ALSALIB)! I'll upload as soon as I can.
    1
    Status: 🟩Booting into the OS; 🟩Can telnet into init stage; 🟩 Can SSH to OS; 🟩 PostmarketOS Wiki;

    Getting started:
    Note: this will not wipe anything from your device. This doesn't contain any OS, just the pmOS init with stock Kernel. Read bellow to how install pmOS on MicroSD Card.

    Sources: https://github.com/T110-pmOS

    What's working:
    • 🟩Build kernel from source
    • 🟩Kernel is loaded and working
    • 🟩OS is booting
    • 🟩SSH acces to OS though USB
    • 🟩Touchscreen works
    • 🟩Battery level reads correctly
    • 🟩Mate and Wayland Demo
    • 🟩Repack stock kernel with pmOS initramfs
    • 🟩Load the pmOS on MicroSD card
    • 🟩Compile pmOS with and without UI
    • 🟩Mount and chroot pmOS manually using telnet
    • 🟩Telnet access during init
    • 🟩Read and mounts SDCard partitions correctly
    • 🟩Pass extracting initramfs-extra
    • 🟩Can read kernel logs through UART *
    What's not working:
    • 📛Boot the kernel from source
    • 📛HW Acceleration
    • 📛Boot-ing kernel build with pmbootstrap build
    • 📛Stuck at loading
    • 📛No ssh access
    • 📛Logs aren't written rc.conf
    • 📛Can't read kernel logs through UART *
    * UART Serial Debugging tested with 150Kohm, 530Kohm, 619Kohm ID to GND, 3.3V. RX/TX seem to work. See attached photos for adapter and Serial debugging:Cable schematics .

    USB Network (Telnet, SSH) from Windows 10: info in post #3.

    Alternatively to Telnet, SSH you can use a Linux machine, or to run some distribution (like Xubuntu) in VirtualBox and pass the USB SAMSUNG_Android [9999] to VirtualBox OS.

    Revert to stock:
    Start with OS from scratch:

    In order to install pmOS on SDCard:

    • Check pmOS "Installation guide"
    • After pmbootstrap init
    • Select as device Samsung -> lt023g
    • Follow guide to pmbootstrap install --sdcard=/dev/mmcblk
    I've made a tree for goyawifi also, but didn't uploaded it yet as I didn't manage to get it to work properly by compiling Kernel from source, it stuck at Samsung bootloader logo.

    Debian guide coming soon, as I've found this Medium post. I try to get it to work.

    As I've managed to boot pmOS, I don't think I'll try to run Debian, but you can try with pmOS and Debian on SDCard according to that Medium post. Should work.

    The boot-postmarketOS_s1_n12.zip contains boot.img with kernel config CONFIG_DEVTMPFS = Y that seems to boot OS as SSH is working. Get the last updated version with all configs from above.

    More info in post #3.

    1634682969036.jpg
    IMG_20211025_172754.jpg
    1
    Great news! Managed to get it to boot.
    I've compiled the kernel with all the options asked by pmOS and it works!
    Updated zip with boot.img on OP.

    IMG_20211025_172754.jpg
    1
    Oops, they are gone now :p
    Will push them on my own GitHub soon.