Hi,
I was wondering about the security of my prime (and android ICS in general)...
First of all, I have it screen lock password protected. However, I might be missing something trivial here, but I can still access all the information on the device by just connecting to a PC via the USB port.
I want to be able to connect my tablet (as a storage device using MTP in the options) to a PC via the USB port, but I also would like some protection...
So my questions are:
1) Can I protect access to my USB with a password?
2) If I choose to completely encrypt my prime (via the FDE settings option). Is it still possible to easily access data by connecting the tablet via the USB port to a PC? Also with password protection?
3) What partitions are really encrypted using FDE?
Some background info:
- FDE (full disk encryption) in Android (since Honeycomb) only encrypts /data by default, but this is manufacturer dependent:
https://groups.google.com/d/msg/android-security-discuss/E3kv3RdEmlw/W1o4-O_MsRkJ
- E-mail passwords are stored as plain text in /data/system/accounts.db:
http://forum.xda-developers.com/showthread.php?p=23895876
you should not be able to see anything via usb untill you type the pin or password on your device . once it is unlocked you will have access via usb for the remainder of the time it is plugged in. that is how it work for both my prime and my galaxy nexus
ddarvish said:
you should not be able to see anything via usb untill you type the pin or password on your device . once it is unlocked you will have access via usb for the remainder of the time it is plugged in. that is how it work for both my prime and my galaxy nexus
Click to expand...
Click to collapse
I stand corrected. It works that way, when USB debugging is turned off...
Related
Figured I would ask this since I can not find anything anywhere for the X2 and the usb host mode. I found a really cool app in the market to control my canon t3i from the phone but I have to be able to turn on USB Host Mode. I can't find anything about it on the phone at all.
I am rooted using - http://forum.xda-developers.com/showthread.php?t=1315711 - that thread but I am still using the stock ROM.
Do I need to put a different ROM on in order to do the USB Host Mode?
Is it even possible to turn it on?
KnightRid said:
Figured I would ask this since I can not find anything anywhere for the X2 and the usb host mode. I found a really cool app in the market to control my canon t3i from the phone but I have to be able to turn on USB Host Mode. I can't find anything about it on the phone at all.
I am rooted using - http://forum.xda-developers.com/showthread.php?t=1315711 - that thread but I am still using the stock ROM.
Do I need to put a different ROM on in order to do the USB Host Mode?
Is it even possible to turn it on?
Click to expand...
Click to collapse
PC mode possibly? could be debugginf mode? try all the modes we have if one works then there you go. I have never heard of USB host mode
Here is the link - http://forum.xda-developers.com/showthread.php?t=1202082 to the DSLR program I am talking about. Something about some phones can enable the USB host for communication between the phone and external devices while others cant.
I'm assuming you aren't sure how to enable USB Host mode? If that is correct, here is how to ensure it's enabled. This will work if you are on stock or a custom ROM (unless the custom ROM removed it which I doubt):
Click the Menu button and select Settings
Scroll down until you see Applications and select it
Select the Developer menu item in the Application settings menu you are currently in.
Ensure USB Debugging is checked. This is necessary and important.
After that, you can pull down the notification bar and you should see a "USB connection" option. You can select that and you'll get a new window with radio button choices. Mine has the following (running Eclipse 1.3):
PC Mode
USB Mass Storage
Phone as Modem
Charge Only
PC Mode allows you to access the SD Care from Windows and within ADB shell. In this mode, it allows access to what is on your internal and external SD card in the same window.
USB Mass Storage mode means that it will mount the internal and external SD cards as separate drives on your windows machine and your phone won't have access to them until you either disconnect the phone from the PC or else, go to a different USB mode.
Phone as Modem - I never use this but it allows you to use your phone as a modem for your PC. Ahh, the old days of modems. I remember running 300 baud. When I went to 1200 baud, I thought I was styling!
Charge Only - In this mode, it's only using the USB connection as a charger. You won't have access to the sd cards from within Windows, but they will be accessible from your phone.
It sounds like you want the "USB Mass Storage" mode from what you've stated.
Hopefully this helps.
KnightRid said:
Figured I would ask this since I can not find anything anywhere for the X2 and the usb host mode. I found a really cool app in the market to control my canon t3i from the phone but I have to be able to turn on USB Host Mode. I can't find anything about it on the phone at all.
I am rooted using - http://forum.xda-developers.com/showthread.php?t=1315711 - that thread but I am still using the stock ROM.
Do I need to put a different ROM on in order to do the USB Host Mode?
Is it even possible to turn it on?
Click to expand...
Click to collapse
First of all you need a kernel which has usb host mode enabled and a terminal.
You can check out this for information on USB OTG cables:http://tech2.in.com/how-to/accessor...sb-otg-cable-for-an-android-smartphone/319982
As, Levprez has pointed out you will need a kernel (not a ROM!) with USB OTG support.
Once, you have USB OTG support (and it is enabled) you can plug a device into the normal usb connector on the USB OTG cable...if it works at all...it should detect and setup the device like normal.
I recently test OTG support on my DX2, and it appears to be working. (firmware is 4.5.1A-DTN-150-30, kernel is 2.6.32.9-00005-g2440aba)
To verify status of USB OTG support, check if /proc/config.gz (compessed configuration file used for building kernel that currently installed in device) has 'CONFIG_USB_TEGRA_OTG=y' in it. If so, your kernel supports otg mode.
However, in order to connect usb device to phone you need a special otg cable with support of external +5V power. Phone itself doesn't provide required power for connected devices, which may be bad - you need additional power source for usb devices - or good - while connecting other devices you can also charge phone from external source.
Initially supported various HIDs (keyboards, mice and some gamepads) and mass storage devices (flash drives, external hdds and such), though flash drives require manual mounting within scripts or terminal emulator and, obviously, require root. Alternatively, you can add other drivers (because it's linux and source code of kernel available) to support any device you need, for example drivers for other android device xD
Droid x2 to control camera
Levprez said:
First of all you need a kernel which has usb host mode enabled and a terminal.
Click to expand...
Click to collapse
hi please let me know if you figure this out? because i also have a droid x2 and a rebel t3i and have the same idea in mind! it works on my transformer prime, but that is too big to be useful on the go. I don't think too many devices support the usb host mode except very new ones?
Hi,
MTP and PTP are full of problems... so I want to have the old reliable USB Massive Storage (UMS) enabled in this phone, Is there any ROM with this feature?
I'm with stock and I would prefer not to unlock the boot loader unless I can get that feature with a ROM.
I tried this app with no success
I want any PC to detect my phone as a USB flashdrive containing only the sdcard files, not any partitions like system or data or such.
thanks
hitokiri_jaguar said:
Hi,
MTP and PTP are full of problems... so I want to have the old reliable USB Massive Storage (UMS) enabled in this phone, Is there any ROM with this feature?
I'm with stock and I would prefer not to unlock the boot loader unless I can get that feature with a ROM.
I tried this app with no success
thanks
Click to expand...
Click to collapse
Nope. UMS is dead as far as Google is concerned.
what do you mean by that? I know some ICS ROMs with UMS (but for other phones) so it's no dead dead dead and doing a quick search there are some people using ums un Jelly bean
What I mean is, UMS support isn't the way google wants people to do things.
It's a kludge when google wants phone memory not be segmented for apps vs media and such.
I've found MTP works very well on this phone compared to others i've owned.
It's a partitioning issue on any phone that comes with ICS natively.
mmm may be I wasn't clear about that, sorry,
I only want any PC to detect my phone as a USB flashdrive containing only the sdcard files, not any partitions like system or data or such.
And we are saying it isn't going to happen. What trouble are you having with mtp? Maybe we can help.
Ok, thanks, my problem is the following
I have 3 windows machines and in all of them the following happened
> I connected the LGOG to the pc and selected the pc software option in the phone
> Installed the LG software
> The LG software Drive disappeared from "Computer" (as expected I suppose)
> The phone-drive never showed in Computer
> I unplugged the phone and plugged again and selected MTP
> The phone-drive never showed in Computer either
In one of the PCs I got an error while installing the MTP driver, don't know how to solve that, if I try to reinstall the LG software the LG software driver disappears
Also I can't copy files to my phone if I donĀ“t have Administrative access to the PC... that's main the reason I want UMS
Uh oh.
So, if I understand correctly, I'm going to need to install CM in order to use my phone as a thumbdrive.
While I have no problems using MTP, the INSANELY SLOW TRANSFERS are basically going to force me to find another solution.
Great phone, but 2MB/sec on a standard USB 2.0 port just isn't working.
More research, it appears that I'll need to install an FTP server on my phone, or use a wireless data sharing app (sadly not possible in my case as my wireless network is firewall-external to my wired one).
Hello and thanks in advance for any help you can give me. As the tittle states I have a kindle fire HDX 8.9 WiFi and the screen is broken so I am unable to access the device and when I plug it into a Windows computer nothing happens (don't see it pop up in device manager or anything). Is there any way to retrieve the data? It is turned on as I can see it show up as a Bluetooth device when I scan from my phone but it will not connect as I can't use the touchscreen etc.. I bought another same device and wanted to transfer my old pictures and such over. Thanks again!
Mikehud1984 said:
Hello and thanks in advance for any help you can give me. As the tittle states I have a kindle fire HDX 8.9 WiFi and the screen is broken so I am unable to access the device and when I plug it into a Windows computer nothing happens (don't see it pop up in device manager or anything). Is there any way to retrieve the data? It is turned on as I can see it show up as a Bluetooth device when I scan from my phone but it will not connect as I can't use the touchscreen etc.. I bought another same device and wanted to transfer my old pictures and such over. Thanks again!
Click to expand...
Click to collapse
Unfortunately, 'no' if Windows does not respond when the device is attached. You may want to try connecting to a different Windows (or OS X) machine to confirm. Also try switching cables and plugging into different usb ports; avoid external USB hubs and USB3 ports on older machines. ADB (ie: line mode commands) is an alternate method but the lack of any response from Windows suggests you probably did not enable 'USB Debugging' from the Kindle settings menu when it was still working.
Hello all
I got a new Samsung S6 from work. for security reason, I cannot root the device (entrust and other software will not install)
since I got it, I am very annoyed by the fact that every time I connect the phone to my Linux, I have the following message when I want to access the files by MTP
allow access to device media
a MTP connection will be established to access the Data on the connected device : DENY ALLOW
Click to expand...
Click to collapse
is there a way to remember which connection was allowed or to remove once and for all this annoying message ?
thx
Dereut
Hello and welcome to XDA Q&A section of the Forum.
When you connect your phone to your pc, do you get any message in the status bar like "USB used for charging"? If not, go into setting (while connected) and click storage and USB and select MTP.
Hope that helped and hit "thanks" if it did .
thank you for your reply
my problem is not that I cannot connect. I have all the settings correctly done (or so it seems) and I have selected MTP. the issue is that the question to authorize the connection will pop up every time.
the device does not remember the previous authorisations.
example, if i connect to my Linux, then run a virtualbox windows, I have to redirect the USB to the virtualbox, but because it does not remember the authorization, it will disconnect and ask again if I agree, then I will have to redirect to virtualbox as it is seen as a new connection everytime. this in circle
also, I connect and disconnect the device from the USb all the time, everytime, I have to re-authorize the connection, it is getting old
Hi, without root, there is currently no way to automatically authorize a device (kinda stupid really) however with root there are a few ways to do it.
Kyronater said:
Hi, without root, there is currently no way to automatically authorize a device (kinda stupid really) however with root there are a few ways to do it.
Click to expand...
Click to collapse
Tell me more, every time I connect my phone I have to switch from charging to file transfer in cm13.
Hi everyone,
I often transfer files between my Samsung S7 Edge and my Windows PC through USB cable. However, after (making the mistake of) letting it upgrade to Oreo (v8.0), this is no longer possible: connecting the phone via USB to my laptop only shows charging information in the swipe-down top menu, and I no longer get the prompt asking whether I want to allow access to the phone's contents. Consequently, the phone's internal&SD memory no longer shows up under Windows Explorer.
I've been searching for a fix/workaround for hours (thanks Google for this quality time!). Some of the things I've tried that didn't work:
- enable/disable USB debugging mode under developer options
- change "USB configuration" (under Developer Options) to "MTP" and to all other options there
- use a different USB cable and USB port on the laptop
- search for apps on the Play Store that can help with this (didn't find any that actually do the job)
Connecting Android phones to Windows laptops to access their internal memory through USB cable has (bemusingly!) been a problem with this ****ty OS as long as I can remember, so it doesn't surprise me that users are having to spend even more time now to get it to work again.
Any suggestions much appreciated!
longtalker said:
Hi everyone,
I often transfer files between my Samsung S7 Edge and my Windows PC through USB cable. However, after (making the mistake of) letting it upgrade to Oreo (v8.0), this is no longer possible: connecting the phone via USB to my laptop only shows charging information in the swipe-down top menu, and I no longer get the prompt asking whether I want to allow access to the phone's contents. Consequently, the phone's internal&SD memory no longer shows up under Windows Explorer.
I've been searching for a fix/workaround for hours (thanks Google for this quality time!). Some of the things I've tried that didn't work:
- enable/disable USB debugging mode under developer options
- change "USB configuration" (under Developer Options) to "MTP" and to all other options there
- use a different USB cable and USB port on the laptop
- search for apps on the Play Store that can help with this (didn't find any that actually do the job)
Connecting Android phones to Windows laptops to access their internal memory through USB cable has (bemusingly!) been a problem with this ****ty OS as long as I can remember, so it doesn't surprise me that users are having to spend even more time now to get it to work again.
Any suggestions much appreciated!
Click to expand...
Click to collapse
Hi friend just dial *#0808# choose MTP+ADB click OK and Reboot your device . Try to connect again with usb cable in PC . Good luck
Teddy Lo said:
Hi friend just dial *#0808# choose MTP+ADB click OK and Reboot your device . Try to connect again with usb cable in PC . Good luck
Click to expand...
Click to collapse
Thanks - I tried that, but I still don't see the phone's memory as a USB drive, nor any permission prompt on the phone once I connect it.
longtalker said:
Thanks - I tried that, but I still don't see the phone's memory as a USB drive, nor any permission prompt on the phone once I connect it.
Click to expand...
Click to collapse
Try to reinstall drivers ,uninstall all previously installed use USBDEVIEW tool .
https://www.nirsoft.net/utils/usb_devices_view.html
Before I do that, I should note that, when I tried on a different Win 10 PC, I get the USB drive back no problem, so the problem is Windows/PC-related, it seems?!
Turns out that, when using another USB cable, the phone is once again seen as a USB drive. I didn't think the cable could make a difference! Hope it helps others