yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 General] gekkehenkie11:
Hehe thanks but that was really [MENTION=2457777]slayher[/MENTION]'s work, I just ported it (and got RIL going, since modem behaviour is different than 910T). I think Slayher added some stuff in the recent days that's maybe fixing some issue's but also causing new issue's in terms of speed and battery usage. We need to look into that.
[Galaxy Note 4 General] :
the battery drain is a known 5.0.0 bug caused by wifi wakelocks, google said its fixed in 5.0.1.

regarding the lag- i'm not sure if its because of the latest commits but I don't think its bc of throttling, even when the phone is cool it still lags. I think this Rom deserves an actual general talks thread now ;)
[Galaxy Note 4 General] gekkehenkie11:
Well we are on 5.0.1, I'm not using wifi anyway and there are no wakelocks. So it's really something else. I'm going to check battery drain now in 9 dec version and if it didnt exist, then it must be something that slayher added between now and 9 dec (although maybe even before that since I think that version actually uses code from 6 dec)
[Galaxy Note 4 General] isaakmg:
And the hot? What's the cause?

Thanks in advance.[emoji6]
[Galaxy Note 4 General] :
I remember seeing a post in the tmo thread not long ago saying that there's no fix yet, just things that might help. maybe [MENTION=265070]Fatti[/MENTION]r can comment as I can't remember what was his inpute on the that miscellaneous bug. but I think its a known issue atm.

https://code.google.com/p/android-developer-preview/issues/detail?id=189#c98
[Galaxy Note 4 General] gekkehenkie11:
Interesting, but again, it also happens with wifi disabled. And I think it didnt happen on earlier build, but testing that as we speak :)
[Galaxy Note 4 General] Beukhof1:
Maybe the best way to continue is to use your build and fix audio
[Galaxy Note 4 General] DBDPCG:
Pointing out the obvious here but just letting you know that there were no such battery drain on L preview on nexus 5 so it's not from Google's source

I suspect there's an incompatibility with one of the gappas which is resulting the battery drain, if so it would be just a matter of trial and error to find and uninstall it.

Also please excuse my lack of knowledge if I'm completely wrong hahaha
[Galaxy Note 4 General] jef_00:
can you port android 5.0.1 as the note 2 is that helpful? for the battery drain?
[Galaxy Note 4 General] checkkthatt:
Youtube review anyone please?

Awesome work [MENTION=3296134]gekkehenkie11[/MENTION] [MENTION=2457777]slayher[/MENTION] and all the other developers who has given their input in making this ROM work.

I haven't tried it yet, but I cant wait to flash it on my Note 4!! :D:D Can somone please make a video review of the ROM and upload on youtube? I just wanna be sure whether to wait for few for more days or to flash it tonight! Im sure others are waiting to see the video review of the ROM. ;):):angel:

Thanks
[Galaxy Note 4 General] gekkehenkie11:
Hmm actually, I'm now on a more recent build, I think from 3 days ago, without the blobs and the mixerpaths (so no call audio, but stable RIL), 37 minutes, 1% battery drain ... Will test some more ...
[Galaxy Note 4 General] gekkehenkie11:
Thanks but the best way to test is just test it yourself man :) Just install CWM first and then make a backup of your current ROM, only takes 1-2 minutes, then wipe cache and install the ROM and if you dont like it, it only takes 1 minute to restore your previous ROM !

But do keep in mind that the latest version is draining battery like crazy and it seems that it's quite a bit slower than previous versions. So maybe it's best to wait for a more stable release. It's coming, that's for sure ! :)
[Galaxy Note 4 General] gekkehenkie11:
1 hour 8 minutes now, wifi off, draining 2%. Overnight it drained 5% per hour (also wifi off), so that's quite interesting. I'm using a build from only 2-3 days ago I think, so without the mixerpaths and blobs .. I'm now starting to think the problem might actually be in the blobs ... Will look into this ...
[Galaxy Note 4 General] snowblind2142:
Regarding gapps, I used pa's latest nano build for 5.1(market and now only) doesnt experience any issues. What PA packages at you all using may i ask?
[Galaxy Note 4 General] Er. Aditya:
how come i dont feel any lag at all ?? :rolleyes::eek:

neither my phone is hot .... wifi...calling ...mobile data works flawless

just wanted to know if i can use allshare cast dongle with cm ??

