[CM14.1][Mako][Nougat 7.1] CyanogenMod 14.1 builds for the Nexus 4

Search This thread

stephanmc

Senior Member
Aug 15, 2013
279
887
Paris
stephanekouadio.blogspot.com
cyanogenmod-logo.jpg

Here I will share my builds of CyanogenMod 14.1 (Android 7.1) for the Nexus 4.

These will probably become obsolete in future when CM will officially release nightlies, but if as me you can't wait, you can flash it as usual zips!

[About this build]
- Require bootloader/radio from Lollipop minimum
- Contains all CM (kernel, system, ...) + my additional fixes to bring up the device
- This supports LTE. Make sure you have a proper radio for this.

[Note before installation]
- I suggest you to backup your app data with Titanium Backup if you want to restore your apps later


[Downloads]
* Build 11-27
- Build 11-24
- Build 11-17
- Build 11-11
- Build 11-05 (needs a clean install)
- Build 11-02

- Gapps (ARM/7.1/Pico is fine)


[How to install]
- Download latest CM ZIP (see above) + Latest Gapps if you want Google apps.
- Boot in recovery (TWRP - please use latest)
- Wipe System + Dalvik cache + cache. If you come from another ROM, wipe data
- Flash CM zip
- Flash gapps (Flash it along with step3's zip)
- Reboot & Enjoy

[Some recommandations]
- Enable Developer Options: Settings -> About -> tap 7 times on Build number
- Enable USB Debbuging
- Enable Offline APK installations: Security -> Unkown sources
- To enable 3G/4G (if supported by your radio/network): Settings -> More -> Mobile networks -> choose your preferred type !

[About Theme Engine]
- It is coming very soon.


[Working / Known issues]
** Not working **
- Camera is broken actually but I'm working on it
- Video recording is broken but I'm working on it
- Let me know

** Working **
- Everything else

- Installation images has grown, so there is no bigger space available in /system partition. That's why you should use Pico gapps if you need Google Applications.


[Source / Credits]
- Google / CyanogenMod / StephanMc Github / Dmitry Grinberg for his awesome work on N4 / OpenGapps / zaclimon / all developers involved in N for our device

[Changelog]
- Checkout second thread post.

If you are a developer and want to help, feel free to pm/email me :)

If you find this useful, feel free to hit thanks button, make me a donation to support development, or share it with people you love :)

.
 
Last edited:

stephanmc

Senior Member
Aug 15, 2013
279
887
Paris
stephanekouadio.blogspot.com
Changelog build 11-27
Code:
project bootable/recovery/
- bootloader_message: allow devices to override
- fstools: Add libselinux dep

project device/lge/mako/
- mako: Remove enhanced NFC feature
- Update fingerprint
- Revert "mako: fix network values * in the factory images network values are set 10,0,1 but AOSP is set 9,0,1 lets fix it"
- mako: Enable triple framebuffers
- mako: proper rights for kickstart service
- Remove Power Control Widget reference
- Switch to Internal CM File Utils
- msm8960: Delete dhcpcd init entries, since dhcpcd is no more.
- mako: Tune TCP performance Based on CAF values.
- Build libc with GCC

project external/f2fs-tools/
- f2fs-tools: hack headers to unbreak darwin build
- libf2fs_fmt: Add missing src file

project external/libnfc-nci/
- libnfc-nci: set NXP_CHIP_TYPE based on BOARD_NFC_CHIPSET

project external/openssh/
- Merge branch 'master' of https://android.googlesource.com/platform/external/openssh into cm-14.1

project external/toybox/
- losetup: Fix loop mounting
- toybox: Remove -e from @echo
- toybox: kill colors

project external/vim/
- vim: kill colors

project frameworks/av/
- audioflinger: Fix audio for WifiDisplay

project frameworks/base/
- SystemUI: make clock and date clickable in statusbar
- Make Build.TYPE and Build.FINGERPRINT consistent for apps.
- SystemUI: change back button to hide ime button with rotate animation.
- usb: ensure accessory detached sent on re-attach
- Automatic translation import
- sounds: remove last trace of Tejat.ogg
- Remove duplicate audio: Tejat is Argon
- Option to use volume keys to control media volume anytime (2/2)
- Automatic translation import
- Automatic translation import
- base: update settings material colors to match systemUI

project hardware/qcom/audio-caf/msm8960/
- hal: Port the dock support to non-legacy 8960 hal

project hardware/qcom/audio-caf/msm8994/
- hal: Fix warnings in audio HAL and policy
- policy_hal: fix improper voice-playback concurrency handling
- hal: Add performance lock for playback usecase
- hal: update combo device handling
- hal: Add support for LINE out device

