yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] mr_nguyen298:
i flash nightly 20160218 rom from homemade 2016-01-22. i just flash (do not wipe anything). My N4 not restart. It stuck on bootanimation screen.

Can you help me ? Thank you !
[Nexus 4 Original Android Development] yever:
You can't do that according to OP. I think you have to wipe and clean flash when going from homemade to nightly.
[Nexus 4 Original Android Development] kldoc:
Indeed, due to the fact that nightlies are signed, you can not flash nightlies over homemade, you need to wipe /system, /cache, /data (not internal data), then flash omni nightlies, and it will boot just normally :)
[Nexus 4 Original Android Development] rrr.sadowski:
Chcecked with today's nightly. The encryption still does not work. Here are the logs:
[Nexus 4 Original Android Development] mandgeo:
I want to reinstall again. I want to use opengapps pico and apks from apkmirror. I remember that kldoc said somewhere that apks should be from a certain date and I don't remember that date. And I've searched that post.

Someone could help me with that info?! :D And what dpi version should I download?
[Nexus 4 Original Android Development] klueless:
He said the apks should be around July 2015
[Nexus 4 Original Android Development] mandgeo:
And everything works as it should. :)
[Nexus 4 Original Android Development] kldoc:
Your logs say they can't find the masterkey. Since someone else here managed to get encryption working, how did you encrypt your device ?

How much free space did you have ?

I don't have time to test encryption before a while, because I don't use it, and I don't want it on my phone, it might take me a month before I can actually test it. You may want to ask [MENTION=5589100]vastus[/MENTION] about how he proceeded.
[Nexus 4 Original Android Development] kldoc:
With today's nightlies, dexpreopt has been enabled globally, means first boot should be a lot faster :)
[Nexus 4 Original Android Development] vastus:
[MENTION=5175051]rrr.sadowski[/MENTION] [MENTION=2604804]kldoc[/MENTION] Like I said, my device was already encrypted while using 5.1.1, prior to 6.0 flash and it never got decrypted during the process. I was under the impression Factory Reset should decrypt it (I could be wrong about this), but for some reason it didn't. So there was no need for me to enable encryption in 6.0. That's about it :)
[Nexus 4 Original Android Development] kldoc:
Well, unless I'm wrong, system partition itself isn't crypted, only data are, I really don't have the free time to investigate this now, i'd need at least one full day to backup everything, wipe, encrypt, get all the logs, then restore my backups. I really don't have that time at the moment.
[Nexus 4 Original Android Development] kldoc:
Hi, I said a few days earlier that Nightlies would be dexpreopt, they are not on Mako as of yet, since boardconfig always had the parameter set on false, and I didn't have time to change this. I'll do the change in the coming days, build size will increase, but it should boot a lot faster :)
[Nexus 4 Original Android Development] Cizzle4:
I'm very sad about this rom, id like to install it, but i dont wanna install google app from apkmirror it's very annoing. When will this problem be fix?
[Nexus 4 Original Android Development] kldoc:
Well, only a few apps are having this issue, and only on nightlies, and I wasn't able to find the difference between nightlies and homebuilds, since Omni built strictly from github sources does work.

Since the main change on those apps, is they went from user apps to system apps. Best solution to overcome this is to use Gapps that already have those apps (seems to be the intended way on Android 6), youtube, keep, photos, google +.
[Nexus 4 Original Android Development] kldoc:
I've started doing some research for f2fs support, but no ETA on this, I'm busy as hell with life at the moment, and I need time to actually get things right.

