yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] :
Strange that wi-fi bug.
[Nexus 5X Original Android Development] fnldstntn:
https://dl.omnirom.org/bullhead/

Official 7.1.1 up.
[Nexus 5X Original Android Development] fedesandor:
Now I'm on PixelRom, how to install omnirom? Have to change vendor, bootloader, etc?
[Nexus 5X Original Android Development] andyrtr:
What about the promised security updates for MM? December update is still pending.
[Nexus 5X Original Android Development] :
I went from Pure Nexus 7.1.1 to this one with just a wipe
[Nexus 5X Original Android Development] jeekajoo:
[MENTION=3878813]Gandalf[/MENTION] Can we update from your 6.0.1 security release that was available through OTA?

Thank you for all the work done!
[Nexus 5X Original Android Development] No_Signal:
Thanks Gandalf for Omni on the Nexus 5X! Got myself a new one that already runs Android 7.1.1 but want to install and run omni-6.0.1-20161123-bullhead-SECURITY_RELEASE with SuperSU 2.76 (as being the last one directly by Chainfire), AFWall+, Xposed and XPrivacy.

Here is what I want to do, asking if it's correct, before I brick the device due to own lack of knowledge:

- unlock bootloader

- install twrp-3.0.2-3

- download and install the last 6.0.1 factory image

- download and install https://dl.omnirom.org/bullhead/omni-6.0.1-20161123-bullhead-SECURITY_RELEASE.zip

- flash SuperSU 2.76

the last three steps need to be done without rebooting in between from what I read. Am I correct doing it that way? Thanks for the help!
[Nexus 5X Original Android Development] Keithn:
With an unlocked bootloader you don't have much to worry about bricking since you can just use fastboot. The factory images include a recovery image so if you use the flash all script after twrp, then twrp will be gone and you'll have to flash it again. Not a big deal though.

If you want to use the flash all script rather than doing each image manually then just swap steps 2 and 3. Also do a wipe through twrp when you go to flash the rom. You may want to get a 6.0 gapps zip to flash after the rom if you want to have the play store and google services.
[Nexus 5X Original Android Development] No_Signal:
I was going to try microG, no GApps. The flash all script is part of the factory image? What exactly are its options?
[Nexus 5X Original Android Development] Keithn:
There aren't really any options, the script just does all of the fastboot commands to flash the images. Download the factory image and take a look. You can also manually type in the commands and flash whichever images you want.

This thread would probably be useful to you.
[Nexus 5X Original Android Development] mikeskid07:
[MENTION=5750431]No_Signal[/MENTION] I used the setup that you're describing for about a week. I used the processes from no.nfc and the microG Tremendothread. It worked fantastically except for a problem with that particular release of the Rom- no camera. I tried the Omni stock camera, Open Camera off F-Droid, then Google Camera from both the APKmirror and eventually the Play Store. MicroG works great on this setup, but no camera for whatever reason.

I couldn't figure it out sans-Gapps. I wound up moving to the newest official nightly(7.1.1) and tried microG again. MicroG isn't quite ready yet for 7.1.1, I tried a bunch to get it to work, but wound up flashing picoGapps from OpenGapps. I'm not ecstatic that I have to have Gapps, but I don't have programming skills so I can't help the projects, just have to wait.

I ran out of time, but if I were you and was looking to make it all work, I'd probably ask around regarding which Omni 6 version was the latest to have a working camera, and run with that and microG.
[Nexus 5X Original Android Development] No_Signal:
Omni stock cam and Open Camera are both working for me. I used the latest 6.0.1. release from the official site . Maybe you can try that one again.

To my understanding I need to install the original Google Play Store App to get my paid apps and have them updated as BlankStore only works for free apps.
[Nexus 5X Original Android Development] mikeskid07:
I might try again the week after the holidays. Thanks for letting me know.

You are correct re Playstore/ Blankstore. Playstore.apk needs to be renamed to Phonesky.apk and put in its own folder in System/priv-apps/Phonesky/. You'll probably have to make that folder. Chmod the folder to 755 and the apk to 644. Reboot and sign in @ System Settings - Accounts.

When I first set up Playstore that way I set the interval to 30s in microG settings so that Playstore wasn't lagging. After it had me logged in I set the interval to 600s and watched battery life soar.

Good luck!
[Nexus 5X Original Android Development] Gandalf:
absolutely do not ever upgrade dirty between android versions

