yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Original Android Development] gekkehenkie11:
So you are saying you can't scan whatsapp code on 910F ? Are you on BOB4 bootloader ?
[Galaxy Note 4 Original Android Development] thefirstguyafterthatguy:
On your rom, I am unable to scan the QR code - it sits there doing the scanning animation and doesn't recognise it. When I reverted back to BOB4 stock TW, this feature worked flawlessly.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
That's odd it works fine here. If you guys want I can look into it but then one of you needs to get me a logcat log: reboot your phone, wait a minute after booting, do nothing, then open whatsapp and the scanner. Then make a logcat log, including timestamps and post it here. Google to find out how to do all that. Then I'll take a look for you guys.
[Galaxy Note 4 Original Android Development] soundstorm27:
What kind of bootloader/modem do you use?
[Galaxy Note 4 Original Android Development] sandeepsb:
What Bootloader should we be using with CM 12.1? Looking at my About screen I can see Baseband listed as BOC4 - Should I keep it this way?
[Galaxy Note 4 Original Android Development] SleemLDJ:
A quick question. Please. Now that most of us have reverted to BOB4 modem and bootloader and everything now works fine.....

Is there a way we will know when the kernel of cm12.1 for our device has been updated from BOB4 to something else? So that we then make the bootloader and modem match? [MENTION=3296134]gekkehenkie11[/MENTION]
[Galaxy Note 4 Original Android Development] thefirstguyafterthatguy:
I waited for official TW lollipop to drop and played around with it for a few weeks before finally throwing in the towel and switching to this. I believe therefore that I have been on BOB4 the entire time i've been playing around with this (I wanted to get TW lollipop early and so i downloaded the German version which i noticed was BOB4). I have kept an eye on the progress here since it was in R&D and there has been a lot of good progress for sure!

I've flitted back and forth between tw and lollipop since and am usually on the latest nightly if I can help it.
[Galaxy Note 4 Original Android Development] andy-w:
hey i have got a logcat here for you, i started recording then opened whatsapp, opened the qr scanner, then i stopped the recording. i am on bob4 modem and bootloader

hope this helps
[Galaxy Note 4 Original Android Development] Tom540:
Just wanted to say thank you so much for everything you've done gekkehenkie, this rom is so good and I really love the new MDNIE tuner app
[Galaxy Note 4 Original Android Development] gekkehenkie11:
This helps a lot I already see the problem. Will post a flashable zip here soon for you guys to try and if it works I will have it merged.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
I will surely let you guys know.
[Galaxy Note 4 Original Android Development] Ciex:
Is it possible to have some Samsung apps on this CM Rom? Because I really like the Samsung picture studio or something. If someone else knows any related, or better app I would really like to know! Thanks a lot! :D
[Galaxy Note 4 Original Android Development] sandeepsb:
This isn't possible, the Samsung apps are closely intertwined with the Touch Wiz Framework, so the only way to run those apps is if you have the Samsung Stock Firmware. Unfortunately you can't have everything - I went for the fast and fluid AOSP.
[Galaxy Note 4 Original Android Development] Ciex:
Ah ****! That's suxxx! Well, anyway! Do you know any studio photo apps which is related, or almost/better like Samsung?
[Galaxy Note 4 Original Android Development] sandeepsb:
An initial search on the Play Store brings up quite a few, this one looks good- https://play.google.com/store/apps/details?id=com.kvadgroup.photostudio I guess just give them all a try and see which one you like best
[Galaxy Note 4 Original Android Development] Ciex:
Will try! Thanks for the response dude! :)
[Galaxy Note 4 Original Android Development] sandeepsb:
Thanks, this would help a lot since I have no clue what BL/Modem I should be on. Currently on BOB4 now.
[Galaxy Note 4 Original Android Development] jotade:
Hi everyone, is the Camera still having the problem that we have to restart the phone to make it work? Thanks
[Galaxy Note 4 Original Android Development] gekkehenkie11:
I merged a fix, so your problems should be gone in the 28th nightly. Let me know though how it works out, although I'm pretty confident I fixed it ;) Enjoy ;)
[Galaxy Note 4 Original Android Development] gekkehenkie11:
The only cam that I know that doesnt work correctly is the google cam, don't use that one. All others should be fine.
[Galaxy Note 4 Original Android Development] jotade:
Ohh Thanks, yes i use Snap Camera but sometimes i get cant connect to camera so i have to restart the phone, maybe i should use other app or the problem is still with all cameras? Wich Camera app you recommend Thanks for answering
[Galaxy Note 4 Original Android Development] Nanafied:
Is it only me? Sometimes my Bluetooth and location auto turning on.
[Galaxy Note 4 Original Android Development] mtheis1987:
I can confirm that the BT problems with car stereos are now fixed! :good:
[Galaxy Note 4 Original Android Development] BalajiSundar:
As the OP said and I second that , Any camera except Google Camera works fine . No FCs , No " Cant Connect to camera" problems . SnapCamera has ton of options , so its easy to mess up the settings . Try resetting the settings and reboot the phone . But I am pretty sure that the camera problem is completely fixed
[Galaxy Note 4 Original Android Development] bo-l:
I use google camera works fine here :)

Sendt fra min Note 4 @ Android 5.1.1 Custom
[Galaxy Note 4 Original Android Development] sandeepsb:
This can't be right. My battery seems to be draining in front of my eyes.
[Galaxy Note 4 Original Android Development] Racinghart91:
hi all, i have been running cyanogenmod a month ago, it all was great but then my phone kept restarting and managing the apps on startup, when it was finished it started all over again.

becouse of that i went back to Sh*twiz.

can anyone confirm that this does not happen anymore ?

with the app that gekkehenkie made for the screen settings this rom is attracting me again.

but i need a stable phone that doesnt get into bootloops after using it for a week.
[Galaxy Note 4 Original Android Development] Nanafied:
Hi,

I've had this before, The reason why is that we installed 2 themes. We can't use different theme together.

For Example

Theme A : Icons, Fonts,

Team B : Style

You can't use 2 different themes and choose them differently. You have to use a theme as a whole.
[Galaxy Note 4 Original Android Development] 0-0-0:
I tried CM last night (for the first time and updating from triple 4 stock ROM) and couldn't get the S-Pen to work.

Plus, clicking anything on screen felt like I had a 10mm thick screen protector on.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Google camera will work a few times and then you will get a 'cant connect to camera' and you will have to reboot your phone. Do not use google cam.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Then you have a wake lock. Read the 1st post.
[Galaxy Note 4 Original Android Development] sandeepsb:
This is what I have.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
But that's not in the period your battery was dropping. That's only 28 minutes and those pics look normal and you lost 2% in those 28 minutes. Quite normal (although I assume it's a rounding issue, if it really would be 2% it would be high)
[Galaxy Note 4 Original Android Development] sandeepsb:
Ahhh forgot I rebooted the phone to see if flashing a newer bootloafer/modem will fix the issue.

If it happens again I'll repost the stats.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Sure, post stats and post a dumpsys batterystats too like explained before.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
So if you think you have a battery issue:

1) Post screenshots for betterbattery stats, like you just did, both kernel + partial wakelocks

2) Post a dumpsys batterystats, like explained before

3) Make sure you dropped at least 10% over this period. 1-2% is not significat at all, cause those battery percentages really aren't accurate at all if you measure them individually. (sometimes you'll do really long with a percent while the next percent then drops in no time. That's just because the phone isnt accurate enough to measure down to 1% )

That is, if you want me to do something with it. I'm ignoring posts like 'help my battery is dropping'. I don't mind helping people but then at least make an effort to supply some info.
[Galaxy Note 4 Original Android Development] BalajiSundar:
Guys I found a Total Blackout theme for this awesome ROM . It is visually pleasing and consistent , Dev is super active and hears our suggestions . Since it is a pitch dark theme I request all the AMOLED fanatics to try it out , It may minimise battery usage because of minimal pixel illumination .

Link to the Theme : https://play.google.com/store/apps/details?id=com.chummy.jezebel.blacked.out&hl=en

Theme Name : Blacked Out CM12/CM12.1
[Galaxy Note 4 Original Android Development] andy-w:
yes it worked! thanks for your excellent work :)
[Galaxy Note 4 Original Android Development] sandeepsb:
Sure I understand. I'll post more info next time.

So far my battery's fine using BOC3.
[Galaxy Note 4 Original Android Development] NEPOtico:
boot loop

Hi All,

I am having the same problem. just flashed the current nighty, cm-12.1-20150528-NIGHTLY-trltexx, wiped cache and dalvik.

when it boots up, says optimising app, when it completes all 118 of them reboots and does it over again.

flashed again and wiped again still same problem.

I dont get a chance to change fonts or styles

Thanks all

NEPO
[Galaxy Note 4 Original Android Development] thefirstguyafterthatguy:
it works perfectly! thanks a million!
[Galaxy Note 4 Original Android Development] NEPOtico:
Tried again and formatted internal storage and worked fine....
[Galaxy Note 4 Original Android Development] Racinghart91:
Thanks man now I finally know how this could happen !

Hmmm maybe il go the cyanogen path now!
[Galaxy Note 4 Original Android Development] whiteadderPT:
Anyone with no names on icons on menu? cause mine disapeared lol
[Galaxy Note 4 Original Android Development] TraNe15:
Hey guys! So guys android M files are online and fingerprint support integrated to stock android. Just curiosity, are these M preview images will be enough to port it?

Thank you.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
I don't think it has been released yet ? But yeah I think this looks good, if they support fingerprint we'll get it too of course. We already have the fingerprint kernel code, just the Android framework for it is missing.
[Galaxy Note 4 Original Android Development] Springles:
hi where can I download the lolipop GAAPS?
[Galaxy Note 4 Original Android Development] gekkehenkie11:
BOOM just shot my first 720p 120hz video ;) Figured it out how to do it. Not sure if the human eye would be able to see a difference between 60 hz and 120 hz but it's fun anyway ;) And what IS useful is that I can now, not only shoot 720p video 8x slowed down at 15 fps (just like touchwiz stock cam can) but also 720p 4x slowed down to 30 fps (touchwiz stock cam cant do that).

Anyway going to fix all this up in a patch soon and hopefully this was the last thing I had to do on the camera ;)
[Galaxy Note 4 Original Android Development] gekkehenkie11:
http://lmgtfy.com/?q=lollipop+5.1+gapps
[Galaxy Note 4 Original Android Development] Springles:
1. can I use ViPER4Android with this ROM?

2. does anyone know of a KCAL setting that will make the screen look like an iPhone 6+ ?

3. does this ROM support Fast Charging?
[Galaxy Note 4 Original Android Development] ROBSONMEG:
Please fix it so foldermount works with this rom every time I update the rom foldermount stops working. Please fix if possible cheers rob
[Galaxy Note 4 Original Android Development] Eddster3000:
DELETED: wasn't worth feeding the troll
[Galaxy Note 4 Original Android Development] Shujie:
It's back to normal now with today's nightly.

They revert a change at CM

Great rom :good:
[Galaxy Note 4 Original Android Development] mike13ftw:
Why so many changes to the stock launcher? With the change of the folders it felt weird at first but then I liked it but I don't think that I am gonna like Android M style app list. Maybe I will change to nova launcher again
[Galaxy Note 4 Original Android Development] Andycar:
Again, thanks for guiding! Today I succeeded in building my first CM from sources. I've used libtime_genoff.so file from stock, otherwise did everyting as in guide.

Unfortunately, the flashed .zip doesn't bring me anywhere... I mean, not even the splash screen is shown for me:rolleyes:

Can someone here give me a hint, how to debug the kernel loading process? Can usb connection serve anyhow for this?

Thanks so much in advance;)
[Galaxy Note 4 Original Android Development] sandeepsb:
Just posting this for a sanity check, by observing everything it all looks OK to me, this has been running without charge for about half a day.
[Galaxy Note 4 Original Android Development] SleemLDJ:
I've looked places but haven't been successful. Can someone please tell me where I can find a rosemary font to flash or a theme that has rosemary font on google play store.

Thanks.
[Galaxy Note 4 Original Android Development] ROBSONMEG:
foldermount still not working

---------- Post added at 09:45 PM ---------- Previous post was at 09:33 PM ----------

phone crashes after new update rebooted twice already
[Galaxy Note 4 Original Android Development] soza971:
On 29th build? If so no crashes hère...
[Galaxy Note 4 Original Android Development] gekkehenkie11:
What I suggest to do is add this to your .repo/local_manifests/roomservice.xml:

<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="cm-12.1" />

Do a 'make clobber, repo sync and build again
[Galaxy Note 4 Original Android Development] gekkehenkie11:
You have a 12 hour wakelock, no wonder your battery is draining :) You didnt supply the output for dumpsys batterystats, or at least that textfile is not it. That file will contain the answer to your problem.
[Galaxy Note 4 Original Android Development] sandeepsb:
I'll probably have to let my phone run for a few more hours now since I just installed the latest nightly.

I connected the phone to my PC and called "adb shell dumpsys battery > battery.txt" isn't that the right command?
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Not sure if I typed it correctly before but it should be:

adb shell dumpsys batterystats > battery.txt

(you used 'battery' maybe I supplied the wrong info before, but you should use 'batterystats'). It should generate a lot bigger file, with tons of info on your battery consumption.
[Galaxy Note 4 Original Android Development] sandeepsb:
Yep, silly me used battery instead of batterystats! I've attached the dump I got from that but if the info provided doesn't help then I'll have to send it tomorrow after hours of using the phone.

EDIT: the forum won't let me attach the file, here's a Google Drive link - https://drive.google.com/file/d/0B4oPdV2gC-A_TmtpNUx2N052QlU/view?usp=sharing
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Yes, reboot the phone now, or better turn it off. Turn it back on and let it run 10 hours, then post again the screenshots plus this file. Anyway what I could see quickly from your file, you have your email syncing on which drains battery, I suggest to turn off all types of syncing. Also, I highly suggest to install an app called "disableservice", then got to the System tab in that app, scroll down to the google play services,click it then disable 'configfetchservice' and 'userpresenceservice'.

That should save you some juice already !
[Galaxy Note 4 Original Android Development] sandeepsb:
Thing is I do need real time email notifications as I run businesses throughout the day, I'd prefer to keep it running tbh. If I were to disable configfetchservice and userpresenceservice what would happen - a quick Google search highlighted fitness related tasks?
[Galaxy Note 4 Original Android Development] gekkehenkie11:
[MENTION=5092652]sandeepsb[/MENTION]: Also your network setup is keeping your phone awake big time, 30 minutes of the 90 minutes. Not sure if you've been downloading a lot. If not, check out this small tutorial I wrote about fixing your network drains: http://xdaforums.com/showpost.php?p=58987722&postcount=99
[Galaxy Note 4 Original Android Development] sandeepsb:
Thanks, I'll take a look but it might be due to me downloading a lot earlier. Appreciate the help.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Keep in mind that if you're downloading something, the phone is awake ! Even if the display is turned off. Anyway good luck
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Sure just realize that this drains a lot of battery.

Actually I'm not even 100% certain myself. I always have them disabled, they always appear on the top google processes that drain your battery and everything works fine without them in my experience.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
BTW now we're on the topic of power consumption, these are the power consumption values as distributed by samsung for our note 4:

<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="none">0</item>
<item name="screen.on">76</item>
<item name="screen.full">223</item>
<item name="bluetooth.active">101</item>
<item name="bluetooth.on">1</item>
<item name="wifi.on">1</item>
<item name="wifi.active">487</item>
<item name="wifi.scan">239</item>
<item name="dsp.audio">38</item>
<item name="dsp.video">250</item>
<item name="radio.active">126</item>
<item name="radio.scanning">23</item>
<item name="gps.on">1</item>
<array name="radio.on">
<value>8.3</value>
<value>8.3</value>
</array>
<array name="cpu.speeds">
<value>2649600</value>
<value>2572600</value>
<value>2496000</value>
<value>2457600</value>
<value>2265600</value>
<value>1958400</value>
<value>1728000</value>
<value>1574400</value>
<value>1497600</value>
<value>1267200</value>
<value>1190400</value>
<value>1036800</value>
<value>960000</value>
<value>883200</value>
<value>729600</value>
<value>652800</value>
<value>422400</value>
<value>300000</value>
</array>
<item name="cpu.idle">5.2</item>
<array name="cpu.active">
<value>362</value>
<value>335</value>
<value>293</value>
<value>284</value>
<value>245</value>
<value>198</value>
<value>169</value>
<value>162</value>
<value>137</value>
<value>116</value>
<value>108</value>
<value>95</value>
<value>87</value>
<value>66</value>
<value>59</value>
<value>54</value>
<value>42</value>
<value>34</value>
</array>
<item name="battery.capacity">3220</item>
<array name="wifi.batchedscan">
<value>.0002</value>
<value>.002</value>
<value>.02</value>
<value>.2</value>
<value>2</value>
</array>
</device>

See here for explanation of the fields: https://source.android.com/devices/tech/power/index.html#power-values

Some interesting things you can note here: the highest CPU frequency takes almost 11x more power than the 300 mhz frequency. Biggest battery consumer though is WIFI ! Not when it's doing nothing, then it barely uses energy. But transmitting data over WIFI is the worst thing you can do to your battery, according to these data supplied by Samsung. Using mobile data is 4x more battery saving. Also note that bluetooth isn't exactly a low battery consumer ... So if you want to kill your battery:

* have screen at max brightness

* transfer data over wifi

* run CPU at highest clock speed

* have bluetooth on

Also keep in mind that every time you touch the screen, the CPU scales up to the max speed for 2-3 sec. And keep in mind that a lot of tasks are way more complicated than you think and thus need high CPU speeds, like rendering a web page on a QHD screen. So webbrowsing over wifi: HUGE battery drainer !

And again, if you want to cut down your battery, make sure your WIFI is doing as less as possible. Read my networking tutorial on how to cut it down: http://xdaforums.com/showpost.php?p=58987722&postcount=99
[Galaxy Note 4 Original Android Development] Nanafied:
Can anyone tell me what's consuming my battery?

https://drive.google.com/file/d/0Bwvcyocv_74WNG16VGlMMjhhLUk/view?usp=sharing
[Galaxy Note 4 Original Android Development] Springles:
Hi can you please tell me what's consuming my battery please!!!

https://docs.google.com/file/d/0B9766OHffq2INlhQSW5PbXZGdjg/edit?usp=docslist_api
[Galaxy Note 4 Original Android Development] ROBSONMEG:
also. the cm12 launcher keeps crashing to
[Galaxy Note 4 Original Android Development] gekkehenkie11:
No point in analysing a log of 3% discharge. If you're going to analyse battery usage, make sure you do it over al LEAST 25% discharge. The system is just not accurate enough to analyse such a small discharge.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Interestingly enough I couldnt really pinpoint your problem. I did see how your play store downloaded 60 MB (you probably installed or updated some apps) ? But that Torrent tracker you are running, sending out 70 MB and receiving 70 MB seems suspicious, I'd try running a few days while having that app uninstalled and see if that helps (I HIGHLY suggest to just use your pc for torrents instead). Also your 'google docs' sent out 50 MB of data, looks quite suspicious too. I'd try without those 2.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Sorry but you keep reporting problems no one else has. Can't help you, everything works fine here, sorry. I would suggest a factory reset and try first without an added theme (maybe you're using a theme that's causing problems). Other than that, no idea unfortunately ...
[Galaxy Note 4 Original Android Development] gekkehenkie11:
The 30th nightly is out, containing my HFR video patch, so as of today you can record at 60 fps (max 1080p !) or even 120 fps (max 720p !). If anyone wants to record at 60 fps or 120fps:

Use snap camera (i'm not aware of any other app that can do it). in Other options enable "Show advanced settings". Then if you want to record 120 fps, configure it like this:

video frame rate = 120

Video High Frame rate = 120

Use HFR frame rate = selected

And then use up to 720p for 120 fps (make sure you set video size to max 720p and set 'video preview size' to 'video' (so it equals always your video size).

If you want you can then also use "Slow motion speed" to shoot slowmo video. For example if you use 1/8 slowmo and record at 120 fps, you will end up with 15 fps 8x slow motion.

And I think ALL cam apps work now, even google cam ! FB messenger, whatsapp, Stock cam, google cam, Retrica, Fv-5 cam and Snap camera I've all tested, all worked without any issue's here. So everything should be fine now, from normal video to HFR to UHD-4k ;) Enjoy.

Please let me know if anyone experiences any issue's with a specific cam app. I'm hoping it's all perfect now though, getting a bit bored of working on the cam :p
[Galaxy Note 4 Original Android Development] iRoNX:
You sir are the best.. Thank you for your work!!

XDA should do a "portal post" for your work on Note 4
[Galaxy Note 4 Original Android Development] :
Does device encryption work meanwhile?

I have successfully tested it with newest nightly on Nexus 4. Since this bug is listed as CM bug, i'm curious to know if it works with Note 4 too.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Thanks mate. Next up: extra brightness mode ! But I think I'm going to take it easy this weekend, been really working non stop on this ROM for the last few months in my spare time. But this extra brightness mode is going to be my next project.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Slayher's been working on it some time ago, he gave up. As this is something that I would personally never use + the fact that it seems hard (slayher is the best out there), I dont think I'll take this one on any time soon ...