yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] kldoc:
Well, I'm still in vacations, and not going anywhere, going to try to see what I can find.

Since you're the one who built Nexus 4 device tree for N, you actually know about selinux ? I don't know much, and really could use your eyes on what i might have missed, your selinux is working for cam, while mine isn't. I'll upload the system_sepolicy changes to my own github if you can, those are only local changes for now.
[Nexus 4 Original Android Development] zaclimon:
I can surely take a look at it, do you happen to have a logcat so I can see precisely what's happening when you try to open the camera?
[Nexus 4 Original Android Development] kldoc:
Well thanks mate ! But I actually found the culprit, when i put your selinux commits (with proper author), i couldn't actually cherry-pick as is, and i forgot to add cameraserver.te in the process (stupid, I know), so to this point, besides some commits that were added on the device tree (that i'll add later, better safe than sorry), Omni 7 for Nexus 4 is up to date with what you have here, next step is trying to solve that video recording issue, i still have a few days ahead, gonna check what i can find. I'll let you know if i find anything !

I also have a better implementation for the libc clang patch, I basically set a flag which you can then enable in boardconfig.mk

Cleaner ;) Will give you the link as soon as I upload it.
[Nexus 4 Original Android Development] mrk2815:
will ther be October security patches for the aosp 7 rom.
[Nexus 4 Original Android Development] Crysis2:
hi!

ROM is smooth and beautiful and free of bug!

i have a question:

is it possible to dirty flash v8 on v7?

thnx

and lots of thnx to zaclimon for new life to our device!
[Nexus 4 Original Android Development] Cizzle4:
Yes it is, but you probably will need to install gapps again, so

1. Wipe caches

2. Install v8

3. Install gapps again

And you are good to go ;)
[Nexus 4 Original Android Development] WHOARETHROLL:
I hope that will soon be scheduled transition to 7.1

:victory:

Big thanks you, [MENTION=4217103]zaclimon[/MENTION] for you work!
[Nexus 4 Original Android Development] kldoc:
[MENTION=4217103]zaclimon[/MENTION] here is the commit for the libc flac

https://gerrit.omnirom.org/#/c/19483/
[Nexus 4 Original Android Development] Crysis2:
well good point is that i havent installed gaaps! ;)

edit: installed v8 and during installation setup nagging about "Failed to mount '/usb-otg' (invalid argument) except this every thing is fine!
[Nexus 4 Original Android Development] saeedgh08:
gapps not installed

error code 70

W I do?

THX
[Nexus 4 Original Android Development] Cizzle4:
Just download and install the opengapps micro, should be fine
[Nexus 4 Original Android Development] zaclimon:
The flag is nice, thanks!. I believe that it might be even better to strip the value from the flag directly in the mentionned I say this because $(use_clang) is always returning true so instead of pasting the same code all over again. (I'm not sure if you know what I meant, I'll try to demonstrate that if I have the time during the weekend as it is Canada's thanksgiving)
[Nexus 4 Original Android Development] ras_jack:
hi!!!, i want to install this rom in my nexus 4, is there some tutorial for install this rom from stock rom?. My phone have not unlocket boot loader, neither root access, so i need a tuto from 0.

Thanks.
[Nexus 4 Original Android Development] optimus83:
Hello All,

- I did factory reset on my N4 with this ROM after which phone is boot looping into TWRP.

- I tried wiping cache, data,system and then installing V8 and gapps . It installs fine without any error but on reboot again goes into TWRP.

- What should I do to boot into this Rom.

Please help
[Nexus 4 Original Android Development] jhonnyx:
Hey buddy.

Try the following:

- Update TWRP version to latest then flash V8 + gapps

if it does not work, sadly you'll have to do this:

(First backup all your data ;) )

- Flash stock image

- Flash TWRP

- Flash V8
[Nexus 4 Original Android Development] optimus83:
Thanks for the reply [MENTION=2088054]jhonnyx[/MENTION] . Flashing factory (stock) image worked . All good now . Thanks again !!
[Nexus 4 Original Android Development] DocLM:
Is encryption working? I tested it on my device but it doesn't show encryption progress.

I found that some apps (es. AVG, Whatsapp, Pokemon go) think that the device is rooted when it is not.

Also music app crash.
[Nexus 4 Original Android Development] TechnicsKuzya:
[MENTION=4217103]zaclimon[/MENTION], I have two Nexus 4 with Nougat (try your build and also [MENTION=6117313]ganachoco[/MENTION]s) - bluetooth paring between it not working - give me the connection error, that is why don`t work NFC file transfer (NFC beam). When I`m install factory build 5.1.1 - no problem with that function... Sadly... Can you do fix for this bug?
[Nexus 4 Original Android Development] C@illou:
Just installed your ROM on my N4, flashed the zip, flashed the nano gapps (mini and full were too big), wiped data, flashed super su. But when I booted, I didn't have any setup wizard! Had to launch it with:

Also, I had to reflash gapps, as it didn't seem to have worked the first time, weird. It's now retoring me device. Thanks again for this port :)
[Nexus 4 Original Android Development] jhonnyx:
Just to report I'm using V8 and NFC is working OK on my side.

Can you state if your issue is with NFC or Bluetooth? Thx
[Nexus 4 Original Android Development] TechnicsKuzya:
Issue with file transfer by bluetooth, NFC/Android beam used it. Two Nexus 4 with Marshmallow/Nougat can't pairing...
[Nexus 4 Original Android Development] TechnicsKuzya:
Today I`m check bluetooth paring/file transfer with other smartphones based on Marshmallow:

1. Xiaomi Redmi 3S - paring, but Redmi lost connected Nexus and file transfer not work.

2. Huawei Honor 6 - paring and file transfer work in both direction.
[Nexus 4 Original Android Development] Thrikiller18:
http://xdaforums.com/google-nexus-5/devs-only/google-aosp-camera-issue-t3469471

[MENTION=4217103]zaclimon[/MENTION] hello sır. Have this thread got some useful info about our camera problem?
[Nexus 4 Original Android Development] zaclimon:
That's what I supposed initially concerning the HAL but without any particular understanding about it, I couldn't really do anything.

That's why some apps works. (Stratosk one and Camera4)

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Original Android Development] Cizzle4:
since you are a newbie i suggest you to use a useful tool to unlock the bootloader and then install the twrp and so install the rom, the tool name is Nexus root toolkit it works on windows so you need a PC and then it is very easy to use

(in case you have no clue how to use the tool you can find on youtube billions of video who explain that)
[Nexus 4 Original Android Development] C@illou:
I installed the quanta kernel v19 linked in the OP, but it doesn't seem to have USB OTG, am I wrong? Is it a Nougat limitation? If anyone managed to make it work, please share how you did it.
[Nexus 4 Original Android Development] groovepeppy:
Can someone attach Camera4 installer here

I would love to try it on (another) Nougat build

Thank you
[Nexus 4 Original Android Development] saeedgh08:
HI bros

I installed your rom but my phone crashed on starting apps

(long time ... time ...)

Wipe data/factory reset & cash & delvik done:silly:

now..

W I do?
[Nexus 4 Original Android Development] ManikandanGuru:
Hi,

I have factory reset the phone in the MultiROM TWRP and then rebooted again to the MR TWRP and flashed the V8 and Open Gapps Nano.

Now if I reboot to system it reboots straight back to MR TWRP again. What have I done wrong?

Can anyone please help me with this?

Thanks.
[Nexus 4 Original Android Development] ze7zez:
First, check the checksum of the downloaded ROM with the sum specified on the server.

For aosp_mako-ota-eng_V8.zip, md5 checksum must be 22f014df220d464990839c5287780ae4

Second. in TWRP 3.0.2.0 you do the backup Data partition, and then do follow the Factory Reset and wipe partition data.

Only then install freshly aosp_mako-ota-eng_V8.zip.
[Nexus 4 Original Android Development] zerodi:
Hi guys, revived my nexus 4 after 3 years, replaced a broken lcd and frame - Booted to fastboot mode , says phone is unlocked - Flashed TWRP latest 3.0.2.0 booted to new recovery

Wiped everything, anf formated data - Flashed Rom then reboot twrp then i flashed gapps pico 7 - reboot phone - Phone boots to android logo and is stuck there for 15mins

Tried several times, anyone know why it wont boot to system ?

Thanks
[Nexus 4 Original Android Development] ze7zez:
First try to install an earlier version and run.

If working properly overwrite the last version.
[Nexus 4 Original Android Development] wangjingkaibear:
Cant flash opengapps

I cant flash openGapps.

TWRP 3.0.2 notice that i should use gapps for 5.0.1(SDK21)
[Nexus 4 Original Android Development] adstraylight:
Try going into the mount section of TWRP, uncheck system, then try to flash the gapps again.
[Nexus 4 Original Android Development] Liacon:
Hi guys, the rom works really well on my mako, the only problem it's a massive battery drain.

If the phone is for 2 days on, the doze mode didn't work any more

But I think it's my phone's problem, it's 2 year old.

Btw i didn' any other problem, the rom is really smooth
[Nexus 4 Original Android Development] mcabre:
My N4 works on any Nougat based ROM less than 24 hours. On MM it worked up to 36 hours, I think, that Nougat builds are still fresh and to be optimised. Maybe it will get a little bit better.
[Nexus 4 Original Android Development] zerodi:
You mean flash an earlier Android build like 5.1 or something?

I actually just downloaded and flashed stock 5.1.1 from Google .... Flash All .bat , same thing happened stuck on boot screen ..

This time I left it while I went to the store 40mins nothing :( won't boot up :(
[Nexus 4 Original Android Development] Gu$houn*:
Hey, I don't now if that's the cause but on some MM ROMs I needed to make a factory reset right after the flashing otherwise I got a bootloop, so my flashing procedure was like: reboot to recovery, wipe manually /system, /data, /cache, /dalvik > now you probably have to reboot recovery or unmount system via mount menu > flash ROM, gapps, SuperSU, busybox, emojis, whatever > go into wipe section > make factory reset > reboot system.

Try that and you'll see.

P.

[sntfrmnxs⁴]
[Nexus 4 Original Android Development] ze7zez:
You did well.

However, there is also the possibility that the media nand memory or RAM is physically damaged, or if you are the unlucky who has damaged processor, which when running sysemu heats up and causes problems.

In this case, try to put smarfon for several minutes in the freezer until it has cooled down, then remove it, turn on the power and put back in the freezer. Wait 10 minutes and remove the back. What you see?

Have you tried to boot in Safe Mode (Vol- during boot)?
[Nexus 4 Original Android Development] ermacwins:
Does video recording work with bacon camera https://play.google.com/store/apps/details?id=com.fgnm.baconcamera
[Nexus 4 Original Android Development] zerodi:
Thanks will try..... Just flashed two and tried several variations of wiping flashing , etc based on feedback here but still no joy 1hour and doesn't boot :(

Phone does get pretty hot while trying to boot so I'll try the freezer thing now :)

.... Freezer didn't help , still not booting hehehe :( crazy phone
[Nexus 4 Original Android Development] *Jonny*:
Camera working in Snapchat and messenger?
[Nexus 4 Original Android Development] christopherblackwell:
Could anyone please patch the SystemUI.apk of this ROM for this :

https://android-review.googlesource...droid/systemui/statusbar/policy/DeadZone.java

Link to the thread is

http://xdaforums.com/nexus-4/general/wip-navbar-deadzone-workaround-t3243822

It's been merged into AOSP but this ROM doesn't have it.

I'll be extremely grateful.

I really need my NavBar working on this ROM
[Nexus 4 Original Android Development] JardyRobot:
Yes..

It works in every app but vídeo does not...
[Nexus 4 Original Android Development] ras_jack:
Thanks man!!!, i'll try. =)
[Nexus 4 Original Android Development] ChaconBR:
Thanks a lot!

Many thanks to the developers. My Nexus 4 out of the drawer! :good::good::good:

I look forward for LTE Band 7 enabler... :fingers-crossed:
[Nexus 4 Original Android Development] sachingodara2:
that's the only rom that has non freezing YouTube app and the google assistant works too if you know how to enable it.

that's the best 7.0 rom i've ever used.
[Nexus 4 Original Android Development] sachingodara2:
If y'all want google assistant to work in your device, the only thing you'll need is root and a root explorer to edit build.prop.

just add this line 'ro.opa.eligible_device=true' in build.prop and change product model to Pixel like this 'ro.product.model=Pixel' save the build.prop and then clear google app data, reboot done.

View attachment 3901890

View attachment 3901891

View attachment 3901892

View attachment 3901893
[Nexus 4 Original Android Development] djskribbles:
Is the nougat quanta v19 test kernel safe to use with other nougat roms, such as Pure Nexus? I have always used Quanta with PN MM and have recently flashed to PN Nougat.

Sorry didn't know where to ask this.
[Nexus 4 Original Android Development] magnus48:
Yes. It's safe to use in any nougat rom.
[Nexus 4 Original Android Development] Cizzle4:
it is safe to use with all aosp based rom (NOT with CM based ones)
[Nexus 4 Original Android Development] Cizzle4:
i have no more access to my 5GHz connection with android 7.0 rom, and the downloads of stuff is very slow..

update: seems the downloads are no more slow, but still cannot connect with my 5GHz wifi
[Nexus 4 Original Android Development] ChaconBR:
Waze

After apps installations everything seems to work fine except Waze. The map is not loaded and displays the message "oh-oh current position is unknown." Map is showing ok at GoolgeMaps and others.

Any tips?

Tks.
[Nexus 4 Original Android Development] dragos281993:
Try changing the gps mode to "device only" in settings. Sometimes the "high accuracy" mode is worse than the other option. Try that. Close Waze and delete it from the recents menu, change the option I mentioned above, then reboot your phone (for good measure) and then open the app again.
[Nexus 4 Original Android Development] Izonfire:
Hi,

I'm on cm14, there's features in this ROM ? Thanks

Envoyé de mon Pixel XL en utilisant Tapatalk
[Nexus 4 Original Android Development] tonysansone:
This rom is amazing. Very fast and smooth. Great job mate. I hope that you consider to update at the last android 7.0 version with october security patch. Keep it up!
[Nexus 4 Original Android Development] Cizzle4:
this rom is stock android 7.0 has no features, but it's pretty smooth though
[Nexus 4 Original Android Development] ChaconBR:
Did not work. In fact, Waze asks for "high precision".

But, no worries. I'll keep trying some configurations another upgrade.

Thanks a lot!

Enviado de meu LG-D855 usando Tapatalk
[Nexus 4 Original Android Development] Stealth356:
Verify permissions...
[Nexus 4 Original Android Development] shobuddy:
I'm not able to enable System UI Tuner. Seems simple enough, swipe down and hold the settings wheel till you get notification that its enabled. I've tried this several times but no luck. Surely i'm missing something real simple?

Edit: I had animations turned off. After turning animations on, I was able to enable System UI Tuner.
[Nexus 4 Original Android Development] ermacwins:
[MENTION=4217103]zaclimon[/MENTION] I don't know if you have video recording but some of the cm14 roms we had video recording wasn't working but now it does seems to work. From a Russian dev. This is on snap camera.

http://xdaforums.com/showpost.php?p=69117533&postcount=69
[Nexus 4 Original Android Development] zaclimon:
I got video recording working earlier today with camera2 and I plan to update the rom with these changes later so stay tuned. [emoji14]

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Original Android Development] dragos281993:
That russian guy took Isaac's patch and added it to the specific file. Sadly, I don't see him mention anywhere zaclimon's name to give credit, but whatever.
[Nexus 4 Original Android Development] djskribbles:
Thanks for all your work zaclimon.

Is there any ETA on your next Quanta kernel for Nougat?
[Nexus 4 Original Android Development] zaclimon:
It doesn't matter all that much since this patch is a hacky one. I'll try to make it more device independent so it can be used on more older devices.

No.

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Original Android Development] ermacwins:
Does snap camera work on this rom?

Looking forward to the update

How do you know he took it from Isaac's patch?
[Nexus 4 Original Android Development] zaclimon:
I don't know since I'm still on marshmallow at the moment.

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Original Android Development] Cizzle4:
why you still on marshmallow? what combo are you using? (rom kernel i mean)
[Nexus 4 Original Android Development] Crysis2:
if you happen find one please share some links here to! thnx!

---------- Post added at 12:49 AM ---------- Previous post was at 12:43 AM ----------

a link to Camera4 please!

thnx
[Nexus 4 Original Android Development] zaclimon:
I still have to work on QT, thing I haven't been really able to do yet and Nougat is becoming a pain as far as root apps are concerned.

Apkmirror is your friend!

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Original Android Development] Cizzle4:
[MENTION=4217103]zaclimon[/MENTION] i knew you work on qt, what rom do you use? (6.0 i mean)
[Nexus 4 Original Android Development] zaclimon:
True I haven't answered that part. I'm using a self built Krexus alongside Quanta.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Original Android Development] Cizzle4:
i'm looking for a stable rom, but i end up always with same nougat rom, this mean i will wait for your aosp 7.0 update :D
[Nexus 4 Original Android Development] zaclimon:
Last obstacle breakthrough!

What's up guys, this morning I had a discussion with [MENTION=2604804]kldoc[/MENTION] telling me that he may have found some fix related to the video recording. Here I am tonight saying that the "last big wall" for Nougat on Mako has been lifted! :D Without any other due, here it is:

V9: (14/10/16)

- Video recording on Camera2 partially fixed (Video shakes sometimes)

- Fixed stack trace for native processes

- Updated to October's Security patches

- Misc fixes

To those interested in the fix in itself, here's a little situation context. With Android 7.0, Google decided to separate mediaserver into several processes. One of which is cameraserver. Our HAL which is using Camera API1 HAL1 was passing it's metadata using virtual addresses. This method was fine since both processes lived under the same roof. However, it is not something that could have been possible with this new solution as explained here:

https://source.android.com/devices/camera/versioning.html#hardening

kldoc proposed me a CM patch which is at the moment is being worked on here:

http://review.cyanogenmod.org/#/c/165008/

This patch briefly reverts the change made to get back to pre-Nougat behavior. (In which case will still get everything working fine) I then have found the current patches you can look in my Github for. The reason I went with this instead of the CM proposed one is because whilst it would fix the issue for good, it's kinda hacky since it's reverting to an old behavior. I found that adapting the HAL was a better approach and have gone with this solution instead.

I would like to thank [MENTION=4343949]PecanCM[/MENTION] for the bring in you da man! (or team) XD

Anyways, enough talking, the build is available in AFH's folder.

Enjoy!! :)
[Nexus 4 Original Android Development] magnus48:
I've just dirty flashed v9 over v8

1) flash aosp v9

2) flash gapps-arm-7-micro

3) flash quanta kernel v19 (optional)

4) flash super su 2.78 (optional)

Double first boot (caused by super su). A very long first boot as usual after flashing the rom, and yes video recording is fully working with aosp camera, so i've uninstalled google camera 4.

5) After boot, Reactivate google assistant by editing build.prop (optional)

Thanks a lot to zaclimon. I'm using this rom from v2 since today, and I'm very happy with it and without having any problem.

Still WIP?
[Nexus 4 Original Android Development] Thrikiller18:
Do that voice issue which kldoc mentioned also appear on this build?

---------- Post added at 06:34 AM ---------- Previous post was at 06:07 AM ----------

Hello sır. Could you confirm if lockscreen freeze is fixed in this build please?
[Nexus 4 Original Android Development] Goldian:
At the moment there is no chance to download the v9. All mirrors are saying file not found.
[Nexus 4 Original Android Development] swapnil0545:
I was about to use it as a daily driver but sound is not working on calls. Can't hear the caller tune nor voice after call is accepted. Any idea how this can be fixed?

---------- Post added at 06:07 PM ---------- Previous post was at 06:06 PM ----------

I installed 3rd party music player. It works just fine.
[Nexus 4 Original Android Development] zaclimon:
Yeah I forgot to push my local changes. It should be good now sorry about this.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Original Android Development] pourya-man:
cellular data dont work
[Nexus 4 Original Android Development] ganachoco:
Hello, [MENTION=4217103]zaclimon[/MENTION].

For your information.

I can confirm GPS is working after apply this patch.

https://gist.github.com/ganadist/75307f7d05defaa7d519ae87b148202a
[Nexus 4 Original Android Development] avinashjirapure:
+1 cellular data not working
[Nexus 4 Original Android Development] tej12345:
Can u hear the other person during call?
[Nexus 4 Original Android Development] zaclimon:
I'm beginning to check repo's from CM and your patch is in on of the patched repos found here:

https://github.com/CyanogenMod/android_hardware_qcom_gps/blob/staging/cm-14.0/loc_api/libloc_api_50001/loc.cpp#L699

Thanks for the heads up! I'll try to see if I could use the Audio repo so the earpiece can be fixed. :) I'm also looking at the data connectivity not working.

Also sensors breaking is probably due to the new compiler used by Android for Nougat which is Clang. Some more details explained over here:

http://review.cyanogenmod.org/#/c/117757/

EDIT: Cellular data/GPS fixed
[Nexus 4 Original Android Development] nitin.chobhe:
Awesome :good:

Nitin
[Nexus 4 Original Android Development] knm1574:
EDIT: Cellular data/GPS fixed[/QUOTE]

Thank you Zaclimon. Can you push the fixes related to GPS, Cellular data to GIT repo pls.
[Nexus 4 Original Android Development] nexuspur:
Its so great to see how much effort you still make up for this device, I use it as my backup phone and it is still performing very well because of all the great devs around here. I will keep it as backup, see how many years it could survive, maybe until android Oreo :p
[Nexus 4 Original Android Development] dragos281993:
Wow ! [MENTION=4217103]zaclimon[/MENTION] , you're doing a great job. I'm glad our Nexus 4 is not dead yet. And at this rate, it looks like we'll get the stable version of the new OS even before people got their new Nexus phones, just like last year. Xda is awesome.

??
[Nexus 4 Original Android Development] A$h!$h:
how to fix " com.qti.dpmserviceapp " has stopped
[Nexus 4 Original Android Development] kryzeK:
I have Settings crash when I turn on or reboot the nexus. Nobody yet reported, it is only me?

And it's not so smooth as M. Any patch for fix it?
[Nexus 4 Original Android Development] dragos281993:
I think it's a bit too early for absolute smoothness. I suppose the priority is fixing bugs and functionality related problems. But hang tight cause we'll have stable N pretty soon.
[Nexus 4 Original Android Development] swapnil0545:
Can anyone guide me where I can find the repo for nougat ? Also how can I build one(resources)