yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] r00t4rd3d:
Phone has noticeable lag on 8.1 compared to 8.0 and earlier. Followed all instructions to a T. Also battery discharges quickly and charges slowly, odd. I am sure Nitin will get this all sorted out in due time though. Thanks!
[Nexus 4 Android Development] skristies:
Also laggy for me, too. :(

TWRP 3.2.1 + GappsNano8.1 + Magisk14.5

Downgrading to 8.0 for the moment....
[Nexus 4 Android Development] nitin.chobhe:
It runs good for me although I agree about battery. It is draining more compared to 8.0

It will lag for you as you have not followed the instructions in OP

Nitin
[Nexus 4 Android Development] skristies:
I did a test of 8.0 + Magisk14.5 and it also laggy.

Seems to be related to Magisk :S

Will try 8.1 without Magisk now and see if gets better.

---------- Post added at 02:55 PM ---------- Previous post was at 02:37 PM ----------

It got better without Magisk, but a bit slow if compared with 8.0
[Nexus 4 Android Development] Karan.S:
Nitin, once again I thank you very much for the time and effort you put into maintaining the N4.

Installed the 8.1 ROM yesterday. Here are my observations so far. First the install went off without any issues. I grabbed OpenGapps pico, modified it for 8.1 as described and installed it and Magisk for root.

The first issue was the setup wizard, the phone was lagging like crazy, it took 25mins to complete the otherwise 2 mins long setup process, but, it did complete without any further issues. After that I just let it sit idle for a while as the phone got really hot and drained almost a quarter of the battery in just doing the setup alone.

After a while when it had cooled down, it was running smoothly, but, again, as long as it was idle. The moment any load is put, it starts to lag, though not as crazy as the initial setup. I did tweak the kernel using Kernel Aduitor and found setting the I/O to CFQ instead of BFQ makes it run with less lag, but, there is still noticeable lag.

As for the battery, no drain here when it is idle, i.e no wakelocks noticed, which is good. Ofcourse, when using the phone it pretty much runs at max clock speed at all times even for simple tasks, which causes the SOT to be lower. I haven't yet tested how much SOT can be achieved.

As for the ROM overall, everything works, no crashes etc... so that is definitely a positive. The wifi though, specifically the 5GHz band is pretty much unusable as it has very poor range, even at 5ft from the router is goes to "Poor" as it has with other 8.0 ROMs too. The 7.1 Nitrogen used to have excellent range in comparison for 5GHz band. Not sure if it is the driver or the kernel, tweaking the WCNSS file has no affect on this at all.

Again please treat this as feedback only. Not trying to ***** or moan about it. The fact a 5 year old phone has a working 8.1 ROM itself says a lot. :)
[Nexus 4 Android Development] CelticWarrior:
I've installed last upgrade 8.1 + pico gapps + magisk.

It works very good except led light (as description).

Thank you so much

Waiting for next releases :good:
[Nexus 4 Android Development] PavelPerm:
nfc is not fixed on 8.1....
[Nexus 4 Android Development] Karan.S:
Quick update, decided to do a clean flash with a different set of gapps. Quite the different outcome as far as the setup goes, unlike the last time, the setup this time completed just as fast as it normally does. However, the UI was still lagging. After that, the experience is still the same. It does seem that even newer high end phones like the pixel/2 seem to have random lag on Oreo. Still, since nothing is crashing and the standby time is good, I am running it for the moment. :good:
[Nexus 4 Android Development] nitin.chobhe:
A restart should improve the smoothness. Gapps link please

Nitin
[Nexus 4 Android Development] mrk2815:
wondering the same thing.also saw that you have new build for nexus 6.will there also bea new build to fix any issues that the nexus 4 has at the moment.
[Nexus 4 Android Development] nitin.chobhe:
Here is the next build of Nitrogen for mako: https://www.androidfilehost.com/?fid=745849072291695448

Use gapps from here: https://androidfilehost.com/?w=files&flid=235144 (Credit goes to GZR team, details about gapps mentioned in this G+ post)

Note:

NFC is not working so I've removed it and NFC service to avoid unnecessary battery drain

Flashing process:

1. Wipe everything except internal storage (this is not similar to factory reset)

2. Flash ROM and Gapps (linked above)

3. Reboot and setup your phone (if you get any FCs, skip the setup and then open Play store, it will ask you to login). I tried this twice and didn't face any FCs.

4. If you want root, once the setup is done, reboot to recovery

5. Flash Magisk 14.5 and reboot

