yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Original Android Development] calaiou:
im in 4.4 stock , i need flash bootloader and modem lollipop or no , is possible flash this rom directely , please
[Galaxy Note 4 Original Android Development] bo-l:
Apn settings. Create new apn. Try tweak apn. Fx my mms apn is coursing the network crash "!" when i try to send a mms or getting a mms. Then i try to make my mms apn and Internet apn in one. That works for the crash but then i cant get mms or send mms but the "!" is gone.

But when i have a mms apn and in apn type i need to type mms. But if i set it to default,mms

The "!" is gone but mms is not working.

And if i try mms,default. Result is the same.

I also got the problem of i turn wifi off and a few seconds there is a "!" but its shifting to lte fast.

The problem on mms is that its is not getting lte back on before i switch mobile data off and then again on.

Sendt fra min Note 4 @ Android 5.1.1 Custom
[Galaxy Note 4 Original Android Development] gekkehenkie11:
That's not a valid logcat. A valid log file should be at least 700 kb long. Please google "adb logcat" on how to do it correctly (or anyone else who has problem switching from wifi to lte, please read my post on the previous page on how to do it and google on how to make a logcat)

BTW you dont have mobile data AT ALL ? You're experiencing some different problem than the others reported. I need a logcat from somebody who cant switch to mobile after wifi. If you dont have mobile data at all you probably have your APN misconfigured.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Glad to hear it worked ! I also drove another 20 km, still no disconnect :)
[Galaxy Note 4 Original Android Development] gekkehenkie11:
This questions had been answered multiples times. Please search the thread before posting a question. BOB4 btw is the answer for 910F, for 910G I dont know, probably the FW from around december would be the best.
[Galaxy Note 4 Original Android Development] bidav1:
910f here, I rad all the thread but some People say Bob4 some say boc4.. BTW are we talking about modem or bootloader?
[Galaxy Note 4 Original Android Development] gekkehenkie11:
BOB4, both modem as bootloader. Somebody posted a flashable zip file you can use.
[Galaxy Note 4 Original Android Development] bidav1:
Thank you gekkehenkie for your efforts with this project!

---------- Post added at 02:00 PM ---------- Previous post was at 01:32 PM ----------

Sorry to disturb but I can't find the zip with bob4 modem and bl, also when I flashing those do u need to factory reset as they are different csc?
[Galaxy Note 4 Original Android Development] Tom540:
Yeah, flash BOB4
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Just drove another 30 minutes using the fix I posted, didnt lose connection once :) Starting to think I've finally fixed it correctly :)
[Galaxy Note 4 Original Android Development] StuttgartKiwi:
Hi gekkehenkie, will you incorporate this into the rom itself once you're satisfied it fixes the GPS issues?
[Galaxy Note 4 Original Android Development] gekkehenkie11:
That's the idea :) But before merging the fix I want to be 100% sure it's indeed fixed. So I'm hoping that people will try it too. And if everybody states that the GPS fix connection doesnt get lost anymore, I'll have it merged, probably this weekend.
[Galaxy Note 4 Original Android Development] lgumo01:
same here.

Wysłane z SM-N910F
[Galaxy Note 4 Original Android Development] OnlinePredator:
Hey guys, just having a few issues with bluetooth which I wasn't having prior to the updates from mid last week. It still works, but there is a significant delay sometimes, and when starting media playback there is a large delay before it starts playing, often it jitters the sound a bit but once it gets going it's fine.

Otherwise really great rom, thanks again for the effort!
[Galaxy Note 4 Original Android Development] the12live:
Camera

Does anyone have the issue with camera not being auto focused? Not only the stock camera but any camera from store.
[Galaxy Note 4 Original Android Development] Ciex:
Anyone knows a better kernel vs the CM are using? The reason is that I feel the stock of Samsung Kernels doesn't drain that faster vs the CM one
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Somebody else reported that I think. They changed some stuff in the CM bluetooth core, I'm sure they'll have it fixed again.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
The stock cam doesnt auto focus. The others do (and no problems here).
[Galaxy Note 4 Original Android Development] ROBSONMEG:
4k video recording is not working in snapy camera app not tried other app yet will report when I have
[Galaxy Note 4 Original Android Development] gekkehenkie11:
It does, you just have to configure it correctly. Enable advanced features and set video preview size to 'video'
[Galaxy Note 4 Original Android Development] bo-l:
Is the mms/data problem something you would look at? Pretty enoring

Sendt fra min Note 4 @ Android 5.1.1 Custom
[Galaxy Note 4 Original Android Development] bidav1:
guys I've installed BOB4 bl and modem, then installed CM12.1 i'm on 910f and still having those issues:

1. extreme overheating with regular use like web browsing

2. battery life is terrible, on TW it's 2%/hour, with cm latest nighty it's 5-6%/hour. battery stats log is clear nothing special in it.

3. camera quality is worse than tw (i'll try different apps, tried v5 camera till now)

4. when the phone reaches 8-12% of battery it just turns off and won't turn on and shows battery is 0%. while on TW with the same battery i can work with the phone till it reaches 1% regularly. tried different battery, still the same.

I can leave without camera, the gps is working fine, but the battery life and the overheating is cruccial for me..any ideas?
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Yes, use the search function.
[Galaxy Note 4 Original Android Development] bidav1:
I rad the whole thread..changed to bob4, disabled all unused apps, generated battery stats log and it's all fine there nothing special.

disabled auto screen light, what else can i do?
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Ok, one last time I'm going to look at someone's battery stats log. Post it and I'll have a look. But this is really the last time. I have better things to do than to debug people's setups.
[Galaxy Note 4 Original Android Development] ROBSONMEG:
[/YOUTUBE]snap camera app is what I am using and can't get the 4k video to work. it works OK on stock camera app in this rom. have I got the wrong app that u or talking about?( I have snap camera app should it be snapy the floating[YOUTUBE][/YOUTUBE] camera app?) I will upload the video clip to my YouTube account for u to see it in action. many thanks Rob
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Do what I explained it the other post and it will work
[Galaxy Note 4 Original Android Development] ROBSONMEG:
https://youtu.be/IJtQ8tct4-Q

OK I will just use the in stock camera app.

many thanks Rob
[Galaxy Note 4 Original Android Development] gekkehenkie11:
LOL, really it's simple, just change the settings like I explained and it will work. 100% guaranteed.
[Galaxy Note 4 Original Android Development] Tom540:
Gekke was clearly trying to help, he has done so much for us and I think he deserves more respect
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Thanks mate :)

So now GPS seems to be solved (have tried again today, again no disconnects anymore, I'll have the fix merged this weekend), onto the next issue. It seems CM12 gets hotter than stock. During driving with the Nokia Here app (I love that one btw, nice how offline navigation works there), temp gets over 80 degrees C, while on stock it stays at about 60 degrees C. So I just did a test, I used an app called "Trepn Profiler" which features a nice CPU overlay in which you can see CPU usage of all 4 cores as a screen overlay. Nice app. So, interesting difference with stock is that stock keeps all cores quite steady at 1.2 ghz during driving with "Here". But in CM12 it flips between CPU speeds like a crazy machine on Acid :) So I want to figure out why that is ... Not sure if this causes the extra heat, it might, but either way I want to find out why it's different from stock. I already checked, the mpdecision binary is exactly the same stock as in CM12, so that cant be it. Will need to figure out if there are some settings it uses or that maybe it's a thermal engine thing that constantly wants to push speeds down while mpdecision wants to push them up (the thermal-engine binaries are again exactly the same though). Maybe something like that. Anyway, this is, I'm afraid, a project, just like GPS, that's going to take some hard work and a while to figure out .... But that's what I'll be working on as of now.
[Galaxy Note 4 Original Android Development] ROBSONMEG:
I am not disrespecting him it's just that institutions that he gave does not match the settings that I have on my snap camera app that's why I asked if I had the correct app. I have snap camera HDR by marginz software. and as I can't get it to work I just said that I will use the stock camera for now. gekke has done a great job on this rom so why would I disrespect him.
[Galaxy Note 4 Original Android Development] than33:
I have read that he found some settings. Please keep us informed about that!

I really love that ROM on my Note 4. Stock Android (or CM) is WAY much better of TW crap. Unfortunatelly camera is absolutely unacceptable. It gives so much noise on EVERY photo that it looks like $50 camera. It is not only on low light, but also on normal light. Only photos taken outdoor are acceptable, BUT still they look much worse than on stock camera. HDR on stock camera works in some hardware way so it gives you HDR on preview (in realtime) and believe me: it DOES make a difference. You have to sit indoor and point camera to window. On HDR you will see what is outside of window instead of only white. You can also use HDR on videos.

For me: if those "setAutoLowLight and setLowLightShot" settings found by Snap Camera author will make difference I will stay with overall excellent CM12.1. If not I will have to go back to stock ROM (which will be awful experience, but I need good camera).

UPDATE: For anybody who wants the best from his camera on CM: you have to use Open Camera. It seams that it resolves fully problems with photos in good light conditions. It also have working hardware HDR on our phone (so you see it on preview)! Photos taken in dark conditions are still not as good as TW, but they are much more acceptable!
[Galaxy Note 4 Original Android Development] Klanac89:
Bluetooth still useless :(

Mi Band, Bluetooth Headset and Mi Gamespad don't work anymore (before Nightly 15 I don't got this problems).

Gesendet von meinem SM-N910F mit Tapatalk
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Yes I already sent him a PM yesterday, no reaction yet though. But he might be right, it might be a custom Denoise feature. If so I dont think it should be too hard to solve it

.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
What nightly before 15 was good ? The only Bluetooth change I see was done on the 12th: http://www.cmxlog.com/12.1/trltexx/

If you can verify that on the 11th bluetooth worked fine as of the 12th it doesnt (download here: http://download.cyanogenmod.org/?device=trltexx ), I'll send the maker of that patch of the 12th nightly a message.
[Galaxy Note 4 Original Android Development] :
I think I've been on CM on my note 4 for about 70% of the time..with the rest 30% being TouchWiz just because of the heat issues. I really know what you're talking about - using gps for an hour with the screen on will make the phone ridiculously hot. even while surfing the Web and using Facebook etc will make it warm (not hot hot but definitely warmer then TouchWiz) I tried everything - changing modems and limiting the frequency to 2.0 - didn't really help. that's like the only things that's annoying me on cm. hopefully you can fix it - your work so far has been amazing.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Well I just found out that the reason TW doesnt get so hot is that it throttles the CPU way earlier and way longer. A simple test: start the "Here" app, zoom out the map until you see the whole globe and keep spinning that around for a few minutes. Have TREPN enabled to see the 4 cores. You'll see that it first maxes all 4 cores at 2.7 ghz and the temperature starts climbing rapidly. But after TW reaches 80 C degrees for the first time it immediately locks down CPU speed to 1.5 ghz. If the device doesnt cool down quick enough it locks down even to 1.0 ghz as the max CPU speed.

CM doesnt do all that. Anyway I'm going to research how this exactly works. I think the most beautiful solution would be an option, so that users can select what they want, cause I can see some gamers for example wanting to have full CPU speed all the time, regardless of some heat, while people browsing the web probably want it the other way around. Anyway will research into all this

*EDIT* it seems the system sets the max CPU speed, depending on the temp, via: /sys/devices/system/cpu/cpufreq/cpufreq_limit/cpufreq_limit_requests. That value there change from time to time and seems to correspond exactly to the CPU speed you see in TREPN :) So this should make the next steps a lot easier :)

*EDIT2* actually it seems to set that speeds limits when you flip the screen on/off ... Not sure why, maybe it's a power management thing .. .Will research into all this :)

*EDIT3* It's a kernel thing :) Made great progress today, finally something that's going easier than expected :)
[Galaxy Note 4 Original Android Development] pctv007:
[MENTION=6057331]Klanac89[/MENTION]

BT Works fine here... Headset, Mac connect... Everything.

N910F too and 2015-06-17 CM12.1

Did you try to clean install ?
[Galaxy Note 4 Original Android Development] :
btw I noticed that on CM- with any kernel app (except fauxclock maybe) if you try to lock the frequency at lower then 2.7 it won't let you. for example if you go to tricksterMod or Kernel auditor and underclock to 2.0Ghz(so there will be less heat) it doesn't stay at 2.0 and goes back to 2.7 :(

only app that doesn't change back is fauxclock and i'm not sure if its actually locking the frequency or just saying its locking it and goes back to 2.7 too.

Edit: I remember it was like that on TW until some kernel devs (on the non original dev forum) merged some commits and now freq changes work better
[Galaxy Note 4 Original Android Development] gekkehenkie11:
I just found out that it's a kernel thing. I thought it might have been user space via for example mpdecision or thermal-engine, but it's not, it's the kernel, found the management of it all. Making great progress :)
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Well I figured it was related to freq changes (that's what 'mpdecision' does). But it's not. It's just a simple CPU speed limit depending on heat, done by the kernel. Going to research into this :)
[Galaxy Note 4 Original Android Development] :
btw I downloaded now the app you said - ''Trepn'' , it seems like the GPU freq are all over the place too (but I'm not sure how it is comapared to TW)
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Yeah it's the same on TW, until the CPU limit throttle kicks in ;)
[Galaxy Note 4 Original Android Development] bidav1:
Im trying different modems and bootloaders, what should I backup in twrp to restore cm after official tw? Boot, data, system or just data and system? Or anything else like cache? Thanks
[Galaxy Note 4 Original Android Development] Senthil360:
cpu cools down

I had the same problem, overheating and enormous batterydrain , uninetalled xposed, disabled notifications for themes, after this battery life was excellent, just excellent, my cpu started deep sleepin and i'm runnin smooth on 960 mhz underclock with vision kernel

(Tried force stopping trebuchet and email)
[Galaxy Note 4 Original Android Development] bidav1:
Whats themes notification?
[Galaxy Note 4 Original Android Development] Senthil360:
Settings -> notifications -> notification access
[Galaxy Note 4 Original Android Development] ROBSONMEG:
is the GPS fix implemented in the new update I ask as I Installed new update then flashed the GPS fix and it froze my recovery.
[Galaxy Note 4 Original Android Development] bidav1:
Are u on Bob 4?
[Galaxy Note 4 Original Android Development] Klanac89:
Now I know whats the problem... When I put a device on "smart lock" than I get problems with bluetooth (no mather what it is). After one day I'm 100% sure.

The Mi Band can unlock your phone, when you put it in smart lock (trust device which can unlock your phone when it's connected over bluetooth).

Gesendet von meinem SM-N910F mit Tapatalk
[Galaxy Note 4 Original Android Development] ROBSONMEG:
DO NOT flash GPS fix after the new update I did and everything stopped working recovery froze then when I finally got the phone to start all apps kept crashing one by one. so I had to refresh new nightly only and everything is OK so far.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Nonsense. The files are ROM independent, 100% sure. I just did it too, latest nightly, gps patch, works perfectly. I'll have it merged this weekend though.

Not sure what you did but it surely wasnt the gps patch.
[Galaxy Note 4 Original Android Development] pctv007:
I can confirm: flashed GPS fix and 06/20 nightly => perfectly ok :)

THX
[Galaxy Note 4 Original Android Development] Mandoza:
Is it possible to fast charge on this ROM /kernel? And is it possible to use your mdnie tuner somehow? [MENTION=3296134]gekkehenkie11[/MENTION]
[Galaxy Note 4 Original Android Development] ROBSONMEG:
I flashed o6/19 and GPS fix and it went wrong will try 06/20 later when I get home. Cheers rob
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Define 'fast charge'. And mdnie tuner should work on most Samsung devices
[Galaxy Note 4 Original Android Development] Mandoza:
I can't enable it on kernel auditor, I'm used to it there, and where can I find the mdnie tuner, can't find the app, much be appreciated if you could link it to me
[Galaxy Note 4 Original Android Development] alfredlee:
Compass is still not working on latest version.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Works fine here.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
mdnie: first post

fast charging: if you mean fast charging as via our fast charging wall connector: that's supported. If you mean fast charging as in telling hardware like a car radio to deliver more current than it was designed for: not supported in the CM kernel. Since that can damage your car radio for example I dont support it.
[Galaxy Note 4 Original Android Development] :
do you think other custom kernels are effected by it as well? (like vision ker)
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Don't know, still researching into all this ... Currently building the official samsung kernel with some stack dumps inserted, which hopefully will get me some more info ...
[Galaxy Note 4 Original Android Development] duvee:
Sow im at build 18062015, previous at build 21052015

All i can say is yeah baby..

No data loss (had this last time.. Annoying) , no gps probs (tested it several times) , no bluetooth probs (thank god), no overheating nor battery loss.. Got a screen on time of 6 hours yesterday with texting and facebook and browsing.. Finally its great!

Modem: bob4.. Before boc3..
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Ok made some great progress again today, I figured it all out ! It works like this. The kernel exposes a sysfs node, "/sys/power/cpufreq_max_limit". This is done so that userspace programs can put a value into that. If you do for example, in an ADB shell:

echo 1728000 >/sys/power/cpufreq_max_limit

Then you'll see that your cores will be maximized to 1.7 ghz. You can remove the limit with:

echo -1 >/sys/power/cpufreq_max_limit

Now, the question of course is, what in userspace does this ? If you grep the Touchwiz ROM for "cpufreq_max_limit" the only hit is ssrm.odex. Decompiling this odex shows a "CustomFrequencyManagerService.java" class.

So that explains why we don't have that throttling code, it's that user space odex. So yes, all kernels will have this 'problem' since it's not the kernel at all who drives this process. It's that userspace samsung code that instructs the kernel to limit the CPU clock when temperature reaches certain thresholds.

So, as this is Samsung proprietary code for which we have no sourcecode, we'll need an alternative. I'll discuss with Slayher, but I think it might be an idea to implement Faux's "Intellithermal" control. I think that performs quite well. The Samsung code isn't all that either, for example it only kicks in after you've switched the screen on/off (try it: boot into touchwiz, run some CPU consuming task without having turned the screen off and you'll easily go over 80C). So Fauxes Intellithermal control might actually even work better than Samsung's thermal driver.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Yeah we've come a long way. I probably invested over 1000 hours in this project, Slayher probably even more and Fattire has done some great work too. But the blood, sweat and tears have paid off, I'm proud of the result ! I think if we add a good thermal throttling daemon that the ROM is pretty much perfect :)
[Galaxy Note 4 Original Android Development] statikk1:
First of all, thanks to the devs for their efforts and excellent roms.

My major issue as I'm seeing with many others is data/mms. Reading here it seems not much is being done to fix this.

Feedback wise I've tried everything possible with APN settings and different sms apps. When an mms is sent it drops data so no internet for a while and mms never goes out.

Interestingly I've discovered this. A mate on Galaxy Note 2 LTE using cm 12.1 and the Telstra network, reconfigured his APN settings and mms works. I've so far tried Optus and Vodafone on my note 4 with no luck. Have yet to try Telstra. Devs, can we please get some mms love ?

Thanks
[Galaxy Note 4 Original Android Development] finallau:
Does different types of modem / firmware model all impacts on performance, connectivity, stability, battery life and etc?
[Galaxy Note 4 Original Android Development] than33:
I am using boc4 modem without any problems. I have this version because I was using bod4 rom before cm. Boc4 modem for bod4 rom is different.
[Galaxy Note 4 Original Android Development] alfredlee:
Do I have to do anything aside from updating the rom to the latest version?

Compass is not working in Google Map, works fine in another map app that I'm using as a temporary solution though. :confused:

Thanks for your effort!
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Well I think we're nearing completion. But still some work to do. And then, Samsung probably releases 5.1 next month so we're going to upgrade the kernel and blobs, that's also going to be some work. So don't expect MMS anytime soon ...
[Galaxy Note 4 Original Android Development] gekkehenkie11:
People reported heating problems with other bootloaders than BOB4 so I highly suggest to use BOB4, since our kernel is BOB4 too.
[Galaxy Note 4 Original Android Development] gekkehenkie11:
No, intellithermal has nothing to do with Samsung's implementation.
[Galaxy Note 4 Original Android Development] finallau:
I cant find any bob4 from http://www.sammobile.com/firmwares/database/SM-N910G/

any other links I could get them from?
[Galaxy Note 4 Original Android Development] ROBSONMEG:
does 06/21 nightly have the GPS fix integrated into it or do we still have to flash the fix cheers rob
[Galaxy Note 4 Original Android Development] gekkehenkie11:
I added flashable BOB4 bootloader and modem odin files to the 1st post !
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Not yet, yesterday I've put in a pull request to Cyanogenmod but they haven't accepted it yet. Will post here when it's integrated into the nightlies, probaby will take a few days.