yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] defconoi:
I just flashed Stock Kitkat KTU84, 77u-R1 works great on it as well as L, and CM11. Any issues are probably related to not reading instructions/rom issues, remntants of other kernels. I have not experienced any bugs, if you undervolt or overclock/underclock then you may see bugs, but keeping everything stock it seems to run fine, I would however like to see some bugs so I can fix them if their are any.
[Nexus 4 Original Android Development] Almayce:
Wow, is that some kind of developer fetish? :D I thought bugless kernels are the best :P
[Nexus 4 Original Android Development] defconoi:
lol, well I tend to introduce things that are so new that bugs happen, I want to get them fixed asap so you guys can have a good experience ;)
[Nexus 4 Original Android Development] x.0ni.x:
Thank you sir:highfive:
[Nexus 4 Original Android Development] WielebnyRay_PL:
Awesome work! with new 5.9 L-preview work pefrectly! Gpu Voltage control too!;) THANKS A LOT!

But can you explain me what mean 3 states of gpu voltage? Which one is for what gpu clock? Or its working otherwase than in cpu?
[Nexus 4 Original Android Development] a g bell:
Well that's just Frigg in weird flashed 77u R1 again to get some logs and it booted fine ??
[Nexus 4 Original Android Development] defconoi:
I noticed I couldnt UV the gpu much without stability issues, i'd recommend leaving that setting alone actually, but glade you like the Kernel.
[Nexus 4 Original Android Development] defconoi:
ya, I dunno why, people are reporting flashing kernel twice and everything being fine lol, I think its perhaps because first install removes mpdecision and thermald and other stuff and after that the rom disables it, but I just flashed a clean install of L and KTU84 and everything went fine for me. Glade it's working now for you ;)
[Nexus 4 Original Android Development] iskandar1023:
And i think my phone is crazy..
[Nexus 4 Original Android Development] defconoi:
Not possible lol, I think the GPU voltage interface needs to be fixed lol
[Nexus 4 Original Android Development] iskandar1023:
So the problem is ukm or the kernel?

Because i can do this with ak too lol [emoji2]
[Nexus 4 Original Android Development] manulemaboul:
Mine is happy with 930mv all the way :P
[Nexus 4 Original Android Development] defconoi:
Kernel Update

77u-R2:

Small update, to introduce a few more cpufreqs that are optimized for upstream io_is_busy cpu scheduling:

Added Darkness cpufreq

Added AluCard cpufreq

Optimized Darkness, Alucard, and Nightmare CPUFREQ's for io_is_busy and introduce these cpufreqs to use CPUFREQ_RELATION_C for frequency selection which selects the frequency with the minimum euclidean distance to target. In case of equal distance between 2 frequencies,it will select the greater freq.

Download:

https://www.androidfilehost.com/?w=files&flid=18189
[Nexus 4 Original Android Development] sykopompos:
You got a afh account finally??? Yay!!! :thumbup:
[Nexus 4 Original Android Development] manueltts:
He's becoming ready to N7 Unleashed kernel. Am I right [MENTION=1316336]defconoi[/MENTION]?
[Nexus 4 Original Android Development] jayfallen:
just had an sod using 77u+5.9, set governor as hyper and autosmp

I attached the log if [MENTION=1316336]defconoi[/MENTION] u wants to take a look, and a about 2 hours ago I got a Google dailer FC when trying to make call then the phone app kept unresponsive until a manual reboot, I'm not sure if it's in the log...just so you know
[Nexus 4 Original Android Development] defconoi:
oh yea, i got a new version of autosmp merged in that probably has some bugs, switch over to intelliplug for now, i'll revert them changes tomorrow ;)
[Nexus 4 Original Android Development] defconoi:
yes I will be, as long as my gf doesnt kill me for developing...
[Nexus 4 Original Android Development] defconoi:
I quickly compiled a CM11 kernel 77u-r3 to fix autosmp:

ion-storm - Update version to 77u-r3 to fix autosmp issues
ion-storm - fix freqs in autosmp
ion-storm - Revert "autosmp: hammerhead fixes, lcd hooks"
ion-storm - Revert "autosmp: suspend/resume and work fixes and improvements"
Pranav Vashi - cpufreq: interactive: Best of all worlds
Christopher R. Palmer - cpufreq: interactive: Disable idle notifier
Christopher R. Palmer - cpufreq: interactive: Add check_fast mode to raise freqs faster
myfluxi - cpufreq: interactive: Support variable frequency calculations
Pranav Vashi - cpufreq: interactive: Cleanup hardcoded values
Pranav Vashi - cpufreq: interactive: Do not consider changed limits
Christopher R. Palmer - cpufreq: interactive: Allow go_hispeed to be disabled
Pranav Vashi - Revert "cpufreq: interactive: Simplify frequency calculations"
myfluxi - cpufreq: interactive: Honor boosted state in several timer calculations
myfluxi - cpufreq: interactive: Consider changed min limit a frequency boost
myfluxi - cpufreq: interactive: Simplify frequency calculations
Badhri Jagan Sridharan - cpufreq: interactive: restructure CPUFREQ_GOV_LIMITS
Junjie Wu - cpufreq: interactive: Revert timer start modification

CM11:

https://www.androidfilehost.com/?fid=23622183712461183

AOSP/L:

https://www.androidfilehost.com/?fid=23622183712461185

If you got aosp/L it'll be another moment until its done compiling, then uploaded.
[Nexus 4 Original Android Development] defconoi:
I see that your modem actually crashed, this could be rom related as well, i'll investigate more tomorrow, goodnight.
[Nexus 4 Original Android Development] sykopompos:
My ROM is perfect, idk what you are talking bout.... :p
[Nexus 4 Original Android Development] jayfallen:
Thanks for your quick reply and action ;)

And to be specific, the modem version is 1.03, and this kind of modem crash as I remember never happened when using [MENTION=1050103]sykopompos[/MENTION] mako ports prior to 5.9

---------- Post added at 01:03 PM ---------- Previous post was at 12:58 PM ----------

:D well looks like you guys might gonna have a little chat about it hmm
[Nexus 4 Original Android Development] sykopompos:
We were already chatting earlier, I was conferring with my coconspirator about the one plus one and since he has been spending so much time in all the different kernels, if we could go about something differently
[Nexus 4 Original Android Development] defconoi:
I've seen that modem crash before personally, it happened to me on stock and ak kernel, I'll see if there is any modem driver patches available on codeaurora.
[Nexus 4 Original Android Development] sykopompos:
Is the modem looping and resetting?
[Nexus 4 Original Android Development] defconoi:
Looks like it was a hw reset from modem, it happened to me a few random times like a year ago, thought nothing of it and it never happened again.
[Nexus 4 Original Android Development] sykopompos:
That's what was happening on the n5 with custom kernels on official L and my new one, I believe. It looks extremely similar so I'm wondering if they are connected somehow. I would sure like to figure it out. Let me ask ramjet if he still has those dmesg or can reproduce it
[Nexus 4 Original Android Development] bart.found:
I had same problem, it's an ukm issue! Because voltages are expressed in microvolts for range.. And in mV for tunable values.. So synapse fails to set gpu voltages because they are out of range! I posted a modified ukm few pages ago.. https://db.tt/XbqXHNmT this fixed the issue for me
[Nexus 4 Original Android Development] user1408:
Anyone can give me advices on how do I customize the kernel, for best performance+battery? Running 5.9L on MAKO. ACPU PVS:4, SPEED BIN 0. CPU govs, speed, gpu, any any settings if you could share. Should I be touching voltages control, basically anything for setting it up, recommend me some values, or whatever is the best option. Thank you for reading and I hope an answer will be.
[Nexus 4 Original Android Development] Marq94:
Ok , meybe mounting but I can't see it in Explorer :/
[Nexus 4 Original Android Development] Mata99:
[MENTION=1316336]defconoi[/MENTION] what do you think that to compile the kernel with Ofast as the kernel of this rom

http://xdaforums.com/nexus-4/development/simpleaosp-t2818402
[Nexus 4 Original Android Development] user1408:
Please for an answer.
[Nexus 4 Original Android Development] gorilla p:
Try the latest balanced profile
[Nexus 4 Original Android Development] user1408:
That doesn't my answer. This balanced profile is set by default. I would like to lower the volts and reconfigure the kernel settings for the best possible. Read my above post again. Thanks for the answer anyway.
[Nexus 4 Original Android Development] pankajsidana:
I cant enable sweepto wake can anyone plz help ?
[Nexus 4 Original Android Development] iskandar1023:
I think s2w was removed [emoji15]
[Nexus 4 Original Android Development] pankajsidana:
Actually i m a new user to nexus 4 .. As i red in the op its written that s2w has been added
[Nexus 4 Original Android Development] defconoi:
Yes it was, that caused allot of stability issues so it was removed.
[Nexus 4 Original Android Development] pankajsidana:
Oh ok thank you :)
[Nexus 4 Original Android Development] gorilla p:
It does answer your question. If you've read a few pages you'd see that I upload synapse profiles for this kernel as well as AK and HD. Try the latest balanced profile. It fits what you're asking for.
[Nexus 4 Original Android Development] defconoi:
My kernel already uses Ofast optimization
[Nexus 4 Original Android Development] x.0ni.x:
I've tried everything i know to get this to boot with L 5.9 and only get it to get stuck on the bootscreen. Clean flash let it boot all the way. Then flash kernel nothing. Stuck bootscreen. Idk what im doing wrong:( this kernel seems amazing. Idk wtf the issue is. It's frustrating because i got the L v5 to flash fine with 72u and installed the kmc with synapses. No issue. But these past few versions are sticking at all.
[Nexus 4 Original Android Development] HTC_HDD:
Hey guys,

how to load a synapse profile? I have chosen the profile i want and press on the okay button. But the settings are not changing.
[Nexus 4 Original Android Development] manulemaboul:
It doesn't work for me either.
[Nexus 4 Original Android Development] gorilla p:
You're probably doing it incorrectly.

Save the profile to the synapse/saved profiles folder.

Open synapse, go to profiles, select the profile, click the √ and select restore profile.

Select restart synapse and when it opens, click the X, not the √.
[Nexus 4 Original Android Development] manulemaboul:
It's properly saved with the toast saying the file was created, and the saved profile do is in the profile list, but when I clic on restore I got this:
[Nexus 4 Original Android Development] gorilla p:
Read instructions in previous poat
[Nexus 4 Original Android Development] manulemaboul:
I've edited with what actually happens when I clic restore.
[Nexus 4 Original Android Development] deedeeceleb:
Since the last version my phone is even snappier, but my power button isn't responding very well. Sometimes I have to press it three times for the phone to sleep or wake up. It isn't hw related since it just came up after flashing the latest kernel. Gonna flash some older version to be sure
[Nexus 4 Original Android Development] gorilla p:
This is likely due to the voltages. Try upping your voltages by 25-50mv.

Also set your max screen off freq to 810mhz.

If that still doesn't work for some reason (it should) try raising the minimum freq to 162mhz.

---------- Post added at 12:25 PM ---------- Previous post was at 12:24 PM ----------

I see, that's strange, Have you flashed latest UKM 3.2?
[Nexus 4 Original Android Development] deedeeceleb:
Thanks for the fast response

I'm always using the same settings since the beginning (702 MHz screen off, - 100mV (faster))

//e

I slightly undervolted my gpu frequencies just by one click... Will try if it behaves normal with no gpu undervolting
[Nexus 4 Original Android Development] manulemaboul:
Yep, I got ukm 3.2.

Strange indeed.

---------- Post added at 07:41 PM ---------- Previous post was at 07:33 PM ----------

Oh, got it to work ! You have to select the profile, validate first, and then clic restore. Synapse FC but I got my settings when I relaunch it \o/
[Nexus 4 Original Android Development] gorilla p:
I checked and you are infact doing it incorrectly. Follow the isntructions a couple posts back.

This happens when you dont click the check-mark before clicking restore profile.

Once you do that, select restart synapse. Then when it reopens, click the X, not the check-mark.

Once it has reopened and you have clicked the X (not the check-mark), close synapse and open it again to see the updated settings.
[Nexus 4 Original Android Development] manulemaboul:
It was that indeed, I missed the check-mark part, my bad.
[Nexus 4 Original Android Development] txuki2005:
Testing voltages

Ok [MENTION=1316336]defconoi[/MENTION], i test today on multirom system voltages from HD. I used your R3 CM over CM11S M9 port from [MENTION=3532327]Sesme[/MENTION].

Remember my bin is slow.

I attached a zip with all screenshoots and configurations inside.

and.... All go fine!!! Really.

Remember also i don´t use higuer than normal frequencies. Only send you the configurations i edited.

:good:
[Nexus 4 Original Android Development] defconoi:
I won't be updating kernel for a bit, lost a 3tb Seagate drive today with 10+years of photos and development stuff as well as tons of other stuff for my plex. Ugh.
[Nexus 4 Original Android Development] manueltts:
[emoji20]
[Nexus 4 Original Android Development] defconoi:
crappy thing is it was full, good thing is though Google photos and google music have those collections, and github has my kernel stuff lol

[ 5234.451573] ata3.00: failed to IDENTIFY (I/O error, err_mask=0x100)
[ 5234.451588] ata3: hard resetting link
[ 5234.770454] ata3: SATA link down (SStatus 0 SControl 310)
[ 5234.770468] ata3: EH complete
[ 5297.331838] ata3: exception Emask 0x10 SAct 0x0 SErr 0x40d0002 action 0xe frozen
[ 5297.331850] ata3: irq_stat 0x00400040, connection status changed
[ 5297.331858] ata3: SError: { RecovComm PHYRdyChg CommWake 10B8B DevExch }

its done *cries*
[Nexus 4 Original Android Development] gorilla p:
Tried taking the drive out and connecting it directly via data cable, then booting from knoppix boot disc?

That's helped me get data off some bad disks. Spinrite has helped too.
[Nexus 4 Original Android Development] txuki2005:
sat to read this friend.

I hope you can save all your information.

Try HDAT2 and Seagate tool to try fix something, save if is possible your data and burn that **** drive, i only recomend WD for data save. All server´s drives are WD with i work all day :cool:

take care :fingers-crossed:

P.D: There is a trick I've used many times as a last resort. Put the hard drive in the colegador for a couple of hours. Get it out and connect it to your computer, if you clean the ice on the outside and all the moisture dries well, and try to have if you're lucky. No joke, usually works to quickly get all the important data.
[Nexus 4 Original Android Development] defconoi:
I'll try it.

Ya I'm a WD only guy myself, but this was a Christmas gift so I didn't complain lol. It happened when I was doing a git GC aggressive that took hours and thatsbwhen I noticed it failed, don't have money for a new drive so will have to wait to restore if I can when I have a drive to transfer it all to.
[Nexus 4 Original Android Development] sykopompos:
Yeah, definitely WD all the way. I got burned on a couple Seagate drives
[Nexus 4 Original Android Development] bitstra:
can you hear a "click--------click-------click" - noise when the harddrive spinning up after getting power? If so then PM me.

I had that physical error(read/write head hung) on some Seagate-drives - and I found a way to spin them up for saving data (serious).

(OMG 10 years of development - hope you will be cool and patient):cool:
[Nexus 4 Original Android Development] defconoi:
Pm sent, so how is the latest kernel running for you guys?
[Nexus 4 Original Android Development] defconoi:
I'll be moving on to flo this week. Will push out a few updates to fix remaining bugs and will work on keeping this kernel current regularly. This kernel is almost where i like it, but it needs much more current code for me to be happy, so expect lots more updates once flo is where mako is now.
[Nexus 4 Original Android Development] sykopompos:
Don't forget deb!!!! I'm just playing, it is the same kernel in both so either one can use your kernel
[Nexus 4 Original Android Development] manueltts:
Rock solid and fast. Only problem I had was when pushing too hard HYPER settings for battery. Running HYPER as is and all my personal settings (as always) everything smooth and stable.

Sent from Nexus 7.2 Flo using Tapatalk.

Edit: that on latest L 5.9, and Temasek's CM11
[Nexus 4 Original Android Development] a g bell:
Some light reading got this strange boot thing happen again reboot again it was fine https://www.dropbox.com/sh/0fwnh1lmtzg107p/AABrtmEGsjFHShAM-Rc_w0Mma?dl=0
[Nexus 4 Original Android Development] manulemaboul:
It sucks, nothing worst than loosing data :/.

Happened to me with a 1tb not so long time ago, I know your feel.
[Nexus 4 Original Android Development] iskandar1023:
Sad to hear that[emoji20] , my wd drive was fckd up too after i brought it traveling

It's not even got 1 year life lol poor me

And poor me i think i use bad grammar
[Nexus 4 Original Android Development] defconoi:
found & fixed this problem, will be in the next releas, thanks so much for providing good logs
[Nexus 4 Original Android Development] kalpik:
Sorry to hear about your data loss [MENTION=1316336]defconoi[/MENTION] hope you had backups!
[Nexus 4 Original Android Development] d9ny:
Hope you will get all your data soon, all here just wait all your new creations for this kernel...i really love this kernel..and thank for your work man..
[Nexus 4 Original Android Development] buru898:
Hopefully after you get the kernel to where you like it, you can work on F2FS support ?.

I first tried your kernel on the

L preview, and it sucks I can't have it on my daily rom. Almost makes me want to switch file systems... Almost.
[Nexus 4 Original Android Development] bitstra:
I answered your PM, [MENTION=1316336]defconoi[/MENTION]...

Your latest kernel runs GREAT here on L-Mako-breadcrumbs-n-Bunnies-5.9 !!!
[Nexus 4 Original Android Development] sykopompos:
Bet you are thrilled about him going to flo next. Threads are going up soon in their device forums. [MENTION=1316336]defconoi[/MENTION] I will reserve a post for you on flo and deb or at least a link to your thread or info about it till a moderator can give you the post when you get your kernel together for them
[Nexus 4 Original Android Development] bitstra:
No - I was giving him a serious HowTo - for restore his lost data from the f***** Seagate HD - I had a look in to a data recovery service labor last year - so i have some insights to Seagate's physics...

Hope, [MENTION=1316336]defconoi[/MENTION] will trust me...
[Nexus 4 Original Android Development] sykopompos:
I know that you were, I was just commenting about other things since you are both here
[Nexus 4 Original Android Development] bitstra:
Thank you! - For not giving it up or at least took only short break here - maybe you have the right gf beside you, haven't you?:good:
[Nexus 4 Original Android Development] pascuals:
without trying the latest version, 2 or 3 above give me wifi error. I can connect, but the navigation is very slow or does not work (Rom Mahdi in its latest version). With another kernel (hells doctor) works perfectly.

+Info: 1.03 baseband
[Nexus 4 Original Android Development] groovepeppy:
77-r4 hangs on Google bootsplash here sir
[Nexus 4 Original Android Development] jithuelad:
Hi defconoi, I am using Android L together with defcon-77u-unleashed-AnyKernel_mako.zip. So far so good. Only problem i felt (I don't even know it is a problem). Feels like phone is taking too much time to charge. Usually with my AC charger it take about 2.3 hrs to reach 100% from 10%. This time with the mentioned Kernel it is been connected to the charger more than 3 hrs now and still 80% only.
[Nexus 4 Original Android Development] Almayce:
Yo, I would like to know how to set up these settings. I think it belongs to dynamic hotplug and it seems like everything is disabled.

I wanted to try each hotplug and decide what works the best. If someone could put some light in this that'd be great.
[Nexus 4 Original Android Development] manulemaboul:
CPU boost driver works with intelliplug, I'm using it, boosting at 1.2 for 150ms on inputs, with 2 cores boosted instead of 3 in intelliplug settings, gives me great results.

I guess it should work with the other hotplugs as well.
[Nexus 4 Original Android Development] C.T.Richter:
Same thing here.
[Nexus 4 Original Android Development] Roye_V:
Any recommended settings for dummies? ?
[Nexus 4 Original Android Development] manueltts:
Did you cleaned synapse data before flashing, and (re)flashed rom/ukm/kernel in that order?

If so, try un installing UKM and boot. Then go to /system/etc/init.d/ and erase any defcon or UKM script there, clean synapse data again, and reflash.

Sent from Nexus 7.2 Flo using Tapatalk.

---------- Post added at 10:35 AM ---------- Previous post was at 10:32 AM ----------

Default settings are pretty good. Or you want some specific output (performance or battery). If you don't, maybe [MENTION=4362467]gorilla p[/MENTION]'s balanced profile would be good to try.

Cheers!

Sent from Nexus 7.2 Flo using Tapatalk.
[Nexus 4 Original Android Development] defconoi:
Just an FYI guys i see allot more people using 77u than 77u-r4, whenever u see a R to me that means revision 4 or 4th version of 77u, or grab latest by date/time.
[Nexus 4 Original Android Development] iskandar1023:
+1

77u-r4 running great here, everything seems getting better [emoji16] [emoji106]
[Nexus 4 Original Android Development] frikakwa:
Hi [MENTION=1316336]defconoi[/MENTION]: stuck on Google logo when rebooting after flashing 77r4. Back to 76 for me! ;)

Edit: forgot to tell that I'm on N4 - Android L "Bread Bunnies"... so flashed AOSP 77r4! ;)
[Nexus 4 Original Android Development] criminalzen:
I tried various ways to get 74u r4 to boot with no success... never had a problem with any of your kernels before, on asop or cm or L. Cannot get past google screen on boot. Strange it is.. 74u r3 boots fine... no biggie .. I will use 74 r3 which is fine for me...

and I am using temask (sp) and use art only..
[Nexus 4 Original Android Development] The Tox:
Guys , did you tried to flash stock kernel first , boot , then flash 77r4 ?

sent from my Nexus 4
[Nexus 4 Original Android Development] criminalzen:
yes .. to follow the advice of those who feel it is necessary when going from an 77u r3 to 77u r4 anyikernel version .. and to maintain the helpfulness of the thread .. however from OP

again .. no biggie.. I am happy with 77u :)
[Nexus 4 Original Android Development] defconoi:
I must have flashed a dozen ROMs on multirom to test compatibility, I know this kernel works on everything accept n5 experience and older roms using kitkat 4.4.3. These boot issues are because people are flashing this kernel over other custom kernels and not a stock ROM kernel. Also you cannot flash one of my L ramdisk versions and flash any kernel over it without issues, you must reinstall ROM then use any kernel for now on. What I mean by stock is: the kernel that came with the ROM like cm11 or L kernel that came with the ROM. If it don't work 99% of the time you did something wrong.
[Nexus 4 Original Android Development] WielebnyRay_PL:
For mi this option doesnt work too

Can you fix it?
[Nexus 4 Original Android Development] opee:
77r4 is not booting!I am on latest L...flash 77 again and everything is fine...
[Nexus 4 Original Android Development] defconoi:
I'm on very latest L, and 77-R4 is fine, flash rom then kernel again, and delete all synapse and other kernel settings
[Nexus 4 Original Android Development] The Tox:
Everything is running good here , great work

sent from my Nexus 4