yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] dEris:
Then you must of flashed the fc fix and the patch. Justvarshney sent it and now it's working.

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

[ DEVICE : N⁴ ]

[ ROM : CrDROID-4.4.4 ]

[ KERNEL : CrDROID-OTG ]

[ LAUNCHER : NOVA PRIME ]

[ CARRIER : T-MOBILE ]

[ CASE : NAKED/NONE ]

[ SCREENSHOT : MAY.18.2014 ]
[Nexus 4 Android Development] atulclassic:
i didn't flashed any fc fix..just otg franco kernel and boom!!
[Nexus 4 Android Development] justvarshney:
Which version of PA ROM you are using ?

something like : pa_mako-4.41 or ROM prior to that ?
[Nexus 4 Android Development] atulclassic:
PA 4.4 final
[Nexus 4 Android Development] arek78:
Guys this kernel and AOSP Mod OTG [hells-Core-b47-kk]
[Nexus 4 Android Development] xanthrax:
??

Sent from my Darkside of LG G2
[Nexus 4 Android Development] Midomad:
Up :(
[Nexus 4 Android Development] sakis_the_fraud:
Hello, i have an offtopic question, but i think that some of you that are using this mod have encountered this problem and some of you may have found a solution.

I am trying to take backup of some videos to an external hdd and when i try to paste a video there i see this error.

Do you know what should i do?
[Nexus 4 Android Development] tsiftsism:
Hi,

i'm using CM11 17/7 Nighlty and the CM kernel version with otg support is causing my device to reboot whenever i'm watching a video (either on MXPlayer or on Youtube). At some point of the video (not in the beginning of it) device freezes and then it reboots.

By having flashed the original CM kernel by hellsgod, there is no freezing and rebooting.
[Nexus 4 Android Development] rebj2007:
Can i use this with ps3 controller otg?
[Nexus 4 Android Development] yochananmarqos:
I don't know, can you? Try it & let use know how it goes.
[Nexus 4 Android Development] Sillik:
I think yes, but you'll probably need the Sixaxis app.

The app also allows you to use it over bluetooth by the way...

https://play.google.com/store/apps/details?id=com.dancingpixelstudios.sixaxiscontroller&hl=fr
[Nexus 4 Android Development] xanthrax:
It works perfectly using sixaxis full app

Sent from my Darkside of LG G2
[Nexus 4 Android Development] Cheesethief:
I am not sure where to ask this, but this seems like the most likely place where people will know.

Is there any way to patch the stock kernel instead of flashing a custom kernel? I am running OmniROM 4.4.4 nightlies, btw.

Hellscore w/ USB OTG was great, but it for some reason messes with Chromecast compatibility (Allcast casts much, much slower when I use Hellscore)
[Nexus 4 Android Development] fozzie:
No. That's why you have to flash it!
[Nexus 4 Android Development] Cheesethief:
What I am asking is there a different way? I am asking if there is a patched stock AOSP kernel or a script that patches my current kernel, which is stock?
[Nexus 4 Android Development] fozzie:
And what I am telling you in no. You cannot "patch" a kernel by running a script or anything else. It is build from source code & then has to be flashed. What exactly do you mean by "a patched stock AOSP kernel"? Patched for what exactly?
[Nexus 4 Android Development] Cheesethief:
Patched for USB otg.
[Nexus 4 Android Development] fozzie:
USB OTG is more than just a patched kernel; it's also changes to the ROM. I don't know if [MENTION=1175139]justvarshney[/MENTION] can build an AOSP patched kernel? Did you look in the original thread (linked in the OP) where USB OTG was developed?

What have you done to try and diagnose the problem you have? You say it occurs with HellCore OTG, but what about with the plain HellsCore? i.e. is it a USB OTG related issue or is it actually the kernel? Have you tried for example the Franco USB OTG kernel to see if the problem still occurs?
[Nexus 4 Android Development] xanthrax:
To patch any kernel you want you must have some coding skills and access to the code source, check the first post

Sent from my Darkside of LG G2
[Nexus 4 Android Development] Cheesethief:
Seems to work like a charm on the Franco kernel.
[Nexus 4 Android Development] xanthrax:
Hellscore kernel's philosophy is to save battery and to keep it cool reason why some heavy tasks might have problems, mirroring is one of them

One just can boost its performance using the kernel tweaker, HKM

Sent from my Darkside of LG G2
[Nexus 4 Android Development] Cheesethief:
I tried raising the min clock speed to 384mhz and messing around some more, but I couldn't find anything that made Chromecasting quicker. I will mess with Hellscore w/otg some more later. I liked it quite a lot.
[Nexus 4 Android Development] shinnsan:
Franco kernel r210 is out
[Nexus 4 Android Development] ramjet73:
It can be, but the other stuff can be done other ways or omitted depending on what features of OTG you want.

There are framework changes required to add USB storage settings but flash drives and hard drives can be mounted and unmounted with StickMount as an alternative. There are also driver (.ko) files installed by the zip files in this thread but those are mostly for devices like keyboards, mice and gamepads. Finally there is an XML file in the /etc/permissions directory that enables OTG support but that can also be handled by utilities like Synapse.

As an example, I am using a kernel called "Ultimate" from the Nexus 4 Android L preview thread and the developer has only added the OTG related source from the github linked in the OP of this thread to his kernel. By turning on OTG support in the Synapse app I was able to get FAT32 formatted flash drives and USB audio to work with the preview ROM. Of course a powered OTG adapter is required with the Nexus 4 for most OTG devices.

ramjet73
[Nexus 4 Android Development] atulclassic:
[MENTION=1175139]justvarshney[/MENTION]..since franco has released r210 with some more improvements..can you patch it also.

Thanks in advance
[Nexus 4 Android Development] ethan1234:
Hells core new build is out pls add patch
[Nexus 4 Android Development] brijs:
And once patched where do we down them from.
[Nexus 4 Android Development] justvarshney:
I will work on it ASAP and let you know. Was out of station past few days.

Thanks
[Nexus 4 Android Development] ramjet73:
When you have time to work on it, would you please include links to the versions with and without the framework changes for storage settings in the OP. I'm currently using your hellscore B47 4.4.4 version with KitKat stock and the B47 version in the OP without framework changes for the Android L preview ROM.

No rush, since the current versions are working fine and I'm sure the updates to the base kernels are minor.

Thanks!

ramjet73
[Nexus 4 Android Development] Persechini:
I get what he is saying here, in the original [MENTION=584916]ziddey[/MENTION] thread there is a download which is just the aosp kernel patched to enable usb otg:

But that kernel is dated back from december, so I am also joining the request team for an updated version (4.4.4 stock kernel with usb otg enabled). [MENTION=1175139]justvarshney[/MENTION] is it possible to add this to your to do list?
[Nexus 4 Android Development] brijs:
USB Mount

Hey all,

Is there any certain app we could download to mount and unmount the USB??

[MENTION=1175139]justvarshney[/MENTION] curious! while the usb is mounted on the nexus 4. In storage it just does not show the usb space available.I flashed the franco 209 and the fix.zip u provided. I do get to use the usb but cant check its space available in storage it does not show at all..
[Nexus 4 Android Development] xanthrax:
Try stick mount by chainfire

Some roms have the mount option in storage some don't, use the app, it works brilliant

Sent from my Darkside of LG G2
[Nexus 4 Android Development] brijs:
Stick mount doesn't work on a nexus 4 does it.
[Nexus 4 Android Development] xanthrax:
It does, I'm using it, pal...

The application doesn't work with a normal kernel obviously Nexus 4 doesn't have otg support but with these patched kernels it is ok

Sent from my Darkside of LG G2
[Nexus 4 Android Development] brijs:
Great il check it out. Thanks.
[Nexus 4 Android Development] xanthrax:
Thank you pal! I've been struggling to download it, something happened to my network, now is OK, flashed it :thumbup:

More tests as soon as I get home, long 12 hr duty today...

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] justvarshney:
Added Link for the new version in first Post.
[Nexus 4 Android Development] bfgudrich:
Thanks
[Nexus 4 Android Development] justvarshney:
Have you tried the Latest b43 kernel ?
[Nexus 4 Android Development] justvarshney:
Added Patch for CM 11.
[Nexus 4 Android Development] xanthrax:
I would add these two pics :beer:

Best to use is this app

https://play.google.com/store/apps/details?id=eu.chainfire.stickmount

Always unmount before removing it

If mount problems occur just connect and reconnect the usb charging cable

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] WiwiPouPou:
Wow !

What's that ROM ? And those widgets ?

Edit : seen CM..

Envoyé depuis mon Nexus 4 avec Tapatalk 4
[Nexus 4 Android Development] xanthrax:
dirty unicorns and the floating stuff is the cool tools app from market, my favorite :)

the other pic is from a cm rom, just wanted to show you guys that is working well

sent from my Darkside of Nexus 7 LTE
[Nexus 4 Android Development] howard bamber:
Just switched to "hells core otg" as I needed a otg kernel. I'm very happy with it after adjusting the colour to P. A half breed. I switched from mat1x so you can imagine how happy I am to see you are working on a version of that.

Will it be the cpu o/c, or the gpu o/c?

Whatever I can't wait to try it:)

Thanks for bringing otg to us, via ziddey of course.

BTW mathkid dropped otg from mat1x as it affected car charging... You found a work around.

Sent from my Nokia 3210
[Nexus 4 Android Development] xanthrax:
what is that car charger issue? can you expand it please?

sent from my Darkside of Nexus 7 LTE
[Nexus 4 Android Development] justvarshney:
Thanks for trying The patch. I am still working on Matr1x. Will test it and let you know.
[Nexus 4 Android Development] xanthrax:
Happy new year to all of you guys!

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] mnajem:
hi bro,

i tested you patch to my kernel.. a user said he can use keyboard and mouse but not storage.

how about your patch works in hellsgod? any difference?

:confused:
[Nexus 4 Android Development] Rohit02:
All working good.. Just try it.. :good:
[Nexus 4 Android Development] justvarshney:
Happy new year to everyone :)
[Nexus 4 Android Development] miomabusy:
Is Sweep2sleep works on cm version?
[Nexus 4 Android Development] justvarshney:
It should work. Please refer to HellsCore thread for confirmation.
[Nexus 4 Android Development] miomabusy:
Oh then it wont work because s2s doesn't work on b43 t1 cm :(
[Nexus 4 Android Development] xanthrax:
it does work, all these s2s, s2w and double tap 2 wake are fine on b43 cm or non - cm

sent from my Darkside of Nexus 7 LTE
[Nexus 4 Android Development] justvarshney:
I have built patch on Matrix Kernel and yet to test the Car charging issue. Let me know if you would like to test it.
[Nexus 4 Android Development] ramjet73:
There are versions of the Hellscore and Franco kernels in this post that include framework modifications to mount/dismount USB Storage and show the information in settings. These are different than the versions in the OP and if they don't work with the ROM you are using then fall back to one from the OP and use StickMount to mount/dismount the storage device.

ramjet73
[Nexus 4 Android Development] xanthrax:
that is correct as well !
[Nexus 4 Android Development] bombadier:
Hellscore 49 out so when you get the time it would be awesome if you could release a new version with otg working,also whats the story,we still going to have problems with storage FCing? Thanks in advance

Tapatyping from my Nexus 4
[Nexus 4 Android Development] justvarshney:
Sorry guys was not active for many days. I will work on the kernels (hellscore and franco) and will share the patch soon. I will try my best to fix the storage issue.

Thanks
[Nexus 4 Android Development] bombadier:
Thanks for your effort and time,much appreciated

Tapatyping from my Nexus 4
[Nexus 4 Android Development] sifatrhmn:
Is this Kernel-Patch support "External USB Hard drive" or NTFS filesystem? :confused:
[Nexus 4 Android Development] xanthrax:
B50 is up as well

Sent from my Darkside of LG G2
[Nexus 4 Android Development] Midomad:
What about semaphore kernel?
[Nexus 4 Android Development] Cheesethief:
External HDDs work just fine. You need to make sure they are getting enough power though. Best if they have their own power source. NTFS mounting would probably require an app from the play store.

I'm pretty sure the patch just enables OTG support, it doesn't add support for filesystems that aren't natively supported by Android.
[Nexus 4 Android Development] sifatrhmn:
If NTFS doesn't support normally then

how External HDD works just fine? :p

And which app is required for NTFS mounting?? ❓
[Nexus 4 Android Development] Cheesethief:
Because you can use FAT32 on external HDDs just fine.

I believe Stick Mount is what most people use. Disregard the comment on the play store that it does not work on the Nexus 4, it works if you are using a kernel from this thread.
[Nexus 4 Android Development] yochananmarqos:
Android natively supports FAT32, that's why it can read your SD card. ;)
[Nexus 4 Android Development] sifatrhmn:
There is no need to use FAT32 or any software like stickmount

I ensure that The Kernel-Patch standalone can read-write NTFS exFAT FAT32 FAT file system.. :)
[Nexus 4 Android Development] rohit297:
This thread is again dead, can the developer please add the otg support to franco kernel r212 , it will be a great of him
[Nexus 4 Android Development] xanthrax:
Please mind your words, the thread is not dead... If you don't know or you don't want to learn how to code are you going to consider yourself dead?

Sent from my Darkside of LG G2
[Nexus 4 Android Development] justvarshney:
Thanks buddy, This thread s not dead. It just there was no new version / request for the OTG patch untill few days back.

I have synced the source and will be sharing the OTG kernel very soon.

Thanks for the patience.
[Nexus 4 Android Development] xanthrax:
few more days for testing hellscore [emoji4]
[Nexus 4 Android Development] arktay:
Does it work with r212?
[Nexus 4 Android Development] arek78:
justvarshney

You can know what you've done with the frequency min each reboot I went back to 1026 always had installre normal version.-----Version b47

Your version "HellsCore" b47 OTG is worth nothing. I'm sorry ----- normal version works Fine.
[Nexus 4 Android Development] xanthrax:
You're the only one complaining about this

Sent from my Darkside of LG G2
[Nexus 4 Android Development] arek78:
Very well, not my fault.
[Nexus 4 Android Development] albertoajuria:
I had the same peoblem here, but I found the solution disabling mpdecision with Trickster mod:

---------- Post added at 11:02 PM ---------- Previous post was at 10:55 PM ----------

It would be cool that in the next "hells-core" release the developer disable the mp-decision by default [emoji39]
[Nexus 4 Android Development] arek78:
Do you recommend this included as well Patch

"kernel-aosp-20140820-dimfish-mako" --- Much better than "HellsCore"
[Nexus 4 Android Development] xanthrax:
Pal, learn how to write, use punctuation, I don't understand what are you saying, is this a question a statement or what?

Sent from my Darkside of LG G2
[Nexus 4 Android Development] arek78:
a statement Nexus 4 Rom ParanoidSaberDroidREMIX

Kernel function properly. After reboot I always Minimum CPU 1026.

You can not set CPU correct. With the regular version works fine.
[Nexus 4 Android Development] yochananmarqos:
What kernel are you using and what version? What are you using to adjust the CPU frequency?
[Nexus 4 Android Development] arek78:
Rom MAHDI, ParanoidSaberDroidREMIX, HellsCore OTG b47 e Manager Hells Core. Problems --- After reboot back to 1026 CPU Min

I installed "dimfish" and much better than HellsCore It all works fine OTG ec......

HellsCore normal version of b47 only works well this mod is not worth anything.
[Nexus 4 Android Development] Persechini:
I'm currently not using a compatible kernel because I'd like to stay stock and my experience with franco kernel isn't great (plus that fact that the version in the OP is outdated)

[MENTION=1175139]justvarshney[/MENTION] Can you provide a version of the stock 4.4.4 kernel with ziddey's USB OTG patch? (and kexec support, why not?) The one on ziddey's post is pre-4.4.4 and those give wifi problems on 4.4.4 builds

Or someone could at least point me in the direction how to patch and compile the aosp kernel myself?
[Nexus 4 Android Development] Ms7Android:
Hi xanthrax, is hellscore b55 soon will get the usb otg support?

I still stay in b47 because I need the usb otg... thanks..
[Nexus 4 Android Development] bombadier:
We are onto b57 so hold fast as it is not ready for justvarshey's delicate touch yet :laugh:
[Nexus 4 Android Development] dito33:
For me b47 cm ver. OTG doesn't work, what roms you guys using. I'm on LiquidSmooth and the only kernel works for me is Matrix1 and only problem I have is can't access the storage settings.
[Nexus 4 Android Development] Ms7Android:
I use slimkat stable ver 7.0
[Nexus 4 Android Development] krkeco:
Anyone try cm11ss10? I'm going for it >.>

Currently snapshot 9 with dim fish running well, but no overclock :( hoping to get bricked working this round …
[Nexus 4 Android Development] juliusedward:
Is this anyway related to this thread?
[Nexus 4 Android Development] TheQuarterMile:
Anything in the pipeline?
[Nexus 4 Android Development] ramjet73:
If you want an updated kernel that supports OTG on the Nexus 4 you can try Hells Doctor which is based on Hellscore but includes OTG support. However, you will need to use a tweaking app like Synapse to activate it, since it is not on by default.

ramjet73
[Nexus 4 Android Development] mkmck:
Hey guys.

I know, that to use OTG on nexus 4 we need a special Y-usb to plug external battery or something. But I'm curious how about devices with its own battery. I have a camera. I've flashed old franco kernel and a patch and the phone still doesn't recognize the camera. Have someone tried that combination?

Nexus 4 & Tapatalk
[Nexus 4 Android Development] ramjet73:
That won't work. The Nexus 4 needs to see power too for OTG to work and most adapters don't supply that. No power flows from the female USB A connector to the phone.

ramjet73
[Nexus 4 Android Development] xafix.kay:
Hi OP..

I would be greatful if you modified hellscore kernel for cm11.. ??

Thanks.. ?
[Nexus 4 Android Development] swimma:
Tried [hells-Core-b43-CM] with CM11-M11 --> Wifi is broken. :(

Tried hells b58 with CM11-M11 --> Wifi works.
[Nexus 4 Android Development] SirHat:
If I recall correctly: There has been a change in the kernel/ROMs that need to work together for Wifi to work. Mixing an older kernel (without that change) with a ROM that has that change (newer ROM versions) will break. That's why the newer hellcore versions you tried had a working wifi. It isn't because of the OTG specific patch.

You have three options.

1. Wait for an updated patched version of the kernel here.

2. Go back CM11 versions before that change.

3. Try one of the other kernels having OTG support by default (mentioned before in this thread).

Good luck!
[Nexus 4 Android Development] DingoDingo:
[MENTION=1175139]justvarshney[/MENTION] are you still active? Hope that everything is OK.

If you have time, is there any chance to add patched version of Semaphore kernel? As I remember, you did it in past once (or more?).

All best and thank you for helping us! :):):)
[Nexus 4 Android Development] andree182:
usb-storage not working (CM11 M11), RESOLVED

(for future generations :))

I was getting messages like the following (with my custom kernel, and with kernel from justvarshney).

...
<6>[ 109.295009] usb 2-1.4: new high-speed USB device number 3 using msm_hsusb_host
<6>[ 109.409125] usb 2-1.4: New USB device found, idVendor=0930, idProduct=6545
<6>[ 109.409247] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
<6>[ 109.409308] usb 2-1.4: Product: DataTraveler 108
<6>[ 109.409400] usb 2-1.4: Manufacturer: Kingston
<6>[ 109.409461] usb 2-1.4: SerialNumber: 00187D0F5670EBB120000286
<7>[ 109.410804] usb-storage: USB Mass Storage device detected
<7>[ 109.411017] usb-storage: -- associate_dev
<7>[ 109.411048] usb-storage: Vendor: 0x0930, Product: 0x6545, Revision: 0x0100
<7>[ 109.411048] usb-storage: Interface Subclass: 0x06, Protocol: 0x50
<7>[ 109.411078] usb-storage: Transport: Bulk
<7>[ 109.411078] usb-storage: Protocol: Transparent SCSI
<6>[ 109.411170] scsi0 : usb-storage 2-1.4:1.0
<7>[ 109.411170] usb-storage: *** thread sleeping.
<7>[ 109.411628] usb-storage 2-1.4:1.0: waiting for device to settle before scanning
...
<7>[ 110.412208] usb-storage: usb_stor_bulk_transfer_sglist: xfer 192 bytes, 1 entries
<7>[ 110.412299] usb-storage: Status code -121; transferred 36/192
<7>[ 110.412330] usb-storage: -- short read transfer
<7>[ 110.412330] usb-storage: Bulk data transfer result 0x1
<7>[ 110.412330] usb-storage: Attempting to get CSW...
...
<7>[ 110.428139] usb-storage: queuecommand_lck called
<7>[ 110.429970] usb-storage: *** thread sleeping.
<3>[ 110.430032] sd 0:0:0:0: [sda] No Caching mode page found
<3>[ 110.430093] sd 0:0:0:0: [sda] Assuming drive cache: write through
<5>[ 110.430215] sd 0:0:0:0: [sda] Attached SCSI removable disk

and didn't see any /dev/sd* devices created. Turns out the usb-storage stuff is result of CONFIG_USB_STORAGE_DEBUG=y, but it works nevertheless. The block devices are created in /dev/block/sd* instead (HID devices did already work out-of-box). Only took me half a day to figure it out, lovely thing this android... :eek:
[Nexus 4 Android Development] rocker86:
Hello OP,

Can you provide the patch along with the new kernel of Franco. i.e. r213 ?
[Nexus 4 Android Development] TheQuarterMile:
Any word on HellsCore kernel?
[Nexus 4 Android Development] ramjet73:
Use Hells Doctor and activate OTG with UKM/Synapse.

ramjet73
[Nexus 4 Android Development] TheQuarterMile:
Isn't Hells Doctor a heavily moded version of HellsCore? I wanted something clean and simple like HC... Getting good battery life with it as well!
[Nexus 4 Android Development] ramjet73:
Hells Doctor implements a number of features that Hellscore doesn't support so that necessarily means that it is less streamlined. [MENTION=647113]hellsgod[/MENTION] has already stated that he doesn't intend to add touch wake features to his Nexus 5 kernel for the very reasons that you gave and my guess is that he feels the same way about OTG for the Nexus 4. But I saw that you posted in the Nexus 4 Hellscore thread asking him to implement OTG so let's see what he has to say about that.

ramjet73
[Nexus 4 Android Development] Cheesethief:
I certainly haven't seen the battery gains that I had with HellsCore, but battery life is no worse than stock or franco. The kernel is pretty nice and it is great that it is much more up to date than the offerings here... I do have to use Stickmount for otg though.

Sent from my Nexus⁴
[Nexus 4 Android Development] brijs:
Once it's been activated using synapse. Does it work like a charm no Fc.
[Nexus 4 Android Development] Cheesethief:
Works like a charm for me, but still YMMV. Since the modded kernels in this thread also modify the ROM as well, I clean flashed my ROM before installing HellsDoctor.

Sent from my Nexus⁴
[Nexus 4 Android Development] LostLust:
for OP or anyone, can you teach me how to download from d-h.st?

I want to download any OTG kernel from first page but I'm confused when I looking for download link :(
[Nexus 4 Android Development] yochananmarqos:
Uncheck "Download with Dev-Host Download Manager" and use the blue Download button.
[Nexus 4 Android Development] LostLust:
could you show me where is the uncheck button location? I can't find it http://screenpresso.com/=DzLFc