yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] rest0ck:
Thank you for the fast reply. Could be the battery, yeah. But it should be pretty much new .. got the phone from an RMA and never used it since then. Or maybe they just didn't replace the battery idk.

I tried to lower the max freq already but it gets too laggy for me. Thought about another kernel to change core voltage and governor.
[Nexus 4 Original Android Development] nitin.chobhe:
The lags are expected after lowering the frequencies. I think you'll have to live with it or find a kernel. I remember seeing a kernel in one of the mako threads (I think in this thread itself). Try to search and see if that helps.

Nitin
[Nexus 4 Original Android Development] rest0ck:
Found this one: https://xdaforums.com/nexus-4/development/sinai-n4-kernel-t3614605

The PIE version is only for Unlegacy-Android ROM - is this one of them? :D
[Nexus 4 Original Android Development] nitin.chobhe:
I don't know - you can give a try to aosp kernel and see if it works. Backup everything on a PC before trying anything.

Nitin
[Nexus 4 Original Android Development] rest0ck:
Alright the "Special Version" for PIE does not work with your rom .. damn it :)
[Nexus 4 Original Android Development] Cice96:
Try this
[Nexus 4 Original Android Development] nitin.chobhe:
Yes, this is the one I was talking about; but I wasn't able to recall where it was posted.

Nitin
[Nexus 4 Original Android Development] rest0ck:
Thanks a lot guys, that works!

Doesn't seem to do much tho even with -150mV overall but whatever :D
[Nexus 4 Original Android Development] p3terr:
I've been getting a LOT of wifi drops.. they are really constant and almost a couple of minutes apart from each other.. could there be a future fix for this? I use my Nexus 4 as a daily driver and i'm getting out of options with ROMs.. help please :(
[Nexus 4 Original Android Development] nitin.chobhe:
Search WiFi in this thread.

It had nothing to do with the ROM.

Nitin
[Nexus 4 Original Android Development] p3terr:
I just did that, I can't see any workaround that issue :confused:
[Nexus 4 Original Android Development] nitin.chobhe:
I hope you read the questions I asked in this post.

Nitin
[Nexus 4 Original Android Development] p3terr:
I'm using 2.4Ghz of frequency, i don't think that's the problem.
[Nexus 4 Original Android Development] nitin.chobhe:
Try this: Go in WiFi settings on router -> Encryption -> Set TKIP

If that doesn't help, I won't be able to help you :(

Nitin
[Nexus 4 Original Android Development] elchmartin:
is it just me or has anyone else problems downloading from basketbuild?

trying since yesterday ...
[Nexus 4 Original Android Development] ze7zez:
This is normal for Basketbuilds, which dies from time to time.

Maybe they are changing hosting, or because of lack of payment for hosting, this time for cogentco.com?

Who knows that?

There is no place for speculation. If you need ROM.zip then just write.
[Nexus 4 Original Android Development] elchmartin:
Anyone got https://mirrorbits.carbonrom.org/mako/CARBON-CR-7.0-OPAL-WEEKLY-mako-20190821-0621.zip

?
[Nexus 4 Original Android Development] ze7zez:
CARBON-CR-7.0-OPAL-WEEKLY-mako-20190821-0621.zip
[Nexus 4 Original Android Development] elchmartin:
I heavily thank you, sir!

Worked well!
[Nexus 4 Original Android Development] ze7zez:
Well well!

After three days, another build 24 VIII, but now on a different host.
[Nexus 4 Original Android Development] zzZero1159:
Hi Nitin!

Sorry for taking so long to reply.

I didn't, but I tried installing the "Lineage OS" and those aps worked ok.

(I didn't tried installing the rom again)

But I bought another phone already, my nexus 4 had too many issues like "constant lost of signal" and the speaker didn't work sometimes. It was a good run though (5 and a 1/2 years)
[Nexus 4 Original Android Development] Dv2y:
I'm having a issue where everytime I try to log-in on various apps it just crash. Even Gmail crashes when I try to add my addresses. Tried clearing cache and data, tried disabling the Google Autofill, reinstalling the app, giving it all the permissions... Nothing works! :(

I've done a clean install of the latest build, pico OpenGApps and Magisk.

Batteries gets old even if not using them. And huh, finding a reliable battery to our device is not an easy task unfortunately. :(
[Nexus 4 Original Android Development] nitin.chobhe:
Did you partition the drives? I suspect that the low space is causing these crashes everywhere.

Also no one else has these issues.

Nitin
[Nexus 4 Original Android Development] Dv2y:
Yes, I did! Turns out the problem was the Webview. The problem started after I updated Bromite but I did not think about it. After I installed Google's System Webview from the Play Store everything worked fine.

I've noticed some animation glitches now and then and they seems to be fixed after I changed everything to 1x animation scale on developer settings!

Thanks so much for the ROM. It works great! Love my Nexus 4. :D
[Nexus 4 Original Android Development] nitin.chobhe:
Good to hear that you sorted that out! :good:

The ROM is running good and there nothing that needs to be changed from the ROM side ;)

Nitin
[Nexus 4 Original Android Development] elchmartin:
I am waiting for a new one from aliexpress.

If you like I can tenn you how it worked out.

Not my daily driver though...
[Nexus 4 Original Android Development] Dv2y:
Yeah, sure. You can post your findings here:

https://xdaforums.com/nexus-4/accessories/to-buy-original-battery-t3110029
[Nexus 4 Original Android Development] kym77:
What happened and what to do?

Where did the "Secure quick unlock" function go? Please return back!
[Nexus 4 Original Android Development] Dv2y:
Received an OTA update yesterday (04), everything seems to be working fine.
[Nexus 4 Original Android Development] nitin.chobhe:
Thanks for the confirmation mate :highfive:

Nitin
[Nexus 4 Original Android Development] wizmart:
Thank you Nitin for this very smooth rom, nexus 4 never been running so good!!! do you think we gone make it to 10 maybe?
[Nexus 4 Original Android Development] nitin.chobhe:
No idea at the moment... May be [MENTION=3772648]voron00[/MENTION] has some plans ;)

As mentioned in one of my post, my phone's display is broken :(

Nitin
[Nexus 4 Original Android Development] d_g_m_2000:
damn [MENTION=5044214]nitin.chobhe[/MENTION] this rom is far from great... it's beyond greatness!!

thank you very much for your hard work!

the level of customization, smoothness and stable!! you are a professional, a maestro

for f*ck sake, this is way better than an enterprise's stock rom.
[Nexus 4 Original Android Development] nitin.chobhe:
Credit should go to [MENTION=3772648]voron00[/MENTION] and @Ziyan (for their work on mako device trees) and carbon team. I just put the pieces together :cowboy:

Nitin
[Nexus 4 Original Android Development] d_g_m_2000:
hi OP, do you have test results about the mindblowing feature call "smart pixels"? i mean how much (aprox) battery saves with 25% 50% 75% of pixels turned off? i guess this is hard to answer 'cause it has many variables like amount of screen time and stuff but just to know if this give us like 10 more minutes or 3 more hours... thanks in advance for your comments! have a nice day.
[Nexus 4 Original Android Development] zagzag99:
I'm not sure it's actually gives any battery benefits.

After all the screen in mako is LCD technology. Meaning Central light source. Each pixel just closes differently to let light go through it.

This feature is more for OLED or AMOLED screens where each pixel is turned on/off. That could save some battery.

But in general I think it meant more against pixel burns.

And , as a side note, because they way it's implemented - an overlay on top of the screen that shuts off some pixels, I found a few cases that it 'broke' an app behavior. So if you get an app to miss behave, turn this feature off and try the app again.
[Nexus 4 Original Android Development] d_g_m_2000:
oooo wow.. so much knowledge . thank you for your comments!
[Nexus 4 Original Android Development] d_g_m_2000:
hello sorry but i have to know... when i activate {smart pixels} it does have an effect on the screen, but been a lcd screen it does not really tunr off the pixels_ just make an effect like photoshop? thanks in advance for your comments.

please see the attacehd image taken with a mi a2
[Nexus 4 Original Android Development] voron00:
Because the black pixels on amoled displays turn completely off. It's how amoled display work, it's not like this feature actually makes pixels to turn off, just mixes up colors to add more black.
[Nexus 4 Original Android Development] d_g_m_2000:
wow, thank you very much for your comments and for your hard work!
[Nexus 4 Original Android Development] d_g_m_2000:
weird... sorry for spamming the thread

something funny just happend to be...

i flash magisk 19.3 + magisk manager 7.3.2 using twrp 3.3.1-0 and now everytime i reboot the NX4 it says that my vendor does not match with my device (huawei).

is this related to this forum or should i ask in magisk thread?

thanks in advance for your comments. :)

-edit: root works fine, magisk hide don't works but afeter disable and enable it does.

please see the atached screenshots
[Nexus 4 Original Android Development] nitin.chobhe:
I don't know what all things you have done with your phone :eek:

I found this in your recovery.log

ro.modversion=OmniROM-5.1.1-20190520-mako-HOMEMADE

So follow these steps:

1. Download and clean flash factory image from Google (5.1.1) - run the flash-all.bat script with wiping everything from the phone

2. Flash twrp and re-partition the system partition

3. Clean flash the ROM zip and gapps

4. Reboot and share the screenshot

Nitin
[Nexus 4 Original Android Development] d_g_m_2000:
thank you for your kind help sir. I would make those actions.

again thank you very much for your hard work and have a nice day.
[Nexus 4 Original Android Development] welshgeekygurl:
After installing 10 Sep ROM. Nexus 4 is having frequent SoDs(Screen of Death)- N4 frequently turned off. I analysed few logs and there is no consistency. Later searched here and found this-> https://xdaforums.com/nexus-4/help/nexus-4-randomly-off-intermittently-t2077148. Precisely from where I siphoned out that WiFi optimization need to be disable to stop frequent SoDs.

I disabled Wifi and I have no SoD till now. I am only turning on till phone turn off again. I could not find Wifi optimization option in this ROM. Please suggest where I can find it. Alternatively if anyone has face this problem and how they fixed it, please share.

Thanks.
[Nexus 4 Original Android Development] nitin.chobhe:
Did you do the clean flash? What all things did you flash with the ROM? What is your setup?

Nitin
[Nexus 4 Original Android Development] welshgeekygurl:
Ok... let me begin from the beginning...

I came from the LineageOS world and when 15.1 stopped building official build. I searched better pie based ROM. And massive thanks to you Nitin, you are making Nexus 4 still alive, you should be :angel:. I moved to CarbonROM by clean flash. Followed this link to expand system partition -> https://xdaforums.com/nexus-4/general/guide-increase-nexus-4s-partition-space-t3800264. All goes well till last update CARBON-CR-7.0-OPAL-WEEKLY-mako-20190911-0913.zip. I flashed ROM and pico gapps together(open_gapps-arm-9.0-pico-20190913.zip).

What all things I tried so far?-

I went back to stock partition table using this above partition link(I saved my original partition table). Then went back in time with https://developers.google.com/android/images#occam and installed 5.1.1 (LMY48T). But to my horror intermittent shutdown or blank SoD still there. I am now back to where I begin i.e. Re-expanded the system partition and clean flashed CR-7.0-OPAL-WEEKLY-mako-20190911-0913.zip with pico gapps.

Not sure if my battery is giving a trouble, in morning I found WiFi turned on and on charging- no SoD. #VeryConfused :confused:

Hope it help what you asked. I am now almost on the verge of bidding farewell to my beloved Nexus 4. :crying:
[Nexus 4 Original Android Development] nitin.chobhe:
Thanks for the details. As you mentioned that you are getting these SODs even on stock, I doubt that it has something to do with the software. Check your battery.

Nitin
[Nexus 4 Original Android Development] welshgeekygurl:
Thanks for your reply. I wiped/formatted everything and stayed on bootloader for a while and phone did not turn off. I will wait for another hour to see if it turn off again. Does it right way to ruled out it is a battery problem? Please suggest if you know better way.
[Nexus 4 Original Android Development] nitin.chobhe:
No, I don't have any other idea about this.

Nitin
[Nexus 4 Original Android Development] kym77:
Hello All! Who has it, please re-upload it to some kind of file hosting CARBON-CR-7.0-OPAL-WEEKLY-mako-20190731-0649.zip, in this firmware "Secure quick unlock" worked.
[Nexus 4 Original Android Development] HumbertoC:
Just go to the carbonrom website and download the version you want:D
[Nexus 4 Original Android Development] nitin.chobhe:
You can get it from this CarbonROM page.

Nitin
[Nexus 4 Original Android Development] ze7zez:
CARBON-CR-7.0-OPAL-WEEKLY-mako-20190731-0649.zip

You are both wrong.

In August there was a host failure for Carbon and no access to older versions.

There remains a polite request to owners of older ROM, which [MENTION=1536177]kym77[/MENTION] did.

Therefore, tomorrow I will give a l Link to CARBON-CR-7.0-OPAL-WEEKLY-mako-20190731-0649.zip : in this post.

>Temporary mirror Carbon ROM for mako on AFH<
[Nexus 4 Original Android Development] HumbertoC:
Had no idea about host failure. Good call!;)
[Nexus 4 Original Android Development] ttocs99:
Installed this seems to be going ok upto now. Will put it through its paces when my nexus is off charge.
[Nexus 4 Original Android Development] Fritzko:
It is so nice on my old Nexus 4 Lady! Thanks a lot Dev team! ?
[Nexus 4 Original Android Development] pxrave:
Very good to have weekly Updates but nö security updates anymore? In latest Version I get nö GPS signal
[Nexus 4 Original Android Development] nitin.chobhe:
There are no changes related to GPS. Can anyone else check that?

