yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] DCCentR:
lineage-15.1-20180509-UNOFFICIAL-mako

First boot, can see & connect to the 5ghz network

Just changed channel setting at my router, disable/enable wifi at my phone & 5ghz networks are gone from the list (even neighbours one). Rebooting phone/removing from saved networks/disable&enable wifi didnt help.
[Nexus 4 Original Android Development] voron00:
Thanks, i think i see the problem now, changed some settings on my router and was able to reproduce that, can you test this build https://drive.google.com/drive/folders/13Dcve8SaxFATS2K_sXnimAFNZqLqGwy_ ? At least for me it seems to work fine now.

Edit: getting quite good results with this settings, and the signal is noticably more stable.
[Nexus 4 Original Android Development] MKulisek:
Hi voron00. Thank's for you'r hard work's on Nexus 4.

I have problem with my phone battery. Only 2 - 6 hour's maximum daily. (FB Messenger, Opera Mobile, Outlook Mail ....). :(
[Nexus 4 Original Android Development] borisenkosergei:
OTA updates is avalible ?
[Nexus 4 Original Android Development] Paesani2006:
How can I port this rom to Optimus G E975? It has very similar hardware... Thanks...
[Nexus 4 Original Android Development] DCCentR:
I can check this build tomorrow, thanks!
[Nexus 4 Original Android Development] Sam Nakamura:
If OTA means updater app then no, not via updater, not from nougat to oreo... If you once upgraded to Oreo OTA / updater app should work for the following builds...

Read the OP to get an idea on how to flash from 14.1 to 15.1 or clean flash but updating as described by OP worked just fine for me...

---------- Post added at 04:42 PM ---------- Previous post was at 04:40 PM ----------

Search for one of the plenty guides provided on xda and elsewhere and start working but this unfortunately is not the right thread to get help porting for another device...
[Nexus 4 Original Android Development] d_g_m_2000:
Please be careful on what you comment... It looks like your battery have bad health and this rom has nothing to do with it... consider replace your battery and i suggest you flash LOS 14.1 + sinai kernel (nougat LOS based) to extend your daily use (it works for me)

sorry for my bad english. hope it help you.
[Nexus 4 Original Android Development] MKulisek:
I bought new battery 3 week's back. And replace old with new battery. And problem with draining is same with old battery.

If not use phone, battery is good. If use phone with apps battery have max 2-6 hours ...... I meening hw problem or cellular or netwok issue hw or sw ?????
[Nexus 4 Original Android Development] Sam Nakamura:
5ghz network is working fine on this test build for me too, it wasn't even visible on the official... :good:

---------- Post added at 05:51 PM ---------- Previous post was at 05:44 PM ----------

There're many "fake batteries" on the market, are you sure that this battery is alright? I actually just purchased one and had to do plenty of research to find a "original", I still need to physically test it but at least the seller was trustworthy so far and seems legit from the looks...

I found accu battery (-> Playstore) pretty accurate in testing battery health / capacity, otherwise you'll need to use an USB Amperemeter or something like that but fast discharging is one typical symptom of a bad battery, I use just a bare minimum on the N4 (Youtube, Chrome, XDA labs) and battery life is decent, better than expected...
[Nexus 4 Original Android Development] Sam Nakamura:
Weather provider doesn't seem to work, I installed yahoo's and open weather's provider services from lineageOS/extras but they do not appear under settings, apps, standard apps, weather - not sure if lineageOS 15.1 handles this stuff differently or something but cLock doesn't show weather in it's widget, even though weather providers are installed and one is chosen...

--------------------------------

I know, first official build and stuff... Just meant as feedback as I just saw it - great work by the way, actually a nice user experience so far, fast & efficient, I really like it :)
[Nexus 4 Original Android Development] borisenkosergei:
How to enable Google Assistant on this ROM ?
[Nexus 4 Original Android Development] DCCentR:
Tested this build in same conditions as previous one, works fine now. Thanks!

Encountered another bug (2 times), with volume buttons as forward/backward in music player (Aimp) - they stop changing songs, only sound volume. Disabling/enabling this feature in phones options didn't help (didn't try to restart actual player tho). Fixed by rebooting device. Can't reproduce yet.
[Nexus 4 Original Android Development] dookie23:
Does anyone have a problem adding new wifi hotspots that are hidden ? I have a hidden and a regular hotspot from the same router with the encryption same settings (AES, WPA2, 2.4GHz and 5GHz), but this firmware isn't able to find the hidden one. I previously had NitrogenOS 7.1 installed and there was no problem.
[Nexus 4 Original Android Development] Holzhacker:
Now a litte experience report from me.

I've got the 8-GB-Model and had the latest official LOS 14.1 installed as well as the official TWRP 3.2.1.0.

The data partition was already encrypted. Password on boot is required.

After performing a backup I wiped all partitions (just wipe - no format - to keep the encryption on the data partition as it is because TWRP can't decrypt Oreo encrypted partitions).

Then I installed this 15.1 build and OpenGapps Pico (without any gapps-config.txt).

Installation went through without a problem.

On the first boot I noticed the first positive change :)

As I need my password upon boot, the keyboard shows up. And this time really only once.

Before it always popped up a second time after a few seconds whereas entering something on the first keyboard was pointless.

The whole boot was quite quick.

Re-installing my Apps went flawlessly. Camera works, WiFi works (I only use 2.4 GHz), Bluetooth works (a Polar V800 is always connected).

I noticed that I am affected by the WiFi-disconnect-when-switching-Bluetooth-Bug (as mentioned in the 'UNOFFICIAL'-thread), I never noticed this before.

But that's really a minor issue.

As there was a report here in this thread regarding a banking app that didn't work anymore. I use a similar app (DKB tan2go) and it works without problems.

What I could not get to work is the new PiP (Picture in Picture) mode. I found all settings for this, but none of the apps where it should work (Youtube, Google Maps, Chrome...) show the PiP window. Seems to be a generic problem on other models, too. But again, nothing that really bothers me ;)

Everything feels really fluid, the phone was very responsive even while the Play Store was installing my Apps (it wasn't the responsive in older versions).
[Nexus 4 Original Android Development] Holzhacker:
Maybe just the statistics about the battery level is wrong. There are some instructions around how to calibrate that (basically you have to fully discharge and charge the battery once or twice).
[Nexus 4 Original Android Development] finchi:
I've installed it today. No issue so far. Only problem was system partition is too small (857MB) so installation of Gapps (nano and also pico) failed on error 70 - not enough space. Resizing system partition before and after installation of lineage to 1100MB solved it.
[Nexus 4 Original Android Development] roan67:
Thx ! Work on my shield tablet
[Nexus 4 Original Android Development] 6 moad 9:
Hello!

Can you please help me with an issue I'm facing on my nexus 4 with LOS 15? I described it here:

https://xdaforums.com/t/problem-with-auto-rotation-and-all-sensors.4628073/
[Nexus 4 Original Android Development] shirocco88:
How can I resize th system partition ?

Could you please share the commands
[Nexus 4 Original Android Development] finchi:
I've followed http://en.miui.com/forum.php?mod=viewthread&tid=183258&extra=page=1&page=1&mobile=2

BUT KEEP IN MIND YOU'RE ABOUT TO ERASE EVERYTHING ON YOUR USERDATA PARTITION!!!

You will need:

Twrp-3.2.1-0-mako.img

https://iwf1.com/iwf-repo/parted.rar

After resize you can flash lineage*zip from TWRP. System partition will be flashed to 865MB so before installing gapps you need to resize it once again.

But this time only with commands

e2fsck -f /dev/block/YOUR_SYSTEM_PARTITION

resize2fs /dev/block/YOUR_SYSTEM_PARTITION
[Nexus 4 Original Android Development] el_charlie:
The problem with this is that every update using the Lineage Updater will fail because the zip will backup gapps, flash the update that will revert back to 865MB and then try to restore the Gapps and that would fail.

Correct me if I'm wrong, please.
[Nexus 4 Original Android Development] voron00:
That's right. That's why you shouldn't repartition and use gapps-config trick instead.
[Nexus 4 Original Android Development] finchi:
Well. Then there is nothing you can do. Only wait for official lineage image that will have enough space on System partition for gapps
[Nexus 4 Original Android Development] el_charlie:
Is there nothing we can do to decrease the size of the files of the ROM? All of the files in it are needed?

I really want to use the ROM but with preloading at least the google camera and maybe Chrome replacing the defaut browser.
[Nexus 4 Original Android Development] voron00:
Already as minimal as possible... You can also try aroma gapps, there is an option to remove some stock apps so maybe it will fit.
[Nexus 4 Original Android Development] jordiet:
Interesting. I was trying to do a dirty upgrade of LOS 14.1 to 15.1, but failed to see this notice in time, so tried to flash nano GApps. That failing, I got in a bit of a bad situation where TWRP would be unable to flash lineageos 15.1 again. I managed to get past that by formatting data, not just wiping, as well as system, data, cache, dalvik and storage.

Now I've managed to flash lineageos 15.1 again, but GApps pico fails to install due to "insuficient storage". My device is 16GB. Ideas?
[Nexus 4 Original Android Development] sijben:
Wipe cache between linage and gapps perhaps.

Did this on two N4 16GB, both no problem with lineage, pico and suaddon. 810 from 826 MB used system parition.
[Nexus 4 Original Android Development] voron00:
Exclude the TTS package form gapps...
[Nexus 4 Original Android Development] leetripper:
opengapps 8.1 pico

I compared opengapps 8.1 pico from 10 May and 11 May. The release from 10 May is 107 MB and the one from 11 May 119MB. The installation with the release of 10 May works on my phone.
[Nexus 4 Original Android Development] jordiet:
Thanks for the pointer to exclude GoogleTTS. I did this and it did flash. Geez, things are *super* tight with 15.1.

Thanks for the help everyone! The thing booted successfully. :) Oreo on a N4 is a bit unbelievable, kudos to everyone involved!

---------- Post added at 09:39 PM ---------- Previous post was at 09:38 PM ----------

I was going to check this next, but excluding GoogleTTS did the trick. Thanks!
[Nexus 4 Original Android Development] Sam Nakamura:
Using "mind the gapps" package linked from lineageOS homepage works too as this package is just barely 100mb in size...

https://wiki.lineageos.org/gapps.html

It's indeed the size variation of the open GApps packages compiled from day to day which potentially cause the "not enough space on /system" error...

What might have been working yesterday won't work today because size has changed but the "mind the gapps" version will work anyway without editing out certain apps as it's comparably small...
[Nexus 4 Original Android Development] DCCentR:
Managed to reproduce that bug. It's triggered by YouTube videos. For example:

- Reboot device

- Open Aimp & start playing song in tracklist

- Minimimaze Aimp, open YouTube (via app or in browser) and play video for few seconds

- Minimize YouTube video, music in Aimp starts playing

- Volume buttons stop working as forward/backward (help restarting the Aimp/rebooting device)

Is this an Aimp bug?
[Nexus 4 Original Android Development] Sam Nakamura:
Try to get a logcat to help the developer, either get a app like Matlog or use your PC, then you upload it to something like G-drive and share the link...

Otherwise it's hard to tell what's causing the problem :)
[Nexus 4 Original Android Development] DCCentR:
Here is the log from MatLog with root:

https://drive.google.com/file/d/1lYcLy91t_K-EJiqbG6K-v0jf0M2TJP63/

These steps in the log:

- Device after reboot

- Open Aimp & start playing song in tracklist

- Minimimaze Aimp, open YouTube app and play video for few seconds

- Minimize YouTube video, music in Aimp starts playing

- Volume buttons stop working as forward/backward (screen is off)
[Nexus 4 Original Android Development] voron00:
It's an aimp bug. Other apps seems fine, also tried on my 8996 device aswell and buttons has stopped working too. So it's definitely an app bug.
[Nexus 4 Original Android Development] alecxs:
no root after upgrading, flashing addonsu-15.1-arm-signed.zip fails with exit 7

edit: no space left on /system issue - after excluding GoogleTTS it works!

it works also when flashed in right order:

1. lineage-15.1-20180507-nightly-mako-signed.zip

2. addonsu-15.1-arm-signed.zip

3. MindTheGapps-8.1.0-arm-20180320_011415.zip
[Nexus 4 Original Android Development] germanhtcfreak:
I tried upgrading too, yesterday, and I ran into the GApps no-space problem as well. Nano and pico just wouldn't install. MindTheGapps installed, but left the device in an unusable state with non-stop crashing Pixel setup. I'll try again with the smaller 5/10 version of GApps pico.
[Nexus 4 Original Android Development] Tomek_P:
For those using OpenGapps would it help if we came up with a definitive list of stock apps and services that can be safely removed and added as exclusions to the gapps-config.txt. For example things like the dialer, contacts, calendar, messages etc are going to be a waste of system space if they're just going to be replaced by their Google equivalents from the Play Store.

It would be good to de-select Android System Webview (which takes up 50mb) if Chrome is to be installed, but I have a feeling that'll make the initial setup impossible.
[Nexus 4 Original Android Development] voron00:
Just wait for today's build. I was able to free some megabytes and gapps pico installs fine again and even some megabytes are free for future updates.
[Nexus 4 Original Android Development] shirocco88:
new weekly build is available now.
[Nexus 4 Original Android Development] germanhtcfreak:
The 5/10 version witout Google TTS worked for me and I was able to start setting up apps and settings again.

There seems to be a problem with the 5GHz WiFi band in the 5/7 build of LineageOS 15.1, though. I'm only seeing the 2.4GHz band of my router and also WiFi Analyzer is not showing any active networks (which are definitely there). Seeing that this has already been discussed before, I'm looking forward to installing the next regular update.
[Nexus 4 Original Android Development] shirocco88:
I've a problem with dialer (I got a black screen after phone call starts)

my installation:

1. lineage-15.1-20180507-nightly-mako-signed.zip

2. pico gapps (excluding GoogleTTS)

rebootet

Dialer is working OK

then I installed some apps

and flashed addonsu-15.1-arm-signed.zip

after some tests I recognized the dialer bug.

Update to LOS 15.1 5/10 didn't fix the problem;

any help welcome!!!
[Nexus 4 Original Android Development] CAOSandres:
Maybe it's just my phone, but it suffers unexpected restarts, as it only takes a few minutes in applications such as instagram, twitter, etc.

When choosing the system colors, they are only reflected in the configuration and in the status bar, in the menu follow the default color in addition to other sections. (I'm a little picky)

I couldn't change the user profile image from the configuration, error when loading any image. I could do it from the contacts application, in the section of my information.

There is no option to change the position of the clock in the status bar and also to change the shape of the battery icon?

No options for the lock/unlock button? For example, add the button to make screenshots.

Otherwise the performance is excellent, a great job! Congratulations!!
[Nexus 4 Original Android Development] hobbittr:
Installed lineage-15.1-20180507-nightly -- success

Followed up with lineage-15.1-20180514-nightly -- success

GApps pico initially would not install due to lack of space.

GApps installed OK after I wiped Dalvik/ART cache, system, data, and cache.

addonsu for root installed OK

I was hiding my Wi-Fi SSID for security as we live in an apartment complex.

PROBLEM: Wi-Fi always drops on my home network unless I show the SSID.

I tried this without success:

Disable wifi and Bluetooth scanning in

Settings - > Security & Privacy - > Privacy - > Location - > Scanning

UNCHECK Wi-Fi & Bluetooth scanning

PROBLEM: Battery drain is high compared to the lineage-14.1-20180427-nightly.

I also noted as did CAOSandres

Otherwise seems to be working just fine. Thanks to the dev team.
[Nexus 4 Original Android Development] germanhtcfreak:
5 GHz WIFI band now shows up with 5/14 build, but is unstable. My phone connects to 5 GHz band for a few seconds, then drops the connection and falls back to the 2.4 GHz band. A minute or so later, it reconnects to the 5 GHz band, only to start over with disconnecting. I can only reliably stay connected by choosing the 2.4 GHz band. My SSIDs are different (same base name, 5 GHz has a "5" attached to the name).

Other than that, the build runs quite fine so far. I've not experienced unexpected failures, app crashes or spontaneous restarts while installing my usual set of apps. I need to spend some more time configuring them all and then put the device to standard usage patterns. Not sure about battery drain so far due to heavy WIFI use and constantly powered-on display.

I like how LineageOS looks even more like vanilla Android now.
[Nexus 4 Original Android Development] voron00:
Try using channel other than 36 if you have unstable 5 ghz connection, for exmple, channel 149, seems to work fine, not sure why it's unstable on 36.
[Nexus 4 Original Android Development] voron00:
Hmm, do you have LTE modded radio installed? It's not the first time i see report of random reboots. But i don't have any, most people here also don't seems to have any. Could be damaged battery though.
[Nexus 4 Original Android Development] CAOSandres:
Excuse the ignorance, how do I check that setting?

---------- Post added at 03:06 PM ---------- Previous post was at 03:04 PM ----------

I knew that this option exists but I have not installed any modem, I had previously installed another rom with 7.1.1 no Lineage and had activated LTE for testing, this configuration is activated?
[Nexus 4 Original Android Development] voron00:
Check baseband version in settings, if i remember correctly, modded radios had outdated version.
[Nexus 4 Original Android Development] CAOSandres:
My Baseband version:

M9615A-CEFWMAZM-2.0.1701.07
[Nexus 4 Original Android Development] voron00:
Can you get an output of /proc/last_kmsg next time you get a reboot?

You'll need a PC for it though, and adb installed and adb debugging enabled in developer settings, then just:

adb shell cat /proc/last_kmsg

If there is no /proc/last_kmsg then it likely means that it was a power failure, most likey damaged battery.
[Nexus 4 Original Android Development] CAOSandres:
It may be due to the age of the phone.

I'm going to try and find out whether or not a battery replacement is needed.

Could a calibration work?
[Nexus 4 Original Android Development] voron00:
Check /proc/last_kmsg first. It still could be a kernel panic somewhere.
[Nexus 4 Original Android Development] germanhtcfreak:
My neighbor's wifi uses channel 36, mine is on the other end of the range, around 148 (can't remember the exact channel right now). Anyway, I yesterday noticed that the 2.4 GHz band is also a bit unstable, something which is not very evident. While downloading larger navigation maps, the connection broke off several times and a notification for signing into the mobile network appeared repeatedly (the SIM in that phone currently has no mobile data). Previously (with LOS 14.1), a single dismissal of the message was sufficient while staying in range of the wifi.
[Nexus 4 Original Android Development] CAOSandres:
No errors detected
Boot info:
Last boot reason: reboot
[Nexus 4 Original Android Development] voron00:
Is that the full log? There is nothing else?
[Nexus 4 Original Android Development] CAOSandres:
Here it is.
[Nexus 4 Original Android Development] voron00:
Well, no kernel panics, no crashes, just a normal reboot cmd. ¯\_(ツ)_/¯. It could be previous last_kmsg log though as if it was a power failure, the log woudn't be overwritten in presistent RAM. Something with your phone hardware perhaps, maybe battery.
[Nexus 4 Original Android Development] CAOSandres:
I'll try to calibrate the battery to see what happens, otherwise I'll have to get a new one. Thanks!
[Nexus 4 Original Android Development] kino13:
Hello,

Has anyone had problems getting root with this rom? I see comments that people are patching the supersu from the extras and that's it, but in my case everytime I try the phone never completes the boot.

I have installed the last LOS, the twrp is the 3.2.1.0 and I tried both the supersu from the extras in LOS and the one from its site with the same result.

Complete factory reset and format between tries. If I don't install the super su the rom completes the installation correctly, even with nano apps.

Regards
[Nexus 4 Original Android Development] dfkt_:
I flashed LOS and GApps in one go, then let the system boot/set up. After that I rebooted into TWRP again and flashed LOS addonsu afterwards. This worked perfectly. Seems addonsu doesn't find some required files when it's flashed at the same time as LOS itself.
[Nexus 4 Original Android Development] kino13:
I will try that, i think that's how I did it the first time but I will check again.

Thanks
[Nexus 4 Original Android Development] eldraan:
You managed to install this ROM together with the nano gapps? How? I tried installing the 20180514 release of this ROM together with OpenGapps nano, and they couldn't fit. I had to use pico in the end.
[Nexus 4 Original Android Development] kino13:
I am sorry, I meant the pico, the smallest package. I wrote that while I was half asleep.

There's a message in a previous page about someone reformatting and resizing the system partition, but the process is complicated and dangerous, not sure it is worth it.

Regards
[Nexus 4 Original Android Development] kino13:
Hello, I patched the LOS addonsu AFTER the first boot and setting up my account, it worked perfectly.

Thanks!
[Nexus 4 Original Android Development] agomez84:
Greetings everyone.

Do you know if GPS works fine with this version ? I flashed NitrogenOS Android 8.1 and it was very difficult to obtain a fix or lock so I couldn't use any navigation apps, not sure if it's a problem with Oreo or the ROM.

Thanks.
[Nexus 4 Original Android Development] MGREX:
Anyone else getting blank screens?

Mine worked fine for a couple of days and now I can't let the screen turn off (or turn it off myself) because when I turn it on its just blank (black with backlight) can still hear notification noises which afaik means the phone is still working.
[Nexus 4 Original Android Development] kainomed:
it's weird ... I can not connect on my WiFi it detects all networks around me ... except mine. the settings of the adsl box are good and my other devices not this problem ??? an idea ?

Edit : resolved
[Nexus 4 Original Android Development] gamini:
Is there any options to enable the switch to activate/deactivate root for apps like in 14.1 ? I can only see the option for adb, but would be great to have the option to enable for some apps when needed and disable it when not. Netflix and some bank apps don't work when root is enabled.
[Nexus 4 Original Android Development] voron00:
Hopefully next build will fix wifi issues some people are having here. Also here is another option of gapps-config file but for opengapps nano:

Exclude

GoogleTTS
Search
Speech

This one provides face detect/unlock support.