[Q] Need help with kali linux in android! Please! - One (M8) Q&A, Help & Troubleshooting

Im trying to enable moniter mode for wlan0 but it says error while getting interface flags: no such device.
Can anyone help me fix this problem. I have an htc one m8 and run android 4.4.2. The wireless router box is from smc networks. Also how would I find more specific information on my wireless adaptor to see if it works with kali linux? I really want to get aircrack-ng working on my htc. I used the command airmon-ng start wlan0. Ive uploaded a picture to make things more clear.

well first of all your internal WiFi card probably doesn't support features like promiscuous mode or packet injection, and even if it did, android lacks the firmware and drivers to support that functionality. the only way you would be able to run the aircrack-ng suite is to use an external WiFi adapter with a chipset that does support packet injection, like rtl8187 or ath9k. then you would need to add the firmware and enable support for the drivers in the kernel. and finally, android has it set to force the onboard WiFi card be in control and automatically disable others, so you would have to find a way to disable the onboard card too (this one I can help you with - just set the network manager in Kali to managed mode on so Kali takes over managing the WiFi settings - so you can just write a script to run when Kali boots to enable managed mode and disable it when you sign off).
Sent from my One using XDA Free mobile app
---------- Post added at 01:14 PM ---------- Previous post was at 01:09 PM ----------
if you just want to do packet sniffing you can get a RTL8187 USB card and hook it up to an OTG adapter, then install the PCAP Capture app from kismet in the play store. that let's you use monitor mode in android but only with that card.
also when you run airmon-ng you need to kill the wpa_supplicant, NetworkManager, and dhclient processes as they can interfere with it.
Sent from my One using XDA Free mobile app

eudemonics said:
well first of all your internal WiFi card probably doesn't support features like promiscuous mode or packet injection, and even if it did, android lacks the firmware and drivers to support that functionality. the only way you would be able to run the aircrack-ng suite is to use an external WiFi adapter with a chipset that does support packet injection, like rtl8187 or ath9k. then you would need to add the firmware and enable support for the drivers in the kernel. and finally, android has it set to force the onboard WiFi card be in control and automatically disable others, so you would have to find a way to disable the onboard card too (this one I can help you with - just set the network manager in Kali to managed mode on so Kali takes over managing the WiFi settings - so you can just write a script to run when Kali boots to enable managed mode and disable it when you sign off).
Sent from my One using XDA Free mobile app
---------- Post added at 01:14 PM ---------- Previous post was at 01:09 PM ----------
if you just want to do packet sniffing you can get a RTL8187 USB card and hook it up to an OTG adapter, then install the PCAP Capture app from kismet in the play store. that let's you use monitor mode in android but only with that card.
also when you run airmon-ng you need to kill the wpa_supplicant, NetworkManager, and dhclient processes as they can interfere with it.
Sent from my One using XDA Free mobile app
Click to expand...
Click to collapse
Can I buy one from you?

11alphamale11 said:
Can I buy one from you?
Click to expand...
Click to collapse
hehe. i'm not a retailer, sorry

I already tried backtrack on my phone (not htc) but there weren't all options available, like all the hacking stuff, so it may be the same in kali.
Sent from HTC One m8, or maybe not anymore

mr.loverlover said:
I already tried backtrack on my phone (not htc) but there weren't all options available, like all the hacking stuff, so it may be the same in kali.
Sent from HTC One m8, or maybe not anymore
Click to expand...
Click to collapse
if you want all the tools you're used to in kali, you have to run "apt-get install kali-linux-full" after you log in.

eudemonics said:
hehe. i'm not a retailer, sorry
Click to expand...
Click to collapse
Its okay.I ordered the TL-WN722N Tp link usb adaptor. It should work just fine.

"apt-get install kali-linux-full"
I think this command will help you to see full content of kali linux

Related

[Q] USB Internet passthrough from Linux