Nitin
[Nexus 4 Original Android Development] ze7zez:
GPS catches with a long delay and a small amount, but it works.

edit.

When N4 is not connected to the internet, it works better after selecting "GPS only".
[Nexus 4 Original Android Development] ttocs99:
All working good. And to be fair its really a quick ROM on a old device! Don't know how you've managed that bit it really does fly. Battery life is superb when not in use very minor drain when idle, also its not that bad either when in use but I could do with a new battery but as it stands I get about 3 hours sot.
[Nexus 4 Original Android Development] kt0si3k:
Hi, i have a problem with me shows all the time the bluetooth application has been stopped, re-flash does not help, uploading the modem also does not help, can anyone help?
[Nexus 4 Original Android Development] nitin.chobhe:
Search 'bluetooth' in Nexus 4 forum and you will find a solution (this is not related to the rom though)

Nitin
[Nexus 4 Original Android Development] voron00:
https://github.com/voron00/android_device_lge_mako/commit/99c46d03f01ac944d904360f73c9f3d6f2762f13

https://xdaforums.com/showpost.php?p=80252178&postcount=301
[Nexus 4 Original Android Development] ttocs99:
Updated to new build but still on August patch?
[Nexus 4 Original Android Development] cloneman1:
How do I use double tap to wake with this rom? Custom Kernel?
[Nexus 4 Original Android Development] nitin.chobhe:
Yes.

