yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Dav1_d:
Just after updating the Rom, I was tweaking the (stock) kernel and noticed that the gpu was running at full capacity when the phone was idle. When I touched the screen the gpu would ramp down to the lowest set frequency and stay there until I let go - exactly the opposite behavior of how you would expect the gpu to behave. Usually when the screen is touched the gpu ramps up to a higher frequency before ramping back down when the task is finished. After much trial and error, the only thing that stopped this behavior was flashing a different kernel. If nobody else has run into this problem, the only thing I can think of is that I suffered a corrupt download. Please could you write the checksum on any future builds just incase.
[Nexus 4 Original Android Development] kldoc:
I can't give you support on a mod.
[Nexus 4 Original Android Development] kldoc:
Some news, after a talk with [MENTION=4217103]zaclimon[/MENTION] and common research, he managed to fix camera video recording, I'm waiting for him to publish his patch, and will port it on OmniROM.

Since that was the last remaining blocking bug, I'm waiting for those changed to be published, will make a build, and switch to Omni 7 as a daily driver in order for me to test it. Once advanced testing will be done, and if no blocking issues are detected, I'll greenlight Omni 7 nightlies for Nexus 4.

EDIT: Due to an error on audio (video recording), I'll delay a bit, need to fix this before publishing, shouldn't be much, but still need to be fixed.
[Nexus 4 Original Android Development] Thrikiller18:
Do it also appear on his v9??
[Nexus 4 Original Android Development] kldoc:
For reasons that I don't understand yet, those commits aren't working.

CM is also working on a solution.

Given how things are looking, Omni 7 for Mako is on standby until a proper and clean solution is found, I don't have the needed time to do it by myself, I'm sorry that I have to delay next build but it's for the better good, I prefer a definitive solution than a temporary fix.
[Nexus 4 Original Android Development] ddaggebi:
Take your time, kldoc! I love your style of 'not perfect, no go'. As soon as Omni gets to be in nightlies, I will use it instead of my Fake Nexus 6.0 + Cataclysm combination.

One quick question. I can't remember whether quick pulldown is available in 10/6 build. Is there the option? If it isn't, will it be present in future builds?
[Nexus 4 Original Android Development] kldoc:
Don't think it has been backported yet, I'm not running Omni 7 at the moment. Truth been told, I had the time to manage to bringup Nexus 4, but not to manage my backups and migration to Omni 7, I'm still on 6, then the global overview on 7 makes me think 7 isn't yet as stable as 6. I'm getting my Oneplus 3 in 3 weeks (easier to buy in China), from there, it'll be easier to push Nexus 4.

IMHO, Android 6 is way more stable and reliable than 7, but that's only my very humble opinion.
[Nexus 4 Original Android Development] ddaggebi:
Yes, I agree on that too. I like android 6 more than 7. If I can't find a complete substitute of my current combination (The closest was Omni 7, that's why I like Omni), I think I'll just maintain my combination and maybe add N-fy to it.
[Nexus 4 Original Android Development] zaclimon:
In the review that you sent me, I saw that the patch I applied worked in AOSP but not in CM. I suppose that Omni must probably have some simillar patches resulting in it not working. I can try the CM patch and see if it's still working on my end or at least see why it's not working anymore.
[Nexus 4 Original Android Development] mrk2815:
hello kldoc, video recording is now working on AOSp 7 by zaklman. just wanted to let you know so you can check out that and hopefully incorporate the GitHub source into Omni rom so that Omni rom can also have that resolved as well. just point hat out to you .
[Nexus 4 Original Android Development] kldoc:
Already investigating it, but for some reasons, it won't work as is.
[Nexus 4 Original Android Development] mrk2815:
hello kldoc, I will stick to your builds. as I have issues with google play services force closing, and play store with aosp 7 v9 and so I have decided to go back to marshmellow till android 7 is more stable and you have more time to dedicate to having a nice stable build of yours. I will gladly test your builds once you have all things working for android 7 for nexus 4. till then I will stick to android marshmellow.
[Nexus 4 Original Android Development] kldoc:
WIll do as fast as I can, I'm waiting for some patch that would fix the situation on the cam, but for now, best is to keep on 6 to keep a ROM that has proven stable. I am myself still on 6, Google isn't really pushing 7 as they used to do in the past with Nexus, things will eventually come together as the time goes, it will just ask a bit more time than it used to. Device is aging means less people are working on it, and finding viable generic patches is more difficult that it used to be.

My criteria for a stable ROM is that everything I need works, and that it doesn't force close and everything runs as intended. I won't greenlight Nightlies before those criteria are met. I will probably publish a build as soon as Camera work, but won't greenlight nightlies until all commits are fully integrated in OmniROM.
[Nexus 4 Original Android Development] mrk2815:
since I have a nexus 5x since I could not afford the pixel at ridiculous prices that google is now chargin for a rebranded nexus. The 6 and 6 p are to big of a device for me so i have gotten a nexus 5x which i got for a great bargain on ebay for $150 US dollars for 32GB in the box brand new . i decided to just flash your rom for the hel of it and its very smooth from testing on a day to day usage on nexus 4 mako . everything does work as you have stated. the only issue that i do se would be the camera recording bug. but since i am just testing as my tester device i decided to try it out. things are very smooth and rock solid and great work and keep it up for all of us who love and are loyal users of Omni roms. when my nexus 5x stops receiving support from google i will be keeping that nexus 5x on Omni rom and loyalty going even with the nexus 5x as well.
[Nexus 4 Original Android Development] kldoc:
Really appreciate your answer, folks in OmniROM are trying their best to keep the ROM stable, clean, and smooth, while still including features to make everyday's usage better, but even those are plugged in respecting the code base, all framework changes are done with keeping in mind we need to be able to keep stock behavior, so people are free to chose whether or not to use a feature.

I'm decided on the Oneplus 3, and will buy it first week of November, which means I will have less constraints with my Nexus 4 to test things and verify they are working. Time to play :D

I am still with OmniROM, mostly because i like the people I'm working with on the ROM, we really have a nice atmosphere, we' re all more or less old enough to be calm enough to delay things when they need to, we all have a life, and that also means sometimes things are slower than they should, but in the end, the work will get done. Core team, even if they write less and less code, will always check our commits and guide us to make a better patch that will benefit AOSP in one way or another.

With my main device about to change, I will be able to spend more time on coding, and hopefully come up with things you folks might like :)
[Nexus 4 Original Android Development] mrk2815:
kldock, thanks for all you do. I am a blind system admin, a geek at heart. I love testing things with roms and se hwo they do with accessibility services in android . I do appreciate everything that the XDA development community does for all of us. I try to test the hell out of roms to make sure hey work for all situation even for accessibility concerns where Omni rom community has done an awesome job at .
[Nexus 4 Original Android Development] mrk2815:
kldoc, i appreciate all your wonderful work on nexus 4. also just wondering what kinds of features are you thinking of or planning on Omni going forward.?
[Nexus 4 Original Android Development] kldoc:
Well, I'm eager to play with daydream, and I'd like to try stuff with the launcher itself (if there's anything there).

Then I have some networking changes that I really want to do, target opendns for the internet connection check instead of Google for example. I never had the time to work on those until know because my only AOSP device that could run Omni was my Nexus 4, with the Oneplus 3 as my daily driver, I'll be able to test stuff without having to worry about whether my phone will be available or not during the day.
[Nexus 4 Original Android Development] wheeqo:
Thanks for your hard work. Which gapps should I use for this ROM?
[Nexus 4 Original Android Development] kldoc:
News aren't good, video recording is still broken, tried everything I could, but couldn't find the reason. I really am about to give up on this for now, I don't have any solution working at the moment.
[Nexus 4 Original Android Development] Thrikiller18:
So omni has some cm stuff in it right? You can try the way that stephanmc used for fixing video bug for his cm14.
[Nexus 4 Original Android Development] kldoc:
That's the thing, also tried this way, also no working, I'm going to try to revert one commit that I suspect might be the reason for this, will keep informed.
[Nexus 4 Original Android Development] kldoc:
Good news, after struggling for 3 weeks on the Camera HAL, and after talking with [MENTION=4217103]zaclimon[/MENTION], I finally found the culprit, video recording is fixed at least on stock camera, video recording is a bit jerky, I know there are a few commits on that side to fix it, but later, this was the last piece of the puzzle to greenlight Mako for nightlies, time to properly push the commits :)

Uploading a build :)
[Nexus 4 Original Android Development] mrk2815:
so do we have nightlies for Omni 7. so were do we grab htem.

---------- Post added 22nd October 2016 at 12:04 AM ---------- Previous post was 21st October 2016 at 11:59 PM ----------

hello kldoc, when the Omni rom becomes nightly will there be the Omni updater for updating nightlies again. I just want to be sure . I found the 22 build and I am going to flash tommororw and let you know of any issues as i can test the rom as I have an extra device as my primary daily driver the nexus 5x.
[Nexus 4 Original Android Development] kldoc:
Nightlies haven't even started yet, Mako is only the second device to near that status, I think i'll have the time to fix that jerky video before nightly builds actually start.

Step by step :p
[Nexus 4 Original Android Development] ddaggebi:
Thanks for the fix! WIll try it as soon as possible.

Any news from omni about 7.1? Not rushing anything, but 7.1 (fake nexus) seems to be a little more smoother than 7.0
[Nexus 4 Original Android Development] kldoc:
Currently being merged:)
[Nexus 4 Original Android Development] mrk2815:
so will we know of a 7.1 build for Omni rom for nexus4. will this bea home build one or will this be part of the nightly builds. just wanting to know so that i can test. I am liking what you have done so far. I have tested every feature of the build that you have from 22. so far everything is working as expected.
[Nexus 4 Original Android Development] mrk2815:
hello kldoc, i was reading the cm 14 thread for the past few days. the cm 14 build from october 19 from stepan . He has fixed the camera recording issue for both 720 and 1080p and he says that camera recording is working with all camera apps that he has tested. so i was just wondering if you could take a look and see what he has done and if you could incorporate into the builds for omni while giving him credit fore the camera fix into
[Nexus 4 Original Android Development] kldoc:
I'm following everything there is in the community, I'm waiting for his device tree to see the differences with mine, currently still testing a few commits, so far, not fixed, still jerky, but closing in ;)

I can confirm video recording is working almost normally in 720p using google camera, preview isn't normal though, but recording is fine in that mode.
[Nexus 4 Original Android Development] mrk2815:
can weallso se all the pixel features incorporatedinto Omni rom with 7.1. just wondering so thathe nexus 4 could have some of htat special pixle features without having t purchase a piel. all the pixel features are software tweeks under the hood. so I am just wondeirngif it could be odne it would be an awesome tthing for a nexus 4 to have featursthaaht hey say isexclusive ot a pixel and over chargin for a rebranded nexus . spec for sspec the small pixel isa nexu 5x with a bit better hardware under the hood.
[Nexus 4 Original Android Development] mrk2815:
hello kldoc, can we also se the google assistant be implemented into 7.1 when its available for nexus4. alsothe pixel experience would be also appreciated iif its possible. sotat nexus 4 could be one of htose deviceshat hasthose extra featuresin Omni rom for nexus devices. just as google has screwed the development community by not giving pixel featurs thee development community could develop similar features and ssay this is what we think about your pixel exclusivity and not favoring the nexus devices.
[Nexus 4 Original Android Development] kldoc:
Proprietary features will never be included in OmniROM, this is a very strict policy.

I'll check whether or not device wise there are things to change to allow those features, but features themselves will never be included. Better look over a gapps package.

I won't fake the product specs to allow those, as it might trigger compatibility issues on other apps. If there's a simple flag to turn those on, i'll add it, otherwise answer is no.
[Nexus 4 Original Android Development] mrk2815:
totally understand the commitment with rom community. I just thought I would ask. thanks for clarifying and I wont ask . I will enjoy what ever support that the nexus 4 gets.that sounds good. I hear where you are coming from and I respect your wishes on requesting features for Omni roms.

---------- Post added at 09:24 PM ---------- Previous post was at 09:22 PM ----------

I will just testthe features that you incorporate into Omni rom whether that be android 7 or 7.1. what ever you are commited to and feel is a stable build for those who are on the nexus 4 as their daily device. totaly understand .
[Nexus 4 Original Android Development] kldoc:
Don't get me wrong, I'm actually hands tied here, I maintain the Nexus 4 on OmniROM, but ROM wise decisions are not a personal decision, outside of kernel tree, device tree and vendor tree, I don't have decision power on anything else.
[Nexus 4 Original Android Development] ivanich:
Hi, could you please provide some more info or link to commits on how did you fixed encoder issue? Have you made changes to the camera hal(nativehandle support) and/or qcom_media?

Отправлено с моего Nexus 4 через Tapatalk
[Nexus 4 Original Android Development] kldoc:
It's not fully fixed yet, but everything is on OmniROM's gerrit

https://gerrit.omnirom.org/#/q/topic:%22Camera+HAL+v1%22+(status:open+OR+status:merged)

I still have the problem of video flickering, will do a testbuild with another series of commit that I saw on CM's github that might solve the issue.
[Nexus 4 Original Android Development] Cristiano Lira:
7.1?
[Nexus 4 Original Android Development] kldoc:
I don't know how much have been merged yet, but it should be soon enough.

A lot of devices are still in bringup stage, so all attention is first, device bringup, then polish the ROM, updates and so on ...
[Nexus 4 Original Android Development] st4ik:
How i can change the size of the windows on the split screen? Because i always have 50 to 50.
[Nexus 4 Original Android Development] mandgeo:
There is a bug in 6. After some time, pressing the power button doesn't bring the power off menu, it just switch off the screen. The only solution is to force it to power off, by pressing the button for..x seconds. After boot, everything is fine.

Keep this problem in mind for 7. Maybe you'll find a solution.
[Nexus 4 Original Android Development] ddaggebi:
It has been a bug since Lollipop had introduced. In Marshmallow and Nougart, the chances of it happening has decreased(my experience). It must be a bug in Android itself, so kldoc might not be able to give you help.
[Nexus 4 Original Android Development] mrk2815:
hello kldoc, I was testing another rom a few days ago. I had a friend of mine confirm that camera was working well with recording videos. its the aosp 7.1 rom it was build as of 11.2.16. I was just wonderign if you could take a look and se if that would fix things for the camera bug . hopefully the camera bug fix could get the Omni rom closer to nightlies. I mis not seeing any build from Omni . I have been testing every 7.1 rom so far but I have not seen anything from Omni so I figured I would just ask .
[Nexus 4 Original Android Development] kldoc:
I don't have a working solution on cam just yet, still working on it. Mind giving me the link to the ROM ? And sources ? Really struggling on this.
[Nexus 4 Original Android Development] kldoc:
The implementation that works is only with Google camera, and only in 720p (beside CM), no matter the ROM, check the comments on different ROM. There is, at the moment, no real fix for camera HAL that actually fix the camcorder for good on AOSP, i do my tests using stock AOSP camera, if that fails, means HAL isn't fixed.

I won't greenlight mako for official builds until this is fixed. I might change my mind if there are indeed no real solution, but it would really be out of despair. I'm not a C/CPP dev, I don't have the coding knowledge to fix it myself.

There is one commit on CM gerrit that could fix the jerky camcorder issue, but mako doesn't have the driver for it. Will post a link to that commit later.
[Nexus 4 Original Android Development] kldoc:
Seems that Google camera would work nicely with latest patch, it's not a great solution, but it would work. I'm not really sure what decision to take, nobody has been able to fix qcamera 1 HAL1, everything is targetting qcamera2 HAL1.
[Nexus 4 Original Android Development] kldoc:
[MENTION=5395025]stephanmc[/MENTION] seems to have fixed camera

https://github.com/StephanMc/cyanogenmod_android_frameworks_av/commits/cm-14.1-dev

I'm going to test his commits tonight, I'm confident those will work because they fit with what I was getting in my logcat in term of errors.

I will keep you informed on the results, but if this indeed works on Omni, I'll greenlight Mako, I really wasn't expecting this kind of commits anytime soon, so good surprise :) [MENTION=5395025]stephanmc[/MENTION], thank you for your hard work mate ! Community really owe you there :D
[Nexus 4 Original Android Development] kldoc:
I've got an announcement to make towards nightlies, we actually decided to change the frequency, we are planning to release weekly builds, this in order to make sure that we don't get faulty builds, and we now have an automatic process to verify builds, every device must pass this check to be added in the build process. Stay tuned ;)
[Nexus 4 Original Android Development] stephanmc:
You're welcome bro! Let me know if it finally works for you :)
[Nexus 4 Original Android Development] kldoc:
Not yet, but closing in, probably missing something, camera does open, but recording fails, AOSP camera. I'm guessing that Google Camera should work, but didn't test.
[Nexus 4 Original Android Development] kldoc:
To give an explanation on why I'm delaying public builds, it's because I'm not satisfied by the need to rely on Google Camera to be able to use the camera. It will take a bit more time to fix, [MENTION=5395025]stephanmc[/MENTION] commit was based on the previous commit to fix the HAL, and the newer one doesn't work with it, at least on OmniROM, I'm not planning any more tests for now, mostly because I'm lacking free time to be able to do more than one test build a day, then I tested all the commits I could, and for now, nothing is working.
[Nexus 4 Original Android Development] tom0769:
IMHO absolutely the right way to proceed.:good:

Build frequency should depend on the devs (free) time and on nothing else.
[Nexus 4 Original Android Development] kldoc:
I just received my Oneplus 3, what it means is I can now work on Mako/Nexus 4 without playing the backup/restore dance, meaning I will be able to test builds a lot faster than i used to be able to, and since I'm already done transferring my data and settings to my op3, first job will be to fix camcorder :)

On a sidenote, that Oneplus 3 is truly a life changing device coming from Nexus 4 ;)
[Nexus 4 Original Android Development] mr_nguyen298:
"gallery has stopped" when i enter camera folder (only camera folder)

Could you help me fix it

Thank you !
[Nexus 4 Original Android Development] kldoc:
Hello folks, I have some "good" news, I managed to get a build working with the old framework_av patch, camera is working normally, but this commit won't be merged. It's a temporary fix until something better is found.

omni-7.0-20161111-mako-HOMEMADE.zip
[Nexus 4 Original Android Development] Has_anDroid:
thanks 7.1 ?
[Nexus 4 Original Android Development] kldoc:
It's not completely merged on our side, then given that 7.1 almost break everything, there's really no need to rush ...
[Nexus 4 Original Android Development] ivanich:
Fix for broken camera after update to 7.1.0_r7 http://review.cyanogenmod.org/#/c/170422/
[Nexus 4 Original Android Development] nababatigyza:
Hi,

Encryption is not working. After enabling it and the phone reboots, it never boots again completely.

Any ideas?
[Nexus 4 Original Android Development] kldoc:
Don't enable encryption, it never has been working reliably on Nexus 4. And I don't plan to work on encryption in the future, Nexus 4 doesn't support hardware decryption, device is aging, you don't want to slow it down even further ...
[Nexus 4 Original Android Development] kldoc:
Thank you, I already know which commits are required, but I won't start the work on 7.1 immediately, there's really no rush to do so, and I need some free time to be able to patch OmniROM correctly and submit those to gerrit/github.

Then, Omni has barely started the work on 7.1, be patient ;)

EDIT: Since 7.0 major bug was camcorder, and I can't really continue on it, I need to go forward, currently syncing 7.1, and will start the work on it, no ETA on a working build :p

For those who need to know what commits were used, just checkout [MENTION=5395025]stephanmc[/MENTION] github, he did an awesome job :D
[Nexus 4 Original Android Development] kldoc:
Just a little teaser ;)

[100% 5447/5447] -e Package complete: /home/kldoc/android/omni_ext/out/target/product/mako/omni-7.1-20161119-mako-HOMEMADE.zip

EDIT: The build works, camera is not fixed yet, but I can't give enough time to fix everything right now, then Omni isn't ready on repos yet, I'm going to ask for some patience, I'm really lacking the time to finish Mako.

I've also started the work on Oneplus 3, I'm not alone on it, but I actually do need to work on it.

Regarding weeklies (we abandoned nigtly builds), Mako is very unlikely to get an official build on Omni 7, too many commits that can't be merged. The device is being considered EOL on official builds, I will do what I can to provide builds, but I don't see how I can manage to merge the needed changes in repos for official builds.

Truth been told, I'm also lacking space on my hard disk to keep 2 devices together, I'm marking a pause on Mako for a while, time to finish Oneplus 3 7.1 bringup, this will take less time than Mako, so hopefully, will be able to come back on Mako with better usable solutions ;)