yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] noonecanhide:
Is the SuperSu issue fixed with 2.74 ? Currently i am working far away from home, so i can't try it just for fun ;)
[Nexus 5X Original Android Development] Gandalf:
I dn't use it, couldn't tell you
[Nexus 5X Original Android Development] tokuzumi:
Just flashed the rom. Everything works to my liking now, except when I try to set up my fingerprint. Once I enter my PIN, the settings app force closes. As soon as I try to go into the Screen Lock method under Security, it asks for the PIN, and again force closes the settings app.

Prior to rooting my device, I did not remove the fingerprint info or the PIN. I just unlocked the bootloader, flashed TWRP, wiped system/data/cache, and flashed this rom along with gaaps and Super SU.
[Nexus 5X Original Android Development] Gandalf:
Provide a logcat please
[Nexus 5X Original Android Development] tokuzumi:
I'm working on this now, and am running into some difficulties getting an actual logcat file to generate.

I went to this thread (note, I'm at work, and trying to do this entirely from the phone, as I can't install the Android SDK on my work computer);

http://xdaforums.com/showthread.php?t=1726238

And started with Catlog. It just has a spinning wheel when I open the app, and doesn't seem to do anything. If I click on the menu button, I get the option to record. It asks what file name I want to use. It says it's recording, and has a notification in the notification shade. I start clicking around to generate the error, and then once I've completed my actions, I stop the recording by clicking the notification. I emailed that file to myself to look at it, and nothing is in it. It's a completely blank file.

Next, I tried aLogCat (free). Nothing happens in that app. Just a pause button, or a play button. I never see any text on the screen that shows the app is doing anything.

Doing a google search on how to create a logcat file, I came across this YouTube video;

https://www.youtube.com/watch?v=W6iDw76UpQw

At the 3 minute mark, there is a logcat app [ROOT] aLogcat. When he opens the app, it looks like it just starts recording events in the OS. I always have a blank screen. Play/Pause does nothing that I can determine.

Looking in settings (Android settings, not any of the logcat apps), and going to SuperSU, I have the following permissions for aLogcat, and Catlog:

Access: Grant

Notifications: Global default

Logging: Full content

Force user: (None)

Everything I see on the web makes this look like something that should "just work", but for some reason, it's not playing nice with me. I'm sure it's just a simple thing that I'm missing, but I could be steered in the right direction, I can get a logcat file to you.
[Nexus 5X Original Android Development] noonecanhide:
Now that i am back at home i tried the latest nightly with SuperSu, and it's working fine. Maybe i'm now able to find the reason for the horrible lagging that sometimes occurs when unlocking the phone (5-10s lag until touch input is registered. after a minute or so everything is fine again - until the next time)
[Nexus 5X Original Android Development] Gandalf:
I have never experienced that? Logcat please...

Also, were changing to snapdragon cam soon :good: I've already moved g4 to it, but I want to wait to flush out some bugs before pushing it here
[Nexus 5X Original Android Development] noonecanhide:
I'll try to get one - the problem is, it happens totally random. I'm not sure, maybe the lagging is caused by some hardware problems with the emmc, as it seems related to higher i/o. Using the phone for days without rebooting plays a part, too.
[Nexus 5X Original Android Development] Gandalf:
Possibly. I've gone at least a week without a reboot (that I remember ;) )
[Nexus 5X Original Android Development] Gandalf:
Made a Google Space to see what it's all about

https://goo.gl/spaces/zeVuzH8186r21he8A
[Nexus 5X Original Android Development] dawn&dusk:
Can I update once every one week or two weeks ? I am a college student.So,I may have not adequate time to update the nightly delta .:confused:
[Nexus 5X Original Android Development] glehel:
it will be possible to rearrange buttons on the navigation bar , and expand ?
[Nexus 5X Original Android Development] josip-k:
Okay. The rom works good, but suprisingly fingerprint scanner is not working as it should anymore? I was on CM before omni and it worked great.
[Nexus 5X Original Android Development] glehel:
It works well in the latest nightly releases and the June vendor.img
[Nexus 5X Original Android Development] josip-k:
Not for me, i was on yesterday's nightly and june vendor.
[Nexus 5X Original Android Development] Fif_:
RAM Issues on Omni 6.0.1 20160610

I'm running:

Omni 6.0.1 20160610 with May 2016 vendor image

SuperSU 2.74-2.

Xposed v84

I've noticed that after a couple of days of moderate usage, my phone is eating through RAM like crazy.

Android starts killing processes left and right and the phone becomes unstable.

I've tried to trace the memory usage, but there does not seem to be an obvious culprit.

I also was able to capture a full logcat from boot to the point where the phone crashed and rebooted when it ran out of RAM. That happened over a 16h time span.

I'm not sharing this big logcat here since it may contain private info, but I'm ready to share it with individual Omni devs.

I've also noticed that Omni on the 5X comes with zRAM, and I wonder if that could cause system instability as well, or explain some of my symptoms.

Is there an easy way to disable zRAM? I've patched my boot ramdisk to disable it, but there has to be a simplier way :)
[Nexus 5X Original Android Development] Gandalf:
Yea, don't use xposed :highfive:

Send logcat to my private messages
[Nexus 5X Original Android Development] Fif_:
Easier said than done. That will happen when Omni features something like XPrivacy...

Joking aside, the logcat is too big for a PM. I've contacted you via PM to figure out a way to send you this data.

Oh, and since I've turned zRAM off, I haven't seen any memory issues anymore. It's only been 24h, I'll report later.

Why is zRAM turned on by default on bullhead?

Shouldn't the default be off?

And how can it be toggled easily?
[Nexus 5X Original Android Development] Gandalf:
The omni bullhead device trees are the most vanilla aosp device setup you will find. So blame Google :confused:

Just upload the log to google drive or Dropbox or whatever and share a link in the pm
[Nexus 5X Original Android Development] Fif_:
I had no idea that zRAM was an AOSP feature.

I unlocked the bootloader and flashed Omni right out of the gate with this device [emoji6]

I sent you the logcat BTW.
[Nexus 5X Original Android Development] Gandalf:
https://github.com/omnirom/android_device_lge_bullhead/blob/android-6.0/init.bullhead.rc#L70

https://github.com/omnirom/android_device_lge_bullhead/blob/android-6.0/fstab.bullhead#L29

We don't support any issues while people are using Xposed because it messes with frameworks and causes unforeseen problems that we can't fix (we are not going to change the ROM to suit to an app)

If you have a PlayStation, and buy and Xbox controller, you wouldn't call Sony and say "fix the PlayStation so I can use an Xbox controller" :good:
[Nexus 5X Original Android Development] Fif_:
These github links would indicate that zRAM has been added by Omni, and is not part of AOSP.

Or am I mistaken?

Edit: Apparently I am, zRAM is in AOSP, see https://android.googlesource.com/device/lge/bullhead/+/android-6.0.1_r46/fstab.bullhead.

I don't think that's a good analogy, but I respect your decision of not supporting Xposed.

Does that mean you do not want reports or mentions of issues when people have Xposed installed at all?
[Nexus 5X Original Android Development] Gandalf:
no, you will be able to view the file in "blame" view and see the most recent author of the specific lines of code I have highlighted

correct. If the issue is reproducible without xposed I will gladly look into it.
[Nexus 5X Original Android Development] fario78:
Kernel that works best with this rom , Franco, stock or ElementalX , OTHERS?
[Nexus 5X Original Android Development] khanjui:
There is no best kernel.
[Nexus 5X Original Android Development] fario78:
as the clock is centered and down buttons are added?

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X Original Android Development] Lyokacanthrope:
Installed this last night. Man, I forgot how nice OmniROM was. Last time I ran it was back in the Kitkat days on my Nexus 7 2013.

This ROM flies, is as stable as a rock, and has a nice little set of enhancements. I love it.

Truly the underdog of aftermarket firmwares.
[Nexus 5X Original Android Development] beama:
Hello together,

i am on stock so far, and facing the problem that after every reboot after a while the auto rotation don't work (after hours or few days). I installed the nexus image completely fresh, but didnt solve the problem. Seems that the sensors do not work correct, i checked it with a app.

I will no test a custom rom, i like omni on my N10.

Any ideas or is it a hardware problem?! If the problem stays with omni i think it is.

beama
[Nexus 5X Original Android Development] fario78:
As I add more buttons down and center the clock in the notification bar ?
[Nexus 5X Original Android Development] Lyokacanthrope:
No.
[Nexus 5X Original Android Development] fowlslegs:
I flashed the latest TWRP and Omni, totally set my phone up and transfered everything over, enabled disk encryption, and rebooted to test and still everything was working fine at this point. The I flash the latest SuperSu and rebooted--aaaahhhh, "your encryption password is correct, but your data is corrupt and you _must_ reset all your data." My understading was that Android used dm-crypt, a block-level encryption algorithm that doesn't lend itself to authentication, so I'm not sure what the corruption errors are exactly saying. Maybe you'd have a better idea.

