yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] DarsVaeda:
I get

ApplyParsedPerms: removexattr of /tmp/install/bin/backuptool.sh to 0 failed: Operation not supported on transport endpoint

set_metadata_recursive: some changes failed

with CWM 6.0.4.7 or TWRP 2.8.7.0 and rom from 2016-01-04
[Nexus 4 Android Development] dragos281993:
First of all, get rid of that CWM. Can't believe people still use that. Go and download twrp 2.8.7.0. Flash that however you prefer. If you don't know how to do that, xda is a fountain of information.

After you did all the above, look at my previous comment, the one above yours, cause you have to replace 2 files from the "PureNexus ROM.zip" with the same files from the previous build, and you'll find exactly the location of those files.
[Nexus 4 Android Development] DarsVaeda:
Ah thanks didn't know this was related. I tried TWRP originally and googled and some ppl said it worked in CWM.
[Nexus 4 Android Development] dragos281993:
No the error you described earlier is due to what I previously mentioned in both my comments. Go read that carefully. Don't skip any words. The latest version of twrp is required for all the flashing to go smoothly every time.
[Nexus 4 Android Development] DarsVaeda:
I know. I meant that your comment above my post was related to my error.

Unfortunately when zipping back the folder I can't flash the zip anymore.

Just get "error flashing zip", maybe related to zipping on OSX.
[Nexus 4 Android Development] dragos281993:
You don't unzip the archive. You simply open it. You open the older ROM.zip in a window and the latest ROM.zip in another window. Put them side by side and navigate to the folder I previously mentioned, in both archives. Delete the 2 files from the latest ROM.zip and then drag the older 2 from the older ROM.zip. And you're done. There no need to unzip anything.
[Nexus 4 Android Development] DarsVaeda:
You don't know mac, do you?
[Nexus 4 Android Development] dragos281993:
In that case download RAR from the Play Store on your phone, install the app, open it, extract the 2 files (updater-script, update-binary) from the older rom.zip in a folder of your choosing. Then copy those 2 files to clipboard by checking them first then long-clicking on one of them and selecting the copy option , then open the latest rom.zip, delete the 2 files present there and paste the ones you copied to clipboard earlier. Wait for the paste process to finish and you're done. Next up, try to flash the ROM.
[Nexus 4 Android Development] DarsVaeda:
Thanks, I already found an app for OSX that does it without the need of installing some outdated library.

I flashed and it works with the change of the two files.
[Nexus 4 Android Development] oliverm91:
I was having the same flahing error. So, I replaced those 2 files (update-binary and update-script from META-INF\com\google\android) of the 22 december build in the 04 january build and it worked. May this cause stability problems? Will it remove some of the changes made in the last version or are those changes made in other files? Sorry for my english, thank you.
[Nexus 4 Android Development] blackbuffalo:
Yeah, that's solution I mention on G+

Not sure why but maybe I missed some things from my github :D
[Nexus 4 Android Development] dragos281993:
Yup. That's where I got your fix from.
[Nexus 4 Android Development] ndep:
HI, i just downloaded the "re-uploaded" one from androidfilehost, same error still there. Do you plan to upload a working one?
[Nexus 4 Android Development] dragos281993:
It's an under 1 minute job to do what I said in a previous post, suggested by blackbuffalo on G+. Don't understand why he didn't do the same, considering that just replacing those 2 files, fixes the problem and does absolutely nothing to the phone usability after it boots up. So, if you don't want to go back a page and read what I wrote, here's what you need to do to make it work:

1. You need the previous ROM.zip, from about a week ago and the newest one available (if you don't have the older build, just let me know, and I'll upload those 2 files needed, directly here)

2. if you have both builds, then open both zip files in 2 separate windows, with WinRAR.

3. navigate to >>> META-INF /com /google /android <<< in both archives

4. delete the 2 files found in that "android" folder ("update-binary" and "updater-script"), but only from the newer build ( NOT from the older ROM.zip)

5. drag the same 2 files from the older ROM.zip to the "android" folder from the newer ROM.zip.

6. close both archives.

7. copy to your device the latest ROM.zip that you just modified

8. reboot into recovery and flash the ROM (with the necessary wipes if you want to do a clean install, or with just >cache +dalvik cache< wipe before and after the flashing process, if you just want to update)

Then reboot to system.

[MENTION=4891013]blackbuffalo[/MENTION] , maybe it's not my business to tell you this, but I think you should exactly what you said on G+, considering that it was the thing that fixed the error just fine.
[Nexus 4 Android Development] hudriwudri:
can 100% confirm, just flashed the edited ZIP with the replaced two files with success
[Nexus 4 Android Development] DarsVaeda:
I have a problem with tap and pay. I had that menu in settings after flashing. But it stated I need a wallet app. So I thought I install Google Wallet. I installed that from Titanium Backup from 5.1.1.

After a restart the app is available but now the tap and pay menu item is gone.

I'm in Germany and Wallet claims it is not available here.

Could that be related or is it a bug?
[Nexus 4 Android Development] dragos281993:
Try reinstalling the app, but a clean install not restored from a backup.
[Nexus 4 Android Development] gian87:
Hi, can somebody provide me the 2 files you are discussing about (or the new link to github, cause the one in first page is not good) ;)

i've just download the last release of this rom and whant to give it a try

many thanks guys
[Nexus 4 Android Development] dragos281993:
Here you go.

Just extract the archive somewhere easy to access, then open the latest ROM.zip with WinRAR, navigate to > META-INF /com /google /android < , delete the 2 files in there, then simply drag in there the files that I gave you. Close the freshly modified archive and you're ready for flashing.
[Nexus 4 Android Development] blackbuffalo:
Pls help me test my new build, rebase some things https://www.androidfilehost.com/?fid=24352994023706657
[Nexus 4 Android Development] dragos281993:
What exactly is changed, if you don't mimd me asking ?
[Nexus 4 Android Development] ndep:
thanks man. I did read the previous posts regarding the fix, but it's just that I am pretty confused about not-fixing-this-small-issue which could cause lots of waste of bandwidth.

I read about the fix before I head over to download, and I gladly found a "RE-UPLOADED" one which I thought it's a fixed one. But after 2 hours' waiting(yes, internet here is slow), still not working. can you imagine that? no offense, just confused.
[Nexus 4 Android Development] scissorscrush:
Good Good good good good good... Best SOT so far. BTW still using the old build.
[Nexus 4 Android Development] scissorscrush:
A feature request... Please add flip to silent, really miss that
[Nexus 4 Android Development] dragos281993:
Blackbuffalo has only ported Pure Nexus to our Nexus 4. If he changed anything or added other stuff, it wouldn't be Pure Nexus anymore. If you want a feature, you should ask the lead developer, Nate Benis, for whatever you wish to see in his ROM. There's a request section on the Pure Nexus Pro Google+ page. There's no need to mention that you're using a Nexus (which is not officially supported by him), but you can elaborate the feature that you want, in order for people to understand quicker your request.
[Nexus 4 Android Development] thechints:
Hi [MENTION=5796730]dragos281993[/MENTION],

I'm having the NavBar issue so TWRP does not work as I can't swipe to confirm any commands. CWM gives me the error as mentioned in the first quoted post here.

I have tried the UPDATE.ZIP NavBar fix for the latest Lollipop version, but that didn't do anything. This is post flashing images through fastboot, after having erased everything the Fastboot way.

Any suggestions on how I should go about?

Thanks a ton.
[Nexus 4 Android Development] dragos281993:
So you flashed the stock Lollipop image and you still have this problem ?! Did it work fine after you booted up the phone with the official ROM ?
[Nexus 4 Android Development] thechints:
The NavBar issues remained even after I flashed the Lollipop System Images from Google. The issue appeared out of the blue, I guess after an update or so.

Nonetheless, I figure erasing everything and then flashing should have done the trick but since it didn't, am wondering if it's now a hardware issue.

I wonder if flashing 4.4.4 would help in any way...
[Nexus 4 Android Development] dragos281993:
You should definitely try flashing KitKat as well. After doing that, do a factory reset + cache wipe from the stock recovery, then boot up the phone. If the problem is there even after that, you might deal with a hardware issue, meaning that the bottom side of the touchscreen is dead. It's not a very common thing in the Nexus line but I saw this plenty of times happening to HTC users. Try testing the screen with an app from the Play Store. Go download "Screen Touch Test" and test it. If the bottom side of the screen doesn't register your touches, do what I said above, Kitkat flash, etc.
[Nexus 4 Android Development] thechints:
The bootloader screen shows

SECURE BOOT - ENABLED.

LOCK STATE - UNLOCKAED

Is the Secure Boot status an issue? Do I need to get rid of that and how?

Cheers.
[Nexus 4 Android Development] dragos281993:
That's not an issue and it won't cause you any problems of any kind, no matter what you try to flash or do. It's the same on my device. Did you check the touchscreen with that app I previously mentioned ?
[Nexus 4 Android Development] thechints:
I didn't try the app you mentioned. I flashed Kitkat straightaway and the problem still exists. I guess it has to be a hardware issue then. The fact that the same area does not work even in Recovery means hardware issue, right?

Thanks.
[Nexus 4 Android Development] dragos281993:
Yup. You need a new screen. Search for a fair deal and get a new one. Don't throw your money at the most expensive one.
[Nexus 4 Android Development] thechints:
Read online that a few people tried to open the device by themselves, unplugged and replugged the digitiser and it seemed to have done the trick (for some of them at least). Would try that out as a last resort. I use the OnePlusTwo as my daily driver and this phone was spare and thought would be a good idea to get it to Marhsmallow as a backup device. Alas, not the case.
[Nexus 4 Android Development] dragos281993:
Considering that the digitizer is already faulty, you've got nothing to lose if the screen breaks anyway, so I guess you should try that. Be careful at the first part. Use a guitar pick to to insert between the chrome frame and the plastic on the sides, or something similar so you don't damage it. Use a toothbrush and gently brush the screen connector to remove any dust that might've gotten in there, before you replug it to the motherboard. Good luck !
[Nexus 4 Android Development] HugoGarcia:
Can I install Xposed in this room?
[Nexus 4 Android Development] Sacob:
sure!
[Nexus 4 Android Development] j2002:
I miss the supposed version released on 4th. The one on first topic (dated on 5th) is it the same or is a newer one with the problem of the two files already fixed?
[Nexus 4 Android Development] blackbuffalo:
It the same, 05/01 is fixed version for 04/01 cause by error when flash
[Nexus 4 Android Development] iskandar1023:
[MENTION=4891013]blackbuffalo[/MENTION] can i know what toolchain you used to build this?

just wondering why this rom is still stay smooth and strong after 60+ hrs uptime without clearing recent apps, while other isn't (i think) :p
[Nexus 4 Android Development] blackbuffalo:
Google toolchain
[Nexus 4 Android Development] iskandar1023:
mindblown.
[Nexus 4 Android Development] orangek3nny:
[MENTION=4891013]blackbuffalo[/MENTION]:

Does your latest build include the security patches from January?
[Nexus 4 Android Development] ariesgodofwar:
Yes, see Settings -> About Phone -> See Android Security Patch Level
[Nexus 4 Android Development] Michaelmania:
hello [MENTION=4891013]blackbuffalo[/MENTION], first and foremost, i am so much grateful to you and the pure nexus project team for bringing this rom to our still-going-strong mako. The excitement and gratitude can't be contained.

in terms of feature requests, i have made one under the appropriate tab/section

in terms of feedback, on the Jan 05 build, the location service has gone haywire. sometimes the circle around the blue dot in google maps is having a radius of 5metres and sometimes 100kilometres or more. this is happening constantly within 1.5seconds. basically it is fluctuating constantly. just went back to 22Dec2015 build, that problem is gone.

PS: i made a boo-boo. forgot to take a logcat while on 6Jan2015 build. this phone is my daily driver, so prefer not to revert back. my apologies.
[Nexus 4 Android Development] helix512:
I have 2 nexus 4 with the same problem. the center button on the Nav Bar will not work no matter what I try. with the latest update. but the prior update is working fine on a 3rd nexus 4 device. so far I have 2 Nexus 7 Gen2 5 Nexus 5 3 Nexus 4 and 1 nexus 6 and 1 nexus 6p all running versions of Pure Nexus and I LOVE it. but I am not sure what is up with this one on the 2 Nexus 4 please any help.

FYI: both are Clean Installs not Dirty and all went smooth on the install
[Nexus 4 Android Development] bart.found:
does it work in recovery? just to exclude the hardware issue..
[Nexus 4 Android Development] helix512:
Yes it works fine. Like I posted if I go back to an other build it works fine. Just this build is a no go and like listed above I have 3 nexus 4 2 running this build with the same problem and the 3rd one on a prior build no problems
[Nexus 4 Android Development] helix512:
PN official just pushed an update so I'll wait till the push for the nexus 4 and see if it is fixed in the next build
[Nexus 4 Android Development] scissorscrush:
Anyone facing issue with wifi scanning making battery goofed up, I found a solution for it.

Just give a static IP to both your phone and router to communicate meaning turning off the DHCP service. Cheers ?
[Nexus 4 Android Development] scissorscrush:
Meanwhile. No modification.
[Nexus 4 Android Development] bart.found:
I disabled wifi always scanning and the drain went back to normal.. moreover wifi always scanning is pointless for me.. because I never disable wifi on my phone! So it actually always scan the same... but doesn't drain my battery!
[Nexus 4 Android Development] Rakaan:
Can I flash it over pure stock lollipop?

Thanks
[Nexus 4 Android Development] helix512:
I would not. I would do a clean install. Since there is a lot of changes from LP to MM. But that's just my opinion.
[Nexus 4 Android Development] Rakaan:
Thanks very much for the reply. I have clean installed it and all looking good.

Any idea which xposed version can be installed on it?

Cheers
[Nexus 4 Android Development] bart.found:
why do you want to screw what's going well? Try the ROM as it is.. Xposed could introduce some bugs or misbehaviour...
[Nexus 4 Android Development] Sacob:
some misbehaviours like the best adblock, appops and youtube playing in background? :P
[Nexus 4 Android Development] ariesgodofwar:
v79 sdk 23 for arm is the proper version. http://xdaforums.com/attachment.php?attachmentid=3580247&d=1450386638

I have it installed, and have no issues. Have Greenify, Amplify, Adblock, Youtube Adblock, Spotify skip, youtube Background, and Gravitybox all running without issue.
[Nexus 4 Android Development] bart.found:
yes, I know it has some benefits too.. but I put speed and stability at first place! Maybe I'm too minimalistic
[Nexus 4 Android Development] Jakub_Z.:
I'm having a problem with multiplied notification sounds. Eg. I get two SMS messages and after few minutes I get the third one - and I hear 3 notifications sounds in quick burst... That also happens in other apps. No matter the kernel and ROM build, clean flash, dirty flash etc.

Anyone else having this bug?
[Nexus 4 Android Development] blackbuffalo:
New build on the way but now I cant upload to AFH

Link will available soon as I can

For the next build, Maybe slow than every build early because I busy for my Wedding

But I will try to build when I have time!

Link: MEGA
[Nexus 4 Android Development] xWolf13:
Asking me for a decryption key?
[Nexus 4 Android Development] blackbuffalo:
Hjx, Mega upload failed :(:(

Check again, removed encrypt key
[Nexus 4 Android Development] xWolf13:
Working good :good:

Thanks for the build and have a splendid time with your wedding!!
[Nexus 4 Android Development] bfoos:
Wow, thank you so much for bringing this ROM to the Nexus 4! I was rather put off with the direction cyanogenmod has taken and some of the limitations of CM13 in particular but this ROM has solved every single issue that put me off marshmallow. I'm glad that I decided to give this a go before reverting back to a lollipop ROM.
[Nexus 4 Android Development] dragos281993:
Oooo !!! Congratulations, mister !!!
[Nexus 4 Android Development] Ciao600:
Mega link doesn't work

EDIT: i tried with another browser and worked
[Nexus 4 Android Development] blackbuffalo:
I changed link Gapps to Official PureNexus Gapps, it base on Banks gapps so it is good to choice, recommended it and as I wrote above, added link AFH at OP, enjoin
[Nexus 4 Android Development] armaki:
Excellent ROM, phone has never been so snappy. My only problem is that it cannot connect to quite a few wifi routers. Am I the only one?

Thank you for your amazing ROM!
[Nexus 4 Android Development] dragos281993:
Never had a problem like that. I use to connect to a bunch of wifi networks throughout the city and never had an issue like that. Make sure you insert the correct password.
[Nexus 4 Android Development] blackbuffalo:
Maybe by different router config
[Nexus 4 Android Development] armaki:
I even disabled encryption but still no go.

I'll keep trying. thnx:)

Edit: problem solved. Did a reset on router & powerline and all is ok now. Thanks again!

Cheers
[Nexus 4 Android Development] Rakaan:
Ignore me please.
[Nexus 4 Android Development] scissorscrush:
That used to happen but the problem disappeared with time, never paid attention to that.
[Nexus 4 Android Development] Beackman:
Sorry for my question, but i miss the option to change de LCD DPI in PureNexus, is not in display options nor screen settings.

I tried to change in build.prop but no make effect.
[Nexus 4 Android Development] kaiser_tytnii:
thanks! the only problem is Camera3 (part of the PureNexus Gapps) which crashes when switching to video mode (even changing the recording resolution to 720P); switch back to camera 2.5 and the problem is gone. (known issue)
[Nexus 4 Android Development] HugoGarcia:
I think I did something wrong.. I flashed the Marshmallow version of Xposed but it didn't change anything, can someone help me install Xposed? :confused:
[Nexus 4 Android Development] Sacob:
just follow the threads instructions. you need to flash a zip file and install an app.
[Nexus 4 Android Development] HugoGarcia:
That's the point, I've flashed the zip and installed the app but it give me a error message "Xposed is not (yet) compatible with Android SDK version 23 bla bla bla CANNOT LINK EXECUTABLE: library "libdvm.so" not found"

Edit: To install Xpoded on Marshmallow I have had to install the alpha apk (link in the thread). So, if anyone want to install Xposed, don't download the apk from Google Play. Thanks for the help Sacob!
[Nexus 4 Android Development] Sacob:
what zip did you flash?
[Nexus 4 Android Development] bfoos:
Confirmed... Google Camera v3.1.021 crashes when switching to camcorder.
[Nexus 4 Android Development] zukenp:
Me too.Camera problem.Rest of things good.
[Nexus 4 Android Development] dragos281993:
Yup. It's been like that since it was released, but only for our Nexus 4. Version 3 doesn't like our phone. It doesn't offer any other functionality anyways, so probably that's why no one bothered fixing it.

In order to have the google camera working, you have to install an older version. It's a system app so you won't be able to uninstall it just like that. You have to delete it directly from the "system" with a good file manager. I suggest "Solid explorer". Go to >> root/ system/ app << and delete "GoogleCamera". Then reboot your device and you can install the last working camera (v.2.7), from here: http://www.apkmirror.com/apk/google...-2130300-30-m-preview-3-android-apk-download/
[Nexus 4 Android Development] bfoos:
Yeah, thanks for the info. I'm not a novice by any means and do know how to remove/replace system apps lol.

A side note about that puregapps package... It's freaking huge! There's virtually no space left in system using it. I just reflashed clean and used the mustbe gapps that was previously recommended and so far all is well. I'm really liking this ROM over CM13.
[Nexus 4 Android Development] blackbuffalo:
Think dual to hardware not support.
[Nexus 4 Android Development] desireleß:
bug: press power button twice for camera

combination of:

1) activating "press power button twice for camera"

+

2) changing the lower right "lock screen shortcut" to whatever for example "phone"

with this combination, "press power button twice for camera" doesn't work anymore but it opens the selected lock screen shortcut - in my case the "phone"
[Nexus 4 Android Development] prithvic:
[MENTION=4891013]blackbuffalo[/MENTION] the Fake Nexus rom dev ganachoco managed to make the Google Camera 3.1 work on Nexus 4, can you also apply this fix in your rom? By this fix the camera works in 720p video mode

https://github.com/ganadist/device_lge_occam/commit/0bceadad0c986f078282322618b9f7e64e167a26
[Nexus 4 Android Development] blackbuffalo:
Thanks for point me link git. I will see later today and maybe included in nextbuilt

PS: Add this into source, maybe tonight I will give you a link for test
[Nexus 4 Android Development] Baschdard:
[MENTION=4891013]blackbuffalo[/MENTION] do you have a git repository so I can get the sources and compile the rom by myself? :)
[Nexus 4 Android Development] HugoGarcia:
Got the link from the official thread:

http://xdaforums.com/attachment.php?attachmentid=3580247&d=1450386638
[Nexus 4 Android Development] Sacob:
that's the correct one... try to download it again, uninstall and install it again. don't know what else to say :S
[Nexus 4 Android Development] HugoGarcia:
I've edited the previous post, it worked. The problem was the apk.
[Nexus 4 Android Development] blackbuffalo:
Test build for anyone want use Google Camera 3.1

Pls test and report. video mode only work on 720p

Nothing new with early build except added support Google Camera 3.x

MEGA LINK

If you dont want use Google Camera 3.x, pls stay at latest build from OP and again, it's testbuild for anyone want try Google Camera 3.x. I will not add it into next build
[Nexus 4 Android Development] bfoos:
I personally see no reason to use Google Camera v3.x if it offers no functionality over 2.7.
[Nexus 4 Android Development] j2002:
I heard it has new features as slow motion, automatic HDR or burst but I don't know if those are hardware dependant or we really have them.
[Nexus 4 Android Development] zukenp:
Can we remove google search bar?
[Nexus 4 Android Development] dragos281993:
We won't have them, most likely.

---------- Post added at 08:48 PM ---------- Previous post was at 08:46 PM ----------

Only with a 3rd party launcher. Apex launcher, Nova launcher, etc.
[Nexus 4 Android Development] gian87:
Hi, many thanks to You all for this perfect rom and all the work. I installed everything (rom + must be gapps cause they take less space). The only question I have is this: what kernel do You think it's better for this rom?? ak, semaphore (modified), etc?? anything else?? cause the only thing I really miss from my previous build is "double tap to wake" on screen when it's off....