yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] nitin.chobhe:
USB OTG works only if you have special Y cable and kernel supporting OTG.

Download the ROM zip, boot your phone to twrp add connect it to PC. That's the only way.

Nitin
[Nexus 4 Android Development] jluspo:
How to fix black screen when playing youtube?
[Nexus 4 Android Development] nitin.chobhe:
I don't have it. May be it's some mod that you are using or some of your setup. Start with clearing the cache of the YouTube app.

Nitin
[Nexus 4 Android Development] jluspo:
I been having this prblem for quute a while now. Maybe root causes the problem
[Nexus 4 Android Development] nitin.chobhe:
I'm rooted too (with Magisk). That shouldn't be a problem.

Nitin
[Nexus 4 Android Development] mark2410:
i got the rom onto the phone but its just stuck forever booting, i dont know whats wrong any ideas?
[Nexus 4 Android Development] nitin.chobhe:
I don't know what all things are you flashing. Just flash the ROM and see if it boots. If it doesn't, download it again and try the same thing.

Nitin
[Nexus 4 Android Development] UncleJean321:
Which kernel is good for this rom and battery ?
[Nexus 4 Android Development] Sun90:
The stock one that comes with the ROM.
[Nexus 4 Android Development] fajera:
I have Nitrogen 7.1.2. and Android System WebView there is component system. How is update this apk? automatically dont no but still the same version at long time since instaled.

Maybe delete and instal from google play?
[Nexus 4 Android Development] FiyreWyrkz:
I've just happened to notice upon installing this with twrp, noticed something printed out in the console.

Seems that maybe there is something in the way the build.prop is written? :confused: I don't Android much. :silly:

...
Checking for Digest file...
Skipping Digest check: no Digest file found
No file_contextsTarget: google/nitrogen_mako/mako:8.1.0/OPM4.171019.021.E1/root06111004:userdebug/test-keys- Nitrogen Project
...
...
[Nexus 4 Android Development] Rebound_:
Yes/ Delete it and install new version from GP

---------- Post added at 10:34 PM ---------- Previous post was at 10:32 PM ----------

While there are no normal kernels for oreo
[Nexus 4 Android Development] nitin.chobhe:
It won't update anymore: https://www.androidpolice.com/2016/07/20/google-explains-chrome-will-become-webview-android-7-0/

Starting in Android 7.0 Nougat, WebView will actually be Chrome.

Nitin
[Nexus 4 Android Development] fajera:
I don't use chrome, my browser needs engin from web view
[Nexus 4 Android Development] nitin.chobhe:
Then? What do you expect me to do? :confused:

Nitin
[Nexus 4 Android Development] fajera:
Have I must delete web view from system and instal from goole play? and other solution has not?
[Nexus 4 Android Development] nitin.chobhe:
As I mentioned in above post, WebView is no more available after Android 7.0. User chrome or contact Google.

Nitin
[Nexus 4 Android Development] justmix4:
I just changed to this ROM and I'm very happy with it. Thank you for all your work nitin.

I miss only DT2W, would it be possible to add this feature to Nitrogen OS for mako?
[Nexus 4 Android Development] nitin.chobhe:
No, not planning to add it. You can install the Kernel Adiutor; iirc it will give you that option to DT2W.

Nitin
[Nexus 4 Android Development] nitin.chobhe:
Here is the new build with July security patch....

AFH link: https://www.androidfilehost.com/?fid=11050483647474833542

SF link: https://sourceforge.net/projects/ni...able/Nitrogen-OS-O-mako-20180703.zip/download

Enjoy!

Nitin
[Nexus 4 Android Development] justmix4:
Strange, Nitrogens for other devices contain this option in the stock kernel. KA doesn't include this option for this ROM.
[Nexus 4 Android Development] Akhilesh S V:
KA mod and KA mod_reborn have that option
[Nexus 4 Android Development] Bringhimup:
Successfully installed. So far I've encountered a small issue. If connected to USB on PC I could switch between the USB options to just charge battery or to access files with MTP or to transfer Pictures (PTP). But I can not chose anything but MTP. If I select one of the other options it is just switching back to MTP.:confused:
[Nexus 4 Android Development] nitin.chobhe:
Did you see this option: Settings -> System -> Developer options -> Select USB Configurations??

Was that a clean flash? BTW, what gapps did you use?

Niitn
[Nexus 4 Android Development] Bringhimup:
Yes, I can see this option, but even if I chose any of the other configs it is just staying with MTP.

No. No clean flash. Just dirty flashing of the ROM.zip (before I had the May security update), wipe cache/dalvik cache and done. Gapps are still the same that I last installed -> open_gapps-arm-8.1-pico-20180506.zip

MTP is the option that is most important, so this is no real problem for me, so just for this I would not do a clean flash. I'll stay alert and will watch for other issues. If there is something more bothersome I'll make a clean flash. So, so far no need for you to really investigate, I think.
[Nexus 4 Android Development] 7asan:
hi

do u use the google apps of: phone, Gboard, & massage , which can b updated from google play

or stock one ?

i ment could u keep the rom have the less needed apps & which it official from google & can b updated

like this clean rom has no browser or maill app & its phone, Gboard, & massage r official

https://xdaforums.com/moto-g/development/rom-pixel-experience-t3748738
[Nexus 4 Android Development] doragasu:
I love this ROM. Unfortunately I have a problem with the Camera. When I record video, If the video is longer than about 1 minute (sometimes even less), when I stop the recording, the camera app freezes (the screen continues showing video but all the controls freeze). Then when I open the recorded video, it is not complete. No matter how much time you record, only less than a minute gets recorded.

I have tried with the stock camera and with OpenCamera, both have the same problem. What can be causing this problem?
[Nexus 4 Android Development] nitin.chobhe:
Search this thread and you'll five my opinion...

Nitin
[Nexus 4 Android Development] doragasu:
Thanks, but could you please be more specific? There are more than 400 pages in this thread...
[Nexus 4 Android Development] nitin.chobhe:
There is a search button... Search 'camera'

Nitin
[Nexus 4 Android Development] ItaroyaN:
thank you for the latest update!! keeping my old zombie alive!!

I have one problem, with the new version is it possible to remove the Google search bar from the launcher? it won't let me move/remove it.

installed the gapps you provided
[Nexus 4 Android Development] nitin.chobhe:
screenshot please - not getting where the search bar is...

Nitin
[Nexus 4 Android Development] ItaroyaN:
here:

[IMG="searchbar"]https://i.imgur.com/tIm6SCc.jpg[/IMG]
[Nexus 4 Android Development] nitin.chobhe:
Long press on home screen and disable it from settings...

Nitin
[Nexus 4 Android Development] ItaroyaN:
I was searching fur the exact setting and did not find it, what the name of the setting?:o

edit:

nvn i found it! lol

thank you!!
[Nexus 4 Android Development] mark2410:
for reasons just has to factory reset so did that then reflashed the gapps, now it seems the pphone isnt booting, just getting stuck at the swirling circle. what did i do wrong? was running okay before the factory wipe

Edit: reflashed the rom then flashed gapps then it booted fine
[Nexus 4 Android Development] 7asan:
hi

i was using ur Nougat version rom for almost a year & now i moved to this Oreo

i did clean flash with GZR zero gapps , but having these issues:

- i dont get any led notification for any app! although i checked the sittings

- after activate tap to translate in google translate , it stop every time i copy any text!

- my bank app show in landscape!! "u could install it to check"& not allow me entering @ all

https://play.google.com/store/apps/details?id=com.alahli.mobile.android&hl=en
[Nexus 4 Android Development] nitin.chobhe:
1- LED notifications work (Battery LED notifications are not implemented, they are inline with AOSP behaviour)

2- I installed Google Translate to test this. I copied text from your post, translated it to my language (Marathi) and copied translated text and pasted it here

मी जवळजवळ एक वर्षापूर्वी उर नौगॅट वर्जन रोम वापरत होतो आणि आता मी या ओरेओ मध्ये गेलो

See attached screenshot. It works as expected.

3- This is app specific and I can't see any reason for it to not work. Does it support Oreo?

So looks like you need a clean flash.

Nitin

Nitin
[Nexus 4 Android Development] doragasu:
Searched about the camera problem in this thread, and found no solution to the problem. Just random reports about people complaining about the problem, and people stating it works for them. So I did a clean flash... and nothing, camera does not work for long videos, at least for me on a clean flash.

So I flashed LineageOS 15.1, and guess what, it works flawlessly there. Too bad because I like this ROM better, mainly because LOS does not support signature spoofing, and I run without GApps. But I suppose I prefer losing signature spoofing rather than losing video recording.
[Nexus 4 Android Development] nitin.chobhe:
I was referring to this and this post.

Yes, we have to choose the ROM which suits to our needs :good:

Nitin
[Nexus 4 Android Development] 7asan:
tnx 4 ur support , i wiped the whole phone b4 i did clean flash

1- LED notifications not work for any app : whats, insta, snap....

2- activate "tap to translate" feature in google translate sittings , then go any app like ur whatsapp & try to copy any msg , u should get a float google translate , but u wont have coz it will stop working

3- did u try the bank app ? i'm thinking to try test it on another oreo rom

but i really want to use urs, but f those issues not solved i have to change, is this build beta, alpha , nightly, or stable? & how the update will b weekly or monthly?
[Nexus 4 Android Development] justmix4:
Clean flash:

Nitrogen-OS-O-mako-20180703.zip + GZR-GaPPs-arm32REv4-Zero-8.1-20180628.zip = stuck on bootanimation for over an hour.

About previous build:

1. The LED notifications also didn't work for me.

2. The application installation progress bar stands somewhere 70-80% without animation.
[Nexus 4 Android Development] Akhilesh S V:
Try flashing Open Gapps
[Nexus 4 Android Development] nitin.chobhe:
1- As I said it works - check your settings -> App & Notifications is ON

2- See attached screenshot... I tried your steps and it still works

3- I don't want to install any bank app :)

1. See my above response

2. Did you follow the flashing instructions?

Nitin
[Nexus 4 Android Development] skristies:
Hey Nitin,

Do you plan on supporting Android Go for Nexus 4(Mako)?

is it worthy it wait for it, or better just go with this 8.1?
[Nexus 4 Android Development] nitin.chobhe:
Go is for devices with 1 GB or less RAM. We have 2GB RAM and the device is capable of running full fledged Oreo. So no plans to support Go.

Nitin
[Nexus 4 Android Development] kronong:
Hello, just got two questions.

Do I have to clear system and data or just cache and dalvik when I wanna update ROM from june version?

And the second question is about battery. Any advices how to improve the battery time on this ROM? I had Pure Nexus with custom kernel (forgot the name) and the battery drain was little smaller. Now it's about 2h-2:20 using fb, messenger, internet on WiFi (sometimes H+). With previous ROM it was like 3h. Somebady asked in this thread, which kernel is the best and the answer was: the kernel coming with the ROM, so I didn't change it. Is this a good score for this ROM or there is a way to improve it?
[Nexus 4 Android Development] nitin.chobhe:
1. Wipe cache, system, dalvik cache and flash ROM, gapps and magisk (if you need root)

2. Battery backup is highly dependent on your usage. If you want to have more backup and ready to compromise with performance, then decrease the CPU frequencies (lower: 340 MHz and higher:1000-1100 MHz, GPU: 200 MHz) using Kernel Auditor.

Nitin
[Nexus 4 Android Development] _undead:
Daily driver for my good old Nexus 4. Runs super smooth.
[Nexus 4 Android Development] mrk2815:
do agree.nitin is one of the best. keeps these thign alive as long as possible.looking ofrwaar d to seeing our good old mako get android p if possible.
[Nexus 4 Android Development] mrk2815:
whats battery like on nitrogen on neuxs 4 mako. on average
[Nexus 4 Android Development] nitin.chobhe:
3 hours of SOT... But again it highly depends on your usage and many other factors.

Nitin
[Nexus 4 Android Development] mrk2815:
thanks nitin, will flash on an old nexus 4 whihc is being used as a media device .

---------- Post added at 01:25 PM ---------- Previous post was at 01:18 PM ----------

thanks nitin, i flashed lineage an was having massive battery drain. within a 64 or so hour use of the device being idle and not doing anything but sleeping in doze mode. so i figured i would askhe before i flashed nitrogen to se if there is a difference.knowing that old original battery in the nexus 4 i dont mind if it can even get about 3 hours of sot. on lineage i was geeintg between 1.5 to 2 hours of sot which i thought was not that good.
[Nexus 4 Android Development] seregabest09:
Hi guys, i've flashed ROM and everything great except one thing, everytime after approximately 30 min-1 hour using my phone is turning off wifi and i can turn it on again only after reboot could you please help me with this?
[Nexus 4 Android Development] ec_meyva:
Hello everyone, I can't login to the GMail app. When I try to login it gives "This account already exists on your device." error. Also is there any settinhs to go back to the vanilla app icons?
[Nexus 4 Android Development] Sam Nakamura:
Have tried those standard solutions already for Gmail?

https://support.google.com/mail/forum/AAAAK7un8RULfLXFSwaxuI/?hl=en

I you assume you mean legacy icons by" vanilla icons", check the launcher's settings for "adaptive icons" and choose the option you like, if you mean the icon design itself, not the format (round, teardrop, square) you'll need to use a icon pack and a launcher like Nova which supports custom icons, the icon design itself was changed by lineageOS in 15.1...
[Nexus 4 Android Development] nitin.chobhe:
Haven't heard something like this. Clean flash?

