yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] philipped346:
i have tested this repartition to 2go

first backup internal memory

then format data and all partitions

back to stock twrp 3.3.1.0

flash hh-clamor-repartition to revert to stock partition and format all

then flash hh_repartition to 2go and go to advanced setting , open terminal and type modify

after the reboot instal twrp image 3.3.1 2GO https://www.androidfilehost.com/?fid=4349826312261688236 and format all partitions

you are done and restore your internal memory , you can restore your backup

hh_repartition to 2go

https://www.androidfilehost.com/?fid=4349826312261690032

there is a tread for this but i have not found [MENTION=5424240]Clamor[/MENTION] thank for his work
[Nexus 5 Android Development] calaver4:
Thanks for your quick reply

Just a last question: after completing this procedure can I install a more recent TWRP?

:cool:
[Nexus 5 Android Development] Px80:
Hey guys,

where is the update downloaded to? As the automatic flash orocess does not start with my phone. It reboots to twrp but not further.

Thanks for the work
[Nexus 5 Android Development] vasskliss:
Thanks for the reply, there is no persist folder. Using root browser classic. thanks.
[Nexus 5 Android Development] lulli1:
There is no vendor partition for N5. Vendor is integrated in system partition for us. No real treble. Just for your info.
[Nexus 5 Android Development] hhrokarvi:
crDroid Update:

crDroidAndroid-10.0-20201217-hammerhead-v6.13.zip

Changelog

Short Changelog:

- December Security Patches

- Initial crDroid 6.13 code

- App Lock updated (control Notification Text visibility on Per App Basis)

- Added Language QS Tile

- Some other small changes here and there

- Updated translations

Notes

- Some Google stuff i.e. Assistant is still causing some weird issues ("internet connection issues" even when connected), which is an issue with Google as its also affecting Samsung, OnePlus phones. Nothing I can do about it.

- Join the Telegram Group for support, queries and banter. Link Here

Stay Safe Everyone!
[Nexus 5 Android Development] Px80:
Do I have to flash it via recovery or is a OTA possible?

But I still can't find the .zip on the phone as the OTA does not boot into recovery after download.
[Nexus 5 Android Development] philipped346:
download the zip rom and if you see crdroid.bin in your phone rename it to crdroid.zip and flash in twrp. dirty flash work well.
[Nexus 5 Android Development] sctb1:
I just installed this ROM so that I can give the Nexus to my son. However, I am not able to complete the sign in for his Google Family Link managed account. I can sign in with a normal Google account.

When signing in with the Family Link managed account it accepts the username and password, then accepts my parent password to continue, but once I agree to the terms and press Next to complete the setup it spins for a bit and then says "Something went wrong. Try again later". When I try to manage the Google account it shows "Finish signing in to continue. Something went wrong and you need to sign in again." But of course trying to sign in again gives the same error.

I've tried to clear all the Google play services, store, and app caches and removed and added the account many times but nothing is working. I did find a similar report of problems in Lineage 17.1 (https://gitlab.com/LineageOS/issues/android/-/issues/1839).

Has anyone been able to use this ROM with a Family Link managed account or have any ideas for a solution? Thx!
[Nexus 5 Android Development] arjen82:
Same issue here; also tried linking my own account and setting up my sons account as a secondairy account but same issue
[Nexus 5 Android Development] m.morcielago:
Why you can not fix "Slow Boot Animation" in this ROM?
[Nexus 5 Android Development] mandayugana:
It has already been fixed.
[Nexus 5 Android Development] hhrokarvi:
crDroid Update:

crDroidAndroid-11.0-20210108-hammerhead-v7.2.zip

Changelog

Short Changelog:

- SELinux Permissive

- Initial Android 11 Build

- January Security Patches

- ReAdded Face Unlock

(I will re add all crDroid specific customizations in the upcoming builds)

Notes

- It goes without saying that this build is still a BETA. You want to help, use the built-in MatLog app to send logs.

- Gapps Link Here (credits to @althafvly)

- Disable Blur in

Settings -> Display

for decreasing artifacts on the screen, our device is slightly underpowered for such animations.

- Join the Telegram Group for support, queries and banter. Link Here

Huge thanks & credits to @z3DD3r and @Elektroschmock and all other devs for bringing Android 11 to hammerhead!

Stay Safe Everyone!
[Nexus 5 Android Development] dahawthorne:
Excited to try this, but get error 255 on TWRP 3.3.1-HH and on the new 3.5. A search isn't giving me any clues. Anyone any advice?

Thanks...
[Nexus 5 Android Development] :
Need Help

ROM works like a charm. Thanks everyone.

But here's the issue, I can't get gapps installed. I've tried so many things and they didn't work. No matter which version ( micro, stock, nano, etc. ) I try to install ( not to mention I'm downloading the right gapps for phones architecture and os version ) I always face the problem with mounting vendor in TWRP. [ I had the repartitioning zip and moded TWRP pre installed ]

Please someone explain to me how should I resolve it ...
[Nexus 5 Android Development] Vikturist:
Install Pico , Nano with MagicGApps
[Nexus 5 Android Development] D_Viper:
Hi i am on last build 20190610, nano gapps 20190614. When try to enable navigation pie a receive a black screen, i can only power off or reboot. Any advice?

thx
[Nexus 5 Android Development] hhrokarvi:
It should work. Works fine for me. Might be some other settings you did that is interfering with it.

[MENTION=5543332]timgoodwin[/MENTION] it might be a GApps issue.
[Nexus 5 Android Development] timgoodwin:
Couple of annoyances...

Hi guys - great ROM and thanks for the Hammerhead love! Any ideas why 'hey google' keyword does not work? Screen blanks and search bar appears on top, but nothing else. Voice match is greyed out and can't be turned on. Otherwise, ROM is smooth and works well.
[Nexus 5 Android Development] timgoodwin:
hhrokarvi has suggested this might be a GApps issue. I'm using Open Gapps nano - is there a different version I should be using? Anyone managed to get 'OK Google' working with this ROM?
[Nexus 5 Android Development] hhrokarvi:
Just checked with my phone, I had to set it up because I keep "okay, google" stuff off normally and it works fine for me. I use micro variant of OpenGapps on hammerhead. I flashed June 7th build of OpenGapps on my phone at the time.

Here's a link to a nano build from that date if you want to try it.
[Nexus 5 Android Development] DarkMaxOff:
sorry it was because of the custom kernel, everything was fine with your kernel, thanks for your work
[Nexus 5 Android Development] L.F.B.:
Wow, just flashed this rom over the RR pie and Its an awesome rom!

Congrats to the dev! Great job! Keep the great work!

CrDroid rom pie on My hammerhead is smooth and solid!?
[Nexus 5 Android Development] ploµf:
Thx for this great rom but i cant connect to hiden wifi what should I do ? Also camera is strangely shaking & i am not alcaholik !
[Nexus 5 Android Development] linuxcolor:
bluetooth issue

after installed crDroid v5.5 bluetooth continually force close..

any idea how to resolve?
[Nexus 5 Android Development] biontx:
[MENTION=5885031]hhrokarvi[/MENTION]

great rom !

Is it possible to add the options: 'double tap 2 wake and usb fast charge' to the kernel please? tx
[Nexus 5 Android Development] vreekah:
I can't install GAPPS (nano, pico etc.), I've selected the right version and platform. Can anyone help me?
[Nexus 5 Android Development] hammerheadache:
Check the second post...
[Nexus 5 Android Development] prathikster:
Wonderful ROM! A life giver for my old Nexus device!

Any update or workaround for the garbled Bluetooth audio?
[Nexus 5 Android Development] SunnyBurg:
Great ROM!

I'm really enjoying the experience and it has turned my old Nexus 5 into a speed demon that runs extremely cool. However, there is one bug that I've been noticing and that is when I turn on and turn off battery saving mode. The phone soft crashes/black screens and sends me back to the lock screen and when I log back in again it's restarting everything that was running in the background such as widgets and Google now as if I were initially booting up the phone. As long as I don't use the battery saver mode in any capacity, the phone runs perfectly fine without issue. Just wanted to bring it to your attention as I can live without the feature but it is nice to have. Thanks again for your time and effort into the creation and development of this ROM! :D
[Nexus 5 Android Development] ЯazoR:
Same for me. Does anyone know how to fix this? In case its needed I can provide logs.

EDIT:

Now strangely after having cleared cache/data on Camera and Gallery apps, and having them force stopped and finally having rebooted the system, the issue seems to be resolved.
[Nexus 5 Android Development] Reza A Fahlevy:
What version twrp is used?
[Nexus 5 Android Development] hhrokarvi:
crDroid Update:

crDroidAndroid-9.0-20190707-hammerhead-v5.6

Changelog

Short Changelog:

- Fixed BT Call Audio Bug (Credits to [MENTION=7268092]z3DD3r[/MENTION])

- Fixed Camera FC's

- Fixed issues with display/screen

- Initial crDroid v5.6 code

- Updated to July Security patches

- Updated kernel compiler to CLANG 9.0.5

- Added ability to change Q lockscreen clock color based on accent color

- Fixed a possible crash with Google TTS engine

- General code improvements and updates

- Launcher code improvements

- Add more QS tile themes

- Updated Dailer

- Added Dialer full screen contact photo

- Some other small framework base changes

- Disabled Night Display in favor of LiveDisplay

- Added ability to hide/show VPN in status bar

- Reverted to old VoLTE icon (new one has some padding issues)

- Added 33 new fonts

- Added reboot/recovery/power off tile

- Added membar toggle for AOSP recents style

- Fixed battery charging indication on lockscreen

- Changed camera hal to v1 for WhatsApp

- Updated external libs

- Added full Substratum OMS support (crDroid Settings -> User Interface -> Substratum - needs Substratum apk installed)

- Added Gaming Mode (crDroid Settings -> Miscellaneous -> Gaming Mode)

- Added new Android Q activity animations (seen best while navigating in Settings)

- Added brightness control with swipe on statusbar

- Updated translations
[Nexus 5 Android Development] ЯazoR:
I feel like an extreme novice, but how do I actually update this OTA? There sure is a menu group for that, but I only does let me download the ROM and nothing else. Bootloader is locked and root access disabled by default, but I may modify them if it is needed.
[Nexus 5 Android Development] hhrokarvi:
Using the latest TWRP R version from z3DD3r, no problems.
[Nexus 5 Android Development] dahawthorne:
I just now flashed twrp-3.4.0-HH.R.7.img but still get error 255. This is after a full wipe/format. Is there another TWRP version that you used?

Edit: Strange. After many attempts, and despite the downloaded ROM looking ok when I inspected it in WinRAR, a fresh download of the ROM has worked ok with HH.R.7. I haven't rebooted yet, but at least no more Error 255... :)

Edit: I think it looks pretty good. I haven't finished setting it all up yet, but so far so good.

Thanks again for your work, hhrokarvi.
[Nexus 5 Android Development] sanoayyk:
I got error when trying to update to 7.2.

E1001: failed to update system image.

Updater process ended with ERROR: 1

I use 3.4.0-HH.R.7 and reparted.
[Nexus 5 Android Development] ish.org:
Thank you for v7.2.

I installed v7.2 without any troubles.

It works fine.
[Nexus 5 Android Development] hhrokarvi:
HOTFIX UPDATE:

crDroidAndroid-11.0-20210110-hammerhead-v7.2.zip

Changelog

Short Changelog:

- Flashing Error Fixed in TWRP (Clean Flash for those people who weren't able to run the last build)

- SELinux Permissive

- Cleanup of different system configs

- Optimizations made to speedup app load time

- Fixed force close on Wallpaper picker

- Added crDroid Ambient display options

- QOL improvements made to Launcher

- Added Kill app option to Recents app view

- Updated translations

(I will re add all crDroid specific customizations in the upcoming builds)

Notes

- It goes without saying that this build is still a BETA. You want to help, use the built-in MatLog app to send logs.

- Gapps Link Here (credits to @althafvly)

- Disable Blur in

Settings -> Display

for decreasing artifacts on the screen, our device is slightly underpowered for such animations.

- Join the Telegram Group for support, queries and banter. Link Here

Stay Safe Everyone!
[Nexus 5 Android Development] dahawthorne:
Dirty flash - all working fine. Thank you again... 😊
[Nexus 5 Android Development] thcthcm7:
awesome work, i'm give it try tomorrow, can someone attach working recovery?
[Nexus 5 Android Development] Mr.FREE_Bird:
Come on, try to read a bit...

You can find a link to the recommended and working TWRP in the OP.
[Nexus 5 Android Development] sanoayyk:
OK the fixed 7.2 worked for me. Nice work!

What a great thing the phone from 2013 getting the latest android11
[Nexus 5 Android Development] common_user:
Is it just me or the ADB isn't working on this build? I have tried it all already, but I can't get it to work. Does anyone have a solution?
[Nexus 5 Android Development] sanoayyk:
I found the same problem. ADB says it is offline.
[Nexus 5 Android Development] common_user:
Same to me. I have tried disable/enable the debug option, re-installing drivers, tried different cables, but nothing seems to work. If anyone has any idea how to solve this, it would be nice.
[Nexus 5 Android Development] z3DD3r:
Your drivers and cables works fine) It is ROM related bug. One patch should be applied:

https://review.lineageos.org/c/LineageOS/android_system_core/+/292788

@hhrokarvi,

One more thing. If u using my fixes for bluetooth stack then don't forgot to set BLE_VND_INCLUDED=TRUE in config ;)
[Nexus 5 Android Development] porman:
Dirty flashed from A10 to A11. When I enter the lock screen pattern it just goes blank and returns to the locked screen. Fixed when I installed clean though.

Also, file transfer from PC doesn't work.
[Nexus 5 Android Development] z3DD3r:
You can find solution for lock screen pattern in this post: https://xdaforums.com/t/rom-unofficial-lineageos-18-1-for-nexus-5-hammerhead.4214367/post-84271085

transfer from PC, adb and etc doesn't work because of missed patch. see my answer above
[Nexus 5 Android Development] porman:
Ah, I thought that was exclusive to ADB issues through Powershell. I have no idea how to patch that thing though.

Any help?
[Nexus 5 Android Development] hhrokarvi:
crDroid Update:

crDroidAndroid-11.0-20210114-hammerhead-v7.2.zip

Changelog

Short Changelog:

- Fixed ADB & BLE Issues

Thanks @z3DD3r

- SELinux Enforcing

- Added single tap battery gauge to show stats (from Settings)

- Fixed gesture navigation fail to move to bottom in some cases

- Further tweaks to System

- Updated translations

(I will re add all crDroid specific customizations in the upcoming builds)

Notes

- It goes without saying that this build is still a BETA. You want to help, use the built-in MatLog app to send logs.

- Gapps Link Here (credits to @althafvly)

- Disable Blur in

Settings -> Display

for decreasing artifacts on the screen, our device is slightly underpowered for such animations.

- Join the Telegram Group for support, queries and banter. Link Here

Stay Safe Everyone!
[Nexus 5 Android Development] porman:
So what is the main difference between this rom and LineageOS 18? Seeing that it is based on Lineage.
[Nexus 5 Android Development] matthewclso:
Thanks for your work on this.

I'm still having problems flashing zip, I get "E1001: Failed to update system image." I tried multiple versions of TWRP from the original post, and I also tried flashing the last 2 versions of the ROM (1/10 and 1/14 build), but nothing works. I made sure to wipe everything (system, data, internal, cache, dalvik), before installing, but it still ends with the same error. Any ideas?
[Nexus 5 Android Development] hhrokarvi:
Come to Telegram group and discuss this there.
[Nexus 5 Android Development] Px80:
I'm on the latest build and it seems that I can not connect to wifi if the security settings are wpa2+wpa3.

If I connect to the guest network wpa2 (CCMP) it instantly connects.

Do you have similar problems or can reproduce it?
[Nexus 5 Android Development] hhrokarvi:
WPA3 is not supported by Nexus 5, stick with WPA2 only.
[Nexus 5 Android Development] Px80:
Oh damn! ^^

I thought it ran with wpa3 on previous Android 10..
[Nexus 5 Android Development] Px80:
double post
[Nexus 5 Android Development] hhrokarvi:
It didn't in Android 10, but with Android 11, WPA3 is being implemented more thoroughly in the base, as Nexus 5 hardware is old and it doesn't support WPA3, it won't work.
[Nexus 5 Android Development] mc0133:
A few things:

1. sometimes when I press the power button to turn on device, it sometimes takes a while before it actually starts booting?

2. And same with the restart function from the power menu, sometimes restart takes a bit before it actually starts restarting?

3. Would like to be able to see battery percentage when charging the device powered off (currently just see the white battery symbol with the charging animation)

Other than that, rom appears to be stable enough and not too bad performance-wise. Camera works, Wifi connects just fine. Most apps I currently use appear to work...

Gotta thank hhrokarvi for bringing the latest Android 11 to the 8 year old device. :)
[Nexus 5 Android Development] hhrokarvi:
crDroid Update:

crDroidAndroid-11.0-20210205-hammerhead-v7.2.zip

Changelog

Short Changelog:

- Added FastCharge ( credits to @z3DD3r )

- Added Tint QS Tile with accent color

- Added dark theme support in Gallery2

- Blocked key attestation for Google Play Services

- Fixed media cover art on landscape

- Fixed SystemUI crash while using network traffic indicator

- Fixed black screen issue due to wallpaper decoding exceptions

- Added option to customize QS status bar opacity

- Added option to manually reset battery stats from Settings

- Added in call vibration options

- Some other improvements made to Launcher

- Overall under the hood improvements

Notes

- I won't be available to build till Feb 24 due to my sister's wedding and all. crDroid main dev is also going on leave due to his own wedding, development will be slow for this month anyway. I'll be active on Telegram if anyone needs my help.

- It goes without saying that this build is still a BETA. You want to help, use the built-in MatLog app to send logs.

- Gapps Link Here (Pico Package)

- Disable Blur in

Settings -> Display

for decreasing artifacts on the screen, our device is slightly underpowered for such animations.

- Join the Telegram Group for support, queries and banter. Link Here

Stay Safe Everyone!
[Nexus 5 Android Development] biboon:
Hi all,

First of all, thanks for the ROM, it's running beautifully !

I am trying to install MicroG + Playstore on this (please don't ask why), but I can't get it to work. I read somewhere that i should run npem as root, which I did from recovery but it doesn't work.

~ # npem
/sbin/sh: npem: Too many symbolic links encountered

Edit : Just noticed that there is a bunch of symlinks pointing to themselves in /system

~ # ls -l /system | grep -e "->"
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
lrw-r--r-- 1 root root 11 Jan 1 2009 bin -> /system/bin
lrw-r--r-- 1 root root 50 Jan 1 2009 bugreports -> /data/user_de/0/com.android.shell/files/bugreports
lrw-r--r-- 1 root root 17 Jan 1 2009 d -> /sys/kernel/debug
lrw-r--r-- 1 root root 11 Jan 1 2009 etc -> /system/etc
lrwxr-x--- 1 root shell 16 Jan 1 2009 init -> /system/bin/init
lrw-r--r-- 1 root root 15 Jan 1 2009 product -> /system/product
lrw-r--r-- 1 root root 21 Jan 1 2009 sdcard -> /storage/self/primary
lrw-r--r-- 1 root root 18 Jan 1 2009 system_ext -> /system/system_ext
lrw-r--r-- 1 root root 14 Jan 1 2009 vendor -> /system/vendor
[Nexus 5 Android Development] tmihai20:
It is the first time I am reading about an issue like this in a very long time. Have you repartitioned your Nexus 5? Have you done a fresh install if you had another ROM installed? Repartitioning requires a special TWRP that is available HERE. Even with repartitioning you have to use nano or pico OpenGapps.
[Nexus 5 Android Development] biboon:
Indeed I was using TWRP 3.3.1_1-UA and repartitioned using Clamor's script. The install was fresh, wiped all partitions. I did not install Gapps, just installed MicroG from there (MinimalIAP variant).
[Nexus 5 Android Development] naasking:
I just installed crDroid 11.0 on the Nexus 5 (model LG-D820), and everything works great except one thing: trying to make a SIP call over the cellular network with the native dialer immediately fails, ie. it starts the call then immediately hangs up. I had this exact same issue with all of the Lineage builds. SIP calling over wifi works perfectly.

I installed the Zoiper VoIP app and calling over the cell network and wifi both work great, so there's definitely something wonky with the native dialer.

I prefer to use the native dialer because I've found that receiving calls has been more reliable than Zoiper in the past, so let me know if I can help debug this. It would be awesome to get this working once and for all.
[Nexus 5 Android Development] Highlander88:
Hello, the last week I've installed the latest version starting from scratch (wiped system, data and cache). For some day everything worked beautifully. I haven't installed new applications in the meatnime but yesterday I've noticed that wifi and cellular networks after sometimes stopped working (x icon) but WiFi was working on the local network. I've tried resetting the network inside settings but it didn't worked. I've noticed that if I rebooted the phone the issue disappeared and then reappeared randomly. The only fix was to reboot the phone. Tried cleaning cache from recovery but wasn't useful. Today another issue appeared: after sometime without battery the phone shuts down abruptly. I've tried in safe mode and the behaviour is the same. If I boot inside recovery the phone can stay on for a lot of time, so it should'nt be an hardware related issue. I've cleaned system, cache and data again and installed crDroid and GApps again. After system reboot if I remove the power cable the phone shuts down after a few seconds. Any ideas? I don't know what else to try...
[Nexus 5 Android Development] tmihai20:
@Highlander88: what kind of Nexus 5 do you have? Have you repartitioned your Nexus 5? I own 2 and WiFi is working on both (one is actively used and always on). One of them also has a SIM, but without data. You are losing any type of connectivity, so I think it does not matter that I am not using data on mine. Check the network status when you are having issue (mobile and WiFi).
[Nexus 5 Android Development] Highlander88:
I have a Nexus 5 32GB version. I have repartitioned with the provided tool for the previous releases, so this time when I have upgraded I've only formatted the resized partition. Right now the connection is a secondary problem. The main issue is that I am not able to use the phone not connected to a power source. In recovery mode can stay on battery forever, but if I boot normally or in safe mode after a few seconds of screen on the device turns off. Even after having wiped system, data and cache...
[Nexus 5 Android Development] tmihai20:
@Highlander88 The other issue is indeed worse. I would have formatted all partitions after the repartitioning (this is what I did). You also need to use the custom recovery made specifically for the new partitions.