yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] z3DD3r:
My beta tester reported that everything is fine on his side. Google Maps, Yandex Go, Yandex Navigator. All apps are working correctly.

Without logs i can't say anything. Grab logcat and post it here.
[Nexus 5 Original Android Development] edu24lal:
Well ,having issues posting logcat here, but i tried to locate location, maybe it can help i dont know
[Nexus 5 Original Android Development] z3DD3r:
This will not help. Your screenshot shows only that gms doesn't have permissions for location. Post link to logcat.

Also, which gapps u using?
[Nexus 5 Original Android Development] edu24lal:
https://drive.google.com/file/d/10iPcWib81Pk4X7s6zyUnxIWrlA7swA_x/view?usp=drivesdk. , Its weird cause a gave all location permissions and im using latest pico gapps 20210101 i think it is
[Nexus 5 Original Android Development] bluetooth-bug:
You are using Criterion kernel and not the one that comes with this ROM.
[Nexus 5 Original Android Development] edu24lal:
Yes, was using it last build and was working, but i will try without
[Nexus 5 Original Android Development] goodflood:
Hello!

I clean flashed 18.1 and it is fast... works great! I have a few questions:

1. This is what I have at the moment.

25 192937984B 1266679807B 1073741824B ext2 system

27 1298137088B 2032140287B 734003200B ext4 cache

I don't intend to use GAPPS, and probably not a lot of apps either. Am I going to have problems with space? Do I need to repartition?

2. I know what the modified TWRPs are. I just used the R version for the dump. So, my question is - if I am (or am not) going to re-partition, when I am done, do I go back to the normal TWRP or leave the R version installed?

3. There is some kind of bug... When I used the built-in advanced reboot menu, to go to recovery or bootloader, I get a blank screen and it takes a while, before the phone boots up. Is this because of my storage?

Thanks!
[Nexus 5 Original Android Development] candrayudhatama:
Update 20210124 everything is work :):):)
[Nexus 5 Original Android Development] candrayudhatama:
Thanks for update 😊
[Nexus 5 Original Android Development] zheega:
Everything good here as well.
[Nexus 5 Original Android Development] ChattyMatty:
Lovely little rom, really snappy. I just got my N5 this week... anyone have any luck with a carrier who will support you without VoLTE?

EDIT: So it turns out ATT is supporting "4G but not VoLTE" phones through February 2022 so we have a few months left. Net10 uses ATT's network and is accepting N5's as new customers if anyone finds themselves dropped by their current carrier and doesn't need a ton of data/want to pay ATT prices. Looks like their sim packet even supports our micro SIM's.

Thanks again for the great work on this ROM.
[Nexus 5 Original Android Development] Bouquins:
Hello ! I installed it on my second Nexus 5; all is working fine ! Thank you !
[Nexus 5 Original Android Development] Baonks81:
My nexus 5 was working well with build 20210124. Thanks z3DD3r
[Nexus 5 Original Android Development] safato:
Yes, it is. How can I go back?
[Nexus 5 Original Android Development] NetIHeCat:
Great build . Works fast. But sometimes apps break. It feels like there is not enough RAM.

Many thanks to the author for the build .
[Nexus 5 Original Android Development] JackyGundam:
download official twrp app, give it root access and flash recovery using the app
[Nexus 5 Original Android Development] z3DD3r:
New build (2020-02-05) is up!

This one includes improvements for lowmemorykiller from motorola which should improve memory usage
[Nexus 5 Original Android Development] NetIHeCat:
Great news, we will test!
[Nexus 5 Original Android Development] DonProfiterol:
Hi everyone!

I'm new here and I want to thank @z3DD3r and all the people who made this rom possible.

I have a question, when I download a new build from the updater I reboot to the recovery but I can't find the new rom to install. Can anyone tell me how to install the updates?

Sorry that I'm such a noob, thanks in advance!
[Nexus 5 Original Android Development] candrayudhatama:
Anyone have problem safety net...build rom 20210205 ???? Everything all I need is working...but just one problem for me...safety net...I try install all version magisk still failed
[Nexus 5 Original Android Development] z3DD3r:
Downloaded update stored in /data/lineageos_update/ folder. But why u trying install it manually? Just tap install from updater and wait. One note. If u using the TWRP HH recovery then u need to install latest HH.*.10 version

No problems for me. Tested with latest build + latest test opengapps + stable magisk 21.4. Device is certified in Play Store and SafetyNet checks passed successfully.
[Nexus 5 Original Android Development] candrayudhatama:
Ok I will try
[Nexus 5 Original Android Development] mpw648:
Is anyone else getting a Signature verification error with latest version (20210205)?
[Nexus 5 Original Android Development] candrayudhatama:
I try all your method but still not luck for me safety net failed....last build rom magisk 21.4 last test gapps @z3DD3r
[Nexus 5 Original Android Development] z3DD3r:
Magiks Hide enabled? Clean flash?
[Nexus 5 Original Android Development] z3DD3r:
Everything is good for me. Can you show me this error? Have u installed any mods?
[Nexus 5 Original Android Development] candrayudhatama:
😁 thanks finally solved
[Nexus 5 Original Android Development] mpw648:
Good news. Downloaded everything again, factory wiped, then reflashed and it's worked.
[Nexus 5 Original Android Development] Baonks81:
Build 2021-02-05 working great. Magisk 21.4, ktweak, adreno gpu driver, work well. Best DPI is 400, setup it in developer option, it 432. Thanks @z3DD3r
[Nexus 5 Original Android Development] zheega:
I had some problems with clean install not working with latest few versions of 18.1. Even a full wipe in recovery didn't help. Manually formatting all partitions and data solved the problem, now fresh install doesn't hang and restart at first start.
[Nexus 5 Original Android Development] bluetooth-bug:
I saw there's a new signed 17.1 build (lineage-17.1-20210208-UNOFFICIAL-hammerhead-signed.zip) and I am still on the last unsigned build of that. I am still not ready to switch to the current 18.1 builds. Does this migration script work for 17.1 unsigned to 17.1 signed builds as well?
[Nexus 5 Original Android Development] Zkaar:
Could a next version of this ROM support signature spoofing? I'd like to set up my old Nexus using microG, and it kinda needs signature spoofing to work correctly.

Or maybe there's something else I can do already?
[Nexus 5 Original Android Development] z3DD3r:
Nope. Sorry, but i will not include changes that are not a part of original LOS.
[Nexus 5 Original Android Development] z3DD3r:
Yep, it should work
[Nexus 5 Original Android Development] sant514:
Is the encyption repaired, for the 18.1 ?
[Nexus 5 Original Android Development] z3DD3r:
Nope. Now encryption does not work on almost all msm8974 devices. And unfortunately I can't say if this will be fixed :(
[Nexus 5 Original Android Development] bluetooth-bug:
And indeed it did. Just flashed it. From 17.1 unsigned to 17.1 signed. Thank you!
[Nexus 5 Original Android Development] jenkinsad0:
Now I've just installed yesterday 17.1-20210209-...-signed.zip

What would be the recommended way to upgrade to [the next version of] LOS 18.1?
[Nexus 5 Original Android Development] z3DD3r:
Hi there.

I've got a Nexus 5 device for tests for some days and i'm trying to understand what is going on with encryption. I was able to encrypt my device on 20210207 build but the reason of previous fails is still a mystery for me. I'll appreciate if anyone can test encryption. I'll post instruction here but you should be aware that this process is destructive and you can loose all your data. Read instruction carefully and don't skip any step!

Here we go:

1. Backup all data from your phone to PC

2. Install latest version of the TWRP HH and boot it

3. Dump 2 partitions to /sdcard from Terminal with next commands:

dd if=/dev/block/mmcblk0p26 of=/sdcard/crypto.img
dd if=/dev/block/mmcblk0p14 of=/sdcard/metadata.img

4. Copy crypto.img and metadata.img to your PC

5. Fill 2 partitions with zeros from Terminal with next commands:

dd if=/dev/zero of=/dev/block/mmcblk0p26
dd if=/dev/zero of=/dev/block/mmcblk0p14

6. Wipe all partitions in TWRP

7. Format Data in TWRP

8. Reboot from TWRP into TWRP

9. Intall ROM as always (Gapps and Magisk are optional)

10. Boot into system

11. Finish Setup Wizard and configure screen lock. Do not install any apps and don't restore any backups cos data maybe lost after encryption. I suggest even skip Play Market account setup. You can do it after encryption if everything will work.

12. Encrypt your phone from the Settings -> Encryption

13. Wait pationtly...

14. If your phone will boot into TWRP then try to decrypt data, then wipe /Cache, /Data, /Dalvik and /Internal Storage, then reboot into system.

15. If your phone will boot into System then reboot into TWRP, try to decrypt data, wipe /Cache, /Data, /Dalvik and /Internal Storage, then reboot into system.

Do not skip any of this steps!

After doing that you can setup your phone and check your encryption status in Settings -> Encryption. If you will ses "Encrypted" then u can setup your account, restore backups and use your phone.

If device won't boot then well this doesn't helped you and you need to boot into TWRP, wipe all partitions, format data and install ROM from scratch. You can also restore dumped partitions. You can do it with next steps:

1. Boot into TWRP HH

2. Copy crypto.img and metadata.img to /sdcard/

3. Restore 2 partitions from Terminal with next commands:

dd if=/sdcard/crypto.img of=/dev/block/mmcblk0p26
dd if=/sdcard/metadata.img of=/dev/block/mmcblk0p14

This works for me but i can't guarantee that this will work for everyone.

PS: I'm not responsible for bricked devices. Do it at your own risk!
[Nexus 5 Original Android Development] sant514:
Yes it works. Thank you @z3DD3r. I used ROM v20210207 and TWRP R10.

I followed all steps till 13

Then the N5 booted into TWRP. It decrypted data normally and very fast.

I wiped /Cache, /Dalvik and /Internal Storage and reboot into system. But in this point there was problem. The N5 booted into TWRP again. I tried 3 times but every time i had the same result.

So, i decided to restore my nanroid (which i had made before make encryption) without i wipe or format the partitions.

When the restore completed, i wiped /Cache, /Dalvik and /Internal Storage and reboot into system. That was. The N5 booted normally into system.

I checked the encryption and it is enabled.

So after all of these, i restore and my files in the sdcard.

I made some others tests, i booted into TWRP (decryption works), again booted into system (decryption works), again booted into TWRP (decryption works), again booted into system decryption works and all of my files in sdcard are there, the apps are there.
[Nexus 5 Original Android Development] jollfye:
Hello, tried to update to the latest 18.1 version through Updater in Android Settings, downloaded ROM, pressed INSTALL, it restarted to the latest installed TWRP HH.R.10, but it was unable to flash zip automatically (see the error), had to do it manually, idk what's wrong, just reporting the issue I met with. Overall, 18.1 works great as a daily driver. Thank you, @z3DD3r!
[Nexus 5 Original Android Development] jenkinsad0:
Answer: Seems OK with dirty flash 17.1-20210216 signed to 18.1-20210220 signed. Wiped System, Cache and Dalvik (but not Data) before installing, and then deleted /data/system/locksettings.db after first reboot to fix the lockscreen, according to @snow 's instructions https://xdaforums.com/t/rom-unofficial-lineageos-18-1-for-nexus-5-hammerhead.4214367/post-84271085

No need to use @snow 's unsigned->signed migration script.

Thank you, @z3DD3r @snow and other lineageos developers!
[Nexus 5 Original Android Development] timgoodwin:
I have this problem as well. Updates have to be manual.
[Nexus 5 Original Android Development] sant514:
There is a bug in file manager. It can not read NTFS. The same NTFS media (usb stick 32GB), is recognizable writable and readable in Windows10, Linux and Lineage17.1_by_z3dd3r_for_N5. A temporary solution is MiXplorer with custom otg driver enabled, but in this case the media mount is ro (read only).
[Nexus 5 Original Android Development] z3DD3r:
Well, the old issue returned. It is a problem in TWRP HH. Anyway if TWRP fails to install update automatically then you can install it manually from /data/lineageos_update/.

It is not a file manager's bug. Some patches were not included into the LOS 18.1 source code by the authors cos of problems. I can include these patches in my builds but i can't guarantee that everything will work correctly.
[Nexus 5 Original Android Development] Baonks81:
What did you receive with encrypt/decrypt nexus 5!?
[Nexus 5 Original Android Development] ProBird79:
I did a clean flash and kept getting an error once Open GApps began to flash. Apparently you need GApps for Android 11 and nothing on Open GApps will work. There is a link on the first page for Android 11 GApps.
[Nexus 5 Original Android Development] mandayugana:
During offline charging, pressing power button doesn't wake the screen up. Can anyone confirm this?
[Nexus 5 Original Android Development] shijima:
It Is possibile to dirty flash latest build? and how can i do It?
[Nexus 5 Original Android Development] z3DD3r:
New build is out. Short changelog:

1. March security patch

2. Latest changes from LOS team

3. Added patches for OTG. Thanks to @sant514 for pointing this.

4. Added patches for GPS (GLONASS, BeiDou). Read about it here

5. Some improvements to SELinux policies.

Maybe. Can't check cos i don't have device. Unfortunately without device i can't fix it. If anyone will find a fix then notify me please.

If you have installed LOS 18.1 then just flash new update in TWRP
[Nexus 5 Original Android Development] zheega:
Latest build gives me the "serial console enabled, performance is impacted" warning. Is that a problem? It seem to work fine.
[Nexus 5 Original Android Development] z3DD3r:
Have u installed build from experimental folder? If so then return back to normal builds. Experimental builds are unstable... Thats why they are placed in experimental folder and excluded from OTA
[Nexus 5 Original Android Development] zheega:
Yes. I don't mind, I was just posting this FYI.
[Nexus 5 Original Android Development] z3DD3r:
New build is out.

Some minor issues were solved (cleaned some things). Nothing special from my side. Also this build includes all latest changes from LOS team.

@sant514,

Have u had a chance to test OTG?
[Nexus 5 Original Android Development] Gynlemon:
I can confirm that it works, tested with today's latest build.

I wanted to ask you if there is the possibility of an advanced restart with the keys, since OTA update does not work properly, you need to manually turn off and go to recovery for manual installation
[Nexus 5 Original Android Development] z3DD3r:
What do you mean by "restart with the keys"? U can enable advanced restart menu in Settings -> System -> Gestures -> Power Menu -> Advanced Restart and reboot directly into recovery. Btw OTA works just fine. Recovery (TWRP HH) sometimes fails to install OTA update, but in case of auto installation failure u can mount /data and install update from /data/lineageos_update/
[Nexus 5 Original Android Development] Gynlemon:
Perfect thanks, I couldn't find it, I was convinced it was on development, like long ago ..

The last part you added I already knew, thanks, I had read it in some of your posts, back here
[Nexus 5 Original Android Development] sant514:
Yes with the version 20210310, it works perfect. Thank you @z3DD3r
[Nexus 5 Original Android Development] SLS24:
Indeed the OTA works just fine not the auto installation. Perhaps your are interested in error messages here foto of the those messages.
[Nexus 5 Original Android Development] z3DD3r:
Thanks, but i knew about it. It is TWRP fault
[Nexus 5 Original Android Development] porman:
Is there a problem with the latest Magisk that it has to be flashed in TWRP after each update?
[Nexus 5 Original Android Development] z3DD3r:
Yep. This is a Magisk's fault. Also happens on LOS 17.1...
[Nexus 5 Original Android Development] melbar79:
Have tested the latest version of this ROM: lineage-18.1-20210318-UNOFFICIAL-hammerhead-signed

Then i have checked : lineage-17.1-20210317-UNOFFICIAL-hammerhead-signed.zip

Verdict:

Actually now, the speed of 17.1 is higher than 18.1

So I will stay on 17.1 for now.
[Nexus 5 Original Android Development] randoe6969:
How do I mount /data? I'm at the purple themed recovery screen (Version 18.1 20210220) and I go to Advanced but I'm not seeing any option to mount /data

Same for Apply update -> Choose from internal storage. Not seeing any /data/lineageos_update/ . Only "Mount/unmount system"
[Nexus 5 Original Android Development] z3DD3r:
Idk what is "the purple themed recovery screen". Use TWRP HH
[Nexus 5 Original Android Development] randoe6969:
Attaching a picture of the purple themed recovery screen

Maybe I'll just try a fresh setup
[Nexus 5 Original Android Development] z3DD3r:
Well, this is a lineageos recovery. Seems that you have enabled the recovery update in setup wizard or in updater settings. No need to do a fresh setup. Just disable recovery update in Updater and flash TWRP HH via fastboot.
[Nexus 5 Original Android Development] randoe6969:
Thanks for your help, I'm on 18.1-20210321 now.

In case anyone has the same problem, for flashing TWRP HH:

1) I downloaded TWRP HH from these forums

2) I made sure that my linux ADB and fastboot were updated

3) CD to the TWRP HH folder

4) Followed the "Installing custom recovery using fastboot" section at https://wiki.lineageos.org/devices/hammerhead/install

The Nexus 5 has become a project phone and Lineage is working well. Battery life could be better (I even got an OEM one) but I guess this happens when we're trying to push an old phone into running the latest version of Android.

Thanks again, z3DD3r
[Nexus 5 Original Android Development] z3DD3r:
Hello

New build is out. Changes:

1. Latest changes from LOS team

2. Fixed FW loading for NFC

3. Fixed some SELinux denials

4. All proprietary blobs were moved to /vendor

PS: Last change will break Wi-Fi on criterion kernel. @Slmnj, FYI
[Nexus 5 Original Android Development] ProBird79:
Every time Lineage Updater tries to install an update I'm getting an error in TWRP saying:

Failed to map file '@/cache/recovery/block.map'

Error installing zip file '@/cache/recovery/block.map

I have to manually flash each update.

I couldn't find any information in this thread so any help is greatly appreciated.
[Nexus 5 Original Android Development] z3DD3r:
It is TWRP fault. Sometimes it just can't install update automatically after reboot. If this happens then you can install downloaded update manually from /data/lineageos_updates/ folder.
[Nexus 5 Original Android Development] Hvr 6103:
I have installed lineage 18.1-20210328 , but iam not able to install gapps it says that error 70(storage space is less). Please help me
[Nexus 5 Original Android Development] realx3m:
You need to repartition and make sytem partition larger. Heres one way to do it with TWRP HH.
[Nexus 5 Original Android Development] Shred00:
Will the system updater for your 17.1 ROM automatically offer to upgrade to 18.1 as an OTA update at some point or will a re-flash need to be done?
[Nexus 5 Original Android Development] Hvr 6103:
Thank you, it worked.
[Nexus 5 Original Android Development] z3DD3r:
LOS 17.1 will never offer upgrade to 18.1. You should re-flash LOS 18.1 manually.
[Nexus 5 Original Android Development] hmsq:
Hi Guys,

Need some help.

So I installed the Recovery to repartition Nexus 5, I then flashed this rom and Pico Gaps, after setup and boot up when to install an app from PlayStore but keeps giving me not enough storage. When I plug it into my PC it recognises phone but there is no storage folder. Did I miss a step?

Edit* Looks like I didn't wipe or format /data partition it now works.
[Nexus 5 Original Android Development] z3DD3r:
Hello

New build is out. Short changelog:

1. April's security patch

2. Fixed GPS blobs

3. Fixed SELinux denials

4. Fixed Wi-Fi Display

5. Added some changes in kernel

6. Improved memory usage

Some notes about last item. I have enabled some options which are used on low memory devices with Android GO. It doesn't mean that i've build GO version of android. This will improve memory usage and more memory will be available.

Huge thanks to @tapecoda for tests!
[Nexus 5 Original Android Development] 6sxtc6:
Hey, this looks pretty amazing but unfortunately my nexus is a hammerheadcaf.

:(

Should I expect a release for my device?
[Nexus 5 Original Android Development] z3DD3r:
Hey.

Your Nexus 5 is Nexus 5 :) It is your choice to install CAF or AOSP based ROM. You can easily switch to LOS 18.1 with full wipe. There will not be CAF version from me because i have no time and no motivation to work on it.
[Nexus 5 Original Android Development] 6sxtc6:
Oh, I just though that my phone was locked to CAF. Thanks for the advice.

If it isn't much to ask, how do I switch from hammerheadcaf to hammerhead?
[Nexus 5 Original Android Development] z3DD3r:
1. Wipe all partitions in TWRP

2. Format data in TWRP

3. Install ROM

If you want to use ROM with GAPPS then you need increase size of your /system partition. You can read how to do it in the second post of this thread.
[Nexus 5 Original Android Development] 6sxtc6:
I completed the first 2 steps, and I could sound stupid, but when I attempt to install the custom rom, I get an error stating "This package is for device: hammerhead; this device is hammerheadcaf."
[Nexus 5 Original Android Development] z3DD3r:
What version of TWRP do you use?

Install latest version of TWRP HH from the second post and try again. If this will not help then u should flash stock 6.0.1, and only after that u can install TWRP HH, make repartition and install ROM.
[Nexus 5 Original Android Development] jenkinsad0:
Many thanks, @z3DD3r and colleagues!!

This build installed using the system updater on the 20210328 build with no problem at all :)
[Nexus 5 Original Android Development] wordlessecho:
I can't connect to my WPA2/WPA3 mixed Wi-Fi
[Nexus 5 Original Android Development] z3DD3r:
Our hardware doesn't support WPA3. Your only option is switch to WPA2 on your router
[Nexus 5 Original Android Development] seschaum:
I can confirm the my N5 works fine with my Fritz!Box 6591 with WPA2/WPA3 AP on 5GHz.
[Nexus 5 Original Android Development] Gimbop:
Hello, so I think I screwed up partition size by a bad install of maruos. Using 3.5.2.9 twrp, was able to load up 18.1 and gapps pico but after failed maruos install. The part size got mangled. I'm sorry, new to this forum, and did try searching for it. but no avail. Could you point me to where I could redo the part? thanks!

[EDIT] Doopy me. did more digging and found your other thread. And a wholly cow thanks for your work!
[Nexus 5 Original Android Development] wordlessecho:
My router is Redmi AX6. I disabled WPA3 on 2.4GHz and it works fine. It shows WPA/WPA2/WPA3-Personal on Wi-Fi details. So strange.
[Nexus 5 Original Android Development] bemanet:
See first page:

Known bugs:

Screen mirroring via slimport HDMI adapter doesn't work.

PMF aka 802.11w doesn't work.

Encryption has problems. Read more about it here
[Nexus 5 Original Android Development] Fenix46:
Hi guys.. I will soon come with a kernel for LineageOS, which will make the system quite stable. beware of new theard on my kernel, I also anticipate that I am working on the port of k3.10, I hope to succeed in giving new life to this device
[Nexus 5 Original Android Development] wordlessecho:
I understand. WPA3 have 802.11w in default. Thank you.
[Nexus 5 Original Android Development] z3DD3r:
Hello

New build is out. Short changelog:

1. May's security patch

2. Minor improvements in device tree and kernel
[Nexus 5 Original Android Development] candrayudhatama:
TA