project hardware/qcom/display/
- qservice: Allow camera server to call into HWC

project packages/apps/Nfc/
- Automatic translation import

project packages/apps/PackageInstaller/
- Automatic translation import
- Fix PackageInstaller FC when tapping on a downloaded apk notification


project packages/apps/Settings/
- Settings: Remove A/B preference if unsupported
- Automatic translation import
- Automatic translation import
- Automatic translation import
- Settings: skip Misc/Overcounted battery stats in builds

project packages/apps/SoundRecorder/
- SoundRecorder: Add permission for ACCESS_NETWORK_STATE
- Automatic translation import

project packages/apps/UnifiedEmail/
- Revert "UnifiedEmail: not show "help&feedback" in general settiings if url is null"

project packages/providers/MediaProvider/
- MediaProvider: Add read storage permission

project vendor/cm/
- cm: config: Remove enhanced NFC feature
- build: kernel: Remove duplicated targets
- build: Set android jack args to global jack server args if existing
- extract_utils: Use shasum on macOS
- cm: enable hidden storage manager
 
Last edited:

dcshallot

Senior Member
Jun 14, 2012
278
42
36
Beijing
OnePlus 9
Before I try this ROM, I need to ask.
In the ROM cm14, I installed 24/10 cleanly, used a couple days then updated to 01/11 dirty but came an issue reboot into recovery( I couldn't reboot into system any more). So I restored to original stock image then flashed 01/11 cleanly and now work fine.


When the issue(mentioned upon) happened, I wiped all things but didn't work. And I tried an older version(24/10) but didn't work neither.

So, the question is, what is the correct way to update your ROM? Do I have to wipe dalvik and cache?
 

dcshallot

Senior Member
Jun 14, 2012
278
42
36
Beijing
OnePlus 9
What do you mean?

I just installed 11-02 and I think I'm in a boot loop. I see the logo and sometimes my n4 shakes. I wiped everything before I flashed 11-02 and de Gapps.

It's a CM14.0 ROM of 01/11, after I installed the zip(without wipe dalvik nor cache), I choose reboot system directly. But It just boot into recovery. And just loop boot into recovery whatever I chose. Recovery version: TWRP 3.0.2.0

And now, he build the cm14.1 ROM, but I'm worry if the issue happen again.
 

stephanmc

Senior Member
Aug 15, 2013
279
887
Paris
stephanekouadio.blogspot.com
Just to clarify some things:

- It's a new version of Android, please make wipes before upgrading. By the way, a wipe of system + dalvik + caches should work fine if you comes from CM14! (tested on mine). Else, make a clean wipe including /data (don't touch to internal storage).
- Make sure you install 7.1 Pico gapps
- I actually use TWRP 2.8.7.0, but maybe latest twrp should work as well

If you have a boot loop:
- You probably missed a wipe. Get into recovery, wipe system, data, cache, dalvik, flash the rom(+gapps) then reboot.

If you can't go to system and it auto boot to recovery:
- you probably did bad flashing. You'll need to flash stock image occam (it will wipe all), then on,ce it's booted, flash this CM14.1 (twrp + wipes + rom + gapps).
 

stephanmc

Senior Member
Aug 15, 2013
279
887
Paris
stephanekouadio.blogspot.com
Before I try this ROM, I need to ask.
In the ROM cm14, I installed 24/10 cleanly, used a couple days then updated to 01/11 dirty but came an issue reboot into recovery( I couldn't reboot into system any more). So I restored to original stock image then flashed 01/11 cleanly and now work fine.


When the issue(mentioned upon) happened, I wiped all things but didn't work. And I tried an older version(24/10) but didn't work neither.

So, the question is, what is the correct way to update your ROM? Do I have to wipe dalvik and cache?
If I remember from what you stated from an older post, you tried updating via cmupdater. Don't do that actually (or in other words, I don't like update using "software" or "auto tools"). Just flash like the older way:


This is how you should update when a new version is available:
- download the ROM zip
- Download gapps (if not yet downladed before) related to the ROM Android's version
- Boot into TWRP recovery
- Wipe only System, Dalvik and cache
- Flash ROM zip, then Gapps
- Reboot

Proceed like this for every update and you'll encounter no issue.

There are exceptions where a "very clean" install may be needed (I mean wipes that includes "Data"), but when it's the case I mention it in the thread's download section :)
 

brunoqc

Member
Jan 15, 2011
10
1
I have TWRP 3.0.2-0.

I went into "advanced wipe" and wiped everything (even internal and data).

I flashed cm-14.1-20161102-StephanMc-mako.zip and open_gapps-arm-7.1-pico-20161102.zip, wiped dalvik/cache again just in case.

My phone was recoverable by flashing cm-14.0-20161101-StephanMc-mako.zip and open_gapps-arm-7.0-nano-20161102.zip.

I can try again.
 

dcshallot

Senior Member
Jun 14, 2012
278
42
36
Beijing
OnePlus 9
If I remember from what you stated from an older post, you tried updating via cmupdater. Don't do that actually (or in other words, I don't like update using "software" or "auto tools"). Just flash like the older way:


This is how you should update when a new version is available:
- download the ROM zip
- Download gapps (if not yet downladed before) related to the ROM Android's version
- Boot into TWRP recovery
- Wipe only System, Dalvik and cache
- Flash ROM zip, then Gapps
- Reboot

Proceed like this for every update and you'll encounter no issue.

There are exceptions where a "very clean" install may be needed (I mean wipes that includes "Data"), but when it's the case I mention it in the thread's download section :)

Thanks a lot! And now, cm 14.1 work just fine. As you said, camera didn't work.
Some apps have compatible issue with cm14.1, but it's not a big deal.
 
  • Like
Reactions: MakyDangers

stephanmc

Senior Member
Aug 15, 2013
279
887
Paris
stephanekouadio.blogspot.com
I have TWRP 3.0.2-0.

I went into "advanced wipe" and wiped everything (even internal and data).

I flashed cm-14.1-20161102-StephanMc-mako.zip and open_gapps-arm-7.1-pico-20161102.zip, wiped dalvik/cache again just in case.

My phone was recoverable by flashing cm-14.0-20161101-StephanMc-mako.zip and open_gapps-arm-7.0-nano-20161102.zip.

I can try again.
Hmm ok maybe the network upload corrupted the file. I check it out and let you know
 
  • Like
Reactions: hboyer

brunoqc

Member
Jan 15, 2011
10
1
It works now but I'm not sure why.

I re-downloaded everything and the md5 file for the gapps. I created a md5 file for your zip. I wiped System, Dalvik and cache (since I was back on cm-14.0-20161101) and I flashed both file. both md5 matched. I rebooted and it works.

Thanks.
 

stephanmc

Senior Member
Aug 15, 2013
279
887
Paris
stephanekouadio.blogspot.com
I have TWRP 3.0.2-0.

I went into "advanced wipe" and wiped everything (even internal and data).

I flashed cm-14.1-20161102-StephanMc-mako.zip and open_gapps-arm-7.1-pico-20161102.zip, wiped dalvik/cache again just in case.

My phone was recoverable by flashing cm-14.0-20161101-StephanMc-mako.zip and open_gapps-arm-7.0-nano-20161102.zip.

I can try again.

What I just did (from cm14.0 1101 build: ) :
- wiped Dalvik cache, System, Cache
- Flashed ROM zip cm14.1 11-02
- flashed pico gapps (the one I've already downloaded yesterday, open_gapps-arm-7.1-pico-20161101.zip)
- reboot

It's boots fine. Can you retry and let me know ?
 

stephanmc

Senior Member
Aug 15, 2013
279
887
Paris
stephanekouadio.blogspot.com
What I just did (from cm14.0 1101 build: ) :
- wiped Dalvik cache, System, Cache
- Flashed ROM zip cm14.1 11-02
- flashed pico gapps (the one I've already downloaded yesterday, open_gapps-arm-7.1-pico-20161101.zip)
- reboot

It's boots fine. Can you retry and let me know ?

It works now but I'm not sure why.

I re-downloaded everything and the md5 file for the gapps. I created a md5 file for your zip. I wiped System, Dalvik and cache (since I was back on cm-14.0-20161101) and I flashed both file. both md5 matched. I rebooted and it works.

Thanks.

Oops, replied a bit later :) ! Glad to know everything works for you now.
 
  • Like
Reactions: brunoqc
G

GuestK0092

Guest
I installed the new rom cm-14.1-20161102-StephanMc-mako.zip, reboot the phone stop it boots.
I did so:
- Wiped Dalvik cache system, Cache
- Flashed ROM zip cm14.1 11-02
- Wiped Dalvik cache system, Cache
- Reboot.
Phone stop boots.
I went back to version cm-14.0-20161101-StephanMc-mako.zip and this problem does not exist.
 
Last edited:

sirdir

Member
Mar 5, 2014
18
0
Hm, I'm an idiot. Just deleted everything because some apps (especially the camera) weren't working. Now I see it's even in the release notes.
But yesterday the cam worked, that's why I didn't check...

---------- Post added at 09:36 PM ---------- Previous post was at 09:05 PM ----------

Hm, I need to go back to an older version as well, when trying to reinstall this 7.1, the phone just boots forever.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 53
    cyanogenmod-logo.jpg

    Here I will share my builds of CyanogenMod 14.1 (Android 7.1) for the Nexus 4.

    These will probably become obsolete in future when CM will officially release nightlies, but if as me you can't wait, you can flash it as usual zips!

    [About this build]
    - Require bootloader/radio from Lollipop minimum
    - Contains all CM (kernel, system, ...) + my additional fixes to bring up the device
    - This supports LTE. Make sure you have a proper radio for this.

    [Note before installation]
    - I suggest you to backup your app data with Titanium Backup if you want to restore your apps later


    [Downloads]
    * Build 11-27
    - Build 11-24
    - Build 11-17
    - Build 11-11
    - Build 11-05 (needs a clean install)
    - Build 11-02

    - Gapps (ARM/7.1/Pico is fine)


    [How to install]
    - Download latest CM ZIP (see above) + Latest Gapps if you want Google apps.
    - Boot in recovery (TWRP - please use latest)
    - Wipe System + Dalvik cache + cache. If you come from another ROM, wipe data
    - Flash CM zip
    - Flash gapps (Flash it along with step3's zip)
    - Reboot & Enjoy

    [Some recommandations]
    - Enable Developer Options: Settings -> About -> tap 7 times on Build number
    - Enable USB Debbuging
    - Enable Offline APK installations: Security -> Unkown sources
    - To enable 3G/4G (if supported by your radio/network): Settings -> More -> Mobile networks -> choose your preferred type !

    [About Theme Engine]
    - It is coming very soon.


    [Working / Known issues]
    ** Not working **
    - Camera is broken actually but I'm working on it
    - Video recording is broken but I'm working on it
    - Let me know

    ** Working **
    - Everything else

    - Installation images has grown, so there is no bigger space available in /system partition. That's why you should use Pico gapps if you need Google Applications.


    [Source / Credits]
    - Google / CyanogenMod / StephanMc Github / Dmitry Grinberg for his awesome work on N4 / OpenGapps / zaclimon / all developers involved in N for our device

    [Changelog]
    - Checkout second thread post.

    If you are a developer and want to help, feel free to pm/email me :)

    If you find this useful, feel free to hit thanks button, make me a donation to support development, or share it with people you love :)

    .
    22
    Build 11-27 is out

    It includes:
    - Latest CyanogenMod
    - Fixed network selection after a clean install
    - Improve smoothness with triple framebuffers
    - removed dhcpcd service (this will improve battery)
    - Improve tcp/wifi performance
    - Add more translations
    Checkout full changelog on 2nd thread post


    Disclaimer
    As everyone know, CM finally released official builds for mako :) !
    This is a very good news, meaning that you'll get update almost every day, things going to be more and more "stable" for daily use, and bugs will be likely to be fixed as soon as possible by the official team.

    I was pleased to bring you my builds since September, trying to make fix here and there so that earliers releases could feel as "good".
    Thanks everyone for having downloaded, tested, reported, etc... Love you community !

    - Will you continue to bring up a build ?
    No, build 11-27 is my latest :).

    - But hey Stephan, what should I do if I want to switch from your ROM to official?
    The good news is that you have nothing extra to do. As it is the exact same code (just notice that one of the little differences is that, opposed to my build, official CM actually doesn't support LTE for mako), all you have to do is to install the newer official build as usual.

    Enjoy!
    19
    Build 11-24 is out

    It includes:
    - Latest CyanogenMod (many changes)
    - Add support for rounded icons (Pixel Launcher should now show them)
    - Some kernel improvements
    - Add some translations
    - Checkout full changelog on 2nd thread post

    Another good news: official cm-14.1 for mako is gradually on its way. With the help of some awesome devs, we will bring it up very soon, so that you could have nightly builds as usual!
    Enjoy!
    11
    Build 11-17 is out

    It includes:
    - Latest CyanogenMod
    - Some kernel improvements
    - Checkout full changelog on 2nd thread post

    -About CM Theme Engine: it should be available in a *very* few weeks, stabilization is ongoing.
    -Updated OP to be more descriptive.

    Enjoy!
    9
    Build 11-11 is out

    - Checkout full changelog on 2nd thread post
    - I'm still working on video recording fix for mako (very time consuming...)

    Enjoy!
    thanks for you work man, i am looking forward for video recording fix

    New 11-11 build! (deleted the old one)
    - Video recording is fixed (720p / 1080p) !