yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] lightingcloud:
Settings, Velvet and Play Services are about 150 mb each, not that high... anyway I had a freeze when using Chrome Beta. Want the logcat and the dmesg? (looks like disabling heads up didn't help, in the end)
[Nexus 5 Original Android Development] Yank555:
The logcat and dmesg would be interesting while this happens ... if you can reproduce it, it's easier of course, else maybe check if catlog can run in the background all the time so you're certain to catch it.

I wonder if the issue isn't chrome (beta maybe even more) as those are memory hogs.

What browser are the others facing issues using ?

I mainly use dolphin and I seldomly have more than 4-5 tabs open at the same time (but always in desktop mode, aka. desktop version of the website).

JP.
[Nexus 5 Original Android Development] lightingcloud:
I just had another freeze using Pocket MAL. I lost the moment, earlier, but as soon as I got the phone working again I saved the logcat and the dmesg. I'm sending you a pm asap.
[Nexus 5 Original Android Development] t0mas_:
thanks for the time and effort, but for me it still doesnt work. mms still gets stuck at "sending", and it gets sent if i switch to 3rd party app.

when trying to recieve, the app gets notification that mms has arrived, but is unable to download. logcats are attached, first two are from trying to send, one taken immediately after sending and the second a minute or two later. 3 and 4 are from trying to download mms.

thanks and have a nice day :)
[Nexus 5 Original Android Development] Yank555:
Are you positive the APN is correct in your case ? Can you check that the APN you have it correct and only one is in the list ?

JP.
[Nexus 5 Original Android Development] Toutatis_:
I am getting the opposite issue: MMS work fine with the stock app, but do not work with third party apps, except Google Messenger for some reasons. I tested a couple of them (QKSMS, TextSecure, Textra, EvolveSMS, Chomp, GoSMS and others...), it is always stuck at "sending" too.

APN are properly configured, not sure if it is a ROM related issue though.

Apart from that, brilliant ROM. Very smooth along with ElementalX kernel, great battery life, no lag or crash whatsoever. :good:
[Nexus 5 Original Android Development] dokie80:
total used free shared buffers

Mem: 1898460 1840756 57704 0 756

-/+ buffers: 1840000 58460

Swap: 0 0 0

I just install catlog. So what should I do? When it happen again, I open catlog and send the log?

I revert the settings to default again. Still running test build.

Usually I only run Line (+pc version), WhatsApp (+web), dialer, bbm, quick pic, jabplite, Textra.

As i have access to email, Line and WhatsApp via laptop, so most of the time only use BBM and Textra/Sms.

Always on WiFi, heads up already disabled after clean flash, prevent wake up too.

Today I got a pretty bad lag after having a call, phone quite Unresponsive, but after a while, it's back to normal, this happen while I'm still using interactive gov (or yankactive, I forgot).
[Nexus 5 Original Android Development] cooooooop:
Tried this and got a bit further with GMail, but then couldn't get past a bunch of error messages about Google Play Services. Since I couldn't figure out how to reinstall that, and my phone has been recently wiped, I just did a new clean install. Everything appears to be working again now, not sure what I screwed up, but hopefully I don't encounter those issues again.

Thanks for the help and thanks for your work on the ROM!
[Nexus 5 Original Android Development] Yank555:
Honestly I don't think the governor will generate issue like this one, it more sounds like a memory issue.

But the above is not with stock kernel / settings as there is no swap being used, which is the case in stack.

In vatlog you can just send the log (use my email address, it's in about phone), just add which device and what happened in the email ;)

JP.

Sent from my Nexus 6 running Yank555.lu SlimLP 5.1.1 on Yank555.lu v1.3a kernel.
[Nexus 5 Original Android Development] lightingcloud:
Since disabling heads up didn't work, I went and tried disabling SlimRecent. Is it a gamble? Yes, I have no idea of what I'm doing. But, you know, why not? 8D

should I go to the new test build or to the last DungeonMaster version? or just stay with the 02/10 test build? (wait was it 02/10? something like that anyway)

EDIT: next time I flash, I'll switch to zero gapps anyway
[Nexus 5 Original Android Development] Yank555:
Wait ... not sure I'm following ... too much multitasking in my head lately :D

Disabling headsup is not working ? Or it's not helping with the lags ?

JP.
[Nexus 5 Original Android Development] wangdaning:
Was wondering if the ! in data and wifi signals indicators has been fixed.

I know before it was ignored because it is only cosmetic and other things were more important, but it has become kind of an issue for me. I am on beta 0.5, will upgrade soon just busy, and occasionally my data connection will turn on. I do not have a data plan and don't use data so much. I don't realize it is on because the indicator is the same and it drains my account and I end up having to pay for it.
[Nexus 5 Original Android Development] Yank555:
You need to disable mobile data for this not to happen if you don't have a data plan.

But careful, tapping on the signal QS tile will enable it, well toggle it.

So you might setup a limit at 0 :

JP.

Sent from my Nexus 6 running Yank555.lu SlimLP 5.1.1 on Yank555.lu v1.3a kernel.
[Nexus 5 Original Android Development] dokie80:
I didnt flash kernel. Just slim ROM and dankoman gapps. Kernel info from the about section also say so.

Other user can try free command too? Am I the only one? :D
[Nexus 5 Original Android Development] lightingcloud:
Sorry, I mean it's not helping with the lags :) not that switching to "normal recents" helped in any way, so I'm reverting to standard settings (way cooler than plain stock 8D ). Anyway let me know if you could use some other logcats or whatever you may need :)
[Nexus 5 Original Android Development] TJKV:
So um....any chance this feature can be forgotten OR changed in a few ways during the merge to mm6.0 branches? :p

Sure it makes sense if:

a) mobile data tile was one of the expanded toggles on the top row:

It can be moved on top to replace the Bluetooth tile but we then lose the Bluetooth page that pops up showing devices around/paired devices.

b)if it had two different images for on and off like the WiFi tile, so we can see immediately if it is on or not:

Sure the image changes when mobile data connects and the E/H/H+ image comes, but in my case that takes a while (anywhere from a few seconds to a few tens of minutes) and sometimes doesn't connect at all due to congestion or non availability in the area I am in at that time.

So it can work better if the following changes could be made:

1. Two different images for on/off so it becomes immediately clear which state it is at

2. Bluetooth tile single tap causes the Bluetooth devices list to pop up, just like the Screen Timeout tile or the Advanced Location tile.

This would mean the mobile data tile perfectly replaces the Bluetooth tile on the top row; the Bluetooth tile behaving like all other non-top row tiles (Single tap to open more page if any) and Mobile Data tile behaving exactly like a top row tile (single tap top part to toggle, with immediate feedback, or tap bottom part to open the relevant page). In this case it could be argued that the Mobile Data tile might as well come positioned next to Wifi on the top as default. However if the user moves it back down, then at least the toggle images make it clear what position it is at. Also the More page can be accessed by long-pressing (But no other tile has long press to access that page, so slightly inconsistent)

OR

1. Mobile Data tile behaviour is reverted to stock :p

There is ANOTHER solution but I don't know how feasible it is. What if the Mobile Data tile behaves like in stock if it is in the stock position, but if it is moved to the top row to replace Bluetooth then it behaves like in 1 above, and Bluetooth tile behaves like in 2 above. So then behaviour is always as expected no matter what position it is at. This seems to be the most consistent method I can think of.
[Nexus 5 Original Android Development] dokie80:
[MENTION=4738400]lightningcloud[/MENTION], can u try free command too, to see if swap is enabled? [MENTION=2033478]Yank555[/MENTION], where is the setting to disable swap.. assuming I accidentally disable swap. But I'm quite sure I didnt, so probably the default is no swap?

thanks
[Nexus 5 Original Android Development] wangdaning:
Thanks for the tip
[Nexus 5 Original Android Development] Yank555:
Need to digsest all of this ;)

Making behaviour dependant on position might be challenging...

Well I think you have a valid point, this change came with custom QS tiles addition. It's not intuitive as you don't see if data is enabled until it's too late. So I think you've got a point there.

I never bothered as I have a data plan, but that was not always the case, so I do understand.

I'd say single tap should show details (more), long tap open data setting pannel.

The problem is, and I think that was the idea, now you can move it up, what should the 'more' do if the tile is in first row ... likely that's the reason this was changed to what it is now.

Btw, stock M will just react to simple click and open more, the rest will do nothing.

JP.

Sent from my Nexus 6 running Yank555.lu SlimLP 5.1.1 on Yank555.lu v1.3a kernel.
[Nexus 5 Original Android Development] t0mas_:
I am positive, but my carrier requires separate data and mms apns. and 3rd party apps work so I suppose they are working as they should (tried Google and textra) . I also tried combining both into one, with no luck. I also have two separate apns if I flash stock. i am curious why you think there should only be one apns in the list?
[Nexus 5 Original Android Development] Yank555:
One or one pair I meant ;) I also have one for data and one for mms.

Some carriers will have half a dozen, so a little cleanup can help there, but that's not your case, we can skip that ;)

I've tested mms.apk on my HH, worked and didn't work, so not conslusive :(

Will need further tests...

JP.

Sent from my Nexus 6 running Yank555.lu SlimLP 5.1.1 on Yank555.lu v1.3a kernel.
[Nexus 5 Original Android Development] lightingcloud:
I need more infos :D I just use the terminal and sudo free and report the messsge I get or I have to do something else?
[Nexus 5 Original Android Development] VictorLapin:
Trust me, it's really hard to accidentally disable swap :D I'm doing some tests on my daily driver HH, about 10h uptime without swap.
[Nexus 5 Original Android Development] dokie80:
[Hammerhead][ROM-AOSP][2015/SEP/27] SlimLP 5.1.1 beta 0.8

I just use "free", and post result

I have decent battery. No problem with it. But the problem is the lag. Not very bad for me to switch ROM though.

Just curious, because I don't use custom kernel and doesn't have swap.
[Nexus 5 Original Android Development] Yank555:
Indeed, it's not THAT easy to switch it off by mistake ;)

Here's how to do it :

You need to edit the following file :

/system/etc/init.yank555.lu.kernel.sh

And remove these lines :

# - zSwap activation - 768Mb
if [ -e /sys/block/vnswap0/disksize ] ; then
swapoff /dev/block/vnswap0
echo 805306368 > /sys/block/vnswap0/disksize
mkswap /dev/block/vnswap0
swapon /dev/block/vnswap0
fi
echo `date +"%F %R:%S : 768Mb zSwap support enabled."` >>$log_file

Then reboot the system.

Note : you need to mount /system in read/write (root file managers can do that for you) and have root access to modify the file.

Next time you flash a build, this will be overwritten (so swap will be reactivated again).

JP.
[Nexus 5 Original Android Development] dokie80:
It's not that I want to disable it. But I'm wondering if I can disable it without knowing it. If it's not that easy, then it's definitely switched off by default.

Here's a screenshot with Adiutor, kernel info and free Mem and swap on 1 screen.

I noticed free ram is also low. But phone is not lag yet.

Is it possible that disabled swap is the cause of the lag?

Thanks
[Nexus 5 Original Android Development] Yank555:
Swap is 100% enabled by default, has been that way with my kernel for way over a year.

zswap can help make more memory available to the system, but there are not only benefits, there are also drawbacks to it.

So far using it has proven better to me, in the way I use my phone, which can be different to the way you use your's, of course.

To see if swap is active you can use the following two commands (which give more or less details) :

Having low free RAM at OS is normal and good, unused RAM here is wasted RAM.

What you can keep an eye on is how much swap is used on the one hand, and how much is shown free in Settings -> Apps -> running, which shows how much of the used memory by Android is actually still 'free' in Android for apps.

Hope this isn't too confusing ;)

JP.

Sent from my Nexus 6 running Yank555.lu SlimLP 5.1.1 on Yank555.lu v1.3a kernel.
[Nexus 5 Original Android Development] dokie80:
No its not. Many Thanks for the explanation.

So here is screenshot of cat command

Any idea why and how the swap is switched off?

So I manually make swap, here is the screenshot, please let me know if I did it wrong.

It's active now, right? And I don't have to do anything for every boot?

Thanks
[Nexus 5 Original Android Development] Yank555:
yep, that is correct.

Can you post what you have in /data/kernel-boot.log ? (Need to be su to access)

JP.

Sent from my Nexus 6 running Yank555.lu SlimLP 5.1.1 on Yank555.lu v1.3a kernel.
[Nexus 5 Original Android Development] dokie80:
Just reboot. It's off again :(

I ll post in a minute

----------------------------------------------------
Yank555.lu - execution of kernel options init script
----------------------------------------------------
Kernel version : Linux localhost 3.4.0-hammerhead-SlimLP-5.1-Yank555.lu-test #1 SMP PREEMPT Fri Oct 2 20:23:19 CEST 2015 armv7l GNU/Linux
Busybox used : /system/xbin/busybox
2015-10-08 18:21:47 : Checking for Yank555.lu kernel...
2015-10-08 18:21:47 : Yank555.lu kernel found, continue executing the config file...
2015-10-08 18:21:47 : Waiting for Android to start...
2015-10-08 18:22:09 : Android is starting up, let's wait another 10 seconds...
2015-10-08 18:22:39 : Starting kernel configuration...
2015-10-08 18:22:39 : SELinux set to enforcing.
2015-10-08 18:22:39 : Init.d script execution support disabled.
-rwxr-xr-x root shell 160 2015-10-03 01:11 00banner
-rwxr-xr-x root shell 1609 2015-10-03 01:11 50selinuxrelabel
-rwxr-xr-x root shell 416 2015-10-03 01:11 90userinit
2015-10-08 18:22:39 : Userspace DVFS access set to ignore.
2015-10-08 18:22:39 : CPU governor set to intellimm by faux123.
2015-10-08 18:22:39 : CPU min. screen on frequency hardlimit set to 0.30GHz.
2015-10-08 18:22:39 : CPU min. screen off frequency hardlimit set to 0.30GHz.
2015-10-08 18:22:39 : CPU max. screen on frequency hardlimit set to 2.26GHz.
2015-10-08 18:22:40 : CPU max. screen off frequency hardlimit set to 1.50GHz.
2015-10-08 18:22:40 : CPU min. wakeup kick frequency set to 1.96GHz.
2015-10-08 18:22:40 : CPU min. wakeup kick delay set to 2 seconds.
2015-10-08 18:22:40 : CPU min. touchboost delay set to 0.75 seconds.
2015-10-08 18:22:40 : CPU min. touchboost eventcount set to 3.
2015-10-08 18:22:40 : CPU min. touchboost low frequency set to 0.88GHz.
2015-10-08 18:22:40 : CPU min. touchboost high frequency set to 1.27GHz.
2015-10-08 18:22:40 : CPU Hotplug driver set to IntelliPlug.
2015-10-08 18:22:40 : IntelliPlug Profile set to Conservative.
2015-10-08 18:22:40 : IntelliPlug Hysteresis set to average (8).
2015-10-08 18:22:40 : IntelliPlug Runqueue Threshold set to fast (1000).
2015-10-08 18:22:40 : CPU Thermal driver set to IntelliThermal.
2015-10-08 18:22:40 : IntelliThermal Frequency Throttle limit set to 80 degrees.
2015-10-08 18:22:40 : IntelliThermal Core Throttle limit set to 85 degrees.
2015-10-08 18:22:40 : Fast Charge - Custom Current Mode enabled.
2015-10-08 18:22:40 : Fast Charge - USB charge level set to 1000mA/h.
2015-10-08 18:22:40 : Fast Charge - AC charge level set to 1800mA/h.
2015-10-08 18:22:40 : Waiting 60 seconds...
2015-10-08 18:23:40 : Internal MMC Readahead set to 512Kb.
2015-10-08 18:23:40 : Internal MMC scheduler set to FIOPS.
2015-10-08 18:23:40 : Dynamic Deferred File Sync enabled.
2015-10-08 18:23:40 : 768Mb zSwap support enabled.
2015-10-08 18:23:40 : Swappiness set to 80.
2015-10-08 18:23:40 : Finished kernel configuration.

Above is kernel-boot.log
[Nexus 5 Original Android Development] dokie80:
Note sure if this relevant.

I checked /dev/block/ and look for vnswap0, only seeing this

It's 0 byte.
[Nexus 5 Original Android Development] TJKV:
Haha yes it is quite complex, and definitely not important right now as I imagine it will be a while before all this gets merged into mm6.0. So let's save this conversation for later when the time comes :)
[Nexus 5 Original Android Development] lightingcloud:
... Looks like swap is deactivated on my phone too

And I swear I never messed with it.

You're saying THAT'S the problem?
[Nexus 5 Original Android Development] dokie80:
Really sorry, but I'm glad that I'm not the only one. Hehe. You running test build too?

Not sure about that, but at least we found something. Hm... I ll try to make swap manually and see if it helps with the lag.
[Nexus 5 Original Android Development] lightingcloud:
Yes, I'm on 02/10 test build, didn't flash the new one as it was for mms only and I don't need/use them.
[Nexus 5 Original Android Development] VictorLapin:
We thought that's the solution...
[Nexus 5 Original Android Development] Yank555:
As Victor says, it's certainly not the problem, but it could help with the problem...

Good point, though, it was disabled on my end as well, SELinux issue.

Trying to fix.

There will be a 0.9 beta tonight, too :D

JP.
[Nexus 5 Original Android Development] Yank555:
Fixed swap --> https://github.com/SlimRoms/device_lge_hammerhead/commit/5711f9ae417eeb848bc1b90bf038d98e6e58b7ac

Uploading DM build (with the above fix).

JP.
[Nexus 5 Original Android Development] Yank555:
ROM Update - DM Build

- repo sync'ed 3h ago

- fixed swap not getting activated due to SELinux access

Download Link : Slim-hammerhead-5.1.1.beta.0.9-UNOFFICIAL-20151008-2045.zip

Note : DM builds are pure SlimLP source based.

JP.
[Nexus 5 Original Android Development] Yank555:
Well if you're willing to run my personal build (should be ready in 1-2h), celular tile will behave like this :

simple tap : show details

long tap : open mobile settings

secondary tap : open mobile settings

As I do find this indeed more logical. This will likely be rethought with M, maybe adding a different icon when data is disabled ... but some to go before we can talk about such details ;)

