yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Bouquins:
Thank you very much; I'll do this !
[Nexus 5 Original Android Development] K--R:
TWRP 3.3.1.-HH actually
[Nexus 5 Original Android Development] mscuttari:
I've installed Lineage 17 together with Magisk 20.4 and Criterion kernel, but I'm noticing a strange behaviour with Magisk hide. In order for it to work, I have to retoggle it after every reboot. Is there anybody with the same problem? Magisk manager's version is 7.5.1 and I had no such problem on the previous Lineage 14.

EDIT: found the issue and the solution: https://www.didgeridoohan.com/magisk/MagiskHideIssues
[Nexus 5 Original Android Development] Bouquins:
Thank you very much, it worked ! Have a nice day !
[Nexus 5 Original Android Development] neno_:
Beautiful ROM, best one I've tried so far.

I revived my old N5. After being stuck in a bootloop for the past 4 years, I took it out of the drawer and opened it up. I removed the power button, and it's working great again. Well, except for the power button, but - nothing tweezers can't get around lol

Anyway, I was looking for a modern ROM to install, just to mess around and I am astonished how fast the device is with this ROM. Everything just works flawlessly! I tried several others before, but after testing them all, I stayed with this one. Great job!
[Nexus 5 Original Android Development] bluetooth-bug:
z3DD3r, any chances of getting gnss-legacy HAL to get GLONASS and Beidou working?

https://review.lineageos.org/q/topic:%22gnss-haxx%22+(status:open%20OR%20status:merged)

https://review.lineageos.org/c/LineageOS/android_hardware_lineage_interfaces/+/282269
[Nexus 5 Original Android Development] mruibal:
Problem with android navigation system

In the last update the android navigation system disappeared in my hammerhead, no buttons nor gestures navigation system.

Thanks in advance.

Update: I just formated and reinstalled again and it worked fine.
[Nexus 5 Original Android Development] knokkoloko:
Are there any updates regarding slimport support? I'd like to use Android 10's Desktop functionality with my N5.
[Nexus 5 Original Android Development] n3kf:
z3dd3r is basically just doing builds from time to time. Doesn't have an N5 anymore..... So any updates are coming from LOS team.

https://xdaforums.com/google-nexus-...17-1-nexus-5-hammerhead-t4039273/post82829641
[Nexus 5 Original Android Development] bluetooth-bug:
I am 100% aware of that. I pretty much downloaded every new build the day they were uploaded to SF. The thing is that the kernel and device tree for this is on GitHub and maintained by z3dd3r. LineageOS updates are mostly ASB and other smaller things. Maybe it's time for a new phone.
[Nexus 5 Original Android Development] doomcup:
Hi! I've installed this rom to my Nexus 5 a few weeks ago, and I haven't had working sensors since. I had hoped updates would fix this, but I still have no tilt, light, magnetic, or any other sensors. When I check with an app, it reads them as "unsupported".

I've read through this thread, and I haven't seen anybody else with this problem. Have I done something incorrectly? I've only installed the rom and the minimal google apps.
[Nexus 5 Original Android Development] K--R:
Did you repartition properly? If you did so using TWRP HH use the older version like 3.3.1
[Nexus 5 Original Android Development] vimesUK:
Sorry for not being able to find this but I have dusted off my old Nexus 5 and partitioned as needed and installed this ROM, along with the TWRP HH 3.40.

All went well.

I got a message today about an update and it downloaded 450mb or so new ROM and then auto rebooted into recovery and then stopped.

I can't find the downloaded zip to flash manually, any ideas please as it doesn't do it automatically.

Reboot back into the OS and I'm still not sure where the downloaded update has gone.

Thanks.

Just ordered a new battery for my Nexus, that'll be fun.
[Nexus 5 Original Android Development] Rabittek:
You can download it from the same source as the older builds - listed on the first page of this thread. Just use the most recent one.
[Nexus 5 Original Android Development] vimesUK:
Thanks, it was just being able to install from the phone once it had already downloaded the ROM but not installed itself from recovery.

It has been downloaded, but where......
[Nexus 5 Original Android Development] porman:
If you long press the update in the updater you can then export it to your internal storage. It creates a folder named "LineageOS updates".
[Nexus 5 Original Android Development] vimesUK:
That worked great, thanks.
[Nexus 5 Original Android Development] doomcup:
I had repartitioned it for an earlier version of LineageOS a good long while back. I've never used TWRP HH; the version I had around that time was roughly around that version.

So do I have to repartition and reinstall?
[Nexus 5 Original Android Development] K--R:
Use any root explorer to check if you have 1.5 GB or more in system partition. If there is, you can try re-installing the ROM again properly; if there isn't, use TWRP HH method. Personally I flashed 3 or 4 Android 10 ROMs after repartioning using TWRP HH.

Don't forget to clean flash as always!
[Nexus 5 Original Android Development] topex07:
Hello,

I made it on 16GB. But I had to use TWRP 3.4.0.0 . On the tutorial version it didn't want to "resize". The capacity /system has increased to around 1.5GB. After flashing ROM there was left about 520MB. I have installed GAPPS pico.

best regards
[Nexus 5 Original Android Development] nowheretorun:
[MENTION=575567]vimesUK[/MENTION] Where did you order your battery from?
[Nexus 5 Original Android Development] vimesUK:
This is the one that I bought. Seems reasonable so far.......

https://www.amazon.co.uk/dp/B00HLIFP04/ref=cm_sw_r_cp_apa_i_nrRtFbHCXEP4H
[Nexus 5 Original Android Development] torinXt:
Perfect, no issues till now.

And wow guys, that old brick is amazing fast. Iam surprised

---------- Post added at 02:02 AM ---------- Previous post was at 02:02 AM ----------

Perfect, no issues till now.

And wow guys, that old brick is amazing fast. Iam surprised
[Nexus 5 Original Android Development] srkisrk:
Hello, thanks to everyone who took part in creating this rom that i really like. My question is about problem with installing gapps because after instalation of this rom my Lg nexus 5 has only 1009 megabytes of system partition from which 981 megabytes are used and only 27 megabytes free space left. So after i try to install gapps i get error 70 (insufficient storage). Did i do something wrong? Is there a solution for this?

When i go in twrp recovery-advanced wipe-( icheck-system) and then choose resize system here is what is on screen:

Size: 1009mb, Used 981 mb, Free 27mb, Backup size 981mb.
[Nexus 5 Original Android Development] sant514:
It needs repartition first.

Please read TWRP HH Recovery
[Nexus 5 Original Android Development] srkisrk:
Success! Thank you very much my friend. :) All the best!
[Nexus 5 Original Android Development] Caesari:
20200815 release wifi issue

some day ago, Have installed the latest build 20200815 with TWRP 3.3.1 HH after partitionning, Gapps 10 Pico 20200905 : all was fine and worked OK

But now, have a strange problem :

Wifi cannot be activated. It does not work anymore.

When I try to activate it, It try activating, then freeze, and do nothing ???

Any idea ?

thanks for your help
[Nexus 5 Original Android Development] nowheretorun:
Got one from there too. Was sent from Italy by Amazon. Doesn't work for me. When i put it in and try to start the phone nothing happens. Pressing the power button to get it to start. Nothing happens. Put in the cord to try to get it to take charging. The charging symbol get's on screen and stays there for 5 sec then it turns of and is off in 2 sec. And then i starts from beginning again with 5 sec symbol 2 sec black screen. When i put back my "old working" battery the battery and charging animation starts after 5 sec so something is not as it should be with this battery. It behave exactly the same as when i got an EAC62078721 from a seller and they says that it's the exact same battery as EAC62078701 and it should work. But they doesn't on my phone.

Anyone else had this kind of problem?
[Nexus 5 Original Android Development] srkisrk:
found solution

On this version pressing power button twice launches camera but it is very sensitive so often if i want just to wake phone if i press little stronger it launches camera and i don't want that. Any way to turn off this feature so power button can be just power button?

Edit: Ignore my question i found it. This option is in : system-advanced-gestures-jump to camera.
[Nexus 5 Original Android Development] Tazz28:
Dying Wifi/BT chip ? This is the Nexus5 plague.
[Nexus 5 Original Android Development] Caesari:
Yes probably....
[Nexus 5 Original Android Development] -lukin-:
Hi folks, I'm having trouble flashing LOS to my Hammerhead via TWRP. Here's the error I get...

Patching system image unconditionally...

E1001: Failed to update system image.

Updater process ended with ERROR: 7

Error installing zip file 'sdcard/zip'

Updating partition details...

...done

Edit: Repartition fixed the issue. Thanks
[Nexus 5 Original Android Development] Muantan:
I noticed this bug. From build to build. When you make an incoming call or when you make a call, the sound goes not through the speaker but through an external speaker, as if on a speakerphone. It helps to restart.
[Nexus 5 Original Android Development] srkisrk:
I have only one issue but i don't know if it is from this rom or it is a problem with nexus 5 phone. Videos i record have terrible sound. Videos recorded in daylight with noise from traffic for example, all have strange sound like they are filmed underwater. Like underwater water bubbling something like that. Can i do something to try to fix this and have normal sound in video clips? Maybe some third party app?

And i don't know if this problem was there when i had stock rom because i didn't shoot any videos with my phone back then. I also tried cleaning phone's microphone it didn't helped.
[Nexus 5 Original Android Development] sant514:
...known issue with the "bubbling" sound with recorded video from Android 4 (KitKat)......

Post 169,Post 171,Post 172.

Most informations you can read here.

This is the audio_platform_info.xml in /system_root/vendor/etc which i use:

<?xml version="1.0" encoding="ISO-8859-1"?>

<!-- Copyright (c) 2014, The Linux Foundation. All rights reserved. -->

<!-- -->

<!-- Redistribution and use in source and binary forms, with or without -->

<!-- modification, are permitted provided that the following conditions are -->

<!-- met: -->

<!-- * Redistributions of source code must retain the above copyright -->

<!-- notice, this list of conditions and the following disclaimer. -->

<!-- * Redistributions in binary form must reproduce the above -->

<!-- copyright notice, this list of conditions and the following -->

<!-- disclaimer in the documentation and/or other materials provided -->

<!-- with the distribution. -->

<!-- * Neither the name of The Linux Foundation nor the names of its -->

<!-- contributors may be used to endorse or promote products derived -->

<!-- from this software without specific prior written permission. -->

<!-- -->

<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->

<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->

<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->

<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->

<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->

<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->

<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->

<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->

<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->

<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->

<audio_platform_info>

<acdb_ids>

<!-- empty -->

<device name="SND_DEVICE_IN_CAMCORDER_MIC" acdb_id="89" />

<device name="SND_DEVICE_IN_HANDSET_MIC" acdb_id="89"/>

<device name="SND_DEVICE_IN_HANDSET_DMIC_STEREO" acdb_id="89"/>

</acdb_ids>

<backend_names>

<!-- empty -->

</backend_names>

<pcm_ids>

<!-- empty -->

</pcm_ids>

<device_names>

<!-- empty -->

</device_names>

<config_params>

<param key="snd_card_name" value="msm8974-taiko-mtp-snd-card"/>

</config_params>

</audio_platform_info>

It fix sound with recorded video from camera app and sound with recorded from other app.
[Nexus 5 Original Android Development] zheega:
Does anyone else have this problem - sometimes I get no audio when answering (receiving) a call. The other person can hear me, I can't hear them. Never happens with outgoing calls.
[Nexus 5 Original Android Development] srkisrk:
Thank you for reply and this info. I'm not really advanced user so i don't know what do i need to do with this text in your post. Do i need to just add new file with this text or i need to delete original? And how do i need to create such xml file? Does simple copy-paste in wordpad works or some other way?
[Nexus 5 Original Android Development] ov3rhear:
I had the same issue, ended up having to buy a new motherboard on aliexpress and replace the old one, worked perfectly and it was pretty easy to do.
[Nexus 5 Original Android Development] sant514:
You need, you are root. (...install Magisk for this).

Then you may use a root file manager as MiXplorer and you can add/edit the file /system_root/vendor/etc/audio_platform_info.xml.

After all, you will need reboot and you are ready.

But you must remember that, you need to replay the procedure, every time which you will flash a new version ROM

or if you want you can use a script to /system_root/addon.d to remember this setting.
[Nexus 5 Original Android Development] shijima:
Hi,

how to fix low volume in calls?
[Nexus 5 Original Android Development] melbar79:
I have installed the last rom 'lineage-17.1-20200815-UNOFFICIAL-hammerhead.zip' and magisk 20.4

There's only the issue that automatic brightness setting is not working.

Does anybody also have this issue?
[Nexus 5 Original Android Development] srkisrk:
Yep same here.
[Nexus 5 Original Android Development] srkisrk:
Yes i have root, but i don't know how to make xml. file and how to copy it in etc folder. How to make xml. file with your text? And in my folder etc there is already file with that same name (audio_platform_info.xml), so i can copy new file with same name only if i replace original. If original needs to stay then new xml. file can be copied to same folder only with different name. That is part that i dont understand how to do it?
[Nexus 5 Original Android Development] sant514:
Ok, first you can rename the original audio_platform_info.xml as audio_platform_info.xml.bak or something as this...

Then you can download the audio_platform_info.xml from here

and copy it to the /system_root/vendor/etc/.

Please check and repair the permissions of new file after the copy. They must be 644

And then you have make reboot.

You are ready.
[Nexus 5 Original Android Development] srkisrk:
I did all this and when i open camera and tap on record video i get message "could not start media recorder, can't start video recording".
[Nexus 5 Original Android Development] Gaeguri:
I do have this issue as well. Do you know for sure that it worked in an older build?
[Nexus 5 Original Android Development] sant514:
ok, please make a try:

1. write to a paper the audio_platform_info.xml.bak's permissions and the owner and the group

2. recheck the audio_platform_info.xml permissions's . There must be exactly the same which these of audio_platform_info.xml.bak

3.now delete audio_platform_info.xml.bak. If you need this file in the future you can find it here

4.clean cache and storage for camera app (in menu settings, applications ...)

5.reboot to recovery and clean dalvik and cache. Then reboot to system
[Nexus 5 Original Android Development] Gaeguri:
Did z3DD3r completely stop making builds? I really hope not...

Just built the September patch myself; luckily it is quite easy to do, as z3DD3r provides everything necessary.
[Nexus 5 Original Android Development] philipped346:
you can share , the dev had stopped support for N5.
[Nexus 5 Original Android Development] Gaeguri:
As I have been asked by several people now, if could share my build: I am not an experienced Android developer. I would really appreciate if someone who has experience would resume doing reliable builds of high quality. I just do not have the experience as I am super new to this and my main motivation is to learn how everything works (and there is a LOT to learn...). I just found an issue with my build which makes it boot way slower than the z3DD3r builds. I believe this is caused by me using older vendor blobs that I extracted from my phone instead of the ones that z3DD3r updated (I just did not realize that he did that until now...). I will make a new build and if this fixes it, I might post it for people who want to play around with it at their own risk.
[Nexus 5 Original Android Development] nexus5_2/16:
yeah, of course!

We all need your rom. I hope you fix two critical issues: doesn't work sensors (proximity, orientation...), video preview in the gallery displays incorrectly, home button displays incorrectly
[Nexus 5 Original Android Development] Gaeguri:
Please do not get too high hopes in this. As I said, I am super unexperienced. Right now I am still trying to match the level of z3DD3rs last builds, which is hard enough (for me). So far I was not successful. I believe that z3DD3r might have applied additional patches that are not present in his repositories. Hopefully he reads this and is able to share how he did his last builds.

Also, I still hope that someone experienced in this community will come out and continue to make these builds.
[Nexus 5 Original Android Development] srkisrk:
Sorry for not replying i had to deal with new problem with my phone, now wifi and bluetooth are not working and i have tried everything to make it work again. Tried to go back to stock rom it doesn't work, then installed fresh l.o.s. 17.1 and still same problem. Deleted root\persist\wifi and bluetooth folders, same thing.

About your instruction:

Unfortunately i dont know how to do that. Where is that info about permissions for xml. file that i need to view and write down?
[Nexus 5 Original Android Development] sant514:
I use MiXplorer.

You run MiXplorer as root (run once and enable in settings the root, close and run again)

Then you will go /system_root/vendor/etc and you will select with long press audio_platform_info.xml

In the upper right corner you will select Properties and you can see Owner,Group and Permissions....If you press on them, you can change them, as you want...

In the same way, if you select a file/folder and then "capital A" in the upper right corner, you can rename the file/folder.

---------- Post added at 11:17 PM ---------- Previous post was at 10:47 PM ----------
[Nexus 5 Original Android Development] srkisrk:
Thank you for your effort to help me i will give it a try to fix wifi. I've managed to rename original xml. to xml.bak and copy your xml. from attachment in same folder. Permission is same 644 for both files. And now camera is working and recording video. Right now i can't tell if bubbling sound is fixed, i will see tomorrow when i shoot video outside.

About post you linked for fixing wifi, it is old post so images are deleted from server so i can't see explanations and instructions what needs to be done. I have trouble with hex editor free app, i gett error "aplication not licenced" when i try to open it. What is good alternative app for editing hex files?
[Nexus 5 Original Android Development] sant514:
For the bt, you need to make a folder with owner=bluetooth group=system and permissions=770. The file .bdaddr it needs to be owner=bluetooth group=system and permissions=660

For the wifi, you need to make a folder with owner=wifi group=system and permissions=770. The file .macaddr it needs to be owner=wifi group=system and permissions=660

For the hex editor, I do not have to suggest a specific one but with a search like this you can find a lot of them
[Nexus 5 Original Android Development] Sui77:
Does BT work?

My BT crashes all the time right after booting up
[Nexus 5 Original Android Development] srkisrk:
Hehe sound in videos is now fixed! No more bubbling. I was sceptic i thought i will never get rid of that sound but i was so happy when i played video from today and heard great sound with no bubbling at all.:) Many thanks to you my friend it was driving me nuts.

But bt and wifi are still no go. I did everything like suggested. I will put some screenshots in attachments.

It must be something i did wrong, probably with hex editing. Because images with clear instructions on how to edit both bdaddr. and macaddr. files are deleted so probably i did something wrong.

Yes my also, i keep getting message that bluetooth app is crashing and giving me option to close it.
[Nexus 5 Original Android Development] sant514:
Also, you can read and post25,

post26,

post27,

post28 and

Ubports.

With 2 words, you must be in OEM status, (partitions,ROM), you will flash ubports to reset(?) bt/wifi mac, you will boot in ubports and then if your device is ok, you can reflash and OEM ROM and then flash and boot 17.1

---------- Post added at 12:43 PM ---------- Previous post was at 12:26 PM ----------

Or if you use the solution with files .bdaddr .macaddr

i have made

bdaddr

macaddr

You have to download these files, copy to the folders and rename bdaddr as .bdaddr and macaddr as .macaddr and then you have to check their owner, group and permissions
[Nexus 5 Original Android Development] honky-tonk77:
I also made a build with z3DD3r device,vendor and kernel tree. Also my boot animation is extreeeeemly slow and therewith also booting takes quite long.

I used the vendor blobs provided in the git!

[MENTION=7268092]z3DD3r[/MENTION] any advice? I'm a noob trying to continue your precious work.

besides from this issue, the device is smooth once booted

during the lacking boot animation, I get a lot of this:

2020-09-23 14:34:34.483 894-1570/com.android.bluetooth E/ActivityThread: Failed to find provider info for com.android.contacts
2020-09-23 14:34:34.484 894-1570/com.android.bluetooth D/BluetoothPbapUtils: Failed to fetch contacts data from database..
2020-09-23 14:34:35.357 265-449/? W/SurfaceFlinger: Faking VSYNC due to driver stall
2020-09-23 14:34:35.358 265-265/? W/BufferQueueLayer: [BootAnimation#0] Timestamp 40008481589 seems implausible relative to expectedPresent 0
2020-09-23 14:34:36.358 265-449/? W/SurfaceFlinger: Faking VSYNC due to driver stall
2020-09-23 14:34:36.359 265-265/? W/BufferQueueLayer: [BootAnimation#0] Timestamp 41005184454 seems implausible relative to expectedPresent 0
2020-09-23 14:34:37.360 265-449/? W/SurfaceFlinger: Faking VSYNC due to driver stall
2020-09-23 14:34:37.360 265-265/? W/BufferQueueLayer: [BootAnimation#0] Timestamp 42010322318 seems implausible relative to expectedPresent 0
2020-09-23 14:34:37.595 918-1572/com.android.systemui E/ActivityThread: Failed to find provider info for com.android.contacts
2020-09-23 14:34:38.493 894-1573/com.android.bluetooth E/ActivityThread: Failed to find provider info for com.android.contacts
2020-09-23 14:34:38.493 894-1573/com.android.bluetooth D/BluetoothPbapUtils: Failed to fetch contacts data from database..
2020-09-23 14:34:38.523 684-838/system_process D/WindowManager: powerPress: eventTime=44998 interactive=true count=1 beganFromNonInteractive=false mShortPressOnPowerBehavior=1
2020-09-23 14:34:38.606 265-448/? W/SurfaceFlinger: Faking VSYNC due to driver stall
2020-09-23 14:34:38.612 265-449/? W/SurfaceFlinger: Faking VSYNC due to driver stall

and I also read #136 which explains the difference for private builds VS z3DD3r's build...is this still the case? and could you please point us to the current active gerrit issues you've manually applied to get started?