I've also looked into multirom support, seems only a patch is needed for this, but I don't really intend to push this to nightlies, I'll probably just publish a modified kernel that include that patch in the future, once again, NO ETA ;)
[Nexus 4 Original Android Development] Cizzle4:
for homebuilds you mean the one that you made by yourself?
[Nexus 4 Original Android Development] kldoc:
I mean the one that I build, but also the one that everyone can build. I have zero local change regarding that matter, that's why I can't determine what's wrong.
[Nexus 4 Original Android Development] kldoc:
For those willing to test ( I don't have the time until at least 2 weeks), this kernel from another team include f2fs support, and should be compatible with multirom, chose AOSP version.

http://xdaforums.com/nexus-4/development/kernel-sabermod-franco-kernel-r211-t2858561

All credits to [MENTION=4217103]zaclimon[/MENTION] for this very nice kernel

f2fs support is something rather big to add, Nexus 4 being stable on OmniROM, I am not sure whether or not adding support might render it unstable, needs testing, and Nexus 4 and Nexus 5 don't have f2fs support on AOSP.

It's worth the try IMHO. Quanta kernel seems a well polished and supported kernel, might be better to have a clean AOSP base, then flash this kernel.

Since Omni doesn't support f2fs, you'll need a modified TWRP that support f2fs for Nexus 4, don't format /system, only /data and /cache

http://xdaforums.com/nexus-4/development/unofficial-twrp-mako-3-0-0-ext4-f2fs-t3309705

Explanation: to build TWRP with f2fs support, it actually need a kernel with f2fs support, since TWRP is building against that kernel, that's why TWRP out of the box doesn't support f2fs on Nexus 4 ( i was wrong on this ),

All credits to [MENTION=4831205]vocoderism[/MENTION] for his work on this.
[Nexus 4 Original Android Development] mandgeo:
There are some problems with Quanta, on version V11 & V12. If you want to try another kernel, go with Quanta V10 and wait for a better version.
[Nexus 4 Original Android Development] kldoc:
Builds are now dexpreopt, which explains the bump in download size :)
[Nexus 4 Original Android Development] kldoc:
For those of you having issues with new dexpreopt builds, I advise a wipe flash, i'm actually having issues with facelock myself, and need to wipe.
[Nexus 4 Original Android Development] kldoc:
Well, after discussing with the team, I'm going to revert dexpreopt, it eats too much on system partition, and we don't have enough space to get the system running normally, for those who didn't flash last 3 nightlies, avoid 28/29/1, starting 2, dex preopt will be normal again. For those who did flash those nightlies, no choice but wipe again.
[Nexus 4 Original Android Development] saenanme:
A factory wipe?

I have problems flashing aroma opengapps from last Thursday or Friday, I suppose that this is the origin. Finally I flashed the pico version and install the two or three remaining app from the store.

But this rom is so good that I'm thinking to flash the opo version in my main device.

Regards,
[Nexus 4 Original Android Development] kldoc:
Friday builds were unaffected, Sunday, Monday and Tuesday are the builds that have the issue.

There was some changes on gapps very recently, probably wait a few days, but you shouldn't be updating gapps with package once they are installed ...

