OTG ethernet and camera - P8lite General

Hello,
I hve p8lite - ale-l21 - with stock rom. Is there any chance to get working OTG here?
I would like to use USB ethernet adapter if thats possible
Also i have bought small camera on ebay - I really need it for preview purposes. Is that possible to use?
I have heard about problems with power on other devices. I also have bought cable with another usb plug for power feed.
But I see in app that there is no support OTG. How can I enable it?
regards

I tried to connect mobile HDD, mouse, even pendrive, all with external charger but it never worked. P8 Lite doesn't support OTG.
No one has managed to enable it during last 2,5 year, so I guess it's impossible.

ah, thank you for your reply
Do you know any other device where OTG would be work OK ? I would like to have portable network-diagnosis set (ping, tracert, etc basic tools) in pocket...
I also have BT keyboard.

There is no otg on p8 lite ale. No hardware suport, means no power supply through usb and is disabled in kernel.
.

xysen0 said:
ah, thank you for your reply
Do you know any other device where OTG would be work OK ? I would like to have portable network-diagnosis set (ping, tracert, etc basic tools) in pocket...
I also have BT keyboard.
Click to expand...
Click to collapse
There are a lot of phones that support OTG. Just check any phone spec sites, they usually tell you if a phone supports OTG.

persona78 said:
There is no otg on p8 lite ale. No hardware suport, means no power supply through usb and is disabled in kernel.
.
Click to expand...
Click to collapse
Its enabled in kernel

kosmitchak said:
Its enabled in kernel
Click to expand...
Click to collapse
No, it is not. The files exist in system but is off in kernel by default, i check it.
.

persona78 said:
No, it is not. The files exist in system but is off in kernel by default, i check it.
.
Click to expand...
Click to collapse
He is a kernel developer... I guess he knows better

persona78 said:
No, it is not. The files exist in system but is off in kernel by default, i check it.
.
Click to expand...
Click to collapse
Honor 4C
You know the rest

persona78 said:
No, it is not. The files exist in system but is off in kernel by default, i check it.
.
Click to expand...
Click to collapse
It's actually enabled it Kernel. It's disabled in System software. You can flash the P8 Lite ROM with P8 Lite Kernel on Honor 4C and enable it in systemsoftware and it will work fine. My sister has one and I did that.

Vinnipinni said:
It's actually enabled it Kernel. It's disabled in System software. You can flash the P8 Lite ROM with P8 Lite Kernel on Honor 4C and enable it in systemsoftware and it will work fine. My sister has one and I did that.
Click to expand...
Click to collapse
But honor 4c have a compatible hardware, it give power to usb to activate usb.
I check the p8 lite kernel and in the config file otg was disabled... Weird...
.

persona78 said:
But honor 4c have a compatible hardware, it give power to usb to activate usb.
I check the p8 lite kernel and in the config file otg was disabled... Weird...
.
Click to expand...
Click to collapse
# CONFIG_USB_OTG is not set
^U mean this?
OTG is already enabled:
CONFIG_HUAWEI_USB_OTGSWITCH=y

kosmitchak said:
# CONFIG_USB_OTG is not set
^U mean this?
OTG is already enabled:
CONFIG_HUAWEI_USB_OTGSWITCH=y
Click to expand...
Click to collapse
Yes!
I think is possible to use it but with a Y usb cale.
P8 lite doesn't power up on plug
.

Ah, it looks very optimistic.
You have stated that it needs Y cable - which I have had ordered in last weeks.
So, is there any chance to have OTG working when connecting with another power source with the OTG cable?
I have stock ROM - latest one - with root.
Should I change this, or maybe trying on this one?
reggards

xysen0 said:
Ah, it looks very optimistic.
You have stated that it needs Y cable - which I have had ordered in last weeks.
So, is there any chance to have OTG working when connecting with another power source with the OTG cable?
I have stock ROM - latest one - with root.
Should I change this, or maybe trying on this one?
reggards
Click to expand...
Click to collapse
Phone have All needed files to Power up the OTG, on my other phone (Just 5 Freedom C100) don't have USB host permission (usb.permission. bla bla bla) and it works! All I think this phone is crap!

RootingPro-18 said:
Phone have All needed files to Power up the OTG
Click to expand...
Click to collapse
Those are for honor 4C/X

kosmitchak said:
Those are for honor 4C/X
Click to expand...
Click to collapse
I meant this! (This is from other phone, but there is point)

Related

(Q) Does galaxy mini support USB OTG???

Guys I have a question does SGM support USB otg so I can plug flash drives and mice and maybe even game controllers!!!!
Sent from my GT-S5570 using Tapatalk 2
otg will be support if you flash atleast ics and a kernel which support it
I had connected mini with FlashDrive in ICS, JB but it doesn't recognized USB mouse, game controller or some other Phone
VR.gtmini said:
I had connected mini with FlashDrive in ICS, JB but it doesn't recognized USB mouse, game controller or some other Phone
Click to expand...
Click to collapse
Maybe because the devices need more power than our mini can give.
Verstuurd van mijn GT-S5570
dheeraj (dhlalit11) said:
otg will be support if you flash atleast ics and a kernel which support it
Click to expand...
Click to collapse
I thought that otg is a a hardware feature
VR.gtmini said:
I had connected mini with FlashDrive in ICS, JB but it doesn't recognized USB mouse, game controller or some other Phone
Click to expand...
Click to collapse
Will otg work in Gingerbread 2.3.4?
raven22 said:
Will otg work in Gingerbread 2.3.4?
Click to expand...
Click to collapse
Read ^up^ the 2nd post
JB • XD/\PP
VR.gtmini said:
Read ^up^ the 2nd post
JB • XD/\PP
Click to expand...
Click to collapse
Sorry, may be I need a glasses . I thinking about upgrade from stock firmware to alternative, but all of then looks not well ported (camera problem and so on). Can you recommend any alternative firmware?
hasman1999 said:
Guys I have a question does SGM support USB otg so I can plug flash drives and mice and maybe even game controllers!!!!
Sent from my GT-S5570 using Tapatalk 2
Click to expand...
Click to collapse
It supports if u give mini a cm10 rom of thewhisp ......:silly:
Mine support mouse don't no about game controllers
pratyush369 @
Are you sure that CM10 supports the usb otg, have you tested it your own?
[email protected] said:
pratyush369 @
Are you sure that CM10 supports the usb otg, have you tested it your own?
Click to expand...
Click to collapse
Yes cm10 supports otg . You can connect external storage (eg. pen drive , not so hungry memory card readers etc). You can also connect external hard drives but you would need a powered hub in between . All the best .
What kind of cable do you use?
Verstuurd van mijn GT-S5570
Not working on GT-S5570 with Cm10
is not working,
i just update and install "Usb Host controller" and the message is :
"USB Host controller
Version number: 0.44
S3C USB Host driver NOT found!
Root hub is not present, USB Host mode not active or not available!"
---------------------------------------------------------------------------------
GT-S5570
Android version 4.1.1
kernel version
[email protected] #1
CyanogenMod version:
10-20120929-UNOFFICIAL-tass.
thinkingood said:
You can also connect external hard drives but you would need a powered hub in between . All the best .
Click to expand...
Click to collapse
What is the power limit of otg?
dont kill me if i chose wrong thread.
if anyone use DslrDahsboard or Helicon remote via USB OTG on galaxy mini 2?
i am on cm10.1 can my phone support otg??? if yes how to do it is there any zip file that i will need to flash or any apk i need to get from play store...
shivam071 said:
i am on cm10.1 can my phone support otg??? if yes how to do it is there any zip file that i will need to flash or any apk i need to get from play store...
Click to expand...
Click to collapse
The hardeware of the mini doesn't support it.
Sent from my GT-S5570 using XDA Premium HD app
still no luck
thinkingood said:
Yes cm10 supports otg . You can connect external storage (eg. pen drive , not so hungry memory card readers etc). You can also connect external hard drives but you would need a powered hub in between . All the best .
Click to expand...
Click to collapse
I know I'm jumping in late here, but I can't seem to get anything to work... tried cm10.1 and 10.2 with every app that claims to allow for usb otg and can't get a pen drive to work. Any chance you could be tell me the model of usb key you used that apparently worked thinkinggood?

otg trick

i tried this trick to get usb otg
http://stackoverflow.com/questions/11183792/android-usb-host-and-hidden-devices
but i found that it was already in the system! samsung had made the proper files in the proper places, but otg still isnt working? why not???
Kobro said:
i tried this trick to get usb otg
http://stackoverflow.com/questions/11183792/android-usb-host-and-hidden-devices
but i found that it was already in the system! samsung had made the proper files in the proper places, but otg still isnt working? why not???
Click to expand...
Click to collapse
Because USB OTG is not supported by Samsung on this device. Only Novafusion's ROMs have it at the moment, but it's still in beta.
Sent from Tapatalk on my GT-I8190 running Novafusion's Carbon 4.4.4
GXGOW said:
Because USB OTG is not supported by Samsung on this device. Only Novafusion's ROMs have it at the moment, but it's still in beta.
Sent from Tapatalk on my GT-I8190 running Novafusion's Carbon 4.4.4
Click to expand...
Click to collapse
then why are there a bunche of usbdrive folders in the storage folder? im so confused!
Kobro said:
then why are there a bunche of usbdrive folders in the storage folder? im so confused!
Click to expand...
Click to collapse
Our hardware support USB OTG but not the kernel you have to use a kernel that have USB OTG support
Try this out : http://forum.xda-developers.com/showthread.php?t=2186034
Kobro said:
i tried this trick to get usb otg
http://stackoverflow.com/questions/11183792/android-usb-host-and-hidden-devices
but i found that it was already in the system! samsung had made the proper files in the proper places, but otg still isnt working? why not???
Click to expand...
Click to collapse
Please stop creating new topics on this... its meaning that you are spamming the forum, I've deleted the other 2 threads you made about this.

Is the TWRP_Scatter_R1_Prime compatible with OTG?

Is the TWRP_Scatter_R1_Prime (3.0.2-1 by lopestom) compatible with OTG?
In y case doesn´t recognize the usb drive...
No, the micro usb port of R1 HD doen't work with OTG, someone here say it work if u try with a OTG cable in Y (to supply power)
overthc said:
Is the TWRP_Scatter_R1_Prime (3.0.2-1 by lopestom) compatible with OTG?
In y case doesn´t recognize the usb drive...
Click to expand...
Click to collapse
It's not due to recovery, OTG is a kernel option, if it's not working then you have to either enable it in custom kernel or use a powered cable.
Sent from my LIFE X8 using Tapatalk
vampirefo said:
you have to either enable it in custom kernel or use a powered cable.
Click to expand...
Click to collapse
This is deepest to me.. I don´t khow how enable it. Can you tell me how can I connect it via powered cable?
Tku.. :good:
Alex19Gam said:
No, the micro usb port of R1 HD doen't work with OTG, someone here say it work if u try with a OTG cable in Y (to supply power)
Click to expand...
Click to collapse
Soy de Maracaibo también, saludos.

Che2&CHM&CHE&ALE开源代码(Android 6.0, EMUI4.0,kernel,中国区)

Che2&CHM&CHE&ALE开源代码(Android 6.0, EMUI4.0,kernel,中国区)​
http://download-c1.huawei.com/downl...oadId=96194&version=399258&siteCode=worldwide
...
@D1stRU3T0R
I think this is our kernel...
What oyu think???
.
persona78 said:
@D1stRU3T0R
I think this is our kernel...
What oyu think???
.
Click to expand...
Click to collapse
Yes, i know... I already tested it, aaandd.... Same thing happend as on olraks one... Need to replace a lot of stuffs in there, and even after not sure i will try to do it even then alot of missing files in there.
D1stRU3T0R said:
Yes, i know... I already tested it, aaandd.... Same thing happend as on olraks one... Need to replace a lot of stuffs in there, and even after not sure i will try to do it even then alot of missing files in there.
Click to expand...
Click to collapse
Have you compiled it succesfully?
D1stRU3T0R said:
Yes, i know... I already tested it, aaandd.... Same thing happend as on olraks one... Need to replace a lot of stuffs in there, and even after not sure i will try to do it even then alot of missing files in there.
Click to expand...
Click to collapse
That is normal on released kernels by Huawei, it came with a lot of issues, etc :
They are not the final ones... that is way i say to pick the config file from boot.img and use the known commits.
.
kosmitchak said:
Have you compiled it succesfully?
Click to expand...
Click to collapse
Didn't really bothered... Tomorrow will try just to simply compile it and if it's working, I'll try to upstream at 1 version (and to replace missing files)... If will work, than 3.10.107 is coming slowly
wild_fire said:
Soo how is OC going?
Click to expand...
Click to collapse
Like it was in 300 before Jesus born.
D1stRU3T0R said:
Like it was in 300 before Jesus born.
Click to expand...
Click to collapse
In KERNEL find the frequencies but i can´t find the file to set the frquencies ... :\
.
persona78 said:
In KERNEL find the frequencies but i can´t find the file to set the frquencies ... :\
.
Click to expand...
Click to collapse
Maybe in /cpu? Or system.. Someone said it's maybe related to userspace, which, like in the gpu drivers case, it's impossible to work, but i hope no
I have one ****ing good idea. Honor phones that has 1,5ghz kirin620 are "cherryplus"
What if we install cherryplus firmware on 1,2ghz kirin620 phones? Maybe someone who dont use his phone as daily driver can test it?
kosmitchak said:
I have one ****ing good idea. Honor phones that has 1,5ghz kirin620 are "cherryplus"
What if we install cherryplus firmware on 1,2ghz kirin620 phones? Maybe someone who dont use his phone as daily driver can test it?
Click to expand...
Click to collapse
1.5GHz Kirin 620 is a special Chinese version Honor 4X (such as CHE-TL00H) with BalongV8R2sft. However, after 1.5GHz Honor 4X installed P8Lite's ROM, it still can use 1.5GHz. So I guess if you install 1.5GHz Kirin 620's ROM on our phone, maybe it still can't reach 1.5GHz.But it's just "guess", if you want to give a try, good luck.
Quick update. This source kernel is for Honor 4X.
D1stRU3T0R said:
Quick update. This source kernel is for Honor 4X.
Click to expand...
Click to collapse
Still if you install honor kernel everything will work fine
kosmitchak said:
Still if you install honor kernel everything will work fine
Click to expand...
Click to collapse
Nope... Sadly... Sim wifi bt isn't working, thus is the reason why.
kosmitchak said:
Still if you install honor kernel everything will work fine
Click to expand...
Click to collapse
Honor 4c not 4x... 4x has different net card.
D1stRU3T0R said:
Nope... Sadly... Sim wifi bt isn't working, thus is the reason why.
Click to expand...
Click to collapse
Even on p8 lite source connectivity is not working.
And I think there are drivers for both honor 4x and p8l/4C but maybe I'm wrong.
kosmitchak said:
Even on p8 lite source connectivity is not working.
And I think there are drivers for both honor 4x and p8l/4C but maybe I'm wrong.
Click to expand...
Click to collapse
Ya, there are, maybe we can take out from a working kernel, esal and modify it but it's too complicated.