i just triggered this week's build for angler and bullhead. happy holidays
[Nexus 5X Original Android Development] :
Microg G and Omni 7 work fine including the camera functionality. With regards to your paid google apps (I have a few) all you need to do is to install the play store as a system app and hey presto, it works and you can log into your google account. The only problem is a few apps might not be available as the signature spoofing fools the play store into thinking one has a different device. Micro G xda thread is a good one to check out.
[Nexus 5X Original Android Development] :
What's with all the updates? I thought it was a weekly release. Is there a problem with the ROM that I haven't noticed?

I notice that the latest Franco kernel breaks Wi-Fi with this build (27&28th). Just saying. It connects but says internet is unavailable
[Nexus 5X Original Android Development] Gandalf:
I don't care about custom kernels. The kernel devs need to adjust their kernel to the Roms. Not my problem :)

Omni kernel is unmodified AOSP kernel from Google, so whatever the kernel devs did, broke it, the ROM didn't break anything.

Been testing the Jenkins scripts and the OTA updater, it's all fixed now so builds will be back to weeklies every Sunday
[Nexus 5X Original Android Development] :
Fair enough. Although it did play happy as of 25th Dec build. I will continue to enjoy your ROM your way or not at all ;)
[Nexus 5X Original Android Development] Gandalf:
It would be impossible for us to tailor to each mod/kernel, so the people making mods should be tailoring to us, not the other way around
[Nexus 5X Original Android Development] :
I know. I agree. I love omnirom for what it stands for and also signature spoofing. I'm sure the custom kernel and rom will play nicely again soon.
[Nexus 5X Original Android Development] Gandalf:
OP updated for Weeklies, sorry for the delay.

get it @ https://dl.omnirom.org/bullhead/
[Nexus 5X Original Android Development] salim0786:
So i flashed it today,the latest build and i got some bugs and i have a few questions.

Question:

If i root, will i still be able to update the rom via ota

Bugs:

1. Wifi not working properly. It takes more than 10 secs to turn off wifi and then turn it back on.

2. When we change the theme to dark, a lot of items in settings don't work like battery, notifications. Technically they work but a lot of lag is there

Now there a lot of good things about this rom.. this rom is fluid and i mean it. Its snappy. Its own sound equilizer is better than any other stock one.for the first time i m not using a soundmod.

Hoping to see more great things from the rom.

Hope the bugs that I mentioned gets fixed in subsequent builds.

Thans.
[MENTION=3878813]Gandalf[/MENTION]- i clean flashed the rom. No root nothing. Do u need more information about the bugs
[Nexus 5X Original Android Development] Carach_CZ:
Any chance that Omni devs will implement Substratum compatibility? Its only thing i miss, honestly.
[Nexus 5X Original Android Development] Gandalf:
yes. but put whatever you flash to root in /sdcard/OpenDelta/FlashAfterUpdate

I have fixed this and it will be fixed in the next official build.

I have not noticed this at all.

submit it to gerrit and we will see.

Hotfix for slow wifi scanning is being built and will be pushed via OpenDelta OTA Updater
[Nexus 5X Original Android Development] salim0786:
Thanx a lot...

---------- Post added at 03:25 AM ---------- Previous post was at 03:05 AM ----------

Hi [MENTION=3878813]Gandalf[/MENTION]. Are the updates full rom updates as the last one was 1gb
[Nexus 5X Original Android Development] Gandalf:
They are delta updates so only what is changed
[Nexus 5X Original Android Development] salim0786:
The last update or the 11 jan update was of 1 gb
[Nexus 5X Original Android Development] Gandalf:
remnants of the r10 merge i missed were added in so im not surprised it was a large update. regardless, the size of the update is irrelevant
[Nexus 5X Original Android Development] salim0786:
Ok thanx [MENTION=3878813]Gandalf[/MENTION]
[Nexus 5X Original Android Development] ilmorga:
Hi, I've clean flashed last build and everything seems to work as expected. My only concern is about the volume that is very low.
[Nexus 5X Original Android Development] Jrobah:
use a kernel manager app to increase it
[Nexus 5X Original Android Development] :
Does the Wi-Fi bug still persist?
[Nexus 5X Original Android Development] ilmorga:
Fixed
[Nexus 5X Original Android Development] Gandalf:
no
[Nexus 5X Original Android Development] :
Great. I will try omni again. The custom kernel issue I had is fixed too.
[Nexus 5X Original Android Development] arkansis:
Camera issue

Hi !

I have updated my Nexus 5X on Omnirom 6.0.1 with Omnirom 7.1.1 15/01/2017 release, and I have this error message "Can't connect to the camera" when to use camera app.

How to resolve this issue ?

Thank's !
[Nexus 5X Original Android Development] ndarkside93:
Did you do a clean flash?
[Nexus 5X Original Android Development] arkansis:
On the first flashing ROM no, but I reflash my ROM with open gapps 7.1.1 x64 STOCK and I make all wipe system and cache. Finally I have the same issue with camera.
[Nexus 5X Original Android Development] ndarkside93:
They have had a camera issue. But so I can suggest is a Clean install. And yes that includes data/factory reset
[Nexus 5X Original Android Development] arkansis:
Thank's you. I retry flashing with all data, cache, dalvik and system wipe.
[Nexus 5X Original Android Development] :
Right vendor?
[Nexus 5X Original Android Development] arkansis:
So, I reflash Omnirom 7.1.1 15/01/2017 without any gapps for testing, I wipe data with factory reset and finally I have the same issue !

Google Camera on this release has a problem.. I'm go back to the last Omnirom 6.0.1 and I'm waiting many days for a better Omnirom 7.1.1 release.
[Nexus 5X Original Android Development] zurik:
You have flashed the latest vendor?
[Nexus 5X Original Android Development] Gandalf:
Google Camera does not have any problems. It works perfectly fine.

1) Make sure you have the latest vendor image flashed

2) You MUST do a full wipe coming between 6.0.1 -> 7.1.1

3) You MUST flash ROM AND GAPPS BEFORE FIRST BOOT
[Nexus 5X Original Android Development] razrlover:
Hey bro, I've tried to access site a few times today, is the server down?

Thanks
[Nexus 5X Original Android Development] Gandalf:
works fine for me. must be a data center down in your path to the physical server
[Nexus 5X Original Android Development] razrlover:
Cool, just checked again through WiFi, and it connected. My bad, very weird that afh would connect but other servers wouldn't. All good, thanks as always
[Nexus 5X Original Android Development] Gandalf:
no problem

edit: i've been playing with microG, pretty sweet stuff if you're not currently, or trying to become less, dependent on el Goog
[Nexus 5X Original Android Development] razrlover:
Time to Google it, oh the irony..
[Nexus 5X Original Android Development] Gandalf:
https://microg.org
[Nexus 5X Original Android Development] razrlover:
Agreed, mind wandering for sure.

Just saw Max's screenshot of dual columns on google+, been dreaming of it's return. Awesome!!
[Nexus 5X Original Android Development] arkansis:
What is the latest vendor ?
[Nexus 5X Original Android Development] Plonkyplonk:
N4F26I, Jan 2017. But IIRC, OmniROM should complain on boot if your phone is lacking the correct vendor image version.

https://developers.google.com/android/images#bullhead
[Nexus 5X Original Android Development] arkansis:
Ok, first I must return with last official Google ROM before flashing Omnirom 7.1.1 and the ID vendor between Google ROM and Omnirom 7.1.1 must have the same ID.
[Nexus 5X Original Android Development] Carach_CZ:
Still no theme engine? Sorry, I dont know how to commit on that on Gerrit... Im no dev.
[Nexus 5X Original Android Development] ndarkside93:
You don't have to flash the full image. The vendor file is readily available. Check the lineage thread and the op has a link to it.
[Nexus 5X Original Android Development] arkansis:
Thanks, it's good for me now.
[Nexus 5X Original Android Development] :
You can also grab vendor.img off of Android file host. A simple Google search will pull it up then just type Bullhead in search bar on afh and all files will appear. :)

Outstanding job on these builds!!!! :)
[Nexus 5X Original Android Development] arkansis:
Omnirom 7.1.1 works fine. It's the first time for me vendor file is necessary to flash.

Thanks everyone :)
[Nexus 5X Original Android Development] fnldstntn:
How does opendelta work? i am now on 0111 for 0115 the updater shows me 459mb file. Wasn't that supposed to be a smaller file?
[Nexus 5X Original Android Development] Gandalf:
https://github.com/omnirom/android_packages_apps_opendelta
[Nexus 5X Original Android Development] zurik:
When I listen music in my device using this ROM , it goes low and like souround ... When I enter into equializer, the sound goes normal. When I change the track, again. All other things works great.
[Nexus 5X Original Android Development] zurik:
The speaker still have low volume
[Nexus 5X Original Android Development] EucalyptusX:
Hi Gandalf,

I'm on the latest omni rom (7.1.1) and I have the "issue" that my phone wakes up when shaking. I started some research and found new settings in the google stock rom (see the attachments), but I couldn't find them in omni rom. Do you know if the setting is under development?

It really drains my battery - so I'm looking forward to this :)

Thank you very much in advance!!
[Nexus 5X Original Android Development] zurik:
Go to Display and disable the ambient display
[Nexus 5X Original Android Development] EucalyptusX:
I already turned that off. That's just for waking up the device when receiving notifications. The new setting in 7.1.1 stock is, that it will wake up when you lift the device. Somehow it's activated in omni, but can't disable it. Thank you very much for reply!!
[Nexus 5X Original Android Development] AntonPanos:
Search in settings (upright corner) for "gestures"..
[Nexus 5X Original Android Development] EucalyptusX:
Lol, found it now :D Why didn't I see that anywhere? :o Thank you so much!
[Nexus 5X Original Android Development] Regina Rainbow:
hostname reset after reboot

I'm on 7.1.1-20170122-bullhead-WEEKLY

1. Go to App Drawer -> Settings -> OmniGears -> More

2. Change devices hostname from 'foo' to 'foobar'

3. Reboot the phone

4. Go to App Drawer -> Settings -> OmniGears -> More

Expected behavior: hostname is still 'foobar'

Observed behavior: hostname is 'foo' again

Can anyone reproduce this?
[Nexus 5X Original Android Development] Gandalf:
can you post a log? I haven't actually messed with this setting yet so I'm interested tosee why its not sticking
[Nexus 5X Original Android Development] mikeskid07:
I am not entirely technical enough to know why we'd need the ability to change the device hostname, but I've done it to see. Now 'iansmotherf***ingnexus', this hostname has survived 7 reboots.

[MENTION=3878813]Gandalf[/MENTION]- were you able to achieve full phone functionality with microG? Did you use any of the tricky bits, like play store, maps, or hangouts? Are you still using it or have you moved back to gapps?

Additionally would there be any harm in me stripping all the projectFi parts since I don't use it, or do they do more than I know? Thanks man, keep up the great work!
[Nexus 5X Original Android Development] Gandalf:
The only project fi specific bit is the app itself, which is disabled unless you have a project fi sim in the device, so you can remove it if you want but its not active otherwise.

Regarding my no-gapps experiment, I have gone back to gapps for now solely for the fact that I use hangouts quite often and there is NO way to use hangouts that I can find due to the hangouts API. Everything else worked great, I even had Ingress running perfectly as the only app using my Google account.

Changing the hostname will do things like make the device more easily identifiable say, on your router "Connected Hosts", eg. Set hostname to " Nexus 6" and you'll see that rather than "android-5882629459"
[Nexus 5X Original Android Development] Regina Rainbow:
Thanks for testing this. I'm running a network with many devices, a lot of them are android based. So it's just as Gandalf wrote in Post 527: Makes your life a little easier managing a network.

[MENTION=3878813]Gandalf[/MENTION]: I sent you logs via PM, but since [MENTION=7220701]mikeskid07[/MENTION] was able to change the hostname successfully, it might be a quirk affecting just my setup/phone. Maybe I'll try a reflash ...
[Nexus 5X Original Android Development] Gandalf:
I haven't looked at the logs just yet but i did some field testing: set hostname and rebooted, change was persistent. also tried with completely powering down as well. it must be something derped in your build. Try reflashing (literally just flash the weekly zip again in TWRP with nothing else -- backuptool will preserve gapps and such) the latest weekly (there's one building tonight in a few hours, 00:00 UTC+6) and see if that fixes it. If not then a full wipe should do it.
[Nexus 5X Original Android Development] jeffsf:
Current weeklies have been running very smoothly here. Definitely a solid daily driver that I rely on and trust both in the UK (3) and the US (T-Mobile).

PicoTTS is completely unintelligible for me, but Google Maps has its own voice synthesis, so I'm OK with that. The low volume for alarms is very bothersome, but at least I've had some calm wake-ups as a result, to turn it into a positive.

I'm not a huge fan of Google's invasive software, so have been running a very pared-down version of OpenGApps Pico. I use Maps constantly, and freeze/unfreeze the Play Store with Titanium Backup as needed. I don't use Google backup, contacts, or calendar (I run CalendarServer and use CalDAV and CardDAV), and Nine allows me access to my corporate Office365 mail and calendar without needing Google's implementation of Exchange services. So far, no hiccups with Maps or any apps with Play Store disabled.

YMMV with my list of deletions, and may change at the whim of Google.

I first back up the as-built ROM apps ExtShared and ExtServices, flash OpenGapps Pico, delete a bunch, and restore those two apps.

For a clean flash, I let OmniROM with SuperSU come up first before installing GApps, so its initializers can run, as I delete many of the Google initializers before booting with GApps installed.

My gapps-config.txt is simply

gapps-config.txt
PicoGApps

Include

Here's the removal script I run on the device

#!/bin/sh

###
### Remove "extra" gapps, from "pico" OpenGapps install
###

system_app_removals="
GoogleContactsSyncAdapter
GoogleExtShared
"

system_priv_app_removals="
ConfigUpdater
GmsCoreSetupPrebuilt
GoogleBackupTransport
GoogleExtServices
GoogleFeedback
GoogleOneTimeInitializer
GooglePartnerSetup
SetupWizard
"

echo "Removing:"

for item in ${system_app_removals}
do
fp="/system/app/${item}"
echo " ${fp}"
ls ${fp} > /dev/null # Only care if it is *not* there
rm -rf ${fp}
done

for item in ${system_priv_app_removals}
do
fp="/system/priv-app/${item}"
echo " ${fp}"
ls ${fp} > /dev/null # Only care if it is *not* there
rm -rf ${fp}
done
echo "Done"

Here's a snippet from the flashing script I use

adb shell twrp mount system

ro_omni_version=$( adb shell sed -n -e 's/^ro\.omni\.version=//p' /system/build.prop | tr -cd '[a-zA-Z0-9._\-]' )

adb shell tar cvf \
/sdcard/+install/tars/Ext.${ro_omni_version}.tar \
/system/app/ExtShared /system/priv-app/ExtServices

adb shell twrp install /sdcard/+install/gapps/$( basename ${opengapps_zip} )

adb shell sh /sdcard/+install/gapps/remove-gapps.sh

adb shell tar xvf /sdcard/+install/tars/Ext.${ro_omni_version}.tar

If you don't edit /system/addons.d/70-gapps.sh you may find that one of the "original" ROM apps gets deleted on upgrade, due to the whole "preserve across flash" behavior of that script.
[Nexus 5X Original Android Development] Gandalf:
Yea I need to crank the volume up a bit
[Nexus 5X Original Android Development] Carach_CZ:
Is Substratum supported? Ty.
[Nexus 5X Original Android Development] Gandalf:
No, because we do not ship any root method by default.
[Nexus 5X Original Android Development] zurik:
The sound is still at low volume like older builds? or it's fixed?
[Nexus 5X Original Android Development] lecteur:
I just installed the last nightly and it's smooth as butter thank you.

I don't know if it's a bug but the location icon is always active !
[Nexus 5X Original Android Development] Gandalf:
Something is using your location
[Nexus 5X Original Android Development] lecteur:
merci gandalf
[Nexus 5X Original Android Development] jeffsf:
I've been watching this on the 20170122 WEEKLY and I am finding the media and alarm volumes "mysteriously" lowered from time to time. As far as I know, I've not intentionally lowered the alarm volume!

I'm going to start documenting and watching this more carefully to see if I can figure out what is going on.

If anyone else has some insight into this unexpected behavior, it would be greatly appreciated.

Edit 2017-02-10:

This morning the OmniClock alarm volume was at around 60% while the alarm was ringing, but then when dismissed, then was at 100%

Very puzzling. The OmniClock "Audio stream for local alarm sounds" is set to "Alarm stream" I do have "15 seconds" for "Volume increase interval", but I waited well over 30 seconds until I dismissed the alarm. While some of it might be OmniClock, I have similar low-volume problems with Alarm Clock Plus (com.vp.alarmClockPlusDock), which has the "Alarm volume" set to 100%

Edit: 2017-02-11

Watched the volume as OmniClock increased it during this morning's pre-alarm and alarm. Even though "Volume increase interval" is set to 15 seconds, it took around 90 seconds to reach to 100% volume. I'll check in code when I'm more awake, but I'm guessing that, at least for OmniClock, it's a UI/UX problem where it is probably the raw time in seconds between increases in volume, rather than the total amount of time over which the volume rises, that is set/shown.
[Nexus 5X Original Android Development] Gandalf:
Does anyone here use Project Fi?
[Nexus 5X Original Android Development] indian84:
Some good news.

https://plus.google.com/+NicholasChumCDT/posts/EDdrGzcGPy1
[Nexus 5X Original Android Development] CptTr0ller:
What version this can be flashed to? I installed it on top of N4F26O and I'm currently experiencing bootloop(waited for 15 minutes).
[Nexus 5X Original Android Development] Gandalf:
You need to flash the latest factory image script "flash-base.sh", flash vendor image in fastboot, then wipe data, system, dalvik, cache before flashing this
[Nexus 5X Original Android Development] CptTr0ller:
Thanks for replying. It is fixed now.

Also, is this still good even with a locked bootloader? Especially with OpenDelta because TWRP asks for password(even there is none) when I lock the bootloader.
[Nexus 5X Original Android Development] Gandalf:
I can't answer that.. I haven't relocked my bootloader.. ever I don't think :p