Samsung A51 Nethunter Install [KERNEL] wifi-driver Monitoring Mode - Samsung Galaxy A51 Questions & Answers

Hello everybody, I need to install nethunter and all the drivers of the tl-wn725n wifi adapter on my samsung galaxy a51.
I performed the unroot procedure and installed nethunter via magisk. Nethuner and the terminal emulator work fine. Obviously, since my cellphone wifi does not support monitoring mode, I bought a tl-wn725n wifi adapter and tried to download the drivers.
I have tried to follow multiple github projects on how to install rtl8188eus chipset drivers, like this one 'https://github.com/aircrack-ng/rtl8188eus'.
When I try to install the drivers, I get the error: '/lib/module/4.13.113-**' not found
I've already tried running the following commands: sudo apt update sudo apt upgrade sudo apt-get dist-upgrade reboot sudo apt-get install linux-headers - $ (uname -r) sudo apt install bc sudo apt-get install build-essential sudo apt-get install libelf-dev sudo apt install dkms
but i always get errors as the '/ lib / modules /' directory is empty. Can someone help me?
hope I can get these drivers in order to use the tl-wn725n adapter

ralboreto said:
Hello everybody, I need to install nethunter and all the drivers of the tl-wn725n wifi adapter on my samsung galaxy a51.
I performed the unroot procedure and installed nethunter via magisk. Nethuner and the terminal emulator work fine. Obviously, since my cellphone wifi does not support monitoring mode, I bought a tl-wn725n wifi adapter and tried to download the drivers.
I have tried to follow multiple github projects on how to install rtl8188eus chipset drivers, like this one 'https://github.com/aircrack-ng/rtl8188eus'.
When I try to install the drivers, I get the error: '/lib/module/4.13.113-**' not found
I've already tried running the following commands: sudo apt update sudo apt upgrade sudo apt-get dist-upgrade reboot sudo apt-get install linux-headers - $ (uname -r) sudo apt install bc sudo apt-get install build-essential sudo apt-get install libelf-dev sudo apt install dkms
but i always get errors as the '/ lib / modules /' directory is empty. Can someone help me?
hope I can get these drivers in order to use the tl-wn725n adapter
Click to expand...
Click to collapse
@ralboreto
Welcome to XDA. I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator

ralboreto said:
Hello everybody, I need to install nethunter and all the drivers of the tl-wn725n wifi adapter on my samsung galaxy a51.
I performed the unroot procedure and installed nethunter via magisk. Nethuner and the terminal emulator work fine. Obviously, since my cellphone wifi does not support monitoring mode, I bought a tl-wn725n wifi adapter and tried to download the drivers.
I have tried to follow multiple github projects on how to install rtl8188eus chipset drivers, like this one 'https://github.com/aircrack-ng/rtl8188eus'.
When I try to install the drivers, I get the error: '/lib/module/4.13.113-**' not found
I've already tried running the following commands: sudo apt update sudo apt upgrade sudo apt-get dist-upgrade reboot sudo apt-get install linux-headers - $ (uname -r) sudo apt install bc sudo apt-get install build-essential sudo apt-get install libelf-dev sudo apt install dkms
but i always get errors as the '/ lib / modules /' directory is empty. Can someone help me?
hope I can get these drivers in order to use the tl-wn725n adapter
Click to expand...
Click to collapse
hi i need a tester to test a51 kernel build for nethunter maybe i can help you

V3rB0se said:
hi i need a tester to test a51 kernel build for nethunter maybe i can help you
Click to expand...
Click to collapse
Hi, i have a51

i already posted the kernel build you can find it here

i have one ui 4.1, would that be a problem?

and will it factory reset my device?

please ask the question in the thread I won't be answering here.

Related

[GUIDE] Ubuntu dev platform installation

I've been toying with my own kernels for 2.1 and now 2.2. After much help from netarchy, ffolkes, joeykrim, maejrep, toastcfh, and sentenced, I finally got my Ubuntu box churning out 2.6.29.6 kernels that work on CM6. (If I neglected to mention anybody, kindly remind me). Anyway, sentenced suggested I put together a quick guide on how to do it, so here it is.
I setup my development box as an Ubuntu 8.04 VM on Parallels for OSX. Virtualbox is a free alternative to Parallels. I reckon if you can't figure out how to install Linux, you should probably go do that first and come back to this later.
Once Ubuntu is up and running:
apt-get install gnupg
apt-get install flex
apt-get install bison
apt-get install gperf
apt-get install build-essential
apt-get install zip
apt-get install curl
apt-get install sun-java5-jdk-zlib1g-dev
apt-get install sun-java5-jdk
apt-get install zlib1g-dev
apt-get install gcc-multilib
apt-get install g++-multilib
apt-get install libncurses5-dev
update-java-alternatives -s java-1.5.0-sun
Setup Android NDK
Download the NDK here.
Unpack and put the android-ndk-r4b folder somewhere where you have access to it. ~/src is fine. I used /src.
Setup your environment
There are many ways to do this. It's probably more appropriate to place the following in ~/.profile, but I put mine in /etc/profile so they are system wide.
export ARCH=arm
export CC=/src/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-gcc
export CROSS_COMPILE=arm-eabi-
export PATH=$PATH:/src/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/
Pay attention to the path statement. If you see "can't find arm-eabi-gcc" errors when you try to make your kernel, something is WRONG with your path statement. Don't ask me how I know this.
Get the kernel source you want to work with.
I started with CM6 found here.
Or git:
git init
git pull git://github.com/CyanogenMod/htc-kernel-supersonic.git
Ok, time to play
make supersonic_defconfig - Builds the default .config for Evo.
make menuconfig (or make xconfig)
Select options
Exit and save
Time to Build!
make -m
If your kernel builds successfully, you'll find it in ./arch/arm/boot/ It's the file: zImage
Test and Install
You can temporarily test with fastboot boot <path-to>/zImage
To survive reboot: fastboot flash zimage <path-to>/zImage
You'll have to get the wifi module from drivers/net/wireless/bcm4329/bcm4329.ko and the wimax module from drivers/net/wimax/SQN/sequans_sdio.ko and push them to /system/lib/modules. You should probably save the modules from the ROM first though.
Hope this helps.
it is so nice to see all the steps put together in this guide!
thanks for taking the time to write everything up!
Here is a guide I'm working on, same thing except its for Windows host using Ubuntu 10.04..
http://htc-linux.org/wiki/index.php?title=Ubuntu_VirtualBox_Dev_Environment
Vinny, If you'd like to include this in your wiki, please feel free.
jmxp69 said:
Vinny, If you'd like to include this in your wiki, please feel free.
Click to expand...
Click to collapse
likewise, feel free to contribute to the wiki article
I'm going to add links to setting up the build environment; the NDK, the Android/CM source (my preference), and uClibc.
This is a good source http://wiki.cyanogenmod.com/index.php?title=Building_from_source just follow "Building for Passion/Nexus One" and subistitute supersonic and skip the zx.patch stuff

[Recovery] CWM Recovery 4.0.0.8 for Compaq Airlife 100

Hi all,
Note: I'm still testing these files and they are not final. I'm not responsible if you brick your device with these files. Use it at your own risk and only if you know what you are doing!
If you want to make sure that you don't loose anything use romdump to perform a backup for your device.
Files
Boot: boot-insid3r-0.1.img
Recovery: recovery-insid3r-0.1.img
How to prepare your PC
===== On Windows (I tried on Windows 7): =====
1)Download the latest Android SDK from here.It's the installer_r12-windows.exe file.
2)Run the installer. It will start a download all the files needed. Note:You must have Java JDK installed.
3)Boot your Compaq Airlife 100 to Fastboot Mode (BACK + POWER). It will show a black(empty) screen thats normal!
4)Connect your Compaq Airlife 100 through the USB Cable to your PC
5)Open Windows Start Menu and type: cmd.exe
6)Navigate to your Android SDK folder like this:
cd /
cd "Program Files\Android\android-sdk\tools"
7)Run fastboot:
fastboot.exe devices
(it will show only an '?', its normal)
8) Jump to "How to Use"
===== On Ubuntu (I tried on Ubuntu 11.04): =====
1)Download the latest Android SDK from here. It's android-sdk_r12-linux_x86.tgz file.
2)Unpack it.
3)Open terminal and navigate to <android-sdk-linux_x86>/tools and execute "android" script. This will start the download of the needed files.
4)Navigate to your Android SDK folder like this:
cd android-sdk-linux_x86/platform-tools/
5)Run fastboot:
./fastboot devices
(it will show only an '???????', its normal)
6) Jump to "How to Use"
How to use
1)Root your device, using an app like Universal Androot
2)boot your device into fastboot mode (BACK+POWER)
3)flash both images on Ubuntu:
Code:
./fastboot flash boot boot-insid3r-0.1.img
./fastboot flash recovery recovery-insid3r-0.1.img
or on Windows
Code:
fastboot.exe flash boot boot-insid3r-0.1.img
fastboot.exe flash recovery recovery-insid3r-0.1.img
4)boot your device into recovery mode (HOME+POWER)
Demo
ClockworkMod Recovery for Compaq Airlife 100: http://www.youtube.com/watch?v=rh8DhuDt0FY
Images
ClockworkMod Info
This recovery was compiled with the 4.0.0.8 source code, and it still under tests before final github submission for aproval.
Any question, just ask.
If you are familiar with Cyanogen porting please send me a PM.
Best Regards
Hey INSID3R great work!!!!
I come from CHW forum.
I`ll try this now!
Hi,
I noticed that people already downloaded the files. Can you provide some feedback?
Note: adb is now working but only over wi-fi.
Better chance for newer Android ?
Hi,
I just got an idea which are the capabilities of ClockworkMod. Using this tool I am able to install a better Android than 1.6.
But is any newer Android for this device out there?
Regards
Svgt99
svgt99 said:
Hi,
I just got an idea which are the capabilities of ClockworkMod. Using this tool I am able to install a better Android than 1.6.
But is any newer Android for this device out there?
Regards
Svgt
Click to expand...
Click to collapse
I'm working on that too. It will take some time to have a ROM ready since I'm not working full-time on this.
Cheers
How do I enter commands paar after this in FastBoot?? how I do this in Windows? Please put clearer instructions in order to offer a feedback
cesargdmi said:
How do I enter commands paar after this in FastBoot?? how I do this in Windows? Please put clearer instructions in order to offer a feedback
Click to expand...
Click to collapse
hi cesargdmi,
Just updated the first post with more instructions on how to prepare your PC.
If you still have questions feel free to ask.
Best Regards
Up and running now, I'm trying to create a ROM for this device but I never did, so I'll have to read much to make, I am not relying on these links.
http://forum.xda-developers.com/showthread.php?t=633246
http://theunlockr.com/2010/03/26/ho...om-for-android-part-1-setting-up-the-kitchen/
but apparently, it is not easy, you've made ​​some progress in creating the ROM? to please me feedback.
cesargdmi said:
Up and running now, I'm trying to create a ROM for this device but I never did, so I'll have to read much to make, I am not relying on these links.
http://forum.xda-developers.com/showthread.php?t=633246
http://theunlockr.com/2010/03/26/ho...om-for-android-part-1-setting-up-the-kitchen/
but apparently, it is not easy, you've made ​​some progress in creating the ROM? to please me feedback.
Click to expand...
Click to collapse
In the next few days I'll give an update on my developments. But I'm still on an early stage, I still don't have a bootable ROM .
I'm trying to build a custom ROM from Cyanogen code. This is how to prepare the Cyanogen code for your PC:
Install the Build Packages
1)Install using the package manager of your choice:
For 32-bit & 64-bit systems:
Code:
sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush schedtool
For 64-bit only systems:
Code:
sudo apt-get install g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib
NOTE: gcc-4.3-multilib g++-4.3-multilib is no longer available for Ubuntu 11.04 64-bit, but should still build without issue.
NOTE: On Ubuntu 10.10, and variants, you need to enable the parter repository to install sun-java6-jdk:
add-apt-repository "deb http://archive.canonical.com/ maverick partner"
Create the Directories
You will need to set up some directories in your build environment.
To create them:
Code:
mkdir -p ~/bin
mkdir -p ~/android/system
Install the Repository
Enter the following to download make executable the "repo" binary:
Code:
curl [url]http://android.git.kernel.org/repo[/url] > ~/bin/repo
chmod a+x ~/bin/repo
NOTE: You may need to reboot for these changes to take effect.
Now enter the following to initialize the repository:
Code:
cd ~/android/system/
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
repo sync -j16
This will take about two hours.
With this tutorial you will have the Cyanogen Android OS 2.3.5 code on your system.
To start a ROM for Compaq Airlife 100 you will need to create these under the device/ directory:
Code:
mkdir compaq
cd compaq
mkdir airlife
cd airlife
And paste these files there.
This is only a basic start, we will need to learn by your own from here. Try to see the other directories inside the device/ folder and learn from other devices settings.
hehe
I'm just installing Ubuntu 9.10 to start doing the procedure, although I was reading says that is only valid for HTC but do not lose anything by trying.
if you run into any progress let me know
Adb
Hi Insid3r can you try to modify this file "default.prop" in the root folder? Inside this is a command with this name "persist.service.adb.enable=0", try to put a 1.. My english is bad sorry.!
I'll post that later, already did that to make the ADB work via Wi-Fi. Even with that option enabled the ADB doesn't work via USB.
Best Regards.
Ok, I did not know, but at least I tried. I also managed to install Flash Player 10.1, but can not get it to work with the native browser and others like opera and dolphinn either. Could you help me?
Best regards
Pleace, I'll go creazy thinking about how to install flash player plugin.
The file I used is on various internet sites is called "flash for 21" and I change and put in the AndroidManifest.xml "minsdk = 4" to install in the airlife.! Can you help me with this?
Thank you!!!!
Greetings.
@insid3r
Hi! I'm going to try this... have you stoped trying to port it? Or is any limitation? Is the bootloader unlocked? I don't undertand if the reason that there's NO roms is that it's blocked somehow, or is it for there's not many poeopl souporting this kidn of projects =/
I WANT to follow with this, please contact me through PM
Greetings from Argentina.
Insid3r, thanks ever answer but I need ask you something about update the compaq airlife 100, after you make the fastboot (back+power) and connect the netbook to the USB computer.
What driver you'd use? because in my Hardware Administrator not show the device, just says Android 1.0 (and its unrecognized) and in cmd when call the function fastboot devices (in the help command says must show a list of devices and not appear the compaq)
Best and thanks for your time.

Install android-tools package adb and fastboot in Ubuntu 12.04, 11.10 or 11.04

Hi,
i sharing this link for ubuntu user, intallation is very easy for n***
Source webupd8.org, articles link
webupd8.org said:
These tools can be found in the Android SDK too; using the official package in Ubuntu 12.10 or the packages in our PPA is just an alternative and easier way I'd say, to install them in Ubuntu. Also, the packages in the PPA are available for both 32bit and 64bit, while the Android SDK provided by Google is only available for 32bit.
Click to expand...
Click to collapse
installation
Code:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update && sudo apt-get install android-tools-adb android-tools-fastboot
Thank you so much...bro...i have tried each and everything on google but failed every time...your post was really helpful..
THANK YOU
Thanks so much Bro. Simple but very useful!

[GUIDE] Setting up ADB and fastboot on ChromeOS using Crouton

**I TAKE NO RESPONSIBILITY FOR WHATEVER HAPPENS TO YOUR CHROMEBOOK.**
Follow this guide at your own risk
First, I would like to say that I have no built anything myself. All the work shown here has been compiled from the internet.
Second, I am no expert at this kind of thing but I have tried out everything myself and this is what has worked for me with Acer C7. ADB and fastboot work without any problems on my computer.
Third, this can actually go beyond just ADB and fastboot. You can develop with minimal restraints, but I will only be covering how to install ADB and fastboot.
Finally, I would appreciate if someone familiar with all of this would tell me what I can cut out/add as this was done by a trial and error process so I’m not entirely too sure what is necessary and what is not, or if there is an easier way of going about things.
This is a guide for anyone who wants to be able to run ADB and fastboot on their chromebook. Just note that it may take a lot of memory (it took around 4-5 GB for me), so you may want to install it on an SD card.
WARNING!
In order to run crouton and install Ubuntu you will have to go into developer mode which will wipe your device.
Instructions can be found here: http://www.chromium.org/chromium-os/poking-around-your-chrome-os-device
You can work with virtual terminal 2 or crosh shell. I recommend using a crosh shell because it’d be easier to look back here for info.
Files you’ll need (Choose according to 32 or 64 bit)
Crouton- http://goo.gl/fd3zc (Official site: https://github.com/dnschneid/crouton)
Android SDK- http://dl.google.com/android/adt/adt-bundle-linux-x86-20131030.zip OR http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20131030.zip (Official Site: https://developer.android.com/sdk/index.html?hl=sk )
JDK- http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-i586.tar.gz or http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.tar.gz
I will not go over the actual installation of crouton as that can be found here: https://github.com/dnschneid/crouton
I used precise and xfce:
Code:
-e ~/Downloads/crouton -t xfce
Okay now that you have crouton installed and running, let’s get to work. First comes the installation of JDK. Download the version of JDK for your bit version and extract it. Go over to Ubuntu (using the command:
Code:
sudo startxfce4
) and using terminal emulator move it over to /usr/lib/jvm with the code
Code:
sudo mv jdk1.7.0_51 /usr/lib/jvm/
Using the file manager go to /home/<USERNAME> and open the .bashrc file using gedit text editor and add this code at the end, DO NOT OVERWRITE ANYTHING
Code:
PATH=${PATH}:/usr/lib/jvm/jdk1.7.0_51/bin
JAVA_HOME=/usr/lib/jvm/jdk1.7.0_51
Wit that, you are done with installing JDK.
Moving onto the actual Android SDK, first download it.
Extract it and move the SDK into /local/usr
Assuming that the file is in your Downloads directory, use the commands:
Code:
sudo mv adt-bundle-linux-x86-20130219 /usr/local/
Next you’ll make a symlink to make typing commands easier:
Code:
sudo ln -s /usr/local/adt-bundle-linux-x86-20130219/ /usr/local/adt
Then go back to the bashrc file and add this code at the end once again, DO NOT OVERWRITE ANYTHING:
Code:
PATH=/usr/local/adt/sdk/platform-tools:/usr/local/adt/sdk/tools:/usr/lib/jvm/jdk1.7.0_15/bin:/usr/local/gradle-1.4/bin:$PATH
ANDROID_HOME=/usr/local/adt/sdk
Save and close the file, and run the command “. ~/.profile” in terminal.
Run the code and answer with y:
Code:
sudo apt-get install ubuntu-standard
sudo apt-get install ubuntu-desktop
sudo apt-get install synaptic
sudo apt-get install ia32-libs
sudo apt-get update
This might take some time and when that finishes type in
android
If you get permission denied run the command:
Code:
chmod u+x android
This should launch the Android SDK Manager. Check the tools section and install. When this is done, you should have ADB up and running.
Check using the command:
Code:
adb version
or just by typing adb
if you get list of commands you can run, congratulations ADB has been installed successfully!
Now check fastboot by typing fastboot. Once again if you get a list of commands for fastboot, congratulations you're done!
You now have ADB and fastboot on your Chromebook!
You can PM me and I will try to help if you have questions, or reply to this post.
Enjoy! :good:
Excellent post. One quick question however. When I attempt to install ia32-libs I get this:
Code:
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
lib32z1 lib32ncurses5 lib32bz2-1.0
E: Package 'ia32-libs' has no installation candidate
My question is: Should I install all 3 replacement packages (lib32z1 lib32ncurses5 lib32bz2-1.0)? One of them?
This dude here says I can repackage it manually. Should I do that?
You rock for taking the time to post this!
Tanks so much!
I would install everything as it is replacement
This guide is a bit long and tedious so if you want here is an installer made by HeadFox that worked for me on Trusty Unity.
http://forum.xda-developers.com/showthread.php?t=2431956
cheers!
when i get to entering ~/.profile, I get a permission denied message. the only thing different that I know I did was use the android SDk from the Android studio currently available and not the zip you provided a link to and obviouslyh change the file paths accordingly. any thoughts
08BajaBoy said:
when i get to entering ~/.profile, I get a permission denied message. the only thing different that I know I did was use the android SDk from the Android studio currently available and not the zip you provided a link to and obviouslyh change the file paths accordingly. any thoughts
Click to expand...
Click to collapse
You basically want to run .profile again, which is run once you spawn your linux chroot/crouton. I think the easiest way is to just logout of your linux session and then run crouton again.
Yeah, that's sorta like a "just reboot it" fix but not actually a full reboot.
vanillaflavor said:
**I TAKE NO RESPONSIBILITY FOR WHATEVER HAPPENS TO YOUR CHROMEBOOK.**
Follow this guide at your own risk
First, I would like to say that I have no built anything myself. All the work shown here has been compiled from the internet.
Second, I am no expert at this kind of thing but I have tried out everything myself and this is what has worked for me with Acer C7. ADB and fastboot work without any problems on my computer.
Third, this can actually go beyond just ADB and fastboot. You can develop with minimal restraints, but I will only be covering how to install ADB and fastboot.
Finally, I would appreciate if someone familiar with all of this would tell me what I can cut out/add as this was done by a trial and error process so I’m not entirely too sure what is necessary and what is not, or if there is an easier way of going about things.
This is a guide for anyone who wants to be able to run ADB and fastboot on their chromebook. Just note that it may take a lot of memory (it took around 4-5 GB for me), so you may want to install it on an SD card.
WARNING!
In order to run crouton and install Ubuntu you will have to go into developer mode which will wipe your device.
Instructions can be found here: http://www.chromium.org/chromium-os/poking-around-your-chrome-os-device
You can work with virtual terminal 2 or crosh shell. I recommend using a crosh shell because it’d be easier to look back here for info.
Files you’ll need (Choose according to 32 or 64 bit)
Crouton- http://goo.gl/fd3zc (Official site: https://github.com/dnschneid/crouton)
Android SDK- http://dl.google.com/android/adt/adt-bundle-linux-x86-20131030.zip OR http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20131030.zip (Official Site: https://developer.android.com/sdk/index.html?hl=sk )
JDK- http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-i586.tar.gz or http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.tar.gz
I will not go over the actual installation of crouton as that can be found here: https://github.com/dnschneid/crouton
I used precise and xfce:
Code:
-e ~/Downloads/crouton -t xfce
Okay now that you have crouton installed and running, let’s get to work. First comes the installation of JDK. Download the version of JDK for your bit version and extract it. Go over to Ubuntu (using the command:
Code:
sudo startxfce4
) and using terminal emulator move it over to /usr/lib/jvm with the code
Code:
sudo mv jdk1.7.0_51 /usr/lib/jvm/
Using the file manager go to /home/<USERNAME> and open the .bashrc file using gedit text editor and add this code at the end, DO NOT OVERWRITE ANYTHING
Code:
PATH=${PATH}:/usr/lib/jvm/jdk1.7.0_51/bin
JAVA_HOME=/usr/lib/jvm/jdk1.7.0_51
Wit that, you are done with installing JDK.
Moving onto the actual Android SDK, first download it.
Extract it and move the SDK into /local/usr
Assuming that the file is in your Downloads directory, use the commands:
Code:
sudo mv adt-bundle-linux-x86-20130219 /usr/local/
Next you’ll make a symlink to make typing commands easier:
Code:
sudo ln -s /usr/local/adt-bundle-linux-x86-20130219/ /usr/local/adt
Then go back to the bashrc file and add this code at the end once again, DO NOT OVERWRITE ANYTHING:
Code:
PATH=/usr/local/adt/sdk/platform-tools:/usr/local/adt/sdk/tools:/usr/lib/jvm/jdk1.7.0_15/bin:/usr/local/gradle-1.4/bin:$PATH
ANDROID_HOME=/usr/local/adt/sdk
Save and close the file, and run the command “. ~/.profile” in terminal.
Run the code and answer with y:
Code:
sudo apt-get install ubuntu-standard
sudo apt-get install ubuntu-desktop
sudo apt-get install synaptic
sudo apt-get install ia32-libs
sudo apt-get update
This might take some time and when that finishes type in
android
If you get permission denied run the command:
Code:
chmod u+x android
This should launch the Android SDK Manager. Check the tools section and install. When this is done, you should have ADB up and running.
Check using the command:
Code:
adb version
or just by typing adb
if you get list of commands you can run, congratulations ADB has been installed successfully!
Now check fastboot by typing fastboot. Once again if you get a list of commands for fastboot, congratulations you're done!
You now have ADB and fastboot on your Chromebook!
You can PM me and I will try to help if you have questions, or reply to this post.
Enjoy! :good:
Click to expand...
Click to collapse
Welldone mate!!

S7 Nethunter USB/WLAN - Kernel Headers

Hi,
i have realy big problems finding kernel headers for the 3.18.44-nethunter-herolte-xx-1.5
I gut stucked while i tried to compile the drivers for my USB WLAN Adapter with RTL8821AU Chipset.
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get install linux-headers-$(uname -r)
...
...
does anybody knows a working repository to place in the sources.list? Or have anybody an idea getting the driver running.
The Kali wiki etc. don't have any usefull information about this. The main answer is try apt-get update....
Thanks in advance

Categories

Resources