yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] kldoc:
Not related to Nexus 4 for the native SIP calling, I believe it's a global issue. I gave the bug report to core team, but lots of people are actually away for vacations or busy, so it might take a while until someone works on it.
[Nexus 4 Original Android Development] kldoc:
Just did the test, swiping on AOSP keyboard works just fine, did the test on Google Keep.
[Nexus 4 Original Android Development] usenexus4:
I just tried linphone: it crashes if the other person accepts the call.

---------- Post added at 02:14 PM ---------- Previous post was at 01:53 PM ----------

After the comments?

You are right it works. I just had to boost my mic.
[Nexus 4 Original Android Development] :
i guess you have gapps installed. aosp then uses the google lib.

think in the beginning omnirom claimed to be a/the rom which is independant from closed source/gapps ;) since one of the "old" omnirom kitkat releases the swype stopped working.

see it still working on other aosp based roms though. mentioned this several times in the past and also posted a flashable zip long time ago (4.x). but i'll give up on this now since people seem to prefer gapps.

thanks for your time. still prefer this rom the most.
[Nexus 4 Original Android Development] kldoc:
I indeed have google keyboard installed, but selected AOSP keyboard for the test, I'll try to do a wipe and test this thing out of the box to see how it behave, but since a lot of members from core team actually don't use any gapps, that's a little odd that it still fc for you.
[Nexus 4 Original Android Development] kldoc:
I've been talking with core team to find a solution for the reboot with SIP calling, will do a testbuild by tomorrow and if it works will submit a patch tomorrow, might take 1 or 2 nightlies before it gets merged.
[Nexus 4 Original Android Development] kldoc:
[MENTION=6261460]zezinho7[/MENTION] : I have good news for you, my test build was successful, i'm waiting for an update on OmniROM's github, and will then upload the patch, I'm not sure when it'll get merged, but i'm doing as fast as I can to push it :)
[Nexus 4 Original Android Development] usenexus4:
I have the problem that sometimes my phone does not switches to standby and the screen does not turn black. I have to activate standby manually by pressing the power button.
[Nexus 4 Original Android Development] kldoc:
This is a logged behavior, since the phone doesn't reboot, everything will be in the logcat, this is most likely a wakelock due to some app/widget you're using.
[Nexus 4 Original Android Development] :
this is great, thank you :)
[Nexus 4 Original Android Development] iamloco:
Anyone having wifi issues?

The problem is intermittent.

I've wiped all my system data etc...

I'm having the issues since around build 08/15.
[Nexus 4 Original Android Development] redj12:
Was my favorite on Gnex. The ROM has some features or for the moment is look like a stock ROM ? Thx
[Nexus 4 Original Android Development] iamloco:
Putting it in airplane mode and Wi-Fi is working back for a few hours.

Chromecast is streaming 720p so no Wi-Fi issues with my AP
[Nexus 4 Original Android Development] usenexus4:
Me! Sometimes it disconnects while it should stay connected in standby. It appears on several routers.

Another thing:

I like to analyse my wifi traffic but in the options I can just select a period of time which android offers. I like to just look on one day or perhaps some hours. How is this possible?
[Nexus 4 Original Android Development] kldoc:
The repo containing the incriminated files just got cloned, I won't be able to do a test build before thursday, but once it's done, will upload the patch to gerrit, will also upload the SIP patch concerning audio filtering for csimple, i believe this affects more than just that app, and if SIP calls are fine on Nexus 4, that would be awesome, i need this on weekly basis, be assured that I need that as much as you do :)

On a sidenote, i'm planning a phone change with either Nexus 5 2015, or whatever its name will be, or Sony Xperia z5 compact, it doesn't mean i'll give up on Nexus 4, but it means that it'll probably take some times for me to have a proper stable build when android M is released if no support is given to Nexus 4.

I didn't answer to wifi complains for the very good reason i'm not affected by those, router problems can be a factor, and I myself am using a linksys e1200 router, which with i have zero issues on my Nexus 4, being unable to replicate the issue renders impossible debugging your issues. Android M is around the corner, and I expect some work to be able to have a bootable build, i do this on my free time, and can't give any ETA regarding any usable build, I'll do my best to deliver, but you can expect 1 or 2 months delay before I'm able to have a usable build on Android M, IF google drops Nexus 4 (expected, but not certain)
[Nexus 4 Original Android Development] kldoc:
Ok patch actually was merged, some issues with the build server, next nightly should include the needed changes for SIP calls from contact list. Didn't have the time to push the other patch, i've got a kernel update for Nexus 4 to push too. Busy September ;)
[Nexus 4 Original Android Development] kldoc:
[MENTION=6261460]zezinho7[/MENTION] nightly 04/09/2015 has the patch included, SIP calls from contact list no longer triggers a reboot. Enjoy :)
[Nexus 4 Original Android Development] usenexus4:
Hi kldoc,

I have the following issue:

if wifi disconnects it does not reconnect until I wake the phone up.
[Nexus 4 Original Android Development] kldoc:
Hi, I already replied, impossible to debug the issue if I can't replicate it and if I don't have any log showing why it disconnects.

Advanced wifi option has an option to avoid wifi from turning off while sleeping. Poor wifi signal can also explain this, being in deep sleep, if the signal isn't strong enough, it might actually disconnect. Some routers are more friendly than others with some chipsets too.

Android M is just around the corner, I lack the time to work on random remaining issues on Android L, and all my free time ( which is not much at the moment) will be spent on bringing up OmniROM 6 to life for Nexus 4. Just 19 days (+ time needed for AOSP to be published) to go ;)
[Nexus 4 Original Android Development] Romman0:
Good to hear kldoc and thank you.!
[Nexus 4 Original Android Development] Plex.Le:
The ROM is so hot when charging compared to stock. Just flashed franco kernel, hope it can get cooler.
[Nexus 4 Original Android Development] imdanix007:
Did you try Keep WI-FI on during sleep? You can find it under WIFI > Advanced.
[Nexus 4 Original Android Development] usenexus4:
Yes this is activated. The Wifi is very strong this can not be the cause. I tried it with one home router and with a hotspot of a mobile phone. It disconnects on both.
[Nexus 4 Original Android Development] kldoc:
I finally found a bit of time to work on it, so just submitted that patch concerning Echo noise cancellation in SIP calls for review.

https://gerrit.omnirom.org/#/c/14721/1
[Nexus 4 Original Android Development] usenexus4:
Since the newest nightly (omni-5.1.1-20150923-mako-NIGHTLY) The phone reboots after 2 minutes. It also has problems to position the screen on the right position. I will try to provide logs.

edit: logs sended to kldoc :)

The reboots have stopped after some time.
[Nexus 4 Original Android Development] kldoc:
What the hell are you doing with your phone ? Any custom kernel, Xposed ? Some random apps is messing with your phone ... Your logs didn't show much unfortunately.
[Nexus 4 Original Android Development] kldoc:
No Android 6 for Nexus 4 seems confirmed, AOSP drops October 5th, I'll do my best to bring up OmniROM 6 for Nexus 4 as soon as I can, but as always, no ETA :)
[Nexus 4 Original Android Development] kol1124:
Sorry for stupid question but I've never use this rom, so is it base on AOSP or CM ?

Thanks in advance!

EDIT: OK, I read the first post ;)
[Nexus 4 Original Android Development] usenexus4:
[MENTION=2604804]kldoc[/MENTION]

After an update everything is running normal now. And yes I am using xposed and xprivacy.
[Nexus 4 Original Android Development] kol1124:
Is there option for change lockscren wallpaper?

Wysłane z mojego Nexus 4 przy użyciu Tapatalka
[Nexus 4 Original Android Development] usenexus4:
I am using csipsimple for voip calls. I do not have any problems with outgoing calls. But incoming calls can not be anwsered. It just ignores that I anwsered the phone.

I also tried zoiper und linphone -> no problems.

I guess this is not an omnirum issue I didn't found anything similar to this problem in the net...
[Nexus 4 Original Android Development] kldoc:
I've done some research, but can not test, I don't have a voip account to receive calls. Known issue.

https://code.google.com/p/csipsimple/issues/detail?id=1178
[Nexus 4 Original Android Development] kldoc:
In Android 5, lockscreen wallpaper and home wallpaper are the same, It's lollipop's design, the custom lockscreen Android 4.4 had got removed. OmniROM is AOSP based, lockscreen customization won't be added because it would mean huge changes in AOSP therefore break compatibility with AOSP, but I guess there might be some app or some Xposed module to do that, unsure, didn't try.
[Nexus 4 Original Android Development] fire6water:
I use tuffs app for apps on lockscreen. Be sure to go through app settings and uncheck disable on lockscreen. Purchase app good dev best option IMO. Great rom
[Nexus 4 Original Android Development] usenexus4:
I am looking for the option to avoid sending my own phone number to the person I am calling. I can not find it in the options.

