yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] kldoc:
The bug you found is Gapps related, you might want to contact Banks team to see with them, officially, OmniROM doesn't offer support for Gapps, we only tend to recommend Banks because it has been proven that it's working well without being bloated. But then, it's nothing official on that matter. Any device maintainer is actually free to do the recommendations he wants towards that device.

Maybe Ubermallow uses a different icon for Launcher3 (customization), and from what you're saying, they apparently ship velvet.apk with the ROM.

OmniROM is AOSP based, and we don't ship any proprietary/closed source app, Google Now Launcher is a proprietary Launcher made by Google.

I don't know why Banks don't shipp Google Now Launcher with velvet.apk, but OmniROM does not ship it.

Afaik, the only proprietary piece of software you can find in OmniROM for Nexus 4 are the drivers and libraries given by Google.

That's also one of the reason why Supersu isn't shipped with OmniROM, because the code is not open source.

I don't want to sound harsh here, but if you did read through the thread, and I think I said many times that Google Now launcher was not included with Banks gapps and needed to be installed separately.

I wish I could do more for all of you when flashing gapps, provide a bulletproof package, but I unfortunately can't do that, lack of free time, and user support would be way to important compared to what I can actually provide. Building OmniROM is still a hobby, time that I take on my free time, and no one at Omni is paid to do the job, we all do that out of passion for the OS and for the device we maintain.

I myself keep on providing at least a build per week until nightlies start, but I can only do this when I go home after work, and I still have a family I need to spend time with ;)

That's why sometimes, I might omit to repeat things I already said in the thread, hoping users will eventually find their way to the answer they're looking for :)

If you have any question regarding the ROM itself, feel free to ask.

Hope you have fun with OmniROM !
[Nexus 4 Original Android Development] yever:
I don't remember if the camera is part of the rom or gapp. I have problem with using flash in low light setting. Sometimes, It just gave a black image. Google camera from the play store has the same problem.
[Nexus 4 Original Android Development] kldoc:
Base camera is part of the ROM, but low light settings, Nexus 4 always was really horrible with it. But a black image with flash ? That one never occurred to me. I just did a test, in a dark room, and it works just fine, with both base camera and Google Camera
[Nexus 4 Original Android Development] yever:
it doesn't happen all the time to me either. I managed to find an older version of the google camera app V2.4.024 that doesn't have the problem. I am okay for now. Thanks.
[Nexus 4 Original Android Development] kldoc:
Good to know, and thanks for sharing the version number.

Seems a few bugs slipped in the latest camera update, let's hope it'll receive some update soon.
[Nexus 4 Original Android Development] Tipkaros:
You're right, you did mention several times in the thread that Google Now Launcher isn't included in Banks... I don't know how I missed that I usually search for stuff before I ask questions. Sorry about that, I wasted your time. :(
[Nexus 4 Original Android Development] kldoc:
No worries, and no harm either :)

I perfectly understand the situation, since I'm tied to the same problem.

I really like Google Now Launcher, Gapps banks are really clean, but they don't include the needed apk. Actually, since the problem with pa gapps, I haven't been able to truly find a long term solution. It seems Banks now let you generate your own gapps though. For my personal usage, i like a micro package with the most basics option, and then install only what I need through the play store.

