AOSP [7.1.2_r33]Nougat for Nexus 5 [NZH54D] [25/10/2017]

Search This thread

osm0sis

Senior Recognized Developer / Recognized Contribut
  • Mar 14, 2012
    14,537
    32,739
    Halifax
    GT-i9250
    Nexus 7 (2013)
    This is something I still don't comprehend.

    If Nexus 5X also has a 16GB variant, does it mean Google will pre-load a different Gapps package compared to the 6P, for example?

    Yup. They leave some out they might include on a tablet or phone with more storage. They've also been known to leave special stub APKs which then update to the latest versions from the Play Store to keep the /system usage down.
     
    • Like
    Reactions: Joy Bangla

    androcraze

    Senior Member
  • Jan 11, 2013
    2,241
    1,647
    • Like
    Reactions: immerblind

    jaibar

    Senior Member
    Feb 2, 2011
    1,723
    1,047
    Underwater, no Sh!t
    picasaweb.google.com
    Hi, can anyone help me with the gapps package I need to flash. I'm using a 16Gb version. I tried installing but it keeps saying insufficient storage.
    Having 16GB user storage or more is not is relevant- when you flash gapps they are installed in system partition, which is much smaller- about 1GB and some change- so ROM + big gapps package can consume the whole system space.

    Better use opengapps Pico (or any minimal) package, then install from play store only the gapps that you need.
     
    Last edited:

    rajuchacharuk

    Member
    Sep 3, 2016
    16
    3
    Lucknow
    sorry i dont understand the procedure :'(

    20160827 build running on SECONDARY with multiROM including SetupWizzard :D :D
    FCs on startup solved :D
    Bluetooth works :)
    no camera no root :( (hey calm down, step by step) :)

    @Santhosh M: Thank you soo much, now I have a good base to mess with the nougat <3

    How to:
    1) Install the modified multirom supported build 1 as secondary
    2) reboot and check if it boots (ignore the errors)
    3) Modify the 20160827 build's updater-script like the one before BUT without letting flash the boot.img. So only /system gets flashed ;) (see bottom of the post)
    4) Flash this modified rom as ZIP (not as "add rom") to dirty flash the new system
    5) clear data / cache / dalvik
    6) Flash Open gapps, Reboot
    7) enjoy SETUP WIZZARD on nougat as secondary rom :)

    Here is the code: (Its the code given here in the thread without the last lines involving the boot.img)
    Code:
    assert(getprop("ro.product.device") == "hammerhead" || getprop("ro.build.product") == "hammerhead" || abort("This package is for device: hammerhead; this device is " + getprop("ro.product.device") + "."););
    mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
    package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
    package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
    set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
    set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
    run_program("/tmp/backuptool.sh", "backup");
    unmount("/system");
    mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data", "");
    package_extract_file("system/bin/otasigcheck.sh", "/tmp/otasigcheck.sh");
    package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
    set_metadata("/tmp/otasigcheck.sh", "uid", 0, "gid", 0, "mode", 0755);
    run_program("/tmp/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
    unmount("/data");
    show_progress(0.750000, 0);
    block_image_update("/dev/block/platform/msm_sdcc.1/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat");
    mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
    delete("/system/bin/otasigcheck.sh");
    unmount("/system");
    show_progress(0.020000, 10);
    mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
    package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
    package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
    set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
    set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
    run_program("/tmp/backuptool.sh", "restore");
    delete("/system/bin/backuptool.sh");
    delete("/system/bin/backuptool.functions");
    unmount("/system");
    show_progress(0.200000, 10);

    Now next step is to get superSU system mode working, so we dont need to change boot.img :)

    EDIT: Report of what doesnt work: (for secondary), so dont waste your time with the same mistakes as me :p
    SuperSU 2.77 System Mode
    SuperSU 2.76 System Mode
    SuperSU 2.76 normal systemless
    ofc you can swap to primary, root systemless, swap back to secondary, but this will somehow mess with your other roms resulting in unbootable MM, LP and KK :D

    can anyone guide me step by step to install this as secondary rom PLEASE as i'm newbie :(
     

    gnowwho

    Member
    Jul 22, 2016
    9
    4
    On 1/9 build after flash overheat and shout down camera (Google camera 3.2, which works fine for photos, not tested video) can't be reached by any app until reboot.
    I tried it even after almost 12h still not working until reboot.

    Hope it's relevant
     

    vin4yak

    Senior Member
    Mar 10, 2013
    4,351
    2,422
    28
    Mumbai
    vinu.info
    On 1/9 build after flash overheat and shout down camera (Google camera 3.2, which works fine for photos, not tested video) can't be reached by any app until reboot.
    I tried it even after almost 12h still not working until reboot.

    Hope it's relevant
    What do you mean by flash overheat?

    Google Camera working fine over here on the latest build for photos. Videos still have the green artifacts.

    Sent from my Nexus 5 using XDA Labs
     

    Lesicnik1

    Senior Member
    Feb 12, 2011
    2,295
    757
    Slovenj Gradec
    I mean that if you use the led for a long time, like 10min straights, it gets hot and stop working, which is pretty normal. Problem is that neither it nor the camera start even after several hours without a reboot
    This happened to me a couple of days ago.

    Had the flashlight on for 5-10 minutes, then it suddenly turned on (I didn't check if it was too hot) after that it wouldn't turn back on and the camera app didn't work either.

    A reboot fixed it.
     

    pierrebe

    Senior Member
    Nov 11, 2012
    101
    24
    This happened to me a couple of days ago.

    Had the flashlight on for 5-10 minutes, then it suddenly turned on (I didn't check if it was too hot) after that it wouldn't turn back on and the camera app didn't work either.

    A reboot fixed it.

    This old bug is coming back!!! [emoji33]

    Envoyé de mon Nexus 5 en utilisant Tapatalk
     

    fatpanda69

    New member
    Sep 5, 2016
    1
    1
    Problems I've experienced:

    - Can't switch off Double-tap to sleep under Display
    - 'Always show percentage' option under Battery under Status bar under System UI Tuner doesn't stick; resets to the default of 'Show percentage when charging'
    - When trying to enable Night mode under Colour and appearance under System UI Tuner for the first time (to get the Quick access icon etc.) it doesn't work. Workaround is to spam the 'On' button a bunch until the screen tint changes
    - The torch/flashlight doesn't work; pressing the icon in the Quick access menu does nothing. This is a weird one as it works sometimes but the majority of the time it does not
    - The Camera permission (app access to the camera) shows disabled on apps even though it's not. Can't switch in on to make it look enabled, also don't think it can be disabled because of this. Not sure, weird one.
    - Maybe just me, but when first installing this ROM Google Service Framework had 0 permissions, causing it to crash constantly. Fix was obviously to enable all permissions.
     
    Last edited:
    • Like
    Reactions: Clamor

    dagasp10

    Senior Member
    Oct 20, 2012
    202
    40
    I installed the last build but night mode does not work for me, i followed the step, the app said that is active but it's not true and i don't have the toggle in the notification bar
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 673
      AOSP Nougat 7.1.2 for Nexus 5​

      Hi all,

      This is a nougat build for Nexus 5 and is a decent daily driver. It might contain bugs that i am not aware of or not encountered in my daily use

      What works ?
      • Wifi
      • RIL
      • Bluetooth
      • Camera
      • Other stuff which i might have not mentioned under not working

      What doesn't ?
      • Stuff that i may not be aware of
        (Please don't ask ETA for any bug fixes)

      Changelog :

      25/10/2017:

      • KRACK wifi vulnerability fix.
      • Rest everything remain as such as last released build.

      Older changelogs :



      10/08/2017:
      • Update to 7.1.2_r33 (NZH54D)
      • Brings in August security updates
      • All non aosp features continue to remain

      07/07/2017:
      • Update to 7.1.2_r27 (NZH54B)
      • Brings in July security updates
      • All non aosp features continue to remain

      07/06/2017:
      • Update to 7.1.2_r17 (NJH47B)
      • Brings in June security updates
      • All non aosp features continue to remain

      04/05/2017:
      • Update to 7.1.2_r11 (NHG47L)
      • Brings in May security updates
      • All non aosp features continue to remain

      07/04/2017:
      • Update to 7.1.2_r5 (N2G47J) [ Initial release]
      • Brings in April security updates
      • All non aosp features continue to remain

      13/03/2017:
      • Update to 7.1.1_r28 (N6F26U)
      • Brings in March security updates
      • Added Caffeine tile in quick settings (had a personal use for the same and just added it in the build)
      14/02/2017:
      • Fix Wifi issue faced on custom kernels
      • Fix crash on stock AOSP music player
      07/02/2017:
      • Update to android - 7.1.1_r22 (NMF26X)
      • February security patch
      • Fixes the set wallpaper crash in default Launcher 3
      05/01/2017:
      • Update to 7.1.1_r12 [N4F26M]
      • Fixed long pending bug of double tap statusbar to sleep disable settings not working
      26/12/2016:
      • Fix green flicker issue faced while video recording in custom camera apps such as Google camera [long pending request]
      • Update to 7.1.1_r6 [NMF26Q]
      • Show selinux status in about phone
      15/12/2016:
      • UI lag and audio issues caused by default kernel has been fixed
      • Tethering has also been fixed properly (tested and used it on my device)
      10/12/2016:
      • Fix wifi tethering
      • Update kernel commits from latest google marshmallow release
      • Update vendor blobs from latest marshmallow release for Nexus 5 (M4B30Z)
      • Update broadcomm wifi firmware ( You don't need to flash wifi fix anymore on custom kernels. Google hadn't updated it in nougat branch for some reason all these days)

      06/12/2016:
      • Updated to 7.1.1_r4 (NMF26O) and that makes it the initial 7.1.1 release
      • Selinux is now enforcing
      • AOSP Launcher 3 now default contains pixel launcher features (Not any addition from my end. This is just to let you know the google changes)
      • All my previous non AOSP features continue to remain as such

      24/11/2016:
      • Removed forced partial screenshot (key combo for screenshot will behave like usual regular behavior)
      • Added Screenshot to Power menu & long press on Screenshot in power menu to use partial screenshot
      • Bought back advanced reboot features (recovery,bootloader,soft reboot) to AOSP restart function.
      • Initial support for Pixel navbar animation ( Available as separate flashable zip under downloads. Flash that only on this build as its not a universal any rom flashable zip)

      15/11/2016:
      • Updated to 7.1.0_r7 (that also brings in Nov security updates)
      • Pixel navigation bar (changes on screen buttons to the newer pixel look)
      • Replaces AOSP music app with Eleven (cyanogenmod's music player)
      • Force enabled partial screenshot feature (after pressing the key combination for screenshot, it will ask you to draw the area for screenshot and once u do that it will save the pic)
        Previous features of the ROM continue to remain

      26/10/2016:
      • Brings the night display/night light feature of Android 7.1 (which is currently enabled only for pixel phones).

        - This is same as the night mode in 7.0, but brings certain additions like custom scheduling night mode (like custom time.sunset to sunrise and manual turn on )
        - Can be accessed via Settings - display (available via quick tiles too)
      • Enabled Gestures to appear in setttings menu ( by default its hidden in 7.1 ). This was enabled since double press power button to open camera settings option was not anymore available publicly and it has been moved to gestures

      22/10/2016 :
      • Android 7.1 (NDE63P)
      • Advanced reboot has been removed (Since aosp now has restart by default)
      • Dark theme mode has been removed (Might add back later)
      • Other minor changes

        Non - aosp features :
      • Volume rocker to wake up device
      • Double tap on statusbar to sleep


      For FAQ's/tips/ about the ROM please refer this thread ( This thread is not updated anymore)

      Flashing method :
      • Need to have TWRP
      • Do a full wipe and install the rom
      • Reboot

      Downloads:

      AOSP Nougat for Nexus 5 (25/10/2017)

      XDA:DevDB Information
      AOSP [7.1.2] Nougat for Nexus 5, ROM for the Google Nexus 5

      Contributors
      Santhosh M
      Source Code: https://github.com/sandymanu/hammerhead_nkernel

      ROM OS Version: 7.x Nougat
      ROM Kernel: Linux 3.4.x

      Version Information
      Status: Stable
      Stable Release Date: 2017-10-25

      Created 2016-08-24
      Last Updated 2017-10-25
      170
      Thanks

      Thanks to the following donators

      Alessandro Martignoni
      Daniel Radics
      Вершинин Алексей
      Martin Graf
      Alex Zilmer
      khemraj nauth

      I am sorry i couldn't tag your xda names as i am not aware of :)

      If someone wishes to thank for my work and donate, choose the option of services/goods in paypal ( as I am a Indian user ) and the donation will go through.
      138
      Finally had a take off

      Just booted. Nothing works of course !



      Ck1NVH5.png
      90
      New build

      Hi all,

      Released a new build. Tested by myself.

      Issues fixed :

      * Camera pictures not getting saved ( Have checked video recording too )
      * Enabled the power modes doze flag

      Additional goodies :

      Both these will be available in systemui tuner ( check attached screenshots )

      * Enabled night mode ( i am loving it )
      * Nav bar customization


      Download link available in OP

      Flash and lemme know your feedbacks :)


      Regards
      Santhosh
      75
      New build (29/09/2016)

      Hi all,

      New build (29/09/2016)

      Changelog :
      • Fixes the APN issue ( should fix the need of manual addition )
      • Reverted the youtube fix change ( looks like it broke for more people than it fixed)
      • Brings back AOSP dark theme feature ( Activate it from settings - display - them) [ Google removed it ]
      • Other minor cleanups
        Non-AOSP feature :
      • Long pending request of volume keys awaking phone feature added. It only adds that support and does not include any other volume key related custom ROM features [ default is off and turn it on via settings - display]

      Flash and have fun !


      Regards
      Santhosh
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone