Related
Okay guys,
I've tried the v6 supercharger and it didn't really help me too much. Even though I believe that modifies these files, I was curious if maybe tweaking them further would do anything.
Just got done reading this thread:
http://forum.xda-developers.com/showthread.php?t=622666
Decided to try messing with these values. The file in question is "lowmemorykiller" located (from the root dir) at sys/module/lowmemorykiller/parameters. You'll obviously need root and a file manager that has root and editing capabilites.
Opening this file will display 6 numbers seperated by commas. Each one of these refers to a minimum amount of memory assigned to different types of programs, processes etc before the memory manager will automatically close them.
My default numbers were:
7746,9720,11694,13742,15715,24709.
If you read the post in the link above, it will explain what each of these memory limits references. Don't change anything until you've:
A. Backed up your original file!
B. Understand exactly what you're doing (read the link above!).
For those that want to help me with this, try changing all of your values to the ones listed below. When you're done, the file should simply look like this:
2048,4096,5376,9984,11776,13312
Save these and see if it helps at all. I've noticed a bit better multitasking doing this. Most things like the browser or games are still loaded in memory when navigating back to them. I've noticed a few oddities, but overall I think its a slight improvement. Some apps still reload, but dont completely restart (such as the xda app). If nothing else, this is something we can start tweaking to find the perfect values for.
I AM NO DEVELOPER. That being said, I try to help myself and others as best as I can. Hopefully together we can all figure this out
Something to note: like the author stated in the other post, these values will probably be reset to the default values upon a reboot. This could theoretically be fixed by running an init.d script.
Dunno if this is anything or not, but I got tired of reading about the multitasking problems and wanted to at least see if there was anything we could do on our own.
PS this MIGHT be in the wrong subforum. Apologies if so mods!
EDIT: Use the autokiller app in the play store. Should make this 1000 times easier. Thanks for the (obvious) idea Tikerz! I should have known there was an app for this Make sure to check the "run on boot" option under preferences to preserve your changes!
EDIT #2: Found the default minfree numbers for both versions of the one X, as well as the stock ICS numbers:
STOCK ONE X AT&T:
7746, 9720, 11694, 13742, 15715, 24709
STOCK ONE X TEGRA:
8192, 10240, 12288, 14336, 16384, 20480
STOCK ICS 4.0.4 VALUES:
8099, 10132, 12165, 14213, 16245, 20295
These numbers are far too close to be the culprit, but there are at least two other files (that I've found) that control multitasking, as well as certain things at the kernel level. Gonna see what I can dig up...
To make it easier, try AutoKiller from the Play Store. I don't have a One X, but am curious to know if changing the lowmemkiller values would fix the multi-tasking issues on a rooted One X.
1. Those values will make it incredibly easy to run out of memory and you risk having more OS crashes by doing so.
2. V6 supercharger probably needs special mods in order to work right on ICS.
any suggestions as to what some better values would be? Like I said, I'm just experimenting until someone who knows more might chime in. I plan on continuously tweaking these just to see how it affects things
EDIT: Trying the "system default" memory settings inside Autokiller seems to be working pretty well so far. Gonna keep messing with it.
Loneeagle14 said:
any suggestions as to what some better values would be? Like I said, I'm just experimenting until someone who knows more might chime in. I plan on continuously tweaking these
Click to expand...
Click to collapse
I've got mine set to 8, 16, 21, 39, 46, 52 in AutoKiller. Or 2048,4096,5376, 9984, 11776, 13312 in pages. Multitasking is slightly better, but still far from perfect. I had originally set it to 8, 16, 21, 20,22,24, which yielded a much greater improvement to the multitasking abilities of the phone, however app performance suffered in some games.
Sent from my HTC One X using xda premium
Yeah that's what I'm currently running too. Seems to help a bit at least. Looks like it's finding a balance between multitasking and available ram I guess... Thanks for the input.
Sent from my HTC One X using Tapatalk 2
try use titanium backup to disable sense apps,
use a third-party launcher (nova launcher)
use system tuneup to adjust auto-kill memory level
it should help
What was the default HTC setting on the One X?
Well I posted my original numbers in the first post, but those might have been modified from running the v6 supercharger script. If nobody gets back to you ill factory restore and let ya know when I'm home later
Sent from my HTC One X using Tapatalk 2
I'm about to redo supercharger as well since I loaded 1.82. Fyi, I came across an app called no bloat that'll let you freeze or uninstall system apps and also back them up automatically when you uninstall. Other real nice thing is that it remembers these apps and creates a blacklist of apps so that if you factory reset, it's a one click to uninstall all of them again. I use to use tb for things like freezing and uninstalling but this has been really helpful.
Sent from my HTC One XL using xda premium
Fyi, default values for 1.82 are 7746,9720,11694,13742,15715,24709
Sent from my HTC One XL using xda premium
Thanks for confirming those for us.
What are the best values to put mine at?
Sent from my Awesome HTC One X using XDA
I dunno if there are any "best" values. Just something to experiment with to see if it helps you. Try downloading the app autokiller from the play store and setting the values to the "system default" setting from within the app. These aren't actually the settings currently on your phone and they seem to help a few people at least a bit. Let us know if it helps you.
Sent from my HTC One X using Tapatalk 2
im rooted and using autokiller but my settings wont stick through a reboot. have "set on boot" checked and evrything
wesc011 said:
im rooted and using autokiller but my settings wont stick through a reboot. have "set on boot" checked and evrything
Click to expand...
Click to collapse
Forgive me for asking the obvious, but you've granted the autokiller app superuser privileges? The modified settings stick through a reboot just fine for me...
Maybe try uninstalling and re installing the app? Sorry man, I'm just having trouble reproducing this.
EDIT: have you gone in with a file explorer and checked the values manually?
Loneeagle14 said:
Forgive me for asking the obvious, but you've granted the autokiller app superuser privileges? The modified settings stick through a reboot just fine for me...
Maybe try uninstalling and re installing the app? Sorry man, I'm just having trouble reproducing this.
EDIT: have you gone in with a file explorer and checked the values manually?
Click to expand...
Click to collapse
they're fine right now, but i ran the supercharger to set on boot so i'm assuming that changes them every reboot. might just get rid of the supercharger script as i haven't noticed much improvement
ah there ya go. Give that a try. I'll bet that'll be what it was. Let me know if this helps at all. This was just random (wishful) thinking, and mostly just something to mess around with to see. You might benefit from trying different values too
Which one are you using? I'm currently using the Pixel Experience with a launcher added and it looks awesome. Seems better than Xposed, which right now I'm using for the Youtubebackgroundplayback.
I am currently using one for Digital Well Being. It is a new thing that tells you how much you are in your device. You can also set timers for apps and stuff to help you take a break from the "Digital Life". It is mainly for Android Pie and only a handful of devices. But I am using Pie on my Motorola Z2 now.
I was using the Pixel Experience, but I was having issue with contacts FC everytime I opened it up.. did not start until that module was installed...
Cloudflaredns, busybox, energized, wifi-bonding.
Blex or Magic charging controller. VoEnabler, debloater, youtube vance, single user mod, and google san MOD font.
XPrivacy Alternative?
Sorry for the dumb question, but I haven't found much with my somewhat weak google-fu. Does anyone know of a Magisk module that works similarly to XPrivacy/XPrivacyLua? I mainly used it for location spoofing, and it did that really well. I've tried Smali, but I must be configuring/patching it wrong because apps never grab the location I've set in a fake GPS app.
Thanks in advance for any help!
SpoonThief said:
Sorry for the dumb question, but I haven't found much with my somewhat weak google-fu. Does anyone know of a Magisk module that works similarly to XPrivacy/XPrivacyLua? I mainly used it for location spoofing, and it did that really well. I've tried Smali, but I must be configuring/patching it wrong because apps never grab the location I've set in a fake GPS app.
Thanks in advance for any help!
Click to expand...
Click to collapse
Maybe a dumb question, but why not just use magisk xposed module and use xprivacy/xprivacylua?
Hi. I was carefully in ADB cutting bloatware this morning and while it looked fine, after restarting I'm getting a "still loading android" message on home screen. I can still access settings, and get to the play store and open apps that way, so it's no more than an inconvenience but...I'd like to have my full functionality back since clearly there's one thing I nuked that was a system needed file but didn't look like one.
I'm not comfortable rooting and maybe getting stuck with an $800 brick, so please keep suggestions limited to ADB modifications, yes I know they will still be in system partition but they will save on ram and battery usage at least. I'm planning to factory wipe to get my necessary files back, then would like a step by step what to kill from there.
I'm somewhat knowledgeable, know of Fdroid and sideloading APKs, and I know you don't need Google Play Services with that kind of knowledge.
Thanks in advance for your help!!
Instead of adb uninstalling you should have tried a package disabler... so if u disable something wrong you can still enable it. I m using package disabler pro and i have to say that my s8+ has reached somehow the perfection i needed. Very good battery life, very good performance.
Gogolakis said:
Instead of adb uninstalling you should have tried a package disabler... so if u disable something wrong you can still enable it. I m using package disabler pro and i have to say that my s8+ has reached somehow the perfection i needed. Very good battery life, very good performance.
Click to expand...
Click to collapse
Isn't this a paid service? And requires root? I can keep this in mind if I need to wipe anyway at least, if it doesn't require root.
There's no way to find out which one caused the issue then, is there?
Don't know if this thread may be of some use to you.
https://forum.xda-developers.com/galaxy-s8/how-to/s8-debloat-bloatware-thread-t3669009/page4
spawnlives said:
Don't know if this thread may be of some use to you.
https://forum.xda-developers.com/galaxy-s8/how-to/s8-debloat-bloatware-thread-t3669009/page4
Click to expand...
Click to collapse
Yes, thank you, that is the one I saw that encouraged me to undertake this process.
3drinks said:
Yes, thank you, that is the one I saw that encouraged me to undertake this process.
Click to expand...
Click to collapse
I don't think there is a definitive debloat list as everyone uses there phone for different reasons.
Might be a case of trial and error. As for debloat apps there are a few on playstore and could be useful as a reference on what they might recommend to remove.
spawnlives said:
I don't think there is a definitive debloat list as everyone uses there phone for different reasons.
Might be a case of trial and error. As for debloat apps there are a few on playstore and could be useful as a reference on what they might recommend to remove.
Click to expand...
Click to collapse
My definition being "anything that is not a requirement to keep the system running normally and optimally." Ideally any extraneous apps would be FOSS if possible.
While browsing another thread here, I fixed my current issue. Apparently I deleted my launcher by mistake and when I installed an Oreo launcher from play store, the error on my home screen went away. Hooray for unexpected fixes.
And lol at me almost factory wiping because of this now (I'll laugh at this in a year I'm sure.)
3drinks said:
Isn't this a paid service? And requires root? I can keep this in mind if I need to wipe anyway at least, if it doesn't require root.
There's no way to find out which one caused the issue then, is there?
Click to expand...
Click to collapse
Its like 3 dolars or something in google play. It doesn.t require root acces
All in all without root I freed up to 2k MB of ram and got the HD to 18/64 GB. I'm pretty proud of myself.
i have a mi tv stick, which was working just fine before there was an update. after the update. it boots then just crashes after a few seconds. Is there a way to reflash the previous update?
Mine too... before first firmware update; firefox tv browser, netflix, youtube, facebook watch all stable. Watching videos for hours with no problems.
After update: netflix crashes, youtube crashes, weak 5ghz wifi. Crashes on its own at homescreen. Freeze loading the app and all kinds of action making tv stick un usable
Some fuzzy video output like its overheating or similar.
I have 2 Mi TV Sticks, both from different manufacturers by the look of the remote. Both run well with sept update.
But not after some initial problems. This device has only 1 GB RAM and that is too little without some tweaks.
Also power need is very critical. Use a good USB power source.
For the tweaks look at my page here: https://sites.google.com/site/tweakradje/devices/xiaomi-mi-tv-stick
Cheers
tweakradje said:
I have 2 Mi TV Sticks, both from different manufacturers by the look of the remote. Both run well with sept update.
But not after some initial problems. This device has only 1 GB RAM and that is too little without some tweaks.
Also power need is very critical. Use a good USB power source.
For the tweaks look at my page here: https://sites.google.com/site/tweakradje/devices/xiaomi-mi-tv-stick
Cheers
Click to expand...
Click to collapse
Can you explain a little bit about that process. Should i turn on adb over wifi and run those commands? you disable tv remote services. does that disable wifi remote services or the bluetooth one? Are you currently running all those commands. Can you explain if there's any downside for that? Thank you!
Amerull said:
Can you explain a little bit about that process.
Click to expand...
Click to collapse
adb is already on over wifi. Use adb connect <stick ip> and copy paste commands. Then reboot. Lucky we can write settings as non root
Thanks! i will let you know if that helps
@Amerull
Can you provide feedback for other users if it helped?
Cheers
Amerull said:
Thanks! i will let you know if that helps
Click to expand...
Click to collapse
Have you tried these commands?... Give me an opinion!
I just got one a week ago and it immediately prompted this update and it was fine for a few hours while I was setting everything up and then it just started freezing and being really unresponsive. The factory reset didn't help either.
I'm looking if there's a way to flash the previous firmware somehow. If anyone knows where I could get the firmware file or how to do it I would appreciate it.
There is no way back to previous firmware!
I have no problem with latest firmware after my tweaks. Why don't you try them too and report back here? That's the reason I posted them here in the first place. To help other owners. If nobody reports back it's pointless. Stop moaning and asking for the impossible
Cheers
Do I have to execute all commands or can only be separate that I judge? Where find autostart activities" and "running activities" for example?
@netreign good point. Where to start. I would start with applying all the GLOBAL/SYSTEM/SECURE settings. Copy / Paste in ADB shell.
In development menu disable animation by setting them to 0.
Second disable the packages you not use.
Third use appops to disable (3rd party like netflix/amazon and what you installed) apps to run in background.
Cheers
tweakradje said:
@netreign good point. Where to start. I would start with applying all the GLOBAL/SYSTEM/SECURE settings. Copy / Paste in ADB shell.
In development menu disable animation by setting them to 0.
Second disable the packages you not use.
Third use appops to disable (3rd party like netflix/amazon and what you installed) apps to run in background.
Cheers
Click to expand...
Click to collapse
Tnx... Each line must be copied separately, right?
Nope. Copy the block.
tweakradje said:
I'm sorry about the question, but the device itself must have been launched into the system itself, right?
Click to expand...
Click to collapse
A running system with adb. I'm not gonna explain adb. It's all over the net.
tweakradje said:
There is no way back to previous firmware!
I have no problem with latest firmware after my tweaks. Why don't you try them too and report back here? That's the reason I posted them here in the first place. To help other owners. If nobody reports back it's pointless. Stop moaning and asking for the impossible
Cheers
Click to expand...
Click to collapse
No one is moaning, I just wanted to know if there's a way to flash the previous firmware. Thanks for the answer I guess...
tweakradje said:
I have 2 Mi TV Sticks, both from different manufacturers by the look of the remote. Both run well with sept update.
But not after some initial problems. This device has only 1 GB RAM and that is too little without some tweaks.
Also power need is very critical. Use a good USB power source.
For the tweaks look at my page here: https://sites.google.com/site/tweakradje/devices/xiaomi-mi-tv-stick
Cheers
Click to expand...
Click to collapse
Thanks! I tried it. Half the commands return an error. And it's still unstable didn't work.
@Amerull Thanks for the feedback! Have you already tried a proper 1 Amp power supply? Sounds like a power problem. I have had that issue. Some TV's cannot deliver 500+ mAmps. The new firmware has more performance so more power hungry.
Cheers
tweakradje said:
@Amerull Thanks for the feedback! Have you already tried a proper 1 Amp power supply? Sounds like a power problem. I have had that issue. Some TV's cannot deliver 500+ mAmps. The new firmware has more performance so more power hungry.
Cheers
Click to expand...
Click to collapse
I'm using the stock power cable that came with the box. Not sure what's causing it.
I use my rooted phone as my daily driver and I was wondering if anyone else did as well.
Never.
That's what the nth phone is for.
NEVER
Always and without any exception.
Oswald Boelcke said:
Always and without any exception.
Click to expand...
Click to collapse
Me too, it makes the device way better. You have more options, customization, better performance in some cases. You can control everything, you can increase battery service life with AccA.
its must because most phone are filled with trash but the price is still high
Guan Yu said:
its must because most phone are filled with trash but the price is still high
Click to expand...
Click to collapse
True, I removed like 40-50 bloatware apps from my phone. It made it so much faster and battery life increased.
ATBG said:
True, I removed like 40-50 bloatware apps from my phone. It made it so much faster and battery life increased.
Click to expand...
Click to collapse
In the thread topic you used "Do you use a rooted device as your daily driver?"
Using root to remove bloodware, and using a rooted device, are two different things.
In the first case, the action is a one-time one, after which root can be removed, as long as one knows how to do it effectively without leaving a backdoor.
In the second case, root remains for a long time.
1. For many models, root is not possible at all.
2. In many cases, root is not needed to disable bloodware.
3. In many cases, some of the blootware can simply be uninstalled.
ze7zez said:
In the thread topic you used "Do you use a rooted device as your daily driver?"
Using root to remove bloodware, and using a rooted device, are two different things.
In the first case, the action is a one-time one, after which root can be removed, as long as one knows how to do it effectively without leaving a backdoor.
In the second case, root remains for a long time.
1. For many models, root is not possible at all.
2. In many cases, root is not needed to disable bloodware.
3. In many cases, some of the blootware can simply be uninstalled.
Click to expand...
Click to collapse
Root removes it easier, I been daily driving my rooted phone for 2 months now, I use root for a lot of things. I daily drive a rooted phone to do these things:
I rooted because I don't want Google telling me what to do, how to use, what not to do on my phone. I bought my phone, so I should be able to do what I want. I rooted so I can customize, tweak, add features, ad-blocking, lots more.
Here are the apps and modules I use on my rooted phone to make it look nice and have longer battery life, better security.
I have FontManager module to change fonts.
I use Debloater module to systemlessly debloat and De-Google my phone.
I use AccA module to increase my battery lifespan with AccA.
I use Kernel Auditor to underclock my CPU for better battery life. I set the governor to powersave.
I use AFWall+ to have a Linux firewall for better security.
I use substratum to change my theme and accent color. My theme is Liv Dark.
I can add new features and functionality that wasn't there before.
I use AdAway to block ads system-wide, I also use AdAway to block malicious ads and ViPER4Android to make my speakers louder.
I use Permission Ruler to turn off app permissions when screen is off to improve battery life.
I use Termux to have the terminal on Android to make it more Linux-like.
Lots more stuff.
I use Energized module to block malware, lots more.
I use Tasker to do user-defined actions.
I use EdXposed Manager to have more control and customization.
My favorite module for EdXposed is GravityBox.
My rooted phone is my daily driver and it runs really great, fast with 8-9 hours of battery life.
ze7zez said:
In the thread topic you used "Do you use a rooted device as your daily driver?"
Using root to remove bloodware, and using a rooted device, are two different things.
In the first case, the action is a one-time one, after which root can be removed, as long as one knows how to do it effectively without leaving a backdoor.
In the second case, root remains for a long time.
1. For many models, root is not possible at all.
2. In many cases, root is not needed to disable bloodware.
3. In many cases, some of the blootware can simply be uninstalled.
Click to expand...
Click to collapse
it isnt easy like you said . On some phone you cant disable app with adb . Even with rooted device , for some app you cant disable it completely without magisk cuz its re-enabled on next reboot
Guan Yu said:
it isnt easy like you said . On some phone you cant disable app with adb . Even with rooted device , for some app you cant disable it completely without magisk cuz its re-enabled on next reboot
Click to expand...
Click to collapse
You are right, that has happened to me when I didn't root. I unrooted one time and all the apps came back, which is why I root. I root to keep bloatware away. Even with ADB and non-root, the app is still in the system. You only removed it from the user.
I have seen videos of people saying rooting isn't worth it in 2022.
I was wondering if anyone thought the same.
Does anyone root in 2022?
I don't do it.
If, then only temporarily.
if you dont trust google or any manufacturer, yes it is still worth it. i dont root it because i dont mind sharing my data with those companies
Fytdyh said:
if you dont trust google or any manufacturer, yes it is still worth it. i dont root it because i dont mind sharing my data with those companies
Click to expand...
Click to collapse
I don't trust Google with my data and info, why would you want to share that?
xXx yYy said:
I don't do it.
If, then only temporarily.
Click to expand...
Click to collapse
Why don't you do it? You want Google looking at all of your data, controlling what you can and can not do?
i just figured out today....root acces aren't powerfull anymore as in the past
since A 10 system partition is read only...so u can't change something on it....like new bootannimation or termal config to manage the hot snapdragon 888
DanielMode said:
i just figured out today....root acces aren't powerfull anymore as in the past
since A 10 system partition is read only...so u can't change something on it....like new bootannimation or termal config to manage the hot snapdragon 888
Click to expand...
Click to collapse
You can change the boot animation, I did.
on what device.?
on Sony Xperia it's not possible anymore.
DanielMode said:
on what device.?
on Sony Xperia it's not possible anymore.
Click to expand...
Click to collapse
Use Boot Animations For Superusers. Then use this too:
Boot-Animations for Android 10.It should work for 11 too.