yashsingh1/xdaforums huggingface dataset:
[T-Mobile Galaxy Note 4 Android Development] mhespenh:
Was having the same issue, can confirm commenting out that line appears to have fixed that build problem (still waiting on it to finish, but it already got past there edit: Success!).

mhespenh@Yoga:~/Desktop/cm12/device/samsung/trlte-common$ git diff BoardConfigCommon.mk

diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk

index e42d47b..58ffbc4 100644

--- a/BoardConfigCommon.mk

+++ b/BoardConfigCommon.mk

@@ -78,7 +78,7 @@ TARGET_PROVIDES_LIBLIGHT := true

# Media

TARGET_ENABLE_QC_AV_ENHANCEMENTS := true

-BOARD_USE_SAMSUNG_COLORFORMAT := true

+#BOARD_USE_SAMSUNG_COLORFORMAT := true

​

Thanks for the great work, man! What can I do to help? I'm an embedded systems engineer by day, so I might be useful :D
[T-Mobile Galaxy Note 4 Android Development] blacklabel2020:
Where did you change that?
[T-Mobile Galaxy Note 4 Android Development] CheesyNutz:
No offense to the guys and girls trying to learn how to build but it's making it really hard to see what's going on with the rom
[T-Mobile Galaxy Note 4 Android Development] mhespenh:
device/samsung/trlte-common/BoardConfigCommon.mk line 81
[T-Mobile Galaxy Note 4 Android Development] fattire:
oh sorry-- backing up a second here...

make clobber

is a command that will clear out the entire build-- all the object files, the zips, the image files, the various folders and stuff-- everything in the /out directory. It's basically supposed to take you back to zero. (I don't think it clears CCACHE, but let's ignore that for now). So when you do make clobber, it's basically saying "I want to start building completely from scratch, so that any kind of half-built stuff is gone, and I can start completely new."

This is good. We need you :)

Slayher accidentally committed the line I pointed out with some other stuff. (FWIW, That line was left over from an attempt to get DRM working... just trying to get a color pixel format recognized. We're still working on that as we speak...)

But you wanna help? I got something for ya! How about getting the Ultra-HD/4k video working in the camera?

Let me share with you progress thus far...

So you can get UHD to show up in the UI. Just apply this. (needs finessing, but enough for testing) You'll notice that even though it's selectable in the menu, you can't actually record anything. Checking logcat will give you some kind of error about how that resolution isn't available.

And it's not, because in order not to break the Android CTS the camera somehow needs to be told to go into 4k mode- it's not there by default. We're not sure if that's done via a prop, a sysfs entry, a call to the HAL or what. But anyway, the output of the various supported resolutions is generated by this vendor wrapper. It's responsible for a lot of what you'll see in the logs when you use the camera, including:

D/CameraParams( 387): video-size-values: 1920x1080,1440x1080,1280x720,800x450,800x480,720x480,640x480,352x288,320x240,176x144

4K resolution is missing... but maybe the wrapper can somehow get it into the right mode..? We're not sure yet. I have been busy the last 2 days and will be until Wed at the earliest, but I am around on freenode as is slayher.

Speaking of slayher, he's got some more network-related goodies working, including wifi direct and tethering.

Finally-- if the camera isn't up your alley, we can use some help with NFC as well. I won't go into that and bore everyone unless you feel like taking it on. As I said, we're on IRC if you want to talk directly.

thanks much!
[T-Mobile Galaxy Note 4 Android Development] paranoid android85:
This thread is for developers and people helping with the rom. There should be a questions thread in general.
[T-Mobile Galaxy Note 4 Android Development] fattire:
Hmmm
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
Copy sec_touchkey.kl and rename it sec_e-pen.kl. That fixes it.
[T-Mobile Galaxy Note 4 Android Development] fattire:
Hmm. doesn't seem to work for me... the stylus works with the back key for you? I see the

<6>[ 191.503956] wacom_i2c 4-0056: wacom_i2c_softkey: keycode:254 pressed:0. pen_prox=0

but nothing registers unless I use my finger.
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
Edited my post, check again. :)
[T-Mobile Galaxy Note 4 Android Development] donharden2002:
If I gave you the file for the note 3 do you think you could fix it for me or instruct me on what to do please? The arrow drives me crazy.
[T-Mobile Galaxy Note 4 Android Development] fattire:
adb shell

$ su

# mount -o rw,remount /system

# cp /system/usr/keylayout/sec_touchkey.kl /system/usr/keylayout/sec_e-pen.kl