[EMUI5.0] Enabling OTG without 3rd party apps or mods

I have been playing around with my p9 lite trying to enable OTG support without
installing a custume made kernel or app-s like Elitekernel and EliteOTG.
I have achieved that my phone is OTG compatible, but I cannot test it ( I don't have a
working OTG cable yet).
I will post how I did it as soon as I can confirm that it works.
I have hit a problem - usb port does not provide the 5V to power the usb drive, but I am working on it.
vidra said:
I have hit a problem - usb port does not provide the 5V to power the usb drive, but I am working on it.
Click to expand...
Click to collapse
U have to edit the kernel too.. u will never solved this i mean... usb never provide the 5v
petya230 said:
U have to edit the kernel too.. u will never solved this i mean... usb never provide the 5v
Click to expand...
Click to collapse
I know and I am reading documentation and reversing Eliteakernel to se how thay did it
you tried:
echo hoston > /sys/devices/platform/ff100000.hisi_usb/plugusb ?
OldDroid said:
you tried:
echo hoston > /sys/devices/platform/ff100000.hisi_usb/plugusb ?
Click to expand...
Click to collapse
Yes I have, but it does not seem to make a diffrence.
usb otg status shows OTG_DEV_DEVICE, but iit does not work.
otherwise the pins of my OTG cable have 0.07V not 0V
any toughts?
OldDroid said:
you tried:
echo hoston > /sys/devices/platform/ff100000.hisi_usb/plugusb ?
Click to expand...
Click to collapse
We said, its will not work.
See the kernel source.
petya230 said:
U have to edit the kernel too.. u will never solved this i mean... usb never provide the 5v
Click to expand...
Click to collapse
will u please shut up ?? he is doing something different,, let him do it :/
OldDroid said:
you tried:
echo hoston > /sys/devices/platform/ff100000.hisi_usb/plugusb ?
Click to expand...
Click to collapse
all the best and dont forget my credits
---------- Post added at 10:41 AM ---------- Previous post was at 10:36 AM ----------
vidra said:
I know and I am reading documentation and reversing Eliteakernel to se how thay did it
Click to expand...
Click to collapse
all the best
HassanMirza01 said:
will u please shut up ?? he is doing something different,, let him do it :/
all the best and dont forget my credits
---------- Post added at 10:41 AM ---------- Previous post was at 10:36 AM ----------
all the best
Click to expand...
Click to collapse
I am trying to build the kernel, but I have lots of truble doing it.
And I won't forget to mention you in the credits
vidra said:
I am trying to build the kernel, but I have lots of truble doing it.
And I won't forget to mention you in the credits
Click to expand...
Click to collapse
When u are doing same as i did, why dont u use otg my way ?? U r building kernel, u will need apk to turn on nd off... Thats all what i did
HassanMirza01 said:
When u are doing same as i did, why dont u use otg my way ?? U r building kernel, u will need apk to turn on nd off... Thats all what i did
Click to expand...
Click to collapse
Well yes, but i don't like the idea that I need na extra app to do it, ecpecially if the system is capable of doing it by itself.
Have you tryed building a kernel only enabeling :
Code:
OTG support (USB_OTG)
CONFIG_USB_OTG:
The most notable feature of USB OTG is support for a
"Dual-Role" device, which can act as either a device
or a host. The initial role is decided by the type of
plug inserted and can be changed later when two dual
role devices talk to each other.
Select this only if your board has Mini-AB/Micro-AB
connector.
@vidra Thank you, for sharing as you do, I expected this, go ahead with the project: good:: good:
Anyone confirm this to work on Honor 9?
fastfoxy said:
Anyone confirm this to work on Honor 9?
Click to expand...
Click to collapse
Probably not, since the kernel is device specific, but you can probably use another kernel with this enabled and then just
use HassanMirza01's EliteOTG app to turn it on and off.
Ty for the explanation

Categories

Resources