yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] kldoc:
I have some news, Omni is switching to a more CAF dependent framework av and native, due to the fact Nexus line is dead and due to the fact N is truly a mess on a lot of points. For Mako, this means i'll have a lot to test on OmniROM to see where this is going. This will probably delay official builds ( if there's any), and given that I also work on Oneplus 3, and am also working on a side project, all this in my free time, updates won't be in a timely manner on Mako, I don't give up on it, but you do know how I like to provide a ROM that is fully working, latest build have everything working on 7.0, and I'm expecting a good month before providing a good build for 7.1.

Don't ask for ETA, don't ask for what's the status on it, I am unable to answer any of those at the moment.
[Nexus 4 Original Android Development] mrk2815:
thanks for the information. will be patiently waiting to test. till then I will just use cm 14.1 as that one is stable from stepan.
[Nexus 4 Original Android Development] mrk2815:
also just wanted to let you know that the cm team has brought up their official list. the nexus 4 mako is officially supported, as well as nexus 5x bull head, as well as nexus 6 shamu, and nexus 6p angler. these are the four nexus devices officially supported by cm team for 14.1. just wondering if there is an official Omni list for list of nexus devices supported, so that way i can make my decision as which official branch to flash to my nexus devices.
[Nexus 4 Original Android Development] kldoc:
At least bullhead and anglier as far as I know, can't really tell much more than that. I need more time to integrate CM changes and test those, I'm truly lacking time to finish Mako right now, but it's still pending ...
[Nexus 4 Original Android Development] mrk2815:
any new news on Omni 7.1.1. As google has now released AOSp 7.1.1 sources.
[Nexus 4 Original Android Development] kldoc:
Merge is in progress, but we're reworking our trees, framework_av and framework_native, that's why I didn't say much, I can't really tell you when will be next build, there will be one, but no ETA please ^^ I'm doing as fast as I can, that's all I can say, just a lot going on, and little free time to do so (working way too much :( )

I have a lot of tests to do on Mako, and there's a lot going on with Oneplus 3/3t.

I hope things will soon be more calm on work side, soon in vacations ( Chinese new year, 3 weeks of vacation ;) )
[Nexus 4 Original Android Development] saenanme:
[MENTION=2604804]kldoc[/MENTION], off topic, does this post mean that your are going to maintain omnorom for opo 3/3t?

Regards
[Nexus 4 Original Android Development] mrk2815:
kldoc, I totally understand. take all the time you need.i like the fact that when you give the Omni community rom. you go out of your way to make sure you r giving a stable and bug free maintained rom. thanks I totally understand. everyone is busy. I just wanted an update nothing more , it was a few weeks and so I appreciate all the work. take all the time. I know you guys do all this on your free time with no added compensation. I thank you 1000%.
[Nexus 4 Original Android Development] kldoc:
Yes, difference is I'm not alone on those ;)
[Nexus 4 Original Android Development] kldoc:
Thanks for your understanding :)

Truth is Nougat has been a hell :(
[Nexus 4 Original Android Development] kldoc:
Did a 7.1.1 build, but camcorder isn't working properly, I need to investigate why, but lacking the time to do so now.
[Nexus 4 Original Android Development] mrk2815:
thanks for working on nexus 4. it will just bea a bit more time an then you will have camera recording working an then we will go off to the races for omni builds for 7.1.1. that's good that you have the build working and we know how busy you are. hopefully around the holiday you will have soem timie to yoursleffand some time to mako and hopefully figure out the camera recording issue. maybe taking a look at stepans builds for the camera recording may give you clues as to what needs to be done for that one aspect for nexus 4 mako.
[Nexus 4 Original Android Development] kldoc:
Well, that's what I did, also checked CM's repos to see what was merged, but I'm missing something, recording does start, but stop fails, and video gets corrupted, I just need to be able to spend more than 2 hours on it to be able to figure it out, which has been quite a challenge those past two months. I intend to finish it, but I have to admit I also have op3 and op3t (bringup) to maintain.

Omni is looking forward a unified kernel, much like was just released, but based on LA.UM instead (goal is to have a lot of devices running out of the same kernel). This is going to take some time to achieve, but we're a few maintainers with those devices, so it'll take less time than for mako.

I personally will keep mako as a side device, and keep it alive as long as I can, camera has been a hell on nougat, no matter what brand or model, I'm really hoping to find a long term solution. Until then, latest 7.0 build with working cam is the only thing I can give for now.
[Nexus 4 Original Android Development] mrk2815:
hello kldoc, till you have time to do 7.1.1 and greenlight Omni rom as an official build for nexus 4, I will use your 7.0 rom as i know that everything is working . I have tried almost every rom for nexus 4 till now , nothing is as good as yours as far as having everything working just like it was when google was supporting it in 2012 through 2014 . I am keeping your build on the nexus 4 as a back up device just in case I have issues with my other devices .
[Nexus 4 Original Android Development] mrk2815:
hi kldoc, how are your holidays. happy chinese new year. i am just wondering any new news if there will be omni 7.1 for nexus 4 if nexus 4 mako , is being maintained or not for omni rom 7.1. Just wondering
[Nexus 4 Original Android Development] kldoc:
That's the thing, I wish I had holidays, only starts on 22nd January, with Chinese lunar new year being the 27th. Basically done with op3/op3t for now (this really was highest priority, and managed to have a working build today), so gonna trigger a few builds for mako :) I think I know why it was failing by the way, so, I should have a working build in a not too far away timeframe. Stay tuned, I won't forget you, don't worry :p
[Nexus 4 Original Android Development] mrk2815:
kldoc, so thanks. When you have a few builds working with the camera fix. will you green light the nexus 4 mako for Omni rom nightlies .
[Nexus 4 Original Android Development] kldoc:
I will as long as the required commits don't break other devices, that's the condition.
[Nexus 4 Original Android Development] Has_anDroid:
Thanks 7.1.1 download link please
[Nexus 4 Original Android Development] kldoc:
If I had one to share, would have shared already. Really had no time to make a build for 7.1.1 that meets my criteria to publish yet.
[Nexus 4 Original Android Development] kldoc:
Hello folks, with my work on Oneplus 3/3t almost done, I will come back to try to finish Omni 7 for Mako, but as always, no ETA.
[Nexus 4 Original Android Development] kldoc:
Already started the work, I am not far, give me a day or two, and I should have a build for you, if the needed commits are merged, then go weeklies :)
[Nexus 4 Original Android Development] mrk2815:
kldoc, thanks for the work. cnat wait for nexus 4 mako build for omni and weekly builds hopefully for the nexus 4. patiently waiting for builds and following the thread to see what develops. thanks !!!!!
[Nexus 4 Original Android Development] ze7zez:
Remove minimal dead zone at navigation bar

Could you enable "Remove minimal dead zone at navigation bar", which [MENTION=5091819]spezi77[/MENTION] mentioned in this post?
[Nexus 4 Original Android Development] kldoc:
This will never make it into Omni repos, but I can add it to my own builds I guess.
[Nexus 4 Original Android Development] kldoc:
Still not there yet, can't fix camcorder ATM, i'm really doing what I can
[Nexus 4 Original Android Development] ze7zez:
Did I understand? Is the term "my own builds" means that the ROM ("Remove minimal dead zone at navigation bar") will be available for users of Nexus 4?

There's no rush! OMNI is famous for its stability and not by the quantity builds. We waited two months in Slim7 to record video in the camera. So in OMNI also we can wait.
[Nexus 4 Original Android Development] kldoc:
Well, I do have Omni 7 running perfectly for everything but Camcorder, you said it yourself, we don't like to publish broken builds, I will do whatever I can to get this **** working, I know I will eventually succeed, just don't know how yet.
[Nexus 4 Original Android Development] ze7zez:
You talk to [MENTION=3877985]prbassplayer[/MENTION] and [MENTION=5796730]dragos281993[/MENTION]. They also had problems with the camera and get them solved.
[Nexus 4 Original Android Development] prbassplayer:
Slim's problem was Snap, updated our Camera2 and switched to it, all is well. Need to figure out what's wrong with Snap when I get more time.
[Nexus 4 Original Android Development] kldoc:
thanks [MENTION=3877985]prbassplayer[/MENTION] [MENTION=4810659]ze7zez[/MENTION] really appreciate you both taking some time to give a hand, will check SlimRom trees to see what's going on there, not much is missing in Omni, but that tiny bit is making me mad ^^'
[Nexus 4 Original Android Development] kldoc:
Ok, main difference with my device tree is the same thing than LineageOS, kernel headers for camera, called out inside Omni to know what syntax need to be used, that's where I am.
[Nexus 4 Original Android Development] kldoc:
Hello everyone,

I actually have sad news.

I tried everything I could, but due to the fact Omni uses way less CAF parts than other ROMS, I just can't manage to fix Nexus 4 camcorder on Omni 7.

What this means is there won't be an official build for Omni 7 for Nexus 4, and I actually stop to maintain that device on Omnirom.

I want to thank all the persons that followed my work through Omni 5,6 and 7 on Nexus 4, thanks to all devs/contributors that helped me in this journey, thanks to all users who trusted Omnirom and continue to do so.

I am not leaving Omnirom, I am actually Oneplus 3 and Oneplus 3t maintainer, so for those who own those devices and love Omnirom, you're more than welcome to follow Omnirom on those devices.

Once again, thank you all for your support through the years on Omnirom for Nexus 4.
[Nexus 4 Original Android Development] prbassplayer:
Caf shouldn't have a anything to do with it. Mako on slim uses aosp hals with some minor modifications. What's the problem with camera on omni?
[Nexus 4 Original Android Development] kldoc:
with camera headers, it freezes after taking a shot, without camera headers, camcorder fails.

I checked your device and kernel trees

https://github.com/SlimRoms/kernel_lge_mako

https://github.com/SlimRoms/device_lge_mako

Those are basically CM/LineageOS trees, and kernel doesn't build on Omnirom, would require some changes.

Then well, it's just asking more time that reasonable to keep that device alive.
[Nexus 4 Original Android Development] prbassplayer:
How does camcorder fail specifically? Also what camera app are you using?
[Nexus 4 Original Android Development] kldoc:
https://drive.google.com/open?id=0B7SdORCtpN8bV1ZEM25pbnVZbmc

Stock camera.

With camera headers, camera freezes while taking a shot, with flashlight staying on.

WIthout, camcorder fails stop recording.
[Nexus 4 Original Android Development] prbassplayer:
What happens if you use Slim's camera2 repo for testing sake?
[Nexus 4 Original Android Development] kldoc:
I can give it a shot.

Err, looks like I need a clean build now ... Clearly, I'll try somewhere in the future, but not anytime soon.
[Nexus 4 Original Android Development] justmix4:
Hello kldoc.

Unfortunately, I am not a developer, but maybe these links will be useful to you. The guys in the Krexus G+ community discuss about some bug also with the camera.

https://github.com/Funny-Bunny/android_manifest/blob/krexus/local_manifests/local_manifest.xml

https://github.com/Funny-Bunny/device_lge_mako/commit/65b714fc3e3a06396a43bec0d2e771b3d7112ccf

https://github.com/Funny-Bunny/device_lge_mako/commit/3da524b83e421a2c44f74e1db654fb30e64f9f84

Maybe [MENTION=3190122]KreAch3R[/MENTION] or [MENTION=5796730]dragos281993[/MENTION], [MENTION=4217103]zaclimon[/MENTION], [MENTION=5091819]spezi77[/MENTION] can tell you more about this issue and maybe they try to help you, I hope...

