FORUMS
Remove All Ads from XDA

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

277 posts
Thanks Meter: 878
 
Post Reply Email Thread
CyanogenMOD

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

.
The Following 50 Users Say Thank You to stephanmc For This Useful Post: [ View ] Gift stephanmc Ad-Free
 
 
3rd November 2016, 12:29 AM |#2  
OP Senior Member
Flag Paris
Thanks Meter: 878
 
Donate to Me
More
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
The Following 7 Users Say Thank You to stephanmc For This Useful Post: [ View ] Gift stephanmc Ad-Free
3rd November 2016, 01:04 AM |#3  
Junior Member
Flag Caracas
Thanks Meter: 0
 
More
Downloading
3rd November 2016, 01:25 AM |#4  
Senior Member
Flag Beijing
Thanks Meter: 36
 
More
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?
3rd November 2016, 01:39 AM |#5  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by dcshallot

I couldn't reboot into system any more

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.
3rd November 2016, 01:47 AM |#6  
Senior Member
Flag Beijing
Thanks Meter: 36
 
More
Quote:
Originally Posted by brunoqc

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.
3rd November 2016, 02:10 AM |#7  
OP Senior Member
Flag Paris
Thanks Meter: 878
 
Donate to Me
More
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).
The Following 2 Users Say Thank You to stephanmc For This Useful Post: [ View ] Gift stephanmc Ad-Free
3rd November 2016, 02:17 AM |#8  
OP Senior Member
Flag Paris
Thanks Meter: 878
 
Donate to Me
More
Quote:
Originally Posted by dcshallot

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
The Following 3 Users Say Thank You to stephanmc For This Useful Post: [ View ] Gift stephanmc Ad-Free
3rd November 2016, 02:19 AM |#9  
Junior Member
Thanks Meter: 1
 
More
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.
3rd November 2016, 02:30 AM |#10  
Senior Member
Flag Beijing
Thanks Meter: 36
 
More
Quote:
Originally Posted by stephanmc

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.
The Following User Says Thank You to dcshallot For This Useful Post: [ View ] Gift dcshallot Ad-Free
3rd November 2016, 02:30 AM |#11  
OP Senior Member
Flag Paris
Thanks Meter: 878
 
Donate to Me
More
Quote:
Originally Posted by brunoqc

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
The Following User Says Thank You to stephanmc For This Useful Post: [ View ] Gift stephanmc Ad-Free
Post Reply Subscribe to Thread

Tags
cm14.1, cyanogenmod, mako, nexus 4, nougat 7.1

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes