yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] dragos281993:
Everything newer than v2.7, is not compatible with the Nexus 4. Below is the last working build. First delete the one you're using, from the phone. Use a file manager like "Solid Explorer", navigate to root/system/apps and search for the Google camera folder, delete it and then reboot your phone. After the phone boots up, install this version: http://www.apkmirror.com/apk/google...-2130300-30-m-preview-3-android-apk-download/
[Nexus 4 Android Development] cemilplt:
[MENTION=4891013]blackbuffalo[/MENTION] If you can build CAF ROM?
[Nexus 4 Android Development] j2002:
As expected, no success changing kernel. That led me to think this issue is ROM related. Still investigating.

It's a pity I do not keep a nandroid backup of previous version.
[Nexus 4 Android Development] TA123:
I have updated to the current version of the ROM but the problem is still here. I cannot follow the ad links from Google. Any other ideas what can cause it?
[Nexus 4 Android Development] tito_puente:
The problem is, that the camera app is often automaticly updated via the play store. I#ve made the experience, that "no automatic update"-setting in play store is often overrided. I experienced this problem with an older version of quickpic. The only solution is using a new signed apk to disconnect the playstore. Can anybody provide such a new signed camera-apk?

---------- Post added at 03:44 PM ---------- Previous post was at 03:40 PM ----------

I think this has to be pinned! I experienced same problems with CM13, Chroma and another rom which name I don't know anymore. Until now Pure Nexus is working without these lags. But if this problem will appear again it would be nice to find this solution in an easy way! :good:
[Nexus 4 Android Development] dragos281993:
Very odd. I've never had the Play Store override my settings,and I'm referring to the automatic updates system. I turned it off and it stopped updating my apps. If yhe user wipes its data and cache, the default settings are back in place, of course, so that's the only thing that I can think of to cause such a behaviour. Updating the Play Store app may restore the settings, but that's very unlikely.

Anyways, I'll sign v2.7 apk and PM it to you when I get back home. Stay tuned.
[Nexus 4 Android Development] tito_puente:
That would be very nice! Yes, maybe the default settings were restored by a play store update.

My update setting is "the other way around" than yours. I turned the global auto update feature on and disabled it for specific apps like QuickPic and camera. And then one day, the apps suddenly where updated.
[Nexus 4 Android Development] Vioner:
I sign up under that. I'm using latest CMTE release (20160507-CMTE) and I can't authorize any of my PCs using multiple USB cables - there is NO dialog / prompt / popup for authorization.

I've tried the most known solutions like:

- unplug phone -> disable debugging in phone

- removing adbkey files from the host (PC), restarting adb server,

- removing adb_keys from the phone -> rebooting

- reenabling usb debugging and then reconnecting the Nexus

Unfortunetly that didn't work.

Using ADB from PC is only possible if I set the adb to insecure mode, but thats not how it should be. Even if I copy a 100% good adb_keys file into the /data/misc/adb/ folder, the phone seems to not handle any adb requests.

I've also tried adding some build.prop lines to force this, but they won't work.

Oh and why is there no way to set default USB connection mode? If I set it in Developer Options it changes itself automatically back to default (charging only).

This clearly is a quite major bug. Please look into it [MENTION=4891013]blackbuffalo[/MENTION]
[Nexus 4 Android Development] dragos281993:
I signed the Camera app but unfortunately I can't upload anything for a few hours because of my internet.

Now there's another aspect I missed, apparently. If you're seeing the Google Camera app in the Play Store, something's wrong. Why ? Because the app has been pulled out of the Store for our N4 (320dpi). You can't see it unless the Play Store app is for a different device which has a higher dpi. That said, it means that you flashed the official Pure Nexus Gapps and that's the problem. The PN Gapps file has been exclusively created and made to work perfectly fine with the devices that are officially supported by the Pure Nexus team. The Nexus 4 is not included, so the Gapps are not for it. I suggest you do a clean install of the ROM, then flash the Gapps from the link below otherwise you'll always get problems like that. With Banks' Gapps you'll get all the Play services specifically for the Nexus 4, 320dpi and not higher. After that, you won't see the app in the Play Store anymore so it's not gonna try to automatically update it.

https://www.androidfilehost.com/?fid=24549084345926091
[Nexus 4 Android Development] j2002:
The last update from GPlay of Google Search has made the search bar from recent apps to disappear. :(

Edit: appears again after restarting.
[Nexus 4 Android Development] adefigo:
That's wrong. I have latest Bank Gapps, sideloaded com.google.android.GoogleCamera-2.4.025_(1636091-30)-24025130-minAPI19.apk from apkmirror and the playstore wants to update it to 2.5.052.

Now I have re-signed it, so it will not be updated any more. Link via pm for everybody who wants it.

GoogleCamera-2.4.025 is better than 2.7 for our N4, because later versions don't sync the flash with the shot.
[Nexus 4 Android Development] tito_puente:
Thanks for you're work! But that's not right. I flashed Pure Nexus completely clean and after that I flashed opengapps micro. After some discussion here in this thread I was pointed to this camera version: APKMirror camera-2-4-025-3

After one or two days my camera app was updated to 2.5.052 (2005148-30). At the moment this is still the installed version and it is shown under my installed apps in the play store.

The only problem is the unsynchronized flash which leeds to black pictures.

I will deinstall the camera app and flash your new signed apk. I think (hope) a complete wipe isn't neccessary because until now everything is working fine.
[Nexus 4 Android Development] dragos281993:
In that case this whole thing must be based on the user's location.
[Nexus 4 Android Development] j2002:
Nate post in Google+

https://plus.google.com/+NathanBenis/posts/htzR1moawVT
[Nexus 4 Android Development] gbru2505:
Hard bricked my Nexus 5 in a heavy rain shower on my moped with a faulty pocket seal. Now I'm back on my old Nexus 4 with this ROM. Its a work of genius. There's plenty of life in the old dog yet. Thanks!
[Nexus 4 Android Development] MFYL:
Google Cast Lockup

When I tried to Google cast the current playing YoutTube video to the nVidia Shield TV, so I can watch the video on TV. The phone locked up. I had to press and hold the power button to force shut down the whole phone.

Did anyone else experience this issue?

Here are the file that I used to flash

pure_nexus_mako-6.0.1-20160506.zip

PureNexus_Dynamic_GApps_6.x.x_5-6-16.zip

I did a complete wipe System, Dalvik and Cache. Then insall ROM and GAPPS. Then I wipe Dalvik and Cache again before I reboot.
[Nexus 4 Android Development] SeanAche:
I do not have an nVidia Shield, but I have used mine to stream to different miracast devices in my home with your same build (excepting the addition of hellsCore b88-M Kernel http://hc-kernel.blogspot.com/2016/03/n4-b88-m-cm.html), and have never had it hang. I did have it refuse to disassociate with my Roku 3, though, and that was annoying as heck to get YouTube to go away.
[Nexus 4 Android Development] starkly_raving:
This is by and far my favorite rom. It's the closest thing to PA I've been able to find and all my Nexus devices are supported. Which is very cool. Thanks for the continued support. [emoji106]
[Nexus 4 Android Development] TNSMANI:
I have the Google camera 2.7.008_(2130300-30)-27008130-minAPI19.apk installed. There is no issue with flash synchronization.
[Nexus 4 Android Development] rackie:
Is there a way to deactivate the lock screen from Pure Nexus? I t looks like now I have 2, one from M and one from PureNexus.
[Nexus 4 Android Development] dragos281993:
Could you be a little more specific ?
[Nexus 4 Android Development] rackie:
Every time, I need to unlock twice. First, I unlock the one from android M, then the second lockscreen of PureNexus shows up. How can I make the second lockscreen to not showing up at all? I couldn't find that option at the PureNexus settings.
[Nexus 4 Android Development] TheArt.:
PureNexus doesn't have it's own lockscreen. Check if you have installed a third party lockscreen from Play Store
[Nexus 4 Android Development] dragos281993:
There's no such thing as PN lockscreen. Usually some launchers add a lockscreen, bit they include an option to disable it. Make sure you have it disabled.
[Nexus 4 Android Development] rackie:
You are right, thanks.
[Nexus 4 Android Development] Ciao600:
Deleted
[Nexus 4 Android Development] fieryhugo:
Deleted? As in this ROM is no longer going to be developed?
[Nexus 4 Android Development] dragos281993:
No. He wrote something and made up his mind. Considering that you can't delete a comment from xda, you can type in "delete" instead leaving the text that you don't want there.
[Nexus 4 Android Development] Thrikiller18:
[MENTION=4891013]blackbuffalo[/MENTION] could you add QS pages in next release. It looks cool and N-ful
[Nexus 4 Android Development] dragos281993:
Blacbuffalo is this ROM's maintainer. Nate Benis is the developer of Pure Nexus and you can request features on the PN' G+ page, which you can find in the OP.

But, Nate recently said he's working on a more simplified version of PN, due to instability caused by way too many features. He's already rebased everything and now he's gradually adding absolutely necessary features, and not exaggerate by adding more and more of them.

So, bottom line, your request might not be considered at all, but it doesn't hurt trying.
[Nexus 4 Android Development] Thrikiller18:
thx for reply :)
[Nexus 4 Android Development] nathanchance:
Furthermore, this request has already been made a few times before and he said he would not add it until N comes around where it will be automatically included.
[Nexus 4 Android Development] Hjicons:
Yesterday I installed this ROM (layers) on N4 and can't get some features to work. Layers Manager from Google Play crashes with message in the log that SU pro is required. Also I set up native Gmail with IMAP accounts (Yahoo and Hotmail). Notifications for Gmail mail are working but not ones for IMAP.

Any thoughts? Notifications on N7 tablet with Pure Nexus ROM on it are working for all accounts including IMAP.
[Nexus 4 Android Development] cemilplt:
[emoji4] tweak, and without any adjustment[emoji4]
[Nexus 4 Android Development] rackie:
Does this rom has the 4g dual modem with tmobile? I can't change it to ITE , every time I change it, it change back to WCDMA preferred (3G). I remember I could it before, or I mix up with other custom roms? Thanks.
[Nexus 4 Android Development] Pac-Man:
I did a clean install yesterday after the last PN build, and my phone is overheating... Is it even normal? :(
[Nexus 4 Android Development] Giogts:
which kernel with usb-otg support?
[Nexus 4 Android Development] dragos281993:
Quanta v16. Read the last 2,3 pages cause it has info how to make it work and what exactly you need to make it work.

http://xdaforums.com/showthread.php?t=2858561
[Nexus 4 Android Development] Elwood_It:
Hi everyone, I have the problem that when I try do dirty flash the may version of the rom on the april version I end up in a bootloop. I get a bootloop even if I dirty flash the april version on itself. Can anyone think of a reason for this behaviour?
[Nexus 4 Android Development] j2002:
You say nothing about wiping Dalvik and cache. That's probably the reason
[Nexus 4 Android Development] rackie:
so, no LTE dual radio for this ROM?
[Nexus 4 Android Development] Hjicons:
To [MENTION=4423096]rackie[/MENTION]

I don't believe that modem is ROM related. I flashed hybrid modem to rooted 5.1.1 stock and LTE stayed up permanently even after upgrade to PureNexus. Phone data notification is mostly 4G with dropping to H occasionally. You can find it on XDA (nexus-4-lte-enabler-v2.13.zip). If not I uploaded copy to my dropbox https://www.dropbox.com/s/5898w3fpk1eqceb/nexus-4-lte-enabler-v2.13.zip?dl=0
[Nexus 4 Android Development] rackie:
Thank you so much. I am going to flash it Now,

---------- Post added at 09:23 PM ---------- Previous post was at 09:09 PM ----------

It doesn't work. Error message while flashing" This is for Nexus 4 running Android 5.1.+ only. Installation aborted. "

I might have to do the same way as you did.
[Nexus 4 Android Development] Hjicons:
It probably does version check somewhere. I'll open zip and look for it when I get time. Otherwise flash to 5.1.1 rooted stock and then flash PureNexus and Gapps
[Nexus 4 Android Development] rackie:
I will try to flash it on stock 5.1 first, then flash PN. If it doesn't work , then the only way to get LTE is to use CM13 nightly. But I like this PN, never try CM13 before.

Info according to this post..

http://xdaforums.com/nexus-4/help/cm13-switching-to-wdcma-t3280353/page2
[Nexus 4 Android Development] Elwood_It:
I say nothing about it because I imply I did it, it's a basic step.

Back to square 1.

I guess I'm forced to stay on the april version until the next update when I'll do a clean install.
[Nexus 4 Android Development] Hjicons:
Here is what I found about version check. Give it a try if you wish

a) expand nexus-4-lte-enabler-v2.13.zip

b) edit META-INF\com\google\android\updater-script