Nitin
[Nexus 4 Original Android Development] jimmyStoo:
getting some wifi problems. Can't connect to hidden SSID's but will connect to broadcasted ones, sometimes it takes long to find any wifi
[Nexus 4 Original Android Development] nitin.chobhe:
Hidden SSIDs are a know issue iirc. I don't think anything would happen about fixing it :(

Nitin
[Nexus 4 Original Android Development] jimmyStoo:
Actually I think I found the fix. When manually adding a network, you have to scroll down to advanced settings and choose "yes" for hidden network. It's connecting now for me :)
[Nexus 4 Original Android Development] nitin.chobhe:
That's great to hear. Thanks for confirming :good:

Nitin
[Nexus 4 Original Android Development] jimmyStoo:
Np
[Nexus 4 Original Android Development] ze7zez:
Release! Finally!

Wow! First 7.0 release! :good:

When will the current changelog appear?
[Nexus 4 Original Android Development] nitin.chobhe:
Lol, it's not first (but might be last ;)) BTW, did you get the TWRP working on broken screen? I saw your post in UA TWRP thread.

Dear All, please note this change in the build frequency going forward: https://twitter.com/carbonrom/status/1189508582741630984

Get the latest build: https://get.carbonrom.org/device-mako.html

In this build, major changes are:

