yashsingh1/xdaforums huggingface dataset:
[T-Mobile Galaxy Note 4 Android Development] samxbwreck:
Titanium Backup issues?

tried running titanium backup and noticed some bugs.

1.) there's no menu or hamburger options buttons

(had to go into settings to change "long press home button" to "menu"

2.) when I get the option to do batch restores, it hangs up after just a few apps, making it almost virtually impossible to restore apps thru TiBu..

3.) running the latest SuperSU. and the latest TiBu

p.s., didn't have the time to ciph thru all the replies in this post. forgive if this is in Redundance
[T-Mobile Galaxy Note 4 Android Development] ezMesican:
I can't get Popcorn Time or Netflix to work. Any ideas? Popcorn Time doesn't want to load anything and Netflix just loads infinitely on the logo. I tried ticking and unticking nu player
[T-Mobile Galaxy Note 4 Android Development] pbedard:
May the apps arent set for 5.0 yet
[T-Mobile Galaxy Note 4 Android Development] wase4711:
has anyone found a way to use the proximity sensor, or tap on the screen to bring it out of sleep?

thanks!
[T-Mobile Galaxy Note 4 Android Development] LancerV:
If [MENTION=2457777]slayher[/MENTION] and [MENTION=3041959]fattire[/MENTION] let me Ill do semi daily builds and upload them
[T-Mobile Galaxy Note 4 Android Development] CheesyNutz:
I use Linux pretty much as a daily driver any more I was dual booted and have not booted back to windows in about 6 months
[T-Mobile Galaxy Note 4 Android Development] Technobuffalos:
Can I also get a link to the newest build? I haven't had any time to compile a build.
[T-Mobile Galaxy Note 4 Android Development] big gulps huh?:
I went to go build myself so I didn't have to ask around for a newer build and my old (2006) macbook (dual boot with Ubuntu 14.04) is not able to build it...(32bit os) baby on the way so I am not going to be able to help. I was really looking forward to helping out.
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
1 was fixed.

Try disabling mount namespace separation in SuperSU and reboot and try restoring again.
[T-Mobile Galaxy Note 4 Android Development] allenjthomsen:
Can someone tell me how to fix this again [MENTION=2457777]slayher[/MENTION] he told me how to but i left the thread irc
[T-Mobile Galaxy Note 4 Android Development] LancerV:
Try this

sudo apt-get install bison build-essential curl flex git gnupg gperf libesd0-dev libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop openjdk-7-jdk openjdk-7-jre pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev

Than make clobber , repo sync, breakfast trltetmo brunch trltetmo
[T-Mobile Galaxy Note 4 Android Development] allenjthomsen:
i have all those installed already

thats the same error i got when i tried to build liquidsmooth for note 4 also
[T-Mobile Galaxy Note 4 Android Development] LancerV:
Did you try a make clobber and starting over ?
[T-Mobile Galaxy Note 4 Android Development] allenjthomsen:
Doing that right now
[T-Mobile Galaxy Note 4 Android Development] LancerV:
Cool make clobber than pretty much start at repo sync.
[T-Mobile Galaxy Note 4 Android Development] samxbwreck:
thanks... will try now.
[T-Mobile Galaxy Note 4 Android Development] pbedard:
Sorry dude my pc doest like beeing partioned
[T-Mobile Galaxy Note 4 Android Development] wuelfman:
this would be great if you could !

do you need a tester :)
[T-Mobile Galaxy Note 4 Android Development] BotsOne:
Did you figure this out? I've been messing with it all day too lol.
[T-Mobile Galaxy Note 4 Android Development] allenjthomsen:
i was told to goto kernel trtle then make clean

then

ARCH=arm CROSS_COMPILE=../../../prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi- make mrproper

---------- Post added at 04:40 PM ---------- Previous post was at 04:39 PM ----------

Typed exactly that way or copied into terminal that way
[T-Mobile Galaxy Note 4 Android Development] ShrekOpher:
Apks are compressed files as well. So what is really impressive is that you are taking 20 gb of files and compressing individual files in that down to about 900 mb, then compressing those build files and Apks down to 250 mb.
[T-Mobile Galaxy Note 4 Android Development] BotsOne:
Thanks giving that a shot.

EDIT no dice here
[T-Mobile Galaxy Note 4 Android Development] ShrekOpher:
Netflix and popcorn time work on Android 5.01 just not on CM 12. I have both running fine on my Shield tablet. I have not found a fix yet. Having the same problem on the CM 12 Note 2 build. No solution yet.
[T-Mobile Galaxy Note 4 Android Development] LancerV:
[MENTION=2457777]slayher[/MENTION] I clobbered and did a clean build let me know if you want me to remove the link

https://www.androidfilehost.com/?w=files&flid=22821
[T-Mobile Galaxy Note 4 Android Development] emann56:
Do you know whats new in this build?
[T-Mobile Galaxy Note 4 Android Development] LancerV:
Fixes spen orientation, stock MMS sending, and adds menu overlay back in apps
[T-Mobile Galaxy Note 4 Android Development] mocsab:
I wanted to express my thanks for the opportunity to use the CM ROM that was offered on 12/11 - and the build that was released before that. It is a great start on what I am sure is going to become an incredible piece of work.

I wish I had the abilities that many of you have to compile - and build and do whatever it is you do while you continue to enjoy the updates and improvements that both you have done and that are part of the original CM - it is just way over my head - I don't have the knowledge or the skills necessary - reading your comments as you work thru issues and ideas - well frankly it makes me envious that I can't join in - some would say anyone can do this - but lets be honest, that isn't true or everyone would be a dev -

When I come home from work and begin catching up on what is happening on XDA, when I read this thread I can truly understand how a starving man feels watching the patrons enjoy a feast through the restaurants front window.... I (and I am sure others like me) eagerly await someone to throw out a 'bone so at least we can get a taste of what everyone is enjoying.... :)

Please don't take this wrong - I am not complaining - only wishing I could join in -
[T-Mobile Galaxy Note 4 Android Development] LancerV:
I would imagine all cm12 ROMs would be having that issue than. The codec is Samsung specific and its def does some calls to adjust volume levels
[T-Mobile Galaxy Note 4 Android Development] ezMesican:
Atleast I know it's not just me
[T-Mobile Galaxy Note 4 Android Development] LancerV:
Yeah guessing it has to do with the routing
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
Well I do see this in a logcat:

csd_client_volume: volume in percentage:60,volume in index =2
csd_client_volume: volume 2, state 3, ramp duration 20, rc 0

So something to do with this, and it looks like the csd_client used in hardware/qcom/audio-caf/msm8960/hal/audio_hw.c. I'll keep digging.

---------- Post added at 11:48 PM ---------- Previous post was at 11:45 PM ----------

Maybe this function based on the comment?

static int adev_set_voice_volume(struct audio_hw_device *dev, float volume)
{
struct audio_device *adev = (struct audio_device *)dev;
int vol, err = 0;

pthread_mutex_lock(&adev->lock);
adev->voice_volume = volume;
if (adev->mode == AUDIO_MODE_IN_CALL) {
if (volume < 0.0) {
volume = 0.0;
} else if (volume > 1.0) {
volume = 1.0;
}

vol = lrint(volume * 100.0);

// Voice volume levels from android are mapped to driver volume levels as follows.
// 0 -> 5, 20 -> 4, 40 ->3, 60 -> 2, 80 -> 1, 100 -> 0
// So adjust the volume to get the correct volume index in driver
vol = 100 - vol;

if (adev->csd_client) {
if (adev->csd_volume == NULL) {
ALOGE("%s: dlsym error for csd_client_volume", __func__);
} else {
err = adev->csd_volume(vol);
if (err < 0) {
ALOGE("%s: csd_client error %d", __func__, err);
}
}
} else {
ALOGE("%s: No CSD Client present", __func__);
}
}
pthread_mutex_unlock(&adev->lock);
return err;
}