As mako is not my daily driver, I do not have much apps installed on it and it runs good for me. I would like to know the feedback on this build.

Nitin
[Nexus 4 Android Development] skristies:
Thanks man! Will try it later today!

by the way, I was looking at some hardware specs and I do have a question for you Nitin:

Does this mako rom also works on Lg Optimus G E977 ?

They have almost the same specs, and the board looks the same. The main differences seems to be the 4G and the 32Gb rom.

Thanks, one more time!
[Nexus 4 Android Development] mrk2815:
working on some projects but will try it out and let you know. as i do like what you have done with nitrogen on nexus 6 and will try as well on nexus 4 mako.

---------- Post added at 02:04 PM ---------- Previous post was at 01:32 PM ----------

nitin, since i dont use nfc.i wi will fflash at the end of the week and will get back to you as far as performance goes. how is battery life with this build. can you get a full day out of your latest build.
[Nexus 4 Android Development] skristies:
on installing, after choosing the wifi, it got "google play services has stopped", but after that the instalation run its course.

it is a bit slow, if compared to 8.0, but better than the last 8.1 version.

logged the google services after the whole instalation

The boot is taking a little longer than Nougat.

Overall it is a nice room, but the NFC is kind of needed for me, so probably I will go back to 8.0 for now :'(

PS: It is more laggy after flashing magisk... can it be a issue on my device? and also is getting a lot hotter, when plugged on the desktop.
[Nexus 4 Android Development] Spike`:
confirm that is better than last 8.1 but there is some little lag or little breaks on transitions, or just pressing the Recents button is easy to spot it, the same going from app drawer to desktop

also on Recents there's some delay to show the APPs running compared to 8.0

it kinda feels going from 8.0 to 8.1 the same way from 4.4 to 5.0, there's some kind of delay not 100% present but make the rom feels "little heavy"

Other than this, the setup process went without any errors

Thank you for your work and hope you can find the problem
[Nexus 4 Android Development] nitin.chobhe:
No, it doesn't work on any other phone than Nexus 4

As mentioned in release post, mako is not my DD and it is connected to WiFI when I'm at home. I am using Kernel Auditor to set the CPU frequencies (Max: 1242 and min:594) and governer: Userspace. I used it today morning, and getting good backup an hour of SOT from 100 -> 70% battery. But with reduced frequencies, the performance gets hit :(

Nitin
[Nexus 4 Android Development] mrk2815:
nitin, great job.i took the time tonight and flashed 8.1 on to the nexus 4. its working like a new device, its wonderful thas buttery smooth and i have 71 apps already installed on to the device. i also have magisk 14.5 installed and no issues there either.since i dont use nfc i dont really mind . its a great rom keep up the great work. i followed your instructions and no issues during the flash process the gapps worked the ones that you suggested from android file from ground zero .also i wanted to let you know safety net passes on this rom and i got this rom to be certified on the play store. i dont know how i did this but its saying certified on the playstore when i went to the settings section of the play store.
[Nexus 4 Android Development] nitin.chobhe:
Good to hear that. How is the smoothness with 71 apps?

Keep me posted if you find something ;)

Nitin
[Nexus 4 Android Development] CelticWarrior:
OK updated at 12/18 version. Now i have 77 apps.

Smothness not bad.

Good job :good:
[Nexus 4 Android Development] nitin.chobhe:
Is this your daily driver? Shall I update the OP with this build?

Nitin
[Nexus 4 Android Development] CelticWarrior:
Yes :good:
[Nexus 4 Android Development] crimsonl33ch:
NFC working here

NFC works on my setup, only when initiated by another device. Worked transferring a file to my Nexus 4 from my Nexus 5. It works when I placed my Nexus 5 against the Nexus 4 with a photo to transfer, the Nexus 4 NFC came alive. Greyed out NFC button activated. Doesn't stay on after a reboot.
[Nexus 4 Android Development] Spike`:
ok i've done alot of wipes to find if i could find a way to reduce the lag i have on latest 8.1

What i found:

1. The Rom is a little laggy with just Rom+Gapps, adding Magisk makes it even more laggy. Also testing alot of times the Setup Gapps had many crashes, was not 100% of the times but at least 70%

2. Tried using latest SuperSU to check if the root worked, did not but i found another thing very important. With zip recovery SuperSU the lag on the Rom and Setup Errors completely vanish, the rom was smooth has 8.0 and with the many times i wiped and tested not one time the Setup crashed but NO ROOT

3. To try to have root tested with Lineage addonsu, Tested with rom+gapps+addonsu-14.1 and the rom had the lag and also no root aswell

