*** Acou_Bass <Acou_Bass!~Acou_Bass@host-89-241-252-213.as13285.net> has quit IRC (Quit: ZNC - http://znc.in) | 00:16 | |
*** Acou_Bass <Acou_Bass!~Acou_Bass@host-89-241-252-213.as13285.net> has joined #sfdroid | 00:17 | |
*** Acou_Bass <Acou_Bass!~Acou_Bass@host-89-241-252-213.as13285.net> has quit IRC (Client Quit) | 00:22 | |
*** Acou_Bass <Acou_Bass!~Acou_Bass@host-89-241-252-213.as13285.net> has joined #sfdroid | 00:23 | |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-awbvqnruwxotwtix> has joined #sfdroid | 02:20 | |
*** neerad <neerad!~neerad@112.133.229.182> has joined #sfdroid | 04:36 | |
*** neerad <neerad!~neerad@112.133.229.182> has quit IRC (Ping timeout: 260 seconds) | 04:46 | |
*** NeKit <NeKit!~nekit@85-95-187-237.saransk.ru> has joined #sfdroid | 06:22 | |
*** TheKit <TheKit!~nekit@85-95-186-128.saransk.ru> has quit IRC (Ping timeout: 240 seconds) | 06:24 | |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sfdroid | 08:13 | |
nh1402 | saidinesh5: how's it going | 08:25 |
---|---|---|
*** CrKit <CrKit!~nekit@176.59.117.64> has joined #sfdroid | 08:36 | |
saidinesh5 | nh1402: interesting... patched the neutered init a lot yesterday that surfaceflinger, lmkd are no longer crashing.. still there seemed to be an odd bug wrt to permissions/groups | 09:07 |
saidinesh5 | figuring that ut today | 09:07 |
saidinesh5 | nh1402: btw. neerad fiinally got sfdroid to boot up on his device | 09:07 |
nh1402 | saidinesh5: that's good news, on both fronts | 09:09 |
nh1402 | saidinesh5: meanwhile, I have a cold, and a bloody nose | 09:12 |
nh1402 | and haven't sorted out the laptop yet. | 09:14 |
saidinesh5 | oh.. odd . everyone even here seem to be coming down with cold | 09:15 |
nh1402 | saidinesh5: all because you didn't use the emulator imgae | 09:19 |
nh1402 | image* | 09:19 |
saidinesh5 | lol.. i didnt say i caught cold :P | 09:19 |
saidinesh5 | just my friends | 09:19 |
nh1402 | saidinesh5: so what doesn't work at the moment then? | 09:32 |
saidinesh5 | nh1402: zygote for sure. also i dont think other services are started with proper userids/groups | 09:34 |
saidinesh5 | 4294967295 27062 2.1 0.7 70668 14424 pts/1 Sl 23:22 0:00 /system/bin/mediaserver | 09:34 |
saidinesh5 | 4294967295 22784 0.0 0.4 34780 8492 pts/1 Sl 23:13 0:00 /system/bin/surfaceflinger | 09:34 |
nh1402 | saidinesh5: what's wrong with zygote? | 09:34 |
saidinesh5 | no clue.. it just seem to shutdown soon | 09:35 |
*** CrKit <CrKit!~nekit@176.59.117.64> has quit IRC (Ping timeout: 260 seconds) | 09:38 | |
*** CrKit <CrKit!~nekit@176.59.117.64> has joined #sfdroid | 09:41 | |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Ping timeout: 240 seconds) | 09:49 | |
*** CrKit <CrKit!~nekit@176.59.117.64> has quit IRC (Ping timeout: 240 seconds) | 09:55 | |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sfdroid | 10:01 | |
nh1402 | saidinesh5: where is it being started? | 10:07 |
*** CrKit <CrKit!~nekit@176.59.118.232> has joined #sfdroid | 10:08 | |
*** TheKit <TheKit!~nekit@85-95-186-122.saransk.ru> has joined #sfdroid | 10:34 | |
*** NeKit <NeKit!~nekit@85-95-187-237.saransk.ru> has quit IRC (Ping timeout: 240 seconds) | 10:37 | |
*** neerad <neerad!~neerad@112.133.229.182> has joined #sfdroid | 10:51 | |
*** cvp <cvp!~cvp@dslb-178-000-012-103.178.000.pools.vodafone-ip.de> has joined #sfdroid | 10:58 | |
neerad | saidinesh5 RAM is loaded heavily | 11:00 |
neerad | [nemo@Sailfish ~]$ free -m | 11:00 |
neerad | total used free shared buffers cached | 11:00 |
neerad | Mem: 899 813 86 0 13 185 | 11:00 |
neerad | -/+ buffers/cache: 615 284 | 11:00 |
neerad | Swap: 0 0 0 | 11:00 |
*** CrKit <CrKit!~nekit@176.59.118.232> has quit IRC (Ping timeout: 260 seconds) | 11:06 | |
nh1402 | neerad: have you tried not loading the RAM heavily? | 11:15 |
neerad | nh1402 this is after loading sfdroid | 11:16 |
*** CrKit <CrKit!~nekit@85.143.20.2> has joined #sfdroid | 11:19 | |
nh1402 | neerad: does the device have 1GB RAM or 2? | 11:20 |
neerad | nh1402 1GB | 11:20 |
nh1402 | neerad: time to experiment stripping stuff from sfdroid | 11:23 |
neerad | Or maybe enabling swap space on SFOS? | 11:23 |
nh1402 | that might be too slow | 11:23 |
neerad | nh1402 Also in SFDROID Settings>Security fails to load | 11:24 |
neerad | "Unfortunately Settings has stopped" | 11:24 |
nh1402 | neerad: not sure if that was stripped out, to avoid people trying to set lockscreen locks in sfdroid. | 11:25 |
neerad | nh1402 How to install apps then, it is locked under that? | 11:25 |
nh1402 | neerad: it might be enabled via hardcoding it in | 11:26 |
neerad | Like editing the patched files under frameworks/base in sfdroid repos | 11:26 |
nh1402 | not sure | 11:28 |
nh1402 | this is all speculation, I have no idea if it's actually stripped out or not. | 11:28 |
neerad | nh1402 Can an app be installed via setting the Unknown Sources on via terminal in Android | 11:28 |
nh1402 | try installing an app without fiddling with the flag to see it if it *just* works | 11:29 |
neerad | Terminal : $adb shell settings put global install_non_market_apps 1 | 11:29 |
neerad | nh1402 As far as RAM usage is concerned , how to reduce stuff from loading into RAM | 11:31 |
nh1402 | neerad: OOM changes | 11:34 |
neerad | nh1402 How to adjust that for sfdroid_renderer? | 11:34 |
nh1402 | no idea | 11:34 |
nh1402 | neerad: the other way is it to stop unnecessary services from running | 11:35 |
neerad | nh1402 Apprently I reflashed SFOS and didn't install sfdroid even after that free memory is something like 50-90M only. Not really a SFDROID problem I guess | 11:38 |
nh1402 | neerad: still should reduce RAM usage for sfdroid though | 11:39 |
nh1402 | healthd can probably go, that seems to be battery stats, and junk related to that. | 11:41 |
neerad | init.sfdroid.rc should be updated then | 11:41 |
nh1402 | neerad: you would need to comment out the stuff that waits for the things that aren't needed | 11:43 |
nh1402 | It's not as easy as oh I'll just disable it in init, some services wait for other services to start before they do. | 11:44 |
nh1402 | in their source code | 11:44 |
neerad | it's easy just add disabled at the end of the service you want to disable or just comment out | 11:46 |
neerad | Okay now working a bit faster because I increased dex_preopt from intepret only to everything so now everything is pre compiled and pre optimized fully | 11:47 |
neerad | But still surfaceflinger or inputflinger is messy, whenever I scroll down it doesn't scroll down to the bottom like it should it stops in between | 11:48 |
nh1402 | neerad: if you just add disabled, then some stuff will wait for the service you've disabled and then it'll either hang indefinitely or it will restart it itself. | 11:50 |
neerad | what about commenting out nh1402? | 11:51 |
neerad | same? | 11:51 |
nh1402 | neerad: it's not as simple as adding "disabled" Android still expects things to work as is, you would need to go into systemserver source code and other places to see where it's waiting for the service you've disbaled, and remove it there too. | 11:52 |
*** CrKit <CrKit!~nekit@85.143.20.2> has quit IRC (Ping timeout: 260 seconds) | 12:06 | |
neerad | nh1402 Will KSM help? | 12:19 |
nh1402 | neerad: no idea what that is | 12:20 |
neerad | Kernel Samepage merging nh1402 | 12:20 |
neerad | High on CPU but increases free memory | 12:21 |
nh1402 | neerad: well if the device has 1GB RAM, then the CPU is probably not fast enough for that | 12:22 |
neerad | CPU is 1.4GHz and defualt is 1.2GHz | 12:22 |
neerad | Xiaomi Redmi 2 | 12:22 |
nh1402 | no | 12:25 |
neerad | no? | 12:26 |
nh1402 | no | 12:27 |
neerad | What no? | 12:27 |
nh1402 | Will KSM help? no, not with that CPU | 12:28 |
neerad | Oh okay got it | 12:28 |
nh1402 | probably | 12:28 |
neerad | Well I had it enabled when running Android natively | 12:29 |
nh1402 | neerad: well you can try | 12:35 |
*** neerad <neerad!~neerad@112.133.229.182> has quit IRC (Ping timeout: 240 seconds) | 13:02 | |
*** neerad <neerad!~neerad@112.133.229.182> has joined #sfdroid | 13:14 | |
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-163-88.play-internet.pl> has joined #sfdroid | 14:01 | |
*** neerad <neerad!~neerad@112.133.229.182> has quit IRC (Ping timeout: 260 seconds) | 14:02 | |
*** Mister_Magister_ is now known as Mister_Magister | 14:06 | |
saidinesh5 | nh1402: it was started from my patchedinit | 14:09 |
*** neerad <neerad!~neerad@112.133.229.182> has joined #sfdroid | 14:15 | |
saidinesh5 | neerad: i gave you a link on tweaking your ram yesterday | 14:16 |
saidinesh5 | use it | 14:16 |
neerad | I applied saidinesh5 but still lags are there it reduced a little but not that much..... | 14:18 |
saidinesh5 | neerad: even the ZRam patches? | 14:18 |
neerad | Somehow Zram is not loaded in SFOS itself since the .config in obj/KERNEL_OBJ doesn't contain CONGIG_CGROUP_MEM_RES_CTLR AND CONFIG_CGROUP_MEM_RES_CTLR_SWAP | 14:20 |
neerad | although it is contained in defconf | 14:20 |
saidinesh5 | see if the dependencies for those config options are met | 14:20 |
neerad | I checked that they are but still it isn't copied | 14:21 |
saidinesh5 | hmm | 14:21 |
saidinesh5 | odd | 14:22 |
saidinesh5 | even after make clean and make? | 14:22 |
neerad | dependencies are CONFIG_EXPERMINTAL and CONFIG_CGROUP_MEM_RES_CTLR | 14:22 |
neerad | yep even after make clean | 14:23 |
neerad | I actually always do make clean | 14:23 |
saidinesh5 | i am not all that hopeful about zram on your device to be honest | 14:24 |
saidinesh5 | hitting swap was what used to degrade the performance on my N900 visibly | 14:25 |
saidinesh5 | (it had 256MB ram and 700MB swapfile. as long as i made sure i didnt hit the swap, the phone was silky smooth) | 14:26 |
saidinesh5 | each open window for you should take up at least 30MB of ram..... hmm.. | 14:28 |
neerad | saidinesh5 I am not using Zram anyway | 14:29 |
neerad | However what if I disable JIT as mentioned in the link you shared | 14:30 |
neerad | Any performance issues? | 14:30 |
saidinesh5 | unlikely | 14:30 |
neerad | Becuase JIT(just in time compiler) uses 1.5MB/app as far as I have read | 14:30 |
saidinesh5 | yeah | 14:31 |
nh1402 | maybe the hybrid system in nougat would help | 14:33 |
neerad | nh1402 hybrid system? | 14:34 |
saidinesh5 | you added: ro.config.low_ram=true to your properties? | 14:34 |
nh1402 | neerad: nougat uses both JIT and AOT | 14:35 |
neerad | nh1402 But as far as LOW ram usage is concerned JIT must be disabled | 14:36 |
nh1402 | surely AOT uses more RAM and JIT uses more CPU | 14:38 |
neerad | nh1402 I really don't know if the sluggish behaviour is due to low RAM or something else in SFDROID? | 14:39 |
nh1402 | why not both | 14:39 |
neerad | saidinesh5 yes I added it now and it's building | 14:40 |
saidinesh5 | neerad: just add it to your /default.prop and reboot | 14:40 |
neerad | How much RAM saving can i expect? and do I have to add this to SFOS build too? | 14:41 |
saidinesh5 | and make sure getprop ro.config.low_ram returns true | 14:41 |
saidinesh5 | you need to add it to your sfos's build itself | 14:41 |
saidinesh5 | that's where your property overrides are coming from | 14:41 |
neerad | So do I add JIT disable flag there or let it be | 14:42 |
saidinesh5 | first do it on the device and see | 14:42 |
neerad | okay | 14:42 |
saidinesh5 | add those flags to your default.prop and reboot and confirm those are the values | 14:42 |
saidinesh5 | and then see how it performs | 14:42 |
saidinesh5 | btw. could anyone with android.. and neerad.. see what your userids for these processes on your devices are? https://paste.kde.org/pzual3qwv | 15:01 |
saidinesh5 | also i think mediaserver and netd are crashing / restarting.. | 15:07 |
nh1402 | saidinesh5: how would you check? | 15:11 |
saidinesh5 | check what? | 15:11 |
nh1402 | saidinesh5: "see what your userids for these processes on your devices are?" | 15:13 |
saidinesh5 | Ah just ps aux | 15:13 |
saidinesh5 | and see what the first column says | 15:13 |
nh1402 | no | 15:16 |
nh1402 | saidinesh5: no | 15:17 |
saidinesh5 | hmm? on android? | 15:17 |
nh1402 | saidinesh5: "bad pid 'aux'" on Android Nougat | 15:18 |
saidinesh5 | Ahh | 15:18 |
saidinesh5 | i think in busybox it is just ps | 15:19 |
nh1402 | saidinesh5: vold: 185, surfaceflinger: 735, netd: 760 | 15:27 |
saidinesh5 | they are pids i think | 15:27 |
nh1402 | oh right | 15:27 |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-163-88.play-internet.pl> has quit IRC (Ping timeout: 240 seconds) | 15:33 | |
nh1402 | saidinesh5: netd: root, surfaceflinger: system, vold: root, lmkd: root | 15:35 |
saidinesh5 | thanks nh1402.. looks like the same as mine | 15:35 |
saidinesh5 | so need to figure out why netd is restarted every few seconds | 15:36 |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-160-77.play-internet.pl> has joined #sfdroid | 15:37 | |
saidinesh5 | at least good to know that my patched init is working | 15:37 |
nh1402 | saidinesh5: do you have all the netd patches? | 15:38 |
saidinesh5 | i got my netd straight off sfdroid repos i think | 15:39 |
nh1402 | saidinesh5: prove it | 15:41 |
neerad | prove it????? :O | 15:41 |
saidinesh5 | ]$ git log | grep netd | 15:42 |
saidinesh5 | [sfdroid]: hack out the netd dependancy (2)................ | 15:42 |
saidinesh5 | [sfdroid]: hack out the netd dependancy.................... | 15:42 |
nh1402 | saidinesh5: is it working yet? | 15:54 |
saidinesh5 | nope | 15:54 |
neerad | Still now working? saidinesh5 | 15:54 |
neerad | Has netd been fixed? | 15:55 |
nh1402 | saidinesh5: how about now? | 16:00 |
*** neerad <neerad!~neerad@112.133.229.182> has quit IRC (Ping timeout: 260 seconds) | 16:00 | |
*** neerad <neerad!~neerad@112.133.229.182> has joined #sfdroid | 16:23 | |
saidinesh5 | neerad: look at the netd commits in frameworks base btw. | 16:24 |
saidinesh5 | i think tht's what reports as no internet | 16:24 |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Quit: Leaving) | 16:29 | |
neerad | saidinesh5 somehow boot up time for SFOS is reduced and 4G/Wifi is working but is shown as Wifi connected only in SFDROID | 16:40 |
saidinesh5 | neerad: i assume it is because of the lowmemory setting in default.prop | 16:41 |
neerad | Might be | 16:41 |
saidinesh5 | Also not sure about the net related commits. iirc it talks to conman via. dbus to get connection state | 16:42 |
neerad | But somehow that is still not solves my problem I am posting the logcat for the same | 16:43 |
saidinesh5 | problem of slowness? | 16:44 |
neerad | Not slow somehow staggers scrolls and stops | 16:44 |
saidinesh5 | you will have to profile what's slowing things down | 16:47 |
neerad | http://paste.ubuntu.com/24047379/ | 16:47 |
neerad | as far as I can see when I scroll down FPS is at first 3 then jumps to 42 then goes down to 3 again | 16:50 |
neerad | Some kind of surfaceflinger issue | 16:50 |
saidinesh5 | yeah are you forcing GPU rendering? | 16:50 |
saidinesh5 | with FPS < 20, no wonder you're experiencing all the laggy behavior for input | 16:51 |
neerad | How to fix this issue any idea ? | 16:51 |
saidinesh5 | you probably have to use some android profiling tools to see where most of the time is spent in rendering a frame | 16:52 |
neerad | android profiling tools hmmm.... | 16:52 |
saidinesh5 | right now i have no clue where the slow down is happening | 16:52 |
saidinesh5 | do make sure you're using GPU to render things though | 16:52 |
saidinesh5 | Also apply that patch to netlinkevent and netlink listener to shut it up from spamming your logs with E/NetlinkListener( 7205): recvmsg failed (I/O error) | 16:53 |
*** CrKit <CrKit!~nekit@176.59.117.198> has joined #sfdroid | 17:42 | |
*** CrKit <CrKit!~nekit@176.59.117.198> has quit IRC (Ping timeout: 240 seconds) | 17:54 | |
*** neerad <neerad!~neerad@112.133.229.182> has quit IRC (Ping timeout: 268 seconds) | 17:59 | |
mal | saidinesh5: you also got sfdroid working now? | 17:59 |
saidinesh5 | mal: not quite .. but there is progress! my init doesnt crash anymore. surfaceflinger running too.. | 18:00 |
saidinesh5 | now looking at why netd keeps restarting AND why servicemanager is waiting for batterystats.. | 18:00 |
mal | ok | 18:01 |
mal | saidinesh5: did you find batterystats from the source tree? | 18:01 |
saidinesh5 | not yet. was looking at why netd kept restarting | 18:02 |
saidinesh5 | but yeah let me look at batterystats first.. | 18:02 |
saidinesh5 | mal: looks like that is coming from: services/core/java/com/android/server/am/BatteryStatsService.java | 18:07 |
*** piggz <piggz!~piggz@95.151.121.219> has quit IRC (Ping timeout: 260 seconds) | 18:08 | |
*** CrKit <CrKit!~nekit@85-95-186-122.saransk.ru> has joined #sfdroid | 18:10 | |
saidinesh5 | it could be that servicemanager waiting for batterystats is what's causing the no further progress? | 18:10 |
*** cvp <cvp!~cvp@dslb-178-000-012-103.178.000.pools.vodafone-ip.de> has quit IRC (Remote host closed the connection) | 18:13 | |
*** neerad <neerad!~neerad@112.133.229.182> has joined #sfdroid | 18:33 | |
neerad | kimmoli krnlyng_ mal FPS is low | 18:35 |
neerad | http://paste.ubuntu.com/24047379/ | 18:35 |
neerad | saidinesh5 where is the patch to netlinkevent and netlink listener you are mentioning ? | 18:37 |
saidinesh5 | https://github.com/sfdroid/android_system_core/commit/8a6286d15509b17c164c997d22d0c2fa74b158d4 | 18:38 |
*** NotKit <NotKit!~nekit@87-119-234-136.saransk.ru> has joined #sfdroid | 18:40 | |
*** NeKit <NeKit!~nekit@87-119-234-136.saransk.ru> has joined #sfdroid | 18:40 | |
neerad | make clean or just make it straight away? | 18:41 |
saidinesh5 | make straight away | 18:42 |
*** CrKit <CrKit!~nekit@85-95-186-122.saransk.ru> has quit IRC (Ping timeout: 260 seconds) | 18:43 | |
*** TheKit <TheKit!~nekit@85-95-186-122.saransk.ru> has quit IRC (Ping timeout: 268 seconds) | 18:43 | |
saidinesh5 | hmm/// | 18:53 |
*** piggz <piggz!~piggz@188.29.165.18.threembb.co.uk> has joined #sfdroid | 19:07 | |
neerad | saidinesh5 Will patching netlink listener and somehow reducing error log fix the low FPS in SFDROID? | 19:51 |
neerad | saidinesh5 Has the android_bionic patches been added to CM-12.1-YOG7D in CM repos? | 20:11 |
neerad | That is included in sfdroid repos or do I have to patch it? | 20:11 |
*** piggz <piggz!~piggz@188.29.165.18.threembb.co.uk> has quit IRC (Ping timeout: 240 seconds) | 20:25 | |
*** cvp <cvp!~cvp@pD9EE32EA.dip0.t-ipconnect.de> has joined #sfdroid | 20:58 | |
*** cvp <cvp!~cvp@pD9EE32EA.dip0.t-ipconnect.de> has quit IRC (Remote host closed the connection) | 21:33 | |
nh1402[m] | saidinesh5: excellent, openbox is horrible, cinnamon crashes upon installation, gnome is horrible, mate is a waste of space and KDE crashes the installer | 21:41 |
neerad | You are talking about Linux Mint? or something else? | 21:48 |
neerad | Use Cinnamon instead, mine is the same | 21:48 |
neerad | That's all the flavor of Linux dude, what are you gonna try then? Mac or Unix? | 21:50 |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-awbvqnruwxotwtix> has quit IRC (Quit: Connection closed for inactivity) | 21:59 | |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-160-77.play-internet.pl> has quit IRC (Quit: Konversation terminated!) | 22:00 | |
nh1402[m] | Mac eeeeeeeeeeeeeeeeuuuuuuuuuuuuuurrrrrrrrrgggggggghhhhhhhhhhh I'm talking about desktop managers on Antergos. I've tried Openbox installed it works, but I hate it, then installed Cinnamon (uninstalling Openbox and then installing Cinnamon and reinstalling Antergos with Cinnamon) both result in it crashing after logging in, tried installing KDE via reinstalling, and that doesn't get past the desktop manager selection | 22:23 |
nh1402[m] | screen and hangs indefinitely. | 22:23 |
nh1402[m] | The only other options are Xfce, no desktop manager (command line only), Mate which is a waste of space, gnome which I hate, openbox which I hate, and KDE which doesn't install via the ISO. | 22:25 |
nh1402[m] | I can try and install KDE via the command line on the current installing with the failing Cinnamon, which I'll try tomorrow. | 22:25 |
*** krnlyng__ <krnlyng__!~liar@178.114.196.47.wireless.dyn.drei.com> has joined #sfdroid | 22:29 | |
*** krnlyng_ <krnlyng_!~liar@178.114.230.20.wireless.dyn.drei.com> has quit IRC (Ping timeout: 240 seconds) | 22:31 | |
neerad | saidinesh5 Somehow Unknown sources in Settings>Security have been removed completely from Settings.db | 22:34 |
neerad | So i installed Play store instead and it is working fine | 22:35 |
*** NeKit <NeKit!~nekit@87-119-234-136.saransk.ru> has quit IRC (Ping timeout: 260 seconds) | 22:42 | |
*** neerad <neerad!~neerad@112.133.229.182> has quit IRC (Ping timeout: 240 seconds) | 23:01 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!