Been a while I didn't wipe though, guess I'll have to find a solution for when nightlies start ( yet no word on those, as soon as I know more, be assured i'll keep all of you informed).

Thing is my last wipe was a while ago, and didn't test newest version of packages, I might need to remove Gapps recommendation on main thread until I have some time to try a wipe and gapps install. Consider that recommendation, not as invalid, but slightly outdated ;)
[Nexus 4 Original Android Development] yever:
I started to have freeze and reboot occationally. I will wait for next build and do a clean flash.
[Nexus 4 Original Android Development] kldoc:
I would need a logcat to identify the source. None of those issue here.
[Nexus 4 Original Android Development] Kaffeekranz:
I seem to be experiencing some troubles with the latest Rom.

Clean flash, Banks gapps, no custom kernel, root.

Wifi seems to be permanently turned on, switching it off does nothing.

The battery stats show WiFi as the biggest battery drainer and the usage statistics show it being on (the timer is running all the time) even when explicitly turning it off.

Anyone experience something similar, or is it only me?

If the latter, any idea why?
[Nexus 4 Original Android Development] kldoc:
Did you activate location through wifi ?

Sounds really odd, you could try wiping again, and test wifi. If that works, means it's an app or a widget you installed is messing things up.
[Nexus 4 Original Android Development] Kaffeekranz:
Location was completely off on my phone and always is.

The only thing I installed is a regional news app, that's been working fine for ages, so my phone's pretty much vanilla.

I will do another wipe later though.

By the way, I really think it would be helpful to add a note to the OP concerning the requirement for systemless root.

My rom-flashing cycles have gotten longer, so I didn't even know there was a new method.

Took me about an hour of bootlooping-flash-repeat until I figured it out. :D

Also a picture for the sake of illustration.
[Nexus 4 Original Android Development] kldoc:
Oh, what I see in your screen, is Wifi is actually not active, those stats are totally unreliable, it says wifi is active, but it's not, if it was, Wifi icon would be up in your status bar, and it's not. You're not the first one complaining about stats, but afaik, Nexus 4 SOC doesn't support those new Android 6 stats, hardware limitation, that's why you can't use these tools to monitor. What is relevant is whether Wifi icon in status bar is active or not, on your screenshot, it's actually not, and you're on 3G network as far as I can tell.

While there has been efforts on some kernel to implement software support for those stats, OmniROM's kernel remain AOSP, that's why none of those got included.

Just to be sure, disable keep wifi during sleep in wifi advanced options.

What's that orange color you have ? Since OmniROM doesn't support theming, is that Xposed framework ? That wouldn't help wifi stats, and OmniROM offers zero support on devices using Xposed, mostly because a very few of us are using it, and it's partly device dependent, impossible to track and debug.
[Nexus 4 Original Android Development] kldoc:
Good news folks, nightlies are on their way, expect those to land rather soon ;)
[Nexus 4 Original Android Development] Kaffeekranz:
Hey, thanks for the long answer!

While I understand your explanation about the stats, 50% battery drain because of WiFi is still something new to me on that device, and I'm guessing this basic battery stats implementation has remained at least somewhat reliable. Correct me if I'm wrong, of course!

Like I said I'm not even accusing you of anything, I was just wondering what might be wrong.

I myself hate people coming into threads with insane problems not related to the Roms at all, so I try not to be one of them.

The Orange is from the aosp battery saver - that's what battery drain get's you! :D

Long story short though:

Another clean flash and WiFi seems to be behaving normally now.

What gives!

Thanks again!
[Nexus 4 Original Android Development] kldoc:
Well, you're partly right on the battery stats, except they need around 3 days to be reliable from my own experience.

Good to know that another clean flash seems to have done the job, a little odd it did behave wrongly, might be because of some remaining data on /sdcard

Thank you for your understanding, not that often you get to give support to people that can understand the behind the scene thing :)
[Nexus 4 Original Android Development] kldoc:
As I stated in a previous post, nightlies are about to start, this means one thing:

All those who keep following this rom MUST do a BACKUP of EVERYTHING before flashing nightlies.

When I mean everything, it includes. phone calls logs, sms/text, contacts ( if you don't sync with google), apps, ringtones, images, all your media.

The reason why is very simple. When OmniROM is build by yourself or by me, it's not signed, and you can indeed check the HOMEBUILD status of the ROM. When it's a nightly, it gets the status nightly, and is signed. Thing is the signature is checked at boot time, if the rom is not signed, it will NOT BOOT at all.

Meaning a wipe:

-/data

-/system

-cache and dalvik

is NEEDED to be able to flash nightlies.

I will update the main thread in consequence when nightlies are ready to download, but since a lot of you are actually very busy (we all have a life right ;) ), I hope warning you ahead of it might give you enough time to do a proper backup, and avoid a disaster with your data.

An updated version of TWRP will be published in the meantime to support Omni 6 (not that it doesn't work right now, but updating it is a good idea, lots of changes in the incoming version, and a lot of them are very nice ;) )

Have fun with your backups !
[Nexus 4 Original Android Development] mandgeo:
Will we be able to root and use custom kernel?
[Nexus 4 Original Android Development] kldoc:
Yes you will and you actually already can, using the system less root supersu. Custom kernel, as long as it's intended to use on AOSP and not CM, but downside is we offer no support on those.
[Nexus 4 Original Android Development] kldoc:
Quick update, due to a server update, Nexus 4 wasn't included in the first batch of nightlies. I did ask core team to add Nexus 4 to the nightlies, with a bit of luck, first Omni 6 for Nexus 4 should land tomorrow :)

With Nightlies starting, I will stop publishing my own builds, and this thread will switch to official status.

I really want to thank all of those who followed this thread from the beginning, giving really important feedback that helped me getting Nexus 4 nightlies ready.

I will need a bit of time to come together with a valid recommendation for gapps, as I don't have much free time this week to backup and switch to nightlies myself, but rest assured I'm doing my best to switch ASAP and be able to give you support :)

Have fun with OmniROM !
[Nexus 4 Original Android Development] kldoc:
Hi folks, unfortunately, I have to ask you to wait a bit more, not that it please me, but the person in charge of nightlies server is overbooked, and only him can trigger the switch for mako. Basically needs to wait he get the message and find the time to do it. I sincerely apologize for that non needed delay. Believe it or not, I'm not really happy either about this delay, I'll provide you an up to date build by Wednesday.
[Nexus 4 Original Android Development] Yeseshvi:
Hey, u say it's not as bloated as CM. Do you think it'll provide a better screen-on-time than CM? I can try it out by myself but batt duration varies day to day, so I want ur opinion. Also I don't like using custom kernels or mods. And I'm barely getting 3h SoT with cm13 :(

Pls lemme know

---------- Post added at 07:21 PM ---------- Previous post was at 07:18 PM ----------

I'll wait for the nightly then :)
[Nexus 4 Original Android Development] kldoc:
I don't have any straight answer to this, it all depends what you do with your device. I don't really look at SOT on Nexus 4 myself, 3 hours seems about right on what Nexus 4 is able to do, wish it could do more, but would need a better battery for this. I would say, that playing a game (need for speed no limits), doing a bit of facebook, check mails, some messenger, i can last the whole day without recharging, I don't take my charger with me at work.
[Nexus 4 Original Android Development] Yeseshvi:
Alright. I've used omni 5.1.1 which was way lighter than any ROM. I'll try this out, and let u know how it goes :)
[Nexus 4 Original Android Development] kldoc:
That's actually the best way to know :)
[Nexus 4 Original Android Development] usenexus4:
I am now on omnirom 5.1

I like to change to Android 6 now and I still have some questions:

Can I just load the zip file into twrp recovery and update my Omnirom 5 to Omnirom 6?

What about the "radio" drivers?

Can I update my actual twrp just with my Nexus 4 or do I need adb from my PC? (I already have 2.8.7.0)

What do I have to do to get the phone rooted? I was always using super su 2.46 can I still use this?

Does anybody has any experiences with xposed framework?

For my it is important to block internet for some apps, I used afwall. I guess this should work fine with a rooted device?
[Nexus 4 Original Android Development] kldoc:
Hello,

1:No, you can't, a full wipe is needed

2:Google abandonned Nexus 4, so no new "radio"

3:No problem to use 2.8.7.0 to flash Omni 6

4:To obtain root, you MUST use supersu beta, system-less version

Chainfire's thread

Supersu beta 2.66 system-less

5:We don't offer any support with Xposed framework, I didn't test myself, you're on your own there :p

6:afwall, you will have to try, and if you have any issue with it, contact its developer

I'm still waiting for Nightlies to start, which shouldn't be too far away ( a matter of days ). Might be a better idea to wait for nightlies here, since a full wipe will be needed again ;)
[Nexus 4 Original Android Development] usenexus4:
4. Do I have to

or is this integrated in OmniRom?
[Nexus 4 Original Android Development] kldoc:
Actually, the new system-less supersu take care of this :)
[Nexus 4 Original Android Development] schiznik:
Very impressed with this, no issues for the few weeks I've been using it.

I've gone back to stock now though, as Omni 6 is still affected by this issue: http://jira.omnirom.org/browse/OMNI-1243

Unfortunately this is a deal-breaker for me - too addicted to cr*ppy little games and without Google Play Games I cant sign in to them and/or restore progress.
[Nexus 4 Original Android Development] AztlanUnderground:
Account required, so most people won't know what you're talking about.
[Nexus 4 Original Android Development] kldoc:
Google play games works perfectly fine ! I play Need for speed no limits without any problem, through Google Play games.

You should have asked before going back to stock :p

You need to install an older version of Google Play games or similar failing app. Then update it normally through Google Play store.

That's what I did, and it works perfectly fine.

To explain the why of that issue, it's actually due to some changes Google did to gapps last summer, and if you check gapps discussion threads on Xda, you'll see there is a lot of talk about that.

So basically, one workaround about that is to install an older version of the apk without that modification Google did, and then it will update completely normally :)

You might also want to try another gapps package, I'll give a shot at OpenGapps this week end to see how it goes.
[Nexus 4 Original Android Development] kldoc:
The issue is about installing a google app that wasn't present in the gapps package through play store, it will fail.

Google did some changes last summer, and only workaround for now is to install an older apk without that change, then update.

My tests were play games and google keep, and anything prior july 2015 did work perfectly fine.

I know there is a lot going on about this issue in the different gapps package team, might want to check on their side if they did any progress, have to admit I didn't have the time to investigate more on this last month.
[Nexus 4 Original Android Development] kldoc:
I removed Gapps Recommendation for now, I want to do some tests on Open Gapps, and hope it solves issue we had with installing apps through play store.

I'll keep you informed :)
[Nexus 4 Original Android Development] kldoc:
Ok, I talked a bit with Omni, seems Purenexus Gapps are working really well. They did test Google Play Games and Google Keep with it, worked just fine.

Not a ROM issue, a gapps issue, you probably were using a too old version of the package.
[Nexus 4 Original Android Development] saenanme:
In this thread: http://xdaforums.com/android/software/app-minimal-gapps-gapps-lp-20150107-1-t2997368, the mantainer of the gapps assures that for MM, due to /system changes, it is better to manually install many of the gapps from play store instead of flashing them. This is what I do with in my main phone.

I always use the pico package from open gapps for my N4 and install the rest of the gapps I use from the play store

Regards,
[Nexus 4 Original Android Development] kldoc:
[MENTION=5398999]saenanme[/MENTION]

This is indeed the best practice, since you have complete control of what you install, without having the risk of any remaining script, and it avoid future troubles with updates.

But I can't decently ask all my users to do that, and some packages are not bad at all. I will do some tests over the week end to see what fits best.

Planned gapps testing are opengapps, and Purenexus gapps. My preference goes for opengapps because you can pic a micro package and install everything else from the store, or install the apk manually. But a lot of people do prefer monolithic package, and in that regard, Purenexus might be a good choice.

I do have an experimental build to do tonight, a commit that i've seen in Cyanogenmod that looks interesting in the kernel, memory management issue, and I want to see how it behaves on OmniROM.

https://github.com/CyanogenMod/andr...mmit/9be088b693e6fa22d31e64f6c289cd07de89a4b8

I will cherry pick it tonight, and post a new build here, since I don't want to merge this unless having extensive testing over it.
[Nexus 4 Original Android Development] wizmart:
Does anyone have the issue of sdcard not showing after install on multirom as secondary?
[Nexus 4 Original Android Development] Theyonut:
Multirom is not supported, so it could have bugs that omni devs will not solve. Same for xposed.

Contact multirom devs!
[Nexus 4 Original Android Development] wizmart:
OK, I thought so. Kind of weird... It dit install without problems with supersubeta, boot went fine, did some installation from GGplay, but without access to storage medium titanium, camera, filemanager crashed of course...!
[Nexus 4 Original Android Development] kldoc:
Hello folks, as promised and announced, here's the experimental build i was talking about.

omni-6.0.1-20160115-mako-HOMEMADE.zip

For those willing to test, it's up to date with latest Omni's changes, plus that commit I mentioned that disable System V.

Waiting for your feedback whether this improves memory handling or not :)

I won't be posting it on the main thread because of that commit.

Waiting for your feedback :) FYI, I am also running this build.

