yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] mrk2815:
as you said the camera is not working is due to hal issues with camera. or just the fact that there is no camera blobs for the nexus 4 for oreo. just wondering. dont use NFC on teh nexus 4 so i will definatly flash later on nand give you my feedback. will magisk beta also work with the build. i guess will have flash and find out. thanks nitin, yoru hte only one supporting hese old nexus devices. developers on shamu thread get mad and have the moderators shut down the threads bbut yoru the tough skinned one and you ssay the heck with it. YOu asa developer dont care what others say and build for those who appreciate the developers work.
[Nexus 4 Android Development] mackendw:
I upgraded my sisters Nexus 4 from the 08/09 build to the 08/25 build. It won't boot up past the initial copy data or start fresh point. Says Setup wizard has stopped.

Is there a workaround for this? I did a complete wipe before installing it....all except the /system filesystem.
[Nexus 4 Android Development] nitin.chobhe:
Write steps that you followed in details. It works without any issues

Nitin
[Nexus 4 Android Development] Bokoblin:
Hello nitin.chobhe,

I do know you've said that you wouldn't push a new build for Nougat after 08/25, but considering WPA2 KRACK and considering that Oreo is still an alpha, could you make an exception, please?

Thanks.

PS: Link to LineageOS fix commits if useful: https://review.lineageos.org/#/q/topic:krack-n+(status:open+OR+status:merged)
[Nexus 4 Android Development] The11thDoctor:
Well flashed again with a ROM that I know isn't corrupt and it still bootlooped. Is there a way to get an earlier copy?
[Nexus 4 Android Development] Karan.S:
Here you go. All previous versions. All the best. :good:
[Nexus 4 Android Development] atomicthumbs:
It didn't have all of them set; it was missing SMS and a couple other things.

I set them and it still crashes immediately.
[Nexus 4 Android Development] nitin.chobhe:
Here is the new Oreo build: https://www.androidfilehost.com/?fid=889964283620759257

This build looks more stable and has NFC toggle working (Do not know if NFC really works, can't test it). Try it out and share your feedback.

Flash it normally - Wipe everything except internal storage, flash ROM, flash opengapps (pico), flash SuperSu, reboot.

EnjoY!

Nitin
[Nexus 4 Android Development] Droid-2012:
Camera is not working!

Can I get the camera out of this firmware and put it on yours?

https://xdaforums.com/devdb/project/?id=20161#downloads
[Nexus 4 Android Development] nitin.chobhe:
Yes, camera doesn't work yet. You have to read this post about first O release. From that list of What's not working?, NFC is fixed :)

I don't think camera will work if you extract it and install on this ROM; but no harm in trying :highfive: Keep us posted.

Nitin
[Nexus 4 Android Development] Karan.S:
Ok, is it set as the default keyboard? Settings -> languages and input or by just opening the gboard app, it should ask you to do that as well. If it is, then I am out of ideas.
[Nexus 4 Android Development] atomicthumbs:
That's already done, and it (sadly) does nothing. I'm not sure if it's the ROM's fault or my phone's.
[Nexus 4 Android Development] Karan.S:
It isn't the ROM, I use gboard as well, it would have caused issue for me too. Are you using any substratum theme by any chance, that may be trying to skin gboard?
[Nexus 4 Android Development] mrk2815:
Nitin, i tried your Oreo rom.so far so good but the camera i need so had to revert back. will be following up on the oroe when you have another build to test with hopefully camera fix.

---------- Post added at 01:53 PM ---------- Previous post was at 01:42 PM ----------

nitin, with open gapps i was having wher open gapps would not full do its thing and would cause issues toward the end of he flash of he rom. I noticed this when i flashed zyians builds. i used the slim gaps 8 and those work a bit better. just letting you know. if you want i can link the android file host link here.

---------- Post added at 02:08 PM ---------- Previous post was at 01:53 PM ----------

heres the android file host to slim gapps revisited which i found to work the best:

https://androidfilehost.com/?w=files&flid=95711
[Nexus 4 Android Development] chopoLet:
Try putting your display size to default then configure out your Gboard, or uninstall gboard turn display to default and reinstall gboard and turn your display again to your desired size after configuration.
[Nexus 4 Android Development] Karan.S:
I knew it, I should have given feedback earlier, the moment I posted that the sensors were not working, the very next reboot they started to work and have been for the most part. So after some more testing with the updated/latest version here a few observations:

1. In between the phone gets locked in 3G only, just like a few had the same issue with Ziyan's builds, even when selecting 2G it still stays at 3G. Rebooting does seem to fix this and allow it back to 2G at random like the sensors.

2. Facing "PowerManagerService.Wakelocks" that is affecting the battery life a bit.

Again, since the ROM is still in the works, no further issues. The ones above for me are minor, but I thought I mention them.

Also, Nitin, a very happy and prosperous Diwali to you and your family. :)
[Nexus 4 Android Development] nitin.chobhe:
I've mentioned in the post, that I used latest (15102017) open gapps pico. They work perfectly fine for me (while flashing or after flashing).

Thanks! yes, 1 is known and I never ever thought about battery life on oreo (yet) ;)

Happy Diwali to all who celebrate it!

Nitin
[Nexus 4 Android Development] Karan.S:
I figured out the cause for the wakelock, I had one of the new Pixel 2 LWPs setup as the background, that seems to have caused it. I guess they demand too much off the phone. I removed it today and the battery is as good as it was before. So, not the ROMs fault after all. :good:
[Nexus 4 Android Development] mrk2815:
thanks for the work on this nitin. we appreciate your work on this. hopefully you will support our devices fora bit longer, as i know on the shamu thread that you will be on the look out for the new pixel 2 devices. The price is holding me off from taking a look at it. .maybe in a few months when there are some out on e bay i may end up taking a look til then i will have to use what i can afford either the new android 1 devices that are coming over here to the USA or maybe taking a look at 1 plus and if i do get a 1 plus it will get a custom rom on it as soon as possible, so it will not face the issues that 1 plus devices have been falling into with oxygen.
[Nexus 4 Android Development] atomicthumbs:
An update on my Gboard problem: I installed LineageOS and it works perfectly. The rest of LineageOS isn't to my liking as much as Nitrogen, though.

Edit: flashed Pure Nexus and it came with no keyboard other than Google Voice Typing, making it impossible to log into my Google account. Reflashed Nitrogen with nano open gapps and now Gboard works fine. Wonders never cease.
[Nexus 4 Android Development] atomicthumbs:
Sorry to make a double post, but is there any special procedure (modem flashing?) needed to enable LTE on this ROM? The LTE switch in quick settings is enabled, but my phone only wants to connect via HSPA+.

Edit: two more questions:

1. is it normal for Google Camera to take an unusually long time to take a flash photo on Nougat? I'm talking 2-3 seconds sitting there with the flash on before it captures it.

2. Did Nougat change the touch/scrolling/swipe behavior? The interface feels a little odd. Not really the rom's fault, this happened with LineageOS too.
[Nexus 4 Android Development] Karan.S:
Sorry, don't have LTE, so no idea about that bit.

As for the other two:

1. Yes, it does seem to take a while with flash for it to focus and then capture the image. In earlier builds of nougat, the camera and the flash were out of sync, i.e the flash used to go off and then it used to capture the image which used to be all dark. This delay in the flash seems to have fixed it? I dunno.

2.That is a bug that has existed since the Nexus 4 got Nougat, the biggest issue is with the lock screen, you have to at times take multiple tries before it will unlock, this problem also surfaced for me with Google Dialer where you to have to swipe up/down for calls, it does the same. The fix is to use the upper half of the screen as only the bottom half is buggy. The scrolling otherwise is not affected, or maybe I am now used to off it.
[Nexus 4 Android Development] Spike`:
great work on the 8.0 version, hope someday a camera fix will be done

question, does the Kernels Quanta Reborn or Sinai work in 8.0? i tried my favorite one Quanta V2 and it kills boot and right now i can't risk flashing them to test

or if it can implemented on the next version a voltage control for cooling the phone, we all know how nexus 4 likes to melt our hands

ty
[Nexus 4 Android Development] nitin.chobhe:
The custom kernels are not available yet for mako. BTW, Ziyan has fixed the sensors stuff once and for all :)

...and I picked up that change and I'm building a new nitrogen version :fingers-crossed:

Nitin
[Nexus 4 Android Development] Spike`:
really nice :)

oh well then waiting for when that day comes (if it comes) of a custom kernel that has at least that voltage control

that and volume key wake is without a doubt for me the most important things to have in our aging nexus 4 :) thank you for already having the volume wake on Nitrogen 8.0
[Nexus 4 Android Development] mrk2815:
will also wait for camera fix and then will flash oreo on nexu 4 when its ready.
[Nexus 4 Android Development] Weehee:
So since no custom kernels work yet, does that mean we can't use the ROM with F2FS yet? Or does the Nitrogen Oreo kernel have support for it?
[Nexus 4 Android Development] nitin.chobhe:
Nitrogen Oreo kernel doesn't support f2fs

Nitin
[Nexus 4 Android Development] sergsinger:
I have changed model in build.prop to SM-N920C and Android Pay works fine.
[Nexus 4 Android Development] HubrisRev5:
Good to know, thanks!

In the meantime I had to move to a different rom that uses Magisk for root, as that works great with banking apps and android pay.

However, if your edit makes Nitrogen also work then i might switch back, as older apps that have not been updated for magisk are causing issues.
[Nexus 4 Android Development] Spike`:
something that i noticed when i tested first the unlegacy 8.0 is although the camera dont work properly on the playstore Airdroid app using its QR Scan the camera worked perfectly, but on Nitrogen its totally broken (only a black screen)

not sure if this helps on anything but shared the info even if its half working on the unlegacy rom
[Nexus 4 Android Development] nitin.chobhe:
Thanks for sharing; this is known (and I also mentioned that camera doesn't work on the build) :) That is because the camera fix on unlegacy is a hack (and that's why it is not on github/ gerrit) and Ziyan wants to fix it properly. Once he fixes it, I'll cherry pick and camera will (hopefully) work in Nitrogen too :fingers-crossed:

BTW, yesterday I built after picking the sensors fix and did some tests and now everything works great (of course except camera) :good:

Nitin
[Nexus 4 Android Development] eim3:
I tried installing Magisk but after it patched the boot image, my n4 became extremely slow and sluggish. I wiped the entire thing and flashed rom/gapps + magisk again and same thing. Reverted back and now it's smooth again.

Would it be possible to add support for Magisk? I'd rather not use SuperSU since it's owned by some Chinese company now.

EDIT: This is on the Oreo alpha btw.
[Nexus 4 Android Development] cyprien T:
[youtube]aJ6GqVra4R0[/youtube]
[Nexus 4 Android Development] nitin.chobhe:
Here is the new build: https://www.androidfilehost.com/?fid=673791459329056606

Everything works except camera and LED while charging.

Sensors are fixed once and for all - thanks a ton to [MENTION=2633638]Ziyan[/MENTION] :good:

Flash and share your feedback.

Enjoy!

Nitin
[Nexus 4 Android Development] chopoLet:
Thanks super nitin, does the O version of NOS still have substratum support?
[Nexus 4 Android Development] nitin.chobhe:
Yes, it shows some errors while applying the theme but it works without any issues :) See attached screenshots of transparent theme :good:

Nitin
[Nexus 4 Android Development] chopoLet:
I actually got sir piereligio's paid theme "aospUI Black Theme" for FREE and it looks great in my end. Now I became themoholic because he constantly gives us update on playstore. I'm so lucky to download his paid theme when he turned it into free for a short period of time. And also thank you very much for the new update, the substratum support for NOS Oreo and lastly thank you for your great work on our beloved Nexus 4 and making it alive as much as possible even though I was kinda saddened and at the same time happy when I saw your post on G+ about the screenshot of your purchase of the new google pixel 2 XL.

Happy because you now got a new dope device like the new Google pixel 2 :)

Saddened because you might stop working on makos anymore :(

Anyways. I have already downloaded the new build but I can't test it atm because when I try to download gapps it keeps failing to download on my laptop. I think my network provider is messing up again.
[Nexus 4 Android Development] kira6667:
0-27 13:51:50.131 2425 2425 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 2425 (mm-qcamera-daem)

10-27 13:51:50.169 2428 2428 I crash_dump32: obtaining output fd from tombstoned

10-27 13:51:50.169 319 319 I /system/bin/tombstoned: received crash request for pid 2425

10-27 13:51:50.177 2428 2428 I crash_dump32: performing dump of process 2425 (target tid = 2425)

10-27 13:51:50.177 2425 2425 F libc : failed to resend signal during crash: Operation not permitted

10-27 13:51:50.177 2428 2428 E DEBUG : unexpected waitpid response: n=2425, status=00000100

10-27 13:51:50.178 319 319 W /system/bin/tombstoned: crash socket received short read of length 0 (expected 8)

10-27 13:51:55.131 2443 2443 E linker : "/system/vendor/lib/libmmjpeg.so" has text relocations

10-27 13:51:55.132 2443 2443 F libc : CANNOT LINK EXECUTABLE "/vendor/bin/mm-qcam

logcat my error can't even boot oreo.
[Nexus 4 Android Development] nitin.chobhe:
That's error about camera. Nothing related to your boot error. Write your flashing steps in details here

Nitin
[Nexus 4 Android Development] kira6667:
TWRP 3.1.1

I tried almost everything, don't know why i can't make it boot.

--Wipe system, cache,data

--tried with or without unmount system

--flash nitrogen

--tried opengapps open_gapps-arm-8.0-pico-20171022 and Slim_gapps_revisited_8.0_micro15102017.zip

--reboot

Tried with reboot into recovery method.

-- i am running slimrom 7.1.2 perfectly.

I even have tried it with only Nitrogen OS, no gapps or SU, it still stuck on boot logo.

I can't even boot unlagacy oreo by ziyan.
[Nexus 4 Android Development] nitin.chobhe:
If it's happening with any O rom, then I don't have any idea.

Nitin
[Nexus 4 Android Development] mparmpas122321:
Maybe some partitions are corrupt. Try to flash latest lollipop image first. Save your internal storage first via twrp (mtp) as it will be deleted. Then flash twrp again via adb and the zips you want.
[Nexus 4 Android Development] wizmart:
Just upgraded from Pure Nexus and everything runs fine. thank you mate !!!

except maybe for pixel launcher which doesn't want to swipe to the left google app.
[Nexus 4 Android Development] kira6667:
/

but I am running SlimRom perfectly. do I still need to do it? :(
[Nexus 4 Android Development] mparmpas122321:
If you are running your rom ok then you don't. It was just an idea for why you couldn't boot oreo.
[Nexus 4 Android Development] Karan.S:
Pixel Launcher needs to be installed as a system app for the swipe left for Google functionality to work.
[Nexus 4 Android Development] wizmart:
Correct, I just did it already as I was remembering the solution a few minutes ago, thank you anyway
[Nexus 4 Android Development] kira6667:
this method worked like a charm. had to backup everything. lost 2-3 hours on downloading and flashing.

but it was worth it.

Rom runs smooth.

just had battery drain, well who cares if you are running oreo on mako.

camera is not working which I don't use. flashlight I mostly use so.

thanks nitin,ziyan and of course you. I have been trying to flash for a week.
[Nexus 4 Android Development] mparmpas122321:
You are welcome. I believe that oreo will run properly on mako by the end of the year (camera etc).
[Nexus 4 Android Development] kira6667:
any hack on wpa2-psk because I use mobile hotspot and it doesn't support tkip
[Nexus 4 Android Development] mrk2815:
lets hope so. lets hope that nitrogen, lineage an other roms that are currently available for mako under 7.1.2 will be available for oreo 8.1 as that is currently under beta for the nexus5x, 6p , pixel c and pixel and pixel 2 devices.
[Nexus 4 Android Development] Quolli:
I seem to have made a mistake somewhere but I don't know where. I'm currently on NitrogenOS 25/Aug/2017. My launcher shortcuts for the Google Dialer are not working (it gives the toast message "cannot call without permission"). Also trying to call someone from the Starred Contacts tab doesn't work. Google Dialer is the default phone app and I have turned on all permissions. I flashed OpenGapps pico.

Should I have flashed a different version of OpenGapps? Does it matter which version of OpenGapps I flash?
[Nexus 4 Android Development] Karan.S:
It wouldn't make any difference, Pico contains the required dialer framework for it to work. Since the package itself doesn't contain Google Dialer, I assume you installed it from the play store? Or is it the stock one that comes with the ROM? If it is the one that came with the ROM, clear the data and cache, re-apply permissions and see if that fixes it for you.
[Nexus 4 Android Development] Ron_K:
For me the best results given open _gapps - arm-8.0-aroma. All options with I used you can find in attached log file.
[Nexus 4 Android Development] Quolli:
I'm using the Google Phone app from the Play Store, I've disabled the one from the stock rom. I thought I saw the dialer framework getting installed when flashing Gapps so good to confirm that it does include it.
[Nexus 4 Android Development] Karan.S:
Ok, I assume you have tried to re-install the Google Phone app from play store, with no luck? Have you tried to install an older version from apkmirror and see if you still get the same error?
[Nexus 4 Android Development] Vissions AL:
Randomly deleted stock application superuser. Someone give me the apk, please.
[Nexus 4 Android Development] kira6667:
anyone getting too much battery drain while screen off time? OREO
[Nexus 4 Android Development] nitin.chobhe:
Nougat? Get it from OP

Check your NFC in settings. Turn it off if it is on. The battery back up on O is less compared to N (but who cares when we get O on a 5 year old device ;))

Nitin
[Nexus 4 Android Development] kira6667:
yeah atleast we are getting Oreo. yeah it is turned off. but I almost got 66% to 0% in 10 hours screen off.
[Nexus 4 Android Development] nitin.chobhe:
Check with BBS and see what's eating up your battery

Nitin
[Nexus 4 Android Development] Spike`:
i had a nasty wake after flashing latest version without wipe, never seen that one and dont even remember the name and it was keeping my nexus wake for 80%

after wipe, flashing latest version and putting back my apps all good, that wakelock nowhere to be seen

maybe the same thing on kira6667?
[Nexus 4 Android Development] mrk2815:
nitin, do you have a new build to test. any chance on the camera fix or do we have to wait for zyian to fix before you can port as well. will be patiently waiting as i rely on the camera and thats why i want a working oreo with camera fix .

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

i do agree with nitin. a 5 year old device still geting the latest OS is awsome. trust me i have a few older apple 5 year old devices hear and none of them have the latest OS builds on them so that is one good plus for android and android developers on XDA. i tahnk all teh developers for keeping older device relivent with up to date os and security patches. thanks a big bunch to all of you guys and gals on XDA
[Nexus 4 Android Development] Zelych:
Hello, I like ROM very much, but the camera does not bother me, is there no fix? I tried another Oreo ROM and worked there.
[Nexus 4 Android Development] nitin.chobhe:
No update as of now. Yes, we'll have to wait for ziyan to fix it (he's busy with his new job and he'll fix the camera when he gets some time) ?

Another ROM as in Unlegacy?

Nitin
[Nexus 4 Android Development] Vissions AL:
Nitin, are you going to add nitrogen interface customization features for Oreo?
[Nexus 4 Android Development] nitin.chobhe:
It is there since the first oreo build :silly:

Nitin
[Nexus 4 Android Development] Vissions AL:
Oops, thanks :o
[Nexus 4 Android Development] fajera:
Nitrogen OS (25.08) + QuantaReborn v3.1 my problem this is disappears dialer apk from rescents apps after some time, I tested three different dialer apk and the same behavior.
[Nexus 4 Android Development] nitin.chobhe:
Try and reproduce the same with stock kernel; if you can, post here

Nitin
[Nexus 4 Android Development] nitin.chobhe:
So here is the first fully working Nitrogen build (well lamost ;)) for mako: https://androidfilehost.com/?fid=889964283620763802

Camera and video recording works :good:; thanks a ton to [MENTION=2633638]Ziyan[/MENTION] for helping me out and this work on mako :laugh:

Now the only thing that is not working is notification LED when charging. Everything else seems to work for me. I would love to hear your feedback :)

Finally updated the OP ;)

Enjoy!

Nitin
[Nexus 4 Android Development] Armin_van_buuren:
Great work Sir!!!

Another Life for Nexus 4

Enviado desde mi MI 3W mediante Tapatalk
[Nexus 4 Android Development] Alessioromatm:
Is possible to install the oreo build without wipe data?
[Nexus 4 Android Development] Bad-Pixel:
Since it is a major android upgrade, even if it was possible, I would not suggest it...

Btw I guess you can try to dirty flash (wipe system, cache, flash Oreo build and gapps, reboot).

If you try all this, a backup should be mandatory
[Nexus 4 Android Development] 1stMako:
Help please!

I have flashed latest 8.0 build and wanted to flash 7.1 pico as recommended - but that fails and states that only 7.1 ROM is compatible?

I do not have 8.0 gapps downloaded and currently I have no idea how to revive my mako? ADB is not working either, as the device is not recognized by my PC? That has worked ever since, but not any longer.

How can I transfer that 8.0 gapps to my mako or revive it?
[Nexus 4 Android Development] Vissions AL:
How to make a nav bar lower on 8.0? On 7.1.2 it was possible to regulate at settings ?
[Nexus 4 Android Development] granazis:
Yes General of mako,tnx once more,you will have the feedback u need,good decision as u renamed the thread,i admire you coz you refered on persons who help you,that means civilisation! Αnd Greeks have it in their DNA too.

Regards,Christos Thimis.
[Nexus 4 Android Development] nitin.chobhe:
ADB should work normally (I tested it); You can reboot to recovery and it will also get detected by PC.

BTW where is it recommended to flash the 7.1.2 gapps? :confused:

It is not yet implemented. This is just the second build and not all customizations are available.

Nitin
[Nexus 4 Android Development] kushal.purkar:
[MENTION=5044214]nitin.chobhe[/MENTION]

Is this ROM pre-rooted?

---------- Post added at 07:36 AM ---------- Previous post was at 07:34 AM ----------

It is in the OP to flash 7.1 pico, but it was for older version. You must try gapps from same version of android always.
[Nexus 4 Android Development] nitin.chobhe:
No the ROM is not pre-rooted. I mentioned the stepwise instructions to flash the ROM in OP. Please foolow taht.

Regarding gapps: updated the OP now ;) thanks!

Nitin