• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM] [UNOFFICIAL][LP 5.1.1] CarbonROM (Z00A) - Updated August 9, 2016

OfficerJimLahey

Retired Forum Moderator
Feb 12, 2014
2,716
1,306
0
Sunnyvale
www.chebucto.ns.ca
[ROM] [UNOFFICIAL][LP 5.1.1] CarbonROM (Z00A) - Updated August 9, 2016


Another build, compiled from source. But before I get too far...

Code:
#include 
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and
 * YOU acknowledge you are doing so at your own risk.
 */
Now that that's out of the way, this is a build of CarbonROM, using the device tree, kernel and advice from @jrior001 and @crpalmer. The current build is based off the latest CyanogenMod commits (and upstream AOSP) available at the time..

NOTICE:

Final build coming.

As work with Nougat begins, I will need to switch over to the MM bootloader. I won't be going back (downgrading) to check builds. For OctOS, as that is MM anyway, I can begin special builds (reliant on the MM bootloader) once I become established. For Carbon LP, it means the end of the road.

The September Android Security Bulletin should filter down to LP in about a week. Once that is done, I will crank out the final build, test, and post. Device-identity-wise, the only difference between the upcoming build and the one previous is the fix to the "off-path TCP" exploit. The ASB will have other fixes, but to the ROM instead (which is why I prefer to wait for the ASB).

Thank you for all the support. Cheers.​

SCREENSHOTS:

WHAT WORKS:
  • Powers on
  • Phone calls and texts
  • Mobile data (later builds)
  • Torch
  • Charges
  • MTP
  • Play Store

WHAT DOES NOT WORK:
  • GPS works, but does not seem to lock on out-of-the-box. Download your country's gps.conf and replace.
  • Doubtful NFC will work, as it does not look like that functionality is built into CarbonROM (missing nfc_enhanced.mk).
  • A random reboot was detected, at which point mobile data was lost. Toggle airplane mode to restore data.
  • As this ROM shares the same device tree as CM, this will share the same flaws. Otherwise, please tell me.

DOWNLOAD:


GAPPS:



INSTRUCTIONS:
  • Download ROM above, and a GApps package
  • Save/push files to your (External) SD card (preferably in the root folder where you can find it later)
  • Reboot into recovery ("adb reboot recovery")
  • Nandroid/Back up device (optional, but highly recommended)
  • Wipe cache and data/factory reset (unless updating from previous CarbonROM version)
  • Install ROM and GApps
  • Wipe Dalvik cache
  • Reboot
  • Enjoy!

CREDITS:
  • jrior001
  • crpalmer
  • deadman96385
  • CyanogenMod
  • CarbonDev (incl. Christian Oder)
  • Niropa
  • rirozizo
  • NSLUG


Did I miss anything? I appreciate the feedback, and any thanks as well!

XDA:DevDB Information
[ROM] [UNOFFICIAL][LP 5.1.1] CarbonROM (Z00A), ROM for the Asus ZenFone 2

Contributors
joel.maxuel
Source Code: https://github.com/carbon-z00a

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
Based On: CyanogenMod

Version Information
Status: Beta

Created 2015-08-07
Last Updated 2016-09-10
 

Attachments

OfficerJimLahey

Retired Forum Moderator
Feb 12, 2014
2,716
1,306
0
Sunnyvale
www.chebucto.ns.ca
Other Info...

For those following along....

Project GitHub: https://github.com/carbon-z00a (complete fork of CarbonROM LP with ZF2 device projects)

LOCAL MANIFEST:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<remote name="cr-z00a"
fetch="https://github.com/carbon-z00a"
revision="lp5.1.1" />

<remote name="cm-z00a"
fetch="https://github.com/carbon-z00a"
revision="cm-12.1" />

<remote name="muppet"
fetch="https://github.com/TheMuppets"
revision="cm-12.1" />

<remote name="cyanogenmod"
fetch="https://github.com/CyanogenMod"
revision="cm-12.1" />

<!-- CM-ZENFONE2 DEVICE PROJECTS -->
<project name="android_device_asus_Z00A" path="device/asus/Z00A" remote="cr-z00a" />
<project name="android_device_asus_mofd-common" path="device/asus/mofd-common" remote="cm-z00a" />
<project name="android_kernel_asus_moorefield" path="kernel/asus/moorefield" remote="cm-z00a" />
<project name="proprietary_vendor_asus" path="vendor/asus" remote="muppet" />
</manifest>
CHERRY PICK(S):

Code:
None.
Make a new folder for and then initialize the build tree:
Code:
mkdir carbon
cd carbon
repo init -u https://github.com/carbon-z00a/android.git -b lp5.1.1
Copy your Z00A local manifest to ".repo/local_manifests/" (you may need to create the local manifests folder first), and then sync everything:
Code:
cp ../Z00A.xml .repo/local_manifests/
repo sync -f
Complete all the normal steps at this point. :cowboy:

CHANGE LOG:

Besides the project git hub...

 
Last edited:

OfficerJimLahey

Retired Forum Moderator
Feb 12, 2014
2,716
1,306
0
Sunnyvale
www.chebucto.ns.ca
Holy cow, I'm tempted to test this but I will wait for official release '-'
Official release may be a problem, as you would never get one of those from me - I am not affiliated with CarbonROM, I just like building their stuff. :cowboy:

For it to be official, one of their team members will have to own the device and take in the build themselves - in other words - do a lot more than my kanging (all the "work" for this project is in my second post and the commits in my github - all work I borrowed from somewhere else) - which is why I give credit where it's due. ;)
 
Last edited:
  • Like
Reactions: Thanatos12

rivethead23

Senior Member
Aug 17, 2010
233
61
0
Unfortunately I don't have a fast charger to check (as I have the 2GB model), but can you try fast charging when powered off?

I think that was the recent progress with this ROMs older brother (CyanogenMod).

Sent from my ASUS_Z00AD
Fast charging worked for me. I regular charged it and using the round battery indicator the phone charged like 3 % in 5 mins. The battery indicator read the %.

I used the fast charger and when plugged in the battery % changed to "?" while charging. After about 10 minutes I unplugged the charger and it had increased like 20%.

I like the ROM so far but I can't get data working. Sms and calls work but no data. Tried reentering the APN but no luck. Reflashing didn't fix it either. Any ideas?
 

OfficerJimLahey

Retired Forum Moderator
Feb 12, 2014
2,716
1,306
0
Sunnyvale
www.chebucto.ns.ca
I like the ROM so far but I can't get data working. Sms and calls work but no data. Tried reentering the APN but no luck. Reflashing didn't fix it either. Any ideas?
I will play with it tomorrow to see if I have the same problem, and see what I can dig up. Good task for a rainy Sunday. ;)

EDIT:

Looked at it tonight :cowboy:

Interestingly enough, it picks up all the APN's automatically. Stock never did that. But no mobile data. Could be that I used the CAF version of the hardware_ril project (only because the standard version stalled the device on boot). Most likely, it has t do with Carbon working on their rebase - I built before hearing that they finished that (I have problems accessing their website so I thought maybe they bypassed their G+ page to place it on the news section of their site).

As a result of the current situation, I am unable to try a newer build right now. :(

Sent from my ASUS_Z00AD
 
Last edited:

OfficerJimLahey

Retired Forum Moderator
Feb 12, 2014
2,716
1,306
0
Sunnyvale
www.chebucto.ns.ca
Sorry if this is a stupid question. But for us noobs, can you explain how this is different than the nightly rom?
Historically (at least with KitKat), CarbonROM was more feature-rich than CyanogenMod (at least, I found).

These days, it's had to say. CarbonROM bases itself off of CM and SlimROMs (and probably others) and the feature set is probably similar. I haven't tried CM 12.1 yet, so I cannot do a real comparison. But since Carbon is still getting their feet on the ground for this version, my bet is things are very similar (the options are just found in different locations).

Sorry, I cannot be more specific. These are features I enabled that seem pretty standard, the two that I think stand out are "App Circle Bar" and "AppBar" (those are two ways of accessing apps without going to home screen or app drawer - just pull from the left or right).

I featured the former in attached.
 

Attachments

OfficerJimLahey

Retired Forum Moderator
Feb 12, 2014
2,716
1,306
0
Sunnyvale
www.chebucto.ns.ca
August 9th Build ...

... but still no mobile data :(

I did get something different when I cleaned flashed though - see attachment. I didn't get this before, and made me hopeful. Too bad it didn't make any difference in the end.

This version seemed to be stubborn at first. Can dirty flash (as far as I can tell - I did and no problems), but if you clean flash, you will have to power cycle (as in, don't soft reboot) after the first full boot to get service back.

Also, I took a logcat (of enabling data services), I could not find any "E/"'s relating to SIM or anything related to mobile data. So that was a dead end.

CHANGE LOG:
 

Attachments

Last edited:
  • Like
Reactions: Greg77970

OfficerJimLahey

Retired Forum Moderator
Feb 12, 2014
2,716
1,306
0
Sunnyvale
www.chebucto.ns.ca
Appreciate the work I hope you can get this ROM working Carbon was fantastic in the past.
I thought of something, and it was a dead end for me, but can you try downgrading your connection (I forget what the option is called, but it is on the parent page to the APN's), from LTE to 3G? Then reboot (power cycle, do not soft reboot) and see if you got connection.

I am unable to do this as my carrier does 4G only (LTE and fake-4G).

It's a long shot, and it means a slower connection if it does work, but if it does work, it may be a half-decent kludge for now...
 

rivethead23

Senior Member
Aug 17, 2010
233
61
0
That was one of the things I tried to get it to work. I did the following things (might help you eliminate some stuff):
Chose 3G/2G as my connection.
Removed and reinserted the SIM card with phone on (I got message like the one you got but it didn't work)
Removed and Manually put in APN information. (I am on T-Mobile in the USA BTW)
Turned off Phone removed SIM. Booted Phone with no SIM. Inserted SIM.
Copied the APN file (at /etc) from SlimROM (which data works on) and after flashing used TWRP's file manager to put it in the same location before the first boot of a clean Carbon.


To answer another person Carbon ROM has more options than CM, Slim, or PA for the Zenphone 2. Also on my previous phone (Note 2) CarbonRom was rock solid stable fast and good on battery life.
 
  • Like
Reactions: OfficerJimLahey

OfficerJimLahey

Retired Forum Moderator
Feb 12, 2014
2,716
1,306
0
Sunnyvale
www.chebucto.ns.ca
I think I know what the problem is.

android_hardware_ril has two branches: 12.1 and 12.1-caf. I originally pulled the project into my github, patched 12.1 branch, and added the project into my local manifests with the upstream removal included.

That build died at the splashscreen. So then I patched the 12.1-caf branch and changed the local manifest to use that branch instead. It booted, but you know what happened then.

I looked at the master manifest, and it calls on both at the same time, renaming the latter to hardware/ril-caf. Worse, my local manifest, because it removes the upstream ril project, really that should be plural because it attacked both, and I only put one back.

So, local manifest has been altered, synced, and building. Next morning I should have some indication on how it went. Maybe this time tomorrow I will have build three for the week - with working mobile data - uploaded!

Sent from my MeMO Pad 8"

UPDATE:

Guess what I found 3:00 in the morning...see attached clip. :D

Updated ROM is uploading right now.

CHANGE LOG:
  • Alteration to local manifest in include both hardware_ril projects
  • Some commits to android_device_asus_mofd-common and android_hardware_intel_img_hwcomposer (Aug 9th and 10th)
  • Usual upstream changes
 

Attachments

Last edited: