Ram Fix for Note5 - T-Mobile Samsung Galaxy Note5

Pre-req:
-Root
-some type of editor, if you are using root explorer it will have it own editor
-Decent knowledge of android file system
so in an attempt to fix this multitasking/Ram issue that is plaguing Samsung devices. I have come up with a fix for our devices (with the help of @mikeyinid)
1. open up root explorer
2.Navigate to /system
3.open up build.prop (keep in mind the file permission of the file, after you done editing you will have to change the file permision back rw-r-r)
4. paste in the following line at the bottom of your build.prop
ro.config.fha_enable=true
ro.sys.fw.use_trim_settings=true
ro.sys.fw.empty_app_percent=50
ro.sys.fw.trim_empty_percent=100
ro.sys.fw.trim_cache_percent=100
ro.sys.fw.bservice_enable=true
ro.sys.fw.bservice_limit=5
ro.sys.fw.bservice_age=5000
ro.sys.fw.trim_enable_memory=2147483648
2147483648 is the ammount of ram in bytes. so in this case 2gig
Check for the following
ro.config.dha_cached_max=
ro.config.dha_empty_max=
ro.config.dha_th_rate=
ro.config.dha_lmk_scale=
and delete them. I dont think it would be in there since 5.1.1 utilized FHA instead of DHA
5. edit the following line
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=256m
dalvik.vm.heapsize=512m
dalvik.vm.heaptargetutilization=0.50
dalvik.vm.heapminfree=4m
dalvik.vm.heapmaxfree=16m
ro.hwui.texture_cache_size=72
ro.hwui.layer_cache_size=48
ro.hwui.r_buffer_cache_size=8
ro.hwui.path_cache_size=32
ro.hwui.gradient_cache_size=1
ro.hwui.drop_shadow_cache_size=6
ro.hwui.text_small_cache_width=1024
ro.hwui.text_small_cache_height=1024
ro.hwui.text_large_cache_width=2048
ro.hwui.text_large_cache_height=2048
save and make sure to check permission reboot....follow up, let me know.
so far so good for me .

Thank you for this! I'm sure this information will spread fast.
With that said, I'm curious about something. With Samsung, in their infinite wisdom, this highly controversial issue could've been easily prevented with simple build.prop edits. But why didn't they do so? Why do you think they didn't follow through with this before launching the device? Could it be that "further" utilization of memory wouldn't have yielded them the battery life that it comes with, stock? Heck, I dunno. I'm gonna definitely try this though.
Thanks again!

Nihonno said:
Thank you for this! I'm sure this information will spread fast.
With that said, I'm curious about something. With Samsung, in their infinite wisdom, this highly controversial issue could've been easily prevented with simple build.prop edits. But why didn't they do so? Why do you think they didn't follow through with this before launching the device? Could it be that "further" utilization of memory wouldn't have yielded them the battery life that it comes with, stock? Heck, I dunno. I'm gonna definitely try this though.
Thanks again!
Click to expand...
Click to collapse
That's exactly why people are saying they are doing it for. For battery life

IMO, the reason Samsung doesn't make these simple changes is because doing so causes the device to slow and become laggy over time. So they're killing apps very aggressively to (in theory) keep the device running smooth. Anyone coming from the S6 will know that even with Samsungs default memory settings the device can still become slow and unuseable over time. So it's a tradeoff. I persoanlly prefer the multi tasking with a reboot or two a day over killing apps and having to reload every time you switch to an app. Also @ OP, the value you set for the trim setting, 2gb or whatever. What did you find that made you come to that value?

mikeyinid said:
IMO, the reason Samsung doesn't make these simple changes is because doing so causes the device to slow and become laggy over time. So they're killing apps very aggressively to (in theory) keep the device running smooth. Anyone coming from the S6 will know that even with Samsungs default memory settings the device can still become slow and unuseable over time. So it's a tradeoff. I persoanlly prefer the multi tasking with a reboot or two a day over killing apps and having to reload every time you switch to an app. Also @ OP, the value you set for the trim setting, 2gb or whatever. What did you find that made you come to that value?
Click to expand...
Click to collapse
Something is wrong if it needs to aggressively kill apps like it does to keep from lagging and needing a reboot. I mean android should be scrapping the earliest used applications from the ram as the ram is needed. Unused ram should have no affect on the system itself. You could have a badly coded app using a portion of ram but still bog the system down.
Having to restart once a day is going backwards to blackberry days when it was damn near in the manual to restart once a day.
I can see the savings in battery in regards to less cycles of the cpu when you aren't starting apps fresh everytime you want to run it
Sent from my SM-N920T using Tapatalk

pcriz said:
Something is wrong if it needs to aggressively kill apps like it does to keep from lagging and needing a reboot. I mean android should be scrapping the earliest used applications from the ram as the ram is needed. Unused ram should have no affect on the system itself. You could have a badly coded app using a portion of ram but still bog the system down.
Having to restart once a day is going backwards to blackberry days when it was damn near in the manual to restart once a day.
I can see the savings in battery in regards to less cycles of the cpu when you aren't starting apps fresh everytime you want to run it
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
The problem is Samsung is using DHA/FHA rather than Google's LMK. We know very little about the way Samsung is managing memory. From my observations, the device becomes slow/laggy when the swap gets full. Since Samsung is the only one still using swap that is another issue all by itself. Making swap larger than 1.4 GB does seem to extend the length of time it takes for the device to start lagging but it doesn't fix it. Getting rid of swap altogether creates a whole bunch of other issues. It's really been a nightmare trying to figure things out regarding memory management on these arm64 devices.

mikeyinid said:
IMO, the reason Samsung doesn't make these simple changes is because doing so causes the device to slow and become laggy over time. So they're killing apps very aggressively to (in theory) keep the device running smooth. Anyone coming from the S6 will know that even with Samsungs default memory settings the device can still become slow and unuseable over time. So it's a tradeoff. I persoanlly prefer the multi tasking with a reboot or two a day over killing apps and having to reload every time you switch to an app. Also @ OP, the value you set for the trim setting, 2gb or whatever. What did you find that made you come to that value?
Click to expand...
Click to collapse
I was googling around and find that it was implemented in other phone, and one of the number was a weird 10xxxxxxx number, so I google that number and it equates to 1gig so I take it as 1 gig of ram in bytes. Since note5 have 4 gig of ram I decided to put 2gig there, basically I'm shooting in the dark and hope that it works, so far its good, no random closure or reboot.

Nihonno said:
Thank you for this! I'm sure this information will spread fast.
With that said, I'm curious about something. With Samsung, in their infinite wisdom, this highly controversial issue could've been easily prevented with simple build.prop edits. But why didn't they do so? Why do you think they didn't follow through with this before launching the device? Could it be that "further" utilization of memory wouldn't have yielded them the battery life that it comes with, stock? Heck, I dunno. I'm gonna definitely try this though.
Thanks again!
Click to expand...
Click to collapse
well there are many reason why they implement this way. I think its because they are trying to maximize battery life, so if a phone screen is off, it means that the user are not using it so it force the app to shut down quicker, making the cpu going into deep sleep quicker therefore save battery life. It also suppose to make the phone seems quicker because its not being bother by unused process and ram.
TBH its a good implementation, regular user wont know a difference. I feel the issue is being pressed because XDA is full of nerds and they want their phone to be equally as good as a regular Ubuntu desktop, why does one need to multitask 10-12 apps on a phone? doesn't make sense to me.

Chord_Hugo87 said:
I was googling around and find that it was implemented in other phone, and one of the number was a weird 10xxxxxxx number, so I google that number and it equates to 1gig so I take it as 1 gig of ram in bytes. Since note5 have 4 gig of ram I decided to put 2gig there, basically I'm shooting in the dark and hope that it works, so far its good, no random closure or reboot.
Click to expand...
Click to collapse
Lets take a step back. Try this line by itself:
Code:
ro.config.fha_enable=true
Also, from a root shell in terminal run:
Code:
cat /proc/meminfo
Paste the output here please.

mikeyinid said:
Lets take a step back. Try this line by itself:
Code:
ro.config.fha_enable=true
Also, from a root shell in terminal run:
Code:
cat /proc/meminfo
Paste the output here please.
Click to expand...
Click to collapse
I'll try it this afternoon, at work right now.

mikeyinid said:
Lets take a step back. Try this line by itself:
Code:
ro.config.fha_enable=true
Also, from a root shell in terminal run:
Code:
cat /proc/meminfo
Paste the output here please.
Click to expand...
Click to collapse
So are you saying ignore everything in the op and change/input that line instead and share results? Everyone or just the guy you are replying to?
Sent from my SM-N920T using Tapatalk

pcriz said:
So are you saying ignore everything in the op and change/input that line instead and share results? Everyone or just the guy you are replying to?
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
just to me. He wanted to see if those line are actually being utilized.
try mine, I already got one positive result on the international board. its not going to hurt your Note 5 just be smart, make a copy of your build.prop.

pcriz said:
So are you saying ignore everything in the op and change/input that line instead and share results? Everyone or just the guy you are replying to?
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
Chord_Hugo87 said:
just to me. He wanted to see if those line are actually being utilized.
try mine, I already got one positive result on the international board. its not going to hurt your Note 5 just be smart, make a copy of your build.prop.
Click to expand...
Click to collapse
Actually, I was saying to try the single line as I'm finding the others aren't necessary. I am also curious how big your swap partition is since you guys have 4gb RAM as opposed to our (S6) 3gb RAM.

Chord_Hugo87 said:
just to me. He wanted to see if those line are actually being utilized.
try mine, I already got one positive result on the international board. its not going to hurt your Note 5 just be smart, make a copy of your build.prop.
Click to expand...
Click to collapse
mikeyinid said:
Actually, I was saying to try the single line as I'm finding the others aren't necessary. I am also curious how big your swap partition is since you guys have 4gb RAM as opposed to our (S6) 3gb RAM.
Click to expand...
Click to collapse
I'll give the single line a run first. Once I get home I will take the path from the op.
I used to run these back on my Note 4 but since there was a lot of questions early on in regards to if they were actually benefitting the Tmo variant I kind of let it slip to the way side..
---------- Post added at 01:16 PM ---------- Previous post was at 12:46 PM ----------
mikeyinid said:
Actually, I was saying to try the single line as I'm finding the others aren't necessary. I am also curious how big your swap partition is since you guys have 4gb RAM as opposed to our (S6) 3gb RAM.
Click to expand...
Click to collapse
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ su -
[email protected]:/ # cat /proc/meminfo
MemTotal: 3774240 kB
MemFree: 76840 kB
Buffers: 23168 kB
Cached: 1669628 kB
SwapCached: 0 kB
Active: 1091312 kB
Inactive: 1636256 kB
Active(anon): 682412 kB
Inactive(anon): 361952 kB
Active(file): 408900 kB
Inactive(file): 1274304 kB
Unevictable: 8440 kB
Mlocked: 0 kB
SwapTotal: 1310716 kB
SwapFree: 1310716 kB
Dirty: 8 kB
Writeback: 0 kB
AnonPages: 1043252 kB
Mapped: 502128 kB
Shmem: 1152 kB
Slab: 105228 kB
SReclaimable: 35888 kB
SUnreclaim: 69340 kB
KernelStack: 40880 kB
PageTables: 47476 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 3197836 kB
Committed_AS: 117508580 kB
VmallocTotal: 251658176 kB
VmallocUsed: 289752 kB
VmallocChunk: 247561600 kB
[email protected]:/ #
Click to expand...
Click to collapse
Sent from my SM-N920T using Tapatalk

pcriz said:
I'll give the single line a run first. Once I get home I will take the path from the op.
I used to run these back on my Note 4 but since there was a lot of questions early on in regards to if they were actually benefitting the Tmo variant I kind of let it slip to the way side..
---------- Post added at 01:16 PM ---------- Previous post was at 12:46 PM ----------
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
Hmm. It's interesting Samsung went with the same size swap Note5 despite the device having more ram. Also, had you just reboot when you ran that?

mikeyinid said:
Hmm. It's interesting Samsung went with the same size swap Note5 despite the device having more ram. Also, had you just reboot when you ran that?
Click to expand...
Click to collapse
Added the line and then performed a reboot, so Yes
Sent from my SM-N920T using Tapatalk

pcriz said:
Added the line and then performed a reboot, so Yes
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
this is before the build.prop stuff?

Is anyone seeing improvements?
Sent from my SM-N920T using Tapatalk

personally i think that the guys testing this should and it should not be for the guys who dont know they way around the system well enough so they can recover with ease.

BACARDILIMON said:
personally i think that the guys testing this should and it should not be for the guys who dont know they way around the system well enough so they can recover with ease.
Click to expand...
Click to collapse
lol I did wrote that in the pre-req

Related

[Q] Where's the ram?

Probably a stupid question but why do I have so little ram showing? Right now I have 531 in total according to this:
Shouldn't it be nearer a gig?
No. The OS uses a good amount of it. As it should.
If you want to see more info on the memory, download an app called 'Quick System Info' free from the market.
I love how Asus included a screen capture utility with the Transformer. How do you use it to take a shot?
wynand32 said:
I love how Asus included a screen capture utility with the Transformer. How do you use it to take a shot?
Click to expand...
Click to collapse
Settings>Screen>check screenshot box ... hold the task button to capture.
stuntdouble said:
Settings>Screen>check screenshot box ... hold the task button to capture.
Click to expand...
Click to collapse
Awesome, thanks!
I noticed this too.
I downloaded and installed Quick System Info, but that shows total RAM as being 729MB !!!!!!!!!!!!
I spoke to Asus support about this, who didn't really have a clue! The girl there confirmed that their 1GB test model also showed the same RAM under settings (531ish), but didn't have quick system info.
She reckoned that the OS would be using the rest, although I didn't believe this. Surely system info would still report the RAM that the OS has reserved, but just show it as unavailable? Also, 295MB sounds like a lot for the OS to steal. They'd have no chance of installing Honeycomb on phones, that often only have 256 - 512Mb total RAM to start with!
She then tried to blame it on the different calculations that they use to calculate Gigabytes. This is usually down to taking 1mb to be 1000 kb, rather than 1024kb. To lose 295Mb out of 1024 would have to be one seriously optimistic calculation!
Anyway, if anybody can come up with a proper answer to this, I would like to know where the RAM has gone.
Does anybody have a Xoom to compare to? Surely that should show the same.
Don't forget that the GPU will be wanting some of that RAM as well, so we can maybe expect 128mb of ram to the GPU.
Sent from my Transformer TF101 using XDA Premium App
For the technically minded, this post should clear things up!
Regards,
Dave
Cool thanks
foxmeister said:
For the technically minded, this post should clear things up!
Click to expand...
Click to collapse
this post illustrate users and vendors story on Memory Free when its sold, and when enduser buy it.
Like getting a 1000GB Hardrive, you never get 1000GB out of it.
in our case the kernel can be configured to allocate what memory block size is allocated for gpu and vm.
but before all this happens, you machine do ineed have 1024MB memory.
I just double checked. This issue is also present on the Xoom.

Is it possible to have 1gb ram?

I am 100% sure that i have 1gb ram on my nexus s. When i bought my phone from wind they said it has 1gb ram. When i use any application that shows ram its 1gb. Airdroid too. Is this possible or am i going crazy?
Demaier said:
I am 100% sure that i have 1gb ram on my nexus s. When i bought my phone from wind they said it has 1gb ram. When i use any application that shows ram its 1gb. Airdroid too. Is this possible or am i going crazy?
Click to expand...
Click to collapse
a) you're crazy
or
b) you have a galaxy nexus instead of a nexus s
Demaier said:
I am 100% sure that i have 1gb ram on my nexus s. When i bought my phone from wind they said it has 1gb ram. When i use any application that shows ram its 1gb. Airdroid too. Is this possible or am i going crazy?
Click to expand...
Click to collapse
Lucky! I supposedly have 512MB of RAM...Most ROMs Show that I have 382MB of RAM. So maybe its a misreading? I'm not too sure. 1024MB of RAM sure does sound nice...What about your CPU? 1.2GHz?
ekerazha said:
a) you're crazy
or
b) you have a galaxy nexus instead of a nexus s
Click to expand...
Click to collapse
Well both my parents have a galaxy nexus so i know mine doesn't look like that. And i rooted it with tuts on nexusshacks so I must be crazy. xD, I did get it very recently though so did they come out with a 1gb version afterwards?
betoishly said:
Lucky! I supposedly have 512MB of RAM...Most ROMs Show that I have 382MB of RAM. So maybe its a misreading? I'm not too sure. 1024MB of RAM sure does sound nice...What about your CPU? 1.2GHz?
Click to expand...
Click to collapse
Well I am not using a rom , im stock and many apps and stuff say i have a full Gb. Also my cpu is 1GHz Samsung Hummingbird (ARM Cortex A8 + SGX 540) and everything else is exactly the same as everyone else , I have used my parents galaxy nexus's and they seem slower even though my parents don't install anything. Either way i just loooveee my phone. I guess im just lucky or something. (I got it from Wind Ca , that must be the secret)
Demaier said:
Well I am not using a rom , im stock and many apps and stuff say i have a full Gb. Also my cpu is 1GHz Samsung Hummingbird (ARM Cortex A8 + SGX 540) and everything else is exactly the same as everyone else , I have used my parents galaxy nexus's and they seem slower even though my parents don't install anything. Either way i just loooveee my phone. I guess im just lucky or something. (I got it from Wind Ca , that must be the secret)
Click to expand...
Click to collapse
Any way of getting a screenshot?
Settings --> Apps --> Running --> xxxMB used / xxxMB free
Give me those two numbers. After this we can do more investigation.
betoishly said:
Any way of getting a screenshot?
Click to expand...
Click to collapse
I could do a screenshot through airdroid. (It's an app to connect your phone to your computer)
tinypic,com/35a3h36,jpg <Change the commas to a periods
Harbb said:
Settings --> Apps --> Running --> xxxMB used / xxxMB free
Give me those two numbers. After this we can do more investigation.
Click to expand...
Click to collapse
Strangely they are 263 and 80 which clearly dont add up to 512 or 1024, i swear that during ics it said that they were 1024 and apps still seem to from my screenshot above. And i remember the employee saying it had 1gb
343mb is a typical amount provided by stock, around 50mb+ is kept by the system (codecs or something from memory? bigmem ditches most of it) and the rest is used by the GPU, overall adding up to 512mb of RAM, which is what's in your phone
That link 404's on me, so another would be appreciated. If you have busybox, download that and type in terminal emulator/adb shell:
free -m
and let me know what the numbers are.
Harbb said:
343mb is a typical amount provided by stock, around 50mb+ is kept by the system (codecs or something from memory? bigmem ditches most of it) and the rest is used by the GPU, overall adding up to 512mb of RAM, which is what's in your phone
That link 404's on me, so another would be appreciated. If you have busybox, download that and type in terminal emulator/adb shell:
free -m
and let me know what the numbers are.
Click to expand...
Click to collapse
Mem: 343 339 3 0 1
i47,tinypic,com/35a3h36,jpg
<commas are periods
Free indicates you have 343MB available (excluding reserved allocations). The pic you linked to is showing how much storage you have for apps, which is ~1GB. You'll see this in Settings --> Apps --> Downloaded --> Internal Storage (xxxMB Used, xxxMB Free). This is storage for apps you download from google play or sideload. Many of these can also be stored on the sdcard if you so choose.
Harbb said:
Free indicates you have 343MB available (excluding reserved allocations). The pic you linked to is showing how much storage you have for apps, which is ~1GB. You'll see this in Settings --> Apps --> Downloaded --> Internal Storage (xxxMB Used, xxxMB Free). This is storage for apps you download from google play or sideload. Many of these can also be stored on the sdcard if you so choose.
Click to expand...
Click to collapse
ohh, i knew what the 2nd option was that makes sense now thanks.

Expand your internal storage from 8GB to 11GB

Someone in the Intl forum has actually managed to increase the internal storage from 8gb to 11gb. I'm curious if it works for our att phones. Apparently, you can flash the PIT file via Odin and it works according to some people.
http://forum.xda-developers.com/showthread.php?t=2429309
are you sure about this to up-great memory 8gp up to 11 gb ??
This is for the international version. Flashing this to your device will almost certainly result in a brick.
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app
I am not sure this is a good idea. The "drive" in the Samsung Galaxy S4 is (like) an SSD as it supports TRIM.
There is a lot of open/update/close/delete going on which leaves lots of data to purge.
Lets say I write to a file called TEMP.TXTthe word hello. On the drive it writes this (simplified):
Drive *=in use/valid x=invalid but not purged e=empty
[*****eee][eeeeeeee]
Data:
[hello]
Now if I go and update TEMP.TXT to and change hello to seeya, it now looks like this:
Drive *=in use/valid x=invalid but not purged e=empty
[xxxxx***][**eeeeee]
Data:
[seeya]
So it doesnt update the block of data because it is "too expensive" performance-wise so it writes to a blank space.
*Expensive is read the data in that block, format/blank out the block, modify the buffer for the new data, write to block
*its always fastest to write to an empty block
On occasion, the drive will initiate a garbage collection stage which takes the invalidated areas of the drive and sets them back to blank
*Google TRIM SSD for in-depth SSD functionality
SSD are overprovisioned(OP) on purpose for performance reasons and longevity. This means if there is a 128 gig drive, it advertises 120 gig drive. The OP is like guaranteed blank area.
Now when the drive gets 85% full or more, it has that 8 gig read/write/update/delete available still and performance is still great
If you remove the OP and use the entire 128 gig, as it gets 85% full and more, the performance of the drive reduces as it is reading/writing/deleting to areas that are not blank so the drive tells the OS to wait while it gets the area ready and then the phone feels sluggish
I purchased android turner application and this has aTRIM feature. I scheduled that to run every 3 hours and it reports it clears anywhere from 24 meg to 3.89 gig. I let my buddy check out my phone to check out a game, and he goes "wow everything on your phone is so fluid". He has a Galaxy Note 2
Sorry for the rant
Capt said:
Someone in the Intl forum has actually managed to increase the internal storage from 8gb to 11gb. I'm curious if it works for our att phones. Apparently, you can flash the PIT file via Odin and it works according to some people.
Click to expand...
Click to collapse
Yeah...I think it might be a good idea to remove that link.
Red_81 said:
This is for the international version. Flashing this to your device will almost certainly result in a brick.
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
yeah bricked phone but with a lot of space
atari800 said:
I purchased android turner application and this has aTRIM feature. I scheduled that to run every 3 hours and it reports it clears anywhere from 24 meg to 3.89 gig. I let my buddy check out my phone to check out a game, and he goes "wow everything on your phone is so fluid". He has a Galaxy Note 2
Click to expand...
Click to collapse
Which app has the TRIM feature? The developer makes "System Tuner" and "Android Tuner". Which one did you get??
doug3673 said:
Which app has the TRIM feature? The developer makes "System Tuner" and "Android Tuner". Which one did you get??
Click to expand...
Click to collapse
ANDROID TUNER (Blue Android picture)
Start it up
Click on SYSTEM MANAGER
On the TOP bar thing, click FS TRIMMER
It will show /system, /data and /cache and at very bottom a button that says TRIM
Click it
you can also set it to apply on boot...but I have mine scheduled to run every 3 hours which is probably overkill but hey.... what the hell, right?
FYI, I have System Tuner and did not see TRIM in it. I didn't look very hard though. Was too busy being annoyed that System Tuner did not become what Android Tuner is. And Android Tuner is like 4x more expensive.
mattdm said:
Yeah...I think it might be a good idea to remove that link.
Click to expand...
Click to collapse
Why would he remove the link? Its up to the user to decide to use it or not. Censorship of links that are right here in xda is just plain silly.
Because some noob will come in here thinking it is a tutorial, go to that link, flash the file and brick their phone.
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app
---------- Post added at 10:28 PM ---------- Previous post was at 10:27 PM ----------
CZ Eddie said:
FYI, I have System Tuner and did not see TRIM in it. I didn't look very hard though. Was too busy being annoyed that System Tuner did not become what Android Tuner is. And Android Tuner is like 4x more expensive.
Click to expand...
Click to collapse
ANDROID TUNER
Not system tuner. They are 2 completely different apps
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app
graydiggy said:
ANDROID TUNER
Not system tuner. They are 2 completely different apps
Click to expand...
Click to collapse
Yeah, I know.
doug3673 said:
Which app has the TRIM feature? The developer makes "System Tuner" and "Android Tuner". Which one did you get??
Click to expand...
Click to collapse
rebel1699 said:
Why would he remove the link? Its up to the user to decide to use it or not. Censorship of links that are right here in xda is just plain silly.
Click to expand...
Click to collapse
I'm not talking about censorship; I'm talking about responsibility. It is irresponsible to post a promise like that and link to something that will almost certainly hard-brick any i337 on which it is flashed.
It will most likely fail to even flash...from what I've come up with we can't even flash our own pits (I've tried) they say successfully flashed but nothing else changes, a pit flash SHOULD delete all data on a phone and wipe the partitions/reset them...however with the s4...it just boots back up like the pit was never flashed
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4
There is always the chance that it will flash, though. Chance is not good with a $650 phone.
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app

Killing apps too aggressively?

Anyone else notice this?
For example. I'll open up chrome, go to a webpage, exit chrome, and then when I come back to chrome it starts reloading the page again. I've noticed it refreshes or restarts a ton of apps after I come back to them after a short amount of time and it never puts me where I last left off in the app. Even my two year old phones keep apps open longer.
What's up with this?
brian85 said:
Anyone else notice this?
For example. I'll open up chrome, go to a webpage, exit chrome, and then when I come back to chrome it starts reloading the page again. I've noticed it refreshes or restarts a ton of apps after I come back to them after a short amount of time and it never puts me where I last left off in the app. Even my two year old phones keep apps open longer.
What's up with this?
Click to expand...
Click to collapse
There is a thread about this problem... it sucks and hope sammy fixes this issue soon.
Video of the problem: https://www.youtube.com/watch?v=hUw9PUlFUF0
http://forum.xda-developers.com/galaxy-s6/help/s6-vs-m9-vs-iphone-6-t3083188
brian85 said:
Anyone else notice this?
For example. I'll open up chrome, go to a webpage, exit chrome, and then when I come back to chrome it starts reloading the page again. I've noticed it refreshes or restarts a ton of apps after I come back to them after a short amount of time and it never puts me where I last left off in the app. Even my two year old phones keep apps open longer.
What's up with this?
Click to expand...
Click to collapse
You have to setup your device properly then you have enough free ram for multitasking. Out of the box the system alone uses like 2gb+ of ram which is to much imo. Stock lollipop uses around ~500mb of ram. After all these years touchwiz is still a ramhog nr.1
Just some quick tips:
- use stock launcher from google or nova or other lightweight launchers
- deactivate facebook and messenger and almost every google app that you dont use
this alone will save you like 500mb ram alone. Everything else you'll find in the ram usage settings from there you can see what uses most ram and if you dont need it just deactivate or deinstall this ****.
vbauer86 said:
You have to setup your device properly then you have enough free ram for multitasking. Out of the box the system alone uses like 2gb+ of ram which is to much imo. Stock lollipop uses around ~500mb of ram. After all these years touchwiz is still a ramhog nr.1
Just some quick tips:
- use stock launcher from google or nova or other lightweight launchers
- deactivate facebook and messenger and almost every google app that you dont use
this alone will save you like 500mb ram alone. Everything else you'll find in the ram usage settings from there you can see what uses most ram and if you dont need it just deactivate or deinstall this ****.
Click to expand...
Click to collapse
Problem is that I did not have this problem on my Note 3(with lollipop 5,0) so why should I have it on the touchwiz "lite" on the S6? same RAM on both devices.
johanbiff said:
There is a thread about this problem... it sucks and hope sammy fixes this issue soon.
Video of the problem: https://www.youtube.com/watch?v=hUw9PUlFUF0
http://forum.xda-developers.com/galaxy-s6/help/s6-vs-m9-vs-iphone-6-t3083188
Click to expand...
Click to collapse
This issue is discussed in the other thread, but this one is appropriately named. The issue is driving me nuts, but I didn't find anyone else complaining until I saw this thread.
Bloat or no bloat, it's incomprehensible to me how you can't even have three apps running on a phone with 3 GB of ram. My OPO could easily have six or more apps running at the same time.
Well, my galaxy s6 is going back to T-Mobile. LG G4 here I come.
I don't think ram is the issue. I just checked: system is using 1.2gb of ram and apps using 400mb. I have over 1gb of free ram. That's a ton.
brian85 said:
I don't think ram is the issue. I just checked: system is using 1.2gb of ram and apps using 400mb. I have over 1gb of free ram. That's a ton.
Click to expand...
Click to collapse
they will fix this, I think it`s just some bad RAM management.. I love this phone so far so I belive that sammy will fix this on an update
johanbiff said:
they will fix this, I think it`s just some bad RAM management.. I love this phone so far so I belive that sammy will fix this on an update
Click to expand...
Click to collapse
I really like the phone too, but I'm constantly down to about 200-400 MB of RAM although I've removed most of the bloat and I'm not running any weird apps that I haven't used on other phones in the past.
Not too keen on rooting cause of all the warranty issues either...sure hope you're right about them fixing it.
You're not supposed to have free RAM...
Android’s operating system has its own native handler for assigning RAM to apps and making sure that all of it is being used in the most optimal way. In fact, Android purposely tries to keep apps loaded into RAM for better performance. RAM is fast, remember? On mobile devices, every bit of speed is critical for a good user experience, so keeping apps in RAM is actually a good thing.
Click to expand...
Click to collapse
http://www.makeuseof.com/tag/ram-boosters-task-killers-bad-android/
There definitely seems to be an issue with apps being closed too quickly but I don't think it has anything to do with the free RAM numbers you're looking at.
I wonder if there is anyway to submit something to samsung so they are aware of this issue. If this wasn't an issue, this phone would be nearly perfect.
incuvolta said:
You're not supposed to have free RAM...
http://www.makeuseof.com/tag/ram-boosters-task-killers-bad-android/
There definitely seems to be an issue with apps being closed too quickly but I don't think it has anything to do with the free RAM numbers you're looking at.
Click to expand...
Click to collapse
Thanks, I know this. Doesn't change the fact that my OPO had about 600 MB more free RAM at any given moment and multitasked like a champ.
Hope they'll fix it soon.
Really don`t think it`s the issue with to low RAM, I belive this is a management issue or a bug thats just kills the apps to quickly or even maybe lollipop 5,0,2 issue that samsung missed? I sent samsung a mail about it yesterday so hopefully they will contact me back.
I'd be very interested to know whether someone who has rooted and changed the minfree settings still experience the issues described here.
Also, did you receive any response from Samsung, Johan?
brian85 said:
I wonder if there is anyway to submit something to samsung so they are aware of this issue. If this wasn't an issue, this phone would be nearly perfect.
Click to expand...
Click to collapse
Call Samsung customer support. I did for the flash remaining lit, and they weren't even aware of it. We need to be notifying Samsung of these issues, not our carriers.
http://www.phonearena.com/news/Galaxy-S6-exhibiting-overzealous-RAM-management-report-users_id68745
made a tip to phone arena about this, hopefully Samsung will get some eyes open so they can fix this.
B.R
---------- Post added at 11:32 AM ---------- Previous post was at 11:06 AM ----------
Fruktsallad said:
I'd be very interested to know whether someone who has rooted and changed the minfree settings still experience the issues described here.
Also, did you receive any response from Samsung, Johan?
Click to expand...
Click to collapse
sorry no :\ but made a tip to phone arena about it and they announced it today so lets se what happens
http://www.phonearena.com/news/Galaxy-S6-exhibiting-overzealous-RAM-management-report-users_id68745
B.R
Same problem here. Sammy, please...
now also up on Sammobile site
http://www.sammobile.com/2015/04/28/poor-ram-management-affecting-the-galaxy-s6-and-s6-edge/
update is comming according to Samsung UK
just got this answer fron Sammy UK.
let`s see what will happen
johanbiff said:
just got this answer fron Sammy UK.
let`s see what will happen
Click to expand...
Click to collapse
Fingers crossed. Thanks johanbiff
Just a quick link to my S6 edge thread - also about same issue so we can all keep track of this
http://forum.xda-developers.com/galaxy-s6-edge/help/aggressive-ram-management-t3090492/page1
---------- Post added at 02:29 PM ---------- Previous post was at 02:22 PM ----------
johanbiff said:
now also up on Sammobile site
http://www.sammobile.com/2015/04/28/poor-ram-management-affecting-the-galaxy-s6-and-s6-edge/
Click to expand...
Click to collapse
Also Gizmodo India
http://www.gizmodo.in/indiamodo/RAM...he-Samsung-Galaxy-S6/articleshow/47083669.cms

S6 RAM Management (Possible Fix)

No idea if this works, just came across it and figured I'd point people to the discussion thread:
http://forum.xda-developers.com/tmobile-galaxy-s6/general/s6-ram-management-discussion-t3128229
Saw this as well. Wanted to see if this worked on the VZW S6 as well before taking the plunge.
Squintz said:
Saw this as well. Wanted to see if this worked on the VZW S6 as well before taking the plunge.
Click to expand...
Click to collapse
I looked into making the changes to the build.prop but ours is pretty different than the tmobile version. The instructions state that not all S6's will have the same lines to delete but they also mention that leaving duplicates will cause a bootloop. I don't feel like having to odin and wipe my phone if it doesn't work and at this point I cannot nandroid. I will wait for someone braver than I to post their results here :fingers-crossed:
Natef53 said:
I looked into making the changes to the build.prop but ours is pretty different than the tmobile version. The instructions state that not all S6's will have the same lines to delete but they also mention that leaving duplicates will cause a bootloop. I don't feel like having to odin and wipe my phone if it doesn't work and at this point I cannot nandroid. I will wait for someone braver than I to post their results here :fingers-crossed:
Click to expand...
Click to collapse
I did this on my s6 Edge Verizon running oe2... I didn't add the duplicate lines, I edited the existing code, and added the required additional lines. It has improve memory issue
Sent from my SM-G925V using Xparent Green Tapatalk 2
2swizzle said:
I did this on my s6 Edge Verizon running oe2... I didn't add the duplicate lines, I edited the existing code, and added the required additional lines. It has improve memory issue
Sent from my SM-G925V using Xparent Green Tapatalk 2
Click to expand...
Click to collapse
I added the lines and deleted the duplicate lines (was about 3 or 4 lines)
Did seem to do the trick.
**These are the lines i used and**
#MultiTasking Tweaks
ro.config.dha_cached_max=15 - duplicate line
ro.config.dha_empty_max=42 - duplicate line
ro.config.dha_empty_init=42 -duplicate line
ro.config.dha_th_rate=2.3 -duplicate line (maybe cant remember)
ro.config.dha_lmk_scale=0.545
ro.config.sdha_apps_bg_max=70
ro.config.oomminfree_high=7628,9768,11909,14515,16655,20469
Yep. I did the same thing, and I'm not getting as many redrawn at all. Apps are definitely staying in the state I left them instead if restarting. Very happy.
Scrub that.
My phone was sitting in my pocket for 10 minutes, and when I went back to the apps, they all restarted. I hadn't noticed this much before now, but it's annoying me now.
dknow101 said:
I added the lines and deleted the duplicate lines (was about 3 or 4 lines)
Did seem to do the trick.
**These are the lines i used and**
#MultiTasking Tweaks
ro.config.dha_cached_max=15 - duplicate line
ro.config.dha_empty_max=42 - duplicate line
ro.config.dha_empty_init=42 -duplicate line
ro.config.dha_th_rate=2.3 -duplicate line (maybe cant remember)
ro.config.dha_lmk_scale=0.545
ro.config.sdha_apps_bg_max=70
ro.config.oomminfree_high=7628,9768,11909,14515,16655,20469
Click to expand...
Click to collapse
Eh. I went for it. Just a heads up to others, there was only 1 duplicate value for me to delete, not the 3 or 4 that most people are reporting.
Not sure why the differences but my phone didn't get stuck in a boot loop :good:. I will try to remember to post back after using the phone for a bit to see if there is a noticeable difference.
Natef53 said:
Eh. I went for it. Just a heads up to others, there was only 1 duplicate value for me to delete, not the 3 or 4 that most people are reporting.
Not sure why the differences but my phone didn't get stuck in a boot loop :good:. I will try to remember to post back after using the phone for a bit to see if there is a noticeable difference.
Click to expand...
Click to collapse
Any update?
Squintz said:
Any update?
Click to expand...
Click to collapse
Thanks for the reminder!
Overall, switching back and forth between apps does seem faster. I haven't noticed any slow-downs after extended periods of time (2+ days without restarts). The phone doesn't run any hotter, battery life seems the same. Apps still reset after a while though, relay for reddit is something I use quite often but if I don't use it for a few hours it reloads.
I was hoping this would solve a slow-down issue that I am having where I am running spotify, waze, and textra's pop-up response (as a passenger of course). It didn't, the phone still slows down in this situation.
Overall, I don't see any downside to the tweak, so go for it.
Just a thought. Has anyone thought about using an apps2sd type of app to free up memory space? I remember having to do this years ago on an older phone (probably an older nexus)
Admittedly we shouldn't have to be doing this, but needs must.
grifforama said:
Just a thought. Has anyone thought about using an apps2sd type of app to free up memory space? I remember having to do this years ago on an older phone (probably an older nexus)
Admittedly we shouldn't have to be doing this, but needs must.
Click to expand...
Click to collapse
This doesn't make sense to me. How does installing the app on sd card effect ram?
Sent from my SM-G920V using Tapatalk
I think I've confused myself. I give up. This phone is an enigma. I wish it didn't have TouchWiz.
grifforama said:
I wish it didn't have TouchWiz.
Click to expand...
Click to collapse
Why did you buy it then or better, why didn't you return it?
grifforama said:
Just a thought. Has anyone thought about using an apps2sd type of app to free up memory space? I remember having to do this years ago on an older phone (probably an older nexus)
Admittedly we shouldn't have to be doing this, but needs must.
Click to expand...
Click to collapse
This literally has NOTHING to do with RAM. RAM does not equal storage space. What you are referring to is freeing up storage space -- again nothing to do with RAM. Secondly, there is no SD card space, so this does not even make sense to do on the GS6.
Now, I have a question for those who have edited the build.prop. Has anyone used Root Explorer to do so? Secondly, to avoid bootlooping, did anyone change permissions of the build.prop file? To quote someone from a different forum:
-Mr. X- said:
after editing make sure permissions are 0644 on it or you will boot loop.
Click to expand...
Click to collapse
Have you guys changed permissions to this? I want to mess around with my build.prop but don't want to boot loop because I'd have to Odin and it'd just be a hassle / annoying.
krelvinaz said:
Why did you buy it then or better, why didn't you return it?
Click to expand...
Click to collapse
Because there's no viable alternative.
grifforama said:
Because there's no viable alternative.
Click to expand...
Click to collapse
Sadly I agree with you. It sucks that on vzw we have to pick between choices that imo each have very negative things about them.
Sent from my SM-G920V using Tapatalk
droidfan1 said:
This literally has NOTHING to do with RAM. RAM does not equal storage space. What you are referring to is freeing up storage space -- again nothing to do with RAM. Secondly, there is no SD card space, so this does not even make sense to do on the GS6.
Now, I have a question for those who have edited the build.prop. Has anyone used Root Explorer to do so? Secondly, to avoid bootlooping, did anyone change permissions of the build.prop file? To quote someone from a different forum:
Have you guys changed permissions to this? I want to mess around with my build.prop but don't want to boot loop because I'd have to Odin and it'd just be a hassle / annoying.
Click to expand...
Click to collapse
I changed my build.prop file using root explorer (long click and edit in text editor)
When I saved it, it gave it the right permissions as far as I could see. It also backs up the original file as well.
---------- Post added at 05:43 PM ---------- Previous post was at 05:30 PM ----------
krelvinaz said:
Why did you buy it then or better, why didn't you return it?
Click to expand...
Click to collapse
Also, I trusted Samsung to have given some thought to memory management themselves, and not have us figure it the f**k out. I thought I was done with this years ago.
My retired moto x on Kit Kat is far superior to this phone in many regards.
i'm just frustrated. This is an expensive-assed phone, and it looks like we are being treated as guinea pigs. Not a pleasant feeling.
Just did this and restarted, phone seems to be a little snappier though my RAM still shows pretty low. System is taking up 1.3gb down from 1.4gb and my free is hovering around 800 mb. still not ideal but not terrible.
falcon589 said:
... though my RAM still shows pretty low. System is taking up 1.3gb down from 1.4gb and my free is hovering around 800 mb. still not ideal but not terrible.
Click to expand...
Click to collapse
Curious, what is your idea of ideal?
krelvinaz said:
Curious, what is your idea of ideal?
Click to expand...
Click to collapse
Over 1gb free would be ideal. I dont have a lot of apps running besides a few email clients and messaging apps, and I'm running CleanROM as well.

Categories

Resources