Tomorrow's nightly has a commit which I hope will help with gapps sign in, I can't tell yet whether or not it will work.
[Nexus 4 Original Android Development] kldoc:
Unless any device comes up before the new Nexuses, it seems that Nexus 4 will remain my phone for at least a few more months, you can count on me to get ready for Android N when it'll drop, although it''s way too soon to tell how well will Nexus 4 run if it even boots, but I'll try my best :)
[Nexus 4 Original Android Development] Cristiano Lira:
Is there a chance we can see a kind of changelog (could be automated directly from the building) once a new build is up? Because everyday I'm getting updates and I don't know if the update could have some kind of instability (because it's nightly) or I should update because it fixes something that is broken that I hadn't even noticed. I understand if it would be not possible right now because of the time it would take from you.
[Nexus 4 Original Android Development] kldoc:
I perfectly understand your concern, I did talk about dex preopt, and I said it would require wipe, I reverted that change because the required space for dex preoptimization was more than what Nexus 4 can offer.

I usually do test builds before doing some major change like this, didn't this time around because the lack of time, and I'm sorry for the inconvenience.

I can assure you I won't do this mistake twice. Although for today's nightly change, I didn't do a testbuild because it's an issue related to nightlies (google app sign in, currently flashing it, I will give the results once I'm done testing it).

There's this app for changelog on the play store :)

OmniROM Changelog
[Nexus 4 Original Android Development] kldoc:
Patch for google sign in didn't work, still investigating ...
[Nexus 4 Original Android Development] Cristiano Lira:
I'm not complaining about anything, bro. I hadn't a single issue with the dexpreopt builds. In fact, I'm sad now that it is gone., I loved the speed of the first boot. :( That only "issue" is that it is needed to install the pico OpenGapps or install the BaNkS dynamic one that will give the same result. I didn't know about that app, thank you for pointing out.
[Nexus 4 Original Android Development] kldoc:
Believe me, as a maintainer, I also loved that speed, helps greatly to make test builds and debug, but system partition is just too short :(
[Nexus 4 Original Android Development] kldoc:
PLEASE, DO NOT FLASH 4/3/2016 NIGHTLIE UNTIL I GREENLIGHT IT.

I've applied a commit as seen on many ROMS on device.mk, and I can't test build it (lacking the time). Not knowing how much this will affect the device, I really recommend no flashing that build until I can flash it myself and greenlight it. Everything should be fine, but there are some important changes inside, and I want to make sure it works fine before anyone else flash it and gets troubles with it.

Thanks you for your understanding.
[Nexus 4 Original Android Development] kldoc:
Nightly is OK, you can flash :)
[Nexus 4 Original Android Development] mandgeo:
Please explain to me about dexpreopt. I think I've installed one of that builds, but I didn't encountered any problem. What about system space? I've installed pico gapps. I really like the first boot speed. I'm a little worried about the number of updated apps. I have about 100, but it updates about 50.

And another question... OpenDelta has a folder named FlashAfterUpdate. What is with that folder? If I put supersu and quanta zips in that folder, they are going to be installed with the update script?
[Nexus 4 Original Android Development] kldoc:
It's actually quite easy to explain, when OmniROM is built with dex preopt, all apps that are bundled are actually being compiled to be ready to use directly once installed. This is what the Android first boot screen is about, it builds the apps that aren't already built into dex. It's faster to boot because the system already knows thoses are already built, and doesn't rebuild those, since those were built by the nightlies server. Counterpart, is all those apps takes more space on /system instead of /data, that's the problem, our system partition on Nexus 4 is less than 1gb, i guess you can quickly see the problem :) Larger gapps package than pico won't pass at all, and you'll tend to have lack of space warnings, which will eventually lead to a malfunctioning system.

Main issue, is you need to wipe if you were to flash a non dex preopt nightly because the dex will be put in a different location.

Indeed, the flashafterupdate is a folder where you put the zips you need included in the OTA update.
[Nexus 4 Original Android Development] mandgeo:
My system partition shows 238 mb free. That sounds enough for me. This available space is there because I've installed pico gapps?
[Nexus 4 Original Android Development] kldoc:
Well, more or less, you would have around 150MB less if you would use larger gapps package.
[Nexus 4 Original Android Development] mandgeo:
I would vote for dexpreopt, with the recommendation to use pico gapps. Updating works great.

FlashAfterUpdate also works like a charm. I've just updated with supersu and quanta in one step.
[Nexus 4 Original Android Development] Cristiano Lira:
Omg the latest is draining battey really fast! I loved this ROM because it had a very good battery, but with latest nightly (04/03/16) battery is dropping really fast, I'm getting less than 2 minutes for one percent while on the previous nightlies I would get more than 3 minutes for percent. I think it could be that change you said here. Whatever was the change that made this, please revert this change! I'm going back to nightly 0303 while this is addressed, thank you.

I also prefer dexpreopt builds, I hadn't any problem with them.
[Nexus 4 Original Android Development] kldoc:
Dexpreopt builds won't come back, too much stress on system partition.

Tomorrow's nightly contains a few changes, if those changes are successful, I'll revert the toolchain to 4.7, i think the battery drain you're talking about comes from toolchain 4.8

Good to know. Not good news, but good to know.

EDIT: as of now, updated toolchain is not needed, already reverted, included in tomorrow's nightly.
[Nexus 4 Original Android Development] Cristiano Lira:
I think I was precipitaded, sorry. Last night, when I installed it my phone, after the first boot and the battery had still 30% and went sleep. On the morning, I picked up my phone and it had 30℅ yet although it have discharged really quick, as I said, in a rate of less than 2 minutes for percent. Now, after I have got time the full charge it and use my phone, I'm getting the same results as in previous builds. I don't know what got ****ed up after I've flashed it last night but till now it's running great. I think this rom is the best existing for mako and, also, this ROM is my daily driver, that's why I care so much about it.

Edit: I just saw about the toolchain. Although I am not having huge battery drain anymore, good to know that it will be reverted, I think this choice should make the rom more stable and the battery even better. Thanks.
[Nexus 4 Original Android Development] kldoc:
Well, I honestly did that change in the hope to fix Google sign in, as of now, still doesn't work on nightlies whereas it works perfectly on homemade, that's the current situation.

Just did a full wipe, including internal storage to test whether or not something there could do this.

Will keep all of you informed about my findings.

New toolchain, not needed right now, and smp=true, AOSP never did it on Mako, might be needed for Android N, but until then, no noticeable change, so reverted.

EDIT: Full wipe including internal DATA doesn't change a damned thing :(
[Nexus 4 Original Android Development] klueless:
Various apps have been asking me to sign in periodically. For example, Gmail just asked. Then maybe a couple days later, Chromium might ask, then later Gmail might ask again. I hit OK and the app continues without issue.
[Nexus 4 Original Android Development] kldoc:
It happens when apps get updated and ask for permissions.

I've been talking with the team, and it would seem that rotation 270 issue "might" be related to the problem we encounter with gapps not being able to sign in when installed from play store.

We're discussing solutions, I can't give you any ETA as of yet, but we're making progress.
[Nexus 4 Original Android Development] kldoc:
For those that are not afraid to wipe when the gapps sign in bug is fixed on nightlies (shouldn't be too long now ...), I can provide a homebuild on a weekly basis. I am not currently running my builds, but nightlies. Having to sideload an older apk isn't a problem for me, but I know it might be for a lot of people.

My goal is to provide you the best experience possible on OmniROM, and despite my best efforts to do so, this bug is tied to nightlies being signed, and along with system apps being signed by OmniROM. This is a new case that came with Android 6, and while this is being investigated with a few solutions that comes up, we yet have to chose the best solution for everyone (across devices).

That's why I'm offering to give homemade builds in parallel of nightlies for those who might need to have gapps fully functionnal without the need to sideload.

If you wish so, I will upload an up to date build in the coming week. Just tell me here in the comments. Be warned that coming from nightlies, it'll need a wipe, and wipe again when going back to nightlies.

Friendly yours,

kldoc
[Nexus 4 Original Android Development] mandgeo:
The best solution is to install pico gapps and apks from apkmirror.

If someone wants it, I can upload my collection somewhere.
[Nexus 4 Original Android Development] kldoc:
One information that I didn't give yet, is rotation 270 "might" be tied to that very same issue.

As soon as I know more, will keep you informed, I don't have much more control over nightlies than the sources themselves. and certainly not on the build server. This is outside of my skillset anyway, but coreteam has aknowledge the bug and we're working together to solve it :)
[Nexus 4 Original Android Development] mrk2815:
I am wondering in previous Omni rom builds there was answer with home button. I was wondering if that feature could be back in Omni rom 6 for the nexus 4. I know of a friend who has a nexus 4 and liked to have that feature that in Omni rom.i am just wondering. he is currently running cyanogen mod since the answer with home button is there in accessibility settings as well as end call with power button. Its a small requesto to ask for but its a really good feature to have in there. If this feature could be implemented in future this would bea welcome an he can then leave cyanogen mod for Omni rom going forward if an answer with home button features was in Omni rom.
[Nexus 4 Original Android Development] kldoc:
I will look into the code when I have time, but that's not in the todo list as far as I can tell.

You can make a feature request in the OmniROM forum here in XDA.
[Nexus 4 Original Android Development] gbetous:
Hi,

I can't install Google Play Services. logcat shows following error :

03-08 09:55:51.996 17567 17588 E FlurryAgent: GOOGLE PLAY SERVICES EXCEPTION: com.google.android.gms.common.GooglePlayServicesUtil
03-08 09:55:51.996 17567 17588 E FlurryAgent: There is a problem with the Google Play Services library, which is required for Android Advertising ID support. The Google Play Services library should be integrated in any app shipping in the Play Store that uses analytics or advertising.

I tried to update OpenGApps to the latest available version, but still same issue.

For the detail : I'm building Omni from sources.

Any idea ?

Thanks !
[Nexus 4 Original Android Development] kldoc:
Yes, you can NOT update gapps with a gapps package on OmniROM. Wipe is needed.
[Nexus 4 Original Android Development] gbetous:
When I installed new GApps, I did wipe cache and dalvik cache. Isn't it enough ? What do I need to wipe more ?

But this being said, do you think that my issue is linked to the Gapps version ?

Thanks :)
[Nexus 4 Original Android Development] mrk2815:
I have already made the request in the Omni rom actual forums for the answer with home feature. hope that it makes it in ther.
[Nexus 4 Original Android Development] kldoc:
When I mean you can not update gapps with gapps package, you really can not update Gapps package on Omni 6 without wiping data (aka factory reset).

This is due to some limitations introduced by Google on gapps (permissions stuff) with Android 6, and the fact that OmniROM didn't merge anything to ease the security on this. OmniROM is first trying to be as secure as possible.

Since we don't officially support Gapps (some members of the core team don't actually use gapps at all), this is something that will not change.

Only way to update gapps is through the Google play store, or sideloading apk.

This already was mentioned before, and it's also mentioned in the main thread.

Thanks for fully reading the first post. Using the search function of this forum would also have answered this.
[Nexus 4 Original Android Development] kldoc:
I wish I had better news, but the culprit for Google apps installed through play store which can't sign in is the way OmniROM sign nightlies.

Nexus 4 seems to be the only device being affected by this issue. Because of that, it's very unlikely this will get solved before Android N.

Only workaround is to sideload older apk, and then update normally from play store.

HOMEMADE builds are not affected, and work perfectly fine, because they are using Google's test keys.

I have zero control over this, core team knows about that issue, I can't do much more than that unfortunately.
[Nexus 4 Original Android Development] Firmino Neto:
[MENTION=2604804]kldoc[/MENTION]

where do I download homemade?
[Nexus 4 Original Android Development] kldoc:
Either you build it yourself, either you wait that I have the time to build one and upload it.

HOMEMADE AND NIGHTLIES ARE NOT COMPATIBLE.

Meaning you must wipe data (factory reset) if you switch from one to another.

And yes, that also breaks the OTA compatibility.

You can use NIGHTLIES, and install older apks (youtube, keep, google + etc ...) from apkmirror, and then update it through play store without any further issue.

I certainly won't push for HOMEBUILD, and I will certainly NOT release those in a timely manner, this will be given as a convenience for people who really can not do otherwise. But I don't have the time neither the will to do regular update on those. I did it before nightlies, mainly to show OmniROM was still alive on Nexus 4, but I am certainly not going to replace nightlies with builds I do myself.
[Nexus 4 Original Android Development] kldoc:
Hi folks, after much work and tryouts, i finally managed to make Google sign in work in nightlies for gapps, next nightly include that change.

Enjoy :)
[Nexus 4 Original Android Development] Rohit02:
thanks for your support Sir
[Nexus 4 Original Android Development] kldoc:
Confirmed, starting 20160313 nightly, Google sign in issue for Google apps installed from play store is gone for good, you can now feel free to install a tiny gapps package that fits your needs, then install whatever google app you want through play store, will work flawlessly.

As always, Have Fun with OmniROM !
[Nexus 4 Original Android Development] kldoc:
I will ask you to skip today's nightly, as update to r22 happened in the meanwhile, so please, don't flash 03152016 nightly, wait for tomorrow ;)

About rotation 270, I've started to work on it, I've found something in the ROM code itself, will do a testbuild tonight, and submit if it works.
[Nexus 4 Original Android Development] kldoc:
Ok, problem for rotation not working properly has been identified, and it's actually a ROM wise bug that will get fixed in the coming days :)

Will notify you when nightlies get those changes.

Have fun with OmniROM

EDIT: Faster than I expected, code already merged, All rotations will be working on next nightly, and rotation customization too :) Enjoy :)
[Nexus 4 Original Android Development] lebenskuenstler:
ActiveSync Support gone?

Hi,

after flash of 2016-03-15 delta update my ActiveSync-Account was gone. As result my contacts, calendar and mails were missing. I also could not create a new one, the option for that in account setup is just missing.

Is this by accident or an intended change?

I just installed Omni 6 on sunday :(

Best,

LK
[Nexus 4 Original Android Development] kldoc:
Talked to the core team about your issue, update to r22 killed active sync, but team readded the needed code to handle it, next nightly will solve your issue with it, very sorry for the inconvenience !
[Nexus 4 Original Android Development] mrk2815:
sinc I am new to Omni rom. Once there are all these nightlies ar in a final stable stage. is there a stable build which would be pushed through the Omni channel , or how does this work. just wondering.