Vanir / AICP / SOKP [Q/A]- DISCUSSION THREAD

Search This thread

didije

Senior Member
Nov 10, 2009
211
103
I am quite happy with this build.

Really love the complete control over hardware keys (I use double tap on home button to switch to the last app, great way for fast multitasking, long press on lockscreen to turn on torch, long press back button to kill app).

No FCs, no major lags when scrolling and using the phone. Haven't installed gapps so don't know if it will make a difference.

Browser embedded videos do not play (sound is ok), but if you play them in full screen the playback is fine so it is not a big deal.

Haven't experienced a low in-call volume but call recording is not working and sometimes it takes too long for the screen to turn on when receiving the call (once it took 5-7 seconds and I couldn't answer because the screen just would not turn on).

You should consider adding to the /etc folder apns.conf since it is a real pain to set up access points when you know that it can be done automatically if that file is not missing. And, just a suggestion, it will be nice if someone would redefine levels for better autobrightness control (they are just off to me and I tried to set them manually like I did on many devices but the lux values made no sense to me and the preview "curve" on default levels is just not right). Also, please consider adding some kind of a file manager in the build. Final suggestion, you could add an option for the quick settings to automatically show when there are no notifications.

Just to mention, maybe there is sth. wrong with my device since I have this issue on every rom, when my wifi is on, the ratio between deep sleep and awake time when not using the phone is 30% vs 70% (so 70% awake time with screen off and not using a phone at all), but on mobile data is 95% vs 5%. Maybe you will have some insight on this.

If I encounter sth. else I will let you know.

Oh, and there is no need to call this build "experimental" :) It is quite stable and since you are planning to release bug fixes you should consider opening a new thread.
 
Last edited:

mkaluza

Senior Member
Dec 16, 2010
421
813
Wow ;) that's quite a review ;) thanks :)
I am quite happy with this build.

Really love the complete control over hardware keys (I use double tap on home button to switch to the last app, great way for fast multitasking, long press on lockscreen to turn on torch, long press back button to kill app).
Yes, that's what I like very much about Vanir :)
Haven't experienced a low in-call volume but call recording is not working and sometimes it takes too long for the screen to turn on when receiving the call (once it took 5-7 seconds and I couldn't answer because the screen just would not turn on).
I just press home button - usually helps. I just got used to it. Fact of the matter is that I don't know where to even start looking for cause of this :/
You should consider adding to the /etc folder apns.conf since it is a real pain to set up access points when you know that it can be done automatically if that file is not missing.
Ok, I'll do it - I didn't wipe the phone so I didn't notice it. If you happen to know where to get a 'recent' one, or even have one, drop it here;)
And, just a suggestion, it will be nice if someone would redefine levels for better autobrightness control (they are just off to me and I tried to set them manually like I did on many devices but the lux values made no sense to me and the preview "curve" on default levels is just not right).
Yes, autobrightness sucks, but I couldn't find the code responsible for it. Is it the same on other cm roms, or is it vanir specific (I'm asking because I haven't used any other)?
In fact the sucking goes deeper than the interface -our light sensor can output as many as 512 different values (in comparison there are only 300 brightness values out of which you can choose only 26 levels), so we could have something like continous autobrightness instead of just 5 levels. But regretably I was not able to find the code :(

I went around it - if you want, I can send you the script and if tests are successful, I'll include it in the next build.
Also, please consider adding some kind of a file manager in the build.
No - file manager is a 'personal' thing, there are many different and it's very unlikely that one will suit everyone. It'd only be an unnnecessary junk - if someone needs one, they'll get their favorite one :) Personally I use total commander, which I'm not even sure can be included into rom... I'm more of a less-is-better type ;) If someone wanted a bloated firmware, they would have stayed with samsung ;P
Final suggestion, you could add an option for the quick settings to automatically show when there are no notifications.
Would be possible, maybe someday - I don't really need it. I use Quick Pulldown option - requires a bit of getting used to, but after that it's just fine.
Just to mention, maybe there is sth. wrong with my device since I have this issue on every rom, when my wifi is on, the ratio between deep sleep and awake time when not using the phone is 30% vs 70% (so 70% awake time with screen off and not using a phone at all), but on mobile data is 95% vs 5%. Maybe you will have some insight on this.
1. What wifi sleep policy have you got selected?
2. Check the wake locks (I used GSam Battery Monitor)
3. If wake locks are the problem - were for me - go to settings/security/privacy guard/advanced/device and look for 'keep awake' and disable it. Once I disabled it for google play services, everything went back to normal (it wasn't sleeping at all)
Oh, and there is no need to call this build "experimental" :)
'Experimental' is the distribution method ;) My Vanir build is by all means vanilla, stable and not to be experimented upon ;)
It is quite stable and since you are planning to release bug fixes you should consider opening a new thread.
Where did I say that? I don't since there aren't any bugs (as in pain-in-the-ass bugs, not inconveniences like youtube in the browser).
But if any improvements are made, I'll be happy to make another release

