yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] TheArt.:
I'm unable to install google camera from play store. I just can't see it! (I deleted the camera from system in order to have more MB there). I already tried dirty flashing the ROM, but I still have no camera. Any suggestion?

BTW the ROM is great!
[Nexus 4 Android Development] dragos281993:
Get it from here:

https://www.apkmirror.com/apk/google-inc/camera/camera-2-7-008-release/
[Nexus 4 Android Development] TheArt.:
Thank you but in this way camera won't be updated through PlayStore, right? Is it a normal behavior? I remember that in other 6.0 Roms I was able to update it from there. Correct me if I'm wrong.
[Nexus 4 Android Development] dragos281993:
Open the "My apps..." section in the Play Store and search for the camera app. I don't believe this app its gonna be updated any time soon, at least not for phones that aren't running at least Android 6.0.

As you can see, the version I gave you to download is v2.7. It hasn't been updated in like forever because it's working just fine, so don't worry about not being able to update it through the Pay Store. ApkMirror is where you'll always find it as an apk file, along with all the other Google apps, etc.
[Nexus 4 Android Development] alkhafaf:
Hi,

I made a clean install, and followed the installation steps as being mentioned in the second post. The ROM booted fine, but when I want to start the play store, it doesn't start. after that, the notification bar cannot be pulled twice to show the toggles. Please help.

Update: solved, I reflashed after recopying the ROM, maybe it was corrupted. I am very surprised about the speed and the smoothness of this ROM!!! Amazing and the effort is really appreciated.

The only problem is the standby time not like I expected for Marshmallow. Maybe It will enhance more with usage while the App Standby feature gets its effectiveness.
[Nexus 4 Android Development] ariesgodofwar:
Features say T-Mobile US Wifi Calling, does this actually work? How do you utilize?
[Nexus 4 Android Development] Mapo72:
it's the first time that I install this rom, after clean flah it's all ok so far. I'm looking for a rom with a good performance and battery life for my old N4.
[Nexus 4 Android Development] tinynja98:
Hello, i speak french and i want to have this ROM in french. Is there a way to modify the language of the elements added by Pure Nexus? If the only way is to translate all the strings one by one, just tell me how to do it and maybe i could send my work so people don't have to do this again. Thanks!
[Nexus 4 Android Development] telm.olivella:
1. Is Doze working? i put in settings the optimize to all the apps but if I go back and go in, isn't activated..

2. What about wake up the screen with 2 touches?

3. Sometimes the screen lights with the notifications in black&white without touching. What is that?

The Rom is very smooth and I'm going to sleep everyday with a 40% of the battery so i love it! And Now On Tap is amazing!

Thank you guys!
[Nexus 4 Android Development] dragos281993:
1. Doze is working just fine. Only the Play Services are not optimized by doze because they have to be constantly updated/gather data.

2. DT2W is a feature that you'll get only with custom kernels. I suggest "Quanta v13 (aosp)".

3. That is something called " Ambient display". It turns the screen on, only in black and white colors, whenever you receive a notification. It can be found in Dettings --> Display. You can either tweak it or completely disable it.
[Nexus 4 Android Development] telm.olivella:
But the Ambient display should work when i move the phone and i think isn't working in this case...

Should i change the kernel? I just dont want to force my lovely N4 xdd

Thank you!
[Nexus 4 Android Development] dragos281993:
The ambient display feature has been exclusively created for the newer Nexus devices that have a motion sensor, along with a bunch of other sensors that the Nexus 4 lacks. It's been modified, adapted to work this way, cause otherwise it wouldn't have worked the way it's supposed to.

But don't worry, it doesn't force the device or eat any battery life. I tested it and It's fine.
[Nexus 4 Android Development] arjundas86:
In the first few weeks of Marshmallow, I too used to question whether Doze was really doing much. At night, I could see that battery usage was minimal, but I was skeptical about its benefits during my day of use.

Then I found some apps that can customize when your phone goes into doze mode, how long it stays there, etc. (You probably need root). Allowing your phone to sleep better during the day, while you're not using it can significantly improve your battery life as well.

I know of two apps that can modify doze settings, and work quite well:

NapTime (by Francisco Franco) or Doze Settings Editor.

The parameters are explained in the apps themselves, and in the xda forum posts for the apps. Hope it helps.
[Nexus 4 Android Development] Vasco9519:
Blackbuffalo i want to really say thank you for your hard work and for continuing developing for us, we really appreciate your work!

