yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] hishamomran:
Okay, so here's what I did, I first flashed the ROM in the OP here..

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

New version:

CM11 Based: https://mega.co.nz/#!zAEVhBTD!hI0JKi...xCM_Y8mxkSIudg

CM11S Based: https://mega.co.nz/#!rIdhwY7A!Qyqf6n...WMwRifZ3deqKF4

****** Working on new version for NON-MultiROM using *****

It wasn't working, was not detecting the USB wlan card (which is an Alfa btw)

After that, I compiled the kernel using the instructions provided and ended up with a KaliROM-10.zip, kernel-kali-10.zip and update-kali-10.zip. Flashed the KaliRom file in my multirom environment, after that flashed the kernel zip to that rom and rebooted, got into the OS and it was still not detecting the Alfa. Got the AK kernel from the creators website, tried to flash that, still can't see the Alfa.

Can anyone explain to me where I'm going wrong or how exactly I can get the phone to read the Alfa card? considering I'm using both a Y-cable and a direct cable between the alfa and the phone.
[ONE Android Development] LordGex:
What driver uses your usb wireless card?
[ONE Android Development] hishamomran:
It's using the Realtek RTL8187L. My phone got messed up last night that I had to rebuild the EFS and fully wipe and reinstall the phone. Now I'm stuck again not knowing which image I need to flash and how to do so, can you please help out?

This is my current config, apart from the multirom TWRP installed and working fine, bootloader unlocked.
[ONE Android Development] b3i5i53ibi:
Could you add program "veil" to this rom?

Would be great!
[ONE Android Development] LordGex:
Use msf, no? :D
[ONE Android Development] b3i5i53ibi:
But metasploit does not have those payload features. Will it work if I download it with git and install it?
[ONE Android Development] LordGex:
I'm not sure. Try it.
[ONE Android Development] b3i5i53ibi:
Ok, tried it and works perfectly :beer:
[ONE Android Development] hishamomran:
I still can't understand why this is working for everyone but not me. Can anyone give me a hand here?
[ONE Android Development] LordGex:
What's your problem?
[ONE Android Development] b3i5i53ibi:
I think his problem is, that he cant get his RTL8187 Card working with kali. But the driver is built in kali, isnt it?
[ONE Android Development] LordGex:
Sorry but i haven't similar device. Maybe driver is old for your device. Or miss some lines in defconfig.
[ONE Android Development] b3i5i53ibi:
Does it help if you install package "firmware-realtek" (via apt) ? Maybe something is blacklisted?
[ONE Android Development] LordGex:
I don't think. Must try use ko module.
[ONE Android Development] legionpr:
Hello friend I still have a doubt i could use the romkali newly compiled in my oneplus without multirom in the internal memory?
[ONE Android Development] noaddress:
Thanks for all the hard work, it really works great.I'm now at a point where I'm considering using it as a daily rom. So I have the following questions:

Is OTA possible to implement and if yes any ETA?

Any ETA on running it off the internal memory without MultiRom?

I know, there were similar questions earlier, but no eta there.
[ONE Android Development] LordGex:
1,5GB Ota? mmmm i think no.

I try without multirom but i have problem during boot, and i don't know why.
[ONE Android Development] noaddress:
Ok, thanks alot. The problem with the file size, I simply never thought about that. But do you plan to deliver updates regularly after there's a new release of cm11s/cm11 or do we have to build them ourselves?

Well, that means I have to use multirom. Does someone here know a possibility to change the boot order of the different Roms? I'd like to be able to select this rom as the one that gets booted when not chosen otherwise, haven't found an option when I was experimenting with it yesterday. EDIT: never mind, just found it in TWRP, now multirom is fine for me

Please, don't think those are things I ask you to do, I just wanted to know if you have planned to do them. And I want to thank you for all the hard work you do here.
[ONE Android Development] Nightylike:
System partition

The problem is that the system partition is 1.3GB and the data partition is 500mb so I think it cannot extract the whole rom. Btw it will say install successful but in the recovery logs its logged that some files could not be extracted due insufficient disk space
[ONE Android Development] LordGex:
I think you found the solution! Thanks a lot!

Now i work on your idea! :D
[ONE Android Development] legionpr:
Hello I have found a way to install the kalirom of internal memory plus one good here left the step worked for me

1 installs the rom cm11s r38

2 compile the kernel of this repo Kernel: https://github.com/l0rdg3x/AK-OnePone

3 compile the kalirom this GitHub repo: https://github.com/l0rdg3x/kali-nethunter

4 create the update of kalirom

update-kali-2.1:https://mega.co.nz/#!yMRk0aaJ!aOvsOU-fW6IwkE2qMWkGMbhFYsI7_4dxCt1wg-vi2p0 --->939.7MB

kernel_kalirom_AK.071_B11.GOLD.OPO.CM11S:https://mega.co.nz/#!iMpDjR5R!H1SCDplGktSURZ5b3p9uyqfQAFEKXGdHKblucHdY8P0

How to install

1 flash the rom rooted Stock 4.4.4 XNPH38R

2 flash your update of kalirom (wait 30min)

3 reboot

4 go to recovery

5 flash your kernelkali (AK-OnePone)

6 reboot

8 And already has the kali rom in the internal memory along with the Stock rom rooted 4.4.4 XNPH38R

the test with the recovery of multirom :)

Thanks you for your great job LordGex and ak by its excellent kernel:good:
[ONE Android Development] LordGex:
Good work, now i'm building KaliROM cm11s and cm11 for Multirom and Non-Multirom using.
[ONE Android Development] legionpr:
Thanks to it by adding the LordGex kalirom the one plus good work friend and also ak:good::D
[ONE Android Development] insestito:
we can use this with GUI?
[ONE Android Development] LordGex:
U mean start VNC server?
[ONE Android Development] LordGex:
I extract kali rootfs in sdcard and i have symlinked it. but i have a new error, in terminal emulator: chroot: /bin/bash function not implemented.

Any idea?
[ONE Android Development] b3i5i53ibi:
I would help you if I had an idea of rom developing, but I dont know it. Where did you learn it?
[ONE Android Development] LordGex:
On internet u find all.
[ONE Android Development] vtec_screamer:
I tried to build this with several diferent ROMs and with some of them I was getting that error. I have no idea why, I simply began using it with another ROM and I love it. ;)
[ONE Android Development] jpalmer:
LordGex,

Awesome work.

I just compiled it, and it's running well on my Oneplus One. I submitted a couple pull requests to offsec, with some minor cleanup (the build-deps script was missing a few packages, and there were some syntax errors in androidmenu.sh, and an unrelate file for the nexus9 that was stopping androidmenu.sh from running.

Check out the development branch from the offsec repo, if you'd like.

I intend to clean up the androidmenu.sh script tomorrow after work, and then over the holiday weekend, try to duplicate this effort against the CM12 nightlies which will hopefully have us in good shape for NetHunter on the OPO when 5.0 is released to us.
[ONE Android Development] LordGex:
Thanks man!
[ONE Android Development] bartlo79:
Hi

If run

sh androidmenu.sh

i got

root@kali:/media/MOBILE/arm-stuff/kali-nethunter# sh androidmenu.sh
androidmenu.sh: 57: androidmenu.sh: source: not found
androidmenu.sh: 58: androidmenu.sh: source: not found
androidmenu.sh: 59: androidmenu.sh: source: not found
androidmenu.sh: 60: androidmenu.sh: source: not found
androidmenu.sh: 61: androidmenu.sh: source: not found
androidmenu.sh: 62: androidmenu.sh: source: not found
androidmenu.sh: 63: androidmenu.sh: source: not found
androidmenu.sh: 64: androidmenu.sh: source: not found
androidmenu.sh: 65: androidmenu.sh: source: not found
androidmenu.sh: 886: androidmenu.sh: Syntax error: "(" unexpected (expecting "}")

I can't build my own zip :/
[ONE Android Development] LordGex:
Type ./androidmenu.sh
[ONE Android Development] bartlo79:
My mistake - i use FAT partition on mobile USB disk

root@kali:/media/MOBILE/arm-stuff/kali-nethunter# ls -l
razem 100
-rw------- 1 bart bart 46153 sty 5 12:25 androidmenu.sh
-rw------- 1 bart bart 1064 sty 5 12:25 build-deps.sh
drwx------ 1 bart bart 4096 sty 5 12:25 devices
drwx------ 1 bart bart 4096 sty 5 12:25 flash
-rw------- 1 bart bart 18027 sty 5 12:25 LICENSE
-rw------- 1 bart bart 1044 sty 5 12:25 LICENSE_CURL.txt
-rw------- 1 bart bart 6999 sty 5 12:25 LICENSE_PHP.txt
drwx------ 1 bart bart 0 sty 5 12:25 menu
drwx------ 1 bart bart 0 sty 5 12:25 patches
drwx------ 1 bart bart 0 sty 5 12:35 PLACE_ROM_HERE
-rw------- 1 bart bart 3006 sty 5 12:25 README.md
drwx------ 1 bart bart 0 sty 5 12:25 rootfs
drwx------ 1 bart bart 4096 sty 5 12:25 utils

thx
[ONE Android Development] gpfransen:
https://www.offensive-security.com/kali-nethunter/nethunter-1-1-released/

NetHunter 1.1 Released

posted on: 01-5-2015

With the opening shots of 2015 fired, we are happy to make some announcements in the NetHunter arena! One of the things that excite us the most about Kali Linux is how our Kali projects always end up being greater than the sum of their parts. This is most evident in our Kali NetHunter Project – the first open source Android based penetration testing platform for Nexus and OnePlus devices. Wait, OnePlus phones? Yes! Our new NetHunter v1.1 release brings with it some great news – and so we begin.

Nexus 4 and OnePlus One Support

nethunter-onePlus

Since our last release, we have been feverishly working on adding support for the new (and old) Nexus devices, as well as the OnePlus One phone (OPO) platform. The OPO phone is a real beauty. With a nice, large screen and some very impressive hardware specs, it comes with a price tag of approximately half of competing Nexus devices. Initially skeptical of this new hardware platform, it has grown to be our favorite device to run Kali Linux NetHunter.
[ONE Android Development] gpfransen:
https://www.facebook.com/groups/1583050108574944/
[ONE Android Development] magic.hand:
[MENTION=5974941]LordGex[/MENTION] I see you and others using CM11S 38 as base for this KaliROM, have you tried the CM11S 44?

Edit:-

Nevermind, i got it all sorted out by using the windows installer provided in the NetHunter official website.
[ONE Android Development] rahulrai:
[MENTION=5974941]LordGex[/MENTION] can u please list steps to install the Kali linux on Oneplus One. I clean wiped and install the Kali but ended up in bootloop on the oneplus logo. Is it required to be installed as a stand alone OS or as dual boot?????????
[ONE Android Development] magic.hand:
It's much simpler if you use the windows installer provided by Offensive Security officially but YOU MUST BACKUP YOUR SDCARD.

Or else, do a clean flash using CM11S rom (latest 05Q), install every zip file you always flash, lastly flash the 900++ Mb size zip (download from NetHunter website). Reboot.

You should be fine after that.

And don't forget to flash necessary related firmware to.
[ONE Android Development] rahulrai:
can u list the zip files u flashed & the steps. i'm on cm12 blisspop so i will revert back to cm11s 05Q but give me the steps u did.
[ONE Android Development] magic.hand:
Here are the steps :-

Preparation

1. Get 05Q zip

2. Get your preferred kitkat GApps

3. Get NetHunter zip from NetHunter page

4. Get CM11S firmware

Installation

1. Clean wipe (I prefer using Advanced Wipe) thru TWRP. Wipe all except sdcard

2. Flash CM11S firmware

3. Flash 05Q

4. Flash GApps

5. Flash Kali NetHunter

6. Reboot

Post Installation

1. Finish your rom initial setup

2. Launch Kali app.

DONE.
[ONE Android Development] neuroleone:
This is awesome! Will try this out with tp-link 722n USB. Anyone know if the drivers are built in?
[ONE Android Development] magic.hand:
Yeap. That adapter is fully functional with Kali. Just get an additional power bank as it might get your phone reboot.
[ONE Android Development] nolsen311:
Anyone try this with the cm12 nightlies yet?
[ONE Android Development] magic.hand:
There shouldn't be any issue installing it on any CM based ROM. What I am afraid is Kali won't survive OTA, means it gets wiped out every time you flash nightlies update. Give it a try and see, could be useful information for us as well.
[ONE Android Development] Donshius:
Would it be possible to install with CM12.1 and MultiROM? I currently have CM12.1 and MultiROM setup but when i tried to install this multirom said that build.prop is missing and it cannot boot.
[ONE Android Development] dbaler:
[MENTION=5974941]LordGex[/MENTION] Are you able to upload a prebuilt version of the CM 12.1 based ROM, I do not have access to a linux desktop.
[ONE Android Development] LordGex:
No i'm sorry.
[ONE Android Development] Istvan_86:
Hi LordGex,

First of all thanks for all your hard work here. I think that I need some help, I´ll try to be concise:

1-I have MultiROM working properly and latest version of SlimROM as main ROM

2-I have a backup of my current ROM

3-Obviously I have unlocked BL + root + MultiROM App etc

4-I have this KK kali zip kali_linux_nethunter_1.21_bacon_kitkat.zip

5-I have this boot img modified_boot_bacon_cm_11.0_XNPH05Q.img

I don´t need if I need something more for bot 4.4 kali linux or what I need for boot CM12 kali linux.

Any help is appreciated, thanks in advance and regards.
[ONE Android Development] LordGex:
Kitkat files are for cm11. For cm12/12.1 you need to compile kalinethunter from source.
[ONE Android Development] Istvan_86:
How can I compile cm12/12.1 and what is better? I´m a bit new compiling and I´m a bit confussed. :eek:

Thanks in advance again.
[ONE Android Development] LordGex:
If you don't know how to build nethunter from source use cm11 version.

1.flash cm11 nightly

2.reboot and configure

3.flash the file that you download from nethunter's website.
[ONE Android Development] Istvan_86:
Really thanks for all your answer, I try the cm11 versio nas you said and post the results here.

I find cm12.1 nightlys here: https://download.cyanogenmod.org/?device=bacon&type=nightly but i don´t find cm11 nightly, anyone knows where can I find it?
[ONE Android Development] :
I have CM 12.1 on my primary and CM11 on my secondary rom. Can I flash the kitkat version of Nethunter on my secondary or does it have to be on the primary only?

If I can flash it on the secondary, could someone tell me the steps please?
[ONE Android Development] Istvan_86:
This is in pages 13 and 14, I´m also having some issues, read my posts in this thread, maybe we can share some knowledge xDD

And as I know is perfectly safe install Kali Linux as secondary ROM. I have a CM11 rom + Kali Linux ready to make a try, I post the results in the next hour. Wish me luck :laugh:
[ONE Android Development] :
Good luck. Waiting for your result. I don't want to put CM11 as primary just for Kali
[ONE Android Development] Istvan_86:
Kali runing smoothly as secondary ROM now.

Thanks all!!!
[ONE Android Development] LordGex:
https://download.cyanogenmod.org/?device=bacon&type=snapshot
[ONE Android Development] :
Could you tell me what you did? As in what files did you flash to your secondary and in what order? And does your primary or secondary ROM required to have a specefic kernel? My primary has AK kernel and secondary has stock CM11s kernel
[ONE Android Development] mankidavu:
I was using Kali successfuly with CM 12.0. Recently I had to upgrade my firmware to cm12.1 latest, and since then Kali stopped working. Stuck on bootlogo. Tried full wipe and installs.

Anyone else facing same issues? (Not only just Kali, omnirom also not booting now.). May be something wrong with TWRP 2.7.x.x + Multirom + CM 12.1 firmware.

Will try downgrading the firmware and re-install.
[ONE Android Development] Setting.Out:
Use TWRP 2.8.6.0 as the newer ones have issues flashing firmware..
[ONE Android Development] mankidavu:
I did try that option. But my doubt is , the latest oneplus cm12.1 firmware is newer than what the kali image has. So we get into bootloop.

I may need to restore back old firmware. It was working well with old CM firmware. Sultan ROM and exodus latest won't allow you to install if you keep old firmware. So it looks like a either latest ROM or Kali choice now.
[ONE Android Development] LordGex:
Kali use CM kernel. Not CAF kernel.
[ONE Android Development] mankidavu:
Tried on CM12.1 official version also.It didn't work yet. I believe it is something with latest CM12.1 firmware. I may have to downgrade it to get Kali booting again. :(
[ONE Android Development] maxed4901:
Wow..this is something i should try.. can some one please give me a link of all the possible tips and tricks for this rom? i would love to give it a try.. felt like my old love nokia n900
[ONE Android Development] GirishSharma:
I downloaded kali_linux_nethunter_2.0.1_bacon_lollipop.zip of 837 MB from https://www.offensive-security.com/kali-linux-nethunter-download/ link. In twrp i wipe delvike, system and data. Flashed the zip, all went ok but when I says reboot system in twrp, it says that there is no OS on the device. Can anyone please tell me what else need to install for my rooted oneplus one device.
[ONE Android Development] GirishSharma:
Any update please.
[ONE Android Development] LordGex:
1. Wipe all

2. Flash CM12.1

3. Flash gapps

4. Reboot and configure

5. Flash kali zip

6. Reboot

PS: kali zip doesn't include Base System(CM12.1)
[ONE Android Development] GirishSharma:
Thanks for reply. I don't know why above steps did not worked for me. When I completed all 5 steps and rebooted the device, it rebooted but it just shows starting apps... message, I mean I sees CM logo and only starting apps... message. I waited around 10 minutes too. I flashed cm-12.1-20150821-NIGHTLY-bacon.zip and pa_gapps-modular-full-5.1-20150315-signed.zip and above kali zip file.

Kindly tell me what else I need to flash/configure.
[ONE Android Development] GirishSharma:
Bump.
[ONE Android Development] LordGex:
You need to build youself NH from https://github.com/offensive-security/kali-nethunter/tree/newinstaller-fj
[ONE Android Development] skyrmion:
Your instructions worked perfectly for me. I used the 10-7 snapshot and most recent delta base gapps. Took about twenty minutes total. Chroot extraction time estimate probably based on a nexus or something. Much faster on the one. Don't have to use zanti anymore!

Kudos!

Mad props, dude.

Thank you Lord...Gex that is.
[ONE Android Development] GirishSharma:
[MENTION=4434548]skyrmion[/MENTION],

Can you please share all the download links for files which you flashed alongwith steps? Are you using oneplus one?
[ONE Android Development] skyrmion:
10-7 snapshot from here:

https://download.cyanogenmod.org/?device=bacon

Gapps from here:

http://xdaforums.com/android/software/app-minimal-gapps-gapps-lp-20150107-1-t2997368

Make sure you wipe system so it gets formatted, and just use base gapps. You are flashing a large file over a working rom so leave some room for fun.
[ONE Android Development] GirishSharma:
Thanks for reply and links. CM link is not showing 10-7 snapshot zip or which file I should download please?

Earlier I have tried below steps:

1. Wipe delvik cache, system, data and cache.

2. Flashed cm-12.1-20150821-NIGHTLY-bacon.zip.

3. pa_gapps-modular-full-5.1-20150315-signed.zip.

4. Booted in the ROM and configured gapps.

5. Flashed kali_linux_nethunter_2.0.1_bacon_lollipop.zip.

6. Device started, showed CM logo and only starting apps... message even after 10 minutes.

I don't know where I am missing and how others are able to run kali nethunter 2.0.1 on lollipop roms.
[ONE Android Development] vacenzo:
Hello gentlemen,

Just one question.

Is OnePlus's WiFi adapter capable of injecting packets?

Thanks!

Update:

Sorry, I should have read the other comments first. It doesn't support monitor mode.
[ONE Android Development] transvin:
I use CM13. If I flash the NetHunter without clearing the data partition, will I be able to use all my apps like nothing changed?
[ONE Android Development] marianobilli:
OPO CM12.1 wlan0 un monitor mode

Somehow it worked for me once but i was not able to reproduce. I would encourage all to keep trying.
[ONE Android Development] Brock yakharai:
when i addmegapackage on kali nethunter it all goes right but after extracting got error and when i open wifite its says that airmon-ng requries progammes iw please tell me the solutions of these two problem
[ONE Android Development] Daniel Prince:
Is it going to work on Marshmallow?

I have Resurrection Remix 6.1 (Marshmallow version).

I am wondering if it will work on my OS or not.
[ONE Android Development] Synged:
https://github.com/offensive-security/kali-nethunter/wiki. The wiki says it is capable of CM13 not sure about RR or this port.
[ONE Android Development] ghpk:
wanted to try Kali on OPO,

can someone please mention what ROM you are able to use it without errors.
[ONE Android Development] Ashwin Kale:
One Question

I'm using XOSP 6.3 Rom on galaxy grandv2 SM-G7102...

Can I use this Kernel on it?

Reply quickly..
[ONE Android Development] as9333:
No u cannot

This is thread is for one plus one ONLY

IF U FLASH U WILL BRICK UR DEVICE
[ONE Android Development] guidoido004:
this is not just for Bacon, but also to older android versions then the current ones, isnt that right?
[ONE Android Development] areyouanand:
Haing this error, no matter what I do, now I'm on latest cm13 nightly, still this error not going.
[ONE Android Development] Setting.Out:
Visit their website and see if they offer support for your device/Android version.. This thread is Bacon only, and isn't intended for use on other devices..
[ONE Android Development] :
Looks like you're trying to flash lollipop nethunter on top of a marshmallow rom (cm13).

The kali marshmallow kernel for the oneplus one seems to only be available as a nightly.

Nightlies can be located at: build.nethunter.com/nightly

Make sure you download both the oneplus1 marshmallow kernel and the 'nethunter-generic-armhf-kalifs-full/minimal-rolling' zip.

I was going to provide direct links to the latest builds but apparently I'm too noob/untrusted to do so :rolleyes:
[ONE Android Development] areyouanand:
Got them both, can you give me instructions for flashing it on cm13 nightly...
[ONE Android Development] :
Just use twrp to dirty flash both the kernel and image over the top of cm13.

It doesn't matter if you install the kernel before or after you flash the nethunter image, just as long as you flash them both.
[ONE Android Development] forid200:
[MENTION=5974941]LordGex[/MENTION] Can you please update this to the latest version and use lightning kernel instead?
[ONE Android Development] sino1641:
Does it have cm13 support?
[ONE Android Development] flat_jice:
so after some try i have succesfully ,

in order ,installed TWRP 3.0.2.0

boot on it and installed :

1 kernel-nethunter-oneplus1-marshmallow-3.15.3-20161217-1352.zip

reboot in recovery mode and flash :

2 cm-14.1-20161218-NIGHTLY-bacon.zip

3 open_gapps-arm-7.1-mini-20161217.zip

4 nethunter-generic-armhf-kalifs-minimal-rolling-3.15.3-20161216-0523.zip

and only reboot after

but i have some error .

oneplusone off, TL-WN722N plugged to oneplus OTG

turn on 1+1

at start it's write nethunter startup all fine running boot services ok

kali have SU right , in SU and in devloper option ( acces root to app)

usb no light

i start nethunter app ,

it's write on screen nethunter have root right : ok

i check app update : you are at the lastest update : ok

i look for start wifite : error message terminal emulator has been stop..

i try to start TL-WN722N in mode monitor : error message terminal emulator has been stop..

nothing look work

i start terminal emulator :

select shell :

kali -> error message terminal emulator has been stop..

android -> error message terminal emulator has been stop..

androidSU -> error message terminal emulator has been stop..

nethunter + terminal emulator have SU right in SuperSU ....

in devloper option Root Acces is for APP ...

where the probleme here ?

micro to usb wire is ok ,

TL-WN722N is ok ( work with kali on pc monitor mode / inject )

so what's wrong here ?