Also I was (even before flashing SuperSu) getting the warning: "It appears your vendor image may be out of date. Please flash the latest vendor image for your device." Is that to be expected?
[Nexus 5X Original Android Development] fowlslegs:
So I did a complete wipe and format of all partitions you can in TWRP. Then I reinstalled the latest Omni and SuperSu. Then I tried encrypting the device and it got stuck in a boot loop. So it seems that SuperSu and encryption are mutually incompatible, which is a shame because I only wanted su for a short period of time in order to use cryptfs password manager to set a strong encryption passphrase that was different from my weaker screen locker pin. Especially considering the recent exploits of Qualcomm TrustZone.
[Nexus 5X Original Android Development] fowlslegs:
Okay, actually the encryption situation is worse. I thought it'd be fine for now just to use encryption with my pin code. So I wiped everything and then reinstalled without SuperSu. Set up encryption and it was working like before.

Then I tried updating with the delta you released today and upon reboot I got the same error. So I backed up my /data partition, copied it to my computer, wiped everything again, reinstalled again, copied the /data partition back to phone, and restored with TWRP.

I thought this *had* to at least work and I could at least use my phone and get updates and could live without disk encryption just because there are so many other attractive things about Omni--mostly free software, regular updates, and signature spoofing built in, so I don't have to install the security and stability nightmare that is Xposed. I boot up, see my wallpaper, but my pin code won't work. I read that you can reset this by deleting /data/system/*{.key,.db*}, so I did that in TWRP and I was able to get in. This is just a reminder though of how necessary disk encryption is.

So lastly, of course, I had to update my unencrypted system with the latest delta. It worked.

Anyway, I had one more question. TWRP, when flashing the delta omni, asked me to decrypt my /data partition for them. I did. Should I have not done that? The idea is then nothing would have been able to be written to /data and /system (and whatever other dirs) would have still been able to be updated w/o causing these corruption errors. Or is decrypting /data necessary for updates for some reason? I don't want to test this anymore because I've been out of a phone for 4 days, first trying to get CopperheadOS working (doesn't work under Sprint), and now messing with this.

---------- Post added 4th July 2016 at 12:15 AM ---------- Previous post was 3rd July 2016 at 11:51 PM ----------

A separate issue, I cannot pair my device with my Klipsch R-15PM bluetooth speakers. I'll mention this had been working on my old LG G3 running CM13, just to rule out the possibility it was a speaker or speaker + Android problem.
[Nexus 5X Original Android Development] Gandalf:
You can not restore system partitions in TWRP. Only system images, if you want your verity key to remain intact for stock. YOU CAN NEVER MOUNT SYSTEM rw IF YOU WANT TO RESTORE A STOCK BACKUP. TWRP breaks the verity key.

You should also update your radio, bootloader, and vendor partition
[Nexus 5X Original Android Development] fowlslegs:
Can you be a little more specific about what you mean Gandalf? I don't feel like your response addressed many of the concerns I raised. For example, I did a completely clean install of Omni, turned on encryption, and then tried to update and it immediately failed. To me that suggests encryption is completely broken. If that's not the case please explain what I need to be doing differently.

I never mounted /system rw. I specifically clicked mount ro every time on TWRP startup.

Also, isn't /data/ (or at least /data/media) considered a user partition? That's all I tried to restore.

Before installing Omni I had let the stock ROM update to the latest software. Would that not have updated the radio, bootloader, and vendor partition? Do you not ship updates for the blobs or w/e is stored there and where do you recommend I get/ flash the updates for that software?
[Nexus 5X Original Android Development] Fif_:
I've seen the error you're getting, I don't remember the wording but it was "your password is correct but I cannot decrypt your data. Press below for factory reset" quite a few times.

It's always been just after rebooting from TWRP.

The first time I did what your did, went with the factory reset and had to restore from backup. That blew.

Since then, I had the message a few more times. I didn't panic, I just powered the device down and then powered the device back up. Every single time, the device booted fine.

There may be a bug in TWRP on Hammerhead, but I do not know how to reproduce it.
[Nexus 5X Original Android Development] fowlslegs:
Did you decrypt /data when prompted Fif_? Things I've learned: (i) it seems like Android "full" disk encryption is just for /data and (ii) it seems like /data is just for user data and it shouldn't need to be unlocked during the update process--TWRP just asks by default anyway probably. I was reading https://source.android.com/security/encryption/ and this is what's causing our problem:

So I think what's happening is that somehow unlocking it with TWRP is causing this flag CRYPTO_ENCRYPTION_IN_PROGRESS to be set, or alternatively, a bug is sometimes triggered in vold, the Android volume manager (among other things).

Btw, why doesn't this forum use Markdown? It's xdadevelopers and has this horrible \[QUOTE\] \[/QUOTE\] syntax.
[Nexus 5X Original Android Development] thenessus:
Noticed a strange red frame around the whole screen, sort of like a screenshot... Appearing for a split second when using the built-in Chromium. It appears randomly.

What is that?
[Nexus 5X Original Android Development] Fif_:
It's a debugging aid. It means that Chromium spends to much time in the app main thread.

Nothing to worry about.

Now the devs could turn it off, that would look better for sure.

---------- Post added at 12:18 PM ---------- Previous post was at 12:15 PM ----------

Nor sure what you mean by decrypting days when prompted.

If you mean in my TWRP session that preceded the scary "password okay but data cannot be developed" message, yes, I always unlock the /data partition when in TWRP.

Yes FDE on android only encrypts /data.
[Nexus 5X Original Android Development] jabarel:
supports cm theme engine?
[Nexus 5X Original Android Development] Lyokacanthrope:
Nope. A quick read over the feature list would've shown it doesn't.

On a sidenote, is it just me or have the Bullhead builds not been properly updated for the latest security patch? I tried flashing a build on 7/7 and it broke bluetooth (even after flashing the latest vendor.img) until I reverted to the 7/4 build and the June vendor.img.
[Nexus 5X Original Android Development] Fif_:
They have been updated for the latest July AOSP security patches, the update broke Bluetooth, it's now fixed (20160712 is happy for me).

Still waiting for the update to the vendor image signature though.

If you run 20160712 with the July vendor image, it will complain. It's happy with the June one.
[Nexus 5X Original Android Development] Lyokacanthrope:
Fun. Updated to today's build and it apparently decided my /data is corrupted. Rebooting does not fix it. Hooray.
[Nexus 5X Original Android Development] thenessus:
Question

When updating with delta, how do we know when to fall flash a newer vendor image? When there is an error after booting?
[Nexus 5X Original Android Development] jabarel:
from where can be downloaded the latest vendor.img ? i`m on the latest build and i get that message to update my vendor
[Nexus 5X Original Android Development] Gandalf:
updated for july security bulletin. make sure to flash newest images prior to tonight's nightly
[Nexus 5X Original Android Development] jabarel:
any chance to have wheather on lockscreen ?
[Nexus 5X Original Android Development] uly166:
Last vendor.img

https://www.androidfilehost.com/?fid=24588212152304739

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X Original Android Development] fowlslegs:
Is there any more official source for the vendor.img updates than what amounts to some random binary image file on the web?

---------- Post added at 12:18 PM ---------- Previous post was at 12:15 PM ----------

That is what I meant :). So you've been unlocking your data partition for each update... I'm not sure why that would be necessary, but more importantly you're saying that updates are working for you with "F"DE, which is interesting. Might make a backup and then try it again soon.
[Nexus 5X Original Android Development] asimovi:
Download the latest factory image from here and extract vendor.img. :)
[Nexus 5X Original Android Development] fowlslegs:
So I extracted the latest google vendor.img myself, and ran

fastboot flash vendor vendor.img

, but it appears that I need to unlock my bootloader to flash it. IIRC doing that (or at least re-locking it) will wipe my /data partition. I could back that partition up and then restore it after flashing the new vendor.img, but I'd rather not do that. [MENTION=5298712]asimovi[/MENTION]

Also, seems Google (really Qualcomm) offers updated graphics drivers as well. I assume one might want to update those periodically as well. Is this the case? I wasn't able to find instructions on doing so.
[Nexus 5X Original Android Development] crian:
If I flash the latest vendor.img with the latest nightly that has the August update it tells that I'm using a old vendor image file.
[Nexus 5X Original Android Development] Rekan_:
Could be that the ROM hasn't been updated itself.
[Nexus 5X Original Android Development] Gandalf:
I just moved this past weekend so I haven't had time to update the device specific bits yet. I will probably have time tomorrow.
[Nexus 5X Original Android Development] salim0786:
this rom supports which theme engine?
[Nexus 5X Original Android Development] crian:
None
[Nexus 5X Original Android Development] salim0786:
but it is on aosp and aosp supports layers
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
Please don't... Your question got answered
[Nexus 5X Original Android Development] salim0786:
If I flash some other kernel..... Will I get delta ota as well as flash it?
[Nexus 5X Original Android Development] Gandalf:
Yes but you'll need to put the ZIP in the OpenDelta "FlashAfterUpdate" folder so that it flashes the kernel, or any zip in that folder, after installing the update zip.
[Nexus 5X Original Android Development] salim0786:
do layers work on omni.. i tried with milos ui... it didnt work
[Nexus 5X Original Android Development] kojak1989:
what theme engine omni supported ?
[Nexus 5X Original Android Development] rsimas:
I use substratum

Enviado do meu Nexus 5X através de Tapatalk
[Nexus 5X Original Android Development] kojak1989:
im sorry because i dont use Omni, what you mean you use Substratum ? You implement this by yourself or what ?
[Nexus 5X Original Android Development] rsimas:
I download substratum from the playstore

Enviado do meu Nexus 5X através de Tapatalk
[Nexus 5X Original Android Development] kojak1989:
so its have OMS support not CMTE, thanks !
[Nexus 5X Original Android Development] TPMJB:
Does Project Fi work for this rom?
[Nexus 5X Original Android Development] Gandalf:
Yes
[Nexus 5X Original Android Development] salim0786:
has the development stopped? there is no build after 30th
[Nexus 5X Original Android Development] crian:
I think they are preparing for N
[Nexus 5X Original Android Development] ovu85:
hi, my phone wakes every time i move/shake the phone. How can i disable this feature?

THANKS!
[Nexus 5X Original Android Development] Stevica Smederevac:
Disable ambient display
[Nexus 5X Original Android Development] Decay3:
Camera crashing

Just got my 5X, and wanted to put Omni on it. Succeeded with that after some vendor version problems (wasn't aware that recent phones like this have a separate vendor partition? Bye bye "flash rom and done"...).

So now running the most recent Omni nightly ("omni-6.0.1-20160830-bullhead-NIGHTLY.zip"), without any gapps, with the bootloader, radio and vendor from bullhead-MTC20K (Nougat-era ones didn't even allow Omni 6.0 to boot: stuck at Android logo). Everything seems to be working fine, except for the bundled camera app, which crashes everytime when run. Note the attached adb logcat output. It seems to be complaining about some missing blobs. Does anybody know what's going on? Am I doing something wrong? Do I need another version of the vendor files?

EDIT: doesn't work with MTC20F vendor.img either.
[Nexus 5X Original Android Development] CreasingMass Dev:
Afaik latest nightly is meant to work with 20k vendor, so there's nothing wrong with your setup, but for the camera looks like you'll have to flash any Gapps package with Google camera in it
[Nexus 5X Original Android Development] Gandalf:
Any Project Fi users interested in a nougat test? Join #omnirom and ping +jakew02. Thanks!
[Nexus 5X Original Android Development] Gandalf:
Public nougat test

https://plus.google.com/+JakeWhatley/posts/KhrTPYPdaE4

I am well aware that there is a section of settings that force closes. Everything else should work just fine

Another one coming soon with more goodies enabled
[Nexus 5X Original Android Development] jeekajoo:
hi,

I'm trying to install last M nightly but I'm facing a looping (black) launcher <> loading OMNI animation..

what is required bootloader/radio/vendor images? tried on top of MTC20K (last 6.0.1). Flashed with SuperSU-v2.78.

thank you

edit: gapps not installed, is it a problem?
[Nexus 5X Original Android Development] Mister_Schnapps:
Just flashed the public nougat test, has Signature Spoofing been implemented in N yet?

Thank you for your work on this. Know it's appreciated.
[Nexus 5X Original Android Development] windows8k:
APN settings files

Google Stock apn setting apns-conf.xml

System-etc

https://www.dropbox.com/s/q5dqbvl1mphuxr7/apns-conf.xml?dl=0

나의 Nexus 5X 의 Tapatalk에서 보냄
[Nexus 5X Original Android Development] Gandalf:
ok I added them here: https://gerrit.omnirom.org/#/c/15841/1/prebuilt/etc/apns-conf.xml

I'll make another build for you.

Once you add the APNs yourself, it works, right?