Hi, I've googled and searched the forum for this and can't find anything that works for the Desire HD.
The phone comes with an option to use the PC's internet connection through the usb interface. When I enable this on the phone the usb0 interface pops up on the computer. I've tried various bridging and natting alternatives, but everything ends up with the phone complaining that htc sync isn't set up right. I've tried askimng HTC what the phone expects but they just say that they don't support Linux. Grrr!
Anybody succeeded in getting this working or can say exactly what the phone expects to see on the pc side?
I thought it was the other way around (PC using the phone's connection) ?
Edit: Link.
Both are possible. PC using phone's connection is called "Tethering" and Phone using PC's connection is called "Internet passthrough".
There are recipes for foolong a "Nexus One" into reversing the tethering solution so that it connects to the internet through the PC, but the HD seems to have blocked this.
We have a Wifi-Free home, so this really is the only way of connecting the phone to the internet without using valuable 3G data traffic.
Apologies, I didn't know.
I took a look around, maybe you've tried this already but here it is (scroll down to post #53). Good luck!
Thanks. Looks promising. From Post #53 it looks as if I should be able to do this from adb, although earlier posts in the thread mention busybox and root, neither of which I have on the phone. Have in any case not used adb to connect before so may ask for help here if I can't find out how to do it.
Thanks very much for the suggestion.
For root you can search for the app "Visionary" in the market, I'm not sure if it installs busybox too though (but you can find that in the market as well).
Also make sure you have USB Debugging enabled in the settings.
You're most probably going to need the ADB drivers as well, but i think they're shipped with HTC Sync. Anyone correct me if I'm wrong.
Thanks, now have adb access (with root . Next problem is that my linux box always assigns an APIPA (zeroconf) address to the usb interface. Can't remove it or specify a static IP for the next connection.
Unfortunately I can't help you or suggest anything else for the time being. I'll be switching to Archlinux tonight (for the 150th time) and will hopefully have my device within this week. So if you don't figure it out by then, I'll give it a shot.
I think it can be done quite easily using the Firestarter application. Too busy playing Black Ops to confirm that the method I have in mind works but I will try it out later and if I'm right I will post a how to.
I'd be very interested to hear how you get on phunkycow. The APIPA problem seems to be debian sid related. On my wife's Ubuntu laptop I can configure both interfaces and ping between the phone and the pc. Didn't have time to figure out routing and dns.
I now have this working on Ubuntu. Debian still gives me a zeroconf address on the pc's usb interface.
Next problem is that to script this as suggested in post #53 I think I need a different su or sudo on the phone as sudo and su -c both give me permission denied.
Any other ways of running remote commands as root using adb?
Working perfectly on Ubuntu when I run through the commands interactively. Next job is to script it. The only possible caveat is that I seem to have to run the adb commands as root, however a quick test indicates that this is probably doable just by piping each adb shell command to su.
Will post back with the findings and the script (when I'm happy with it).
Piping to su doesn't work unfortunately, so I need to think again.
Any tips on scripting adb shell commands to run as root?
Another problem (after setting this up interactively) is that only some apps even attempt to connect to the internet this way.
Web browser shows error about not being able to connect first time, but then connects anyway. Ditto Google earth.
Phone update refuses to connect and asks for wifi or mobile network to be turned on.
Skype can't sign in.
I'm wondering whether some apps look for a particular property to be set and refuse to connect if it's not there??
A hot candidate might be [init.svc.netsharing_pass]???
Any comments?
Hi,
I installed bash and su from su-2.3.2.1-ef-signed.zip, which I moved to /system/bin
which su shows that that's what's being used.
I was hoping that this would give me the possibility to run su with switches (ie su -c "command"), and only use adb to invoke a script on the phone with the rest of the commands. Unfortunately fails on both counts :-(
Does anyone know of other su utilities out there that are more like the Linux version?
Cheers!
The answer seems to be gscript.
Phone side commands can be scripted to run on the phone, requires manually finding and running the script from the phone's UI.
Now if there were a way to invoke it through adb ... !
hi Learnincurve,
can you please briefly post, what you did to use the internet-passthrough? i cant figure it out with my desire z...
thanks!
m1l4droid, you are using the internet passthrough with ubuntu just like that? what am I doing wrong...?
Hello everyone.. I can see that the thread hasn't been updated for some time.. but still, has anyone founded an easy way to use "internet pass-through" option on linux? I have read the thread, but I am not very familiar with the terms "adb" etc. I am using Desire HD rom (InsertCoin HD Port 1.8f), on an "small" Desire... And the linux edition is Ubuntu 10.10... Thanx in advance..
wouldnt you be able to access an ad-hoc wifi network with your custom rom? so the only thing for you to do was to setup the ad-hoc wifi at the pc and connect with your phone...
for the usb-passthrough I still dont have a solution, neither.

Alt Mounter: Mount SD Card/Mass Storage, even on OS X

The Issue
So, as you certainly noticed, ICS-toting devices such as the Galaxy Nexus do not come with the USB Mass Storage feature anymore.
On Windows, you can mount your storage using MTP (Media Storage Protocol)
On Linux and OS X, from what I've seen, there have been some attempts at building drivers for MTP but those seem to provide quite unreliable connectivity.
On Windows itself, it appears that the protocol takes quite a while to mount your device.
Google does not offer USB Mass Storage anymore in part due to the fact that you would need to unmount your whole storage from your phone to mount it on your computer.
The Solution
Alt Mounter! (I know, such an original name)
Alt Mounter is two things: 1) a small service and its widget, running on your device; 2) a helper running on your computer.
When you use Alt Mounter, mounting your storage on your computer is close to instantaneous. It works like a Dual Mount application; i.e. it does not unmount your storage from your device (it does not need to)
Platforms
Currently, the helper only exists for OS X and Windows (updated 05/06). It should not take long to port it to Linux if there is a demand.
The OS X version requires you to install OSXFUSE or any other FUSE package. It does not install these drivers itself because many MAC owners have already installed FUSE one way or another (for instance, OS X running in Parallels will not require any extra installation)
The Windows version will only work on a fairly recent version of Windows and will require you to install your device manufacturer's USB drivers. It is even more rough than the OS X version!
GET IT
Alt Mounter is currently a beta product. I use it without problem daily on my Galaxy Nexus and my CM9 Touchpad but of course your mileage may vary.
In fact, I am now aware of the following issues:
- The Android app may stop functioning after a while -- workaround: only run the app when you are using it (otherwise your icon should be gray with no shade of red)
- The Mac app seems to only work on Lion. Hopefully the latest version I uploaded fixes this pure SDK limitation.
- The helpers may be very capricious as they are so, so young.
Thank you for your patience and, more importantly, your feedback.
Get it from the Beta Page.
having a issue downloading the apok for android.
"Sorry, this page doesn't exist" I was happy but it cannot be downloaded. :-(
All my apologies! This should now be fixed.
should i uninstall android file transfer
---------- Post added at 08:14 PM ---------- Previous post was at 08:11 PM ----------
because i run the widget downloaded FUSE and altmounter on mac, and it says
"device not detected"
---------- Post added at 08:16 PM ---------- Previous post was at 08:14 PM ----------
did uninstall didn't matter same results.
requesting a linux port
Pithism said:
should i uninstall android file transfer
---------- Post added at 08:14 PM ---------- Previous post was at 08:11 PM ----------
because i run the widget downloaded FUSE and altmounter on mac, and it says
"device not detected"
---------- Post added at 08:16 PM ---------- Previous post was at 08:14 PM ----------
did uninstall didn't matter same results.
Click to expand...
Click to collapse
I know I uninstalled android file transfer mostly because it is not a very nice application.
Try this incredibly simple thing: unplug your phone, plug it back in, see if it works now. I observed that the Helper may fail to notice a device when it is first asked to mount it.
ok ill give it a try
---------- Post added at 10:15 PM ---------- Previous post was at 10:05 PM ----------
still not working
i tried it and it doesn't want to mount it
Works fine for now, I'm going to test it a bit more but so far so good, thanks for this great mod, that's what I was looking for.
-Update-
Well it was too beautiful to be true, I cannot do anything on my "Mounted device", if I try to copy something it says that i do not have the right permissions, if i try to create a new folder it says "Cannot complete operation (-43)". I tried everything, stop service restart computer, restart phone and nothing, I will keep an eye on this, because I'm very interested on this.
Pithism said:
ok ill give it a try
---------- Post added at 10:15 PM ---------- Previous post was at 10:05 PM ----------
still not working
i tried it and it doesn't want to mount it
Click to expand...
Click to collapse
OK. Let's see...
1) Does the widget turn partially red after a few seconds?
2) System Settings > Developer Options > USB Debugging: is it checked?
Cheers,
-Chris.
Hi there!
I totally plan on writing about this for the XDA Portal...and I would also love it if you ported it for Windows because I'm not a fan of MTP
Another vote for the Windows port.
Please let me know if you need a tester as I'm running Windows 8CP and could help to make sure it works going forward from win7.
Thank you can't wait for windows version
Need this for Linux.
Sent from my Galaxy Nexus
cyansmoker said:
OK. Let's see...
1) Does the widget turn partially red after a few seconds?
2) System Settings > Developer Options > USB Debugging: is it checked?
Cheers,
-Chris.
Click to expand...
Click to collapse
Yes to both.
screen says server is starting, and the widget turns red and stays red.
And usb debugging is checked.
Windows Port Needed!
xi.lin said:
Windows Port Needed!
Click to expand...
Click to collapse
Would LOVE a windows port. Hopefully ones thats portable and doesnt need to be installed.
+1 for Windows (7) & portable version
i'm probably one of very few, but i actually prefer mtp over usb mass storage. since my ns4g rom doesn't offer mtp, would this act as mtp for me by leaving my storage partition mounted while connected??
if so, i will vote for a windows build please!
+1 Windows & Portable

[Release][PC]WP7Connector: Connect your phone easily & smartly

forget your wpconnect.exe from the SDK.
this app is run on your PC, it could connect to your phone automaticly via USB, and your PC's network would be shared to your phone(and also you can deploy xaps).
and it also could detect Zune, so, if Zune has been launched it'll disconnect and reconnect when Zune is closed.
You NEED to install Zune before use(everyone has it)
SDK is NOT needed
Any Unlock is NOT needed
support Chinese & English language
support XP to Win7, both x86/x64
PS: on Win8, it has some bugs and may make your cpu usage to 100%
sorry for my bad English.
how to make it work in english on an italian w7 x64?
Hey does this require any kind of unlock??
Its a PC application
---------- Post added at 03:05 PM ---------- Previous post was at 02:45 PM ----------
what is the purpose of this app?
Magpir said:
Its a PC application
---------- Post added at 03:05 PM ---------- Previous post was at 02:45 PM ----------
what is the purpose of this app?
Click to expand...
Click to collapse
did you read first post?
Win 7 x64 not working ?
davide136 said:
how to make it work in english on an italian w7 x64?
Click to expand...
Click to collapse
it doesn't work?
i have only Chinese system and i think it should work on all languages, i'll check my code later, if it has any bugs i'll fix it
drsmart said:
Win 7 x64 not working ?
Click to expand...
Click to collapse
does it show some error message?
my computer is Win7 x64 and it can work very well. i'd tested it on Win7 x86/x64 and WinXP x86
sumedh123 said:
Hey does this require any kind of unlock??
Click to expand...
Click to collapse
no, it doesn't need any unlock
Chinese only, no other languuage
reker said:
forget your wpconnect.exe from the SDK
Click to expand...
Click to collapse
Hmm... Why should I "forget" wpconnect? It works perfectly well; and I've already published here on xda small utility for autorun anything on phone (or any USB device) insertion or removal (check this thread).
sensboston said:
Hmm... Why should I "forget" wpconnect? It works perfectly well; and I've already published here on xda small utility for autorun anything on phone (or any USB device) insertion or removal (check this thread).
Click to expand...
Click to collapse
it doesn't need wpconnect.exe from the sdk, even it doesn't need sdk, all you need is zune
and
when you open Zune, the connection created by wpconnect.exe will lose, and you must open wpconnect.exe again when Zune closed
titi66200 said:
Chinese only, no other languuage
Click to expand...
Click to collapse
the langage bug should be fixed, please download again in 1st post
It worked fine on Windows 8 yesterday.
But today it just gives me a "stopped working" error.
Any idea?
this app is run on your PC, it could connect to your phone automaticly via USB, and your PC's network would be shared to your phone(and also you can deploy xaps).
Click to expand...
Click to collapse
Pardon my ignorance, but I did not understand what this app is for . I can share my laptops internet connection on my phone via usb cable? If thats the case its not working for me
I've fixed my problem by reinstalling Zune.
Why I like this small app? Because it allows me to access Marketplace using my computer connection, while it's blocked when connected via Zune.
How to deploy xaps ?
reker said:
does it show some error message?
my computer is Win7 x64 and it can work very well. i'd tested it on Win7 x86/x64 and WinXP x86
Click to expand...
Click to collapse
Mine too, it doesn't show anything. double click the icon nothing happen.
maya79 said:
It worked fine on Windows 8 yesterday.
But today it just gives me a "stopped working" error.
Any idea?
Click to expand...
Click to collapse
i've tested it on win8,
it seems that it could only work when the 1st time phone pluged to pc
if you unplug and plug your phone again, the app will hung up
that is a big problem, i need some time to fix it
lsguntu said:
Pardon my ignorance, but I did not understand what this app is for . I can share my laptops internet connection on my phone via usb cable? If thats the case its not working for me
Click to expand...
Click to collapse
yes, it could share your pc's internet connection to your phone via usb
i think you can reinstall your zune, that maybe fix your problem

[Q] Really nervous about accidentally bricking, so just some cautionary questions...

So I have an Optimus G LS970, added a couple apps, but other than that it's pretty basic. I'm wanting to root this device and eventually add a custom rom on it perhaps, but I've very new to this and don't want to accidentally brick my device.
1) I've been looking for stable linux rooting methods, the only one I've found that looks promising is here, but it's 2 years old. Does anyone know anything about it's stability for android 4.1.2, kernel 3.4.0?
2) In order to transfer files (music, pictures, pdfs/ebooks) to/from my device it needs to be mounted, but I haven't been able to mount it for this (or any other) purpose at all. It shows up as connected (command "lsusb" shows "Bus 002 Device 028: ID 1004:631d LG Electronics, Inc.") but it won't mount. Will this be possible once rooted, or is there some other cause to this?
3) Once rooted, I want to get rid of some of the Preinstalled apps but I'm not sure which will lead to instability and which would be fine to remove, does anyone know where I can check this, or would I just need to list all the apps I don't want on my phone and have you all tell me on an app-by-app basis which is safe to remove?
4) Lastly, when it comes to using alternative app markets, I haven't had much luck. I was trying to test using alt stores with f-droid and nothing showed in the lists, so I don't know if that's a thing with f-droid or my device. Is there anything you need to do to use alt app stores aside from enabling it in the system settings, and installing the app store's .. app?
Thanks in advance!
JustAk said:
So I have an Optimus G LS970, added a couple apps, but other than that it's pretty basic. I'm wanting to root this device and eventually add a custom rom on it perhaps, but I've very new to this and don't want to accidentally brick my device.
1) I've been looking for stable linux rooting methods, the only one I've found that looks promising is here, but it's 2 years old. Does anyone know anything about it's stability for android 4.1.2, kernel 3.4.0?
2) In order to transfer files (music, pictures, pdfs/ebooks) to/from my device it needs to be mounted, but I haven't been able to mount it for this (or any other) purpose at all. It shows up as connected (command "lsusb" shows "Bus 002 Device 028: ID 1004:631d LG Electronics, Inc.") but it won't mount. Will this be possible once rooted, or is there some other cause to this?
3) Once rooted, I want to get rid of some of the Preinstalled apps but I'm not sure which will lead to instability and which would be fine to remove, does anyone know where I can check this, or would I just need to list all the apps I don't want on my phone and have you all tell me on an app-by-app basis which is safe to remove?
4) Lastly, when it comes to using alternative app markets, I haven't had much luck. I was trying to test using alt stores with f-droid and nothing showed in the lists, so I don't know if that's a thing with f-droid or my device. Is there anything you need to do to use alt app stores aside from enabling it in the system settings, and installing the app store's .. app?
Thanks in advance!
Click to expand...
Click to collapse
All of your questions are answered here. http://forum.xda-developers.com/showthread.php?t=2050582
And the FAQ.
1. See above
2. Install the LG drivers, link is in that OP, then tick MPT. That should transfer your files. If not, you may need to uninstall, then reinstall them.
3. DO NOT remove any apps unless you unlock! Info is in that link also.
4. I have no idea on that one.
Sent from my LG-LS970 using XDA Premium 4 mobile app
engine95 said:
All of your questions are answered here. http://forum.xda-developers.com/showthread.php?t=2050582
And the FAQ.
1. See above
2. Install the LG drivers, link is in that OP, then tick MPT. That should transfer your files. If not, you may need to uninstall, then reinstall them.
3. DO NOT remove any apps unless you unlock! Info is in that link also.
4. I have no idea on that one.
Sent from my LG-LS970 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
1) *EDIT* [Doesn't say anything about linux rooting, how am I supposed to install a windows drive on a linux system?] I overlooked the linux mention. Thanks! Can't find something. How/where do I find adb?
2) Ignore, see 1) [Again, how am I supposed to install the Windows driver in linux?]
3) Thanks for that. I didn't know the importance of unlocking the bootloader.
JustAk said:
1) *EDIT* [Doesn't say anything about linux rooting, how am I supposed to install a windows drive on a linux system?] I overlooked the linux mention. Thanks! Can't find something. How/where do I find adb?
2) Ignore, see 1) [Again, how am I supposed to install the Windows driver in linux?]
3) Thanks for that. I didn't know the importance of unlocking the bootloader.
Click to expand...
Click to collapse
Sorry bout that. Linux drivers are native, so they're anyway installed.
You use either fiddy629 root for Linux, or Framaroot.
Sent from my LG-LS970 using XDA Premium 4 mobile app
---------- Post added at 10:53 PM ---------- Previous post was at 10:51 PM ----------
Edit. You don't have to have ADB, but there's alot of info if you google it.
Sent from my LG-LS970 using XDA Premium 4 mobile app
engine95 said:
Sorry bout that. Linux drivers are native, so they're anyway installed.
You use either fiddy629 root for Linux, or Framaroot.
Sent from my LG-LS970 using XDA Premium 4 mobile app
---------- Post added at 10:53 PM ---------- Previous post was at 10:51 PM ----------
Edit. You don't have to have ADB, but there's alot of info if you google it.
Sent from my LG-LS970 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I tried fiddy619's thing here using the universal linux one. It asked me for ADB. Found that debian has "android-tools-adb" so I installed that, now there's this:
Code:
Using: /usr/bin/adb
Waiting for device... Connect your LGOG via USB in Charge Only Mode
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Device found
Beginning Root Process
Disconnect your phone from USB
Disable USB Debugging
Enable USB Debugging
Press enter to Continue
I can't tell if this is telling me to do these things, or if it's saying it already did them. Any idea?
JustAk said:
I tried fiddy619's thing here using the universal linux one. It asked me for ADB. Found that debian has "android-tools-adb" so I installed that, now there's this:
Code:
Using: /usr/bin/adb
Waiting for device... Connect your LGOG via USB in Charge Only Mode
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Device found
Beginning Root Process
Disconnect your phone from USB
Disable USB Debugging
Enable USB Debugging
Press enter to Continue
I can't tell if this is telling me to do these things, or if it's saying it already did them. Any idea?
Click to expand...
Click to collapse
Nevermind that, I got it working just fine. took o nly a couple seconds and it was done. Now I have "SuperSU" in my apps menu, so I'm guessing it worked.
JustAk said:
Nevermind that, I got it working just fine. took o nly a couple seconds and it was done. Now I have "SuperSU" in my apps menu, so I'm guessing it worked.
Click to expand...
Click to collapse
Awesome, glad to hear it worked! Which if you have SuperSU it should have. I too only use linux(Linux Mint specifically) and while most guides are made for Windows, things are usually easier from the linux terminal because we don't need to download drivers, android uses a modified linux kernel, etc. Welcome to the forums, glad to have you here! All the info you need is here and plenty of people will be glad to help(as engine has already demonstrated). As for the alternative app markets, Ive read plenty and tested a few but really, nothing comes close to the play store. On our phone Banks Gapps is the standard google apps package to install if you are flashing a custom rom. Just make sure you get the correct version of gapps for the version of android your rom is based on.
HPTesla said:
Awesome, glad to hear it worked! Which if you have SuperSU it should have. I too only use linux(Linux Mint specifically) and while most guides are made for Windows, things are usually easier from the linux terminal because we don't need to download drivers, android uses a modified linux kernel, etc. Welcome to the forums, glad to have you here! All the info you need is here and plenty of people will be glad to help(as engine has already demonstrated). As for the alternative app markets, Ive read plenty and tested a few but really, nothing comes close to the play store. On our phone Banks Gapps is the standard google apps package to install if you are flashing a custom rom. Just make sure you get the correct version of gapps for the version of android your rom is based on.
Click to expand...
Click to collapse
Ah. brilliant, thanks!
The only problem I'm now having is getting the phone to connect to my computer so I can transfer music or ebooks or whathaveyou to/from my device. I've gone through the arch wiki for android (even though I'm running debian) and this forum postt but I keep getting an error:
Code:
$ android-connect
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. V909 G-Slate.
Found 1 device(s):
LG Electronics Inc.: V909 G-Slate (1004:61f9) @ bus 2, dev 8
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1
I can start a separate thread regarding this issue, but if you have any insight, figured it couldn't hurt to ask real quick.
JustAk said:
Ah. brilliant, thanks!
The only problem I'm now having is getting the phone to connect to my computer so I can transfer music or ebooks or whathaveyou to/from my device. I've gone through the arch wiki for android (even though I'm running debian) and this forum postt but I keep getting an error:
Code:
$ android-connect
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. V909 G-Slate.
Found 1 device(s):
LG Electronics Inc.: V909 G-Slate (1004:61f9) @ bus 2, dev 8
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1
I can start a separate thread regarding this issue, but if you have any insight, figured it couldn't hurt to ask real quick.
Click to expand...
Click to collapse
This may or may not help, but when I've had issues with Linux hooking up I've had to format my SD. Something gets stuck in there that Linux just didn't like.
Sent from my LG-LS970 using XDA Premium 4 mobile app
JustAk said:
Ah. brilliant, thanks!
The only problem I'm now having is getting the phone to connect to my computer so I can transfer music or ebooks or whathaveyou to/from my device. I've gone through the arch wiki for android (even though I'm running debian) and this forum postt but I keep getting an error:
Code:
$ android-connect
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. V909 G-Slate.
Found 1 device(s):
LG Electronics Inc.: V909 G-Slate (1004:61f9) @ bus 2, dev 8
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1
I can start a separate thread regarding this issue, but if you have any insight, figured it couldn't hurt to ask real quick.
Click to expand...
Click to collapse
Are you doing this with the phone turned on and booted into the os? It gives you a PTP error first, make sure the phone is in MTP. At the bottom you also have a LIBMTP error tho. I don't have much experience with debian but from what I understand it is extremely stable but the downside is that it can be a bit out of date at times. Ubuntu and all ubuntu derivatives had a major mtp flaw awhile back but it has since been fixed. Im not sure if it has been fixed in debian. Yes ubuntu is based off of debian, but just like linux mint will add things to the ubuntu base, ubuntu will do the same to the debian base. So LIBMTP MAY be out of date, Im not sure. I know that I have no problem seeing my phone from either the terminal or file browser. Check this out and see if it helps any.
If not you may have to follow engine's advice and format the sd.
EDIT: Also this might work, it is for linux mint but adding the repository and installing it should work on debian(I think) since they all use .deb files. Before ubuntu officially supported mtp by default this was the most popular work around.
HPTesla said:
Are you doing this with the phone turned on and booted into the os? It gives you a PTP error first, make sure the phone is in MTP. At the bottom you also have a LIBMTP error tho. I don't have much experience with debian but from what I understand it is extremely stable but the downside is that it can be a bit out of date at times. Ubuntu and all ubuntu derivatives had a major mtp flaw awhile back but it has since been fixed. Im not sure if it has been fixed in debian. Yes ubuntu is based off of debian, but just like linux mint will add things to the ubuntu base, ubuntu will do the same to the debian base. So LIBMTP MAY be out of date, Im not sure. I know that I have no problem seeing my phone from either the terminal or file browser. Check this out and see if it helps any.
If not you may have to follow engine's advice and format the sd.
EDIT: Also this might work, it is for linux mint but adding the repository and installing it should work on debian(I think) since they all use .deb files. Before ubuntu officially supported mtp by default this was the most popular work around.
Click to expand...
Click to collapse
The first thing you linked to (steneteg.org or somesuch) was another avenue I went down trying to solve this, but alas it resulted with much the same problems. The second link to the linuxmint forums looked very promising, the only problem with it is the ppa has been dropped by webupd8 so it no longer is available (404s).
I have just discovered earlier today that adb push/pull works for getting things onto/off of my device, but I can't use adb to mount the device to allow it to be seen with a filemanager (thunar in this case). So, that's progress I think.
EDIT : I just saw mention somewhere of androidair, have yyou any experience with this app's reliability/security?
JustAk said:
The first thing you linked to (steneteg.org or somesuch) was another avenue I went down trying to solve this, but alas it resulted with much the same problems. The second link to the linuxmint forums looked very promising, the only problem with it is the ppa has been dropped by webupd8 so it no longer is available (404s).
I have just discovered earlier today that adb push/pull works for getting things onto/off of my device, but I can't use adb to mount the device to allow it to be seen with a filemanager (thunar in this case). So, that's progress I think.
EDIT : I just saw mention somewhere of androidair, have yyou any experience with this app's reliability/security?
Click to expand...
Click to collapse
You can try searching for other places where go-mptfs is located, other ppas where it still might be. The ubuntu forums also has this as a possible solution. I haven't used androidair but I have moved files over wifi using the sshdroid app and an ssh server on my pc with great success. If you have any experience with ssh that could be a possible solution although it is obviously slower than usb. But ssh in general is a simple and great tool, also pretty secure since you are simply connected to your home wifi - as long as your wifi is secure you should be fine.
On my pc I believe its openssh that I use - plenty of tutorials out there for that - and here is the link to sshdroid in the play store. Hope this helps!
EDIT: I will also be at work until 2p.m. EST so may not be able to reply back until then - don't worry, I will as soon as I get home if you have any other issues.

AFTV2: USB Not Working After Rooting

USB Not working since rooted AFTV2
Hi, Since rooting my AFTV2 , i an unable to use wired mouse on USB. Therefor unable to use Show box or Popcorn.
Is there a solution ?
http://forum.xda-developers.com/fire-tv/themes-apps/useful-app-to-ftv-stick-remote-mouse-t3185049
USB not working after rooting AFVT2
roligov said:
http://forum.xda-developers.com/fire-tv/themes-apps/useful-app-to-ftv-stick-remote-mouse-t3185049
Click to expand...
Click to collapse
Thanks for the link just what i want it looks good , as i don't have an google play account i will have to contact the developer.
If you look at the first post in that thread there are APK attachments of the app.
see if you have usb debugging enabled and disable it. (the choice below enable adb)

Categories

Resources