Just grant all the permission to gmail app & it'll work.

Nitin
[Nexus 4 Android Development] kanapkazpasztetem:
Yea, I would love to stay with this ROM too but I'm getting annoyed by inability to record videos :( the biggest problem here is that our phones are just getting old - they are almost 6 years old :crying: and now that I'm thinking of it just may not be worth fixing this issue since not that much people are experiencing it (sad but true) :/ Nitin is already doing a

good job

here with keeping us updated, it's a shame that some of us can't get video recording fixed but it is how it is - it's a time to slowly start looking for new phone :(
[Nexus 4 Android Development] mrk2815:
agree this has been a great developer for looking out for us giving us oreo when he did not have to but he did it out of love for developing for us out of his spare time. thanks nitin.i am using the device with your rom and i know the limitations of what the nexus 4 can and cant do in 2018. i still keep it around as a back up device just in case my current devices go hay wire which some tend to do after a while . so nitin , what kernel are you using for nitrogen can it b configured with kernel auditor mod.
[Nexus 4 Android Development] MoonShell:
is there volume button to wake option?
[Nexus 4 Android Development] nitin.chobhe:
I'm using a slightly older version of kernel from Unlegacy Android. It should be possible to configure using kernel auditor.

Yes.

Nitin
[Nexus 4 Android Development] hamed_forum:
hard not detect when cable connect to computer but can sharge

in device manger dont detect nexus
[Nexus 4 Android Development] 098765:
pixel setup has stopped
[Nexus 4 Android Development] nitin.chobhe:
I do not understand what you say...

Read second reply in this post: https://xdaforums.com/showpost.php?p=76847886&postcount=4653

Nitin
[Nexus 4 Android Development] TundraLK520:
Just change the mode to mtp in developer settings, the default is charging. Or when u connect to PC just tap the usb configuration notification in phone to switch modes.

If that's what u wanted to know.
[Nexus 4 Android Development] cgallany:
Hi! I installed the ROM and it worked perfectly until I went and installes the Zero Gapps and I can't enter the Play Store, and the setup for Nexus 4 crashes at the end "Pixel Setup has stopped working". I did a wipe before installes and I wiped cache after I installed the rom and gapps. Nothing worked :/ Any fix?
[Nexus 4 Android Development] nitin.chobhe:
Did you follow the instructions in OP? If you do, you'll not get any errors. Write down the exact steps that you followed.

Nitin
[Nexus 4 Android Development] cgallany:
Ok, I figured that last time I flashed Nitrogen I flashed the ROM, booted and then flashed GApps, I did a Wipe Cache/Dalvik, flashed everything again using a previous version of Zero GApps and the Play Store worked like a charm. But I'm seeing some errors with Wi-Fi disabling itself and the Google App won't use my Gmail account, I could download apps from the play store and stuff, but Assistant won't work, neither Gmail or the Google App, for some reason they won't recognize the my Google account that's already on the phone.
[Nexus 4 Android Development] Hadenix:
for my old phone it is very good insertion

---------- Post added at 07:38 PM ---------- Previous post was at 07:37 PM ----------

only the akamulyator already rather weakly holds
[Nexus 4 Android Development] TundraLK520:
Try flashing rom zip and gapps in a single go, without rebooting to system.
[Nexus 4 Android Development] MoonShell:
happens to me too,email app can't use current gmail account used in the phone,calendar app needs me to login to gmail account,i can make gmail app to work by giving it all the permission. my flashing procedure are different from you,i wipe all except internal storage,then flash rom,flash gapps,flash magisk and then reboot.
[Nexus 4 Android Development] ec_meyva:
I can confirm the same problems. I flashed the ROM and the GApps on a single flash.
[Nexus 4 Android Development] nitin.chobhe:
What problem are you confirming?

Nitin
[Nexus 4 Android Development] d_g_m_2000:
this is a google-security related issue, nothing to do with nitrogen rom or gapps...

After trying to login with "email app" (the stock aosp app) with my gmail account, google sent me an email to verify if it was me trying to enter through an insecure app....

