yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] Sultanxda:
The device-specific modifications for native OTG aren't too difficult (I have it working on my old HTC); make a simple change to storage.xml, enable MSM host support (and regular OTG support) in the kernel, and add the path of the MSM host sysfs interface to fstab.
[Nexus 5 Q&A, Help & Troubleshooting] kamranhaghighi:
whit stick mount u can watch movies whit out copying to my future n5:) not bought yet:)!
[Nexus 5 Q&A, Help & Troubleshooting] mhbr12742:
Root NOT required!!!!!!!!

Downloaded OTG Disk explorer lite from the play store on my brand new stock Nexus 5, Plugged my micro usb device in and I'm now listening to my external music

Root is NOT, I repeat, NOT needed
[Nexus 5 Q&A, Help & Troubleshooting] Chainfire:
... for this specific purpose.
[Nexus 5 Q&A, Help & Troubleshooting] mhbr12742:
What reason are you on about?

I also downloaded files from the device to the internal storage. I will try other applications and let the board know my findings.
[Nexus 5 Q&A, Help & Troubleshooting] Chainfire:
What I'm on about is that for some purposes you can indeed use an app like that (or Nexus Media Importer) and for some purposes you actually do need root. It all depends on what you're trying to do.
[Nexus 5 Q&A, Help & Troubleshooting] JUMPhil:
[MENTION=631273]Chainfire[/MENTION] do you think it's possible to charge the phone via Qi while using OTG?
[Nexus 5 Q&A, Help & Troubleshooting] dannstarr:
https://play.google.com/store/apps/details?id=eu.chainfire.stickmount.pro

Support an awesome dev and buy this... its just pennies for the work this guy puts in
[Nexus 5 Q&A, Help & Troubleshooting] Chainfire:
I don't know either way - but why wouldn't it be ?
[Nexus 5 Q&A, Help & Troubleshooting] JUMPhil:
Because charging over USB in host mode is not possible afaik, and I'm not sure if Qi uses another "way" to charge.
[Nexus 5 Q&A, Help & Troubleshooting] ziddey:
With modifications to the kernel, it can be possible (by having it perform a charge detect on id pin detect before setting host mode). I'm imagining ACA is not enabled/working on the N5, but if it did, you could present the id pin with a specific resistance and it would enable host mode with charging.
[Nexus 5 Q&A, Help & Troubleshooting] jeffpan:
Did you try Meenova MicroSD card Reader? Thanks.

http://xdaforums.com/showthread.php?t=2493824&page=2
[Nexus 5 Q&A, Help & Troubleshooting] ferenc.hechler:
Without rooting you can read and write to USB-Sticks using the filemanager "Total Commander" in combination with the "USB-Stick Plugin". Both are available in the Google-Play-Store.
[Nexus 5 Q&A, Help & Troubleshooting] deathmaker06:
Thanks chainfire, with stickmount I've actually got a 1tb external HD to work on the Nexus 5. Watched a full episode of Top Gear using MX Player.
[Nexus 5 Q&A, Help & Troubleshooting] grimmyrippy:
hey guys newbie question, does any kind of usb otg cable work on nexus 5? even if its samsung, nokia or any other brands? thanks
[Nexus 5 Q&A, Help & Troubleshooting] imeem:
to anybody that is interested in USB OTG for audio: http://xdaforums.com/showthread.php?t=2511921

according to that thread, USB DAC do not work. may work with USB Audio Recorder Pro tho.
[Nexus 5 Q&A, Help & Troubleshooting] chrxss:
Sorry for intrerrupting:

I've got my Nexus 5 (USB Debugging is not activated) and my 5DmkII with Magic Lantern. All connected together. The remote release app will not detect my camera. What can I do? Do I need a different OTG cable? Do I need a Y-cable with some power supply? How do you do it, chainfire?

Cheers
[Nexus 5 Q&A, Help & Troubleshooting] JUMPhil:
[MENTION=1057106]lokoz89[/MENTION] has a Qi pad and Meenova and tested it out. The phone doesn't charge with OTG plugged in (at least on stock kernel).
[Nexus 5 Q&A, Help & Troubleshooting] Sinfamy:
Does this phone have Miracast?
[Nexus 5 Q&A, Help & Troubleshooting] highend01:
Yes, it has.

Under settings, display and then wireless display...
[Nexus 5 Q&A, Help & Troubleshooting] Soulfly999:
Sorry dudes but the stick mount think drives me crazy.

I'm tried the Meenova USB Otg with two different microsdhc. But both won't work with stick mount pro and es file explorer for example.

I could mount it but there is no way to copy anything to the SD? ES says there is no space left?

Same with otg cable and a USB stick.

Using N5 stock with root only. Everything is formated with fat32. Need help pls. :banghead:

Sent with my NEXUS 5 from outer space
[Nexus 5 Q&A, Help & Troubleshooting] imeem:
i've got some ppl saying that Nexus 5 with CM 11 supports USB audio

From Head-Fi. http://www.head-fi.org/t/595071/android-phones-and-usb-dacs/3600
[Nexus 5 Q&A, Help & Troubleshooting] muriani:
I plugged in an RTLSDR tuner stick with a powered OTG cable and it worked like a champ.

No charging of course, but the cable at least powers the USB device. Without power it sucks battery like crazy.
[Nexus 5 Q&A, Help & Troubleshooting] nldxda:
Hi, I'm using stickmount with a usb otg cable and fat32 formatted flash drive on stock rooted n5..

When I mount the flash drive, the "usbStorage" folder is created/ opened but the folder is empty.. This happens for my flash drive or my microsd..

How can I fix this?
[Nexus 5 Q&A, Help & Troubleshooting] AGiLiT:
Got my Meenova yesterday; working just fine, but I did have to reformat my 64gb Sandisk card to FAT32; otherwise it doesn't work.
[Nexus 5 Q&A, Help & Troubleshooting] Letitride:
Just to be sure, you are rooted running stickmount and the OTG cable is known to be working ... Have you tried reformatting your microsd card? what is the size of your flash drive? When you insert/connect them together, does SM ask for SuperUser permission and/or automatically recognize the OTG connection, or nothing happened ?

I have no problems at all (same as when running 4.4 intiially - now 4.4.2 rooted, odexed stock rom & kernel) - both Kingston 8GB usb drive and 32GB mSD card

Uninstall SM, boot to recovery, wipe dalvik cache just in case, boot to system & re-install SM, insert newly reformatted FAT32 mSD or USB drive with a test file - and let's see what happened & advise.
[Nexus 5 Q&A, Help & Troubleshooting] nldxda:
Thanks for the suggestions.. I tried a simple 'clear data' on the app and that actually fixed it before I could try any of the other troubleshooting.. Glad it's working now
[Nexus 5 Q&A, Help & Troubleshooting] vittogn:
I'm running a rooted stock Android 4.4.2 on a N5.

The mount process is perfect as well as the media scan (I can listen to music with Google Play Music).

When I unmount via sw and remove the stick (Menova with fat32 32GB microsd) I have the following issues:

Youtube force close

The internal memory is not accessible by whatever sw (including file managers) in whatever path:

/sdcard

/storage/emulated/0

/storage/emulated/legacy

/storage/sdcard0

A reboot fix the issue.

Anyone?

Is for you the unmount process working for you?

Thanks.
[Nexus 5 Q&A, Help & Troubleshooting] Dany XP:
Stick Mount

Stick Mount downloaded and i can access avery usb device with every file manager installed on my N5. Perfect.:cyclops::good:
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Please give more detail. What application are you using?

I've used stickmount before but it has its limitations. Im preferring kernels with automount

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

Sent via tapatalk.

I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
[Nexus 5 Q&A, Help & Troubleshooting] Seadra:
Root is definitely required. Sickmount works for FAT32 perfectly. It doesn't support NTFS(but play store free version says something abt NTFS, but afaik it doesn't.)

Total commander with usb plugin works for NTFS but copying data is a headache. try to click "download and edit" and it copies that specific usb data to a temp folder and then u can go to that folder to copy it to your media folder. and the close that download and edit thingy.

AOKP has in built functioning for USB OTG. It works just perfectly! Just have to have a file explorer to browse the content. I hope this feature get's some kind of Xposed module(Lemme know if there indeed is some out there). Or someone can extract that feature from AOKP Rom official for Nexus 5.

Also, [MENTION=2872010]rootSU[/MENTION] can u suggest me some kernal with automount feature pre installed? I am a kinda n00b, just got into root/flashing some 2 weeks back. Have explored and used like 6 ROMS for nexus 5 and have used Xposed framework with all the modules(atleast all those which are in built in list of Xposed framework). But I really haven't gotten into the kernel game yet. I did give franco a try but couldn't do or couldn't understand a thing. He provides us with FKU but it doesn't have any options? and afaik just the pro version have features. I also have no knowledge how to control kernals or anything. I have read almost all the stickies from general / Q&A section but only thing I know is what is a kernal and what it does. But I don't know how to operate one. Does the kernals which is in Original dev section are all good out of the box? (for eg : franco's kernal is good with no modifications?). I did try the color screen app of franco's kernal and it works amazingly! I loved how it made my screen kinda AMOLED but after a reboot it doesn't work. We have to enable it in app again :/
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Chaos :)
[Nexus 5 Q&A, Help & Troubleshooting] Seadra:
Is it compatible with xposed with stock rom and kernal? ... If not i have backup catcalysm.. Will it work good?
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Yes it is. I use stock based rom and xposed
[Nexus 5 Q&A, Help & Troubleshooting] Seadra:
Sexy! Will be flashing this first thing tomorrow morning. Off topic question: battery impressions with that kernal?
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Great.
[Nexus 5 Q&A, Help & Troubleshooting] Anderson2:
Is that an app? Can't find it on the play store.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
No, its a kernel, answering the question posed in the post prior.
[Nexus 5 Q&A, Help & Troubleshooting] CNLiberal:
USB OTG + Charging?

I take it no one has found out how to get this working? I have it on my N7 2012, and it's great, but I'd really love to have that on my N5. Thanks!
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Get what working?
[Nexus 5 Q&A, Help & Troubleshooting] CNLiberal:
USB OTG + Charging. I have it on my N7 2012 using USBROM put out by Timur. That would allow me to share out USB tethering on the phone and charge at the same time. Or USB DAC/Storage and Charging.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Dunno. This thread isn't about that so we haven't been trying. Do a search on q&a and general, maybe someone has
[Nexus 5 Q&A, Help & Troubleshooting] ehsanmp:
Hi rootSU,

Was looking at the Chaos kernel page for N5 and saw that only CAF roms are supported now. I have a few questions, if you wouldn't mind to answer them.

Are you using an old version (if so please tell me which version) or does the latest CAF only Chaos kernel work with stock?

Noticed on your sig that you are running ElementalX now, does that make a difference in terms of your OTG support?

Does the Xposed framework require root? I use a banking app which makes my life difficult if I choose to root.

Googled it, understand Xposed now, dw about that silly question. Which modules are needed for your implementation of USB filesystem support, is the Xposed framework necessary to have the auto-mount working?

Thanks for taking the time to answer these Qs
[Nexus 5 Q&A, Help & Troubleshooting] jball:
I just received my Sony micro USB flash drive Friday and have the perfect combo that works for me with no unmount issues.

: Micro USB flash drive of choice

: StickMount Pro

: Root Explorer Pro

Awesomeness!
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
I'm not sure why I was talking about xposed earlier but its not used for USB access.

I just use elementalx and slimkat rom. Between them, they automount. I've not used elementalx on a stock rom so I can't say how it would act
[Nexus 5 Q&A, Help & Troubleshooting] ehsanmp:
Awesome, thanks for clearing that up for me!
[Nexus 5 Q&A, Help & Troubleshooting] masona48:
Opps please delete this post
[Nexus 5 Q&A, Help & Troubleshooting] abkulp:
Can OTG be used in cwm recovery?
[Nexus 5 Q&A, Help & Troubleshooting] Dany XP:
Dont know in cwm but in tw it works
[Nexus 5 Q&A, Help & Troubleshooting] jball:
If it don't work in CWM than at least it can work in your root browser along with stickmount or an app like it

Edit: and root explorer addon

Nexus 5 via Tapatalk
[Nexus 5 Q&A, Help & Troubleshooting] jball:
Meenova+stickmount pro+root explorer pro

Now you don't have to use pro anything but it is nice to support and unlock extra features

So apps installed and USB plugged in and detected with defaults checked,

Next is to open root explorer and create shortcut to home screen so when USB is mounted all you have to do is tap the folder on your home screen and profit

Nexus 5 via Tapatalk
[Nexus 5 Q&A, Help & Troubleshooting] SavedByGrace:
Powered USB OTG connectivity?

Does anyone have trouble sometimes getting the USB OTG device to be recognized? I have a "powered" Y cable USB OTG but my phone doesn't always recognize the logitech universal dongle. Sometimes it does right when I plug it in, sometimes it doesn't even after I remove USB OTG cable, power, and dongle and try again.

Any help is appreciated! Thanks in advance!
[Nexus 5 Q&A, Help & Troubleshooting] jball:
Do away with cords and buy a Meenova micro sdcard reader for 12$ of Amazon and pair it with Stickmount pro or lite apk.

Basically I think its the cable you use

Nexus 5 via Tapatalk
[Nexus 5 Q&A, Help & Troubleshooting] SavedByGrace:
I use it with the Logitech K400 keyboard =]. No Sdcard reader can mimic that functionality unfortunately lol.
[Nexus 5 Q&A, Help & Troubleshooting] jball:
Functionality vs reliability [emoji123]
[Android Q&A, Help & Troubleshooting] EwOkie:
MY friend has an i9000 Galaxy which I flashed with no issues to Supernexus

This was done a few months back .. up until no issues apart from some damage was done to the

Phones USB charging port which the PC plugs into... :eek:

Just a few days, to get the battery charged ...

He bought a Mains charger to keep the battery full until he got the phones USB repaired.

Now this works with no issues.. this is where the fun begins...

Last night he pulled the battery because the battery was dying and replaced with the other one...

Phone hangs on bootscreen.. pulled battery tried again a few times samething happens...

Tried Restoring to backup that was made but get errors on everything..

So basically phone has no system and everything shows white writing...

Error cache/ command etc...

Cant install Via Recovery because external SD cant be found

USB is damaged

Any ideas anyone?
[Android Q&A, Help & Troubleshooting] EwOkie:
Nobody help with this then :confused:
[HTC Desire S] powerwill:
Why when I upgraded to android 4 is there now two android systems and why is there duplicates of some of the apps I would have thought it would have got rid of the old apps for gingerbread but it's kept a majority of them and the gingerbread is still there but covered under ics it's weird what's the reason for this

Sent from HTC desire S Android 4.0.4
[HTC Desire S] #Fear:
ICS stock was a mistake that's why it wasn't rolled out as ota.

The only workaround is to flash a custom rom or downgrade.

Cheers

Sent from .......
[NFC Hacking] j8048188:
From http://developer.android.com/about/versions/kitkat.html#44-hce
[NFC Hacking] Big_Red77:
Shouldn't this mean devices like the nexus 7 (2013) without a secure element should be able use Google wallet for NFC payments? I heard somewhere that the nexus 5 uses the same chip as the nexus 7 (2013)
[NFC Hacking] vilag001:
It does indeed.
[NFC Hacking] NikAmi:
What about the AT&T HTC One?
[NFC Hacking] cybhunter:
From some general research I did earlier this year with NFC being used for contactless payments, there were three different means of implementation; a) the Secure Element on the NFC chipset itself (Google Wallet), b) The secure element on the SIM card with a SWP link (used by ISIS Mobile wallet) and c) Secure Element Emulation via the cloud (Simply Tapp)

for a) the problem dealt with the fact that for some reason(s) three of the four major United States Cellular Carriers (AT&T, T-Mobile and Verizon) would not provide Google with the required TSM (Trusted service management) credentials to access the protected memory of the secure element. It was suggested that because of the time invested prior to actual availability, the above carriers elected to adopt their own standard to implementing the secure element.

for b) The sim cards used by GSM carriers were developed with the secure element onboard. The problem that was experienced dealt with the limited availability of special sim cards (only two markets had them, Salt Lake City and Austin) as well as the poor support and backbone to the system, leaving most users calling foul on the carriers abuse of power (a personal attempt at contacting the FTC about a possible obligopy resulted in that is not).

the concept of c) was approached by Doug Yeager and Ted Fifelski, both of whom are more than knowledgeable with the POS and NFC markets. Instead of requiring the secure element hardware on the device, emulate it by using the cloud. As previously mentioned the libraries in the Android operating system did not include smart/host card emulation. Doug Yeager then created and had merged into the CyangenmodRom builds 9.1 + the open source IsoPCDA and IsoPCDB libraries.

Looking up on NFC World, Google collaborated with Simply Tapp to officially bring HCE into the 4.4 http://www.nfcworld.com/2013/10/31/326619/google-gets-around-carriers-host-card-emulation-nfc-payments/
[NFC Hacking] TjPhysicist:
Does this mean I can, with the proper app and so on, "emulate" NFC tags (or at least some types of NFC tags/cards)? Does anyone plan on making an app to do just this...'record' and 'emulate' nfc tags/cards of supported types (not just 'credit cards')?
[NFC Hacking] -Psycho-:
This is what I was wondering as well... tried endlessly searching apps or even figuring out how to do it on my own.Everything was a dead-end, always returning to that damned secure element. Does anyone know if there's any hope?
[NFC Hacking] SeanBlader:
+1 for TJ's question, I'd love to ditch the corporate RFID tag and use my phone. I mean if it's really going to be a wallet replacement, that's one of the things in my wallet.
[NFC Hacking] crackzattic:
Ya I'm wondering that same. My senior project is due in 3 weeks and I build a "door unlocker" based off NFC tags. The NFC shield on an Arduino reads a tag and unlocks a door. I have a Nexus 5 and would love to be able to emulate a tag and use it to open a door.
[NFC Hacking] chm090:
Android 4.4 NFC HCE demo app

Please have a look at this article: blog.opendatalab.de/hack/2013/11/07/android-host-card-emulation-with-acr122/

An Android sample project that use NFC HCE is available here: github.com/grundid/host-card-emulation-sample
[NFC Hacking] Sfkn2:
Any updates for this? Really looking forward to using my phone as a replacement for transit cards.
[NFC Hacking] Theron113:
Bump? I would really like an emulation app.
[NFC Hacking] tiny4579:
Host card emulation is not to emulate NFC tags but make payment through NFC possible with Google Wallet even without a secure element chip. The devices technically could be a NFC tags (think about it, android beam can go both directions so the device beams to the other devices which acts KIND of like a tag).

NFC tags are cheap anyway so what's the need to try to emulate them? You can program them from the phone.
[NFC Hacking] Sfkn2:
I thought hce allows for the phone to emulate a NFC card, for example, a transit card.
[NFC Hacking] tiny4579:
It's for payments strictly. It emulates a payment card and I think the android implementation is strictly for Google wallet. I'm not sure the transit systems would use Google wallet or not. Maybe they do.
[NFC Hacking] ascsa:
Nope, KitKat "supports emulating cards that are based on the NFC-Forum ISO-DEP specification (based on ISO/IEC 14443-4)...". This is a standard for Identification cards used for payments but also could be used for other use cases. Android 4.4 also supports different HCE service groups "Category_PAYMENT" and "Category_OTHER" , so I wouldn´t say it´s strictly for payments! (Although, I think, your right, that´s the main purpose Google had in mind by implementing this emulation feature ...)

Doesn´t mean that you could "clone" your (or your neighbors) company badge or transit card and use your android device instead, but that´s a completely different story.
[NFC Hacking] SpiderTilt:
No hope, secure elements are secure by design. You can't download them wihout hacking the card. In most cases, this is just as complicated as hacking into someone's bank account.

Sorry but that is the reason why we trust these cards in the first place.
[NFC Hacking] Sfkn2:
Although that would be awesome..
[NFC Hacking] Axe Homeless:
Stupid question, but if the secure element isn't necessary anmyore, is Google wallet now secure enough?

I mean, Google kind of used this for a reason I presume before, I know why they got rid of it, but is this risky or not? Because I haven't heard people discussing this side yet.

Also, what other payment services may work with this once they support it (if ever), ISIS? Paypass?
[NFC Hacking] Entropy512:
A few months ago, a Google patent application surfaced that explains some details of how they did it.

1) Previously, PIN entry to GW did not require a network connection - it only unlocked the SE. Now, you cannot unlock Wallet without a network connection. Also, PINs used to be device-specific but are now common to all devices on your Wallet account

2) The patent application references creation of a virtual card that is geographically and time-restricted

So pretty much, I think what happens is that when you unlock Wallet now, it creates a "virtual" card that is restricted to the unlock timeout in time and to some sort of geographic limitations.
[NFC Hacking] vandyman:
I wonder if this would work on a Kronos time clock....
[NFC Hacking] katongo:
I think HCE will be mainly used by North American providers as they are generally against secure elements. Today most of phones uses UICC(sim card) for card emulation, secure elements are not yet very widely deployed.

NFC in general is a complicated technology, there is many protocols and standards (NCI, HCI, SWP) and different modes (Reader Mode, P2P, CardEmu) HCE is a new topic and even if it's defined in the standard it was never used before KitKat, I thinks once KitKat will be more deployed, apps using HCE will be developped.
[NFC Hacking] tanmayapatel1989:
Host card imulation

Hi,

When ever we are doing any nfc payment or valuadded service application it require to communicate with the java card applet which reside in the secure element. But in case of hce there is no secure element is ther so where the to install the java card applet.

please help me regarding this.

Thanks in advance.
[T-Mobile Samsung Galaxy S II SGH-T989] JNMM:
It's been released! The question is when are we getting it on the herc!!?:D:D
[T-Mobile Samsung Galaxy S II SGH-T989] akeem127:
Its not released yet. It was only announced. Release is in the coming weeks.
[T-Mobile Samsung Galaxy S II SGH-T989] JNMM:
Ah my bad. Just excited to get some kitkat love on this awesome device!
[T-Mobile Samsung Galaxy S II SGH-T989] me_is_rushin:
Agreed definitely excited as well. Been on this phone since 2.3 and it's amazing the support and dedication the devs have put into this device. 4.3 was merged pretty quickly it will be interesting to see how easily 4.4 merges with all the custom roms. But I am sure given enough time this will be a great update given that it is built to run on as little as 512mb!!! ram I have a feeling KK could be amazing on even our aged devices.

In the mean time I'm happy our 4.3 roms have matured and are virtually a bug free pleasure to run (ymmv). Thanks again to our hercules devs!