yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Android Development] OfficerJimLahey:
Other Info...

For those following along....

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

LOCAL MANIFEST:

<?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):

None.

Make a new folder for and then initialize the build tree:

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:

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...

CyanogenMod upstream

ZF2-Related Commits

Quick-Charging UI

AOSP upstream
[ZenFone 2 Android Development] SenpaiCham:
Holy cow, I'm tempted to test this but I will wait for official release '-'
[ZenFone 2 Android Development] Abd121:
Yay...... Even more ROMS
[ZenFone 2 Android Development] OfficerJimLahey:
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. ;)
[ZenFone 2 Android Development] AL_IRAQI:
Awesome work buddy :)

CM Theme Engine included ?
[ZenFone 2 Android Development] OfficerJimLahey:
I think so - I remember seeing a Themes icon in the app drawer...

And thanks! :)

Sent from my ASUS_Z00AD
[ZenFone 2 Android Development] pandan80:
fast charge no work...use back 2.1v charge ok no problem,sorry for my bad English
[ZenFone 2 Android Development] rivethead23:
I ran carbon for almost the entire time I had a Note 2. Fantastic Rom! Thanks for all the work in bringing it to the ZF2
[ZenFone 2 Android Development] OfficerJimLahey:
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
[ZenFone 2 Android Development] rivethead23:
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?
[ZenFone 2 Android Development] OfficerJimLahey:
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
[ZenFone 2 Android Development] rivethead23:
Appreciate the work I hope you can get this ROM working Carbon was fantastic in the past.
[ZenFone 2 Android Development] oijjio:
Sorry if this is a stupid question. But for us noobs, can you explain how this is different than the nightly rom?
[ZenFone 2 Android Development] OfficerJimLahey:
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.
[ZenFone 2 Android Development] OfficerJimLahey:
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:

Upstream pull request into local project (android_bootable_recovery)

Some commits to the device tree and vendor info that may have been included in previous build

Unknown upstream changes
[ZenFone 2 Android Development] OfficerJimLahey:
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...
[ZenFone 2 Android Development] rivethead23:
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.
[ZenFone 2 Android Development] OfficerJimLahey:
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
[ZenFone 2 Android Development] saenz4931:
Is it good for a daily driver?
[ZenFone 2 Android Development] OfficerJimLahey:
I'm using it as my daily driver right now if that helps :cowboy:

There's still a few glitches. The one that stands out for me (the worst I found thus far) is that once Stock Camera is opened, if you try to reopen it, it will force close and will continue to do so (if attempted to reopen) for a few hours. Just confirmed this behaviour. I am going to try downloading a different camera like Google Camera (ASUS PixelMaster reports being incompatible on the Play Store now but I heard you could try to sideload it instead) to see if I get any different behaviour.

I am monitoring the CM thread as well - as the trials and tribulations I am having - they are encountering the same thing over there too.

One (potential) positive, I got 10% battery drain with light use since I unplugged from the charger 11 hours ago (mind you, I am using Deep Sleep Battery Saver as well because I don't need notifications as they come in - up to 30 minutes later is fine).

Bottom line is, this is still an Alpha release (though due to today I could probably bump it up to Beta) and as the state of the CM brother, still a work in progress (and it will be for quite some time). :) I don't want to steer anyone away from this ROM, but depending on your tolerance for finding workarounds to glitches this may not be currently the better fit over stock.
[ZenFone 2 Android Development] saenz4931:
Thanks man.. I am keeping eye on this ROM.. I love it, when I use to G2
[ZenFone 2 Android Development] rivethead23:
Thanks for the update downloading to flash now!

FYI Google camera worked fine for me.
[ZenFone 2 Android Development] OfficerJimLahey:
Only thing I noticed with Google Camera that irks me is that the thing FC's when you try to enter camera settings. Not sure if you tried that or not. Otherwise, a worthy substitute.
[ZenFone 2 Android Development] GGL-Daz:
Hi [MENTION=5720423]joel.maxuel[/MENTION] is their a reason active display isn't available? just wondering...
[ZenFone 2 Android Development] OfficerJimLahey:
The series of settings that involves pocket mode, right?

I didn't see it either, maybe it's something they have yet to pull over from KK 4.4.4 (there used to be lock screen tweaks in Carbon Fibers).
[ZenFone 2 Android Development] GGL-Daz:
Thanks for the calcification.
[ZenFone 2 Android Development] :
Just download the APK ! Tried last time, and it worked like a charm
[ZenFone 2 Android Development] rivethead23:
I used the camera some last night and everything worked except when turning HDR off after turning it on the camera app freezes and has to be closed then restarted.

Overall this Rom seems the snappiest and has the most features vs other Roms. Loving it.
[ZenFone 2 Android Development] OfficerJimLahey:
GPS, Battery

Just tested the GPS with my transit app. Out of the box, it would get my location, but it was stuck locating for a few minutes before I gave up waiting (it's starting to rain here).

But then I remembered an older article about AGPS, and thanks to [MENTION=2722834]rirozizo[/MENTION], I replaced my gps.conf file with a Canadian version, tested my lock-on with GPSTest, and got it within a few meters in under 15 seconds. Switched to the transit app, and it locked on instantly.

If you intend to use your GPS, I highly recommend this XDA TV guide.

On an unrelated note, day two of using this ROM full time, had to charge last night as I was down to 58% (flashed in that day around 93% I think). Battery just dipped below 70% and the day is close to over, so it's not that much worse than stock when it comes to battery life.

Hopefully tomorrow night I will have some battery stats for you.
[ZenFone 2 Android Development] rirozizo:
hey! thanks for the shoutout :)
[ZenFone 2 Android Development] rivethead23:
Just wanted to mention two things:

When playing Google play music via headphone jack it may play a song other times it will say it is playing but not audio output once this begins the only solution appears to be to reboot. This occurs on slimrom too so I am wondering if it is a bug in CM. If played via Bluetooth speaker the problem never occurs.

Upon restoring a backup via TWRP I got a message saying no sim installed. Factory reset wouldn't fix. Had to wipe and install clean then worked. Another restore didn't do it so it might have been a bad backup.

Anyone know can deathly Deathly kernel will work with this ROM?
[ZenFone 2 Android Development] OfficerJimLahey:
I haven't used headphones for music yet, as I have another device for that purpose. I do recall seeing this issue on CM thread as well.

Hmm, interesting, could have been. Did you restore config partition as well?

Based on the Deathly OP, I am going to go with no...

...just to note though, that the CarbonROM FAQ says otherwise, but if you have issues, you are on your own. Probably better to wait to see if there can be a Deathly kernel for this ROM instead.
[ZenFone 2 Android Development] OfficerJimLahey:
Battery stats...

Too bad I didn't have BetterBatteryStats set up in time to show SOT. Just properly installed it, but it took the stats from last boot (which was five minutes ago to install BBS) as opposed to unplugged.

Ah well. SOT is about an hour at any rate, which is pretty light usage.
[ZenFone 2 Android Development] rex_perfect:
Battery backup too bad

Sir can you please tell us how u r getting so good battery backup....??..what else you are using....??
[ZenFone 2 Android Development] OfficerJimLahey:
Forgot to mention earlier... :o

I use Deep Sleep Battery Saver, set on gentle (push notifications can be delayed up to 30 minutes).

Normally it is an xposed module, but there is a version on the Play Store I use instead.

Hope this helps.
[ZenFone 2 Android Development] rex_perfect:
back button.....

After few minutes......Back button and keyboard are not working......
[ZenFone 2 Android Development] OfficerJimLahey:
Did you flash GApps?
[ZenFone 2 Android Development] rex_perfect:
Yes....i flashed deadmans Gapps.......
[ZenFone 2 Android Development] OfficerJimLahey:
Never heard of that issue happening, I certainly haven't come across it yet (day 4 full-time). Try factory reset and install again, with a different Gapps (Deadmans x86 Gapps, but a different date).
[ZenFone 2 Android Development] rex_perfect:
Without gapps it is working fine....I was using deadmans 31 July build..which was causing the problem...........I will flash other build today.....
[ZenFone 2 Android Development] rex_perfect:
gapps

