yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S Android Development] :
I've used the clear all recents button the first time, and it was cleared <=2s. 'Cause I've used it never before, I don't know, if that was faster with 1220.

I wonder, why I should kill all running apps: the most often stated misconcept regarding this function is "clearing recents frees memory", what is right, but what's the good of unused ram? NOTHING! Unsed ram is useless. It just lies aroind and is used for nothing. Generally spoken: only used ram does something.

The low memory killer knows when more mem for a foreground process is needed, and is much smarter in caculating, which app is not used for the longest time etc. This makes much more sense, then killing all apps and remove them from memory; an email app is a good example: if you kill it ('cause by clearing recents you do so) and check email thereafter, android has to load it again, instead of just switching focus on the backgrounded - but not killed app - app. The latter will take longer and will take more resources.

The same goes for all the memory managment apps: The kernel and the rom allready come with integrated memory mangement. What do you think does that mean regarding resources, if memory managment is done twice? Memory optimizing apps are placebo.

Two exeptions: if you have a misbehaving app (in this case, an app with a serious memory leak), you propably want to kill it. 'Cause memory mangement can't know, if an app has a memleak, the memory managment will kill all other apps to give the freed mem to the bad app, which leads to the same wasting of resources, I described above.

The other exeption is a misconfigured low memory killer (obviously ;) ): if you have the problem, that a app, you use often, is every time starting again, if you switch to it, you have a problem. If we find such problems in this rom, I'm the first, who is willing to change lmk values - but at this moment I belive the cm standard values are ok.

Bottom line: You want as much memory as possible in use. Unused memory is just that: unused memory.

http://www.linuxatemyram.com/ even though this article is for linux and not for android, it explains what I've tried to explain in a simplified way.

If your intention for clearing recents is an other than freeing memory, take this posting as a sidenote.
[Galaxy Tab S Android Development] :
Then it propably is slow - as stated, I can't give an other expirience, then that: it is faster than stock (what doesn't mean anything(*)), and my feeling of the speed has not changed from 1220 to 0113.

(*) I was back to stock 3 weeks ago to check something regarding bt, and I was shocked about tw lagging all the time.

I remember some postings (on different source build roms), that increasing gpu minimal frequency, will remove some lagging on scrolling - I've never tried, 'cause I can live with some micro sec delay on scrolling. Perhaps you want to try:

/ # echo 266 >/sys/devices/platform/mali.0/dvfs_min_lock

If this makes the rom feeling faster, put the command to /system/etc/init.d/10systemtuning, or create /data/local/userinit.sh, make it readeble and executable, and put the command in.

Good luck.
[Galaxy Tab S Android Development] zigonneux:
If I can put my 2 cents : I've tried almost all the Roms here for T-800 . One is much faster: 59 ,000 + on antutu , with a red warning..... it's a 5.1.x rom: SlimLP ,..... sure your game and tablet will be faster, benchmark are faster but your battery will drain faster and the device run warmer all the time. The kernel was maintained by the same guy as this CM Rom for a while. deadman96385 . You can also boost your tablet with kernel adiutor ( not a typo)

So anyway if you want to boost your tablet and don't care much about longevity and updates , use the other Rom.

Strange because you seem to like Pac-Man , it's a great Rom but is not faster, i find it to be exactly the same speed as CM 12.1.

But this make me think about when I drive my Volvo like a Ferrari, it does goes fast and drive like a sports car with the turbo working overtime but when I stop it, the smell make me remember that it's not a Ferrari.

CM from nvertigo is well balanced and super stable and if you want some features , you can ask for them. I don't find the overall performance to be slower than 80% of the other roms here. I keep a backup of SlimLP in case i want to play a demanding game... but i never do, so..... back to CM 12.1

------------------------------

a note to nvertigo: The post about the "clean recents and memory use " was very informative, great teaching.

You still need some results about your Chromium that you wanna use ? because I have plenty of tests done.

---------- Post added at 11:11 PM ---------- Previous post was at 10:58 PM ----------

if you ask me, i find that having 2 threads to keep watch is a bit of a mess.... since you told us that the unofficial are the ones to watch because they are totally made from you, why keeping an eye on the official ?

----------------

And one more thing about the speed of this Rom, some people should put back the Samsung standard Rom 1.4 gigs , once in awhile to remember what it was to use it...... you want slow, there you go...
[Galaxy Tab S Android Development] GoldExperience:
I am using your Rom for a week and it's the fastest one I used so far. Scrolling in the web and apps rarely stutters and most of time is super smooth, didn't noticed any bug until now.

The only issue I had was with Hearthstone, the game crashed immediately after launching, a quick search in this topic and I found the solution: enabling 4x MSAA in the developer options, which is weird because I use CM 12.1 on my phone and the game run normally with that option turned off. Even so the game runs very smoothly while on TouchWiz Roms always had choppy animations. .

So thanks for that, your work is awesome.
[Galaxy Tab S Android Development] lionheartk:
Glad the issue has been fixed. I use TWRP 2.7.1.1 and it works perfectly. Didn't upgrade to 2.8.4 yet because anything above the one I'm using glitched somehow so...
[Galaxy Tab S Android Development] suzook:
Just curious, but when did blissrom go back to a white theme???? Wtf?
[Galaxy Tab S Android Development] :
Perhaps the guys in the blissrom thread now that... ;)
[Galaxy Tab S Android Development] reubenskelly1992:
The blias team did that because its not much point having the dark because of the theme engine, keeping it default white gives it better compactability for the new themes:)
[Galaxy Tab S Android Development] suzook:
That's a shame as ALL the themes have bugs. Oh well, time will fix things.
[Galaxy Tab S Android Development] DUHAsianSKILLZ:
VPN seems to work for me. I did a speed test and my location changed as well as my download and upload speeds. Does vpn work for anyone else? Wanted to be sure to make sure vpn really works.
[Galaxy Tab S Android Development] :
Thanx for testing and reporting. In a shell you can check with "netstat -rn" if the routing has changed to the tunnel interface. You can also check in logcat what happens. If paranoid (and in security it's always good to be) you can verify with tcpdump the way your network traffic flows. For tcpdump you have to su. (yeah, I'm oldschool shell addict... ;) )
[Galaxy Tab S Android Development] Bushcrafter:
I tryed using TWRP too. Had nothing but trouble with it. Been using Philz and never have had one issue with it.:D

P.S. I have used TWRP on my Asus Transformer TF-101 right from the beginning and never had an issue with it. Go figure!
[Galaxy Tab S Android Development] :
May you help the other user with getting a log from philz, please? Thanx in advance.

EDIT: I know it's the wrong forum/thread - but I belive it's a short answer and so it will be short OT.
[Galaxy Tab S Android Development] DUHAsianSKILLZ:
Pastebin: http://pastebin.com/ApraS7NG

Logcat
[Galaxy Tab S Android Development] Bushcrafter:
I would be more than happy to help you out but I don't know how too get a log from philz. Sorry.:crying:
[Galaxy Tab S Android Development] :
I don't look through logcat screenshots - I cant search and grep in a pic.

netstat: my fault - netstat doesn't take arguments. Please try "ip route show" and "ip monitor all".

EDIT: "ipconfig tun0" would be helpful, too.
[Galaxy Tab S Android Development] sloan1919:
Bluetooth glitch confirmation.

Can someone please confirm that they are able to stream audio from [spotify, mxplayer, or similar] to a A2DP device while on wifi for more than a few minutes without any audio glitches? Thanks, greatly appreciated.

I noticed today that if I disable the wifi antenna (not just disconnect) I can stream flawlessly but when the antenna is on or I'm using a second bluetooth device I get audio glitches (crackles, pauses, etc.)
[Galaxy Tab S Android Development] :
Don't know if that is the issue, but 2.4 GHz wlan interferce with bt.

I can hear clear audio on logitech pure mobile watching a movie file from my server, of connected vi 5GHz wifi - if I try the same via 2.4GHz wifi I have crackles, pauses and audio out of sync. These issues persists over all my devices (manta, bacon, chagallwifi) with diffrent roms. I know this since my tf100 times on jeallybean, which was anoying, 'cause tf100 was only capable of 2.4...
[Galaxy Tab S Android Development] Bushcrafter:
[MENTION=3456089]nvertigo[/MENTION]. I just started to get the WiFi issue that was mentioned in an earlier post. It started with YouTube. I tryed a dirty flash of 0125 and still get the same issue.
[Galaxy Tab S Android Development] :
This is the last time I answer an issue report that does not contain:

Detailed description of steps to reproduce the issue.

logcat (as text)

Of course it's nice of you to think so, but I had to state clearly: I'm no clairvoyant. Sorry.

[MENTION=5339037]Bushcrafter[/MENTION]: 0128 nvertigo build has no wlan issues. I'm using it 44 h uptime without reboot with heavy network usage. The other issue you mentikned is something completly different: no wifi at all from flashing on.
[Galaxy Tab S Android Development] Bushcrafter:
Well I'm going back to a clean install of 0125. Never had any issues until I flashed 0128.:)
[Galaxy Tab S Android Development] suzook:
Lol, sorry
[Galaxy Tab S Android Development] lionheartk:
Posting here to apologize but it seems I won't be able to send a build today as promised. For some crazy reason it won't compile anymore.

If I sort out the issue in the next hour I'll post it, otherwise I'll have to delay it until I figure out what the hell is happening!

I don't think any major commits were done on CM12 code thou, so not missing anything it seems.

Sorry!
[Galaxy Tab S Android Development] sloan1919:
Can confirm changing WiFi to "5GHz Only" mode solves the issue.

Steps to recreated:

1) Turn off Wifi

2) Stream audio over bluetooth

3) Turn on Wifi and connect to 2.4GHz network

You may not need to connect. It seems just scanning them causes the problem.

I have attached a Logcat extreme log of me doing the above steps.

Highlights from the log :

01-30 16:27:13.484 8507 16540 E bt-btif : ## Audio Congestion (iterations:46 > max (2))

01-30 16:27:25.715 8507 16540 E bt-btif : [media task tx timer] ts 18714288646, diff : 00043845, queue sz 6

Thanks again!
[Galaxy Tab S Android Development] :
It's about the size of a buffer, that unity wants to use for creating a new surface. I don't know, why unity has implemented this without size check, I only know that with 4x msaa enabled, the buffer has the size, that unity expects. You have to report that to unity/ea or whoever implemented the game - I can't fix it; I have no source for the game. I have asked the users of games with this error to report it to the games vendor, but I don't get any feedback.
[Galaxy Tab S Android Development] GoldExperience:
I sent them a support ticket detailing the issue, but I don't expect much thought.

I searched about this 4x MSAA thing and apparently it drain more battery because it put more stress on the GPU, but I didn't noticed any difference so I don't mind having it enabled.
[Galaxy Tab S Android Development] :
I've switched it on, since my first posting about this workaround, and battery life hasn't changed over all. But I think, if we could compare playing two hours hs with 4x msaa against two hours of hs without 4x msaa, there would be a difference. BTW: the setting only kicks in, if an apk uses opengl/egl - so it's expectable, that this setting does no harm to oberall bat life.

For the ticket: propably they fix it. When developing, you sometimes take a shortcut. If this works for 95% of your customers, you tend to forget about this shortcut (aka: intermidiate fix). So it would depend on the amaount of work, you have to spend, to make the 5% happy. We will see.

Because the libs (in this case libGLES_mali.so) are the very same as in samsungs lollipop stock rom, the only differences can be in libEGL.so (build from cm source)(*), or in the kernel source samsung gave us(**).

(*) Not very likely, because some cm devices work without 4x msaa.

(**) Quite possible, since samsung is known to deliver broken or unusable sourve code to opensource.samsung.de.
[Galaxy Tab S Android Development] Claw22000:
Above the following it says KK Bootloader. Wouldn't it be better to have the newest one?

I really hate to bother you because you are the only one that's been able to point me in the right direction so are but...

I tried just reading the beginning posts and don't really understand if this is what I need or not. Also this is installed by using the AP Slot on oden correct? I have 3.09 is that ok or should I get a newer version?

Again I'm sorry to bother you I'm just really cautious with my gadgets.

Also I would like to compare both ROMs can I use this boot loader with the other one as well?

Again thank you so much for all that you have done for our tablets, it is so nice to see people working hard to make a community project that will make clean OSes on our Tabs.

:Edit

Have more questions.

I will be doing the Clean Flash in the instructions you say optional Flash SuperSU Can't this just be downloaded afterward via the store? If not where is a flash that works with this tablet?

Can I install the Nano Gapps so I can hand install what I want later? I plan on using Titanium Backup to make some of the apps system apps so they don't take up user space.

DrClaw
[Galaxy Tab S Android Development] zigonneux:
Ok, I'll give a help to nvertigo on this one, since i've done it many times.... I won't read all your posts just the last one : ODIN is used to install the latest TWRP. ( recovery) from there ,TWRP can install and backup the Roms. You would need a OTG cable with a flash drive, or one of those small USB connector drive . From the USB drive you install the ROM with TWRP after wiping with TWRP also. Then install the Gapp, go to openpagg.org and install the nano gapp. DO NOT INSTALL SUPERSU, because Cyanogenmod is already rooted if you choose so in the developer options. If you install SuperSu it will break those options.

I own Titanium backup but don't use it anymore, i do it manually if need be , because once CM12.1 is installed, you don't have to wipe DATA where reside your apps. Wipe cache, davlivk and system......So you just do like an update, dirty flash. Unless Nvertigo told us to do a clean flash for a reason or another for one specific version of the Rom.

the main thing is to install TWRP with ODIN whatever version in AP slot . ( use the very latest version, it work well)

---------- Post added at 10:23 PM ---------- Previous post was at 10:21 PM ----------

ask one question at the time and make it short..if possible. Because of my short attention span :) good luck.
[Galaxy Tab S Android Development] :
Absolutly correct. I just want to add: [MENTION=631273]Chainfire[/MENTION]s SuperSU is optional, and if you install it, you can ceck the box "honor cm's root settings" (in SuperSU settings), then supersu will behave like [MENTION=617884]Koush[/MENTION]'s cm-buildin superuser.

Titanium (I own AND use it ;) ) is working on both (tb is warning about superuser, but it is working perfectly). But there are apps, that are only working with SuperSU: i.e. LiveBoot.
[Galaxy Tab S Android Development] :
BOJ1 is a lollipop bootloader. If you have a more current one at hand, use it, but the BOJ1 version is working for lollipop based rom's as well as for kitkat based roms.

To be honest, as a linux user I use heimdall - I don't even remember, when I have used odin on win. I belive to remember to pit the tar.md5 file in the AP field.

[MENTION=231785]odin[/MENTION]-users: Would you please confirm this: to flash a bootloader, you put sboot-bin.tar.md5 in the field named "AP"?

Yes.

I've never tried, but theoretically it should work. You have to enable root in dev-settings, cause for an playstore SuperSU install, you need to be on a rooted device.

I would look in [MENTION=631273]Chainfire[/MENTION]s thread for beta versions and https://download.chainfire.eu/696/SuperSU for latest release.

That's exactly what I do.

Never done that, but as long as flashing stock opengapps package would put gmail (just an example) in /system/app, I think, installing gmail from playstore and changing it with tb to a system-app, would be the same. Would be nice, if you report back, if it's working.

Sidenote on twrp: I recommend the unofficial build from [MENTION=4899305]ashyx[/MENTION]. If you plan using f2fs on cache- and data-partition, [MENTION=4899305]ashyx[/MENTION] version is the most comfortable way I can think of.

Hopefully (with [MENTION=7000441]zigonneux[/MENTION] and my attention span combined ;) (*) ) all your questions are answered.

Happy flashing! ;)

(*) Thanx for your help and answers here and in the pfficial thread!
[Galaxy Tab S Android Development] :
Build 20160123

No changes in device-tree and kernel - just a maintain-release with all the cm changes (12:00 h GMT).

ROM: https://github.com/nvertigo/android...-20160123-UNOFFICIAL-nvertigo-chagallwifi.zip

MD5: b65a084022752fd753ac5286b7085352

Happy flashing!
[Galaxy Tab S Android Development] Claw22000:
Just thought I would let you know that know that it does make the a difference in the audio syncing up a bit better. Without Bluetooth it no longer has the issues. But With Bluetooth it does. The Bluetooth also doesn't cut out as much but it does still do it.

Rom is very fast and smooth to the feel. Love all the bloat being gone.

I did manager to get TiBu to get apps to go to system. However it will hang with you do. Just make sure that you wait at least 5 minutes then force close it. Reboot and the app is system. Kinda irritating but works.

I can confirm that there is a bit of a heat issue that was not their before the rom. Don't know why but if its anything like a PC might not have it lowering the processor speed when its idle. Just a suggestion.

Hope that helps you with more updates Keep'em coming.

DrClaw
[Galaxy Tab S Android Development] :
I would be interested to know, in which circumstances (way of flashing, installed apps and mods, exact test case to reproduce and - of course - a logcat from the timeframe when the issue occured) you had audio issues. Because everything but bt-audio with 2.4GHz wifi active was working before.

Yes it is: was back to stock to check bt-audio some weeks ago: if you go this way (from cm to stock) it is shocking, how laggy stock is....

Congrats. Good to know.

Would you describe the heat issue a bit mote, please?

On 0113 I had once the following: device was heating up (directly at the samsung logo on the plastic case) and bat drains nearly twice as fast as normal on use and roughly twenty times as normal on screen off with jo deepsleep at all. When looking at the logcat, I found that the sensors was going nuts (you can't miss that in logcat: two lines per sec... After a reboot I wasn't able to reproduce that again.

I appricciate every feedback! For debugging purpose it would be very helpful to provide a detailed description of circumstances and test-case to reproduce the issue and - most important - a logcat. You can consult posting #2.
[Galaxy Tab S Android Development] Claw22000:
I'm sorry I didn't realize you preferred the bug reports go to the q and a section. Will do that from now on in the future.

DrClaw
[Galaxy Tab S Android Development] :
The q&a thread was autogenerated. I'm not happy at all with that, 'cause I have to watch two threads, instead of one - users have to search two threads, instead of one. :( I refered to tne q&a thread, because I don't want to write the same info to two places. :( But that's the way it is. Personally I would prefer this thread.

Anyway, the most helpful bug reports are those, which authors consider posting #2 in this thread!
[Galaxy Tab S Android Development] Bonito77:
Perhaps a newbie question, why it have to be two ? Also difficult to follow both.

Is it one of the great new forum-rules the last years why activities some older users are limited to only reading.
[Galaxy Tab S Android Development] Claw22000:
I have a 5Ghz AC Router so I'm on 5G and love it because I'm the only person in the neighbor hood with it. I installed with just Gapps Nano. I do not run xposed. I would say I paired up maybe about an hour or so in to the installing all my apps process and it was immediate. I'm not at home but I will follow the process when I get a chance, to get you a logcat. I don't remember the order I installed my apps but would it help to at least have a list of them?

It was on the previous build I dirty flashed the update yesterday so I will wait and see if it makes a difference.
[Galaxy Tab S Android Development] zigonneux:
report on the latest: 20160123. No abnormal heat on the samsung logo while using antutu benchmark a couple of time to stress the device. ( score 51 977 ) no abnormal battery drain... sorry to burst your bubble DrClaw . Anything in particular that bring that heat to your tablet so that I can check it out ?
[Galaxy Tab S Android Development] Claw22000:
The update seems to have solved it so far. Even better battery than before. I'll report more over the next week.
[Galaxy Tab S Android Development] Hookmt:
Wow, what a great ROM. Set it up and even added my favorite BlackKat theme to give me a very dark settings panel. Nice lack of bloat. Very responsive. I'm happy to have a very stable alternative to TouchWiz. Thank you for all your hard work.
[Galaxy Tab S Android Development] Claw22000:
I think this is what you wanted. Logcat.text

https://onedrive.live.com/?cid=5bf6...2409&ithint=file,txt&authkey=!AP7xq8V003lYTs0

Let me know of it works
[Galaxy Tab S Android Development] :
I lost track: please tell me, what issue has gone, and what issue should I look in the logcat for?:confused:
[Galaxy Tab S Android Development] Claw22000:
The bluetooth is better but still needs taking as for heat I belive that's been solved.

DrClaw
[Galaxy Tab S Android Development] jjcdennis:
Really liking this ROM, other than the issues with MHL - no sound, wrong colors. I have no sound for sure, but colors looked OK? Just wondering if there will be an MHL fix for sound coming at some point?
[Galaxy Tab S Android Development] :
That is bery low on my priority list: we have working screencast.

The MHL implementation is samsung specific, and I have no idea how to fix it without reverse-engineering, which is very time consuming.
[Galaxy Tab S Android Development] jjcdennis:
I'd rather have this great ROM than give it up for MHL on a different ROM.

Thanks again for your help.
[Galaxy Tab S Android Development] :
"... to seek out knowledge of C, to explore strange unix commands, and to boldly code where no one has man page 4." Sven Goldt

Just a short status:

I've a build of cm-13.0: it's permissive; camera, gps, adaptive backlight is broken. Paths of ext-sdcard and usbstorage are strange and need some more love. Gyro and light Sensors are working,aswell as omx and drm. So it will take some Mord time, but the hardest part is done.

In github.com/CM-Tab-S look at chagallwifi device tree, Samsung vendor blobs and klimtwifi kernel. Each at branch cm-13.0
[Galaxy Tab S Android Development] zigonneux:
that damn camera is such a mystery to fix ... who will do it first ! :good: