[LineageOS] Stutter or lag when swiping or scrolling - Moto X4 Questions & Answers

Hi. I flashed LineageOS 16 recently (clean flash) and the ROM is really good in a lot of aspects, I'm really digging it. But something that bothers me is that sometimes when scrolling through an app or swiping (like on Instagram) there's a noticeable frame drop or stutter. Interesting enough, it happens only on certain apps and moments and not always but it's enough to bother me since stock was so smooth (coming from Oreo Stock).
Is it something that normally happens with this phone? If so, is there a fix for it? Maybe a Magisk module or something.
I appreciate your help, thanks in advance.

For the stutter and performance issues, I recommend the LKT magisk module. I personally use the performance preset on lineage os, and it works fine.

T1Coreon said:
For the stutter and performance issues, I recommend the LKT magisk module. I personally use the performance preset on lineage os, and it works fine.
Click to expand...
Click to collapse
I mean, it does work but not to the extent I'd like. Isn't Moto X4 capable of handling this ROM? Or is it something else's fault?

You're not alone, I've had the exact same experience.
The fist post in the LOS thread says to use Oreo firmware. Not sure of that is no longer correct since it's LOS 16 which is Pie.
I ended up going back to stock Android One.
Out of curiosity do you have a 3GB ram or 4GB ram version?

cdkg said:
You're not alone, I've had the exact same experience.
The fist post in the LOS thread says to use Oreo firmware. Not sure of that is no longer correct since it's LOS 16 which is Pie.
I ended up going back to stock Android One.
Out of curiosity do you have a 3GB ram or 4GB ram version?
Click to expand...
Click to collapse
I have the 3GB version. However, I almost sure it's not a RAM issue since one of the things LOS does very good is keeping apps in the background, actually in that regard is better than stock IMO, though I've only tried stock Oreo on this phone.
This problem is a little one but it annoys me quite a bit since when I was running stock ROM the overall performance was always snappy. I should try wiping cache/dalvik with TWRP but I haven't had the chance atm.
BTW, how's stock Pie? I'm curious.

I have found that if you go into developer options and disable HW overlays, that fixes it. However, for some reason, that setting seems to revert back after some time. So that might be a bug.

One_Vision said:
I have the 3GB version. However, I almost sure it's not a RAM issue since one of the things LOS does very good is keeping apps in the background, actually in that regard is better than stock IMO, though I've only tried stock Oreo on this phone.
This problem is a little one but it annoys me quite a bit since when I was running stock ROM the overall performance was always snappy. I should try wiping cache/dalvik with TWRP but I haven't had the chance atm.
BTW, how's stock Pie? I'm curious.
Click to expand...
Click to collapse
I really like the most recent stock FI PPW29.69-39-1. It's pretty snappy and the double-tap-power-button- to-open-camera works faster than previous builds.

Im seeing some pretty poor UI performance as well. Especially in Firefox and K9 email. I didn't see any strain in the CPUs (none went over 20% utilization while I was experiencing the lag). LOS 16 is pretty young, might be some optimations just aren't there yet? Today's changelog was dense so people are absolutely working hard on it.
Edit: FWIW Firefox and k9 are slow on Havoc as well but Havoc's performance has been otherwise stellar. 3D performance included.

i noticed it only happen when battery saver is on. try it

Activate Developer Options, set all values for animation times to zero, phone is more fluent afterwards.

Related

[Q] Memory Leak

Is there currently any ROM and/or Custom kernel, that doesn't suffer from the memory leak bug?
I am aware that similar questions come up on every other thread.
I also would love to try for myself. Stock KitKat and stock lollipop both suffer from the bug. On lollipop I have much more free ram, but chrome and other apps still redraw when multitasking.
Problem is, I don't want to unlock my bootloader yet, as I'm still considering giving back the phone.
Thanks in advance for any insightful advice.
ratyfu said:
I am aware that similar questions come up on every other thread.
...
Problem is, I don't want to unlock my bootloader yet, as I'm still considering giving back the phone.
Click to expand...
Click to collapse
You seriously want an answer to that?
Just read "every other thread", then come to a conclusion and act accordingly. Or don't, since you don't want to unlock. Your choice.
doppelhelix said:
You seriously want an answer to that?
Just read "every other thread", then come to a conclusion and act accordingly. Or don't, since you don't want to unlock. Your choice.
Click to expand...
Click to collapse
I've been reading "every other thread".
And yes, I seriously want an answer to that.
I never said, that I didn't want to unlock my bootloader, eventually I do want to unlock it. But according to your reply, I suppose you don't understand that. Nevermind.
Thanks, anyway.
Titan Prime will yield you the best results with memory, from my experience.
Besides that, all you can do is sit and wait for 5.1. And hope that it will fix the problem.
I've got a (german) XT1068, and I was on build RETDEALL 21.85-14 for the longest time (KK 4.4.4). The phone was sometimes close to unusable due to the memory issues: Almost every time I went back to my launcher (Nova) the widgets would reload (all two of them), every 5th time the whole launcher would have to be restarted. When listening to music, the player would often be killed when it's not the foreground app. This all was already with tuned settings and the like. Simply put, my Galaxy S2 was a much better phone, with better performance and multitasking (same amount of ram, but dual core only)...
I've updated to the 5.0.2 build that was (finally) released a few days ago (22.46-28). It's a world of difference. I would say the problems are either gone or at least they got the biggest of issues under control. So far I haven't had it running without a reboot for multiple days (installing xposed and associated modules tends to require reboots), but so far everything is looking perfectly fine. Widgets haven't reloaded even once, let alone the launcher. Multitasking works, even larger apps weren't killed (like reddit news, which tends to use quite a bit of ram after scrolling for a bit).
So I don't know whether it's fixed, but at the very least this is a fully-stock-option that works perfectly fine (for me), even though I'm rooted and use XPosed that is by no means necessary.
I also have the German OTA update. Everything works fine. As for the memory leak for me that is a thing of the past, was really bad in 4.4.4 and I had the same version as the above poster. Everything stopped in the background, in point of fact there was no multitasking. With 5.0.2 I can play music run a navigation app, surf the net no problem and still see over 400Mbyte free ram in setting all without the dreaded app has stopped working or seeing apps restarting.
Roldorf said:
I also have the German OTA update. Everything works fine. As for the memory leak for me that is a thing of the past, was really bad in 4.4.4 and I had the same version as the above poster. Everything stopped in the background, in point of fact there was no multitasking. With 5.0.2 I can play music run a navigation app, surf the net no problem and still see over 400Mbyte free ram in setting all without the dreaded app has stopped working or seeing apps restarting.
Click to expand...
Click to collapse
4.4.4 didn't have a memory leak, just high minfree values I think.
Lollipop does have a memory leak (and thats mostly googles fault) and the memory management is very buggy when compared to kitkat. The memory leak doesn't show instantly, it shows after some time and you can just reboot the phone to "solve the problem".
If you want a really good rom for multitasking I recommend CM 11 or some rom based on it.
4.4.4 definitely has some serious issues on the MotoG, it was not just the min free values. I had tuned those (basically tried everything), but it made no real difference. So far, LP feels like it's a different phone.
I agree. I can't understand how people would go back to KitKat after trying lollipop. Chrome and other apps still redraw when multitasking though. :\
Let's see if 5.1 fixes that.
BTW: does anyone get graphic glitches in Tapatalk and chrome? Sometimes whole areas of the screen turn glitchy, until I switch to another app or press the back key. (Glitchy= pixels in all colours, like an overheated GPU on a PC would produce.)

ZypherOS vs LineageOS 13

im currently using ZypherOS as my daily driver and considering moving to LOS 13. I've read both threads' comments. How do these compare? anyone here who have used both ROMs? is it worthwhile to flash LOS 13 (more pros than cons)?
Personally, I really liked Zephyr, but I had some issues now and then. Overall, AOSP roms seem to feel slightly snappier than LOS. Now, LOS can have an occasional slowdown, but I would get outright bugs/crashes with Zephyr. It was the only AOSP rom that i could actually get GPS and speakerphone working at the same time, but there were other instabilities. So I chose the prehaps slower, but more stable LOS. I've also been able to minimize that occasional lag with a custom kernel and some related tweaks.
As far as features they are somewhat similar, but I think LOS probably has slightly more features (baring substratum install, of course). In some cases they have different features though, so not everything translates between them.
All of the MM roms have the potential modem issue with GPS/Speakerphone, so you may need to play with that if you encounter problems. I'm now trying to play with Gapps nano to keep things leaner, and seem to be having some success that way too! Also, if trying to root, I highly recommend trying Magisk over SuperSU; there's a ton of flexibility (and Magisk Hide is awesome!)
Make a backup, and then maybe give it a shot! I find myself really enjoying it!
jtflynnz said:
Personally, I really liked Zephyr, but I had some issues now and then. Overall, AOSP roms seem to feel slightly snappier than LOS. Now, LOS can have an occasional slowdown, but I would get outright bugs/crashes with Zephyr. It was the only AOSP rom that i could actually get GPS and speakerphone working at the same time, but there were other instabilities. So I chose the prehaps slower, but more stable LOS. I've also been able to minimize that occasional lag with a custom kernel and some related tweaks.
As far as features they are somewhat similar, but I think LOS probably has slightly more features (baring substratum install, of course). In some cases they have different features though, so not everything translates between them.
All of the MM roms have the potential modem issue with GPS/Speakerphone, so you may need to play with that if you encounter problems. I'm now trying to play with Gapps nano to keep things leaner, and seem to be having some success that way too! Also, if trying to root, I highly recommend trying Magisk over SuperSU; there's a ton of flexibility (and Magisk Hide is awesome!)
Make a backup, and then maybe give it a shot! I find myself really enjoying it!
Click to expand...
Click to collapse
I never use Zephyr but I use Los 13 and I don't have bug with speaker or gps (have GPS problem with Resurrection remix).
There's a occasionally slow down with heavy usage (stock kernel) but latest version resolve the slow down by Bluetooth (for me at least) so I'm happy with it.
Last but not least it's the only MM ROM in development as now.

Lag City

Hi all
Used to be a big fan of custom romming all of my phones. But ever since android pay ive been on stock rom. So now I'm a bit out of touch with everything.
Just got LOS on my MI5 and I've noticed that there is a LOT of lag. Does anyone else notice this? In the past AOSP based roms are so much smoother than standard MIUI roms, right now the opposite has been true.
Anyone else experiencing this? So far I'm running latest LOS nightly, standard kernel. Only thing I've added is magisk to use android pay.
I have had the same experience. Even some of the ROMs start out fast then slow down to a halt over time. The fastest/stable ROM I've used is PureNexus + Xceed Kernel, and it supports Android pay, Magisk, Systemless Root, SafetyNet bypass and Substratum and has a nice Pixel like interface (just install Google Pixel Launcher as a system app).
However, keep an eye out: Xiaomi just dropped new kernel source a few days ago and it might solve a lot of the performance issues we've been having. They finally (sort of) sorted it out performance issues on MIUI too in the last (stable) update.
edit: Forgot to mention that the lagging seems to be a result of aggressive frequency handling due to poor resource allocation resulting in "overheating" (it never really gets hot, because as soon as it gets noticeably warm there are aggressive throttles).
install kernel auditor and look your cpu frequences, i m using los since 2 months and the rom is very smooth, just like miui
los seems to get laggy after few days of use. I find aosp to be much more smoother and slim 7
I totally agree with you! I use the MIUI based on Android 6 + Xposed(XMIUI modul)
Which stable update are you talking about? I mean tbh on the latest stable that I Had (from a few days ago) it was mostly fine. But certain apps in certain situation just seem to bog down which is really annoying given the amazing hardware the mi5 has.
Never had any heat issues in MIUI which makes me think LOS isn't really that great.
go to kernel adiutor, go to virtual memory and increase the z-ram
Also just tried purenexus. standard kernel....all of my problems are now solved
that would've been a good shout. But i've switched to purenexus. Everything appears to be fixed.
test slim and xceed kernel based on new surce! is better

Mi5 3GB/32GB poor memory mangement both MIUI and LOS/CAF base

Im looking to try and put this problem to bed once and for all.
I have a 3GB ram 32GB ROM Mi5, I have used it for about 6 months and over that time tried about various roms extensively, (Resurrection Remix, Paranoid Android, MIUI 8 (various builds), LOS, Dirty Unicorns, + others). No matter which OS, Rom or code base I have memory issues where the phone will have 600-800MB free ram but kill background tasks if they havent been used for a short while or if I try open a large app most of the background apps are killed. Some people will say this is normal behavior but I do not believe it is. The reason Im sure its not normal is I currently also have a Oneplus One 3GB/64GB. I have my OPO running Nitrogen OS 7.1.2 (Mi5 is currently Paranoid Android 7.1.2) and the OPO happily multitasks, I can use the recents switcher to open an app from an hour or two ago and it pops right up where it was. My Mi5 will redraw this app everytime in the same circumstances. The Mi5 will often kill the launcher even and have to redraw after pressing home.
I have tried differing kernels (Stock, Dragonxia (current) and Xceed) none helped, I've tried setting different values in the Low Memory Killer setting in Kernel Adiutor to no avail. Something must be inherently wrong with this phones hardware, I wondered if the memory reported 2.6GB is in fact false? I have verified my phone genuine through Xiaomi's service.
I have significantly more free ram on the OPO than the Mi5, both on Android 7.1.2 yet massive differences. "Android OS" on my Mi5 will use 1GB of ram easily, the OPO is showing just under 500MB at present.
Im seriously considering scrapping my Mi5 and going back to the OPO full time, the user experience is so much nicer despite the Mi5 generally performing better (faster internal storage, better camera, fingerprint is nice, faster SOC)
Do you think this is just a Xiaomi thing or is something critically wrong with my Mi5?
Thanks for reading
Appreciate your honest opinions or solutions though I have tried about everything I could find online.
.polki said:
Im looking to try and put this problem to bed once and for all.
I have a 3GB ram 32GB ROM Mi5, I have used it for about 6 months and over that time tried about various roms extensively, (Resurrection Remix, Paranoid Android, MIUI 8 (various builds), LOS, Dirty Unicorns, + others). No matter which OS, Rom or code base I have memory issues where the phone will have 600-800MB free ram but kill background tasks if they havent been used for a short while or if I try open a large app most of the background apps are killed. Some people will say this is normal behavior but I do not believe it is. The reason Im sure its not normal is I currently also have a Oneplus One 3GB/64GB. I have my OPO running Nitrogen OS 7.1.2 (Mi5 is currently Paranoid Android 7.1.2) and the OPO happily multitasks, I can use the recents switcher to open an app from an hour or two ago and it pops right up where it was. My Mi5 will redraw this app everytime in the same circumstances. The Mi5 will often kill the launcher even and have to redraw after pressing home.
I have tried differing kernels (Stock, Dragonxia (current) and Xceed) none helped, I've tried setting different values in the Low Memory Killer setting in Kernel Adiutor to no avail. Something must be inherently wrong with this phones hardware, I wondered if the memory reported 2.6GB is in fact false? I have verified my phone genuine through Xiaomi's service.
I have significantly more free ram on the OPO than the Mi5, both on Android 7.1.2 yet massive differences. "Android OS" on my Mi5 will use 1GB of ram easily, the OPO is showing just under 500MB at present.
Im seriously considering scrapping my Mi5 and going back to the OPO full time, the user experience is so much nicer despite the Mi5 generally performing better (faster internal storage, better camera, fingerprint is nice, faster SOC)
Do you think this is just a Xiaomi thing or is something critically wrong with my Mi5?
Thanks for reading
Appreciate your honest opinions or solutions though I have tried about everything I could find online.
Click to expand...
Click to collapse
It has to do with the kernel which is ultimately based on Xiaomi's kernel source code.
Although I don't have a fix you can use now, I recommend that you flash JDC's AOSP 8.0 Oreo build. Apparently in Oreo Google compresses tasks before loading it in the RAM and RAM management should be significantly better. Although the ROM isn't DD ready yet it might be worth it to see what the future holds.
I would install latest Global Developer MIUI with MiFlash using clean all option. It will wipe everything in your phone. Then install TWRP and flash JDCTeam Stable 9 + B--B kernel v0.30. I'm using this and it performs really good.
You can't compare OPO's 3g Ram with Mi5 3g Ram. OPO is a 32-bit device, while Mi5 is a 64-bit one. This means each pointer on Mi5 takes 8 bytes of memory while it only takes 4 bytes of memory on OPO. Pointers are a bit part of memory usage.
xdadevet said:
It has to do with the kernel which is ultimately based on Xiaomi's kernel source code.
Although I don't have a fix you can use now, I recommend that you flash JDC's AOSP 8.0 Oreo build. Apparently in Oreo Google compresses tasks before loading it in the RAM and RAM management should be significantly better. Although the ROM isn't DD ready yet it might be worth it to see what the future holds.
Click to expand...
Click to collapse
Is it same as ZRAM?
SulthonNashir said:
Is it same as ZRAM?
Click to expand...
Click to collapse
No, not at all. That eats battery and CPU power like there is no tomorrow. Just try the JDC Oreo build for yourself (the LOS 15 build is too unstable).
pianistaPL said:
I would install latest Global Developer MIUI with MiFlash using clean all option. It will wipe everything in your phone. Then install TWRP and flash JDCTeam Stable 9 + B--B kernel v0.30. I'm using this and it performs really good.
Click to expand...
Click to collapse
Have followed your post and I am so far very happy with performance, memory management/multi tasking is still worse than my OPO but seems better and overall the OS seems faster and more responsive. I did flash Oreo on my OPO and it looks nice, using as a daily driver on the OPO as a second device more or less to evaluate Oreo, I use the OPO for things like youtube and spotify, it has a data only SIM. Looking forward to trying a more stable build of Oreo on my Mi5 when they are available but I need my main phone pretty stable so will wait on this a while.

Which Custom Rom is the best?

Which custom rom is better as a daily driver? I rarely play games so gaming doesn't really matter, I watch youtube and browse twitter and reddit.
I'm thinking of flashing dotOS or Havoc OS, but if there's a better and more stable rom, just let me know.
Thanks
I would suggest Harukey's Syberia pie rom, an excellent choice for a daily driver, i use it with the stock kernel it originally comes with, and not rooted; zero bugs believe me. And an excellent battery life, my device's battery has gone from 97% to 66% in 2.5 days of inconsistent usage. And stanby drain is almost non-existent. Cant vouch for any other rom, had problems with Havoc, and havent tried dot os as of yet. I'm sticking with syberia for atleast a few months for now.
Here's the latest iteration:
https://sourceforge.net/projects/sy...toni-v2.3-20190309-0651-OFFICIAL.zip/download
dhrjbhtt0 said:
I would suggest Harukey's Syberia pie rom, an excellent choice for a daily driver, i use it with the stock kernel it originally comes with, and not rooted; zero bugs believe me. And an excellent battery life, my device's battery has gone from 97% to 66% in 2.5 days of inconsistent usage. And stanby drain is almost non-existent. Cant vouch for any other rom, had problems with Havoc, and havent tried dot os as of yet. I'm sticking with syberia for atleast a few months for now.
Here's the latest iteration:
https://sourceforge.net/projects/sy...toni-v2.3-20190309-0651-OFFICIAL.zip/download
Click to expand...
Click to collapse
thank you for the suggestion!
GameEaters said:
thank you for the suggestion!
Click to expand...
Click to collapse
And I'm sorry, seems like I forgot to tell you about the only bug that I've come across, since that doesnt matter much to me. The auto brightness feature doesnt seem to work at all times, sometimes it will work, but half of the time it refuses to make an effect on the screen brightness, so be wary of that.
And btw, you could also look towards the Pixel experience rom, another great ROM for our device, and extremely smooth and bug free, and if my memory serves me right, auto brightness also works fine on it.
Here's the latest version of the PE rom:
https://drive.google.com/file/d/1-fSlX7jEI74tXOMSZAMcP7gZAIndU_Ie/view?usp=sharing
dhrjbhtt0 said:
And I'm sorry, seems like I forgot to tell you about the only bug that I've come across, since that doesnt matter much to me. The auto brightness feature doesnt seem to work at all times, sometimes it will work, but half of the time it refuses to make an effect on the screen brightness, so be wary of that.
And btw, you could also look towards the Pixel experience rom, another great ROM for our device, and extremely smooth and bug free, and if my memory serves me right, auto brightness also works fine on it.
Here's the latest version of the PE rom:
https://drive.google.com/file/d/1-fSlX7jEI74tXOMSZAMcP7gZAIndU_Ie/view?usp=sharing
Click to expand...
Click to collapse
Thank you for recommending this to me, it's really smooth (better than miui). Flashed it yesterday, autobrightness doesn't matter because I don't use it. Lawnchair was a bit glitchy, and ram management was ok, but i got 5 hours of sot from 60% to 5% which is good. Once again thanks so much for recommending me this awesome rom. I'll probably donate to the developers for their work.
Syberia +1
Havoc os with wolf hunter edition kernal
Havoc OS latest build
Pixel Experience Go rom is most stable rom ever
SyberiaOS is the best one so far! I absolutely love it.
The only thing I'd change is the default launcher, Lawnchair is indeed glitchy and I'm always scared to update because every time I had problems with this before & after the encryption so it isn't the cause.
Has anyone experienced bootloop after update? I didn't root the device, I always leave the update zip bc I every time I need to reflash again.
GameEaters said:
Which custom rom is better as a daily driver? I rarely play games so gaming doesn't really matter, I watch youtube and browse twitter and reddit.
I'm thinking of flashing dotOS or Havoc OS, but if there's a better and more stable rom, just let me know.
Thanks
Click to expand...
Click to collapse
Ho for lineage os official, or syberia os
dotos is solid. no bugs on clean install and great battery.
ogjobat said:
dotos is solid. no bugs on clean install and great battery.
Click to expand...
Click to collapse
How come you don't have any bugs on dotOS? I tried it twice, two different versions, I thought maybe my set up was faulty but every time I had to replace this rom with something else. It's unusable.
Sent from my Redmi 4X using Tapatalk
locovibe said:
How come you don't have any bugs on dotOS? I tried it twice, two different versions, I thought maybe my set up was faulty but every time I had to replace this rom with something else. It's unusable.
Click to expand...
Click to collapse
maybe try a clean install with the latest version?
I did and didn't restore my data. Soon after the installation I get numerous errors and hang ups. I won't try it again.
Sent from my Mi A2 Lite using Tapatalk
amandeep0007 said:
Pixel Experience Go rom is most stable rom ever
Click to expand...
Click to collapse
I'm testing right now the CAF ROM.
I miss so many added features from SyberiaOS (beautifully implemented One-Hand mode, scrambled lockscreen keyboard, more accessible power menu, choosing preferred overview mode, built-in status bar customiser and many more handy additions). WiFi seems a lot slower (and it is, just checked with fast.com) and it says it's been fixed on the project's offical website. Not. Loc on, BT off. No root.
I always choose smaller display size and on Pixel Experience ROM it looks less adjusted and even too small (items are too close to the edges, especially annoying on the pull-down status bar). SyberiaOS has more steps to configure this one, so "smaller" one doesn't look that small.
Except some nice touches like Product Sans and neat-looking lockscreen weather widget I don't see many advantages over SyberiaOS. I don't care about Pixel wallpapers and sounds - I always use the same wallpaper and sounds since Nokia N8 XD.
Still, the ROM feels nice, there are +2 pros just mentioned above, but they aren't a necessity, another +1 because of the recent founding in SyberiaOS (on Pixel Experience camera does include location which is a must for me, but same as SyberiaOS doesn't display Model & Maker), +1 for built-in Google apps, +1 for seamless encryption, +1 boots faster, but it may be subjective (although RAM usage is 1 GB less of what SyberiaOS uses) and possible +1 for smooth updates. We'll see.
I'll stick with it for some time and see how's it going.
@RohanHasabe8 check this out and thank you big time!
ogjobat said:
dotos is solid. no bugs on clean install and great battery.
Click to expand...
Click to collapse
Which version do you mean, official or unofficial?
Lineage OS is the best rom . I am on LOS 15.01 oreo 8.1 rom no bugs and a lot of updates.
Also lot of privacy settings like trust. Normal drain of battery and it is official and still supported.
:good::good::good:for the devs who work hard!
Guys i flashed the PE normal build today and am unable to root it i installed magisk several times but manager keep saying magisk is not installed and ya i am using latest orangefox recovery i.e 9.0 .
Droid King said:
Guys i flashed the PE normal build today and am unable to root it i installed magisk several times but manager keep saying magisk is not installed and ya i am using latest orangefox recovery i.e 9.0 .
Click to expand...
Click to collapse
In this case you have to change kernel. Try f.e. gabriel or wolf kernel.

Categories

Resources