yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] yaymalaga:
I'm using your nougat-release projects too, that are the same of aosp-msm8960. The only difference I see it's in the manifest, where they are using the android's revision "refs/tags/android-7.0.0_r1", while I'm using the master one. Anyways, It's seems to be a device specif error, so I'm not sure if this could be the problem.
[Nexus 4 Original Android Development] zaclimon:
You shouldn't be using the master branch as they have much more updated (and potentially unstable) code than the code available for a specific OS version. The reason why I name the branches in my projects like this is to be sure that the code works for this specific branch.

Download from either the nougat-release branch or the refs/tags/android-7.0.0_r1. (Which either will redirect you to refs/tags/android-7.0.0_r1)

Also you will be better using msm-aosp as I will:

1. Push my changes there from now on

2. They have all the dependencies needed. (minus the vendor which I haven't pushed yet)

Hope it helps.
[Nexus 4 Original Android Development] yaymalaga:
Really appreciate, I will give it a try!
[Nexus 4 Original Android Development] zaclimon:
Hi everyone, I will keep this one simple since it's a simple little update:

V5: (05/09/16)

- Enabled Doze for real this time

- Reverted a change that may have broke Camera (Not that I've seen changes really, I wanted to be up-to-date, thanks ganachoco)

As said in the post for V4, I will try to see if some particular bugs can be fixed but I definitely won't be able to maintain this project as much as I've did in the last two weeks. If I really don't have the time to continue, it might be possible that I close the thread or transfer it to somebody else. This is mostly why all my sources are available on AOSP-MSM8960. I'm pretty sure even if I'm not here, there will be great devs that will carry on this project ( [MENTION=6117313]ganachoco[/MENTION] [MENTION=5091819]spezi77[/MENTION] [MENTION=2604804]kldoc[/MENTION] :p)

I will also probably move the the builds to BasketBuild once it gets back. (I'm already at the third of my bandwith allowance for the month on my server.) The build is available in the OP.

Enjoy!! :)
[Nexus 4 Original Android Development] kuladiamond:
Hi guys, excited about Nougat coming to the Nexus 4 :) So the steps to install this ROM as I understand it is to: flash ROM, boot system, reboot to Recovery to flash GAPPS, flash SuperSU, wipe data, then boot system again. Is this right? Can I flash the Quanta kernel also?
[Nexus 4 Original Android Development] Anthonius:
Already are using kernel quanta? if so, give me url of download please, for test...
[Nexus 4 Original Android Development] Tmfz:
The link is in the op for 7.0 quanta test...
[Nexus 4 Original Android Development] Swapnil Soni:
Step by Step to have Nougat on Nexus 4 :)

-for those who are facing some problems

-crashing google play services

-some other questions

then go here and watch this.

Hope this will be helpful to you !! :fingers-crossed:
[Nexus 4 Original Android Development] Bringhimup:
Some small questions

Hi!

First of all. Thanks to zaclimon for making Android 7 possible on Nexus 4. :D

What I did was using your Version4 Rom and installed it (with wipe of everthing so I made a really clean install). After I was done with installation I configured everything to my liking. Took some hours but almost everything seemed to work fine until then (sync of contacts:good:, Camera4 with 720p:good:, google play services:good:). The only issue I had so far is: AdAway can not copy a hosts file automatically to system/etc/hosts, even so it has root rights. I had to do it manually (with ES File Explorer) to get adblocking to work. Has anyone any clue what goes wrong?

Afterwards I created some widgets with google maps to create a lot of shortcuts for navigation on my homescreen. And I put my most used apps onto the homescreen, too.

But then I saw that zaclimon released the Version5 of his rom and I was very curious to install this version.

This time, with Version4 already installed, I did not wipe anything prior to flashing Version5. And afterwards almost nothing was running flawless at all. I could not get the contacts to sync any more (everything else could sync). Many apps were crashing again. My navigation shortcuts were missing. Homescreens were almost empty again.

In the end, to get everything working again, I had to restart the procedure from the start with wiping anything (including data), installing gapps, super su. Correcting permissions, installing camera4, creating all my navigation widgets with maps and so on.

My biggest question: Is it possible to update to Version6 (if it is ever released) without having to do a total wipe again, without losing the ability to sync the contacts and losing every shotcut I created on the homescreen?

Greetings
[Nexus 4 Original Android Development] dramalicious:
Clean flash is recommended always! U can backup your data in TWRP and after u flash rom u go and restore that data.
[Nexus 4 Original Android Development] mirevnak:
Problem Root

