yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Original Android Development] andrew.mackew:
[MENTION=5244212]agentdeep[/MENTION] [MENTION=3463426]RaymanFX[/MENTION] [MENTION=3463480]travis82[/MENTION]

Anyone able to compile CM12.1?
[Galaxy Note 4 Original Android Development] bercerobry:
im on this rom > cm-12.1-20151225-UNOFFICIAL-treltexx.zip

Just a quick question, is it normal that when the device is turned off and insert the charger, the device boots up itself?

---------- Post added at 05:17 AM ---------- Previous post was at 04:25 AM ----------

It takes few seconds for me before the screen wakes up, I don't know what is the correct feature though. We are used to have screen woken up immediately when there is a call.
[Galaxy Note 4 Original Android Development] andrew.mackew:
Some improvements over the latest build 12/25.. it would be just wonderful if someone could build it..

Changelog:

Use def_wifi_idle_ms to fetch WIFI_IDLE_MS defaults (android_frameworks_opt_net_wifi)

Make WIFI_IDLE_MS default into an overlay (android_frameworks_base)

SettingsProvider: Load notification led customization defaults (android_frameworks_base)

Fingerprint: handle canclled error code (android_frameworks_base)

InCallUI: Fix background colour of tabs on DSDA phones (android_packages_apps_InCallUI)

cm: Fixup maven artifact publish inclusions. (android_vendor_cm)

Use clone-depth="1" for all pre-built projects. (android)

bnep_utils: remove duplicate else statement (android_external_bluetooth_bluedroid)

default.xml: Update AOSP tag to android-5.1.1_r33 (android)

Add macro to call event logger for errors. DO NOT MERGE (android_system_core)

Block developer settings during SUW (android_packages_apps_Settings)

[DO NOT MERGE] Preserve FRP lock if wiped during SUW (android_packages_apps_Settings)

Sync extras bundle comparison can throw NPE (android_frameworks_base)

DO NOT MERGE bouncycastle: limit input length as specified by the NIST spec (android_external_bouncycastle)

Update Security String to 2016-01-01 - DO NOT MERGE (android_build)

ThemeEngine : Use manifest.mf for hash calculation (android_frameworks_base)

bootsignature: includes dt image size for signed boot image (android_system_extras)

domx: add support for tuna (android_hardware_ti_omap4)
[Galaxy Note 4 Original Android Development] vince.lupe:
Neo, how did you access engineering mode on our n910c? I need to change my IMEI because I lost it in a ROM flash :/ Please help me, man, I seriously need it :/
[Galaxy Note 4 Original Android Development] :
Perhaps kernel will help
[Galaxy Note 4 Original Android Development] vince.lupe:
How so, my friend? How can I access it, and what kernel should I use? Thank you, bro, seriously :D
[Galaxy Note 4 Original Android Development] :
Perhaps you could use the original cm12.1 kernel

Will the kernel from build work?

If not then we need to build a kernel for ourself
[Galaxy Note 4 Original Android Development] ddaharu:
Has anyone experienced 'theme provider' stopping and can't get passed the lock screen or just restart? If so is there a fix? I have to delete the theme app through titanium back up then relflash the Rom.
[Galaxy Note 4 Original Android Development] Lexuzz89:
Hey friends. Is it possible to use this version on the n910c?

https://download.cyanogenmod.org/?device=trltexx

It looks like this will only for the N910F version..

Thx
[Galaxy Note 4 Original Android Development] suat6027:
F model has snapdrago cpu.. so exynos cant use it
[Galaxy Note 4 Original Android Development] Lexuzz89:
Which Cyanogenmod Rom can we use than? Now in using the sixperience v5
[Galaxy Note 4 Original Android Development] alsabri:
��

every now and then i pass by this thread with high hopes of a CM Rom for my N910C.

maybe its time to move on

CM team are assh***s for not doing something about this ��
[Galaxy Note 4 Original Android Development] pedodroid:
Wow, a troll! There IS a CM ROM thread for N910C right in this section.
[Galaxy Note 4 Original Android Development] alsabri:
what are you talking about ?

the developer has abandoned this N910C rom long ago
[Galaxy Note 4 Original Android Development] pedodroid:
Really?!?! This must be for the Nokia 3310 then, right? http://xdaforums.com/note-4/orig-development/rom-cyanogenmod-13-semi-official-builds-t3259878

:eek:
[Galaxy Note 4 Original Android Development] alsabri:
you son of a gun [emoji13] [emoji8]

thank u
[Galaxy Note 4 Original Android Development] superuser mod:
Please link me last update RaymanFX cm rom for sm910c.