4. Tried to use supersu+addonsu and......it works and the rom is smooth 8.1 has 8.0 and no setup errors

so...after at least almost 20 wipes of many combinations its done, test this

1. download from https://mirrors.ustc.edu.cn/lineageos/su/ the addonsu-14.1-arm-signed.zip

2. if not have it, download latest Supersu - http://download.chainfire.eu/1220/SuperSU/SR5-SuperSU-v2.82-SR5-20171001224502.zip

3. Flash the rom in this order

3.1. Rom -> Gapps -> SR5-SuperSU-v2.82-SR5-20171001224502 -> addonsu-14.1-arm-signed

4. Reboot and do the Setup

5. After setup reboot

6. When full booted the first thing to do is go to Google Store and install SuperSU BUT VERY IMPORTANT, DO NOT OPEN SUPERSU !! and if you do DO NOT INSTALL UPDATED BINARY LIKE IT TELLS YOU TO DO, if you do you will have a boot loop

7. All done, rom is smooth

Info:

1. SuperSU makes the rom lag free, not sure what it does against rom+gapps only but tested alot of times and was 100% that supersu zip kills the lag

2. its important to install SuperSU on google store because SR5-SuperSU-v2.82-SR5-20171001224502+addonsu-14.1-arm-signed trick makes the Rom Apps accept Root Privileges without asking, so its important to install that supersu from store to avoid major security risk

3. the root has to have both, only supersu or only addonsu will not work

If anyone do not want root, you can rom+gapps+SR5-SuperSU-v2.82-SR5 and you will have the lag free and no root

Test it to see if it works with more people
[Nexus 4 Android Development] Karan.S:
Spike, well done! Just tried your steps, crazy as they may seem, it actually worked! N4 with 8.1 running smooth as butter. Clearly something Supersu does fixes whatever bottleneck is present.

An added extra for anyone running Pixel Launcher, by default the option to change the icon shape is missing, took a bit of digging but found a solution. The "developer options" are on by default, toggle them off and re-enable them, voila! the option for the icons will be back. :)
[Nexus 4 Android Development] chopoLet:
Thanks, Gonna try this one right now :D
[Nexus 4 Android Development] nitin.chobhe:
Thanks for finding this out and sharing the details. I treated the steps and they worked perfectly :good:

I'll add them in OP :D

Nitin
[Nexus 4 Android Development] chopoLet:
Which gapps did you use sir?
[Nexus 4 Android Development] Spike`:
glad its working with more people

chopoLet i used the ones on Nitin post on the new 8.1 build -> https://androidfilehost.com/?w=files&flid=235144
[Nexus 4 Android Development] nitin.chobhe:
Added in OP now

Updated OP with your instructions :D

Nitin
[Nexus 4 Android Development] mrk2815:
i installed the way that nitin , said. no lag and no issues.i went about it this way.wipe all except internal storage, then instal rom and gapps that nitin provided.then reboot once the device settles in whihc will take about 2 to 3 minutes. after that go through set up process, then go back to recovery and flash magisk and all is good. i dont know why people have a hard time following instructions but taking short cuts along the way. its a great rom. He has put in all the hard work to have a working rom that does not crash or reboot after usage. in a few more builds everything will be tinkered and he will get all minor issues worked out.this is a 5 year old device running latest os. be grateful for the fact that the nitrogen community is keeping the device alive.i have the nexus 6 and pure nexus has dropped support for that thing so people are scrambling to find another rom to use.so thats not the case with the nitrogen community they try to keep devices around as long as possible. i am hoping that project trebble will make the job a bit easier for nitrogen community to keep on building roms for devices.
[Nexus 4 Android Development] Karan.S:
I installed the current ROM WITHOUT any gapps or magisk or any other apps, just the vanilla ROM alone and there IS lag. By lag there is choppiness in transitions, which over time overheats the phone, leading to overall lag in general. The only way to make it smooth again is to follow the steps that Spike has provided above.

As for the rest of the ROM, like I said from when the first version of 8.1 was released, it is stable in every which way, except the choppiness in the transitions, which has now been taken care of as well.

So in short, no, we haven't been having a hard time following instructions or skipping steps in installing it. Neither are we ignorant of the fact that it takes Nitin a lot of his time and effort to maintain an old/outdated phone on the latest OS. I am sure in due time even this bug will get identified and taken care of the proper way. Till then we have a weird but effective fix, which we can use to properly enjoy the latest OS on the N4. :)
[Nexus 4 Android Development] nitin.chobhe:
This time it actually is needed to have that workaround. With normal steps the ROM lags a bit (

NOT that it is not usable but it lags

).

The steps provided by Spike remove that little lag to and make the ROM like Nougat :)

Nitin
[Nexus 4 Android Development] username-17:
Hello Nitin, I would like to ask you if it was possible to have your last rom with Nougat 7.1.2 (25/08/17) with the December security patches. It would be better if you activated the updates again only for security patches.

For me, the rom with Nougat is the best ever. Thanks =):D
[Nexus 4 Android Development] nitin.chobhe:
No, I don't have time and capacity to do that :eek:

Nitin
[Nexus 4 Android Development] username-17:
thanks anyway :)
[Nexus 4 Android Development] skristies:
You can download the last 7.1.2 rom from nitin (not sure what was the last security update on that)

Nitrogen-OS-mako-20170825.zip - Android 7.1.2

https://androidfilehost.com/?fid=961840155545590965

---------- Post added at 06:01 PM ---------- Previous post was at 06:00 PM ----------

Hey man, quick question:

Do you have plans on bring back NFC support into 8.1 for Mako?

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

Just did the new installation steps and it is working flawless!

No errors in any moment. No laggy. :D

But, a question? It is rooted or not? if not, will we be able to root it in the future?
[Nexus 4 Android Development] nitin.chobhe:
Read OP

Nitin
[Nexus 4 Android Development] Islam Looca:
Could you please add dt2w to the stock kernel ?

Power button is heavily damaged, also volume buttons in a very bad condition couldn't find any place around to fix.
[Nexus 4 Android Development] steiner.seevetal:
Hi, before I installed this ROM, I used Oreo 8.0 from this thread https://xdaforums.com/showthread.php?t=3587540.

I did the instructions from OP, but with out wipe of /data and it works [emoji3]. So I don't need to install all new.

Thanks for this ROM

Christian

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Android Development] Spike`:
if you flash both SR5-SuperSU-v2.82-SR5-20171001224502 and addonsu-14.1-arm-signed its rooted and its very important that the first thing you do is install SuperSU from PlayStore and not open it

the reason of SuperSU from PlayStore is because the zips SR5-SuperSU-v2.82-SR5-20171001224502 and addonsu-14.1-arm-signed together gives to any application that you install instant root without asking with is a major security risk, to avoid that is needed to install SuperSU from PlayStore to make the normal asking for root. Tried to use the phhsuperuser also but didn't work, wont popup

On Phone Reboot if SuperSU gives a notification to update binary ignore it !

maybe i can find something better or Nitin but for now its works
[Nexus 4 Android Development] mrk2815:
its strange dont notice the lag even though i went about the approach before the spike grove solution. i dont want to go back and do this thing all over again as i had to go through a good 2 hours of configuration of all my apps and remember i have a good 80 apps configured and for now i will just enjoy the device as it is on 8.1. but will take advice of your word for the next build whenever that will be. There a good back up solution for backing up all my apps an configurations so for next time i will have bbetter test results. this is one of my daily drivers along with the nexus 6 both on your nitrogen 8.1 roms s nitrogen is the only community that has working 8.1 roms . none of the other ccustom rom communities that i have visited on google plus have an 8.1 rom for any device outside of stock google devices which are the first and second gen pixels, and the nexus 5x and 6p . outside of these devices which have 8.1 the nitrogen community is the only third party community outside of google garden or google walls that has working custom roms based off of 8.1. thats saying something about nitrogen community.

---------- Post added at 03:53 PM ---------- Previous post was at 03:38 PM ----------