Have fun with OmniROM !
[Nexus 4 Original Android Development] yever:
I clean flashed 0115 build with Banks Dynamic Gapps. What exactly do you want us to check? lagging after some time?
[Nexus 4 Original Android Development] kldoc:
More or less yes :) Any sluggish behavior that shouldn't happen system wise. It could take some time to actually see a difference, up to around 3 to 5 days of normal usage. Main thing is I actually want to make sure it doesn't break anything.
[Nexus 4 Original Android Development] kldoc:
I merged that commit about system V, as it was an AOSP commit.

I just submitted another AOSP commit about a kernel leak that I need to test before merging. Will publish a build by this week end with those changes.
[Nexus 4 Original Android Development] usenexus4:
Just a bit offtopic:

Source

No fear that there is a backdoor for the NSA?
[Nexus 4 Original Android Development] zingga:
it is open source so if you want, you can try to find backdoor by yourself, source code is in kernel.org
[Nexus 4 Original Android Development] kldoc:
Well, techincally, due to the amount of code in the kernel, and given a lot didn't change for years (need someone to actually look at it), there can be a lot of security flaws and backdoors.

Add to this that a few years ago backdoors got revealed on hardware firmware (the infamous hard drive backdoor firmware).

At this point, for the general consumer, either you live with it, either you turn off everything that contains electronic :p
[Nexus 4 Original Android Development] kldoc:
New build:

omni-6.0.1-20160122-mako-HOMEMADE.zip

Kernel leak fix included, Omni Dialer lookup backport.

Have fun with OmniROM
[Nexus 4 Original Android Development] Yeseshvi:
Homemade build is not a nightly? Just wanna know if wiping system-dalvik-cache is enough or do I do a total factory reset for flashing this?

Also, lemme know if Open-GApps-pico is working (u said u were testing it) :)

---------- Post added at 09:40 AM ---------- Previous post was at 09:36 AM ----------

I've been waiting for the nightly build since last Wednesday ;)
[Nexus 4 Original Android Development] spawnofdonny:
No but they are coming soon https://omnirom.org/devices/omnirom-marshmallow-nightlies-are-underway/
[Nexus 4 Original Android Development] Yeseshvi:
Thanks :D
[Nexus 4 Original Android Development] kldoc:
Unfortunately not nightly yet, some internal issues (Not ROM neither device related) delayed those.

Sorry for the delay for Open gapps results, I actually haven't been able to test those yet because the lack of free time (work + my 5 years old don't make this easy ;) )

I'm in vacations for 3 weeks, I'll be able to test those, just give me a bit more time ( 1 week or so ), I actually need a bit of rest ;)
[Nexus 4 Original Android Development] Yeseshvi:
Then I have an idea, I'll try them and let u know ;)
[Nexus 4 Original Android Development] Italico:
Thank you very much for the last buil posted!

gonna try it in a few minutes with OpenGapps 'Mini' package, using also a gapps-config script that makes them quite skinny.

Will post the results soon.

Have a nice weekend everyone!
[Nexus 4 Original Android Development] Yeseshvi:
Flashed the latest build and Open GApps pico. (Had to wipe sys-data-dalvik-cache)

Had to go back and forth during the startup Google login (cud be due to connection issue) but once it started running it's all good. Google Play Games works as usual (SkiSafari 2).

AOSP keyboard crashes if I use gesture typing and the NavBar icons are a bit too big for my liking.

Other than that, it's all butter-smooth, no issues so far.

P.S. I love that there's auto-brightness toggle in the QS. Great work man. :D
[Nexus 4 Original Android Development] Italico:
Here everything's allright, using OpenGapps 'Mini' (tweaked using the gapps-config script). No hiccups whatsoever.
[Nexus 4 Original Android Development] kldoc:
I'll try to reproduce that AOSP keyboard crash tomorrow, to get a logcat out of it, this shouldn't crash.

NavBar icons, nothing I can do about it there, thing is device is aging, and resolution is actually starting to be a bit low towards new standards. I guess you could use another launcher to suit your needs and linking ;)

I'm not responsible for those nice little features, but I'll transmit the message, i'm sure the dev will be happy to hear people like this :)