Thanks for your time :)
 

didije

Senior Member
Nov 10, 2009
211
103
That is a quite an answer as well :D

Where did I say that? I don't since there aren't any bugs (as in pain-in-the-ass bugs, not inconveniences like youtube in the browser).
But if any improvements are made, I'll be happy to make another release
About bug fixes, to clarify that first. There was a misunderstanding from my side when you said "Just try and stay on it. I'll be fixing it". I thought you suggested to stay on vanir as you will be fixing it over time, but apparently you ment fixing torrent download :)

I just press home button - usually helps. I just got used to it. Fact of the matter is that I don't know where to even start looking for cause of this :/
Yep, that helps. If I found out something about this I will mention it. Thanks.

Ok, I'll do it - I didn't wipe the phone so I didn't notice it. If you happen to know where to get a 'recent' one, or even have one, drop it here;)
You can take it from any CM[based] rom. Someone who is on one of those roms could upload it. apns-conf.xml is located in /system/etc folder.

Yes, autobrightness sucks, but I couldn't find the code responsible for it. Is it the same on other cm roms, or is it vanir specific (I'm asking because I haven't used any other)?
In fact the sucking goes deeper than the interface -our light sensor can output as many as 512 different values (in comparison there are only 300 brightness values out of which you can choose only 26 levels), so we could have something like continous autobrightness instead of just 5 levels. But regretably I was not able to find the code :(

I went around it - if you want, I can send you the script and if tests are successful, I'll include it in the next build.
It is like this on every cm rom (even on cm 10, 10.1, 10.2 and cm based). Please, do share your workaround. It is nice to see that there are others annoyed by this :) And I think it will be useful to others as well.

No - file manager is a 'personal' thing, there are many different and it's very unlikely that one will suit everyone. It'd only be an unnnecessary junk - if someone needs one, they'll get their favorite one :) Personally I use total commander, which I'm not even sure can be included into rom... I'm more of a less-is-better type ;) If someone wanted a bloated firmware, they would have stayed with samsung ;P
Yes, it is a personal preference. I was thinking of installing it directly do data, not to system so that the end user can easily uninstall it after installing their one of their own choice (well, lets face it, most of us have .apk files of our favorite apps). And in my case, I don't use gapps, therefore don't use playstore, so I need to download the first file manager I stumble upon and it is somewhat annoying :) Oh, well, that was just a suggestion.

Would be possible, maybe someday - I don't really need it. I use Quick Pulldown option - requires a bit of getting used to, but after that it's just fine.
This option is available on some roms (couldn't remember on which ones though). It is not important, it is just easier not to be bothered to pull it down in the right corner e.g.

1. What wifi sleep policy have you got selected?
2. Check the wake locks (I used GSam Battery Monitor)
3. If wake locks are the problem - were for me - go to settings/security/privacy guard/advanced/device and look for 'keep awake' and disable it. Once I disabled it for google play services, everything went back to normal (it wasn't sleeping at all)
Sleep policy is set to "never". Other stuff, like notifications, are all off. I did check with Better Battery Stats, no unusual wakelocks and I did disabled Google Play Idiotic 100mb Services regardless as I have read many threads in hope of finding an answer but nothing helped. But most of the time I use pure vanilla rom and without gapps so I am 100% sure that they are not the issue here. The moment I turn off wifi everything goes back to normal. Really strange behaviour. Nevermind, I can live with this. But, if you can think of anything do not hesitate to tell.

One question, any recommended min/max frequencies and scheduler? I like dynamic governor :good:
 

mkaluza

Senior Member
Dec 16, 2010
421
813
It is like this on every cm rom (even on cm 10, 10.1, 10.2 and cm based). Please, do share your workaround. It is nice to see that there are others annoyed by this :) And I think it will be useful to others as well.
Using a file manager, move the attached file to /data/boot.d (if the directory doesn't exist - create it). Remove the txt extension from the name - it's for the forum only. Then remember to set permissions on the file to 755 (rwx-r-xr-x) - or from adb/terminal:
Code:
chmod 755 /data/boot.d/11screen.sh
and reboot. After that the file /sys/kernel/s6e63m0/panel/illumination_table should look like this:
Code:
Illumination table:
Current: [00] 004

[00]            004
[01]            015
[02]            025
[03]            035
[04]            045
[05]            055
[06]            065
[07]            075
[08]            096
[09]            108
[10]            120
[11]            132
[12]            144
[13]            156
[14]            168
[15]            180
[16]            192
[17]            204
[18]            216
[19]            228
[20]            240
[21]            252
[22]            264
[23]            276
[24]            288
[25]            300
Then using autobrightness adjustment screen set the following values (long press on the left brings up a menu with edit option - don't have to use sliders):
Code:
0 - 0
7 - 10
75  - 25
1000 - 60
10000 - 100
That's what I use - it suits me for both complete darkness and daylight - YMMV. More steps between 0 and 7 lux would be handy for dark places, but unfortunately the conversion function makes available only those 5 steps. I'll take another shot at it...
Yes, it is a personal preference. I was thinking of installing it directly do data, not to system so that the end user can easily uninstall it after installing their one of their own choice (well, lets face it, most of us have .apk files of our favorite apps). And in my case, I don't use gapps, therefore don't use playstore, so I need to download the first file manager I stumble upon and it is somewhat annoying :) Oh, well, that was just a suggestion.
Well then you're the exception among exceptions ;P Install some alternate market, like appbrain or sth...
This option is available on some roms (couldn't remember on which ones though). It is not important, it is just easier not to be bothered to pull it down in the right corner e.g.
Well then if you did remember, it would greatly increase your chances of getting it ;) If the code is there somewhere, it's usually easier to port the patch instead of writing it from scratch - I'm willing to do that.
Nevermind, I can live with this. But, if you can think of anything do not hesitate to tell.
Try enabling the wifi, enable adb over wifi (add the button to quick settings ;)) and connect with adb (it's important not to use the cable for this one). Run 'adb logcat' and turn off the screen and watch for errors - maybe you'll spot something. But I'm still standing by an opinion that some app is causing this - does it happen if you just install a rom after a full wipe? If yes, then it's the phone (beats me - I don't know then...), but if not - it's 99.9% some apps fault.
One question, any recommended min/max frequencies and scheduler? I like dynamic governor :good:
I use 200/1200, but since those 1200 is oc, you need to know what you're doing. You can safely start with 200/1000. Haven't noticed any difference with io sched though - use deadline or sioplus... Dynamic gov is my personal design ;) I like it too ;) Never leave home without it ;P
 

Attachments

  • 11screen.sh.txt
    354 bytes · Views: 22
Last edited:
  • Like
Reactions: didije and #Henkate

didije

Senior Member
Nov 10, 2009
211
103
I will test it today and report. Regarding my wifi issue, it must be the problem with my device since it is happening after a clean install as well (with no other than system apps installed), so there's not much one can do about it. Oh, and I remembered that the QS option can be found in slimkat and omni, the option is called Smart Pulldown.
 
Last edited:

mkaluza

Senior Member
Dec 16, 2010
421
813
Ok, I'll look into it. Now I'm investigating the auto brightness issue.

Btw your double home tap to switch apps is an excellent idea ;) love it now ;)
 
  • Like
Reactions: #Henkate

didije

Senior Member
Nov 10, 2009
211
103
Yeah, it's just awesome :) I've tried the script from your previous post but my values does not match yours in the table (see the screenshots) and I'm not seeing any difference in the auto brightness behaviour.
 

Attachments

  • Screenshot_2015-05-19-14-50-14.png
    Screenshot_2015-05-19-14-50-14.png
    43.2 KB · Views: 90
  • Screenshot_2015-05-19-14-50-24.png
    Screenshot_2015-05-19-14-50-24.png
    37.8 KB · Views: 84
  • Screenshot_2015-05-19-14-50-32.png
    Screenshot_2015-05-19-14-50-32.png
    54.3 KB · Views: 86
  • Screenshot_2015-05-19-14-51-14.png
    Screenshot_2015-05-19-14-51-14.png
    32.3 KB · Views: 85

mkaluza

Senior Member
Dec 16, 2010
421
813
Yeah, it's just awesome :) I've tried the script from your previous post but my values does not match yours in the table (see the screenshots) and I'm not seeing any difference in the auto brightness behaviour.

It just didn't run. Did you flash the optional kernel or are you running on the one from rom? if not - flash release_noswp (I'm not finished mixing in my changes to init.rc scripts - maybe sth is missing). If this doesn't help (which would be strange), move the script to /system/etc/init.d and report back.

---------- Post added at 07:02 PM ---------- Previous post was at 06:57 PM ----------

Is there a chance that we could see some lollipop love for vanir? :D
Not from me - with kk vanir set up the way I have now I simply don't need lollipop _this_ much. Maybe when cm12.1 by hasta is more-less working (on my scale, not yours), I'll give it a try. But I doubt it... SGA is a dying breed... Well... maybe if I have too much free time... just for the sake of it ;) but for now I'm waiting for any L5 distro to be stable on sga - I can port it then... I'm not that determined to do it on my own...
 

nss357

Senior Member
Jan 8, 2014
298
226
Google Pixel 4a
I have 10mb/s speed :D
My previous network had 100-800kb/s.
Come to Romania man hahahahah.

Gonna try this vanir build. It was pretty good with own kernel, but with mk kernel would be better.

Well usually it's around 1Mb/s, so it's not that bad. They just throttled down any p2p/torrent stuffs. The ISPs here sucks.
But damn, that's pretty fast there in Romania lol.

Anyway, one of Vanir dev had build Vanir LP for Janice. He needs it to be tested, but seems like there's not much feedback yet
https://plus.google.com/+ChristopherLatham_sudo/posts/aDxBTRUsQ4r
 
  • Like
Reactions: #Henkate

dagger

Senior Member
It just didn't run. Did you flash the optional kernel or are you running on the one from rom? if not - flash release_noswp (I'm not finished mixing in my changes to init.rc scripts - maybe sth is missing). If this doesn't help (which would be strange), move the script to /system/etc/init.d and report back.

---------- Post added at 07:02 PM ---------- Previous post was at 06:57 PM ----------


Not from me - with kk vanir set up the way I have now I simply don't need lollipop _this_ much. Maybe when cm12.1 by hasta is more-less working (on my scale, not yours), I'll give it a try. But I doubt it... SGA is a dying breed... Well... maybe if I have too much free time... just for the sake of it ;) but for now I'm waiting for any L5 distro to be stable on sga - I can port it then... I'm not that determined to do it on my own...

Yeah true that haha.
I will be getting new device too.
Will get this one probably.
CM12 out of the box, what more could you want at 116$ :p
 
Last edited:
  • Like
Reactions: #Henkate

didije

Senior Member
Nov 10, 2009
211
103
Nice one :) I've just flashed stock rom with odin, put my phone in the box and prepared it for sale :) @mkaluza, someone else have to try your script. I simply cannot deal with android no more (from cupcake to lollipop, I think it is enough). Tweak this, tweak that, flash this, restore that.. I'm going back to Windows Phone..
 

dagger

Senior Member
Nice one :) I've just flashed stock rom with odin, put my phone in the box and prepared it for sale :) @mkaluza, someone else have to try your script. I simply cannot deal with android no more (from cupcake to lollipop, I think it is enough). Tweak this, tweak that, flash this, restore that.. I'm going back to Windows Phone..

That's the only thing why i am sticking to android phone.
Life without android is like a pizza without cheese :p
P.S. i guess that i will stop with off topic now.:fingers-crossed:
 
  • Like
Reactions: wingryder

mkaluza

Senior Member
Dec 16, 2010
421
813
Nice one :) I've just flashed stock rom with odin, put my phone in the box and prepared it for sale :) @mkaluza, someone else have to try your script. I simply cannot deal with android no more (from cupcake to lollipop, I think it is enough). Tweak this, tweak that, flash this, restore that.. I'm going back to Windows Phone..

Right... and now you'll have - "I need to tweak this or change that... oh, wait... it's windoze... ok... I'll get used to it then" ;P and as they used to say - you're not going anywhere today ;P And I've just tested SmartPulldown... traitor :p

That Yu something looks quite nice ;) although I tend to use stuff as long as it is usable, so I'm staying with sga ;) (and I do hope it will remain usable since currently I don't have $$ to get a new one...)
 
  • Like
Reactions: wingryder

didije

Senior Member
Nov 10, 2009
211
103
:D Is Smart Pulldown working? I wanted to test it but all of this flashing and switching roms LITERALLY hurt my head.

Off: I've used WP for couple of months and I was pleasantly surprised.. I have to say that it was an enjoyable experience. Honestly cannot say why I switched back to android again. Anyhow, good luck with this project. You are doing a great job here.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    vanir 2015-05-26

    Hi guys!

    New build is out :)
    Changelog:
    * restored old binary blobs - camera is working again
    * added Synapse and UKM profiles for LiveOPP voltage and Mali parameters control
    * Switched toolchains: android 4.7 --> 4.8-linaro, kernel: 4.9-linaro
    * Switched thumb mode from -Os to -O3 (by @JustArchi)
    * Added ro.hwui.* parameters optimized for Janice screen size

    In progress is the implementation of more compiler optimizations by @JustArchi.. I'm also exploring the LTO and FDO gcc features, but that will definately take a lot of time (but can potentially give up to about 15% speed increase and code size reduction, so it's something worth fighting for)

    Enjoy ;)

    P.S.
    I hope you realize that my subsequent builds are only about optimization/tuning/facelifting - cm-11.0 branch of both CyanogenMod and Vanir is not updated anymore.
    7
    vanir 2015-05-20

    Hi guys!
    New build:)
    Changes:

    - fixed menu button unlock screen issue
    - added apns-conf.xml
    - added Smart Pulldown from OmniROM
    - improved brightness values
    - updated binary blobs to I9070XXLQL_I9070ITVLQ5_ITV this causes camera problem,
    - double tap on home button switches to previous app
    - changed behaviour quicksettings GPS tile - tap can turn location on and then cycles between battery saving and high accuracy modes
    - dalvik-cache rebuild is now multithreaded - lasts half the time

    REMEMBER - after flashing the rom, flash restore_blobs.zip - I don't see the point for downloading 200mb again to replace 4mb worth of files, but I will make available a fixed version.
    7
    Hi guys ;)
    I've refreshed my Vanir build and also integrated my modifications (high power torch, mk kernel 5.6.1) with it. It doesn't differ much from last Vanir daily though - most key packages for cm-11 branch aren't developed anymore, so all that might appear are some bugfixes.

    As an experiment - I'm sharing it via torrent.

    BTW try ART - it's awesome!
    4
    Wow ;) that's quite a review ;) thanks :)
    I am quite happy with this build.

    Really love the complete control over hardware keys (I use double tap on home button to switch to the last app, great way for fast multitasking, long press on lockscreen to turn on torch, long press back button to kill app).
    Yes, that's what I like very much about Vanir :)
    Haven't experienced a low in-call volume but call recording is not working and sometimes it takes too long for the screen to turn on when receiving the call (once it took 5-7 seconds and I couldn't answer because the screen just would not turn on).
    I just press home button - usually helps. I just got used to it. Fact of the matter is that I don't know where to even start looking for cause of this :/
    You should consider adding to the /etc folder apns.conf since it is a real pain to set up access points when you know that it can be done automatically if that file is not missing.
    Ok, I'll do it - I didn't wipe the phone so I didn't notice it. If you happen to know where to get a 'recent' one, or even have one, drop it here;)
    And, just a suggestion, it will be nice if someone would redefine levels for better autobrightness control (they are just off to me and I tried to set them manually like I did on many devices but the lux values made no sense to me and the preview "curve" on default levels is just not right).
    Yes, autobrightness sucks, but I couldn't find the code responsible for it. Is it the same on other cm roms, or is it vanir specific (I'm asking because I haven't used any other)?
    In fact the sucking goes deeper than the interface -our light sensor can output as many as 512 different values (in comparison there are only 300 brightness values out of which you can choose only 26 levels), so we could have something like continous autobrightness instead of just 5 levels. But regretably I was not able to find the code :(

    I went around it - if you want, I can send you the script and if tests are successful, I'll include it in the next build.
    Also, please consider adding some kind of a file manager in the build.
    No - file manager is a 'personal' thing, there are many different and it's very unlikely that one will suit everyone. It'd only be an unnnecessary junk - if someone needs one, they'll get their favorite one :) Personally I use total commander, which I'm not even sure can be included into rom... I'm more of a less-is-better type ;) If someone wanted a bloated firmware, they would have stayed with samsung ;P
    Final suggestion, you could add an option for the quick settings to automatically show when there are no notifications.
    Would be possible, maybe someday - I don't really need it. I use Quick Pulldown option - requires a bit of getting used to, but after that it's just fine.
    Just to mention, maybe there is sth. wrong with my device since I have this issue on every rom, when my wifi is on, the ratio between deep sleep and awake time when not using the phone is 30% vs 70% (so 70% awake time with screen off and not using a phone at all), but on mobile data is 95% vs 5%. Maybe you will have some insight on this.
    1. What wifi sleep policy have you got selected?
    2. Check the wake locks (I used GSam Battery Monitor)
    3. If wake locks are the problem - were for me - go to settings/security/privacy guard/advanced/device and look for 'keep awake' and disable it. Once I disabled it for google play services, everything went back to normal (it wasn't sleeping at all)
    Oh, and there is no need to call this build "experimental" :)
    'Experimental' is the distribution method ;) My Vanir build is by all means vanilla, stable and not to be experimented upon ;)
    It is quite stable and since you are planning to release bug fixes you should consider opening a new thread.
    Where did I say that? I don't since there aren't any bugs (as in pain-in-the-ass bugs, not inconveniences like youtube in the browser).
    But if any improvements are made, I'll be happy to make another release

    Thanks for your time :)
    3
    Yeah, it's just awesome :) I've tried the script from your previous post but my values does not match yours in the table (see the screenshots) and I'm not seeing any difference in the auto brightness behaviour.

    It just didn't run. Did you flash the optional kernel or are you running on the one from rom? if not - flash release_noswp (I'm not finished mixing in my changes to init.rc scripts - maybe sth is missing). If this doesn't help (which would be strange), move the script to /system/etc/init.d and report back.

    ---------- Post added at 07:02 PM ---------- Previous post was at 06:57 PM ----------

    Is there a chance that we could see some lollipop love for vanir? :D
    Not from me - with kk vanir set up the way I have now I simply don't need lollipop _this_ much. Maybe when cm12.1 by hasta is more-less working (on my scale, not yours), I'll give it a try. But I doubt it... SGA is a dying breed... Well... maybe if I have too much free time... just for the sake of it ;) but for now I'm waiting for any L5 distro to be stable on sga - I can port it then... I'm not that determined to do it on my own...