Deadmans 29 july build is working fine with the rom......
[ZenFone 2 Android Development] OfficerJimLahey:
New week, new weekly (August 15th build)

Just a note that the latest weekly is up. :cowboy:

If dirty flashing over the last CarbonROM version, be sure to include the GApps package in the same flash batch (just like as if you were installing from scratch, but can dirty flash instead) to avoid finding google play services force closing.

Changes can be determined in the 2nd post, but here are some highlights:

Disable the button backlight settings (android_device_asus_mofd-common)

init: Add support for gzipped firmware files, Prevent integer overflow when allocating native_handle_t (android system_core)

recovery: Separate blkid.tab for vold in recovery (android_bootable_recovery)
[ZenFone 2 Android Development] OfficerJimLahey:
Another Build (August 22)

Uploading the latest version now...up! :cowboy:

Ch-ch-ch-ch-changes:

Device identity using the 2.20.x firmware

Fix recovery image text rendering; Support resuming block based OTAs; Initialize stashbase even stash_max_blocks = 0 (android_bootable_recovery)

Upstream updates from August 15th to end-of-day August 21st (see post two for gerrit details)
[ZenFone 2 Android Development] manoj36:
Will it support OTG?
[ZenFone 2 Android Development] bmwkeith:
Just got done installing. All seems to work well except that it is not happy with xposed. No big deal though.
[ZenFone 2 Android Development] OfficerJimLahey:
That's something I didn't try. If CM has it, this ROM should too. :)
[ZenFone 2 Android Development] OfficerJimLahey:
Yeah, XPosed (or rather, the modules) don't really play well with the custom ROMs it seems.
[ZenFone 2 Android Development] Superorb:
Is there any reason this wouldn't work on the 2GB version?
[ZenFone 2 Android Development] mario1634:
Is 4g not working yet on new build
[ZenFone 2 Android Development] thuynin9:
Can I use TWRP to up this rom?
[ZenFone 2 Android Development] OfficerJimLahey:
I test it on the 2GB version (551), works on my end. Anything specific happening for you?

Worked for me out-of-the box (confirmed by LTE indicator), by the third build.

Supposedly either TWRP, but I am devoted to the unofficial version.
[ZenFone 2 Android Development] Aceofzeroz:
Greetings Joel, just wanted to thank you for the excellent work you've done with Carbon so far! I was running Euphoria for weeks now and wanted to try something close, but with a bit more customization and this one hit home run! :D:cool::thumbup:

Keep up the great work and all the best! ;)

Sent from the Ace's Asus Zenfone 2 using Tapatalk 4
[ZenFone 2 Android Development] Superorb:
I see all these ROMs for the 4GB version and I was curious if it would work for the cheaper 2GB version. The only difference is the RAM and memory, so they should all work on both versions.
[ZenFone 2 Android Development] OfficerJimLahey:
Well...the (bulk of the) ROMs are for the Z00A, which works with all the 551 variants (which includes the 2GB version).

To add to the confusion, there is a 550 model, which is like the 551 2GB but has instead a 720p screen and a few other differences (known as the Z008). That model is not supported by this build (and I don't plan to build for that, as I do not have that device - if anyone has the interest though, they can follow along using my second post).

[MENTION=4236557]cmendonc2[/MENTION] did a nice summary of the models on his index thread to help relieve the confusion.

Hope this helps. :)
[ZenFone 2 Android Development] Superorb:
Well damn, I thought the 50 model was the 2gb one, but I guess there's no separate model number for the 2GB and 4GB ones. Thanks Asus!
[ZenFone 2 Android Development] htc_softbank:
What is the use of xposed on a custom Rom?

I've been reading up on this customization module and it looks like it's designed more for users of root original carrier / manufacturer Roms.

Aside from the Google play show all apps hack, it seems like the rest of the xposed options are already available in carbon Rom?
[ZenFone 2 Android Development] Normas Interruptor:
Hi joel.maxuel,

Can we know the next build release date?

In the current build, double tap 2 wake up feature available ?

May i know the feature of the current build ... like ...

Can i add navigationbar button without edit build.prob file?

In the current build is there screenshot,

Battery saver

Flash light,

Cast screen toggles it self.

Does camera work fine now ?
[ZenFone 2 Android Development] OfficerJimLahey:
With CarbonROM KitKat, yes. Lollipop version is a little leaner, but that is because Carbon's development really kicked in around June, so the team is probably busy bringing features back in.

As a side note, I only ever use XPosed on stock (where it's needed), but I haven't had the need to with stock on this device (only thing I was/am compelled to change is the battery indicator, something I can live with).
[ZenFone 2 Android Development] OfficerJimLahey:
Next release will be this coming Saturday or Sunday. Tends to be on the weekends.

Dt2w is there.

Features with this build would not be any different from previous weeks. Because I haven't tried the other ROMs (yet) I cannot say which features stand out from the others.

You will probably have to edit build.prop to get softkeys, or just use pie controls.

Screenshot is there, flashlight is there, battery saver - never looked fully (I always use Deep Sleep Battery Saver with custom ROMs), and never tried cast screen (have nothing to cast to).

Hope this helps.

Sent from my ASUS_Z00AD
[ZenFone 2 Android Development] thuynin9:
I up this rom via TWRP and it shows error. How can I up this rom bro?
[ZenFone 2 Android Development] OfficerJimLahey:
What are your error details?

If you are getting this...

Patching system image unconditionally...
detected filesytem ext4 for /dev/block/by-name/system
Flashing SuperSU...
detected filesytem ext4 for /dev/block/by-name/system
unmount of /system failed; no such volume
script succeeded: result was [0.200000]
Updating partition details...
...done

...it actually succeeds.

Sent from my ASUS_Z00AD
[ZenFone 2 Android Development] Normas Interruptor:
Thank you Dev. :)
[ZenFone 2 Android Development] thuynin9:
No bro. It shows error update-binary. So I can't up this rom.
[ZenFone 2 Android Development] OfficerJimLahey:
Hmm, could it be that your's is CN, if that makes any difference?

I see that it was suggested that you replace the updater-binary for another ROM, I hope that wasn't the case here.

Other than that, what was the exact error? Could I get a TWRP log?
[ZenFone 2 Android Development] arno00:
Please Fix All The Bugs :(
[ZenFone 2 Android Development] thuynin9:
Yes, my phone is Ze551ML CN ver. When I install rom via TWRP. It shows "...error executing updater binary in zip..."(I can't remember all). But when I up another CM12.1 rom, it's OK. I want to try this rom, can you help me to fix this?
[ZenFone 2 Android Development] OfficerJimLahey:
Can I get a copy of your recovery.log after the failed flash?:

adb pull /tmp/recovery.log

Can add it to pastebin...thanks! :)
[ZenFone 2 Android Development] thuynin9:
I use CM_Recovery and up this rom successfully bro :)
[ZenFone 2 Android Development] ai3gtmc:
Is there a possibility to have Smart Cover working in this?
[ZenFone 2 Android Development] OfficerJimLahey:
Only if an AOSP version of the app is created, way I see it.

Sent from my ASUS_Z00AD
[ZenFone 2 Android Development] hacktek:
Installed the 08/22 version and Google Play Services keeps crashing. I've installed the latest GApps from deadman (08/16). Any clues?
[ZenFone 2 Android Development] OfficerJimLahey:
Restore from last backup and reflash (if you have one) otherwise clean flash with a different gapps date.

I had a similar problem by neglecting to flash gapps after an update. After flashing gapps, issue persisted. Was only fixed by starting from scratch.

Sent from my ASUS_Z00AD
[ZenFone 2 Android Development] hacktek:
I think it was my own doing, I forgot I had enabled Privacy Guard on Play Services so that it didn't keep the phone awake and apparently that's what was causing the crashes. Looking good now after disabling that.