gyr0ray0
Members
- 4 Jun 2024
- 78
- 20
Bye,
I also have ROOT would you have the patience and the will to explain to me step by step what I have to do? Thank you.
Same issue here (on houji), just don't understand how to disable?
What is "that swap file"?
Termux output is not showing a number or something, just swap:
Many thanks for finding this issue, I was annoyed not being able to find the drain!
Bear as this requires some convinient in using terminal commands, both executing and understanding.Hello,
what command did you use to free the memory/swap?
Indeed it won't survive a reboot, that's why I seldom reboot. If tasker can execute that as a root, feel free to do so. There could be differences from Linux, but my guess the mapping should be somewhere equivalent to /etc/fstab, just need to search for it.Swapoff /dev/block/zram0
Also doesn't work, or at least doesn't survive a reboot.
Edit: the command does seem to work, but a reboot, for me, activates a +-8gb swap again.
For now I'll let tasker run te command after every reboot.
Swap should not be necessary on this powerful device.
Tasker excuting the command at boot (after 10 sec wait to give the system some time) works perfectly!Bear as this requires some convinient in using terminal commands, both executing and understanding.
1. Obviously you need Termux AND root, the latter is NOT optional.
2. Enter root by executing `su`
3. Execute `cat /proc/swaps` to take note what device is allocated for it, typically /dev/block/zram0 but I won't guarantee
4. Execute `swapoff <that device, yes, it is /dev/block/zram0 if ours is the same>
Done. Enjoy your swap-free experience.
Indeed it won't survive a reboot, that's why I seldom reboot. If tasker can execute that as a root, feel free to do so. There could be differences from Linux, but my guess the mapping should be somewhere equivalent to /etc/fstab, just need to search for it.
Working like a charm with tasker running it on boot.I think I magically found the source of my battery drain problem and its fix. I curious because the device is hot and even the UI cannot run in 120Hz. This is a typical symptom of a swap in action. So I check my Memory Extension config and indeed it was Off. BUT, opening Termux and executing `free` shows that 8GB is allocated AND used. Thankfully I have root, so I simply `cat /proc/swaps` to see the allocated swap file, then `swapoff `. Animation smoothness instantly returns and the heat goes away. Been 4 hours and the battery drain is not crazy anymore. Feel free to try on your device.
Tried this on Redmi Note 13, apparently it had 6GB zram enabled for some reason.1. Obviously you need Termux AND root, the latter is NOT optional.
2. Enter root by executing `su`
3. Execute `cat /proc/swaps` to take note what device is allocated for it, typically /dev/block/zram0 but I won't guarantee
4. Execute `swapoff <that device, yes, it is /dev/block/zram0 if ours is the same>
Done. Enjoy your swap-free experience.
lol it took me 2 years to get my first ever ultra deviceThis morning, I have enabled all these features via adb commands/KernelSU modules, just to prove a point.
adb command:modules: Hyper Helper, HyperCeiler, AOD Mod, HyperOS Launcher modCode:settings put system deviceLevelList v:1,c:3,g:3
AOD transition to lockscreen.
Magazine lockscreen.
Recents/folders/control center/launcher blur
Icon/opening animations
Needless to say that it's NOT RECOMMENDED as it will SEVERILY affect battery consumption and performance, in general.
Only 14 hours on standby, versus almost 40 hours without enabling "eye-candy".
So if you (like me) have a Redmi Note 13 (Sapphire/n), please, give up on those "features" THEY WON'T COME IN A FUTURE UPDATE, DON'T TRY TO ENABLE THEM. It's not worth it.
In my country it's hard to get a NEW phone, even harder a Xiaomi 14, I mean, I can pay rent, bills and even some supplies for a month with all that money... But, whatever, I'm here just to say, don't enable those features, don't think it's a bug, you did nothing wrong (except buying a budget Xiaomi phone lol).
And I'm not complaining, I'm not blaming anyone here, maybe 小米集团 a little bit, why not. Not a nice marketing strategy.
You're not alone with battery drain, but 5h of SOT it's not muchI have a stupid question to ask, so please don't bite
is there an adb code to re-fresh or recalibrate battery life on an Android device, the battery drain on my mi 11 ultra is driving me insane
it could be on the charger the whole day, but the moment I pull it out and use it for roughly 5-10 minutes, it drops to 98% in fact my SOT is usually 5 hours on just surfing the net till I hit 0%, gaming is usually 2hrs or less.
Is there also a way to check the battery's functional lifespan and capacity without sing the accubattery app
then question no 2, is there an EU rom for Xiaomi or redmi pads, I am planning on getting a cheap pad and would like to install the EU rom so I can utilize the interconnectivity option of mirroring my device on the pad.
thank you
They should not be the same. BUT, don't get fooled by the device name. Remember where it is listed (/proc/swaps)? And the fact that swapoff turns it off? It IS swap, not zram. Zram does not need device configuration, it is a compressed page in RAM, no storage involved.ZRAM and SWAP are not the same it seems: https://xdaforums.com/t/zram-vs-swap.1851991/
Be sure it is not placebo. Even if you have UFS 4.0 which runs like NVMe PCIe 3.0 x4 at 3GBps speed (e.g. Snapdragon 8 gen 2), LPDDR5X RAM there runs at 33.6GBps, 11 times faster.The phone feels snappy af now or is it placebo? Anyway, i like it.
Maybe speed is placebo, although I doubt it.Be sure it is not placebo. Even if you have UFS 4.0 which runs like NVMe PCIe 3.0 x4 at 3GBps speed (e.g. Snapdragon 8 gen 2), LPDDR5X RAM there runs at 33.6GBps, 11 times faster.
Yes, I still notice my device hardly ever sleeps. The Awake bar does not follow Screen on, which means there are too many things working in the background when the phone is not in use.Maybe speed is placebo, although I doubt it.
But battery life has certainly improved!
I still think it was better before, 2 builds back, but last couple weeks it was really bad, and disabling swap seems to really help!
Yes, I still notice my device hardly ever sleeps. The Awake bar does not follow Screen on, which means there are too many things working in the background when the phone is not in use.
I have a stupid question to ask, so please don't bite
is there an adb code to re-fresh or recalibrate battery life on an Android device, the battery drain on my mi 11 ultra is driving me insane
it could be on the charger the whole day, but the moment I pull it out and use it for roughly 5-10 minutes, it drops to 98% in fact my SOT is usually 5 hours on just surfing the net till I hit 0%, gaming is usually 2hrs or less.
Is there also a way to check the battery's functional lifespan and capacity without sing the accubattery app
then question no 2, is there an EU rom for Xiaomi or redmi pads, I am planning on getting a cheap pad and would like to install the EU rom so I can utilize the interconnectivity option of mirroring my device on the pad.
thank you
Can't really answer, I have to be part of the development team to know that, but Xiaomi is getting less and less user involving in that regard. They're becoming like the others.But do you think it is bug that will be fixed or should we keep the phone as it is?
We use essential cookies to make this site work, and optional cookies to enhance your experience. Cookies are also used for ads personalisation