yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] bystroy:
I want to install [CM14.1][Mako][Nougat 7.1] CyanogenMod 14.1 on my Nexus 4.

The question that is bothering me is that will everything will be working on it?
[Nexus 4 Android Development] felipez:
I'm currently on Lineage OS 14.1 nightly and it's working very well. I had some problems in previous builds, but they fixed. Everything is working fine. It's actually working better than stock LP was.

The only problem with the newest build is with root, but if you take a look in the comments, they have an easy work around. I'm in the 20170115 nightly build with no root problem.

Cheers
[Nexus 4 Android Development] 666biker:
Hello,

I am currently on CM 13.0-20161114-NIGHTLY-mako.

I want to update it 14.1, since now we have Lineage OS 14.1 nightlies, do we have some steps how to install 14.1 over CM13.0?

What all is needed to update before or what is the best way to install this 14.1 without deleting my user data (applications,photos, ...)?

Many thanks for help.
[Nexus 4 Android Development] cyprien T:
Hello I present my application ( ROM custom ) It is an application that gives a list of custom ROM for some smartphone ! If you like tell me

Download :

]https://drive.google.com/folderview?id=0B_KYA5gJ-Y8GLTlQY3hUX2MtZkE[/url]
[Nexus 4 Android Development] rdaniel24:
Hi! I guess you've updated by now...

Could you please upload somewhere the "CM 13.0-20161114-NIGHTLY-mako" zip file? I'm running CM-13.0-20161221-SNAPSHOT-ZNH5YAO3Y2-mako, and I have issues with wifi disconnecting every few minutes.

Thanks!
[Nexus 4 Android Development] Goombs:
LTE Issues

So, I flashed this since Cyanogenmod fixes the bluetooth issues in Android 7.1, and I want to keep Google Assistant and LTE. But I am having issues connecting to LTE. I am not using the official LineageOS builds because they do not allow LTE to be enabled.

First off, LTE works perfectly fine using Nitrogen OS, and a few more ROMS, in the same location, on the same phone. So my carrier (T-mobile), does support Band 4.

The first thing I did, was install this ROM, set LTE to the preferred network, made sure my APNS were correct, and did the *#*#4636#*#* stuff. I tried every setting that included LTE, and only 1-2 of them would apply and save. Of those 2, neither connected to LTE. Only 3G and HSPA+.

So, then I tried flashing my own modems. I tried a hybrid 1.07/.27 image, and did all the stuff above. I then repeated with the stock .27 radio, and a .33/1.07 hybrid.

What else should I try? It seems everyone else is getting LTE with this ROM just fine, so WTF am I doing wrong?
[Nexus 4 Android Development] 666biker:
cm13.0

i am not updated yet, do you still need cm13.0 from 14.11.2016?

i read your post now :(
[Nexus 4 Android Development] rdaniel24:
Yes please!

Btw, google "How to Update Lineage OS on top of CyanogenMod ROM" (I cannot post the link). In the first link, you'll find all the info you need about updating to Lineage OS from CM.
[Nexus 4 Android Development] ze7zez:
How to install CM15?

[MENTION=5395025]stephanmc[/MENTION]

You suggest how to install and run lineage-15.0-20170830-StephanMc-alpha-mako.zip?

From the script updater-script I deleted the line

assert(getprop("ro.product.device") == "mako" || getprop("ro.build.product") == "mako" || abort("E3004: This package is for device: mako; this device is " + getprop("ro.product.device") + "."););

because during the installation there is an "error: 7".

Still, the system does not boot and returns to recovery.
[Nexus 4 Android Development] stephanmc:
I made a successful test build for mako but sadly my N4 is actually broken, so I couldn't test it after uploading. But thanks for the report, I ordered today a new N4 so that I can test everything live. When the boot will be completed I'll then create a thread here on xda, with proper instructions.
[Nexus 4 Android Development] nitin.chobhe:
That's great news! Meanwhile can you share the device and kernel tree? I'm trying to bring up aosp for mako; I was able to complete the build but it is not booting :crying:

The tress that you used might help me.

Thanks!

Nitin
[Nexus 4 Android Development] stephanmc:
Hey Nitin. No problem, for sure I will upload everything when I'll get (maybe today) my new N4 :)
[Nexus 4 Android Development] Armin_van_buuren:
A new life for Nexus 4!!

Thanks devs For keeping our Mako updated
[Nexus 4 Android Development] cqloveqc:
I've tried to flash, but failed, here is the photo of the screen shot.
[Nexus 4 Android Development] victoriordachi:
Try This

You can try to delete this line from updater-script . I can't test it on my N4 because it has broken touchscreen . Sorry for my bad English :)
[Nexus 4 Android Development] mrk2815:
what gapps are going to be required to flash this. i have two makos in the closet hybernating and would like to help out in any way that i can. have moved on to a new device, picked up a pixel on ebay fora good price, but still have the mako for testing purposes.
[Nexus 4 Android Development] nitin.chobhe:
May be, if it is possible for you, you can ship one to [MENTION=5395025]stephanmc[/MENTION] if he has not received his :)

Nitin
[Nexus 4 Android Development] victoriordachi:
New Nexus

I also need a Nexus 4 . My Nexus is RIP :(
[Nexus 4 Android Development] Weehee:
These might work: https://androidfilehost.com/?fid=745425885120757579

Found in N5 & G4/G5 communities.
[Nexus 4 Android Development] mayankkhajnchi:
This problem is curable. Unzip the rom in pc open META-INF >com>google>android>Updatescript with notepad++ then delete the line that starts with assert. Save it , then zip up the file and flash it.
[Nexus 4 Android Development] cqloveqc:
I did try this, doesn't work either.

I think maybe because my current rom is not cm 14.1
[Nexus 4 Android Development] ze7zez:
Not for that.

The ROM does not work primarily because the kernel does not start properly.

Folks!

Stop downloading lineage-15.0-20170830-StephanMc-alpha-mako.zip and wait for the officially announced version.
[Nexus 4 Android Development] kingsleycao:
I have deleted the line in updater-script and flash it successfully. BUT when I reboot, it return to bootloader :(
[Nexus 4 Android Development] Mister sp:
same for me
[Nexus 4 Android Development] Karan.S:
c'mon guys, you can see above, ze7zez has given the reason why it will NOT work! It is the Kernel that is not working at the moment.
[Nexus 4 Android Development] nitin.chobhe:
And HAL related changes are also needed in the device tree...

Nitin
[Nexus 4 Android Development] bbezouro:
any news? I am looking forward to have oreo in my nexus 4
[Nexus 4 Android Development] mrk2815:
just wait for official lineage 15 which will most likely support nexus 4 mako. if lineage 14.1 was supported most likely lineage 15 will be. but we will have to wait and see. there are no builds as of yet. all builds are in some kind of alpha stage . the guys who are trying to build early builds.
[Nexus 4 Android Development] ze7zez:
[MENTION=5395025]stephanmc[/MENTION], if you need to analyze, then I send logcat, which was created after properly booting your CM 15 based on kernel from AOSP 8 ROM from [MENTION=2633638]Ziyan[/MENTION].

Maybe it will be useful for you.

Unfortunately, CM15 does not start with the AOSP kernel.
[Nexus 4 Android Development] mrk2815:
any new news on oreo bring up for lineage on nexus 4 mako.
[Nexus 4 Android Development] saadi.sidali:
my phone says that this package is for mako and my device is hammerhead how can i install this
[Nexus 4 Android Development] n0b0dy666:
How did you end up here? Hammerhead is Nexus 5, you should install a build for it.
[Nexus 4 Android Development] mrk2815:
hello Stephan , sinc tthere is now los 15 based rom coming down the pipeline.can you look at getting a lineage 15 rom going for nexus 4. I would welcome your development. I have had all of yoru roms that ou hav build for nexus 4 mako. Ii was just wondering.would you think about reworking eh lineage 15 build for nexus 4 mako.
[Nexus 4 Android Development] Div555:
I have had 14.1 for quite some time and one problem always remains consistent, which is the loss of network or wifi, but mostly wifi. I always to keep restarting my phone in order for it to work, and then it will work fine for quite sometime. But recently, the problem has been occurring very frequently and I don't know what to do. Any idea whats happening and what is the solution to this? I'm using the latest build there is right now.
[Nexus 4 Android Development] A. K. Jain:
WiFi is crashing time to time. During this period, it does not connect to any of wifi network even after manual attempts. After some time, it automatically starts connecting. I am on 8.0.0
[Nexus 4 Android Development] manikumar1988:
Awesome

Awesome ROM.

I've installed and using fur couple of days. My Nexus 4 is b back and showing her excellence. Actually I was not using because of multiple reasons and Google stopped spring Nexus 4. Hence I tried installing custom ROM and I'm succeeded in that. CyanogenMod is excellent. But it has some bugs, but it's okay for me. Because my Nexus is back and showing her excellence with lots of application running, providing excellent battery performance etc etc etc. Anyway thanks for the developer.

Lastly I would like to know hope will I know if there is a software update on this particular ROM and if I want to install that update, do I need to do wipe off data or not?. Please help me
[Nexus 4 Android Development] subiebass:
Let me bump this thread....

A couple of months ago, I went ahead and rooted my N4 for the first time and installed this ROM. The ROM is very stable, the phone runs great. But I've been facing an annoying issue which I have not been able to solve: The 'CyanogenMod System' (process?) keeps my phone awake and would eventually kill the battery. I installed the WakeLock detector app to see exactly what is keeping the phone awake. It is apparently the 'GnssLocationProvider' and 'PhoneWindowManager.mPowerKeyWakeLock'. I am not sure how to resolve this issue. Last week, I cleared the Dalvik cache and stuff like that, and the issue went away for a couple of days to the point where the battery would barely drain 15% in 8 hrs if you leave it alone. But now it is back. Any idea on how to fix this? If not, I would have to replace this ROM, but I don't really want to.

Additional note: I did put the phone in safe mode last week and the issue was absent.
[Nexus 4 Android Development] subiebass:
Looks like I fixed my issue by turning off one of the 'macro' I created using the app 'macrodroid'. The macro was supposed to check for location on a specific day of the week. It appears that this resulted in invoking the 'gnsslocationprovider' command nonstop. Consequently, phone stayed awake all the time and killed the battery in like 3-5 hrs. It's been 3 days and the battery drain is super slow now (e.g. estimating a day and a half of battery).

Interesting thing is that it never reported that macrodroid was at fault. It was the 'cyanogenmod system' process instead...
[Nexus 4 Android Development] *Jonny*:
i waiting for camera fix, good luck! :D
[Nexus 4 Android Development] brunoqc:
I don't know if I'm the only one but the flashlight doesn't seem to work.

I also have the audio glitch when playing music on the lock screen (the weird sound that you can hear if the volume is low) that I had with 7.0.
[Nexus 4 Android Development] Has_anDroid:
bootlop help complate system dalvıc art cachce data ınternal storage wıpıng send to ınternal storage cm 14.1 rom flash and 7.1 pico gapps flash 30 mınute cyan logo waıtıng after twrp wıpe system data cachce art and cm 14 7.0 flash boot complate androıd runnıng after twrp wıpıng data flash cm 14.1 and restart bootloop.......
[Nexus 4 Android Development] hboyer:
flashed it over latest 14.0 yesterday

works like a charm - with the few bugs already mentioned above

I use it since more than 24 hours as a daily driver, no single reboot, everything fine - even split windows works.

:good::good:

thx [MENTION=5395025]stephanmc[/MENTION]
[Nexus 4 Android Development] :
I have the same , [MENTION=5395025]stephanmc[/MENTION] - He has not yet found a solution to this problem :crying:
[Nexus 4 Android Development] dcshallot:
Maybe you should try a latest stock image which is downloaded from Google. Then reboot into bootloader and flash the TWRP 3.0.2-0. And finally try these cm14.1 ROMs.

And you should check all the zips to be downloaded correctly.

Because I just did yesterday.
[Nexus 4 Android Development] Has_anDroid:
okay bootloader mod 5.1.1 factory flash after twrp 3.0.2 flash after ? system data cachce art wıpe ? ınstall rom

---------- Post added at 06:11 PM ---------- Previous post was at 06:02 PM ----------

no wrong factory ımage cm 14.1 flashed bootloop.............
[Nexus 4 Android Development] dcshallot:
You should follow these steps:

1 bootloader

2 flash Google stock image(will erase all things)

Then you can open wiki of mako by cm. Follow their guide to install cm rom.

1 go into bootloader

2 flash TWRP recovery

3 reboot into recovery

4 wipe system art data cache

5 finally follow the install steps mentioned first floor.

And good luck~
[Nexus 4 Android Development] Has_anDroid:
not work ı am sorry

---------- Post added at 09:07 PM ---------- Previous post was at 09:06 PM ----------

I left phone use for years I've been in this business is not established comedy but I have not encountered such a vicious cycle of ROM

---------- Post added at 09:21 PM ---------- Previous post was at 09:07 PM ----------

Does that could take screenshot really been trying this ROM

---------- Post added at 09:38 PM ---------- Previous post was at 09:21 PM ----------

I restored to original stock image link ?
[Nexus 4 Android Development] hboyer:
did you boot up the stock image once? and wiped data before?
[Nexus 4 Android Development] Has_anDroid:
oh my god :D running 14.1

clean all wipe internal storage data ...... after rom zip cm 14 and 14.1 internal storage send after cm 14 android 7 flash boot to system

.....

download cyan delta updater

enable root

cyan delta updater in zip cm 14.1 and flash auto restart twrp auto flashıng and auto boot work fine

cyan delta updater

http://www.apkmirror.com/apk/mattia...-updater-0-9-1-android-apk-download/download/

---------- Post added at 11:11 PM ---------- Previous post was at 11:08 PM ----------

cm 14.1 theme chooseer no ?
[Nexus 4 Android Development] Has_anDroid:
twrp nandroıd my backup my upload

twrp restore

https://yadi.sk/d/0Lf4Tge1y85nV
[Nexus 4 Android Development] :
[MENTION=5395025]stephanmc[/MENTION] When can we expect a new revised version without failure bootloop?
[Nexus 4 Android Development] stephanmc:
It's a really sweet approach to make to a developer. It is because of these kind of statements that many developers here on XDA just stopped pushing magics to the community.

I *always* test my builds before release to public.

Did you try every solution mentionned on this thread ? This is what dcshallot suggested to you:

That's it. If you have issues with boot, Go back to stock, boot it properly before doing anything. Then, once stock works, come back to CM14.1 (TWRP + ROM + Gapps 7.1).
[Nexus 4 Android Development] Has_anDroid:
clean all wipe internal storage data ...... after rom zip cm 14 and 14.1 internal storage send after cm 14 android 7 flash boot to system

.....

download cyan delta updater

enable root

cyan delta updater in zip cm 14.1 and flash auto restart twrp auto flashıng and auto boot work fine

cyan delta updater
[Nexus 4 Android Development] sneezy316:
Thanks for the quick update.

Anyone else getting a phone app forced close that keeps popping up? Coming from your CM14 10-24, I wiped system/delvik/cache before flashing. Then flashed 7.1 pico.
[Nexus 4 Android Development] brandonb927:
[MENTION=5395025]stephanmc[/MENTION] Thank you so much for this release! Every weekend I check for a new release and get excited when I see a new one :D

Haven't had any issues so far, the process has been very smooth for flashing each update (adb sideload)

Cheers! ?
[Nexus 4 Android Development] stephanmc:
Build 11-05 is out

It includes:

- Camera is finally fixed! Next step now is to fix video recording

- Checkout full changelog on 2nd thread post

For this build, a new DB change has been added to Phone app, so you might get a force close if the ROM haven't been installed cleanly ("wipe data").

So to fix phone App, get into Settings -> Apps -> Phone. And clear app data.

Edit: better prefer a clean install
[Nexus 4 Android Development] stephanmc:
Nice to hear that, thanks :)
[Nexus 4 Android Development] brunoqc:
I updated to 11-05 using your instructions (wipe System, Dalvik and cache). I didn't update de gapp since I already had them.

After the reboot phone was closing and I went into storage, "clear data" but after a reboot I still have the problem. I also say a notification complaining about google play services so I flashed the gapps again. I also cleared the data of "phone services" just in case you mixed the two of them (phone is com.android.dialer and "phone services" is com.anroid.phone) but it didn't fix the problem.

My sim card isn't detected.

Edit: I wiped everything and reflashed cm and gapps. It's fine now.
[Nexus 4 Android Development] dcshallot:
This already 05/11.

After clear phone data, no crash, but there's another thing.

It can not detected Sim card. And crash when I long press the sim data button. (By com.android.settings)

And, it always miss words since cm 14. (Battery performance setting)

I was wrong.... Maybe I just mute the crash. And the phone keep crashing all the time. I'll upload the log after restoring the system.
[Nexus 4 Android Development] dcshallot:
https://drive.google.com/file/d/0B6cOVSgFzFmvdVVhMUhXMXM4T3c/view?usp=drivesdk

It's a logcat before restore. Now I just wipe all and install 05/11, just fine. You can download this if necessary.

And there's a question. After install 05/11, and gapps 7.1 pico, and set the long press home key to search assistant, but it didn't work. I just downloaded Google from play store. How to fix it?
[Nexus 4 Android Development] Has_anDroid:
pixel launcher please flashable versıon not googleplay versıon ?
[Nexus 4 Android Development] :
Someone tried to install the kernel (HellSpawn-N4-Nougat-R01-CM-UBERTC-5.4) for CM14.1 ?

http://xdaforums.com/nexus-4/development/kernel-hellspawn-n4-t3347850
[Nexus 4 Android Development] dcshallot:
I tried this two days ago. Double tap to wake not work. And seem too lag, and the CPU got hotter then before.
[Nexus 4 Android Development] chemahg7:
Firts of all, thank you for your excellent work, mako keeps rocking!!!!

One question, ¿Can i use one hybrid baseband to get LTE in this? In 14.0 it works perfectrly
[Nexus 4 Android Development] andreipaval:
Hello, thank you for the ROM. Unfortunately, the latest version did not work with just clearing Phone app data.

Did that, but kept getting Phone force closes and no SIM card detected.

Had to make a clean install after all.
[Nexus 4 Android Development] hboyer:
firtst thanks again to [MENTION=5395025]stephanmc[/MENTION] for your ongoing effort!

same issue in 05/11 with phone crashing and no sim here (yes i have read the op, clean install recommended).

as I do not want to wipe data, does anybody have a solution without a clean install? thanks in advance
[Nexus 4 Android Development] stephanmc:
Maybe you can file me a logcat, so that I try to identify what app data you can "clear" :) (I don't have a sim card in my nexus 4 to test it)
[Nexus 4 Android Development] hboyer:
[MENTION=5395025]stephanmc[/MENTION]

here you are, tried already a lot of things

thanks!
[Nexus 4 Android Development] cyprien T:
Thème cyanogenmod ??
[Nexus 4 Android Development] dcshallot:
There's an update, and I tried with an app named kernel adiutor. The new kernel works seems normal.

The question is, if enable show CPU usage from settings-development options. There are at least 10 tasks all the time. It was 2~4 by default.

Update: camera doesn't work.
[Nexus 4 Android Development] markoth:
[MENTION=5395025]stephanmc[/MENTION] thx again for all the effort you are putting to this. I'm on 11-05 now for a couple of days and so far I'm impressed how good this works already for such an early stage!

Thinks I could observe during my tests:

- Bluetooth Play/Pause button seems not to work any more coming from 10-24 of cm14 (I'd say this worked on 11-02 of CM14.1 but I'm not sure!)

- Bluetooth works now also for restricted users (I reported this earlier for CM14 here) This is GREAT!

- Bluetooth stops working completely when switching between normal and restricted user while connected to bluetooth Headset. Once I did this I can not pair any more bluetooth device...

- Sometimes phone crashes when I try to disconnect the bluetooth headset while being on a call (ok... this is a somewhat strange use case ;) )

