USB host support - Nook Color Android Development

Edit: work is in progress on this, as soon as there are updates, u'll know about it.
The patches that were released were for getting nook in the main linux kernel.
Turns out cm7 team might have a few more goddies for you

best reserve this just in case

now for a real post...
Great! keep up the good work
rep+

Thanks for reserving the post, as u can see am a total noob here

rigy73 said:
Thanks for reserving the post, as u can see am a total noob here
Click to expand...
Click to collapse
hahah, not as bad as some others....
anyway, can we get a mod to change the maker of my first post to rigy?

Try looking at the Archos gen8 kernel sources. They use OMAP36XX and a similar PMIC if not the same one. I don't think the NC has a charge pump and don't think you can rely on ID to detect an otg cable.
Good luck!

rigy73 said:
A while back i started looking into enabling usb host support, I have come across a lot of resources while trying to figure out how.
...
Click to expand...
Click to collapse
Great Idea... I had questioned whether we just picked up this functionality in CM7 build of our drivers at least... so I plugged my Lexar flash drive formated FAT32 into a USB to micro USB adapter and plugged it into the Nook and rebooted to see if the the nook flashed the pwr to the drive as usually happens during init on other devices but unfortunately no luck... it doesn't pwr the conn during init...
But I've got plenty of devices I can test with if you get to a point that would help...

jtbnet said:
Great Idea... I had questioned whether we just picked up this functionality in CM7 build of our drivers at least... so I plugged my Lexar flash drive formated FAT32 into a USB to micro USB adapter and plugged it into the Nook and rebooted to see if the the nook flashed the pwr to the drive as usually happens during init on other devices but unfortunately no luck... it doesn't pwr the conn during init...
But I've got plenty of devices I can test with if you get to a point that would help...
Click to expand...
Click to collapse
Okay thanks for that info, can you try something like a keyboard with both standard mirco usb cable and B&N cable, try restarting and then send me the dev logs.
You can send logs with aLogCat

Evergreen has done a good bit of work on this already. He will be back next week.

I've also been actively working on this.
I have gotten the musb into a_idle in the past and also just echoing host into mode seems to start some of the transition. I'd pin seems to be a lost cause and I gave up on. It already.
Sent from my Desire HD using XDA App

dalingrin said:
Evergreen has done a good bit of work on this already. He will be back next week.
Click to expand...
Click to collapse
Good to know other people too have been working on it.
I've also been actively working on this.
I have gotten the musb into a_idle in the past and also just echoing host into mode seems to start some of the transition. I'd pin seems to be a lost cause and I gave up on. It already.
Click to expand...
Click to collapse
can u also share your progress here, so that we can increases the resources.

TPS65921
It looks like rigy73 has already uncovered most all of what i've been able to pull together as well as some extra testing information. So glad everyone who has been looking at / working on this is coming together to share.
Here is a link (if needed) to more documents regarding TPS65921:
http://focus.ti.com/docs/prod/folders/print/tps65921.html
It contains the datasheet, and under technical documents has register manual.

This. I mean with this no more worrying about bluetooth keyboards! And hopefully we could even get crazy things like ddr pads working ;p. Talk about the ultimate game system on the go.

Two kernel patches added.

Have you contacted anyone on our CM7 team to include it in the kernels (fattire, dalingrin, etc)?

I haven't tested it personally, nor do i have any proof that it is actually working, it can be included once we know that there are no problems in the code.

Really interested in seeing this happen =D.

Ophbalance said:
Have you contacted anyone on our CM7 team to include it in the kernels (fattire, dalingrin, etc)?
Click to expand...
Click to collapse
The patches are from the CM7 team

The patches are from the CM7 team
Click to expand...
Click to collapse
That's what i figured too, who else would want to make nook more awesome.
And has anyone been able to get this working?

THANK YOU!
Sorry for the screaming, but this is amazing. I was just looking into this this morning because, RcketScientist is working on a camera raw patch. This is the last thing my Nook needs. I am not great at compiling, but I will help when things get a bit more stable. Is this going to be able to patch the stock kernel? Will it be flashable? or incorporated into a new build? Sorry if I am jumping the gun.
Leko
P.S. Check out the app...
http://www.anthonymandra.com/RawDroid/?author=2

Related

[Q] Htc flyer & micro sd 64gb