well, that was in my particular case... maybe this is your case also.
[Nexus 4 Android Development] MoonShell:
i also got that email too not just in nitrogen. in latest nitrogen(never tried previous build) email app says that i entered a wrong password.in calendar app,it ask me to enter my email and when i enter my gmail account that is used for the nexus,it says "this email account already exist on this phone". i have encountered this problem before,not just in oreo
[Nexus 4 Android Development] TundraLK520:
That happens on aosp email and calander app because of permission issues, google changed something, download google calendar and gmail app if problem persists.
[Nexus 4 Android Development] nitin.chobhe:
Finally, after a long struggle, I was able to successfully build a fully functional build using Lineage OS mako trees (thanks to [MENTION=3772648]voron00[/MENTION] for keeping mako up-to-date) :highfive:

With these updated trees the build is even more snappy and you know what? The LED works while charging :laugh:

Here is the build: https://androidfilehost.com/?fid=5862345805528053980

SF link: https://sourceforge.net/projects/ni...able/Nitrogen-OS-O-mako-20180721.zip/download

Clean flash it (as mentioned in this post) and share your feedback!

Enjoy!

Nitin
[Nexus 4 Android Development] 1stMako:
Hey Nitin, sound great and thanks for your ongoing work!

Is it with this other trees still possible to perform a dirty flash (which I have done for the last dozens builds) :confused:
[Nexus 4 Android Development] nitin.chobhe:
Yes, that should be possible & it should work as any other update (but you know what I always recommend :) - clean flash)

Nitin
[Nexus 4 Android Development] 1stMako:
Can not recommend dirty flash. At first glance all worked properly and indeed really snappy, but I am facing issues with many apps. Such as not reacting after using basing functions etc. WhatsApp is not showing on screen notifications. I have rebooted, but still the same.

But I have performed a Titanium Backup before, will do a clean flash and report.
[Nexus 4 Android Development] 1stMako:
I can not get the new version working properly, same issues also with clean flash unfortunately. Have downgraded to second last version, which is again running trouble-free.
[Nexus 4 Android Development] nitin.chobhe:
What same issues? Whatsapp notifications? And?

I'm having no issues. Are you flashing any additional stuff? Can anyone else post their feedback on this build?

Nitin
[Nexus 4 Android Development] 1stMako:
I have not flashed anything additional. I had issues in various apps, such as them hanging, back button not reacting. Gboard was crashing permanently. Even in settings that issue with hanging and back button occurred.

Would indeed be very helpful, if other could share their experience with the latest build.
[Nexus 4 Android Development] sercankd:
Hey, i have installed this rom to my mother's old nexus 4 but she can't use video chat in whatsapp, our camera is good but the person we are speaking to appears in purple blue lines and looks like strecthed..
[Nexus 4 Android Development] CelticWarrior:
I tried to update without clean flash and I had problems with many google apps.

I have updated to the latest version of GZR GaPPs arm32 but the problem has not been solved.

I'm back to the previous version. :crying:
[Nexus 4 Android Development] nitin.chobhe:
I updated my release post (yesterday itself) saying that the build needs to flashed cleanly. So do a clean flash and it should work as expected...

Does camera app work? I don''t know about video chat in whatsápp as I never used it :(

Nitin
[Nexus 4 Android Development] atsux30:
gapps

where i get the gapps ? :C .. i flashed my phone but i dont see the play store and messages apps :C . plz help D:
[Nexus 4 Android Development] nitin.chobhe:
Read OP & follow the steps as they are given.

Nitin
[Nexus 4 Android Development] bystroy:
Ok Google is disabled, what to do?
[Nexus 4 Android Development] nitin.chobhe:
If you have followed the OP for flashing instructions, you have flashed the smallest gapps pack which doesn't have packages needed for Google Assistant.

Search xda for getting Google Assistant working. Report back if you get it working.

Nitin
[Nexus 4 Android Development] mrk2815:
sort of works with small gapps package.get google app, g board an then set google app in default apps to default to google app , then grant permissions.you will be able to get google assisstant by holdign the home button to do most google assistant tasks.since there is no search in gapps the training of voice match will not work.i have done lots of searching on this one but cant figure on how to get that one to work.its grayed out by default.i dont know if the google assisstatn and search functionality to train ones voice could be built into the rom.i dont know and thats why i am asking about it or suggesting it.

---------- Post added at 06:46 PM ---------- Previous post was at 06:10 PM ----------

nitin, i just did a clean install of nitrogen o of 7/21 build and used the gapps in OP, there are no issues that i see. being a long time fflasher of roms and follwiing the OP guideliens to he lette sshould not yield any issues. i also used magisk 16.6 and have root as well pass safety net with magisk 16.6. so for now good rom.i came back to nitrogen as there wer issues with past lineage 15.1 bild holding 5GGZ wifi spectrum.i am flashing this one to se if i can produce the same issue with this one as this one was built off of lineage trees.