yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) General] rulk:
With the newer bruce cm-11-20131222-bruce2728-bricked-linaro-flo rom I was able to get the tablet up and running fine but when I burned the el-kitkatkaliflo2.2 kernel in it and rebooted the system did not like it. When it tried to boot it bombed out with an error and a screen full of text. The text was too small for me to read most of it. You can reproduce it in like 2 minutes if you want to see the issue. Just burn the bruce rom to one of the slots and then load the updated kernel. It bombs on the bootup of the new combination.

I actually downloaded the rom before it was removed off the page but I am about 90% up and running. I keep trying things and it doesn't "quite" work But I should have it up and running later today.

Rodney

---------- Post added at 03:08 PM ---------- Previous post was at 03:01 PM ----------

In short no...

If you missed my earlier message...

I am new to this so if I am mistaken please correct me but this is a different method than just loading kali in the background and connecting to it via VNC.

You CAN access it directly via VNC with this setup but there are also a number of script based applications included that it appears telnet into the Kali distribution and interact with it with a much nicer Android UI instead of using the VNC client and having to deal with the weird graphics display.

For me I think this is a very cool design and I may contact the authors to see what they are actually doing.

It does still allow you to VNC into the original host to perform functions that the included android apps do not do but it is not required for many of the functions.

Rodney
[Nexus 7 (2013) General] styleism:
Hi. First of all, thanks to binky and everyone for this project and to droidshadow for this massive, positively odyssean tutorial, I found it really helpful.

I'm having the exact same problem, I can't check the status of the driver because neither lspci or lsusb is installed. I think maybe if there isn't even an interface, it suggests that the internal WiFi cards firmware hasn't been loaded? dmesg | grep firmware gives no output, but I'm not sure if you'd expect it to inside a chroot. Perhaps this is a problem with the more recent roms? I guess my next step will be to try again with an older version of Bruce's ROM.

As is probably obvious :P I'm pretty out of my depth here and I'd be really grateful if anyone knows what needs doing.

Not sure if its relevant but I used cm-11-20140624-bruce2728-linaro-flo.zip rom, ElmentalX-Kali-n7-26-origconfig.zip kernel and update-kalipwn-v0.5-2.zip and I am trying to install on nexus7 2013 16gb

Thanks :)
[Nexus 7 (2013) General] fernandoavc:
My internal Wi-Fi stopped to work after I installed the kernel anyone knows why?

I own a N7 2013 LTE (deb) and I am trying the Elemental 2.6 kernel and also the mkernela67 and both the wireless doesn't turn on...

I'm thinking of start from the scratch cause nothing is working here ( even without the internal Wi-Fi I've tried to move on but everything forces close... Maybe because the files mentioned in this thread doesn't exists anymore due to updates)

Does anyone knows what an available version that is currently working of cm11 and kernel for the DEB N7 2013 release that would like to share?
[Nexus 7 (2013) General] fernandoavc:
I know this thread is almost dead but the issue with the internal WiFi that stops working is totally related to the custom kernel being used... Can anyone tell me which custom kernel is appropriated for the nexus 7 2013 DEB release? Just say the name and version please I am begging.
[Nexus 7 (2013) General] styleism:
I managed to solve my problems with the internal wifi by uninstalling the rom and kernel using multirom manager and following the guide again using an older version of Bruce's rom (20140520), I'm not sure which is the latest working rom but this one worked for me.

Out of interest, can anyone explain why vanilla cyanogenmod wouldn't be suitable for this?
[Nexus 7 (2013) General] fernandoavc:
So you're saying that I should try it without multirom?

Do you remember which specific kernel have you pick?
[Nexus 7 (2013) General] styleism:
No mate, I am still using multirom, I am using the same kernel; (ElmentalX-Kali-n7-26-origconfig.zip), only thing I did was roll back to an older version of the rom linked in the tutorial (20140520). I'm not quite sure why this made the difference but it seems to have worked.

Good luck with it
[Nexus 7 (2013) General] fernandoavc:
I'd finally made it work and there are some things the op should add in his main thread such as some information for DEB owners.

I'll point the things I've done in a simple manner considering that the details from droidshadow are still very necessary.

Here is what I've done:

1-) installed the bruce2728 DEB release from 20140521 ( http://www.androidfilehost.com/?fid=23487008491966017)

2-) installed most recent pgapps and SuperSU

3-) Cleared cache and dalvik

4-) booted up just to be sure the WiFi and everything else was working.

5-) installed the kalipwn v5-1 ( for some reason the 5-2 gave me force closes on every Kali app)

6-) booted up again and at this time what I've saw in zeta forum that is: to *RUN FIRSTLY THE ROOTSHELL APP* (probably because it generate the ssh cert and other important stuff that must be created even before the Config Kali app)

7-) installed the ElementalX-Kali-n7-26-origconfig kernel that is on the op.

That worked for me... I hope it does work for the ones who need.

Good luck
[Nexus 7 (2013) General] Cubuss:
Airodump-ng is not wokring for me for some reason :/

if i typ iwconfig i can see the adapter,

If i typ airomon-ng i can see the adapter

Also i can see the adapter in the wifite menu,

Im using the AWUS036NH (Ralink RT2870/3070)

If i select the adapter in the wifite menu i get:

[!] ERROR!

[!] wifite is unable to generate airodump-ng output files

[!] you may want to dissconect/recconect your wifi device

when i try to airodump manualy or i try ifconfig wlan1 up i get:

SIOCSIFFLAGS:No such file or directory

Does annyone knows how to fix this?
[Nexus 7 (2013) General] fernandoavc:
As you didn't mention I think it's worth to ask: are you using a powered hub to connect it to the nexus 7?

I have this issue sometimes with my tp link USB adapter then I have to unplug and plug again to work... I guess this might be related to wakelock in the kernel that turns the adapters off from time to time or when u lock up the n7...
[Nexus 7 (2013) General] Cubuss:
Yes im using a powered usb hub,

I already tried to reconnect the device but with no luck

The light is on on my adapter but it isnt blinking as it should be.
[Nexus 7 (2013) General] fernandoavc:
And even reconnecting and trying again nothing happens?
[Nexus 7 (2013) General] Cubuss:
Yup with no luck,
[Nexus 7 (2013) General] Cubuss:
No one?
[Nexus 7 (2013) General] fernandoavc:
Man I have to tell you that I have no idea but if I was you I would do some things like:

1) check in a computer if the USB adapter is working fine

2) get another kernel with rtl8727 support

I have this adapter also but I prefer to use the tplink one due to the fact that it doesn't need external power... And I don't have a mini USB y cable to plug it in .. I will check that and maybe I can test to tell you but the ideal is droidshadow who sent a screen shot of his adapter working to tell u how he did..
[Nexus 7 (2013) General] Cubuss:
I have ordered the tl adapter now to see how that goes.

The alfa adapter works fine on the pc so

I think it is the usb, i got an otg usb hub with power supply but i think it confuses the nexus.

Does the tl adapter have anny good range?
[Nexus 7 (2013) General] fernandoavc:
I can't say pretty good but much better than the internal for sure what is somehow frustrating cause once I got something cracked I can't connect with the internal one due the range... Taking the opportunity to mention that... Do you (or anyone who is reading) know a way to turn the otg USB adapter as the main one ( for use in dsploit for example)?
[Nexus 7 (2013) General] Cubuss:
I dont think that is possible.

Cause you will need to specific android written drivers to get it to work

You can try this:

https://forums.kali.org/archive/index.php/t-18269.html
[Nexus 7 (2013) General] fernandoavc:
Seems very promising! I will try this out... Have you seem the dsploit app? This can do somethings with the Wi-Fi in monitor mode but as I wasn't able to turn my internal into promiscuous mode I will try with the USB adapter instead but this app only sees the internal Wi-Fi...

Back to your issue just occurred to me right now the following: I was trying to get my internal Wi-Fi to work properly with kalipwn then for some reason I wasn't being able... I figured out after a lot of tries that I wasn't correctly flashing the kernel and also discovery that as my n7 is the DEB one ( most of the guys in here have the FLO one) I had to have an specific custom ROM version (in my case I'm with the Bruce cm linaro from 20140521) ... Then my question to you is: are you using multirom? If yes, have you tried different Roms such as Omni?
[Nexus 7 (2013) General] Cubuss:
Dsploit does not require monitor mode,

Its an app you can use to perform man in the middle attacks when you gain access to the network.

You just need to find away to get the drivers to work and make the wifi adapter your main one.

About my issue,

Yes i use multirom and i used the rom suggested in this guide

I might try an different rom maybe that will fix my issue thanks for the suggestion
[Nexus 7 (2013) General] fernandoavc:
Lol I did it so many times that I really think it worth a try!

About the dsploit I know it doesn't need monitor mode but it's so friendly that will be nice if it allows you to choose which Wi-Fi adapter to use, you know?

I suggest you to try the omnirom... It's working nicely with my nexus 5 and probably works with n7... Which is yours? Deb or FLO?
[Nexus 7 (2013) General] Cubuss:
Flo is wifi only right?

I'm on flow im gonna delete the ROM and kernel and try a different ROM

Can you link me to the omnirom you used?
[Nexus 7 (2013) General] fernandoavc:
Yep FLO is the Wi-Fi only... I've used in both n5 and n7 the last builds but I kept in n7 just the Bruce Cyanogem mod version which is specific for DEB...

For my n5 I've used the omni-4.4.4-20140730-hammerhead-NIGHTLY version with the kernel from Franco with support for the USB adapters.
[Nexus 7 (2013) General] McGiver93:
Hi there, I have the nexus 7 (2012) Grouper and I've installed succesfully the kali pwn pad utilities.

Now I would try to use the wireless adapter ALFA Awus036H

I used a normal OTG Cable (the one that you use for read usb sticks) and attached then to it a USB Y Cable (2x male USB and 1 Mini USB male for the wireless adapter)

Then I launched a terminal window and typed the following commands

su

bootkali

lsusb

and I can see the wireless adapter RTL8187

then I typed "ifconfig wlan1 up" Tried some tools like wifite and it seems to work, I choose Wlan1 and it show me the wireless networks around me but how can I be sure I'm using the external wireless adapter and not the built in?

and why is it working without extra usb power when other people say it's needed?

Sry for my bad english.
[Nexus 7 (2013) General] fernandoavc:
If Wifite is seeing it will appear as wlan1 or something with the awus360 rtl8727 name pretty clear and the internal WiFi inst prepared for monitor mode ( only if you installed the bcmon.apk then the internal will act as monitor aswell)
[Nexus 7 (2013) General] McGiver93:
Well that's nice because I don't need to use an extra battery to power the alfa adapter, but really my doubt was, Am I the only one who has the alfa that works witouth giving extra power to it?

With another command I used to get the led blinking too so I guess it's working 100%, but when scanning in monitor mode the led remain off.

I've also tried to attach the other usb to the pc to give extra power but nothing different happens.
[Nexus 7 (2013) General] fernandoavc:
This is weird I own a n7 2013 deb and the Alfa doesn't work... If I plug it on my n7 I have only the info coming from a lsusb but nothing on iwconfig... Maybe it's something related to your custom kernel...
[Nexus 7 (2013) General] McGiver93:
in iwconfig under wlan1 it say

IEEE 802.11bg ESSID:off/any

Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm

Retry Long limit:7 RTS thr:off Fragment thr:off

Encryption key:off

Power Management:on

but theorically if you can see it under lsusb shouldn't be working?

have you tried to ifconfig wlan1 up?

also how can I be 100% sure is it working? because I'm very astonished that's working with only nexus 7 power.
[Nexus 7 (2013) General] fernandoavc:
Yep I'd tried the ifup but wlan1 was never found (when I was trying the alfa)... An easy test would be: execute wifite if it start to search for Wi-Fi networks is a signal of perfection functioning to me [emoji12]
[Nexus 7 (2013) General] McGiver93:
yes it does turn the wlan1 to mon0 and start for searching networks.. checked also with airodump-ng and it's working fine, need to check if with the laptop with kali linux I get more networks or not, I mean if the range of the alfa signal it's the same.

However I think then it's because of the modified kernel, I'm using this kernel

Android 4.4 Based off metallice kernel a67

but also with this one is working too but didn't checked if the nexus is recharging the battery when I give the extra power.

Android 4.4 Based off Kang-aroo1.2. Supports y-cable charging
[Nexus 7 (2013) General] McGiver93:
Is there a way to use the kali pwn pad via vnc? I mean having the kali linux GUI?

Also if I would add my own scripts where do I put them?
[Nexus 7 (2013) General] fernandoavc:
Sure I suppose you are using that package kalipwn 5-1 or 5-2 right?

You can execute the script called Config Kali and there they set a menu selection script that you can start a vnc instance over the xfce x11 interface within Kali chroot... Very easy...
[Nexus 7 (2013) General] McGiver93:
Wow, I tried going in config kali but I don't understand what do I need to put in androidVNC :crying:

Can you explain me better?
[Nexus 7 (2013) General] Cubuss:
Start config kali

Press the number that says start vnc server

then go to androidvnc put in the pasword and change 5600 to 5601
[Nexus 7 (2013) General] McGiver93:
Ok but what password? :D and what id?
[Nexus 7 (2013) General] fernandoavc:
Lol there's no Id but the password you have to change it first ( option 7 I guess on the menu of Config Kali)
[Nexus 7 (2013) General] McGiver93:
Thanks I've started it :D
[Nexus 7 (2013) General] marsaltito:
Is it any kernel for 4.4.3 or 4.4.4 rom's ?

I instaled it on one of my nexus 7 and didnt use it last 5-6 mnth , just updated and wifi and BT broken !? if i must go thru 40 pages of topic its ok . :)
[Nexus 7 (2013) General] fernandoavc:
Which nexus 7 u have?
[Nexus 7 (2013) General] marsaltito:
Nexus 7 2013 flo (wifi)
[Nexus 7 (2013) General] fernandoavc:
I suggest you to go with the recommendation of the op using the Bruce2728 ROM since I have a DEB 2013 nexus 7 and I had similar issues with Wi-Fi by trying other ROMs such Omni or Cyanogen (not the bruce2728).

The kernel might be the elemental x also suggested on the op.. At least it worked for me...
[Nexus 7 (2013) General] BitNotFound:
Hey guys! I just wanted to let you know, my Kali flashing tool here does have support for all of the Flo, Deb, Grouper, Tilapia, and Hammerhead! It'll download all the files, flash them all, and get everything set up so you can get pentesting! Let me know what you guys think!
[Nexus 7 (2013) General] Chief Crazy Horse:
love the tutorial, but...........

i love this thread!! this tutorial is awesome, very educational. however i cant seem to find the any link or instructions on How to flash Kali Pwn Pad on your N7 2012 ????????

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

STEP 3: Download the neccessary files for your Nexus 7 2013 model FLO Tablet.

Now i have tested this specific version of CM 11 for my Nexus 7 32GB 2013 model FLO (wifi only) tablet. This hacked up version of Cyanogenmod 11 is a bit different than the nightlies and is the only version of cyanogenmod that i found that could work with the kernel for Kali Pwn Pad.

If you have a N7 2012 then you can use SmoothRom v5.2 for your 2012. I will write up another tutorial for the N7 2012 tablets but for now this is for the people with the N7 2013 2nd edition tablets.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

When will the tutorial for the 2012 model be coming out? did i miss it?? where is teh link?
[Nexus 7 (2013) General] fernandoavc:
Droidshadow is a little away from this thread lately so I suggest you to try new stuffs by visiting this one that the op is much more present: http://xdaforums.com/showthread.php?t=2751025

Turn your Nexus Device Into a Kali PwnPad!

There you will be able to find more answers to your specific issues I guess.
[Nexus 7 (2013) General] torjohron:
Does this work on n7 2013 LTE(deb)?
[Nexus 7 (2013) General] fernandoavc:
Yep my case.... I've posted some specific instructions maybe one page earlier than this one... Check it out.

EDIT: here it is: http://xdaforums.com/showthread.php?p=54596752
[Nexus 7 (2013) General] boom1212go:
unbelieveable! it looks so cool!!!
[Nexus 7 (2013) General] unknowninator:
Kindle Fire HD7

Hi,

I have successfully done the Nexus 7 2013 installation and used all the tools and its absolutely amazing.

however, I am wondering if anyone has tried doing something equally crazy, like trying something similar on a Kindle Fire HD 7' previous generation??

Happy to work on it together if someone has any ideas how to go about it.

My first guess was to work backwards from the current Pwn Pad image. But looking for ideas and help....
[Nexus 7 (2013) General] fernandoavc:
Sounds totally unlikely to me... Nexus 7 is known as a Dev/Savvy/geek audience... Kindle fire in my opinion is the opposite, so the supporters will be quite a few... Like you and yourself only lol

But hey, you might try another thread that the premises is that any android gadget might become a pen testing Kali tool... Let me find the link for you

EDIT: sorry seems like that only nexus devices at the moment but as the op says he have plans for more devices so maybe you can use yours as beta tester: http://xdaforums.com/showthread.php?t=2751025

Turn your Nexus Device Into a Kali PwnPad!
[Nexus 7 (2013) General] fernandoavc:
Have anyone succeeded into connect through the USB adapter to a wireless network using command line? (Example: iwlist wlan1 scan)

No matter what I try it reboots either my N5 as my N7... Have any of you tried?
[Nexus 7 (2013) General] aurazero:
I've tried - no luck. It reboots :(
[Nexus 7 (2013) General] fernandoavc:
There is a script (wpasetup.sh) that should be used for that but for some reason it find nothing... If I was more savvy with the scripting I probably would check for some error in the way it's turning to the right wlan# there because no matter if you have your USB adapter plugged or not it says you do.... Try this out and let me know please...

Another thing that I was thinking of is to install the network-manager GUI over the xfce4 but for some reason it won't find any Wi-Fi device, even if I issue the ifconfig wlan1 up...

Does anyone have an idea or knows a GUI interface that can be of use in this scenario?
[Nexus 7 (2013) General] aurazero:
Like I've said earlier:

I have a problem - for some reason when I launch WPA setup my Nexus reboots.

If I restart dbus and wicd services manualy and then launch wicd-curses - it reboots when I begin the scan for networks.

Same thing with wavemon when it begins the scan.

If I use internal wlan0 in wavemon - all works well - I'm able to see available networks.
[Nexus 7 (2013) General] fernandoavc:
Sorry I though you were saying about the command line to connect over WiFi networks... The commands like "iwlist scan wlan1" reboots both my nexus (7 e 5 with different kernels and ROM's)...

Have you seen this link: http://w11.zetaboards.com/Pwnie_Express/topic/9240904/1/#new ?

They suggested an interesting way to trick the android Wi-Fi manager but I couldn't make it work either.... My n7 still hanging.. Can you try that and tell me the results?
[Nexus 7 (2013) General] aurazero:
I used this method and it worked!

But if I just do

service dbus restart

service wicd restart

N7 reboots.

Anyway now I can use tp-link to connect to AP! Thanks!
[Nexus 7 (2013) General] fernandoavc:
Yep mine still rebooting after the "service wicd restart" command...

Hey can you tell me which nexus you have, the kernel and ROM specific version you are using?

Makes no sense it got to be a combination of versions...
[Nexus 7 (2013) General] aurazero:
Nexus 7 LTE

kernel 3.4.0-g9d0babd-dirtyvx@vx-virtual-machine #9

rom 11-20140512-bruce2728-linaro-deb

have you tried stopping both services, connecting tplink, and then start both services, and then turning on wifi?
[Nexus 7 (2013) General] fernandoavc:
Dude... you've got the same configuration as I do...

And yes I've tried every possible combination even restarting instead of start and the problem happen in the second I issue the "service wicd start (or restart)" ... The tablet froze and bang.. Reboots....

Do you remind change something on the kernel graphical configuration interface of ElementalX ( like add the OTG charge mode - disabling the self powered devices)?

I'm thinking about to start from the scratch all over again... ?

EDIT: I've started from scratch but no dice... I've noticed a slight difference between our setup cause I'm using version 20140521 and you are using 20140512 so I've give it a try and installed on a version 20140512 but the same issue occurred ?
[Nexus 7 (2013) General] aurazero:
No I don't recall changing something in kernel. Try enable/disable variation for OTG charge mode. Maybe you want to reinstall dbus and wicd.
[Nexus 7 (2013) General] Cubuss:
You need drivers if you wanna use wicd

Are you trying to use the internal wifi for packet injection?

Try this: http://bcmon.blogspot.nl/2013/07/monitor-mode-reloaded_14.html
[Nexus 7 (2013) General] fernandoavc:
Hey sorry I've got it working but in a slightly different way... I've been talking with an user from pwnie express forum (BeNe) who told me his ROM version what I believe has made the difference.

EDIT: sorry forgot to mention the ROM: 4.4.2 Omnirom 20140209-deb-HOMEMADE (not the nightlies)

The way I've made it work was to issue that same commands ( stop the dbus and wicd services then plug in the USB adapter then start dbus and restart wicd) but I still got an immediate reboot after that... However when it back from the boot if I try the wifite script it become the USB as wlan0 so the android network manager also think that wlan0 is the main.... It's not the ideal way but it worked...

Hey Cubuss my main objective was to use an external antenna plugged in the USB to boost the range and also to use some awesome tools like fing ( an free app) or dsploit... Anyway , related to what you've sent I'd tried some time ago to install the bcmon.apk but at that moment only the 2012 Wi-Fi nexus 7 was supported.... Do they now supports the 2013 nexus 7?
[Nexus 7 (2013) General] Cubuss:


What you can do us just use the erternal wifi card to crack the network

then connect with the internal wifi to connect to the network and use fing and etc.
[Nexus 7 (2013) General] fernandoavc:
Yep but what it finds with the external is not reachable from the internal but even making it finally work it didn't improve as much as I was hoping... Anyway it worth as learning!!!! Thanks anyway!!!