yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] DCCentR:
Some observation from me :) (build from 23/03)

I have Vkontakte app messenger and it uses LED for notifications by default. It has in app settings for LED. I have disabled these in app settings at 26/03 and where is no SOD's since then. This app still uses LED for notifications, but now it controlled by system. I have other apps, which uses LED but Vkontakte app uses LED on my phone more than other apps.

Not so much time has passed tho :confused: will stay at this build more
[Nexus 4 Android Development] :
So I was bored and decided to borrow a couple makos from a buddy, flashed a recent build, installed a bunch of apps and used them periodically. No SOD. Another guy I know gets the sleep of death on his mako regularly regardless of what ROM he's using - even stock. I've seen it first hand. Like others have said before I'm convinced it's a hardware issue. It's the luck of the LG manufacturing draw!
[Nexus 4 Android Development] DCCentR:
Aaaand get the SOD today, so didn't help. But i received a message in that timeframe (in VK app), so maybe it still related to app or LED
[Nexus 4 Android Development] voron00:
On current build or older build?
[Nexus 4 Android Development] DCCentR:
Old build from 23/03
[Nexus 4 Android Development] voron00:
New build with april security patches uploaded.
[Nexus 4 Android Development] bgoel4132:
Thanks a ton man
[Nexus 4 Android Development] Búho 4:
Problems

Hi Voron00,

I have a couple of problems in my mako that some 15.1 update started and still remains the same with LOS 16. When I activate the hotspot the devices connect but do not have internet access, and if I change the SIM to another phone yes the internet is shared The other problem is that videos on YouTube load fast, but in web browsers visiting facebook the videos take a long time to load using the 4G or 3G connection

. I would appreciate it if you could help me.
[Nexus 4 Android Development] voron00:
I just checked and had no issues with sharing mobile data over wifi and all sites loaded normally to me. Make sure you on the latest modem or try with another sim card.
[Nexus 4 Android Development] Búho 4:
Hi, thanks for the suggestion. I updated the modem and the problem of the videos was solved, however the problem of the hotspot remains the same. I hope one day it will be corrected again, while I will leave it like that.

Regards!
[Nexus 4 Android Development] Giogts:
how to update only the modem?
[Nexus 4 Android Development] Búho 4:
Yes, I just updated the modem of a repository that I found here
[Nexus 4 Android Development] Cice96:
I was wondering if it would be possible to implement a script that automatically performs a system resize while flashing the rom zip.
[Nexus 4 Android Development] Giogts:
Where?
[Nexus 4 Android Development] Búho 4:
Here:

https://www.google.com/search?sourc...0....1.......8..0i131j46i131j0i10.RmGpHWaOCFE

The first link, REF Mako hybrid collection...

The releases version 2 modems
[Nexus 4 Android Development] pxrave:
Don't install these lte hybrid bull****. Use latest firmware for full compatibility. 1.07 is the latest version for baseband. Other firmware is included in this rom.

If you use lte modem it's outdated and don't work properly. It only activate band 4 lte nothing more.
[Nexus 4 Android Development] Búho 4:
So I think that's why the hotspot does not work on my nexus, I'm intrigued by your observation. I'll see if I find that firmware that you say here.
[Nexus 4 Android Development] pxrave:
use this latest firmware

https://xdaforums.com/showpost.php?p=60861281&postcount=2479
[Nexus 4 Android Development] d_g_m_2000:
hello OP, sorry for my noob question but i hope you or anyone can help me.

1.-Can i flash your repartitioning script (googel drive link) on official twrp 3.3.0-0?

or do i have to use the Clamor's guide < https://xdaforums.com/nexus-4/orig-development/repartition-nexus-4-repartition-t3844383 >

i haven't modifing partitions yet, so for my understanding i'm on "stock partition table" right?

2.-after modifying partitions can i go back to official lineage 15.1 or it would brick my device?

i'm just asking because nexus4 is my only device :/ and can afford to brick it.

thanks in advance for your comments and really want to thank you for your work on this device.

have a nice day.
[Nexus 4 Android Development] voron00:
Yep just flash repartition.zip on official twrp, you can go back to any rom without any problem.
[Nexus 4 Android Development] :
SOD update: Solved! At least for me.

So I was desperate and slowly started believing that it's just my device's fault, but in the end I found the real culprit and the SODs stopped... it seems like they have nothing to do with the deep sleep after all.

At first I finally managed to pinpoint a reproducible behaviour, which was that SOD sometimes happened when I had (facebook) Messenger open and locked the screen. So I decided to give it a try and replaced Messenger with Messenger Lite and guess what... not a single SOD in the last 2 weeks, even the battery life improved greatly.... Guess the modern resource-(wasting)-hungry apps are finally, after 6 years, able to bring our beloved makos down :(
[Nexus 4 Android Development] d_g_m_2000:
Thank you op!

hello OP, i just want to thank you for your hard work.

Now i have running pie on my 7 years old device and everything feels fast, smooth and working very well. great job within the lineage's standards.

i have attached logs from flashing process...

1.- i flash your script (from post no.1) on official twrp it reboots but i don't know to to check if it change the cache and system size.

2.- flash last build rom

3.- flash pico opengapps

4.- boot it to configure it

5.- reboot in twrp for root it with magisk

hope this can go official but at least with this build or 15.1 we has nothing to demand you...

Thanks again!
[Nexus 4 Android Development] sga999:
The OP says "IMPORTANT: You need to have a /system partition at least 1272 MB size to flash this ROM."

But a little below that, it says that the quick and easy script will make the system partition 1228 MB. So seems like one of these numbers must be incorrect. Can someone clarify this for me? Thanks.
[Nexus 4 Android Development] voron00:
Just a typo in OP, script resizes to 1272 MB.
[Nexus 4 Android Development] lokenk:
update when the future is good all the time. :D
[Nexus 4 Android Development] voron00:
New build with may security patches uploaded.
[Nexus 4 Android Development] mik5:
hidden wifi issue

Many thanks voron00 for all the work you have achieved and making mako live longer :)

I don't know if this bug has already been reported but I can't access to hidden wifi. I encountered this issue with the first versions of LOS 15.1 but this inconvenient is back on LOS 16.

Do you know how to fix it ?
[Nexus 4 Android Development] voron00:
When you're connecting to a hidden network on pie, in advanced options, make sure "Hidden Network" is set to Yes.
[Nexus 4 Android Development] mik5:
yes, you're right, the "Hidden Network" was set to No. Thanks for the trick.

Another question, as no bug has been reported for many weeks, do you think LOS16 for mako is mature enough to be released officially soon ?
[Nexus 4 Android Development] voron00:
I have no plans for submitting a official port, also i'm pretty low on time now to do stuff for mako.
[Nexus 4 Android Development] Rakaan:
Did a clean install and everyhing is working. Thank you for the hard work.
[Nexus 4 Android Development] xda19:
Hi, I hope that's ok here. Because I do not know how to write a direct message to Giogts. If someone has contact to him please reward it to him (his profile says he was last logged in yesterday).

I want to update the Huawei U8160 (Vodafone 858) from Android 2.2.1 to at least Android 4.0.3. To be able to use whatsapp.

Here https://xdaforums.com/showthread.php?t=1831179 it was written 2012 it is possible to update it to CM10, so Jellybean, so at least Android 4.1, and a download link to the rom at mediafire.com was offered. But the file is not accessible there anymore.

And you also wrote there. Do you still have the ROM? Or do you know where to get it from? Or some ROM with at least Android 4.0.3?
[Nexus 4 Android Development] voron00:
New build with june security patches uploaded.
[Nexus 4 Android Development] Codster314:
Amazing work on the ROM. I love it. Finally a fully working Android 9 Mako ROM! Good work! This should definitely become Official. Some Questions now:

1) Which Launcher do you guys suggest? I like to keep everything very close to the Google Pixel Stock. However when I install the PixelLauncher (From OpenGapps), when I set it to it, it just Crashes. Anyone get the Official Pixel Launcher working? Or do you use one of the Unofficial ones (Which is best? LeanLauncher, LawnChair, RootlessLauncher?) Or the LineageOS Launcher is close to official, just add the AtAGlace stuff (Like AnotherWidget) to the LineageOS Launcher and call it a day?

2) Does the LineageOS Updater Work?

3) Google Photos App Crashes? When I install this from OpenGapps, with a clean install with the latest ROM, it never opens, just crashes. I go into Info and give it all permissions, but it still crashes. Other people run Google Photo's from this Rom?

4) Clean Workaround/Tutorial for Enabling LTE Band 4? I can't seem to find a modern/clean tutorial for enabling LTE Band 4 on our devices. I understand the general procedure would be to Flash a Hybrid Modem (latest I guess, anyone have a link?), but then you have to enable LTE on startup? Or change some build.proc so it sees LTE enabled. And you have to run an LTE Enabler every startup? Are these steps still nessasary? And if so, whats the best App or so to use to enable LTE after u flashed the HybridModem? Or maybe after flashing the modem, everything is fine then?

