[Updated 01/06/2015] Ported Nethunter for note 3 (Kali / Backtrack) - Galaxy Note 3 Q&A, Help & Troubleshooting

http://nethunter.com/
Here is the first version working on the Note 3.
Not sure if there is any interest in this.
Am sure we will soon see.
Screenshots running on Note 3 SN-9005
(This thread was originally a request)

dave7802 said:
http://nethunter.com/
Got very excited when i read up on this, Does anyone know of any working projects? Or is anyone willing to have a look. Out of my depth
Thanks
Click to expand...
Click to collapse
Only for Nexus devices

Spitwista said:
Only for Nexus devices
Click to expand...
Click to collapse
Honestly...... i never knew that, Considering its plastered all over there website and everything you read about.
Thats why i Requested a PORT.

dave7802 said:
Honestly...... i never knew that, Considering its plastered all over there website and everything you read about.
Thats why i Requested a PORT.
Click to expand...
Click to collapse
Not going to happen soon for Note 3

Spitwista said:
Not going to happen soon for Note 3
Click to expand...
Click to collapse
Are you for feel, Stop spamming this thread with crap that everyone knows about already, Ghheeeze!
This is a request for a Port.
Not a users opinion on Timescale, Nor what current devices are supported!!!

Wrong , I just patched a kernel for my HTC one and complied a CM11 kernel.

viperblood said:
Wrong , I just patched a kernel for my HTC one and complied a CM11 kernel.
Click to expand...
Click to collapse
So you have a bootable Nethunter version running?
Any instructions?

Updated OP if there is any interest in this.

I would be interested have you got a patched kernel and what rom did you use?

+1 im interested too
Sent from my hlte using XDA Free mobile app

im interested too!!
Plz post the steps you took and if you can the rom and kernel. Thx!

Excuse the delayed response here:
I will update the OP with instructions and files.
As a heads up, i wont be providing the kernel, nor will i be providing instructions on how to compile your kernel.
Why do you need a custom Kernel you may ask.
One or a few of the tools in Kethunter, will allow for packet injection.
You will need a comptable Wifi device for this to work, and for it to work, you need to compile the drivers into the kernel.
I wont support this for two reasons.
I cannot make a error / hassle free way to switch Wifi devices (You can only had one active Wifi device at a time, i switch from Command line, But not so easy for your none so savvy linux users)
I do not have time to compile nor support issues that crop up with the Kernel (My work life consumes to much of my personal time / hobbys)
What i will do, is provide a compiled Flashable Zip, that will include all the Nethunter files.
This includes the APK that drives all the commands
and all the System files required.
You should be able to update Chroot etc without any issues.
Just a few tools wont work, without correct wifi device to Sniff and inject.
The flashable file is near to 1Gb and i am in work, so will not be uploading it from here.
I will do it at home later this evening.

Have a look at this: github.com/offensive-security/kali-nethunter/wiki/Porting-Nethunter
The example talks about note 3 but its a little bit outdated..

Any news for Kali NetHunter port for Note 3?

Im trying porting in my N3 (N900T) based in fw for Nexus 5 with Lollipop. Im working in booting kali but, now works:
- Nethunter APK (always open but now show options, screenshots added!)
- Kali boot in terminal but now only this and works apt-get (only test this now)
- Im trying fix buttons because this dont works when i push this. Only show error in terminal and dont works but manually this load kali.
PD: (sorry for my english)
I use this in 5.0.1 here the About:
Edit:
If any need im working in this script that boot kali (in theory but executing directly dont works).
http://pastebin.com/uYRmEwcs
I run Kali in console manually running this: In Terminal Emulator first write "su" and press "Enter" and next write this:
Code:
unset LD_PRELOAD
chroot /data/local/kali-armhf /bin/bash -l
With this Kali load in console. Works apt-get and other commands but im testing this. If any want try the steps are:
First download zip image (originally is for flashing in recovery but in my phone dont works or maybe works but I DONT TRY because is for other model xD).
Second, extract zip in PC and copy respective files and folders to the phone. For example: data folder in zip have 3 subfolders, copy all this to [d]data[/b] folder in phone in /data/ and remain files and folders.
In data/app folder have apks, install this. Have NetHunter apk (showed in screenshots), VNC and others. I recommend install all apks.
Next, in folder data/local have "kalifs.tar.bz2" file, this is the kali system. Unzip this in same folder but in phone. Final destination is: /data/local/kali-armhf (inside have bin, boot, captures, and other subfolders).
Next i dont know because i testing

please can u add support for the note 3 n900

Related

Ultimate guide to get Ubuntu and Busybox on your samsung galaxy tab 10.1

this is an easy pease guide to install Ubuntu with working Busybox on your samsung galaxy Tab 10.1
Requirements:
A rooted device (there are lots op threads on xda on how to root your 10.1)
after rooting download Ubuntu installer Free
the second app you need to download is busybox installer
and third you will need to download and install android-vnc you will need this to view the ubuntu after instalation
and then last but not least you can download a overclocking kernel to make things work smoother. there is a thread in xda about this.
and then download the setcpu.apk file. search it on google.
If you have any trouble finding the correct apps and kernels please post in your reply and I will give you the links to the kernels I am using uploaded by myself for you to download
Okay so lets get this party started
okay so after rooting your device install the Ubuntu Installer Free and follow the promts. it is an easy to use app which guides you to 3 downloads. the first download is the ubuntu.sh file. and then there are two links to download the ubuntu image. If you want a light (not good looking) version of ubuntu download the smaller image (the second option of the downloads).
If you want the gnome (sexy looking ubuntu) download the third option.
while you are downloading the files GO AHEAD and install the BusyBox installer app. then choose the 1.18.4 version and install it into you system/bin directory. it will give you the directory in a list to choose. once thats done install the same version again but in the system/xbin directory.
while you wait for ubuntu installer to download the images for you go ahead and search for that nifty overclock kernel. make sure IT IS NOT the one from zedomax because then you will have no screen rotate ability. look for an overclock kernel that has ov_oa in its description. once again post in this thread if you are having troubles and i will upload my kernel.
So after ubuntu installer has downloaded files go ahead and extract them into the /sdcard/ubuntu folder (you will have to create the folder)
after you have extracted the files into /sdcard/ubuntu folder (this directory is in the root of your tab. you do not have to create a folder in the root saying /sdcard/ubuntu. you can just make a folder named Ubuntu and drop the files in there.
so after plainc the files into the Ubuntu folder go to you terminal on your device. if you dont have a terminal you can download it from the market for free. its called android terminal.
in the terminal tipe the following
su
cd /sdcard/ubuntu
sh ubuntu.sh
if you have correct busybox installed you will get a prompt that asks you for the screen size. make the screen size 1280x800
then IF it gives you a choise between lightlinux or Gnome. select option 2. gnome
after that done open android vnc and set the following
name: ubi
password: ubuntu
adress: localhost
port: 5900
and then select connect.
and congratulations. everything was perfect. if not. pm me or reply in this thread for support.
Have you test it on Galaxy Tab 8.9
Hi. it will work on the galaxy Tab 8.9. just follow the same steps and make sure your device is rooted. as for the overclocking on the 8.9 I am not sure what the steps are
Was just wondering how much space does an installation like that take up? And will an Ubuntu install like that actually support everything that "normal" Ubuntu does (for instance compiling python, c, etc. on the device?). What about programs that work with Ubuntu on a PC, will they work on the Tab as well?
it takes up to 4gig of your storage. the ubuntu for the tab is ubuntu 10 Gnome. so everything works as normal ubuntu 10 would work. python and all those compiling programs will work. if you connect a mouse and keyboard to you tab it would work the same way as it would on a pc.
llewelyn12 said:
it takes up to 4gig of your storage. the ubuntu for the tab is ubuntu 10 Gnome. so everything works as normal ubuntu 10 would work. python and all those compiling programs will work. if you connect a mouse and keyboard to you tab it would work the same way as it would on a pc.
Click to expand...
Click to collapse
Nice, will give it a try to see if I can get some of my pygame projects to work (just for the kicks of it) .
I'm guessing you can't use the virtual keyboard with it though right? You need a hardware one? Or maybe, you could download a virtual keyboard for Ubuntu and see if that works ... hmm ... testing time! ^_^
PS: Do you know which desktop environment is used in the light version? Since I have the 16GB tab and I'd mostly use linux through the command prompt to program some basic stuff etc. I wouldn't really need a good desktop interface, just enough to run some graphic stuff when needed. Plus a lightweight DE would run faster
there is an awesome virtual keyboard you can download its called florence. it look ssexy and works good for me.but i stil prefer the manual keyboard.
Check out this pic. It gives an on screen keyboard
Sent from my GT-P7500 using XDA
Does the touchscreen work alright? I remember the native port had troubles with it.
Okay, after a bit of testing I thought I'd share my findings.
The installation was really simple, even though I had problems at first due to a wrong Busybox version - but I downgraded to 1.18.4 and it worked just fine.
I've tried both the "full" install and the "small" one. Both installed without problems, but the "full" one noticeably slower, even when running LXDE desktop environment. Guess that's one of the prices you have to pay for a system with way more applications. Apart from being kinda slow, mostly everything worked fine, the only problem I found was that if you wanted to change the background color of the terminal (the transparent thing wasn't doing it for me) it crashed. Otherwise I've tried out firefox, thunderbird etc. and it all worked fine.
On the "small" install, things seemed faster, CPU/memory was definitely stressed much less then in the full version. But, I ran into a quite big problem - terminals inside the GUI don't work at all. Everytime I run the lxterminal (tried installing some other terminals too, same problem) it starts up, but doesn't do anything. It doesn't even show the usual prompt (for instance "[email protected]>" or something like that). That means you can't run any terminal commands or apps (like top) through the GUI. You CAN however, run apt-get install through the terminal emulator you used to start the whole thing up.
So I worked around the problem by installing stuff from the terminal emulator, then trying it out in the GUI. It works, but it's definitely a real setback, since you can't even do simple stuff like "python test.py" etc. (well, you can through the terminal emulator in android, but then you're limited to text stuff, can't start up tkinter or pygame for instance).
I've managed to run a simple game made in pygame, and it actually had around 20 fps, but since you're looking at it through android-vnc, there's no way for stuff like that to be playable. Felt nice to see your python work on android, especially if you're not on good terms with Java .
I'd also recommend setting the resolution to something smaller, since you have to take the status bar into account - if you don't do that, you'll have to "scroll" up and down to see the whole screen - I've settled on 1280x720, seems to work fine for me.
Another problem I've noticed is that the Esc, F1, F2, ..., F12 keys didn't work inside linux (I'm using an Apple Wireless keyboard). Also, I couldn't play any music files (wanted to see if voice was working).
I'll definitely play around with this a bit more, and I can see myself using this (probably directly through the android terminal emulator, since it detects all my keyboard keys and has auto-completion etc.) for some non graphical programming in Python and C on the move, even without a hardware keyboard it's manageable.
What about anyone else? Did you try it out and what did you think? Anyone has any solutions to my terminal and special keys problem?
PS: Touchscreen doesn't have any problems, you have a few different input modes that you can play around, I haven't found one that would suit me perfectly though (the one I like best can't right click it seems). Ah well, nothing's perfect
Wow man, thanks for your feedback and support! there is a keyboard you can download inside software centre that gives you all the cool keys you would need. but seeing that you cannot use the lxterminal it pretty useless. ill see what I can find out about that but in the meantime thanks a lot for the feedback
nightmarebadger said:
Nice, will give it a try to see if I can get some of my pygame projects to work (just for the kicks of it) .
I'm guessing you can't use the virtual keyboard with it though right? You need a hardware one? Or maybe, you could download a virtual keyboard for Ubuntu and see if that works ... hmm ... testing time! ^_^
PS: Do you know which desktop environment is used in the light version? Since I have the 16GB tab and I'd mostly use linux through the command prompt to program some basic stuff etc. I wouldn't really need a good desktop interface, just enough to run some graphic stuff when needed. Plus a lightweight DE would run faster
Click to expand...
Click to collapse
I don't have the tablet (yet-hopefully gonna get one soon) but I'd suggest trying e17 (enlightenment) as your desktop environment. It is lightweight (at least compared to GNOME and KDE), IMO it looks nicer than other lightweight DE's (though the default mouse navigation style is not typical) and it has a touchscreen option/version/interface (don't exactly know what to call it). I have never tried the touchscreen version, but I have seen some screenshots and when I tried it out on a regular computer it asked if I want the touchscreen UI or the normal one. AFAIK it has its own onscreen keyboard (haven't tried it). I'm pretty sure gnome has one as well (somewhere in accessibility)
nightmarebadger said:
Okay, after a bit of testing I thought I'd share my findings.
The installation was really simple, even though I had problems at first due to a wrong Busybox version - but I downgraded to 1.18.4 and it worked just fine....
Click to expand...
Click to collapse
Badger, thanks for the mention of downgrading to 1.18.4. Thanks sent to you and the OP
I got it to run fine on my E4GT phone using 1.19.4 but it did not want to work on the Tab. I found that the following apps worked best on my Tab:
1. BusyBox (by Stephen Stericson) - just run this and even if you have 1.19.4 just use the drop down to select 1.18.4 and it will copy over it for you.
(Do not use the uninstall option as it is not needed and can cause problems)
2. Android Terminal Emulator (by Jack Palevich)
3. android-vnc-viewer (by androidVNC team + antlersoft)
Other apps may work but I have found the combination of these 3 to get ubuntu running on my Tab10 just fine.
btw Badger... I am with you 100% on not being on good terms with java
Graphics problem
I've installed this on my Samsung Galaxy Tab 8.9. I seem to have it operating OK but the graphics seem to not be working. The icons on the left are a black and white blur. I have changed the colour format to all of the different settings and no luck - any ideas? Thanks.
Permission Denied
When trying to bootubuntu I keep getting permission denied. I was skipping the su step, as I was following someone elses instructions, and I am now getting farther, but still permission denied at bootunbuntu. I haven't tried a linux flavor since red hat almost 10 years ago, and I was no guru then, so I'm sure whatever I'm missing will be rediculous...
wat kernel
llewelyn12 said:
this is an easy pease guide to install Ubuntu with working Busybox on your samsung galaxy Tab 10.1
Requirements:
A rooted device (there are lots op threads on xda on how to root your 10.1)
after rooting download Ubuntu installer Free
the second app you need to download is busybox installer
and third you will need to download and install android-vnc you will need this to view the ubuntu after instalation
and then last but not least you can download a overclocking kernel to make things work smoother. there is a thread in xda about this.
and then download the setcpu.apk file. search it on google.
If you have any trouble finding the correct apps and kernels please post in your reply and I will give you the links to the kernels I am using uploaded by myself for you to download
Okay so lets get this party started
okay so after rooting your device install the Ubuntu Installer Free and follow the promts. it is an easy to use app which guides you to 3 downloads. the first download is the ubuntu.sh file. and then there are two links to download the ubuntu image. If you want a light (not good looking) version of ubuntu download the smaller image (the second option of the downloads).
If you want the gnome (sexy looking ubuntu) download the third option.
while you are downloading the files GO AHEAD and install the BusyBox installer app. then choose the 1.18.4 version and install it into you system/bin directory. it will give you the directory in a list to choose. once thats done install the same version again but in the system/xbin directory.
while you wait for ubuntu installer to download the images for you go ahead and search for that nifty overclock kernel. make sure IT IS NOT the one from zedomax because then you will have no screen rotate ability. look for an overclock kernel that has ov_oa in its description. once again post in this thread if you are having troubles and i will upload my kernel.
So after ubuntu installer has downloaded files go ahead and extract them into the /sdcard/ubuntu folder (you will have to create the folder)
after you have extracted the files into /sdcard/ubuntu folder (this directory is in the root of your tab. you do not have to create a folder in the root saying /sdcard/ubuntu. you can just make a folder named Ubuntu and drop the files in there.
so after plainc the files into the Ubuntu folder go to you terminal on your device. if you dont have a terminal you can download it from the market for free. its called android terminal.
in the terminal tipe the following
su
cd /sdcard/ubuntu
sh ubuntu.sh
if you have correct busybox installed you will get a prompt that asks you for the screen size. make the screen size 1280x800
then IF it gives you a choise between lightlinux or Gnome. select option 2. gnome
after that done open android vnc and set the following
name: ubi
password: ubuntu
adress: localhost
port: 5900
and then select connect.
and congratulations. everything was perfect. if not. pm me or reply in this thread for support.
Click to expand...
Click to collapse
Im having problem, terminal emulator say loop missing.
So plz provide me kernel link and name os version on wich tat kernal need to b flashed
model: samsung galaxy tab 10.1 3g (gt-p7500).
help me for loop supporte kernal
sriabhi said:
Im having problem, terminal emulator say loop missing.
So plz provide me kernel link and name os version on wich tat kernal need to b flashed
model: samsung galaxy tab 10.1 3g (gt-p7500).
Click to expand...
Click to collapse
Hello sir,
I need a kernal for loop support on samsung galaxy tab 10.1 3g
(model: gt-p7500).
Plz send me link for kernal and tell me on what rom that kernal
has to be flashed.
can you please direct me to the Ubuntu Installer Free? Can't seem to find it on Play market.
komorka said:
can you please direct me to the Ubuntu Installer Free? Can't seem to find it on Play market.
Click to expand...
Click to collapse
It's called "Lunux Ultimate Installer" now...or something along those lines anways. If you search for Ubuntu Installer, it comes up.
llewelyn12 said:
this is an easy pease guide to install Ubuntu with working Busybox on your samsung galaxy Tab 10.1
Requirements:
A rooted device (there are lots op threads on xda on how to root your 10.1)
after rooting download Ubuntu installer Free
the second app you need to download is busybox installer
and third you will need to download and install android-vnc you will need this to view the ubuntu after instalation
and then last but not least you can download a overclocking kernel to make things work smoother. there is a thread in xda about this.
and then download the setcpu.apk file. search it on google.
If you have any trouble finding the correct apps and kernels please post in your reply and I will give you the links to the kernels I am using uploaded by myself for you to download
Okay so lets get this party started
okay so after rooting your device install the Ubuntu Installer Free and follow the promts. it is an easy to use app which guides you to 3 downloads. the first download is the ubuntu.sh file. and then there are two links to download the ubuntu image. If you want a light (not good looking) version of ubuntu download the smaller image (the second option of the downloads).
If you want the gnome (sexy looking ubuntu) download the third option.
while you are downloading the files GO AHEAD and install the BusyBox installer app. then choose the 1.18.4 version and install it into you system/bin directory. it will give you the directory in a list to choose. once thats done install the same version again but in the system/xbin directory.
while you wait for ubuntu installer to download the images for you go ahead and search for that nifty overclock kernel. make sure IT IS NOT the one from zedomax because then you will have no screen rotate ability. look for an overclock kernel that has ov_oa in its description. once again post in this thread if you are having troubles and i will upload my kernel.
So after ubuntu installer has downloaded files go ahead and extract them into the /sdcard/ubuntu folder (you will have to create the folder)
after you have extracted the files into /sdcard/ubuntu folder (this directory is in the root of your tab. you do not have to create a folder in the root saying /sdcard/ubuntu. you can just make a folder named Ubuntu and drop the files in there.
so after plainc the files into the Ubuntu folder go to you terminal on your device. if you dont have a terminal you can download it from the market for free. its called android terminal.
in the terminal tipe the following
su
cd /sdcard/ubuntu
sh ubuntu.sh
if you have correct busybox installed you will get a prompt that asks you for the screen size. make the screen size 1280x800
then IF it gives you a choise between lightlinux or Gnome. select option 2. gnome
after that done open android vnc and set the following
name: ubi
password: ubuntu
adress: localhost
port: 5900
and then select connect.
and congratulations. everything was perfect. if not. pm me or reply in this thread for support.
Click to expand...
Click to collapse
I need the download files to run ubuntu on my galalaxy tab 3 10.1. thanks.

How to build AOSP for Nexus 7?

I would like to mess with trying to install my own customized ROM's to my Nexus 7, but the first place to probably start is with being able to build AOSP as-is from source.
As I understand currently, building is only supported on Linux and OS X, but I can easily get Ubuntu 10.04 and re-partition my HDD to give it about 100GB (if that much is even needed).
Looking at:
http://source.android.com/source/initializing.html
I need to choose a branch and setup the Linux environment. I'm a bit confused as to what branch I should choose though. I want the latest source of Android available at the time, so I should pick the master branch? Or since I'm only building for the Nexus 7, should I choose it's device-specific branch instead? Although looking at:
http://source.android.com/source/build-numbers.html
the Nexus 7 is only at android-4.1.1_r1.1, but I could of sworn I heard there was r4 out already.
As for setting up the Linux environment, I hope I can just follow all the commands listed there without any problem.
Proceeding on with:
http://source.android.com/source/downloading.html
It looks like a pretty straightforward process that I'm also hoping can be done successfully if I follow the commands exactly as presented. I don't have a proxy nor the need for a local mirror either.
And then moving onto:
http://source.android.com/source/building-devices.html
Some stuff there I find a little bit confusing. It would seem I have to first get proprietary drivers, which all 4 seem to be placed conveniently at:
https://developers.google.com/android/nexus/drivers#grouper
From there, I imagine I can move the script that's bundled inside to the root of the source folder, run it, and follow the instructions. I don't exactly know what the root of the source folder is, but it would probably be obvious once I did start trying to build this. But once I did find it, I would run (using Nvidia's Graphics driver for the example) sh extract-nvidia-grouper.sh in Terminal, and it would place the right files where they need to be.
I don't understand the make clobber part too well at all; should I run this on the very first build, later builds, or all builds?
And once the source and drivers are all downloaded and available, I should then run lunch full_grouper-userdebug and then finally make -j# (# being some number in accordance with how many cores on my CPU I have). I have a triple-core CPU at 3.5Ghz, and I have the ability to unlock to quad-core at 3.3Ghz (but prefer to stay on triple). Should I just run -j32? Also will this build the Kernel as well, or will I have to get the source for that and compile it separately?
And once the build completes, my plan from there was to just go back to Windows and flash it. And if I managed to get it to flash and boot properly, I assume I would of succeeded with compiling AOSP from source
I noticed that userdebug part on full_grouper-userdebug gives "root access and debuggability". Does this mean it comes with some program like Superuser or SuperSU already installed? Or does this mean I can easily install those?
Perhaps after I get comfortable with the basics of flashing AOSP as-is, I can then try to mess with different types of optimizations, like Linaro and perhaps even messing with many types of optimizations from different kernels like faux123 has done .
I also have a 360kb/s DSL connection, so downloading the entire source the first time will probably take a good while. But once I have the source, I take it I don't have to redownload the entire thing for patches and stuff?
Any and all guidance is welcome
Bump before I go for tonight
Bump
You have a bunch of questions. I will answer some. And while I whole-heartedly support learning to build you don't need to build to flash roms.
The best advice I can give you is to just start building. You have found a bunch of instructions and links, obviously. Go ahead and begin, and tackle problems as they arise.
Environment
Okay...really the hardest part is setting upi the environment, if you don' t know linux. After downloading and installing Java and the SDK, make sure you add them to your path.
Most guides will have adding the path in the directions. But make sure to check that it works! It will be extremely frustrating, and you won't know what is wrong. Go to a random directory, Documents would be good, and enter java -version and then adb devices. If the computer says it cannot find the commands, then your path is the problem.
Make sure to setup udev. It is easy, Google it.
Building
Branch
You want to build from the tags.
Code:
repo init -u https://android.googlesource.com/platform/manifest -b android-4.1.1_r4
For the proprietary blobs, whatever directory you repo sync from (~/android/system or whatever) is the root directory. run the extraction from there.
when the proprietary blobs are extracted, and the source has been downloaded, these are your commands.
Code:
. build/envsetup.sh
lunch
Lunch will return a list of devices, Grouper is the Nexus 7, it is number 4. eng and user-debug do have root access, but SU and SuperSU are more than just root, they manage the root access for your apps as well. You can download them from Play or install them as a flashable-zip.
Choose 4 and then
Code:
make otapackage
don't worry about the -j# part. Your machine almost definitley cannot handle -j32. It is -j4 by default, that should be fine for your cpu.
If you want to enable faster builds, you can enter
ENABLE_CCACHE=1
before make otapackage, but it will take up a lot of space on your hd. Your subsequent builds will use some thing from your intial build instead of rebuilding them each time (kernel and other things). So even if you repo sync, some changes won't be reflected in your later builds. For instance, if you do not clean your prebuilts and build system, your build date in the build.prop will always stay the same as the first build.
The way you clear the build directory and make new everything is with make clean or make clobber. You can run it before any build, but the build will take much much longer than one that uses prebuilts. Non-clobbered and with ccache enabled are the fastest of all. But subsequent builds are pretty fast even without ccache.
When you want to update your source, you can just go to your root dir and repo sync. It will only update your source, it won't take nearly as long.
Okay, I answered more than I intended. There are a million guides that show you every step in the process.
Don't ask anymore generic worry questions...you're ready. You understand more than most people do before their first build before I even posted. Get started and if you run into problems, search. If you can't find the answer, then come back and ask us.
Good luck. it is easy, and very satisfying.
I finally got around to installing a Virtual Machine, and Ubuntu 10.04 After doing that, I fully updated Ubuntu, installed VMWare Tools, and then proceeded to start trying to acquire the AOSP source.
Getting sun-java-6 was a bit tricky, but not too hard (I ran the commands exactly as listed on the site, but the package didn't exist; had to get it from somewhere else). After that, I proceeded to do everything else, except CCache (I didn't know what .bashrc was, but I'll look further into this with future AOSP builds).
I then made the folder, did repo sync, and I'm now acquiring the source now from android-4.1.1_r4. As a quick question, does it matter whether I choose to build from android-4.1.1_r4, or master? Would master be more up-to-date?
espionage724 said:
I finally got around to installing a Virtual Machine, and Ubuntu 10.04 After doing that, I fully updated Ubuntu, installed VMWare Tools, and then proceeded to start trying to acquire the AOSP source.
Getting sun-java-6 was a bit tricky, but not too hard (I ran the commands exactly as listed on the site, but the package didn't exist; had to get it from somewhere else). After that, I proceeded to do everything else, except CCache (I didn't know what .bashrc was, but I'll look further into this with future AOSP builds).
I then made the folder, did repo sync, and I'm now acquiring the source now from android-4.1.1_r4. As a quick question, does it matter whether I choose to build from android-4.1.1_r4, or master? Would master be more up-to-date?
Click to expand...
Click to collapse
Sorry for late answer, no, use the r4 branch as it is more up to date. Also, make clobber every time isn't needed but you should as it remove then entire out folder (wich is where compiled stuff go) and this make sure you rebuild a clean thing.
Building CyanogenMod 10
Dunno if this is of any interest, but I have a thread started with a complete walkthrough for building CyanogenMod10 for Nexus 7.
Most of the info is the same, and there are some tips in the comments as well.
espionage724 said:
I would like to mess with trying to install my own customized ROM's to my Nexus 7, but the first place to probably start is with being able to build AOSP as-is from source.
Click to expand...
Click to collapse
So, how did you get on? I've been following the same path I think - repo sync the source and follow Google's own tutorial on compiling Android but with the added step of incorporating the binary drivers for the grouper.
I've built the .img files using make -j8, that all works, fastboot flash worked, but I get no video out when booting up using the new OS. I can ADB into the Nexus and it's certainly booted and working okay apart from, I'm guessing, the missing binary drivers.
I've used each of the 5 binary driver scripts to populate the "vendor" directory in the root of the downloaded source before compiling from scratch, but perhaps I've missed a step, so I'm curious as to whether you've got a fully working AOSP+binary driver compile working.
(By the way, my build environment was Ubuntu 12.04 64bit, SDK r20.0.3, Android 4.1.1 (JRO03R) source, Sun Java 1.6, and it all seems to work well using 8 threads on a Core i5 2500K + 4GB RAM).
Edit:
I re-ran the binary extraction, did a make clean; make clobber, and re-compiled - and now video works. Everything works now apart from the compass, camera and rotation sensor. I also tried compiling CyanogenMod from source, too, and had the exact same three problems. Everything works, and works well, apart from camera, compass and rotation sensor. All of which work in the stock Google ROM. Weird.
OK, So I've just compiled an OTA update package from AOSP source... my question is this:
I already have unlocked the bootloader on my wife's Nexus 7, installed Clockworkmod, rooted it, installed busybox, etc, manually on the stock 4.2 update I downloaded from Google on the device when it asked me to upgrade.
Is the otapackage I just compiled going to replace my custom recovery if I flash it as is? I've looked, and it has a "recovery" folder in the .zip, whereas any of the custom ROMs I have downloaded for my phone do not. Do I simply delete this recovery folder, and flash away? Do I need to edit the updater-script? I'm still trying to read and learn about this, but I haven't gotten a good answer from google or searching this site for my specific problem... maybe I'm wording my searches incorrectly.
I would just rather not have to go back and reinstall Clockworkmod... I know that if I want to have busybox, SuperSU, and other apps installed when I flash I'm going to have to add them to the zip and resign... I just don't want to mess my recovery. And being that this is my wife's tab (and not mine to play with, as she pointed out ) I don't want her to get the impression that I'm having to "fix" something I "broke" lol.
hallowed.mh said:
OK, So I've just compiled an OTA update package from AOSP source... my question is this:
I already have unlocked the bootloader on my wife's Nexus 7, installed Clockworkmod, rooted it, installed busybox, etc, manually on the stock 4.2 update I downloaded from Google on the device when it asked me to upgrade.
Is the otapackage I just compiled going to replace my custom recovery if I flash it as is? I've looked, and it has a "recovery" folder in the .zip, whereas any of the custom ROMs I have downloaded for my phone do not. Do I simply delete this recovery folder, and flash away? Do I need to edit the updater-script? I'm still trying to read and learn about this, but I haven't gotten a good answer from google or searching this site for my specific problem... maybe I'm wording my searches incorrectly.
I would just rather not have to go back and reinstall Clockworkmod... I know that if I want to have busybox, SuperSU, and other apps installed when I flash I'm going to have to add them to the zip and resign... I just don't want to mess my recovery. And being that this is my wife's tab (and not mine to play with, as she pointed out ) I don't want her to get the impression that I'm having to "fix" something I "broke" lol.
Click to expand...
Click to collapse
Sorry if a bit late, but here are some answers:
yes, the rom will replace your recovery. but if you delete the recovery folder and delete every line containing the word "recovery" in the updater-script, you should be good to go.
And if you accidentally remove the recovery, you can always flash it back very easily using: "fastboot flash recovery [filename.img]" (your n7 has to be in the bootloader)
And again, yes, you will have to put the extra apps into the zip and update the updater-script to install them too.
Also, you will need the gapps package if you want to use the play store and other google apps.
Hope this helped
Nexus 7 3G does not boot after flashing AOSP
Hi,
I followed the steps provided on source.android.com to build and flash the AOSP for Nexus 7 3G Tilapia. After successful flash, the device does not show anything after Google logo. Please help me out.
Thanks,
Veeren
Compile with ccache makes build time extremely fast.
How to do:
_Open a terminal
_Install ccache:
sudo apt-get install ccache
_Open .bashrc:
sudo gedit ~/.bashrc
_Add these lines:
#ccache
export USE_CCACHE=1
_Save and exit
_Sync source code
_After source synced, run in same terminal (in root directory of your source):
prebuilts/misc/linux-x86/ccache/ccache -M 20G (20G is the size in giga of space allocated for ccache, change it as you want)
_Start building
How to see if ccache works:
_Open another terminal in the root directory of your source and type:
watch -n1 -d prebuilts/misc/linux-x86/ccache/ccache -s
First build using ccache may be a little much longer but the others will be faster...
veerndra said:
Hi,
I followed the steps provided on source.android.com to build and flash the AOSP for Nexus 7 3G Tilapia. After successful flash, the device does not show anything after Google logo. Please help me out.
Thanks,
Veeren
Click to expand...
Click to collapse
Did you pull the proprietary files for your nexus and include them in the build? I believe things like your video drivers are included in there, so if those are missing....
I think the prop files are available for download from Google on source.android.com... If not, they tell you how to use an included script to pull them via adb. I can't remember... It's been a while since I built vanilla AOSP.
Sent from my Inspire 4G using xda app-developers app
Modifying stock AOSP
I have built AOSP following the Google tutorial.
I am compiling using the master branch and
Code:
aosp_grouper-userdebug
.
I have downloaded and extracted the appropriate proprietary binaries.
I am modifying two files in the source tree (see attachments; search for "// MODIFICATION ADDED HERE" to find my changes). Will these changes work? I am using Eclipse, set up in the exact way the tutorial explains, and I am not receiving any new errors.
When I compile the source using the following commands
Code:
$ . build/envsetup.sh
$ lunch aosp_grouper-userdebug
$ make fastboot adb
and flash it to my device with
Code:
$ fastboot -w flashall
BEFORE my modifications, it works just fine. The android-info.txt file and all the image files are produced properly.
However, AFTER adding the modifications, the build completes with no errors, but android-info.txt and all image files are no longer produced.
Why am I experiencing these problems? What can I do to make it work the way I want?
P.S. YES, I am aware that my modifications are not secure; these are for my own purposes, not for a public build.

{TUTORIAL} Bodhi Linux on a500

EDIT:
Now you can follow the same process into rogro82's kernel, thanks to Forzaferrarileo. Note that you can just flash the kernel, if you already put it to work with sp3dev's kernel. There's no need to repeat all process.
I've, also, changed some structures for better visualization.
This tutorial is using the sp3dev's precompiled kernel from here or rogro82's precompiled kernel from here. If you want to use rogro82's from scratch or from internal storage, please look, also, some instructions at here. Please note that you will have to build that kernel from sources before proceed. You should be able to use internal storage also, with some changes into this tutorial.
I used a phisical usb keyboard into this tutorial, but bodhi offers an onscreen keyboard into tablet profile. To change into this profile, look at here.
It's partially based into this tutorial. I'll refer to number of steps on that, so please open it. Please read everything before doing anything, and make sure you have no doubts about the process before doing anything. I'm not responsable if it damages your tablet!
First of all, download the Bodhi rootfs from here.
Then, run the first 3 steps from the tutorial above. Please note that if you'll run the rogro82's kernel, the step 2 should be flashing that kernel. For infos about how to flash the second kernel image, please read this thread's first post.
After, extract the Bodhi rootfs into the ext4 partition from your sdcard (I needed to be logged as root or use sudo for doing this step). Make sure to extract directly into the root of the partition (the result of a ls into the root of the partition should be just like running ls /).
Now, you need to donwload the zip file from step 6 from the tutorial. Note that it's not needed to install the packages asked by the step 6, just extract the donwloaded files and copy them into your sdcard's /lib/firmware folder. I just copied the brcm folder into /lib/firmware/brcm and it worked.
Now you are able to boot into the image. Put sdcard into the tablet and then boot from second kernel (hold VOL UP while powering on until it shows bootmenu and select boot into second kernel).
After complete booting, you should have the E17 home screen. For tutorials about this interface, please look into Bodhi website.
For being able to connect into wifi, I needed to open terminology (terminal application into bodhi) and run, as root, the following. Please note that it may not be necessary, but recommended:
- rfkill unblock all
- ifconfig
Now please see what number your wifi got loaded, for me, it was wlan2. I'll call it wlanx, so just change x for the number you got.
- ifconfig wlanx up
To make sure it worked, run "iwlist wlanx scan". It should bring some network details into terminology.
Now open wicd, open preferences and make sure the wifi network is correctly set into wlanx. The default value is wlan0. Then, close preferences and click into reload. Now you should be able to select your network, set up the network preferences and then connect into it.
Now you should be able to install everything you want. As I read, bodhi uses a debian base for armhf version, so you can install anything you can install from debian. Chromium web browser is broken, and firefox is named iceweasel. The default midori web browser works fine, but I personally prefer iceweasel.
Thanks:
sp3dev, rogro82, Kevin Roscom, Forzaferrarileo (if I forgot someone, please tell me, I'll put your name here!)
i'd love to try this! does this run fairly well?:good:
For me it does. I have a class 10 sdcard.
guimendes said:
For me it does. I have a class 10 sdcard.
Click to expand...
Click to collapse
root password?
Tautvaldas said:
root password?
Click to expand...
Click to collapse
Please take a look at here: http://jeffhoogland.blogspot.nl/2012/12/bodhi-linux-armhf-rootfs.html
You can use sudo bash to root access. The password is bodhilinux. Then you can set root password.
Hey this is my first time installing linux on a tablet. Ive got the partitioned sd card, rootfs, kernel ready to go. just not famaliar with how to flash the kernel. Could you maybe give me an idea of those steps? For a first timer as far as android is concerned, the instructions can be a little vague. Thanks
adrock74 said:
Hey this is my first time installing linux on a tablet. Ive got the partitioned sd card, rootfs, kernel ready to go. just not famaliar with how to flash the kernel. Could you maybe give me an idea of those steps? For a first timer as far as android is concerned, the instructions can be a little vague. Thanks
Click to expand...
Click to collapse
Please, first, make sure you're using this bootloader for dualboot. Into the thread there are all instructions for flashing the kernel into secboot, on dualboot section, into first post.
Ive been on v8 unlbootloader for awhile. Just never flashed a sec kernel before.
adrock74 said:
Ive been on v8 unlbootloader for awhile. Just never flashed a sec kernel before.
Click to expand...
Click to collapse
download the fastboot package ( from xda , or search on google ) , next connect the tablet with usb to the pc , reboot the tablet with the bootloader menu and select fastboot ...... the pc will install drivers , when it finish , go in the fastboot folder click SHIFT + right click and select "open command window here " and type this :
fastboot flash secboot <nameofkernel> ex : fastboot flash secboot boot.img
Forzaferrarileo said:
download the fastboot package ( from xda , or search on google ) , next connect the tablet with usb to the pc , reboot the tablet with the bootloader menu and select fastboot ...... the pc will install drivers , when it finish , go in the fastboot folder click SHIFT + right click and select "open command window here " and type this :
fastboot flash secboot <nameofkernel> ex : fastboot flash secboot boot.img
Click to expand...
Click to collapse
Thanks for the reply! Ive flashed this tablet seven ways to sunday within android, but this is kinda new to me. Recently installed 12.04 on my desktop as my intro to linux without a hiccup. I cant seem to get the tablet to respond to my computer. Have the sd card setup ready to go, terminal only says file does not exist ( in regards to secboot) should sd be in tablet or usb? Ive been at it all day. Should i rename anything? Thanks again.
---------- Post added at 04:43 PM ---------- Previous post was at 04:35 PM ----------
I Simply cant seem to get the kernel flashed. Once i get past that, i believe its smooth sailing..
adrock74 said:
Thanks for the reply! Ive flashed this tablet seven ways to sunday within android, but this is kinda new to me. Recently installed 12.04 on my desktop as my intro to linux without a hiccup. I cant seem to get the tablet to respond to my computer. Have the sd card setup ready to go, terminal only says file does not exist ( in regards to secboot) should sd be in tablet or usb? Ive been at it all day. Should i rename anything? Thanks again.
---------- Post added at 04:43 PM ---------- Previous post was at 04:35 PM ----------
I Simply cant seem to get the kernel flashed. Once i get past that, i believe its smooth sailing..
Click to expand...
Click to collapse
Please look if fastboot recognized your tablet. Run fastboot devices. If there's an answer, then your tablet was recognized. It can be missing drivers. From acer site it's possible to find the correct drivers.
ok. so not having the acer drivers seems to be my issue. But, Im trying to do this using my pc running ubuntu, and I'm not sure how to get the acer drivers installed on it. I'm sure there is a trick, but the downloads are for windows. And also the downloads are for honeycomb and ics and im running 4.2.2.
Well I cannot help you installing drivers into ubuntu, I made it into Windows.
on android terminal emulator:
cat /proc/mounts
make sure that data is on /dev/block/mmcblk0p8 not p7
if so then:
dd if=your_second_boot.img of=/dev/block/mmcblk0p7
do it within android, not within linux or initial ramdisk console on you tablet, because linux recognize data as /dev/mmcblk0p7. sorry for bad English.
Tautvaldas said:
on android terminal emulator:
cat /proc/mounts
make sure that data is on /dev/block/mmcblk0p8 not p7
if so then:
dd if=your_second_boot.img of=/dev/block/mmcblk0p7
do it within android, not within linux or initial ramdisk console on you tablet, because linux recognize data as /dev/mmcblk0p7. sorry for bad English.
Click to expand...
Click to collapse
thanks for the response, what will this be doing??
adrock74 said:
thanks for the response, what will this be doing??
Click to expand...
Click to collapse
It'll flash the kernel into the correct partition, via android.
guimendes said:
It'll flash the kernel into the correct partition, via android.
Click to expand...
Click to collapse
ok gotcha. Sorry to be a bother, but i want to do this. Right now ive got my kernel and rootfs on a partitioned sd card in my extsd slot. If I flash the kernel using terminal, where should it be?
adrock74 said:
ok gotcha. Sorry to be a bother, but i want to do this. Right now ive got my kernel and rootfs on a partitioned sd card in my extsd slot. If I flash the kernel using terminal, where should it be?
Click to expand...
Click to collapse
If you follow strict what Tautvaldas said, it'll be placed in the right place for dualbooting, the same if you use fastboot tool.
Thanks for your help guys. But mixing and matching this and that, i give up. Ive flashed the sh*t out of this tab, but without a unified tutorial, i cant make sense of this. Ive been running linux on my pc and laptop, so this isnt foreign to me, but i need a more straight forward tutorial. Thanks though again. We all have to learn sometime:good:
I ran a dist-upgrade on it and my wifi now seems broken - rfkill can unblock it but ifconfig returns SIOsomething something error, permission denied. Ideas?

[GUIDE]Kali Nethunter 3.0 on Android 6.0.x ROMs - [kenzo]

OUTDATED
Rishabh1x said:
In this guide i will cover how to setup a successful install of kali nethunter 3.0 on Redmi Note 3(mine is 32gb) using the ported nethunter zip and the hammerhead image(nexus 5). This may or may NOT work on any other ROM because I havent tested it. I am running exodus ROM with stock kernel. Please make sure you know what you are doing before you proceed because i dont have time to answer questions like 'what is chroot and root for?'​
Requirements:
1. Unlocked bootloader
2. TWRP
3. ROOT
4. Some free space in /data partition(alot actually if you install ALL the tools)
5. Basic understanding about how linux works
Things you need to grab:
1. kali nethunter zip and modules zip for our device
2. hammerhead image zip
Steps:
1. BACKUP current ROM(system, data, boot->MOST IMP)
2. After you have a backup flash the nethunter.zip(72.8m) and once its done flash modules.zip(2.1mb)
3. Now you have to restore your boot partition from the backup you took earlier. > Goto restore and tick only Boot and restore it.
4. Reboot your phone now. You should see some new apps in your app drawer if all was successful. Also you will see the nethunter bootanim(awesome).
5. Now download kmod manager and enable the modules that can be enabled and ignore the rest.
6. Now extract the hammerhead zip file anywhere. Inside that you will have a /data/local folder. There is a file named kalifs-full.tar.xz. Copy it to /sdcard.
7. Now open Nethunter app from app drawer. From left panel goto - kali chroot manager. Click install chroot > use sdcard > Full chroot.
8. Now you will see a progress bar stating decompressing ~5-10 mins. Wait till it finishes. Then you will see a metapackages thing with options to tick. Ignore by pressing back button.
9. The console(green text) should print somewhere this line - "everything went fine" to tell you no errors were encountered.
10. Now chroot is ready, this means kali is installed and running inside android. To test it, do this - Open es explorer and goto /data/local/nhsystem/kali-armhf, there u should see some directories like bin/boot/ etc.
This means the filesystem is installed. Now you can open the nethunter terminal app and choose 'kali'. If it says [email protected] in red color, it means everything went fine and you are logged in as root.
Post install notes:
1. Hammerhead zip is pretty old. You will have to change the repo to kali-rolling to get the latest stable packages.
2. I have noticed very slow speed while downloading the packages, you can either add mirrors close to your location to avoid this or you can install aria and apt-fast(requires aria) packages.
3. Wifi injection and monitoring is not supported by the internal wifi card of our device, so you will have to refer to the port thread that has a compatible wifi card listed(amazon link) which supports packet injection.
Downloads:
1. nethunter zip and modules for RN3 -> Grab from original port thread
2. Hammerhead image zip -> Hammerhead image zip
Thanks to:
Baka Guy aka Cereal Killer - for port
Offensive Security - for Nethunter
Note- Any sensible questions, feel free to ask. Sorry if I missed something, if any confusion or mistakes found in steps pls inform me.
Click to expand...
Click to collapse
Hello, this is only for 6.0 roms? like which ? RR official?
Did you read the thread?
This is for MM roms however I have not tested on cm based ROM so you can give it a try by doing as per the steps and report back if it works.
Rishabh1x said:
Did you read the thread?
This is for MM roms however I have not tested on cm based ROM so you can give it a try by doing as per the steps and report back if it works.
Click to expand...
Click to collapse
do u have test to install it on cm rom? which cm
He said exodus... I will be testing it today on rr with radon 2.5.1
Sent from my Redmi Note 3 using Tapatalk
I have tried it and it works on Mokee. It boots and many of the functions do seem to work. How ever I'm still testing it and will review later again after some more testing.
Audacity4545 said:
I have tried it and it works on Mokee. It boots and many of the functions do seem to work. How ever I'm still testing it and will review later again after some more testing.
Click to expand...
Click to collapse
Ok thanks for informing...can you check if fruitywifi is working for you or not?
Btw Radon is compatible and should not cause any problem...I will update the guide later.
Rishabh1x said:
Ok thanks for informing...can you check if fruitywifi is working for you or not?
Btw Radon is compatible and should not cause any problem...I will update the guide later.
Click to expand...
Click to collapse
I have tried radon once at Radonv2.1 on mokee but it seemed to mess with the adaptable storage which I really need. So I dont use custom kernal on mokee. I will check fruitywifi possibly tomorrow or day after that when I get the time. Ill report my results when I'm done. Also you should show how to change repos. Many people dont know.
How to change repos- first the current repos are too old. they are for sana i.e. kali 2.0. now latest version is kali 2016 i.e. Kali rolling.
Guide to changing repos and increasing download speed for update.
*OP pls add this in main post if you want.
To change your repos go to (using es explorer) device/data/local/nhsystem/kali-armhf/etc/apt/sources.list
edit it using a text editor. Delete whatever is in it. then add these lines
deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free
Then save it.What you just did was delete old sana repos and change them with updated rolling repos. Then go to nethunter terminal using kali shell. then run
apt-get update
then
apt-get upgrade
then
apt-get dist-upgrade
if you are getting slow speed then change http in sources to repo. i.e.
deb http://repo.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://repo.kali.org/kali kali-rolling main contrib non-free
this will most likely get you better download speeda and lot easier than using aria.
This currently only contains nethunter packages, to get all packages
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install kali-linux-full -y
This installs all kali packages shown at http://tools.kali.org/tools-listing. It will require alteast 800 mb data. If you install all packages you will get mysql screen setup. So if you try to installl all check up a guide before doing it. I wont explain it all here. For any noobs this doesnt contain a GUI. Dont expect one. You will need to know atleast basic linux to use it. If you want to try I ask you to try Kali on pc as it contains Gui and easier for beginners.
Audacity4545 said:
I have tried radon once at Radonv2.1 on mokee but it seemed to mess with the adaptable storage which I really need. So I dont use custom kernal on mokee. I will check fruitywifi possibly tomorrow or day after that when I get the time. Ill report my results when I'm done. Also you should show how to change repos. Many people dont know.
How to change repos- first the current repos are too old. they are for sana i.e. kali 2.0. now latest version is kali 2016 i.e. Kali rolling.
Guide to changing repos and increasing download speed for update.
*OP pls add this in main post if you want.
To change your repos go to (using es explorer) device/data/local/nhsystem/kali-armhf/etc/apt/sources.list
edit it using a text editor. Delete whatever is in it. then add these lines
deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free
Then save it.What you just did was delete old sana repos and change them with updated rolling repos. Then go to nethunter terminal using kali shell. then run
apt-get update
then
apt-get upgrade
then
apt-get dist-upgrade
if you are getting slow speed then change http in sources to repo. i.e.
deb http://repo.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://repo.kali.org/kali kali-rolling main contrib non-free
this will most likely get you better download speeda and lot easier than using aria.
This currently only contains nethunter packages, to get all packages
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install kali-linux-full -y
This installs all kali packages shown at http://tools.kali.org/tools-listing. It will require alteast 800 mb data. If you install all packages you will get mysql screen setup. So if you try to installl all check up a guide before doing it. I wont explain it all here. For any noobs this doesnt contain a GUI. Dont expect one. You will need to know atleast basic linux to use it. If you want to try I ask you to try Kali on pc as it contains Gui and easier for beginners.
Click to expand...
Click to collapse
I will add the steps in the main thread to change the repos to rolling...although I found that changing from http to repo does not give any difference in speed. You should find a mirror close to your location to get better speed. I find nl mirrors to be far better than repo.
Also the vnc connections work without any tweaks so its not really a cui based installation bcz you can connect through vnc and use the gui too. Btw kali-full package requires 1gb download and more than 2gb space for install.
And you should avoid running dist-upgrade. It can cause problems with install and break the chroot environment.
i am on miui 8 stable global i installed and followed the guide above.. but then i opening the nethunter terminal and chose kali then the app closing auto.. why?how to fix this
feikacab said:
i am on miui 8 stable global i installed and followed the guide above.. but then i opening the nethunter terminal and chose kali then the app closing auto.. why?how to fix this
Click to expand...
Click to collapse
try clearing the app data and cache. if it still does not work do this:
1. Install terminal emulator or try nethunter terminal as root
2. open and type following command
-> su -c bootkali
Then provide feedback if it was successful or not.
Rishabh1x said:
try clearing the app data and cache. if it still does not work do this:
1. Install terminal emulator or try nethunter terminal as root
2. open and type following command
-> su -c bootkali
Then provide feedback if it was successful or not.
Click to expand...
Click to collapse
Missing a requiring folder. Something isn't right. Thatd telling me when I writing the above command and on nethunter emulator, same think on terminal emulator. And try to clear the cache and data both of apps.s sorry if I asking again, on which rom are u using nethunter? Which kernel? CAF KERNEL? On the first topic u dont say clearly which file we supposed to install. I didn't found any files on the link which named nethunter.zip and have 72 mb
feikacab said:
Missing a requiring folder. Something isn't right. Thatd telling me when I writing the above command and on nethunter emulator, same think on terminal emulator. And try to clear the cache and data both of apps.s sorry if I asking again, on which rom are u using nethunter? Which kernel? CAF KERNEL? On the first topic u dont say clearly which file we supposed to install. I didn't found any files on the link which named nethunter.zip and have 72 mb
Click to expand...
Click to collapse
Open the nethunter app and from left menu click Chroot manager and tell me what you see there.
Rishabh1x said:
Open the nethunter app and from left menu click Chroot manager and tell me what you see there.
Click to expand...
Click to collapse
i am now on exodus rom 6.0.1 last version.. i cant understand the intstructions from the first topic.. which file is nethunter.zip 72mb? i couldnt find it..U must update the first post and rename the zip folders because i cant understand which is zip folder named nethunter and have 72mb size... help me someone
feikacab said:
i am now on exodus rom 6.0.1 last version.. i cant understand the intstructions from the first topic.. which file is nethunter.zip 72mb? i couldnt find it..
Click to expand...
Click to collapse
http://en.miui.com/thread-301258-1-1.html
you will find 2 zips here the 72mb and one 2mb
Rishabh1x said:
http://en.miui.com/thread-301258-1-1.html
you will find 2 zips here the 72mb and one 2mb
Click to expand...
Click to collapse
yes but the zip file which have size 74 mb named update-nethunter-kenzo.. anyway i remove and install again the chroot, and now the console is fine, opening again perfect, but the problem is, when i type wifite my card doesnt shows up.. why? i bought it before 2 days ago.. and the otg cable too. my card is tl-wn722n
feikacab said:
yes but the zip file which have size 74 mb named update-nethunter-kenzo.. anyway i remove and install again the chroot, and now the console is fine, opening again perfect, but the problem is, when i type wifite my card doesnt shows up.. why? i bought it before 2 days ago.. and the otg cable too. my card is tl-wn722n
Click to expand...
Click to collapse
is the card itself working with otg? if there is an led light on card check if its blinking....and run lsusb command too
Rishabh1x said:
is the card itself working with otg? if there is an led light on card check if its blinking....and run lsusb command too
Click to expand...
Click to collapse
what do u mean by itself working with otg?
feikacab said:
what do u mean by itself working with otg?
Click to expand...
Click to collapse
I have heard that it requires a y cable to work because card doesn't draws enough power....so I said to check the led light or any other indication to know if card is powered properly
Rishabh1x said:
I have heard that it requires a y cable to work because card doesn't draws enough power....so I said to check the led light or any other indication to know if card is powered properly
Click to expand...
Click to collapse
dude the card working perfect and the cable too. the problem is, how do u know that nethunter isnt fake? upload screenshot from your phone while hacking wifi with wifite.

OnePlus 5 Kali Nethunter

Hello boys & girls!
I want to port the Kali Nethunter rom to the OnePlus 5.
Because it is my first time i need some people who can port it together with me.
Offensive Security has a nice tutorial on their website but its getting complicated when i come to the modify kernel part.
I really need some help with that.
More info:
offensive-security.com/kali-linux-nethunter-download
Porting info:
github.com/offensive-security/kali-nethunter/wiki/Porting-Nethunter
Sorry due the spam restrictions i cant post the links.
If you got some tips or advice on how to do it let me know! :good:
Greetings,
Stefjoe
Let me see...
EDIT: Ok. I can't help sorry
_MartyMan_ said:
Let me see...
EDIT: Ok. I can't help sorry
Click to expand...
Click to collapse
Damn.... too bad
Any luck with this? Having a hard time myself.
I've looked at it myself and it seems complicated to me because I've never done that before but maybe anyone here is able to do it...
stefjoe said:
Damn.... too bad
Click to expand...
Click to collapse
Any progress?
The only problem to port nethunter to the OP5 is to add HID and CDROM support to the kernel but in order to do so, those patches have to be ported to kernel version 4.4+ ...
Otherwise packet injection over usb works fine on OOS.
I'm trying to compile a kernel with packet injection for RR.
Tell me if you want the kernel ... I've modded Adin's kernel (OOS) and Lightning kernel (LOS).
You will then have to install the nethunter chroot zip and you're good to go.
Arka1n said:
The only problem to port nethunter to the OP5 is to add HID and CDROM support to the kernel but in order to do so, those patches have to be ported to kernel version 4.4+ ...
Otherwise packet injection over usb works fine on OOS.
I'm trying to compile a kernel with packet injection for RR.
Click to expand...
Click to collapse
I think you can find the patch for HID and CDROM support here:
https://forum.xda-developers.com/showthread.php?t=2196707
https://github.com/CyanogenMod/andr...mmit/46bd47757a9f34c1d95dd2620414893212fb0526
FYI I don't know anything about patching kernels so i might be wrong
Well this leads to the hid patch :
github.com/pelya/android-keyboard-gadget/blob/master/kernel-3.4.patch
And this to something about the CDROM patch for the OP3 :
github.com/binkybear/androiddevs_kernel_oneplus_msm8996/commit/fc6f4b6b5f70509fbc5d583e8315f88119acb3c2
Not yet allowed to post links...
Anyway i need some help from other devs to port those to 4.4 :silly:...
Arka1n,
Hey,
I saw the post regarding putting nethuntr on the 1+ 5.
Are you willing to give me the needed kernel too plz?
Thanks
Jazzzzz
Arka1n said:
Tell me if you want the kernel ... I've modded Adin's kernel (OOS) and Lightning kernel (LOS).
You will then have to install the nethunter chroot zip and you're good to go.
Click to expand...
Click to collapse
Most definitely would like it! Message me
Arka1n said:
Tell me if you want the kernel ... I've modded Adin's kernel (OOS) and Lightning kernel (LOS).
You will then have to install the nethunter chroot zip and you're good to go.
Click to expand...
Click to collapse
I definitely would like it too !!!
Crappy upload rate so it may take some time...
[WOOT]
Here : https://forum.xda-developers.com/oneplus-5/development/burgerhunter-t3638810 :victory:
OnePlus5
I just got mine and want to do the same. I currently have nethunter on the original oneplus one and it works great. I am hoping it's the same process. Has anyone done it on any of the oneplus phones before? I ask because it took me at least 3 weeks every day after work playing with it. I bricked it maybe 3 times and OnePlus team remotely fixed it and finally I got it working. It wasn't easy.
If somebody has, please share your experience. I will try to pull up all of the links I used and videos I watched before I finally got nethunter to boot.
I want to do this to the oneplus 5 so I can use it for nethunter then wipe the onplus one and use it as my phone. Any help/advice is greatly appreciated. I will come back and post the info I used for the oneplus one and anything I find for the oneplus 5.
cheers
Nethunter for OnePlus 5
I found a way to "port" but not the entire kernel.
I managed to create chroot and can run Kali shell after one failed trail.
IMPORTANT : I went into bootloop(only boots into twrp) once while trying to remount /system as rw. But then I figured out SElinux must be disabled. You know what to do if you went into a bootloop, but just take a backup (nandroid backup didn't work for me)
And I also lost all of my data after I flashed stock recovery.
Everything seems to be working fine. But there is a problem with the Nethunter 3.0.
The
Code:
apt-get
does not work.
However, I pinged google.com and I get replies.
So, we need to install metapackages manually. At least for now.
What I did :
1. Download OnePlus One nethunter 3.0 ROM
2. Locate the apks (<nethunter_extracted>/data/app)
3. Install in this order :
• Nhterminal
• VNC
• Nethunter app
4. Open the Nethunter app and install the chroot
( I selected full chroot, however, you may choose minimal chroot too instead )
5. From any root explorer, we need to copy the files that are under /data/data/com.offsec.nethunter/files/scripts/*
to
/system/bin
(If you don't find the .../files/scripts, open Nethunter app and try again)
6. After copying the files to /system/bin,
There are three important files :
•bootkali
•bootkali_bash
•bootkali_login
We need to symlink these ↑
Important : we need to make the system writable first.
Run from AndroidSU shell:
Code:
#setenforce 0
Code:
#mount -o rw,remount /system
Then, linking :
Code:
ln -s /data/data/com.offsec.nethunter/files/scripts/bootkali /system/bin/bootkali
Code:
ln -s /data/data/com.offsec.nethunter/files/scripts/bootkali_bash /system/bin/bootkali_bash
Code:
ln -s /data/data/com.offsec.nethunter/files/scripts/bootkali_login /system/bin/bootkali_login
You can remount /system to read-only if you wish to.
7. Next, install BusyBox to /system/bin
Usually, it is installed to /su/xbin.
But we need to install to /system/bin too.
This step is necessary.
8. Now, the Kali shell works fine.
Try running
Code:
#bootkali
in AndroidSU shell and you should be in the Kali shell
You can also open Nhterminal app and select Kali.
9. You may install the other apks now.
Enjoy ~ !!
Unable to start monitor mode error showing pls rply
Whats the problem
---------- Post added at 02:39 AM ---------- Previous post was at 02:16 AM ----------
I m using oneplus 5 naughat 7.1 rom and kali nethunter installed.
But problem in monitor mode
Error:Newly created monitor mode interface wlan0mon is *NOT* in monitor mode.
Removing non-monitor wlan0mon interface...
WARNING: unable to start monitor mode, please run "airmon-ng check kill"
I m trying this command 'airmon-ng check kill' but same problem

Categories

Resources