Am I able to force monitor mode in my phone? - Android Apps and Games

Hello,
So I'm a user of LG G3 F400K | rooted | Android 4.4.2. I recently became interested in "hacking", exacly I want to be able to hack WPA2 wifis from my phone. I installed Kali linux on my LG, and I tried to use "Wifite" tool. But I'm not able to do anything because all I get instead of network informations are question marks. I believe its because program can't put my phone into a monitor mode. So my question is if there is any possibility to force this monitor mode? I tried with:
- airmon-ng command
- wifite command
- bcmon app
I also rented phone from my friend but it still wasn't working.
So is there option to check if phone will support this mode by itself (without any wifi adapters) before buying it? or I can simply install something that will force this mode? (installing cyanogenmod for example. I have no idea)
Regards, Maciej.

Related

[Q] how to tether my android MID to android 3G phone phone

Hi, there,
Need your great help here, am I trying to do an impossible thing?
I have a SmartQ V7 MID device (en.smartdevices.com.cn/Products/V7/200912/04-40.html), which runs android 2.1, Ubuntu(ARM), and WindowCE.
and I have a ZTE N600 3G phone running android 2.1. It is a pity the phone doesn't support wifi or bluetooth.
I am trying to tether this MID device via USB to N600 to better use the 3G connection. I searched the internet, and tried several ways, but all failed:
1. Azilink (install ok) + OpenVPN (install on Ubuntu ARM) + Android SDK ( no sdk available, especially no adb to do the tcp forward, I tried to build adb on Ubuntu ARM, but failed )
2. Wired tether tool (code.google.com/p/android-wired-tether), it doesn't support my phone kernel.
3. usb_mode_switch on Ubuntu ARM, but the tool keeps seeing the phone as the sd disk instead of a modem.
4. PDANet works on my PC to my N600 phone. But there is no PDANet that the MID could use.
I am about to give up, am I trying an impossible thing? Many thanks in advance for your help or comment.

LG G3 D850 unlock Mobile Hotspot tethering noroot

Hello fellow LG G3 owners,
After much frustration, I am pleased to announce that I figured out how to unlock wifi "Mobile Hotspot" tethering without root.
1) enable debugging in developer options on your phone
2) set up android SDK and ADB on your computer
3) run this command in adb"
Code:
adb shell settings put system tether_entitlement_check_state 0
4) confirm it worked:
Code:
adb shell content query --uri content://settings/system | grep tether
5) go to "Tethering & Networks" in your phones settings and enable Mobile Hotspot :good:
Enable developer mode:
http://www.androidcentral.com/android-50-lollipop-basics-how-turn-developer-settings
Linux users may need to read this:
http://forum.xda-developers.com/lg-g3/general/guide-connecting-lg-g3-to-linux-adb-aka-t2821673
I'm on D850 4.4.2 custom stock rom. my build.prop is edited to show T-Mobile network icons, which disables the wifi hotspot feature. I'll try this in 5 minutes.
Edit: unsuccessful with my setup. I want to keep my TMO network icons because it increases my bars and adds the HD voice calling feature. but I can't use wifi hotspot -_-
Sent from my LG G3
Followed the steps. Running abd on windows cmd. USB debugging is enabled.
When I enter: "adb shell settings put system tether_entitlement_check_state 0"
I get an error saying "/system/bin/sh: not found"
Note: I'm on stock lollipop OTA (no root)
Thank you, worked for me, I'm on Lollipop, rooted, with twrp installed, I couldn't edit the settings.db, said it was locked, so I followed your instructions, and worked great.
Update: After root...this method works for me. On AT&T G3 Lollipop 5.0.1 ROOTED. (As previously stated, this method didn't work for me without root)
Thanks for the post for getting it working
How do you run the command in terminal emulator?
UMGixxer said:
How do you run the command in terminal emulator?
Click to expand...
Click to collapse
Just type eveything after shell:
Code:
settings put system tether_entitlement_check_state 0
Thank you, its working on my device as of now. Does anyone know how AT&T can tell if you are tethering? I assume if they notice a large increase in data usage but idk.
UMGixxer said:
Thank you, its working on my device as of now. Does anyone know how AT&T can tell if you are tethering? I assume if they notice a large increase in data usage but idk.
Click to expand...
Click to collapse
I've used tethering via tethering hacks or custom roms on AT&T without a tethering plan for four or five years now -- One time I even managed to rack up a 100GB ($900 some odd dollars worth....seriously) of overages (CM9 tethering WiFi to PC, cat unplugged WiFi router) and didn't even have to pay for it (I played stupid....learned to disable data when I do that). I even TOLD them I was tethering and they didn't care.
Your mileage may vary, but from my experiences, they don't check nor do they even care.
I mean, if I can rack up $900 in overages, tell them I did it by doing something I shouldn't even have, and then have them wipe away the charges and not have to pay for it.....they clearly just don't care and obviously don't check....or their checking method is crap....
nhusby said:
Hello fellow LG G3 owners,
After much frustration, I am pleased to announce that I figured out how to unlock wifi "Mobile Hotspot" tethering without root.
1) enable debugging in developer options on your phone
2) set up android SDK and ADB on your computer
3) run this command in adb"
Code:
adb shell settings put system tether_entitlement_check_state 0
4) confirm it worked:
Code:
adb shell content query --uri content://settings/system | grep tether
5) go to "Tethering & Networks" in your phones settings and enable Mobile Hotspot :good:
Enable developer mode:
http://www.androidcentral.com/android-50-lollipop-basics-how-turn-developer-settings
Linux users may need to read this:
http://forum.xda-developers.com/lg-g3/general/guide-connecting-lg-g3-to-linux-adb-aka-t2821673
Click to expand...
Click to collapse
If you have root, you can also add the following line to the build.prop....
Code:
wifi.lge.common_hotspot=true
You might need to do a full wipe for it to activate the change, but your phone will no longer check for authorization.
Yeah I have used this method to get my Hotspot working and no luck. But when I install any custom rom I have no problem with my Hotspot and have used it solely for all data running through my house over 100 gigs one month. I'm on the $80 unlimited T-Mobile plan but that only allows for 5gb Hotspot.
Thanks, I was about to go full root/rom just to get tethering, but I'm quite happy with the stock experience, so this is the bees knees for me. Here's my experience from fully stock, non-rooted, AT&T LG G3 running Android 5.0.1-
After Step 2, When you first plug your phone in, you'll get a notification for USB options... Choose Media sync (MTP). You will also have to authorize the PC.
Now you can run the first command in ADB, then second command stated grep wasn't recognized, but upon checking the phone Mobile Hotspot functioned as desired.
As for the cell provider recognizing your activity, they can, but usually don't care unless you are abusing it. One simple way they can tell you are tethering is by seeing what browser you are using..... for example, if you watch several hours of Netflix on your PC while tethered, they can go in and see you have been using the desktop version of Chrome. You could always use a VPN/Tunneling service to encrypt your data, but those usually cost a little and are slower due to the extra hop and encryption overhead.
Awesome. Works like a charm. I used to install cyanogenmod to "stick it to the man", but discovered with the new phone that it seems my company has bundled in tethering with their AT&T contracts, so I had not bothered.
Then I found this thread and enabled it in one easy command. Now I no longer see a message about checking authorization for tethering. Stickin' to the man still has some satisfaction
BTW, if anyone wants to restore, "4" was the default for my 5.0.1 D85020f Build LRX21Y:
[email protected]:/ # content query --uri content://settings/system | grep tether
Row: 216 _id=263, name=tethering_time, value=600000
Row: 314 _id=3525, name=tether_entitlement_check_state, value=4
​
Will this work with Sprint LG G3 Lollipop version?
winn75 said:
Will this work with Sprint LG G3 Lollipop version?
Click to expand...
Click to collapse
it does work I just did it and worked like a charm.
Thank you for sharing. I tried 3 times, worked the third. I think typing error was the reason.
joe-45 said:
it does work I just did it and worked like a charm.
Click to expand...
Click to collapse
It didn't work for me.
did you have to first type "adb shell" then press enter?
[email protected]:/ $ settings put system tether_entitlement_check_state 0
do i have to put a # sign?
could someone make a video of how to?
Worked perfectly for me, just used Terminal Emulator from the phone. Only worked after I entered 'su' command and entered the lines as root.
Thanks!
Worked on my LG G4, thanks everyone.
Sent from my LG-H810 using XDA Free mobile app
Worked on my Stock 5.0.1 (lollipop)
:good:
Thanks! Works on my LG G3 android version 5.0.1, software version D85021q, kernal version 3.4.0, build number LRX21Y - pure stock with ota updates. No root.
I tried the second command first :
adb shell content query --uri content://settings/system
the "grep" won't work on windows if you don't have "grep" installed. Regardless, this would be good to see if you can connect to the phone properly. At first I got some error about server being outdated/old. But after trying a couple of time, it showed the contents.
The first time I tried adb shell settings put system tether_entitlement_check_state 0,
I got an error message as well. I just tried it a couple of times and it went through.
Tested at my gym and just now at work, and all's well.

[Q] Monitor mode in chrooted kali using bcmon

Hi all,
I have a Nexus 7 (2012) wifi model tablet which is said to be compatible with bcmon(https://code.google.com/p/bcmon/). I am running cyanogenmod 10.2.
So I installed the bcmon.apk and the firmware files and then enabled monitor mode through the menu but when I select airodump-ng from the next menu, the android terminal pops up and nothing is displayed. Anyway the main reason I installed bcmon is in order to use it with my chrooted kali image. I cannot use airodump-ng from my chrooted kali beacuse it seems bcmon executes some other scripts(uses a special library?) before enabling monitor mode. I think it would be awesome to have aircrack-ng working on chrooted images without external wireless usb sticks. I dont seem to find any way to do this however, so I wonder if someone has managed it yet

My Moto G is not connecting to PC even after other Moto G connects to the same PC

Well guys, from the title you will think that its a regular windows drivers problem, but its not that straight. My Moto G is not even detecting to my laptop having windows 10 system (no yellow exclamation mark in device manager, not even an error message atleast) But at the same time my friends Moto G and Moto E is connecting in seconds and able to see that in device manager, also able to access files from mobile storage.
First time in my life I am feeling clueless even after trying every option to fix it.
First the basic system information for you:
Laptop: Dell Inspiron 1545 , Windows 10 OS Pro version (not K and KN version )
Drivers installed: Motorola device manager, Google SDK pack is also installed with its ADB driver.
About phone:
Moto G XT1033 16GB model[/COLOR]
OS: non rooted stock Lollipop 5.1 OS, Developer options enabled-USB debugging enabled
Now things I've already tried to fix this:
With Windows 10:
1) Downloaded Motorola device drivers from mototola website for Moto G. Installed, checked for update drivers. Thoroughly gone through Device manager and checked there but no sign of device at all.
2) NO problem with data cable because it can transfer data and not just a charging cable. confirmed and verified.
3) Checked USB ports for loose contacts at both sides of wire. Connected in every port for hope. No such problem.
4) Even after my Windows 10 is a Pro version I still tried to install Media Feature Pack as suggested by Microsoft site in case to overcome this problem but no luck.
5) Whenever I tried to run Motorola device manager, it just checks for new device software and goes off saying no updates.
Now even you can tell that there is no issue with windows system.
With Moto G:
1) Checked USB debugging, stay awake options In developer options.
2) Tried changing MTP option to PTP and reverse in setting - storage menu.
3) Checked every setting menu from android settings and apps to make sure no one is preventing this device from connecting.
4) Tried reseting mobile with to factory.
5) Pen drive is connecting to mobile via USB OTG and data transfer is working to and fro.
Important:
1) I can transfer my mobile files to PC by wireless method using apps, but I want to root my device. For that I have to connect it to PC to unlock the boot loader.
2) Before 2 months with the same system and windows 10, this moto g was connecting to PC and I was able to transfer files. But for now its not connecting at all.
Sorry for the long post but help me guys !!! What can you suggest me here if I am missing something ?
Thanks in advance.:good:
Things you could try:
- Use a Linux OS (live CD/USB) and run lsusb to see if anything shows up
- Put the phone into bootloader mode (fastboot) and see if the PC detects any USB device
If both of the above fail, the USB port in your phone may be defective.
_that said:
Things you could try:
- Use a Linux OS (live CD/USB) and run lsusb to see if anything shows up
- Put the phone into bootloader mode (fastboot) and see if the PC detects any USB device
If both of the above fail, the USB port in your phone may be defective.
Click to expand...
Click to collapse
Thanks for the quick reply. I tried to connect mobile in fastboot mode and now its saying [device descriptor request failed] in device manager. I am trying further and will also check linux os option that you suggested.
Tried both of your workarounds
When connected in fastboot mode it is showing [device descriptor request failed] in device manager.
Searched about it a lot and tried different solutions suggested for it..but its still not connecting properly.
2) checked with live cd and using command lsusb but no luck there ..
Now I'm really thinking that it's a USB port problem/hardware problem of mobile..but how that port is working fine for charging ??
Plzz suggest me any other methods of fix thus problem or is there any other way rather than connecting mobile to pc for unlocking Motorola devices bootloader ???
After a couple of hours trying to fix this problem with my XT1039, I solved it with this windows update: https://www.microsoft.com/en-us/download/confirmation.aspx?id=49919 .
All over the internet ppl say that Media Feature Pack for N and KN versions of Windows 10 should be installed but all the mirrors and 1st results goes to the PREVIOUS version which didn't solve my problem. With this latest version, everything is working now.

TP-Link TL-WN722N wifi drivers for linux Nethunter .

Hi.
I want to install NetHunter on my OnePlus One phone.
Will probably flash a CM12 or 13 rom with NetHunter 2.0.
I have external adapter TP-Link-TL-WN722N, currently used for Linux kali rolling on my PC laptop. Since my OPO chip-set doesn't support monitor mode, I would like to use TP-Link-TL-WN722N.
My problem is finding the wifi drivers to install on a Android.
(Q) If you are currently using TP-Link TL-WN722N for NH or Linux Deploy, how did you download the drivers?
(Q) Is there an existing kernal to install having these drivers?
Or a set of instructions I could follow.
(Q) There is a linux package (firmware-atheros) in linux repository. Will this have the drivers?
Currently using ROM Lineage os 14.1.2, 64gb. Rooted phone with SuperSu 2.82 TWRP 3.1.1
I have an OTG host cable I tested with a mouse.
I'm fairly new at this so please explain.
Thanks.
TC.
Not working for me
@tomx2x I have the same question, the TL-WN722N doesn't want to work with the firmware-atheros package altough it should work with that. Did you manage to solve it?
Rooted, Cm13, android 6.0.1 twrp super su and flashed nethunter full 2017.10 with kernel 3.4.110. Installed firmware-atheros in terminal. Lsusb kind of shows something but not really recognising the adapter
This is a v2
Turned out that this is a v2 with r8188eu chipset.. no monitor mode
yesimxev said:
@tomx2x I have the same question, the TL-WN722N doesn't want to work with the firmware-atheros package altough it should work with that. Did you manage to solve it?
Rooted, Cm13, android 6.0.1 twrp super su and flashed nethunter full 2017.10 with kernel 3.4.110. Installed firmware-atheros in terminal. Lsusb kind of shows something but not really recognising the adapter
Click to expand...
Click to collapse
This is where I stand.
@yeseximv.
I am running TP-Link-TL-WN722N V1 but still cannot connect.
Newbie with Linux, so maybe you can assist me.
Trying Nethunteros rom.
Flashed Nethunteros successfully. Install Kali Chroot-full.
Using Bvnc app as VNC client to connect via ssh.
Firmware-atheros drivers are part of the Nethunteros kernal. Installed in /system/etc/firmware.
I am trying to connect to the internet w/o using a Network Manager app.
Here are the steps I performed.
1. Started Dbus service
2. Ifconfig Wlan0 up (Interface I am using).
3. Entered linux command: iw dev wlan1 connect “BayBreeze Hotel”
Terminal Message returned stated “connected”
TL-WN722N (wlan0 interface) starts blinking.
4. Launch Firefox.
I should see the hotel's Login page.
Received message “Problem loading page”
I know the essid “BayBreeze Hotel” is a active wireless wifi network. When not using Linux, I can launch & connect wifi (BayBreeze Hotel)on my OnePlus phone by going to settings.
There must be some commands/steps I am missing. Can you or anyone in this thread help?
If I cannot get this going, my next step will be to use Network-Manager apps.
In terms of your V2 TP-Link.
In GitHub forum there is NetHunter kernal (LKernel491.zip} I tried and was successful in Monitor mode.
Firmware is part of the kernal (no need to install firmware atheros manually).
You can go to the link I provided below, ask the Programmer (Bkr32) whether it supports V2.
My only issue using Lkernel491 patch is getting “Device Not Managed” error connecting to Network_Manager app. Tried Set*managed=true*in*/etc/NetworkManager/NetworkManager.conf.
But still unsuccessful.
Instructions to install are part of the link provided.
Here is the link:
https://github.com/offensive-security/kali-nethunter/issues/962#issuecomment-330428124
Thanks.
TC.
Got it
Newbie here too so can't help you with that, sorry. I finally got an AWUS036NEH and it all works flawlessly
tomx2x said:
@yeseximv.
I am running TP-Link-TL-WN722N V1 but still cannot connect.
Newbie with Linux, so maybe you can assist me.
Trying Nethunteros rom
...
Thanks.
TC.
Click to expand...
Click to collapse
yesimxev said:
Newbie here too so can't help you with that, sorry. I finally got an AWUS036NEH and it all works flawlessly
Click to expand...
Click to collapse
@yesimxev.
Can you provide the steps/commands you use to connect and launch the internet with AWUS036NEH wifi dongle. This may help me with my problem.
Thanks.
tomx.
I haven't used for connecting the internet, will test if works. I was interested in the monitor mode.
As before: Rooted, flashed twrp, super su, Cm13 with android 6.0.1 (stock firmware) and flashed nethunter (nightly) full 2017.10, then kernel 3.4.110. Installed firmware-atheros in terminal. Updated metapackages. Downloaded wifi metapackages, not sure if it's needed though. Then starting monitor mode works from the nethunter custom commands. Try making this config, then you can add the custom command to run after you plugged in the adapter.
https://forum.xda-developers.com/showthread.php?t=2121791
tomx2x said:
@yesimxev.
Can you provide the steps/commands you use to connect and launch the internet with AWUS036NEH wifi dongle. This may help me with my problem.
Thanks.
tomx.
Click to expand...
Click to collapse
Find drivers no problem
they are on tplink website with some manuals
but i think git is better..
have Nexus 7 .. for some reason it not detecting WN722N v3
but can see OTG (Running nethunter 2020)
so found this manual
download the driver , extract it in a folder , right click in folder and choose Open in termianl
and then enter these commands :
make clean
make all
cp realtek_blacklist.conf /lib/modprobe.d/
make install
reboot
to activate monitor mode :
ifconfig down
iwconfig mode monitor
ifconfig up
Hope it will work !!!!
shame on nethunter for not preloading drivers !!!!

Categories

Resources