yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] ritchea:
Running stock 4.3 de-odexed and getting the same result with latest build: empty usb disk (it shows the folders but contents are 0kb and no files show). Returned to previous and all works.

Maybe some info is on this CatLog file. I have no idea if I even pulled the correct portion and even less idea of what it shows :confused:
[Nexus 4 Original Android Development] dellup:
sorry if my question sounds stupid, but i have to know if i understod right.

i flash ziddey's kernel (franco) with otg support and then i can flash another kernel as i want?
[Nexus 4 Original Android Development] UnitedOceanic:
You will lose otg if you flash a different kernel!
[Nexus 4 Original Android Development] punitthereddevil:
I flashed PA today...OTG isn't working properly...I can access it fine...but unable to transfer from the flash drive to the phone...I get this message saying there's not enough space on the target system...

On stock 4.3 it worked totally fine until today evening when I flashed PA...any idea what might be wrong...?

Edit : [MENTION=1943808]keyra74[/MENTION] I think u might be able to help me here...
[Nexus 4 Original Android Development] keyra74:
i just rolled back to rc1 and it works, dunno if there are new nightlies
[Nexus 4 Original Android Development] gdekatt:
Jumping in to say that all appears fine with stock 4.3 JWR66Y and r183. Can copy to/from sdcard0 and usbdisk0. Unmount/mount and verified copied dir/files are still there on external flash drive. Delete OK.
[Nexus 4 Original Android Development] ritchea:
Thanks for trying to educate me. I learn a bit each time. My post was to join keyra74's ("is it the same error as mine : empty usb disk ?") experience.

I had tried removing StickMount during the pre-post testing and no change. However, since then, I uninstalled Xposed, re-installed latest ziddey kernel, and all worked. Then I reactivated the Xposed--all ok. Re-added Gravity Box module, and, again, all worked. Finally, I reactivated the SwiftKey Goodness module, and, all works. That's where I am. I did not reinstall StickMount as I had only used it to test if it would read NTSF (which it did).

I had been using the r178 824 version.
[Nexus 4 Original Android Development] Sillik:
I think the latest PA release (RC1) already has OTG implemented, but there are issues if you flash another kernel.

I read a lot of people complaining about those issue in the PA thread, but I saw no-one report that OTG is working though, so I haven't tried flashing that release yet.

I'm waiting for the next one as it seems a bit too "alpha" for the moment, which is kind of strange for a RC1! :)
[Nexus 4 Original Android Development] punitthereddevil:
I'm on PA with ziddeys r183 build...works totally fine...

NEXUS 4 | PARANOID ANDROID 3.99.1 RC1 | ZIDDEY'S OTG KERNEL r183 | OTG ENABLED TWRP 2.6.3.0
[Nexus 4 Original Android Development] Sillik:
Don't you have a force close when you go to settings>storage?
[Nexus 4 Original Android Development] punitthereddevil:
Nope...nothing at all...mounting, unmounting, etc everything works fine...

Just tried it to verify...:p

NEXUS 4 | PARANOID ANDROID 3.99.1 RC1 | ZIDDEY'S OTG KERNEL r183 | OTG ENABLED TWRP 2.6.3.0
[Nexus 4 Original Android Development] muzadull:
[MENTION=584916]ziddey[/MENTION] Don't think that 2nd batch nexus 4 (rev 11) could provide the 5v?

Edit: If something like this could work with the nexus 4 without external power :3

http://www.amazon.com/amzdeal®-Drive-Digital-Audio-Recorder/dp/B006R3231I/ref=pd_sim_sbs_e_2
[Nexus 4 Original Android Development] swimma:
CM 10.2

Which ZIP file can be used with CM 10.2 (Nightly Build) ? I tried JWR66* 4.3.0: ziddey-otg-r183-09141713.zip with the last Nightly Build and the CM sticks in the boot process after that. :(

---------- Post added at 08:49 PM ---------- Previous post was at 07:53 PM ----------

RESOLVED: Although the last nightly build CM 10.2 ROM is on Android 4.3 Revision 3 - JLS36C the JSS15* 4.3.0: ziddey-otg-r183-JSS-09141713.zip seems to work with it. Thank you!
[Nexus 4 Original Android Development] d0rkster:
Would this product work? http://dx.com/p/micro-usb-host-otg-cable-w-external-usb-power-port-for-samsung-galaxy-s2-i9100-s3-i9300-231140

The normal size usb would go into a power source while the micro usb would go into the phone?
[Nexus 4 Original Android Development] punitthereddevil:
It will work absolutely fine...:thumbup:

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

| NEXUS 4

| PARANOID ANDROID 3.99.1 RC1

| ZIDDEY'S OTG KERNEL r183

| OTG TWRP 2.6.3.0
[Nexus 4 Original Android Development] cobyman7035:
Is anyone using. This with franco kernel..?

Via Google voice Δ |\|€×u$™ 7 FHD on Tapatalk²
[Nexus 4 Original Android Development] punitthereddevil:
U can't use this with another kernel...coz this is a kernel itself...!!! Its a modified version of Franco's...it replaces whatever kernel u have...that's all...:)

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

| NEXUS 4

| PARANOID ANDROID 3.99.1 RC1

| ZIDDEY'S OTG KERNEL r183

| OTG TWRP 2.6.3.0
[Nexus 4 Original Android Development] Sacob:
if i flash this kernel i can use usb pen drives with the rom and TWRP or do i need something else?
[Nexus 4 Original Android Development] punitthereddevil:
With the ROM this kernel is enough...but if u want to make it work with TWRP,u have to flash "recovery.zip"...then u can make your nands directly to the flash drives too...

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

| NEXUS 4

| PARANOID ANDROID 3.99.1 RC1

| ZIDDEY'S OTG KERNEL r183

| OTG TWRP 2.6.3.0
[Nexus 4 Original Android Development] Sacob:
Does that work with any recovery?
[Nexus 4 Original Android Development] punitthereddevil:
No...presently, AFAIK,only TWRP supports OTG...so dont try to flash it to any other recovery...

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

| NEXUS 4

| PARANOID ANDROID 3.99.1 RC1

| ZIDDEY'S OTG KERNEL r183

| OTG TWRP 2.6.3.0
[Nexus 4 Original Android Development] Javier.D:
Thanks, it's working perfectly on this ROM http://xdaforums.com/showthread.php?t=null

Enviado desde mi Nexus 4 usando Tapatalk
[Nexus 4 Original Android Development] ziddey:
The mod will replace the recovery's kernel with the boot kernel, which assuming you've flashed the main patch, will thus enable OTG support in the kernel. From there, the recovery itself (ramdisk) needs to support mounting usb drives. TWRP does. To my knowledge, CWM does not. However, if you have some allegiance to a particular recovery, you could always manually mount your usb drive (mount -t vfat /dev/block/sda1 /sdcard/usbstorage for example).
[Nexus 4 Original Android Development] Sacob:
so, i can use recoverymod.zip with every version of twrp and any kernel that supports OTG, right?
[Nexus 4 Original Android Development] ziddey:
Assumedly, yes. However, I'm not too familiar with the particularities of a "recovery kernel." It was zman0900 that found out they were compatible. Obviously, I can't guarantee this will always be the case, but so far, everything's been working well for me.

The purpose of the recovery script is so that a new "mod" won't be needed for every TWRP release, since it in effect is performing the mod in in "realtime."
[Nexus 4 Original Android Development] ziddey:
2013.09.20 2329ET r184: JWR JSS/JLS
[Nexus 4 Original Android Development] keyra74:
nice 184 works like a charm with PA RC2

8 gb usb key mounted and running
[Nexus 4 Original Android Development] hamtar0:
at least I tried!
[Nexus 4 Original Android Development] mefistos:
Not sure what I did wrong.. it says in storage to insert device to mount it but when I unplug the OTG cable it says that USB device was unmounted... I am on latest CM nightly and 184r kernel.... USB mount checker says that everything is ok... :/

EDIT: looks like bad OTG cable:/ nvm
[Nexus 4 Original Android Development] swimma:
Is it normal that LOST.DIR is created on external USB storage (FAT32 and NTFS) everytime the storage is mounted?

Can someone confirm that NTFS formatted USB storage gets some file system errors after mounting?

I'm running last CM 10.2 nightly build with r183 JSS ziddey kernel.
[Nexus 4 Original Android Development] ChocoboX:
So I guess 4.3:

2013.09.20 2329ET r184: JWR JSS/JLS

will work on Android 4.3 ? I would like install a Nexus 7 in my car. How is this kernel different from Timur's kernel / ROM?

http://rootzwiki.com/topic/37755-timurs-kernel-usb-rom-closed-21-aug-2013/

I'd appreciate if someone can help highlight the differences. I might go with the older Nexus 7 rather than the new one as Timur's ROM is not being developed with the Nexus 7 2013.
[Nexus 4 Original Android Development] Cuzz1369:
The difference is this is for a nexus 4.
[Nexus 4 Original Android Development] ChocoboX:
My bad ! I actually searched in Google and I landed in here without reading the breadcrumbs. Just in case someone has info about something similar please let me know. I appreciate it
[Nexus 4 Original Android Development] Cuzz1369:
All you need for the n7 is an app like "stick mount" and a plain old otg cable. Nothing special. Works on any ROM with any kernel.
[Nexus 4 Original Android Development] ChocoboX:
Thanks. That's good news. Will it allow DAC (USB digital analogue converter) ? Just checking couple things.
[Nexus 4 Original Android Development] Flav106:
USB Audio is working well with this kernel ans isb audio recorder pro : http://www.head-fi.org/t/634048/google-nexus-4/225#post_9823247

But no way to make it work with other players unfortunately...
[Nexus 4 Original Android Development] ziddey:
My guess is that it fscks on mount regardless of whether the dirty bit is set.

As for the errors, I got some earlier as well (ES File Manager, Xposed, and some others). Repeated mounts have shown no such errors though. Doing a search for "java.lang.NoSuchMethodException: setCompatibilityInfo [class android.content.res.CompatibilityInfo$1" does yield some similar results. Either way, the problem should be far beyond the scope of this patch.

On another note, I'm not sure why verbose usb mass storage messages is enabled by default. Will disable for next release.
[Nexus 4 Original Android Development] punitthereddevil:
Till today I have always been using either stock ROM or paranoid...both of which are JWRs...but I flashed slimbean 4.3 build 1 yesterday and absentmindedly flashes the JWR build of ziddeys kernel...

Funnily, everything worked totally fine...I dint even notice anything wrong until just now when I was going through my settings and noticed the JSS build in "about"...I now have flashed the proper JSS build of this kernel and everything is fine...but I found that JWR too worked absolutely fine...

Just thought I let u all know...dunno if this matters much...

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

| NEXUS 4

| SLIMBEAN 4.3 BUILD 1 OFFICIAL

| ZIDDEY'S OTG KERNEL r184

| OTG TWRP 2.6.3.0
[Nexus 4 Original Android Development] mefistos:
Did anyone try 500GB WD my passport... can't get it to work.. 32gig flash drive works just fine.. but the HDD doesnt show up and when I disconnect it it says that USB has been removed :/
[Nexus 4 Original Android Development] ziddey:
NTFS? What ROM? CM and its derivatives support NTFS. Stock does not. You could always setup Stickmount
[Nexus 4 Original Android Development] mefistos:
I am on CM 10.2.. I have two one with FAT32 and other one is NTFS... both of them acts the same way... I'll try stickmount

edit: it just says that mount service is busy.. try again later... don't know it the HDD is bigger it takes longer to mount it?

edit2: it can see the HDD but it shows as empty and without any label... might be problem with HDD since I did 500gig on FAT32...
[Nexus 4 Original Android Development] swimma:
Playing with Card Reader

Playing on CM 10.2 nightly with the Card Reader I discovered that it is essential to disconnect the card reader from USB cable when changing SD card. Otherwise (if I only change the SD card in the card reader) strange things happen and the storage is declared empty or not compatible after checking it. May be an issue that can be fixed?

Other question: Is there a compatible app to show an Unmount button in the notification area during USB storage is mounted? (The way through Settings -> Storage -> Scroll-scroll is too long.) ;)
[Nexus 4 Original Android Development] ritchea:
Might want to look at posts 985 and 986.
[Nexus 4 Original Android Development] luxda:
Hi, is it possible to print on any printer via OTG and PrinterShare on Nexus 4 ?
[Nexus 4 Original Android Development] ztkx:
I realize you use a Y OTG cable. But my cable is a direct connection cable without the external power. I want to know whether it can works because it can't works in my phone.
[Nexus 4 Original Android Development] Cuzz1369:
You answered your own question. NO
[Nexus 4 Original Android Development] rejanmanis:
You can use powered Usb Hub
[Nexus 4 Original Android Development] ziddey:
Looks like you need to pay for it to actually use it. Tried to print a test page, but there was a driver mismatch. Didn't look into it any further but it looks to work..

Also, I just realized apks are supposed to be zipaligned for performance. Will be included in next release.
[Nexus 4 Original Android Development] ztkx:
can you tell me why?

why some other phones can work , but nexus 4 does not.
[Nexus 4 Original Android Development] dellup:
from first post
[Nexus 4 Original Android Development] ztkx:
ThQ
[Nexus 4 Original Android Development] chinarabbit:
Hey, when I plug in an OTG cable with a USB Drive attached, its not read.. I'm using 4.2.2, I thought every android came equipped with those drivers since 3.1..

does this patch require a Y OTG cable, and if so, where does the other end go? into a plug or USB slot of a battery adapter or computer?

this doesnt just make it able to plug a device in and read it?

and I dont even know which version I need.. anyway to figure that out? i use an MT6575 device..

thanks for any advice
[Nexus 4 Original Android Development] ziddey:
Get out.
[Nexus 4 Original Android Development] rejanmanis:
LOL ,

Hi dev, could you please add up faux sound mod to your kernel please.

Thx in advanced.
[Nexus 4 Original Android Development] prateek80:
LOL :laugh: +1 :good:
[Nexus 4 Original Android Development] chinarabbit:
I'm sorry, what's that all about?

according to the XDA video on why all newcomers to XDA are retarded noobs, they explicitly whine and cry about people making new threads to address topics..

Unfortunately, modus operandi in XDA requires everyone to post your "retarded noobass question" that the 'self-proclaimed elite-at-the-tiniest-most-insignificant-thing-in-the-world', have to "fkn be bothered with" on the 3000th page of some other thread in hopes of getting an answer

I dont know what sort of problem you have, but its broad and wide, and no small thing.. and I suspect it has something to do with the fact that you mistakenly believe you are smarter than toe fungus.

you aren't smart, bro, you want to test IQ's we can do it all day long.

the difference between you and people with a real education is that your knowledge is lodged so deep in your backside in hopes of putting on aires of intellect, that it really has no chance of ever escaping and being told to another

people with actual educations dont call everyone retards who dont happen to know a specific, very small item, which you seem to have learned

I understand that it took you 6 months to get it and you're terribly afraid someone else will grasp the whole of your education in an afternoon, and so you try your best to hide it up

but that doesnt change the fact that I cant plug something into my android via OTG adapter and get it to work

please, sir, hide up your little knowledge in your rectum, and run along..

perhaps someone who knows a bit more, and views this knowledge here as small and recreational in nature, could point me in the right direction

you're excused

now carry on

-
[Nexus 4 Original Android Development] chinarabbit:
I said you're excused

now stand down

futnut

---------- Post added at 08:24 AM ---------- Previous post was at 08:13 AM ----------

let me help you out, dude

"I have no idea what the problem may be, stop bothering me and my sexxxus4 please.. there must be another thread that can help you.. but I dont know, unless it has to do with my sexxxus4"

regardless that this was the most relevant thread on Google, dropping me off somewhere in the 100's i suppose..
[Nexus 4 Original Android Development] copystring:
"Get out." is short for: This kernel isn't for your device.
[Nexus 4 Original Android Development] chinarabbit:
it does seems really kind of a stretch to think that 100+ pages of OTG USB-related threads should actually contain a single person that knows anything about USBOTG connectivity outside your sexxxus4

thats totally my bad dude...

what the fk was I even thinking

---------- Post added at 08:29 AM ---------- Previous post was at 08:27 AM ----------

thanks

that was insightful and informative, unlike the previous post..

i'm going to tell my wife "get out" is short for "sorry honey, I'm a bit busy right now, do you mind if I finish up here and then we can talk about it later?"

i'm learning some sweet shortcuts.
[Nexus 4 Original Android Development] copystring:
Well, this forum is for the nexus 4. So this kernel only works with the nexus 4. I would say that's common sense, no?
[Nexus 4 Original Android Development] ziddey:
It looks like Faux has adapted my otg mod into his kernel. You should be able to delete boot.img out of my .zip and flash it to add the necessary ramdisk and rom-side changes.

Two caveats though:

Faux uses the "anykernel" approach, meaning you may need/want to flash a "reset" kernel to restore your ramdisk back to whatever is appropriate for your rom (your rom's kernel would be the ideal choice).

Faux wrapped the otg mod code so that it's disabled by default. You'll need to manually enable it (or make use of a script-- init.d would work well):

echo 1 > /sys/module/msm_otg/parameters/otg_hack_enable

If the patch fails, you may need to delete the line in updater-script where it flashes boot.img. Included kernel modules won't work with Faux's kernel.
[Nexus 4 Original Android Development] chinarabbit:
well.. no.. I got dropped right into the middle of a 100 page thread from google search results, the most relevant search results google could possibly find for my problem

trusting google, I'd say thats the most relevant thread on the planet

but NOOOO

what do you get?

"get out"

I think this thread should be reported to google so the google authorities can look at why the top result gets some guy bad mouthing me and kicking me out.

honestly, this is the first time, in my 20 years on the internet that I've asked a search engine a question, went to the top result, and couldnt go write to my question in the exact place the search engine put me

google is screwing up

what a piece of crap google is

maybe they can research the attitudes of the threads OP's and put them at the bottom of the search results if they arent social or very nice people

for fks sake, this is a fun little hobby, and people should be friendly, its not Blood Sport 3

-
[Nexus 4 Original Android Development] punitthereddevil:
If u hadn't posted here and had gone ahead and flashed this kernel, u could have ****ed up your phone, u know...for your own good, please make sure u verify the thread before u do anything next...:)

My point is, everyone is expected to do their part right...your part here was to read the forum you're in, properly and know if its right or wrong...considering the fact that you're on the internet since 20yrs, its expected that u do your part right...

And when your are at fault, please accept it and don't blame others...blaming Google sounds absolutely ridiculous...!!!!:D

Devs here have a lot to do and its obviously gonna piss them off if random members just go around posting question which are not even remotely belonging to the ROM, kernel, mod or whatever the threads about...

Don't get aggressive with me too now...I'm just politely telling u that your on the wrong thread and u need to refine your search to find what u want...the longer u stay here, the more you'll get into fights...

coz its your fault and u can't defend yourself in anyway...

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

| NEXUS 4

| SLIMBEAN 4.3 BUILD 1 OFFICIAL

| ZIDDEY'S OTG KERNEL r184

| OTG TWRP 2.6.3.0
[Nexus 4 Original Android Development] chinarabbit:
well holy crap..

its a good thing I brushed up on my muay thai then, isnt it

no, its not "my fault", and maybe if you stopped attacking people you'd not have to require them to 'defend themselves in any way' by making them wish they'd brought their escrima sticks, kali knives and 9-dragon broadswords.

if you cant talk to other people normally, then please, unplug your computer, go upstairs, air out, and ask the first parent you see for that slap upside the head they neglected to give you.

and learn to talk to people normally.. like a grown up.

it doesnt make you appear smarter to have no patience for formulating socially acceptable sentences.

whats more important.. your little 'project' i dont believe you're even working on, that a junior high school kid can do in class.. or a shower, some deodorant, and maybe even a real girlfriend?

chill the fk out. and talk normally to other people.. honestly...

this is an Android forum.. but that doesnt mean we need to act like little androids.. we're all people here.. though sometimes i really wonder
[Nexus 4 Original Android Development] punitthereddevil:
U got way too much time to spare dude...use it for something better than pissing off people here before someone reports you to the moderators...

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

| NEXUS 4

| SLIMBEAN 4.3 BUILD 1 OFFICIAL

| ZIDDEY'S OTG KERNEL r184

| OTG TWRP 2.6.3.0
[Nexus 4 Original Android Development] zaptac:
If you spend 10% of your writing time on *reading*, google will work for you again.

-- Send by me.
[Nexus 4 Original Android Development] Wis76:
Ziddey has been rude, there's no need to deny this. But when every other minute you receive questions about things totally off topic (or already explained 9234798 times before, maybe two post above) you become more and more "concise and to the point". That's survival instinct kicking in, because you simply can't have spare time for everyone who get in this thread randomly and starts asking questions without even bothering to read the section of the forum he's in AND the first post of this thread (yep, *the very first post* of this thread covers nearly all questions and it's constantly updated to avoid this kind of situation).

So, if you're a 20 years experienced internet sailor, you should know that entering a thread and asking questions covered in the first post is unpolite at best. Even less so when the thread is not even in the section regarding your phone.

So, Ziddey has been rude, ok, but he clearly has his mitigating circumstances, and you should understand what was your fault without too much diffculties.

Well, my 2c (and sorry for my english, I'm italian).
[Nexus 4 Original Android Development] rejanmanis:
Everybody chill out please.

So I think MTK procie not belong to this thread.

So you can get out please.

Don't ruin this thread with unnecessary comment and post.

M▲K▲SεεεεεH !!! and【ツ】†ђąηk ўσυ【ツ】
[Nexus 4 Original Android Development] puncha1580:
Well, why don't we just ignore this rabbit from China??