yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] nitin.chobhe:
Here is the new build with fix for no default Alarm tone...

Also updated the device, kernel and vendor trees. Overall performance looks better than the last builds.

Download link:

https://sourceforge.net/projects/pe...AL-UNOFFICIAL-mako-20190330-1420.zip/download

Official builds should be out soon ;) source: this

Enjoy!

Nitin
[Nexus 4 Original Android Development] gd6noob:
I have a problem. TWRP isnt reading my 32gb flash drive and Im trying to sideload the rom and its saying the system partition is too small.

I have TWRP 3.2.3.0 installed.
[Nexus 4 Original Android Development] nitin.chobhe:
Are you trying OTG? What's your flashing steps? In details please.

Nitin
[Nexus 4 Original Android Development] tdurack:
LG LS970 CarbonROM Port?

Google Nexus 4 CarbonROM is fantastic - thanks for all the hard work.

What are the chances of an LG LS970 CarbonROM port? (Don't ask, don't get :)
[Nexus 4 Original Android Development] nitin.chobhe:
Thanks!

I don't see any chances of ls970 if you ask me :|

Nitin
[Nexus 4 Original Android Development] gd6noob:
Reboot into TWRP

Format Data

OTG flashdrive doesnt read. I have a 32gb (FAT32) with the rom and gapps, so I tried to sideload it and it stops saying my system partition size is too small
[Nexus 4 Original Android Development] nitin.chobhe:
Does OTG work by default on mako?

Regarding system partition error, use the repartition script. I replied to you in the repartition thead where you posted your query. Don't know why you are asking that again.

Nitin
[Nexus 4 Original Android Development] gd6noob:
Got it working now... thanks
[Nexus 4 Original Android Development] nitin.chobhe:
Good that you got it working. I suppose you repartitioned the system partition.

BTW guys, official release is just around the corner :D

Nitin
[Nexus 4 Original Android Development] mauriciognr:
Half-stupid question here. How do i enable the multiwindow mode? I long-press recents button but nothings happens, went to the button settings but saw no reference to it. Thanks
[Nexus 4 Original Android Development] nitin.chobhe:
Refer these steps: https://www.sammobile.com/2019/01/04/how-to-open-apps-in-multi-window-one-ui-android-pie

Nitin
[Nexus 4 Original Android Development] Burner2000:
Nitin,

I found the instructions for re-partitioning N4 on that particular thread a little complex. I got a couple of questions for which you may or may not have answers, but hoping that you can still answer them. Sorry for posting this here...may be not the right thread.

1. I understand that re-partitioning script will add 1.5G of space in to a vendor partition. Is it possible to increase that space before running the script? Since you have mentioned earlier that going forward, Carbon Pie ROM will not have the above script included but the user can re-partition the drive to how much ever space is desired. Would you be able to provide a script if the official one does not support changing the drive space?

2. If you have any clue, if I add another 500MB of space to the above size, would you guess that I will be able to install Gapps of slightly higher size (micro perhaps) which will give me Assistant plus Search capability?

I'am already using early March release of Carbon Pie on my system and I hope to do a fresh flash of official ROM when released. I do miss Assistant along with OK Google and thus my questions.

Lastly, can someone who has used the re-partitioning script successfully can provide tips on what not to do during flashing in order to prevent ruining the device?

Thanks.
[Nexus 4 Original Android Development] Adyq:
Can't wait .. :svetius:
[Nexus 4 Original Android Development] Mister sp:
https://youtu.be/y8RQNNNyPpA
[Nexus 4 Original Android Development] tdurack:
Pinned App Screen Stops Updating

Running 20190318-0846 build. Pin app screen, turn screen off/on a couple of times, screen stops updating. Have to exit out of pin to recover.

Affected: Urban Biker, GPS Locker, WhatsApp, Chrome, GMail

Unaffected: Strava, Google Maps, Instagram, Clock, Velographic

(Not exhaustive list, just examples)

Any ideas?
[Nexus 4 Original Android Development] nitin.chobhe:
So finally, the official build is out....

Get it from here: https://get.carbonrom.org/device-mako.html

Changelog: https://carbonrom.org/carbonrom/changelog/

Note that the build size is 385 MBs and that is because of perf vendor and not using brotli compression. However I was able to install ROM and gapps in one go.

If you get error related to system partition size, then please increase the partition size (Refer XDA threads for how to do that)

Nitin
[Nexus 4 Original Android Development] tdurack:
Installed official release, same behavior...
[Nexus 4 Original Android Development] nitin.chobhe:
What do you mean by "pin app"?

Nitin
[Nexus 4 Original Android Development] tdurack:
Android Screen Pinning: Settings -> Security & Location -> Advanced -> Screen Pinning - On

Open app, press overview, press app icon, select pin from menu, this keeps app in view until you unpin.

Turn screen off/on a couple of times, screen stops updating for some apps (see examples in previous post)
[Nexus 4 Original Android Development] nitin.chobhe:
Have you tested this on any other ROM? I never used this feature (on mako or my Pixel 2 XL).

Nitin
[Nexus 4 Original Android Development] tdurack:
Yes, tested and working on NitrogenOS :)
[Nexus 4 Original Android Development] nitin.chobhe:
I meant any other Pie ROM (r35) like Lineage OS?

Nitin
[Nexus 4 Original Android Development] tdurack:
Gotcha, no, tested on CR only.

Full story: I run Urban Biker app as my Android bike computer. App has a “keep above lock screen” setting that works like screen pinning. Works correctly on Nitrogen, not CR. Tried screen pinning as an alternative, same problem. Reported to devs, they could not find the bug. Checked a few other apps, and found the same behavior.
[Nexus 4 Original Android Development] nitin.chobhe:
My gut feeling is that this is not handled by ROM. Had that been the case, it wouldn't have worked for any of the apps. It is worth trying that on Lineage 16.0 and reporting back here :laugh:

Nitin
[Nexus 4 Original Android Development] nitin.chobhe:
Carbon blog: https://blog.carbonrom.org/2019/04/10/were-live.html

Nitin
[Nexus 4 Original Android Development] tdurack:
For what it is worth, comments from Urban Biker devs:

"Okay, did the test on stock Xperia 9.0, tried with both screen pinning and screen locking, and display was updating normally all the time (at least 4-5 minutes). No issues. Tracking was active, and we simply observed clock in the topmost meter field. One thing that didn't work, though, is 'Keep screen on' feature. So had to increase display timeout in Android settings to 10 minutes. Not sure if this has anything to do with your issue. Maybe all of this indicates some Android behavior change, or obscure option/feature or something..."
[Nexus 4 Original Android Development] nitin.chobhe:
Good to know that... Thanks for sharing, I hope that they solve it.

Nitin
[Nexus 4 Original Android Development] matusala:
Everything is beautiful so far. I use android 9 on my nexus 4 for week now and it's amazing. It's just missing one thing. When screen is on and on wallpaper double tap on free screen sleeps the phone. It is so good to have that option. Please add double tap to anywhere on free space on android desktop to make device sleep. Very convenient and cool feature.
[Nexus 4 Original Android Development] UncleJean321:
How to enable Led Notification ?

Edit.

Nvm used Light Flow app :D
[Nexus 4 Original Android Development] bgoel4132:
Hey [MENTION=5044214]nitin.chobhe[/MENTION] had some weird issue in latest opal build

Swipe up on home button is not available and digital wellbeing is not shown in setting menu and the recent tab doesn't look like that of pie instead it looks like that of oreo or some older version

Except these the rom is super fluid.

Thanks a lot man
[Nexus 4 Original Android Development] nitin.chobhe:
Was that a clean flash?

What is your flashing process and what all things did you flash?

All those things work for me (and I expect for others too otherwise there would have been reports about them).

Nitin
[Nexus 4 Original Android Development] bgoel4132:
Yes it was a clean flash i first installed rom than resize system than flashed latest pixel gapps by delvid.

And boot system

I always used the pixel gapps by delve but this is the first time i faced such error
[Nexus 4 Original Android Development] nitin.chobhe:
I'm not sure about those gapps as I've not used them. Can you just flash the ROM and check "Swipe up" and "Recents"?

Nitin
[Nexus 4 Original Android Development] bgoel4132:
The issue resolved was related to gapps package
[Nexus 4 Original Android Development] nitin.chobhe:
Yes, that was expected ;)

Thanks for confirming :good:

Nitin
[Nexus 4 Original Android Development] alan247:
having battery problems

Thanks Nitin and co for all your work on the Nexus 4 ROM's.

I'm having a big issue with battery on this new ROM. Battery either not displaying properly, or dying early. It's gone from 88% to 37% from about 20 minutes use. Now it'll boot into the ROM, then instantly shut-off. And I will see variable 36% to 60% to 45% battery fluctuation every time I try to restart it backup.

I've installed CARBON-CR-7.0-OPAL-WEEKLY-mako-20190408-2246.zip, and used the TWRP3231UA from the repartition threat, and GApps ARM 9 nano.
[Nexus 4 Original Android Development] holaggg:
CarbonROM Pie Encryption

Thanks for your hard work Nitin! Does this ROM support Pie encryption? I am getting an error on reboot asking for the password pattern in recovery.
[Nexus 4 Original Android Development] nitin.chobhe:
That's clearly your battery issue. How old is it? You need to replace it.

I think you missed something (or did something extra). Were you encrypted before flashing? What ROM were you on before flashing? What steps did you follow for flashing the ROM?

Nitin
[Nexus 4 Original Android Development] UncleJean321:
Had someone problem with SOD (sleep of death) on this rom ? Got twice this problem when I turned on Wifi or internet data and screen go off then phone would not wake up. Earlier had similiar problem on Nitrogen OS, but latest updates fixed this problem.
[Nexus 4 Original Android Development] nitin.chobhe:
Havent't had any such SOD, using the build since I built it and using it extensively.

Anyone else?

Nitin
[Nexus 4 Original Android Development] alan247:
The battery is pretty new, I replaced it 3-4 months ago. And plus I was just on your Nitrogen2 ROM before I upgraded to this Carbon one, and had no problems.

In either case I've re-flashed everything with the PICO version of GAPPS like advised, so I'm just going to leave it to die quietly on stand-by as usual (it's a spare phone) and see if it still has a sudden shut-down at like ~35%. (maybe it went funny coz i was playing with it and personalising and toggling settings etc after install :confused:)

---------- Post added at 06:33 PM ---------- Previous post was at 06:19 PM ----------

I had it for a month or so after I installed the Nitrogen2 ROM too, but it did seem to stop happening after that for some reason. I don't know enough about these things to offer an explanation. (I assumed there's no OTA update in background, so I don't know why it stopped happening).

Is there something with these phones having to get used to the ROM? I can't imagine that being a thing... Anyway I've only installed this Carbon ROM yesterday, so I'll report back if I also have the same problem with this one.
[Nexus 4 Original Android Development] bgoel4132:
Hey [MENTION=5044214]nitin.chobhe[/MENTION] i got the dnd for driving working on our mako

Its nothing related to rom or gapps just install the android auto then go to dnd and add dnd it will show for driving and bingo you are done

Post this you can uninstall the android auto!!
[Nexus 4 Original Android Development] vukaleksic:
yes. Haven't had any SOD's though on latest pixel dust rom. This one unfortunately has a lot. Great rom besides that, thanks! :)
[Nexus 4 Original Android Development] nitin.chobhe:
Latest puxeldust?

Good for you :good:

Nitin
[Nexus 4 Original Android Development] bgoel4132:
Is the pixel dust updated post oreo??
[Nexus 4 Original Android Development] vukaleksic:
nope. nougat

---------- Post added at 01:09 PM ---------- Previous post was at 12:46 PM ----------

btw. just to let you know, I always had SOD's on every rom except pixel dust. I guess sinai kernel resolved that somehow.
[Nexus 4 Original Android Development] nitin.chobhe:
May be something specific to your phone then. I never had any sod on any of the roms that I maintain (neither anyone reported that on my threads)

Nitin
[Nexus 4 Original Android Development] bgoel4132:
Hey [MENTION=5044214]nitin.chobhe[/MENTION] just fixed the Bluetooth issue but not by the way mentioned by voron instead i just flashed nitrogen os booted it without gapps then dirty flashed the carbon with gapps and bingo the Bluetooth fixed even my hotspot issue resolved.

Thanks for all your hard work

And now this is the best that is happening to my mako
[Nexus 4 Original Android Development] nitin.chobhe:
See this post on lineage mako thread: https://xdaforums.com/showthread.php?p=79415586#post79415586

As I mentioned, nothing from ROM side. If you don't use messenger then there might be some other app.

Nitin
[Nexus 4 Original Android Development] vukaleksic:
yes, I know that. I had SOD's since the day I bought the phone and tried literally everything what has been proposed here on xda. Found out it's somehow connected to wifi in my case, so it worked fine when I used some app which turns the wifi off as soon as the screen is off. But nevermind, I switched back to pixel dust which is working perfect for me so thank you for that rom :) I'm totally fine with Nougat as this is just a backup phone but am impressed it's working good even after 6 years.
[Nexus 4 Original Android Development] nitin.chobhe:
Guys, new weekly is up for grabs: https://get.carbonrom.org/device-mako.html

Nitin
[Nexus 4 Original Android Development] tdurack:
As an additional data point, tested lineageos 15.1 - this does not have the no-screen-update after screen off/on behavior.

Trying to decide whether I want to try the unofficial lineageos 16.0 release as a test, or the latest CR release.
[Nexus 4 Original Android Development] mauriciognr:
It gives me error 7. I wiped cache and system and still wont install. I am/was on April's build, still trying to get it to install dont want to lose data.
[Nexus 4 Original Android Development] nitin.chobhe:
That's strange. Check

1. Twrp version

2. The downloaded zip if it is ok

Nitin
[Nexus 4 Original Android Development] mauriciognr:
1. Latest official TWRP (3.3.0-0)

2. File is ok, full size, used IDM to download it.

Made a backup of data (with twrp) and internal storage (copy) to my PC, wiped all partitions (incl. storage). ROM installed fine, now im trying to restore and see if the backup works if not well, ill have to re downlaod everything :(

Edit: Backup worked :D

Edit 2: Im getting lots of soft reboots. Well, guess ill have to ractory reset it after all :(
[Nexus 4 Original Android Development] nitin.chobhe:
Yes, definitely looks like you messed it up :)

Clean flash is the way ahead.

Nitin
[Nexus 4 Original Android Development] NanoChromatiC:
Hi, which threads is it? Is that this one you talking about?

Any other way to do it without resize system partition? Thanks
[Nexus 4 Original Android Development] nitin.chobhe:
You can use that one also; but I prefer this re-partition thread by [MENTION=5424240]Clamor[/MENTION]

You can try installing just ROM zip, without re-partitioning and if you are lucky it'll get installed. Then reboot to recovery and try and flash the gapps. Make sure you have backed up everything that you need. No one will be responsible for the lost data ;)

Nitin
[Nexus 4 Original Android Development] NanoChromatiC:
I try to wipe everything include internal, then flash just rom zip but still got error: 7 Too small /system partition detected(Must be at least 1333788672 bytes). So that's mean I have to re-partitioning? :laugh:
[Nexus 4 Original Android Development] nitin.chobhe:
Yes, that's right.

Nitin
[Nexus 4 Original Android Development] NanoChromatiC:
Awesome nitin, thank you.

What gapps you use? Only micro size able to fit in my partition.
[Nexus 4 Original Android Development] nitin.chobhe:
Opengapps Pico

Nitin
[Nexus 4 Original Android Development] jnsson:
Hi. Have found some bugs. I don't really know if this is due to Carbon or not, but when I choose dark theme the app draw and when I long press on homescreen I can't read the text with Pixel Luncher. On my Redmi Note 5 with Pixel Luncher I can read it no problem. And in the notification draw also.

View attachment 4756713

View attachment 4756714

Also, the sound app (or what it's called the app for changing the ringtone and notification tone) crashes.

Other than that, I really like the ROM and is actually surprised this phone still can run Android 9 without being too slow

Skickat från min Nexus 4 via Tapatalk
[Nexus 4 Original Android Development] nitin.chobhe:
What gapps are you using? Did you change the launcher?

Nitin
[Nexus 4 Original Android Development] jnsson:
I installed the open_gapps-arm-9.0-aroma-20190510.zip and I choosed as many Google apps as the installer would allow me to install (do you want to know which I installed?) before I ran out of storage on system partition. Wll I tried with the Pixel Launcher and that's the picture from my last post. I also tried the launcher that came with it, and while that did make it dark in the app draw, it didn't make the Google Feed/Discovery dark.
[Nexus 4 Original Android Development] nitin.chobhe:
I always use open gapps Pico and haven't seen such an issue. Can you try with those gapps?

Nitin
[Nexus 4 Original Android Development] jnsson:
Hmm.. I really like a few of the apps that I install with the aroma version of gapps. I can take a backup of my current installation, install the pico version and just see if it's the same. Because a few of the apps in the aroma can't I find on Play Store and like Pixel Launcher to get Google Feed on the left side I need to have it installed as a systemapp and it's easiest to just have opengapps to installed it

Edit: Well, I can try with pico, but the Pixel Launcher won't be installed as a systemapp

Edit2: I attached opengapps logfile
[Nexus 4 Original Android Development] jnsson:
Right, Now I have tested with pico. While that did make the notification from the build in music app dark text, it still didn't solve the crasching when I want to change ringtone with the Sound app. And I can't even install Pixel Launcher, it just was app not installed

View attachment 4756982

And when I want to change ringtone I first get this

View attachment 4756983

I choose "Sounds"

If I then press any of the "My Sounds" Pixel Sounds" or any other here

View attachment 4756984

It crasches.

This did the same with my last installation with aroma and all my Gapps that I wanted.
[Nexus 4 Original Android Development] nitin.chobhe:
I'll check this. Thanks for the tests.

Nitin
[Nexus 4 Original Android Development] jnsson:
Also, with the Quickstep, I have found that it dosen't show the Google app in the app draw for some reason. It shows in Pixel Launcher and in Lawnchair Launcher. Don't know if this is something you can do something about?
[Nexus 4 Original Android Development] nitin.chobhe:
That's the launcher.

Nitin
[Nexus 4 Original Android Development] __init__:
I have the same issue.
[Nexus 4 Original Android Development] nitin.chobhe:
Yes, I was able to reproduce it and it is also reproducible on other devices. Will be fixed in next build.

Nitin
[Nexus 4 Original Android Development] d_g_m_2000:
hello OP... once i flash the last build and then use opengapps aroma and flash it, with others apps, google photos.. and it crash when i tap to open.

i do proper wipes and redo a clean flash... but this time with pico gapps, then download google photos from play store and was the same... crash it trying to open app.

so i go back to lineage... sorry for no having the proper log... hope this could help.

thanks in advance for your comments and hard work !!
[Nexus 4 Original Android Development] Adyq:
Carbon daily, button is always crash,, I dont know if it s only me since I installed xda gesture app,, uninstalled it still behave the same..
[Nexus 4 Original Android Development] mauriciognr:
Heres a little review i made of this rom (is in spanish): https://www.youtube.com/watch?v=zp0oTWbeaCs

Side note: After using the app AZ Recorder to capture the screen i got a ton of soft rebots, even after uninstalled the app and wipied cache and dalvik in twrp.
[Nexus 4 Original Android Development] nitin.chobhe:
What do you mean? What button?

Do a clean flash and you'll be good to go.

Nitin
[Nexus 4 Original Android Development] __init__:
After the latest OTA my phone is very slow and gets hot.
[Nexus 4 Original Android Development] nitin.chobhe:
Try a clean flash...

Nitin
[Nexus 4 Original Android Development] nitin.chobhe:
The update with May security patch is up if you guys haven't noticed it yet ;)

Nitin
[Nexus 4 Original Android Development] bgoel4132:
Thanks man!! You are great
[Nexus 4 Original Android Development] mauriciognr:
Thanks, dirty flashed a couple of days ago, everything golden.
[Nexus 4 Original Android Development] xuhisive:
Updater process ended with ERROR: 7

Hello I tried to install CarbonROM (downloaded from: get.carbonrom.org/device-mako.html : File: CARBON-CR-7.0-OPAL-WEEKLY-mako-20190515-1110.zip) . When I tried to install this via TWRP (after wiping my existing System + Dalvic + data + etc.) I get the below error:

Installing zip file '/sdcard/CARBON-CR-7.0-OPAL-WEEKLY-mako-20190515-1110.zip'

Checking for Digest file...

Warning: No file_contexts

Target: google/occam/mako:5.1.1/LM...... / release-keys

Checking size of the /system partition...

Too small /ssytem partition detected (must be atleast 133.....72 byte.) You need to partition your device before installing this ROM.

Updater process ended with ERROR: 7

Error installing zip file 'sdcard/CARBON-CR-7.0-OPAL-WEEKLY-mako-20190515-1110.zip'

Any idea what I did wrong?
[Nexus 4 Original Android Development] nitin.chobhe:
You need to read the error and then read the OP; I'm sure you'll find out your issue and solution :fingers-crossed:

Nitin
[Nexus 4 Original Android Development] NomdE:
Love this rom..longest rom ive used so far..

My assesment is that my battery is already failing me but i would like to try some tweaks first before recalibrating it or replacing it.

Any suggestions on what kernel to use combine with this rom for longer battery usage?
[Nexus 4 Original Android Development] nitin.chobhe:
I don't think there are kernels for pie on mako.

You may install kernel auditor from play store and try tweaking the frequencies and see if that helps.

Nitin
[Nexus 4 Original Android Development] CelticWarrior:
Thank you very much for your contribution to the nexus 4.

I installed the latest release of this rom https://mirrorbits.carbonrom.org/mako/CARBON-CR-7.0-OPAL-WEEKLY-mako-20190529-0334.zip

I have incremented the / system partition with the procedure found in the post https://xdaforums.com/nexus-4/general/guide-increase-nexus-4s-partition-space-t3800264

The installation was perfect.

I installed the gapps package recommended in op.

Rooted with the latest version of Magisk 19.1.

Google Camera updated to version 2.7.008 available here https://www.apkmirror.com/apk/google-inc/camera/camera-2-7-008-release/

Battery recharging is very fast and at the moment I have no problems of any kind.

I made an apps restore with Titanium and only had to reinstall the Facebook and Yazio apps.

Thank you so much guys !

I wait the new releases;)
[Nexus 4 Original Android Development] saeedgh08:
Thank u man great job

Every things is working?

No bug? (Camera, wifi, data and etc)
[Nexus 4 Original Android Development] nitin.chobhe:
Read the post above yours :silly:

Nitin