[DEV][Kernel] P5210 | USB RT8187 | Aircrack-ng How to Included
This kernel/rom lets you connect an RT8187 USB Wifi adapter to your GT-P5210 and run aircrack-ng/airmon-ng/airodump-ng through Linux on Android.
Mind the noobness
, I just compiled my first kernel(ever) and stuck it in someones image and it worked.
(worked untill i enabled the builtin wifi, lol)
After i bought one of these tablets I can't say I'm not a bit dissapointed about the amount of dev work on the GT-5210, (words go unspoken for DutchDanny, Angel_666, trevd)
It's an x86 device, anything should be compileable and runable without any arm mods (i'm looking at you kali linux) this thing should be owning the Nexus 7.
Tested with TWRP 2.7 recovery
Its built using builduntu, and from the P5210UEUAMI8 source, with the toolchain recommended in the Kernel Readme.
I followed this tutorial to enable driver support
And this detailed guide to compile the kernel and create a proper boot.img
Replaced the boot.img in Mod57's rom with my modified one. (god fed up with fastboot and usb issues on Win 8.1 and just flashed it, it worked. Thats my testing)
Originally Posted by Mod57
This is built using the Samsung GT-P5210 P5210UEUAMI8 [4.2.2] Jelly Bean base.
This is not debloated it's fat and sassy like Samsung intended it.
If you would like to debloat I highly recommend using DutchDanny's debloater which can be found here:
- Jelly Bean P5210UEUAMI8
- Fully Deodexed
- Extended Power Menu (Wanam Xposed)
- Will Not Delete Internal SD
and everyone else who has contributed to this device.
Once you have downloaded and verified Mod57's rom, open up the zip and replace boot.img with this one:
MD5: 4dd95a78c78550586cf3c2f7953978ab boot.img
You must have a rooted device (I used TWRP 2.7, http://nasirtech.blogspot.dk/2014/03...422-stock.html
Put the modified rom onto the sdcard
Go to recovery
Wipe Cache and dalvik-cache
Install the ROM
Reboot and enjoy
Once you have installed the kernel and it boots up, you must follow these steps to chroot into an ubuntu image and compile / install aircrack.
Download this image: ubuntu-13.10.LARGE.x86.ext2.v1.zip
and copy it to your sdcard
Thanks to jorgen_gustavsson for his excellent work http://forum.xda-developers.com/show....php?t=2573441
1. Install busybox https://play.google.com/store/apps/d...ricson.busybox
2. Install a vnc viewer https://play.google.com/store/apps/d...oid.androidVNC
3. Install https://play.google.com/store/apps/d...linuxonandroid
(Not sure, but open and close it once to be safe)
4. Copy bootscript.sh link to bootscript thread to /data/data/com.zpwebsites.linuxonandroid/files/ overwrite the old file.
(Thanks to xdadev: jorgen_gustavsson)
5. Unpack and Copy the ubuntu-13.10.LARGE.x86.ext2.img and .md5 to a place of your choosing on either internal or external sdcard.
6. Make a Linux on Android widget and point it to the img file you copied to your sdcard (ubuntu-13.10.LARGE.x86.ext2.v1.img).
7. Now click on the LOA widget you made in 6 and let linux ”bootup”
8. Press 'y' to check MD5 checksum
9. Connect vnc to localhost:5900 password ubuntu
Now to install Aircrack
sudo apt-get install build-essential
sudo apt-get install gcc
sudo apt-get install zlibg-dev
sudo apt-get install libssl-dev (or libssl-dev depending on your distribution)
#airolib-ng optional sqlite=true
sudo apt-get install libsqlite3-devel
#libnl optional libnl=true
sudo apt-get install libnl-genl-3-dev libnl-3-dev
sudo apt-get install wireless-tools
sudo apt-get install net-tools
sudo apt-get install wicd-curses (or wicd-cli)
sudo apt-get install usbutils
sudo apt-get install wpasupplicant
sudo apt-get install dbus
# Download & unpack (or replace link with latest trunk)
tar -zxvf aircrack-ng-1.2-beta3.tar.gz
sudo make libnl=false sqlite=false
sudo make install libnl=false sqlite=false
make libnl=true;make libnl=true install
make install libnl=true;make libnl=true install
# or Airolib-ng support
make sqlite=true;make sqlite=true install
make install sqlite=true;make sqlite=true install
# Add binaries to path
# add the above line to below file for include path on startup
# Update MAC OUI
Reboot and disable your internal wifi, connect your dongle, and get cracking.
This is what I spent my easter (and then some) doing, I hope someone can make good use of it. I can
Maybe someone can come along and add bcmon for the bcm4334 chipset
(Just maybe https://code.google.com/p/bcmon/sour...hd/Kconfig?r=4
why didn't you use the latest source? -couldn't find it
Will this kernel work with xx rom? -probably not
Why aren't more roms including this? -dno, its in the menuconfig, should be easy
I've tried to give thanks where ever possible, let me know if you feel left out.
Ill come back tomorrow and clean up my post.