hi
htc flyer can support micro sd 64gb?!
I think all 64 gb micro SD are sdxc and I think the flyer only supports up to 32gb sdhc.
That is correct in theory, however it appears that most devices that state mini-SDHC (32GB max) compatibility work with SDXC, so it might be worth a try.
Wish I had one to try
I try mini sd 32gb and work in flyer.
any body try 64gb on flyer ?!
I wouldn't think so but you never know until you try it I guess. You might try reading here before purchasing one though - http://www.androidcentral.com/sandisk-announces-64gb-microsdxc-card-dont-get-too-excited
Sent from my HTC Flyer.
Thanks
I think micro sd 64gb not work with flyer.
anyway ... if anybody try this ... plz comment here.
I think if you have that many videos that you actually want to keep you have more serious issues..............
DigitalMD said:
I think if you have that many videos that you actually want to keep you have more serious issues..............
Click to expand...
Click to collapse
Lol, I have more music that that never mind videos and audiobooks. Pretty sure by the way she described here usage butterflygirl could easily fill one too.
Yes it's too much to listen to all together, but you can never tell in advance what you'll be in the mood for.
Yeah you are right, I have a music collection that's over 25 Gb, but I pared it down to 16 Gb for travel because there other stuff I will never listen to.
I have the best part of half a terrabyte of music. That is WAY more than anyone could feasibly listen to even on a very long trip for sure but I have a tendency to listen to a track or two from an album at random and move on, so it's hard to pare it down properly. If I could use OTG it would solve any problems but for now I make a day-by-day decision what to transfer from the Cloud/PC and have a few 32GB SD cards so it's no really a big deal anyway.
@globatron
Yep, butterflygirl could fill up that space. I have 12gb of manga alone....
Contest!!!
Let's see who can fill up the most space on their Flyer!
Ready, Go!
I'm surprised no one has pressed on USB host. I see random reports that people have it on their Flyer but so far no dedicated method for making it work.
DigitalMD said:
I'm surprised no one has pressed on USB host. I see random reports that people have it on their Flyer but so far no dedicated method for making it work.
Click to expand...
Click to collapse
I will start playing with usb host when I have Honeycomb. If I don't see HC soon in US, then I will probably try globatron's method.
DigitalMD said:
I'm surprised no one has pressed on USB host. I see random reports that people have it on their Flyer but so far no dedicated method for making it work.
Click to expand...
Click to collapse
Easy with source, just compile the module. I'm seeing nothing at all on the usb bus when I try with HC and I'm not bothered enough to blind port it.
globatron said:
Easy with source, just compile the module. I'm seeing nothing at all on the usb bus when I try with HC and I'm not bothered enough to blind port it.
Click to expand...
Click to collapse
As near as I can tell (with my limited ability) USB host seems to be working on the RC of HoneyComb (as used in FlyHoney) but, is not working on the final release.
I'll pop Nicki a note and see if he compiled something or if it was in the beta base. If he has things set up to compile the module it should be pretty simple to get this up and running.
Any word from Nicki on USB host?
Forgot to ask when the source landed, it is there...just seems the HTC have taken strange interpretation of the OTG standard. I was fiddling at it a bit yesterday and I can get it to go into OTG mode but it doesn't detect any attached device.

[Answered] NT USB port unusable at this time...right?

