yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) General] makers_mark:
I'm sorry, I was a little misleading. My internal rom never disappeared nor did I overwrite it. Just when I got to the above part, there was no internal rom listed under the rom list in the recovery, just the cm-bruce rom. At first I figured I had overwritten it, and I think that is what happened to someone earlier in this thread.

I just reread everything, and the (one) guy restored a backup accidentally over his internal rom. Sooo, nvm on that:o

The CM Bruce rom still is the only one showing up in recovery in advanced/multirom/list roms. But I figure that is normal. In my multirom widget my internal rom has no name either, it is just a blank space. Still select-able and all. It's all good!
[Nexus 7 (2013) General] p4rot:
Si i guess thats where all my problems to make that work comes from.

I don't know how to connect via ssh in chroot, all that part is not clear for me, do I need to use androivnc for that and if yes what settings should I input there , because I did a couple of attempt without success.

Thanks again
[Nexus 7 (2013) General] Pandae:
Wonderful writeup, appreciate it!

As a slight nickpick, in a few places you mention 1V, 2V, when I think you meant A as in amps. :D But it was no problem to know what you meant. I haven't tried a setup like yours, but it's great to know it can be done.
[Nexus 7 (2013) General] droidshadow:
Do you have a Nexus 7 2012?...

Ya you are 100% right on that I meant to say 1A or 2A NOT 1V/2V. Thank you so much for pointing that out i will fix it right now on that post!

Some of you have sent me PM's about installing Kali PwnPad on your Nexus 7 2012. The process is pretty much the same thing except that you are going to need a few different files. You are going to need a different kernel and you are going to need the Kali PwnPad image for the Nexus 7 2012. Both of those you can get from my links in my tutorial and download them from the zetaboards forum.

The big thing that you are going to need in order to get Kali PwnPad on your Nexus 7 2012 is a different ROM setup. Now the Bruce2728 CM11 odexed ROM is for the Nexus 7 2013 Model FLO not for the Nexus 7 2012. Another member on the zetaboards forum has written a quick tutorial on how to flash Kali PwnPad on the Nexus 7 2012.

Here is the link for that quick tutorial -> http://w11.zetaboards.com/Pwnie_Express/topic/9605021/2/#new

Now that write up does not go into as much detail on the installation as I do but it is a very good guide to get you started. I would recommend that you use both my tutorial and that link above as a guide on which ROM to use for your Nexus 7 2012. In that guide he goes over which ROMS have been confirmed to work for the N7 2012. So if you have a Nexus 7 2012 give it a look!

I hope this has been helpful brothers and i am still waiting for some pictures! If you have Kali PwnPad setup show us some love here and upload some pictures of your setup!

-droidshadow
[Nexus 7 (2013) General] droidshadow:
jonathanxx1:

when you click on the Kali Config app it will automatically log you in to Kali Linux. When you click on the app you are automatically logged in to Kali Linux through ssh and you are automatically put into a chroot environment.

VNC is a bit different. You use VNC to connect to Kali Linux in a X-Windows system environment. When you setup VNC by changing the VNC password (remember it requires an 8 character password no more no less) it allows you to connect to Kali Linux in a gui (graphical user interface) environment. The X-Windows system that Kali Linux comes preconfigured with is XFCE4. XFCE4 is a light but still powerful X-Windows system. If you wanted to use could upgrade to something like GNOME but for you i would recommend staying with XFCE4. There has been one user on another forum that upgraded to a newer version of XFCE4 and if you want i can show you how to do that.

If you want to start a VNC server you can use the menu options in the configkali.sh (shell script) i believe it is option 2 or 3 and it will start the vnc server for you. Pay attention to the port number it says VNC is running on. You may see something like ::1 VNC running on 1 which means that vnc is running on port 5091 pay attention to the 1 at the end, again that is 590(1)

If you want to double check what port VNC is running on run the command -> "netstat -ntl" and look for a port that start with 590

Then start up androidVNC and then put in this information:

VNC INFO:

username = root

password = your 8 character password

address = localhost

port number = 590* could be 5900 or 5901 or 5902 or 5903 etc etc etc (use netstat -ntl to verify your port number)

change the color to 4bbp (24 bit color)

Now if you want to start the VNC server manually to fix the size do this:

tightvncserver -geometry 800x600 -depth 24

that will open your VNC server at 800x600 with a good 24 bit color setup. Then you can use the bottom buttons (+) and (-) to adjust your screen size. + is for a bigger screen and - is for a smaller screen.

