yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S6] mikeyinid:
Here is what 1.2 looks like...I was using Viper4Android and forgot to remove it, so it's in there as well. It'll be fixed next time around.​

ROM FEATURES:
r1.2:
*Whole New Package - Will Flash On All Devices (ONLY WORKS ON 920T, 920W8 & 925T, 925W8(MUST FLASH OWN KERNEL))
*Added (Many) More APN's
*SELinux = Permissive
*Added init.d Support
*Disabled ALL Signature Checks
*Added sqlite3 Binary to system/xbin - needed to make changes to settings.db via updater-script
*Removed NFC Icon in Statusbar

r1.1:
*Changed updater-script to Allow Installation On All Devices
*Install From Unknown Sources Allowed By Default (Need someone to verify)

r1:
*ColorFade Memory Leak Fixed
*3minit Battery
*Remove Lockscreen Carrier
*USB Plug/Unplugged Disable Wake
*Removed Safe Volume Warning
*Enabled Call Recording
*Enabled Call & Message Blocking
*Removed Ongoing IME Notification
*Disabled Scrolling Cache
*Added Call Button to Logs
*Extended Power Menu
*Center Clock
*Removed Alarm, Bluetooth and Sound Icons
*Hidden Power Button on Status Bar Clock
*TWLauncher Left Swipe App Picker
*Remove Quickconnect & Sfinder from Pulldown
*Root|Busybox added

MORE STUFF I'VE PROBABLY FORGOTTEN...

DOWNLOAD​
[T-Mobile Samsung Galaxy S6] c_86:
LOVES!!! :)
[T-Mobile Samsung Galaxy S6] mikeyinid:
Hey guys. I'm curious to know what your opinion of the memory leak fix I've implemented. I've seen threads all over the S6 sections talking about poor performance and memory leaks. Honestly, I don't have any issues with my phone. I did before I patched services.jar. I'm just wondering if it's better because of some of the stuff I've removed or if the patch really is helping.
[T-Mobile Samsung Galaxy S6] ethan.r.besbris:
Dirty flash OK?
[T-Mobile Samsung Galaxy S6] mikeyinid:
Yup, it'll be fine.
[T-Mobile Samsung Galaxy S6] c_86:
installing scared me a bit...

thought it was hung up...

first message that came was failed to unmount /system (not in red)

then it said installation and seemed to take about 2-3 mins... normally its faster but w/e

this time it installed fine, no issues with failing to mount system... just waiting for the boot now...

FYI that debrand boot animation etc worked for me... gave me the international boot up and sound
[T-Mobile Samsung Galaxy S6] mikeyinid:
It takes a long time to flash, and depending on if you did a dirty or clean install it can take forever to boot as well.
[T-Mobile Samsung Galaxy S6] c_86:
Thanks

Booted up fine. but having FC issues with gapps and play services... thoughts?
[T-Mobile Samsung Galaxy S6] mikeyinid:
Can you get into the play store? If you can, update anything that needs updated. If you can't, go back into recovery and wipe cache.
[T-Mobile Samsung Galaxy S6] c_86:
i did wipe cache before booting the first time... meaning, i flashed the ROM, kernel, debrand zip, wiped caches, and rebooted... went thru the optimizing apps, and i opened playstore and there were a couple things that needed to be updated, but nothing related to google play services

EDIT: hold up... had to reboot again, and got a prompt to update services... stand by
[T-Mobile Samsung Galaxy S6] mikeyinid:
Is it a looping fc, or just occasionally? It use to happen to me but updating everything in play store fixed it. I flashed it (dirty) and didn't have any issues. Maybe you're gonna have to do a clean install...
[T-Mobile Samsung Galaxy S6] c_86:
looping FCs on both. gapps and google play services... waiting for the updates to finish then I will report back
[T-Mobile Samsung Galaxy S6] ethan.r.besbris:
No issues here. Dirty flashed. Cleared cache a bunch before rebooting/installing any mods.
[T-Mobile Samsung Galaxy S6] -Mr. X-:
its a fc on app open for pretty much anything google thats built into the system, Now launcher which i use doesnt fc. I am waiting for it to update and the system to calm down. then i will check what logcat has to say for you.
[T-Mobile Samsung Galaxy S6] lizaSB:
You can download the newest versions of the core gapps from apk mirror via browser. Play store, services and web view, that should fix your issues with force closes

Nice work [MENTION=2918779]mikeyinid[/MENTION] . Heading home and looking forward to flashing this later
[T-Mobile Samsung Galaxy S6] c_86:
I just decided to wipe and start fresh. So far so good.
[T-Mobile Samsung Galaxy S6] -Mr. X-:
LOL not me, CSC is only deploying Chinese and Korean as the set up languages. SO i did a wipe and a fresh install of this rom, and i'm lost haha.
[T-Mobile Samsung Galaxy S6] MaliceOmega:
working

dirty flashed and everything is working well here. any chance the Alliance rom guys will lets you steal some of the tweaks from his rom? flashed his to check it out and it works pretty well. its not as smooth as this rom is tho. thanks for the upload dude:good:
[T-Mobile Samsung Galaxy S6] -Mr. X-:
The csc does alot of these tweaks and can be deployed easy enough. some one did a write up on it.

http://xdaforums.com/tmobile-galaxy-s6/general/mod-csc-feature-editing-t3107056

Sine the CSC is not detecting the Telus device i have, its not executing any of the CSC on a fresh flash so i get displayed very little defaults. thus why i am stuck on Korean and chinese as the only languages on first boot on a clean flash. I can manually fix this thought.
[T-Mobile Samsung Galaxy S6] mikeyinid:
WTF? Why would it be doing that?
[T-Mobile Samsung Galaxy S6] MaliceOmega:
i didnt see some of the stuff i was talking about through that link. its small stuff i.e. adding am/pm in the statusbar clock, custom carrier text, double tap to wake would be neat (although redundant with the home button, lol), color theming for status bar and pulldown, custom options on thr power menu, etc.

this rom does have the custom battery icons however, which alliance is lacking atm.

either way, i was complaining just tossing some ideas out there. perhaps a few others would like to see these implemented. i apprciate the hard work OP, i look forward to this development thread :victory:
[T-Mobile Samsung Galaxy S6] -Mr. X-:
I have a feeling the CSC is the culprit. Back in the S2X days i had to make custom csc packages for all my flashers, or make the built in csc universal.

wasnt sure if this was still a thing since ive been on CM since cm9 but coming back to TW roms i see its still derpy in the CSC areas :)

Edit: Incase for some reason they turn out to be needed for Us Canucks, I have zipped and attached the CSC files for the W8 Variant

If this becomes a staggering issue, I'll see what i can do about making something flashable for us.
[T-Mobile Samsung Galaxy S6] mikeyinid:
I can just combine the T-Mo and Canadia apn list. I took the one from CM, which has usually worked for me in the past. Not sure why it wouldn't work now.
[T-Mobile Samsung Galaxy S6] -Mr. X-:
Nah its not that, that works and thanks for that ;)

Its the CSC folder, and the rest of the CSC bits. It sees that my Device code in NV is TLS and nopes out and does nto deploy any of your configurations in the csc and they are all looking for TMO in the NV
[T-Mobile Samsung Galaxy S6] mocsab:
I cleared Cache and and the flashing took forever - like the previous guy - I started getting nervous - Mikey you might want to say something in the OP (in case any one decides to read it before flashing - :) )

as for memory leaks and stuff - my phone has been awesome on your rom - I don't have any measurement I can point to say this is specifically what it was before or after - but the battery life is good - the rom is smooth and very responsive - couldn't ask for more.

thanks for everything -
[T-Mobile Samsung Galaxy S6] -Mr. X-:
Let me poke at this more [MENTION=2918779]mikeyinid[/MENTION] i am not entirely convinced its your problem so dont change anything yet.
[T-Mobile Samsung Galaxy S6] vido4eva:
i jus bought my s6 last week and now im looking to root and flash a good rom.. i just want to know how stable this is cuz i been reading this forum and some ppl got issues and some dont.. and i want to know if its just the tmobile bloat thats gone cuz i use the other bloat lol
[T-Mobile Samsung Galaxy S6] -Mr. X-:
So how long are we taking for boot here on a fresh flash. I did a full repartition wipe this time around. been about 10 min now on the Samsung screen. Should i bail out or hang in there?

