Multi tasking problem - Redmi 9 / Poco M2 Questions & Answers

Hi,
I have Lancelot phone (4gb) running Miu 13.0.2 global - android 12
After latest update..
I have some issues:
Reboot takes really long.
My WiFi router keeps disconnecting me it's a Fritzbox.. random Mac is disabled but router logs says not?
Multi tasking no-longer works,
Power save Miu optimization is off
I have "auto start" on.
I have "lock icon" above app ( using security app)
But as soon as I go from say chrome browser to a notepad app.. it reloads the app Vs keeping it running in the background
Other things:
Screenshot with scroll doesn't work.
Chrome browser/ share icon / save as jpeg crashes browser.
Listening long periods you get a notification warning about listening to long?
Random wallpaper app keeps running.. sending notifications..why?
I appreciate the help.
Solved:
Share app : I deleted..it just caused chrome to crash
The auto wallpaper changer app: deleted
The warning headphones app: I disabled

I have the same. The phone ran better on MIUI 12 than on 13. I looked into the issue and it is RAM-starved on MIUI 13. The firmware just uses so much RAM by itself, that not enough is left for your apps. At least on my model wiht 3GB RAM.
I have a few things installed that run in background (Blokada ad blocker, Whatsapp, Threema, GMX mail) and there's not enough RAM that I reliably get a notification when someone sends me a Whatsapp message.
I plan to switch to LineageOS soon.

Yesterday, I took the time to deep dive in the settings
Yet..no clue what's going on..
Free User available ram = 1.5 GB says phone
Sad..that there is no..revert update function.
It did send a bug report..let's hope it gets fixed
As for security, I use netguard with adguard DNS. ( Blocking lots of apps from phoning home or using my mobile data while blocking ads )

Mitchell4you. said:
Free User available ram = 1.5 GB says phone
Click to expand...
Click to collapse
Yeah, but that doesn't seem correct. I currently have no foreground apps open, just on the launcher the UI says "1.2 GB of 3.0 GB available".
But top shows this:
Tasks: 695 total, 1 running, 694 sleeping, 0 stopped, 0 zombie
Mem: 2758004K total, 2692880K used, 65124K free, 10536K buffers
Swap: 2097148K total, 905024K used, 1192124K free, 1167604K cached
...
2.69GB of 2.76GB used. 65MB free, 10MB buffers, and even 905MB swap are used already.
Same with "free -m":
total used free shared buffers
Mem: 2693 2606 86 52 9
-/+ buffers/cache: 2597 95
Swap: 2047 812 1235
Only 86MB RAM free without any user foreground app running, and 812MB swap already used.
I guess the available RAM display in MIUI is just wrong. It seems to count the free swap space as free RAM. (But doesn't count swap size towards total size.

I stumbled upon the option to disable apps via adb pm. There one can also disable apps where it is greyed out in the settings/manage apps UI.
See e.g. https://selivan.github.io/2020/02/25/removing-bloatware-from-xiaomi-miui-android.html
I noticed that "com.google.android.googlequicksearchbox" uses about 300MB RAM although I do not use it.
Do "adb shell" and then e.g. "pm disable-user com.google.android.googlequicksearchbox".
I disabled some more (Google One, Google Wallet, GMail, com.google.android.apps.turbo, com.xiaomi.joyose. com.facebook.system, Mi browser, Mi Health, MIUI ads, MIUI analytics, ...) Will see how it works out.
There several packages using up RAM which are useless for me (support for NFC payment on WeChat or fingerprint payment in AliExpress).

Code:
:/ $ free -m
total used free shared buffers
Mem: 3701 3546 154 64 37
-/+ buffers/cache: 3509 191
Swap: 2251 1033 1218
:/ $
Indeed..
Code:
:/ $ cat /proc/meminfo
MemTotal: 3790152 kB
MemFree: 138952 kB
MemAvailable: 1219616 kB
Buffers: 18420 kB
Cached: 1252720 kB
SwapCached: 125024 kB
Active: 1422752 kB
Inactive: 733888 kB
Active(anon): 763628 kB
Inactive(anon): 288660 kB
Active(file): 659124 kB
Inactive(file): 445228 kB
Unevictable: 95936 kB
Mlocked: 95936 kB
SwapTotal: 2306044 kB
SwapFree: 1290616 kB
Dirty: 72 kB
Writeback: 0 kB
AnonPages: 967296 kB
Mapped: 949036 kB
Shmem: 71896 kB
KReclaimable: 111464 kB
Slab: 218172 kB
SReclaimable: 60940 kB
SUnreclaim: 157232 kB
KernelStack: 57776 kB
PageTables: 90692 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 4201120 kB
Committed_AS: 91750508 kB
VmallocTotal: 263061440 kB
VmallocUsed: 106608 kB
VmallocChunk: 0 kB
CmaTotal: 327680 kB
CmaFree: 40196 kB
:/ $

Related

Memory?

How come I dont get consistent reports of how much memory is free/being used?
Right now Advanced task manager is showing
Code:
free Mem: 42MB
Free is showing
Code:
total used free shared buffers
Mem: 98024 94944 3080 0 280
Swap: 31172 14440 16732
Total: 129196 109384 19812
and htop is showing
Code:
Mem [73/95MB]
Swp [14/30MB]
Also (out of whichever of these values is most accurate) are my values typical For a G1 while idle?

Nexus One RAM 386 or 512MB?

So i downloaded an app called "Quick System Info". And it shows memory as:
Total: 386MB, Free: 284MB, Idle: 135MB
Any idea why the total amount of RAM not 512MB?
I am running 2.2.1 stock on a S-LCD N1.
syl0n said:
So i downloaded an app called "Quick System Info". And it shows memory as:
Total: 386MB, Free: 284MB, Idle: 135MB
Any idea why the total amount of RAM not 512MB?
I am running 2.2.1 stock on a S-LCD N1.
Click to expand...
Click to collapse
..maybe this helps http://forum.xda-developers.com/showpost.php?p=8330592&postcount=48
OK. So essentially a 126MB RAM disk is created by the boot up process?
syl0n said:
So i downloaded an app called "Quick System Info". And it shows memory as:
Total: 386MB, Free: 284MB, Idle: 135MB
Any idea why the total amount of RAM not 512MB?
I am running 2.2.1 stock on a S-LCD N1.
Click to expand...
Click to collapse
Using free at the command line I get:
Code:
free
total used free shared buffers
Mem: 416188 343684 72504 0 12272
Swap: 0 0 0
Total: 416188 343684 72504
The the rest of the 512 is mapped for the Radio/gpu/sound after that there is the kernel and the framework and that's before you run anything.
I'd like to get to the bottom of this too.
1) I don't think the zimage takes up a lot of memory when decompressed. Its about 2MB compressed.
2) Is it possible that the memory address space is only 512MB?
i.e. the address bus is only 29 bits wide?
edit:
This explains it: http://forum.xda-developers.com/showpost.php?p=5298630&postcount=5
To me its akin to an on-board video card on your PC reserving 16/32/x MB of video.
britoso said:
I'd like to get to the bottom of this too.
1) I don't think the zimage takes up a lot of memory when decompressed. Its about 2MB compressed.
2) Is it possible that the memory address space is only 512MB?
i.e. the address bus is only 29 bits wide?
edit:
This explains it: http://forum.xda-developers.com/showpost.php?p=5298630&postcount=5
To me its akin to an on-board video card on your PC reserving 16/32/x MB of video.
Click to expand...
Click to collapse
Um yeah, so the 256 memory limtation was fixed in 2.2. That post is from January. The top part of it I'd assume is still the same. Must allocate memory to various things. My N1 shows 400M total from free or /proc/meminfo, (408600 bytes).

[Q] Streak 7 wifi only system RAM less than expected

Although I never did find the official specs from Dell for this device I thought it had 512M system RAM. 'free' returns far less than the expected amount of RAM
With Streakdroid7-v1.3
Code:
sh-4.1# free
total used free shared buffers
Mem: 371020 235908 135112 0 17696
Swap: 0 0 0
Total: 371020 235908 135112
With Streakdroid-HD7-2.0RC2.5
Code:
# free
total used free shared buffers
Mem: 351996 348628 3368 0 5648
Swap: 0 0 0
Total: 351996 348628 3368
The total should be more like 524288 K
What am I missing here?
uhmzilighase said:
Although I never did find the official specs from Dell for this device I thought it had 512M system RAM. 'free' returns far less than the expected amount of RAM
The total should be more like 524288 K
What am I missing here?
Click to expand...
Click to collapse
Most likely some of it is allocated to video, but yeah, that's quite a big chunk missing (150m).
yep. Look at dmesg.. mem=376M nvmem=128M
It has 512 meg of ram but only 384 is user addressable, per the spec , I am guessing the 128 is video ram , but that is only a guess ...
Sure 'nuf
Code:
dmesg|grep Kernel
<5>[ 0.000000] Kernel command line: [email protected] [email protected] I
Thanks!

Trim doest work, let's fix it.

I think lagfix app doesn't do anything nor do via terminal command. I saw some people say Trim work on their devices but i am not sure about that especially what i understand from screenshots, Here they are;
Lagfix says trim was performed as soon as i run it.
Terminal shows 0 (zero) bytes trimmed.
As i learned from lagfix xda's page trimming should take minutes and (for example) ''239723590 bytes trimmed'' should written on screen.
"Kowalski M1-noRH" - trim does not work with that kernel, it only works with the alphas of 127
and it only trims something if there needs something to be trimed, if it says 0 bytes, then this is not the case
i shared my settings in screenshot and update my signature. i am using 3.1.10 exp 127 Alpha 15
BS86 said:
"Kowalski M1-noRH" - trim does not work with that kernel, it only works with the alphas of 127
and it only trims something if there needs something to be trimed, if it says 0 bytes, then this is not the case
Click to expand...
Click to collapse
I can see the amount of bytes trimmed. I've configured periodically morning to TRIM and then I see how much bytes is trimmed.
When I start the application manually show me the same as yours SS.
Ok, I will try automated Trim this night and share ss tomorrow.
Sent from my LG-P990 using XDA Premium 4 mobile app
Or Trim maybe works depending on how much apps you have installed.
If you have huge amount of data and cache from those apps then Lagfix can actually make some changes/differences....that's my theory...
Sent from my LG-P990 using xda app-developers app
okay trim works :good: automatic trim at 6 am. i found these result in notification bar.
200 mb system trimmed
5 mb cache trimmed
50 mb data trimmed. and my phone didnt turn to a brick
And do you see/feel any speed improvement?

Short on Space

Recently, my phone keeps complaining that is running LOW on space - despite deleting infrequenct USER apps - it seems to keep getting into the same state . From the storage memory option I see approx 6G for firmware & ~7G for Apps which should be leaving 3G free on the 16G capacity, however only getting ~500MB free.
I have tried using ADB shell commands along with App Inspector to get the package names to allow deletion of system apps which I do not need. eg pm uninstall -k --user 0 <package name> - while this works , when I go back into the App list - it shows as uninstalled , however it seems to be retaining space for the App - so not convinced the uninstall is working fully.
Any suggestions on how to get the space unallocated again ? Its as though something is eating up spare capacity I free up to become locked/hidden !!
Any suggestions as to why disparity between ~13G for firmware/Apps vs 16G ( NB I have a 64GB sdcard installed for any data/photos/music etc)
Uninstalled packages / retained storage space
Gmail 77MB
Google text to speech 52MB
HMS core 135MB
Huawei Video 192MB
Support 75MB
Swiftkey keyboard 36MB
Expected the total of 567MB to be made available - but alas no.

Categories

Resources