JP.
[Nexus 5 Original Android Development] mrbeardy:
Thanks for the DM builds Yank555.

I tried the build you just posted but still have zero swap. I did a dirty flash but am using bluspark kernel.
[Nexus 5 Original Android Development] dokie80:
[MENTION=2033478]Yank555[/MENTION]

Dirty flashed, same with mrbeardy, no swap.

I try run /system/etc/init.yank555.lu.kernel.sh with root browser, execute as su, and swap in on.

Su app problem? I don't use other Su app, just using the built-in one.

Thanks
[Nexus 5 Original Android Development] Phazmos:
For laughs

Reboot - swap should be disabled

Install supersu - execute sh file - swap should be enabled

Reboot - see if swap is enabled

There have been some issues with koush su not working properly

If supersu is built in (i can't remember now), disregard.
[Nexus 5 Original Android Development] dokie80:
Oh I know (or at least suspect) that it will be disabled if I reboot, I just doing that because it's easier for me than typing those gibberish commands :D

beside I want to know if the .ssh is working or not (note. that I m a noob in linux, probably show up in .log if error :D).
[Nexus 5 Original Android Development] TJKV:
That will work swimmingly! I'm already on an earlier build from you (before you started DM builds), so I'll just flash it over :)
[Nexus 5 Original Android Development] Phazmos:
My suggestion would test the built in su.
[Nexus 5 Original Android Development] dokie80:
I did try using SuperSU, same result. Here is another progress, I found that the swap is sometimes on and off after reboot, so probably the timing of executing the script?

I try reboot and launch terminal and free command with no swap.. but after a while, I type in free command again, and it's on.

here's the screenshot. I did nothing between those free commands, So the script probably still running when I type the first one?

[IMG="first try"]http://xdaforums.com/attachment.php?attachmentid=3500629&stc=1&d=1444366977[/IMG]

one more reboot, trying free command several time, until the swap is enabled.

[IMG="second"]http://xdaforums.com/attachment.php?attachmentid=3500628&stc=1&d=1444366977[/IMG]

2 screenshots combined..
[Nexus 5 Original Android Development] Yank555:
swap needs to be supported by the kernel, if you change kernel, likely no swap possible (hh kernel needs commits for zswap to work).

Also, the config script is only run if my kernel is installed, as it would be a very bad idea to have it run with other kernels. So if the other kernel does support swap, it needs to also take care of enabling it.

JP.

Sent from my Nexus 6 running Yank555.lu SlimLP 5.1.1 on Yank555.lu v1.3a kernel.
[Nexus 5 Original Android Development] Yank555:
Swap will be enabled about 90s after boot complete, so do check only after 2-3 minutes, not right away ;)

JP.

Sent from my Nexus 6 running Yank555.lu SlimLP 5.1.1 on Yank555.lu v1.3a kernel.
[Nexus 5 Original Android Development] Yank555:
It's up (fell asleep :angel:).

Download link can be found in my BC OP as usual.

JP.
[Nexus 5 Original Android Development] VictorLapin:
Let's see if the lag is fixed with the swap. Just flashed latest Yank's personal HH build.
[Nexus 5 Original Android Development] lightingcloud:
Just flashed DM build (oh the horror, that alarm icon on the statusbar). Will let you know how it goes :)

Edit: the fact that I have yet to see any kind of lag or stutter is encouraging. Fingers crossed!

EDIT2: no problems so far but it's still a little early to be sure. Ayway this last few days I have noticed a problem with the power button... it's not such a big problem, but still a little tedious. When the phone has just booted, the power button works fine for half an hour or so. Then it suddendly stop working, but it looks like a software problem since a reboot fixes it. Ideas? Again, not a big problem since I have volume wake and can double tap the status bar to shut the screen down, but it's a little annoying since I can't use the power menu unless I do an hard reboot...

EDIT3: it worked again after trying to use it with CatLog opened to see if I could catch error messages... I tried to take a screen shot, it didn't work, then the power button was working again. Curious... if necessary, I saved the logcat a few seconds after the power button worked again.
[Nexus 5 Original Android Development] mrbeardy:
Yes, confirmed that bluspark kernel does not use swap. Flashing your rom and keeping your kernel does enable swap, with the partition visible shortly after boot.
[Nexus 5 Original Android Development] lightingcloud:
Well, bad luck. The phone froze completely when using Chrome, so I couldn't even save a logcat (I'm not at home). It's a pity, up to now the phone was more responsive than ever...
[Nexus 5 Original Android Development] NHNXDA:
Well the power button again stopped working on even the 0.9, so I backdated to 0.7 & it all works again now.
[Nexus 5 Original Android Development] Yank555:
We agree that "prevent accidental wakeup" is disabled ?

JP.
[Nexus 5 Original Android Development] VictorLapin:
Seems it should be disabled by default, more trouble than benefits :(
[Nexus 5 Original Android Development] dokie80:
No problem with power button here, even prevent accidental wake up is enabled on mine. (I ll try disable this time)

No lag so far, but I ll wait till Monday, since it usually take 2-3 days to start the lag.