• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][NON-OFFICIAL][7.0] Omni 7

kldoc

Senior Member
May 26, 2010
833
1,528
93
What is Omni?

Omni Gerrit Review


Disclaimer
Code:
#include 
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
 */
DOWNLOADS:
omni-7.0-20161022-mako-HOMEMADE.zip


Because of the nature of Xposed framework, NO SUPPORT will be given to those running Xposed framework on Omni 6
CHANGELOG:
Code:
[CENTER]
2016-10-22:
-Video recording fixed on stock camera (snapdragon camera still have some issues there, jerky video)
-Omni features progressively backported

2016-10-4: 
Initial Release[/CENTER]

You MUST DO A FULL WIPE, whether you are coming from homemade builds (aka my builds), or a previous version of OmniROM. Be certain to do a full backup of your data, apps, call logs, sms/text and so on before flashing.
GAPPS must be flashed BEFORE initial boot, they will NOT work properly if you flash them afterwards !!!



KNOWN BUGS:

Code:
[CENTER]- Camera recording only works with Google Camera
- Screen rotation isn't working
[/CENTER]
Omni only supports TWRP recovery, use any alternate recovery at your own risk.
RECOMMENDED TWRP

Source
OmniROM Source

Only a few changes are taken from CyanogenMod, but thanks to them for those
CyanogenMod Source

XDA:DevDB Information
OmniROM 7, ROM for the Google Nexus 4

Contributors
kldoc, MaR-V-iN, Maxwen, Entropy512, Xplodwild, Jiangyi
ROM OS Version: 7.x Nougat
Based On: AOSP

Version Information
Status: Testing

Created 2016-10-04
Last Updated 2016-10-21
 

kldoc

Senior Member
May 26, 2010
833
1,528
93
Why such a hurry !?
Before you refine the A-7 will have A-8.

Of course it was a joke, but journalists already predict the future:

Android 8 : ce que l'on attend
Mostly because I'm in vacations, and got the time this week to do the bringup for Nexus 4, then OmniROM got gerrit fixed so we could merge everything that needed to, from there, things go quite fast, team is actually quite efficient :)

I noticed a few kernel side commits i didn't merge yet, so tomorrow's build, you should expect a few things fixed, rotation should be fixed, and some omnigear stuff are coming back :)
 
Last edited:

mandgeo

Senior Member
May 16, 2012
193
30
0
Do you know if the future official omni 7 will require full wipe if coming from official omni 6???

Sent from my Nexus 4 using Tapatalk
 
  • Like
Reactions: mrk2815

kldoc

Senior Member
May 26, 2010
833
1,528
93
Do you know if the future official omni 7 will require full wipe if coming from official omni 6???

Sent from my Nexus 4 using Tapatalk
I think I stated it the header, yes, it will be needed to avoid any problem, Android 7 has a lot of changes.
 

kldoc

Senior Member
May 26, 2010
833
1,528
93
New build delayed for tomorrow, have been hard at work trying to solve the camera video recording, failed. Rotation is fixed.
Video recording seems to be a recurring issue on Android 7 for older devices, and none of the ROM I checked managed to really fix it for good. From there, I'm not actually certain it will ever get fixed, and because of this, I don't know if Nexus 4 will reach nightlies or not. I will publish builds as OmniROM features get backported, but won't go any further than this.
Given Google's pricing for Pixel, I am soon buying a Oneplus 3, and will switch to it for OmniROM support.
I'm not giving up totally on Nexus 4, but dev won't be as up to date as it was when I did Marshmallow or Lollipop.
 
Last edited:

kldoc

Senior Member
May 26, 2010
833
1,528
93
Hi all! I have been wondering if Snapdragon camera is included, cuz that's the only thing stopping me from switching to Omni 7 or CM 14? :)
Yes, Snapdragon Camera is included, it's actually replacing the stock AOSP camera, only video recording is broken on Nexus 4 atm, that's what I was mentioning earlier, no one has this properly working 100%, camera itself is able to take pictures, no issues there, but just video recording isn't possible atm.
 
  • Like
Reactions: Chefov01

mrk2815

Elite Member
May 16, 2012
1,310
306
83
burbank
I remember stepen wolf with cm 14 unofficial figuring on how ot fix it. but I am not sure if he has done so as of yet or not. but he di state it was on hhis list of things to do to fix the rom. so whwho knows between you and stepean with cm14 you guys can figure it eventually.

---------- Post added at 01:35 PM ---------- Previous post was at 01:18 PM ----------

just read his post he still has the same issue with camera video recording having issues it will record in 720 p ok but with 1080p has issues. so he will be working on it. so hopefully between kldoc and stepan the issue will get resolved.thats the only issue with nexus 4 having had the AOSP 7 rom on my nexus 4 over 2 months now. kldoc I am also agreeing with you google made a big disservice to the developer by raising the price of the pixel for the development community. as soon as I have some fund I will be joining in support and getting a 1 plus 3 as well. the only thing will be to get older nexus device and keep them up to date and then going forward go with other vendor to prove to google that they are not the only premium product with a outrageous price that the development community cant afford and then will end up jumping ot other product lines to support going forward in the future . that's one thing that google has now gotten out of touch with its community. they are forgetting that the development community got them to the big Android dance. The developers developers . I respect what all you guys and gals do here on XDA for all of us!!!!
 
  • Like
Reactions: kldoc

kldoc

Senior Member
May 26, 2010
833
1,528
93
I remember stepen wolf with cm 14 unofficial figuring on how ot fix it. but I am not sure if he has done so as of yet or not. but he di state it was on hhis list of things to do to fix the rom. so whwho knows between you and stepean with cm14 you guys can figure it eventually.

---------- Post added at 01:35 PM ---------- Previous post was at 01:18 PM ----------

just read his post he still has the same issue with camera video recording having issues it will record in 720 p ok but with 1080p has issues. so he will be working on it. so hopefully between kldoc and stepan the issue will get resolved.thats the only issue with nexus 4 having had the AOSP 7 rom on my nexus 4 over 2 months now. kldoc I am also agreeing with you google made a big disservice to the developer by raising the price of the pixel for the development community. as soon as I have some fund I will be joining in support and getting a 1 plus 3 as well. the only thing will be to get older nexus device and keep them up to date and then going forward go with other vendor to prove to google that they are not the only premium product with a outrageous price that the development community cant afford and then will end up jumping ot other product lines to support going forward in the future . that's one thing that google has now gotten out of touch with its community. they are forgetting that the development community got them to the big Android dance. The developers developers . I respect what all you guys and gals do here on XDA for all of us!!!!
Feedback i have, is most devices actually have camera issues on Android 7, things will eventually smooth out and get polished :)
I still have a build to publish today, been working on that camera issue, but also working on cleaning up stuff to get that on OmniROM's gerrit and github.

I checked his work, but he's more or less at the same point everyone else is, sill no real solution atm.

Oh and by the way, my builds are also Selinux enforced ;)
 
Last edited:

kldoc

Senior Member
May 26, 2010
833
1,528
93
Uploading the new build as we speak, Battery light are back, Custom notification lights are also back (didn't in Omni 6).
Rotation is fixed, battery display is back, and a lot of Omni features are back, doze mode isn't there yet, but should be soon.
EDIT: Link in the OP updated, enjoy :)
Have fun with OmniROM !

P.S.: I merged my commits on Omni repos for kernel and device trees
 
Last edited:

kanishkad

Senior Member
Dec 1, 2013
206
98
0
Colombo
Awesome ROM, keep up the good work. :)

However, there are some issues I noticed;

1. Can't seem to change the SELinux mode to Permissive with SELinux mode changer.
2. Permission requests appear as in the screenshot with no way to take an action (can grant from settings though).

Btw, is SuperSU integrated into the ROM?
 

Attachments

kldoc

Senior Member
May 26, 2010
833
1,528
93
Awesome ROM, keep up the good work. :)

However, there are some issues I noticed;

1. Can't seem to change the SELinux mode to Permissive with SELinux mode changer.
2. Permission requests appear as in the screenshot with no way to take an action (can grant from settings though).

Btw, is SuperSU integrated into the ROM?
No you will not be able to change SELinux to Permissive rom within the system, if you want to run OmniROM permissive, you need to build it by yourself, OmniROM (not only me) is really strict about this. The initial build was permissive, but it was a proof of concept. Android N changes a lot of things, there might be bugs here and there, but SElinux is relatively working well now.
Permission granting, i will have to check things on that, but ROM is barely coming together, 80% of our maintained devices are barely uploading a semi working build, will ask your for a bit of patience ;)
Supersu never was a part of OmniROM, and probably won't be anytime soon (if ever).

A screenshot without a logcat is more or less useless ...
 
  • Like
Reactions: mesaj and kanishkad

kanishkad

Senior Member
Dec 1, 2013
206
98
0
Colombo
No you will not be able to change SELinux to Permissive rom within the system, if you want to run OmniROM permissive, you need to build it by yourself, OmniROM (not only me) is really strict about this. The initial build was permissive, but it was a proof of concept. Android N changes a lot of things, there might be bugs here and there, but SElinux is relatively working well now.
Permission granting, i will have to check things on that, but ROM is barely coming together, 80% of our maintained devices are barely uploading a semi working build, will ask your for a bit of patience ;)
Supersu never was a part of OmniROM, and probably won't be anytime soon (if ever).

A screenshot without a logcat is more or less useless ...
Just to clarify if my post seemed like a complaint, this is awesome work and really glad that devs like you are keeping a 4 year old device alive :) Just wanted to point out the issues I faced in order to help you make it better..

I was able to set it to permissive by the command "setenforce 0". Need it to get Viper4Android working :D

I will post a logcat if I encounter any issues. Keep up the good work :good:
 

kldoc

Senior Member
May 26, 2010
833
1,528
93
Just to clarify if my post seemed like a complaint, this is awesome work and really glad that devs like you are keeping a 4 year old device alive :) Just wanted to point out the issues I faced in order to help you make it better..

I was able to set it to permissive by the command "setenforce 0". Need it to get Viper4Android working :D

I will post a logcat if I encounter any issues. Keep up the good work :good:
Oh, I wasn't aware Viper4Android was still being maintained, external modifications aren't something we bring support to, mostly because it changes initial behavior and it's hard to predict what changes towards drivers support throughout system updates.

Someone in Omni pointed me at a modified video recording handling ( coming from slimrom actually), will give it a shot tomorrow.

I'm also planning to enable LTE support for those who need it in the future, even though I won't be able to test it (China's network don't handle those frequencies)
 
Last edited:
  • Like
Reactions: mesaj and kanishkad

DontPushButtons

Elite Member
Apr 22, 2012
1,501
935
0
Pittsburg
Oh, I wasn't aware Viper4Android was still being maintained, external modifications aren't something we bring support to, mostly because it changes initial behavior and it's hard to predict what changes towards drivers support throughout system updates.

Someone in Omni pointed me at a modified video recording handling ( coming from slimrom actually), will give it a shot tomorrow.

I'm also planning to enable LTE support for those who need it in the future, even though I won't be able to test it (China's network don't handle those frequencies)
Your existing build actually already picked up LTE for me, with no modifications needed. Working just fine on my end :)

Sent from my Nexus 4 using Tapatalk