1. October 2019 security patch

2. Synced the device, kernel and vendor changes by @voron00

Nitin
[Nexus 4 Original Android Development] pxrave:
Thanks for your Support. Do you think Our Phone I capable to handle cr8? Did you any test already?
[Nexus 4 Original Android Development] nitin.chobhe:
It definitely can handle it... Unfortunately my mako's display has gone bad and I can not flash and test anything. The damaged display doesn't allow me to swipe in twrp :(

Nitin
[Nexus 4 Original Android Development] ze7zez:
Today I finally have some time to change gui twrp.

Download Screen Touch Test apk and move your finger on the screen so that inactive areas can be clearly seen.

Then take a screenshot and show it.
[Nexus 4 Original Android Development] nitin.chobhe:
Thanks! See attached screenshot.

Nitin
[Nexus 4 Original Android Development] ze7zez:
Trick with changing the TWRP graphical interface

In recovery mode,

1. Create a directory for TWRP UI:

adb shell mkdir /sdcard/TWRP/theme

2. Take the TWRP interface to your empty directory:

adb pull /twres .

3. In an editor that does not change the end-of-line characters in UTF-8 UNIX, change in the third line in the ui.xml file:

<resolution width="1080" height="1920"/>

on

<resolution width="2160" height="1920"/>

4. From everything you have in your directory, create a ui.zip file with normal compression.

5. Put your ui.zip in mako:

adb push .\ui.zip /sdcard/TWRP/theme

6. Reboot recovery and enjoy the trick.

adb reboot recovery
[Nexus 4 Original Android Development] nitin.chobhe:
Thanks a lot man!

It worked. I've to just use a different resolution (width="768" height="1080"). With the resolution you mentioned, it was very tiny ;)

Thanks once again; now I can start flashing :)

Nitin
[Nexus 4 Original Android Development] ze7zez:
It's weird. :confused:

At 768x1080, my screen looks different than you showed.
[Nexus 4 Original Android Development] nitin.chobhe:
Don't know what's the matter; but I'm happy that it worked.

Nitin
[Nexus 4 Original Android Development] mrk2815:
nnitin, nice job.as i flashed this one for a friend of mine who still has a dying nexus 4 around.
[Nexus 4 Original Android Development] nitin.chobhe:
Guys, new build is out!

Get it from usual place: https://get.carbonrom.org/device-mako.html

(or check for updates from the phone :))

Note: it is still October security patch

Nitin
[Nexus 4 Original Android Development] nitin.chobhe:
Soon :)

Nitin
[Nexus 4 Original Android Development] pxrave:
Good news. It's fluent?
[Nexus 4 Original Android Development] nitin.chobhe:
It was same as Pie but you know, I had limitations due to touchscreen not working at some of the parts.

Nitin
[Nexus 4 Original Android Development] akiyammio:
Just updated to the November build! Thank you!

Are you planning to change your n4 screen?
[Nexus 4 Original Android Development] nitin.chobhe:
Good to know that you are on November build :good:

No, not planning to change the screen. It's already close to 7 years and I think it's time for it to retire peacefully :cowboy:

Nitin
[Nexus 4 Original Android Development] zagzag99:
Nitin, I hope you mean retire from after Android Q (R=Retire) :D
[Nexus 4 Original Android Development] akiyammio:
Rip then :(
[Nexus 4 Original Android Development] ALEXIS_0071:
I bought a nexus 4 in December of this year in my country it is still a very good quality phone and compared to other devices that are in xda, this one has better hardware and even those devices keep updating it, they continue working the software do not stop that the legendary nexus 4 die keep on keeping it
[Nexus 4 Original Android Development] matusala:
You are amazing friend! I am so gratefull. I use this rom on nexus 4. So cool that it has OTA updates. Looking forward to see android 10 on nexus 4. I can help with testing if you want i have spare nexus 4 with changed digitizer (which i still have not glued to the phone i am lazy). I have bought nexus 4 for many my relatives. Any plans on supporting nexus 5 with this same rom features? Nexus 5 is much more capable device with 4G support and superior display (5" Full HD) And it sits in hand better.
[Nexus 4 Original Android Development] ALEXIS_0071:
Is this rom in its current version cr-7.0 going to implement the gestures of removing the three buttons below and working only with gesture? but understand my bad english please tell me thank you....
[Nexus 4 Original Android Development] ScumDroid:
Can this device even run the ROM reliably? I have a 9.0 build on my Nexus6, and its really, really slow. That said, thanks to the devs for keeping this device alive for so long. You guys are kings.
[Nexus 4 Original Android Development] nitin.chobhe:
Yes, it can be run as a Daily driver.

If you have issues with a ROM, then you have -

1. to find out why is it slow for you.

2. Important: to learn to post it in the right thread.

Nitin
[Nexus 4 Original Android Development] ScumDroid:
Sorry Nitin I wasn't trying to derail the thread or anything, I'm looking for a new ROM for my old Nexus 4 to give to my young niece who wants to get into to development and modding stuff. I thought this would be a relatively painless place for her to begin. Perhaps I should have worded my post a little better. I appreciate the work you do keeping our older devices alive and up to date, and I have donated to you before. Apologies if I came off as disrespectful, that wasn't my intention. I'm gonna blow the dust off the old N4, and load this ROM up onto it.

Cheers friend.
[Nexus 4 Original Android Development] nitin.chobhe:
New build with December 2019 security patch already posted here: https://get.carbonrom.org/device-mako.html

Nitin
[Nexus 4 Original Android Development] welshgeekygurl:
I am stuck on boot animation. Tried everything to make clean installation. Is there any issue reported in 20th Dec ROM??
[Nexus 4 Original Android Development] SmartJuwel:
for me everything works fine :)
[Nexus 4 Original Android Development] welshgeekygurl:
Thanks for the confirmation. I came back from unsuccessful attempt to install Magma Moonshine. Finally Carbon ROM is back running on Nexus 4.

Nitin you are star!!! :)

What was the problem?

Here is the breadcrumbs path.

a. Restore Partition to stock, then flash stock image.

b. Increase system partition with the famous partition zip.

c. Flashed 20th Dec with profit.

d. Device up with it.

e. Flashed open_gapps-arm-9.0-pico-20200103.zip - 103 MB

f. Device again went into boot animation for more than 15 minutes.

g. Format Data

h. Wipe everything

i. Repeat c and get d

j. Flashed open_gapps-arm-9.0-pico-20191127.zip - 99 MB

k. Profit!
[Nexus 4 Original Android Development] nitin.chobhe:
:good:

You should flash ROM and gapps in one go. That might be the root cause of your issue. Good that you were able to sort out out.

Nitin