yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] yochananmarqos:
It was there earlier, now it's not. Either way, use the blue Download button.

If you're on Lollipop, do not install r209, that's for Kit Kat only. The latest franco.Kernel with USB-OTG support is SaberMod. If you're on Lollipop, use the latest (currently r216.2) or if you're still on Kit Kat, use r213.
[Nexus 4 Android Development] LostLust:
Okay, I will go to the thread.

I don't know if Lollipop have OTG kernel support, so I'm flashing Kitkat last night :(

Thank you so much ;)
[Nexus 4 Android Development] yochananmarqos:
Our Nexus 4 does not have USB-OTG support at all, that's why a custom kernel is needed. ;) You can upgrade to Lollipop & use the latest SaberMod like I mentioned.
[Nexus 4 Android Development] hamzahmamoun:
Can i use OTG without usb hub ?
[Nexus 4 Android Development] bombadier:
You do not need a hub as long as you have a y cable which is capable of providing power

However this thread is brown bread
[Nexus 4 Android Development] dgm_mixtoon:
friend, can you do a similar mod for moto g 1st gen?
[Nexus 4 Android Development] XenderX666:
Mirror plz can't download anything with new d-h.st
[Nexus 4 Android Development] unit999:
MANY THANKS!!!

OTG works perfect with kernel 3.4.93-hells-Core-b47-OTG with my ROM Paranoid 4.6 beta6, on KK 4.4.4 ( flashed by TWRP), and no problem with crashing Android-storage services!!!!

SDR and ADBS :) :) with DVB-T dongle on RTL2832U chip works perfect also!!! many thanks again!!!
[Nexus 4 Android Development] Rls4ever12:
Which do I use for cm13?
[Nexus 4 Android Development] prashant13791:
How can i use otg in nexus 4 lollipop 5.1.1 version? plz help me.

Help me

Screenshot has been attached already.
[Nexus 4 Android Development] S5830er:
Which OTG-kernel for CM 14 ?

Got OTG working on CM14 with kernel HellSpawn-N4-Nougat-R06-CM-UBERTC-6.x.zip

and activating OTG with KernelAdiutor-Mod.apk .
[Nexus 4 Android Development] nefescalanadam:
cant find R06 version on HellSpawn thread
[Nexus 4 Android Development] BrunoDias:
work on lineage os 14.1 / android 7.1.1?
[Nexus 4 Android Development] minerek:
I need kernel for Nitrogen OS 7.1.1. Which kernel is the best for drain battery?
[Nexus 4 Android Development] miomabusy:
It works for me right now, no one told me that s2s will work only on navi bar :/
[Nexus 4 Android Development] xanthrax:
well , you gotta get married then , i`ve been personally informed about that by my wife ... :D
[Nexus 4 Android Development] justvarshney:
Awesome..
[Nexus 4 Android Development] tnp9008:
The link to the kernel seems to be broken, anybody else having problems?
[Nexus 4 Android Development] justvarshney:
Apologies for the incinvinience I will share the alternate download location in some time.
[Nexus 4 Android Development] tnp9008:
I tried it a few minutes ago and it started working, thanks though.
[Nexus 4 Android Development] justvarshney:
I have tested the Car Charging and it works fine on my device.
[Nexus 4 Android Development] coronero:
Hi, can you suggest which "closest kernel" have you chosen in TouchControl that works well with the modified b43?

Mulțumesc anticipat.
[Nexus 4 Android Development] xanthrax:
No, it doesn't work with b43, I think hellsgod will add support for it on the next version, my statement was regarding v b42 with otg

Cu plăcere (^_-)

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] coronero:
Can you (or the thread owner) please provide a mirror to the modified b42 with OTG? (^-^)
[Nexus 4 Android Development] justvarshney:
https://www.dropbox.com/s/aqko8nk4rnsha52/USB-OTG_Patch_for_hells-Core_Kernel.zip
[Nexus 4 Android Development] davej23:
For stock android 4.4.2 rooted, do I use hellscore b42-n-kk-anykernel or hellscore b42-kk?
[Nexus 4 Android Development] justvarshney:
B42-n-kk is the newer among them. You can even flash b43 which is also available.
[Nexus 4 Android Development] xanthrax:
I think you're in a wrong thread but, I'll answer you

B43 is the latest for 4.4.2 but even those you've mentioned are OK

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] davej23:
What is the difference between them though?
[Nexus 4 Android Development] xanthrax:
The "n" has been updated to a higher Linux, 3.4.71

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] davej23:
Cool thanks :)
[Nexus 4 Android Development] xanthrax:
And b43 to Linux 3.4.75

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] strobel:
What does it change? ;) (sily question?)

Enviado de meu Nexus 4 usando Tapatalk
[Nexus 4 Android Development] fozzie:
What does what change?
[Nexus 4 Android Development] strobel:
What changes by changing the Linux?

Enviado de meu Nexus 4 usando Tapatalk
[Nexus 4 Android Development] xanthrax:
well, this website might help, just navigate through it

http://kernelnewbies.org/Linux_3.7

sent from my Darkside of Nexus 7 LTE
[Nexus 4 Android Development] Rohit02:
Changes = Improvements/Upgtades, and upgrades are always good.. :good:

Technically speaking the thread will help you a lot in detail.. Happy weekend to all.
[Nexus 4 Android Development] mor_1228:
it would be nice if someone builds or teach how to build kernel hellscore + faux sound like joile have semaphore + faux sound
[Nexus 4 Android Development] ssbnasa:
I find it very confusing that's why i'm asking here, i have 2 doubts. First of all this is only the patch to hellscore right!?

Secondly, can somebody point me towards b43 version!?

Thanks :)

Sent from my Nexus 4
[Nexus 4 Android Development] justvarshney:
Yes this is a Patch which enables USB-OTG on hells-Core Kernel.

the link for b43 version is : http://d-h.st/lke
[Nexus 4 Android Development] mnajem:
just use patch command bro.
[Nexus 4 Android Development] xanthrax:
I think his confusion comes from the fact that he can't understand if this is a patch only or a patched kernel

well, this is a PATCHED kernel, a standalone patch doesn't exist, for this one should go to ziddey's git and get it from there and then to compile it into a kernel which isn't a quite easy job btw

sent from my Darkside of Nexus 7 LTE
[Nexus 4 Android Development] fozzie:
Anyone else getting random reboots with the b43 based version? I switch back to the b42n version and it's solid as a rock.

I'm on a stock 4.2.2 ROM & running the Xposed framework with a couple of mods. I've also flashed the optimised dalvik libraries.

(As an aside, are there any special steps that must be taken when upgrading or downgrading between versions, like flashing stock first?)
[Nexus 4 Android Development] xanthrax:
Hey fozzie, no reboots whatsoever here and switching the versions doesn't require the stock unless you're coming from Franco or another one with a modified ramdisk

Check your kernel tweak application, either delete it or only its data and cache

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] fozzie:
Thanks. I've nothing set in Trickster other than a colour profile and USB fast charge (and they're done manually rather than on boot).

b43 just reboots a few times a day but b42n is solid... and I've switched back & forth a couple of times to confirm. Odd...
[Nexus 4 Android Development] xanthrax:
I've been using it since release but no issues like that but no heavy tasks performed though

Get a log, you'll find a nice how to on the third post of hellscore thread :cool:

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] fozzie:
Getting the logs isn't a problem ;) The last couple of reasons were a hardware reset.

I've just cleared Trickster's data and also uninstalled f.Ku (which already had it's data cleared and so wasn't doing anything) just in case there's some weird conflict that only manifests itself with b43 & not b42n. Let's see what happens with b43 now...
[Nexus 4 Android Development] mor_1228:
can you help plz ????????
[Nexus 4 Android Development] baku2313:
This is my Y type OTG cable
[Nexus 4 Android Development] fozzie:
Does it bite?!
[Nexus 4 Android Development] baku2313:
It's working
[Nexus 4 Android Development] fozzie:
Well waddya know; b43's been running for 24hrs now and no reboots. I wonder what the cause was? Oh well. Thanks xanthrax for prompting me to try a couple of things.
[Nexus 4 Android Development] xanthrax:
lol ... what things ?
[Nexus 4 Android Development] fozzie:
I just formatted a 64Gb USB drive with http://download.cnet.com/MiniTool-Partition-Wizard-Home-Edition/3000-2094_4-10962200.html and it all works fine. Just make sure you select 'primary partition' (rather than the default, 'logical') and 'FAT32'.

---------- Post added at 08:28 PM ---------- Previous post was at 08:26 PM ----------

That as well as reminding me I also had f.Ku installed so I removed that too ;)
[Nexus 4 Android Development] xanthrax:
you better say that , fku creates issues along with another app , needs to be uninstalled prior flashing another kernel , even franco , reboot and installed from scratch ...

and that tool i used to eat it every day when i was using htc hd2 ...
[Nexus 4 Android Development] goofball2k:
This needs to get more love. Hells Core kernel is great, adding usb otg just makes it better.

I couldn't get stickmount to work with Purity 04/01 and this kernel for usb otg. However, using Paragon to mount works as long as I don't use the default mount point by Paragon. All my keys are formatted NTFS since I need large file support, though I might try exfat to see if that works more consistently.
[Nexus 4 Android Development] xanthrax:
I'm using stick mount pro by chainfire, there is a free version also, this mount /unmount might interfere with the one build in the rom in storage

Try not to set auto-mount from the app settings and mount it from storage first

Anyway, a log might be useful to be submitted to the ROM's developer

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] goofball2k:
Purity doesn't have anything in storage section in settings for it. I know slimkat did but Purity doesn't have any mount storage options.

It's not a big deal, I would have preferred to use stickmount since it works great with faux + N7 2013 but it works, that's all that matters.

*edit*

Just flashed 08/01 build of purity and there is a mount usb storage now, i'll disable paragon and see if it works with usb otg with the built in mount.
[Nexus 4 Android Development] xanthrax:
[MENTION=1175139]justvarshney[/MENTION]

The final hellscore b43 is out, you may apply the otg patch in it :cool:

Thanks!

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] justvarshney:
Sure I will do It and update on this forum..

Thanks for informing me :)
[Nexus 4 Android Development] xanthrax:
Check the last post, I think hellsgod just re-upload it

You're welcome!

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] WiwiPouPou:
The b43 from the 1st post isn't the final b43, it's based on b43t2 mmh ? :)

Envoyé depuis mon Nexus 4 avec Tapatalk 4
[Nexus 4 Android Development] xanthrax:
it was a weekend break for the OP, maybe he had spent some time with his family, let's wait patiently :)

sent from my Darkside of Nexus 7 LTE
[Nexus 4 Android Development] justvarshney:
:) sorry for the delay guys.. I am working on it and will share the Patch very soon.

Thanks for the patience.
[Nexus 4 Android Development] justvarshney:
Here you go :

For Non CM ROM : http://d-h.st/6cX
[Nexus 4 Android Development] xanthrax:
it mounts fine !

thank you !
[Nexus 4 Android Development] Rohit02:
Cool man. :)
[Nexus 4 Android Development] xanthrax:
I think it can be added to the OP and you can announce it on my thread

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] justvarshney:
Thanks Buddy. I have added it to OP and will post it on your Thread as well. Thanks for testing :)
[Nexus 4 Android Development] nexuses:
This is what I was waiting for.

Thank you very much from deeeep of my heart,

But! Is it work with normal otg cable?
[Nexus 4 Android Development] bombadier:
Sorry old bean but with the nexus 4, external power HAS to be provided so get yourself a y USB cable to get OTG working

Tapatyping from my nexus
[Nexus 4 Android Development] xanthrax:
That's perfectly right!

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] justvarshney:
It's very easy to build otg cable. Just buy a regular otg cable and 1 normal usb cable with usb male adapter.. Could be a cable cut from old mouse or keyboard.

I will share a link with details and images to build this otg cable tomorrow (while I am at my laptop)
[Nexus 4 Android Development] :
what feature is this? I'm using this kernel and please have a look in this thread, http://xdaforums.com/showthread.php?p=49367562
[Nexus 4 Android Development] justvarshney:
Here is the Link : http://xdaforums.com/showthread.php?t=1828032
[Nexus 4 Android Development] lopez1_de:
Thanks. Used the CM11 version. Works great.
[Nexus 4 Android Development] :
OP can u have a look at this please? its from your kernel http://xdaforums.com/showthread.php?p=49367562
[Nexus 4 Android Development] xanthrax:
"Multicore power saving" option doesnt do hotplugging. It tries to run processes on a single core more often if set to "2"
[Nexus 4 Android Development] tsiftsism:
Hello,

i was using this kernel for the past two days (i haven't test the otg feature yet, since i'm waiting the arrival of the y cable from amazon) and since then whenever i was watching a Youtube video or others included in sites with MX Player, phone rebooted.

I switched back to hells-core b43 and since then i haven't experienced a single reboot.

Is it only me with CM11 rom installed having this issue?
[Nexus 4 Android Development] xanthrax:
works just fine here, get a last_kmsg

sent from my Darkside of Nexus 7 LTE
[Nexus 4 Android Development] tsiftsism:
Ok, i'll do it as soon as my y cable arrives and i flash the kernel again.

I have to type on the terminal:

su

cat /proc/last_kmsg > /mnt/sdcard/last_kmsg

right? Just after phone reboots from the shut down?
[Nexus 4 Android Development] xanthrax:
After reboot, check my third post on hellscore thread

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] youngaviator:
Could you recommend which roms r suitable for this kernel ?

Best regards,
[Nexus 4 Android Development] xanthrax:
no, I can't do that, actually the thing is that first I haven't tried all roms and second, wouldn't be fair, would be very subjective, all roms works fine

I'm personally using dirty unicorns for quite a while :)

sent from my Darkside of Nexus 7 LTE
[Nexus 4 Android Development] justvarshney:
Franco Kernel r203 with USB-OTG Patch @ http://xdaforums.com/showpost.php?p=49685797&postcount=1423
[Nexus 4 Android Development] Rohit02:
Hey cool man, that was a very pleasant surprise.. What about the matrix version? You had mentioned in our Whatsapp Group about that?

Too good!! :) Appreciate all your hard work bro. :good:
[Nexus 4 Android Development] justvarshney:
Checkout http://d-h.st/users/justvarshney
[Nexus 4 Android Development] justvarshney:
Updated Op. If anyone is interested in other kernels.
[Nexus 4 Android Development] goofball2k:
Matr1x kernel 12.5 already had USB OTG support, I tested it when it was first released to public and it worked. Did you do something different to it?
[Nexus 4 Android Development] WiwiPouPou:
Maybe you could help jolinard, the Jolie Kernel dev ? It's based on Semaphore one.

Envoyé depuis mon Nexus 4 avec Tapatalk 4
[Nexus 4 Android Development] tsiftsism:
Hello again,

finally my y-usb otg cable has arrived, so i tried to flash the hells-core modified kernel.

But since last time i used it and i mentioned the problem with reboots while i was watching videos, i went back to stock rom (i was on CM11).

So, the kernel i now need is the 1st one in the 1st post, not the CM, is that right?

I'm asking cause i'm getting into boot loops right after flashing it!!

Swyped from my Nexus 4 with Android KitKat using Tapatalk 4
[Nexus 4 Android Development] fozzie:
If you're not running CM then no, you don't want to install the CM version.
[Nexus 4 Android Development] tsiftsism:
Οk, i re-downloaded it from my pc and now the phone booted.

I'll put it in test in order to see if i have again the reboots, and i'll post as soon as i test the otg cable too.
[Nexus 4 Android Development] xanthrax:
The mistake is on your side pal, maybe you've been using faux or fku and you didn't wipe its data or uninstalled it

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] tsiftsism:
The problem seems to be a false .zip downloading from my phone. As i wrote before now that i downloaded from my pc, it's ok.

The kernel i've been using since summer is hells-core and now that i have the otg cable i want to try this one, since you have already written that you have tested it and it works.

And one other questoon btw. In order the phone to read a NTFS usb stick, you are using a 3rd party app like Paragon exFAT, NTFS & HFS+ or USB OTG Helper?
[Nexus 4 Android Development] xanthrax:
I haven't tried any ntfs files but one of those apps should work, I'm using stick mount by chainfire https://play.google.com/store/apps/details?id=eu.chainfire.stickmount

sent from my Darkside of Nexus 7 LTE
[Nexus 4 Android Development] tsiftsism:
Ok, almost two days with hells-core modded kernel and it seems that everything works fine. I met till now no reboot while i'm watching videos as it happened with the CM version and i managed to mount my 8Gb flash drive (NTFS system) by having installed Paragon ExFat, NTFS & HFS+ application from Market (with Chainfire's application i couldn't mount it).

Only question i have. Is it normal that when i remove the flash drive,

i get a persistent and non-dismissable notification titled "Removed USB storage" with the subtext "USB storage removed. Insert new media."?

The only way to dismiss this notification seems to be to reboot the phone.

With a little search in google, i found that there are lot of people with such notification issue.

Swyped from my Nexus 4 with Android KitKat using Tapatalk 4
[Nexus 4 Android Development] xanthrax:
Might be related to superuser, try superSU, should fix the problem

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] fozzie:
It happens here too (& posted previously). I'm on SuperSU.
[Nexus 4 Android Development] Hyflex:
Why can't I get org working, I've tried two different usb adapters neither worked.

Any ideas?

Sent from my Nexus 10
[Nexus 4 Android Development] fozzie:
Errrm, from the information provided I would suggest trying the phones in a vertical position?

(Seriously though, it could be absolutely anything!)
[Nexus 4 Android Development] Hyflex:
My nexus ten tablet manages to mount and use the ntfs formatted sdcard but doesn't mount the fat32 formatted sdcard.

My nexus doesn't mount either, I have xgeneisis kernel installed by AK and his thread says that it has otg in it.

Sent from my Nexus 4
[Nexus 4 Android Development] justvarshney:
The kernel May have OTG patch but it also require some ROM related Patch. Try any of the Kernel from post (relevant to ur ROM) and post the observations.
[Nexus 4 Android Development] Hyflex:
I'm on paranoid Android which ones do I pick?

Sent from my Nexus 4
[Nexus 4 Android Development] justvarshney:
I assume its a non-CM ROM, try http://d-h.st/vgM or http://d-h.st/6cX
[Nexus 4 Android Development] goofball2k:
It's a ROM issue. I get it on some ROM's and not on other ROM's. Depends on if the ROM has been modified to have "Mount USB storage" option natively in Settings -> Storage
[Nexus 4 Android Development] fozzie:
Could you expand a little i.e. what depends on that modification?
[Nexus 4 Android Development] stormwyrm:
I wonder if it's possible to make such a modification to the ROM using XPosed, so one can modify the ROM to have such an option if it is absent? Which ROMs lack from this feature, and which ones have it? I've been planning to move off stock Google 4.4.2 (which is bloated with so much crap I don't use) again, and now's a good time as any to do so. I didn't like CM, and would prefer something closer to stock but without G+ and all the other stuff that Google's trying to shove down our throats.

By the way, the "undismissable notification" can be dismissed, by forcibly disconnecting the USB OTG device, in which case it turns to a dismissable "USB storage unexpectedly removed" notification. Just make sure that any data you wrote to the USB storage device is written by properly unmounting it one time! I can live with this, given that my USB OTG rig is already rather baroque, consisting as it does of a traditional OTG cable, a USB Y cable and a male to female USB adapter, and an external battery. It looks like something out of a Rube Goldberg cartoon but it does get the job done. >_<

EDIT: Such an XPosed Framework module apparently exists. It's called 'UsbStorageUnmountter Be Gone' (sic). It seems to eliminate the irritating undismissable notification.
[Nexus 4 Android Development] TheQuarterMile:
Can you add HellsCore b44 kernel with OTG?
[Nexus 4 Android Development] justvarshney:
I will do that as soon as the final version is released and github is updated.
[Nexus 4 Android Development] WiwiPouPou:
[MENTION=1175139]justvarshney[/MENTION]

Could you please make a version of Jolie Kernel ? (Basically Sémaphore+Faux sound)

http://xdaforums.com/showthread.php?t=2547149

[KERNEL][4.4.X] Jolie Kernel for Mako (2.0.5)

OTG patch is applyied but it doesn't work.

Thx for your kindness and work !

Envoyé depuis mon Nexus 4 avec Tapatalk 4
[Nexus 4 Android Development] TheQuarterMile:
Can anyone post the b42 otg? It's not there on the server
[Nexus 4 Android Development] justvarshney:
Let me try. Will you be able to help in testing ?
[Nexus 4 Android Development] WiwiPouPou:
I am ! =]

Envoyé depuis mon Nexus 4 avec Tapatalk 4
[Nexus 4 Android Development] forcedairinduction:
Any chance of an AK genesis kernel?!?!? : )
[Nexus 4 Android Development] justvarshney:
I will have a look. Pls share the link of thread.
[Nexus 4 Android Development] shubhdeep99:
Little off-topic but useful to every Indian as well as you:

Hello OP as i know you are Indian and from Delhi and me too from Delhi and i want to try your otg powered kernel but i don't know where to buy Y-cable if you don't mind please suggest us so that we can also use these kernels.

TIA
[Nexus 4 Android Development] jsauder2:
the link in the OP to the OTG patch thread has a suggestion in it. check it out

http://xdaforums.com/showthread.php?p=38906753
[Nexus 4 Android Development] justvarshney:
Here is another Link on "how to prepare cable" - http://xdaforums.com/showthread.php?t=1828032
[Nexus 4 Android Development] Cameron581:
Does the otg have to be extrrnaly powered even if it's uses almost no energy?
[Nexus 4 Android Development] fozzie:
What do you reckon? Seriously! Do you think people would go through all the hassle of making up y-adapters and all that nonsense if it wasn't really needed? I mean c'mon, did you even think about that question before you posted it?
[Nexus 4 Android Development] xanthrax:
pal, even if you would drive 3 feet you still can't do it if you've been drinking more than a beer

sent from my Darkside of Nexus 7 LTE
[Nexus 4 Android Development] Rohit02:
Here you go. http://xdaforums.com/nexus-4/orig-development/kernel-ak-t2473454
[Nexus 4 Android Development] PigFire:
Would you mind to mod latest Bricked kernel please. Thanks
[Nexus 4 Android Development] yocasylver:
I have Purity ROM with Franko kernel and change with matr1x kernel and steel not working OTG on my dewice?Whats wrong,why is not working OTG?
[Nexus 4 Android Development] xanthrax:
Some roms needs otg support as well, try a play store application to mount your USB

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] yocasylver:
Thanks,which Rom u recomend with OTG suport?
[Nexus 4 Android Development] xanthrax:
I use dirty unicorns, no problems with otg and hellscore

sent from my Darkside of Nexus 4
[Nexus 4 Android Development] yocasylver:
Thanks,i'l try this this

---------- Post added at 10:11 PM ---------- Previous post was at 09:32 PM ----------

instal dirty unicorns 4.4.2 v6 and sreel not working:banghead::banghead::banghead:
[Nexus 4 Android Development] xanthrax:
which kernel ... sreel ? :D