AR9271 wifi dongle support - Nexus 6 Q&A, Help & Troubleshooting

I have a nexus 6 and have successfully installed nethunter on top of stock rom and had some questions.
Is there a flashable rom with native support for a wifi dongle with out using the kali chroot, so that i can use the alfa wifi dongle with androids browser and and mon apps?
csploit was unable to recognize my external card.
I have flashed cyangonmod and tried it as well.
lastly is there anywhere u can suggest to read up more on pentesting from a android?
thank you

Related

[USB-Tethering] Wired Tether for Root Users

Hi!
I've put an app together (99% based on "Wireless Tether for Root Users") which allows tethering via USB. Clients need to support RNDIS - works fine with Microsoft Windows (tested with XP and 7) and Linux (OpenSuSE 11.1).
Zinx Verituse has ported the essential parts of the hero-kernel and cyanogen has introduced this feature in his latest rom. So, thanks Zinx for the patches and cyanogen for publishing on github.
Patches can be found here:
http://github.com/cyanogen/cm-kernel/commit/9fd56ebdb6aba91e9b17ddea490ec9b39a819112
http://github.com/cyanogen/cm-kernel/commit/1a57339f015c3bfa097cf1d3e82f3485a6652483
I've decided to create this app to give all rom-cooks the ability to use this feature without modifying system-services and/or system-apks.
What a cook needs to do: Patch your kernel and recompile - all other stuff is done by the app.
Download:
http://code.google.com/p/android-wired-tether/
Features:
* Tethering makes use of the mobile-data-connection (HSDPA/EDGE/GPRS) or WiFi-connection
* Uses correct domainname-servers - provided by your carrier or which are configured on the wifi-access-point you connect (even if the network changes => switch from 3g to wifi and vice versa)
* Allows to change the local-network (network/subnetmask)
Supported ROMs:
* CyanogenMod 4.2.3.1+
* Android Dev Phone 1
=> my kernel-update needs to be applied: http://code.google.com/p/android-wired-tether/downloads/list?q=Kernel
* ?
Have fun!
Harry
THX a lot for this app
sudo dhclient usb0 and there you go
Good work.
Alot of the hero roms were finally able to get wireless tethering for root working on, well, hero roms. i installed, but cant get it working. What patch should i use, im using Sense Hero1.3.3
Hi Harry,
I'm visiting from the CDMA Hero forum, in the hopes that you might have some pointers on how to get this to work on the rooted CDMA Hero?
When I looked at this project over at code.google.com, it seems like this requires 1.6, where the CDMA hero is running 1.5. Will this fact doom us to ever run wired tether at this point?
From what I can tell on my Hero, everything seems to run fine until after I allow root access for the app. It then gives me a FC when accessing the system settings (as it's the one referenced in the FC.)
Can I apply your kernel safely to my ROM? Thanks in advance for your help!!
doesnt seem to work with macs
kmartburrito said:
Hi Harry,
I'm visiting from the CDMA Hero forum, in the hopes that you might have some pointers on how to get this to work on the rooted CDMA Hero?
When I looked at this project over at code.google.com, it seems like this requires 1.6, where the CDMA hero is running 1.5. Will this fact doom us to ever run wired tether at this point?
From what I can tell on my Hero, everything seems to run fine until after I allow root access for the app. It then gives me a FC when accessing the system settings (as it's the one referenced in the FC.)
Can I apply your kernel safely to my ROM? Thanks in advance for your help!!
Click to expand...
Click to collapse
Did you try http://forum.xda-developers.com/showthread.php?t=443025?
I've been using the wired tether for the past week and have experienced some issues. Mainly, if the tether app isn't in the foreground, the process seems to randomly get restarted. This manifests as brief hiccups in internet access for the connected computer. Didn't experience this problem using WT4R (in bluetooth mode).
HW: Dream
App: wired-tether-1.0.apk
Kernel: adp 1.6 usbtether-r3
OS: Vista SP2
If I remember to, i'll post a log later tonight.
Could you please explain (or put in the first post) why use this while the current tether in Network Settings (CM4.2.x) works just fine?
Proxin said:
Could you please explain (or put in the first post) why use this while the current tether in Network Settings (CM4.2.x) works just fine?
Click to expand...
Click to collapse
If usb-tethering with cyanogenmod is working fine for you there is no reason why you should use this app. I've implemented just a few enhancements (using the correct domainname-servers, changing lan-config) - I don't know how cyanogen is doing this stuff (I don't use it).
The main-idea of this app was to bring usb-tethering to other roms (where system-settings can't be modified or roms which a pretty close to stock roms and heavily modified parts are not welcome). All you need for this is a modified kernel which can be easily done.
jashsu said:
I've been using the wired tether for the past week and have experienced some issues. Mainly, if the tether app isn't in the foreground, the process seems to randomly get restarted. This manifests as brief hiccups in internet access for the connected computer. Didn't experience this problem using WT4R (in bluetooth mode).
HW: Dream
App: wired-tether-1.0.apk
Kernel: adp 1.6 usbtether-r3
OS: Vista SP2
If I remember to, i'll post a log later tonight.
Click to expand...
Click to collapse
yes, please post your log.
harry_m said:
If usb-tethering with cyanogenmod is working fine for you there is no reason why you should use this app. I've implemented just a few enhancements (using the correct domainname-servers, changing lan-config) - I don't know how cyanogen is doing this stuff (I don't use it).
The main-idea of this app was to bring usb-tethering to other roms (where system-settings can't be modified or roms which a pretty close to stock roms and heavily modified parts are not welcome). All you need for this is a modified kernel which can be easily done.
Click to expand...
Click to collapse
Ah, it hadn't occurred to me that other roms might not yet have tethering.
Thanks for your contribution then!
Very good! Thank you!
Anyone have the usb drivers for Windows XP?
Thanks in advance!
Has anyone used this successfully with Dwang 1.13? When Cyanogen came out with USB tethering it practically rendered mounting my sdcard and adb unusable. But this would be nice to use.
Sorry...Here's the link for it all.
http://bit.ly/wDDT0
awesome app
hey dude thanks for this app. i have cyanogenmod 4.2.5 and i know usb tethering is enabled on there but i didnt know how to get it to work. this app made it easy and painless i just had to download htc sync for hero and it worked like a charm. love it..
Just wanted to jump in and say thanks. I'm using this in my newest build and it works like a charm. I couldn't remember the authors name so i came here to get it so I can give credit, so while I'm here I wanted to say good job, and thank you
iflyabeech said:
Has anyone used this successfully with Dwang 1.13? When Cyanogen came out with USB tethering it practically rendered mounting my sdcard and adb unusable. But this would be nice to use.
Click to expand...
Click to collapse
i am also using dwangs v1.13 and am interested in the usb tether. i am a newb to all of this so if anyone has used these two together please let me know.
yaz813 said:
i am also using dwangs v1.13 and am interested in the usb tether. i am a newb to all of this so if anyone has used these two together please let me know.
Click to expand...
Click to collapse
This does work on dwangs 1.13 ... however it broke the cell network I was unable to get cell signal or network so it did me no good. I am working on way to fix this but I have not done dev for any phone in a long time, so it may take me a while to find out what is doing this.

Dvb-t? USB Host

I have an micro usb DVBt dongle which runs fine on my Samsung Note 10.1 2014 Edition but not on my new z3c. I have a rooted stock rom 23.1.A.0.690. Did Sony forget to add the drivers??
Sent from my D5803 using XDA Free mobile app
No other explanation, I guess, besides no drivers. USB-OTG works, tested with keyboard & mouse.
yeah i know host mode is active but android does not know the device...
maybe the kernel modules could be compiled as modules ? loadable with modprobe / insmod? (v4l ,... )
does anyone has a arm crosstoolchain for testing?
Any ideas how to get this working? Got a Tivizen Pico and facing the same problem.

Kubuntu for Nexus 5

Ubuntu for nexus with the environnement KDE!
This version is not stable and only for nexus 5.
Plasma mobile:
http://plasma-mobile.org/devices/
Installation:
https://community.kde.org/Plasma/Mobile/FlashingKubuntuPhone
Vidéo:
https://youtu.be/auuQA0Q8qpM
Envoyé depuis MIUI 6 Miui-France
nice let me try
too afraid to repartition emmc. somebody please build a kubuntu multirom rom ! this is an epic i love plasma 5 on my laptop
If my N5 wasnt my daily driver I would defiently have tried this out!
with the hopes of having a future in Zip usable MultiROM
Envoyé depuis MIUI 6 Miui-France
i couldnt resist and tried "trying it out" . backup up sdcard/ TWRPed my main rom. backed up EFS all to my laptop. Downloaded TWRP recovery and factory images (i think ubuntu repartitions sdcard ). But when i run ubuntu-device-flash it times out when downloading. Unfortunately Kubuntu people dont have instructions for offline flashing of images yet.
Also eagerly waiting for Plasma 5.4. bring a demo wayland support for laptops(at least intel hardware) that same thing which is running on Kubuntu N5 image !
Someone can share the wallpaper? Is gorgeous
Very interesant
Enviado desde mi Nexus 5 mediante Tapatalk
anyone found anything?
sarfaraz1989 said:
anyone found anything?
Click to expand...
Click to collapse
Nothing. new ..... waiting for offline images....
I watch this on YouTube and them running this on nexus 5 looks promising.
Sent from my Nexus 5 using xda premium
LILIPUTING
REVIEWS*DEALS*MINI PCS*SHOP*ABOUTContact usAdvertise on LiliputingAbout LiliputingPrivacy Statement
Plasma Mobile: Linux-based smartphone operating system
07/25/2015*at*10:14 AM*by*Brad Linder*27 Comments
There’s a new player in the smartphone operating system*space: the folks behind the KDE desktop environment for Linux-based desktop computers have just unveiled*Plasma Mobile.

Plasma Mobile is basically a mobile version of the desktop Plasma user interface. It’s free and open source software, and while there aren’t any phones that ship with Plasma Phone OS, you can download andinstall the software on a Google Nexus 5using the same tools you would use to install Ubuntu Touch.
The software is based on*the Kubuntu operating system with an Android graphics driver, the kwin/Wayland display server. Plasma Mobile isn’t tied to Kubuntu though — it should work with other operating systems. The Nexus 5/Kubuntu software is just a reference implementation that makes it relatively easy for anyone to test the software.
The software can handle typical smartphone functions, including phone calls, notifications, a customizable app launcher, and more.
There’s also support for KDE Plasma widgets, and eventually the goal is to offer a “convergence” experience that will allow you to run desktop apps on your mobile phone. While that might not make a lot of sense when you’re using a 5 inch screen, it could come in handy when you connect your phone to an external display.
If you’ve used the desktop version of KDE Plasma, you’ve basically used 90 percent of the code that can now run on smartphones. The difference is that the mobile version uses a new shell/workspace designed for smartphones. That’s where you get the app launcher, settings, task switcher, and other features.
So what can you actually do with Plasma Phone OS? In addition to Plasma apps, the software currently supports apps developed for Ubuntu smartphones, devices running Jolla’s Sailfish OS, and eventually there are plans to support Android appwith Ubuntu …*[Read More...]
Sent from my Nexus 5 using xda premium
Flashing instruction in OP is from Linux host...
can somebody help me in flashing the image from windows workstation?
Desperately want to try this out....
hiimimtayaz said:
Flashing instruction in OP is from Linux host...
can somebody help me in flashing the image from windows workstation?
Desperately want to try this out....
Click to expand...
Click to collapse
You have to flash this with linux at this time.
As soon it supports android apps im will switch in a heart beat.
Any way it seems a little risky yet.
Sent from my Nexus 5 using xda premium
Well have installed this by muitirom and at this time it is way to buggy to use in any way.
Internet not working.
Crash after crash this has a long way to go before test should start.
Sent from my Nexus 5 using xda premium
Sent from my Nexus 5 using xda premium*KDE Community Wiki
*View**View source**History
PageDiscussion
Plasma/Mobile/MultiROM
<*Plasma‎ |*Mobile
Contents
*
*
1*How to install Plasma Mobile with MultiROM1.1*Tested devices1.2*Prerequisites1.3*Install patched MultiROM manager1.4*Install Patched TWRP MultiROM recovery1.5*Finally install the Plasma Phone
How to install Plasma Mobile with MultiROM
MultiROM is useful for installing multiple ROM's on your android device, more information can be found on
http://forum.xda-developers.com/goo...tore/apps/details?id=com.tassadar.multirommgr
Tested devices
(If you test it with another devices please add it in following list)
LG Nexus 5 (hammerhead)
Prerequisites
This guide assumes that you have kernel_kexec patch applied as mentioned in above links. You can skip installing MultiROM manager application and TWRP recovery for now. (Keep reading)
Install patched MultiROM manager
Currently MultiROM manager hard codes the image server to system-image.tasemnice.eu, However thanks to user @sedrubal on Github, MultiROM Manager is patched to use kubuntu.plasma-mobile.org instead of system-image.tasemnice.eu server.
Download APK from*https://user.fablab.fau.de/~ev80uhys/multirommgr/*and install it using adb.
adb install «Path to com.tassadar.multirommgr.debug.apk»
Install Patched TWRP MultiROM recovery
MultiROM manager uses the patched TWRP recovery to finalize the installation of the operating systems. This recovery uses PGP keys to verify the Ubuntu touch images. However current recovery only have keys for the*http://system-image.tasemnice.eu*and*http://system-image.ubports.com. So it also requires patching*: Required patch is*:https://github.com/Tasssadar/Team-Win-Recovery-Project/pull/16/
Since this is not merged yet, I have uploaded patched version athttps://share.kde.org/index.php/s/OIgNSGoymLRyahg
Download it and flash it with fastboot.
adb reboot bootloader fastboot flash recovery «path to twrp-kubuntu-keys-final.img»
Finally install the Plasma Phone
Reboot to normal Android, open MultiROM manager installed in earlier step. In the Ubuntu Card, select devel or devel-proposed and click on install..
It will take while to download. After download is over, it will reboot to recovery, in recovery it will make real installation process, so drink a coffee meanwhile..*
After that it is done installing it will reboot. Before android logo is shown it will ask you to choose from Internal or utouch_devel, Select utouch_devel to boot into your plasma.
This page was last modified on 9 August 2015, at 16:42.This page has been accessed 386 times.Content is available under*Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
NAVIGATIONMain pageCommunity portalCurrent eventsRecent changesCONTRIBUTOR HELP PAGESTasks and ToolsModify a pageAdd new contentPage elementsTypographical guidelinesMore markup helpTOOLBOXWhat links hereRelated changesSpecial pagesPrintable versionPermanent linkPERSONAL TOOLSLog inOpenID / Identity login
*Privacy policy*About KDE Community Wiki*Disclaimers*KDE Links*
KDE®*and the K Desktop Environment®*logo are registered trademarks of*KDE e.V.*•*Legal

[MultiROM] Debian for the Moto G

After a lot of work, I've been able to create a functioning MultiROM installer for a GNU/Linux distribution. Currently most things, such as WiFi, bluetooth, the display or the GSM modem, don't work. The only way to interface with the ROM while it's running is by connecting the phone to a computer, and then using ssh. My goal is getting all the phone-specific things working (WiFi first), and making GNU/Linux a viable primary OS for the Moto G.
Why GNU/Linux, when Android is already Linux-based?​
While it is true that what is possible with GNU/Linux is also possible with Android with a little bit of work, I don't like that Android is, at heart, an embedded system. This has some negative implications for hackers (not crackers) that would like to use it as a normal UNIX. For example, the whole system is treated as one big blob and many things can't be changed without recompiling., which is why there are so many ROMs available, and why they are not compatible between devices.
Guide​
Install the debian.mrom file as a normal MultiROM ROM via TWRP and select the ROM at bootup. Connect a USB cable from your computer to the phone. After around a minute, a new interface should appear on your computer (usb0 for most Linux distros, enp* for those using udev's "persistent" naming). Set its IP address to 10.0.10.1/24. Optionally, you can also set up internet access on that interface. The phone's IP address is 10.0.10.2. You can also use my script to setup the network (setup_net.sh) after changing wlp2s0 to your computer's internet-facing interface. You can then connect to the phone via SSH or a netcat shell on port 2323. The root password is root.
What I've learned about WiFi​
The WiFi setup procedure is complicated. First, the wcnss compound driver needs to be activated. Android does this by running wcnss_service, whose modified version (I basically just altered the paths and replaced Android logging with printf) I've included in the ROM (/sbin/wcnss_service). Wcnss_service does many things, but the only important one (AFAIK) is open()ing /dev/wcnss_wlan. After activating wcnss, the WiFi driver needs to be activated. Recent versions of Cyanogenmod have the driver built-in and activate it via WifiHAL (I have no idea how...), I've decided to instead build the driver as a kernel module (/wlan.ko). Insmoding the LKM does something, but the initialization fails, and I don't know why.
Dowloads​debian.mrom
setup_net.sh
The kernel is Optimus kernel by Flashhhh with a custom config
.
XDA:DevDB Information
Debian for the Moto G, ROM for the Moto G
Contributors
dvdkon
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: Debian
Version Information
Status: Testing
Created 2015-08-21
Last Updated 2015-08-29
Can you consider mirroring it to androidfilehost??
Is that Ubuntu touch ???
Please give us more explanations and screenshots... Consider a video too
navaneethkom said:
Can you consider mirroring it to androidfilehost??
Is that Ubuntu touch ???
Please give us more explanations and screenshots... Consider a video too
Click to expand...
Click to collapse
If I understand is a complete pc system , not a touch optimize system.Very useful for numerical computation, testing or something of similar.
The Ubuntu touch forum is this http://forum.xda-developers.com/moto-g/development/ubuntu-touch-utopic-ubuntu-touch-falcon-t2820359
I don't now if it is working on MultiRom.
(Sorry for my bad english)
good job D:
i've tried debian into android with the normal installer but this is awesome!
Thanks you!!
Enviado desde mi XT1032 mediante Tapatalk
What is this for? It is a PC for mobile Debian ?
Fedello7 said:
What is this for? It is a PC for mobile Debian ?
Click to expand...
Click to collapse
It is for Multirom, which is a program for dual booting an OS on an Android phone. Try searching.
Is it using a LXC Container ?
Where could I find kernel sources ?
h2o64 said:
Is it using a LXC Container ?
Click to expand...
Click to collapse
No, I'm just starting Debian instead of Android with my custom init script.
h2o64 said:
Where could I find kernel sources ?
Click to expand...
Click to collapse
I'm using the Optimus kernel with a few options changed (the config).
dvdkon said:
No, I'm just starting Debian instead of Android with my custom init script.
I'm using the Optimus kernel with a few options changed (the config).
Click to expand...
Click to collapse
Kernel changes are just about internet stuff isn't it ?
h2o64 said:
Kernel changes are just about internet stuff isn't it ?
Click to expand...
Click to collapse
I've only enabled sockets for all users and devtmpfs (for initramfs).
dvdkon said:
I've only enabled sockets for all users and devtmpfs (for initramfs).
Click to expand...
Click to collapse
Alright, thank you.
PS : Btw, do not forget to mention @Flashhhh for the kernel in the OP
The display work? The touch? A is for computer in a smartphone? Wow
Can anyone catch up to see how it looks ?
SLATE21&MOTOG said:
The display work? The touch? A is for computer in a smartphone? Wow
Click to expand...
Click to collapse
Nothing but USB works as of now, but I'm currently working on the display.
dvdkon said:
After a lot of work, I've been able to create a functioning MultiROM installer for a GNU/Linux distribution. Currently most things, such as WiFi, bluetooth, the display or the GSM modem, don't work. The only way to interface with the ROM while it's running is by connecting the phone to a computer, and then using ssh. My goal is getting all the phone-specific things working (WiFi first), and making GNU/Linux a viable primary OS for the Moto G.
Why GNU/Linux, when Android is already Linux-based?​
While it is true that what is possible with GNU/Linux is also possible with Android with a little bit of work, I don't like that Android is, at heart, an embedded system. This has some negative implications for hackers (not crackers) that would like to use it as a normal UNIX. For example, the whole system is treated as one big blob and many things can't be changed without recompiling., which is why there are so many ROMs available, and why they are not compatible between devices.
Guide​
Install the debian.mrom file as a normal MultiROM ROM via TWRP and select the ROM at bootup. Connect a USB cable from your computer to the phone. After around a minute, a new interface should appear on your computer (usb0 for most Linux distros, enp* for those using udev's "persistent" naming). Set its IP address to 10.0.10.1/24. Optionally, you can also set up internet access on that interface. The phone's IP address is 10.0.10.2. You can also use my script to setup the network (setup_net.sh) after changing wlp2s0 to your computer's internet-facing interface. You can then connect to the phone via SSH or a netcat shell on port 2323. The root password is root.
What I've learned about WiFi​
The WiFi setup procedure is complicated. First, the wcnss compound driver needs to be activated. Android does this by running wcnss_service, whose modified version (I basically just altered the paths and replaced Android logging with printf) I've included in the ROM (/sbin/wcnss_service). Wcnss_service does many things, but the only important one (AFAIK) is open()ing /dev/wcnss_wlan. After activating wcnss, the WiFi driver needs to be activated. Recent versions of Cyanogenmod have the driver built-in and activate it via WifiHAL (I have no idea how...), I've decided to instead build the driver as a kernel module (/wlan.ko). Insmoding the LKM does something, but the initialization fails, and I don't know why.
Click to expand...
Click to collapse
hi. from time to time iam working on the same, a native linux booted with multirom.
it could fail because of missing firmware and dont getting the mac.
please pm me for support.
sub77 said:
hi. from time to time iam working on the same, a native linux booted with multirom.
it could fail because of missing firmware and dont getting the mac.
please pm me for support.
Click to expand...
Click to collapse
Sorry for the late reply.
I have made sure that the firmware gets loaded properly, though that was a problem at first. I'm not so sure about the MAC address, though. If you get any further information, please post it in this thread. Development is currently its only purpose.
Something new??
Enviado desde mi Moto G mediante Tapatalk
luteriace said:
Something new??
Enviado desde mi Moto G mediante Tapatalk
Click to expand...
Click to collapse
i have wifi running. next step is framebuffer.
Is there a way of help you with this?
I'd love to see this running on falcon.

Buying guide: SM-T510NZSAXAR vs SM-T510NZKWXAR rootable and custom ROM

Hi,
I am trying to buy either one mention above for below purpose
best result,
I would like to remove android and Install a linux for ARM.
at least,
Remove almost all apps(bloatware google etc) and get root access and have some remote desktop app working.
Also does linux on dex work on any of these devices?
Which would you suggest for better XDA forum support? SM-T510NZSAXAR or SM-T510NZKWXAR
Thanks

Categories

Resources