Hello,
few days ago i got Magic with stock 1.5 firmware. The unit was performing flawlessly with Wifi and everything was perfect but one big thing missing in Cupcake was PPTP VPN support - I require this to be able to grab my corporate Exchange emails, synchronise calendar and contacts etc.
So i started looking around for some ROMS that are Donut based (or even higher) since they have proper VPN support.
I searched through the XDA developers forums, learned a lot about ROMs, Radios, SPLs, Recoveries etc, but in the process of learning I also did few mistakes (putting 32B ROM on my 32A Magic, have corrupted Radio (during Radio downgrade screen would simply get some dark blue color and freeze indefinitely etc.)), on of them led to the point in which I had to create Gold Card in order to revive the unit.
Anyhow, during all these trials and errors I somehow managed to return to working 1.5 (Cupcake) firmware that has fully functional WiFi.
However, after one ROM install (My guess is that it happened after MarsDroid SPL7 1.8 D (and erasing Ad Hoc from wireless settings) I seem to have lost proper WiFi functionality, my home WLAN (SSID broadcast disabled, no other protection) would be visible (after I manually entered SSID) but it would either have "remembered, open network" status or "Out of range, remembered" (even though I was just few feet away from it). When it is on "remembered, open network" I can select it, it says Signal strength: Excellent, and Security: Open, but pressing Connect just doesn't do anything ?!?!?
On the other side my mobile broadband connection is working OK (but who wants to use expensive mobile broadband if You have free WiFi access ??).
WLAN scanning works flawlessly (WiFi scanning shows surrounding Access Points) but it simply will not connect. I even tried making my SSID visible and putting some WPA/WPA2 encryption but again the same result (remembered, wpa2 protected network).
What is wrong with my HTC Magic? It behaves same way regardless what ROM i put onto it?
My flashing procedure allways was:
- check in fastboot if radio and SPL and correct for rom
- check if I have adequate recovery
- go into recovery
- make wipe data/factory, Dalvik cache, sometimes even SD: ext
- enable USB MS
- transfer zip files to SD card
- flash zipfile(s)
- reboot
Currently I have firmware version 1.5 with:
CursorSense32A-1.2.6
Kernel version: 2.6.27-CCR32A-0.6a
Baseband version: 63.18.55.06KU_6.35.10.18
My fastboot:
SAPPHIRE PVT 32A ENG S-OFF H
HBOOT-1.76.2007 (SAPP10000)
CPLD-12
RADIO-6.35.10.18
Recovery is RA-hero-v1.5.3.1
Furthermore, once this is solved (and I know for sure that someone on this forum will be able to help me I would like to know if it is possible on Android to install MS Exchange certificates (ISA and SBS certificates (*.cer)) and how?
Many thanks in advance for help, i really appreciate it )
Anyone got a clue? :-(
Wipe system
Reflash with Defanged base
Reflash Cursor sense
Thanks for the hint. OK, this is what I did:
- reboot to recovery
- wipe data /factory reset
- install DRC83_base_defanged.zip
- install CursorSense32A-1.2.4-signed.zip
- install CursorSense32A-1.2.6.1-signed.zip
- reboot from recovery
And... again the same, Magic sees my Access Point with visible SSID (completelly open) saying "open network", i select it, press connect, Magic is trying to connect but after 15 seconds nothing is connected...
My guess is that i am missing some wifi process ? Any other idea? :-(
This is what ADB logcat says about this part:
V/WifiStateTracker( 2685): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiMonitor( 2685): Event [Trying to associate with 00:01:e3:98:71:00 (SSID='W
LAN_test' freq=2427 MHz)]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 2685): Changing supplicant state: SCANNING ==> ASSOCIATING
D/WifiStateTracker( 2685): Deconfiguring interface and stopping DHCP
D/NetworkStateTracker( 2685): setDetailed state, old =DISCONNECTED and new state
=DISCONNECTED
D/SettingsWifiEnabler( 2730): Received network state changed to NetworkInfo: typ
e: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none
), roaming: false, failover: false, isAvailable: true
V/WifiMonitor( 2685): Event [Authentication with 00:01:e3:98:71:00 timed out.]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=0 state=0]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 2685): Changing supplicant state: ASSOCIATING ==> DISCONNECT
ED
V/WifiStateTracker( 2685): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiMonitor( 2685): Event [Trying to associate with 00:01:e3:98:71:00 (SSID='W
LAN_test' freq=2427 MHz)]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 2685): Changing supplicant state: SCANNING ==> ASSOCIATING
D/WifiStateTracker( 2685): Deconfiguring interface and stopping DHCP
D/NetworkStateTracker( 2685): setDetailed state, old =DISCONNECTED and new state
=DISCONNECTED
D/SettingsWifiEnabler( 2730): Received network state changed to NetworkInfo: typ
e: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none
), roaming: false, failover: false, isAvailable: true
V/WifiMonitor( 2685): Event [Authentication with 00:01:e3:98:71:00 timed out.]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=0 state=0]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 2685): Changing supplicant state: ASSOCIATING ==> DISCONNECT
ED
V/WifiStateTracker( 2685): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiMonitor( 2685): Event [Trying to associate with 00:01:e3:98:71:00 (SSID='W
LAN_test' freq=2427 MHz)]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 2685): Changing supplicant state: SCANNING ==> ASSOCIATING
D/WifiStateTracker( 2685): Deconfiguring interface and stopping DHCP
D/NetworkStateTracker( 2685): setDetailed state, old =DISCONNECTED and new state
=DISCONNECTED
Anyone knows what might be causing it and how to solve it???
can u revert back to old radio 3.something
and try pay's rom
bcoz while flashing radio it might hav caused problem
Of course I could, would you just please be so kind and specify exactly which radio, spl, recovery and rom?
I could downgrade to following via fastboot:
fastboot flash radio Radio_HTC_PVT_32A_3.22.20.17.img
fastboot flash hboot hboot-1.33.2010.img
fastboot flash recovery recovery-RA-sapphire-v1.5.2H.img
fastboot erase system -w
fastboot reboot-bootloader
but which rom afetrwards? This: http://forum.xda-developers.com/showthread.php?t=629905 but this is 32B as far as I see (i have 32A) :-(
You can install the EBI1/32A port by bcrook for CM if you are on a 3 series radio.
Find a rom that says EBI1 if you are on the 3 series radio
OK, You mean file "bc-4.2.14.1-ebi1-signed.zip"?
OK, I should first do a wipe in recovery, then istall rom from zip, and immediatelly after rom istall this "bc-4.2.14.1-ebi1-signed.zip" file?
result: not booting, stuck at HTC Magic wallpaper :-((
flash older recovery now
OK, I installed Cyanogen's ROM (http://wiki.cyanogenmod.com/index.php/Full_Update_Guide_-_G1/Dream/Magic32A_Firmware_to_CyanogenMod) step by step following procedure under "Full Install from custom recovery (from other ROM or older CM versions)" and after inserting PIN i get message:
"Sorry! The process com.google.process.gapps has stopped unexpectedly. Please try again."
So, quick Google says that this is due to inapropriate ROM and that I should go with "defanged" one, so i wiped again everything and start with procedure for "Rooting 32A".
End result, again no WLAN connection, I am attaching complete ADB logcat if someone could take a look at it and point me in the right direction I would be gratefull... ))))))
My 32A developed the same wifi problem ("remembered, open network" status or "Out of range, remembered") when I was using the Cursorsense ROM. I suspect it was a problem with the "new" 6.35 radio code. A few hours ago, I reverted to the "old" 3.22 radio code and a ROM that works with it. So far, wifi connects quickly every time.
Here are some instructions for reverting to the old radio, etc:
Look in the first post for the section titled "Downgrade (Revert back to) 32A 3.22 Radio and SPL".
forum.xda-developers.com/showthread.php?t=605239
Once that is done, install a ROM that doesn't require the 6.35 radio code. I've had good luck with the DRC83_base_defanged ROM and Cyanogen mod (with a 32A kernel). Don't forget to do a full wipe in recovery mode before installing a new ROM.
forum.xda-developers.com/showthread.php?t=592377
Hi foresto,
I did this (reverting to lower radio and SPL and then different ROM) and back few times, but every time result is the same, i presume that one of the radio upgrades/downgrades did some permanent damage and afterwards it all went into fritz :-( no wlan connectivity :-(
I was constantly switching between radios 6.35.10.18 and 3.22.20.17 and this didn't provide any results, so i acquired radio 6.35.08.29 as a zip and tried to install it via SD card, first time it went well, for some reason i had to redo the installation and after that my phone was completely bricked (upon booting 5-10 seconds shown image of phone in front of the box, and after it the screen would either go black or into some strange color). :-(((
mjagar said:
This is what ADB logcat says about this part:
V/WifiStateTracker( 2685): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiMonitor( 2685): Event [Trying to associate with 00:01:e3:98:71:00 (SSID='W
LAN_test' freq=2427 MHz)]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 2685): Changing supplicant state: SCANNING ==> ASSOCIATING
D/WifiStateTracker( 2685): Deconfiguring interface and stopping DHCP
D/NetworkStateTracker( 2685): setDetailed state, old =DISCONNECTED and new state
=DISCONNECTED
D/SettingsWifiEnabler( 2730): Received network state changed to NetworkInfo: typ
e: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none
), roaming: false, failover: false, isAvailable: true
V/WifiMonitor( 2685): Event [Authentication with 00:01:e3:98:71:00 timed out.]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=0 state=0]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 2685): Changing supplicant state: ASSOCIATING ==> DISCONNECT
ED
V/WifiStateTracker( 2685): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiMonitor( 2685): Event [Trying to associate with 00:01:e3:98:71:00 (SSID='W
LAN_test' freq=2427 MHz)]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 2685): Changing supplicant state: SCANNING ==> ASSOCIATING
D/WifiStateTracker( 2685): Deconfiguring interface and stopping DHCP
D/NetworkStateTracker( 2685): setDetailed state, old =DISCONNECTED and new state
=DISCONNECTED
D/SettingsWifiEnabler( 2730): Received network state changed to NetworkInfo: typ
e: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none
), roaming: false, failover: false, isAvailable: true
V/WifiMonitor( 2685): Event [Authentication with 00:01:e3:98:71:00 timed out.]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=0 state=0]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 2685): Changing supplicant state: ASSOCIATING ==> DISCONNECT
ED
V/WifiStateTracker( 2685): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiMonitor( 2685): Event [Trying to associate with 00:01:e3:98:71:00 (SSID='W
LAN_test' freq=2427 MHz)]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 2685): Changing supplicant state: SCANNING ==> ASSOCIATING
D/WifiStateTracker( 2685): Deconfiguring interface and stopping DHCP
D/NetworkStateTracker( 2685): setDetailed state, old =DISCONNECTED and new state
=DISCONNECTED
Anyone knows what might be causing it and how to solve it???
Click to expand...
Click to collapse
looks like a ROAMING error....or if not that delete other adhocs or stop scaning reboot with wifi off then turn on when ur in UI.
mjagar said:
Hello,
few days ago i got Magic with stock 1.5 firmware. The unit was performing flawlessly with Wifi and everything was perfect but one big thing missing in Cupcake was PPTP VPN support - I require this to be able to grab my corporate Exchange emails, synchronise calendar and contacts etc.
So i started looking around for some ROMS that are Donut based (or even higher) since they have proper VPN support.
I searched through the XDA developers forums, learned a lot about ROMs, Radios, SPLs, Recoveries etc, but in the process of learning I also did few mistakes (putting 32B ROM on my 32A Magic, have corrupted Radio (during Radio downgrade screen would simply get some dark blue color and freeze indefinitely etc.)), on of them led to the point in which I had to create Gold Card in order to revive the unit.
Anyhow, during all these trials and errors I somehow managed to return to working 1.5 (Cupcake) firmware that has fully functional WiFi.
However, after one ROM install (My guess is that it happened after MarsDroid SPL7 1.8 D (and erasing Ad Hoc from wireless settings) I seem to have lost proper WiFi functionality, my home WLAN (SSID broadcast disabled, no other protection) would be visible (after I manually entered SSID) but it would either have "remembered, open network" status or "Out of range, remembered" (even though I was just few feet away from it). When it is on "remembered, open network" I can select it, it says Signal strength: Excellent, and Security: Open, but pressing Connect just doesn't do anything ?!?!?
On the other side my mobile broadband connection is working OK (but who wants to use expensive mobile broadband if You have free WiFi access ??).
WLAN scanning works flawlessly (WiFi scanning shows surrounding Access Points) but it simply will not connect. I even tried making my SSID visible and putting some WPA/WPA2 encryption but again the same result (remembered, wpa2 protected network).
What is wrong with my HTC Magic? It behaves same way regardless what ROM i put onto it?
My flashing procedure allways was:
- check in fastboot if radio and SPL and correct for rom
- check if I have adequate recovery
- go into recovery
- make wipe data/factory, Dalvik cache, sometimes even SD: ext
- enable USB MS
- transfer zip files to SD card
- flash zipfile(s)
- reboot
Currently I have firmware version 1.5 with:
CursorSense32A-1.2.6
Kernel version: 2.6.27-CCR32A-0.6a
Baseband version: 63.18.55.06KU_6.35.10.18
My fastboot:
SAPPHIRE PVT 32A ENG S-OFF H
HBOOT-1.76.2007 (SAPP10000)
CPLD-12
RADIO-6.35.10.18
Recovery is RA-hero-v1.5.3.1
Furthermore, once this is solved (and I know for sure that someone on this forum will be able to help me I would like to know if it is possible on Android to install MS Exchange certificates (ISA and SBS certificates (*.cer)) and how?
Many thanks in advance for help, i really appreciate it )
Click to expand...
Click to collapse
the problem is in /system/ect/wifi/ 2 files here needs to be replaced in your cRE ... CASE tiwlan.ini
this is my adhoc setting you deleted
network={
ssid="Adhoc"
scan_ssid=1
key_mgmt=NONE
mode=1
}
thx
Marsdroid
i belive its the dot11NetworkType = 3 witch have to be 2 or 1 instead...
dont ask why just use a other rom if you find it hard to come around
THX
mjagar said:
This is what ADB logcat says about this part:
V/WifiStateTracker( 2685): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiMonitor( 2685): Event [Trying to associate with 00:01:e3:98:71:00 (SSID='W
LAN_test' freq=2427 MHz)]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 2685): Changing supplicant state: SCANNING ==> ASSOCIATING
D/WifiStateTracker( 2685): Deconfiguring interface and stopping DHCP
D/NetworkStateTracker( 2685): setDetailed state, old =DISCONNECTED and new state
=DISCONNECTED
D/SettingsWifiEnabler( 2730): Received network state changed to NetworkInfo: typ
e: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none
), roaming: false, failover: false, isAvailable: true
V/WifiMonitor( 2685): Event [Authentication with 00:01:e3:98:71:00 timed out.]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=0 state=0]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 2685): Changing supplicant state: ASSOCIATING ==> DISCONNECT
ED
V/WifiStateTracker( 2685): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiMonitor( 2685): Event [Trying to associate with 00:01:e3:98:71:00 (SSID='W
LAN_test' freq=2427 MHz)]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 2685): Changing supplicant state: SCANNING ==> ASSOCIATING
D/WifiStateTracker( 2685): Deconfiguring interface and stopping DHCP
D/NetworkStateTracker( 2685): setDetailed state, old =DISCONNECTED and new state
=DISCONNECTED
D/SettingsWifiEnabler( 2730): Received network state changed to NetworkInfo: typ
e: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none
), roaming: false, failover: false, isAvailable: true
V/WifiMonitor( 2685): Event [Authentication with 00:01:e3:98:71:00 timed out.]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=0 state=0]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 2685): Changing supplicant state: ASSOCIATING ==> DISCONNECT
ED
V/WifiStateTracker( 2685): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiMonitor( 2685): Event [Trying to associate with 00:01:e3:98:71:00 (SSID='W
LAN_test' freq=2427 MHz)]
V/WifiMonitor( 2685): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 2685): Changing supplicant state: SCANNING ==> ASSOCIATING
D/WifiStateTracker( 2685): Deconfiguring interface and stopping DHCP
D/NetworkStateTracker( 2685): setDetailed state, old =DISCONNECTED and new state
=DISCONNECTED
Anyone knows what might be causing it and how to solve it???
Click to expand...
Click to collapse
flash original sappimg.zip if that dont work you have a faulty wifi module ... or have somehow deleted some MISC files donno how
Adhoc :you simply have to setup your ip on android when connecting to a private local network that is not shared "internet connection shared" or configurated to provide the client "android" a ip with dhcp ! OR the other way setup your pc manually with a good ip ... im guessing your running win7 that lags prober ip sharing configurating or i just HATE the permissions on that sys... i cannot help you more !
THX
Marsdroid
I can't figure out what the heck is keeping my device from going into deep sleep mode. Not sure if it was because I installed Clemsyn's kernel v16 or an app that wont allow it to sleep. I've been checking CpuSpy every morning to find the culprit. Even in airplane mode it still stays "awake" according to the battery usage thingy on settings.
Running Prime 1.4.
Can anyone else replicate this?? Any suggestions?
bighuta said:
I can't figure out what the heck is keeping my device from going into deep sleep mode. Not sure if it was because I installed Clemsyn's kernel v16 or an app that wont allow it to sleep. I've been checking CpuSpy every morning to find the culprit. Even in airplane mode it still stays "awake" according to the battery usage thingy on settings.
Running Prime 1.4.
Can anyone else replicate this?? Any suggestions?
Click to expand...
Click to collapse
Same issue here using stock 3.1 - not as bad as on the Xoom but can't figure out what's keeping my transformer awake. Any idea how to find the culprit? I wouldn't be surprised if the Map app was one, as its always used more battery than it should on various devices, from froyo to HC. Even forcing Map to stop doesn't solve the problem - a few mins later Map is back running in the background.
with or without dock?
With the dock the pad acts as if it's in the charger, atleast according to other posts i have read.
Do you have any widgets? I have Prime and the same kernel but my transformer is going to deep sleep.
jmkhenka said:
with or without dock?
With the dock the pad acts as if it's in the charger, atleast according to other posts i have read.
Click to expand...
Click to collapse
this is without the dock
It might be the springpad widget I just installed...
Sent from my Transformer TF101 using Tapatalk
I was just installing an update to TapaTalk and noticed it wanted permission to prevent the system from going to sleep.
I had the same problem with the transformer staying awake even with the dock closed. After a lot of trial and error I narrowed it down to the Gallery app using a service constantly. Killing the gallery app temporarily fixed it but a couple of hours later the same service was running again.
Further investigation showed it to be a problem with the picasa web sync constantly running. You can turn the sync off without having to resort to any drastic measures, go to Settings > Accounts & Sync, go into your google profile there and de-select Sync Picasa Web Albums, that fixed it for me and my idle battery life has doubled!
Disable any Android sync is not real solution
almaalma74 said:
Disable any Android sync is not real solution
Click to expand...
Click to collapse
It is... when you don't use Picasa and leave Picasa sync on.
Like really, which would you prefer? Having your battery being drained... or disabling syncing for Picasa? Remember.. this syncing is ONLY for Picasa (Gallery). It doesn't disable syncing for Gmail, Books, Music, etc. ONLY Picasa (Gallery)
I had an issue with this - it seemed to resolve itself when I turned off the location options....I don't have my TF with me and I can't remember what it's called - something like "allow google to determine my location" or suchlike! It's now sleeping like a baby! Overnight battery drop went from >40% to around 5%!
And here's a screen shot of my battery performance - you can see where I turned the "Use location for Google Search" option off....
Deeko1 said:
And here's a screen shot of my battery performance - you can see where I turned the "Use location for Google Search" option off....
Click to expand...
Click to collapse
What a difference..
I have been having the same problems as above.
I grabbed a logcat during its awake-but-not-on time. It just loops on and on about wifi and somthing about ioctl siocgifflags. Hopefully the below can help.
Code:
I/wpa_supplicant( 4025): CTRL-EVENT-STATE-CHANGE id=-1 state=8 BSSID=00:00:00:00:00:00
D/WifiStateMachine( 139): Reset connections and stopping DHCP
V/WifiMonitor( 139): Event [CTRL-EVENT-TERMINATING - signal 0 received]
D/WifiStateMachine( 139): setDetailed state, old =DISCONNECTED and new state=DISCONNECTED
D/ConnectivityService( 139): Dropping ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED
D/Elixir (22934): Broadcast received: android.net.wifi.WIFI_STATE_CHANGED
D/Elixir (22934): Refresh widgets for type: [WIFI_SWITCH, WIFI_SIGNAL_STRENGTH]
D/WifiStateMachine( 139): Supplicant connection lost
E/Tethering( 139): attempting to remove unknown iface (wlan0), ignoring
E/wpa_supplicant( 4025): ioctl[SIOCGIWMODE]
E/wpa_supplicant( 4025): ioctl[SIOCSIWAP]
E/wpa_supplicant( 4025): ioctl[SIOCGIFFLAGS]
D/WifiStateMachine( 139): Driver unload successful
D/AlarmManager( 139): Removed alarm Alarm{41e16240 type 2 com.google.android.apps.maps} type:ELAPSED_REALTIME_WAKEUP
D/Elixir (22934): Broadcast received: android.net.wifi.WIFI_STATE_CHANGED
D/Elixir (22934): Refresh widgets for type: [WIFI_SWITCH, WIFI_SIGNAL_STRENGTH]
D/Elixir (22934): Broadcast received: android.net.wifi.WIFI_STATE_CHANGED
D/Elixir (22934): Refresh widgets for type: [WIFI_SWITCH, WIFI_SIGNAL_STRENGTH]
D/AlarmManager( 139): Added alarm Alarm{41314008 type 2 com.google.android.apps.maps} type:ELAPSED_REALTIME_WAKEUP when: After 596520h:32m:19.0s
D/AlarmManager( 139): Removed alarm Alarm{4102a130 type 2 com.google.android.location} type:ELAPSED_REALTIME_WAKEUP
D/AlarmManager( 139): Added alarm Alarm{4171ff88 type 2 com.google.android.location} type:ELAPSED_REALTIME_WAKEUP when: After 23h:59m:59.0s
D/WifiService( 139): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
D/Tethering( 139): wlan0 is not a tetherable iface, ignoring
D/WifiStateMachine( 139): Driver load successful
D/WifiStateMachine( 139): Supplicant start successful
D/WifiStateMachine( 139): Supplicant connection established
D/Elixir (22934): Broadcast received: android.net.wifi.WIFI_STATE_CHANGED
D/Elixir (22934): Refresh widgets for type: [WIFI_SWITCH, WIFI_SIGNAL_STRENGTH]
D/WifiService( 139): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
D/WifiConfigStore( 139): Loading config and enabling all networks
D/AlarmManager( 139): Removed alarm Alarm{41314008 type 2 com.google.android.apps.maps} type:ELAPSED_REALTIME_WAKEUP
D/AlarmManager( 139): Added alarm Alarm{41806350 type 2 com.google.android.apps.maps} type:ELAPSED_REALTIME_WAKEUP when: After 596520h:32m:18.0s
D/AlarmManager( 139): Removed alarm Alarm{4171ff88 type 2 com.google.android.location} type:ELAPSED_REALTIME_WAKEUP
D/AlarmManager( 139): Added alarm Alarm{40f51ec0 type 2 com.google.android.location} type:ELAPSED_REALTIME_WAKEUP when: After 0h:0m:4.0s
D/WifiStateMachine( 139): setDetailed state, old =DISCONNECTED and new state=DISCONNECTED
I/wpa_supplicant( 4043): CTRL-EVENT-STATE-CHANGE id=-1 state=8 BSSID=00:00:00:00:00:00
V/WifiMonitor( 139): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=8 BSSID=00:00:00:00:00:00]
D/WifiStateMachine( 139): set country code US
D/WifiStateMachine( 139): set frequency band 0
I/wpa_supplicant( 4043): CTRL-EVENT-STATE-CHANGE id=-1 state=8 BSSID=00:00:00:00:00:00
V/WifiMonitor( 139): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=8 BSSID=00:00:00:00:00:00]
D/WifiStateMachine( 139): stopping supplicant
D/WifiStateMachine( 139): Reset connections and stopping DHCP
D/dalvikvm(22934): GC_CONCURRENT freed 412K, 10% free 6354K/6983K, paused 1ms+2ms
I/wpa_supplicant( 4043): CTRL-EVENT-TERMINATING - signal 0 received
V/WifiMonitor( 139): Event [CTRL-EVENT-TERMINATING - signal 0 received]
I/wpa_supplicant( 4043): CTRL-EVENT-STATE-CHANGE id=-1 state=8 BSSID=00:00:00:00:00:00
D/WifiStateMachine( 139): setDetailed state, old =DISCONNECTED and new state=DISCONNECTED
D/ConnectivityService( 139): Dropping ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED
D/Elixir (22934): Broadcast received: android.net.wifi.WIFI_STATE_CHANGED
D/Elixir (22934): Refresh widgets for type: [WIFI_SWITCH, WIFI_SIGNAL_STRENGTH]
D/WifiStateMachine( 139): Supplicant connection lost
E/Tethering( 139): attempting to remove unknown iface (wlan0), ignoring
E/wpa_supplicant( 4043): ioctl[SIOCGIWMODE]
E/wpa_supplicant( 4043): ioctl[SIOCSIWAP]
E/wpa_supplicant( 4043): ioctl[SIOCGIFFLAGS]
D/WifiStateMachine( 139): Driver unload successful
D/Elixir (22934): Broadcast received: android.net.wifi.WIFI_STATE_CHANGED
D/Elixir (22934): Refresh widgets for type: [WIFI_SWITCH, WIFI_SIGNAL_STRENGTH]
D/Elixir (22934): Broadcast received: android.net.wifi.WIFI_STATE_CHANGED
D/Elixir (22934): Refresh widgets for type: [WIFI_SWITCH, WIFI_SIGNAL_STRENGTH]
D/AlarmManager( 139): Removed alarm Alarm{40f51ec0 type 2 com.google.android.location} type:ELAPSED_REALTIME_WAKEUP
D/AlarmManager( 139): Removed alarm Alarm{41806350 type 2 com.google.android.apps.maps} type:ELAPSED_REALTIME_WAKEUP
D/AlarmManager( 139): Added alarm Alarm{417bd9f0 type 2 com.google.android.apps.maps} type:ELAPSED_REALTIME_WAKEUP when: After 596520h:32m:17.0s
D/AlarmManager( 139): Added alarm Alarm{412a7388 type 2 com.google.android.location} type:ELAPSED_REALTIME_WAKEUP when: After 23h:59m:59.0s
D/WifiService( 139): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
D/Tethering( 139): wlan0 is not a tetherable iface, ignoring
D/WifiStateMachine( 139): Driver load successful
D/WifiStateMachine( 139): Supplicant start successful
D/WifiStateMachine( 139): Supplicant connection established
D/Elixir (22934): Broadcast received: android.net.wifi.WIFI_STATE_CHANGED
D/Elixir (22934): Refresh widgets for type: [WIFI_SWITCH, WIFI_SIGNAL_STRENGTH]
D/WifiConfigStore( 139): Loading config and enabling all networks
D/WifiService( 139): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]}
D/AlarmManager( 139): Removed alarm Alarm{417bd9f0 type 2 com.google.android.apps.maps} type:ELAPSED_REALTIME_WAKEUP
D/AlarmManager( 139): Added alarm Alarm{410785d8 type 2 com.google.android.apps.maps} type:ELAPSED_REALTIME_WAKEUP when: After 596520h:32m:16.0s
D/AlarmManager( 139): Removed alarm Alarm{412a7388 type 2 com.google.android.location} type:ELAPSED_REALTIME_WAKEUP
D/WifiStateMachine( 139): setDetailed state, old =DISCONNECTED and new state=DISCONNECTED
D/AlarmManager( 139): Added alarm Alarm{40e980b8 type 2 com.google.android.location} type:ELAPSED_REALTIME_WAKEUP when: After 0h:0m:5.0s
I/wpa_supplicant( 4061): CTRL-EVENT-STATE-CHANGE id=-1 state=8 BSSID=00:00:00:00:00:00
V/WifiMonitor( 139): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=8 BSSID=00:00:00:00:00:00]
D/WifiStateMachine( 139): set country code US
D/WifiStateMachine( 139): set frequency band 0
I/wpa_supplicant( 4061): CTRL-EVENT-STATE-CHANGE id=-1 state=8 BSSID=00:00:00:00:00:00
V/WifiMonitor( 139): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=8 BSSID=00:00:00:00:00:00]
D/WifiStateMachine( 139): stopping supplicant
I/wpa_supplicant( 4061): CTRL-EVENT-TERMINATING - signal 0 received
D/WifiStateMachine( 139): Reset connections and stopping DHCP
V/WifiMonitor( 139): Event [CTRL-EVENT-TERMINATING - signal 0 received]
I/wpa_supplicant( 4061): CTRL-EVENT-STATE-CHANGE id=-1 state=8 BSSID=00:00:00:00:00:00
D/WifiStateMachine( 139): setDetailed state, old =DISCONNECTED and new state=DISCONNECTED
D/ConnectivityService( 139): Dropping ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED
D/Elixir (22934): Broadcast received: android.net.wifi.WIFI_STATE_CHANGED
D/Elixir (22934): Refresh widgets for type: [WIFI_SWITCH, WIFI_SIGNAL_STRENGTH]
D/WifiStateMachine( 139): Supplicant connection lost
E/Tethering( 139): attempting to remove unknown iface (wlan0), ignoring
E/wpa_supplicant( 4061): ioctl[SIOCGIWMODE]
E/wpa_supplicant( 4061): ioctl[SIOCSIWAP]
E/wpa_supplicant( 4061): ioctl[SIOCGIFFLAGS]
Deeko1 said:
And here's a screen shot of my battery performance - you can see where I turned the "Use location for Google Search" option off....
Click to expand...
Click to collapse
Eh? mines on and my battery life is better than yours on idle.
~12AM -> 8:20 AM idle http://i128.photobucket.com/albums/p163/gbd270/P20110723082933.png
zephiK said:
Eh? mines on and my battery life is better than yours on idle.
~12AM -> 8:20 AM idle http://i128.photobucket.com/albums/p163/gbd270/P20110723082933.png
Click to expand...
Click to collapse
Wow! Time to root and flash I think!
Deeko1 said:
Wow! Time to root and flash I think!
Click to expand...
Click to collapse
Tehehe I think it was specific to PRIME. My Transformer tends to like it a lot more.
http://i128.photobucket.com/albums/p163/gbd270/P20110720102955.png is a screenshot of me using Revolver and ugh. it was a disaster for me in terms of battery life. It was because for some reason the tablet was trying to interact with 3G data or something? I was pretty upset about that coming from PRIME 1.5 but all is good now
Actually.....my battery performance is now very similar to the Prime graph.....I'll post a pic soon....can't seem to upload images from my TF.....have to do it from my PC.....
Deeko1 said:
And here's a screen shot of my battery performance - you can see where I turned the "Use location for Google Search" option off....
Click to expand...
Click to collapse
True, but the device still seems to be awake when it shouldn't, according to your pic... so whats keeping it awake?
zephiK said:
Eh? mines on and my battery life is better than yours on idle.
~12AM -> 8:20 AM idle http://i128.photobucket.com/albums/p163/gbd270/P20110723082933.png
Click to expand...
Click to collapse
This looks good, with the device going to sleep when needed... thats what I need to aim for...
Status: Booting into the OS; Wi-Fi, display, touchscreen, audio, camera, etc.; PostmarketOS Wiki;
What you need:MicroSD Card formatted with FAT32 inserted into the tablet, preferably with at last 8gb of space.
Getting started:
Flash the modified TWRP 3.6.2 version which supports pmOS recovery installer (1).
Using the above TWRP, install pmOS flashable zip (2).
(1) -> You can install this recovery using "Install Image" option from "Install" menu.
(1) -> ODIN version for this TWRP pmOS recovery image is here.
(2) -> pmOS zip v270223, interfaces: MATE (lightweight, fast), XFCE4 (lightweight, fast), Gnome (touch friendly, elegant), FBKey (console with keyboard).
(2) -> MATE or XFCE4 (X11) recommended. Gnome (Wayland) version is quite slow due to lack of hardware acceleration.
(2) -> MATE also handles power off button by default and don't get stuck after screen off.
(2) -> Password for user q is q.
(2) -> This will not replace anything in /system or /data partition, only content on MicroSD and kernel boot.img.
(3) -> You can revert to Android by flashing stock boot.img.
(4) -> Compatible mesa packages. You should use FBKey version with this.
Build using pmbootstrap:Sources:
Github T110 pmOS with kernel, firmware, etc.
APKBUILDs for Mesa, Etna driver.
You can also build pmOS zip using pmbootstrap, as my initial MR is accepted.
Check the fork for updates not yet in upstream. Usage: (1), (2).
MR was accepted, so now you can use pmbootstrap to build for goyawifi.
Spoiler: Build from source using pmbootstrap
pmbootstrap init
#Select .. -> Edge -> Samsung -> Goyawifi -> .. -> Mate | other options can be default values
pmbootstrap install --android-recovery-zip --recovery-install-partition=external_sd
pmbootstrap export
#Insert an FAT32 formatted MicroSD Card (preferably over 8GB) in the table then
#Connect tablet using USB cable in
#TWRP recovery mode using pmos_twrp-3.6.2_9-0-goya.img installed as recovery:
adb push /tmp/postmarketOS-export/pmos-samsung-goyawifi.zip /sdcard
flash pmos-samsung-goyawifi.zip using recovery "Install" menu, like any other ROM
#If you can't push the zip, just try to copy to the tablet using MTP or wireless and then
#Flash using mentioned TWRP version
#Alternative, untested, sideload
pmbootstrap flasher --method=adb sideload
NOTE: this device, T110 or T111, goyawifi, SoC PXA986/988 is not the same as T113, goyavewifi or T116, SC8830.
If you want to try postmarketos for these devices, check this post for details.
These postmarketos and TWRP might be compatible with I8200 PXA986 version, as it is similar to the T111 tablet.
How it performs:
What's working:
Touchscreen
Battery level reads correctly
Audio playback and recording
Accelerometer
LCD brightness
Camera
Wi-Fi
Some 3D hardware acceleration
Mate, XFCE4, Wayland, Fbkeyboard
SSH acces to OS though USB or WLAN
Spoiler: Other thing are working
OS is booting
Build kernel from source
Kernel is loaded and working
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 *
Can telnet into init stage
Can SSH to OS
What's not working:
Proper full HW Acceleration
GPS
Bluetooth
Hardware handling:HW Acceleration:
Here are some demos based on the old Etnaviv user-space implementation.
You can use the Mesa with Etna driver:
APKBUILDs, apk source: https://github.com/T110-pmOS/abuilds
Source: https://github.com/T110-pmOS/mesa
Spoiler: Example of install and usage with FBKey
Code:
#Connect to Wi-Fi
#Note: You need using FBKey, plain console, chroot or uninstall mesa from the other versions, which is quite impossible.
sudo nmtui
#wget and untar (tar -xvf) the etna-mesa-apk-v270323.tar, then cd into armv7 folder inside it
apk add libetnaviv-dev-1.0.0-r0.apk
apk add mesa-9.3.0-r0.apk mesa-dev-9.3.0-r0.apk mesa-dri-gallium-9.3.0-r0.apk mesa-egl-9.3.0-r0.apk mesa-gbm-9.3.0-r0.apk mesa-gl-9.3.0-r0.apk mesa-glapi-9.3.0-r0.apk mesa-gles-9.3.0-r0.apk
#Or just apk add *
apk add xorg-server xf86-video-fbdev libinput xf86-input-libinput
rc-update del fbkeyboard
rc-service fbkeyboard stop
echo exec startxfce4 > /home/q/.xinitrc
sudo startx -- -verbose 6
#Lightdm, to start UI at boot
apk add lightdm lightdm-gtk-greeter onboard
echo keyboard=onboard | sudo tee -a /etc/lightdm/lightdm-gtk-greeter.conf
rc-update add lightdm
#Example of mesatest HW accelerated:
apk add automake make gcc git
git clone https://github.com/laanwj/mesatest_gles
cd mesatest_gles/
make
Cube
sudo DISPLAY=:0 ./cube
Quite old version of Mesa, 9. Might need a patch for TLS on MUSL.
Audio:
Audio recording and playback with internal microphone and speaker works.
You might try to fix the jack audio output by experimenting with amixer cset.
Camera:
Bash:
#Install:
sudo apk add v4l-utils imagemagick ffmpeg
#Capture a photo:
v4l2-ctl -d /dev/video0 --set-fmt-video=width=640,height=480,pixelformat=UYVY --stream-mmap --stream-count=1 --stream-to=test.raw
convert -size 640x480 -depth 16 uyvy:test.raw test.png
#E.g. recording video:
ffmpeg -y -f v4l2 -i /dev/video0 -framerate 24 -video_size 640x480 output.mkv
#You can stream using ffmpeg and open on VLC:
ffmpeg -re -f v4l2 -framerate 24 -video_size 640x480 -i /dev/video0 -c:v libx264 -preset ultrafast -tune zerolatency -b:v 500K -f mpegts udp://127.0.0.1:20000
sudo apk add vlc-qt
#Open VLC and network connect to: udp://@:20000
Accelerometer:
You can access accelerometer data, by:
cat /sys/class/sensors/accelerometer_sensor/raw_data
Bluetooth:
Bluetooth kernel module loads correctly and add the char devices to /dev/mbtchar0, /dev/mfmchar0, but it seems to be based on SDIO Marvell communication and there's no proper user-space driver or support for Linux.
Possible solutions:
Modify the kernel driver to add an HCI compatible interface.
Documentation:
EVK-EMMY-W1 - User Guide
Bluetooth on Pepper #5
PAN9026
GPS:
Didn't experimenting with it. I can say, it could be possible to bring it up with libhybris, as it seems the test does something.
Libhybris:
You can access, for example, sensors.
If you want to experiment, here you go:
GitHub - T110-pmOS/libhybris: Hybris is a solution that commits hybris, by allowing us to use bionic-based HW adaptations in glibc systems
Hybris is a solution that commits hybris, by allowing us to use bionic-based HW adaptations in glibc systems - GitHub - T110-pmOS/libhybris: Hybris is a solution that commits hybris, by allowing u...
github.com
Debugging:
* 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 . Check also this YouTube playlist.
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.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
More info in post #3.
Hey, could you please share the sources used to build this? Maybe we can help?
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.
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.
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.
That's amazing to hear! Could we have a TWRP-flashable ZIP?
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.
adryyy said:
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.
Click to expand...
Click to collapse
Hey! Have you tried installing the linux_firmware_mrvl package?
Update: WiFi is fully working!
Spoiler: Working Wi-Fi
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.
Spoiler: WPA_Supplicant output
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
Here's Firefox and Youtube running (without audio).
ADS loads faster and looks better as always ...
Video:
https://imgur.com/a/wQZkKvt
Speedtest: about 45mbps down / 30 up. The network handle up to 500 and my phone reach these speeds.
That's amazing to hear!! Does HW rendering work or is it just software rendering like the CM port?
TriDiscord said:
That's amazing to hear!! Does HW rendering work or is it just software rendering like the CM port?
Click to expand...
Click to collapse
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.
Spoiler: Galcore output
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
adryyy said:
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.
Spoiler: Galcore output
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
Click to expand...
Click to collapse
That's great to hear! What else doesn't work?
Hey, do you happen to have the sd8xxx.ko file?
Audio is not working yet.
Install using TWRP zip.
Spoiler: Deprecated SDCard backup
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:
Downloads for : -Android- Generic Device/Other | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
Password for q is q
Spoiler: How to make SDCard with pmOS
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
sudo mkfs.ext2 /dev/sdb1
sudo mkfs.ext4 -O ^has_journal /dev/sdb2
## Remove journal (skip)
## sudo tune2fs -O ^has_journal /dev/sdb1
## sudo tune2fs -O ^has_journal /dev/sdb2
# Label
sudo e2label /dev/sdb1 pmOS_boot
sudo e2label /dev/sdb2 pmOS_root
# 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
Spoiler: Partition layout
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
TriDiscord said:
That's great to hear! What else doesn't work?
Click to expand...
Click to collapse
Here are some files which can help you to debug audio, if you want to try.
Debugging
piCloud
dopo.go.ro
Can you try pushing /system/etc/asound.conf from stock ROM to /etc/asound.conf?
TriDiscord said:
Can you try pushing /system/etc/asound.conf from stock ROM to /etc/asound.conf?
Click to expand...
Click to collapse
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?
adryyy said:
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?
Click to expand...
Click to collapse
Ah, I'm not trying to boot into pmOS right now, I'm mostly concerned about the CM port Maybe we could port Treble and get GSI and pmOS working that way?
TriDiscord said:
Ah, I'm not trying to boot into pmOS right now, I'm mostly concerned about the CM port Maybe we could port Treble and get GSI and pmOS working that way?
Click to expand...
Click to collapse
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.