I think the included kernel may not be booting the system on my W8...
[T-Mobile Samsung Galaxy S6] guaneet:
Included kernel didn't boot up for my as well. I have to flash a kernel after flashing the rom. It is stated in the changelog to flash your own kernel
[T-Mobile Samsung Galaxy S6] -Mr. X-:
Thanks, I was trying to flash it unadulterated to track down my korean only issue on boot. I flashed koontz kernel and am trying again

The Koontz kernel has done it i see logcat now. will wait for boot
[T-Mobile Samsung Galaxy S6] mikeyinid:
10 is to long. 3 to 4 is typical

really? I figure one thing out and break another. Smh

Lame. I'll see what i can do.
[T-Mobile Samsung Galaxy S6] mikeyinid:
I came I'm to tell you guys deep sleep is broken even with the SU beta. Another thing I broked
[T-Mobile Samsung Galaxy S6] lizaSB:
I flashed the stock rom as a base a while ago and apns were deployed correctly for me (albeit a slightly incorrect version). So Mikey definitely was already using the right apn-conf.

Where I ran into issues was with "resting to default" apns, but I used the CSC folder from w8, tried again and everything has been fine since
[T-Mobile Samsung Galaxy S6] c_86:
Can someone test the stock email app and add a exchange?

I have been trying to add mine all day and it gets stuck on "checking incoming server" and never goes beyond that... not sure what is going on.... worked on all previous ROMs i have used

EDIT: got it working... ugh

also... i would like to add my thoughts on the memory RAM issue

it seems to be on par with the last ROM i was using which was xtremelite, or whatever its called... and I seemed to have been getting better memory on that... but then again it has less samsung bloat on it compared to this ROM... But it seems to be OK.... the system is still taking about 1GB of RAM... Not sure if the patch you applied is from the european s6 that was posted a couple days ago, but ya

as well, deep sleep is working for me... but i am running KT kernel, so I cannot speak on whether it is or not on the stock kernel you have provided...
[T-Mobile Samsung Galaxy S6] c_86:
Curious... Is there anyway to get the stock battery icon back. I don't like the one with this ROM.
[T-Mobile Samsung Galaxy S6] drakegao:
somehow it didn't boot up after I flashed the 1.2r, I flashed my tmobile kernel on my edge, but it is not booting up like 1.1 did, it stays on samsung logo screen.
[T-Mobile Samsung Galaxy S6] Lmax579:
I tried to screen mirror with my TV but it says it can't because of a hardware, what can it be?
[T-Mobile Samsung Galaxy S6] mikeyinid:
Im sorry you guys are all having issues. I'll get everything figured out asap.

On another note. I have a feeling the multi tasking will never be fixed on this device. Messing around with stuff tonight I realized Samsung gave the phone a vnswap of over 1gb. And, set the swapiness to 130, if that's even possible. I made mine 512mb, reduced swapiness to 50, and a few other things. Ram usage is obviously higher but my phone seems happier. Gonna run it like this a few days and see what happens.
[T-Mobile Samsung Galaxy S6] c_86:
anyone else having issues with micro lag in tapatalk? just doesnt seem smooth...
[T-Mobile Samsung Galaxy S6] mikeyinid:
Nope. No issues here ?
[T-Mobile Samsung Galaxy S6] mocsab:
Lost Deep Sleep

I flashed Looper 1.2 - and noticed this morning that I wasnt getting deep sleep - I tried the flashable fix for deep sleep and it didn't work - tried the original method - flash stock recovery - flash twrp - etc - that didn't work either - still not getting deep sleep in CPU Spy - -any suggestions?
[T-Mobile Samsung Galaxy S6] mikeyinid:
I've fixed it. Depending on how busy I am at work I'll upload a new zip with (hopefully) a few fixes.

Those of you that it wouldn't boot for, what device do you have? I know one of you is a W8 and one is a 925T. Anyone with 920T not able to boot?
[T-Mobile Samsung Galaxy S6] mocsab:
Thanks..as always I appreciate your help. Rom booted fine for me by the way..on G920t..only issue was deep sleep Which you said will be fixed with next update. Thanks again!
[T-Mobile Samsung Galaxy S6] mikeyinid:
I spent probably 10 hours yesterday researching lowmemkiller, and general android ram management. One of the main things I learned is not to trust what the device tells you concerning free/available ram. If you look in app manager/running apps you'll typically see 800mb-1.2gb free, depending. But, if you open a terminal and run from a root shell "cat /proc/meminfo" (without quotes), you'll see that your device probably only really has 50-100mb free, sometimes less. Plus, it has a vnswap close to 1.3gb that is probably close to full. We're lucky in one aspect. vnswap is a frontend swapping mechanism meaning it has logic and can choose what it accepts, and what it doesn't. The problem with swap is that once something goes there, it's almost never used again. If it is, it's been compressed to slower memory and becomes useless for the multi-tasker. I think the issue we're seeing with apps being killed is really not Samsung, but Google's fault. Look through any device forum here and you'll see no shortage of people complaining about Lollipop and it's memory management issues.

What happens is, every app/process in Android is assigned an oom_adj value, which indicates the likelihood of it being killed when an out of memory (OOM) situation occurs. The higher it's value, the higher likelihood of it getting killed. Valid range is -17 to +15. (if in the -17 range means it won't get killed). I think Lollipop is giving apps/services to high a value and no matter what we do on the stock firmware, where we cant really get into the framework unless you're a smali guru, we're screwed. When we get AOSP/CM it'll be different.

Don't get me wrong, swap is a good thing. But on a device with 3gb RAM, a 1.3gb swap with a swappiness of 130 doesn't make sense. I changed my swap to 512mb with a swappiness of 50. Here is my memory status after 8 hours uptime:

root@zerofltetmo:/ # cat /proc/meminfo
cat /proc/meminfo
MemTotal: 2761904 kB
MemFree: 65568 kB
Buffers: 2744 kB
Cached: 367700 kB
SwapCached: 15260 kB
Active: 748192 kB
Inactive: 812844 kB
Active(anon): 596516 kB
Inactive(anon): 604012 kB
Active(file): 151676 kB
Inactive(file): 208832 kB
Unevictable: 8096 kB
Mlocked: 0 kB
SwapTotal: 545872 kB
SwapFree: 27016 kB
Dirty: 164 kB
Writeback: 0 kB
AnonPages: 1184868 kB
Mapped: 212284 kB
Shmem: 1800 kB
Slab: 114784 kB
SReclaimable: 41304 kB
SUnreclaim: 73480 kB
KernelStack: 32512 kB
PageTables: 55360 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 1926824 kB
Committed_AS: 126599268 kB
VmallocTotal: 251658176 kB
VmallocUsed: 259864 kB
VmallocChunk: 247561792 kB

Multitasking has neither improved or gotten worse. But, my device seems to be much smoother. Maybe it's my imagination, maybe not. I added some other init.d tweaks concerning the handling of memory as well. While I slept, 8ish hours, my phone lost 4%. I'm impressed.
[T-Mobile Samsung Galaxy S6] mikeyinid:
Here is a fix for deep sleep. Remove the .pdf extension (did that so I could attach it), paste it into system/etc/init.d and set permissions to 755, reboot. [MENTION=4218716]mocsab[/MENTION]
[T-Mobile Samsung Galaxy S6] RANDYRKELLY:
When I click it I get a not found or error
[T-Mobile Samsung Galaxy S6] lookylookitzadam:
Because your browser is trying to load it as a PDF, however it is not a PDF and only linked as such to allow upload on this site.
[T-Mobile Samsung Galaxy S6] -Mr. X-:
I'll wait for the next test and try that one. I didnt get far last night i got side tracked and had to make some calls so i flashed back to my backup.
[T-Mobile Samsung Galaxy S6] mikeyinid:
right click and save as. if you're using your phone long press and save link.
[T-Mobile Samsung Galaxy S6] mikeyinid:
I'm gonna look at the EU multi CSC setup and see if I cant make that work for us. I won't have time to get an aroma package together for a few weeks, the salmon are running so I'll be MIA real soon :good:
[T-Mobile Samsung Galaxy S6] mikeyinid:
This is after letting my phone sit for an hour...notice the swapfree value...

C:\Users\Michael>adb shell
shell@zerofltetmo:/ $ su
su
root@zerofltetmo:/ # cat /proc/meminfo
cat /proc/meminfo
MemTotal: 2761904 kB
MemFree: 63412 kB
Buffers: 3880 kB
Cached: 342672 kB
SwapCached: 15552 kB
Active: 678436 kB
Inactive: 751912 kB
Active(anon): 548376 kB
Inactive(anon): 548596 kB
Active(file): 130060 kB
Inactive(file): 203316 kB
Unevictable: 8096 kB
Mlocked: 0 kB
SwapTotal: 545872 kB
SwapFree: 416 kB
Dirty: 192 kB
Writeback: 0 kB
AnonPages: 1077924 kB
Mapped: 183392 kB
Shmem: 4608 kB
Slab: 114672 kB
SReclaimable: 41288 kB
SUnreclaim: 73384 kB
KernelStack: 30800 kB
PageTables: 51420 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 1926824 kB
Committed_AS: 115079736 kB
VmallocTotal: 251658176 kB
VmallocUsed: 254064 kB
VmallocChunk: 247561792 kB

Here is some info on zswap, which is enabled on our device by default. It looks like we'll need to find a good max_pool_percent
[T-Mobile Samsung Galaxy S6] RANDYRKELLY:
ok i'll try on my mobile device and move it. Thanks
[T-Mobile Samsung Galaxy S6] mikeyinid:
Hmm. I'm curious what people expect from multi tasking on their devices. If I'm switch from one app to another and it opens in the same place and doesn't have to reload from scratch I'm pretty happy.
[T-Mobile Samsung Galaxy S6] -Mr. X-:
This s what i expect and see working. I did some investigating ther telus rom was built 1 day after the tmo rom on the same tree so i am attempting to build a telus rom just to test. I scammed your services jar for my test i couldnt get my services jar to deodex. Im flashing it with 0 csc present to see if i still get Kor only.
[T-Mobile Samsung Galaxy S6] mocsab:
WOrked Beatufully - by the way, I noticed that I am having issues on my NOTE 4 with deep sleep - would this fix work universally? or is it only for S6? (I realize this is probably a dumb question...)
[T-Mobile Samsung Galaxy S6] mikeyinid:
Haha. No worries. Anyone can use anything from this. I do ot for my personal use and share because I know i dont like the stock setup.
[T-Mobile Samsung Galaxy S6] mikeyinid:
It'll work for any device having the same deep sleep issue provided the rom/kernel supports init.d I saw that the note 4, S5 and S4 are all having the same issue on lollipop. Samsung sucks.
[T-Mobile Samsung Galaxy S6] mocsab:
you come to the rescue again ! Copied it to my NOTE4 and it fixed the deep sleep issue there too - thanks for the help.
[T-Mobile Samsung Galaxy S6] -Mr. X-:
What are you using to deodex, My **** doesn't boot. Its probably the framework since i don't even get a samsung audio/ splash.
[T-Mobile Samsung Galaxy S6] c_86:
Curious... the swapfree values and all that, is that something in the kernel or the ROM?
[T-Mobile Samsung Galaxy S6] mikeyinid:
It's a *****. Use THIS, but you have to do it twice. Once for the arm64 stuff, then again for the arm stuff. Check the box that asks if you wanna transfer over the odexed arm stuff. Then move the app/framework/priv-app back to your system folder and run it again.