nitin, how about with other roms that you have build in the past , adding some kind of kernal tweeker app in the rom an that would hopefully improve the experience as well. dont know about this sort of stuff and so just thinking out loud about this sort of stuff.
[Nexus 4 Android Development] nitin.chobhe:
I can try and add kernel auditor (but don't see a point when you can easily get it from play store) :confused:

Nitin
[Nexus 4 Android Development] mrk2815:
thanks nitin, i did not kno that.will then get it from playstore.

---------- Post added at 05:47 PM ---------- Previous post was at 05:46 PM ----------

i did not know ahthe kernel auditor was on teh playstore. i willget it. what are hte recommended settings to try with the kernel auditor.
[Nexus 4 Android Development] chopoLet:
Ok, I just followed the new method and honestly I am loving how smooth it is in my end. Thank you very much to sir Spike` and super Nitin for the efforts :D

the only thing I'm concern about is the led notif when charging. But it's not much of a big deal though. Advance Merry Christmas everyone :D

Thanks Super Nitin

Thanks Sir Spike`
[Nexus 4 Android Development] nitin.chobhe:
I'll see what I can do with the notification LED when I get time.

You'll have to find the settings that are good for you based on your usage and preference

Nitin
[Nexus 4 Android Development] Karan.S:
LED notifications work if you use a third party app. I have for the longest time used Light Manager - LED Settings. :good:
[Nexus 4 Android Development] mrk2815:
what a big difference kernal auditor did with my nexus 4, after finding a thread on Redd it on how to configure it The nexus 4 now with the kernal auditor tweeks, . got much better resulting then before. now have a screen on time of close to 5 hours with oreo 8.1 ona 5 year old original battery, which was not even achievable on other roms that i had tried in the past from lineage .
[Nexus 4 Android Development] 4ur0r:
Could you please share that information with us?
[Nexus 4 Android Development] 320flyboy320:
Can you share the settings you used?
[Nexus 4 Android Development] mrk2815:
here's one thread that i read up on XDA and the thread will be below. i have to hunt for the other one from redd it as i some how erased my browser history on the pc that i found the kernal adiutor tweeks on.

https://androidmodguide.blogspot.ro/p/blog-page.html
[Nexus 4 Android Development] nitin.chobhe:
Wow! 5 hours is remarkable. Some screenshots would please us ;)

Nitin
[Nexus 4 Android Development] lipeon:
pokemon go, works? i try and nothing... plz help
[Nexus 4 Android Development] nitin.chobhe:
Can't help with that stuff

Nitin
[Nexus 4 Android Development] Spike`:
just an quick update, didn't test much. I didn't noticed that the version of supersu on play store is older

so to avoid any problems and no more notifications to update binary

open SR5-SuperSU-v2.82-SR5-20171001224502 and extract Superuser.apk from the folder common and install it

or

download and install the latest supersu sr5 apk version from here -> https://www.apkmirror.com/apk/codin...elease/supersu-2-82-sr5-android-apk-download/

Put on your phone (ex: on the Download folder) and use the file manager from Android to install it or download a file manager from playstore

nitin not sure how the best way to put this on the OP installation procedure

dont know why the superuser.apk isn't installed on supersu zip, tried to mod the update script to install it on system/SuperSU like < 8.0 but no go. Maybe on the next 8.1 version force it to be installed on user apps or like a zip to install superuser.apk on user side? Or a better approach....

well from me dont know what to do more, so... who uses the rom install the latest and proper superuser.apk that i mention in this post to have a flawless root experience, until next time :)
[Nexus 4 Android Development] nitin.chobhe:
May be, try with pico gapps and we'll come to know ;)

Nitin
[Nexus 4 Android Development] Mr.MEX:
Please flash:

http://xyyx-dev.ru/nitrogen-os/nougat/hammerhead/addons/Synapse_UKM.zip
[Nexus 4 Android Development] bart.found:
Just flashed, but synapse keeps to not apply settings on boot... it's a bit frustrating..
[Nexus 4 Android Development] Ümit:
I tried the latest release to flash with multi from manager but it didn't.

Does anyone know what to do?
[Nexus 4 Android Development] 5m4r7ph0n36uru:
Do you know if MultiROM has even been updated to work with Android 7 yet. I'd guess not, and thus this would be the problem your running into.
[Nexus 4 Android Development] JardyRobot:
Supersuhide

​

Could be..

Try it!! :) And let us know :)
[Nexus 4 Android Development] Ümit:
Which version of multi ROM I should use? Any link maybe?

Thanks
[Nexus 4 Android Development] 5m4r7ph0n36uru:
Non at the moment, as it hasn't been Porter over to Android 7 for the Nexus 4 yet.
[Nexus 4 Android Development] ze7zez:
BusyBox Install (No Root)

Try BusyBox Install (No Root).

It works perfectly on my i9505 without root!
[Nexus 4 Android Development] nitin.chobhe:
Guys, if you see a new build notification in OTA, don't be surprised. I build a new build today for the fix that [MENTION=5834597]Mr.MEX[/MENTION] did for quick settings bar getting disappeared after reboot :good:

I'm talking about this:

Nitin
[Nexus 4 Android Development] fr3quency:
Google Play Services stopped working the instant I connected to the WiFi. The same thing happened to the Nexus 5. SimpleAOSP and the Nougat version from the creator of Quanta do not have such problems(and it makes me wonder why developers cannot fix such bugs when it's open source)

Gapps package used: OpenGapps Aroma because using mini and pico is ****.