5) Google Camera 2.7.008 more stable than 2.7.010? I install the Camera 2.7.010 from OpenGapps, and everything seems fine. Pics take, Movies take, Lens Blurr and such work. I only used it a bit, but it never crashed once. Is it less stable than 2.7.008? Is there a specific feature which crashes on .010 but not on 0.008?

Thanks for all your help!
[Nexus 4 Android Development] voron00:
Uploaded new build, lineage pushed some features after security paches such as left side volume panel. Also wallpaper app uses 1 column now and doesn't lag like hell anymore.
[Nexus 4 Android Development] Eric_Lev:
The latest build (20190614) is now smooth and reactive !

Thanx [MENTION=3772648]voron00[/MENTION]
[Nexus 4 Android Development] Hanzel_:
Thanks for providing this awesome ROM! However I faced one issue. When doing Whatsapp videocalls i see a green screen instead of my opponent but he/she sees me perfectly normal. This only occurs on wifi, with mobile data everything is as it should be. Can anybody help me with this?

Thank you in advance.
[Nexus 4 Android Development] voron00:
New build with july security paches uploaded.
[Nexus 4 Android Development] Eric_Lev:
Manual update via TWRP works fine.

Thanx [MENTION=3772648]voron00[/MENTION] !
[Nexus 4 Android Development] gandhimaulik:
Google Photos crash & Some Indic Fonts missing

Thanks a ton for efforts to keeping Nexus4 on latest OS.

Same for me. But it is okay for me to use any other launcher

I am facing same issue.

This is deal breaker. does this happen only when photos app is installed using OpenGaps ? or can we skip that and install it from play store later. To save space, i removed gallery too and Photos app is not working.

Some Indic Fonts are missing

i am not able to view characters in Gujarati. Not sure it is removed in all lineage OS version or just this. Any way to install this from twrp? Till i know this font support were included from Android 5.
[Nexus 4 Android Development] gandhimaulik:
Saw same issues on other rom posts too. Deleted Google Photos & pixel launcher app from system and installed via play store. works great.

Copied those ttf fonts from notosans website to /system/fonts and worked
[Nexus 4 Android Development] voron00:
Some fonts are missing because they were excluded to reduce system img size, but this is not needed anymore because system is big enough with repartition now.

New build uploaded.
[Nexus 4 Android Development] Eric_Lev:
FYI, LOS addon su (arm & arm64 - 15.1 & 16.0) have been updated .... 20190709 ... Changelogs ?

==> https://download.lineageos.org/extras
[Nexus 4 Android Development] phkhphk:
amazing

:good:

thanks
[Nexus 4 Android Development] Crongar:
Thank you a lot for this ROM! It keeps the Nexus 4 alive, which is still today an amazing device. It requires all my needs and your ROM saved me to buy a new phone after official Lineage support for Nexus 4 has been stopped. But just one single issue I found though: Capturing HDR pictures with the camera causes the camera app to crash.

A short question: Is it possible to simply flash each new release without wiping /data and /system? I have to use 2FA banking apps which are recognizing that something has changed on the device. Thus, they are refusing to work and I have to reset them. This also means that using Titanium Backup sadly isn't an option as well.

Thanks in advance.
[Nexus 4 Android Development] Eric_Lev:
Only a dirty flash:

Boot to TWRP

Wipe cache and Dalvik cache

Flash the latest build.

Boot to System

or

Boot to TWRP

Wipe cache, Dalvik cache and System

Flash the latest build + Gapp (nano or pico .. recommended) + su (if needed - LOS addon su or Magisk)

Boot to System

Happy flashing !
[Nexus 4 Android Development] p3terr:
Thanks for the ROM OP! I've tried rooting flashing lineage addonsu-16.0-arm but it's not working, I open titanium backup and it says that i need to check if my ROM is rooted (I checked on developer options and its enabled)

edit: I flashed Magisk and SU worked great.
[Nexus 4 Android Development] p3terr:
I get WIFI drops, they are quite constant throughout the day, and the WIFI icon in quicksettings changes to the one at the Airplane mode.

edit: I've been using this ROM for about a day and a half and now WIFI is completly broken, not even restarting the phone will make it work.
[Nexus 4 Android Development] d1g174l:
Same here with wifi drops, except the icon problem;

