Widespread Augmented Reality

Widespread Augmented Reality
Click on the image to get the Android Augmented Reality Heads up Display

Thursday, October 4, 2018

Lenovo Yoga Book - Installing Debian Linux on Android - Then Aircrack

First install Debian from Google Play Store - > here.

Open up terminal and run the following command to set up the environment for AirCrack:
sudo apt-get install build-essential autoconf automake libtool pkg-config libnl-3-dev libnl-genl-3-dev libssl-dev ethtool shtool rfkill zlib1g-dev libpcap-dev libsqlite3-dev libpcre3-dev libhwloc-dev libcmocka-dev

Install Aircrack:
wget https://download.aircrack-ng.org/aircrack-ng-1.4.tar.gz
tar -zxvf aircrack-ng-1.4.tar.gz
cd aircrack-ng-1.4
autoreconf -i
./configure --with-experimental
make
make install

Help Desk at http://spideronfire.com

Nexus 7 2013 WiFi not Recognizing USB WiFi Adapter

Decided to start over by flashing the CM mod downloaded from here. GAAPS zip file from here. Following this instructional video at YouTube.

Trying to get Android / Kali Net Hunter to Recognize a USB Wifi Adapter

First of all, apt-get update is not working against what is in the /data/local/nhsystem/kali-armhf/etc/apt/sources.list. I got rid of everything in there and added deb http://http.kali.org/kali kali-rolling main non-free contrib
The apt-get update now returns an error on expired keys. To resolve this, I opened a command line in Kali and typed: apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
After editing sources.list, I ran the following one at a time and in this order: apt-get update, apt-get upgrade, apt-get dist-upgrade, apt-get install kali-linux-nethunter Here is the source of this nugget: Kali forums.
I picked up a $10.00 TL-WN725N USB WiFi adapter from Office Depot. Through Google, I discovered that the chipset is rtl8192cu.
Now I will follow askUbuntu on how to install the driver. Also following pvaret on GitHub

Saturday, September 1, 2018

Bricking the Nexus 7 2013 with Kali Net Hunter

I plugged in the TP-Link TL-WN722N wifi adapter and got no blinking light on the adapter. Figuring it was a problem with my Android build, I started playing around with flashing different images in different ways, which eventually resulted in an unresponsive tablet, both on the touch screen and eventually not moving past the Google Logo after power on.

After several times incorrectly trying to flash a stock image, I eventually erased the entire system partition with the Nexus Root Toolkit (NRT). See the following screenshots.


Voila, the tablet booted into the familiar interface; however, since things never go smoothly, the auto rotate no longer worked. Therefore I uninstalled all unnecessary apps, pressed gently on the N and S letters on the backside logo, turned auto rotate on and off several times, powered down the device several times, and twirled around in a counter clockwise circle while chanting the F word. Eventually auto rotate mysteriously started working.

The next issue was all the space taken up by the sdCard/!ReadytoFlash folder created by NRT. In order to delete the unnecessary zip files, I rebooted into the TWRP recovery and used its file manager to delete.

After all this, the USB adapter with a TP-Link TL-WN722N antenna is still not recognized by the Marshmallow tablet.

Stay tuned, I will be back to report what magical sequence of spells are required to make it work.

Wednesday, August 8, 2018

Installing Kali Net Hunter on Nexus 7

Start here.
Then you'll need this
I found that the most important part was installing the ADB drivers for the device.
Follow the Nexus Root Toolkit instructions on how to delete existing USB drivers, because you may find that Windows likes to install the USB connected device under MTP. It needs to be in the Device Manager under Android | Android ADB.
I also found that disconnecting the Internet / WiFi on the host PC helps prevent Windows from going out to the internet to search for drivers that will overwrite the USB interface to the Nexus 7.
You will need TWRP from here OR here.

After Unlock and Root with TWRP recovery, then use NRT to install the Net Hunter image. Go here.


For no good reason other than there was an option to do so, I copied the NRT Window Log below:


Nexus Root Toolkit v2.1.9

Masterlists:
- LatestToolkitFiles.ini 3135
- AndroidDeviceListFull.ini 3135
- AndroidDeviceListFlash.ini 3135

RAZOR-FLO: Android 6.0.1 - Build: MOB30X

Live log initiated [2018-08-08]:


Checking ADB/FASTBOOT Connectivity
adb devices
09e791fb device
fastboot devices

 + ADB Device Connected

Rebooting your device into bootloader mode...
adb reboot bootloader

Checking Fastboot Connectivity
fastboot devices
09e791fb fastboot
 + Fastboot Device Connected

 + Confirmed: Bootloader Unlocked.
Flashing Custom Recovery to RECOVERY partition...
fastboot flash recovery "C:\Program Files (x86)\WugFresh Development\
Nexus Root Toolkit\data\Recovery_Custom\TWRP\twrp-3.0.2-0-flo.img"

Temporarily Booting TWRP...
fastboot boot "C:\Program Files (x86)\WugFresh Development\
Nexus Root Toolkit\data\Recovery_Custom\TWRP\twrp-3.0.2-0-flo.img"

Checking ADB Recovery Connectivity
adb devices
09e791fb recovery
 + ADB Recovery Device Connected

Pushing root files to your device:
Pushing "SR1-SuperSU-v2.78-SR1-20160915123031.zip" to your device:

adb push "C:\Program Files (x86)\WugFresh Development\
Nexus Root Toolkit\data\Root_Files\
SR1-SuperSU-v2.78-SR1-20160915123031.zip" "/sdcard/!ReadyToFlash/
Root_Files/SR1-SuperSU-v2.78-SR1-20160915123031.zip"

100%  /sdcard/!ReadyToFlash/Root_Files/SR1-SuperSU-v2.78-SR1-20160915123031.zip

Hash verifying file transfer:
627c4b98e7bf83293e81d3758accf753 = Local Hash
627c4b98e7bf83293e81d3758accf753 = Device hash
 + Verified!

Pushing "busybox-signed.zip" to your device:

adb push "C:\Program Files (x86)\WugFresh Development\
Nexus Root Toolkit\data\Root_Files\busybox-signed.zip" "/sdcard/
!ReadyToFlash/Root_Files/busybox-signed.zip"

100%  /sdcard/!ReadyToFlash/Root_Files/busybox-signed.zip

Hash verifying file transfer:
0ece645c3ca95a10f9a4344300ce0f8f = Local Hash
0ece645c3ca95a10f9a4344300ce0f8f = Device hash
 + Verified!

Pushing "quick-reboot-signed.zip" to your device:

adb push "C:\Program Files (x86)\WugFresh Development\
Nexus Root Toolkit\data\Root_Files\quick-reboot-signed.zip" "/sdcard/
!ReadyToFlash/Root_Files/quick-reboot-signed.zip"

100%  /sdcard/!ReadyToFlash/Root_Files/quick-reboot-signed.zip

Hash verifying file transfer:
64384a4285d14f0727ea989c17c8909b = Local Hash
64384a4285d14f0727ea989c17c8909b = Device hash
 + Verified!

Pushing "openrecoveryscript" to your device:

adb push "C:\Program Files (x86)\WugFresh Development\
Nexus Root Toolkit\data\Root_Files\
openrecoveryscript" "/cache/recovery/openrecoveryscript"

100%  /cache/recovery/openrecoveryscript

Hash verifying file transfer:
b42ecaae4b4c4d37d3200b874e29366b = Local Hash
b42ecaae4b4c4d37d3200b874e29366b = Device hash
 + Verified!

Rebooting your device into bootloader mode...
adb reboot bootloader

Checking Fastboot Connectivity
fastboot devices
09e791fb fastboot
 + Fastboot Device Connected

Temporarily Booting TWRP...
fastboot boot "C:\Program Files (x86)\WugFresh Development\
Nexus Root Toolkit\data\Recovery_Custom\TWRP\twrp-3.0.2-0-flo.img"

Rooting...
Waiting for your device...
Device Detected
Automated Rooting Procedure Complete!

You should see something like this in the NRT Log Window:

Nexus Root Toolkit v2.1.9 Masterlists: - LatestToolkitFiles.ini 3135 - AndroidDeviceListFull.ini 3135 - AndroidDeviceListFlash.ini 3135 RAZOR-FLO: Android 6.0.1 - Build: MOB30X Live log initiated [2018-08-08]: Checking ADB/FASTBOOT Connectivity adb devices 09e791fb device fastboot devices + ADB Device Connected Rebooting your device into bootloader mode... adb reboot bootloader Checking Fastboot Connectivity fastboot devices 09e791fb fastboot + Fastboot Device Connected Temporarily Booting TWRP... fastboot boot "C:\Program Files (x86)\WugFresh Development\ Nexus Root Toolkit\data\Recovery_Custom\TWRP\twrp-3.0.2-0-flo.img" Checking ADB Recovery Connectivity adb devices 09e791fb recovery + ADB Recovery Device Connected Pushing "nethunter-flo-marshmallow-3.0.zip" to your device: adb push "C:\Users\SpiFi\Downloads\ nethunter-flo-marshmallow-3.0.zip" "/sdcard/ !ReadyToFlash/nethunter-flo-marshmallow-3.0.zip" 100% /sdcard/!ReadyToFlash/nethunter-flo-marshmallow-3.0.zip Hash verifying file transfer: aede8c474cb73c43205c6426ec23ad5a = Local Hash aede8c474cb73c43205c6426ec23ad5a = Device hash + Verified! Pushing "openrecoveryscript" to your device: adb push "C:\Program Files (x86)\WugFresh Development\ Nexus Root Toolkit\data\stored\openrecoveryscript" "/cache/recovery/openrecoveryscript" 100% /cache/recovery/openrecoveryscript Hash verifying file transfer: 34b17570a68297721a19be80821452cc = Local Hash 34b17570a68297721a19be80821452cc = Device hash + Verified! Rebooting your device into bootloader mode... adb reboot bootloader Checking Fastboot Connectivity fastboot devices 09e791fb fastboot + Fastboot Device Connected Temporarily Booting TWRP... fastboot boot "C:\Program Files (x86)\WugFresh Development\ Nexus Root Toolkit\data\Recovery_Custom\TWRP\twrp-3.0.2-0-flo.img"