Movatterモバイル変換


[0]ホーム

URL:


XDA Forums
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use analternative browser.

[ROM][UNOFFICIAL] LineageOS 16.0 for Nexus 5

Search This thread
By:

mandayugana

Senior Member
Jan 17, 2012
274
89
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 thispost). Hence why I am leaning towards the botched partition resize that likely occurred in the Ubuntu setup script.

Code:
Disk /dev/block/mmcblk0: 31.3GBSector size (logical/physical): 512B/512BPartition Table: gptDisk 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                tzb10      74.4MB  75.0MB  524kB                rpmb11      75.0MB  75.5MB  524kB                abootb12      75.5MB  78.6MB  3146kB               modemst113      78.6MB  81.8MB  3146kB               modemst214      81.8MB  82.3MB  524kB                metadata15      82.3MB  99.1MB  16.8MB               misc16      99.1MB  116MB   16.8MB  ext4         persist17      116MB   119MB   3146kB               imgdata18      119MB   142MB   23.1MB               laf19      142MB   165MB   23.1MB               boot20      165MB   188MB   23.1MB               recovery21      188MB   191MB   3146kB               fsg22      191MB   192MB   524kB                fsc23      192MB   192MB   524kB                ssd24      192MB   193MB   524kB                DDR25      193MB   1779MB  1586MB  ext4         system    msftdata26      1779MB  1811MB  32.0MB               crypto    msftdata27      1811MB  2032MB  221MB   ext4         cache     msftdata28      2032MB  31.3GB  29.2GB  ext4         userdata  msftdata29      31.3GB  31.3GB  5632B                grow      msftdata(parted)

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
 
Last edited:
  • Like
Reactions:andrewschott

andrewschott

New member
Jun 26, 2020
3
0
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

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.
 
Last edited:

andrewschott

New member
Jun 26, 2020
3
0
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

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.
 

TomiLynch

Senior Member
Jan 31, 2017
446
435
Google Nexus 5
OnePlus 3
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?
You have to use twrp-3.4.0-HH.R.7 fromthis thread.
 
  • Like
Reactions:Pakobis

Top Liked Posts

  • There are no posts matching your filters.
  • 64
    LineageOS is a free, community built, aftermarket firmware distribution of Android 9.0 (Pie), which is designed to increase performance and reliability over stock Android for your device.​
    Code:
    #include <std_disclaimer.h>/* * Your warranty is now void. * * We are not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed. Please * do some research if you have any concerns about features included in this ROM * before flashing it! YOU are choosing to make these modifications, and if * you point the finger at us for messing up your device, we will laugh at you. * */
    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOSGithub repo. And if you would like to contribute to LineageOS, please visit ourGerrit Code Review. Your changelog is whatever was merged into gerrit.

    Known bugs:
    • Tell me

    Download:
    • Last unofficial:Here
    As 07/19 u have to resize, checkHere

    Telegram Group:Here

    XDA:DevDB Information
    hammerhead-los16, ROM for the Google Nexus 5

    Contributors
    EnesSastim, aleasto, jprimero15, razorloves, sb6596
    Source Code:github.com/nexus5oof

    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 3.4.x
    Based On: LineageOS

    Version Information
    Status: Beta

    Created 2019-04-13
    Last Updated 2019-07-19
    33
    Hi there,

    I've build new version of LOS:
    lineage-16.0-20190615-UNOFFICIAL-hammerhead.zip
    lineage-16.0-20190615-UNOFFICIAL-hammerhead.zip.md5sum

    This version includes fix for calls via bluetooth!
    I'm not sure that fix will work in all cases. Please test this build and share your results.

    PS: Many thanks to@EnesSastim and@Sashko98 for their work!
    26
    As 07/19 u have to resize, here is the tutorial:


    How to increase system (assuming that u have unmodified partitions):
    1. Flash twrp-3.3.1-HH-hammerhead.img
    2. Open terminal (TWRP -> Advanced -> Terminal)
    3. Type hh_repart -m
    4. Wait until your phone reboots.

    How to revert everything:
    1. Open terminal (TWRP -> Advanced -> Terminal)
    2. Type hh_repart -r
    3. Wait until your phone reboots.
    4. Install original TWRP (3.3.1-0 at the current moment)

    Download:https://mega.nz/#!x840QaZT!zjxqy1mK07u--T0Jt4451BLiwmpELe4GFdgW-20s4zc

    Credits:@z3DD3r
    24
    New update is up!

    Fixed Camera & Hotspot

    Link in OP
    24
    New LOS build is on sourceforge:
    lineage-16.0-20190726-UNOFFICIAL-hammerhead.zip

    Changelog:
    1. No stutdowns.
    2. Camera fixed.
    3. Kernel optimizations.
    4. Memory optimizations.

[8]ページ先頭

©2009-2025 Movatter.jp