yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] apophis9283:
You can ask away. This is my first kernel, Im learning as I go. Just so you understand lol

I always welcome people to comntact me through hangouts (steaven.android@gmail.com)

If I dont respond right away, I will get to you as soon as I can
[Nexus 6 Android Development] klabit87:
Thanks! Just messaged you.

Whenever you have time
[Nexus 6 Android Development] apophis9283:
How did you message me? Ive checked everything, no messages
[Nexus 6 Android Development] klabit87:
Sorry I sent an invite on hangouts. It's easier for me while I'm mobile.
[Nexus 6 Android Development] apophis9283:
Just spent the last hour fixing/updating/adding governors. Now onto hotplugs
[Nexus 6 Android Development] jayk32:
New user

Hello [MENTION=4392154]apophis9283[/MENTION]

Been looking at this kernel for a good while and just flashed it yesterday. :highfive: I'm also currently using it with AICP. :laugh: And i'm already loving it!! Smooth as butter. :cool:

One question what kernel App are you using, or the same applies to anyone else??

Cheers guys !! :good:
[Nexus 6 Android Development] apophis9283:
I use Synapse (Doesnt hold settings after a reboot) which requires you to flash the UKM in the OP. A lot of people use kernel auditor but it doesnt have as many options
[Nexus 6 Android Development] str8str:
Getting a few random reboots on latest with aicp. Went back to test version and it's fine.

Straight Shooter
[Nexus 6 Android Development] apophis9283:
FYI, I have a lot going on with governors. Some fixed, changed or new.

Edit: you guys will have plenty of governors to try out next build
[Nexus 6 Android Development] str8str:
I can send you a log of the reboot later if you want but I figures I'd wait and see how next build acts

Straight Shooter
[Nexus 6 Android Development] apophis9283:
Im running my AICP build, running the old kernel no reboots. I dont know if Ill release tonight or not. I just think you will enjoy new governors to play with

Edit: if this all works out ill release tonight.,
[Nexus 6 Android Development] :
Running this with Pure Nexus and I just wanted to say thanks. (spam) Very nice work. Thank you for your contributions.
[Nexus 6 Android Development] apophis9283:
Not a problem glad you like it. I just updated to V-2.6.
[Nexus 6 Android Development] apophis9283:
I brought back ELECTRODEMAND and brought in LIONFISH governors. Im gonna sit down tomorrow and axe the governors that dont fit or are too similar to others
[Nexus 6 Android Development] ohad129:
Can you explain those kernel skills?
[Nexus 6 Android Development] apophis9283:
No skills here. I just add stuff close my eyes and pray it works

lionfish governor seems really nice
[Nexus 6 Android Development] str8str:
Really liking interactive pro

Straight Shooter
[Nexus 6 Android Development] apophis9283:
I have more cpu governor changes coming
[Nexus 6 Android Development] miguelito18:
[MENTION=4392154]apophis9283[/MENTION] Is lionfish governor in 2.6build?
[Nexus 6 Android Development] apophis9283:
No, but I can build real quick and reupload version 2.6 give me 15
[Nexus 6 Android Development] apophis9283:
I have re-uploaded Version-2.6. I removed some governors and added lionfish governor. Enjoy

Ive worked on this all day. taking a day or two off.
[Nexus 6 Android Development] miguelito18:
Wow, thanks a lot!
[Nexus 6 Android Development] apophis9283:
Not a problem, have a good night

Edit: when I feel up to it, Ill update the OP. Its way out of date
[Nexus 6 Android Development] miguelito18:
[MENTION=4392154]apophis9283[/MENTION] thanks, you too :)
[Nexus 6 Android Development] 875295391:
I like blue-active ,lol！
[Nexus 6 Android Development] str8str:
Sure sure, you always say that then boom an update. It's OK I'm not complaining. Lol

Straight Shooter
[Nexus 6 Android Development] apophis9283:
Yeah, I have an issue with android. It actually comes from when I had my first android phone. I was a crack flasher. I try to update often as long as its relevant. Not just putting an update out with one or two commits.

Ive already made several changes. Im just gonna keep going for a day or two then release
[Nexus 6 Android Development] Lucas_Maximiliano:
Thanks 4 your work. Is it based on last MMB29S build?
[Nexus 6 Android Development] HueyT:
It'll work fine on MMB29x (K/S/T)
[Nexus 6 Android Development] apophis9283:
You live in new albany? I live 10 minutes from you. Im from jeffersonville, live in pekin

Edit: pretty sure you all will like the next build
[Nexus 6 Android Development] HueyT:
Yep. Small world :good:
[Nexus 6 Android Development] apophis9283:
For everyone's info. I updated the OP and yes I understand there are certain things in the OP not in the kernel. Instead of updating it again after the next release I just added what I have so far to the OP.
[Nexus 6 Android Development] apophis9283:
Anyone in here good with conky?
[Nexus 6 Android Development] klabit87:
I use it but not enough to know what I'm doing lol

I normally look at scripts online and piece it together.

been a while since I've looked though
[Nexus 6 Android Development] apophis9283:
I have everything going except for cpu tempts. Ive tried several options with no luck
[Nexus 6 Android Development] klabit87:
I will message you for further discussion.
[Nexus 6 Android Development] apophis9283:
Check your messages
[Nexus 6 Android Development] str8str:
When I mentioned the other day about the reboots using this kernel it was on aisp I run RR as my other rom with the exact sane apps and avast same settings with no issues so has to be the rom. I've tried three different nightlys with the same result. Good news for the kernel

Straight Shooter
[Nexus 6 Android Development] str8str:
Can you have a look at these? Had a crash and reboot.

https://www.dropbox.com/s/ywabz44hni3y1bm/logcat.txt?dl=0

https://www.dropbox.com/s/yw5cxt5uwpvwhk0/last_kmsg.txt?dl=0

Straight Shooter
[Nexus 6 Android Development] apophis9283:
If its the ROM, shouldnt that dev look? I dont mind looking here in a bit.

at just a galance its screaming about mpdecision. It list the ROM name and what not.

Ill be relaesing once i figure out why DYN_HOTPLUG wont be disabled by default. There is a specific line to do this from but even though its at 0 it stll shows on by default
[Nexus 6 Android Development] apophis9283:
Finally got conky set up. Cpu usage and temp in F. I have Gpu speed, memory and temp (in F). Ram used/total. Top processes and Network upload/download

Also no idea why dynamic hotplug wont turn off by default even though I have it set to 0 in the code
[Nexus 6 Android Development] str8str:
This happen on RR which I never had any issue before sorry I didn't mention that. And I had a look and seen it was something to do with mp decision so I thought kernel. Is that correct

Straight Shooter
[Nexus 6 Android Development] apophis9283:
Shouldnt be. We pretty much killed mp decision. I just flashed RR and theres some weird things im seeing. Ill see if I have the same in my log
[Nexus 6 Android Development] apophis9283:
[MENTION=4168602]klabit87[/MENTION]

Heres my setup
[Nexus 6 Android Development] klabit87:
Looks good!

Were you not able to monitor each core temp?

Or did you only setup cpu temp
[Nexus 6 Android Development] apophis9283:
Wasnt able to do per core. I want to so bad. It can be done. ATM its cpu as a whole. Cpu usage is per core. I also have GPU added. GPU speed, memory and temp.

Network displays upload/download in real time and also gives upload/download since boot (uptime) along with private IP and public IP
[Nexus 6 Android Development] klabit87:
Need to find a terminal based program that can read it and replace sensors with that.

I don't monitor cores so I am not aware of any that do.

And it is dependent of what the processor supports.

I will keep it in mind and let you know if/when i come across one.
[Nexus 6 Android Development] apophis9283:
Im still looking into why DYNAMIC_HOTPLUG is enabled by default when I have it off
[Nexus 6 Android Development] str8str:
OK and if you can install kernel auditor on aicp and see if you get a reboot the first minute in. I can't seen to use it on aicp. Wondering if that's the issue

Straight Shooter
[Nexus 6 Android Development] apophis9283:
Im using RR at the moment. No issues, nothing in my log

I got everything worked out so far, still not going to do a release for another day or so
[Nexus 6 Android Development] str8str:
So what was the wierd things you saw

Straight Shooter
[Nexus 6 Android Development] apophis9283:
Instabilty for a bit. I reflashed my kernel and ukm as well as wiped caches.
[Nexus 6 Android Development] str8str:
I ran SD maid and seems their may have been some corpse's that caused it. Running on so far

Straight Shooter
[Nexus 6 Android Development] apophis9283:
OP updated to V-2.7. Enjoy

Edit: OP matches whats in the kernel now.
[Nexus 6 Android Development] ANDR01DN00B:
2.7 has seemed to cause Chroma to bootloop. Everything was working fine with 2.6. Anyone else bootlooped?
[Nexus 6 Android Development] str8str:
Edit I can't run kernel auditor on aicp or any kernel app for that matter as soon as installed I get bootloop city. Going to try despair to see if I get same thing

Straight Shooter
[Nexus 6 Android Development] apophis9283:
Not sure whats happening. I flashed (on mine and my wifes phone) RR and set it all up. Im using UKM and Synapse, she's using Kernel Auditor. Running 2.7 no reboots here at all.
[Nexus 6 Android Development] buschris:
what does ukm do? i flashed it and synapse doesn't even run
[Nexus 6 Android Development] apophis9283:
This will explain everything. http://xdaforums.com/android/software/zip-synapse-script-universal-kernel-t2736986

What do you mean it doesnt run?
[Nexus 6 Android Development] buschris:
no uci support detected. I do like the kernel, and use kernel audiutor currently. Just curious if I needed the ukm for more functionality, and what rom I might need since synapse never would run
[Nexus 6 Android Development] str8str:
I flashed despair and problem went away. Don't know? Was there anything in the logs I sent you. This is happening on aicp rom. I had fixed the issue on RR but I've tried everything I can to fix it on aicp but as soon as I install kernel auditor it reboots and most time won't boot back up just boot loops

Straight Shooter

---------- Post added at 00:47 ---------- Previous post was at 00:43 ----------

https://www.dropbox.com/s/itp5htjm54on49f/logcat.txt?dl=0

https://www.dropbox.com/s/0fn6tyj5nk6yxll/dmesg.txt?dl=0

Straight Shooter

---------- Post added at 00:47 ---------- Previous post was at 00:47 ----------

I took two more logs

Straight Shooter

---------- Post added at 00:52 ---------- Previous post was at 00:47 ----------

The only way I can get it to stay booted is to delete kernel auditor in data app using the file explorer in twrp

Straight Shooter
[Nexus 6 Android Development] apophis9283:
Ukm provides no functionality to kernel auditor. As far as synapse the no uci is because its not finding the stuff in ukm.
[Nexus 6 Android Development] apophis9283:
I have an idea what may be causong issues. Weird thing is if one person has the issue, everyone should. Ill get it right tomorrow and post test builds
[Nexus 6 Android Development] str8str:
Appreciate that. Hopefully we can get it fixed. Meantime in I'm going to flush aicp again and start from scratch to see if i can get it to work.

Straight Shooter
[Nexus 6 Android Development] kipue:
Looks like the same is happening with DU, although this is the first time I try this kernel, so I cannot vouch for prev. versions :)

EDIT :

wooow, i forced reboobed to recovery to get out of the bootloop to find TWRP asking for a password.

default_password did not work, so had to do a format data...

No idea if that's a user error, but looks like quite the coincidence.

Not blaming the dev for the misfortune, nothing important to lose on my phone, but what could have happened?
[Nexus 6 Android Development] buschris:
I'll try a fresh install with ukm and try again.
[Nexus 6 Android Development] an21281:
Kind of sounds like it forced encryption, but I'm not sure how that's possible... We're you already unencrypted?
[Nexus 6 Android Development] kipue:
No, that's the thing, not encrypted.

And I did not even get to boot up the rom to see the encrypting dialog so i'm not sure.

I read something to that effect, that a forced encryption would do that. Maybe it's what happened but absolutly no idea. I flashed the kernel over the default DU kernel, and this happened.

Also, I m not encrypted after reflashing something else, and I think format data in TWRP would not have been enough to decrypt, so who knows :D
[Nexus 6 Android Development] an21281:
Yeah if you don't let it boot while it's encrypting it will erase user data and cause bootloop(and ask for pw in twrp) , but it should not force encrypt... I had this happen on some roms/kernels I flashed which I didn't know forced encryption. Thought they weren't booting, so I forced reboot and lost all internal data
[Nexus 6 Android Development] apophis9283:
I have re-uploaded V-2.7. Should fix any booting or boot looping issues (hopefully).

edit, I reverted 2 commits that could/may impact performance. Ill be testing it for a bit. I like BCL off so I always make a build without for me. Im hoping eventually to get a toggle for it
[Nexus 6 Android Development] socioteq:
Dude, you should add specific install information to the OP of this thread. It is very easy to encrypt brick your phone with your instructions as they stand. >:(

Great, now I can't access my data ever again. Great work with this one /s
[Nexus 6 Android Development] jcrompton:
I was hoping you could clarify a bit more ... I have used this kernel off and on since inception .... and many others

What specific installation instructions would be need ?? Boot to TWRP and flash kernel and then reboot ..... what else could there be ?? :confused:
[Nexus 6 Android Development] apophis9283:
Ive had this kernel going for months now. Given under different names, no one has ever soft bricked or hard bricked their phone or lost anything. these instructions work just like every other kernel in these forums. Seems like you have an issue you need to solve

You should still have recovery access and you can pull anything off your sd card.
[Nexus 6 Android Development] apophis9283:
He doesnt know. I just checked his profile and its a joke. what his post have been in the past

My kernel is no different than any other kernel here. As far as flashing goes.
[Nexus 6 Android Development] apophis9283:
If anyone wants to try mt test build here it is

https://www.androidfilehost.com/?fid=24369303960682657
[Nexus 6 Android Development] apophis9283:
I screwed up. He's right. It is my fault. I went on a search for anything that could have caused it. I made a change awhile to straighten up FSTAB. There lies the issue. In fact I ****ed up everyones phone. If you have flashed my kernel in the last few builds is now encrypted. It was one word that screwed it all up. ENCRYPTABLE. Because I used a fstab from CM a commit to clean align the code they didnt have that. I apologize for the inconvienience. I understand a lot of you will be mad and I dont blame you. I will fix it and put out another build for those who arent so mad they want to leave. If you do I dont blame you and again im sorry
[Nexus 6 Android Development] socioteq:
No dude, your kernel set off my phones encryption and wiped my internal sd completely.

Regardless of what you think of my past posts the fact still remains that your kernel (and no other kernels that i've flashed with N6 including Despair, Hydra, ElementalX) have caused this problem.

My data was then inaccessable and I had to use the default_password method within TWRP.

This may have been an oversight on my side, but I literally flashed just as I would any other kernel and got this result.

Edit: Thank you for admitting the error. I'd like to try this kernel again as it seemingly has a lot of stuff that I would like.
[Nexus 6 Android Development] apophis9283:
Ive updated to V-2.8 fixes encryption, no longer forced but encryptable. Also some major changes. I have it set now where im not controlling the voltage, you should be able to UV/OV without any issues.
[Nexus 6 Android Development] EvilDobe:
I've been flashing your kernel for a while now (2.7 included today) and I haven't had any issues. My files are still accessible, I can reboot to recovery, etc. Not sure what, if anything, happened to anyone's phones but as far as I can tell nothing has happened to mine. $h1t happens man. Everyone makes mistakes that's why pencils have erasers. It's an inherent risk we all take when flashing custom stuff to our phones & no one has anyone to blame for this except themselves.
[Nexus 6 Android Development] str8str:
Ya i still have all my data as well thank God. So it didn't encrypt mine but thanks for admitting your error that's very cool ?.

Straight Shooter

---------- Post added at 16:34 ---------- Previous post was at 16:31 ----------

Does this build have blc driver disabled? If not id like to get 2 .8 without it

Straight Shooter
[Nexus 6 Android Development] apophis9283:
Its is without it. I made some major under the hood changes. Hopefully everyones phone plays nice without BCL. If not ill have to enable it again
[Nexus 6 Android Development] klabit87:
Sorry I sounds have mentioned it to you when I flashed your test the other day. Once I got recovered it was late and I forgot about it by morning.
[Nexus 6 Android Development] str8str:
2.8 is definitely not as smooth or fast as previous

Straight Shooter
[Nexus 6 Android Development] apophis9283:
Explain?

Heres what i changed

disabled bcl

revert various voltage drops

revert experimental under amping

then I had to fix 223 MHz voltages

reverted the fstab commit

Nothing that should have effected performance. If anything you should gain performance
[Nexus 6 Android Development] str8str:
Don't know why but it just is. I'll try reflash ing it and wipe caches again but after i flashed it it was very choppy and and not as smooth

Straight Shooter
[Nexus 6 Android Development] apophis9283:
I can always revert everything but the fstab commit
[Nexus 6 Android Development] apophis9283:
All links are disabled until everything is fixed and Im happy
[Nexus 6 Android Development] ANDR01DN00B:
The download link isn't in the OP. Or is it just me? Anyway what's the current state? You going to push another test build or final v2.8?

EDIT: Your post Ninja'd past mine :P

Yeah I'm encrypted, but I really didn't notice until I was encouraged to check lol. I'm just gonna stay encrypted until I am forced to unencrypt.

Thanks.
[Nexus 6 Android Development] str8str:
Ok if you want can try that. I reflashed and still choppy expecially when i scroll recents and switch between multi tasking.

Straight Shooter
[Nexus 6 Android Development] apophis9283:
Heres the funny thing. I tried to unencrypt my phone after i reverted my last commit changing the fstab causing it to encrypt. It doesnt stop there, even though I reverted it, it would not let me unencrypt. I had to re-do the whole fstab before I finally got it to unencrypt. So no more encryption, I tested it myself. Not sure where the hell things went wrong. All I can say is Im terribly sorry and ill be more cautious in the future. I cant express jow sorry I am. Its not a pain to unencrypt just a wee bit time consuming. Again. I am terribly sorry and will be more cautious in the future.
[Nexus 6 Android Development] str8str:
I still have the test build that you did a while back to test disabling blc and it works great. So i world leave that disabled

Straight Shooter
[Nexus 6 Android Development] klabit87:
I dont know if you do requests but if you do would it be possible for you to support the lower frequencies?

I find the 32MHz and 98MHz work well for me.

If not its no big deal just asking :)
[Nexus 6 Android Development] kipue:
Oh, did not know about that behaviour. Learning everyday, right?

Anyhow, looks like I was not the only one with the issue, so hopefuly it'll be fixed.
[Nexus 6 Android Development] str8str:
He did in previous versions but was revoked

Straight Shooter
[Nexus 6 Android Development] klabit87:
Yeah I know. But never saw why.

I would like to see them back but if not like I said it's no big deal.

He posts source anyways ;)
[Nexus 6 Android Development] apophis9283:
Always. I can bring them back. I will have a release tomorrow with it. I have fixed fstab 100% i tested it on my device. I will revert bcl but leave the other stuff as it seems to make everything smoother. Ill compile with lower frequencies returned and run it tonight

Edit. I finally got everything right. No force encryption. 35 and 98 MHz frequencies are back now. BCL is disabled as well as disabling BCL messing with hotplugs.
[Nexus 6 Android Development] klabit87:
Awesome! Thanks!

Gonna flash tonight.
[Nexus 6 Android Development] apophis9283:
Kernel version 3.0 is up.

About the FSTAB file. You can see here - https://github.com/team-vortex/Singularity/commit/c4592f7f56abb299d22cb0da75db9c90a8d49e53

That

/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs rw,nosuid,nodev,noatime,inline_xattr wait,formattable,forceencrypt=/dev/block/platform/msm_sdcc.1/by-name/metadata

/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,nosuid,nodev,noatime,noauto_da_alloc,nobarrier wait,check,formattable,forceencrypt=/dev/block/platform/msm_sdcc.1/by-name/metadata

got changed to

/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,nosuid,nodev,noatime,nodiratime,noauto_da_alloc,nobarrier wait,check,formattable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/metadata

/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,noatime,nosuid,nodev,barrier=1,data=ordered wait,check,formattable

Noticing the top says forceencrypt and the bottom says encryptable. So no more force encrypt. Again so sorry about that.
[Nexus 6 Android Development] klabit87:
It happens man. No problem.

That's part of it.

Thanks for all your hard work
[Nexus 6 Android Development] apophis9283:
Who ever asked me about F2fs and said it wasnt working, send me another PM. I deleted all my messages.
[Nexus 6 Android Development] apophis9283:
I just completely got rid of BCL instead of disabling it. Ill flash and see how it goes

Also getting rid of DYNAMIC_HOTPLUG. Have had issues since I made it default. ASMP is better anyway

EDIT:

Im also re-doing F2FS as I have become aware its not working. I deleted everything F2FS related and am starting fresh. Ill finish up merging the last few commits tomorrow. Im trying my best to get the kernel back on track. So far running really well without BCL and DYNAMIC_HOTPLUG.
[Nexus 6 Android Development] :
I'm still not really sure why anyone *wants* to get rid of BCL.

However, if you're really still trying to completely disable it as a user-configurable sysfs entry.... You should be able to do it like this (assuming that you revert all the other random crap that you've done to that file)

somewhere at the top, make the variable and define the module paramater.

static bool bcl_user_enable = true;
module_param(bcl_user_enable, bool, 0644);

Then down in the function

static void battery_monitor_work(struct work_struct *work)

change

if (gbcl->bcl_mode == BCL_DEVICE_ENABLED)

to

if (gbcl->bcl_mode == BCL_DEVICE_ENABLED) && (bcl_user_enable == true) {

This should effectively disable BCL completely based on the tunable. The workque items should still run up to the evaluation, so technically the driver is still using some ram and processing power. However, it's prbably the only way that you're going to make it fully toggleable without major side effects. Assuming of course that doing that works (I can't test/compile right now).

You may need to fix caps/evaluation... I'm just writing that out in the reply window assume it's pseudo-code ;)
[Nexus 6 Android Development] apophis9283:
So we vote. Or i make a squashed commit of all the bcl stuff. Then i could make a build with bcl. Then revert that commit and compile again .
[Nexus 6 Android Development] rolf_nei:
sometime launch camera app crash , as past update.