yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] Martin_Ro:
Can you be more precise ? What is privacy guard asking for ? When does this happen, what do I need to do to reproduce it ?

I have no problems with privacy guard...

Regarding CM Camera: I think this one isn't well optimized till now. CM is currently still in process to bring everything up and running for all devices. Optimizations regarding camera will come later.
[ONE Original Android Development] furrycurry:
Probably he's not clicking remember for his privacy guard selections lolol
[ONE Original Android Development] keen36:
i just removed the two checks whether the partitions are mounted already, the "ifelse" and "if". it now looks like this:

ui_print(" Vanir - LoLLipop 5.0 ");
ui_print(" by Team Vanir");
ui_print(" ");

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data", "");
package_extract_file("system/bin/otasigcheck.sh", "/tmp/otasigcheck.sh");
package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
set_metadata("/tmp/otasigcheck.sh", "uid", 0, "gid", 0, "mode", 0755);
run_program("/tmp/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
unmount("/data");

ui_print("Installing the ROM...");

it's obviously a crude hack, since the check is probably there for a reason... maybe you could take temasek's route and offer a modified updater-script as a separate download for multirom users?

btw., the rom is running nicely over here with multirom, i am having no problems at all with the newest build. i had to flash supersu to get titanium backup restore to work (even with selinux set to permissive). this is the only lollipop rom i have tried which consistently and reliably turns off my hardware button backlights :good: :)
[ONE Original Android Development] europizza:
I installed the Camera apk from CM11S and it works fine but there's no more the option to use raw format. Is that option going to be only in CM12S or it's a work in progress on aosp?
[ONE Original Android Development] ilmorga:
C'mon [MENTION=4429892]Martin_Ro[/MENTION] give us something to flash! [emoji16]
[ONE Original Android Development] probiewankenobi:
For [MENTION=4995585]PaoloMix09[/MENTION] and those others who don't stand the sluggish camera, I found a workaround at temasek thread until this issue get fixed.

Download the zip file https://mega.co.nz/#!YVwgSQhC!u-8g0TyqFAGdq87OeA9PH6uga6uKATa7Ycdja3FCffw

and flash through recovery. Done.

Don't forget to thanks [MENTION=2156844]fjsferreira[/MENTION] who has narrowed down the bug and [MENTION=1546609]gianton[/MENTION] for providing the flashable zip!

Sent from OnePlus One.
[ONE Original Android Development] PaoloMix09:
It wasn't that big of a deal for me though, but thanks a lot!
[ONE Original Android Development] mars1mack:
The official build I mean. ;)
[ONE Original Android Development] Martin_Ro:
No point in publishing a commit every day if there are no changes ;)
[ONE Original Android Development] bruciato:
Hi [MENTION=4429892]Martin_Ro[/MENTION] , only to inform that I noticed some scratches during playing music with headphone.. i don't know if a known problem or not ;)
[ONE Original Android Development] beany>:
Scratches must be vinyl simulation lol

This has been mentioned on various ROMs
[ONE Original Android Development] bruciato:
lol but in this case I think that it's a not pleasure to hear them xD
[ONE Original Android Development] agentinani047:
The nav ring gesture is a hit or miss for me. Doesn't work everytime.
[ONE Original Android Development] 1ceb0x:
Nav ring gestures? What build are you running?

I have this one: vanir_bacon_5.0.0.121014 and i don't have options for navbar.
[ONE Original Android Development] agentinani047:
I'm running the same as yours.

I mean when you swipe from bottom to get google now/sleep+hibernate if you have greenify. Sometimes i get a white circle in the middle of the screen.

I can't replicate it right now. Will try to take a screenshot if it happens again.
[ONE Original Android Development] agentinani047:
This
[ONE Original Android Development] ZoNe_dk:
Hi all can I flash Vanir whit out to factory reset my stock CM11S oneplus one?

I think this is a CM12 build so it will fit whit CM11S?
[ONE Original Android Development] DiGiTaT:
Full Wipe.

Read first post.
[ONE Original Android Development] probiewankenobi:
Edit: DiGiTaT beat me to it.
[ONE Original Android Development] prata:
Updates