nevertheless... cool that this is still going on for this mildly aged device :)
[Nexus 4 Android Development] corsoooooo:
First of all thank you for your hard work.

I don't know if it's happening yet on 14.1 because I'm using a 14 build (26 Oct 2016 I think). Sometimes when the alarm wakes me up I slide to turn it off. Then I sleep more about 5 minutes and then I get ready to work. But.... when I press the Home button to use the Nexus 4, the screen doesn't show up. So I have to hold it (about 7 seconds) to restart the phone. And it's not battery because I let charging all night.
[Nexus 4 Android Development] brunoqc:
Adding an exchange server doesn't seem to work. I think the email app crashes when I add it.
[Nexus 4 Android Development] cyprien T:
Xposed incompatible
[Nexus 4 Android Development] ivanich:
Just grant all permissions to exchange in the settins-> Applications

Отправлено с моего ONEPLUS A3000 через Tapatalk
[Nexus 4 Android Development] :
I can not wait for the new version of the rom :)
[Nexus 4 Android Development] brunoqc:
It seems to work. Thanks!! :D
[Nexus 4 Android Development] cyprien T:
Reecording video?
[Nexus 4 Android Development] stephanmc:
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!
[Nexus 4 Android Development] Cizzle4:
thanks for you work man, i am looking forward for video recording fix
[Nexus 4 Android Development] Has_anDroid:
theme manager ?
[Nexus 4 Android Development] stephanmc:
New 11-11 build! (deleted the old one)

- Video recording is fixed (720p / 1080p) !
[Nexus 4 Android Development] stephanmc:
Coming soon bro, let's fix everything hardware-related first :)
[Nexus 4 Android Development] Has_anDroid:
thanks stephanmc :)

---------- Post added at 01:08 AM ---------- Previous post was at 01:05 AM ----------

stephanmc What do you recommend and kernel settings such as voltage values ?
[Nexus 4 Android Development] joopa:
Thank you very much stephanmc. It's working fine on my n4 for my utility.
[Nexus 4 Android Development] Atlos:
Hi!, Can I go form 11-02 to 11-11 without a clean install?
[Nexus 4 Android Development] Cizzle4:
i think you cant, since you need to clean install the 5/11

---------- Post added at 02:16 PM ---------- Previous post was at 02:08 PM ----------

Who is the man?????! [MENTION=5395025]stephanmc[/MENTION] you are the MAN!!! downloading right now the new 11/11 version, and try the video recording
[Nexus 4 Android Development] stephanmc:
Haha, thanks for your kind words!
[Nexus 4 Android Development] Thrikiller18:
[MENTION=5395025]stephanmc[/MENTION] thanks for quick update. I have 2,3 questions.

1- does camera works well like lollipop days?

2- Is cyanogenmod still a battery killer? becaues I have never experienced good battery life with it

3- since there's not cmte, are we able to use substratum legacy?
[Nexus 4 Android Development] mackendw:
Flashed 11/11 build and pico gapps...came up OK...however the phone data connection doesnt work. Using virgin mobile in Canada. Any ideas...?
[Nexus 4 Android Development] Cizzle4:
did you enabled it from "other" in settings?
[Nexus 4 Android Development] mackendw:
Yep, I had to enable the network after first searching for mobile networks. this is the first ROM in a long while that I had to do this on...

thx.