Jump to content


Photo

(Request) USB OTG 2.6.35

- - - - -

  • Please log in to reply
24 replies to this topic

#1
memedroid123

memedroid123

    Newbie

  • Members
  • Pip
  • 34 posts
  • Devices:ZTE Blade (TFT - GEN2)
Has anyone tried USB OTG with 2.6.35 kernel sucessufully?

  • 0

#2
matcho13579

matcho13579

    Enthusiast

  • Members
  • PipPipPip
  • 285 posts
  • Gender:Male
  • Location:Slovakia
  • Devices:Samsung i9000, ZTE Blade
  • Twitter:@matcho13579
yeah, there were some successful attempts, but the user who came up with it, just deleted all his work...reason: only he knows :D

  • 0

#3
Sulthekk

Sulthekk

    Addict

  • Members
  • PipPipPipPipPip
  • 619 posts
  • Devices:ZTE Blade
It's been done once for gingerbread by someone called 'johnsmithx', but he didn't release the source for it, and later he just deleted the published binary too. Tomm13b had also done some OTG experiments with an earlier .32 kernel, but this version had problems with wifi-keepalive.

  • 0

#4
matcho13579

matcho13579

    Enthusiast

  • Members
  • PipPipPip
  • 285 posts
  • Gender:Male
  • Location:Slovakia
  • Devices:Samsung i9000, ZTE Blade
  • Twitter:@matcho13579
There were some problems with deep sleep in .35 (at least I had that problems - he was telling me he had no problems at all), I was testing his kernel builds, but... he just disappears, don't know why

  • 0

#5
ontherocks

ontherocks

    Newbie

  • Members
  • Pip
  • 41 posts
As I know, USB OTG is supported from Android 3.1 onwards. So, will installing a ICS or JB ROM make it work in Blade?

Edited by ontherocks, 15 August 2013 - 06:22 PM.

  • 0

#6
matcho13579

matcho13579

    Enthusiast

  • Members
  • PipPipPip
  • 285 posts
  • Gender:Male
  • Location:Slovakia
  • Devices:Samsung i9000, ZTE Blade
  • Twitter:@matcho13579
absolutely not, it must be enabled in kernel

  • 0

#7
ontherocks

ontherocks

    Newbie

  • Members
  • Pip
  • 41 posts
I understand that if OTG was possible it would have been available........obviously
Still I am confused.
Say for example the latest CyanogenMod ROMs that are ported to Blade were for devices that have OTG support.....am I right?
If so, while porting do people disable it in kernel?

Edited by ontherocks, 13 September 2013 - 10:44 AM.

  • 0

#8
Sulthekk

Sulthekk

    Addict

  • Members
  • PipPipPipPipPip
  • 619 posts
  • Devices:ZTE Blade
It's disabled in the kernel for power saving as far as I can remember, because it makes the device unable to sleep properly - that was the (stated I haven't tried it myself) difference with johnsmithx's kernel, as was capable of OTG with proper deepsleep support. Btw, for OTG with the Blade you would need a special Y-shaped USB cable and a power supply anyway, because the phone doesn't give enough power to most USB devices.

  • 0

#9
matcho13579

matcho13579

    Enthusiast

  • Members
  • PipPipPip
  • 285 posts
  • Gender:Male
  • Location:Slovakia
  • Devices:Samsung i9000, ZTE Blade
  • Twitter:@matcho13579

It's disabled in the kernel for power saving as far as I can remember, because it makes the device unable to sleep properly - that was the (stated I haven't tried it myself) difference with johnsmithx's kernel, as was capable of OTG with proper deepsleep support. Btw, for OTG with the Blade you would need a special Y-shaped USB cable and a power supply anyway, because the phone doesn't give enough power to most USB devices.

Exactly like on my SGS 1, you can easily buy Y-shaped USB cable on eBay or Dealextreme...also, there's no problem to buy an USB charger and you're good to go ;)

  • 0

#10
ontherocks

ontherocks

    Newbie

  • Members
  • Pip
  • 41 posts

Btw, for OTG with the Blade you would need a special Y-shaped USB cable and a power supply anyway, because the phone doesn't give enough power to most USB devices.

Exactly like on my SGS 1, you can easily buy Y-shaped USB cable on eBay or Dealextreme...also, there's no problem to buy an USB charger and you're good to go ;)


