Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
m4xx3d0ut
Old
(Last edited by m4xx3d0ut; 4th May 2013 at 06:06 AM.) Reason: host mode charging and new power injection cable design
#1  
m4xx3d0ut's Avatar
Member - OP
Thanks Meter 31
Posts: 35
Join Date: Dec 2012

 
DONATE TO ME
Default [KERNEL] [4.2.2 CM10.1][m4xx3d0ut][kexec,ath9k,rtl8187,USBhost][5/2/13]

so i thought this kernel may be helpful to others so i decided to post it. its a recompiled version of the cm10.1 kernel with Tasssadar's kexec patch applied (thanks Tasssadar!), added support for ath9k, and added support for rtl8187.

this will allow you to use TWRP multirom and boot android or pwnie express's pwn pad backup in which ever order you prefer.

also you may allow them to share the kernel and use (for example) an Alfa AWUS036H or a TP-link TL-WN722N usb wifi adapter with both.

it will allow multiple radios to be used at the same time via a usb hub (pictured) and packet injection works as well.

this is the part that i say "attempting to crack the key to a wireless network on which you are not authorized to is ILLEGAL and i do not condone such actions"

i am a security researcher and only conduct tests on my own networks or ones i am authorized to do so on, i recommend you do the same.

also, if anyone has an ubertoothone or some an industrial bluetooth adapter let me know if they work. if they do not i will recompile and we can retest, i intend on purchasing one as soon as i have the extra funding.

please let me know how it works and ill keep this thread updated with any optimizations i make in the future. enjoy!

edit: NEW UPDATE!!! kernel now implements host mode charging (charges with usb devices connected, power injection cable required) thanks Timur!!!

also i have designed a new power injection cable with a toggle switch for host mode charging.

it allows for a hub, external nic's, or whatever you want to be powered 1 of 3 ways.

1.) with an external power source (in this case the usb battery pack) sending power only to the external devices, therefore not adversely affecting the battery life of the nexus 7.

2.) switch flipped to the other position, nexus 7 will power attached devices and work as a normal usb cable plugged into otg.

3.) both nexus 7 and external devices will be powered by external source

first pic is n7 with 2 wireless nic's, a 4 port hub, and a usb battery pack

second pic is the switchable host power injection cable

third pic is screenshot of second wireless device up and charging icon on

fourth pic is basic schematic for power injection cable (note mine has extra female usb for 1 device at a time)

then last few are some picks from airmon-ng and aireplay-ng in a kali chroot













Attached Files
File Type: gz m4xx3d0ut_kernel.tar.gz - [Click for QR Code] (5.28 MB, 87 views)
The Following 15 Users Say Thank You to m4xx3d0ut For This Useful Post: [ Click to Expand ]
 
m4xx3d0ut
Old
#2  
m4xx3d0ut's Avatar
Member - OP
Thanks Meter 31
Posts: 35
Join Date: Dec 2012

 
DONATE TO ME
just recompiled today with some new features. last week i whipped up a nifty new power injection cable. enjoy!
The Following User Says Thank You to m4xx3d0ut For This Useful Post: [ Click to Expand ]
 
NabhanKhan100
Old
#3  
NabhanKhan100's Avatar
Member
Thanks Meter 27
Posts: 77
Join Date: Feb 2012
Location: Earth
Nice

Sent from my Nexus 7 using XDA Premium HD app
 
rebel1699
Old
#4  
rebel1699's Avatar
Senior Member
Thanks Meter 371
Posts: 938
Join Date: Feb 2008
Location: Oklahoma
Super nice! I was going to build my extra cables tonight as well, but realized I was out of small heat shrinks. I need to order more.

"What do you tell a man with two black eyes? Nothing. He has already been told twice."
Current Devices

Nexus 7 32Gb MULTIROM w/ PA, Orca, Carbon, Stock and Rasbeanjelly. Metallice a44 kernel
Nexus 7 16Gb Multirom w/ Stock and Orca
SkyRocket i727 Powered by AOKP
LG Thrill w/ ICS
Blackberry Torch 9860 OS7
3 D2 7' TabletS w/ICS

"There is no dark side of the moon, really. As a matter of fact, its all dark"
 
m4xx3d0ut
Old
#5  
m4xx3d0ut's Avatar
Member - OP
Thanks Meter 31
Posts: 35
Join Date: Dec 2012

 
DONATE TO ME
the cable is working out just as expected, gonna do some testing this week (ie- plug it in and test reaver against wps and leaving it plugged in on my network and launch some reverse shells from remote locations)
 
rebel1699
Old
#6  
rebel1699's Avatar
Senior Member
Thanks Meter 371
Posts: 938
Join Date: Feb 2008
Location: Oklahoma
Quote:
Originally Posted by m4xx3d0ut View Post
the cable is working out just as expected, gonna do some testing this week (ie- plug it in and test reaver against wps and leaving it plugged in on my network and launch some reverse shells from remote locations)
Looking forward to hearing some results. I still need to order my ext wifi, so it will be a bit before I can get started.

"What do you tell a man with two black eyes? Nothing. He has already been told twice."
Current Devices

Nexus 7 32Gb MULTIROM w/ PA, Orca, Carbon, Stock and Rasbeanjelly. Metallice a44 kernel
Nexus 7 16Gb Multirom w/ Stock and Orca
SkyRocket i727 Powered by AOKP
LG Thrill w/ ICS
Blackberry Torch 9860 OS7
3 D2 7' TabletS w/ICS

"There is no dark side of the moon, really. As a matter of fact, its all dark"
 
m4xx3d0ut
Old
#7  
m4xx3d0ut's Avatar
Member - OP
Thanks Meter 31
Posts: 35
Join Date: Dec 2012

 
DONATE TO ME
i recommend TP-link TL-WN722N. its only $20 and it uses an atheros chip. as far as i have seen it yields the best all around results, it can also operate in master mode if you want to turn your ride into a wifi hot spot
 
rebel1699
Old
#8  
rebel1699's Avatar
Senior Member
Thanks Meter 371
Posts: 938
Join Date: Feb 2008
Location: Oklahoma
Quote:
Originally Posted by m4xx3d0ut View Post
i recommend TP-link TL-WN722N. its only $20 and it uses an atheros chip. as far as i have seen it yields the best all around results, it can also operate in master mode if you want to turn your ride into a wifi hot spot
Sounds good. I dont need a hotsopt though. I have an old linksys router loaded with dd-wrt in my car and set up as a wireless bridge.

Once I get the tp link, I want to add it to my small parabolic setup. I want some RANGE on the go, lol.

"What do you tell a man with two black eyes? Nothing. He has already been told twice."
Current Devices

Nexus 7 32Gb MULTIROM w/ PA, Orca, Carbon, Stock and Rasbeanjelly. Metallice a44 kernel
Nexus 7 16Gb Multirom w/ Stock and Orca
SkyRocket i727 Powered by AOKP
LG Thrill w/ ICS
Blackberry Torch 9860 OS7
3 D2 7' TabletS w/ICS

"There is no dark side of the moon, really. As a matter of fact, its all dark"
 
m4xx3d0ut
Old
#9  
m4xx3d0ut's Avatar
Member - OP
Thanks Meter 31
Posts: 35
Join Date: Dec 2012

 
DONATE TO ME
funny you should say that, i was gonna set up a parabolic on my roof and a yagi for my adapters and see if i could get my network from the beach (only 1 block). they are next on my list so ill run some long range test too and post results.
 
rebel1699
Old
(Last edited by rebel1699; 3rd May 2013 at 04:49 AM.)
#10  
rebel1699's Avatar
Senior Member
Thanks Meter 371
Posts: 938
Join Date: Feb 2008
Location: Oklahoma
For my house, I just jacked up my router tx to 210 mW, from 71. I can pick it up about 2 blocks from my house with little issue. Granted, I live in a more rural area and my "block" may very well be much smaller than yours. I have also thought about making a parabolic for here. I have a large 2 story and there is already a vacant dish network stand on the peak. I have an los of about 3 miles, so I think I could really get out there.

Btw: We talked about host mode charging on Ubuntu for N7. Looks like they released 13.10 Suacy Salamander today. Gonna see if they finally got it into thier kernel.

"What do you tell a man with two black eyes? Nothing. He has already been told twice."
Current Devices

Nexus 7 32Gb MULTIROM w/ PA, Orca, Carbon, Stock and Rasbeanjelly. Metallice a44 kernel
Nexus 7 16Gb Multirom w/ Stock and Orca
SkyRocket i727 Powered by AOKP
LG Thrill w/ ICS
Blackberry Torch 9860 OS7
3 D2 7' TabletS w/ICS

"There is no dark side of the moon, really. As a matter of fact, its all dark"

 
Post Reply+
Tags
ath9k, kexec, nexus 7, packet injection, rtl8187
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

XDA University: Porting ClockworkMod Recovery to New Devices

Having a good recovery makes the process of modifying, tweaking, maintaining, … more

One Stop Guide Shop for the Newbie and Dev

It’s been well established that XDA-Developers isthedestination for resources relating to … more

What Happened at Google I/O 2013 – XDA Developer TV

Unless you just emerged from a deep, dark, dank cavern under the Earth, you know … more

Forums Added for the LG Optimus G Pro and Sony Xperia Tablet Z

Not too long ago, we talked about how Sony was continuing its AOSP efforts on … more