Activate OTG on non-otg Android phone - android

I have an old LG K120 that by default doesn't have OTG. So I did what was needed (root the phone and installed a software that now tells me OTG is active) however when I try to plug a usb pen or card reader, it doesn't detect it. I hope I don't have to install a custom rom or whatever it's called risking to ruin everything. I just need to read a microSD without having to open the cover all the time.

For running SD cards on the mobile you can use some of the pocket Wi-Fis which support SD card inside them,like some of the JioFis (check before you purchase any,if you). Then connect it to your mobile using Wi-Fi(Password protected or open) and run it.
And for running pendrives(only) you can use the SanDisk Wireless Stick pendrives, which run on Wi-Fi.
Edit: USB can also be used for radiation free transfer with laptop computers.(Credit goes to blackapps).

Related

How do I transfer files from my Mac to Samsung Galaxy J7?

Got a Samsung Galaxy J7 and a Mac (10.12.3) but when I connect my Samsung to my Mac it just charges. I want to transfer an apk file to test (an Ionic2 app). I installed Android Studio and Android File Transfer but my mac still does not recognise the device. Some articles mention drivers but cannot find them on the Samsung website. How can I transfer an apk file to the device?
Transferring files between macOS and Android or any other MTP devices has always been a nightmare. I have tried a lot of apps and was disappointed with the poor support for Android phones on macOS. Either they were too slow, bug-ridden or too expensive. Finally, all these made me sit and write a macOS MTP app for myself.
Well, then I thought to give it to the community.
OpenMTP | Advanced Android File Transfer Application for macOS is safe, transparent, open-source and shall be free for a lifetime!
Download latest version of OpenMTP from https://ganeshrvel.github.io/openmtp
GitHub repo: https://github.com/ganeshrvel/openmtp
Features
Plug and Play. No hassles, easy and instant connection.
Connect via USB cable - Highest data transfer rates.
Transfer multiple files which are larger than 4GB in one go.
Select between Internal Memory or SD Card.
Split pane views for both Local Computer and MTP device.
Drag 'n Drop, Grid/List views and the other advanced File Manager features are available.
Safe, Transparent and Open-Source.
It's FREE and shall ALWAYS remain FREE!!
Have you turned on Developer Options and allowed USB Debugging?
Go to settings -> About Device and look for the Build Number, it may be under Software Info.
K
Try expanding the notifications bar and tapping on the USB Connection item. You should get a prompt with a list of methods for how the device is connected to your computer over USB. You might currently be on the "Charge Only" method, so try and change to a different method and see if your device is now recognized.
For more info on USB modes:
https://www.doubletwist.com/help/question/usb-connect-mode/
[Solved] - I needed to change the cable to allow for a full connection. Was not provided with the original.
You can download/install the following software Android File Transfer and connect your phone to Mac, now your phone folder will be visible on Mac machine, Hope it helped you

How to display content over an HDMI cable from an old Android device to an external screen?

I have a very old Android 2.3.5 device (HTC Evo 4G) which has an HDMI cable connector. I am interested in using the wired HDMI connection to mirror the phone's screen or otherwise display images on an external monitor.
I have developed a simple slideshow application, but I don't know how to get the images to show on the external display.
When the HDMI cable is connected, the monitor 'knows' something is there, but the external monitor screen is blank. There used to be a tool on the play store (FullHDMI by TeamWin) that apparently allowed mirroring, but that tool is gone now. I thought that if that source code were available, I could see if there was device specific code or learn more about what needs to be done to enable external displays.
What needs to be done in the Android code so that the content is displayed on the external monitor when that external monitor is connected via an HDMI cable?

Is there a solution to sideload app from external device via USB and running it without install?

I'm looking for the solution to develop an external device(Android-powered) for smart phone with Android embedded that can sideload app via USB and auto-run like PC2PC USB transfer cable without installing application. I want everyone could plug and play without further settings, installation, no doubt having no root and USB debugging mode turned on.
Is there a solution for doing such a thing like that?
I mean external device has Android app itself. And When it connect to phone via USB, the application will sideload app, put it to runtime for an auto-run and takes over touchscreen control to instruct the external device but still run no secure risk.

Enable the SD Card while USB Debugging?

I am developing a phone app and I'm testing it with my Droid RAZR with OS version 4.1.2
I need the phone to be able to use its SD card, and prevent the computer from using the USB connection as a "mass storage" connection, which causes it to take over the SD card (it can only be mounted to either my phone or the computer, not both).
You used to be able to connect to the computer in "Charge Only" mode, which would keep the SD card active with the phone, but that no longer seems to be an option. There is only Mass Storage (computer uses SD card), Media Device (same story), and Camera (same there too).
Is there another option? Perhaps some way to disable the mass storage from the PC's side but still retain the USB Debugging?
Take a look at this thread here. As stated there:
Next, enable USB debugging by checking the “USB Debugging” item.
Finally – and this is the most oddball – you need to go back a screen,
to Settings, and click on the Storage item. Up in the upper right of
the screen are three tiny squares which represent the Jelly Bean way
of doing a context menu. Click that, and a small “USB Computer
Connection” item will appear. Click that. You’re taken to a new
screen with two “Connect As” options.
Check “Camera”. Yes, because USB debugging requires the use of a
camera (no, not really). It’s just a requirement. Something about
the communication protocol or file transfer encoding or something. I
don’t make this stuff up.

How to set the Usb connection mode?

I'm writing an application which is supposed to dump data on the SD card and then another application on a pc which should read the data when the device is connected to the pc (in disc drive mode).
On my HTC Legend there is a dialog to choose between: Charge only, HTC Sync, Disk drive..
Is there a possibility to set the mode with which the device is connecting to the pc
or at least an intent to ask the user to switch the mode?
I haven't found a way of setting the mode programmatically, but I believe you can bring up the settings menu programmatically by invoking the same activity that the system invokes from the notification area. Unfortunately this appears to be manufacturer-specific: on my phone it is com.htc.android.psclient.SwitchUsbSettings.
On HTC devices, open the ConnectToPC service (whilst USB is not plugged in) in Manage Apps (ICS - probably applies to Gingerbread too; don't remember), and hit Clear Data. Then, plug the USB back again, and you should have the option to "Don't ask again" available. Select your desired mode, check the box, and accept.
CompanionLink does this when you request a USB sync in their android app: it flushes data to SD, then exports the SD as storage (a "disk drive") on the USB, then waits for the user to manually signal the android app when the PC is finished using the SD, and then undoes the SD export to USB again. Though the CompanionLink app can be very frustrating to use, at least this part of it is (largely) reliable.
Unfortunately I don't know the technical details, may well need to figure them out myself one of these months. If you can't get any traction with android docs, perhaps you could study what CompanionLink does on android to implement this. The sequence I describe above is when it is configured to sync over USB against a (PC-based) Palm Desktop.
As an aside, it appears that the reason for this highly-convoluted process is that the SD card's FS is accessed directly and at least the presently-used card FAT FS can only support a single client: the phone itself or USB. imo it would be extremely helpful if concurrent shared access to the SD were possible, but this would likely require deep android changes.
For anyone having this issue with an HTC One M8, this is a bit off the wall, but makes the point to think outside the box. A USB connection resulted in the device charging, that was it.
The solution was the combination of a different USB cable, uninstalling an application called Battery Doctor (which apparently likes to manage everything around your battery), AND USB Network Setting - turn ON Smart Network Sharing...Seemingly unrelated...but this combination got my connected with MobileGo for Android to manage and back up files,contacts and settings.
Hope this helps someone.
Yes .In Android there is a way to change the behaviour of the devices`s USB mode when the device is connected with the PC.
I used a Motorola Milestone[running 2.1] and i was able to switch between the following modes :
PC Suite[developed by Motorola],MemoryCardAccess and Charge alone.
If you need to access phone memory I think you should turn ON "USB Debugging Mode " in your device.Am not sure about it though,I feel it may be handy !!

Categories

Resources