c) replace 5.1 with 6.0.1 in this line

( is_substring("5.1", file_getprop("/system/build.prop","ro.build.version.release")) )

d) update zip with new file

e) flash zip
[Nexus 4 Android Development] rackie:
I have already flashed it on stock M then reflashed PN and it is working now. My phone has a battery drain before, and was thinking to a new flash anyway. Now the battery drain is gone. Thanks for checking iit out for me.
[Nexus 4 Android Development] jimyiak:
Can i disable the double tap power button to turn on the camera???

sent by nexy 4
[Nexus 4 Android Development] dusanbbgk:
Yes u can, settings>display
[Nexus 4 Android Development] MFYL:
Google (Video) Camera Froze Up

Did any experience the camera app froze up? IWhen I swipe right in the camera app, I got the message... said "Unfortunately, Camera has stopped"

I cleared the factory data,

then clear Dalvik and Cache,

then install the ROM, then install the Gapps

then clear Dalvik and Cache again,

no Google Restore during setup... I reinstall everything
[Nexus 4 Android Development] Hjicons:
Try Google camera 2.7 The one that comes with Gapps is not compatible with N4
[Nexus 4 Android Development] Lusyoo:
what is the difference between LAYERS Build and CMTE build??
[Nexus 4 Android Development] dragos281993:
CMTE = CyanogenMod Theme Engine

