Android Enthusiasts
Q&A for enthusiasts and power users of the Android operating system
Latest Questions
0
votes
1
answers
99
views
How to increase ZRAM size on devices shipping with Android >=4.0?
I've recently got this new device which shipped with an Android >=4.0 Jelly Bean, and I was wondering how to increase zram on it because with the current parameters, it happens that even the foreground application goes out of memory and gets killed by the system. So you know, weird. You know, becaus...
I've recently got this new device which shipped with an Android >=4.0 Jelly Bean, and I was wondering how to increase zram on it because with the current parameters, it happens that even the foreground application goes out of memory and gets killed by the system.
So you know, weird.
You know, because I have other devices with the same 2 gigabytes of RAM which shipped with Android Jelly Bean and still run this same very recent Android version this new device runs on which I have never experienced this issue unless than when like I enable all types of tethering and run >10 applications in the background at the same time.
I've heard it like supports something new called "Treble".
I've also read now that there are Android Java applications whose entire purpose is just editing the zram parameters, which seems totally wild and inappropriate to me, so I was wondering if it was possible to do it properly without having to deal with such weird stuff.
Scrooge McDuck
(158 rep)
Mar 26, 2025, 10:01 PM
• Last activity: Mar 27, 2025, 03:58 PM
2
votes
1
answers
1813
views
Ideal zRAM size
I have a Samsung Galaxy S23 with 8 GB of RAM. One UI has a feature called RAM Plus, and based on online research and personal testing, it doesn't really do what it claims to, which is to allocate internal storage as virtual RAM. Instead, it just allows users to set their own zRAM size. With the feat...
I have a Samsung Galaxy S23 with 8 GB of RAM. One UI has a feature called RAM Plus, and based on online research and personal testing, it doesn't really do what it claims to, which is to allocate internal storage as virtual RAM. Instead, it just allows users to set their own zRAM size. With the feature off, zRAM defaults to 3 GB, like recent Google Pixels. My phone came with it enabled, and the zRAM was set to 8 GB.
Is it advisable to set the zRAM size to be the same as the physical RAM size? Should I set it lower, like around half, which is apparently what Linux distros such as Fedora recommend? Or should I just disable the feature, which sets zRAM to 3 GB, like what Pixels have?
Thanks in advance.
sultanofswing
(81 rep)
May 6, 2024, 09:51 AM
• Last activity: Mar 18, 2025, 10:13 PM
1
votes
0
answers
34
views
How can I control RAM DVFS on Samsung Galaxy?
I have a rooted **Samsung Galaxy S22 Ultra** (**SoC: Snapdragon 8 Gen 1**) and want to control RAM clock frequency (DVFS). How can I perform RAM DVFS on a Samsung Galaxy smartphone? First of all, I tried searching available governors. And the followings are the governors of S22 Ultra. ``` /sys/devic...
I have a rooted **Samsung Galaxy S22 Ultra** (**SoC: Snapdragon 8 Gen 1**) and want to control RAM clock frequency (DVFS). How can I perform RAM DVFS on a Samsung Galaxy smartphone?
First of all, I tried searching available governors. And the followings are the governors of S22 Ultra.
/sys/devices/platform/soc/1d84000.ufshc/devfreq/1d84000.ufshc/available_governors
/sys/devices/platform/soc/3d00000.qcom,kgsl-3d0/kgsl-busmon/devfreq/kgsl-busmon/available_governors
/sys/devices/platform/soc/3d00000.qcom,kgsl-3d0/devfreq/3d00000.qcom,kgsl-3d0/available_governors
By the way, 1d84000.ufshc
is related to ufs storage, and 3d00000.qcom,kgsl-3d0
is related to GPU. Thus, there is no system file related to LPDDR.
Besides, I found a directory /sys/devices/system/cpu/bus_dcvs/DDR
also. However, the system files on this directory do not allow files modified. Additionally, at soc:qcom,memlat:ddr:gold
of the previous directory, I tried modifying max_freq
system file though. The result was not changed.
Is there anyone who knows about how to control **Memory DVFS on Galaxy S22 Ultra** smartphone???
JIN
(11 rep)
Jan 18, 2025, 08:02 AM
2
votes
1
answers
3389
views
Should I leave ZRAM activated on a device with 512 MB RAM or not?
I have an old Android Smartphone (Samsung Galaxy S Plus i9001). It has a 1 core 1.4 GHz CPU and 512 MB RAM, OS is Cyanogenmod 4.4.4. It runs smoothly and quite fast. The phone will only be used for phoning and a litte bit of photo. (Not quite smartphone useage but there are no classic phones anymore...
I have an old Android Smartphone (Samsung Galaxy S Plus i9001).
It has a 1 core 1.4 GHz CPU and 512 MB RAM, OS is Cyanogenmod 4.4.4.
It runs smoothly and quite fast. The phone will only be used for phoning and a litte bit of photo. (Not quite smartphone useage but there are no classic phones anymore)
The kernel (CM11 kernel) comes with ZRAM activated. The description in Trickster Mod (Tuning tool) says about ZRAM: "reserves 10% of your device RAM as compressed swap space".
Free space after boot, without opening another program is about 150 Mb.
Question:
Should I leave ZRAM activated on a device with 512 MB RAM or not?
kelmat
(121 rep)
Jul 17, 2015, 02:16 PM
• Last activity: Jan 5, 2025, 01:04 AM
1
votes
0
answers
308
views
How to prevent android 14 from killing processes despite available resources?
Android 14 keeps killing processes even when there are plenty of resources available, including RAM, CPU, and battery. I’ve tried increasing the number of phantom and cached processes, disabling `kill_bg_restricted_cached_idle` and `settings_enable_monitor_phantom_procs`, disabling all battery optim...
Android 14 keeps killing processes even when there are plenty of resources available, including RAM, CPU, and battery. I’ve tried increasing the number of phantom and cached processes, disabling
kill_bg_restricted_cached_idle
and settings_enable_monitor_phantom_procs
, disabling all battery optimisation settings, but none of these have worked.
Here’s the log of killing of browser tabs:
11-25 11:57:36.882 1284 1811 I ActivityManager: Killing 30746:com.brave.browser:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:13/u0a298i-8938 (adj 915, setSvc -10000): excessive cpu 9630 during 300034 dur=1785846 limit=2
11-25 11:57:37.028 1284 4312 I ActivityManager: appDiedLocked: app=ProcessRecord{c2c5c79 30746:com.brave.browser:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:13/u0a298i-8938} thread=android.os.BinderProxy@c4c8e24 fromBinderDied=true isKilledByAm=true reason=null
11-25 16:56:58.558 1284 4224 I ActivityManager: Killing 29568:com.brave.browser:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:29/u0a298i-8922 (adj 0, setSvc -10000): isolated not needed
11-25 16:56:58.575 1284 4224 I ActivityManager: appDiedLocked: app=ProcessRecord{479e72b 29568:com.brave.browser:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:29/u0a298i-8922} thread=android.os.BinderProxy@7ec34bd fromBinderDied=true isKilledByAm=true reason=null
11-25 17:01:36.003 1284 10196 I ActivityManager: Killing 30142:com.brave.browser:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:32/u0a298i-8919 (adj 0, setSvc -10000): isolated not needed
11-25 17:01:36.050 1284 10196 I ActivityManager: appDiedLocked: app=ProcessRecord{f476c5b 30142:com.brave.browser:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:32/u0a298i-8919} thread=android.os.BinderProxy@a822268 fromBinderDied=true isKilledByAm=true reason=null
11-25 17:01:46.668 1284 4225 I ActivityManager: Killing 30373:com.brave.browser:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:33/u0a298i-8918 (adj 0, setSvc -10000): isolated not needed
11-25 17:01:46.705 1284 10196 I ActivityManager: appDiedLocked: app=ProcessRecord{dc3ebb2 30373:com.brave.browser:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:33/u0a298i-8918} thread=android.os.BinderProxy@494614b fromBinderDied=true isKilledByAm=true reason=null
11-25 17:01:54.338 1284 12260 I ActivityManager: Killing 30411:com.brave.browser:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:34/u0a298i-8917 (adj 0, setSvc -10000): isolated not needed
11-25 17:01:54.378 1284 12260 I ActivityManager: appDiedLocked: app=ProcessRecord{f63b7d 30411:com.brave.browser:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:34/u0a298i-8917} thread=android.os.BinderProxy@23b32c9 fromBinderDied=true isKilledByAm=true reason=null
11-25 17:02:32.646 1284 12260 I ActivityManager: Killing 30444:com.brave.browser:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:35/u0a298i-8916 (adj 0, setSvc -10000): isolated not needed
11-25 17:02:32.681 1284 12260 I ActivityManager: appDiedLocked: app=ProcessRecord{bb1d10b 30444:com.brave.browser:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:35/u0a298i-8916} thread=android.os.BinderProxy@6dfdf54 fromBinderDied=true isKilledByAm=true reason=null
11-25 17:10:10.668 1284 9027 I ActivityManager: Killing 30014:com.brave.browser:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:30/u0a298i-8921 (adj 0, setSvc -10000): isolated not needed
11-25 17:10:10.699 1284 7789 I ActivityManager: appDiedLocked: app=ProcessRecord{6c536c0 30014:com.brave.browser:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:30/u0a298i-8921} thread=android.os.BinderProxy@b10c037 fromBinderDied=true isKilledByAm=true reason=null
11-25 17:10:10.735 1284 7789 I ActivityManager: Killing 28791:com.brave.browser:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:7/u0a298i-8944 (adj 0, setSvc -10000): isolated not needed
11-25 17:10:10.776 1284 7789 I ActivityManager: appDiedLocked: app=ProcessRecord{b48b4d3 28791:com.brave.browser:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:7/u0a298i-8944} thread=android.os.BinderProxy@cb5f90e fromBinderDied=true isKilledByAm=true reason=null
What else can I do to stop Android killing my processes?
lightningcat
(11 rep)
Nov 28, 2024, 06:12 AM
0
votes
1
answers
134
views
is it possible to create a simple dummy apk to replace an app that causes trouble?
is it possible to create a simple dummy apk to replace an app that causes trouble? The apk would just do nothing. my goal is to prevent the unnecessary app from bloating the small ram j7 has. The app to be replaced is: google play services (i dont care losing its functionalities...), because on j7 w...
is it possible to create a simple dummy apk to replace an app that causes trouble? The apk would just do nothing.
my goal is to prevent the unnecessary app from bloating the small ram j7 has.
The app to be replaced is: google play services (i dont care losing its functionalities...), because on j7 we cant: disable it, uninstall it, not even using adb shell as it says permission denied or the app is device admin (there is no command to remove admin from app thru adb shell on dpm help)...
rooting is not an option. It will force a bootloader unlocked that will prevent netflix working properly.
so my last hope is ask them to let I didable or uninstall it (already lost this hope just after thinking it),
or find another workaround to solve the ram bloating problem.
so i thought that one way could be to dummify these problematic apps. And uninstall everything that depends on it too of course. But is it possible? How can it be done?
VeganEye
(173 rep)
Oct 20, 2024, 12:13 PM
• Last activity: Oct 20, 2024, 12:44 PM
0
votes
0
answers
95
views
Is there an utility to keep certain apps from closing ? (with or without root)
Any external clock alarm app I have tried on my Android 11 phone shuts down automatically at a certain period of time (some hours), so I cannot use it as an alarm clock. I have tried to set those apps not battery optimized, of course, with no luck. Can it be achieved with some utility ? I have tried...
Any external clock alarm app I have tried on my Android 11 phone shuts down automatically at a certain period of time (some hours), so I cannot use it as an alarm clock.
I have tried to set those apps not battery optimized, of course, with no luck.
Can it be achieved with some utility ? I have tried "auto memory manager" but it crashes at startup, and it's too old. Maybe with Tasker ? how ?...
Some apps like termux or IRC for Android already implement it but e.g. Alarm clock for Heavy Sleepers shuts down, and I love this app because you can snooze it by turning upside down the phone, and also it can play radio streams...
Roger
(111 rep)
May 15, 2024, 09:18 AM
• Last activity: Jun 20, 2024, 06:48 AM
2
votes
0
answers
123
views
Why does my Android use so much RAM?
I recently bought a Realme XT phone 8 GB variant. I usually get only 4 GB RAM free and the rest of the RAM is used by the system. So I want to know if it's usual for an 8 GB RAM system to take up to 4 GB RAM for the system process. Below is a screenshot taken from the 'Developer options -> running s...
I recently bought a Realme XT phone 8 GB variant. I usually get only 4 GB RAM free and the rest of the RAM is used by the system. So I want to know if it's usual for an 8 GB RAM system to take up to 4 GB RAM for the system process.
Below is a screenshot taken from the 'Developer options -> running services'
>

V2K
(21 rep)
Oct 13, 2019, 10:06 AM
• Last activity: May 25, 2024, 08:54 AM
1
votes
0
answers
65
views
Phone free RAM goes very low and apps crash
My Xiaomi phone with 6Gb RAM is misbehaving. Every now and then free RAM goes as low as 500 Mb and apps, even those in the foreground crash. Developer options don't seem to have a Memory option to see what is hogging RAM. How do I find out what is causing the issue and solve the problem?
My Xiaomi phone with 6Gb RAM is misbehaving. Every now and then free RAM goes as low as 500 Mb and apps, even those in the foreground crash.
Developer options don't seem to have a Memory option to see what is hogging RAM.
How do I find out what is causing the issue and solve the problem?
To Do
(584 rep)
Dec 19, 2023, 07:23 PM
0
votes
1
answers
137
views
Will unrooting an Android phone remove the virtual RAM created while rooted?
I have a 4yr old phone and it's CPU processor can take up to 6GB RAM, but I have the model with 3GB of RAM and it's somewhat slow in doing some tasks that are high demanding. So, after I root the phone using Magisk and use Roehsoft RAM Expander and my SD card to expand it to 6GB RAM, if I unroot my...
I have a 4yr old phone and it's CPU processor can take up to 6GB RAM, but I have the model with 3GB of RAM and it's somewhat slow in doing some tasks that are high demanding. So, after I root the phone using Magisk and use Roehsoft RAM Expander and my SD card to expand it to 6GB RAM, if I unroot my phone back, will the virtual RAM still remain or will it get left behind?
Adekunle Goodness
(28 rep)
Nov 30, 2023, 11:42 AM
• Last activity: Nov 30, 2023, 04:18 PM
3
votes
3
answers
99
views
App is kept in memory, content is not
On my GPE S4 (Android 5.0.1), if I change from Firefox or Google Sheets or ezPDFreader to another application for more than 1 or 2 minutes, and come back, the data is loaded again. It is not only bad for my data plan, but is also time consuming. I monitor data usage, it is not just re-rendering. On...
On my GPE S4 (Android 5.0.1), if I change from Firefox or Google Sheets or ezPDFreader to another application for more than 1 or 2 minutes, and come back, the data is loaded again. It is not only bad for my data plan, but is also time consuming. I monitor data usage, it is not just re-rendering.
On my Nexus 4 (Android 5.0), applications in the background keep content for an hour or more. It is quite strange, as they have the same amount of memory, 2GB.
Is there a setting for this? How can I avoid unnecessary reloads?
András
(640 rep)
Jun 2, 2015, 10:23 AM
• Last activity: Nov 16, 2023, 10:51 PM
1
votes
3
answers
3963
views
Can RAM and flash memory be increased after rooting a device?
How can I increase RAM and flash memory after rooting my Lenovo A269I running Android 2.3.6? After rooting an Android would the RAM and flash memory be increased? I have not rooted my device yet. But I want to do so.
How can I increase RAM and flash memory after rooting my Lenovo A269I running Android 2.3.6? After rooting an Android would the RAM and flash memory be increased?
I have not rooted my device yet. But I want to do so.
suvo
(21 rep)
Sep 19, 2015, 11:43 AM
• Last activity: Nov 6, 2023, 12:08 PM
-1
votes
2
answers
532
views
Can we explain Android in terms analogous to a PC?
I am familiar with computers. With computers, we have BIOS. BIOS is something like memory and hard disk. It's attached to the motherboard straight. It is, for all practical purposes, like a hard disk. When we boot the computer, I bet the BIOS would start first and then we move to the operating syste...
I am familiar with computers. With computers, we have BIOS. BIOS is something like memory and hard disk. It's attached to the motherboard straight. It is, for all practical purposes, like a hard disk. When we boot the computer, I bet the BIOS would start first and then we move to the operating system.
Then we got the real hard disk. We can reformat the hard disk all we want and the computer will still be useable (not bricked). That's because there is this very basic primitive operating system, namely the BIOS. Then the BIOS will read CD ROM and we can install a new operating system to the hard disk.
That's how a computer works.
---
Now we have Android devices.
- I think the SD card is analogous to a hard disk. Or am I wrong here?
Then I read [Android Partitions Explained: boot, system, recovery, data, cache & misc](https://www.addictivetips.com/mobile/android-partitions-explained-boot-system-recovery-data-cache-misc/) and I got even more confused.
- So, are all the apps in the data partition? Is the SD card the whole SD card? Shouldn't data be in the SD card?
- Also, how can Android be bricked?
- What is the BIOS of Android?
- So, Android has a recovery partition, boot partition, etc. Are all those on the SD card?
- Say, I really messed up with my Android and want to start from scratch. Say, I want to format the whole SD card like I want to format the whole hard disk. Can I do that? What are the consequences?
- Is
/boot
like BIOS? Is it on an SD card too (the internal one?)
- Is internal storage the SD card?
On PC, we have memory and hard disk. It seems that in Android we have memory, and then the "hard disk" equivalent, called SD Card is also called memory again.
PC|Memory|Hard Disk
Android Devices|RAM|Memory
- Do I get the analogy correct?
user4951
(384 rep)
Feb 15, 2016, 01:49 AM
• Last activity: Oct 21, 2023, 12:43 PM
1
votes
1
answers
3433
views
How to increase RAM by swapping memory from Internal Phone Storage..?
I have `Micromax Canvas Music A88`. I just want to allocate memory from internal phone storage to RAM. Memory Detail : RAM: 512 MB Internal Memory: 2 GB I want to transfer 500 Mb from internal storage to RAM... Can anyone help me how to transfer...?? **Note: I don't want to swap from micro sd card**
I have
Micromax Canvas Music A88
. I just want to allocate memory from internal phone storage to RAM.
Memory Detail :
RAM: 512 MB
Internal Memory: 2 GB
I want to transfer 500 Mb from internal storage to RAM...
Can anyone help me how to transfer...??
**Note: I don't want to swap from micro sd card**
Hardik Modh
(11 rep)
Jul 15, 2014, 04:37 AM
• Last activity: Oct 5, 2023, 05:03 PM
3
votes
1
answers
2214
views
Stock Android always using 100% physical memory. How to free it up with ADB?
I have a non-rooted phone. I just realized why Android is bad at memory management. I'm monitoring running progress in ADB shell with `top`. I can see the memory is about 100% used. [![][1]][2] Image resized. Click for full-size How do I stop unnecessary processes with ADB shell? Also, I can't scrol...
I have a non-rooted phone. I just realized why Android is bad at memory management. I'm monitoring running progress in ADB shell with
Image resized. Click for full-size
How do I stop unnecessary processes with ADB shell?
Also, I can't scroll down
top
. I can see the memory is about 100% used.

top
command. It shows weird char ^[[b
. I think that's because the shell uses sh
instead of bash
.
Any idea how to free up memory with ADB? Maybe pkill
or what.
Muhammad Ikhwan Perwira
(213 rep)
Jul 15, 2023, 10:24 AM
• Last activity: Jul 16, 2023, 06:58 AM
0
votes
0
answers
436
views
How to find the RAM type in command prompt in Android?
I am trying to find out what the memory type of my Android phone is, i.e. if the device is LP4 or LP5 type. On Windows PC, there is `wmic` command to get this system information. However, I can't find the equivalent for Android. Is there any way from the command line that we can find out if the devi...
I am trying to find out what the memory type of my Android phone is, i.e. if the device is LP4 or LP5 type.
On Windows PC, there is
wmic
command to get this system information. However, I can't find the equivalent for Android.
Is there any way from the command line that we can find out if the device is LP4 or LP5? Like accessing the shell and finding out the memory type.
user1856470
(1 rep)
Jul 4, 2023, 08:17 AM
• Last activity: Jul 5, 2023, 04:40 PM
4
votes
1
answers
25752
views
What does zRAM mean?
I heard about a feature called zRAM in the new Android ROMs. Does anybody have detailed information about it?
I heard about a feature called zRAM in the new Android ROMs.
Does anybody have detailed information about it?
0x6900
(98 rep)
Oct 28, 2014, 08:44 AM
• Last activity: May 11, 2023, 10:16 AM
1
votes
0
answers
79
views
I need to access information in my smartphone's memory. The screen is completely dead and does not respond to touches or show any image
I need to access information in my smartphone's memory. The screen is completely dead and does not respond to touches or show any image. The computer does not detect the smartphone, it only charges. Is there a way to access the smartphone's memory without changing the touchscreen? I do not want to s...
I need to access information in my smartphone's memory. The screen is completely dead and does not respond to touches or show any image. The computer does not detect the smartphone, it only charges.
Is there a way to access the smartphone's memory without changing the touchscreen? I do not want to spend a lot of money on this.
btwiusearch
(11 rep)
Apr 6, 2023, 09:49 PM
• Last activity: Apr 7, 2023, 07:04 AM
1
votes
0
answers
1161
views
What is RAM plus and how does it impact performance?
So Samsung decided to factor in a feature that I have only seen work on desktop PCs called RAM plus and it's supposed to let the system use internal storage for to keep more background processes running. So does this add us more RAM and will there be a significant improvement in performance for enab...
So Samsung decided to factor in a feature that I have only seen work on desktop PCs called RAM plus and it's supposed to let the system use internal storage for to keep more background processes running. So does this add us more RAM and will there be a significant improvement in performance for enabling this option. Will it necessarily result in more processes running in the background being kept alive or?
Dong Li
(133 rep)
Mar 10, 2023, 09:11 AM
7
votes
3
answers
11783
views
How can I edit values in memory?
Is it possible to edit values in memory used by an app? I would assume this requires root.
Is it possible to edit values in memory used by an app? I would assume this requires root.
gontadu
(261 rep)
Mar 6, 2012, 09:12 AM
• Last activity: Dec 22, 2022, 11:53 AM
Showing page 1 of 20 total questions