Compile tshark/wireshark for Android

It is a painful process and I would like to record the whole process.. I will provide a script in the end to assist, but the script should be used "AS IS."

To get wireshark working on Android, we will need many many libraries to start with. Most importantly, we need:

  • libpcap
  • glib
  • libiconv
  • libffi
  • gettext

To get these (and compiled correctly), we also need to get libgcrypt, libgpg-error, gmp, nettle, libtasn1, p11-kit, gnutls, xz, and libxml2. First we need to download all these. Navigate to a directory and use the following script to do so. Continue reading Compile tshark/wireshark for Android

Samsung Galaxy S8 Update Issue with Project Fi

I did not find online anyone mentioning about this. But after I update my S8 to Android Oreo (8.0, the latest system version), my Project Fi lost its data connections.

I found this issue after I left home taking an Uber. I was standing outside and there was no WiFi. My S8 behaved as usual until I notice there was no LTE sign in the status bar. I opened the Uber app and it said "No Internet Connections." I tried other apps and finally found my LTE was gone.

Okay, so long story short, if you encounter the same problem as I did, here is the solution. I do not know why it happens, but the update triggers a change in the network access point settings. For S8, if you navigate to

Settings > Connections > Mobile Networks > Access Point Names

You will see Project Fi -Tm is selected (there might be two of them). Click on the one that is already chosen and we'll edit the APN protocol. The update somehow changes the APN protocol to IPv6 only. Now change that to IPv4/IPv6.

Everything now gets back to normal. 😀

Adversarial ML in Wireless?

So far we have seen so many machine learning (ML) papers in computer vision, from object detections to activity recognitions. There have been tons of papers doing the good, and the same that many are doing the bad thing, namely adversarial ML. Many papers are now following the trend to attack existing well-trained ML models. One example is by wearing a glass with special colors designed, the guy can be recognized as someone else, by machines (shown as the figure below). You can find many many papers on this topic. Continue reading Adversarial ML in Wireless?

Convert png to eps with minimal size

Every time I try to convert from png to eps, through commands like convert or via online converters like here, the eps file is always super large. For example, a 50KB png after conversion becomes 3MB eps.

Then I figured a way to reduce the file size. It is still through convert command, but with an additional prefix inside the command. Continue reading Convert png to eps with minimal size

One Day, I Found "Knives Out" Cheat, for real...

I played 'Knives Out' a while, a mobile PUBG game made by NetEase Inc. It is an awesome game, and I love(d) that the game is fair and there is (was) no cheat.

Apparently, I am wrong. One day I was just landing. I turned my camera to various locations just to double check how many people are around me and where they are. Guess what, I saw someone running on the ground. It is not surprising because he/she may land before I did. But then I found something weird. (S)he ran super, super, super fast. It's like just a click, (s)he went from south to north...

I was shocked, so I did some search online and found several places people actually sold the so-called "Knives Out Assistance." And there is one other place publishing a similar hack for free. Continue reading One Day, I Found "Knives Out" Cheat, for real...

ZenFone 4 Pro does not support WiGig

A news article draws my attention from Qualcomm saying:

Qualcomm Technologies’ 11ad Wi-Fi allows users to download and share 4k videos in seconds, sync their photos, videos and other files with blazing speed, and enjoy fast access to cloud services. Moreover, when users connect other devices, such as laptops, with the phone’s Wi-Fi hotspot feature the Snapdragon mobile platform is designed to provide end-to-end gigabit wireless connectivity with 802.11ad access and Gigabit LTE backhaul, on a compatible network, even in crowded places such as airports. Like the upcoming 5G NR standard, 11ad utilizes the mmWave spectrum – in this case, the 60 GHz band— tapping into a massive amount of data-carrying capacity that complements existing cellular and Wi-Fi networks. Additionally, ZenFone 4 Pro users will enjoy robust Wi-Fi connectivity using Qualcomm Technologies’ integrated 802.11ac 2x2 MU-MIMO technology, which offers twice as much throughput as 1x1 Wi-Fi and improved coverage, especially in buildings with brick or concrete walls.

And we can see from its article:

Clearly, the previous descriptions and "Zenfone 4 Pro uses the 60 GHzmmW band for 11ad, providing an early glipse of 5G mobile experience" indicate that the phone will support WiGig and 802.11ad transmission standard.

I was a bit excited as it has been a long time since LePhone claimed they are the first phone supporting 802.11ad, yet disappointing me that they actually do not support it. I bought the AD7200 router which supports WiGig transmission, and yet I have no device to really use and test it. For a moment, I thought, great we (as customers) finally have something to play with.

But then when I went to Asus official website, I did not saw anything about WiGig or 802.11ad in the device tech spec.

I asked the customer service, and the answer is both expected and disappointed. All in all, Qualcomm is "lying" and Asus ZenFone 4 Pro doe NOT support WiGig (or 802.11ad).