yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] iRefleX202:
Nope but I will.
[Nexus 4 Original Android Development] playya:
Hahaha 2 days later and you still did not try...Lol come on man
[Nexus 4 Original Android Development] iRefleX202:
Yup forgot it :D you could also try it :D
[Nexus 4 Original Android Development] playya:
Who said I didnt .... I am not the one who asked first though... Lol
[Nexus 4 Original Android Development] iRefleX202:
Oh didn't know that how was it?
[Nexus 4 Original Android Development] mclisme:
I have a Y cable and I have used Usb OTG on this phone in the past using Ziddey's modified kernel but I can't get it to work with Matr1x. I thought Matr1x had all that was necessary for usb OTG to work just by flashing it but apparently I am missing something as nothing happens when I connect my usb...
[Nexus 4 Original Android Development] YourTheBest:
Hi,

Aftr flashing the Kernel, it's still load that Google Logo.

What do I wrong?

Mahdi ROM.

And latest kernel the normale one, not the Overclocked.
[Nexus 4 Original Android Development] HiM@L:
are u using ART?

if not flash stock kernel first
[Nexus 4 Original Android Development] Curl3w:
guys, i usually put my phone in airplane mode when i go to sleep. With this kernel (Stock Rom + xposed) i tipically lose 6-7% of battery in that period, i think is to much comparing with the stock kernel i was before (2-3%). is it normal, lose so "much" battery?
[Nexus 4 Original Android Development] mclisme:
OP:

- USB OTG "usb-host" mode support (by ziddey)

What does this mean exactly? What are the additional steps we need to take in order for USB OTG to work because simply flashing the kernel doesn't do it. As opposed to the patched kernels from http://xdaforums.com/nexus-4/orig-development/usb-otg-externally-powered-usb-otg-t2181820 that do work right after flashing.

But I, and supposedly other people as well, would like to be able to use a more recent kernel like Matr1x with USB OTG.
[Nexus 4 Original Android Development] playya:
http://xdaforums.com/nexus-4/development/kernel-patch-multiple-kernels-usb-t2586524
[Nexus 4 Original Android Development] mclisme:
I was already aware of this link but as you can see the latest Matr1x there is v12.5, correct me if I'm wrong. As I said we would probably all like to be using recent kernels and when I read that a kernel supports USB OTG I expect it will work right after flashing just like the kernels on that page or on the page in my previous message.

What kind of "USB OTG" support is this if you need to flash another kernel (be it older or patched but still, a different one) for the USB OTG to work? :eek:
[Nexus 4 Original Android Development] syedtahir16:
Are you using an OTG Y cable and it is still failing?

http://xdaforums.com/nexus-4/orig-development/usb-otg-externally-powered-usb-otg-t2181820
[Nexus 4 Original Android Development] UnitedOceanic:
Okay following is what you need to know. this works with flash drives and hard drives however if the hard drive is big it will take a while to mount the drive.

#1 you need a kernel that supports OTG (we have that here)

#2 you will need a OTG Y-cable (we need a power source)

#3 a initd scrip or a kernel app to turn OTG on (not neeeded for Matr1x kernel)

#4 you need a ROM that has a mount point for USB Drives or a patch. A patch is hard to come by these days. I think there are apps that will help mount drives (one app is stickmount not sure how to use it though) but if the ROM has the mountpoin the procedure is very neat.

#5 a few files

Now the solutions:

#1 the kernel in this thread

#2 amazon or eBay

#3 there are many solutions here for example trickster kernel mod --> not needed for Matr1x kernel

#4 I suggest Mahdi rom, I am very happy with it and the Dev added this feature.

#5 info: http://xdaforums.com/showpost.php?p=53072479

Files to flash: http://d-h.st/4Nj (this will enable automount for any flash drive for Mahdi rom)

Once you have this setup you can connect flash drives to your nexus 4 and copy and open files from the drive.

Best way to connect is to connect the drive to OTG y cable then connect the power source to the OTG y cable and finally the OTG y cable to your nexus 4.
[Nexus 4 Original Android Development] ash12141:
I am facing a problem with matrix 14 cm-gpuc kernel along with liquide smooth v 3.1 offical build...my device restarting randomly..& overheating also..please help..i tried the rom without any kernel then it's ok..no problem..but when i am using any matrix kernel i am facing the same problem..need help please..
[Nexus 4 Original Android Development] Teo128:
:good:

I was wondering how to mount a USB drive, before I was using a Franco Kernel modded with the OTG patch and worked automatically.... I tought it would be the same with Mtr1x Kernel but I was wrong. I tried Stick Mount(root) and works but this app requires to manually mount the drive and open the correct folder with a file explorer (es: root browser) I will test other similar apps, have you any suggestions for a more pratical app?
[Nexus 4 Original Android Development] mclisme:
First of all thanks for your reply. Let me just state the following as it may help understanding my problem:

1) I have a Y-cable

2) I have a usb flash that works fine, formatted in FAT32.

3) I am running latest Purity rom

Now, with the above setup, when I flash any USB OTG patched kernel like the ones found here: http://xdaforums.com/nexus-4/orig-development/usb-otg-externally-powered-usb-otg-t2181820 I can use my flash for playing music from it and supposedly other functions although playing music is my main interest. I don't even need to use a special app like Stickmount, the flash drive mounts and pops up by itself when I connect it (to the phone and to the power supply) .

Ok then why I bother? The problem is, they are rather old kernels, they don't have a lot of features (say DT2W for example) and I like Matr1x.... But! when I flash Matr1x and attach the same usb flash that was previously working fine....... nothing.

So, same phone, same rom, same Y-cable, same flash but different kernel and USB OTG just doesn't work...
[Nexus 4 Original Android Development] UnitedOceanic:
OK, I need to explain you a bit how OTG works on our device.

There are 3 things working together on the software side.

First is the basic kernel support

Second is the mountmoint inside the storage.XML inside the framework-res.apk

Third is a bunch of files and added lines inside some other system files.

The zip files in the thread you linked does all of the above.

Now the kernels in this thread does the first thing, the file I linked does the third. The big problem is the second part. As I mentioned before I asked Mahdi to include the changes in his ROM (a few lines in the ROM code). The problem is that a few months ago some changes in the AOSP and CM source code broke the patch ziddey wrote a long time ago.

Ziddeys all in one zip is truly amazing. It decompiles the framework-res.apk, edits the storage.XML and recompiles the apk. Flashes the kernel and adds the exta files and modifies the other. All this is done while you flash the zip in the recovery. I tried to edit the code so it works again but this was way beyond my commandline and android skills.

So to make the Matr1x kernel work like the old "ziddey Franco " on purity rom you would need to edit the storage.xml. this is unfortunately not something that can be done without some good developer skills. I would suggest you'll ask Purity's Dev to add the changes. Or give Mahdi ROM a try. (I came from Purity too :))
[Nexus 4 Original Android Development] Teo128:
I had the same problem when I switched from Franco to Matr1x...

Install stickmount(root) apk

Connect your usb drive

Open Stickmount and press "mount"

The app will mount your USB drive as a folder in your phone storage, for me its /storage/sdcard0/usbstorage

You need an app or player that can explore folders in your Nexus 4

I'm still looking for a more automatic solution....
[Nexus 4 Original Android Development] mclisme:
Thank you both, I installed Stickmount and it has worked! I granted permission to be automatically mounted with Stickmount every time I connect the flash and added the new directory to MortPlayer so it's almost as easy as with the old patched kernel's I'd say. :good:
[Nexus 4 Original Android Development] Teo128:
How do you make stick mount automatically mount the usb drive? I don't have the option and I have to do it manually every time...
[Nexus 4 Original Android Development] mclisme:
First time I connected the flash, after having installed Stickmount, I was asked a question like "Use Stickmount to mount the flash drive?" with an option of "Always do this" below, so I just checked that and now it automatically mounts it whenever I connect it and I can launch my music player and contnue playing music from the flash straight away. I am using Purity rom if that makes any difference. Maybe it includes some stuff allowing for this automation similar to what UnitedOceanic explained a few posts above?
[Nexus 4 Original Android Development] Teo128:
When I first used the app it just asked for root permission... as there is no option in the app I guess it depends on the ROM as you say. Anyways I'm still happy I can use a USB memory to store or transfer files.
[Nexus 4 Original Android Development] pesie:
Hi.

V.14 is ok for 4.4.2?

Thank
[Nexus 4 Original Android Development] pesie:
Thank you.

So I've to use v13.5?
[Nexus 4 Original Android Development] badaas:
Yes

/sent from a toilet in a galaxy far far away..
[Nexus 4 Original Android Development] pesie:
Last question... how can I use to manage this kernel? To change settings
[Nexus 4 Original Android Development] dcop7:
Use trickster :)

https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod&hl=en
[Nexus 4 Original Android Development] pesie:
Also tweaker kernel is ok?
[Nexus 4 Original Android Development] dcop7:
This one?

https://play.google.com/store/apps/details?id=com.dsht.kerneltweaker&hl=en

Yeah, sure :)
[Nexus 4 Original Android Development] pesie:
Ok, thank you very very much
[Nexus 4 Original Android Development] Lwr0042:
Hi, do I have to create a backup? I've got stock 4.4.4 and this is my first change of kernel. I'm a little nervous:cyclops:
[Nexus 4 Original Android Development] playya:
Go into recovery and choose backup. What recovery do you have, also there are video tutorials all over the web.

Its very simple so no need to be worried
[Nexus 4 Original Android Development] BobWalker:
Since you need to boot to recovery in order to flash the kernel, you might as well make a backup anyway for your own peace of mind. Flashing Matrix kernel will not cause you to lose any program or ROM settings or data though. Just be sure to download the non CM version of the kernel Matr1x-cfs_v14.0.zip (or Matr1x-cfs_v14.0-gpuoc.zip if you need to overclock the GPU).
[Nexus 4 Original Android Development] Lwr0042:
I've got twrp. I saw that tutorial but i hadnt notice that do i have to create a backup. But if It is sample i'll try it

---------- Post added at 10:05 PM ---------- Previous post was at 09:56 PM ----------

And another question, do i have to do wipe? PS i cant edit with tapatalk
[Nexus 4 Original Android Development] dcop7:
You don't need to wipe anything

Just flash and enjoy :)
[Nexus 4 Original Android Development] Lwr0042:
Ok, thanks guys. Tommorrow i will create a backup by Nexus root toolkit and go flash :) i hope i will have more than 4,5h sot
[Nexus 4 Original Android Development] T-luvR:
Deleted
[Nexus 4 Original Android Development] Lwr0042:
I installed this kernel and everything's fine but I don't know how can I turn on double 2 wake up function. I downloaded trickster mod from Google Play but there's only one touch option, so it's very unpractical. And do you recommenden any change of options in trickster or can I use original set?
[Nexus 4 Original Android Development] Rembi:
Kernel works with L?
[Nexus 4 Original Android Development] blusydays:
Use Synapse + UKM script, you can find the download links here : http://xdaforums.com/nexus-4/general/zip-synapse-script-universal-kernel-t2736986
[Nexus 4 Original Android Development] Lwr0042:
Ok, i'll try it but before can you tell me how much baterry d2w using?
[Nexus 4 Original Android Development] blusydays:
Honestly I didn't use it for a long time, only a couple of days, so I can't tell you. You should try and see for yourself.
[Nexus 4 Original Android Development] Lwr0042:
Thanks, i'll check it. Also i want to try slide to wake
[Nexus 4 Original Android Development] core720:
Sorry, what is the fix for use matrix 13.5 in 4.4.4
[Nexus 4 Original Android Development] playya:
Is 14.0 an issue with 4.4.4.? Not sure of the fix you are referring too.

---------- Post added at 09:13 AM ---------- Previous post was at 09:03 AM ----------

Ok after reading that you were going to use a toolkit to make a backup I first would suggest before flashing or doing anything else you read up on your phone, recoveries and roms. This is not meant to be disrespectful towards you but I do not want to see you mess up your phone. Making a backup is pretty straight forward and if this is an issue then just spend some alone time with your phone learning how to do everything the right way.

Now the next step is in these forums questions are usually repeated quite frequently so you should always do an extensive Google search and a search within this thread. The question in reference to dt2w has been asked and answered in here. My suggestion since Math based his dt2w feature off of Semaphore is simply download his app. Other options can be found in here and throughout xda.

I would recommend you trying all the governors like interactive, wheatley etc... See what works best for YOU

Battery differs for every single person in here. Some use widgets some are only on wifi some strictly 3g/4g/LTE. This is not a question anyone in here can answer on your behalf. Again try it both ways and determine with your use which is better. Or hopefully you can get lucky like me and get a OnePlus 1 and not worry about battery life ever again.... :good:

anything else you need PM me

---------- Post added at 09:14 AM ---------- Previous post was at 09:13 AM ----------

did you try it?
[Nexus 4 Original Android Development] core720:
Yes, work 13.5 in 4.4.4. 13.5+wifi fix= 4.4.4
[Nexus 4 Original Android Development] playya:
sorry not sure if you are asking me a question or answered yourself but I simply put in wifi fix in the thread search here... http://xdaforums.com/search.php?searchid=292590519

I then found this here http://xdaforums.com/search.php?searchid=292590519 - You let me know with a little more clarity if possible :D
[Nexus 4 Original Android Development] Dan1234567890:
Does someone use BLX and does it function properly?

I'm using it, but if I leave phone overnight on charger, regularly in the morning battery is full on 100%, but if I disconnect the charger in few hours after it reached BLX value, then it is ok... Is it my set up, or general problem?

Thanks [emoji1]

Edit: I have checked sys/class/mics/battery life extender / charging limit value, and it is set up correctly, at 90. Strange that nobody else reported problems with BLX?
[Nexus 4 Original Android Development] blessedsword:
MIUI 4.7.18 base 4.4.2 can't connect the internet :(
[Nexus 4 Original Android Development] smile_hh:
Thank you very much!!!!!!!!!!!!!!! How can I find your G +?
[Nexus 4 Original Android Development] ilyadan:
I actually did report it in the past. Thanks for the solution, I will try it today.
[Nexus 4 Original Android Development] Dan1234567890:
Thx for the info and sorry for the confusion; this is not the solution, it is just confirmation that trickster set up BLX correctly as it should, and even it is set correctly, it still doesn't work as it should...
[Nexus 4 Original Android Development] ruzkay:
guys anyone can help me with something? anyone can tell me if i open the kernel zip in what file are the colors?
[Nexus 4 Original Android Development] dcop7:
The zip in the kernel you will find the boot.img. If you want to see the files within, you have to unpack the kernel.

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

---------- Post added at 03:31 PM ---------- Previous post was at 03:29 PM ----------

Here are some details how to calibrate mako:

http://xdaforums.com/nexus-4/help/calibrate-mako-3rdaug-kernels-compiled-t2136295
[Nexus 4 Original Android Development] ruzkay:
thanks mate
[Nexus 4 Original Android Development] Sir_gpm:
Any good setup for matrix to hace good balance between batt and perform.

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Original Android Development] dcop7:
There is a thank you button for this :)
[Nexus 4 Original Android Development] core720:
sorry, which is the best for battery 13.5 vs 14???
[Nexus 4 Original Android Development] nickslg:
I'm using v.14 with liquid smooth ROM 3.2 nightlies here's my battery life
[Nexus 4 Original Android Development] snak3ater:
V10.5 got the best for battery life..I am using it now in 4.3 (JSS15J) :silly:

Do you want to try it?
[Nexus 4 Original Android Development] razorsbk:
So the USB OTG works only with Y-cable ?
[Nexus 4 Original Android Development] TheNerd:]:
You're using 4.3?! 4.3 was a mess with all the jss jwr crap.... But you're not even using your own ROM!?
[Nexus 4 Original Android Development] snak3ater:
Just kidding :D

I am currently on 4.4.4...

No offense to anyone..I was actually tired of these posts asking about battery life..I don't understand this thing...Why asking about battery life..Why not just use the latest kernel & enjoy...
[Nexus 4 Original Android Development] TheNerd:]:
Before I actually started to use the phone (lol) I got phenomenal battery with this kernel (7.5 hrs sot (2 cores max (under clocked to 1026 MHz))) but then I started using social media , Netflix, messaging apps etc and everything just wasn't the same battery wise. I tried going back to the above setup but I missed the performance and absolute monster potential of this device. In short just enjoy the kernel and the device . As long as the battery isn't dead when I need it I'm fine. I won't sacrifice the experience to have a little bit more battery.
[Nexus 4 Original Android Development] droidius:
Is there any temperature throttling issues on v14? Using stock 4.4.4 + Gravity box on N4, phone heats up like crazy! 73 degree centigrade when I play clash of Clans after 2 mins it heats up like crazy. Any help /suggestions will be great. Thank you.
[Nexus 4 Original Android Development] playya:
Dont play Clash of clans? LOL

Google has lots of things you can try just got to search but try it first without all the added stuff to see if its the kernel... remove xposed I mean. Also you can try undervolting, changing governors, overclocking gpu, changing governors.

I mean honestly you are not the first with this issue and damn sure wont be the last so just either try everything or search a little for others with your issue and what they did... Good Luck!
[Nexus 4 Original Android Development] droidius:
Yeah tried undervolting changing governers etc, seems to heat up very fast. Switched to stock kernel and doesn't act up. Damn want to keep using Matr1x but the throttling keeps restarting my phone.

Lol stop playing CoC I might as well just stop using my phone [emoji1]
[Nexus 4 Original Android Development] playya:
bump! just cuz
[Nexus 4 Original Android Development] blusydays:
No more update for this kernel ? the dev stopped maintaining it ?
[Nexus 4 Original Android Development] ensboarder:
Why an update ? Everything is good
[Nexus 4 Original Android Development] playya:
nah he is still here reading what you're post.... LOL

updates dont make it better all the time and not everything needs to be updated... Jus Sayin
[Nexus 4 Original Android Development] fa2f:
This kernel triples my battery life! My search for the ultimate kernel has come to an end. Thank you devs!
[Nexus 4 Original Android Development] iStayHigh:
I use this kernel on that android L port and it gives me great battery life. ?

Nexus⁴ cooking on L bunny stew kool-aid with a side of Matr1x kernel
[Nexus 4 Original Android Development] nimbold:
Yeah it truly extends battery life for me like others. Don't know what Dev did to our phones :D
[Nexus 4 Original Android Development] amar1548:
Is there a way we can enable touch controls on this kernel??
[Nexus 4 Original Android Development] Rohit02:
Trickster app to enable such options
[Nexus 4 Original Android Development] Curl3w:
or universal kernel manager (UKM) + synapse : http://xdaforums.com/android/software/zip-synapse-script-universal-kernel-t2736986#post54346632
[Nexus 4 Original Android Development] badaas:
Make file d2tw

Paste in it:

#!/system/bin/sh

echo "1" > /sys/devices/virtual/input/lge_touch/dt_wake_enabled

Move it to etc/init.d/

/sent from a toilet in a galaxy far far away..
[Nexus 4 Original Android Development] elzafir:
Hi guys, I tried searching but can't find any info on the matter.

I use the latest PAC Rom and currently using Hells Core for CM11.

I really, really, really want to try Matr1x.

Does Matr1x v14 support CM11-based ROMs?
[Nexus 4 Original Android Development] HiM@L:
check the download site.
[Nexus 4 Original Android Development] elzafir:
What do you mean check the download site?

Anybody knows whether matrix works with cm11?
[Nexus 4 Original Android Development] Almayce:
It means check the download site - go to downloads and you'll see that there is a cm version of matrix.
[Nexus 4 Original Android Development] derking1:
Which rom are you using? What's the best capable rom to be paired up with this awesome kernel?
[Nexus 4 Original Android Development] fa2f:
I'm using PA rom but I think this is yet to be the best combination. I heard somebody has even greater battery life with Purity rom. Your mileage may vary though.
[Nexus 4 Original Android Development] nimbold:
my record with this kernel in combination with C-Rom. 16 hours of usage I guess. WiFi on all the time. Doing social networks and browsing net.

Thanks goes to Dev(s) :)

P. S: underclocked GPU to 320 and CPU to 1.18ghz (Wheatley governor)
[Nexus 4 Original Android Development] derking1:
Which govenor do you use and stuff? and I'll try em. Thanks!
[Nexus 4 Original Android Development] playya:
Yoooooooooooooooooo I see this kernel is still holding it down for you guys and nice to see some new people discovering one of the best battery saving kernels for the N4 :good:
[Nexus 4 Original Android Development] gregorypeg1000:
Love this kernel but i have a stupid problem.The screen delays to wake up when someone is calling me.The phone starts ringing and the screen goes on after 2 seconds,maybe 3.Is there a fix for this?
[Nexus 4 Original Android Development] Curl3w:
same problem here!
[Nexus 4 Original Android Development] simmac:
Same problem here.

And my logcat is getting spammed by

"E/PowerHAL( 7590): touch_boost: failed to send: No such file or directory"

Please fix this [MENTION=2677519]mathkid95[/MENTION], I like your kernel!
[Nexus 4 Original Android Development] nimbold:
I thought it's my ROM issue! You guys sure it's kernel problem? Mine is C-Rom.
[Nexus 4 Original Android Development] simmac:
I'm using stock 4.4.4.
[Nexus 4 Original Android Development] gregorypeg1000:
I use latest Mahdi
[Nexus 4 Original Android Development] fa2f:
I use ondemand and underclock CPU to 1350 Mhz (using Trickster MOD). CPU settings really do not matter much for me -- what kills the battery is location services. When I'm staying at home battery drain like 1% an hour while I'm moving it's like 10%. If you experience the same thing, you may want to disable NlpCollectorWakeLock or maybe even Google Now.

Cheers!
[Nexus 4 Original Android Development] Curl3w:
latest Purity ROM
[Nexus 4 Original Android Development] dcop7:
Can anyone post a screen shot or the values of the voltage of the cpu frequency? Thank you :)
[Nexus 4 Original Android Development] simmac:
That's the voltage I optimized by myself for myself, trying to stay very stable (now running 10days since reboot or crash), but also battery efficient: