yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) Original Android Development] Tk-Glitch:
Many were lost with root state on Lollipop and how it affected the friendliness of using Glitch with it. The need to flash a different boot.img to enable root access was a pain..

Root users, this update is for you :

16/11/2014 - r303 :

- Added Chainfire's partial root ramdisk patch by default

- Added cernekee's PIE patch to Aroma (allows third party native executables to run, lowering security. Fixes various apps)

- Added SELinux permissive + sepolicy ramdisk patch to Aroma (enables full root access but lowers security. Fixes various apps)

Enjoy !
[Nexus 7 (2013) Original Android Development] adomol:
[MENTION=1387985]limzm[/MENTION] If there is something I can say about [MENTION=3847629]Tk-Glitch[/MENTION], he's gotta be one of the most easygoing and tolerant devs around. To release an update for a perfectly working kernel to make it a no brainer to install for the masses was a very cool thing to do. :good:
[Nexus 7 (2013) Original Android Development] tetakpatak:
You are once again our hero, Tk-Glitch, thanks for r303!

Can you please let us know how are you doing?

I pray for your genesis every day.

tetakpatalked from Nexus 7 flo
[Nexus 7 (2013) Original Android Development] Tk-Glitch:
That's kind of you [MENTION=5051515]tetakpatak[/MENTION].

The hardest part is most likely past me now, I should only get better and better ! My right arm is still a mess though. I don't know yet if it will ever be working as before, but well, could be worse. Thank you for your prayers, they did definitely help. While my body isn't feeling so good yet, my mind is. Thanks to all of you.

I'll be fine, I'm sure of that.

[MENTION=5688594]adomol[/MENTION]

As a user as well, I can understand the need to have something easily configurable and free of complex procedures (well, this is relative in this case, I have to admit) to make it work. Aroma is annoying already, so when I heard about the root drama and saw how many were lost I couldn't resist to try to ease their lives - a bit.
[Nexus 7 (2013) Original Android Development] bmccoy11:
ES File Explorer works with root when using the PIE patch, thanks for including that! I was stuck with using ElementalX for a while, it just isn't the same...:)

So, out of curiosity, what happened that made you stop developing for a long time? It must have been pretty bad, judging by your other comments.
[Nexus 7 (2013) Original Android Development] Tk-Glitch:
PM'd

Before someone else asks, I don't want to make a public statement about it. At least not yet. I'm already suspecting some of you to keep silent on some bugs or issues you may encounter with the kernel because of my state. I don't want that. Please talk about issues you may encounter ! :D
[Nexus 7 (2013) Original Android Development] .B.0.W.:
r303 working great with 5.0

Thank you !:good::good::good:
[Nexus 7 (2013) Original Android Development] farenteria:
Nope. It really is that good! ?
[Nexus 7 (2013) Original Android Development] tsimitsangaz:
no issues so far with r300, you nailed it again as usual Glitch.
[Nexus 7 (2013) Original Android Development] ArGyGG:
Awesome Kernel I can get around 6SOT with heavy usage with r303 no problems so far Thanks :thumbup:

Sent from my Boat
[Nexus 7 (2013) Original Android Development] topgeardave:
[MENTION=3847629]Tk-Glitch[/MENTION] r303 is the first time I've used your kernel, it's brilliant mate! I was reading earlier that you may incorporate synapse support, is this still an avenue you're thinking of going down? I'm currently using it on my N5 and it's a brilliant app!

Hope you continue your development on the (Edit: N7) mate :)

Also are you taking feature requests or are you just sharing what you think is your idea of the perfect kernel?
[Nexus 7 (2013) Original Android Development] akaHardison:
He seems doesn't have a N5.
[Nexus 7 (2013) Original Android Development] topgeardave:
Damn a typo haha, I didn't even realise I wrote N5?
[Nexus 7 (2013) Original Android Development] bmccoy11:
Okay, here's my experience with r303 so far:

Perfect. No more 'sleep of death' issues, very fast, great battery life, and great performance. I'm running stock LRX21P from the factory image. The PIE & permissive SELinux patches fix root compatibility with all the apps I use.
[Nexus 7 (2013) Original Android Development] Tk-Glitch:
Hello topgeardave, and welcome to the Glitch "family" !

I'm still thinking about adding Synapse support and trying to drop Aroma indeed. I already have a few internal builds with it (based on r226 Kitkat kernel though) , yet it's broken currently. It'll be part of a future update covering both Kitkat (AOSP & CAF) and Lollipop AOSP kernels (and eventually Lollipop CAF kernel if needed at release time).

I'll continue my work on the N7 2013 as long as I'm using it. I'm not planning to get the N9 btw so support from me should stay for a good while.

I'm for sure taking feature requests if they look like a nice addition for user experience.

I don't think my ideas or knowledge are enough to make a perfect kernel (far from it), so the first release on N7 was trying to give a nice base to build something most would like. My past work on the i9000 leaded to an organized team of great guys full of ideas, and together we got something probably close to "perfect" from popular opinion at this time on such device.

I'm aiming for a similar result on the N7, so I indeed need your ideas and requests to get closer to the goal.

While my health is slowing down my work, I'll do my best to satisfy my community base as I'm convinced you're all nice people, and I'm lucky you are.

Have a nice day (or night maybe day time in UK) :)
[Nexus 7 (2013) Original Android Development] topgeardave:
Thanks for the clarification on your progress with Synapse :)

If you need help with making Synapse work, you could ask [MENTION=3795148]neobuddy89[/MENTION] because he uses his own custom script instead of universal kernel manager.

Glad to hear you're taking feature requests, if you get bored enough you could merge cm's audio commits for better quality audio on AOSP ;) If you had time you could backport subsystems and drivers from mainline kernel revisions like 3.10 etc.

Also hope you get well mate, your health comes first and make sure you take plenty of rest when you need it :)
[Nexus 7 (2013) Original Android Development] php5_developer:
Nice kernel in terms of battery life and also performance, but I have a little problem with it. I installed it using stock cpu and gpu clocks and also didn't undervolt anything just used smartmax and smartmax_eps and in both governors google play music is stuttering. Any ideas what causes this problem?
[Nexus 7 (2013) Original Android Development] Tk-Glitch:
[MENTION=5907444]php5_developer[/MENTION]

Smartmax causes the problem. At least from my own testing it did by default. Also it wasn't very effective on either performances and battery life compared to - for example - the default ondemand. It was added after a few requests and I thought it was better to have more than less :p By the way, did you set a maximum screen off frequency ? It may impact music smoothness as well depending on your setup.

Intellidemand or intelliactive are probably better choices if you're aiming for battery life hover performance.
[Nexus 7 (2013) Original Android Development] php5_developer:
I did activate max screen of freq. but it's on 1 ghz

Thanks man
[Nexus 7 (2013) Original Android Development] Tk-Glitch:
[MENTION=5907444]php5_developer[/MENTION]

No problem ! I'm using ondemand or intellidemand with no screen off max freq myself and Google Play Music is as smooth as it should be with no OC.

Please let me know how it goes :)
[Nexus 7 (2013) Original Android Development] php5_developer:
Turns out it's max scr off frq that causes the stuttering. I now have these settings:

Min freq 81hz

Max 1512hz

Gov. smartmax

Multicore power saving is on

Other setting is stock android and no stuttering!
[Nexus 7 (2013) Original Android Development] Tk-Glitch:
I'm glad you got it sorted :) Thank you for keeping me updated.
[Nexus 7 (2013) Original Android Development] topgeardave:
Raise your min freq mate, having it on lowest is pointless because your freqs will keep jumping about resulting in battery drain. When there's no load, your tablet will enter deep sleep and when there is load it'll always be 384mhz+ as 81mhz isn't enough to run things like music :)
[Nexus 7 (2013) Original Android Development] nokiagye:
Many times I can't wake the device and I hard reboot it
[Nexus 7 (2013) Original Android Development] thereal_bigjake:
Which version? KitKat or Lollipop?
[Nexus 7 (2013) Original Android Development] nokiagye:
Sorry. Loll and latest glitch
[Nexus 7 (2013) Original Android Development] Tk-Glitch:
Could you get me a copy of your last_kmsg file please ?

Also, make sure it's not caused by your OC/uV settings as Lollipop is using the hardware a little differently than KitKat.

Thank you.
[Nexus 7 (2013) Original Android Development] nokiagye:
No I don't have change anything on aroma all stock. Anyway I found it it was the magnetic cover something it doing and it didn't unlock. I change the settings with synapse and now is ok thanks

---------- Post added at 03:43 PM ---------- Previous post was at 03:40 PM ----------

Something else my battery is perfect 70%-18% 3 h sot

On kit Kat was horrible and 0 lags.I install all my apps and games more than 150 and still the tab flying thanks TK.
[Nexus 7 (2013) Original Android Development] Tk-Glitch:
[MENTION=4795439]nokiagye[/MENTION]

It looks like the smart cover is an issue in itself :laugh:

I'm glad you found out what was causing the problem.
[Nexus 7 (2013) Original Android Development] chocowilliam:
Youtube doesnt play anymore videos after I installed this kernel.

Edit:

Flashed again, reverted all settings to stock. Youtube worked again. OCing doesnt work well with Youtube?
[Nexus 7 (2013) Original Android Development] thereal_bigjake:
Are you using Adaway?
[Nexus 7 (2013) Original Android Development] Tk-Glitch:
Hello chocowilliam, It's an issue with Lollipop for some users and isn't linked to my kernel. I have yet to encounter this, though I know a few guys around who get it. From what I gathered, either rebooting the device or clearing media data will make it work again.. Till next time.

You can check the general section to eventually get more help (many users reported that in the global Lollipop thread and it's now reported by Google as a known issue). Google is pulling 5.0 OTA because of that. We'll most likely have to wait for a Lollipop update to get a fix unless someone is able to find what's wrong in the meantime.
[Nexus 7 (2013) Original Android Development] php5_developer:
[MENTION=3847629]Tk-Glitch[/MENTION]

I used those settings for a few days and I rarely had stuttering so I moved my min clock one step and it seems that it's gone for good
[Nexus 7 (2013) Original Android Development] Tk-Glitch:
[MENTION=5907444]php5_developer[/MENTION]

Nice to know ! So Smartmax can now be used if the screen off max freq is disabled. Good news.

Thank you !
[Nexus 7 (2013) Original Android Development] topgeardave:
I think the issue here was that the min freq was too low, I think stock is best for screen off music playback and updating apps in the background :)
[Nexus 7 (2013) Original Android Development] php5_developer:
Right now I don't have any issues with 162mhz. I keep you guys informed if I find anything new
[Nexus 7 (2013) Original Android Development] sonofevil77:
The YouTube issue is fixed by uninstall and reinstall from play store. I have to do it every rom update.
[Nexus 7 (2013) Original Android Development] TheC92:
Good! ??
[Nexus 7 (2013) Original Android Development] idCyber:
How high is the GPU freq? Because with 400MHz I get only 6976 on 3D with KK
[Nexus 7 (2013) Original Android Development] TheC92:
GPU freq is 600MHz. With lollipop.
[Nexus 7 (2013) Original Android Development] php5_developer:
I have a question. How dangerous is overclocking CPU & GPU in a smartphone/tablet? I ask because there is no cooling system in this device and probably thermal throttling will reduce the performance
[Nexus 7 (2013) Original Android Development] Tk-Glitch:
[MENTION=5907444]php5_developer[/MENTION]

Honestly, it all depends on the quality of your chip.

One may overheat at stock freqs/voltages and throttle, the next one may be able to keep up @ 2.1GHz with low voltages and heat output with no throttling..

A "good" overclock needs many hours of work, measures and tweaking to be validated as every chip is different, even from the same batch. Throttling will protect the chip from overheating in any recent device so the danger is somewhat limited for the hardware (as its lifespan lost by OC'ing/heating is negligible compared to the lifespan of, for example, the battery), but as you said, it'll also lower performances. Though, if the chip is faulty (or chips next to it), you can kill it quick by overclocking or overvolting when it could have worked for years before dying.

In a perfect world, overclocking would be used only by people who knows what they are doing and what kind of effect it may have when badly done, but, well.. It's not used that way in most cases.

My advice : If you don't feel confident with it, don't use it. While the danger isn't so much to kill it if you stay below +20% OC, you may lose on the user experience side if you're not able to properly validate your new clocks.
[Nexus 7 (2013) Original Android Development] php5_developer:
How can I monitor my cpu and gpu throttling. I'm thinking about a aeries of long-term tests in which I go one step up whenever I'm sure that my current clock is stable and see where I can go with it. I used to OC on pc's.
[Nexus 7 (2013) Original Android Development] xanthrax:
There are plenty of apps which can monitor those parameters

But, what do you call "stable"? What parameter can tell you it's stable at one point?

You should not compare a pc with a smartphone when is about overcloking and in general

A smartphone performs different, there are different processes running which interfering during usage

I believe that the stability it is dictated by the user's experience, I would call "stable" a system which can perform all tasks fluently

I won't trust the numbers more than my personal satisfaction of using it without Hiccups

Sent from my Darkside of 1+1
[Nexus 7 (2013) Original Android Development] php5_developer:
From what I acknowledged over my past experiences, whenever I get less throttling and not too much heat I'm in a good position

---------- Post added at 10:49 PM ---------- Previous post was at 09:59 PM ----------

I used no frills cpu and trickster Mod but in both cases when I change cpu clock it only applies to the first core only
[Nexus 7 (2013) Original Android Development] jimbob_sf:
I'm having problems with my file system and flashing 303 to my N7 2013. I'm using AOSP Kang's lollipop rom. Once booted, it won't see any data on the "sdcard" folder until I install Glitch. TWRP sees "sdcard" just fine and will install zips from there. I recall reading that lollipop had some file system changes that some apps don't understand yet. I may have flashed a rom or kernel that applied the work-around, but I just don't know if this is expected or this is a problem. If this is explained ad-nauseum, I apologize for not finding it in my search.
[Nexus 7 (2013) Original Android Development] idCyber:
On Lollipop when u cant see contents of sdcard, download Terminal Emulator , grant it su permission by typing su then type this command to fix the sdcard : restorecon -FR /data/media/0
[Nexus 7 (2013) Original Android Development] jimbob_sf:
THANK YOU!!!

I got /mnt/sdcard back, but /storage/sdcard0 is still 'busted'. /storage/sdcard0 is linked to legacy with rwxrwxrwx but the the link is dead. /storage/usbdisk goes nowhere as well.

Any insight into what I'm doing 'wrong'? I first flash the rom, gapps, supersu beta 25, glitch r303. I've been searching for an hour for a comprehensive 'overview' of how Lollipop wants to have it's sdcard set up, why it causes problems, and what various programs/utilities are doing to get around it. That's kinda a big nut to crack, but I'm interested in knowing which step is causing what I'm seeing and what it 'should' be.
[Nexus 7 (2013) Original Android Development] topgeardave:
Try installing terminal emulator

su

restorecon -FR /data/media/0
[Nexus 7 (2013) Original Android Development] matcho13579:
Lol, read 2 posts above yours
[Nexus 7 (2013) Original Android Development] topgeardave:
My bad hahahaha, atleast I verified his solution was right ;)
[Nexus 7 (2013) Original Android Development] jimbob_sf:
Thank you both for the suggestion (!!!), but I'm still baffled (and simply not as big a geek as I'd like to think I am). I'm going to try a full wipe/format and starting from scratch and see what the folder structure looks like at each step.

The only reason I have the N7 is for using Waze and playing a terabyte of flac music in my car so all this folder stuff is critical for me because Media Monkey isn't liking something.

I don't think I'm alone in combining a bunch of 'stuff' like a custom rom, beta supersu, custom kernel with all kinds of tweaks, stickmount..... I'm likely creating my own problems, which I'm ok with, but I'd just like to know where I'm shooting myself in the foot.
[Nexus 7 (2013) Original Android Development] dg170775:
Quick Question: Can I flash r303 version via TWRP 2.8.1 on my Nexus 7 2012 Wifi? I have Lollipop running stock.
[Nexus 7 (2013) Original Android Development] JoseRebelo:
Nope, this is for the Nexus 7 2013.
[Nexus 7 (2013) Original Android Development] dg170775:
OK.. Can you suggest a good kernel for nexus 7 2012? One which will allow me to overclock?
[Nexus 7 (2013) Original Android Development] xanthrax:
Just go to your dedicated forum, how can we suggest you, we're using another device

Sent from my Darkside of 1+1
[Nexus 7 (2013) Original Android Development] topgeardave:
Could you flash stock factory files for lollipop and see if that works without root, if it works then flash your preferred rom and supersu. Try and see if that works and if it does then you're good to go :)

Also look at this thread: http://xdaforums.com/showthread.php?t=2938749
[Nexus 7 (2013) Original Android Development] Megaflop666:
Great kernel on cm and lollipop.
[Nexus 7 (2013) Original Android Development] jimbob_sf:
I did a full format, reinstall, and everything is working great. I did 2 things differently this time.

1. I didn't enable the selinux option on glitch and,

2. I didn't set stick mount pro to create symbolic links.

I don't use Titanium Backup yet to make sure all my apps install clean from the store or Amazon so any problems can be attributed to specific apps. So, with lots of help here, I decided that I must have picked the wrong options to mess things up (personal problems)
[Nexus 7 (2013) Original Android Development] nokiagye:
I have some times when I lock the tab the same problem https://www.dropbox.com/s/8aboehfuer03a9e/2014-11-25_12.34.zip?dl=0

I can't see anything wrong in the log. Maby y can.
[Nexus 7 (2013) Original Android Development] Megaflop666:
Any chance this beauty will come to the 6?
[Nexus 7 (2013) Original Android Development] SwoRNLeaDejZ:
That restorecon command should be capable of being used to fix any directory.. If the issue is in a different directory, just change the directory in the restorecon command
[Nexus 7 (2013) Original Android Development] MrChaosDesire:
Not sure if I'm allowed to post this kind of non-developmental post here, but I want to say that I just installed the kernel on my Nexus 7 and it seems to be running just fine, and I'm just curious if all the settings in the Aroma Installer can be changed in Android as well or not, such as the overclocking of the memory/L2 cache.
[Nexus 7 (2013) Original Android Development] Tk-Glitch:
What kind of problem ?

Probably not. But who knows ? I could win at the lottery or something at some point, if I ever play :D

The answer is most likely in OP, though I can answer here as well : most settings can be tweaked from Android at the moment BUT CPU max/min freq and bus/L2 OC. As these settings are sent to the kernel via command line at boot time, it requires to rewrite the boot.img to change them. The quickest way it to change the settings in /system/etc/glitch-settings.conf then reflash from Aroma using the "already Glitched" option.
[Nexus 7 (2013) Original Android Development] idCyber:
Glitch r303 should work fine on Android 5.0.1 or something changed in latest release and we need to wait for an updated kernel?
[Nexus 7 (2013) Original Android Development] bmccoy11:
5.0.1 has some kernel changes, please rebuild Tk-Glitch :)
[Nexus 7 (2013) Original Android Development] Tk-Glitch:
Just came back home. I'm on it guys. New release ASAP.
[Nexus 7 (2013) Original Android Development] xanthrax:
i`ve flashed already 303 on 5.0.1 , nothing wrong happened :cowboy:
[Nexus 7 (2013) Original Android Development] Tk-Glitch:
[MENTION=3946657]xanthrax[/MENTION]

5.0.1 changes are tiny on the kernel side, so I'm not surprised it works. For the best experience possible it should be better to use r305 with 5.0.1 though.

It'll be ready in a few minutes btw ;)

EDIT: Also, using r305 on 5.0.0 should be nice as well as it contains a few fixes (video playback anyone ?).

EDIT2 :

Glitch has been updated to support 5.0.1 fully !

03/12/2014 - r305 :

- Updated to android-5.0.1_r0.1
[Nexus 7 (2013) Original Android Development] capoooro:
Perfect also with 5.0 lollipop
[Nexus 7 (2013) Original Android Development] animania260:
Thanks for the quick update brother! Running good :good:
[Nexus 7 (2013) Original Android Development] lmulli:
Can we have a non-aroma version at all for quick flashing no messing about having to set parameters during install? Thanks.
[Nexus 7 (2013) Original Android Development] idCyber:
Then there would be no customisation and the settings you talk about would be hand picked by the dev and that would not work for 90% of users and that version of the kernel would only be used by a very small number of users
[Nexus 7 (2013) Original Android Development] lmulli:
I can live with that. I just want to flash the kernel with the default settings and tweak them if needs be. When I update roms I don't anticipate having to sit watching my phone and having to press next, make a selection, click next again and so on. I just want to select the zips in TWRP in one job lot, leave it to do its thing, go off for a drink or stretch my legs, come back to find it all installed and reboot, job done. I personally believe that more than just a "very small number of users" would select this version over the aroma version.

Thanks for your input anyway.
[Nexus 7 (2013) Original Android Development] Tk-Glitch:
I'm working on dropping Aroma in a future update while keeping all the customization options. It'll take some time to get everything right, and I don't have as much of it as I'd like these days and especially this month.

But yeah, I (and many users around here) could make a barebone package if you're okay with no CPU/bus OC options as well as F2FS support (basically dropping the zImage in an anykernel installer archive). F2FS support would require a few additions to the package and installer script.
[Nexus 7 (2013) Original Android Development] tetakpatak:
Don't mind, [MENTION=3847629]Tk-Glitch[/MENTION] aroma installer is just great. Whatever you do, someone from the crowd will be complaining.

tetakpatalked from Nexus 7 flo
[Nexus 7 (2013) Original Android Development] WhiteWidows:
Will this work on CM12?
[Nexus 7 (2013) Original Android Development] matcho13579:
I think so, because AFAIK CM is based on AOSP for now, but I'm not sure, try it and if it doesn't work, just dirty flash the CM again
[Nexus 7 (2013) Original Android Development] WhiteWidows:
No dice. Had the choppy slow boot. Must need a caf kernel?