yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] 1stMako:
No problems at all.

The google search is not working, I think this is due to using Pico gapps?
[Nexus 4 Original Android Development] nitin.chobhe:
You mean from the home screen search? Do you have Google app installed?

Nitin
[Nexus 4 Original Android Development] 1stMako:
Tnx, after installing Google App, that search bar is working too :)
[Nexus 4 Original Android Development] jdtj98:
Hi Nitin, I would like tasty Pie on my Nexus 4 but I have no memory to flash gapps and I don't know how do config.text. Do you know where I can find gapps smallerthan pico?
[Nexus 4 Original Android Development] NanoChromatiC:
Hi I try to check for update on system update in settings then I pressed flash button but error message showed up "Failed to setup flash. Clean /cache and retry".

I do wipe /cache from twrp and reboot but same thing happened.

Or should I just update from twrp? How to update without losing data.

Thanks man, awesome work.
[Nexus 4 Original Android Development] nitin.chobhe:
I flashed with Pico gapps without issues. May be you can flash ROM, let it boot, then reboot to twrp and flash gapps.

This was just the first build. Don't test system update yet. Lol... flash from twrp. What version are you on currently?

Search dirty flash and you should find how to do that.
[Nexus 4 Original Android Development] NanoChromatiC:
Ah, I thought bug on mine. No problem :laugh:

Im on last build 20190219, cant remember prev one 20181911 build maybe. :good:
[Nexus 4 Original Android Development] PavelPerm:
[MENTION=5044214]nitin.chobhe[/MENTION] Please add ambient natfication.
[Nexus 4 Original Android Development] nitin.chobhe:
No feature requests please. Adding features is taken care of on ROM level. I'm not planning to add any additional features than Carbon ROM.

You can request this on Carbon ROM G+ page (till it is available). I'll not be responsible for answers that you get ;)

Nitin
[Nexus 4 Original Android Development] 1stMako:
After 2 flawless days with Carbon I really like it and will definitely stay with it. Charging LED is just one reason :)

Tnx Nitin for this fully functional (including Videos) Pie version for good old Mako:good:
[Nexus 4 Original Android Development] peppin96:
[MENTION=5044214]nitin.chobhe[/MENTION] everything works very well in the last build (pie) including bluetooth. No problems with pico gapps. Just I have one trouble, Pixel Launcher doesn't want to install (play store or apk it says "app not installed"). I tried removing the default launcher as system app but this didn't work. Tried with rootless Pixel launcher (even if I have installed magisk) but same error. Any possible solution?

Edit: I figured out. Flashed Pixel launcher zip in twrp, everything works perfectly.
[Nexus 4 Original Android Development] nitin.chobhe:
Updated the device, kernel and vendor trees and built a new build...

Download link: https://www.androidfilehost.com/?fid=1395089523397904553

Updated the OP and replaced screenshots in post#3 with Pie screenshots :good:!

Nitin
[Nexus 4 Original Android Development] __init__:
Dirty flashed the new build and it's much faster and smoother. I was having lag and memory issues with the previous build but those seem to be fixed now. Thanks Nitin!
[Nexus 4 Original Android Development] bgoel4132:
I an having Bluetooth issue with carbon roms only nitrogen works absolutely fine

Do I need to follow the method mentioned by voron??

Except that the ROM is super fluid.

Thanks man!! [MENTION=5044214]nitin.chobhe[/MENTION] you rocks!!
[Nexus 4 Original Android Development] nitin.chobhe:
Try that. Bluetooth works for me without any issues.

Nitin
[Nexus 4 Original Android Development] jollykid07:
Hi [MENTION=5044214]nitin.chobhe[/MENTION].. I just want to ask why is that when I flash the new ROM, it's always asking to repartition my system?
[Nexus 4 Original Android Development] nitin.chobhe:
What's your flashing process? I flashed all the test builds and it never asked me to do that?

Have you re-partitioned it earlier?

Nitin
[Nexus 4 Original Android Development] jollykid07:
Flashing process I did was the standard. Wipe data/cache, dalvik/cache, system. I didn't repartition any of my file system. I'm on the latest CR 6 before I try to flash the CR 7
[Nexus 4 Original Android Development] nitin.chobhe:
Do you have latest twrp? Wipe everything except internal storage and then flash the ROM. No one is facing this issue.

Nitin
[Nexus 4 Original Android Development] jollykid07:
Yes. I'm on the latest TWRP. I did every step the way it is but still the same error. What should I need to do?
[Nexus 4 Original Android Development] voron00:
There is no more automatic repartitioning, need to repartition manually if flashing on stock device.
[Nexus 4 Original Android Development] nitin.chobhe:
Flash the factory image and start over.

Nitin
[Nexus 4 Original Android Development] jollykid07:
About that I don't have a pc to flash factory image coz my pc already gave up..lol.. can you pls give me a copy of that factory image?

---------- Post added at 03:06 PM ---------- Previous post was at 02:59 PM ----------

I didn't try it even once so I don't have an idea and I'm afraid to brick my beloved N4
[Nexus 4 Original Android Development] karsondang:
Require repartition message

Same here on CR-7.0 0302 :( . I've change to previous version and it's ok
[Nexus 4 Original Android Development] Spike`:
had the same problem, always giving space problems (and doing the usual wipe without internal storage) and i never did any repartition

installed again Nitrogen without any issues, then wiped again and tried to install Carbon and same space problem

then i tried do this

1. downloaded the previous carbon version, wiped and install that previous version without any problems

2. wiped again and tried the latest one and this time installed without any problem

so.... not sure, something in previous version that do something to partition that the new version requires?

Edit: the room seems really nice, too bad doesn't have the volume key wake up screen, my power button is 99% dead :| so nitrogen for me again
[Nexus 4 Original Android Development] 1stMako:
I had no problems with installing both last Carbon versions, but I have recognized that I just have 1,23GB free space left and a total of 5,67GB?

So it seems that my partitions have been resized? How do I resize them correctly (never did that before)?
[Nexus 4 Original Android Development] dennis369:
Since you had no problems installing several version of the Carbon ROM it is likely your partitions are fine.

Unless I'm mistaken I think the easiest way to restore everything is to flash a factory image.

Manually view and resize partitions

Disclaimer: not for the squeamish

Several months ago I found the following thread https://xdaforums.com/nexus-4/general/guide-increase-nexus-4s-partition-space-t3800264 in these forums. It involves pushing an external application 'parted' to your device. The first parted command in his sequence of steps is to simply list all partitions and sizes. If you scroll down to the third reply in that thread you will see the what a default Mako 8GB partition table looks like.

Here is my partition table after installing Carbon ROM on my Mako 16GB

Model: MMC 016G92 (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 524kB 67.6MB 67.1MB fat16 modem
2 67.6MB 68.2MB 524kB sbl1
3 68.2MB 68.7MB 524kB sbl2
4 68.7MB 70.8MB 2097kB sbl3
5 70.8MB 71.3MB 524kB tz
6 71.3MB 94.4MB 23.1MB boot
7 94.4MB 117MB 23.1MB recovery
8 117MB 118MB 799kB m9kefs1
9 118MB 119MB 799kB m9kefs2
10 119MB 120MB 799kB m9kefs3
11 120MB 121MB 524kB rpm
12 121MB 121MB 524kB aboot
13 121MB 122MB 524kB sbl2b
14 122MB 124MB 2097kB sbl3b
15 124MB 124MB 524kB abootb
16 124MB 125MB 524kB rpmb
17 125MB 125MB 524kB tzb
18 125MB 126MB 524kB metadata
19 126MB 143MB 16.8MB misc
20 143MB 159MB 16.8MB ext4 persist
21 159MB 1493MB 1334MB ext2 system
22 1493MB 1627MB 134MB ext4 cache
23 1627MB 15.8GB 14.1GB ext4 userdata
24 15.8GB 15.8GB 524kB DDR
25 15.8GB 15.8GB 507kB grow
[Nexus 4 Original Android Development] 1stMako:
Tnx, but in fact I always (until using Carbon ROM) had around 3GB free space and now neary half of that is gone.

It seems that my partitions are ok, but apps now consume 4GB - which is impossible. I have used several apps to check that, but that 1,5GB are just impossible to drill down :(
[Nexus 4 Original Android Development] nitin.chobhe:
Why not check the partition table (like the post above yours) and find out where is the space.

Nitin
[Nexus 4 Original Android Development] 1stMako:
I have checked and found only minor differences to the posted table in the other thread:

- Position 21: End=1493MB Size=1334MB system

- Position 22: Start=1493MB Size=134MB cache

So essentially my system partition is 453MB larger and my cache partition therefore 453MB smaller than in the posted table.

I think that differences are OK and due to carbon ROM?

Otherwise I just summed up all my apps and everything is fine with the stated number of 4,1GB.
[Nexus 4 Original Android Development] DjangoOne:
Works fine on my N4. I use it with GApps Pico and Magisk... Thanks a lot :) Will you also update the ROM and will the update channel work, or is this a one-time version?

Greetings, Django
[Nexus 4 Original Android Development] nitin.chobhe:
This should get official Carbon version and will be build with Carbon's weekly or monthly releases. Plan is to get the updater working. But I'm not yet sure.

Nitin
[Nexus 4 Original Android Development] bgoel4132:
I am having some audio issue on using the google phone

The person on other side is unable to hear me is it related to rom i checked it manier time by clearing data of phone app and all
[Nexus 4 Original Android Development] __init__:
I'm having a weird battery bug where sometimes if I reboot the phone the battery percentage drops to 0%. This doesn't happen every reboot but it happened twice today. Never had any problem like this before
[Nexus 4 Original Android Development] nitin.chobhe:
Change the battery.

I don't think it is related to ROM.

Nitin
[Nexus 4 Original Android Development] 1stMako:
I have solved my low free space riddle. After doublechecking with the Mako of my girlfriend (still on Oreo Nitrogen) I recognized that everything with Carbon partitioning is fine.

The root cause were my apps, which I ported with Titanium Backup. Facebook was 650MB in size and not in user data, but the program itself. After deinstalling the biggest apps and reinstalling them I gained a full GB in space and now all is fine again with space!

Only problem left is with WhatsApp, which seems to go into deep sleep and therefore I am not receiving messages until opening WhatsApp. I have already changed the app to "non optimized for battery", but without success - anybody a hint?
[Nexus 4 Original Android Development] dennis369:
Yes, your partitions were resized by the repartition.sh script in Carbon ROM.

If you are successfully running Carbon ROM then the install including partition resizing went perfectly fine.
[Nexus 4 Original Android Development] nitin.chobhe:
Guys, if someone of you still want Oreo build with latest security (well till Feb 2019), you can head over to carbon download page and get it :good:

https://get.carbonrom.org/device-mako.html

Nitin
[Nexus 4 Original Android Development] 1stMako:
My WhatsApp-issue:

I researched and tested...again due to Titanium Backup! After deinstalling and reinstalling WhatsApp I am receiving all messages. Glad but also gutted for TB causing that bunch of problems.
[Nexus 4 Original Android Development] HumbertoC:
Hi, Nitin. Been a fan of your work ever since I first flashed NittrogenOS on my mako, that has been passed to my oldest son and he was really excited eith the possibility of having Pie on his device. As always, you bring the best to the table, so I decided to give Pie a try, but I end up not being able to flash the ROM, despite doing all the procedures. I updated TWRP to the latest version (3.2.3.0), picked up GApps (ARM/9.0/Pico) and Carbon latest build, wiped all but internal storage, but it doesn´t stick and fails almost immediately. Didn´t get the code it shows (my mistake...) on both times I tried, so I just restore the backuyp I did before trying to upgrade... Any ideas? Thanks for the hard work and 4 keeping mako ALIVE and KICKING!!!

Edit: I get ERROR: 7 (tried again, this time with only ROM in queue)... If it helps:good:
[Nexus 4 Original Android Development] nitin.chobhe:
Thanks! Did you try installing just the ROM zip?

Nitin
[Nexus 4 Original Android Development] HumbertoC:
Yes, no go! Don7t know what might be the problem, got over 70% battery also...:confused:
[Nexus 4 Original Android Development] nitin.chobhe:
Take a screenshot or photo of the error. I was able to install it without issues? May be a partition issue?

Nitin
[Nexus 4 Original Android Development] HumbertoC:
When I wiped all but internal storage it formated as ext4fs, as usual... Here are the shots I took:

https://imgur.com/a/yCEFPUw

---------- Post added at 03:25 PM ---------- Previous post was at 03:18 PM ----------

Just took a better look at the image from the flash attempt and it says partition too small and I need to repartition... Saw a post some pages back with info about this, but I never had that issue before
[Nexus 4 Original Android Development] nitin.chobhe:
Try this build: https://xdaforums.com/showpost.php?p=78970069&postcount=168

Let me know if it works.

Nitin
[Nexus 4 Original Android Development] HumbertoC:
Will reply once I tested it!

THANKS AGAIN!
[Nexus 4 Original Android Development] HumbertoC:
Installed???Thanks a MILLION!
[Nexus 4 Original Android Development] Adyq:
wow...

just install it Everything look smooth

For everyone have troubled installing it make sure you re partition your system partition into large one seek this thread for info

nitin How to get The pixel NAVbar ?
[Nexus 4 Original Android Development] nitin.chobhe:
Check under Carbon fibres - gestures

Nitin
[Nexus 4 Original Android Development] nitin.chobhe:
Updated the source and device trees... That means it is March security patch. Also added back the re-partition script to avoid hassle of doing that manually.

Download link: https://www.androidfilehost.com/?fid=1395089523397916326

Enjoy!

Nitin
[Nexus 4 Original Android Development] HumbertoC:
:good::good::good:Gonna flash it right now:D
[Nexus 4 Original Android Development] DCCentR:
Does this rom have SOD issue like on LOS roms?
[Nexus 4 Original Android Development] nitin.chobhe:
Never happened to me also no one reported it. That suggests it wouldn't be there :fingers-crossed:

Nitin
[Nexus 4 Original Android Development] mareoo:
Hello, I downloaded 0323 and 0302 but both with "Too small /system partition detected (must be at least 1333788672 bytes). You need to repartition your device before installing this rom." (ERROR: 7)

What can I do please? Is there way to transfer repartition package or another ROM to phone without system?

Thank you.

---------- Post added at 03:05 PM ---------- Previous post was at 02:22 PM ----------

Oh fortunately I found another ROM in storage. There should definitely be some warning and information in the first post as others may not be so lucky as me.

I looked on Nexus 4 Repartition but I don't understand it well so this is probably not for me, at least for now.

And I'm still interested, if there is a way to solve the problem one can have, if he hasn't working ROM in storage. Can happen.
[Nexus 4 Original Android Development] nitin.chobhe:
Why not get the ROM from OP and flash it without any errors?

Nitin
[Nexus 4 Original Android Development] x010101:
I had partition error with ROM from OP (0312-1756). Clean flash 0223-0840 then dirty flash 0312-1756 and works perfect now.
[Nexus 4 Original Android Development] nitin.chobhe:
You mentioned 0323 in your first post - there is no such version iirc. Good that you got it working.

Nitin
[Nexus 4 Original Android Development] x010101:
It wasn't me ;)
[Nexus 4 Original Android Development] nitin.chobhe:
Oops, my bad :silly:

Nitin
[Nexus 4 Original Android Development] mareoo:
Sorry, 0312 and 0302. From Original post? I don't understand, these are from original post.
[Nexus 4 Original Android Development] nitin.chobhe:
It means OP, there is only one link in OP which is most updated.

Nitin
[Nexus 4 Original Android Development] mareoo:
I see, I downloaded 0302 sometime during the week but I hadn't time for install, yesterday I downloaded 0312 and didn't delete 0302. So I tried to flash 0302 too, when 0312 failed, but with the same result.

I didn't search for any other source.
[Nexus 4 Original Android Development] nitin.chobhe:
Please go on first page and get the link from first post.

Let's avoid the confusion that you are having.

Nitin
[Nexus 4 Original Android Development] mareoo:
Of course I used link from first post, I'm telling I didn't search for any other source.
[Nexus 4 Original Android Development] HumbertoC:
PM çHi. Flashed the latest build, all good but camera doesn't work. Tried 2 older versions of G Cam but nothing...
[Nexus 4 Original Android Development] nitin.chobhe:
Camera works for all of us. What build did you flash? What happens with default camera?

Nitin
[Nexus 4 Original Android Development] HumbertoC:
Standard camera doesn't open. Just shows error... Can try flashing latest build again (the one you posted this weekend)...
[Nexus 4 Original Android Development] nitin.chobhe:
Yes, but for me, the camera worked on all builds. Also no one reported that it didn't work.

Do a clean flash and report back.

Nitin
[Nexus 4 Original Android Development] DCCentR:
Will i have any problems with installing this rom, if i already make repartition https://xdaforums.com/nexus-4/orig-development/repartition-nexus-4-repartition-t3844383 ?

Just install over it?
[Nexus 4 Original Android Development] Adyq:
Hi Nitin ,, this rom is Rock solid smooth I'm using latest magisk for root , work like charm

So far only found 1 forced close app

Sound app, when choosing ringtones

Can somebody test it I'm always on latest build from Nitin

Thx guys
[Nexus 4 Original Android Development] DCCentR:
Also have this app crashes, but on LOS 16
[Nexus 4 Original Android Development] HumbertoC:
Hi, Nitin! Thanks for the tip (again). Did a clean flash and all is running smoothly. Great job:)
[Nexus 4 Original Android Development] nitin.chobhe:
Here is the new build: https://www.androidfilehost.com/?fid=1395089523397919845

This is "user" build as per Carbon ROM policy and should work normally.

Nitin
[Nexus 4 Original Android Development] DjangoOne:
Can i install the OPAL-build over the TBA-installation, or do i have to wipe?
[Nexus 4 Original Android Development] nitin.chobhe:
Should be ok to install over last build (but have a backup in case something goes wrong)

Nitin
[Nexus 4 Original Android Development] DjangoOne:
Hi Nitin,

i did so. No problems overall, thank you :)
[Nexus 4 Original Android Development] wizmart:
Hi Nitin, coming from nitrogen pie do i need to repartition first before flashing ? just tried 1756 but got partition error then tried 0840 and after checking partition it just rebooted back to recovery....?
[Nexus 4 Original Android Development] sh.khaksar:
Hello

First of all, thank you for this wonderful rom.

Unfortunately, I have problems with this rom. My phone just get super hot on 3G network, does anybody else have this problem?

Also, my phone just shut down on Instagram video playing and this occurred several times
[Nexus 4 Original Android Development] nitin.chobhe:
No repartition is needed. Get the version from OP and do a clean flash.

No problems here. Was it a clean install?

Nitin
[Nexus 4 Original Android Development] HumbertoC:
Nitin solved my problem(guess it's the same as yours,was also on NitrogenOS Pie):

https://xdaforums.com/showpost.php?p=79090772&postcount=236:good:

---------- Post added at 11:13 AM ---------- Previous post was at 11:07 AM ----------

Sorry Nitin, didn't see your answer to wizmart... Great job as always!
[Nexus 4 Original Android Development] nitin.chobhe:
That shouldn't be needed now as we have the latest build with the same partitioning commits in OP. As mentioned on last page, this is "user" build (and not "userdebug" one).

Nitin
[Nexus 4 Original Android Development] sh.khaksar:
Yes, it was a clean install, maybe it's a hardware problem, the phone is quite old and I borrowed it from my friend for a week (I mean I'm not familiar with its past:)) ).
[Nexus 4 Original Android Development] HumbertoC:
Yes, I figured it out when I read your reply to wizmart, sorry for any inconvenience!:good:
[Nexus 4 Original Android Development] nitin.chobhe:
May be the battery is dying; but no one reported that type of the behavior.

No worries :)

Nitin
[Nexus 4 Original Android Development] wizmart:
Yes!!! latest opal running smooth now, and without repartitioning... thanks Nitin
[Nexus 4 Original Android Development] Burner2000:
Nitin,

Thanks for continuing to maintain & bring out newer Android versions to N4. Really appreciate your efforts.

Just installed the ROM yesterday. So far so good.

During the first try of installation, my phone threw up Error 7: Partition space not available or something. Was on Nitrogen Oreo before. Downloaded the latest Carbon Pie ROM and tried installing per instructions on Page 1 when the error showed up. Had to download Carbon ROM from Feb and it worked. Dirty flashed the latest version of ROM along with apps and all is good to go.

Just one question, since we are repartitioning the drive, can we increase the space to accommodate larger versions of Open Gapps (at least micro) so that Google Search, Assistant are made available? I tried installing Pixel Launcher, but could not get it work even after installing Magisk 18.1.
[Nexus 4 Original Android Development] nitin.chobhe:
Thanks!

Going forward, I'm planning to remove the repartitioning script from the device tree. So that user can repartition the drive with the size that they want. That's the only change I see. Not planning to increase the partition size.

Nitin
[Nexus 4 Original Android Development] mauriciognr:
Hello. I got error 7 when trying to clean install Opal March 18 build, i wiped everything and even used the format data option, no luck. Had to use TBA Feb 23 build and then flash Opal march 18 on top of it.
[Nexus 4 Original Android Development] MAHEDI A L I:
Can you please tell the release date of next build.. Cause this build (OPAL) Says update disabled.. When tried to check for updates....
[Nexus 4 Original Android Development] nitin.chobhe:
OTA would take time to get in action.

And don't ask for ETA. It'll be released when it is ready.

Nitin
[Nexus 4 Original Android Development] MAHEDI A L I:
Thanks for the rom...

[MENTION=280897]nitin[/MENTION]
[Nexus 4 Original Android Development] Giogts:
remaining bug?
[Nexus 4 Original Android Development] nitin.chobhe:
What do you mean by that micro post?

Nitin
[Nexus 4 Original Android Development] mauriciognr:
After a couple of days using this rom:

- Alarm has no sound, and it FCs when trying to select an audio file.

- UI seems bigger than LineageOs 15.1 (Instagram is way bigger). Can be fixed changing screen size setting.

- Battery drains a lot faster than on LOS 15.1 (just installed BBS to see why is that).

- Autobrightness seems to misbehave sometimes, had to disable it.
[Nexus 4 Original Android Development] nitin.chobhe:
Thanks for your feedback :good:

Here are my comments:

1. This is known issue and will be fixed soon

2. Nothing changed in DPI, might be some specific setting at your end

3. No comment - I won't compare two very different android versions (let alone different ROMs)

4. Works for me (and I assume for others too, as no one complained about it) :)

Nitin