I have wiped the phone entirely, including data, and the issue has yet to reveal itself again I'll chalk it up to a gremlin (as I can't account for what would have caused such a weird and persistent issue across a factory wipe).

Original Message

Had an odd issue creep up last night:

Scenario

Wifi disconnected from my router, which has 2.4Ghz and 5Ghz bands. Neither SSID would connected. Noticed a message regarding disconnecting from slow access point.

ROM/Phone Information

Kernel Version:

3.4.105~AK.039.OPO.CM12

Vanir Version:

5.0.0.121017

Build date:

Wed Dec 0 07:20:47 CET 2014

SELinux status:

Permissive

Things I've Done

Turned off wifi on my phone and proceeded through the following action items.

1. Completely reset router. Used the same AP names upon setup:

2. Verified Router was functioning as per normal by connecting with laptop and PS4.

3. Navigated to /data/misc/wifi/wpa_supplicant.conf - deleted entries for my previous wifi SSIDs

4. Turned wifi back on and attempted to connect to 2.4Ghz band AP

5. Issue persisted - attempted connection to 5Ghz band AP.

6. Took LogCat

7. Factory Reset

8. Restored some Apps with data from Titanium

9. Used Static IP address for both AP bands and was able to connect and browse the Internet

The issue continues to persist; however, while attempting to use DHCP. Other devices continue to function as per normal, DHCP working as expected. Logcat is attached; however, one will note there is an error in logcat regarding dhcpd.conf not existing. I went through /etc/dhcpcd as well as /system/etc/dhcpcd and can not find this file.I do note a dhcpcd-run-hooks file and a dhcpcd-hooks directory (this is true going from /etc or from /system/etc/) Descending into the dhcpcd-hooks directory shows the following files:

20-dns.conf and 95-configured

Please advise if you require further information, or if this post of mine should go elsewhere.

I am capable and prepared to wipe the whole device again and re-attempt this going forward.:good:
[ONE Original Android Development] risay07:
Been using this rom a few days. Not a single major problem.

Smooth, fast, stable. Though not much feature implemented yet, still fun to play with lolipop.:laugh:
[ONE Original Android Development] sash89:
wtf guys!i cannot flash this rom with twrp.is this compatible with it???????or i do have to install cwm?
[ONE Original Android Development] prata:
I use twrp exclusively. I had no issues flashing. What error are you seeing exactly?

Also, have you tried re-downloading the ROM? You may have a bad download.
[ONE Original Android Development] sash89:
no man...the error that i have is unable to unmount system and other stuff that i cannot remember...my twrp works with all roms but this and unofficial pa 5 alpha...what should i do?what version of twrp are u using?
[ONE Original Android Development] om22:
It just takes longer to flash than the other ROMs. Maybe 4-5minutes. And multirom doesn't work at the moment!
[ONE Original Android Development] sash89:
u guys tried this? http://xdaforums.com/google-nexus-5/themes-apps/theme-t2939926 it may work on our rom?
[ONE Original Android Development] 1ceb0x:
It won't work
[ONE Original Android Development] agentinani047:
I can't find trusted face option in the smart lock menu. Is this a known issue?

The rom is freakin amazing by the way! Great work!

---------- Post added at 10:56 AM ---------- Previous post was at 10:41 AM ----------

Those who want material dark theme can try out the new version of action launcher. They have completely redesigned the launcher complete with lollipop animations.
[ONE Original Android Development] keen36:
face unlock is integrated in the gapps, try a different gapps! :good:
[ONE Original Android Development] Aridon:
Great rom. I had to flash SuperSU.zip to get root working buy everything has been working great so far.
[ONE Original Android Development] ZoNe_dk:
Hi. Can I flash it whit wugfresh tool?

Printet on OnePlus One
[ONE Original Android Development] Lenas:
Just updated from Paranoid Android 4.4.4 and WOW does this one run great. I was instantly sold. So smooth, no bugs yet. Gapps working perfectly as did super user.

Flash took like two minutes, first boot maybe 3 minutes. Boot animation looks like it runs a little fast, maybe? Only "bug" lol.
[ONE Original Android Development] europizza:
It's too fast indeed.

---------- Post added at 01:41 AM ---------- Previous post was at 01:38 AM ----------

You can but it's a longer procedure than flashing rom and gapps from the custom recovery, which I assume you have if you're writing here.
[ONE Original Android Development] nicksmizzle:
for anyone wanting, there's a new build on the official servers and it's running great
[ONE Original Android Development] ZoNe_dk:
No I have total stock recovery, is it the wrong place to ask I when it's stock?

Printet on OnePlus One
[ONE Original Android Development] LucentBirch:
Which camera next apk are y'all using?

Thanks!
[ONE Original Android Development] europizza:
Then take your time to read guides on how to root the phone and install a custom recovery. The toolkit is very good because it does everything automatically but be sure to follow the right steps. Then come back here and

enjoy Vanir.
[ONE Original Android Development] mcrane1981:
Been running this ROM for a couple hours now with Boeffla 3 kernel. Seriously good work man! Very smooth and haven't found any bugs yet. Seems very stable enough for a daily driver. Keep up the awesome work and thanks for such an amazing ROM.
[ONE Original Android Development] Martin_Ro:
Have you tried it with buildin kernel ? I use wifi at home and at work with two completely different wifi system (wpa2-private at home and wpa2-Enterprise at work) and both work without issues since the very first alpha build.

Maybe also redownload rom because something might be borked on your download (then such issues sometimes happens because for instant some bits are borked in just one file like wifi driver).

Also have you tried some different security ? Out of your log I would guess you use only wpa, maybe try wpa2 ?

I use twrp 2.7.1 since forever and never had issues. just make sure you have unticked system in the mount options before you flash because this sometimes can make issues if ticked.
[ONE Original Android Development] linezero:
[MENTION=4429892]Martin_Ro[/MENTION] anything new around to flash with the new audio fx, browser and stuff :P also I saw a couple of wifi fixes I think merged today
[ONE Original Android Development] Criticalstriker:
- Does whatsapp voice recording work?

- Does front camera work? (For skype calls for example)

- Does microphone work during skype calls?
[ONE Original Android Development] Martin_Ro:
Best way to find it out: flash, try out and report [emoji6]

Will build tomorrow morning. Now it's cinema time: the latest hobbit....
[ONE Original Android Development] Criticalstriker:
Alright let me try :)

I need skype "video calls" once in 2000 years and when I need it I want it to work you know.
[ONE Original Android Development] linezero:
woah :o enjoy it dude :D share with us how it was :P *no spoilers*
[ONE Original Android Development] shadeofgrey:
What are the main differences between the official builds and your builds going forward, if you don't mind me asking?
[ONE Original Android Development] Criticalstriker:
Yes, whatsapp voice recording works, front camera works. But I didnt have chance to check the skype voice call.
[ONE Original Android Development] Martin_Ro:
To tell the truth, I wasn't that impressed from the film. I loved the three "Lord of the Rings" cinematics, but the Hobbit parts are way behind it....

Mine mostly have already some commits in it that will come later to the official builds, so they are mostly a little bit ahead of time, but that could lead to some bugs that will not be in the official version (also I usually test before give it to you).
[ONE Original Android Development] rayandreas:
Great job on this! I can honestly say that this is the only build that I have used as a daily driver. Everything that I need is working on this including Viper4Android and Snap chat. Just want to say great job and I appreciate you sharing!
[ONE Original Android Development] Martin_Ro:
Latest Beta Build online on my AFH folder :)
[ONE Original Android Development] keen36:
shouldn't vanir version be 5.0.1 now, like android version?

just flashed the newest build, everything seems to be in order, as expected. thanks for maintaining the glorious vanir rom for our devices so well! :good:
[ONE Original Android Development] indian84:
Downloading as I type. Any update on Navbar customization? Not asking for ETA. But out of curiosity. Remember a post few pages back someone mentioned about it, that your team member is working on it.
[ONE Original Android Development] demon507:
Location is constantly running and draining battery.

Android os is at the top in battery list.

I even turned off Location but it is still running.

Any solution?
[ONE Original Android Development] probiewankenobi:
Phone sleeps just fine here, see attached image...

Did you already deny permission to google play services to keep awake and ask from location through privacy guard settings?

Sent from a baconized lollipop.
[ONE Original Android Development] demon507:
No. I didn't.

Doing that will not cause any problem?
[ONE Original Android Development] europizza:
Please Vanir devs, the screen doesn't turn on to enter the code to unlock the sim. I can't use the device. Plus the screen switched side and became "lefthanded": it means the position of items and buttons in apps switched side of the screen, like on a mirror.
[ONE Original Android Development] probiewankenobi:
[MENTION=4400669]demon507[/MENTION]

Nope, there are no "side effects". For further information, have a look here:

http://xdaforums.com/oneplus-one/general/guide-google-play-services-battery-t2832525

If you continue to experience battery drain then install wakelock detector from play store to spot the app that's acting up.

Sent from a baconized lollipop.
[ONE Original Android Development] demon507:
Already have wakelock detector. Device sleeps fine i guess. But Android os and Google play services is consuming battery a lot. I only got 4 hours screen on time on vanir rom.

Just to compare i got 7.5hrs+ screen on time with same usage on liquid smooth, but it was not smooth in usage.
[ONE Original Android Development] europizza:
That's what I was talking about. It made me laugh up at first but then when I switched off the screen it wouldn't turn back on properly and I couldn't enter the pin code. So I restored a backup.
[ONE Original Android Development] probiewankenobi:
[MENTION=4400669]demon507[/MENTION] try that. It did the trick for me.

KK or Lollipop liquid smooth ?

Because I definitely do see a slight consumption increase on 5.0.x,so my battery stats are OK but not as good as they were on KK (in the nexus 5 section there's a thread on this).

Add to equation a governor with more conservative tunables (you said that wasn't too smooth) and maybe you can explain yourself the decreased battery life. Just my 0,02.

Sent from a baconized lollipop.
[ONE Original Android Development] obtuce:
Great job guys. I love this Rom so far. Seems to be one of the more stable bacon-pop roms out ATM. It is also the only rom to have really fixed the blacklight touch button issue. Maybe you can send your fix to CM team?? Lol.

Only thing that is acting less than normal is data and wifi connections. It is much better in the new build but everytime i wake the phone i have to airplane mode on/off to get data back. Oddly enough, calls and txt messages still come in as normal lol.
[ONE Original Android Development] 1ceb0x:
unthick RTL option.
[ONE Original Android Development] Aoude.:
Does 'OK Google' always listening work with the screen off on this ROM?
[ONE Original Android Development] europizza:
Maybe I have useful info about the screen not turning properly on to enter pin code: I have the Home Profile set with lockscreen disabled. So when it boots the screen is on and I can use the phone for few seconds, before the screen turns off and game over.
[ONE Original Android Development] Martin_Ro:
Never had such issues regarding screen off or switched sides, must be something on your side, sorry.

Same goes to data and/or wifi. It works fine for me and most others here.

Most issues came because of dirty flashing over to early alpha's. So if you have such issues, sometime best solution is a simple but very effective clean install.

I would suggest to even remove custom folders beside music, DCIM, Photos etc. from SDCARD to make sure no odd setting of an app is stored there (it shouldn't happen, but some apps are programmed odd ways).

Yesterday/ today morning I have had configured a new build server, so I haven't done anything rom side.

The new Build server allows me to give you a direct place to download stuff, so we don't need AFH anymore as soon as I have done all the work needed :)
[ONE Original Android Development] europizza:
I installed all apks at once with a zip from Titanium (only apps), could that be a problem?
[ONE Original Android Development] Almayce:
That can be a problem. The zip contained data for apps as well, right? It's generally not recommended to restore apps via titanium. Some roms even put it in the op. (I do it too though :D)
[ONE Original Android Development] europizza:
No, I only put the apks in the zip. Not the data.
[ONE Original Android Development] Almayce:
That shouldn't be much of a problem then. But clean install is the only way to be sure :)
[ONE Original Android Development] wajahebat:
The latest builds from both AFH link and Vanir nightlies link are the same build? Both release are on the same date.
[ONE Original Android Development] Martin_Ro:
Should be basically the same as we both build on same day, so there should only be minor differences (because of different sync time).

Regarding restoring Apps with titanium:

Don't do it, simply don't do it especially not with a release change like kitkat -> lollipop because sometime I have a feeling that even the apk versions are different...

Also don't forget: Not all apps are updated to lollipop, so even there can be some problem.

Best solution for such problems:

Clean install rom + gapps, test some time, install some apps, test again etc. If it fails on one point, you can have a closer lock on the last installed apps...
[ONE Original Android Development] notyu1459:
I'm pretty sure that's just a misconception. What developers mean is not to restore SYSTEM DATA via Titanium backup. I haven't used the Titanium zip method, but I imagine it can cause problems akin to a dirty flash if the zip contains system data.

Some people are afraid of using titanium backup and instead just wipe system/caches, but what they don't know is that the /data partition doesn't just contain user apps and data, it also contains the data for system apps as well. The /system partition only contains the actual system apps, NOT their settings. So flashing this way can cause problems, especially if you are flashing a different kind of ROM.

---------- Post added at 03:52 PM ---------- Previous post was at 03:32 PM ----------

Actually, restoring apps backed up in KitKat in Lollipop has been less problematic for me than restoring them in a Kitkat-ART environment.

A lot of times the apk is a unified version that responds to the device that it's downloaded in; it isn't like you can't download an app update that mentions Lollipop compatibility. And even if it's not, it also seems as if Lollipop tries its best to make apps that haven't been Lollipop-optimized work properly, as there are a lot of those available for download from the Google Play Store, anyway. On top of that, one update from the Google Play Store for any app in question makes however form they were restored from irrelevant. Worst case scenario, if you download or restore user app that is not Lollipop optimised, it simply won't open.

If you restore a system app or system data via Titanium Backup in ANY situation, however.......yeah, that can REALLY cause issues. Always make sure to only backup USER apps and data, and choose only to restore MISSING apps via Titanium backup.
[ONE Original Android Development] Vin87:
Well I think Swiftkey was just a coincidence. I'm having touch issues now and then. Seems to be the grounding issue. When it occurs the device does not respond on touches at all, or I have to press pretty hard. A reboot cures the problem. It happens on all CM12 roms I've tried. On Kitkat I do not experience these problems and sometimes I notice the touch is acting up weird, turning the screen of and on fixes the problem (on Kitkat). It seems that OPO/CM are filtering these issues on Kitkat roms but not on CM12 roms (yet).
[ONE Original Android Development] tobitege:
[MENTION=3338421]notyu1459[/MENTION]: excellent write up, this should be stickied in General! :) Many people complain about TB but because they're not sure what they are actually doing it seems. Having restored hundreds of apps across multiple devices and KK/L in the past weeks without major issues (minor issues were with apps not being fully L compatible at the time).
[ONE Original Android Development] obtuce:
Honestly, it boggles my mind how people today still use TB. Lol. I mean, it is mentionned in every single rom thread for every possible device as causing problems.

Crazyness!!!
[ONE Original Android Development] keen36:
YMMV. i have used TB for a long time now, and it is reliable and a wonderful help any time i switch roms. i have even transferred apps and data from an xperia arc s to a oneplus one. transferred apps from ics to kitkat to lollipop. no problems at all. i had problems restoring an app on lollipop once, but that app wouldn't even install directly from the play store (lollipop changed the permissions system).

edit:

something actually on topic here:

today the vanir updater came up! is it possible to manually start the updater somehow? on kitkat, i always used the quicktile for that.
[ONE Original Android Development] obtuce:
Google now can restore your apps so no more need for TB.. Glad it never gave you any issues though
[ONE Original Android Development] keen36:
google backup and restore has drawbacks compared to backup apps: it uses the internet, it's slower and there are obvious privacy concerns.
[ONE Original Android Development] obtuce:
If you were a genie and i had one wish, it would be the following.. Please add the option to disable auto correct on the default keyboard.

Thanks!!
[ONE Original Android Development] keen36:
that option is already there: settings->language&input->android keyboard (or google keyboard, whatever you use)->text correction
[ONE Original Android Development] eerikk2:
CM themes?

Can you use themes built for cyanogenmod with Vanir? And is there something similar to the CM Theme Chooser?
[ONE Original Android Development] obtuce:
OMG. Thanks lol. I was sure i checked in those settings... Was it added in one of the last versions?