yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 10.1 (2014 Edition) Original Android D] xluco:
1.7 test

http://www.mediafire.com/download/mg444py39q7brf5/xluco-smp600.zip

v1.7 test image, basically 1.6 with some fixes and lots of filesystem/ext4 updates :)

edit: also just a quick note on github: a couple of people have already forked my repo and a few others are watching it so I thought it would be worth mentioning that I don't have a pro subscription so any changes I make are public straight away. Over the next couple of days I'm gonna be changing the repo around a lot, as I've done today, lots of forced updates etc. I know this is a pain in the arse to follow but until I can pay for pro thats just the way it is. If you're cherry-picking or whatever from it I'd probably hold off till you see "v1.7 / defconfig" commit, or else its just gonna be a headache :P

edit 2: The L developer preview has got me all fanboy'd out, what do people think to me including the new boot animation with this kernel? (http://youtu.be/KtemeLkxoIc) I normally wouldn't do stuff like that but I'm too giddy waiting for my N5 to backup lol
[Galaxy Note 10.1 (2014 Edition) Original Android D] xluco:
1.7 Test 2

http://d-h.st/xGO

More filesystem changes and lots of changes to mutex/locking/irq too

I'm on holiday this weekend, when I get back I think my priorities for the kernel will look a bit like this -

Linux 3.4.95 + F2FS + Synapse = V2 Stable

V2 + CPU OC + Sound Control + any further upstream changes = V2.1 - 2.x

If I've missed anything or if there's something you want to see added let me know :)
[Galaxy Note 10.1 (2014 Edition) Original Android D] gavilan2010:
Can you add trinity colors to you kernel..

Thanks
[Galaxy Note 10.1 (2014 Edition) Original Android D] ollimi1:
hey xluco,

Because yes come rosy times at us! Many thanks and beautiful short break!:cool::rolleyes:
[Galaxy Note 10.1 (2014 Edition) Original Android D] amir_s_m:
how about CPU UV?
[Galaxy Note 10.1 (2014 Edition) Original Android D] ollimi1:
Hi, Amir,

For UV you can use p.e. Android Tuner app from Playstore. But should also work with other apps. :good:

For all-in-one kernel-modifying we must wait for one of the next releases with synapse support.
[Galaxy Note 10.1 (2014 Edition) Original Android D] amir_s_m:
doesn't it need too be supported by kernel in first place?
[Galaxy Note 10.1 (2014 Edition) Original Android D] troemer:
1.7 2 crashed sometimes, hangs over night and Bubble UPNP hangs sometimes. Back to 1.6 and all is good.
[Galaxy Note 10.1 (2014 Edition) Original Android D] ollimi1:
The last time when I tried to UV, was with v1.2 and I was so, that it worked. Also, the CPU could UC, but sometimes I had conflicts with energy safe mode. I did it with AndroidTuner from PlayStore, try it out. But I do not know if it will work with 1.7.2.

(I'm still on v1.6 now and have the full interface with frequencies, governors and voltages). :D
[Galaxy Note 10.1 (2014 Edition) Original Android D] xluco:
As in Trinity's colour presets? You can tweak the colours in Trickster mod app, and I believe (though I'm probably wrong) that it has a trinity colour preset in there :)

CPU UV is already supported, I'm using trickster mod app at the moment but Synapse control is coming, promise

I've had the same on t2, I think I know what the problem is so I'll have it fixed asap :)
[Galaxy Note 10.1 (2014 Edition) Original Android D] xluco:
601 Kernel now up in its own thread so this one doesn't get too cluttered :D
[Galaxy Note 10.1 (2014 Edition) Original Android D] Alex-stroev:
Waiting p601 version!
[Galaxy Note 10.1 (2014 Edition) Original Android D] xluco:
hmm thats strange, I did post it, maybe it got removed because the threads were too similar.. I'll add it to the OP of this thread in a minute :)

Edit: added!

SMP-601 - DownloadS

TEST1.zip - [30/06/14]
[Galaxy Note 10.1 (2014 Edition) Original Android D] xluco:
1.7 Test 3 - SMP600

http://d-h.st/AUe Hopefully fixes the last two tests :)
[Galaxy Note 10.1 (2014 Edition) Original Android D] ollimi1:
Thanks!:p
[Galaxy Note 10.1 (2014 Edition) Original Android D] LMMT:
The 601 kernel, is in the "general" section.
[Galaxy Note 10.1 (2014 Edition) Original Android D] Alex-stroev:
How can I control all features in your kernel?
[Galaxy Note 10.1 (2014 Edition) Original Android D] ¿Will-it-Blend?:
1.7 Test 3:

Been running it for an hour and got a random reboot while watching YouTube. Also tapatalk continues to hang on me. I have not adjusted any kernel settings.
[Galaxy Note 10.1 (2014 Edition) Original Android D] :
Unstable :(
[Galaxy Note 10.1 (2014 Edition) Original Android D] xluco:
Until I get synapse sorted I'm using trickster mod and scripts
[Galaxy Note 10.1 (2014 Edition) Original Android D] xluco:
Bugger, back to the drawing board. Thanks for testing guys :)
[Galaxy Note 10.1 (2014 Edition) Original Android D] OMIGHTY1:
1.7 lockup

While running the 1.7 test 2, I got a system lockup where I couldn't load any apps. I see that test 3 is out, but it looks like the problem persists.
[Galaxy Note 10.1 (2014 Edition) Original Android D] amir_s_m:
u r d 1, u r d best.
[Galaxy Note 10.1 (2014 Edition) Original Android D] xluco:
Thanks :P is it working though?
[Galaxy Note 10.1 (2014 Edition) Original Android D] mali76:
Unstable for p601 lots Of bugs
[Galaxy Note 10.1 (2014 Edition) Original Android D] xluco:
Such as / any logs? I don't have a 601, so I have no way of testing it :)
[Galaxy Note 10.1 (2014 Edition) Original Android D] amir_s_m:
I didn't have time to check it out.my exams r around,will check it in the following days.I could be more of help if u give me your .config files for starters.

---------- Post added at 08:15 PM ---------- Previous post was at 08:03 PM ----------

plz continue in it's own thread.
[Galaxy Note 10.1 (2014 Edition) Original Android D] Koserman:
I can't seem to get my scripts to work right for editing GPU voltages and the such. I've tried using the script utility from Rom Toolbox to no avail. This is essentially what I did:

#!/system/bin/sh

echo '733 1070000' > /sys/devices/system/cpu/cpu0/cpufreq/GPU_volt_table

And every time the rest of the values go haywire. So, I thought if I edited the file on my PC I could likely get it to work. However, I don't know how to push it from my PC to the correct place...or even from my tablet to the correct place. How can I accomplish this? I also wanted to edit the GPU governor tables for kicks and giggles.

EDIT

I think I figured it out...you just list ALL the values in ascending order. I'll keep experimenting to confirm this...

EDIT 2

#!/system/bin/sh

echo '800000 800000 837000 887000 937500 975000 1012500 1050000 1060000 1100000' > sys/devices/system/cpu/cpu0/cpufreq/GPU_volt_table;

echo 533 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq_gpu;

echo '80 55 50 45 40 35 30' > sys/devices/system/cpu/cpu0/cpufreq/GPU_gov_table;

This is what I've come up with. My device doesn't have much room for undervolting so (so far stable undervolting 266/350) so I've underclocked to 533 to try to keep temps down. I've also noticed that it won't let me undervolt below 800 mV for whatever reason. And, in certain games, the GPU doesn't want to respond appropriately to load (Asphalt 8 is the culprit). So, what I did was change the GPU governor table to ramp up under lighter loads and that helped but it'd still get stuck at 266/350ish. So I'd occasionally set the minimum GPU speed to 420 (didn't seem to overheat @ this frequency) and it'd work pretty good. You did quite well for voltages! Not much wiggle room here :) What's the minimum amount it'd change? 12.5mV? However, the CPU I can undervolt by up to 200mV just as happy as can be! Thanks again xluco! This has been a learning experience for me ;-p
[Galaxy Note 10.1 (2014 Edition) Original Android D] xluco:
I've merged the 601 thread into this thread :)

Honestly I've no idea what the minimum voltage change is, but if you test it let us all know :D What version are you using / what app to see voltages? Sometimes for me it appears the gpu is stuck but its actually registering in the "time_in_state", again I've no idea why

Also guys, big things coming, apologies for the delay after 1.6, I've gone right back to stock and I'm working my way through hundred of pages, literally, of commits from CAF and other sources, being really methodical about what changes are best suited for our device. This is taking some time but it'll be worth it when we've got a rock solid base to move forward from :)
[Galaxy Note 10.1 (2014 Edition) Original Android D] ollimi1:
Hey xluco

I look forward to the next 1.8 release. Perhaps we will soon have V2.0 stable, hehe

Keep up your good work!:good::good:
[Galaxy Note 10.1 (2014 Edition) Original Android D] 22sl22:
[MENTION=5529656]xluco[/MENTION]

Had a random reboot on 1.6, running Hyperdrive ROM (4.4.2)

Here's the log :good:

https://www.dropbox.com/s/yprlhejxkdogw2b/2014-07-13_13.17.zip
[Galaxy Note 10.1 (2014 Edition) Original Android D] ollimi1:
Hi 22sl22,

If I had random reboots I have fixt it with the disable_xposed_installer.zip in one case and in another I have wiped cache and dalvik and fixed permissions. In one case I must flash rom and kernel again.

Normaly you will have the zip on your sdcard if you install Xposed, but here is Xposed in the rom and I don't know if you have it.

If all other things don't helps and you want to try it, I can give you a Mega link. https://mega.co.nz/#!2Y8mGbwK!lAOoqZ9PgJmuAJlnvKWQzzd2mXdDo6ZDNTE5MF5cqEE

Much luck!
[Galaxy Note 10.1 (2014 Edition) Original Android D] 22sl22:
Is the problem xposed related though? I was just browsing the web using chrome when it rebooted. I had a look at the logs and I didn't see xposed unless I missed it. I would rather leave xposed anyway because I have around 10 modules installed that I use regularly.
[Galaxy Note 10.1 (2014 Edition) Original Android D] ollimi1:
Yes xposed can make trouble if the Tab freezes or shut down and reboot. This disable_xposed.zip disables only for one reboot, after a second all modules are back with his settings. Have you tried to install the kernel again after a cache and dalvik wipe?

Fu.....' Chrome fc's causes often a reboot or a freeze, also on my tab and also with xKat, UXproject and Hyperdrive. I've delete it and install aosp-browser with bookmark sync over AOSP browser installer from Playstore.

Now I've much less reboots and a faster browser.
[Galaxy Note 10.1 (2014 Edition) Original Android D] xluco:
1.7 is here

http://d-h.st/2jQ

v1-7 added to the OP. The rebase branch is taking much much longer than I expected and I didn't want to leave you all hanging almost a month for 1.6 to be a little more stable. Hopefully 1.7 is pretty stable and usable while I finish working on the rebase :) let me know how you get on!

Its got a couple of changes from the Nexus 5 Android L kernel too which is pretty exciting.

EDIT: 601 guys bear with me, I've not forgotten about you, just wanna make sure I'm not spending my time using unstable commits from the 600 version first :)

From looking at the log the only obvious thing I can see is alarmtimer failing to suspend.. which I've also had on my device. Seems its caused by enabling Kernel Performance Events in the config, hopefully thats fixed now :)
[Galaxy Note 10.1 (2014 Edition) Original Android D] 22sl22:
OK thank you :good:

Just flashed it now, will let you know how it goes......
[Galaxy Note 10.1 (2014 Edition) Original Android D] ollimi1:
Hey Xluco,

After a lot of tests and view many battary data, I suspect that the kernel provides incorrect percentages when the GPU under load draws much ernergy. Especially under OpenGL2.0 one can observe how the percentage values ​​faster decrease than the mAh's.

This happens in games and benchmarks, like Antutu(ogl2test)or RR3.

When I turn off the tab for 5 min. and then reboot it again, voltage and percentage agrees again. Really curious what causes this!

I have seen power consumption values ​​from (-)1436mA / h under RR3! Percent decreased this by far over 20% in a few minutes(not more as 5), what is pretty to much!

After that, for example, I read 3750mAh, but only 5% battery is indicated.

After 5 minutes shutdown and a reboot, the values are at 3798mAh and 25% battery left and agrees again.

Had that error under V1.6 and unfortunately he is also in V1.7.

Good idea to play only with powercable plugged-in! Perhaps it is a battery problem and has not to do with the kernel? I don't know.

CPU Temps still goes up to 80°C and than throttles to 1.0-1.4ghz and the GPU clocks jumps between 480, 533 and 600mhz. It seems the over-all performance is still slightly higher than with stock kernel. Maybe 5%, because I see often 600mhz, but not more.

In the power saving mode is partially often a higher graphics clock as in normal mode, which might be due to the CPU temperatures I think.

Otherwise, there's been no further error at the moment and V1.7 runs really stable.

No reboots or freeses!

Really good work! :good:

Thank you!
[Galaxy Note 10.1 (2014 Edition) Original Android D] Koserman:
Sorry, been out of town with no internet! I've been using Trickster for CPU and MaliStatus to monitor mV. I've stopped testing for a while because I just started back to class ;-P I'll post my results when I get them sorted out! I've been using 1.6 and I'm about to flash 1.7 as we speak!
[Galaxy Note 10.1 (2014 Edition) Original Android D] KimUyLong:
May be I ask a wrong question. But Have any one got the Delay wake up problem !? This Kernel can help me !? Or howto fix the delay wake up !?
[Galaxy Note 10.1 (2014 Edition) Original Android D] ollimi1:
Hi,

Wake up delay is deep-sleep related. You can use an app for disable deep-sleep(playstore), but it costs battery life.
[Galaxy Note 10.1 (2014 Edition) Original Android D] xluco:
I think everyones probably got the delayed wake up problem, for me its probably the most annoying thing about the tablet, this kernel helps slightly I think but not a great deal to be honest.
[Galaxy Note 10.1 (2014 Edition) Original Android D] xluco:
V2 - Alpha 1

So the rebase branch finally boots, but its far from finished. However, heres a test zip for anyone who wants to do some testing.

There are a couple of bugs I've noticed so far, namely Newstand and Viper4Android apps not opening, this seems to be linked to changing there kernel from GZ compression to XZ compression, so thats easily reverted at least.

http://d-h.st/GR3

Hundreds of changes, I'll post a full log once its stable :)
[Galaxy Note 10.1 (2014 Edition) Original Android D] keiany:
Can you add NTFS support to your kernel, it can be a marvellous feature

Thanks for your works
[Galaxy Note 10.1 (2014 Edition) Original Android D] ollimi1:
Hi,

Is already integrated!!:good:

See 1. post/1. page under "main features" !

:p
[Galaxy Note 10.1 (2014 Edition) Original Android D] Koserman:
GPU scaled appropriately to load! Large increase in benchmark performance for GPU as well as Antutu.

Have had a random reboot so far playing a game and while surfing the web. Still snappy performance! Good job sir :) Looking forward to next release
[Galaxy Note 10.1 (2014 Edition) Original Android D] Stevethegreat:
How about synapse support?
[Galaxy Note 10.1 (2014 Edition) Original Android D] ollimi1:
Comes, but needs more time!:p
[Galaxy Note 10.1 (2014 Edition) Original Android D] Stevethegreat:
Framebuffer support

It may not come as much of a request or -conversely- something that may destabilize the kernel but I will do it anyhow, so may I request for framebuffer support?

Let me explain: whenever one tries to boot linux via the chroot method his only option for GUI is via VNC. Which is clanky at best, abhorrent at worse. Using android's framebuffer (dev/graphics/fb0) basically we get a native GUI interface only running full linux underneath with whatever that can imply. It's long be said that the Note tablet series (out of all the android tablets) is the one that tries to bridge the gap between "content consumption" and "content production" the hardest. And they can fake that using software like Hancomm office, but it will never be the real deal unless we can *really* boot a *real* desktop OS on our lil' tablets.

The reason that I'm using up so many words in my preface is that one guy kind of did it ... it doesn't work too well in most roms but it actually *does* works. You have a linux distro running on top of Android that actually *flies*, both in the terms of terminal commands performance and/or GUI performance.

So -I think- my request seems kind of realistic. Since xluco already knows the ins and the outs of his kernel better than any other guy I would think that adding framebuffer support would be a piece of cake for him, and a godsend to those of us interesting in turning our little tabs into little laptops.

So yeah, there...

BTW [MENTION=5529656]xluco[/MENTION], thanks for this great kernel. The last two versions (1.7, 2.0 alpha) are the stablest yet and ultra fast! This kernel is reaally shaping up.
[Galaxy Note 10.1 (2014 Edition) Original Android D] xluco:
It's coming, honestly :D V2 Stable will have Synapse support, I promise. I've been looking into it a lot recently, and it's not as difficult as I first thought, it just looks very tedious to do if I'm being honest. For now I'm using the trickstermod app as that seems to let me change most things, anything else (GPU) I've been tweaking with scripts.

I'll definitely look into it now, doesn't seem to be anything difficult from reading that other thread :) I'll see if I can get it into V2-Alpha 2 that'll be coming either later tonight or early tomorrow :)

Thanks for testing :) mind if I ask what game? Not for kernel testing, I'm just getting pretty bored of playing hours of Voxel Rush :P
[Galaxy Note 10.1 (2014 Edition) Original Android D] xluco:
V2-ALPHA 2

http://d-h.st/wpa

ROW & BFQ I/O schedulers added plus various fixes :)

-----

So I got the same config as the other thread working but that just enabled Virtual terminal (CONFIG_VT)... that boots, but very slowly, like 4+ mins to boot, but once you're in everything is fine. However, once VT is enabled you can then add CONFIG_FRAMEBUFFER_CONSOLE, which I think is what you're looking for... adding that causes a bootloop unfortunately.

I'll continue to look into it though, stay tuned :)
[Galaxy Note 10.1 (2014 Edition) Original Android D] cepheid46e2:
Not sure if this is relevant to the Kernel script itself but every time I lock the CPU core to a frequency the tablet will no longer sleep. Rather it shuts down completely rather than going into sleep mode causing a complete boot every time the screen turns off. It only happens if frequency is locked and is independent of the voltage settings. If this is something you can look into awesome but if not this is an excellent kernel.
[Galaxy Note 10.1 (2014 Edition) Original Android D] Stevethegreat:
Hey, thanks for the heads up. It would indeed be beyond great if this feature is made to work, I would think it would greatly enhance the usefulness of our little tablets to those of us who are "road warriors".

Of course it would be equally great if you have the compiled kernel with VT enabled -around- for testing purposes. I would be glad to try it on a couple of roms and see if/where it works anywhere.

The other kernel (the one I referred to in my initial post), actually did work on Stock Samsung, so it would be interesting to see how the v2 of your kernel would react to that config...

Again thanks for your dedication, it's really inspiring...
[Galaxy Note 10.1 (2014 Edition) Original Android D] fastguy:
I posted this to the other thread as well and it's the way I use Linux on the Note 10.1 2014. - - - - - - -

You can also use Linux Deploy and select XServer as the display method. Install XServer XDSL from the market (free). This runs a native X server on Android UI and your Linux displays itself on it. Pretty neat. I recommend using Debian Testing.

------

The GUI of Linux is pretty fast, nothing like VNC. But I don't know how it compares to Direct Frame buffer access.

PS. I got interested in trying to boot native Linux using dual boot method by utilizing recovery partition. This is similar to the above in essence, but there won't be any android on the booted system and I intend to try to get freedreno accelerated graphics kernel driver working. (mine is Snapdragon version). No ETA, just idea and intention stage...

Have a look at here for more details:

http://xdaforums.com/showthread.php?p=36916481
[Galaxy Note 10.1 (2014 Edition) Original Android D] Koserman:
I'll test when I get home! As far as what games I've been playing, I've recently picked up Lionheart Tactics (similar to Final Fantasy Tactics) and its been a ton of fun! Haven't gotten very far but it's a game that's fun for a quick game or 1+ hour.
[Galaxy Note 10.1 (2014 Edition) Original Android D] Stevethegreat:
Yeah I know (thanks for the tip btw), but still it beats my wish to have a fast/reliable with the least possible battery leak linux distro running on my Note. While running an X-Server can be obviously faster than VNC, it is demanding of resources.

But yeah -maybe- you have a point, maybe it's better than not having a GUI-enabled linux running on my Note at all (as I currently don't).

Still, direct framebuffer access would have/had been a godsend. So godspeed [MENTION=5529656]xluco[/MENTION]...
[Galaxy Note 10.1 (2014 Edition) Original Android D] allan1313:
Had some issues with V2 alpha 2. Got 2 hot reboots while browsing chrome. Also I have a cover with magnets that turns the screen on when I open it. But with this version it is messed up. When I close the cover it turns on, and when I open the cover it turns off. Reverted to an older version and it's back to normal.
[Galaxy Note 10.1 (2014 Edition) Original Android D] 22sl22:
[MENTION=5529656]xluco[/MENTION] had a random reboot on 1.7 whilst browsing with Google Chrome, using Hyperdrive rom based off 4.4.2, logs attached :good:
[Galaxy Note 10.1 (2014 Edition) Original Android D] megarain5:
Stuck at 1400MHz?

I'm not sure if anyone else is having this issue but I'm using this kernel with the latest hyperrom and I cannot surpass 1400 MHz clock speed...all CPU controlling apps tell me I can clock up to 1900 but the CPU never reaches that speed...any ideas? Or should I just flash back to a stock kernel?
[Galaxy Note 10.1 (2014 Edition) Original Android D] enotar:
Where do you get stock kernel? 4.4.2 P600
[Galaxy Note 10.1 (2014 Edition) Original Android D] ollimi1:
Hi!

Look to your energysafemode settings and disable CPU limits. In front of this look at Hyperdrive Tweaks, switch to the CPU tab and controlling the settings. Last step is to restart into recovery>wipe cache and dalvik>go to advanced> fix permissions and reboot afterwards.

This should help!:good:

If not, try to install kernel again but with a cache and dalvik wipe in front of.:p

---------- Post added at 09:46 AM ---------- Previous post was at 09:31 AM ----------

Hi enotar!

I have the stock ND3-kernel for p600. If you want you can download it here:

https://mega.co.nz/#!OEkymTLA!R86zBbPUnBaFv_xHWG8s9jVHJ4sqaKGruylT4ALfnUoIt's clean!:good:

I have it from Hanspampel (xKat Rom3.2.1/P600) and I guess there is a download-link in his xKat thread, but I'm not sure.:confused:
[Galaxy Note 10.1 (2014 Edition) Original Android D] mikep2323:
Where is the energy safe mode located?I wanted to check mine out.Thanks
[Galaxy Note 10.1 (2014 Edition) Original Android D] enotar:
Helo I have stockrom KOT49HP60UBUCNF1 and kernel doesnt boot, any option?

I even tried the stock kernel from previous post, no go. I had to restore backup, all is now ok but I really like to get this kernel working toavoid lags.

Thank you
[Galaxy Note 10.1 (2014 Edition) Original Android D] ollimi1:
Look into settings> general and scroll down till energysafemode

---------- Post added at 12:23 AM ---------- Previous post was at 12:18 AM ----------

Have you flashed a stock 4.4.2 firmware to get Kitkat bootloader? If not, than flash stock 4.4.2 via Odin3.09, root it again with chainfire root methode. After you have flashed TWRP 2.6.3.3, you can try to flash Hyperdrive rls1 and xluco 1.7 again via twrp recovery.
[Galaxy Note 10.1 (2014 Edition) Original Android D] enotar:
No i bought the tablet and update ota to 4.4.2.

Where do I find stock 4.4.2?