Can anyone help me?
[Nexus 4 Original Android Development] fire6water:
Go into the phone app and hit the three dot menu on your top right. Go to settings. You'll find it there.
[Nexus 4 Original Android Development] kldoc:
Work started on OmniROM 6 for a few days, still a lot to do before having a usable build, and actually, a lot to do to get a build. I'm using all my free time to bring it to nexus 4, i'm nearing build completion, kernel is already buildable, but there's a lot more to do before I'll be able to provide you with an early build. Any help welcome ;)

As always, no ETA, be patient ;)
[Nexus 4 Original Android Development] usenexus4:
I am using zoiper and discovered a high battery consumption (I am just logged into my sip account and didn't do any calls). The consumption was 10% according to my battery overview.

I couldn't find anything on the web that zoiper is causing this. Could this be a omnirom issue? I can not provide logs because I am testing linphone at the moment.

---------- Post added at 02:39 PM ---------- Previous post was at 02:39 PM ----------

I am using zoiper and discovered a high battery consumption (I am just logged into my sip account and didn't do any calls). The consumption was 10% according to my battery overview.

I couldn't find anything on the web that zoiper is causing this. Could this be a omnirom issue? I can not provide logs because I am testing linphone at the moment.
[Nexus 4 Original Android Development] kldoc:
You're using Xposed framework, and Xposed deeply changes the system's original behavior, we're unable to provide any kind of support when Xposed is used. I don't have any battery issue on stock OmniROM using stock kernel, lasting more than a day of reasonable usage.

I'll add that OmniROM is based on AOSP, and we have very strict policy to maintain compatibility with AOSP, OmniROM should at least behave the same way stock Android (flashing original firmware from Google), and sometimes better due to bugfix/features we introduce.

Zoiper is a VOIP solution, I don't know exactly if they use their own framework to establish the communication, but it will certainly avoid deep sleep and therefore drain battery to have a software running that keeps a network communication alive (to be able to receive calls). I have the exact same issue if I keep my vpn on all the time.
[Nexus 4 Original Android Development] usenexus4:
Linphone seems to work better. I even can not see it on the battery list...
[Nexus 4 Original Android Development] lebenskuenstler:
Hi kldoc,

did you see this: http://dmitry.gr/index.php?r=06. Thoughts&proj=02. Android M on Nexus4#uniqstr_1444922301480_q ?

Many thanks,

LK
[Nexus 4 Original Android Development] kldoc:
Yes, i did see this, but he's using a prebuilt kernel, we're not, be patient folks, it's barely been a week since sources dropped, code was merged into OmniROM, but needs time to debug.
[Nexus 4 Original Android Development] kldoc:
I managed to build it, but it's not bootable yet, a few things to fix before getting something that boots, even so it won't be usable as a daily driver before a while, a lot of work remain to do ROM wise.
[Nexus 4 Original Android Development] gbetous:
Hi,

I'd like to follow the development, and why not help if possible !

I can't even start compilation.

- I did :

repo init -u git://github.com/omnirom/android.git -b android-6.0
repo sync
. build/envsetup.sh
brunch mako

=> I have following error message :

build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_mako". Stop.
WARNING: Trying to fetch a device that's already there
WARNING: device/lge/mako/omni.dependencies file not found
build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_mako". Stop.

** Don't have a product spec for: 'omni_mako'
** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'

And a "breakfast mako" did not help...

Thanks !
[Nexus 4 Original Android Development] kldoc:
Hello, you're more than welcome to help !

A good start to follow the development, is to follow gerrit.

https://gerrit.omnirom.org

Then you can join #omni on freenode irc, which is the dev channel for OmniRom

Your error is because 6.0 branches for Nexus 4 on OmniROM don't exist yet, I didn't ask for the creation yet as I'm the only one working on it, I'm currently working locally on 5.1 branch that i'll later push to 6.0.

But OmniROM 6 by itself doesn't build yet, there are hell lot of commited and non commited stuff to add to make it build.

And I replaced some repos by AOSP ones, since I'm focusing on device bringup.

I also used the patch that you can find here:

http://dmitry.gr/index.php?r=06. Thoughts&proj=02. Android M on Nexus4

Wish you good luck, I'll help you as much as I can to build, but I really don't have much free time, and time difference doesn't help either.
[Nexus 4 Original Android Development] kldoc:
Nexus 4 bringup on Omni 6 is done :)

[IMG="Nexus 4 on Omni 6"]http://i.imgur.com/DIGC0Ev.png[/IMG]

There's a lot to do ROM-wise before I can give you a build, but it's alive :)

I'll push device tree and kernel tree as soon as I can.

No ETA on ROM itself, there really is a lot to do ;)
[Nexus 4 Original Android Development] kldoc:
I was able to push all the needed commits to build kernel tree and device tree, as is, OmniROM build is still broken, and need a few changes that I can't submit (because of ownership) to build. Enjoy :)

EDIT:Turns out I can't use the kernel patch from Dmitry Ginsberg, and I actually have to track down the commits from AOSP. While the kernel itself builds, commits history is needed, so this tree should considered as a proper source to be included as is in a ROM, it's a way to get an unofficial build though :) Cleaning up this commit is gonna take me some time, I really hope to be able to provide proper commits before OmniROM builds by itself, but can't promise any ETA.
[Nexus 4 Original Android Development] usenexus4:
Good news! But I have trouble connecting my phone to the computer.

The usb is kind of "flickering" it reconnects every second. If I deactivate the "MTP" option it charges normally but I can't access my files obviously.

ATM I can not transfer a single file to my laptop.
[Nexus 4 Original Android Development] TheeWolf:
This could be a problem with either your cable or the USB port on your computer or the micro USB port on your phone. I doubt it's because of Omni.
[Nexus 4 Original Android Development] kldoc:
[MENTION=6770151]usenexus4[/MENTION] Yup, my usb cable was aging, started to have the same problem, bought a new one, problem solved :p This and check your adb driver if you are using Windows 10, basic provided driver don't work really well, download the one from Google, common issue actually.
[Nexus 4 Original Android Development] kldoc:
Some news, i'm actually reworking Dmitry Ginsberg patch, since he didn't provide any original source, and OmniROM likes to have proper commit history. I'm done around 20%, will upload when I'm done.

EDIT:Actually, this is really an unpleasant task, and I could really use some help on this, if any of you know how to use github, meld, and track commits, you're more than welcome to help :)

Here is my github,

https://github.com/kldoc/android_kernel_lge_mako/tree/android-6.0

I don't know yet if i'll push this to Omni's gerrit or do a pull request, it's heading to be a bit large to land on gerrit.

Done around 75% now, not a lot remains, should be able to make a test build on this by the middle of the week.

Some parts of OmniROM that were broken are now being fixed, things might go a bit faster this time around :)

EDIT: Ok, last edit, it's done, finished the job, proper kernel tree with commits from aosp is now on my github, will push to OmniROM's gerrit tomorrow, did a test build, boot complete ;)
[Nexus 4 Original Android Development] kldoc:
Quick update, the whole team has been really busy, and we're now able to build OmniROM without requiring the use of pure AOSP repos.

On my side, tracking down some bugs here and there in kernel and device tree, code review takes some time to be certain to provide you the best behavior possible. I'm nearing a potential candidate for a very early initial pre-alpha build, but the fact that I don't have another device to use in the meanwhile slow me down, can't afford to miss messages or phone call, so I'm going to have to ask you for a bit more patience until I can actually find the time to heavily test it. Kernel repos will soon be updated, my github itself is being used at the moment, and there's already the needed commits in the device tree for it to build and boot. Those of you who build can let me know if they encounter problems, i'll do my best to help you.

Have fun folks :)
[Nexus 4 Original Android Development] fire6water:
Thanks for the hard Work. Can test if needed. This device is my secondary. PM me can't build so the least I can do.
[Nexus 4 Original Android Development] usenexus4:
Hi kldoc, I know you are very busy but I updated my Nexus 4 to the nightly from the 27.10.2015 and since this update the phone often reboots.
[Nexus 4 Original Android Development] kldoc:
Hi, problem is you are using Xposed framework, along a few other things on which I absolutely have no control, I still use Nexus 4 as a daily driver without the issues you are having, I can't give you more support than I already did, kernel on Omni 5 is untouched stock kernel, and device tree is very near stock device tree. If you encounter issues, you need to eliminate potential external factors, there's nothing I can do about your problems because of what you've installed, Xposed deeply modify the behavior of base framework.
[Nexus 4 Original Android Development] kldoc:
Appreciated :) I couldn't work on it those last 3 days, will make a test build tomorrow, I actually just pushed a fix for a bug in the kernel. I won't PM it to you, will rather post a link here, knowing that no support will be given on it, I know that you need to flash gapps along the rom before first boot, and I didn't test to flash supersu, so no root.
[Nexus 4 Original Android Development] kldoc:
Omni 6 for Nexus 4, very early initial build, should be considered as a pre-alpha build.

https://drive.google.com/file/d/0B7SdORCtpN8bUTN0UHE1RHd3d0U/view?usp=sharing

It comes as is with NO SUPPORT at all, don't submit force-close report, we're already aware that fc can happen. Don't submit any bug report without a full logcat logging precisely the error you've encountered. ROOT is not yet possible, flashing gapps is only possible after a full wipe/factory reset, and only before you boot the system for the first time.

As far as I could test, everything works, wifi, bluetooth, 3g (OmniROM never supported LTE modification, don't ask).

To enable MTP, you need to click on the notification when plugged in to select which usb mode you want (Android 6 feature). First boot can be a bit slow, be patient ;)

This is a very early build, a lot of stuff don't work yet, I upload this mainly to get feedback on hardware support, ROM wise features will eventually get fixed over time. If you encounter reboot or crash that are NOT app or modifications related, please provide a full logcat (from boot time until the crash) and last_kmsg in order for me to read the error message and find the reason why it happened.

Users without ( a lot of ) experience on Android should stay way from this build, this build is intended for people with development skills and knowledge for them to make tests, this really is not usable a daily driver.

Now that you are warned,

you can flash this through latest TWRP, I can't provide any link for gapps, but I had limited success with Open Gapps for 6.0.

Have fun with OmniROM :)
[Nexus 4 Original Android Development] gbetous:
Thanks for this great effort !

Is it possible to build it from source, or do you still use local modification for building the image ?
[Nexus 4 Original Android Development] kldoc:
You need the kernel tree from my github that hasn't been merged yet, the device tree commit on omni's gerrit that hasn't been merged yet, along a few other non merged commits.

EDIT: Kernel tree has been merged, I won't be able to provide a new build before this week end, but next build will be Selinux permissive to allow root.
[Nexus 4 Original Android Development] kldoc:
Just created a thread for OmniROM 6

http://xdaforums.com/nexus-4/orig-development/experimental-t3241360

Discussion about OmniROM 6 should go there from now on :)

Given the very sparse free time I have to work on the ROM, I can't really work on both version, and I don't have enough space disk to actually keep both source trees, therefore, there won't be any new update on Omni 5 concerning device tree and kernel tree on Nexus 4. I believe Omni 5 to be stable on Nexus 4, didn't encounter any major issue ROM wise that needed any patching. So, unless anything major rise, I am switching to Omni 6 for further bug fixing and improvements. Currently preparing the migration on my phone, but i need some more time to have a device ready for the long run as a daily driver.
[Nexus 4 Original Android Development] ipit:
Can someone please tell me what's the most stable version of this ROM/Gapps and do I need to worry about specific Kernels? Also I'm coming from a 4 based rom, do I need to update any firmware modems etc? Thanks!
[Nexus 4 Original Android Development] OniNoSeishin:
Hello, is there any update? Nightlies stopped on 08/01/2016 (<-- european format)
[Nexus 4 Original Android Development] emanoj.i9103:
Hello all, A quick query. Can we flash 5.0.x kernels on top of 5.1 rom, Or should I stick to stock provided within rom until 5.1 version of kernels are built? Thanks.

EDIT: Seems working so far. [emoji1] [emoji1] [emoji1]
[Nexus 4 Original Android Development] kldoc:
5.0.x kernels might work, but I can't answer for sure, I didn't test. Not really a good idea to do that anyway.

Edit: It seems 5.0.x kernel should work just fine.
[Nexus 4 Original Android Development] black.ic3:
Hello

Maybe you can help me?

When building Omni 5.1 on OnePlus One, stuck on error

frameworks/base/core/jni/android_view_Surface.cpp: In function 'void android::nativeSetDirtyRect(JNIEnv*, jclass, jlong, jobject)':
frameworks/base/core/jni/android_view_Surface.cpp:211:14: error: 'class android::Surface' has no member named 'setDirtyRect'
surface->setDirtyRect(&rect);
^
[Nexus 4 Original Android Development] jtwebfusion:
The ROM is running great! Thanks for porting omniswitch.