# reboot

(works on note 4)

Thanks!
[T-Mobile Galaxy Note 4 Android Development] fattire:
Pooshed! thanks again!

See... a rom thread gets better because it's a build thread too!! Also, slayher got rid of that bad line so builds should be back to working.

[youtube]vgk-lA12FBk[/youtube]
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
Cool just did a breakfast and it pulled the change. I was trying to find where it references all the keylayouts on build but I hadn't found it yet. :P Now I know!
[T-Mobile Galaxy Note 4 Android Development] fattire:
Yep-- though you should probably do a repo sync rather than a breakfast to get new source changes (maybe that's what you meant)...

If you haven't seen the CM wiki, there's a section on what you'll find where in what directory-- the device-specific files are generally in /device/manufacturer/codename/* though in the case of the Note 4 there are many variants so you have:

/device/samsung/trltetmo (tmobile specific, which pulls in...)

/device/samsung/trlte-common (this is stuff shared by all the trlte devices, which pulls in....)

/devices/samsung/qcom-common (this is all qualcomm devices...)

you'll also find the qcom hals and such in /hardware/qcom/[stuff like media or audio or display]/* organized by the version of the platform-- apq8084 is ours in most cases.
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
I think I stumbled across that page before but didn't read it much. I'll definitely do that. I want to track down the volume in call bug as well (low call volume = loud, high volume = quiet). Definitely seems like a stored value calculation problem possibly within dialer (unlikely) because the keys register correctly as vol up and down. Gonna do some logging tomorrow. Also noticed the first bit (like 1/5) of the brightness slider doesn't do anything really.
[T-Mobile Galaxy Note 4 Android Development] fattire:
I guess I haven't made enough calls to notice that, but if something is switched that shouldn't be.. maybe it's something here?
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
I did some tweaking there but it didn't help, I was only looking at max values though. I'll read it again tomorrow, bed time for me. :)

Also I baked in TimeService.apk, seemed to have fixed the time bug entirely.
[T-Mobile Galaxy Note 4 Android Development] LancerV:
I didnt see anything either on dmesg though I was getting this

<7>[28114.767313] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq max gain 0x90180003 to volume (0)

<7>[28114.767745] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq estimate adj 0x90180014 to volume (0)

<7>[28123.844133] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq max gain 0x90180003 to volume (1)

<7>[28123.844618] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq estimate adj 0x90180014 to volume (1)

<7>[28124.130492] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq max gain 0x90180005 to volume (2)

<7>[28124.130836] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq estimate adj 0x90180014 to volume (2)

<7>[28124.372133] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq max gain 0x90180007 to volume (3)

<7>[28124.372482] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq estimate adj 0x90180014 to volume (3)

<7>[28124.614450] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq max gain 0x90180005 to volume (4)

<7>[28124.614793] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq estimate adj 0x90180014 to volume (4)

<7>[28124.803422] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq max gain 0x90180003 to volume (5)

<7>[28124.803748] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq estimate adj 0x9018001e to volume (5)

<7>[28130.832899] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq max gain 0x90180005 to volume (4)

<7>[28130.833271] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq estimate adj 0x90180014 to volume (4)

<7>[28131.100682] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq max gain 0x90180007 to volume (3)

<7>[28131.101481] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq estimate adj 0x90180014 to volume (3)

<7>[28131.351259] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq max gain 0x90180005 to volume (2)

<7>[28131.351566] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq estimate adj 0x90180014 to volume (2)

<7>[28131.584714] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq max gain 0x90180003 to volume (1)

<7>[28131.585197] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq estimate adj 0x90180014 to volume (1)

<7>[28131.783370] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq max gain 0x90180003 to volume (0)

<7>[28131.784166] es70x-codec es704-codec-gen0: es705_put_veq_block(): write veq estimate adj 0x90180014 to volume (0)

Anytime I was pushing the volume down it was going from like volume 0 to volume 1 and anytime pressing volume up was going from like 3 to 2 to 1 etc
[T-Mobile Galaxy Note 4 Android Development] allenjthomsen:
So what does it mean when it says im over quota when im trying to repo sync
[T-Mobile Galaxy Note 4 Android Development] isa_rod:
Wheres the gapps link or am I missing something?
[T-Mobile Galaxy Note 4 Android Development] nmushkin:
There are none, the devs say they'll leave that up to you.
[T-Mobile Galaxy Note 4 Android Development] epersons:
Back in this thread I posted a link and others have too. There is also a lot of good information to read along the way. If you have trouble locating it let me know.
[T-Mobile Galaxy Note 4 Android Development] denson9874:
I have to say, I'm nowhere close to calling myself a developer, but I've built my first ever CyanogenMod build thanks to this thread. There is so much productivity and innovation going on here. This is what xda was created for.:highfive::fingers-crossed: Furthermore, I find it hard to even consider this build as an Alpha. I've been running it since the Dec 11th build was released and haven't thought for a sec of turning back. Thanks [MENTION=2457777]slayher[/MENTION], [MENTION=3041959]fattire[/MENTION], and [MENTION=1880287]spleef[/MENTION] (i used [MENTION=1880287]spleef[/MENTION] instructions on building CM) for giving me the opportunity to see the behind the scenes of the creation of a masterpeice.
[T-Mobile Galaxy Note 4 Android Development] Mavman42:
Why i mostly stopped following this thread, because i don't care to build a rom.

Now i just refresh the OPs first post to see any updated builds. I think they should do something about this. Because it seems it's no longer about the OPs rom, but it's about everybody building their own. And if thats the case it should be in General
[T-Mobile Galaxy Note 4 Android Development] TheUndertaker21:
I agree. i keep checking maybe there's an update but all I see is folks building their own. I'd love it if someone can fix the reboot issue though or add features that were added in L gang
[T-Mobile Galaxy Note 4 Android Development] fattire:
One of us is really confused about what the word "Development" means then. When I look above this thread, I see

xda-

developers

T-Mobile Samsung Galaxy Note 4 T-Mobile Galaxy Note 4 Android

Development

Unofficial CM-12.0 for T-Mobile Note 4. (trltetmo)

If you're looking for a thread where people can say "touchwiz sux" or "wow this is so fast", that should go in general. But the first step in developing, attracting new developers, and fixing issues is getting the build to work. If you're not interested in learning to help (or helping to learn), by all means... start a general "complaining into a hole" thread and post all your comments there. I see developing and learning as basically the same thing, and I can't think of anything more develop-y than getting a build of this

alpha

to finish.

That person could be YOU. If you knew how to build you'd realize how trivial it is to add those kinds of mods...
[T-Mobile Galaxy Note 4 Android Development] wase4711:
truer words were never spoken..

XDA used to be about development, and the joy of learning to do things on your own.

Now its about self entitlement, and what can I leech for free

A sad state of affairs not only here, but in our general population as well..

Thanks for keeping the XDA "dream" alive!:good:
[T-Mobile Galaxy Note 4 Android Development] jpeps:
Mms working here
[T-Mobile Galaxy Note 4 Android Development] paranoid android85:
That's why there should be a discussion page in general section so developers can use this and problem/regular discussion can be on the other page
[T-Mobile Galaxy Note 4 Android Development] CheesyNutz:
so hows the newest build running for every one ?
[T-Mobile Galaxy Note 4 Android Development] HtcOnekid:
Everything good so far noting to report just waiting for some mods or addon.
[T-Mobile Galaxy Note 4 Android Development] isa_rod:
Then where do we get the Play store for it? I didnt see it on... Or are we to try and get individual apps?
[T-Mobile Galaxy Note 4 Android Development] wase4711:
please learn how to search/use google...
[T-Mobile Galaxy Note 4 Android Development] LancerV:
Aww come on it's only a couple million lines of code how trivial can it be! But no really sometimes it takes hours to fix one thing
[T-Mobile Galaxy Note 4 Android Development] Milly7:
For on screen buttons http://forums.androidcentral.com/showthread.php?p=3652513

I did the first step for enabling the buttons, but not the second for disabling capacitative buttons since I don't think the capacitative lights can easily be disabled at this point.
[T-Mobile Galaxy Note 4 Android Development] Tiffany84:
I know I shouldn't be cluttering the thread with this but I just can't thank you guys enough. For a first build its unbelievable. Sure there's little issues here and there but it's light years ahead of where I thought it would be. Will definitely be my dd.
[T-Mobile Galaxy Note 4 Android Development] Technobuffalos:
Thank you for your hard work and effort on compiling this build. I have been to anxious to get back on CM.

Edit: only issue so far is lack of support for Chrome, but no hiccups at all. I am truly blown away.

Sent from my SM-N910T
[T-Mobile Galaxy Note 4 Android Development] Mortify1:
Just wow. This is blazing fast and stable. Sure its missing features but I haven't had one hiccup or force close.

Great work slayer & fattire.
[T-Mobile Galaxy Note 4 Android Development] Milly7:
Chrome works. You need a gapps package that has it. But, be careful because some packages will remove apps such as aosp browser, messaging etc. I extracted the chrome folder from a gapps package, copied to system app and set the correct permissions.

Hopefully the fix to get it from the market is found soon, since some apps won't even show as of now, such as Google + and a few other apps.
[T-Mobile Galaxy Note 4 Android Development] ebrinkis:
Anyone try this for GAPPS? http://xdaforums.com/showthread.php?p=56810851#post56810851

An alpha, but then again so is the CM-12...

Can select / configure to not remove anything or to not add unwanted parts.
[T-Mobile Galaxy Note 4 Android Development] marcdman4000:
YouTube fix (not mine)

First go to application manager. Force stop YouTube. Clear everything and disable. Download this apkhttp://www.apkmirror.com/apk/google-inc/youtube/youtube-6-0-11-apk/ and install it. Bingo bango.
[T-Mobile Galaxy Note 4 Android Development] m0nz:
Thank you.

Probably the best day of my life. Esp coming from Temasek or LiquidSmooth on Note 3

Thank you x200058288588282994595883771727475747202030595757378220485757583029293845757727
[T-Mobile Galaxy Note 4 Android Development] marcdman4000:
maybe I'm not seeing something.

OK. I can seem my internal and external SD card with the stock CM file manager. However I like to use root explorer. With root explorer I can my internal SD card. But not my external. And I was looking for the mtp toggle. And I could not find it . I go to storage and press the three buttons and just like the other guy. All I seen is the USB computer setting. I press it and nothing happens. A bug? Or operator error?

---------- Post added at 03:33 AM ---------- Previous post was at 03:31 AM ----------

---------- Post added at 03:35 AM ---------- Previous post was at 03:33 AM ----------

I tried them. Play store hung for a while on first boot. Rebooted and it logged in fine.
[T-Mobile Galaxy Note 4 Android Development] johhnyred23:
thanks

Been looking every few hours for thanks everythingvi use seems to work,I haven't use data,I'm on WiFi. Thanks again
[T-Mobile Galaxy Note 4 Android Development] marcdman4000:
camera (only major compromise)

Wow. This part is a hard pill to swallow. Stock Google camera app sucks major balls. Anyway to install the touchwiz camera apk? Or is it touchwiz dependent?
[T-Mobile Galaxy Note 4 Android Development] Milly7:
I used this to be able to write to SD with root explorer https://play.google.com/store/apps/details?id=nextapp.sdfix

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

Its touchwiz dependent.

---------- Post added at 02:29 PM ---------- Previous post was at 02:22 PM ----------

@fattire [MENTION=2457777]slayher[/MENTION] my build keeps failing around here:

make: *** No rule to make target 'vendor/samsung/trlte/proprietary/app/com.qualcomm.location.apk', needed by '/home/milz/cm/out/target/product/trlte/obj/APPS/com.qualcomm.location_intermediates/package.apk'. Stop.

make: *** Waiting for unfinished jobs....

Notice file: frameworks/base/packages/WAPPushManager/NOTICE -- /home/milz/cm/out/target/product/trlte/obj/NOTICE_FILES/src//system/app/WAPPushManager/WAPPushManager.apk.txt

#### make failed to build some targets (03:36 (mm:ss)) ####

Any suggestions?
[T-Mobile Galaxy Note 4 Android Development] sandman7793:
Redownload.

Also in TWRP make sure to wipe under advance, everything except external card.
[T-Mobile Galaxy Note 4 Android Development] 3473:
Has anyone tried this on N910F?
[T-Mobile Galaxy Note 4 Android Development] spirodave:
Thanks for giving us another option for our phone and hope this grows to something great . Think I'll sit back and watch on this one.
[T-Mobile Galaxy Note 4 Android Development] Charper99:
Yup i tried and didnt work, maybe i didnt do it right. But as far as i know it doesnt work on the international version
[T-Mobile Galaxy Note 4 Android Development] mocsab:
Downloaded and installed last night and I am amazed at how smooth this rom is. Even in it's infancy, this rom seems to offer a maturity that belies it age.

Really nice. I have had very few issues -initially, Initially, I could not find my ExtSD card ....When it wasn't in the normal place I am used to finding it I kept looking deeper and I eventually found it under System/ External_SD. (EXTSD was in System/MNT but it didn't work - nothing was there....

I had trouble restoring aps in Titanium Backup (I never restore data - aps only) but I believe this is an issue TB has with Lollipop in general (at least I had the same issue on my wife's S5)

When I was first installing the rom last night and adding my apks from folders on my phone and or playstore - my battery was discharging faster than I could charge it - plugged in the whole time the battery burned thru the charge so fast that even while it was charging it was discharging faster. I figure things will settle down and as this matures that will improve considerably.

Anyway - A HUGE thank you to the DEVS and CM for making this possible. I love what you have done and am eagerly awaiting future updates.....lol....
[T-Mobile Galaxy Note 4 Android Development] slayher:
Sorry Everyone. I have been going through some health issues, and I wasn't listening to my body last night. Shortly after getting the build uploaded and this thread made, I was not doing so well.

I will get a new build up, to see if that helps with the sdcard issues.

Also for all the people looking at sprint, it would not be hard to get a build for it, the biggest issue would be radio. I can setup a shell for it, but I would need someone with a very good understanding of adb, logcat, radio logs, and terminal commands to help get it off the ground.
[T-Mobile Galaxy Note 4 Android Development] fattire:
Yes I posted the solution previously-- slayher can you comment out the com.qualcomm.location in the .mk?

Slayher-- At least last night (didn't play today) my last-minute patch seemed to have fixed the dropped internal sdcard/mtp issue. Might want to try a new build and see if it works better..
[T-Mobile Galaxy Note 4 Android Development] CheesyNutz:
Son hows the camera working this is one of the reason I bought this pho e was the camera
[T-Mobile Galaxy Note 4 Android Development] spleef:
Need to add the android/hardware/samsung from cm repo to your roomservice.xml cause is looking for it but is not there. ..there is a Samsung_sl something or another but that's not the right one. ..go to cm repo type in the search field hardware_samsung. ...then add the correct info to roomservice then sync
[T-Mobile Galaxy Note 4 Android Development] fattire:
Wait can you post which line is missing?
[T-Mobile Galaxy Note 4 Android Development] wase4711:
ok, typing in "cm12 GAAPS" into google brought me this..

https://www.google.com/?gws_rd=ssl#q=cm+12+gaaps
[T-Mobile Galaxy Note 4 Android Development] fattire:
Hey... I think we're nearing 1000 posts.
[T-Mobile Galaxy Note 4 Android Development] epersons:
I replied that I and others have linked to the GAPPS in this thread. You can click on my username and 'view forum posts'. It is the second (now third) listing. Exercising the ability to search will leave the thread less congested with redundancy. Even if you have to read through all the posts, there is a lot of great posts by people with good info. Reading is excellent. Be well :)
[T-Mobile Galaxy Note 4 Android Development] isa_rod:
Actually no it wasnt way to much, I just thought it was phone specific... Thank you for your time.

---------- Post added at 01:45 PM ---------- Previous post was at 01:43 PM ----------

I appreciate that and I was going over and over all the threads and Sometimes skimming you miss things... On one link that said gapps it was actually the CM12, So thats when I actually decided to ask. I appreciate your time and reply.
[T-Mobile Galaxy Note 4 Android Development] wase4711:
Here is something that might come in handy for you in the future..

https://play.google.com/store/apps/details?id=com.itslightness.gappsmanager

WOOT!..1000th post in this thread!!
[T-Mobile Galaxy Note 4 Android Development] fattire:
Thanks for the.. compliment? I dunno about talented... I'm in the same boat as everyone and there is tons and tons I don't know. I just figure if I pass on what I do know, others who know more than me (ie, most people) will hopefully do the same. Win-win.

I was more going for light yet soaring inspirational rhetoric rather than mean, but.. whatever it takes.
[T-Mobile Galaxy Note 4 Android Development] wase4711:
you're confusing "meanness" with the desire to educate...

"give a man a fish, and he eats one meal. Teach a man to fish and he eats forever"...
[T-Mobile Galaxy Note 4 Android Development] pbedard:
I kmow its not the place i wish u can get sprints data n voicr up so we can all have fun
[T-Mobile Galaxy Note 4 Android Development] isa_rod:
Love this all nice n smooth
[T-Mobile Galaxy Note 4 Android Development] Tiffany84:
Are you talking about taking a screen shot? If so, press and hold the power and volume down buttons at the same time

You edited your post so I guess you figured it out