yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] z3DD3r:
It didn't work cos you have changed your partitions already. It u want to use TWRP HH or TWRP HH.R then u need to revert your partitions to stock setup...
[Nexus 5 Original Android Development] baruchiro:
I'm getting this "Unknown partitions" for both "hh_repart -m" and "hh_repart -r" commands, so how can I revert to the stock setup?
[Nexus 5 Original Android Development] z3DD3r:
LOS 16.0 with April's security patch is out ;)
[Nexus 5 Original Android Development] z3DD3r:
LOS 16.0 with May's security patch is out ;)

PS: I've stopped hammerhead support. So this is the last build of LOS 16.0 from my side...
[Nexus 5 Original Android Development] Rabittek:
Thank you for suppoprting our old Nexus 5 for such a long time by Lineage builds. You made amazing job!
[Nexus 5 Original Android Development] qwertyiapine:
Thank you for your time spent on this, it was very much appreciated
[Nexus 5 Original Android Development] Mark_8:
guys hello!

can someone provide me the nexus 5 persist partition to flash on my phone??

because i find only now that my "folder" is empty and i dont have phone signal :(:(:( , fortunately IMEI is still there

if someone can provide a link to download it i will be very happy

please take this post seriously because is very important to me have phone call :(

if you know a guide to fix it i'll be very pleased, thank you
[Nexus 5 Original Android Development] mandayugana:
Try this one.

http://progkes-team.blogspot.com/2018/02/file-dump-lg-d821-nexus-5.html
[Nexus 5 Original Android Development] Mark_8:
Do you think it can do the job?
[Nexus 5 Original Android Development] Mark_8:
i tried to unpack the backup image file but it wants a password to unzip it, i don't know what is;

in the site i find nothing :rolleyes: :confused:
[Nexus 5 Original Android Development] mandayugana:
The password is at the bottom of the article: "www.progkes.com" without quotes.
[Nexus 5 Original Android Development] Mark_8:
Ops sorry, my bad :good:
[Nexus 5 Original Android Development] andrewschott:
Paritioning help please.

Hello, I was forwarded here in an attempt to get Ubuntu Touch working, as a few folks there say the hh_resize script is the key to success. For them, not me. I think the installer for Ubuntu Touch borked something up with my partition table. I can get Android 6 back on (did and rooted for some of the parted data below), but LOS and UT are a no go. Anyone care to either post their parted layout so I can compare, or see what is borked up, if anything? Long story short, I just got a Nexus 5 from ebay for purposes of playing with Ubuntu Touch. I want to undo any damage (not real damage, but ....) prior to starting the sh!tshow over again. Thanks.

As for the output of hh_resize -m (or -r), I get "unknown partitions" error. And yes, I did comb over this thread, and did do all the wiping possible in twrp (the linked version from this post). Hence why I am leaning towards the botched partition resize that likely occurred in the Ubuntu setup script.

Disk /dev/block/mmcblk0: 31.3GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 524kB 67.6MB 67.1MB fat16 modem msftdata
2 67.6MB 68.7MB 1049kB sbl1
3 68.7MB 69.2MB 524kB rpm
4 69.2MB 69.7MB 524kB tz
5 69.7MB 70.3MB 524kB sdi
6 70.3MB 70.8MB 524kB aboot
7 70.8MB 72.9MB 2097kB pad msftdataAs for the output of hh_resize -m (or -r), I get "unknown partitions" error. And yes, I did comb over this thread, and did do all the wiping possible.
8 72.9MB 73.9MB 1049kB sbl1b
9 73.9MB 74.4MB 524kB tzb
10 74.4MB 75.0MB 524kB rpmb
11 75.0MB 75.5MB 524kB abootb
12 75.5MB 78.6MB 3146kB modemst1
13 78.6MB 81.8MB 3146kB modemst2
14 81.8MB 82.3MB 524kB metadata
15 82.3MB 99.1MB 16.8MB misc
16 99.1MB 116MB 16.8MB ext4 persist
17 116MB 119MB 3146kB imgdata
18 119MB 142MB 23.1MB laf
19 142MB 165MB 23.1MB boot
20 165MB 188MB 23.1MB recovery
21 188MB 191MB 3146kB fsg
22 191MB 192MB 524kB fsc
23 192MB 192MB 524kB ssd
24 192MB 193MB 524kB DDR
25 193MB 1779MB 1586MB ext4 system msftdata
26 1779MB 1811MB 32.0MB crypto msftdata
27 1811MB 2032MB 221MB ext4 cache msftdata
28 2032MB 31.3GB 29.2GB ext4 userdata msftdata
29 31.3GB 31.3GB 5632B grow msftdata

(parted)
[Nexus 5 Original Android Development] mandayugana:
Your partition layout seems modified. System partition is 1,5GB whereas it should be 1GB. How is LOS on your phone?

Check this out for partition layout: https://xdaforums.com/google-nexus-5/general/info-partition-list-nexus-5-t2517503
[Nexus 5 Original Android Development] andrewschott:
LOS worked fine. UT never got past blasting the system image on it. A6 sucks compared to anything I have now. Back then it was nice. If UT cant install, I will make LOS work again & use that on it.

And thanks for the link. That does illuminate that things were mucked with, and badly. My /cache seems WAYYYYYY off. Now I know what to rebuild and how. OMW to work right now, once back home I should have no issues fixing this.
[Nexus 5 Original Android Development] andrewschott:
That page helped out immensely. Thanks bro. Redid the partitions perfectly matched to stock and was able to get Ubuntu Touch installed. Runs great.

That said as a clutz typer on any touch device, it took me a bit of having to redo things in twrp's terminal while hammering out parted commands lol.
[Nexus 5 Original Android Development] melbar79:
No future updates?

Will be there another guy who may update LOS 16.0 with google security updates? z3DD3r has announced not to continue....
[Nexus 5 Original Android Development] Pakobis:
hi,

i have a problem with the command to resize system partition

my twrp is 3.3.1-0 and the answer is: hh_repart -m not found

what can i do?
[Nexus 5 Original Android Development] TomiLynch:
You have to use twrp-3.4.0-HH.R.7 from this thread.
[Nexus 5 Original Android Development] Sercan Ali:
Camera is working but not saving photo you shoot. BTW no problem with video recording...

---------- Post added at 10:10 AM ---------- Previous post was at 10:09 AM ----------

The dev is working on this bug. On telegram group we provided logcats...
[Nexus 5 Original Android Development] L.F.B.:
Finally we have one more life for our loved hammy!

Its a gift to have a dev to sending love to our device!

Good luck and keep the good work and dont give up on us! ?????
[Nexus 5 Original Android Development] psydex:
Do we need to repartition first before flashing?
[Nexus 5 Original Android Development] philipped346:
Yes
[Nexus 5 Original Android Development] philipped346:
camera and hotspot fixed in los16 of 17/04/19
[Nexus 5 Original Android Development] EnesSastim:
New update is up!

Fixed Camera & Hotspot

Link in OP
[Nexus 5 Original Android Development] Slmnj:
I noticed two other folders in the parent folder: EvolutionX and AOSPExtended. Are they based on Android 9.0? Stable enough?

Thanks [MENTION=7730768]EnesSastim[/MENTION]
[Nexus 5 Original Android Development] EnesSastim:
They have no relation with this thread, ill handle them soon
[Nexus 5 Original Android Development] cocogendut:
Still broken?
[Nexus 5 Original Android Development] Sercan Ali:
Restart the phone. It will fix the issue
[Nexus 5 Original Android Development] igna.98:
Thank you for such a great ROM! We are very grateful. Is it possible to build Pixel Experience?
[Nexus 5 Original Android Development] cocogendut:
Can't fixed. Try to flash another ROM first. If still broken maybe camera module has broken. Because,every camera app same problem.
[Nexus 5 Original Android Development] thang_legend:
​

Sometime i have same issue, but in another rom, in this rom, everything seem fine, no camera problem
[Nexus 5 Original Android Development] cocogendut:
Now,fixed.
[Nexus 5 Original Android Development] cocogendut:
All this file if you save on system/etc/sysconfig can make your camera unuseful. I fixed my problem camera with remove this file,I think same with another ROM.
[Nexus 5 Original Android Development] killer_whale:
did you manage to install stock open gapps on it? I am getting not enough space error even after resize to 1.5G. Also I was only able to install micro version
[Nexus 5 Original Android Development] thang_legend:
stock is >600MB my friend, and pico just 105MB, even repartition we have less than 500MB free after flash gapp pico
[Nexus 5 Original Android Development] mandayugana:
We need at least 1.8GB system partition to install stock Gapps with EnesSastim's LOS 16.0. I successfully installed it with 2GB system partition.
[Nexus 5 Original Android Development] killer_whale:
Thanks! How did you make 2GB rom on Nexus 5?

Regards
[Nexus 5 Original Android Development] mandayugana:
Take a look at repartition thread. I just did some math to resize partitions suitable my needs.

I did it manually from TWRP's terminal. Just be careful. DWYOR.
[Nexus 5 Original Android Development] 9Lukas5:
Is there repartitioning needed if I don't need the greater system partition?

I wiped data, cache and system

Flashed rom, magisk, microg and fdroid

But after a long time on the bootanimation the device reboots to recovery again.

L

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
[Nexus 5 Original Android Development] TomiLynch:
Try flashing only rom and magisk first. Reboot and then flash microG and fdroid.

Thank if it helped
[Nexus 5 Original Android Development] brofkims:
Thanks a lot!

I was sad to see official development of LineageOS 14.1 for Nexus 5 had suddenly stopped and began to think whether to buy a new smart phone or not.

But, I was very glad after I found this thread the day before yesterday. I immediately downloaed necessary stuffs(Repartitioning package: hh_clamor_repartition.zip,

Recovery: twrp-3.2.3-1_UA-hh.img) via this thread and was ready to flash my Nexus 5 cleanly.

After I backed up old firmware of Nexus 5 to my pc using '--twrp' option and bravely began to flash new firmware to Nexus 5 following the guide in these instruction.

Of course, I experienced 'error 70'(unable to flash gapps package due to 1GB system partition), but trial and error taught me the right way. ^^

BTW, I somewhat bother with the warning "device is rooted" which Sophos Security app emits. It may be due to partition resizing. Is there no way to make this warning message disappear?

[REPARTITION] Nexus 5 Repartition [HAMMERHEAD] [16GB/32GB] [UA TWRP]

By Clamor, Senior Member on 19th September 2018, 05:41 PM

https://xdaforums.com/google-nexus-5/orig-development/repartition-nexus-5-repartition-t3844395/page9
[Nexus 5 Original Android Development] brofkims:
a simple question about twrp 3.3.0

I became to be aware of twrp 3.3.0 lately released. I replaced twrp-3.2.3-1_UA-hh.img with twrp 3.3.0 as a experiment after successful flashing.

It recognizes resized partition as it is. so I think I'd better use it for the time being. Is there any known problem to use twrp 3.3.0 in nexus5oof?

TWRP 3.3.0-0 Released

TeamWin | Apr 15, 2019

https://twrp.me/site/update/2019/04/15/twrp-3.3.0-0-released.html
[Nexus 5 Original Android Development] rogers11:
Good morning,

is there anything wrong with encryption? I repartitioned the device, configured the whole ROM yesterday and today I encrypted it. Now I cannot enter (the modyfied) TRWP anymore because the pattern fails. I can boot into LOS without problems. :confused:

The same happened yesterday when I restored an older LOS 15.1 backup with the modified TWRP.
[Nexus 5 Original Android Development] brofkims:
One more thing, warnings from Trust

As shown in attached screenshot(from notifications draw), two warning are being emitted from Trust.

I don't care about "signing with public key" since this firmware is "unofficial" at present, but I think a warning about "selinux enforcement" is important.

Currently selinux enforcement is disabled and I could not change it. Is this intentional?
[Nexus 5 Original Android Development] cocogendut:
Security very risk on here

I'm test on WhatsApp,WhatsApp can read SMS for confirm code but not allowed to read SMS on Settings Permission. This mean?try yourself.
[Nexus 5 Original Android Development] 9Lukas5:
Seems the microG kills it. Also gets killed if flashed afterwards. Haven't tried to enable signature spoofing before head, but I guess that'd help^^

Thanks anyway,

L

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
[Nexus 5 Original Android Development] brofkims:
I am expriencing the same problem. I use PIN.
[Nexus 5 Original Android Development] rogers11:
It's a TWRP-problem from what I could read in the meantime. It cannot decrypt any encrypted data-partition when it was encrypted with an OS greater than 14.1. So we have to flash and encrypt with 14.1 after repartitioning and then flash 16.0. :(
[Nexus 5 Original Android Development] kamild_:
Correct, we haven't received the very latest TWRP version which fixes the issue with encryption.

EDIT: I checked twrp.me, there was an update! It might fix the issue, give it a shot.
[Nexus 5 Original Android Development] rogers11:
The 3.3.0 update is stock and will not be compatible with the new partition layout.

However, in the meantime I installed Lineage 14.1 into the new partition layout (just to get a compatible encryption), encrypted it and: still cannot enter the UA recovery. I'm out now. I will go back to stock partitions and 14.1 or 15.1.
[Nexus 5 Original Android Development] JekaPinsk:
First of all, thanks for the builds!

Only problems I found so far:

Camera sometimes breaks (it's broken even after reboot, but somehow fixes itself).

Torch tile sometimes doesn't work (I guess it's connected to previous issue, tile breaks if camera breaks).

MTP doesn't work if ADB is enabled (can't find any suitable drivers - probably wrong hardware id).
[Nexus 5 Original Android Development] killer_whale:
Yes, have same issue with camera from time to time. Apart from that it seems usable :)
[Nexus 5 Original Android Development] engenek:
You are greatfull (teşekkürler )
[Nexus 5 Original Android Development] bagajohny:
New update is up on telegram group.
[Nexus 5 Original Android Development] solace mukhtar:
New Update.

https://sourceforge.net/projects/ne...0-20190427-UNOFFICIAL-hammerhead.zip/download
[Nexus 5 Original Android Development] killer_whale:
Installing now - is anything new in it?
[Nexus 5 Original Android Development] chriscsh:
still got the camera error: Can't connect to the camera

anyone?

i saw the op some ppl said that is fix, but not for me

how to fix the camera error?
[Nexus 5 Original Android Development] solace mukhtar:
Install the latest build
[Nexus 5 Original Android Development] chriscsh:
i have clean install the latest version (0427)

still not work
[Nexus 5 Original Android Development] lulli1:
Try without gapps and magisk, and report back, please.
[Nexus 5 Original Android Development] killer_whale:
Camera works fine for me, installed build + stock gapps + magisk

But now I have 2 phone applications :)
[Nexus 5 Original Android Development] chestermax:
If install open gapps, I can't set proxy in wlan when first time startup
[Nexus 5 Original Android Development] Simaramis:
Flashing Ale5000's unofficial zip package won't work, it will soft brick and you will need to flash rom again from scratch. But it works if you install xposed systemlessly, once you have magisk installed: download the first three links in the #1 post here: https://xdaforums.com/xposed/list-xposed-modules-android-pie-ed-t3892768

that allowed me FakeGapps module to work, and a working systemless xposed without errors, have not tried Privacy Lua. Then go to microg.org and download each gms, gsf and the store, install them. It worked for me, I have signature spoofed. No need to make them system apps.

flash magisk-riru-core-v18.zip

then I flashed

magisk-EdXposed-SandHook-v0.4.1.2_beta-release.zip

which seems to work best right now.

use EdXposedInstaller_v2.2.4-release.apk

everything self-checks out in microg but I don't think the hooks of xposed are very reliable so we shall see.

I also had to reinstall magisk itself again.
[Nexus 5 Original Android Development] razzvg:
Still getting insufficient space error even after repartitioning. Tried flashing gapps directly after rom and after reboot. Anyone?
[Nexus 5 Original Android Development] mandayugana:
Did you try stock gapps? LOS+Stock gapps needs 1700MB+ space.
[Nexus 5 Original Android Development] razzvg:
Tried nano and pico (/w gapps-config). I don't know why but my phone has issues with this rom (no wifi / camera). Went ahead to try out AospExtended and gapps flashed just fine after? I don't really understand but that works out for my purposes.
[Nexus 5 Original Android Development] beekay201:
redowloaded and reflashed my stuff to bring it up to the latest versions (twrp for starters, then gapps and magisk versions) so that i could try this out - not even with opengapps pico, keeps saying that there's no free space left

edit: so i've been reading some threads here and there and it seems i need to repartition my device to get 9.0 running with gapps? shouldn't this be posted in the first post or something?
[Nexus 5 Original Android Development] bagajohny:
AFAIK you need repartition for every pie ROM except UA
[Nexus 5 Original Android Development] chriscsh:
still not work :confused:
[Nexus 5 Original Android Development] lulli1:
What is the problem? Error in TWRP or doesn't boot? Can you see the LOS logo? Post TWRP log. More information please.
[Nexus 5 Original Android Development] beekay201:
it seems that way, it would just be nice if that was mentioned in their install instructions.
[Nexus 5 Original Android Development] JekaPinsk:
Camera crash strikes again (and torch tile, too).
[Nexus 5 Original Android Development] spigui25:
Is there possible to adapt the stable LG G2 version of lineage 16? Both have the same hardware
[Nexus 5 Original Android Development] Simaramis:
I have both the Nexus 5 & LG D-801 G2, and they are both very stable. This ROM is very stable I have no issues except bluetooth calling bt-calling. But you have to go to the partition thread and follow the instructions it's easy just a bit scary but cool beans if you follow instructions.
[Nexus 5 Original Android Development] mandayugana:
There are many ROMs with sending-Whatsapp-video issue. Today I added "debug.stagefright.swcodec=true" in build.prop then Whatsapp always able to send video. I was happy until I realized that recorded video from any apps has lower FPS.

[MENTION=7730768]EnesSastim[/MENTION] Is WA issue related to codec?
[Nexus 5 Original Android Development] dutta_d1:
Great ROM. I repartitioned my Nexus 5 32 GB and clean installed this ROM. Then flashed nano gapps. Everything works great. But when I go to Settings->Storage, System says 15 GB used. Is this normal?

Edit: Figured it out. Needed to reformat all partitions and reinstall. Everything good now.
[Nexus 5 Original Android Development] Somebod y:
My phone is encrypted (made with lineage 14.1). I made a backup, then a clean install oft this rom and when rebooting, pin was requested. Then came a notice saying something like correct pin, but data corrupted, you have to make a factory reset. But when trying to factory reset, phone reboots and the notice appears again and again.... and nothing else happens. Any solution for this problem? Using an unencrypted phone is no solution for me
[Nexus 5 Original Android Development] solace mukhtar:
Flash stock rom. Then flash twrp, and flash this rom. That's all.
[Nexus 5 Original Android Development] amirmt71:
Hi there.

Is anyone experiencing random reboots on this rom?
[Nexus 5 Original Android Development] JackyGundam:
u got?
[Nexus 5 Original Android Development] amirmt71:
I'm on UA and have it a few times a day. Some say all the oreo and pie roms have random reboots on N5. I haven't tried this one yet.
[Nexus 5 Original Android Development] Kotaless:
I had 1 or 2 random reboots in like 40 days. So it is much stable than UA.
[Nexus 5 Original Android Development] Amirmasood_jf:
its very good and smooth , not at first but now working fine ... but i have wifi and mac address problem wifi is not turning on and i was hoping flashing this rom will fix it but no -_-

anyone can help me how to fix it ?
[Nexus 5 Original Android Development] amirmt71:
When did u lose your mac address and wifi? after repartitioning?
[Nexus 5 Original Android Development] Amirmasood_jf:
Yes , i guess so .. but i had this problem before flashing this rom , i don't know what i done , i did all wipes and repartitioned then flash a rom and every thing was good , then wifi suddenly stop working and it's not fix till now ..
[Nexus 5 Original Android Development] sudar0489:
Bluetooth not working properly. Otherwise good ROM :)
[Nexus 5 Original Android Development] Poor Grammar:
Did you read OP.? The Bluetooth bug has been around awhile it's been a pain in the $@@%:crying:
[Nexus 5 Original Android Development] amirmt71:
feedback:

excellent bug-free, stable, rich feature ROM. I want to send special thanks to [MENTION=7730768]EnesSastim[/MENTION] and the lineage team for their great work.

I didn't see any bugs or random reboots. I use it as my daily drive.

I hope we receive updates for lineage 16 in future
[Nexus 5 Original Android Development] M Asad Khilji:
How is battery life and SOT ?
[Nexus 5 Original Android Development] amirmt71:
I get about 3hrs SOT and there is no battery drain. The battery manager service also notifies you about battery draining apps that are running in background.

The Rom is energy efficient.
[Nexus 5 Original Android Development] M Asad Khilji:
How old is your phone battery?

Are you using some Custom Kernel ?

Fast charging is Working?
[Nexus 5 Original Android Development] amirmt71:
I have a new but fake battery. (1700mah reported by Accubattery)

No custom kernel. But I don't use mobile data. Cell is 2G prefered. I only use wifi.

I haven't tried fast charging.
[Nexus 5 Original Android Development] M Asad Khilji:
I can't find Night Light in this Rom? :confused:
[Nexus 5 Original Android Development] amirmt71:
setting->display->style for dark theme

display-> liveDisplay->display mode for color temperature
[Nexus 5 Original Android Development] amonfog:
The camera doesn't work for me when using this ROM with the following specs:

Lineage_hammerhead-userdebug 9 pq2a.190405.003 eng.sastim.20190427.092131 test-keys.

I was able to fix this by downloading and installing "Moment Pro camera" and switching between front and back-facing cameras a few times.
[Nexus 5 Original Android Development] sudar0489:
Im using Google camera through playstore.. No issues at all. Working fine.
[Nexus 5 Original Android Development] aliv:
Hello, flashed on my Nexus 5 32GB - works great! The only problem is when I tried to flash Gapps (pico or nano). It says Error 70: Insufficient storage space available in the system partition.

Is there any way to flash pico Gapps without re-partitioning?

If re-partitioning is the only way to go - could you please let me know a link to a proved solution for that?

Is this one okay?
[Nexus 5 Original Android Development] hammerheadache:
If you want to avoid repartitioning, you could try what Primokorn at the AEX ROM thread did to free up system space: https://xdaforums.com/google-nexus-5/development/9-x-aospextended-official-nexus-5-t3926698/page5

Basically, in TWRP uncheck "reboot after installation is complete", flash ROM, then follow the instructions at the posts #49 first and #45 afterwards. Then you could flash a pico gapps package. Although these are different ROMs, I think most apps listed there should be in this ROM too. I don't know if you have to repeat the process each time you dirty flash a new build. I haven't used this method myself.

Now if you want to do the repartition, Clamor 's repartition method is the easiest way to do so (the thread you mention). Just follow the instructions at the OP and you are good to go. I repartitioned my 16GB device fine. No issues at all.
[Nexus 5 Original Android Development] valter09:
After flash everything, I don't have IMEI, Mac address and IP adress. I have made the backup, how can I restore it to work again?