[Q] Usb Host Mode in Samsung Tab 3 SM-T110 - Android Q&A, Help & Troubleshooting

Hi there!
I am used to install USB host mode in some 2nd line tablets with no major problem.
However I got this Tab3 from Samsung and do not find the required files to change. (I have it rooted)
I wonder if someone here knows:
- Is this tablet capable to USB host? (i need to use an external usb-serial cable)
- Do you know how to configure that?
What I do in a rooted device is:
Add the <feature name="android.hardware.usb.host" /> to the Tablet_Core_Hardware.xml in /system/etc/permissions
Upload android.hardware.usb.host.xml to /system/etc/permissions when it is missing
and reboot
However I do not find this Table_core_hardware.xml
Thank you!

Related

[Q] OTG/USB Host for MT65XX Phones, especially for Jiayu G3, possible?

Hi folks!
I need the OTG/USB Host function on my Jiayu G3. Normally it doesn't support it..
So I did i lot of research and tests at "how i can enable it" and found some information:
1. some things point to it, like the libusbhost.so in /system/lib
2. all 5 pins of the usb slot are connected to a chip (this says nothing, i know)
3. i have found a pdf, which says that otg is possible on mt6575-77 (found on github)
So my question, has anybody get otg/usb host get enabled on Jiayu G3 oder m65xx phones? OR is anybody there who want the same like me and helps me to make it possible?
OTG unlock
Hi
I have a similar problem with my Jiayu G3s (MTK6589T).
For most USB devices it does not react but i hope there is a chance to make it work.
I do not know if it si trustworthy but according to USB OTG Checker my device supports USB OTG.
When i insert one of my USB flash drives i can find sdcard1 folder (total commander) . It is empty but it reacts.
Can anybody please help or just explain what is the problem. Thank you
USB Cables
Djoudie said:
Hi
I have a similar problem with my Jiayu G3s (MTK6589T).
For most USB devices it does not react but i hope there is a chance to make it work.
I do not know if it si trustworthy but according to USB OTG Checker my device supports USB OTG.
When i insert one of my USB flash drives i can find sdcard1 folder (total commander) . It is empty but it reacts.
Can anybody please help or just explain what is the problem. Thank you
Click to expand...
Click to collapse
Hi there,
I think I have a possible solution for this case.
Many USB cables are not correct to link with computer. I have two cables, one of Jiayu and other (more thin) brought in a chinese store. The cable brought in chinese store don't work to link with computer.
I hope this information was useful.
Any updates?
maxiandroid.blogspot.com/2012/06/usb-otg-android.html
This might help. Using an apk it is possible to make it work, IF kernel supports it. Don't know if phone has hardware support though...
I've read here that you should connect the ID pin to a pull-down 150k resistor, then to GND.

[Q] how to enable usb host mode if deviceis not rooted or if rooted

[/Bhi i have a very common but strange problem i am mentioning below plz any good solution will be appritiated
1) i have chinese phablet mtk8389 hd89 dual sim, 1gb ram, gps,quadcore, wifi,bluetooth,and microusb port
problem is that if i connect it to any otg or usb cable to connect with computer it dont show any response but just start charging
then i find oht a solution that i need to fix a file insode android system/etc/permissions name of file android usb host .xml
i go to file and add the file but actually file not get added even i cannot edit any system file because i dont have permission
then i find out that for doing that i need to root the device
but how stupid is that if i dont have usb host mode active how i can onnect my device with computer for root?
it does not connect even dont show in computer that some usb device ger connected its very complicated can any one give splution
how i can enable usb host mode with out root device and if i have to root the device how i can root with out usb mode not working because with out usb host me the device will not be connected .
any suggestion will be appericiated
i think my device is not rooted but i have acces to android all system files but i am unable to edit any file like it have write
protected .
click on usb debugging!
or install moborobo pc suite for chiness android
problemmmmmmmmmmq
anabhi said:
click on usb debugging!
or install moborobo pc suite for chiness android
Click to expand...
Click to collapse
hello please understand my problem i click onusb debug is very simple answer
i know what i need to click and i click on every posible option but the problem is that
microusb port is not connecting with any thing if i connect with usb stick or with card reader by otg cable
or even if i connect with computer computer dont give any sound i know u will say install mobo robo suit
but my problem is that even if software is not install computer should tell that a usb device get inserted but could not be recognized
but no nothing is showing also i am not able to edit my android filesystem files
i listen if device is rooted it should not show the system files but i can see all files so its quite confusing plz give me a good solution
that how i can active the capacity to use micro usb port because right now its just charging nothing else
use z4root,frameroot android for root
gsm forum will give u better soultion ,search on google
try other usb cable !
anabhi said:
use z4root,frameroot android for root
gsm forum will give u better soultion ,search on google
try other usb cable !
Click to expand...
Click to collapse
i just wantto know thatif usb is showing no connection with otg or computer then how i can root with any software i try
some root softwares but it says no device connected
second i change many cables and with other devices same cables are working but not wi this one
third i just want that ,y microusb port start functioning for that i need that i cam edit android file system files
is there any way that i can edit the files like i get permission to edit system filez?
or is there any idea how i can enable super user because it is not enable any suggetion will be apperiaciated

[FIX] USB Host Mode

Hey guys!
Now before we begin!
IMPORTANT NOTICE!
This modification comes with ABSOLUTELY NO WARRANTY! MUHAHAHAHA!
Joking aside, this may or may not break your device. I can't even guarantee it will work on devices I haven't tested it on yet.
----------------------------------------------------------
Requirements
Compatible Rooted Android Device [TESTED ON REDMI 2 8018 Resurrection Remix ]
The permission XML file available below
Root Explorer or compatible fully-featured file manager
Procedure
Transfer .xml file to your device.
Open Root Explorer and navigate to .xml file you transferred earlier.
Move .xml file to /system/etc/permissions.
Set permissions to rw -r -r
Reboot!
There you go! HOST mode enabled on your device!
Frequently Asked Questions!
What is USB Host Mode?
When your Android-powered device is in USB host mode, it acts as the USB host, powers the bus, and enumerates connected USB devices. USB host mode is supported in Android 3.1 and higher
Is it different from OTG?
No. It is part of what constitutes OTG.
Why do I need this Fix then?
Custom ROMs compiled for our device DO NOT contain permissions for USB Host Mode. However they do contain permissions for USB Accessory Mode (Crudely devices which not have an independent power source like flash drives and mice). OTG works with Accessory mode but your device will fail to identify Host mode devices.
This fix will enable Host mode and your device will be able to communicate with Host Mode devices (Devices with independent power source like External Hard Disk, DSLR Cameras in my case ).
Can I include this in my ROM?
Yes you can, provided that you mention it later.
Can't Download The Xml
Pls Upload It On Gdrive I Can't Download The XML File.
mihirshah+1 said:
Pls Upload It On Gdrive I Can't Download The XML File.
Click to expand...
Click to collapse
https://drive.google.com/open?id=0B4krewmnOxTic3NrYUd2akxzT2s
taalojarvi said:
https://drive.google.com/open?id=0B4krewmnOxTic3NrYUd2akxzT2s
Click to expand...
Click to collapse
Thanks Hope It will Work
Thanks
Reviving an old thread,
Can i connect powered usb hub through this way, also how do i change that permission

how to use USB Wifi Dongle in

