Deleted message with curl | bash.
However, the install.sh file is open and readable.
Deleted message with curl | bash.
However, the install.sh file is open and readable.
Just apply to my phone, thanks for this
Thx, give a feedback if you want! ![]()
Upgrade in.73 with no problem
Perfect! I’m working for an implementation of swap file. I’ll keep you informed.
I’ve updated the workaround with the extra creation of a SWAPFILE (optional).
Why it’s useful to have both zram and a swapfile?
zram compresses RAM and acts as “fast extra memory,” which helps prevent slowdowns.
the swapfile kicks in only when really needed, providing emergency space that prevents crashes, the OOM‑killer, and forced app closures.
In a very very very simplified way:
zram = speed.
swapfile = safety and stability.
They work together: zram handles light and fast memory pressure, while the swapfile protects the system when RAM is completely full.
WARNING! It is recommended that the ZRAM size be lower than, or at most equal to, the device’s RAM.
I’ve implemented your solution cutting the amount of ZRAM by 2gb on my backup device - my beloved XA2, where I’ve mostly stumbled upon that OOM killah problem.
After further testing I shall provide U with some feedback.
P.S. Thanks for your work!
Thank you so much. Your feedback Is very importante for me.
P.s.: try to create a SWAPFILE (1024mb). In the EXTRA instruction of my GitHub README.md I have write an how to.
I’ve already added 1gig swapfile too.
The first results do show that now I am capable of doing stuff, which were not possible before - literally:
2 heavy sites in FF heavy loaded with plug-ins, NewPipe running a youtube-video in the background, while having f-droid, sysmon and couple if other systools running.
Impressive. (:
edit: I will run my XA2 for a couple of days and then report more.
edit: One issue I stumbled upon was the fact I wasn’t able to set swap priority different than -1. -2 just didn’t wanted to work, whereas after activation of swap, it always returned to -1. Which is fine though.
thanks to you, thanks again!
However, if ZRAM have a priority above SWAPFILE is ok. I have ZRAM prio 5 and SWAPFILE prio -2.
I’ve followed your instructions. everything seems to work fine on xperia 10ii. Thanks a lot!
Only that question : after created 1Go swap file, the system partition is full. Is it a problem (for next SFOS update for example(?
Really good trick
No OOM with Pure Maps, and ny 10ii is now working very smoothly. Thanks a lot !
I think is better if swapfile is created in home in your case.
First of all, delete the swapfile:
/etc/fstab and comment (#) the line with /swapfile;sudo rm /swapfile (if you prefer you can use devel-su instead of sudo).Thanks a lot @RootGPT ! ![]()
I hope, this kind of storage issue will be not present with the JP2
FWIW I think /home/.swap would be better. That still puts it on the separate /home partition, but out of defaultuser’s sight.
And make sure that the system does all that after /home is monted.
Unfortunately, this break my phone. It can’t start now ![]()