Since i unlocked the bootloader i haven't changed rom, that One in perfect. I'm expexting only One strange bug... With facebook messenger when i'm listening an audio reconding if i adjust the volume the app immediately crash, is very strange and i don't understand why... Can i do something to send you the error?
[Nexus 4 Android Development] Xehaust:
Could I ask the pros here to help me out.

I want to figure if I can get the Double Tap to Wake feature on my Nexus 4 since I'm having trouble with my power button.

I did try to find out before posting here but the only thing I found was that I'll have to change the kernel to Hellscore kernel which as a kernel saps battery life quite a bit.

(Also, just saw dragos281993's post above to install Quanta v13 (aosp) kernel)

My questions are:

1 - Is there any other way to get Double Tap to sleep without changing the stock kernel? Will it effect battery life in any way?

2 - Will that method work with any Marshmallow based ROM? (Ive been using this ROM ever since I learnt to flash & love it (thank you to all the contributers, developers & blackbuffalo for it), but just asking in case I flash any other ROM in the future, like perhaps CM13)

3 - If I have to install a kernel, which would be closest to stock (or better) regarding battery life, performance & reliability/stability as the only thing I want is DT2W & don't want or need anything else.

4 - If I have to install a kernel, does that kernel become permanent {i.e. when I flash different Roms, will it stay or will it need to be changed with every ROM flash (update to same ROM or even changing Roms)?}

5 - Are all kernels compatible with all Roms or is there something regarding compatibility to keep in mind between different kernels & different Roms?

6 - Any other considerations to keep in mind for Kernel flashing? And is there a way to go back to stock kernel after I've changed it?

(PS - I'm new to kernels, never tried it. Just recently learnt how to flash Roms so please forgive me if I'm asking stupid questions)
[Nexus 4 Android Development] dragos281993:
1. There's no other way of getting dt2w but flashing a custom kernel. "Quanta kernel" is the only kernel left that's constantly being updated, so it's future proof for now. It works great and the dt2w feature doesn't eat battery almost at all. I've been using it for a while.

2. If you're still referring to dt2w, the feature will be there on any other ROM you try, as long as you flash Quanta over the ROM. Dirty flashing a ROM, maybe to update it, overrides the custom kernel so you'll have to flash Quanta again right after the ROM is done installing.

3. There's no custom kernel "close to stock". That's the point for having them: more features and capabilities. If you want stock, the best option is to stay on stock. There's no custom kernel with only dt2w. From my experience, custom kernels have always been better than the stock ones, in every aspect.

4. I already explained that at step no. 2

5. When you want to try custom kernels, you have to make sure you don't flash 2 different ones, one after another. For instance, let's say that you have Pure Nexus ROM installed on your phone and you want to try Taurus kernel. You flash it, you "play with it for a while" and then decide to try another one just to see what the difference is. To do that, you have to dirty flash the ROM first, then flash another kernel. Don't forget that. I always do a cache wipe whenever I try something like that, just in case, but it's optional.

To go back to the stock kernel you can simply dirty flash your ROM. its the easiest method. If you want to do that differently, you can extract the boot.img from the ROM you were using and flash it via fastboot, but that's to much work and it's more difficult for no reason, cause the dirty flash option is significantly quicker.
[Nexus 4 Android Development] coolek33:
And why not volume rocker awake? It's in settings. Double tap to sleep on statusbar is there too. Or screen of tile in QS and double tap on lockscreen or even navbar. Replacing n4 power button is not so hard and expensive BTW ;)
[Nexus 4 Android Development] AvidPhisherman:
Hello comrades, does anyone here use the Security > Smart Lock feature?

It works only sporadically for me and I don't know why. Only rarely will my N4 stay unlocked for extended periods of time; most of the time it ignores Smart Lock and continues to lock even after I enter my PIN multiple times.

My screenlock is set via 4-digit PIN, my GPS is always on (set to Battery Saving), and I have two Trusted Places (GPS coordinates + home location set via Google account).

What am I doing wrong?
[Nexus 4 Android Development] TheArt.:
I think it depends on how are you locking your nexus. If you use power button, then it's is OK. But if you use an app o a widget, these may break smartlock. Using the function integrated in Nova, for example, works perfectly for me.
[Nexus 4 Android Development] Xehaust:
Thank you for the thorough explanation. Clears all my queries. Really appreciate it.

Edit: Now one more question, just checked the Quanta kernel thread & there are 2 kernel versions (Aosp & Cm)

Ofcourse, CM version of quanta kernel is to be used with CM rom. But when is Aosp version to be used? And is CM version of quanta kernel to be used with any other ROM apart from Cyanogen?

And which kernel version do I use with this ROM?

Because DT2W is very convenient compared to physically clicking any hardware button.

Am aware of all the features you pointed out.

Not bothered to replace since it's still working, just a little sporadic sometimes, hence just using it as an excuse to install DT2W which is way more convenient even when everything is working perfectly anyway.

Thank you for your inputs.
[Nexus 4 Android Development] dragos281993:
There are 2 types of ROMs: based on AOSP sources and ROMs based on CM sources. The best ROMs, at the moment, for our N4 are Pure Nexus and Chroma. Both are bases on AOSP, meaning that you'll need the AOSP version of "Quanta v13". The cm version is not specifically meant for the CyanogenMod ROM. There are ROMs that use the CM sources.

Usually you can find what a ROM is based on in the beginning of its thread, in the description section of the OP page. That's what you usually need to look for when you want to flash a custom kernel.

If you have more question, go ahead and ask.
[Nexus 4 Android Development] Xehaust:
Haha.

Thank you so much for the prompt replies. Going to flash the kernel & use it for a few days & report back & will surely ask if I come up with any more questions :)