We can set it with init.d scripts, but it's technically kernel stuff.
[T-Mobile Samsung Galaxy S6] mikeyinid:
Here is the behavior I'm seeing with multi-tasking. Notice as long as I don't let the app go farther than 4 back it doesn't reload. There is no way to fix that either I'm afraid :(

https://youtu.be/QSvJrD9CyT4
[T-Mobile Samsung Galaxy S6] c_86:
ok, so if you change all that, and I use the KT kernel... would those values remain, or would the script take over and change those values regardless of the kernel?
[T-Mobile Samsung Galaxy S6] mikeyinid:
The script will override, unless settings from ktweaker are set AFTER the script runs during the boot process.
[T-Mobile Samsung Galaxy S6] c_86:
Good to know, thank you!
[T-Mobile Samsung Galaxy S6] xSunny:
Ok real quick dumb question, I tried the search does this work on the T-Mobile Edge, when I mean work I mean after flashing the edge kernel and call audio working.
[T-Mobile Samsung Galaxy S6] mikeyinid:
I've read all the documentation I can find on zswap. There are only 3 user configurable settings. max_pool_size which sets the maximum amount of RAM zswap can use. Another one I can't recall of the top of my head that sets the minimum compressed size for pages before they're sent to swap (there is a separate swap space). And the third being the type of compression zswap uses. By default it's set to lzo. LZ4 is another compression method which is faster but doesn't compress as much. So what zswap is actually doing is compressing and storing pages in RAM rather than sending them to swap. What this means is lower I/O activity but higher cpu activity.

I've been checking zswap and it NEVER writes to swap. So everything is being held in RAM. I've set it to dynamically use up to 50% of RAM (zswap is dynamic, it grows and shrinks depending on what its holding, but never grows past your max). With it set to 50% it never gets full, but apps are still being killed aggressively. I'll try a smaller number and see if I'm pushing stuff out with zswap, but I don't think that's the case. We may have to manually assign oob_adj values to apps to get them to stop being killed.

Sorry, I know this stuff is boring, the geek in me gets hyper focused on stuff like this and I don't stop til I fully understand it. Bear with me ?
[T-Mobile Samsung Galaxy S6] roger1955:
Everything good as advertised, except the headphone volume warning, still comes up. Thanks

roger1955

T-Mobile SM-G920T

32gb Black Sapphire
[T-Mobile Samsung Galaxy S6] mikeyinid:
Really? I haven't seen it in weeks...
[T-Mobile Samsung Galaxy S6] mikeyinid:
Changing zswap compression to lz4 crashes antutu... I wonder what that means...
[T-Mobile Samsung Galaxy S6] NJGSII:
Nah, reading this stuff is interesting for sure. Keep it up.
[T-Mobile Samsung Galaxy S6] mikeyinid:
Ok, I need some confirmation here. Say you're running through the same 7-8 apps and reboot. Is it normal for those apps to open in the same place again? Like, they weren't cleared from memory...
[T-Mobile Samsung Galaxy S6] NJGSII:
I can check that for you.

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

and nope they all for the most part restarted like I just opened them for the first time. Both of the stock browser and Chrome reloaded that last page I was on.
[T-Mobile Samsung Galaxy S6] mikeyinid:
Hmm. Ok thanks for checking. I wonder why I'm seeing that now. I mean, they're reloading. But they're not reloading like they're being opened for the first time. They're reloading the page I was on before a reboot.
[T-Mobile Samsung Galaxy S6] NJGSII:
Well the only odd behavior I see on some apps the they will not fully restate but reload from a different screen than I previously left the app at. I can't believe that this seemingly wasn't noticed during testing. It's completely inexcusable for a phone with 3GB of RAM to behave like this.
[T-Mobile Samsung Galaxy S6] mikeyinid:
It's not just this phone. Most of not all devices running stock oem lollipop are having the same problem.
[T-Mobile Samsung Galaxy S6] ThePagel:
+1

Just more noticeable on touch wiz roms
[T-Mobile Samsung Galaxy S6] c_86:
never had any issues on the LG G3 running CM12... i know its not AOSP but ya... on average i would have about 1.7 GB left after a fresh reboot and within 24 hours, it would hover around 1.4-1.5 GB free ram

I was expecting around the same with the s6, if not a bit worse just because of all the TW junk etc etc
[T-Mobile Samsung Galaxy S6] mikeyinid:
Keyword being CM. They've fixed all this crap were dealing with.
[T-Mobile Samsung Galaxy S6] c_86:
Oh i know... it just stupid how they have access to all the CM stuff and yet dont take advantage of the coding to fix the stuff that are issues... its not like to have to re-invent the wheel here lol