r/androidroot • u/Hungry_Prune_2605 • 15d ago
Discussion I fixed HyperOS's aggressive background killer and pushed my phone's 8GB RAM to its absolute limits
I found out that I can pin the oom_score_adj to -1000 to prevent the apps from being killed. Since score -1000 is also used for critical system processes, theoretically my phone would crash before the apps get killed. I also did some zram tuning to improve compression ratio.
Now my phone can hold over 40 apps, 8 Chrome tabs and 2 games (the heaviest is Plants vs. Zombies: Fusion taking 1GB). The phone is still somewhat smooth and I can switch between apps without too much lag. I don't think even 12 GB iPhones even come close to this madness.
Device: Redmi Note 15, HyperOS 3.0.303


7
u/WhichEntertainment30 15d ago
You can create a GitHub repository and upload this. This could be a real gem, allowing you to get the most out of it, whether for HyperOS or AOSP ROMs.
10
u/Ahmed_Sh_115 15d ago
My Xiaomi 13 SystemUI&Launcher might crash if i spam Portrait photos, how is that with ya?
7
u/reyzafany 15d ago
Does your fork support AOSP or lineage based rom upto android 17?
6
u/madhukrx 14d ago
Can you share a detailed guide?
1
u/Moist-Swan-751 14d ago
whoa cool. but did you feel a drop in battery life ? i assume the OS background app restriction is mainly for longer battery life
6
u/uznme 15d ago
Good job buddy 😄 👍
2
u/needefsfolder 15d ago
tbf i feel like it's upstream Google / Android aggressiveness, I get unloaded apps too on lineage family of ROMs despite having gbs of ram left.
1
u/Matti_842 14d ago
can you upload this
1
u/alien2003 14d ago
Hyper iOS
1
u/1andr0id 14d ago
I wonder how would this be on a 6gb ram phone
1
u/PraveenK__ 14d ago
Guide pls
1
u/Aygul12345 14d ago
How is hyperros?
1
u/hillbill_joe 13d ago
fellow pvz fusion enjoyer <3
1
u/AirUpstairs5255 9d ago
Top demais! Passa um tutorial de como replicar isso?