thanks alot dev :D
[Galaxy Note 4 General] gekkehenkie11:
Now on the 'new' build again, draining 4% in just 25 minutes :) Ok this is interesting, going to investigate ...
[Galaxy Note 4 General] checkkthatt:
Thanks man! I just backed up my Touchwiz ROM from Philz Touch CWM, it took about 12 mins! 6GB back up recovery img! Is that Ok?
[Galaxy Note 4 General] lycan_codex:
I guess it depends on the number of apps you have. Mine was 4 GB. It takes 5 minutes to restore as well.
[Galaxy Note 4 General] checkkthatt:
Ok kool, Thanks! :)
[Galaxy Note 4 General] gekkehenkie11:
Ok I extracted all binaries from the device tree, put them in a install zip in the places they belong and flashed them over my own build. I got cam working that way, but RIL broke, probably because it needs a compiled version of the included RIL java file (I didnt compile ANYTHING from that package, just replaced the samsung blobs). So, I removed the RIL binaries, re-installed everything, now cam worked and RIL stayed working (but of course no call audio I haven even tried yet messing around with the XML). Now I'm going to see if battery drains this way ... If it doesn't it must be either due to something Slayher changed in the last few days (cause I'm using a version based on his work I think since tuesday), OR it must be in the RIL part (well or in any of the source codes you supplied)

Anyway this way I can surely pinpoint the battery draining problem ...
[Galaxy Note 4 General] gekkehenkie11:
Ok, I confirmed too that the call audio was just the mixerpaths (or any of those other 3 config files). I just copied those 4 config files and now call audio works :)

So, summarizing:

* Camera problem was a blob problem (or maybe even one of those firmware files, I havent checked those, but it works after copying all those samsung binaries)

* Call audio problem was mixerpath settings.

(thanks for fixing those btw, 'anonymous dev' ;)

So, I now have a version with cam and call audio, but without battery drain :) But going to investigate more, I want to find out what was causing the battery drain in the first place ...
[Galaxy Note 4 General] gekkehenkie11:
What benchmarks did you use and with which scores ? I'd like to check it on my version.
[Galaxy Note 4 General] :
I tested with both geekbench and antutu and got almost touchwiz like scores . so i'm not sure why on benchmarks its fine but on the ui on the other hand theres a noticeable lag

EDIT: got 45k~ on antutu and 1050 & 3200 on geekbench
[Galaxy Note 4 General] isaakmg:
And the hot.....go on?[emoji6]
[Galaxy Note 4 General] gekkehenkie11:
Not sure what you mean with hot. Like fattire noted, the device gets hot when you run a lot of NAND reading/writing, but that happens on stock too ...
[Galaxy Note 4 General] gekkehenkie11:
I ran some tests. My Cm12 version performs pretty much the same as the one that was released yesterday. It's slightly faster than stock, for example on Geekbench I got:

stock: 952 2791

cm: 1102 3353

On antutu I got rougly 47.000 on both versions. But the interesting part is NAND access ! Cm12 outperforms Touchwiz big time. Not sure why though, but I'm getting these results:

stock:

seq read 125

seq write 26.7

random read 11.6

random write 2.12

Cm12:

seq red 163

seq write 39

random read 19.66

randomn write 3.13

(and again Cm12 my version was about the same as the CM12 released yesterday).
[Galaxy Note 4 General] Beukhof1:
I would like to test your new version and check if the lag is gone. Can you pls upload it?
[Galaxy Note 4 General] gekkehenkie11:
Here you go:

http://www.filedropper.com/cm-12-20141217-modded-trlte

Then after you've flashed that, flash this:

http://www.filedropper.com/blobs

And then flash any gapps of your liking

No more battery drain here and everything seems to work fine although I'm sure there are still bugs :)
[Galaxy Note 4 General] Beukhof1:
Cool! Do you have any lag? Also could you upload to mega plz?
[Galaxy Note 4 General] gekkehenkie11:
I uploaded everything to filedropper, see the post above, I updated it with links. Enjoy ! Let me know how this version works for you !
[Galaxy Note 4 General] Beukhof1:
Downloads on phone fail from filedropper.
[Galaxy Note 4 General] gekkehenkie11:
cant you download them on a pc ?
[Galaxy Note 4 General] Beukhof1:
I'll have to wait till I get home (at a boring birthday party now) can I dirty flash this?
[Galaxy Note 4 General] gekkehenkie11:
Anyway, although battery drain in deep sleep seems to be gone, it's still EATING battery while doing stuff. Not sure why, maybe it's because CPU states are at higher frequencies than on stock ? Phone runs indeed quite hot too .... Will look into all that later ... :)
[Galaxy Note 4 General] gekkehenkie11:
Not sure what you mean with dirty flash ? You mean without clearing cache etc ? It's always best to do that when upgrading.

BTW, most recent GAPPS contain some buggy services, always disable those two services (with for example 'disable services' app), both are in the group google play services:

* configfetchservice

* userpresenceservice

These services are buggy and cause wakelocks. I've been disabling them for a few months (previously on my s4) and never experienced any negative side effects from doing so.
[Galaxy Note 4 General] Beukhof1:
Damn... Lag free!! Yeah! So far everything works... I think I have a new daily driver!
[Galaxy Note 4 General] gekkehenkie11:
And battery drain while doing nothing is gone :) It's draining 0% now in 22 minutes Idle (would drain 4% in 22 minutes on the other version). However make sure you disable those 2 buggy gapps services I mentioned before, they cause wakelocks and thus drain battery.

However battery consumption when for example surfing the web is bizarre high, I think it's due to high clock speeds, I need to check, but it's causing the phone to run quite hot too... It might also be a general 'lollipop' thing though ...
[Galaxy Note 4 General] Beukhof1:
I disabled the services. Will report back to you on the battery.
[Galaxy Note 4 General] gekkehenkie11:
Well high battery usage while doing things is a common problem with 910T: http://xdaforums.com/showpost.php?p=57623099&postcount=1177

So I'd be amazed if you wouldnt have it ;) But at least that damn idle drain is gone now :)
[Galaxy Note 4 General] gekkehenkie11:
But overall.. this ROM is FAST :) I just love how responsive everything is !
[Galaxy Note 4 General] SalmanAndrew:
i tried loading yours onto a n910g which should be the same as n910f but wether i remove the asserts or not i cant get it to flash. am i doing something wrong or is my device not supported?
[Galaxy Note 4 General] slatsmckracker:
910G

I just flashed it on my 910G and it boots. I had mobile signal when it initially booted through the setup. But as soon as I rebooted I lost mobile signal.

Edit:

Just reflashed and mobile signal sticks after reboot now, only difference I did was add my google account before rebooting the first time
[Galaxy Note 4 General] jpeps:
Google has posted an Android 5.0.2 factory image
[Galaxy Note 4 General] SalmanAndrew:
what am i doing wrong?? lol i seriously cant get it running. before i remove the asserts it says that its only for tmo and can.

when i remove the asserts it just wont install iv gone back to the link on page 85 that is on filedropper runs perfectly! flashed the Blobs and Gapps and havent looked back. BUT would love to try out gekkehenkie11's rom
[Galaxy Note 4 General] mmui90:
Mine boots fine (N910G with AEL Kernel), was on X-Note for N910F before so maybe that was the difference?

Anyway, just realised that this kills functionality for the Samsung LED wallet cover :( unfortunate but I'll take lag free AOSP Lollipop anyday.

I'm also assuming stylus was never working in the first place either for this yes?

Think all this ROM needs is screen-on-temp tweaks, stylus functionality and a custom kernel with voltage controls, then I'm off and running!! Great work guys!
[Galaxy Note 4 General] fattire:
Stylus/LED work fine for tmo version. If the hardware is identical (and I think the kernels are) it should work on all these versions...
[Galaxy Note 4 General] mmui90:
Yeah, I'm not too fussed either way, thanks anyway!
[Galaxy Note 4 General] sharp2G:
Great work on the port! I can't wait to try it! Although I will miss the functionality the S-pen brings to the note lineup.
[Galaxy Note 4 General] pbedard:
Seams almost all variants are up now cept verizon us cellulars fixed sprints data/call issues do u know how to fix a greyed out texting app ?? im trying to build one with it working.
[Galaxy Note 4 General] fattire:
Quick heads up-- don't want to be redundant with the posts, but don't want anyone building to miss it. If you don't have a hardware/samsung/ directory, check this post out.
[Galaxy Note 4 General] pbedard:
Thanks dont work on my carrier though thanks fatire
[Galaxy Note 4 General] lycan_codex:
Maybe, Use SetCPU to limit the frequencies...
[Galaxy Note 4 General] :
can't access the second link, can you reupload it?

and can someone confirm the lag is gone?
[Galaxy Note 4 General] jazzypit:
Yes i confirm lag ils gone with this version but phone become 910t not 910f . how to correct this problem
[Galaxy Note 4 General] lycan_codex:
Also, I have noticed the minimum CPU frequency was set to 1.27 GHz, I have changed it to 300 MHZ. Hope it makes a difference in battery life when using the phone.

---------- Post added at 02:14 PM ---------- Previous post was at 02:12 PM ----------

Mine was N910G, Now it is N910T. I don't think it makes a difference. If you want to change, you can edit the build.prop file.
[Galaxy Note 4 General] kman79:
Just wanted to chime in

Installed and running on 910F. Data takes a little while to to establish service, when it does, it only shows up as H+ on ATT Wireless. LTE is selected, ATT LTE is also selected under APN settings. I manually entered ATT Phone APN settings and it still only shows up as H+. I'm getting 11Mb down and 1Mb up using the speedtest app, unfortunately I did not do a test prior to flashing this build, but I do remember the speeds being almost double what I'm getting now. I don't remember there being a post regarding LTE settings, please advise or direct me to the post if we are to make adjustments to the LTE settings.

I can confirm that the phone seems to be running a little warmer than before when it use, I'll download SetCPU and see what the minimum clocks are in a bit.

Will try this out for a day or two and report back with any bugs that I notice.

Overall, I'm excited, happy and very much appreciate you devs cooking this up. Thank so much

ETA - About 45 minutes after I posted this, network kicked over to LTE.....weird. Anyways, LTE Speeds: 36 Mb down and 10.4 Mb up. Good to go
[Galaxy Note 4 General] SalmanAndrew:
hey mate just wondering what you did to flash this rom onto your n910g im tyring to flash it to mine but no chance....
[Galaxy Note 4 General] DBDPCG:
Can someone please upload the latest files from gekkehenkie to mega ? I've been trying to download them for the past 2 hours but it always fails at some point, thanks
[Galaxy Note 4 General] Beukhof1:
So far no complaints with battery life.
[Galaxy Note 4 General] Preaper:
My git repos are finally up to date with the development in this thread.

You'll need a need roomservice.xml .

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="slayher/android_kernel_samsung_trlte" path="kernel/samsung/trlte" remote="github" />
<project name="jaapp/android_device_samsung_trlte-common" path="device/samsung/trlte-common" remote="github" />
<project name="jaapp/proprietary_vendor_samsung" path="vendor/samsung" remote="github" />
<project name="jaapp/android_device_samsung_trltexx" path="device/samsung/trltexx" remote="github" />
<project name="jaapp/android_hardware_qcom_mhi" path="hardware/qcom/mhi" remote="github" />
<project name="Slayher/android_device_samsung_trltetmo" path="device/samsung/trltetmo" remote="github" />
<project name="Slayher/android_device_samsung_trltespr" path="device/samsung/trltespr" remote="github" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="github" />
<project name="CyanogenMod/android_hardware_qcom_display" path="hardware/qcom/display-caf/apq8084" remote="github" revision="cm-12.0-caf-8084" />
<project name="CyanogenMod/android_hardware_qcom_audio" path="hardware/qcom/audio-caf/apq8084" remote="github" revision="cm-12.0-caf-8084" />
<project name="CyanogenMod/android_hardware_qcom_media" path="hardware/qcom/media-caf/apq8084" remote="github" revision="cm-12.0-caf-8084" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" />
</manifest>

I'm currently building the entire package again after a make clean. Just to thoroughly test it. In other words - my repo's arent test yet :) Doing it now.
[Galaxy Note 4 General] Preaper:
btw, I'm using blobs form the latests official N910F NK4 rom. They're uploaded to the proprietary repo so there is no need to extract them from your device anymore. Just repo sync.

The device was rebranded to trtlexx so you'll have to 'breakfast trltexx' and 'brunch trltexx' to build using this roomservice.xml.

I also switched back to Slayher his kernel repo for now because maintaining my own branch was just taking too much time.
[Galaxy Note 4 General] :
[MENTION=3296134]gekkehenkie11[/MENTION] after almost a day with the new files you uploaded(flashed the rom, then blobls then gapps) I can honestly say that this is finally how CM12 should feel like(from my previous experience with my nexus 5).

theres no annoying lag(dunno how you solved it- but excellent work, I had to revert to touchwiz yesterday bc of it). bluetooh, gps, data(LTE) calls and s-pen are all working properly.and on benchmarks(not that I care about though) get excellent score as well - got 49.5k on antutu on stock settings. the phone does get a bit more warmer but I lowered the clock in fauxclock to max 1.9 instead of 2.6..that did the trick. other then that I really don't think there's any issues.

this is my daily driver from now on!

i'll observe battery life and comment in the next few days.
[Galaxy Note 4 General] gekkehenkie11:
Thanks ! Yeah I'm pretty happy with everything too. I just compared battery usage to stock (honestly I have almost not been running my phone in Touchwiz at all, nor did I use it much for other things than hacking, LOL) and battery usage is just high in general. On touchwiz I get about 23% drain/hour when I surf the web for 20 minutes and on CM12 I get about 26% an hour. I checked CPU scaling and in both cases, the top frequency of 2.65 ghz is used quite a lot, however when on lower frequencies Touchwiz seems to scale to about 1.1 ghz a lot while CM12 seems to prefer 1.73 ghz, I think this makes up for a bit faster drain, but it's not that much actually. So yeah, quite happy overall :)
[Galaxy Note 4 General] gekkehenkie11:
Exactly, I didnt even bother to change it, it doesn't matter anyway at the moment, the only scenario I can think of when it makes a difference is when you'd do an OTA update of CM12, but that's not even possible at the moment.
[Galaxy Note 4 General] gekkehenkie11:
Cool ! But keep in mind that in the package as provided by that guy there was a huge battery drain and overall lag. I used all of his binaries, except for the RIL ones (since they didnt work, I think because I needed to compile his RIL java file too), so it can't be in that. I suspect the problems are in one of his source files, I didnt compile any of that, so if you are going to use them, be very careful there and pay good attention to lags and/or battery drains..
[Galaxy Note 4 General] sharp2G:
So to use this on my Canadian Note 4 (W8) I flash the files from http://xdaforums.com/showpost.php?p=57621692&postcount=934 in TWRP after wiping data, cache etc... and to go back to Touchwiz I can restore from a backup in TWRP or do I flash my Canadian Note 4 ROM first then restore from backup?
[Galaxy Note 4 General] Charper99:
Anyone able to do this?
[Galaxy Note 4 General] gekkehenkie11:
I have no idea about any other device than the 910F. But in general, yeah make a backup of your current system (I use CWM but I guess TWRP should be fine too), then wipe/factory reset and then just flash those 2 files. And if you want to go back, then just restore the system with CMW or TWRP from backup, that's all.
[Galaxy Note 4 General] Preaper:
So concerning the blobs. I'm a bit confused as to where ano dev sourced his from. I just figured that using the stock N910F ones must provide the best match. The java RIL stuff made by Slayher is being compiled in my config as well so I expect this to work out of the box.

Concerning the lag - i've been hand picking the changes from ano dev his source files. I didn't find anything that I thought could cause any issues. The biggest change was his approach how to start/stop the mdm_helper(_proxy) service. Also he seemed to be missing libtime_genoff.so .

If this build ends up causing lag I'll have a complete log of changes in my git repo so we should be able to pin point the cause. As a matter of fact - While writing this reply I looked at these changes and just saw something that would explain battery drain.

Ano dev is not setting any properties in his ramdisk. Slayher his trltetmo device config had this function:

void gsm_properties()
{
property_set("persist.radio.jbims", "1");
property_set("persist.radio.add_power_save", "1");
}
[Galaxy Note 4 General] kman79:
Wanted to report on some things before going to bed

- I noticed that the system/frame rate tends to slow down if the phone is in continuous use, turning the screen/locking the phone and turning it back on fixes the issue though. An example of this is when I was using Chrome to view a website, I noticed that when I started to scroll down, the scrolling isn't as smooth, it has "micro" stutters or slow frame rate. I exited to the home screen and when I open the app drawer, the animation has the same stuttering, the same stuttering is also there when swiping across the app drawer. A quick lock and unlock of the phone fixes it though

- The phone takes at least 15-20 minutes to grab and lock on to an LTE signal. When I reboot the phone, it takes a while (about 30-45 seconds) to get the H+ signal, and it stays that way for at least 15-20 minutes then it connects to LTE. signal and it stays on.

I'm not complaining, just wanted to point out some possible bugs. That's all that I've noticed so far while playing with it at work. Can't really comment accurately on battery life since my current phone use is above average since I was setting up accounts and stuff. I do notice that after multiple reboots or the phone being on for a while, it definitely does not get as hot as it was on the first hour of flashing. About to go to bed, will report some more things when I get more of normal use out of it.

Glad to finally have CM12 running on the note, I appreciate the work you Devs put into this.