Layers = a much more advanced theme engine.

So the difference is only the theme engine. Both versions are AOSP based and have no difference other than the one mentioned above.
[Nexus 4 Android Development] Lusyoo:
thanks for the quick reply,

Only last question :D

The theme engine of layers build, supports the themes of CM?
[Nexus 4 Android Development] dragos281993:
Nope. But some devs make their theme available for both theme engines. But Layers is superior, without a doubt. It let's you theme every section, individually. If you want only the Settings to be themed, Layers let's you theme only that section. Layers divides the theme into "overlays". Every overlay will theme something and that's what lets you theme whatever you prefer. CMTE only allows you to apply the theme AS IS.
[Nexus 4 Android Development] Lusyoo:
how can I find themes for the layers theme engine?
[Nexus 4 Android Development] dragos281993:
Type "layers" in the Play Store's search box and a bunch of themes will show up.
[Nexus 4 Android Development] Lusyoo:
ok, thanks...

to install themes , do I need Application "Layers Manager"?
[Nexus 4 Android Development] dragos281993:
Yes. Also "Layers showcase" is an app meant for submitting layers themes, so get that and you'll see in there pretty much all the layers themes available.
[Nexus 4 Android Development] Lusyoo:
the ROM support OTA Updates?
[Nexus 4 Android Development] dragos281993:
Nope. When there's a new update, you have to download it an flash the new zip, without needing to wipe anything.

I'm off to bed. Good night !
[Nexus 4 Android Development] Lusyoo:
Only last question, promise... :D

with the kernel included in the ROM , the dt2w works?
[Nexus 4 Android Development] dusanbbgk:
No
[Nexus 4 Android Development] MFYL:
Thank you. By any chance, do you know if Google take their camera app off from their shelf? I can no longer find the Google Camera from either the Nexus 4 or the other phone (Moto X 2014) that I have.
[Nexus 4 Android Development] adstraylight:
The newer versions have compatibility issues, I now use 'open camera' instead, so this is probably why you can't find it.

If you really want Google Camera, you can get it from apkmirror.
[Nexus 4 Android Development] TNSMANI:
2.7 is the last working version for the N4. The link to it has been posted in this thread quite a few times. As you said, it is also available in apkmirror.
[Nexus 4 Android Development] Vioner:
Anti-recommendation

I've been using this rom for a few weeks and so far my experience is:

1. Bootup and even shutdown time is way too long.

2. Very bad, unreliable bluetooth performance.

I use Polar M400 smarwatch all day with SmartNotifications. When paired with Lenovo K3 Note, it will always connect and send notifications just fine... and it will work like that all the time.

But with PureNexus Nexus 4 it's just terrible. Initial pairing is a pain and then the connection randomly flips in and out. I understand if it's a general Marshmallow issue, as I know Nexus 4 is famous for it's connectivity problems and Marshmallow is not an official branch.

3. Broken device cloning feature on the "first boot setup". Whichever option I will use - NFC/Bluetooth or WiFi to clone the nearby device, I'll get only a toast notification that an error occured. I attached the logcat for "configure nearby devices" process.

4. ROM lacks longpress recents button to swap between last used apps. Sorry about that - I really am. Feature is there ofcourse.

5. YouTube freezes when you pause the video for a few seconds - only longpressing powerbutton to force restart helps. People denying it - before you do that test it yourself - pause a video and leave the phone for 10 or more seconds. Hey, leave it for 30 secs - still if it freezes then that's a major problem. This kind of issues can always be unrelated to the ROM though. This is only my observation.

6. No quick toggle for mobile data in quick tiles. (you need to press mobile tile and then turn on mobile data).

I'd say that this ROM is far from a daily driver. Sorry, that might have been a little far-fetched.
[Nexus 4 Android Development] piodrick:
because you can't install rom properly and find setting for longpressing recents doesn't mean this rom is not a daily driver material. I used it for some time now and haven't experienced issues with youtube or long boot times. can't comment on bluetooth thing because I don't use any bluetooth devices
[Nexus 4 Android Development] dragos281993:
1. Bootup and shutdown time is the same as it ever was.

2. Bluetooth is the same as always (the phone is old so the bluetooth technology is not as good as the newer ones), although I've never had a problem with it while connecting my earbuds to it.

3. Never used that feature so can't state anything.

4. Search and you'll find it, eventually.

5. NEVER had an issue with YouTube.

6. It's there.

Clean flashing a ROM is essential before *****ing about stuff not working on your end while for pretty much everyone else, everything is working fine. By "clean" I mean wiping everything except for the internal storage, then flashing the ROM and Gapps.

Flash "Quanta v16" or "Hellspawn r12" for better performance and improvements, and it might improve the bluetooth performance or your video playback problem.

Use twrp 3.0.2.0 to flash everything.

You could also try a different Marshmallow ROM.

Don't take it personally but those that *****ed about potential broken stuff, it turned out the problem was on their end.

Lastly, the ROM is completely stable for daily use. You just have to know how to install it.
[Nexus 4 Android Development] Vioner:
Ok Sherlock, so how did u come up with me being unable to flash a rom properly? I did a full wipe (including system - all except internal storage) before flashing and I use recent twrp and gapps recommended in the OP. Also I come from other marshmallow build, but as far as I'm full wiping that doesn't matter.

You were right about the longpress app switch though, so I am sorry about that.

I am a heavy user and after wiping cache, android optimizes for 130-140 apps. On normal usage when I want to reboot the phone it takes an annoying amount of time - incomparable to old Lollipop EuphoriaOS ROM. The most annoying part is shutting down - on other roms it was ~5 secs and off, now its >=15s.

The bluetooth thing must be rom/marshmallow related as it isn't present for Kit Kat builds.

The phone is old? Technology not as good as the newer ones? Please listen to yourself. It's true that Nexus 4 has a history of Bluetooth and WiFi problems, but they've been fixed - just not all ROMs have the fixes. Technology is just fine and a flagship phone from Q4 '12 is not old enough to be degrading.

Where? Could you please point me it? I've searched the whole PureNexus settings compartment and others - it's not there.

First make sure you know someone can't flash a ROM, then judge. I'm on XDA since 2012 and I've been flashing lots of ROMs and always remembered the main rules, this time also. I don't have time to waste on dirty flashes, I only wanted a nice and stable ROM, no fiddling around "having fun flashing".
[Nexus 4 Android Development] j2002:
My experience:

1.- I don't see anything to comment.

2 & 3.- Not related with the ROM. I have continuous problems with both and I was not able to face it. To transfer files through Bluetooth between two Nexus 4 I have to use and old Nokia as an intermediate because, as you say, if I try directly between them I only get that toast message. So, the age of the phone is not related with this problem as my Nokia is older and works. I have not the chance to test if it's the same with NFC.

5.- not this problem with YouTube (but other playing videos)

This room is my daily driver.
[Nexus 4 Android Development] piodrick:
you report problems no one else is experiencing so I guess something must have went wrong. you could try banks gapps, I think they are more compatible with this rom than recommended ones (for example camera app included in recommended gapps is too new and doesn't work correctly with nexus 4 or something). I'm using banks and have not experienced any major bugs.
[Nexus 4 Android Development] Vioner:
I've searched Nexus 4 xda forum and this thread for anything bluetooth related and I've found.

1. Few people reporting same bluetooth issues as me for this ROM.

2. Info that Bluetooth problems are ROM related - not kernel. Probably radio drivers most of all.

So please don't suggest me to try a different kernel as it won't matter. (I will try it though, for battery life).
[Nexus 4 Android Development] piodrick:
I said I don't use bluetooth and suggested you to use banks gapps but I guess it's a kernel
[Nexus 4 Android Development] dragos281993:
Dt2w and tap2wake are features that come with a custom kernel. There's"Quanta v16", "Hellspawn r12", and "Taurus r43" in the development section. Choose whichever you want cause all 3 are awesome. After flashing the kernel in recovery, when the phone boots up, go to the Play Store and install "Kernel Adiutor" so you can activate dt2w and tweak other things that you find in there.
[Nexus 4 Android Development] ted mosby021:
so i have to flash a kernel and with kernel adiutor i can activate dt2w ?

and how can i active dt2s ?