yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] FloyderE:
I'm experiencing continuous crashes of several apps. I've done a Clean Flash of the previous build and then updated from the OTA.

Alle the permission are given but I continue to experience crash on several Apps, even Google Play Store is giving me the same problem when I try to expand the description of an app.

Anyone else is having the same problem? What can I do?
[Nexus 4 Android Development] Giogts:
Where is located build.prop file?
[Nexus 4 Android Development] zephyr79:
In the system folder.
[Nexus 4 Android Development] Giogts:
There isn't
[Nexus 4 Android Development] zephyr79:
With what are you looking for the folder?
[Nexus 4 Android Development] Giogts:
with adb becouse my nexus 4 has touch screen broken
[Nexus 4 Android Development] zephyr79:
Not sure then I'm afraid I'm not accustomed to using ADB myself sorry, I'm sure someone will be able to assist you though, good luck :good:
[Nexus 4 Android Development] klaust58:
you have to mount /system first... ;)
[Nexus 4 Android Development] Giogts:
what is the terminal command please?
[Nexus 4 Android Development] klaust58:
mount -o rw /system
[Nexus 4 Android Development] marklar666:
I've just updated Nitrogen from build 20170421 to 20170727 and Netflix app stopped working. It says "This App is not compatible with your device". Any solution?
[Nexus 4 Android Development] nitin.chobhe:
Search the shamu nitrogen thread and you should find the solution

Nitin
[Nexus 4 Android Development] CatsAreGods:
This ROM has helped me recover usage of my Nexus 4 and I really appreciate it greatly! However, I've encountered an odd buglet. Since the OTA update, my working APN has disappeared, and it is maddeningly impossible to enter a new one. Everything seems OK until the last "save", upon which it disappears. Editing one of the defaults doesn't work either and gives me an error message "Access Point Name settings are not available for this user". I even reset all network settings to no avail. Help, please?
[Nexus 4 Android Development] nitin.chobhe:
I would advise to do a clean flash and see if that helps

Nitin
[Nexus 4 Android Development] Jaybee44:
Hi Nitin,

I have enjoyed the fantastic rom from you so far. thanks:) I have a question about the use of the 'Google Home' app. It works fine with just one account but I'm unable to add multi user accounts. I keep getting the error message:- Google assistant is not your default assist app. I also have a US version of google Home but live in the UK.

Is this due to the Rom not compatible or the Google Home itself?

Any help would be appreciated. Thanks

JB

---------- Post added at 08:28 PM ---------- Previous post was at 08:00 PM ----------

I had the same problem but click this link :- https://help.netflix.com/en/node/57688

then click the link on the page which says 'Click here to download the Netfilx app.'

Then install the download.

It worked for me, no problem.

JB
[Nexus 4 Android Development] CatsAreGods:
Yikes! Not only did it not work (APN still disappears), but even after rebooting (and signing in with my Gmail account), Google is NOT restoring my apps and data as it always does.

I wiped /data and flashed the 0727 ROM and Gapps, FYI.

Should I try again with the older 0707 ROM that worked? Feel kind of stuck here...
[Nexus 4 Android Development] nitin.chobhe:
The gmail thing is known and should work if you set the permissions in apps - settings - gmail (this is discussed at least 20 times in this thread)

I'm out of ideas regarding APN. You can try older version.

Can anyone else help?

Nitin
[Nexus 4 Android Development] CatsAreGods:
Oh, I didn't mean that particular bug, I don't even have the Gmail app on here yet, but thanks anyway. I'm just not getting ANY of my apps or data back, even though the backup is right there on Google Drive.

I'm going to try reflashing the old 0707 ROM because I have little to lose at this point...thanks!
[Nexus 4 Android Development] nitin.chobhe:
I doubt it will restore if the permissions are missing (you can give a try to a different gapps package)

Nitin
[Nexus 4 Android Development] CatsAreGods:
Well...I did a reflash with the 0707 ROM and the latest pico gapps, wiped /data and cache and Dalvik, and it reinitialized and picked up my Google apps (and even Gmail!) just fine. So there's that.

But my APNs are still screwed. Luckily I got a free SIM from Freedompop so I can use an old phone as a hotspot, at least until the new Moto G5S Plus is released!

Thanks again for all your help. Still mystified about this APN stuff though.
[Nexus 4 Android Development] Giogts:
I tried but nothing
[Nexus 4 Android Development] nitin.chobhe:
Here is the new build with August security patch: https://www.androidfilehost.com/?fid=889764386195921754

Enjoy!

Nitin
[Nexus 4 Android Development] chopoLet:
Thanks super nitin! :good:
[Nexus 4 Android Development] puneetrocknroll:
Themecenter??
[Nexus 4 Android Development] xvko:
After 0809 twrp update it got stuck in "Android is starting..." I needed to reboot again. Now it's working fine.
[Nexus 4 Android Development] nitin.chobhe:
Are you asking about the theme used in screenshot? If yes, then it is DARK DNA substratum theme

Good, you got it working :good:

Nitin
[Nexus 4 Android Development] Pac-Man:
Is the rom and the kernel patched to august? Because I don't see that in the mako kernel's repo :(
[Nexus 4 Android Development] nitin.chobhe:
Does the kernel also get mothly security updates? :confused: Hearing that for the first time. Also how and where do you see that?

Nitin
[Nexus 4 Android Development] Pac-Man:
Well... At the LineageOS's Gerrit you can see the kernel is getting some CVE patched. I don't know if those patches are from Android upstream code or done by LOS maintainer.

And I assume you're using https://github.com/nitrogen-os-devices/android_device_lge_mako as the main repo for the mako's kernel...
[Nexus 4 Android Development] nitin.chobhe:
This ROM is AOSP based and I am using kernel brought up by zaclimon. I'm doubtful that these are changes by aosp as they do not support msm anymore.

And your assumption is right, I use that kernel source as mentioned in OP.

Nitin
[Nexus 4 Android Development] Pac-Man:
Okay, thank you for replying :)

---

Offtopic:

Is it possible to use Magisk rather than SuperUser or SuperSu? :)
[Nexus 4 Android Development] zephyr79:
I would have thought so you would probably just use the unroot zip in the first post and then go through the process of flashing magisk I guess.
[Nexus 4 Android Development] Karan.S:
Yup, I have used Magisk for root on this ROM with no issues. Like zephyr79 has pointed out, flash the unroot zip from the first post and then flash magisk. :good:
[Nexus 4 Android Development] stevenmozz:
Hi guys. Thanks for this great Rom, I've always heard about it but it's my first time trying. I have a big question: Is there SOD in the newest builds? I used hellspawn kernel, and fortunally it fixed. Now I'm trying the default kernel of Nitrogen, and don't know if stay with it. :)
[Nexus 4 Android Development] nitin.chobhe:
Why do you have that question out of the blue?

Nitin
[Nexus 4 Android Development] stevenmozz:
I don't understand your reply, sorry. :-/

Can I asume there's not SOD?
[Nexus 4 Android Development] nitin.chobhe:
Your question is wrong... Why do you ask that? Did you read about that in this thread? :mad:

THERE IS NO SOD or ANY OTHER ISSUE IN THE ROM

Nitin
[Nexus 4 Android Development] stevenmozz:
Ok. Sorry.

Thanks.
[Nexus 4 Android Development] Pacomun:
Root Disable

Is there a way to disable root access? I cant run some apps; tried to turn off superuser access in Root managment but didn't work. Recomendations pls
[Nexus 4 Android Development] nitin.chobhe:
Recommendation: Read OP (and look for Nitrogen_msm_UNROOT.zip)

Nitin
[Nexus 4 Android Development] 1stMako:
I too got stuck and had to reboot. Unfortunately all App-Symbols and all Widgets were gone and I had to re-implement everything.

Additionally the Google-Search-Bar re-appeared...that one I have not seen for months.

As I updated to every version of Nitrogen and never had any issues at all, something is awkward with this version.
[Nexus 4 Android Development] nitin.chobhe:
I tested this build before posting it here (as always) and had no such issue. So can't really help...

Was that a clean flash? What all zips did you flash? What gapps did you use?

Nitin
[Nexus 4 Android Development] chopoLet:
What gapps and what other things that you flashed in the rom?
[Nexus 4 Android Development] 1stMako:
I dirty flashed as the dozens times before and did not change anything regarding apps or whatever since the last update.

Everything is running fine again and it only took me 5mins to re-establish that app-symbols and widgets, so no worries.

But that re-appeared Google-Searchbar is quite annoying, deinstalling the Google-App did not help :(

I appreciate any tips for removal of that (I have searched the thread without success).
[Nexus 4 Android Development] stevenmozz:
---------- Post added at 11:18 PM ---------- Previous post was at 11:18 PM ----------

[/COLOR]

Long press home screen - configurations - unmark search bar.

Had the same issue with the last OTA.
[Nexus 4 Android Development] matrixceccano:
rom is fantastic but volume is too low ?

there is any fix ?
[Nexus 4 Android Development] zephyr79:
Try the equaliser that's included in the ROM or try something like viper 4 android?
[Nexus 4 Android Development] Rafaelz7:
Bootloop

Friends, my phone is in bootloop since I tried to install this rom.

I've tried many procedures to return it to operation but the only which works is return to factory stock version.

Anyone would now how to proceed?:confused:

Thanks

Rafael
[Nexus 4 Android Development] TundraLK520:
What all did u try, also could u mention all the steps taken?
[Nexus 4 Android Development] Rafaelz7:
Tundra,

First of all thank you for answering.

I've tried:

1) return to stock and try to update inside android. I got the "X" forever.