Which one of the two cables below are you guys talking about? Or is it something else?

Posted Image

Posted Image

  • 0

#11
matcho13579

matcho13579

    Enthusiast

  • Members
  • PipPipPip
  • 285 posts
  • Gender:Male
  • Location:Slovakia
  • Devices:Samsung i9000, ZTE Blade
  • Twitter:@matcho13579
Yeah, I got a slightly different cable - instead of female micro USB there is a male USB

  • 0

#12
ontherocks

ontherocks

    Newbie

  • Members
  • Pip
  • 41 posts
So you mean the one in the first picture?

  • 0

#13
matcho13579

matcho13579

    Enthusiast

  • Members
  • PipPipPip
  • 285 posts
  • Gender:Male
  • Location:Slovakia
  • Devices:Samsung i9000, ZTE Blade
  • Twitter:@matcho13579
Damn, didn't noticed that, thought they are the same :D Yeah, that one

  • 0

#14
sugotron

sugotron

    Newbie

  • MoDaCo Silver
  • Pip
  • 5 posts
  • Devices:huwaei g300

Hi - would someone be able to point me in the direction of the latest ROM for the blade with OTG support?


  • 0

#15
matcho13579

matcho13579

    Enthusiast

  • Members
  • PipPipPip
  • 285 posts
  • Gender:Male
  • Location:Slovakia
  • Devices:Samsung i9000, ZTE Blade
  • Twitter:@matcho13579

The latest build with OTG support is old Froyo (don't ask me for link, just google it, maybe you'll find something)


  • 0

#16
sugotron

sugotron

    Newbie

  • MoDaCo Silver
  • Pip
  • 5 posts
  • Devices:huwaei g300

Thanks for the reply matcho13579, have been looking around in the old forum threads but can't find any download links that work (files have been removed from dropbox etc). Starting to feel a bit hopeless :(


  • 0

#17
matcho13579

matcho13579

    Enthusiast

  • Members
  • PipPipPip
  • 285 posts
  • Gender:Male
  • Location:Slovakia
  • Devices:Samsung i9000, ZTE Blade
  • Twitter:@matcho13579
I'm afraid you'll need to buy another device to use that feature

  • 0

#18
Sulthekk

Sulthekk

    Addict

  • Members
  • PipPipPipPipPip
  • 619 posts
  • Devices:ZTE Blade
If you search for 'experiental cm7 kernel', there should be at least one cm7 (gingerbread) kernel that supports it, but it's quite old and is still 2.6.32.

I think however, that there was a link to it's dource, maybe with some tinkering the patches could be applied relatively seamlessly to the latest cm7 kernel. I'm not sure if it would any harder with 4.X, because there were a lot of kernel updates, and I'm pretty sure they affected USB, at least because of tethering.

  • 0

#19
sugotron

sugotron

    Newbie

  • MoDaCo Silver
  • Pip
  • 5 posts
  • Devices:huwaei g300

Hi Sulthekk - i searched for it and found the thread, but all the dropbox links are dead. Would be great if someone found an old flashable version with OTG support, otherwise the only option is probably to try and locate the original source for the versions released by johnsmithx and t0mm13b and learn to compile everything myself...

Thanks for helping though


Edited by sugotron, 01 October 2013 - 10:46 PM.

  • 0

#20
Sulthekk

Sulthekk

    Addict

  • Members
  • PipPipPipPipPip
  • 619 posts
  • Devices:ZTE Blade
Just checked out KonstaT's current kernel sources, and there seems to be a config option for USB host/otg mode for quallcomm devices out of the box. I am not sure if it's working and/or it's safe to use, but I think there was a bricked phone at the thread you found, so we should be careful there. I have no proper cable near me to test (all our usb cables are plugged in somewhere), but I could build the kernel image for you, although I won't take any responsibility if you brick your blade with it. I think you also need to modify the Y-shaped cable so on one end only 2 pins are connected, but I can't clearly remember whether it's the data or electricity pins (the info should be somewhere in one of the old OTG topics though).

Are you sure that OTG mode is worth the risk?

Also please note that OTG haven't been tested on the Blade for quite a while, even if it worked, I have no idea if it has any stability/usability/performance impacts, I can only assume that your phone may become unable to sleep properly.

Edited by Sulthekk, 02 October 2013 - 04:59 PM.

  • 2




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users