I have an M8S Pro but have had nothing but problems with the WIFI strength (see my other post)
I ran another test this morning with the device sitting right next to wifi router,
transferred 532mb file from samba share (router has usb drive attached)
it took over 26 minutes and crashed around 510mb
side notes:
transferring the same file to my laptop transfers at 20-30MB/s
the m8s pro had stock firmware originally and the issue was the same
i have installed nexus tv build (found here but of course the issue is still happening) - Ver 7.1.2 - Kernal Verion: 3.14.29
In hopes of fixing this i recently purchased a: Leelbox 600M AC dual-band Wireless USB adapter
However i cannot figure out how to use this adapter and disable the internal one?
with the stock firmware there was a build.prop file, and i had tried wlan1 (instead of wlan0) however this just resulted in no wifi at all. with this new firmware (7.1) the build.props file doesnt list the wlan adapter like the stock does so Im not sure what to try.
bloodstains said:
However i cannot figure out how to use this adapter and disable the internal one?
with the stock firmware there was a build.prop file, and i had tried wlan1 (instead of wlan0) however this just resulted in no wifi at all. with this new firmware (7.1) the build.props file doesnt list the wlan adapter like the stock does so Im not sure what to try.
Click to expand...
Click to collapse
That's because the property Wlan0 does not exist.
You can modify the Wlan1 property(not the actual property itself)
For disabling inbuilt wifi requires more low level code and driver removal, as a temporary solution there are wifi drivers inside the lib and vendor folders, there may also be some relavent files in /system/etc
As for getting your dongle to work, wouldn't that be more like USB tethering to an android device? Maybe check out USB tethering settings or apps
Ricky Divjakovski said:
That's because the property Wlan0 does not exist.
You can modify the Wlan1 property(not the actual property itself)
For disabling inbuilt wifi requires more low level code and driver removal, as a temporary solution there are wifi drivers inside the lib and vendor folders, there may also be some relavent files in /system/etc
As for getting your dongle to work, wouldn't that be more like USB tethering to an android device? Maybe check out USB tethering settings or apps
Click to expand...
Click to collapse
with this nexus tv build though the build.props file doesnt reference either wlans. can i add some key/value pair in there (build.props) for it?
bloodstains said:
with this nexus tv build though the build.props file doesnt reference either wlans. can i add some key/value pair in there (build.props) for it?
Click to expand...
Click to collapse
could be set within the kernel or elsewhere, check if the property exists first with adb shell getprop blahblahblah

[Q] motorola's mfastboot compiled for ARM?

Hi all, I have a rooted S5 so I can use ADB&Fastboot via OTG for debugging/flashing another phone, and I use this as I have no PC/laptop.
Recently, I bought an Moto E which needs to be flashed in order to work correctly. The trouble is that I need an ARM compiled version of the mfastboot (the one used with most Motorola phones, which allows bigger file size) but I can't find it on the Internet, so looks like I need to compile it.
Did anyone compile that before? If not, can I compile it using my Android phone?
After some research, I'd find out that the mfastboot binary is closed-source and Motorola proprietary, so an ARM port for it doesn't exist.
Luckily, seems like the ARM/Linux fastboot binary works nicely with Motorola phones, so mfastboot is only needed on Windows.
You can get the ARM-compiled adb/fastboot binaries by looking for "adb on ARM ChromeOS".
Sent from my Galaxy S5 using XDA Labs
Hi! So, im in the same situation here:
MLX said:
use ADB&Fastboot via OTG for debugging/flashing another phone
Click to expand...
Click to collapse
I downloded arm adb, so should i place the files in any $PATH folder?
And how my phone knows which is the USB host and which the client? (Is there any way of switch the roles)
Many thanks!!
Sorry for my english...
Nawelsa said:
Hi! So, im in the same situation here:
I downloded arm adb, so should i place the files in any $PATH folder?
And how my phone knows which is the USB host and which the client? (Is there any way of switch the roles)
Many thanks!!
Sorry for my english...
Click to expand...
Click to collapse
1) You can put adb binary in /system/bin, /system/xbin or any other place available in the $PATH environment variable (I just put it at /system/bin), don't forget to set it as executable (chmod 0755 /system/bin/adb)!
2) The phone knows how to switch between host and client mode because of a pin in the MicroUSB port, commonly named ID or pin 4. Just look for "microusb pinout" and see the pin between data+ and gnd, it's the 4th pin. If that pin is connected to the GND one (yes, ID and GND connected) the phone puts in host mode, else it puts in client mode.

Categories

Resources