---------- Post added 19th December 2014 at 12:37 AM ---------- Previous post was 18th December 2014 at 11:48 PM ----------

i'm going to try removing the

vol = 100 - vol

line. Here's my logic:

vol_up makes it go from 40 to 20

Calculation to be 40:

First .6 to be 40 (40 = 100 - 60)

Then .8 to be 20 (20 = 100 - 80)

Therefore vol up is working correctly, but driver does the math backwards. So removing the "100 -" would be:

.4 = 40

vol up to .6

.6 = 60

But there are also other files that may reference this calculation and driver, I don't know exactly which one is being used. I believe we use an 8084 so I see:

apq8084/hal/voice.c: vol = lrint(volume * 100.0);

apq8084/hal/voice.c: vol = 100 - vol;

I'll make the change and recompile and see if it works I guess!
[T-Mobile Galaxy Note 4 Android Development] CheesyNutz:
So I got the environment set up and it looks to be building ok will check after some sleep
[T-Mobile Galaxy Note 4 Android Development] technolize32:
Finger Print Problem

hi i have a problem i hope some one can help. First im not blaming the dev nor blaming it on his work. i just run on a bit of trouble hope some one can help. i flash this rom to my note 4 but decided to go back after a while to stock rom because of the features. but for some reason i cant get my finger print working. every time i try to set it up it displays an error and ask to reboot the phone. but no matter how many times i reboot or flash stock with odin still the same issue. any help would be appreciated.
[T-Mobile Galaxy Note 4 Android Development] BotsOne:
This happened to me once back in the 'ol touchwiz days, tried everything to fix it. Ended up having to ODIN back to bone stock, set up the fingerprint scanner, and then whatever I flashed after worked. Sucks but I swear I tried EVERYTHING. G'luck :good:
[T-Mobile Galaxy Note 4 Android Development] xda23:
How stable is this Rom as of now?are you using it as a daily driver? Thanks :)
[T-Mobile Galaxy Note 4 Android Development] shaggyskunk:
Make a Nandroid - Flash it and come to your own conclusion - What one person feels is a daily driver - May not be what someone else thinks ;)
[T-Mobile Galaxy Note 4 Android Development] hawaiiazn:
Maybe I'm a dumbdumb...

But... How can I get ahold of one of the newer, more stable builds? All I can see is the 12/11 download on the first page... Sorry for being a newb, but I'd appreciate it if someone could post or shoot me a link. Thanks advance.
[T-Mobile Galaxy Note 4 Android Development] LancerV:
Its less than two pages back.................
[T-Mobile Galaxy Note 4 Android Development] hawaiiazn:
Sorry Lancer. I swear I skimmed past it before you replied! But, I found it, and I apologize for that. Thank you.
[T-Mobile Galaxy Note 4 Android Development] BotsOne:
This motherscooter is so friggen fast I gotta take a minute to circlejerk. It's BY FAR the most fluent android experience I've ever had BAR NONE. **** is cray. Multitask button responds instantly, IME appears instantly, apps open instantly, notification/status bar responds instantly, consistent 60 fps, listviews are butter. Gimme a break, this is like an Android wet dream for an OG G1 owner like myself.

I've yet to see another device perform like the note 4 is right now. Including all other phones running lolly. I've seen a lot of vidoes of a lot of phones running Lollipop and just I haven't seen performance like I'm experiencing now. I've seen tons of semi-disappointing previews of lolly that made me wish it was better than it looks. Well, it is. Thanks guys.

I can go on...

No but seriously this **** is unreal. Now go pay Slayher and Fatty your monies.

/circleJerk

OK Now I'm back to studying how thingies work. Gonna contribute. (yes I know a thing or two myself). :cool:
[T-Mobile Galaxy Note 4 Android Development] tatico28:
Any dark gray theme?
[T-Mobile Galaxy Note 4 Android Development] Tiffany84:
Not trying to be rude but this has been asked and answered so many times in this thread if you read a little. A quick search for stable would probably bring all the posts right up. But IMO it's just as stable as any other TW rom I've flashed and it's definitely a daily driver. Been using it since it was released. The speed and fluidity of it will blow you away I promise.
[T-Mobile Galaxy Note 4 Android Development] gekkehenkie11:
So our 910F is about where you guys are now too, everything seems to work. And we are facing the same issue's now (battery drain, lower speed/performance than earlier versions), what do you guys, especially [MENTION=3041959]fattire[/MENTION], think would be the best way to proceed ? Start a common 910 snapdragon CM12 development thread ? Or would you prefer to keep development in seperate threads, like it's now ? It seems that apart from some blobs and the modem connection, our firmwares are the same, so I think it would make sense to have a common development thread to work on the common issue's we have.
[T-Mobile Galaxy Note 4 Android Development] Mavman42:
I think it's an excellent idea! Everybody working together could knock those bugs and maybe fix battery drain. Had to go back to Touchwiz because battery was draining like there was no tomorrow.:p other than that everything was pretty stable for me.
[T-Mobile Galaxy Note 4 Android Development] wuelfman:
thanks very much for this :)
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
UPDATE: Dialer volume is fixed. I'll report tonight when I get home which files I modified so [MENTION=3041959]fattire[/MENTION] or [MENTION=2457777]slayher[/MENTION] can make the commit. Or maybe I'll stop being lazy get a github account to commit it myself. :cool:

I also tested with Skype to make sure I didn't break it for anything else and it worked fine with Skype.

---------- Post added at 09:49 AM ---------- Previous post was at 09:48 AM ----------

I noticed some errors being spewed to /proc/kmsg when the screen is off. I'll see if I can't track that down next.
[T-Mobile Galaxy Note 4 Android Development] Mavman42:
Sounds good! *pun intended*
[T-Mobile Galaxy Note 4 Android Development] LancerV:
Way to fix the situation up and quick :good:
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
I actually LOL'd at work at that one! :good:
[T-Mobile Galaxy Note 4 Android Development] CheesyNutz:
first build went great very happy
[T-Mobile Galaxy Note 4 Android Development] LancerV:
Another minor bug I noticed when using quick reply with stock messaging app it doesnt kill the notification. Looks like just need to edit the app to send a cancel notification, as it marks the message as read just doesnt push a cancel notification

LogCat from clicking inside of MMS app

D/Mms (21110): [MsgUtils] isIccCardActivated subscription 5

D/Mms (21110): [1171] markAsRead: update read/seen for thread uri: content://mms-sms/conversations/120

D/Mms (21110): [MsgUtils] isIccCardActivated subscription 5

I/ActivityManager( 777): Displayed com.android.mms/.ui.ComposeMessageActivity: +173ms

D/Mms (21110): cancelNotification

D/Mms (21110): cancelNotification

D/OpenGLRenderer(21110): endAllStagingAnimators on 0xa0faaa00 (ListView) with handle 0xa0bd01a0

I/Timeline(21110): Timeline: Activity_idle id: android.os.BinderProxy@2bbf9737 time:24383525

D/Mms (21110): cancelNotification

I/Timeline( 777): Timeline: Activity_windows_visible id: ActivityRecord{1dfc891f u0 com.android.mms/.ui.ComposeMessageActivity t789} time:24383827

E/SQLiteLog( 1444): (284) automatic index on pending_msgs(msg_id)

E/SQLiteLog( 1444): (284) automatic index on pending_msgs(msg_id)

D/Mms (21110): [MsgUtils] isIccCardActivated subscription 5

D/Mms (21110): cancelNotification

D/Mms (21110): cancelNotification
[T-Mobile Galaxy Note 4 Android Development] Teufel Hunden:
Any theme engine yet?
[T-Mobile Galaxy Note 4 Android Development] denson9874:
Not at this moment...
[T-Mobile Galaxy Note 4 Android Development] bobbarker2:
Stability before Features.

---------- Post added at 06:47 PM ---------- Previous post was at 06:45 PM ----------

Hmm I had the 12-11 post from OP working on my VZW DE but can't get the latest build linked a few pages back to get a signal. Copied over my apns_config and the libril, can select APNs in cellular networks but cant get a signal. I wonder what could have changed to break this. Also seems like Titanium Backup is broken, try to restore an app and it hangs indefinitely.
[T-Mobile Galaxy Note 4 Android Development] paranoid android85:
Use superSu instead to get titanium to work
[T-Mobile Galaxy Note 4 Android Development] donharden2002:
Any chance of updating this to work with the latest build from 12/18?

Thanks
[T-Mobile Galaxy Note 4 Android Development] bttfpromo:
I don't see any build from 12/18, but I haven't been following the thread too closely.

Get the framework-res.apk and open it with WinRAR, find the original pointer_arrow.png file... I can't remember where it is exactly.

Anyways, just replace it with the file that I posted.
[T-Mobile Galaxy Note 4 Android Development] shaggyskunk:
Did you check to see if you have a baseband?
[T-Mobile Galaxy Note 4 Android Development] CheesyNutz:
Did I see someone pushed fixed for notification volume ?
[T-Mobile Galaxy Note 4 Android Development] LancerV:
You mean phone volume?
[T-Mobile Galaxy Note 4 Android Development] donharden2002:
Thanks
[T-Mobile Galaxy Note 4 Android Development] LancerV:
I got a modified framework-res.apk ready to go but T-Mobile cut off my tethering. Will upload it in about an hour

---------- Post added at 02:38 PM ---------- Previous post was at 02:27 PM ----------

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

Here you go just rename it and do adb root and than adb push framework-res.apk /system/framework/framework-res.apk
[T-Mobile Galaxy Note 4 Android Development] fattire:
This is nice work-- but I can't help but think there's a more device-specific solution. The CAF HAL has the same 100-vol thing, and if we change it there, we may break other apq8084 devices (Nexus 6) who will suddenly have THEIR volumes reversed...

We could just copy the hal source to our device, make the change and build just for us, but then we miss out on subsequent fixes & changes...

there's got to be a better way to report the volume change... maybe it's a bad mixer_path.xml ? Or maybe we can follow voice_set_volume(struct audio_device *adev, float volume) to figure out where volume is being set and then flip it?

If something is misconfigured in our device somewhere I'd rather catch the problem there rather than lower down where it could affect other devices (and breaks with upstream)...

Update:

Interestingly, AudioManager seems to adjust volume in a "step" fashion as opposed to an absolute volume level.. I think you can pass AudioManager.STREAM_VOICE_CALL to change the call volume.

Update again:

Oh wait, here's the absolute volume setting.
[T-Mobile Galaxy Note 4 Android Development] fattire:
Am i right that this only affects calls and only when the headset is plugged in? Or does it affect all voice calls (bluetooth, no headphones, etc.?)

And is every means for adjust volume (headset volume, physical buttons, onscreen-buttons) affected equally?

Any way to hop on IRC and discuss?

Update: Okay headphone buttons, physical, and onscreen all work the same way-- though the physical buttons don't take the sound all the way "down" (meaning volume doesn't go all the way up).. but you can force it by touching it.. which may be helpful...
[T-Mobile Galaxy Note 4 Android Development] LancerV:
Pretty sure the misc battery bug is from the CPU always leaving two cores when the screen is on and being set to a default min ilof 1.72gh
[T-Mobile Galaxy Note 4 Android Development] fattire:
Where do you see that? i thought I was seeing 300000 or whatever for all the cpus.

Also, I just discovered something which I think may be related to some of the banking apps not working right. I need to test it out.

ALSO there is 5.0.2 out so fingerprint should be updated in that init.c
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
Mine goes down to 300 MHz on both most of the time.
[T-Mobile Galaxy Note 4 Android Development] gekkehenkie11:
We had a battery problem on 910F, not sure what that developer did but it would drain like 6% an hour in deep sleep, without wakelocks. I fixed that and the drain while in deep sleep is gone (0% battery drop in the last 30 minutes of idle time). However when surfing it drains FAST and it seems it's indeed due to cores running at high speed. Going to look into this some more ...

*EDIT* yeah i see high usage at 2.65 ghz, 1.73 ghz (the highest usage time it seems) and 1.5 ghz
[T-Mobile Galaxy Note 4 Android Development] fattire:
Yeah... this is something qcom added initially for a different SoC (not 8084 in other words) and then pulled it.

However, qualcomm explicitly has this 2-core setting for 8084 currently. And since they made the thing I assume they know what they're doing. It can scale down tho as you point out. Maybe it's for performance reasons? Who knows. If they pull it, then we can pull it too, but it's basically our power.c so we should keep it as-is for now. It also may not be the case that it happens all the time.. I didn' tlook at the code at all but there's that DISPLAY_STATE_HINT_ID_2 toggle thing, and maybe that's a message that's used occasionally rather than always... if someone wants to take the time to look at what it's doing and when, please report back..
[T-Mobile Galaxy Note 4 Android Development] Lessaj:
Though sometimes it does "stick" at certain frequencies. Setting min with FauxClock after a while if it gets stuck fixes it. I'm going to chalk it up to a bug for now.
[T-Mobile Galaxy Note 4 Android Development] LancerV:
New build building 5.0.2 :D
[T-Mobile Galaxy Note 4 Android Development] CheesyNutz:
yes i synced and was shocked to see it synced so soon lol
[T-Mobile Galaxy Note 4 Android Development] jpeps:
download

cm-12-20141211-UNOFFICIAL-trltetmo.zip not updated to 5.02
[T-Mobile Galaxy Note 4 Android Development] Michael.B.:
Anyone looking for a build, feel free to PM me. I do not want to keep taking away from the important discussions related to dev in this thread. FWIW I just built 5.0.2 and it's working on my cell.
[T-Mobile Galaxy Note 4 Android Development] witor19:
I sent you a pm. Thank you
[T-Mobile Galaxy Note 4 Android Development] allenjthomsen:
Im intrigued what were your steps to build
[T-Mobile Galaxy Note 4 Android Development] Kevin36:
Ill try that 5.0.2
[T-Mobile Galaxy Note 4 Android Development] naruto.ninjakid:
So setting it lower with an app such as SetCPU should remedy this ?
[T-Mobile Galaxy Note 4 Android Development] wase4711:
finally, someone with some manners...no one cares to say please or thank you anymore..

very sad..
[T-Mobile Galaxy Note 4 Android Development] fattire:
It works, dad!

Another thought on those of you wnating to turn off the capacitive buttons (which is funny considering the work that went into making them work :P ), that's on the list-- I've actually got the changes in that might work, but it requires a fix to the kernel to support shutting them off. Slayher said to hold off so he could get this build out, and I haven't tested it yet, but if you want to try adding it, I'll get to my other computer later and post a diff or something...
[T-Mobile Galaxy Note 4 Android Development] wuelfman:
please make sure your heath issues are good first ! you don't do any good to your family if your sick.

do what you need to do for yourself

I know we are way excited for cm12 ( i know i am) but i can wait

still the build rocks even for a early alpha

thanks for the work you do
[T-Mobile Galaxy Note 4 Android Development] vogli:
In how many places did you actually have to change code? Or was it all changes in mk files and getting the right blobs in place and so on?
[T-Mobile Galaxy Note 4 Android Development] TheUndertaker21:
I can't believe how fast the note 4 is now. It was fast before now it's just flying and this ROM is great even at early stage as many already said thank you for your hard work. Have PayPal ready for donation :)
[T-Mobile Galaxy Note 4 Android Development] JaZart:
How's camera quality and does infrared work?