Not working supersu. (ex: Adaway is error).
[Nexus 4 Original Android Development] kldoc:
Doing my best at the moment, but time is playing against me, still didn't manage to finish an Omni 7 build due to stupid errors (really stupid ones ...) and lack of space, I think i'll be able to have a build by the end of the week, but I'm unsure yet, have a lot of backups to do before flashing, and lack of time to do so, but all commits (nearly all) that have been done here and other motioned devs are included, just on an Omni base instead of 100%AOSP, device tree differs a bit.
[Nexus 4 Original Android Development] TNSMANI:
Report on V4:

This is only a report and not a complaint.

First a big, big thanks to zaclimon for keeping the awesome N4 still alive and relevant.

I had initially flashed V2, then V3 and then V4. All clean flashes with everything except internal storage wiped.

Steps:

Boot to TWRP

Wipe all except internal storage

Reboot to recovery

Flash ROM

Flash Open Gapps Micro

Flash SuperSU

Wipe Dalvik and Cache

Reboot to system

On all the three occasions, Google Play Services crashed. After giving all permissions to it, no further crash. V4 now working smoothly.

Apart from what others had already pointed out, the following issues still persist (atleast for me):

1. Doze not working in all the three versions. Check for Doze app reports that 'Doze configuration flag not enabled'. (The Dev has now said that he has enabled Doze really in V5. Will check and report).

2. DEVELOPER OPTIONS>Inactive Apps shows all my apps as active. None of them change to inactive on clicking, including third party apps.

3. Video, whether 1080p or 720p works (no crashes) but does not save in either (atleast for me).

4. Video play back now is able to use both hardware and software decoders in V4.

5. Lockscreen (swipe) requires atleast three full (from bottom of phone to top) swipes to unlock if phone is idle for more then 10 or 15 minutes. If unlocking within a minute or two, a single swipe suffices.

Despite Doze not working and using only Greenify, I am able to get excellent battery on V4 as evidenced by the screenshot. In fact this is the best battery life I have seen since KitKat.
[Nexus 4 Original Android Development] goldenboy48:
Dirty flashed V5 on top of V4. Flashed Gapps again as well but ended up with the problem of contacts not syncing and a lot of Google apps FC. Installed contacts from apkmirror. Did anyone else have success with dirty flash?

Edit: did a clean flash and everything is good.
[Nexus 4 Original Android Development] spa856:
Thank you bro! I'm going to try with wipe data and cache...

Why do you suggest to re-flash gapps?
[Nexus 4 Original Android Development] MarshmallowBandito:
Hey guys.

Thought I would share my normal rom update method, just tried it when going from V4 to V5 and have had zero issues. Been using this method on loads of ROM's, Dirty Unicorns and also PureNexus. Most times it works

Download new update (V5)

Download fresh gapps. (Same size gapps as previous version you had)

Reboot recovery

Wipe system, cache, dalvik

Reboot recovery

Flash V5

Flash Gapps

Flash SU

Wipe cache, dalvik

Reboot.

This keeps all your apps and data and works like an ota update.

Hope this helps and hope it works for you guys. :)
[Nexus 4 Original Android Development] knm1574:
Hi Zaclimon, can you share vendor repo for N4 for Nougat as I am trying to build PN.
[Nexus 4 Original Android Development] spa856:
I solved the problem sync contacts.

When you install/update the new version, on start go to contact and add your gmail (not from settings -> account ->gmail)...directly it find the contact and it create your account. It works 100%.
[Nexus 4 Original Android Development] zaclimon:
I was using the one from krexus, though I changed the graphics binaries. I will upload them later.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Original Android Development] Mata99:
[MENTION=4217103]zaclimon[/MENTION] what do you think to use UBERTC?
[Nexus 4 Original Android Development] ariesgodofwar:
Am seeing ~30%, highest use by far

---------- Post added at 12:49 PM ---------- Previous post was at 12:46 PM ----------

SU works just fine, you need to flash Systemless Hosts V2 for AdAway to be compatible with Systemless root. This is a limitation of AdAway, not the build.
[Nexus 4 Original Android Development] Tmfz:
I don't believe misc is actual battery drain. Read it's description. The same thing was present in early versions of M.

I just got 4 hours SOT on my last charge which would be impossible if misc actually drained 50%+ of my battery as listed in my battery stats.
[Nexus 4 Original Android Development] kldoc:
UNTESTED yet ...

It's a fork from Omni's own repo, main difference with most other ROMs is kernel is AOSP, where CM uses some blobs from CAF, i made sure to keep using the ones from Google stock rom ( flo's blobs for Marshmallow).

https://github.com/kldoc/proprietary_vendor_lge

I already pushed the newer adreno blobs from one of your build ;)
[Nexus 4 Original Android Development] Bringhimup:
Will try that the next time (if we ever get a V6)! Thanks for the hint.

That seems to work indeed. Thanks!
[Nexus 4 Original Android Development] Cizzle4:
i just did (v4) flash rom reboot recovery flash gapps flash kernel (dont know if kernel works on on v5) reboot enjoy
[Nexus 4 Original Android Development] kldoc:
[MENTION=4217103]zaclimon[/MENTION] Thank you so much for your hard work !

Omni 7, Mako 1, take 1

[100% 2468/2468] -e Package complete: /home/kldoc/android/omni_ext/out/target/product/mako/omni-7.0-20160906-mako-HOMEMADE.zip

Still have that patch to integrate, but want to redo it a proper "github" way, won't test it before this weekend, but couldn't have done it that fast without what you did, so, a real huge thank you for what you did !
[Nexus 4 Original Android Development] kad3t:
After installing v5 I've been unable to change Home app to Google Now Launcher - did anyone else experienced that? I can install it but then when I try to run it, it tells me to go to Settings > Home and pick a launcher there (which it NEVER did before) so I go there and it's not there on the list. Only the stock crappy Launcher3.

Anyone else had this issue? If yes, how did you deal with it?
[Nexus 4 Original Android Development] TNSMANI:
I have had the same issue on V2,3,4 and 5. I simply went back to Nova.
[Nexus 4 Original Android Development] kad3t:
It worked fine in v4 here but now there isn't anything I seem to be able to do to make it work - I cannot run any other launcher on my N4 other than the crappy Launcher 3. :(

EDIT: Obviously happens with both ROOT and when there's no ROOT.
[Nexus 4 Original Android Development] ariesgodofwar:
I just flashed the Nexus Launcher .zip after booting, and had no issue. Did you re-download Google Now Launcher from the PlayStore? You might try that.
[Nexus 4 Original Android Development] TNSMANI:
You can run the Nova Launcher. I am running it and even the free version has so much functionality.
[Nexus 4 Original Android Development] MagnoT:
Thanks for replying =]... I actually faced the same battery drain with Quanta test. So I reflashed. This time using Fake Nexus M, update with your Nougat build with 7.0 gapps nano and supersu. The battery seems ok now.

Again, no other issues. Everything is working fine. Thanks!
[Nexus 4 Original Android Development] kad3t:
Yeah, I got it from the Play Store and it didn't work...

I did however found sort-of-a solution. The reason was flashing opengapps pico package. Same thing happened on my Nexus 7. Going to a bigger package whilst installing the ROM solved it. Seem like the pico package is just not fully functional. Anything above it solves it.

Going to Nova was not an option, I love my Now Launcher. :)
[Nexus 4 Original Android Development] xabier-bo:
I have v19-test kernel flashed (everything seems OK).

As Quanta tweaks says it's only for marshmallow, what app would you recommend me for tweaking purposes?

Thks...
[Nexus 4 Original Android Development] owaisahmad870:
What about multirom ? ?
[Nexus 4 Original Android Development] knm1574:
Hi Zaclimon, Kldoc any one of you will help me to get out of PN build error pls. Error link: http://hastebin.com/cucamejije.vhdl. Look forward for your help.
[Nexus 4 Original Android Development] kldoc:
Yes, you can't build using the updated sepolicy if you didn't patch with that

https://github.com/ganadist/device_lge_occam/commit/09409abdcdbe737f07402ff4b77109e9682a2805

That's what i mentioned i didn't patch yet, only did part of it and i need to put it in proper commit form on github.
[Nexus 4 Original Android Development] SqoLi:
Dirty Flashed v5.

Wipe System,dalvik,cache => Reboot Recovery => Flash ROM, Fresh GAPPS, SuperSU => Wipe dalvik,cache => Reboot.

Everything seems fine, Video saves in 720p using Camera 4.1.

The only issue is, that to unlock sometimes needed to swipe a lot of times before it works. This issue has been before on v4 (clean flash) and it is still there.
[Nexus 4 Original Android Development] knm1574:
Thank you Kldoc for your immediate reply. :). How to add a patch without modifying the files in each folder like ganadist did.
[Nexus 4 Original Android Development] tom0769:
Be sure not to install super su in systemless mode.

For details about how to install in system mode use some search in google.
[Nexus 4 Original Android Development] bart.found:
I tried the test version of Quanta kernel for Nougat... it works quite well.. but it only works in dual core mode! It never plugs the two other cores! Weird..
[Nexus 4 Original Android Development] kanishkad:
Can confirm this, last 2 cores are being plugged in very rarely and gets unplugged in an instant.
[Nexus 4 Original Android Development] Cizzle4:
i have no issues to use any launcher who i installed, if you dont find the "home" section on settings, just wrote in with the search key up on left
[Nexus 4 Original Android Development] g33k0 b3lk0w:
Restart the phone, will be there after it, be sure to run google app once before
[Nexus 4 Original Android Development] owaisahmad870:
Multirom supported or not ?
[Nexus 4 Original Android Development] haelmchen:
I'm having this issue too. But I can't reproduce it and I wasn't able to track it down whether I swype too short or something else. Right now it works flawless.
[Nexus 4 Original Android Development] magnus48:
Dirty flashed (no wipe at all) ROM V5, then flasehd over SuperSU, and finally Open Gapss micro 5 SEPT version. After a System Reboot & long wait to boot.

Check Doze on V5 says all is ok. All the rest works as well, same that on v4 for me. Contact syns is working, and Google Now launcher is working too

For all people having:

- Contact sync problems, the issue is from gapps, so if the gmail account is OK, try to reflash gapps or use banks gapss as suggested in the thread.

- Google Launcher Now problems, the issue is from gapps, so try to reflash gapps micro or use banks gapss as suggested in the thread.
[Nexus 4 Original Android Development] mackendw:
Torch not working on v5..??

Installed v5 build with latest opengapps. Did a format on data, system and wiped dalvik. anyone know what might be happening?
[Nexus 4 Original Android Development] Tmfz:
It can be a bit temperamental. Reboot your phone a few times and see if it eventually decides to work, that's what I did at least.
[Nexus 4 Original Android Development] TalhaMoazSarwar:
Multiple Alarm icons on statusbar, how can i fix this ???
[Nexus 4 Original Android Development] MarshmallowBandito:
Can't access system in root explorer

Hey guys so i have SuperSU installed but can't access the system folders.

Is this because of the systemless root method?

:confused:
[Nexus 4 Original Android Development] kldoc:
For my part, i'll be recreating those manually and then commit, not really much choice.
[Nexus 4 Original Android Development] jagroshan:
Anyone having issue in flashing OpenGApps 7.0 on V5 ? Opengapps is detecting android version as 5.1.1 so installation fails.
[Nexus 4 Original Android Development] Tmfz:
Reboot your recovery and try again.
[Nexus 4 Original Android Development] jagroshan:
rebooting recovery worked..
[Nexus 4 Original Android Development] Praddies:
hello thanks for the good work done! I have just installed the custom rom ''AOSP 7.0 V5 (05/09/16)'' on nexus 4_Build LMY48T(mako) and the GApps won't install and GOOGLE PLAY SERVICES CRASHES. PLEASE WHAT SHOULD I DO.
[Nexus 4 Original Android Development] mackendw:
Yes, that fixed it. so a kernel issue I presume. I installed a torch app from the play store and it works fine all the time.
[Nexus 4 Original Android Development] Princxu:
i want nougat for Android One Micromax Canvas A1 AQ4501 :(
[Nexus 4 Original Android Development] dramalicious:
Go back some pages and do some reading. You will find the answers.
[Nexus 4 Original Android Development] mackendw:
The search thread box near the top helps too...;)
[Nexus 4 Original Android Development] filmymonk:
Hello

I am noob but this is how it worked for me

Clean Installation:

Wiped everything except SD Card

Reboot to recovery

Flashed v5

flashed opengapps micro

Flashed supersu 2.76 (not 2,78)

Clear chche/dalvik

Reboot to system

it took 3-4 minutes to start

setup started, completed setting up google account while play services was crashing

tried to restore apps via play store, it kept showing error (it cant connect) but it was connected in the background ans apps were getting downloaded via playstore

Gave all permissions to play services

I have not faced a single issue except flashlight not working

Doze is working, no misc battery drain at all

Thank you very much!
[Nexus 4 Original Android Development] jagroshan:
For me Flash(Torch Light) started working once it was used in camera app.
[Nexus 4 Original Android Development] Yeseshvi:
This ROM is actually quite stable and smooth. I'm pleasantly surprised that we have a stable Nougat for our mako before the later Nexuses even got it.

Great :)

---------- Post added at 04:02 PM ---------- Previous post was at 03:58 PM ----------

Have you tried the other GApps packages? I tried flashing the stock GApps but it shows some error. How much internal memory will the stock GApps even need? :eek:
[Nexus 4 Original Android Development] Makarrim:
How do you get rid of misc battery drain

everything works including flashlight

i charged my MAKO to 100% and wanted to test doze until i cam back after an hour to see that it was 92%

Battery is quite bad im getting misc drain alot

Can any1 help me get rid of Misc please?

And i cant do gesture word on my keyboard although all gestures are on.... ?
[Nexus 4 Original Android Development] cqloveqc:
Boot into system first without gapps, after finishing this,

reboot and flash gapps, and maybe recovery gapps.

all will be good
[Nexus 4 Original Android Development] DickTaidor:
Smart lock

Does anyone know, what has happened to smart lock?

By the way - this rom is awesome!!! Nothing less. It seems more stable already than did the MM-ports almost half a year after first release. Big thanks to zaclimon!

---------- Post added at 11:29 PM ---------- Previous post was at 11:16 PM ----------

Solved: Settings -> Security -> Trust agents -> activate Smart lock
[Nexus 4 Original Android Development] jirka108:
hi

is possible system mode root on this rom and not systemless root ? if so, how?

Thanks
[Nexus 4 Original Android Development] nimbold:
First of all thanks for this awesome work!

I found out we should flash all zip files one by one and not using "add to queue".

After that i had a problem with SuperSU which didn't work and then after booting to Android I flashed it again and this time it worked.

Now all the things that matter to me are working well. Oh, and man this ROM is smooth!

One thing I don't understand is why in setup menu (first boot), while Google sent me 2-step verification code by SMS, there was no notification by messenger app and I couldn't login to Google account. After skipping Google account and going to main menu I found out the code was already sent to me multiple times but not showing notification in first boot caused the problem.
[Nexus 4 Original Android Development] jolinnard:
No need to boot. The quick workaround is: flash ROM zip, then go to menu Mount, check system, uncheck system. Flash opengapps. Done.

The problem seems to be updater-script in opengapps package or in ROM that don't unmount /system before finishing.
[Nexus 4 Original Android Development] Makarrim:
How do you get rid of misc battery drain

Someone please help
[Nexus 4 Original Android Development] patil.ketan:
Thanks for this great rom!!:good:

Everything seems to work fine except notification LED, which I can leave without!
[Nexus 4 Original Android Development] loop4444:
hello, first of all a big THANK YOU for all the work you have done for n4, its a huge pleasure to use all your stuff, from karnels to this rom.

i have everything working here-led notification works with light menager app from the store and torch works out of the box aswell. i have a question regarding the v19 quanta karnel modification that works with 7.0 tho. the one thing i cant live without is headphone analog volume gain, or how they call it, poweramp gain that was a setting in quanta tweaks for like forever (it basicly boosts headphone volume without any loss in sound quality)

now,my understanding is that quanta tweaks app itself is not yet working with 7.0 (too early, perfectly understandable), and in karnel audiotor app the setting is grayed out. so my question is this: is the said tweak actually enabled in v19 for 7.0 (can i use it or not anyway) and if so, how do i enable it, can i edit some files and change the values, or is there another karnel app that allows me to set it. i dont really mind doing it after every reboot eighter. thanks in advance for any answer.
[Nexus 4 Original Android Development] mirevnak:
:(

Use systemless root but not working adaway and System App Safe Remover.
[Nexus 4 Original Android Development] saleiro:
I'm truly amazed with the performance of this rom. Everything worked out of the box. Maybe scrolling in apps like Twitter is a little bit more laggy than in 6.1 but is something insignificant. Thanks a lot.
[Nexus 4 Original Android Development] psyconinja:
For some reason it keeps saying

Google play services has stopped

its popping up every 10 seconds
[Nexus 4 Original Android Development] dragos281993:
I think you need to call the police for that.

Are you getting attacked, or did you you lose your cat, or you ran out of Coca Cola ?

You've been very vague about why you'd need help, friend.
[Nexus 4 Original Android Development] ariesgodofwar:
Please read previous posts and use the search box......this has been asked and answered multiple times. Cliff Notes- Install BusyBox and AdAway Systemless Hosts v2 zip file, these are limitations of systemless root, not the ROM.
[Nexus 4 Original Android Development] spa856:
Is possible to change kernel? If yes, do you have suggestion?
[Nexus 4 Original Android Development] str3tch72:
Try Quanta V19 test version. You have it provided at the first page.

Wysłane z mojego Nexus 4 przy użyciu Tapatalka