In order to run a shell script you have to first be logged into Kali Linux which you can do just by running any of the apps wifite/evilap/metasploit/config kali

I hope this has been helpful and if you have any other questions please let me know...

-droidshadow
[Nexus 7 (2013) General] droidshadow:
Hey brother!

Welcome back! =)

Ya keep us updated with how that USB hub is working and take some pictures of your setup i really want to check it out!

Keep us posted...

-droidshadow
[Nexus 7 (2013) General] droidshadow:
So when you start up your tablet and multirom starts up you don't see the bruce odexed CM11 rom in your list? You know how multirom starts to count down from 4...

You dont see any other ROM listed other than "internal"?...

If you don't then that has to be an installation issue, maybe you forgot to add the ROM during the setup. That is a bit weird and I would like to help you fix it. If you can please take some pictures of the list of mounts that MultiROM is showing and anything else you think might help such as the when you are in "list roms" of your TWRP recovery manager.

I am glad it is still working for you but I would like to help you out with this...

As for the widget not showing your internal ROM that just sounds like a widget issue not necessarily anything you did wrong.

Get back to me on this please.

-droidshadow
[Nexus 7 (2013) General] makers_mark:
No all that is normal. I guess under advanced/multirom/rom list, it will just show your secondary roms. Here is what mine shows.

Edit: I found out how to make a name for my internal rom that shows up on the widget and at boot during the countdown.
[Nexus 7 (2013) General] p4rot:
I don't think that I'm chroot in Kali when I open confog Kali, I attached a photo,
[Nexus 7 (2013) General] mdamaged:
I know what this is, it happened to me, I had to make more room on my device, then I had to reflash kalipwn, then reflash SuperSU, in that order. The making more room part may or may not apply to you, but it did for me, since just reflashing kali and supersu alone did not work for me.
[Nexus 7 (2013) General] p4rot:
So your saying that by making more space on my device it will be fine?

Because at the moment I have about 550mb of free space, I have the Kali ROM and my internal ROM, maybe I should remove the internal one, what's your setup?

And if I make more space do I need to wipe/delete my current Kali rom and or just keep the Kali ROM I have now and just flash the Kali zip and super su on top of it?
[Nexus 7 (2013) General] mdamaged:
I unzipped the kali file on my PC and looked to see how large it was uncompressed, and that's how I came to the conclusion there was not enough room.

I have the stock rom as my primary rom, and the kali setup as secondary, I just removed many of my games from my primary rom to get all the room I could, I managed to free up about 4 gigs...I already had the (broken like yours) kali setup and had to free up an additional 4 gigs for the kali to flash properly, then had to reflash SuperSU last, then I still had some missing stuff, BUT enough of the install had made it so doing an updateall and update scripts fixed everything.

After all that, I put back some of the games on my main rom, but have only about 2.5 gigs left, so this is why I bought the USB hub and plan to just install kali to an external USB stick (as you know, multirom supports booting from USB), then I'll just keep my stock rom on the device, so I have room on it for other ROMs I wanna try, or apps/games I want.
[Nexus 7 (2013) General] p4rot:
I think you nailed it , because both times I flashed the Kali zip it was saying that it was shrinking the file because it was too big , now I will try to free up 4 gig, redo the install and report back if it was successful.
[Nexus 7 (2013) General] p4rot:
It's currently flashing . I free up 5 gig so I had 9 gig free before redownloading the Kali zip.

But I still got the " warning modifying the real zip. It is too big..."

Is that normal?
[Nexus 7 (2013) General] mdamaged:
I'm pretty sure it is.
[Nexus 7 (2013) General] p4rot:
Finally!!!yess!! Thanks mister.
[Nexus 7 (2013) General] mdamaged:
Make sure you do an updateall and update scripts.
[Nexus 7 (2013) General] p4rot:
I started by making new ssh key but now it ask me in which file to save the key, where should I save it?

And about the update all and update script , how to you write it, I mean the proper syntax?
[Nexus 7 (2013) General] mdamaged:
Just hit enter when it asks where to store the keys, it will use the default /root/.ssh/

Leave passphrase empty.

As for updating, run config kali, the updates are menu items [2] and [3]. I did update everything first, then did update scripts second.
[Nexus 7 (2013) General] f10w3r5:
driver

What driveR should the tplink TL-WN722N be using? I assumed it'd use the ath9k_htc but its using WCNSS_wlan and I can't get modprobe to work...can't seem to get anything into monitor mode using wcnsswlan.
[Nexus 7 (2013) General] droidshadow:
Ya from your picture you did not have Kali PwnPad flashed correctly, sorry brother. I think mdamagedis right and this is a free space issue. If you really want kali pwnpad on your tablet then delete everything except the stock rom. Transfer any big files over to a storage drive or to another computer.

You need at least 4-5GB of free space to flash Kali Pwn Pad. I should have made a note of that in my tutorial, sorry!

Let me know how it works when you free up some space. Oh, download "clean master" from the Google Play Store and it will help you erase a lot of crap and unneeded files on your device.

Oh i just saw your latest picture, you did it! YOU HAVE KALI PWNPAD ON YOUR NEXUS 7!!! CONGRATULATIONS!

-droidshadow
[Nexus 7 (2013) General] droidshadow:
The TP-LINK driver should be automatically loaded for you. Modprobe won't work, but you don't need it to load the kernel driver it is already loaded upon boot.

Here is a tip...

Don't plug in your OTG cable until Kali PwnPad is fully booted up. Then plug in your OTG cable, you should have an OTG cable with a Y-SPLIT and you must be plugged into power, That means your tablet should be getting power through your OTG cable and your tablet should be charging.

After you plugged in your TP-LINK (after kali boots up) then you need to chroot in the Kali PwnPad Linux environment. My favorite way to do this is to just run the app "config kali" and it will automatically put you into Kali Linux. Then just exit the menu (option 0) and you will have a terminal prompt.

At the terminal run these commands:

first command: iwconfig

after you run iwconfig do you see a wlan1 interface?

If you don't see a wlan1 interface try unplugging your OTG cable and replug it back in. I can't stress enough that you need to be getting power to your device otherwise you won't have enough power to use your TP-LINK.

If you happen to see wlan1 you can either just run WIFITE and use wlan1 through wifite or you can do this command:

command: "ifconfig wlan1 up" and then if you want to put wlan1 into monitor mode manually you can do "airmon-ng start wlan1" and that command will create a new wireless interface "mon0" which is in monitor mode. Mon0 will be used by aircrack-ng and wifite.

I hope this has helped you out...

-droidshadow
[Nexus 7 (2013) General] droidshadow:
Mdamaged...thank you!

Mdamaged,

I wanted to take this time and single you and say thank you for all of your assistance on this thread. You give great advice and people here owe you a lot because you have really given your time to help others with this project. Thank you brother...

VIVA LA KALI PWNPAD!

-droidshadow
[Nexus 7 (2013) General] droidshadow:
I was going to say i think it was probably a configuration mistake...

If it was not a configuration mistake then I was going to suggest downgrading to the last version of TWRP and MULTIROM before the update and that might solve your problem...

How did you go about fixing that error?

Let us know, it will help others out that are having the same problem I can tell you that much!

Please get back to us on how you fixed the problem with the widget and how you added your internal rom to the multirom -> list ROMS

Glad you got it working right...

-droidshadow
[Nexus 7 (2013) General] p4rot:
Yeah thanks droidshadow and mdamaged, you guys rock.

Kali on my nexus 7 is pretty much what I was dreaming of, I have it on my computer and really like to play with that.

There's a huge amount of things to n learn in order to be good at pentesting/hacking but the if you want to learn Google is full of good advice.

---------- Post added at 06:24 AM ---------- Previous post was at 05:40 AM ----------

I tried the desktop version with vnc , it load up but n in the settings I'm not able to change the mouse to be touch pad , the other options are there but I can't select them.

What should I do?

Also since the official omni nightlies works with kali pawn do you think that the kali system would survive updates of omni?
[Nexus 7 (2013) General] p4rot:
I noticed that sqlmap is present in the desktop version but not in the android ui of Kali, is there a way to install it?

By that I mean when I list all the apps on the android ui side of Kali I see metasploit and all that but not sqlmap.
[Nexus 7 (2013) General] b1ue:
[MENTION=5048020]jonathanxx1[/MENTION] -you will have to reflash kali after every update on omnirom nightlies. The apps will remain but the necessary scripts are removed from the system.

[MENTION=5032014]droidshadow[/MENTION] - Also i wanted to confirm that when i flash kali on omnirom i do not get the ramdisk error. I did however fail to mention that i do not use multirom and that i have flashed kali on my primary rom. Perhaps multirom is what is causing the ramdisk error.
[Nexus 7 (2013) General] cLeAv0:
will TP-LINK TL-WN727N work? Can't seem to find any wn722n variant on my country.
[Nexus 7 (2013) General] mdamaged:
Update. Well I moved the PwnPad ROM to a USB stick, and it boots fine, a bit slower than internal, but that's no surprise, did not have enough time to put it through its paces yet, I ended up doing a TWRP backup of the install I had, then using the Add ROM/From Backup functionality of MultiROM...I originally tried to do it the long way, but MultiROM cannot mount 2 USB sticks at once (one mounted as the source, one as the target) within the MultiROM/Add Rom/USB-OTG...at least it would not work for me, I could have wiped the secondary ROM from my device and used that as the source, but I decided to try the restore from backup first, which worked great...but took a loooong time.

Am busy today, will get to testing it fully and posting pics when i get the chance.

And, thanks droidshadow for the kind words.
[Nexus 7 (2013) General] droidshadow:
mdmaged, great job!

mdamaged!

This is great news brother! I will let Binky Bear know of your progress and how you got Kali PwnPad to boot from a usb stick. Thank you so much for lettings us know. Do you think you could write up a quick tutorial on how you did it so it could help others out there? I think a lot of people will be interested in this especially those with the 16GB Nexus 7. I myself want to put Kali PwnPad on my usb drive so that I can take it with me anywhere as a backup...

Great job brother!

So i apologize for not being around that much this week, school just started back up for me. I have also been very busy playing with my new Samsung Galaxy Gear watch! This thing is so awsome! Last night I was able to root the watch and install TWRP recovery manager and flash a custom ROM onto the watch which added a bunch of extras such as live wallpaper support, web browser, google play store, etc etc!!

This watch is so freaking cool!

Mdamaged again thank you so much for letting us know and I will bring this to Binky's attention on the zetaboards forum, and if you can please write up a quick tutorial here!

Thanks again everyone,

-droidshadow
[Nexus 7 (2013) General] droidshadow:
study the picture at the bottom of this post...

You should be able to order the TP-LINK TL-WN722N on amazon and they should have international shipping...

If you can not get the TP-LINK TL-WN722N then i would go with this ALFA Alfa AWUS036NHA here is a link to where you can buy it -> http://www.data-alliance.net/servlet/-strse-372/Alfa-AWUS036NH-2000mW-1000mW/Detail

That ALFA has the same chipset as the TP-LINK but it does need a bit more power to be able to get it to work properly so you need to make sure you have your OTG cables setup up properly and you need to have a power bank that puts out at least 2A. Look for my posts about how to setup your OTG cables properly and make sure you look at my pictures for a visual example.

If you want to try another ALFA the AWUS036H with the Realtek RTL8187 chipset works also here is where you can get it -> http://www.data-alliance.net/servlet/-strse-73/Alfa-AWUS036H-1000mW-USB/Detail

That ALFA also needs a bit more power than the TP-LINK to work properly so again make sure that you study my pictures, i will post another picture at the bottom of this post to help you.

I hope this has helped you out brother...

-droidshadow
[Nexus 7 (2013) General] droidshadow:
news update...

***UPDATE***

So i was speaking to Binky a few days ago and he said that he was going to be posting a new kernel in a few days.

The new kernel will be an updated version of ElementalX and it will also be a newer Linux kernel and the big addition is that he is going to be adding Bluetooth support for the Parani-UD100-G03 and for the Ubertooth.

Well just yesterday Binky has sent me his new kernel to test out! I haven't had a chance to try it out yet because of school but I will be flashing it tonight or first thing tomorrow and I will let you all know how it works out. If Bluetooth packet injection works with my Parani-UD100-G03 or if it works with my Ubertooth i will let you all know and write up a quick tutorial on how to get it working so you can have fun with some Bluetooth hacking!

I will keep you all posted...

-droidshadow
[Nexus 7 (2013) General] rulk:
Cool, I finally was able to place an order...

I now have on the way:

TP-LINK TL-WN722N

ALFA AWUS036H

ALFA AWUS036NHA

myCharge Amp 6000 power bank (2 2.1amp usb ports)

I have two standard OTG cables and ordered one each of the power ones with one being standard USB for power and the other a Micro USB for power.

I am curious what hub are you using?

I am a little confused by the description for the hub. What hub are you using droidshadow?

At this point this is the only thing I think lacking in the tutorial is a better description of the Hub you are using.

By looking I am guessing it is a 1 to 4 hub with one of the input wires going to the computer or in this case tablet and the other to an optional power source?

Thanks.. Now I should be able to start hacking away as soon as I get my devices... I bought both types to try them both out. Plus I am guessing I could actually use both in this setup at the same time...

Guessing until I get the hub figured out I can use the powered OTG cables with the powerbank with any one of the WiFi devices.

I have a spare 2.5/5ghz N router available to play with so I can try hacking it. I can also install dd-wrt on it as well if I want to try other stuff too.

Rodney
[Nexus 7 (2013) General] Papa Emeritus:
This is such a dumb question, what is the password? Did I miss the part when I set it up?
[Nexus 7 (2013) General] cobyman7035:
-is this better then that aircracking ?
[Nexus 7 (2013) General] droidshadow:
Rulk, i got my usb hub from hakshop. Just do a google search for hakshop or i think it is hakshop.com Just drop my name "droidshadow" over at hakshop and you will get an amazing discount. My name carries a lot of weight over at the hakshop. Lets see...the usb hub at the hakshop is $5.99 so if you tell them I sent you you will get the usb for $5.99. I am glad that i could help!

Any usb hub should work fine, I would probably try one that doesn't need external power though but if you want to try the one from hakshop you can't beat the price -> $5.99

Have fun brother!

-droidshadow
[Nexus 7 (2013) General] droidshadow:
What password do you need exactly?...
[Nexus 7 (2013) General] rulk:
Thanks! At that price I ordered 3 of them.. never know when they might come in handy.. ;)

Rodney
[Nexus 7 (2013) General] droidshadow:
always support hakshop!

Great Rulk, always support hakshop! I love the work that Hak5 does and the videos that Darren puts out a really interesting and very helpful at the same time. At first I only ordered one usb hub but my second order i ordered two more also that is funny, we think alike when it comes to things like that! YOU SHOULD SEE HOW MANY POWERBANKS I HAVE..... Over (8) =)

I have also ordered many other accessories and products from hakshop such as my Wifi Pineapple which is great for WiFi hacking and security and I have just ordered my ubertooth from hakshop which should be here Monday/Tuesday or Wednesday absolute latest. My Parani-UD100-G03 (usb bluetooth device) is currently working with Binky's new kernel but wifi isn't so there are kinks that still need to be worked out with Binky's new kernel. Binky has sent me a new update so hopefully this new update will fix the usb wifi problem. His new kernel is based off ElementalX again and it is using a much newer kernel -> 3.4.0 i believe.

So very soon we will be able to do some bluetooth hacking + wifi hacking with Kali PwnPad!! I can't wait to report back and let you know how the ubertooth works but I can say that my Parani-UD100-G03 (from Sena) is working at this moment with the testing kernel!

Take care everyone and have fun Rulk...

-droidshadow
[Nexus 7 (2013) General] b1ue:
[MENTION=5032014]droidshadow[/MENTION] - Thanks for the hakshop recommendation. I recently got a USB rubber ducky from them (after I looked at the ubertooth... which will be my next purchase... Just need to save a little extra for that:)) hopefully a pineapple will come sometime afterwards!:p
[Nexus 7 (2013) General] droidshadow:
new kernel now working with bluetooth support!

Hey guys so Binky has been working on a new updated kernel which is based off of ElementalX v2.6 which runs on a kernel version of 3.4.0 i believe. The current kernel that you are using with Kali PwnPad is based off a linux kernel which is still in the 2.6 if i remember correctly. So this new update is going to be very big and very sweet!

Binky has been working hard to get the new ElementalX kernel to work with wifi + monitor mode + bluetooth and he after some frustrating days he has done it!

Now i have only tested this new kernel on my Parani-UD100-G03 and my TP-LINK WN722N but both seem to be working great.

As soon as Binky gives me permission to release his new kernel into the wild I will upload it right away.

So for those of you who can't wait to do some bluetooth hacking, it is on the way!

I will keep you all posted...

-droidshadow
[Nexus 7 (2013) General] OiLuvzMyx2:
Omni works great

Successfully installed kali on newest Omni With the latest kernel (the one with bluetooth) Everything seems to run great. What are the default settings to vnc into kali desktop? kinda want to use the full debian ui and install eclipse/adt