yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] herna:
What is OmniROM?

OmniROM Gerrit Review

OmniROM JIRA Bug Tracker

Disclaimer

#include <std_disclaimer.h>
/*
* 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:

https://dl.omnirom.org/hammerhead/

KNOWN BUGS:

[CENTER]
* You tell me[/CENTER]

Gapps:

OpenGapps 6.0

Omni only supports TWRP recovery, use any alternate recovery at your own risk.​

XDA:DevDB Information

OmniRom 6.0, ROM for the Google Nexus 5

Contributors

herna

Source Code: https://github.com/Herna1994/android_kernel_lge_hammerhead

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.4.x

ROM Firmware Required: TWRP

Version Information

Status: Nightly

Created 2015-12-05

Last Updated 2016-01-10
[Nexus 5 Original Android Development] herna:
Omni does NOT provide root by default. You MUST flash SuperSU in recovery for any type of root

Omni is not compatible with MultiRom, so whenever you try flashing this ROM as primary or secondary and it´s not working for you is your fault. No reports are welcome or will be answered related to this.

Omni does not take responsability on fails regarding XPOSED, your mod, your troubles. No reports are welcome or will be answered related to this.

NO QUESTIONS REGARDING FEATURES INCLUDED IN THIS ROM. IF YOU WANT TO KNOW WHAT THIS INCLUDES, FLASH AND TEST BY YOURSELF. ALL QUESTIONS REGARDING THIS WILL BE IGNORED. ENJOY!

NO EXTERNAL BUILDS ALLOWED! IF SOMEONE SHARES ANY BUILD I WILL CLOSE THE THREAD UNTIL THAT USER DELETES THE POST.
[Nexus 5 Original Android Development] dlsygaco:
Even as primary, it wont work with multirom. So sad :( gotta flash back twrp
[Nexus 5 Original Android Development] Omar97:
can i install the rom with gapps 5.1 ?
[Nexus 5 Original Android Development] phaino00:
No, you need 6.0 gapps.
[Nexus 5 Original Android Development] intense_potato:
Woohoo thanks! :)
[Nexus 5 Original Android Development] dago:
Hello

No sound when phone call for me, impossible to hear the conversation

Just me?
[Nexus 5 Original Android Development] saxmydix:
Yup, i can confirm this.
[Nexus 5 Original Android Development] thomas.dub:
Hi,

I've had the same « no phone sound » problem, so, I've tried to build my own ROM from Omni source, and the new one (Android 6.0.1) is ok at this level, but because I'm not an expert in ROM build, I know there is others bugs (like in Google Keep, or in Launcher3 settings), but I'm using it now, and it's works :)

I'm using ElementalX 6.07 kernel, I think the kernel embedded in my build wont boot… (I've tried only once)

I've had problems importing proprietary blobs from your rom, so I'm using it from cm13 build, dont know if it's a good idea or not.

[edit] sorry, i forgot this rule…
[Nexus 5 Original Android Development] herna:
Hi!

Well, I did not post yet, since I´m finishing a few features for Omni and use OnePlus One as my main device.

Android 6.0.1 fixed the in-call issue, which I already merge dyesterday in github. A new build is coming today with all fixes and a few features, but need a little more time for releasing it(I already run it on my Nexus 5).

But, no ROM sharing is allowed here, so please, delete that link for sharing your own build. When I have it ready I will post it, and so users will can enjoy it. Thanks!
[Nexus 5 Original Android Development] thomas.dub:
Hi herna,

Thanks for your job, I'm sure that your rom will be clearly more stable that mine !

I deleted my link, but you've quoted my post…
[Nexus 5 Original Android Development] herna:
Hello guys!

Here there is a new release. First of all just tell that my changelogs are based on big differences between latest build and newer one. We do not provide a feature list, so if users are interested into them we suggest you to give OmniRom a try, you´ll like it! So the changelog is the next:

* Android 6.0.1_r3: Updated to latest Android release branch with its new features and 1st December patch.

* Fixed call issues: Now you can hear when making calls.

* Welcome back More: Re-added again More settings, available at Interface.

* Full screen recents: Now you can enable fullscreen recents, available at More.

* Add option to disable search bar in recents: Now you can hide the search bar in recents, available at More.

* DayNight improve storage summary: Now storage section is fully finished for Dark Mode.

* Header image packs: Now you can choose what images you want for the statusbar header image feature at bars. All information in maxwen github.

Download link at OP, enjoy!

EDIT: Wanna apologize that this build has some work in progress I´ve being working on and released for bacon, and forgot to delete for this build. All of it works but is not merged yet in Omni. They will be deleted in next build if don´t get merged before new release. Those changes are:

* Double tap to sleep: Now you can send your phone to sleep by double taping on status bar. Option at Bars.

* Enable voice lockscreen shortcut: Now you can select if you want the Google voice shortcut at lockscreen or the dialer one. Option at Lockscreen, in the Interface section.

* Launcher 3 welcomes dark mode: Now Launcher will change it´s look to dark mode if it´s enabled.
[Nexus 5 Original Android Development] Alex Kane:
Truly nice work herna, and thank you for the prompt build.

Quick question: Do the current (6.x) builds, support system-less root?
[Nexus 5 Original Android Development] feed3:
Is it just me or download link for build 11/12 is not there yet? Eagerly waiting for it.
[Nexus 5 Original Android Development] herna:
Thanks for noticing me.

I don´t know what I did that uploaded changelog and forgot to put the download link. I wanna apologize.

Enjoy the build!
[Nexus 5 Original Android Development] mad_fitter:
I just flashed and can't root either way. I think we need to flash a custom kernel first. I'll report back.

Edit: SuperSU V2.62 systemless got the job done :)
[Nexus 5 Original Android Development] amnher:
Seems theres no icon for this View attachment 3574662
[Nexus 5 Original Android Development] amnher:
I would also like to report that i have no signal when using 2G and roaming icon doesn't appear as 'R'

Also theres no simtoolkit
[Nexus 5 Original Android Development] GuestK00403:
-disregard-
[Nexus 5 Original Android Development] feed3:
Anyone having an issue with time? I got wrong time on boot in this rom.

On every reboot, whatsapp will complain about wrong date and time before my nexus connected to network and time will be corrected as i set auto date & time in settings. Twrp also reporting the wrong time.

Clean flashed, flash without root, all giving the same issue. I think i saw somewhere in OPO section of this similar issue which related to some flags for the kernel during compiling. Sorry if the issue is already known.
[Nexus 5 Original Android Development] amnher:
Regards Sir [MENTION=2225255]herna[/MENTION] android N is coming soon. Excited about the things to come ?
[Nexus 5 Original Android Development] lomistars:
[MENTION=2225255]herna[/MENTION] this wouldn't be possible without your work and whole omni team.

Welcome back :)
[Nexus 5 Original Android Development] SH1M4BD3:
Any update ui for that omni switch, i don't know seems it doesn't looks right on material design

And the Camera took to much time (SLOW) when taking & saving the pictures
[Nexus 5 Original Android Development] lomistars:
The camera is fine here, I took like 10 pictures without any problem. I'm aware of some of the advanced features not working however.

As for OmniSwitch I'm not a material design expert to tell if it's up to date with the guidelines or not. But it works and it looks good to me. If you think you have better ideas on that matter, why not suggest your changes in gerrit code review

Quick update:

* Starting from next nightly we will have steady battery charging led (thanks to CM liblight, it has better implementation).
[Nexus 5 Original Android Development] lomistars:
Only system-less SuperSU is supported in omni. Find latest version HERE
[Nexus 5 Original Android Development] gusnz:
Thanks [MENTION=7185350]laserswift[/MENTION] for trying out that root! It seems strange that Omni is so wholeheartedly open source in all aspects except root (and drivers, obviously). There is a discussion on Reddit about open source root options in which one user has luck with Omni (version unspecified) and a nexus no verify boot image from phhusson.
[Nexus 5 Original Android Development] lomistars:
Blobs are proprietary vendor stuff and can't be provided by Omni. they are hosted on different repo, it's DonkeyCoyote on github you can find all blobs for official devices.

As for open source root, I'm not aware of any working root for Android 6.0 M except SuperSU and it's developped by one of omni's core team. it's tested and working good thats why we recommend it.
[Nexus 5 Original Android Development] K9998:
WIFI is not working in this rom

clean flash this rom + latest open gapps, no other addon or supersu. In first setup wizard, loop at "Searching for Wifi networks"

The hardware is completely fine since Wifi in DU is OK

Any suggestion?
[Nexus 5 Original Android Development] morfances:
From what I understand due to the July security patches. I found this fix to flash and I solved.

http://xdaforums.com/attachment.php?attachmentid=3807757&d=1468060117
[Nexus 5 Original Android Development] feNNec2008:
I confirm: wifi keeps searching since update (30th June rev was OK)
[Nexus 5 Original Android Development] lomistars:
Thanks for reporting! a fix is on its way.
[Nexus 5 Original Android Development] RyonanGT:
I flash franco r85 kernel as a workaround for the wifi issue.
[Nexus 5 Original Android Development] CodemasterRob:
Anybody had any luck getting "Okay Google from any screen" working with the Google Experience Launcher? I'm not sure if it's something with the ROM, a missing Google service, or if something with GEL needs to be changed internally to get it working, but the option doesn't even show up since I've switched to this from CM13. I'm a delivery driver and I regularly used that prior to switching, and I've been using an Xposed work around for the time being but it's dodgy. Any help on getting native support would be great, it's the only problem I'm having.
[Nexus 5 Original Android Development] lomistars:
July security changes merged:

* wifi issue fixed with new wifi firmwares

* in-call volume fixed, thanks to [MENTION=4684315]flar2[/MENTION]

Please wait for omni-6.0.1-20160715-hammerhead-NIGHTLY.zip that will include all these fixes.

Also, don't forget to flash latest radio baseband M8974A-2.0.50.2.29 + bootloader HHZ20g from july factory image.

[MENTION=5168875]CodemasterRob[/MENTION], will have a look at this over this weekend to check if we have changes to do on ROM-side.
[Nexus 5 Original Android Development] CodemasterRob:
Thanks. In the meantime I'm going to try and flash another gapps to see if that fixes it.
[Nexus 5 Original Android Development] barturblits:
Running latest Omnirom (31/07) with the precompiled angler stock image with noverity option (boot-angler-MTC19X-su-noverity-r221.img) + superuser on Nexus 6p and works great. Tried to manually inject su into the kernel from my linux desktop with the master git version but that gave a bootloop. Haven't tried the superuser-r197.zip yet.

Could not find the difference in kernel between stock and omnirom but they have different hashes so it seems they are not identical. Anybody some insight on the 'omnirom' kernel?
[Nexus 5 Original Android Development] lomistars:
I have no idea what you are trying to do. But if you want root, flash the latest supersu zip from HERE. It's tested and works fine. As for omnirom hammerhead kernel, it's nearly identical as upstream AOSP hammerhead kernel with tiny changes.
[Nexus 5 Original Android Development] barturblits:
.

Thanks, good to know they are almost identical. I prefer to use the open source systemless root from superuser. Closed source SuperSU is last resort. Patched upstream kernel in combination with superuser works without problems so far. Just could not patch the omnirom kernel itself.

Btw I think my post was a response to another omnirom/superuser tester.
[Nexus 5 Original Android Development] lomistars:
Can you describe your patching process of the omnirom kernel ? I'm also interested in this.

Btw, my response to your post was in hope to help you in your process of getting it to work. Please ignore it if you think it didn't fulfill : )
[Nexus 5 Original Android Development] barturblits:
No problem ;).

I am still reading the code on what it exactly does, looks similar to SuperSU. Extracting ramdisk, injecting su and selinux policy and repack.

There are three ways to get a patched image.

1. Precompiled

2. Patching in twrp with zip

3. Patching on desktop with some scripts

Also there are some levels of security. user, eng, noverity, nocrypt (in order of security magnitude). It seems the precompiled kernels are cumulative, i.e. nocrypt = nocrypt + noverity + eng. In my case noverity works, eng and user do not work. I use encryption so I did not try nocrypt. Still have to find out if user + noverity (no eng) is possible.

Author explains 'user' is still under heavy development so expect bugs.

More info:

http://xdaforums.com/android/software-hacking/wip-selinux-capable-superuser-t3216394
[Nexus 5 Original Android Development] khanhlinh:
Why OmniRom still in nightly builds?
[Nexus 5 Original Android Development] cheeze.keyk:
what it should be? :confused:
[Nexus 5 Original Android Development] khanhlinh:
Snapshot, or Stable
[Nexus 5 Original Android Development] pianistaPL:
It is already stable.

Wysłane z mojego Nexus 5 przy użyciu Tapatalka
[Nexus 5 Original Android Development] lomistars:
I think the ideal method would be "2. Patching in twrp with zip" for us.

I would give it a try sooner. I will make necessary changes if needed to get it working.

You guys are also welcome to submit your patches at omni gerrit
[Nexus 5 Original Android Development] barturblits:
Method 2 also has my preference (works nice with a couple of custom kernels). I am stuck at collecting logs at boot time. I get a bootloop before dm-crypt is started (no password is asked). Did some searching and it seems you can only look at kernel boot time logs with a low level serial connection, have to read more on that. Might there be another way? Adb won't work, I get stuck too early in the boot process.
[Nexus 5 Original Android Development] vijaysivakula:
Latest Baseband and bootloader

HI. Any location where we can get a flashable zip of the latest radio baseband M8974A-2.0.50.2.29 + bootloader HHZ20g?
[Nexus 5 Original Android Development] phhusson:
To look at logs a method is to build an eng boot.img, then patch it with my superuser.zip, so that adb logcat is available.

Here are some logs a user gave me, if anyone can make any sense of it (this wasn't on hammerhead but on ether):

http://pastebin.com/rQgA74SK

http://pastebin.com/62ptAg5Y

Usually when I have compatibility problems, it is because of SELinux, but this time I'm not seeing anything denied at all (this was done with a boot.img with NO dontaudit in sepolicy to have as much logs as possible)

ART seems to launch, system_server as well,

Has someone tested nocrypt variant (just in case...)?

Is there a "su" by default? Perhaps the system requires a working "su" to work?

My SU will work only once the app is installed, and might have the behaviour Omni wants)
[Nexus 5 Original Android Development] lomistars:
I recommend extracting them from latest hammerhead's factory image, you can google the following you will find it "Nexus 5 factory image"

Indeed, by doing an eng build we can get adb and some debugging tools enabled by default.

Actually a good start on this IMHO would be trying the method 2 on an unecrypted eng Omni build.

FYI by default Omni doesn't force crypto and doesn't require su. We ship unrooted builds. It's up to the users to root if they are really qualified to get such rights on their phones.

Sadly I won't be able to touch anything untill next week (or maybe longer) because I'm busy with my final uni stuff.

Also, contributions are welcome on Omni ; )

Thanks
[Nexus 5 Original Android Development] Jaizu:
Just helped to end the translation to spanish in Crowdin, best of lucks!
[Nexus 5 Original Android Development] RyonanGT:
Guys, anyone know what happened to OmniROM?

The last nightly is on 30th Aug 2016.
[Nexus 5 Original Android Development] amnher:
Go to Omnirom Gerrit

The whole team is fully focused on N and according to one of the developers (Gandalf), we will see Omni Alphas soon. Maybe M will never have September security update for Omni(Not sure). All of their supported devices stopped on 8302016 build.
[Nexus 5 Original Android Development] RyonanGT:
Hi amnher,

Thank you very much for the info.

This is an even better news to me. [emoji16]
[Nexus 5 Original Android Development] Alex Kane:
I came across this build in the official repository.

omni-6.0.1-20161123-hammerhead-SECURITY_RELEASE

There doesn't seem to be any changelog though. Are there any additional improvements / changes compared to the previous builds?

Thanks.
[Nexus 5 Original Android Development] swat4samp:
I guess, as the name suggests, just a security release.
[Nexus 5 Original Android Development] swat4samp:
I installed latest build and it's working good. Didn't face any bugs so far. Thanks for updating this ROM, omni team :)
[Nexus 5 Original Android Development] pianistaPL:
Can't wait to see Omni Nougat, Marshmallow version was really good, fast and stable.

Wysłane z mojego Nexus 5 CAF przy użyciu Tapatalka
[Nexus 5 Original Android Development] ndarkside93:
Off topic, but euclidean ROM for Nexus 5 is built off modified omni code and is based on 7.1
[Nexus 5 Original Android Development] beekay201:
Thanks Omni team, updated without hassle and build is running as good as before.

Thanks for showing concern for your users, and releasing a security update. :)

a hammerhead wrote this.
[Nexus 5 Original Android Development] h3nk3t:
I also wanna thank you for the security update. Lovely developers that have not forgot about the users :) SWEEEEET
[Nexus 5 Original Android Development] afigienas:
REALLY???? Take your ****ty rom. we not interested in hitler's rom.
[Nexus 5 Original Android Development] h3nk3t:
Hitler w8????? Why so boring? Go to Reddit and throw **** at people!
[Nexus 5 Original Android Development] santi1993:
Hail OmniRecents

crCM14.1 + PIE 3.0 + OmniRecents
[Nexus 5 Original Android Development] dluigirafael:
It's working with multirom on my nexus 5 :o :) :p
[Nexus 5 Original Android Development] beekay201:
Hey, any news on 7.x builds? Thanks in advance

a hammerhead wrote this.
[Nexus 5 Original Android Development] ThatScientist:
Has Omnirom development for hammerhead stopped?
[Nexus 5 Original Android Development] PrivacyFirst:
How to turn off all cell and background data?

Device: Nexus 5

Build: omni_hammerhead-userdebug 6.0.1 MTC20F 190 test-keys

I'm using this build because, as far as I can tell it is the last one that works with XPrivacy.

The phone is rooted. There is not currently a sim card in the phone (until I can disable all cell data).

How does one disable all cellular data usage?

How does one disable all background data usage?

All of the instructions I find when searching point to "Settings | Data Usage." When I look there, the only option I see is for metering wi-fi networks.

My goal is a phone where I can use XPrivacy, and disable cell data and background data. The only thing I want the phone to do is be a phone, and a browser on wifi. If there is another, better build for this, I'm not tied to omni in particular. I'd grab the old cyanogen image if I could. I can't find a copy anywhere.

Thanks in advance.
[Nexus 5 Original Android Development] beekay201:
Certainly seems like it. Device does not figure on https://www.omnirom.org/devices
[Nexus 5 Original Android Development] Alex Kane:
I can confirm, although in my case it seems fairly sporadic. I don't have any apps that complain about wrong time though.

Also, TWRP is known to consistently report the wrong time even with Google's stock image, so it's not an issue specific to OMNI.
[Nexus 5 Original Android Development] herna:
Second time I say, not external builds allowed, please.

I always compile once a week, or when there are big changes, like there were yesterday. This is my thread and I release my own version when I can and in the last case when I want. Please delete this download link.

You can compile it by yourself as sources are free. You can compile in case you want features or additions faster, but do for your own and privately and never share in anyone thread, this is unrespectful.

In case you wanna share something in another people thread, first ask via PM, because normally in case they can´t they would give you green light for it, so it saves them time, always you have them approach.

In my case, I do not want external builds, just that is a remind to every user.
[Nexus 5 Original Android Development] karandpr:
As outlined by the OP, avoid posting home or personal builds in this thread.

Thread will be reopened at OP's discretion.

-XDA Staff
[Nexus 5 Original Android Development] wozn:
Thanks for both hammerhead and bacon! Awesome!
[Nexus 5 Original Android Development] andrea68:
Is this thread dead?
[Nexus 5 Original Android Development] Mr.FREE_Bird:
No...
[Nexus 5 Original Android Development] I.P:
Hi,

I flashed this rom a couple of hours ago as it worked like a charm on my mako thanks to [MENTION=2604804]kldoc[/MENTION] hard work.

So far so good, everything works as expected on my N5, however am I missing something or is System UI Tuner not included in this build ? I tried holding the gear icon as in stock marshmallow but nothing happens.

Thanks.
[Nexus 5 Original Android Development] Alex Kane:
System UI Tuner is included in developer options. It is 1st in the list.
[Nexus 5 Original Android Development] I.P:
Oh god... I'm gonna buy some new glasses.

Thanks!
[Nexus 5 Original Android Development] andrea68:
Happy new year man, any news about omnirom? Don't ask for ETA. Have a nice day.
[Nexus 5 Original Android Development] giovanniro98:
android-6.0.1_r10 avaible and merged [MENTION=2225255]herna[/MENTION] . Any news? Don't ask for ETA and happy new year.
[Nexus 5 Original Android Development] herna:
Sorry for being offline all this time. Christmas time and I wanted to disconnect a few more days to relax.

I decided to wait till now since first nightlies are out and available to download, which means now ROM will be updated via OTA updater.

If anyone is coming from my personal builds, please you need a clean install.

And if you are coming from another ROM, clean install too.

As always, download at OP. Wish you to enjoy them!

PD: Need to fix a little little issues, that will be solved before Thursday, promised.
[Nexus 5 Original Android Development] Alex Kane:
No worries. OMNI seems to be in top shape as always:good:
[Nexus 5 Original Android Development] Teoandro:
Deleted
[Nexus 5 Original Android Development] dago:
Hello

When i set up my google account, the account is not displayed in gmail app.

What gapps do you use ?

Someone has this problem ?
[Nexus 5 Original Android Development] mchosch:
no problems here by using bank's gapps
[Nexus 5 Original Android Development] dago:
Same problem with bank's gapps but no problem with cyanogen rom :/
[Nexus 5 Original Android Development] feed3:
Using opengapps (tried mini, down to pico) i can't login to G+, can't install Google Play Games from Play store. No problem in CM13. Anyone else?
[Nexus 5 Original Android Development] bercianor:
I have the same G+ issue (not the play games one, because I install the mini package and it comes with it)

If I can't hack, it doesn't interest to me | Sent from my Nexus5
[Nexus 5 Original Android Development] Alex Kane:
No issues with OpenGapps (Stock) package.