yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] pfederighi:
Sorry for my ignorance, but I have been unable to find the answer.

Does the Go edition not have the ability to search emojis? That is, there's no magnifying glass button to find emojis by name on any keyboard. Is that something only available in the full version or a different OpenGapps package?

It's not a big deal as I don't use them much, but it does seem odd to me.
[Nexus 4 Android Development] le_prince_petit:
Thanks a billion voron00!

My Nexus 4 celebrated its 9th birthday recently and thanks to you it's still running, smoother than the last lineage releases and with a security patch level of 5.3.2022! You rock!

BTW, had to install twice. First try Playstore App kept crashing. Didn't do anything different the second time but then it worked like a charm. No clue what the issue was.

Please keep up the great work! Thanks to you and LG I'm pretty sure my Nexus and I will make the ten and beyond.
[Nexus 4 Android Development] _raydroid:
Someone posted a workaround to get the "Draw over other apps" feature working in Android Go: https://xdaforums.com/t/rom-lineage...ience-with-lineage-mako.3992169/post-85130537. I might try this down the road.

Also another cool tip is you can now use the Google Camera Go app instead of the stock LOS Camera. You can find it here: https://www.apkmirror.com/apk/google-inc/camera-go/. Get the armeabi-v7a version.
[Nexus 4 Android Development] frankielin:
Today i've installed last lineage released (18.1-go-20220314). I've a problem with GPS. It doesn't works. The gps icon appear in the top bar but every app who try to use gps for my position don't works. Is it possible to fix this problem? Thanks in advance. With lineage 17.1 gps works without any problem
[Nexus 4 Android Development] voron00:
GPS work but XTRA servers are currently down (return bad data). Without downloading XTRA data GPS will be slow, takes about 2 minutes to get a position fix. Similar results on my other phone.
[Nexus 4 Android Development] pfederighi:
Is there some sort of a search module missing that's common to several programs? Other programs seem to be lacking search functionality as well, such as Google Messages.

Anyone have an idea, or is it just me?

Thanks

Update: I found it's a Go thing. For example, the Messages app installed by the play store is a Go version (though not identified as such).

I installed the regular, non-Go version. It has the search feature. It's also one of biggest resource hogs imaginable: a messaging app should not use up hundreds of MB of RAM, 100% CPU time on all four cores, and still run so slow at the simplest tasks that the OS thinks it's crashed and asks me if I want to close it or wait. To top that, the search feature didn't even work, which might indicate something is missing from Android Go or Gapps, as well. I uninstalled it and went back to the Go version.

Basic search functionality is not that hard to implement and still useful even if it's unoptimized. Search functionality is even part of the standard C and Java libraries. I can only assume Google wants to punish us for using Go.
[Nexus 4 Android Development] voron00:
lineage-18.1-go-20220322-UNOFFICIAL-mako-signed.zip

Updated GPS xtra servers to working ones.
[Nexus 4 Android Development] Ahmad466:
Hi do you think you can create android 12L for nexus 4 because somebody created it for nexus 7 (2013) which has the same spec as of nexus 4 ( https://xdaforums.com/t/3569067/ ) this is the link of that project on xda its lineage os 19.1 unoffical. Can you modify this rom for nexus 4?
[Nexus 4 Android Development] voron00:
lineage 19 is still in quite early state, ill take a look when it gets more mature. Maybe durning summer.
[Nexus 4 Android Development] lukeprokopec:
think it was a battery issue. i noticed when i was installing in the twrp the battery went from 75% to 6% very quickly. so i replaced the battery, but it turned off again after flashing and during setup. i thought i had to get a new phone, but decided to charge the battery overnight and give it another go, and it seems fine now.
[Nexus 4 Android Development] Rakaan:
Flashed this version and everything seems to be working except the issue with the WiFi. Keeps connecting and disconnecting and not reliable at all. Any tips please? Thanks
[Nexus 4 Android Development] voron00:
lineage-18.1-go-20220414-UNOFFICIAL-mako-signed.zip (R_asb_2022-04)
[Nexus 4 Android Development] Equalibrium:
Is there any way to run USB OTG on this ROM?
[Nexus 4 Android Development] _raydroid:
Any plans to keep building LOS 17.1, voron00? 17.1 just got a security update today: https://www.lineageoslog.com/17.1

I find that 17.1 is a bit better with battery drain and memory usage. With 17.1, I have about 1.3GB RAM free.
[Nexus 4 Android Development] voron00:
Well, nope. 17.1 is problematic to build due to low ram on pc.

lineage-18.1-go-20220417-UNOFFICIAL-mako-signed.zip

Added some kernel security patches (check kernel source).
[Nexus 4 Android Development] nefescalanadam:
Just tested this build and it is very smooth. i am so curious when this device will die. (Mako deserve los 19)
[Nexus 4 Android Development] dahawthorne:
I hope this isn't something blindingly obvious that I'm missing... :)