I presume the usb port of the NT is unusable until a kernel level root is developed. If someone would confirm for the hell of it, please do! (I grabbed a couple usb to micro-usb converters - but, no luck...)
I didn't research the usability until after I tried using the usb port! I figured it would be enabled... why not allow a keyboard, etc.? Anyway, that explains why I couldn't find out the 'port type' in the official specs (micro usb).
Read some stuff on the Nook Color - and I believe the usb is available for it when rooted.
ebsq said:
I presume the usb port of the NT is unusable until a kernel level root is developed. If someone would confirm for the hell of it, please do! (I grabbed a couple usb to micro-usb converters - but, no luck...)
I didn't research the usability until after I tried using the usb port! I figured it would be enabled... why not allow a keyboard, etc.? Anyway, that explains why I couldn't find out the 'port type' in the official specs (micro usb).
Read some stuff on the Nook Color - and I believe the usb is available for it when rooted.
Click to expand...
Click to collapse
USB host mode is part of the android kernel since gingerbread but the ROM has to support it.
Cheers!
-M
XDA member since 2007
by unusable do you mean like not working or can't be connected to the computer
to root and debugging?
if you are... what the hell are you smoking?
please elaborate a little more as to unusable
424aca said:
please elaborate a little more as to unusable
Click to expand...
Click to collapse
I think he means, it can't be used to plug a keyboard in?
USB host mode is not supported in the stock B&N os.
424aca said:
by unusable do you mean like not working or can't be connected to the computer
to root and debugging?
Click to expand...
Click to collapse
Yeah - I guess as a USB host is the terminology I needed. I'm rooted - so, the Nook works fine as a device on my PC!
I just want to run devices from the Nook itself - particularly keyboard and game controllers (ps3).
It never occurred to me that it wouldn't function 'out of the box.' The only reason I can see to deny it is either battery drain or to guard against hack attempt. Pretty lame really!
dragon_76 said:
USB host mode is part of the android kernel since gingerbread but the ROM has to support it.
Cheers!
-M
XDA member since 2007
Click to expand...
Click to collapse
Do you think it might be possible to replace elements using root to enable it?
Barring that, in one dev thread or another, I vaguely remember reference to a particular way of bypassing the bootloader lock, that if it worked would allow us to use custom ROMs but we'd be stuck with the B&N kernel. Does that sound familiar? What I'm really asking to anyone who might feel they know, is what are the odds the devs might crack USB host even if they can't get past the bootloader lockout?
Thanks to anyone with information.
Once this is enabled we wont just be able to use a keyboard, but also use it to browse your camera pictures, hard drives, etc
fortunz said:
Do you think it might be possible to replace elements using root to enable it?
Barring that, in one dev thread or another, I vaguely remember reference to a particular way of bypassing the bootloader lock, that if it worked would allow us to use custom ROMs but we'd be stuck with the B&N kernel. Does that sound familiar? What I'm really asking to anyone who might feel they know, is what are the odds the devs might crack USB host even if they can't get past the bootloader lockout?
Thanks to anyone with information.
Click to expand...
Click to collapse
Cyanogenmod has USB host enabled. You could ask a cm dev how it is done. Dalingrin works on the Nook Color port, he may be able to tell you.
Cheers!
-M
XDA member since 2007
albertwertz said:
Once this is enabled we wont just be able to use a keyboard, but also use it to browse your camera pictures, hard drives, etc
Click to expand...
Click to collapse
Yes. Once host mode is enabled you will have access to HID and mass storage. I have both on these on my ATRIX.
Cheers!
-M
XDA member since 2007

[Q] (Q) Nook Table/HP netbook Merger-is it possible?

Hello everyone, I am very happy to be a part of this forum. I love my NT 16GB with CM7. It is awesome.
I have an old HP Mini 1000 netbook with a bad hard drive and no screen. My thought is to mount the tablet in the area where the screen was and use the keyboard/mouse/camera/speakers and periferals. I suppose I would have to cause the tablet to function as motherboard/screen and attach all devices through usb. It is probably more work than it is worth, but would be neat to see. Let me know what all you smart folks think.
mikeslagle47 said:
Hello everyone, I am very happy to be a part of this forum. I love my NT 16GB with CM7. It is awesome.
I have an old HP Mini 1000 netbook with a bad hard drive and no screen. My thought is to mount the tablet in the area where the screen was and use the keyboard/mouse/camera/speakers and periferals. I suppose I would have to cause the tablet to function as motherboard/screen and attach all devices through usb. It is probably more work than it is worth, but would be neat to see. Let me know what all you smart folks think.
Click to expand...
Click to collapse
with a fully functioning ( ota ? ) usb port, then YES.
Totally out of my knowledge base here, but I think I remember reading something about "USB hosting" needing to be enabled in order to use USB peripherals. The NC has this cracked, but I don't think anyone has figured this out for the NT yet.
johnseeking said:
Totally out of my knowledge base here, but I think I remember reading something about "USB hosting" needing to be enabled in order to use USB peripherals. The NC has this cracked, but I don't think anyone has figured this out for the NT yet.
Click to expand...
Click to collapse
Tell me what you know about the NC's usb port please. . And I remember too that the development person toiling away on the new kernel @Kurma30, said the port's got no power ( oh no ! ) and so you need a powered hub -or- custom wiring ( ? ? ? ) to get usb to first base. Hmm.
old_fart said:
Tell me what you know about the NC's usb port please. . And I remember too that the development person toiling away on the new kernel @Kurma30, said the port's got no power ( oh no ! ) and so you need a powered hub -or- custom wiring ( ? ? ? ) to get usb to first base. Hmm.
Click to expand...
Click to collapse
I'm behind a draconian firewall here at work, so I can't check to see if this is the exact page I found this on, but look here: (link)
Or it might have been here: (link)
I want to say it was the 2nd one...

[DEV] MHL

Hello Everyone! This is a movement/project to get MHL going on CM10 ROMs. I have started tearing into it as some of you may have seen on some other threads, but I am just a noob
I would love some help on this. I am not good with programming or working with source so i have posted my changes on pastebin. Reason for that is so that you guys (and gals) can help out! If you know what you're doing and can build with some changes you make yourself, please go ahead and do so, but keep me informed. If you are not as savvy with this stuff like me, you can still help by searching through the code and trying to see what is missing or out of place! Thank you to all that help out. Post any news or questions here!
Pastebin ==> http://pastebin.com/u/slingerdroid
Attached log files from attempting MHL use on AOSP and actually doing it on Sense 3.6.
Big Thank you to SirGatez
cslingerland said:
Hello Everyone! This is a movement/project to get MHL going on CM10 ROMs. I have started tearing into it as some of you may have seen on some other threads, but I am just a noob
I would love some help on this. I am not good with programming or working with source so i have posted my changes on pastebin. Reason for that is so that you guys (and gals) can help out! If you know what you're doing and can build with some changes you make yourself, please go ahead and do so, but keep me informed. If you are not as savvy with this stuff like me, you can still help by searching through the code and trying to see what is missing or out of place! Thank you to all that help out. Post any news or questions here!
Pastebin ==> http://pastebin.com/u/slingerdroid
Click to expand...
Click to collapse
Hawtness. Will def jump in wherever I can.
What is MHL.
Sent from my ADR6425LVW using xda app-developers app
merlin66676 said:
What is MHL.
Sent from my ADR6425LVW using xda app-developers app
Click to expand...
Click to collapse
Mobile High-Definition Link. Basically, the HDMI over USB protocol that the Rezound supports in Sense but not AOSP.
place holder. so tapa can have this in my recent. going to work on this more tonight. thank you op
shrike1978 said:
Mobile High-Definition Link. Basically, the HDMI over USB protocol that the Rezound supports in Sense but not AOSP.
Click to expand...
Click to collapse
Sense 3.6 only. The Sense 4.x builds do not support MHL.
To the OP, thank you guys so much for attempting to make this work. You guys keep breathing life into this device. Your work is VERY appreciated!
Sent from my ADR6425LVW using xda premium
synisterwolf said:
place holder. so tapa can have this in my recent. going to work on this more tonight. thank you op
Click to expand...
Click to collapse
let me know what you find or if i can help
Question. I don't have CM10 installed right now but you guys have tried adding "ro.hdmi.enable=true" to the build.prop? Worth a try.
Flyhalf205 said:
Question. I don't have CM10 installed right now but you guys have tried adding "ro.hdmi.enable=true" to the build.prop? Worth a try.
Click to expand...
Click to collapse
yeah its already there
Flyhalf205 said:
Question. I don't have CM10 installed right now but you guys have tried adding "ro.hdmi.enable=true" to the build.prop? Worth a try.
Click to expand...
Click to collapse
I thought thus was used for HDMI only and not the mhl connector.
Cm10 trys to output video to USB when connected to the mhl device. It just doesn't know how. Someone posted a logcat and it shows its passing the information to com.android.athome.mediaroute.provider
But errors right there. Unless I'm looking at the wrong error. But I need to look at it some more. Couldn't do much at work today. :/
Sent from my iPhone...
synisterwolf said:
I thought thus was used for HDMI only and not the mhl connector.
Cm10 trys to output video to USB when connected to the mhl device. It just doesn't know how. Someone posted a logcat and it shows its passing the information to com.android.athome.mediaroute.provider
But errors right there. Unless I'm looking at the wrong error. But I need to look at it some more. Couldn't do much at work today. :/
Sent from my iPhone...
Click to expand...
Click to collapse
I've been reading a lot and CM10 seems like it has problems with MHL anyways. You say it tries to push it through USB but just doesn't know how to. That would be kernel issue would it not?
I will be able to start testing when I get my MHL adapter back tomorrow. I got a lot of free time to test since I'm done updating recoveries for now
EDIT: I reading more and saw where one guy somehow changed his refresh rate to [email protected] inside of the kernel. So is it somewhere in there most likely???
im also good to test. might be sending the phone in though so sooner rather than later would be good. It seems that everything starts with the ActivityManager file... i could be wrong though.
Flyhalf205 said:
I've been reading a lot and CM10 seems like it has problems with MHL anyways. You say it tries to push it through USB but just doesn't know how to. That would be kernel issue would it not?
I will be able to start testing when I get my MHL adapter back tomorrow. I got a lot of free time to test since I'm done updating recoveries for now
EDIT: I reading more and saw where one guy somehow changed his refresh rate to [email protected] inside of the kernel. So is it somewhere in there most likely???
Click to expand...
Click to collapse
Kernel is built with HTC source. I would think it would carry over but I'm no way a kernel dev. The jar file posted in the other thread might be needed but I haven't had time to look at it yet. As it sits now the phone doesn't know how to pass the information from the screen to the USB mhl to the TV. I think the reason why screen says source and just black is because its getting some sort of output.
Sent from my iPhone...
synisterwolf said:
Kernel is built with HTC source. I would think it would carry over but I'm no way a kernel dev. The jar file posted in the other thread might be needed but I haven't had time to look at it yet. As it sits now the phone doesn't know how to pass the information from the screen to the USB mhl to the TV. I think the reason why screen says source and just back is because its getting some sort of output.
Sent from my iPhone...
Click to expand...
Click to collapse
I think the real issue is as I discussed else where (where I posted the logs in CounterShrike) and the issue is that the kernel has everything it needs to utilize MHL hardware and the HDMI out driver is functioning (but separate from the actual media pipeline. The pipeline portion that MHL require to function (the middleman that takes the graphics, sound and sends them to MHL hardware) does not seem to be in our sources (not the kernel, but the libraries) because it is proprietary. I am going to experiment with trying to hack the display middleman into AOSP and see if it works, with any luck it will be drop in and won't require anything HTC specific.
In Stock once the MHL cable is connected an HDMI broadcast is sent and picked up by the DisplayListener which responds by handshaking and configuring the MHL/HDMI output of the device before handing off to the AudioListener which does the same. AOSP is not performing any of this short of identifying the MHL cable is connected and rotating the home screen for display (it also appears any portrait app besides the home screen stays in portrait mode regardless of MHL cable connected)
This is an issue affecting many MHL capable devices, NOT just the Rezound. I have read MHL does work on some AOSP devices but I have not been able to locate any source to specific roms capable of it (which could help us). I think our best bet is a hack until we can get/find proper source.
Once we can get the DisplayListener and AudioListener to handshake with MHL/HDMI hardware like Stock we can identify what else we may need to fix if we are still without picture and or audio.
synisterwolf said:
Kernel is built with HTC source. I would think it would carry over but I'm no way a kernel dev. The jar file posted in the other thread might be needed but I haven't had time to look at it yet. As it sits now the phone doesn't know how to pass the information from the screen to the USB mhl to the TV. I think the reason why screen says source and just black is because its getting some sort of output.
Sent from my iPhone...
Click to expand...
Click to collapse
Hmm..That is true. Should be taken from original source unless Chad has modified a file which I doubt that is the case.
EDIT: Or what he said above This guy has his MHL fix in his kernel at https://github.com/ZenArcade/Infusion-GB-Z/commit/e70be75f5e709ef17df9dd2705bee1b810e0a2b6
waiting for a reply back from meetmhl on exactly what files are used in the api. Hopefully it's something as simple as missing a lib.
SirGatez said:
I think the real issue is as I discussed else where (where I posted the logs in CounterShrike) and the issue is that the kernel has everything it needs to utilize MHL hardware and the HDMI out driver is functioning (but separate from the actual media pipeline. The pipeline portion that MHL require to function (the middleman that takes the graphics, sound and sends them to MHL hardware) does not seem to be in our sources (not the kernel, but the libraries) because it is proprietary. I am going to experiment with trying to hack the display middleman into AOSP and see if it works, with any luck it will be drop in and won't require anything HTC specific.
In Stock once the MHL cable is connected an HDMI broadcast is sent and picked up by the DisplayListener which responds by handshaking and configuring the MHL/HDMI output of the device before handing off to the AudioListener which does the same. AOSP is not performing any of this short of identifying the MHL cable is connected and rotating the home screen for display (it also appears any portrait app besides the home screen stays in portrait mode regardless of MHL cable connected)
This is an issue affecting many MHL capable devices, NOT just the Rezound. I have read MHL does work on some AOSP devices but I have not been able to locate any source to specific roms capable of it (which could help us). I think our best bet is a hack until we can get/find proper source.
Once we can get the DisplayListener and AudioListener to handshake with MHL/HDMI hardware like Stock we can identify what else we may need to fix if we are still without picture and or audio.
Click to expand...
Click to collapse
I believe this rom has working MHL. https://github.com/rascarlo/platfor...jb-ras-mr1/core/java/android/hardware/display
Very good work cslingerland and Flyhalf205. Could one of our AOSP devs check this code out and see if compiling it into the ROM resolves our MHL problems? I do not currently have a development environment setup Someone would likely beat me to having a compiled library ready. I would have to D/L some source first as I haven't done any kernel dev work since Gingerbread. Thanks!
FYI, HDMI/MHL has nothing to do with USB, they just share a connector (it can do USB or MHL, not both).
SirGatez said:
Very good work cslingerland and Flyhalf205. Could one of our AOSP devs check this code out and see if compiling it into the ROM resolves our MHL problems? I do not currently have a development environment setup Someone would likely beat me to having a compiled library ready. I would have to D/L some source first as I haven't done any kernel dev work since Gingerbread. Thanks!
Click to expand...
Click to collapse
i would, but that is the very reason i started this thread. i dont know exactly what files we need and what ones need to be modified.
i was hoping some dev would have more knowledge to be able to look at it and know

[Dev] USB OTG Tests

Recently google said OTG isnt supported on the nexus 4 device
So curiosity has got the better of me and I've requested for people to test a few things, this is a development thread created for USB OTG and getting it to work.
What we know:
The snapdragon s4 soc support otg (running all the time reads mdm as usb device)
Slimport support OTG
kernel supports OTG
Unsure about ROM
This is created from my mobile device, when i receive net access ill update this more
Kernel i built 2 weeks ago or so, supports OTG
If anyone with an OTG Cable can test and provide both logcat and dmesg when plugging in a device, to make it easier would prefer ps3 controller connecting. Ontop of that do 2 tests 1 without supplying power and 1 with supplying power.
Newer kernel http://d-h.st/o0O
Installation ZIP, http://d-h.st/o0O
Works on any ROM
Remember to modify build.prop and add ro.usb_host=1
Think ive just figured it out new kernel will be uploaded & mod lets hope it works need testers
Ill test the kernel to make sure its good and boots fine then ill drop the kernel, but i can only test to a certain extent i dont own an OTG Cable, also youll need to modify @ ROM level
Shaky156 said:
Ill test the kernel to make sure its good and boots fine then ill drop the kernel, but i can only test to a certain extent i dont own an OTG Cable, also youll need to modify @ ROM level
Click to expand...
Click to collapse
I have an OTG cable I'm not using, willing to send it you for free. PM me if interested.
gangsterjoop said:
I have an OTG cable I'm not using, willing to send it you for free. PM me if interested.
Click to expand...
Click to collapse
Thanks man really appreciate the offer but that would take days, maybe even weeks to get here, Im in the UK, I was hoping to get the tests done and see if its possible or not pretty quickly
I've already sliced 2 usb cables, on my last one
Link to new kernel for Testing USB OTG, http://d-h.st/l5Y
also put into build.prop ro.usb_host=1
Give it a test, and please provide logs, thank you
EDIT: FOR STOCK ROM ONLY
(Thanks to endursa for reminding me)
endursa said:
i would love to test it, but if i run the boot image with fastboot boot boot.img i get a whole lot of fc's on CM10.1 and i can't reflash my device this weekend, :/
i should mention it's the same with both boot.img you posted
Click to expand...
Click to collapse
Here you go
Flashable on any ROM
http://d-h.st/o0O
Just remember to put into build.prop
ro.usb_host=1
I don't have a PS3 controller, so this was tested using a standard USB thumbdrive, i also don't have a splitter to make it powered, so i'm afraid i can't test this either, this was the thumb-drive plugged directly into the phone:
dmesg:
http://pastebin.com/rsvsLGQr
logcat:
http://pastebin.com/p8SfDuEX
Both will expire in a day, in case i missed any personal information.
Shaky156 said:
Here you go
Flashable on any ROM
http://d-h.st/o0O
Just remember to put into build.prop
ro.usb_host=1
Click to expand...
Click to collapse
Hi , Im using latest aokp build
edited the .prop file
and flashed the zip
phone wont bootup
had to get into recovery and flashed again francos latest kernel to boot normally
ps. still just for stock roms ?
Sent from my GT-N7100 using Tapatalk 2
FISKER_Q said:
I don't have a PS3 controller, so this was tested using a standard USB thumbdrive, i also don't have a splitter to make it powered, so i'm afraid i can't test this either, this was the thumb-drive plugged directly into the phone:
dmesg:
http://pastebin.com/rsvsLGQr
logcat:
http://pastebin.com/p8SfDuEX
Both will expire in a day, in case i missed any personal information.
Click to expand...
Click to collapse
Thanks already see an issue, will try n drop another kernel today
pvillasuso said:
Hi , Im using latest aokp build
edited the .prop file
and flashed the zip
phone wont bootup
had to get into recovery and flashed again francos latest kernel to boot normally
ps. still just for stock roms ?
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
It should work :s, it leaves the ramdisk and only flashes the
zImage
pvillasuso said:
Hi , Im using latest aokp build
edited the .prop file
and flashed the zip
phone wont bootup
had to get into recovery and flashed again francos latest kernel to boot normally
ps. still just for stock roms ?
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
You would need to dirty flash the cm nightly again, then this kernel. I assume you were on Franco's kernel when flashing this one
Sent from my Nexus 4
I've tried it and flashed on stock rom. Boots fine but OTG doesn't work.The otg cable + thumb drive are working fine on Galaxy S2.
EDIT: I also added ro.usb_host=1 to build.prop
Do i need some app to see if USB thumbdrive working?
I flashed the kernel, added ro.usb_host=1, where do i see if USB thumbdrive mounted?
I have:
- an OTG cable
- a power USB Y cable
- a powered USB Hub
* USB keyboard/mouse
* USB pen drive
Expect logs in an hour or two
is it a known issue that N4 doesn't have USB +5V power supply?
So what's the purpose of this test? even if you manage to make it work, it won't be useful
magictwins said:
is it a known issue that N4 doesn't have USB +5V power supply?
So what's the purpose of this test? even if you manage to make it work, it won't be useful
Click to expand...
Click to collapse
Pay attention. He asked for testers to supply their own power as well. If a setup with external power is useful for even one person and he gets it working, then this has served a purpose.
Ordered my Nexus 4 on the 13th. Still waiting.
magictwins said:
is it a known issue that N4 doesn't have USB +5V power supply?
So what's the purpose of this test? even if you manage to make it work, it won't be useful
Click to expand...
Click to collapse
Yes, OTG was disabled by Google during developement because they found out it couldn't supply 5V
estallings15 said:
Pay attention. He asked for testers to supply their own power as well. If a setup with external power is useful for even one person and he gets it working, then this has served a purpose.
Ordered my Nexus 4 on the 13th. Still waiting.
Click to expand...
Click to collapse
I believe in the general complaint thread about no OTG someone spoke of a phone that wasn't able to supply 5V either, but it was infact doable after some modifications(software ones), so it may very well be that similar modifications here could work
Somethings funny
Cause if google advertised the device as USBOTG supported, then theyve setup the kernel for usbotg enabled, theyre saying the issue is no 5v, wouldnt supplying power bring USBOTG back? It isnt, so obviously it was taken away on purpose. If we can get around this and get USBOTG working is theee question.
Here is the link:
https://android.googlesource.com/device/lge/mako/+show/f608db225c5ead1c255fd84fa7f5431c2e3b3a72^2
Should be copied in OP so, people stop asking.
I will try to help as much as I can. I have 2 OTG cables.
Sent from my Nexus 4 using Tapatalk 2
---------- Post added at 11:12 AM ---------- Previous post was at 11:09 AM ----------
Maybe my USB keyboard will work, currently using it on my N7
Sent from my Nexus 4 using Tapatalk 2
If you would like me to test OTG functionality, i have a OTG cable, a ps3 controller, card readers, and a few usb drives I can use. I'm on stock rooted right now. Just let me know how I can help out.
Sent from my Nexus 4 using Tapatalk 2

Categories

Resources