Dear knights Order of the Nexus 4 help kldoc save OmniRom. :(
[Nexus 4 Original Android Development] dragos281993:
Just PMed kldoc.
[Nexus 4 Original Android Development] justmix4:
Thank you dragos for your time and attention.
[Nexus 4 Original Android Development] kldoc:
Wow didn't expect so much people to actually follow my work on this, thanks all for your support !

I am really touched by the sudden amount of people coming here to not let it go ^^'

[MENTION=5796730]dragos281993[/MENTION] got your pm, thanks for your help mate, thing is I think I already tried those in the past, I remember why I didn't go much further bout this though, really didn't like the global CFLAG thing, and thing is I really doubt I will be able to merge that in Omni, but who knows, if it doesn't break anything for anyone else, might make it through ;). Reverted all my local commits, gonna make a build with the changes you pointed, will let you know if it works.

Thanks everyone for supporting me on this.

EDIT: I finally realized the why it was failing, we never had any changes for METADATA_CAMERA_SOURCE

We only had CAMCORDER_GRALLOC_SOURCE

No commits for native handle. Working of idefing the hell out of this.
[Nexus 4 Original Android Development] mrk2815:
in the case of dragos build, he is using the camera 2.5.2. from what i recall. i will have to ask him in his pure nexus threads.
[Nexus 4 Original Android Development] dragos281993:
Yes, Google Camera 2.5 is the last working version (fully working).
[Nexus 4 Original Android Development] kldoc:
I'm using either AOSP camera, either Snapdragon Camera for my tests, anything else won't make it as an official build.

I believe I am close, got the changes for native handle metadata in current trees, I'm having an appops issue that avoids boot, was about to test the commit to kill appops, but ran out of space, partial resync to gain some space.
[Nexus 4 Original Android Development] dr_oidcon:
Just wanted to let you know that I'm also eager to try out your ROM as soon as it's done. The time and effort you put into this is very much appreciated! My Nexus 4 still feels way too potent and snappy to be put into early retirement... :)
[Nexus 4 Original Android Development] kldoc:
I really tried everything I could, camcorder won't work, I am sorry, but I really give up, Omni trees aren't on par with other ROMS, and there's not much I can do about it.
[Nexus 4 Original Android Development] mrk2815:
kldock, thanks for all of yoru efforts. we all understand you tried your best to keep Omni alive on nexus 4 mako. its ok. I have two roms that will keep mmy add with nexus 4 tinkering. it will be either dragos pure nexus as he has figured most things out and I could ive with out flashing builds nightly just whent hter are critical patches with pure nexus builds. thanks ffor all the wonderful work wfor what you gave us with Omni rom 5 and 6 for neux 4. ti was a wonderful experience with the nexus 4 . I gues its time ot move on.
[Nexus 4 Original Android Development] nitin.chobhe:
So I built the ROM with my changes and the camera worked, even the camcorder.

BTW I used camera2, [MENTION=2604804]kldoc[/MENTION] I can PM you the changes if you wish. But I used CAMCORDER_GRALLOC_SOURCE instead of METADATA_CAMERA_SOURCE (if that would work for omni). [MENTION=5796730]dragos281993[/MENTION] also did the same changes I think.

P.S.: If you think I should not share the build in your thread, please let me know, I'll remove it from here.

Thanks!

Nitin
[Nexus 4 Original Android Development] kldoc:
Awesome mate ! I actually hesitated on that 2 weeks ago, but didn't find the time to test it, if you can pm me the changes, that would be awesome, be certain that if that manages to revive Nexus 4, you'll get the proper due credits !

No issue sharing the build here :D
[Nexus 4 Original Android Development] justmix4:
I don't believe... This is only a dream... ???
[Nexus 4 Original Android Development] nitin.chobhe:
I replied to your a pm with the github links (with the commits that I cherry picked).

I hope you have got it :)

Try that and it would work :good: Tell me if you have any queries.

Nitin
[Nexus 4 Original Android Development] kldoc:
I checked out the commits, but issue remains the same, frameworks_av commits are conflicting with the one in Omni, so basically, all my efforts were headed towards an official weekly, and I now know it's impossible.

I advise users to use your [MENTION=5044214]nitin.chobhe[/MENTION] build until O, which I will eventually try to bringup on Mako, but official builds will probably never happen.

I unfortunately lack space disk to keep doing builds with the needed changes, that's why I can't keep you updated with new builds, I'm lacking the budget to buy a new 1tb drive, and that's what I'm missing to be able to push my photos (i'm doing photography as another hobby) and grant more space for alternate source trees.
[Nexus 4 Original Android Development] mrk2815:
at least there is aan unofficial build even its nnot official it will keep those who have nexus 4 device happy can nitten chob keep nexus 4 omni rom builds with security patches and unofficial builds till there is an official channel for nexus 4 .
[Nexus 4 Original Android Development] justmix4:
Do you have added in this build all extras from the official Omni7? I'm just curious. If we had such a one full working build with sources everyone could try compile the latest security updates on their computers in a while. :)

But for me personally functionality is over the security.:cyclops:
[Nexus 4 Original Android Development] nitin.chobhe:
It has everything in it. So basically it's official build except just the official tag ;)

Nitin
[Nexus 4 Original Android Development] mrk2815:
nitten, how would one go about then updating . with the build that you have compiled , would it be possible to do the OTA functionality that the Omni rom has build into it.
[Nexus 4 Original Android Development] nitin.chobhe:
If you are asking me, then my name is Nitin

No, ota would not work. You'll have to download the rom zip and flash it

Nitin
[Nexus 4 Original Android Development] mrk2815:
sorry for the misspelling, nitin, please keep omni rom around and up to date if it means flashable zip from time to time. depending on your commitments.
[Nexus 4 Original Android Development] kldoc:
You're not using our hardware, build, and framework trees, so no. you can't call this Omni, your changes work on your trees, but I can tell they don't on pure Omni trees ( i tried)

I'm glad you shared a build, but this is not Omni, it's a fork
[Nexus 4 Original Android Development] nitin.chobhe:
OK, as far as I understand, I'm using all omni trees and few additional commits to make camcorder work.

But if you think it's not omni, that's fine. I was just trying to help :)

Removing the build from my post.

Nitin
[Nexus 4 Original Android Development] kldoc:
[MENTION=5044214]nitin.chobhe[/MENTION] Don't get me wrong, I really appreciate your efforts, both by providing a build and providing your changes

I indeed really appreciate your help, but by respect for other Omni contributors and their work, yes, I can't let a fork be called Omni.

That's the why of my message.

If you can make those changes work on Omni trees, you're more than welcome to do so, I would support your changes without thinking twice.

My message is only out of respect for the work of others on OmniROM, I hope you can understand, no offense intended, and I really do appreciate your efforts.

I actually was pleased by the fact you took interest in Omni enough to provide our users a build I was unable to provide.

For those users that enjoyed your work, I really can't say anything and already welcomed your work here, and if you can forgive my harsh tone (that was for protecting my team-mates work), i would really enjoy and be pleased that you keep that build here.

If you wish to maintain Omni for Mako, be certain I will help you to do so officially, you're a person, a contributor, and a dev of value. I would be more than happy to have someone replacing me on that device :D

In other words, I'm sorry if you felt offended by my message, I hope you understand the reason why, and really hope we can work together in the future to update Mako, as I told you so through pm.

Best regards,

kldoc
[Nexus 4 Original Android Development] kldoc:
[MENTION=5044214]nitin.chobhe[/MENTION]

Actuallly, I would wish to add you as a contributor to this thread, and replace my build with yours in OP, just waiting for your answer on both my pm and my answer in this thread, be certain I do respect and appreciate your work.
[Nexus 4 Original Android Development] kldoc:
Hello folks, been talking with Nitin, but he can't take over Mako, I myself am too busy to solve camcorder issue on 7.1.x

I will do an O bringup, with hopefully the needed changes in Hal merged, it might actually work. Until then, Mako is unsupported on Omni.
[Nexus 4 Original Android Development] mrk2815:
any new news on any development for new 7.1.1 rom for nexus 4 .
[Nexus 4 Original Android Development] kldoc:
Didn't have the time to try anything lately, "might" happen in the future, but until then, nothing. Too busy with work, and Oneplus 3/3t is taking all my remaining free time (not a lot lately).
[Nexus 4 Original Android Development] mrk2815:
guess time to see if i can get my hands on a 1plus 3 off of e bay or should i wait for the 1 plus 4. just wondering. i know the nexus 4 has lived its life and time to move on.
[Nexus 6 Q&A, Help & Troubleshooting] DON2003:
after updating to official OTA to nougat, how do we root the device? need to get back the double tap to wake hack and notification led,
[Nexus 6 Q&A, Help & Troubleshooting] dahawthorne:
Flash TWRP and install SuperSU as normal.
[Nexus 6 Q&A, Help & Troubleshooting] istperson:
Wait for the new tag in platform/manifest and build an aosp, then port all the relevant features to Nougat. I know I'm gonna do that . :D
[Huawei P9 Questions & Answers] ciumpedala:
The dual lens technology of the phone is compatible with the Attachable Lens accessories like Tele, Macro, Fisheye , wide angle, etc. ?

If yes somebody can share experience? its worth to get them?
[Huawei P9 Questions & Answers] Noetmi:
Hello , yes it works for me but no on low light because at this time it use the dual camera ;)
[Huawei P9 Questions & Answers] Ygrek-Ix:
Few examples made by microscope lens from Ali..... :
[Huawei P9 Questions & Answers] ciumpedala:
Thanks Guys,,,

Could you show how lens are mounted...? should cover both lens? can you put a link to get the lens?
[Huawei P9 Questions & Answers] cv4n3:
You cover the lens that on the outside, don't cover the inside which is the 'RGB' (colour) lens.

Obviously you will lose the monochrome lens because you cover it up, but this lens is mostly used in lowlight situations to sharpen the images.

So as long as you don't want to lose quality, use the attachable lens in natural light.