Thank you
[Galaxy Note 4 Original Android Development] ddaharu:
soooooo I'm on the n910h....hopefully I can flash it on this as normal....right? thanks.:D
[Galaxy Note 4 Original Android Development] arbi97:
Emm.... today is Friday???
[Galaxy Note 4 Original Android Development] GialanG:
Yes, it's now Friday in Vietnam hehe
[Galaxy Note 4 Original Android Development] arbi97:
Lol, don't know!
[Galaxy Note 4 Original Android Development] Danmann:
Well done! gekkehenkiee11 and RaymanFX,

It's Friday in Germany In 2 hours and 35 minutes. Then another 20 hours and it is 8pm. ;)

No rush but I need statement ;)

What about the U user? :)

Cheers

SM-N910U
[Galaxy Note 4 Original Android Development] gekkehenkie11:
You guys need someone who builds the sourcecode and post builds. I'm sure RaymanFX doesn't have time to do that every time. It's quite easy, there are enough tutorials on how to build it. Maybe [MENTION=3463426]RaymanFX[/MENTION] can post his roomservice.xml for you guys to use. So that way he can focus on development while others post builds now and then.
[Galaxy Note 4 Original Android Development] mythos234:
I can help you with the kernel to take some pressure of you [MENTION=3463426]RaymanFX[/MENTION]. I believe we met once before, when t.d.m built CM11 for the Find7 ;)

Powered by SimplRom and SimplKernel.
[Galaxy Note 4 Original Android Development] gdonanthony:
i can just build but still syncing CM12.1
[Galaxy Note 4 Original Android Development] ddaharu:
I can't say how much I appreciate you guys for all your hard work. donation! that's it. I can donate! lol
[Galaxy Note 4 Original Android Development] gdonanthony:
unfortunately my modem was turned off by my mother LOL ! sync stop @50% ill just post the download link when i finish building and if needed
[Galaxy Note 4 Original Android Development] arbi97:
Good luck, bro!)
[Galaxy Note 4 Original Android Development] DreamerTKM:
Once the fresh build is out. Please continue to vote the thread if you haven't do so. Let's push the milestone to XDA news :)
[Galaxy Note 4 Original Android Development] agentdeep:
EDIT: nvm
[Galaxy Note 4 Original Android Development] arbi97:
So, today is Friday! Guya, where is update?
[Galaxy Note 4 Original Android Development] 557953:
I hope you are joking.... build it yourself if your in such a hurry. Yeah we are all exited and wanna run cm, it's gonna happen soon, weather its today or tomorrow isn't really important. But I think your post was very rude considering they work and effort in this thread.
[Galaxy Note 4 Original Android Development] burimii:
Come on guys do not push the devs, let them do their job !
[Galaxy Note 4 Original Android Development] mythos234:
Relax, its barely 11am in Germany ;) I think that Rayman deserves some sleep..

Powered by SimplRom and SimplKernel.
[Galaxy Note 4 Original Android Development] Turkawa:
Thank you so much for your time and effort guys...

51622803X7415800W
[Galaxy Note 4 Original Android Development] hiimimtayaz:
Exceptional work accomplished by extraordinary devs.... Kudus for them...They deserve sleep and rest ....

Apart from that....

Million thanks to contributors and those who support the project. ?
[Galaxy Note 4 Original Android Development] neoMJ:
Here is my build!

BEWARE!!!! I did not flash this build and never tried it yet!!!

Download cm-12.1-20150424-UNOFFICIAL-treltexx.zip

EDIT: Looks like the build is bad. Will probably need RaymanFX to push all updates to repos.
[Galaxy Note 4 Original Android Development] 557953:
DL Now :) Anyone had and good or bad expirence so far?
[Galaxy Note 4 Original Android Development] 666teen:
What work ?
[Galaxy Note 4 Original Android Development] leu6407:
DO NOT FLASH...After restart the phone freeze in Samsung bootstart image.

Used last TWRP, 3 wipes, flash, ZERO result.

That is happen when you believe all what fly can be eaten..
[Galaxy Note 4 Original Android Development] neoMJ:
Don't worry... I'm sure RaymanFX will fix any issues. His repos were not fully updated, probably there are some missing things that my build does not contain...

I will also try and see what's wrong when I go home later today.
[Galaxy Note 4 Original Android Development] leu6407:
I'm not worried mate, just warned others co-forumers to not waste time..thats all.
[Galaxy Note 4 Original Android Development] arbi97:
Thanks for share. Wait the new build!
[Galaxy Note 4 Original Android Development] Floydmil:
Where is your donation?
[Galaxy Note 4 Original Android Development] arbi97:
I'm donated, when RaymanFX bought Note 4....
[Galaxy Note 4 Original Android Development] kunlegzy:
Guys does it means SM910H won't partake ? I mean does it mean it won't work on it ?
[Galaxy Note 4 Original Android Development] 557953:
I would say at very least this project will have made "H" more likely. Weather this ROM itself will be supported I don't know. If not I would't be supprised to see a port in the future
[Galaxy Note 4 Original Android Development] andrew.mackew:
What is exactly the difference between these devices? If both uses Exynos a think that a few changes make the trick to have it working on H variant, correct? Please, advice me if I am wrong.
[Galaxy Note 4 Original Android Development] mythos234:
Maybe changes to the modem or other little components. Kernel support for other variants can be added later. Once this build is ready I have crazy trick which could work to modify the H sourcecode to support CM. Sometimes it works, sometimes it doesn't. But adding variants is the easiest thing ;)

Powered by SimplRom and SimplKernel.
[Galaxy Note 4 Original Android Development] mohammadkh2:
There isn't any different butween H and C hardware

the only different is that samsung block lte on H model
[Galaxy Note 4 Original Android Development] RaymanFX:
Wrong, the C variant is the only one with a ST-E Thor modem, so the H model has either an Intel modem or a Samsung Shannon modem built in.

Update for everyone: I made the fault to repo sync prior to building the package I was meaning to upload today, and as a result I was greeted with a nice bootloop, which obviously needs fixing and in turn means I can't publish any build today.

Maybe this has a good side to it though, because I planned to fix at least audio input before distributing anything.

NFC is implemented at this point as well, maybe I'll get to fix the Camera as well for the next build. I'll push my latest commits to my github repos in a few minutes, so anyone can attempt to build a package on her/his own.
[Galaxy Note 4 Original Android Development] ddaharu:
patiently awaiting. I'm just glad that it reached so far. but I also hope it will be ported because the n910h is what I got.
[Galaxy Note 4 Original Android Development] neoMJ:
Is there anything special to take care of when building or flashing?

I built from your repos, but somehow when I flash that build with TWRP 2.8.6.1-treltexx, I got stuck at boot at Samsung logo...
[Galaxy Note 4 Original Android Development] mohammadkh2:
see the pic

i have H and i use DN Lollipop rom that made for C model
[Galaxy Note 4 Original Android Development] RaymanFX:
You're right, apologies mate.

The N910H variant is in fact the only other ST-E modem variant, which means it should work fine with my N910C builds.

I guess your best bet is to just try and report back.

On another note, I just ran an engineering build (eng) instead of userdebug and it boots again. I only did a userdebug build for release, I'll find out why only the engineering builds will boot.

EDIT: I know why. Android does not allow SeLinux to be set into permissive mode on non-engineering builds, so that's why.
[Galaxy Note 4 Original Android Development] ddaharu:
this is great news for us n910h users. I'm just gonna say this also...that we all should be patient for its release. we are all excited but I know we don't want anything to happen to any of our devices and then some crazy person ends up blaming the developers -_- patience is a virtue. yes today is Friday but we didn't get it but that's alright. when it's done we'll get it! #ninshu
[Galaxy Note 4 Original Android Development] kunlegzy:
Can't wait if it work for me
[Galaxy Note 4 Original Android Development] muratbaizhanov:
stop flood. this thread is for developers.

it is written even in the thread topic.
[Galaxy Note 4 Original Android Development] Ranomez:
I am no developer but I am not sure that Android does not allow SeLinux to be set on permissive on userdebug builds because my father has a HTC Desire HD and is running CM12.1.1 that comes with Permissive as default and the build is userdebug, perhaps it is a workaround implemented by the developer on that device?
[Galaxy Note 4 Original Android Development] xvital:
If this command doesn't work :

su 0 setenforce 0

You need to make some changes on the kernel itself because i guess this problem was there since the note 3 (also, maybe you can talk to one of the members there, if it's related to exynos )
[Galaxy Note 4 Original Android Development] mythos234:
That command isn't for working for quite a while already.

https://github.com/stefant234/SimplKernel-LL-G925F/commit/046dff1f531a5668df1c434092f847bddc26d217

This is the way to enable Permissive via the sourcecode

Powered by SimplRom and SimplKernel.
[Galaxy Note 4 Original Android Development] optimuspraim09:
Sorry guys , I know this comment does not belong here but I didn't know where to post it... When our friend Rayman manages to build a proper rom ( everything working ) where can I download it from ? Again sorry , and thanks to everyone that helped to build cm ;) really appreciate it
[Galaxy Note 4 Original Android Development] Turkawa:
Most probably from the first post of this thread..

Also keep checking the exynos development section of note 4

hopefully soon..
[Galaxy Note 4 Original Android Development] Floydmil:
I know that everyone want a ROM to use it in our device. But dont ask for ETA. If u remember the other post was closed for the dame reason. So keep calm and wait, RaymanFX will tell us when its ready
[Galaxy Note 4 Original Android Development] gdonanthony:
too bad i just cant make a successful build :(
[Galaxy Note 4 Original Android Development] 557953:
Guesing maybe that's the problem all round, and maybe something is still missing From getting a fully functioning build. What that could be I have no idea.

Fingers crossed it can be pinpointed and solved ;)
[Galaxy Note 4 Original Android Development] gdonanthony:
maybe or maybe not... ill try to compile again later wish me luck
[Galaxy Note 4 Original Android Development] arbi97:
Good luck. Will wait!)
[Galaxy Note 4 Original Android Development] 557953:
Best of luck, does it actally finish the build with errors or does it stop compiling or something else? Just curious :)
[Galaxy Note 4 Original Android Development] neoMJ:
I can actually compile and obtain a flashable ROM in engineering mode. But it is in Selinux is Enforcing, so it prevents most of the functionality. Once setting to Permissive mode with "setenforce 0", then RIL, Bluetooth etc start working...

Strangely, I encounter problems when building the kernel; like

I can continue build by:

But this slows me down significantly.... I need to run "make" several times in order to get a ZIP package.
[Galaxy Note 4 Original Android Development] arbi97:
Good news! very very good luck!!!!!! ;)
[Galaxy Note 4 Original Android Development] a13x4nd3r:
possibility of enabling LTE on n910H?

i'm nowhere in the level of you guys.. nor can i code.. also don't have the H version.. but this idea just crossed my mind..

This is just a BIG MAYBE..

you said that the modem firmware has a table with a bunch of strings for maybe each different model and region, and it might be the configuration for each device model.

is it possible that the n910H just uses the config which disable the LTE network completely and changing the string to the trltexx one can unlock the LTE radio? Since it has the exact same ST-Ericsson modem..

Again just a BIG MAYBE..
[Galaxy Note 4 Original Android Development] kunlegzy:
Waiting for developers to have an input on that. Thanks for the input too
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Yes that might work, IF it's indeed 100% the same hardware. Only one way to really find out though ;)
[Galaxy Note 4 Original Android Development] calj17:
Dear friend I talked today with Raymanfx he said he was fixing Mic and calls to work, but GPS and Camera would have to wait. Could you help him with the GPS and Camera?
[Galaxy Note 4 Original Android Development] ddaharu:
I'm so loving the progress of this!
[Galaxy Note 4 Original Android Development] gdonanthony:
hi.. anyone with successful build ?
[Galaxy Note 4 Original Android Development] flatronics:
DELETED
[Galaxy Note 4 Original Android Development] calj17:
Calm down guys. Wait for Raymanfx to fix things
[Galaxy Note 4 Original Android Development] gdonanthony:
compile successful but still no boot... stuck at samsung note4 n910c logo
[Galaxy Note 4 Original Android Development] 557953:
Moving in right direction tho so well done :) hopefully is something simple needs doing or adding and we will be away :) looking forward to it when it happens
[Galaxy Note 4 Original Android Development] calj17:
Raymanfx needs help if we could find other developers to help him out with camera GPS and Mic stuff
[Galaxy Note 4 Original Android Development] gdonanthony:
already did this but still no boot

[MENTION=3296134]gekkehenkie11[/MENTION] Hi, i just want to ask how to fix this problem it always stuck on samsung logo.. and as i search and read it is a known problem to other samsung smartphones using CM12 or CM12.1 but as i research about it i just cant find the right fix for it
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Both RaymanFX and Neomj (on the previous page) said they got to bootable builds by building in engineering mode only, not user debug: http://stackoverflow.com/questions/13950589/difference-between-eng-and-user-debug-build-in-android.

Check the boot image with "Android image kitchen" and see if ro.secure=0, ro.debuggable=1 (in ramdisk/default.prop) etc to make sure it built correctly in engineering mode.

And then they disabled SELinux.
[Galaxy Note 4 Original Android Development] RaymanFX:
[MENTION=3296134]gekkehenkie11[/MENTION] Hey, just wanted to ask if you take a look at a few logs (for GPS and Cam) and if any of these fails sound familiar to you.

I'm also working on fixing the mic input, but that's another story and I'm already close on that one. Feel free to chime in on IRC though (I'm chatting with another Dev there on Exynos related development): #cyanogenmod-exynos5 on Freenode.

Here's the cam fail: http://hastebin.com/ecupivaxeb.vhdl

What seems to be the cause is this:

E/ExynosCameraNode( 2868): [CAM_ID(0)][companion]-ERR(open[245]):exynos_v4l2_open(/dev/video109) fail, ret(-1)

However, I wasn't able to figure out why the driver returns -1 yet, the permissions look good to me and are the same as stock (these are set via uevent.universal5433.rc).

Now onto the GPS fail: http://hastebin.com/etucoxepow.vhdl

The line that looks cheesy to me for this one is:

W/ServiceManager( 3244): Permission failure: com.samsung.permission.SSENSOR_HRM_RAW_PPG from uid=1021 pid=2866

Again, thanks for all your valuable contributions so far (including the modem fix)! :)

Regarding a build:

I really don't want to release a build with a broken microphone. As soon as this is fixed and at least phone calls are working, nothing shall stop the first alpha build from appearing.

If you want to go ahead and build it yourself, the latest fixes, and RIL should work.

You need to do engineering builds for now though (-eng instead of -userdebug).

EDIT: [MENTION=3296134]gekkehenkie11[/MENTION] Here's even more GPS fail: http://hastebin.com/mevixewoco.coffee

Now this one also looks suspicious to me:

E/libgps ( 3244): LIBGPS: Cannot communicate (write) with a GPSD
[Galaxy Note 4 Original Android Development] ddaharu:
nothing shall stop the alpha build....I love it. yes of course! the Mic fix is highly necessary!
[Galaxy Note 4 Original Android Development] gekkehenkie11:
Hey mate, I looked briefly at the logs, unfortunately nothing I've seen before myself. If you want, ask Slayher or fattire though, they might have seen this before. Check #cm-note4 on freenode IRC. They probably won't respond immediately but I'm sure they'd be willing to take a look.
[Galaxy Note 4 Original Android Development] gdonanthony:
[MENTION=3463426]RaymanFX[/MENTION] is it okay for me to give a alpha build for those who wants it ? or ill make an CM12.1 discussion on general ?
[Galaxy Note 4 Original Android Development] RaymanFX:
Sure, go ahead :)

But please post it in this thread, makes it easier for me to monitor.

As soon as the microphone works, the goal is to have weekly builds so none of you needs to build manually to see what progress has been made. However, we won't get this from CM unless the device is mostly stable, so I'll most likely setup TeamEOS builds (the Team I'm working with). You'll get the latest 5.1.1 Android and even more features, so no downsides.

The cm-12.1 branch will remain officially maintained though, so we can gain official CM support at some point as well.
[Galaxy Note 4 Original Android Development] arbi97:
Thanks, RaymanFX! Good news for us! Don't give up, man:D:D:D:fingers-crossed:
[Galaxy Note 4 Original Android Development] 557953:
I have a question, possibly a silly one but I think is worth asking.

The internal mic does't work, but could it be possible to use external mic for time being? I'm guessing this is unlikely as it probably uses the same drivers ect. But just wanted to check incase headset drivers were different..... I had a problem on a old Blackberry years ago and had to plug in my headset to answer calls which put this thought in my mind.
[Galaxy Note 4 Original Android Development] S.Y.:
I know this is pointless trivia, but perhaps the thread should be renamed to "...(11/12.1)".
[Galaxy Note 4 Original Android Development] gdonanthony:
https://mega.co.nz/#!mZ9nCASK!TKboQCK_0mHa0Z-sToUaMpcNjVORDi9dTmHvZoPtSH0

very early alpha test..
[Galaxy Note 4 Original Android Development] renanterzi:
It is bootable?
[Galaxy Note 4 Original Android Development] gdonanthony:
try it.. but always remember its an alpha build
[Galaxy Note 4 Original Android Development] arbi97:
Man, it's boot up, it's boot!!!!!! Yeah, baby!))) But all the same, some features does not work:(. So, will wait more better build!!!
[Galaxy Note 4 Original Android Development] gekkehenkie11:
RaymanFX already said that a few important features don't work yet. Other than that, some very nice progress here ! Remember that it will be a long way to go for a stable version, the last things are always the most difficult. So don't get excited too soon, but you are in very good hands with Rayman, I'm sure he'll get there.

For now I'm going to work again on my own device (the snapdragon 910F), still need to fix some camera features, like HDR mode and the FB messenger cam which got broken in the update to Android 5.1. Usually the snapdragon was the CPU to buy for people interested in custom ROM's cause of more interest from developers but I have a feeling it might change for the next device, since Exynos has made some great progress. So maybe we can all join forces on an Exynos next time :) Anyway good luck everybody !