yashsingh1/xdaforums huggingface dataset:
[Nexus S Q&A, Help & Troubleshooting] anirudh.pullela:
I can make 18-24 hours with the usage above,i.e, minimal.
[Nexus S Q&A, Help & Troubleshooting] gun26:
Battery life was ~12 hr. for me on stock ROM with no special attention paid to what's syncing. Since then I've gone to a custom ROM and kernel that allow under-volting the phone to extend battery life. I haven't measured yet but I'd guess I'm in the 16-20 hr. range now.
[Nexus S Q&A, Help & Troubleshooting] Hog Milanese:
I'm running 2.3.4 on a custom ROM. I wonder what I'm doing wrong?
[Nexus S Q&A, Help & Troubleshooting] deeren:
well if you're on a custom rom, then things vary. me myself i get awful drainnage on some and excellent on others. one thing you could do is that you could try using netharcy's kernels or the UV trinity one. be sure to re-calibrate your battery and wipe battery in recovery.

(you dont have to recalibrate battery everytime u flash a rom but i just recommended it so that you can monitor your battery usage more effectively).
[Nexus S Q&A, Help & Troubleshooting] Buried:
I'm easily achieving 24-30 hours with my Nexus S with 9 hours on display, 4 hours of music-listening, 2 hour of voice calls, 4 hour wi-fi browsing.

Running 2.3.4, Netarchy 1.3.1 CFS, zipaligned deodexed custom ROM. 3G is off though, because in my country (and my carrier) 3G doesn't work on the 900mhz band the Nexus S uses.
[Nexus S Q&A, Help & Troubleshooting] Hog Milanese:
What is this Netarchy you speak of? My ROM is deodexed and zipaligned.
[Nexus S Q&A, Help & Troubleshooting] Graham19:
Netarchy is a kernel for the phone.

See here: http://xdaforums.com/showthread.php?t=936219
[Nexus S Q&A, Help & Troubleshooting] gun26:
Netarchy http://xdaforums.com/showthread.php?t=936219 is a replacement for the stock kernel, and it allows under-volting. The idea is to run the phone CPU at a lower voltage, thereby extending battery life. Under-volting has to be included in the kernel when it's compiled, i.e. you can't do it with just any kernel. Trinity UV is another kernel that does UV.

The easiest way to configure the degree of under-volting using Netarchy is Jonathon Grigg's new Proton app http://xdaforums.com/showthread.php?t=1091382
[Nexus S Q&A, Help & Troubleshooting] Hog Milanese:
Okay, I flashed the (stable) Netarchy kernel for my phone and it seems twice as "snappy" but haven't been able to test the battery life yet. I cleared the battery stats in Recovery and am charging it right now. We'll see!...
[Nexus S Q&A, Help & Troubleshooting] Buried:
Remember, after the first clearance of the battery stats, the data needs to be re-populated, so you won't have good battery life until after a few charge cycles. Let your battery drain dead, charge it to 100% without interrupting it, then repeat this process somewhere the next few days.

Report back after at least 4 full charge cycles (from 0-100%, not necessarily until your battery is depleted, you can charge at say 70% to 100% and that counts as 30% Each 100% is a complete charge cycle)
[Nexus S Q&A, Help & Troubleshooting] davidquesada:
hey guys, my phone is in stock, rooted, and I also getting 12-13 hours under medium/heavy use, I want to try this kernel, so what I have to do is download the zip (already did) file and apply it on the recovery menu right?
[Nexus S Q&A, Help & Troubleshooting] davidquesada:
and what happens when I want to the original kernel?

ps: sorry 4 the noobness... lolz
[Nexus S Q&A, Help & Troubleshooting] thedauntlessone:
Using Netarchy and undervolting 25mw my phone can standby 24ish hours on one charge. I can go 12 hours of heavy usage (4 hours screen time etc).
[Nexus S Q&A, Help & Troubleshooting] davidquesada:
well that's pretty much what I did yesterday without the netarchy mod. I disconnected my cellphone at 12md, I listened like 4 hours of music, and also checked my email, twitter and facebook, many times, (I was in class so I was super-bored) all in wifi. and with my 3g activated. I think I'm going to disable the 3g when I'm on wifi. I think is kinda logical.
[Nexus S Q&A, Help & Troubleshooting] anirudh.pullela:
That's INSANE! :O

Mine never achieved half as good as that! my 18 hours include only 2 or 2 1/2 hours of display-on time and usually around half an hour of music!

Are you doing an overboard UV to achieve that?
[Nexus S Q&A, Help & Troubleshooting] ronnienyc:
Once again this is confusing because we have both S and 4g phones here, and they use different technologies and have differing battery lives.

I do hope they have separate forums for these soon...

Anyway, my Sprint 4G got 10 hours tops, usually more like 8 with average usage. (calls, gmail sync, internet, etc. throughout the day.)
[Nexus S Q&A, Help & Troubleshooting] awesomeindeed:
Going on 18 hours today on my S4G with moderate use. Calls, texts, browsing, music. My battery is reporting 18% left right now. Was also without service for nearly an hour (inside a building) and we all know what that does to your battery.
[Nexus S Q&A, Help & Troubleshooting] basti107:
I have the european version of the SNS with LCD.

On stock 2.3.4 (not rooted or anything) with wlan on and gmailsync i theoretically have standbytime 12days +

My (rooted) SGS before with AMOLED had 30hours standby with the same settings... :confused:
[Nexus S Q&A, Help & Troubleshooting] barmanham:
9 hour display time? I doubt its true maybe yours stats are bugged happens to me
[Nexus S Q&A, Help & Troubleshooting] mrgv:
Hog: Settings -> Applications -> Battery Use. See if anything out of the ordinary is consuming your battery. I get a little more than that if I take it easy on the phone, but bottom line is that I've just gotten used to keeping more chargers handy.
[Nexus S Q&A, Help & Troubleshooting] fixxxer2008:
as unbelievable as this sounds im going on 30hrs on the same charge and i have 62% left. the last time i took it off charge was thursday at 730am. im running a stock deodexed rom with stock kernel. this is totally amazing to me. im on the ns4g btw.

the funny thing is on wed i only got 7 1/2 hrs running cm7. :eek:
[Galaxy S II Accessories] redgreenlaser:
The most Micro USB to USB converters are not work if you want to use it for OTG converter, because the 4. pin of the micro usb plug is not connected!

The most ebay and computer shop's converters like this!

If you want to use it for working OTG adapter you have to connect the micro usb connector 4. pin to GND (5. pin).

Like this:

I made this mod on my adapter and it works!

First you have to open up the outter cover and carve the plastic around the micro usb pins. You can use multimeter to check the pinout.

After that solder the 4. pin to 5. pin with a piece of wire.

And finally glue back the outter cover.

Video:

[YOUTUBE]6bHHS2ipnNI[/YOUTUBE]

So if you have not working adapter you can mod it, if you have suffice experience with electronic and proper tools.

Only do with your own risk!
[Galaxy S II Accessories] kekkooooo:
I have this Usb converter!

With your mod works perfectly!!
[Galaxy S II Accessories] NoOneCanHelpMe:
just tried it :P it works perf, thank you!
[Galaxy S II Accessories] skibadee:
Weird I got one off eBay from Hong Kong and it works without Modding. Can open files off a USB stick. Got it for £1 :-)
[Galaxy S II Accessories] alx37:
Anyone knows how the Galaxy determines to be in home or car dock?

ALexander
[Galaxy S II Accessories] marvinhemstock:
hi thanks for great find just built one from a female usb cable vey nice.
[Galaxy S II Accessories] Techvir:
WOrked for me too...thanks
[Galaxy S II Accessories] ermacwins:
Share the link please
[Galaxy S II Accessories] digipl:
I buy a pair in Dealextreme.com

SKU 50774 o search OTG
[Galaxy S II Accessories] Vairn:
It may have a resistor between pin 4 and 5, kind of like a jig,

I remember there was a fun with resistors thread for the sgs1.

I may attack tge free dock I,got from optus.
[Galaxy S II Accessories] Odia:
OTG has no resistor, its direct connect to GND.
[Galaxy S II Accessories] kinjo2312:
i bought this one from ebay

(cant post links )

item number 260782021641

and it works with usb drives and i used a mouse in it too
[Galaxy S II Accessories] Samuel Rozenberg:
OTG Cable USB (B) to Micro USB (A) Powered with AAA batteries ?

As one knows, Samsung has promised a MHL Cable

You noticed it is not only a cable but a box out of which you may plug in an extra power supply.

The obvious reason is if the passive monitor does not furnish 5V, the phone will rapidly be out of power.

Now you know that to obtain video rather than anything less, Pin 4 (sense) and 5 (Ground) of micro USB (male A) must be connected with a 365K resistance.

I suppose the dock Samsung is selling for I9100 (yes, I have it) is grounded at 1000K as it provides audio with remote, and yes, the dock provides power supply via extra micro USB as well.

I come to my point: If I want to access any USB data On the Go, I need a cable OTG with 2 ports: USB 2.0/3.0 (female, B sided) to a micro USB (male, A sided, grounded but with no resistance = 0K). Many of them exist on the market out there.

But it is quite impossible to use because of lack of power supply in the passive device (let’s say a handy 1T HDD usually powered via Host connexion !

Would it be possible to insert some sort of receptacle for AAA battery in the middle of such a cable to provide for power while you are for a long time out of access to an electric plug ? Does such a cable exist somewhere to buy ? What would be the sheme to mount this ? HELP ! :confused:
[Galaxy S II Accessories] anonymous572:
Is it possible to add USB charging cable to USB-host cable? I want to use mouse\keyboard\flash and charge device in the same time.

I also interested how to add power to USB-host cable for devices "High-power device connected".
[Galaxy S II Accessories] lui131256:
OTG and Power

thats excactly my question:

is it possible to use otg cable with a trackball or mouse and at same time charge the S2?

give power to usb mouse and charge S2 over a charger!?
[Galaxy S II Accessories] EdelHD:
Is it possible to use a game controller over usb otg? Would be pretty nice.

Wanna have a S2Play ;-)
[Galaxy S II Accessories] tids2k:
it is not possible. usb host can be used one way not two ways.

Sent from my GT-I9100
[Galaxy S II Accessories] yayatr:
i do have same problem..is there any suggestions to make sgs2 can read the high-power USB flashdisk via otg??
[Galaxy S II Accessories] blueseeker:
An USB hub with external power maybe ? I didn't tried this kind of setup, but it should work. I have a hub, but I don't have a OTG cable yet.
[Galaxy S II Accessories] yayatr:
I've been try this, but still doesn't work for me..I'm also used electrical multi-tester, and the usb flash already has 5V voltage but in my sgs2 still nothing happen (my usb flashdisk doesn't mounted to sgs2)..

Is there any driver/apps do I need to install first before using OTG?? or, is there two kind of sgs2, the one which support OTG and the other one not??

please someone help me...One point I choose this SGS2 is the OTG feature..

PS: sorry for my english ;)
[Galaxy S II Accessories] ericdabbs:
Just bought a pair from dealextreme. Thanks for the recommendation.
[Galaxy S II Accessories] Seylox:
thanks very much! it works like you described it!

it works with my Logitech G7 cordless mouse, but not with my microsoft arc touch mouse.
[Galaxy S II Accessories] uzirox:
Can you please give me some advice on how connect this connector? B -> E?

Uploaded with ImageShack.us
[Galaxy S II Accessories] uzirox:
Hellooooo???? "Is there anybody out there?"
[Galaxy S II Accessories] ashwin1234:
It works perfectly. I modded mine with a female USB head from a hub and a male micro USB head from an old charger
[Galaxy S II Accessories] richie_mp:
made the adapter as suggested (a data cable micro usb {split it open , sense and ground connected } and soldered to a female usb.) but my galaxy does not detects anything , not even usb host cable detection .... i am on xxkh3 firmware and yes the device has usbHost libs in it.... damn would like to try this thing, anyone willing to help is more than welcome.

have a nice day everyone.
[Galaxy S II Accessories] NotMad:
mine doesn't detect anything as well.. might as well try another micro usb cable from Nokia XD, i'll see if this mod works.
[Galaxy S II Accessories] cahir_cz:
hi, what would happen if i plugged the microusb(m)-usb(m) cable into the phone, the usb end into usb(f)-usb(f) and then a keyboard (or anything) into the remaining usb(f). Would that work?
[Galaxy S II Accessories] memtew:
Anyone tried cable with SKU 101894 from dealextreme? Modify needed?
[Galaxy S II Accessories] Snakeforhire:
That's from the Môtley Crüe song, ain't it ? ^^
[Galaxy S II Accessories] dune2k:
just ordered one. will report when it arrives here. :)
[Galaxy S II Accessories] e_0234:
Nope. It's Pink Floyd's - Comfortably Numb....
[Galaxy S II Accessories] cahir_cz:
Seems more like comfortably numb from pink floyd -.-
[Galaxy S II Accessories] Nirvana388:
I bought this one and it works fine with no modifications:

http://www.ebay.ca/itm/140613635091...X:IT&_trksid=p3984.m1497.l2649#ht_1336wt_1071

As long as the one you're buying is "Micro USB B" then it should work with no mods. I found the trick is to connect the device to the OTG dongle first, then the dongle to the phone. For mice and keyboards, a restart is then most likely required to use that device. I connected two dell optical mice to my phone tn with this method. After connecting the mouse to the dongle, and then the dongle to the phone, the cursor appeared on screen but the mouse wouldn't work. After rebooting the mouse had full functionality. Bought a cheap MHL adapter for HDMI too off ebay and it also works great! Completely plug and play!
[Galaxy S II Accessories] pinsb:
Does anyone know of an external HD housing for a Laptop hard disk that includes a rechargable power unit?

What I want to be able to do is drop my 1TB Seagate laptop drive into a portable chassis and connect it to the phone as needed, if it could be recharged via a micro usb connector so much the better.
[Galaxy S II Accessories] dune2k:
it arrived today and i just checked it: usb stick works. :)

will test more when i find it... ;)
[Galaxy S II Accessories] xs3mt3ckx:
thanks for this
[Galaxy S II Accessories] bv_abhi:
Does this work for xoom?
[Galaxy S II Accessories] Hawkeye1103:
made myself one and posted a tutorial how to make one.

check it out if you wanna make your own usb otg adapter from scratch.

http://techocd.blog.com/2012/01/06/how-to-makeusbotg-adapter/
[Galaxy S II Accessories] ingbrzy:
I bought USB OTG on the eBay but it didnt work...

So i just put under the pin 5+4 thin cable and it works well..!
[Galaxy S II Accessories] holyguyz:
Good! Reserved...!
[Galaxy S II Accessories] shinakpas:
it's working on sg note as well. thanks alot!
[Galaxy S II Accessories] Silberpfeil3110:
I've got the same, very cheap, super quality and working without a problem, with siyah kernel you can also read ntfs hdd's! ;D

The 4th pin is the sense pin. with this pin the phone can define which device is connected.

For example the JIG! You need 300kOhm to use the plug as a jig, you need 200kOhm to use it for car mode... just google for it...
[Galaxy S II Accessories] nitesh_pant:
It works >>>>> on S2 i9100G also

Dear,

You are great thanks ..... I have tried a lot of OTG cable on my S2 i9100G but all fails to recognise but as you described on thred the pin no 4 is the sense pin and this is the secret for detecting . After giving ground on pin 4 it works ................

Thanks Thanks Thanks .......again

nitesh
[Galaxy S II Accessories] mitsos89:
You can also use an usb cable so that phone's usb port wont get any damage by accident...
[Galaxy S II Accessories] fafler:
Is it possible to use OTG and charge the phone at the same time? I need this for a DIY dock I'm planning.
[Galaxy S II Accessories] fduraibi:
This might be late, but it might help someone else

if i am not wrong then the pins are like this:

C: power (VBUS)

D: USB 2.0 differential pair (D−)

B: USB 2.0 differential pair (D+)

E: USB OTG ID for identifying lines (The one not connected in your image)

A: GND

so simply connect E with A and that should do it.

---------- Post added at 02:10 PM ---------- Previous post was at 01:49 PM ----------

----------------------------------------------------

Yes it is possible, and it can be used both ways.

Read the Battery Charging Specification http://www.usb.org/developers/devclass_docs/batt_charging_1_1.zip

At the end of that document it says that you can make a docking station, where the charger will charge the phone and also provide power to the attached peripherals like keyboard, mouse and display.
[Galaxy S II Accessories] fafler:
Thanks a lot for the link. However, I'm still not sure how to actually do it. It seems to be a matter of connecting the right resistors to the USB connector, like in the USB jig, but i have no idea what values to use. I think I saw a table with resistor values somewhere... must search :-)
[Galaxy S II Accessories] eswar6280:
Nice work ...
[Galaxy S II Accessories] fduraibi:
It is under section 6 in that document called "ASA", and i don't think it is a simple resistor but won't be very complicated also.

So would be cool if we can get some help and figure it out.
[Galaxy S II Accessories] ikogsakanding:
I have tried this and 100%works
[Galaxy S II Accessories] fafler:
If it's not a resistor, then what do you suggest?

This thread seems to be the best piece of information on resistors, but none of them seems to be what we want.

---------- Post added at 10:19 PM ---------- Previous post was at 09:36 PM ----------

I've been digging a bit more in the datasheet, and the tables in chapter 6.5 and 5.3 gives us all we need. It seems to be nothing more than a 119 to 132 kΩ resistor and the phone will charge while still providing OTG functionality. I think i have a spare micro USB connector in a drawer somewhere, so i'll try this out ASAP :-)

---------- Post added at 10:33 PM ---------- Previous post was at 10:19 PM ----------

The PDF says:

3) Nominal values for these resistors are RID_A = 124k, RID_B = 68k and RID_C = 36.5k.

The Fun with resistors thread says:

RID_RESERVED_1,	/* 0 1 1 1 0	28.7K	Reserved Accessory #1 */
RID_RESERVED_2,	/* 0 1 1 1 1	34K	Reserved Accessory #2 */
RID_RESERVED_3,	/* 1 0 0 0 0	40.2K	Reserved Accessory #3 */
RID_RESERVED_4,	/* 1 0 0 0 1	49.9K	Reserved Accessory #4 */
RID_RESERVED_5,	/* 1 0 0 1 0	64.9K	Reserved Accessory #5 */
RID_AUD_DEV_TY_2,	/* 1 0 0 1 1	80.07K	Audio Device Type 2 */
RID_PHONE_PWD_DEV,	/* 1 0 1 0 0	102K	Phone Powered Device */
RID_TTY_CONVERTER,	/* 1 0 1 0 1	121K	TTY Converter */
RID_UART_CABLE,	/* 1 0 1 1 0	150K	UART Cable */

It's pretty close, 121 vs 124 k, 64.9 vs 68 and 34 k vs 36.5 k, and actually quite weird the ACA modes arent listened in the source. Is this wrong? Is the 124 k resistor going to trigger TTY converter mode, whatever that is, instead? I guess i can find the answers in the kernel logs when i try it out.
[Galaxy S II Accessories] fduraibi:
if you look at the pdf table 5-3 you will see the acceptable range:

RID_A = 119k ~ 132k (nominal is 124k)

RID_B = 65k ~ 72k (nominal is 68k) so 64.9k (from the other thread) is a bit below the range and i think it is saver to stick with the one suggested in the pdf

RID_C = 35k ~ 39k (nominal is 36.5k)

so we can use these resistors plus RID_FLOAT and RID_GND to switch between the modes of operation defined in the pdf table 6-2. So if we want the ASA to operate on more than one mode then I guess we will need some kind of a circuit to detect the attached devices in order to switch to the right RID. However, if we want a simple design for only 1 mode (or just as a prove of concept) then we can pick only 1 of them and have it hard wired to the OTG ID pin, (guessing again).

my only concern is what is going to happen if i hardwired only 1 mode but then had a different device setup, like no charger or more than 1 attached device (like if i used a hub and connected two flash drives)

i was able to connect a normal (un-powered) usb hub to my Galaxy Note using a normal OTG cable (ID=GND) and then i connected a wireless mouse dongle, wired keyboard and a 2GB flash drive in to the hub and my phone was able to provide enough power to all and i was using the mouse and keyboard while browsing files on the flash drive but everything failed as i plugged in a second flash drive (just to stress test it) since the phone couldn't provide enough current.

Maybe we can modify a powered hub to act as an ASA

by the way "fafler" did you get any results?
[Galaxy S II Accessories] MafiaDroid:
Nice!

This is nice man thank you very much :D
[Galaxy S II Accessories] fafler:
I haven't tried it out yet, as I haven't really been home. It has to wait to Saturday or Sunday.
[Galaxy S II Accessories] crash1984:
I will try this. Thx for the info mate:)
[Galaxy S II Accessories] Shanicky:
thanks for sharing......
[Galaxy S II Accessories] imileimile:
OTG cable recognizes only usb drives

Anyone having this problem. When i connect mouse or keyboard it is not recognized at all, and everything works fine with usb drives. Even tried with self powered usb hub so power is not an issue.:confused:
[Galaxy S II Accessories] ronlut:
Thanks a lot!

Will try it.
[Galaxy S II Accessories] Tombias:
Try another kernel like siyah. I had the same problem until i flashed this kernel.
[Galaxy S II Accessories] aero125:
I have used one of this otg adaptor from dealextreme to connect a 4g thumb drive to the s2. It works perfectly well, but when i attempt to connect the thumb drive back to my pc or my notebook, both can no longer accept the thumb drive format. Both cannot even reformat the thumb drive. Now the files in my thumb drive can only be managed via the s2. Does anyone encounter this strange prob? Is there a way to restore my 4g thumb drive? Thks for any advice.
[Galaxy S II Accessories] millennium007:
thanks... let me give a try...
[Galaxy S II Accessories] LiveSorcerer:
I bought my OTG Cable in this website dealextreme.

Micro USB Male to USB Female OTG Cable for Samsung Galaxy S2/i9100/Nokia N8 + More

Price: $2.30
[Galaxy S II Accessories] Dragos_Constantin:
I am very anxious to see your results, as somebody already mentioned in another thread, it would be an awesome project to make a keyboard with battery pack and usb hub for our SG2 / Notes :-)
[Galaxy S II Accessories] CNLiberal:
Any news on being able to charge and run in OTG mode? This would be fantastic for people with USB DACs. Thanks!
[Galaxy S II Accessories] skizzo_d:
built and running perfect ...
[Galaxy S II Accessories] CNLiberal:
Do you have a dedicated build thread along with directions?

Edit: Also, when the phone is charging does it think its in Fast Charge mode?
[Galaxy S II Accessories] Mach3.2:
Format is changed. I don't think PCs support ext4 formats.

No idea why you won't be able to format your usb stick..
[Galaxy S II Accessories] flawedlegacy:
would a standard data cable with USB Female to Female adapter work?
[Galaxy S II Accessories] DavidJAD:
You're not wrong. :D

Works perfectly and this may not have helped the original poster, but it certainly helped me. :)

And in case anyone had any doubts, this works perfectly with the S3 as well.
[Galaxy S II Accessories] cork-spotters:
Very neat, thanks for sharing.
[Galaxy S II Accessories] vahidsport:
very very thank you for best information