2) I got Nexus Toolkit 2.1.9 and tried to flash all the other versions but 4.2.2, no one worked.

3) I got in recovery and wiped all the data, several times, the boot keep the same.

4) Flashed the last version of TWRP and installan Nitrogen rom again, N forever.

Some importante information:

I replaced my power botton, so I had to disassemble the phone, change the botton and assemble it back, once.

I read someone saying could be hardware, so I opened the phone, pushed power and remove it. After that I flash the stock version with never shutdown the device. when updating from 4.2.2 to next version inside Android, the same.

Thank you in advance.

Now I downloadead
[Nexus 4 Android Development] TundraLK520:
Download the stock lollipop image from google and instead of using toolkit use android sdk and setup adb. The Google page where all stock images are there also has the process of which fastboot commands to use to flash image.

If this doesn't work then maybe its hardware but i doubt it since u have been able to flash 4.2.2 so it's probably the toolkit.

Ps: Download android sdk and then make sure ur device is recognised by fastboot devices before trying anything else.

Then go the twrp way to flash nitrogen.
[Nexus 4 Android Development] TundraLK520:
Which version of android were u running before u tried nitrogen? Just thinking it could have been the bootloader if u had android 4 since all new roms require the latest bootloader.
[Nexus 4 Android Development] Rafaelz7:
Tundray,

I was running last version of lollipop, probably 5.1.2, or something.

Then I installed frank version, and worked well.

The botton stoped during frank operation, after I replaced I flashed Nitrogen without even start frank again lol, so I'm not sure if it was work anyway. :silly:

So today I've just flashed last version available in google and same problem, it is by my side rolling the little balls during last 1 hour (I checked the fastboot operation by adb reboot / fastboot reboot) everything ok, then I double clicked on flash all imagem and here we are.

Must be hardware right?

Thank you for the efforts.

Rafael
[Nexus 4 Android Development] TundraLK520:
U could flash the lollipop img from google but it bootloops?

Ps: if u can somehow get ur phone to boot any android version, u can download apps to check ur phone's hardware. Though i doubt it since during flash I'm sure there is a hardware check process included.
[Nexus 4 Android Development] nitin.chobhe:
Let's have a new build with PA pocket mode in it :good:

Nitin
[Nexus 4 Android Development] chopoLet:
What if I don't have any pants on? haha. jk. Thanks in advance super nitin :good:
[Nexus 4 Android Development] nitin.chobhe:
Here is the new build....

SourceForge Link

AFH link

See changelog

Nitin
[Nexus 4 Android Development] bean+:
Upgraded from Nitrogen-OS-mako-20170809.zip to Nitrogen-OS-mako-20170817.zip yesterday. Over the night my phone switched of, the battery was drained completely. :(

I did a few investigations... with the new 0817-build my phone does not go into deep sleep any more. Tried with different kernel: Standard and Quanta-Reborn_V2.2 and Quanta_V21.

I reinstalled the "old" Nitrogen 0809-build again and I got my deep sleep back :laugh:. For me ist seems to be a ROM related issue.

Anybody else observed this "deep sleep"-problem?
[Nexus 4 Android Development] chopoLet:
Not for me. I never had major issues with NOS room, phone not getting into deep sleep is a serious matter. Glad you got it fixed.
[Nexus 4 Android Development] ze7zez:
What about clean install v17.08?
[Nexus 4 Android Development] zephyr79:
Nitin I recall you saying about adding PA pocket mode, a quick question is it enabled by default? & if so is there a way we can disable it?:confused:
[Nexus 4 Android Development] chopoLet:
Go to Settings/Personalization/Gestures/Pocket detection there's a toggle button there. :)
[Nexus 4 Android Development] zephyr79:
Nice 1 cheers :good: I'll update later then :good:
[Nexus 4 Android Development] yever:
same problem here. but after i disable the new pocket mode, deep sleep is good again.
[Nexus 4 Android Development] nitin.chobhe:
I think pocket mode eats up all the juice. I have it off now and all is good. See the screenshot.

I had it on, on first day and experienced same thing -phone was switched off in morning.

Nitin
[Nexus 4 Android Development] McLongDong:
Do you use apps like greenify to help save battery?
[Nexus 4 Android Development] nitin.chobhe:
NO, I do not use anything like that

Nitin
[Nexus 4 Android Development] bean+:
Disabling pocket mode solved my deep sleep problem in the newest Nitrogen version too, Thanks!
[Nexus 4 Android Development] Dude+:
I use gravity screen and macrodroid to automate and save battery. Turning off the screen when it's in my pocket or face down, disabling synch, GPS, etc.
[Nexus 4 Android Development] loran_t:
Hello, there is a bug when you try the 'Edit' option of a shortcut that makes Nitrogen Home to stop.

This happened to me when I tried Editing Note Editor's shortcut, a feature that comes with ES File Explorer and is placed in the home screen by itself.
[Nexus 4 Android Development] chopoLet:
Which Edit shortcut option you're talking about? Are you certain that this is a rom problem and not with your ES file explorer? What did you edit?
[Nexus 4 Android Development] convolution:
I'm getting an error 40 while installing gapps via the latest TWRP. Any ideas? I factory wiped and I'm doing it clean. I've downloaded the ARM 7.1 pico package
[Nexus 4 Android Development] Shooting Star Max:
I had a similar problem (my device would not go past "Patching system image unconditionally..."), and I solved it downloading from the other mirror (AFH), and using this TWRP version.
[Nexus 4 Android Development] chopoLet:
If things like that happens, the problem should be from the downloaded zip files and not with the rom, I had experienced the same thing before. The files might be corrupted or at some way interrupted while downloading. The fix is to redownload the files and make sure there's no interruptions during the downloading process.
[Nexus 4 Android Development] minimega:
Hi nitin, this morning I upgraded from old version to the latest 17.aug.2017 version, using the "dirty" upgrade way: wiped cache and dalvik partitions, extracted zip "over" the existing /system version.

Once rebooted, all my apps, settings and data where still there, but the desktop pages (Launcher3) with all my favourite icons and groups disappeared, reset to the default "initial layout" (phone, sms, camera and few more).

Is this a right behaviour? Each time I upgrade version, must I recompose manually my desktop? Or something gone wrong with my uprade?

Thanks
[Nexus 4 Android Development] loran_t:
It is a rom problem, you can try it by yourself. I'm attaching some images from the shortcut of the ES File Explorer feature (not an installed app). It could happen for other features of other apps too, not just for ES. I noticed that when I try to put a pdf shortcut or something else in the screen and when I try to edit it, it disappears.

Also I would like to ask where can I disable double tap to sleep? I can disable it for the notification bar but not for the whole screen. I'm running the 7.1.2-NZH54D (Aug 9)

---------- Post added at 04:20 PM ---------- Previous post was at 04:18 PM ----------

I can confirm it. [emoji2]
[Nexus 4 Android Development] TundraLK520:
Settings>personalizations>gestures

Lockscreen and Statusbar options.
[Nexus 4 Android Development] ze7zez:
This is a really insignificant problem. Change the launcher for example on Nova then you'll have what you like.
[Nexus 4 Android Development] chopoLet:
Oh, have you tried doing it with other launchers like the pixel launcher DP4? What you did there is you add a shortcut for editor from ESxplorer to your desktop and if you want to edit something from that you'll just have to tap the shortcut and don't drag it to the launcher's edit option, it may not work because it's an APP shortcut not an app itself. :)
[Nexus 4 Android Development] loran_t:
[MENTION=7402315]TundraLK520[/MENTION] They are both disabled but i can still double tap wherever in home screen I want and screen goes off.

---------- Post added at 11:48 PM ---------- Previous post was at 11:38 PM ----------

@chopoLet It was placed by default when the app got a new update (nice yet full of spammy notifications file explorer). I was trying to edit the Editor's name for some reason and that's when the Home stopped. I wasn't trying to edit any file.

The other thing with the pdf shortcuts, I meant that when I add a shortcut and I try the edit option, it is like I drag it to 'Remove' option.

I reported them so there might be a fix in the next update.

Edit: Maybe when we drag shortcuts of files or app features they should be treated the same. Just change the shortcut name without affecting anything else. :D
[Nexus 4 Android Development] minimega:
It's not a "really insignificant" problem, at least for me. If each time I upgrade I must rebuild my desktop (4 pages of icons and groups) it's all time wasted!

Use a different launcher is a workaround, not the solution, neiher the response to my question.

I asked if this behaviuor is by design or if somehing gone wrong with my update. Reply: Yes (it's by design), No (normally you won't lost desktop personalization).

In case it's by design I'm gonna change launcher, it's the only way, if not, I would investigate about this problem.

---------- Post added at 08:20 AM ---------- Previous post was at 08:17 AM ----------

I confirm this behaviour too.

Also if I double tap inside a widget area (exchange calculator) on the desktop the screen goes off!
[Nexus 4 Android Development] ze7zez:
I do not know if you have a good will in emphasizing trifles. You did not even click on THANKS in the first thread, thanks to Nitin for his work.

Do not like it, do not use it.

EOT.
[Nexus 4 Android Development] minimega:
You are right, in thanking nitin. I always thanked him at last line of my posts, but not in the first thread, so now that i fixed my mistake, hope you're in peace.

Regarding you, dear ze7zez, please, avoid to reply to my posts. You give any answers to my questions, only "really insignificant" sentence so, better you leave other skilful and gentle people to reply.
[Nexus 4 Android Development] xda-dvlprs:
hi, we have very big chance for android oreo. first and fully working android oreo port for xiomi mi 3/4 is released on xda. and this devices are similiar our nexus 4. both have 32 bit snapdragon processors :)
[Nexus 4 Android Development] chopoLet:
hi bro, did you flash any custom kernel?

hmm. so you want to get rid of that shortcut or edit the name? Have you tried it with other launchers? It must be a Launcher3 problem. anyway AFAIK ES xplorer is full of bloatwares and ads. It might also compromise your data. Try MiXplorer by HootanParsa here in XDA. It works like ES but much more features, customizable and ad less.
[Nexus 4 Android Development] mayurkher:
thanks for the great work..

one small observation about Nexus 4 build 7.1.2 (NZH54D), whenever I enabled Pocket detection, battery drains very fast.. (49% --> 0%) in about 15 ~ 20 minutes.

thansk you again...
[Nexus 4 Android Development] nitin.chobhe:
Yes, this is how PA has implemented it. Can't help: choose what you need the most - battery or pocket mode? ;)

Nitin
[Nexus 4 Android Development] StipeP:
Can anyone guess why is this happening? The battery just drained out overnight.

http://imgur.com/a/JpIXi

I barely touched it. 21min of Screen time. And that continuous slope was me not even moving it for 12 hours! What is going on?! It wasn't like that a month ago.

AVG found no viruses. GPS, Bluetooth or anything else is turned off. Only thing that is on is WiFi
[Nexus 4 Android Development] norike:
Same problem here upgrading through Nitrogen OTA. Haven't found time to try a clean flash.

It didn't solve it for me so I flashed back build and cleaned cache and dalvik. Now the battery seems to be consumed as always.

Look at the difference on the two slopes in the attached image. At the left it's using 0817, at the right it's 0809:
[Nexus 4 Android Development] nitin.chobhe:
I can not only guess but surely tell you the reason ;)

Read the post above yours... Disable pocket mode, that's the culprit.

Nitin
[Nexus 4 Android Development] StipeP:
Pocket mode? You mean On-Body detection?

edit... All gestures are deactivated
[Nexus 4 Android Development] norike:
Thanks for replying, Nitin.

I checked "Settings/Personalization/Gestures/" options were all unchecked.

I also checked SmartLock was deactivated.

I'm flashing 0817 to check it again.

The only difference I find between 0809 and 0817 regarding this seems to be the "Settings/Personalization/Gestures/Pocket detection" option. It has always been unchecked.

I've checked and unchecked it to make sure the correct value is stored. I'll tell if it makes any difference in a few hours.
[Nexus 4 Android Development] minerek:
Guys after this update, My phone is terribly hot in my pocket and this drain the battery. I have all the gestures turned off, including this about pocket detection :/
[Nexus 4 Android Development] nitin.chobhe:
What's your setup? It is working normally for me...

Nitin
[Nexus 4 Android Development] minerek:
Nitin before update i dont have any problems. When i have it on my desk, its ok . I dont know why this is hot if i have it in my pocket. Which configuration? I didnt change anything after last update
[Nexus 4 Android Development] ujh:
so, am not the only one.. after the latest update battery's draining like a horse on adrenaline..
[Nexus 4 Android Development] L3R4F:
I also have this problem. Going back to previous release. Hoping devs will find the root cause :)
[Nexus 4 Android Development] Karan.S:
I have the current version installed (clean flash), no battery issues at all. Is it an App or maybe a wakelock that is causing the issue?
[Nexus 4 Android Development] nitin.chobhe:
So I'm building the ROM without the pocket mode which seems causing issues

Nitin