yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] MJPollard:
Has anyone been able to successfuly compile Carbon-LP for the M8? I decided to do so as part of my ongoing education in Android ROM customization, and I'm having a devil of a time doing it.

(For background, my setup is Linux Mint 17.1 MATE Edition set up in a VirtualBox VM on Windows 7 64-bit. My environment was set up using the instructions in http://xdaforums.com/chef-central/android/guide-android-rom-development-t2814763 and is confirmed to work compiling vanilla CM7, CM11, and CM12.1. I have both Java 6 and Java 7 installed, and I switch between the two when compiling CM7/11 and CM12.1.)

I initialize and sync the Carbon-LP repo using the following:

repo init -u [URL]https://github.com/CarbonROM/android.git[/URL] -b lp5.1
repo sync -f

I then initialize the M8 branch using the following:

. build/envsetup.sh
lunch carbon_m8-userdebug

When I do this, I get the following error:

device/htc/m8/BoardConfig.mk:163: device/qcom/sepolicy/sepolicy.mk: No such file or directory
make: *** No rule to make target `device/qcom/sepolicy/sepolicy.mk'. Stop.

** Don't have a product spec for: 'carbon_m8'
** Do you have the right repo manifest?

Examining the CyanogenMod 12.1 tree, I found that the CyanogenMod/android_device_qcom_sepolicy project isn't included, so I create a file called .repo/local_manifest/sepolicy.xml:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="android_device_qcom_sepolicy" path="device/qcom/sepolicy" remote="cm" />
</manifest>

I then re-sync, which is successful. I then attempt to compile the ROM using the following:

make carbon -j7

After chugging along for a while, it stops with this error:

SYSMAP System.map
SYSMAP .tmp_System.map
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
Copying: /home/martin/android/carbon-lp/out/target/product/m8/obj/GYP/shared_intermediates/widevine_cdm_version.h
LZ4 arch/arm/boot/compressed/piggy.lz4
/bin/sh: 1: lz4c: not found
make[4]: *** [arch/arm/boot/compressed/piggy.lz4] Error 1
make[3]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make[2]: *** [zImage] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/martin/android/carbon-lp/kernel/htc/msm8974'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....

#### make failed to build some targets (41:23 (mm:ss)) ####

So, I'm at a loss. I assume that I'm compiling the correct branch ("lp5.1") as none of the other branches in CarbonROM/android_build link to CyanogenMod projects.

Any ideas? :confused:
[One (M8) Android Development] Darknites:
You need to install lz4 for the kernel to compile.
[One (M8) Android Development] MJPollard:
Thank you! To be perfectly honest, I'd never heard of lz4 before. I'll install it tonight and see if that does the trick. I'll also add it to my "set up Android build environment" script for the next time I set up Linux for Android.

EDIT: That seems to have done the trick. It's still compiling, so there may or may not be other surprises waiting for me, but at least it's gotten past the kernel issue. Thanks again, Darknites! :good:
[One (M8) Android Development] adeptustech:
I love watching the future Devs grow up in front of us. ?

Good luck, can't wait to see you're work.
[One (M8) Android Development] netvietcomputer:
I can't find the set double tab to wake up! So the double tab is not active

I'm using 29/06 version
[One (M8) Android Development] geo0889:
You have to use a kernel tuner app to activate it.
[One (M8) Android Development] MJPollard:
Lol, thanks. I'm pretty much a programming veteran (I literally grew up with them; cut my teeth on the Radio Shack TRS-80 when I was in my teens back in the 70's and 80's), but Android development presents some interesting new challenges. It's been a while since I've really been able to sink my teeth into something new, after years of doing PC and Windows development in C, C++, and C# (and getting my feet wet with iOS projects for work), so I'm looking forward to the challenge!

Just for kicks, I think I'll try to see if I can get this compiling and working for the Samsung Galaxy S III (d2att). It's currently my backup phone, so I can tinker with it to my heart's content without the risk of finding myself without telecommunications capability. :)
[One (M8) Android Development] netvietcomputer:
How to do it?
[One (M8) Android Development] jxcorex28:
Depends on which app you are using to tweak the kernel...
[One (M8) Android Development] samtron666:
Download an app such as kernel Adiutor from the play store. Using this as the example:

Open up Adiutor, first screen is kernel info. hit top left menu.

Next screen and the secon section should be "KERNEL". Scroll down to "Wake Controls" , turn on apply on boot, set "doubletap2wake" to full or half screen and the same for "sweep2 wake" if needed.

Reboot and that's it!

Hope this helps.

:)
[One (M8) Android Development] netvietcomputer:
I can't find wake up in this menu.

(Runing on rom Leedroid)

:)

---------- Post added at 09:23 PM ---------- Previous post was at 09:12 PM ----------

I sem wake up when run app on Carbon rom.

Thank's

:)

---------- Post added at 09:35 PM ---------- Previous post was at 09:23 PM ----------

The first i choise "full screen" in "DoubletabWake" set "Apply on boot" then exit app by button back.

But start app Kernel adiutor again, last my choise is "Disabled"

I don't why?

:)
[One (M8) Android Development] geo0889:
Wake controls are different on sense. There's a menu in the settings for wake controls. I can't remember what its under though maybe display.
[One (M8) Android Development] shawnn125:
anyway to lower audio - it's load (as in all CM)? AudioFX doesn't help.
[One (M8) Android Development] candleworth7808:
Navbar buttons are disappearing in landscape mode.
[One (M8) Android Development] azazel71:
Had the same problem but you can use pie to get around it.
[One (M8) Android Development] MJPollard:
I've had some success with this! I forked android_device_samsung_d2att from CyanogenMod, made the necessary changes in order for it to sync and build with Carbon (using CM 12.1 as a guide), and was able to successfully create a build. It booted with Cid on the splash screen (I forgot to change it to the Carbon logo) and went through the whole initial app configuration, but that's as far as it got because the Setup Wizard kept FC'ing. Not sure how to proceed from here, as I'm still a raw noob at Android ROM-ing, but honestly, it got much further than I thought it would on the first try! (Anyone with suggestions on how I can get past the Setup Wizard FC thing, please feel free to PM me so that we don't clutter up this thread with further off-topic-ness.)

EDIT: Okay, further tinkering gets it to boot as long as I don't install a Gapps package. The ROM runs well, and SGS3-specific features (such as disabling the backlight on the hard menu and back navigation keys, and no unnecessary soft navigation keys) are there, but holding down the power button to bring up the power menu does a soft reboot of the phone. Just one more little quirk. ;)
[One (M8) Android Development] SonyFan23:
Please add it back
[One (M8) Android Development] walker164:
So, I'm updating my firmware. Is there a place that has the latest firmware I need? I'm @ https://www.androidfilehost.com/?w=files&flid=32780 now, but all of the folder names don't make sense to me and don't line up with my MID or CID. Anyone have a nice repository they bookmarked? I would prefer to not download 50 files and look at android-info.txt to find out if it's the right firmware for me.

My MID: 0P6B20000

My CID: VZW_001

Thanks guys!
[One (M8) Android Development] mrrocketdog:
is there a kk with the audio fixes that anyone can link me to ?

would greatly appreciate it.

"all i can really do , is stay out of my own way and let the will of heaven be done"
[One (M8) Android Development] Opticuhl:
It hasn't been backported.
[One (M8) Android Development] MJPollard:
Anyone know how much is involved? Is it just source and configuration changes, or are there binaries involved? I could attempt to backport it on my own, at least for Carbon-KK.
[One (M8) Android Development] sorceforge:
It is about driver, to be worse, the developer said that it will not be ported. I doubt it can be, but I hope you succeed to. [emoji2]

나의 One M8 의 Tapatalk에서 보냄
[One (M8) Android Development] Freak07:
[MENTION=2837935]PippoX3[/MENTION]

The latest version with du kernel is running really well for me!

Thanks for the work!

Would you consider to add multirom support? :)
[One (M8) Android Development] PippoX3:
Already Inside.
[One (M8) Android Development] Freak07:
The multirom app tells me multirom is not supported :(

---------- Post added at 02:15 PM ---------- Previous post was at 02:13 PM ----------

Another observation. You mentioned with the release that oc is available. I do not have cpu or gpu oc.

I'm on the build from 29th June from 23:37.
[One (M8) Android Development] PippoX3:
I don't use Multirom and OC, thought is working, 'cause already merged into: https://github.com/STELIX-Lollipop/...mmit/139b0af58b3f294b20a8201a4a6e8a5d906b0070

and https://github.com/STELIX-Lollipop/...mmit/8b98480bca6ef572f54d5531736d21c4f959b61e

But maybe missing something, I'l take a look again soon. Thanks for report.
[One (M8) Android Development] COMpulse:
MultiRom Manager lists the M8 as "Device Not Officially Supported". However, you can still install MultiRom and use it.
[One (M8) Android Development] Freak07:
No because the kernel from the primary rom required kexec patch and the app is detecting if the kernel has it. Therefore the app States "kernel: doesn't support kexec hardboot patch"

Our device is not officially supported from the multirom guy so we have an unofficial version.
[One (M8) Android Development] PippoX3:
NEW Build out CARBON-LP-5.1.1-NIGHTLY-20150707-0717-m8.zip

Slim Navbar, Slim PIE, Slim Actions, Slim Hardkeys rebind and other bugs fixed. All the latest CM patches on M8 device side.

Soon heads up colors and blacklist fixed.

NOTE: Don't dirty flash without backup! New build is highly different, I started a flash from scratch. Restore from previous build, either shouldn't work.

And wake up/off gestures restored:

CARBON-LP-5.1.1-NIGHTLY-20150707-1546-m8.zip
[One (M8) Android Development] walker164:
For those who find this post via searching, I've resolved it easily and forgot to post a solution. I have a Verizon M8 and details are in the posts.

Went here: http://xdaforums.com/verizon-htc-on...zip-ruu-m8vzw-5-0-1-s-off-onlynewest-t3047103 and got some good info

Then here: http://www.droidviews.com/restore-verizon-htc-one-m8-to-stock-with-android-5-0-1-lollipop-ruufuu/ and it broke it down easily.

Download the provided RUU linked on those sites > Copy to root of sd card > Reboot to HBOOT > Finds the file automatically as long as you put it in the root > Done > Download Flashify after everything is back up > Transfer TWRP to the sd card > Flashify TWRP > Reboot and flash Carbon + gapps.

While flashing the RUU in HBOOT, it hit like the 4th step and the screen flashed and turned black for a solid 10 seconds. Then it came back up and finished the update. Just a heads up for that whole heart dropping moment.

Also, something happened to my external SD card and it got nuked during all of this. Only internal storage was supposed to get baked. Not sure what that was, but heads up again on that. I'm recovering the lost files on my SD card atm.
[One (M8) Android Development] Darknites:
If you use tb to backup apps it seems to make a storage folder and if that folder gets deleted the sd card gets wiped.
[One (M8) Android Development] walker164:
It just seems hilariously convenient that you said that! I was backing up my internal storage and noticed 3 "storage" folders in the root and was like, "that's weird. Probably don't need all of these since there's nothing in them." One of them denied being deleted and I just moved on and thought nothing of it. Hah! Oh well...
[One (M8) Android Development] dnkjordan:
I did a clean flash of the 7/7 build and ran into a problem on initial configuration. Once the phone gets to the screen asking me which backup I want to restore, I usually select the option to treat as a new phone so I can use TiBU to restore apps/data vice restoring a previous backup. However, when I try to select this option then select next, the nav bar persists on the bottom preventing me from choosing next. I can't seem to get off this screen without selecting a previous backup. Even a restart of the phone takes me right back into the initial setup options again.

How can I bypass this?
[One (M8) Android Development] drich66:
I had the same issue, I just had to let it load a back up with 90 apps and let it do its thing. Then went in and restored apps and data through TiBu. Been working pretty good so far.
[One (M8) Android Development] dnkjordan:
I wouldn't mind if it was a more recent backup but my phone doesn't seem to update the backups under Carbon for some reason.
[One (M8) Android Development] jaydubbs:
Anybody else finding the Unicorn Blood kernel to be incredibly sensitive? I've never had my phone wake up in my pocket so much since flashing the most recent build. Also have the proximity helper setting enabled but it doesn't seem to do too much.
[One (M8) Android Development] Roarmaster:
7/7 build

Actually, I've been experiencing that as well. Last week's build seems to be much stabler. I would lose around 2-4% of battery with that build per night on standby whereas on the 15/7/7 build, I lose around 10% on standby. I've also been experiencing more lag/jitter than usual. I have not yet measured wakelock stats yet though, would gsam be good for that or is better battery stats a better choice?
[One (M8) Android Development] jaydubbs:
I use both of those apps in tandem.
[One (M8) Android Development] mrrocketdog:
its probably because of the metric system. :sly:

"all i can really do , is stay out of my own way and let the will of heaven be done"
[One (M8) Android Development] dnkjordan:
Calendar Issues

I have been trying to get the calendar to sync with google calendar but can't make it work. During my troubleshooting I noted that when I went under accounts/google to check if calendar sync was set to on for my account, the selection wasn't there.; however, it is listed for my exchange account.

Anyone know how to get the option to sync google calendar?
[One (M8) Android Development] SonyFan23:
When you connect an external hard drive via usb otg error "application com.android.systemui".On stock 5.0.1 of this error is not.I attach screenshots, log, and video. Correct?
[One (M8) Android Development] GohanBurner:
Does a thread exist for the UnicornBlood kernel?
[One (M8) Android Development] jxcorex28:
Here's a thread you can get a DL link to various kernels

http://xdaforums.com/showthread.php?t=3152454

Roms holding up nicely...I went back to GPE 5.1 FW,and I'm having no ghost touches..However, is there any fix for the white background on some notifications (check screen)
[One (M8) Android Development] kickassdave:
I was also getting that. Just flashed another theme.
[One (M8) Android Development] jkolner:
There is no quicktile for sound in the 7/7 build :(
[One (M8) Android Development] victou42:
Same bug... Do you solve it ?

I also find your navigations buttons very pretty, where do you find it please ?
[One (M8) Android Development] jxcorex28:
Its Euphoria CM12...

Edit: I meant to quote, but the theme I was using in that screen was Euphoria cm12...

https://play.google.com/store/apps/details?id=com.blazze11.euphoria.dark
[One (M8) Android Development] DumbleCore:
U need to set colors in carbon fibers, then all is working

Tapped from another Dimension
[One (M8) Android Development] PippoX3:
NEW Build out: CARBON-LP-5.1.1-NIGHTLY-20150709-1901-m8.zip

Now that Furnace have all gestures and features working/tested, we're come back to it (Linaro 4.9).

Audio/Display improvements, Doze, CM updates (unfortunately a bug with home wallpaper, will solve with next build...).

All the wake/sleep gestures, pocket detection etc. are tunables by an external app (ElementalX Manager or Kernel Adiutor).

Thanks.
[One (M8) Android Development] GohanBurner:
On that custom "latest" KK build that was posted a few pages back, for some reason the album art in the Play Music player will not show in notifications. I'm thinking about daily driving KK again for the simple fact that there is a silent feature where I can still see a blinking light for notifications. If I am messaging someone and turn off the screen while still in the messaging thread with the person, if they reply, I will not get notified. That's SO annoying.

Anyway, anyone have any ideas as to why that might be happening? I clean installed it and uninstalled and reinstalled Play Music and same thing. :[
[One (M8) Android Development] Broodn:
Latest build works great awesome work. I have one question what happened to the Carbon boot animation I have a Gummy boot animation :D
[One (M8) Android Development] kickassdave:
Yeah I was thinking the same lol.

A wee bit of Gummy team trolling?
[One (M8) Android Development] PippoX3:
LOL. Was my daily build... with alternative bootani... sorry. Next build will have right one. Tons of fixes and holidays for me.
[One (M8) Android Development] PippoX3:
New build is up:

https://www.androidfilehost.com/?fid=24052804347774848

Inviato dal mio One M8 utilizzando Tapatalk
[One (M8) Android Development] Roarmaster:
Is there a changelog? Thanks!
[One (M8) Android Development] PippoX3:
I merged slim heads-up and all the CM updates. Device side and kernel updated.

All the major bugs solved. Like white notifications (set stock theme and reboot, then choose your theme), black list notifications, media player crash, heads up glow, home screen wallpaper, and more...

Inviato dal mio One M8 utilizzando Tapatalk
[One (M8) Android Development] massaquah1:
full wipe necessary for new build?

I would really like to test the new nightly.

Currently, I am on version 20150629 with unicorn blood kernel.

Is it necessary to do a full wipe?

Since it doesn't seem to be a good idea to restore apps (especially with app data) via Titanium Backup, a clean flash is always so time consuming.....
[One (M8) Android Development] Freak07:
Yes distortion should be fixed :)

No it has the cm theme engine built in.
[One (M8) Android Development] Freak07:
[MENTION=2837935]PippoX3[/MENTION]

Are you sure that the audio patches are included in the latest build? Audio/ notifications from speakers sound a little bit distorted again :(
[One (M8) Android Development] dnkjordan:
[MENTION=2837935]PippoX3[/MENTION] Same issue here. Worse than previous 2 builds for me.
[One (M8) Android Development] Freak07:
I'm quite sure we'll see a new build with the commits added in soon :)
[One (M8) Android Development] jxcorex28:
+1, I'm experiencing the same thing
[One (M8) Android Development] massaquah:
Nobody willing to help me out here?
[One (M8) Android Development] Darknites:
Dirty flashing might be fine also I had no issues with tb.
[One (M8) Android Development] Freak07:
Restoring user apps is usually fine. You just have to be careful with system apps.
[One (M8) Android Development] Darknites:
Restoring system app data is just asking for issues.
[One (M8) Android Development] ess.boyer:
Anyone else notice that double tap to sleep and wake doesn't seem to turn off anymore?
[One (M8) Android Development] Roarmaster:
It definitely seems to work fine for me. I am currently using build 20150715-2000 and kernel adiutor. Try disabling any apps that change kernel settings during boot and reflash your rom
[One (M8) Android Development] massaquah1:
Dirty flashing resulted in a boot loop.

I am just restoring from twrp backup......
[One (M8) Android Development] samisax:
Nevermind.
[One (M8) Android Development] Freak07:
Just look at page 36...

https://www.androidfilehost.com/?fid=24052804347774848

But beware it has the sound distortion again :(
[One (M8) Android Development] kickassdave:
Proximity on calls seems broke. My cheek keeps touching buttons.

Also on occasion when waking the phone it is really dark and takes ages to brighten up.
[One (M8) Android Development] Freak07:
The First issue i can confirm. But it's on nearly all aosp roms for me.

The second issue I have never seen.
[One (M8) Android Development] ess.boyer:
I didn't have any kernel settings apps installed, but I was able to disable the settings by installing trickster mod.
[One (M8) Android Development] crazyvash1:
im on verizon and when i first load into the rom signal is good picks up lte fine. but after a while after it starts going in and out of no sim then no data so im not sure ive had the same signal issue on all the aosp roms. idk if its something im doing wrong or havent done but other than that it seems to run smooth.
[One (M8) Android Development] jxcorex28:
I've noticed that problem too..typically after a reboot, but once I've rebooted I see no issues....

OP, I've been running the latest for about a day or two. I don't typically blast other ROMs, or say one is better than the other. This one time though is an exception. This rom , by far is the smoothest, fastest, battery friendly ROM I have used since LP was released. Incredible work, dev...
[One (M8) Android Development] jxcorex28:
I looked at my phone a few hours ago, probably 2-3 hours.,and my phone was probably around the 40-55% range and now its at 15%. I haven't tweaked the kernel settings at all,so w/e comes default to ROM are the settings I'm running. Here's screen of battery history...what do y'all think....
[One (M8) Android Development] PippoX3:
Have you some 3rd part theme installed?

Haven't any issue with calendar, CM or AOSP. Only trouble was flashing GApps, see the actual size partition, needs minimal Slim GApps.

Next feature add.

Thanks. Obviously 4.4 was rich of features. If u wanna taste a "fresh" KK updated with some news, try that: https://www.androidfilehost.com/?fid=95916177934548773

BTW on M8 both KK and LP are good.

Uhmm, which updated GApps you flashed? Google services wakelocks?

Before this last week on Carbon LP, I was on Venom+ElementalX... I can assure battery life is really good.
[One (M8) Android Development] GohanBurner:
No theme installed, this is directly after a clean wipe installation.
[One (M8) Android Development] mcwups1:
F'ing Love It!

Well, 1 weird problem, and I've had it happen on another ROM as well.

When I go into my app drawer, the apps don't show on the screen. It's blank.

Now, if I slide to the next page, they show up for the right page, but the first page displayed doesn't show.

Sprint M8 Converted HK 4.25.654.14
[One (M8) Android Development] NiXiNiX:
My back button refuses to work after couple of minutes, even after restarting.

I've noticed the same on several other recent roms.

Awesome ROM BTW.
[One (M8) Android Development] GohanBurner:
Apparently, bliss kernel 4-22-15 causes my system.ui force closes. I excluded that and everything works as it should.
[One (M8) Android Development] mcwups1:
Also don't see an indication that sound has been toggled.

I can hear it, but can't see it in status bar.

Edit: Actually, I don't think sound off works at all.

Also, using legacy keys with nav bar, is dangerous. System UI force closes.

Sprint M8 Converted HK 4.25.654.14
[One (M8) Android Development] jxcorex28:
I flashed pa full gapps....which gapps would you recommend ?
[One (M8) Android Development] pilotgav:
Should AudioFX be working with the "Play Music" app?

The EQ is on, but doesn't affect the music at all.
[One (M8) Android Development] mattie_49:
Im on verizon as well and about to flash. Do you completely loose data for it not to return?
[One (M8) Android Development] mattie_49:
I've waited so long for these nightlies. Installed and everything running fabulous. Rebooted many times and signal is Lte strong. Thanks guys whoever has brought this . 2 hrs later bt, Pandora everything just absolutely working perfect. I love me some C