Once again, really appreciate it.

I now know why everyone says XDA forums is great :D
[Nexus 4 Android Development] dragos281993:
XDA FTW !
[Nexus 4 Android Development] dixon85:
CM LiveDisplay

Today I decided to move from stock. I have tried The Pure Nexus Project as my first nexus ROM. I must say it is a great ROM so far. Thank you very much for your hard work!

The only thing I miss is CM LiveDisplay feature. I'm using iton my tablet running CM and other phone running OmniROM. Is it somehow possible to add LiveDisplay feature to The Pure Nexus Project?
[Nexus 4 Android Development] dragos281993:
Ask here:

https://plus.google.com/communities...4/stream/71f7c3b7-dd0c-40d8-bc34-19a5709ab7ac

This is an Unofficial build. You'd have to ask Nate Benis, this ROM's developer for features.
[Nexus 4 Android Development] Xehaust:
[MENTION=5796730]dragos281993[/MENTION]

Sure enough, I have another set of questions:

1 - I'm using the CMTE version of this ROM. Does that make a difference to the kernel? As in, though the ROM is Aosp based, I'm using the Cmte version of it, so should I flash quanta Aosp (since the ROM is Aosp based) or quanta CM (since I'm using the cmte version of this ROM)?

2 - What order do I flash?

From what I've understood, it should go as below:

Wipe system, dalvik, data & cache - flash ROM - flash kernel - flash gapps - reboot - your good to go

Is this correct?
[Nexus 4 Android Development] dragos281993:
Both versions of the ROM are AOSP based. One uses CMTE (cyanoge mod theme engine) and the other uses Layers. So only the theme engine is different.

The order should be like this:

1. Wipe everything except for the internal storage.

2. Flash ROM

3. flash Gapps <banks gapps recommended : https://www.androidfilehost.com/?fid=24438995911976821 )

4. Flash kernel

5. Wipe both caches again (optional)

6. Reboot.
[Nexus 4 Android Development] Xehaust:
Alright, perfect.

Why Banks gapps & not the one in the starting of this thread?

Wipe both caches in the end means Dalvik & cache, yes? Or is it system cache & cache?
[Nexus 4 Android Development] coolek33:
In advanced wipe: cache, dalvick data and system. Flash Rom, gapps, kernel and reboot. This clean flash. Semi clean: wipe cache, dalvick and system and flash. That's how I'm doing on all of my devices when updating the same rom. No issues so far.

For gapps U can use slim, banks, open...

Im using open Pico gapps.
[Nexus 4 Android Development] Xehaust:
Had typed out a whole proper post on my phone yesterday & for some reason, it didn't get posted on here :(

Will try doing it again tonight.

PS: Does anyone know why it asks to login to my Google account when I try logging into XDA from the computer?
[Nexus 4 Android Development] elgar:
Hi! GPS isn't working in this ROM. I tried different settings with Google maps (high accuracy and device only) but with no avail. Is there a fix for that?
[Nexus 4 Android Development] tom0769:
Using latest build and GPS is just working fine!

Did you do a clean install?

What gapps do you use?

Do you run a custom kernel?

Did you change any privacy settings on apps?

Did you try it with an app like "GPS Status", just to see if GPS is generally working (finding some sattelites) but maybe not getting a fix.
[Nexus 4 Android Development] elgar:
I did a clean install latest ROM (03.11), using latest open gapps mini, no custom kernel. I don't think I changed privacy settings unless asked by giving permissions.

I'll try GPS status app to see if the phone if getting fixed position.

Edit:

GPS Status app showed that I get a fixed position, but it's not stable. At first I couldn't get any position at all. After I changed the setting to "device only" it found the position but it took quite awhile. But after switching to Google maps, I could tell the GPS fix wasn't stable.
[Nexus 4 Android Development] zephyr79:
Will do cheers for the heads up
[Nexus 4 Android Development] ju1da:
Try to use gps status or gps toolbox from playstore. Somehow it will help you fix the errors.
[Nexus 4 Android Development] saeedgh08:
nexus 4 (occam)

Hi Bros, My phone is nexus 4 (occam) with Mako Board & Hardware; So can i install this Rom?:confused::angel:
[Nexus 4 Android Development] ehbm:
Thanks for this rom, is very awesome. Im on thr Layers build, theres a way to install the snapdragon camera over the stock?
[Nexus 4 Android Development] dragos281993:
Of course you can. It's written in the description that the ROM is meant for the Nexus 4. And you can also see it in the bar above that you're on a Nexus 4 thread. Make sure you read the instructions before flashing anything.
[Nexus 4 Android Development] saeedgh08:
Thanks so much dragos281993 :D
[Nexus 4 Android Development] bibianthony35:
Hey guy.

I have installed last week pure nexus for my nexus 4 (layers not CMTE) with default kernel and i have a problem:

when i don't use my phone (and phone go to sleeping mode) , after a long period (more than 1 hour) i can't receive reminder of my gmail calendar or alarm clock don't work for exemple. But, it's work when batterie is charging.

I don't use task killer. Do you have the same problem ?

Best regards
[Nexus 4 Android Development] arjundas86:
Do you use Greenify, aggressive doze, or any Xposed modules that try to conserve battery by some variant of deep sleep?
[Nexus 4 Android Development] bibianthony35:
Thanks for you reply.

I don't use any application for conserve battery, that's why i don't understand my problem.
[Nexus 4 Android Development] Ommadawn101:
Basics

In order to get rid of my lagging phone app, I reflashed everything.

In TWRP recovery I selected all wipes, except for internal storage.

After flashing rom and gapps, wiped dalvik and cache. Hopefully, this will solve my problem.

But now, I have a totally different question.

Since I wiped everything, how come my phone "remembers" some of my settings? such as:

My wall paper image

My alarm settings

My phone ring sound (a custom sound I saved in internal storage)

And some more minor details.

Isn't wiping system, wipes all settings? Apparently not
[Nexus 4 Android Development] zephyr79:
I get this too when I update, I don't wipe internal storage or data so I'm guessing that's maybe why.
[Nexus 4 Android Development] elgar:
Did you set your phone as "new" phone or you restored the settings of the previous account?
[Nexus 4 Android Development] Ommadawn101:
Of course I selected to restore phone. Am I nuts to look for 100 apps in the playstore to d/l?

Are you hinting that alarm wall paper ringtone etc. are saved in google account? I think not

---------- Post added at 07:44 PM ---------- Previous post was at 07:43 PM ----------

I did wipe data

Did not wipe internal storage
[Nexus 4 Android Development] elgar:
If you did a full wipe, there is no way anything would be restored back. So, yes, I think Google restored your alarms, wallpaper etc.
[Nexus 4 Android Development] Ommadawn101:
Unless full wipe does not really wipe everything....
[Nexus 4 Android Development] elgar:
It does, don't worry. I've done it hundred times
[Nexus 4 Android Development] dragos281993:
A new "hellscore kernel" is out, for those that are interested. Just flashed it, tested it for a bit and it works very well. Go check it out.

http://xdaforums.com/showpost.php?p=65930579&postcount=11527
[Nexus 4 Android Development] Ommadawn101:
I did that as well, using sgs1 SII S3, among other devices, and I never encountered this (i.e. wallpaper, alarm, ringtone etc. preserved). I find it really strange
[Nexus 4 Android Development] mjehan:
There is 03/15 Release according to the change log. It's probably not ready for the N4 isn't it ?
[Nexus 4 Android Development] Anthonius:
Help me ;D

would someone kindly explain how to install a core , I was reading about hellscore for N4 and apparently works very well
[Nexus 4 Android Development] underskyzx:
Just like any other kernel, flash in recovery.
[Nexus 4 Android Development] razorsbk:
Or use Flashify.

I've just installed this rom last night coming from stock lollipop.

I'm really impressed, everything is flawless, speedy and clean. Battery life is pretty good with stock kernel. Maybe I'll try hellscore later.

Also it has a lot of subtle features that impressed me: double tap to sleep, screen on notification, status bar personalization etc.
[Nexus 4 Android Development] Sephiroth1311:
Hi guys! I'm a proud owner of Nexus 4 and I'd like to thank all the developers for this great ROM. :)

Everything is great and fluid... however, I do have a little problem. Nothing serious, but it's something annoying.

Whatsapp messages (and, therefore, notifications) get to my phone delayed when I'm not actively using it. Sometimes, as much as 2 minutes later (I made some tests with my brother's smartphone). Also, this prevents me from using Whatsapp web correctly: after a while it just loses connection with the phone. :confused:

I come from Frank's custom ROM, with which I wasn't experiencing this problem.

I hope someone will be able to help me. :)
[Nexus 4 Android Development] popogijo:
I think this is a google (doze) problem. I bought my daughter a N6P (stock) and she was having this kind of problem with her messaging apps. I went to settings, battery and then optimization and selected all apps. Then used "do not optimize" on each messaging app. With these not optimized her problem went away. However, I believe googles update this month had some connectivity fixes. I re-optimized all her messaging apps and everything is ok now. I believe the official pure nexus roms have this update (they came out on the 15th). Don't know if blackbuffalo has them in this rom. If not, he's usually close behind the official updates.
[Nexus 4 Android Development] Sephiroth1311:
Thanks, I just turned off the battery optimization on Whatsapp.

I'll report the results later. ;)

EDIT: Seems to be working like a charm now. Thanks again!
[Nexus 4 Android Development] razorsbk:
I came back with a few questions:

- LTE is enabled by default in this rom right ? So it will show that i'm connected on LTE only if my provider uses the frequency ?

- Where can i set the amount of time my screen stays on when i get a notification (i think it's called Ambient display) ?
[Nexus 4 Android Development] KSLevel11:
Does this Rom contains pie controls or something similar? Bottom part of my touch screen is not working (navbar area).

Wysłane z mojego Nexus 4 przy użyciu Tapatalka
[Nexus 4 Android Development] coolek33:
Nope, homie. It doesn't have pie.
[Nexus 4 Android Development] TNSMANI:
A Very Nice ROM

Chroma was my first custom ROM and I was using it for the last three months. Then I discovered Quanta kernel which again was a first for me. I was also using Amplify, Greenify etc.

After going through this thread, yesterday I installed Pure Nexus and then finding out about hellscore's new version, flashed that also. I have not meddled with the kernel settings so far. No issues in installing either.

I find that the ROM is super smooth with plenty of options. The battery life seems to be much, much better even though I have not installed any of the usual Xposed stuff like Amplify, Greenify etc. I am amazed at the battery life without these and I think that I may not require them any longer.

Let me use the phone for two or three power cycles and then I will come back and report. As of now I am super glad that I found this ROM.

Thank you Dev!
[Nexus 4 Android Development] mjehan:
I have an issue with the phone app (dialer/google phone). I cleaned flashed the ROM and the recommend GAPPs from the OP. The ROM includes the old dialer app. When I try to download /restore the newer google phone app I get an error message that the app could not be installed. Even force removing the original dialer app does not solve this issue. What can I do ?
[Nexus 4 Android Development] dragos281993:
[MENTION=4891013]blackbuffalo[/MENTION] , audio during call is completely broken. You can't talk on the phone at all. you only hear a word from the person at the other end, then complete silence, then you hear something again, then nothing again.So the latest build is really buggy.

Going back to the previous build. I assume, you're probably you're gonna try to fix that bug and release another build. I hope you add "expanded desktop" in the settings.
[Nexus 4 Android Development] giulpip:
Have u tryied a clean install instead of dirt one? Just to know, cause as i wrote im reporting the same issue and i want to know if is a waste of time doing a clean installation