I'm running 18.1-20220417-UNOFFICIAL-mako.

I want to add a clock widget, but a long press on the screen gives me "Home Settings" and "Styles & Wallpapers" - no widget option. Any suggestions appreciated.

Or can anyone confirm that they have the widget option on a screen long press? If so, maybe I should try a completely clean install - I can't remember whether I originally clean installed when I went to 18, though I usually do on a major upgrade.
[Nexus 4 Android Development] AraldoL:
If you're running the build from voron00 here it's the somewhat limited Android-Go version for less powerful devices, not the full one. Read comment #666 on page 34 of this thread.
[Nexus 4 Android Development] dahawthorne:
@AraldoL

Thanks. I thought the "GO" looked suspiciously like a cut-down version, but I hadn't used my N4 for ages, didn't really want to read through the last couple of dozen pages (I know, lazy...:)) and the search function in XDA seems to be every bit as bad as when it first launched the new version.

Thanks for the pointer - much appreciated.
[Nexus 4 Android Development] _raydroid:
Try using another launcher. You should be able to use widgets then.
[Nexus 4 Android Development] dahawthorne:
Thanks. I'm trying to keep it as simple as possible, so I've reverted to the January full version and widgets are fine again. The N4 is my third backup device (after my N6 & N5), so I'm not too worried about being a bit out of date.
[Nexus 4 Android Development] rayman95:
just clean flash this build and all works as it should except wired headset volume who doesn't work...I can hear call and music but volume doesn't change...any idea??

anyway thanks for the work...
[Nexus 4 Android Development] AraldoL:
There is a new v3.3 Google Camera Go, May 16, working in this build (the armeabi-v7a variant), previous was v2.12

https://www.apkmirror.com/apk/google-inc/camera-go/
[Nexus 4 Android Development] nefescalanadam:
Can you check this version Gcam Go, this is newer version.

Shamim: GCAMGO_3.3.439_SHAMIM_V1

Download GCAMGO_3.3.439_SHAMIM_V1 by Shamim.

www.celsoazevedo.com
[Nexus 4 Android Development] rayman95:
HDR cause FC otherwise the app run
[Nexus 4 Android Development] voron00:
lineage-18.1-go-20220617-UNOFFICIAL-mako-signed.zip (R_asb_2022-06)

Reverted changes that broke wifi 5 ghz and voice speaker volume controls.
[Nexus 4 Android Development] soupbowl:
Wow! Thanks for continuously maintaining this build. Nice and easy install, and you provide sources - brilliant!

I dug out my phone and it was on LOS 15. Now running on LOS 18 thanks to you. Hopefully I can give it a good use.
[Nexus 4 Android Development] ddaggebi:
Thanks @voron00 . Working fine on this legacy device. Thinking that this might perform better than some low-spec phones releasing nowadays.
[Nexus 4 Android Development] slvrflcn:
Hey @voron00, thanks for the hard work so far keeping this one alive. I have installed it in my mako today and it looks like 5 ghz wifi is still broken. The phone connects to it and quickly loses connection right after.

I've faced a similar problem when flashing a LineageOS build from a similar date onto another phone and flashing a newer build has resolved it, so it seems that the LineageOS folks somehow resolved this.

Let me know if there is anything that you need for debugging and I can gladly post it here for you.
[Nexus 4 Android Development] nefescalanadam:
I didnt get any wifi or volume controls problem. But when i try shutdown device it back open itself
[Nexus 4 Android Development] ze7zez:
Can you go into TWRP and then shut down the system?
[Nexus 4 Android Development] nefescalanadam:
I tried that and it doesnt work
[Nexus 4 Android Development] ze7zez:
It's hard to answer when you haven't written anything about how you prepared partitions to accept this ROM.
[Nexus 4 Android Development] daledn:
Is right. I will explain. I have the latest version of TWRP and when I try to install Lineage 18.1 it shows me the error shown in the photo. I did a backup and I'm trying other systems for Nexus 4, but I can't find what the problem is. It won't let me install anything. I am currently using Nitrogen OS with Android 8. Hello everyone and thanks
[Nexus 4 Android Development] AraldoL:
Did you do the partition resize as written in 1st post? All newer Android versions don't fit in the default partition sizes.
[Nexus 4 Android Development] TheArt.:
Same here, I get error 1 while flashing. Previously I had LOS18.1 with July 2021 patches, now I am trying to flash the latest one which is a Go version, I wiped system data and cache but it does not flash. Of course I had repartitioned a few years ago otherwise I could not have had LOS18.1 in the first place. I used the latest twrp 3.6.1_9-0 in the Google Drive link.

EDIT: I repartitioned again, this time using this: https://xdaforums.com/t/repartition-nexus-4-repartition-mako-8gb-16gb-ua-twrp.3844383/

Flashed that .zip, rebooted, format data, wipe everything, and flashing the ROM & open pico gapps worked!

EDIT2: Tried to encrypt phone via settings. It rebooted, did it's thing for a while then shut down. I turned it on, it booted straight into TWRP and asked to decrypt via pattern. I entered the pattern and data successfully decrypted. I tried booting into system but had a bootloop on LOS animation logo. For half an hour at least. Tried to go back in recovery, decrypt, make a backup, then format data, reboot into recovery, restore backup. But nope, still bootloop.

Is encryption working for someone?
[Nexus 4 Android Development] AraldoL:
As I wrote above, there are links in the 1st post of this thread ("A few options to repartition the device"). I used the 2nd link with the repartition zip package instead of writing commands manually.

Btw. you strangely quoted your own question as it was written by me??

------

@TheArt. to your question: Yes encryption works for me. In other ROMs before this 18.1 Go I could encrypt the phone fine but TWRP could not decrypt it any more. Now with this 18.1 Go finally TWRP (the one from voron00's google drive) also accepts the password and decrypts.
[Nexus 4 Android Development] mcgyver83:
Hi all!

Really happy to find this thread!

I want to resurrect my old nexus 4 to be used as IpCam :)

I need to install an apk I bought, so I need Play Store.

With OpenGapps should I download?

Another issue I have is that when I enter TWRP 3.5.2 until the newest one (3.6.2) I'm not able to reboot.

Each choice I select (System, Power Off, Bootloader) always ends in TWRP boot
[Nexus 4 Android Development] AraldoL:
@mcgyver83 I installed latest open_gapps-arm-11.0-pico (must be flashed immediately after the ROM, before(!) first reboot).

Regarding TWRP you could try the one from voron00, use the ROM link from first post and select "recovery" folder there. Otherwise with TWRP versions that don't reboot properly this always worked for me to get out: In TWRP hold the power button pressed until phone turns off. Then press power again to start the phone and it rebooted into system for me. Or sometimes into boot menu where I could select system to boot.
[Nexus 4 Android Development] mcgyver83:
Thanks!

Long press power button is the trick I'm using now.

Ok, going to sideload open Gapps 11 :)

EDIT: open gapps 11 nano are still too big :(

Now I have Error 70 when sideloading them.
[Nexus 4 Android Development] ze7zez:
Android 7.1.2 is enough for the IP camera, which is less burdening the system. Use MicroG services to replace gapps.
[Nexus 4 Android Development] AraldoL:
Pico should work, otherwise you could put a text file "gapps-config.txt" in the same folder as the gapps zip before installing the gapps with following content to skip some components either not needed or can be installed to data partition from play store later, to save space:

Exclude

GoogleTTS
FaceDetect
FaceUnlock
Speech
Search
[Nexus 4 Android Development] voron00:
lineage-18.1-20220817-UNOFFICIAL-mako-signed.zip (R_asb_2022-08)

Removed Android GO optimizations (they are good for saving memory, but actually reduce peroformance)

Backported binder from kernel 4.19.

Backported ZRAM.

A lot of kernel security updates (check kernel source).

Android GO build (with all optimizations and gapps) are avaliable here: https://xdaforums.com/t/rom-experim...n-lineageos-18-1-android-go-with-gms.4475391/
[Nexus 4 Android Development] dahawthorne:
Dirty-flashed the non-GO build over the last January build, and everything seems ok. It's my backup backup backup phone :) after my Nexus 6 & Nexus 5, but it's good to see it still working. Thank you.
[Nexus 4 Android Development] AraldoL:
Here also flashed new build over the previous latest June GO build without wipe. After that I only uninstalled Google-Go and Maps-Go app and installed the full Google and Maps app, leaving other Go apps (Camera 3.6 sideloaded, GMail) untouched. No issues yet, and finally widgets on launcher and long-press i.e. on play store for app updates back again, both was missing in GO version :) Great update! Thx!
[Nexus 4 Android Development] mcgyver83:
Ops... I miss also this: what is GO / No-GO Build?

I flashed the rom in #1, should I do something?
[Nexus 4 Android Development] mcgyver83:
Installed full pico and worked. Thanks
[Nexus 4 Android Development] AraldoL:
The builds of this thread until June 2022 were Android GO, a stripped down Android version missing some features (like widgets or long press menu in launcher), intended for lower power phones with less memory. There are also separate "GO" versions of some Google Apps in play store with less requirements and functionality (Google App, Maps, Camera, GMail) to install instead of the full apps. Intent was to run smoother on an old device like the Nexus 4. See Wikipedia.

The now released August 2022 build is a full Android build without those "GO" restrictions.

Used the GO builds till today and now flashed the new August build just over it (no need to flash GApps again if you don't wipe system, they remain then).
[Nexus 4 Android Development] mcgyver83:
Where can I find this build?

The one #1 should be the most updated (so Non-GO)
[Nexus 4 Android Development] ze7zez:
https://xdaforums.com/t/rom-experim...n-lineageos-18-1-android-go-with-gms.4475391/
[Nexus 4 Android Development] mcgyver83:
But the link point to a page that says "LineageOS 18.1 Android GO with GMS".

@AraldoL a couple of messages above wrote: "The now released August 2022 build is a full Android build without those "GO" restrictions."

Is this this build suggested above Go or non GO?

Of course I'm looking for the lightest build, since I want to use the nexus4 as IpCam or NVR using TinyCamMonitor.
[Nexus 4 Android Development] voron00:
Previous builds here had android go optimizations enabled. Now they are not enabled because they reduce performance for this phone. If you want lightest build - use this build and not install gapps.
[Nexus 4 Android Development] mcgyver83:
Ok, so there is a mismatch between the "title" LineageOS 18.1 Android GO with GMS and the fact that the linked build as NO Go optimization :)

Going to download the build and flash it, clear system & data to have e clean installation.

I will not install gapps :)

Thanks
[Nexus 4 Android Development] zagzag99:
A little off topic, sorry.

Unfortunately both of my nexus 4 devices developed unresponsive touch areas :-(

And one to the point it registers phantom ghost touches when screen heats up

I wonder if it's worth the trouble of screen replacement? I saw replacement parts are $15-$20. Just knowing no technician would want to bother and I'll need to do it myself.

Anyone has a similar experience?

Do you think it's worth trying to fix ?
[Nexus 4 Android Development] dahawthorne:
I would say not. It's an 8-year-old device which has little monetary value - maybe worth less than the cost of repair, especially with the risk that the repair may not work. My own Nexus 4 has a 1cm dead vertical strip, and I shan't waste money on fixing the screen. I keep it for sentimental value as my oldest Nexus.
[Nexus 4 Android Development] ze7zez:
A touch is not needed if you pair the N4 with a BT Mouse. TWRP commands can be executed via adb.
[Nexus 4 Android Development] _raydroid:
Ha! Me too! Mine is less than yours though and only at the bottom of the screen, so I stuck with Android 10 since it still supports adb overscan and allows to recrop the screen so the phantom touches do not register and I can use the bottom nav bar again without issue.
[Nexus 4 Android Development] frankielin:
in Android 11 you can use the adb shell command " wm size " to set the resolution of your screen and isolate the navbar button area. I set it to 768x1200.
[Nexus 4 Android Development] _raydroid:
I've tried that already. It's not as good as overscan as it centers the resize, so you miss some real estate at the top and makes things hard to activate the top bar swipe down nav menu.
[Nexus 4 Android Development] mcgyver83:
Hi, I flashed this rom but I realised that I could have an issue for my use case: I installed TeamViewer but when I run it, the app asks for Overlay permission (to be shown on top of others app on the screen).

Moving to setting I have a page that says that this feature of Android is not present because slows down the smartphone. How can I fix this?
[Nexus 4 Android Development] zagzag99:
Flash the. Non-androidGo variant of this ROM, check last release post.
[Nexus 4 Android Development] mcgyver83:
Sorry, but here @voron00 wrote that this build has GO optimisations no enabled because they reduce speed...
[Nexus 4 Android Development] AraldoL:
@mcgyver83 I think you mix up things, voron00 offers two different builds in this forum:

- The build in post #1 of THIS THREAD HERE, without "go" in file name no longer has GO restrictions, it's a full build, without google services (flash GApps after ROM if needed)

- The build in post #1 of THE OTHER THREAD, with "go" in file name has GO restrictions and GMS google services included
[Nexus 4 Android Development] mcgyver83:
I reparted as wrote in the #1 but now I have

fastboot -w update lineage-18.1-20220828-UNOFFICIAL-mako-signed.zip

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

Bootloader Version...: MAKOZ30f

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

archive does not contain 'android-info.txt'

fastboot: error: could not read android-info.txt
[Nexus 4 Android Development] voron00:
This is a recovery ROM, not a fastboot ROM. Fastboot ROM is in other thread, not here.
[Nexus 4 Android Development] mcgyver83:
SO I have to sideload it and install using TWRP dedicated feature?
[Nexus 4 Android Development] voron00:
Well, yes...
[Nexus 4 Android Development] fox31212:
Hi. can someone make a port for lg_e975?
[Nexus 4 Android Development] mcgyver83:
Sorry for the late late reply.

I used sideload to flash the rom but now I have bootloop: I see the animated Lineage Icon (the blue line with circle moving from right to left ) but after many seconds the smarphone reboots to recovery
[Nexus 4 Android Development] voron00:
You're clearly doing something wrong.. Wipe /system /data /cache and reflash.

Anyway, update is uploaded.

lineage-18.1-20221017-UNOFFICIAL-mako-signed.zip (R_asb_2022-10)

Updated TWRP image to 3.7.0.

Updated Lineage recovery image too.
[Nexus 4 Android Development] mcgyver83:
I pushed the new image on sdcard, updated TWRP and looks ok...

But now I have issue with battery. Was almost dead before, I keep the cable connected but despite of "it's full" is not able to support the first boot and setup of smartphone... :)

I think I can consider my old Nexus4 gone :)

Thanks for support.
[Nexus 4 Android Development] AraldoL:
@mcgyver83 I put a new battery from Amazon (7.80 EUR including some tools) in my Nexus4 this august, working fine again. Until this the original battery was in the device but got bloated and lifted off the back glass about a millimeter but did not break. The first replacement battery I got was below some minimum charge level, did not charge in device (red light of death all the time) but a free replacement could be charged successfully.
[Nexus 4 Android Development] mcgyver83:
can you send me in private the link of the item?

I'll consider to replace it or trash the device if is not worth
[Nexus 4 Android Development] pappyN4:
Can anyone confirm that LTE still works with lineage 18.1 unofficial?

I'm running Cyanogen 10.2.1 and if I remember right the only thing I had to do was make a few changes to the build.prop settings for LTE to work. I think its still the stock radio as I dont remember flashing modem.img. I do have copes of hybrid 33-54 and 33-84.
[Nexus 4 Android Development] saphta:
If I go to Settings->Google I immediately see the Covid-19 tracking app that I don't want on my phone. Any ideas how can I remove it?
[Nexus 4 Android Development] KAMiKAZOW:
Regular Pico didn't work for me but Pico+txt worked. Thanks.
[Nexus 4 Android Development] TheArt.:
It's part of Google play services. Just disable it and you should be good to go. If you don't want to see it, all google functionality has to be stripped and you have to flash a ROM without gapps
[Nexus 4 Android Development] saphta:
True. Has anyone tried microG GmsCore?
[Nexus 4 Android Development] voron00:
lineage-18.1-20221212-UNOFFICIAL-mako-signed.zip (R_asb_2022-12)
[Nexus 4 Android Development] ffunk:
Hi all, I love this ROM very much! Anyway - same as in other custom ROMs - I have good old problem with incall audio. Has anybody solved this for good? I was STFGing a lot, tried flashing various baseband versions incl. hybrid ones and still can't get it solved. I have also tried flashing stock ROM and calls seemed to work for the (short) time it was there. Any advices? Thanks!
[Nexus 4 Android Development] Rakaan:
Ignore.
[Nexus 4 Android Development] nefescalanadam:
@voron00 i hope soon our old dude (nexus 4) will eat some tiramisu (a13) or snow cone (a12)
[Nexus 4 Android Development] SkewedZeppelin:
Android 12 requires Linux 4.9 (or Linux 4.4 with backported cgroups v2 and bpf fixes). mako is on 3.4.
[Nexus 4 Android Development] minecrimex:
First, thank you for this epic ROM, I guess this is the oldest devices with the latest security patch ! Congrats and my utmost respect.

Now to the weird behavior of my N4: It had Carbon ROM installed until some weeks ago and now I installed this ROM with BitGapps. (Clean flash with repartitioning) With the old setup I had this behavior: Google Chrome does not show any of the content of any website, its just plain white...

Thing is: Firefox and the Lineage Browser work just fine.

Against my expectations, I still have this behavior with this ROM and BitGapps. If someone ever heard of this I would really appreciate any help. :)
[Nexus 4 Android Development] ze7zez:
Chrome has high memory requirements, including cache. Go back to TWRP and wipe cache and Dalvik, or flash much older gapps, e.g. BiTGApps or arm Lite Gapps.