Also, mobile data doesn't always turn on automatically when wifi is not in range
[Nexus 4 Android Development] dirkp1:
Thank you for the rom. It's work without any problem for me. WIFI works too
[Nexus 4 Android Development] voron00:
New build uploaded .Also uploaded lineage_recovery image because https://review.lineageos.org/c/LineageOS/lineage_wiki/+/252311

I didnt try to flash anything with lineage recovery yet, but basic things like touch, adb seems to be working.
[Nexus 4 Android Development] phkhphk:
flash is good

:good:
[Nexus 4 Android Development] carsti77:
Thanks [MENTION=3772648]voron00[/MENTION]

Where you the official mako LOS build supporter until recently? Will there ever be an official LOS 16 for mako from you? Because of the need to repartition the device?

Btw, is it possible to make a mako ROM with Google Mainline support, so you get official fixes from Google? Or is this impossible?

Cheers!
[Nexus 4 Android Development] npjohnson:
FWIW, Lineage totally allows repartitioning, you just need a valid "before_install" entry on the wiki. Or it can be done via releasetools at flash time.
[Nexus 4 Android Development] carsti77:
Interesting. What about Mainline Support for LOS or Nexus4-LOS in general. Is it technically possible to offer Mainline support...so you get official fixes from Google?
[Nexus 4 Android Development] voron00:
New build uploaded.

Mostly because my device is in pretty bad shape. Power button is almost dead and screen is slightly damaged. Also still original battery from 2013. Not sure for how long it will last.
[Nexus 4 Android Development] anbuchelva:
I made a mistake by exchanging it.
[Nexus 4 Android Development] carsti77:
Thanks for the info. So you think it will survive for a little while longer and there will be an official LOS 16 for the Nexus4? That would be amazing!

Can you comment on project "Google Mainline"? As far as I understand it will basically make it possible to get very low level security fixes directly from Google without updating the ROM. Is this available in your LOS 16 ROM after I install the Google Play Store? Or do you not support Project Mainline? Or maybe Google is blocking all LOS devices?
[Nexus 4 Android Development] voron00:
I never heard of 'Google Mainline' before, but from what i see now it's for android Q, not Pie.
[Nexus 4 Android Development] carsti77:
Oh right. Hmmm. Could you port to Q once it's out? :angel:

What's your opinion on "Project Mainline". It would be amazing if security updates wouldn't need ROM updates.
[Nexus 4 Android Development] lxdb:
Best rom ever

Thank you.

That is a new life for my Nexus 4

works very good.

GApps are working too.
[Nexus 4 Android Development] zbatman:
It really works and runs well.

I've been using it as a daily driver on my nexus 4 for the last couple of months since my nexus 5x died.

I get around 3h SOT (2h if i'm outside) and it is not that much slower than the 5x.

Thank you very much!
[Nexus 4 Android Development] voron00:
Build with september security string uploaded.
[Nexus 4 Android Development] evertest:
hi

i install your rom and it awsome. new life for device nexus 4. and script for repartition works fine too. but i have a few questions

1.it was migrating from official lineage 15.1 build 17 may this year last of official.i just format system,dalvik cache and cache patitions without data. install rom and gaps and after rebooting most of settings works and all apps too. is it very bad?

2.my nexus has a bug with navi bittons that doesn't work send link to your pm. can you add it for your rom?

3.hope you will change your nexus 4 power button and get new power block.
[Nexus 4 Android Development] le_prince_petit:
Thanks for the great ROM!

I'm using it since 3 weeks without any problems.

Repartition script made small problems, little bit of debugging showed that mkfs was making trouble. Had to confirm a security question when performing the steps manually. Then the partitions and fs were fine.

Just upgraded to latest release.

Hope you keep up your great work.
[Nexus 4 Android Development] voron00:
New build uploaded. Fixed GPS lock issue.
[Nexus 4 Android Development] d_g_m_2000:
thank you OP, can i dirty flash it? or i should clean flash it?

thanks in advance for your comments.
[Nexus 4 Android Development] voron00:
Dirty flash should work fine.
[Nexus 4 Android Development] carsti77:
Great work! Do you have plans to update to Android 10 in the near future?

It would be amazing if the Nexus4 could get tiny security fixes directly from Google - which is possible with Project Mainline, introduced in Android 10.

Please Please Please Please Please Please Please Please Please Please Please :fingers-crossed: :fingers-crossed: :fingers-crossed:
[Nexus 4 Android Development] voron00:
New build uploaded. AOSP screen cast (Miracast) support has been ported to Pie: https://review.lineageos.org/c/LineageOS/android_frameworks_av/+/238928

However, i'm unable to verify if it's working or not because i don't have any device that supports Miracast.
[Nexus 4 Android Development] Holzhacker:
A small experience report from my side:

I've got the 8-GB-model with the original partition layout, latest official LOS 15.1 installed, TWRP 3.3.1.0, data partition encrypted (I think I already did this with stock Android 5.1.1, not sure about this - never touched this afterwards - TWRP could decrypt this). The phone is my daily driver.

So first I had to repartition. I tried the script from OP (repartition_voron00.zip), but it always complained about a modified partition table. I double checked my partitions and they were as expected, so I repartitioned manually (basically I just put 'parted' on the device and entered the commands as in the script in the adb shell). After a bit of sweating I could install LOS16-20190917 and OpenGapps-nano via ADB sideload.

As some member posted a time ago I also tried a dirty upgrade first (i.e. not wiping the data partition), but upon boot the system complained that the encrypted partition couldn't be decrypted.

So I re-entered TWRP again and formatted the data partition (thus removing the encryption). After that the next re-boot worked :).

The next hour the phone was busy restoring my apps and settings. I couldn't find anything that doesn't work. Great work [MENTION=3772648]voron00[/MENTION]!

Also my banking and TAN apps work without a problem.

After that I re-encrypted the data partition and as I already expected, TWRP can't decrypt this anymore (it's already known by the TWRP developers, keep that in mind if you want to do so).

Today I upgraded to the new version via ADB sideload, also no problem.

I could not see a difference in battery usage compared to LOS15.1. I'm still using the 6 year old original battery :D

Again, many many thanks to voron00 and all the others that still keep this phone alive!
[Nexus 4 Android Development] ze7zez:
Miracast does not work here, because after selecting "Settings" when trying to connect, there is no device selection option (3 dots on the top right of the search icon).

For example, I show how it looks in Arrow OS on OnePlus One.
[Nexus 4 Android Development] voron00:
That's strange, there should be an option to enable wireless display but it seems to be missing in your case, are you sure you updated correctly, maybe even clean flash is required i don't know...i do have the option but again, can't test:
[Nexus 4 Android Development] ze7zez:
It was only because of the Miracast information that I made a repartition and for the first time uploaded Lineage 16 on my mako.

The installation was therefore fresh.

If you need more information, e.g. logcat, I can do it in about 5 hours.
[Nexus 4 Android Development] Holzhacker:
I just tried Miracast by streaming towards a Lenovo Yoga Laptop running Windows 10.

Worked without any problems. :good:

The Nexus could also see a Samsung TV. But since this was not mine, I did not test it.
[Nexus 4 Android Development] ze7zez:
Miracast is not streaming!

Write what you did. Maybe a screenshot?

As a good example, I recommend >this< post.
[Nexus 4 Android Development] Holzhacker:
Sorry for the confusion. I'm using the german version where "Cast" is translated with "Streamen".

In the english version it's:

Settings -> Connected devices -> Connection preferences -> Cast

Edit: First screenshot is from the Nexus device, the second screenshot was made under Windows
[Nexus 4 Android Development] ze7zez:
Fresh install ROM or not?

Gapps or not?
[Nexus 4 Android Development] Holzhacker:
Long story: https://xdaforums.com/showpost.php?p=80315425&postcount=306

Short: no, fresh install was version LOS16-20190917, then dirty flashed to LOS16-20190923

OpenGapps Nano (from Sep 22)
[Nexus 4 Android Development] jatza78:
Do you have a plans for OTA update in the future?
[Nexus 4 Android Development] ze7zez:
You have discovered the ROM property that Miracast only works if gapps is installed.

I confirm the device is visible. --> Screenshots

P.S.

I fought for a long time with my screen that has a broken touch strip at the bottom. So I could not pass the window with the acceptance of LineageOS. Only pairing the BT mouse gave me a chance to install without using the touch screen.
[Nexus 4 Android Development] ze7zez:
Auto-rotate

[MENTION=3772648]voron00[/MENTION]

Could you enable Auto-rotate screen by default in the next build?

This would allow Android Setup to pass on screens with inactive touch areas.

I test different ROMs on different hardware and I know that this setting is possible.
[Nexus 4 Android Development] woutercools:
boot loop

I've followed all the steps without errors and I'm getting a boot loop and a reboot to recovery.

Any suggestions that I can try?
[Nexus 4 Android Development] ΦDroid:
Try 0921 OpenGapps Nano. That solved the same issue for me.

https://sourceforge.net/projects/op...open_gapps-arm-9.0-nano-20190921.zip/download