yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
I've seen that he's doing some work, but it was not clear if he's taking over this rom, or making his own new one.

Lots of people are making requests here and the CM12.1 thread, when its not really clear where things are going from here.
[Galaxy Note 4 Android Development (Snapdragon)] SamuelBegui:
Cyanogenmod is already working on CM13 for the Note 4 as they already started merging code from CM13 to CM12.1 please be patient.
[Galaxy Note 4 Android Development (Snapdragon)] taxxghost:
Eventually, good news.
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
thanks, thats good news.
[Galaxy Note 4 Android Development (Snapdragon)] agsola:
Who's doing that work???

Does that mean that there is an official developer for Note 4?

Any real way to know?

How to get official info from CM?
[Galaxy Note 4 Android Development (Snapdragon)] Xokoz:
Great, so we can expect official high quality rom :)
[Galaxy Note 4 Android Development (Snapdragon)] nds850:
I have seen that there are new nightlies almost every day for CM12. How does it work exactly? Is there really someone working with the Note 4 specifically?
[Galaxy Note 4 Android Development (Snapdragon)] nazfalas:
Cherry picks from CM13.0 to CM12.1 for the general vendor branch (in this case android_hardware_samsung) are not really an indication of someone working on a specific device. This commit just applies to a range of (or probably all) Samsung devices. In this case the fix originated from AOSP and was probably first implemented in the current branch (CM13.0) and then consequently cherry picked to CM12.1, because most Samsung devices still only receive CM12.1 nightlies.

Just because it's red on cmxlog doesn't mean it is actually specific to one device.

No. People (in this case mainly gekkehenkie from my understanding) work to create a device tree that includes the necessary blobs, drivers, etc. to make the ROM work on a certain device. After this device tree is (fully) working the following nightlies can be compiled/built automatically as is the case with our Note 4 (trltexx, inernational version). If no one does the work to update the device tree with the necessary updates and (probably?) hacks to make it work with 6.0 there won't be any nightlies.

Well, unless someone steps up to do the work gekkehenkie previously did for CM12 (I think he also already did most of the work for a successful CM13 port) there will probably be no CM13.

(experts, feel free to correct me on any mistakes/misunderstandings)
[Galaxy Note 4 Android Development (Snapdragon)] KeTuRr74:
The builds are made with the computer or build machine automatically and they are upload automatically too.

---------- Post added at 18:03 ---------- Previous post was at 18:01 ----------

I dont think cm will support it if gekkehenkie wont update the trltexx branch in CM's repos for CM13
[Galaxy Note 4 Android Development (Snapdragon)] Xokoz:
So that basically means I can throw my phone to trash can? If CM drop support from us, this phone come worthless for me. Well, it cost only 730€..
[Galaxy Note 4 Android Development (Snapdragon)] KeTuRr74:
We can only have Unofficials builds for the moment but those bug will be with a ton of bugs related to the device.
[Galaxy Note 4 Android Development (Snapdragon)] sPEADy:
[MENTION=3041959]fattire[/MENTION] Bro you wanna say something to the above discussion, if is there any chance for N4 ''F'' Model to get Official CM 13 ?
[Galaxy Note 4 Android Development (Snapdragon)] gekkehenkie11:
Just saw the reactions in this thread, wanted to respond to two posts that I found a bit weird:

What do you mean with this ?

I have a hard time believing your posts. First you say you got fingerprint working and then you imply that you haven't even built it ? I had started the work on the fingerprint HAL, I merged some demo code that I've found and did some reverse engineering already. It's not even too hard, there are 2 processes at work:

1) ioctl commands to the kernel, to do the most basic things like turn the scanner on/off

2) commands to the trusted zone, these are the actual commands to scan, compare fingerprint scan to the stored scan etc.

However from your posts I'm getting the idea that you're indeed setting up people for a huge disappointment, unless I've missed something ?

Anyway, fattire is still active on the project, as is Zion.
[Galaxy Note 4 Android Development (Snapdragon)] dr.madmax:
Hi Geke,

is there a chance that you go on with your work on cm13 for the Note4. My Idea is that the users in this Thread donate to you to buy a new Note4 and go in with development. What do you mean?
[Galaxy Note 4 Android Development (Snapdragon)] SamuelBegui:
From my understanding the CM team in charge of the note 4 has been working to getting CM13 to the note 4 as well as the developers here however am I wrong about that? I'm basing this off of the changelogs I've seen recently for CM12.1 for the trltexx.
[Galaxy Note 4 Android Development (Snapdragon)] kenkiller:
Your understanding is wrong.

---------- Post added at 03:40 AM ---------- Previous post was at 03:38 AM ----------

That bugger is pretty much sprouting rubbish and raising false expectations at this point.
[Galaxy Note 4 Android Development (Snapdragon)] KeTuRr74:
A device have a certains number of developpers. For the trltexx we only have Gekke who only support officially CM. But as his Note 4 is broken, there is no more dev to work into trltexx and fattire have a trltetmo. So only device repo updates can say if the trltexx will receive or not CM13 officially.
[Galaxy Note 4 Android Development (Snapdragon)] nds850:
It's really sad. I still like my Note a lot and don't want to spend all that money on the 6p :|
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
I did wonder how a bloke with 200 posts is managing to compile a ROM and take on something a well established dev can't even finish. His "friend" apparently is a contact within Samsung who is obtaining the source code for M. Do you guys think he's in it for likes and thanks?
[Galaxy Note 4 Android Development (Snapdragon)] SamuelBegui:
I don't think it's best we discuss that here lol..
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
Fair enough :)
[Galaxy Note 4 Android Development (Snapdragon)] Narekrocks:
He doesn't want a donation phone. That would basically make him have a responsibility to work on a ROM and not be able to stop development whenever he wants. Also he has already moved on to the Nexus 6 so having a Note 4 on the side would be of no benefit to him.
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
I'm totally staying out of this discussion, except to say that I've been very busy the last few weeks and haven't really had a chance to take my phone down for an extended period of time. But in the few hours I've had to play in the last few weeks I've gotten tmo to the point that I updated my modem and all the partitions to 5.1.1 (see my previous post from 2 days ago), the simcard is detected, data works, calls can come in, but when I try to dial or establish a connection on a received call, the UI locks up and after about 30 seconds watchdog restarts the system.

Using the existing trlteRIL.jjava file, the one from 12.1, the simcard was NOT detected. But i was able to create a hacked-up version that seems to work- at least as identifying the simcard goes.

My question-- why is this working for zion using our old trlteRIL.java file, when the identical file doesn't even detect the simcard for me? The only substantial difference I can think of is in the kernel. Maybe some audio config file needs to be changed, as its when establishing audio paths (when a call comes in or goes out) that the UI seems to freeze.

Some things to experiment with:

1. update blobs to 5.1.1

2. Update kernel to 5.1.1 (and any other changes from upstream code aurora that may make a difference)

3. turn on extensive logging and try to identify the exact place it's freezing.

The problem for me rihgt now is time-- like I say, I hav eto have an open night when I have a few hours I could take my phone offline. I just haven't had that opportunity yet. Anyway, I said I wasn't going to say much, mostly because I make no promises... I'm sure at some point someone will make the key "ah hah" discovery that will get this back on track for tmo. I don't have a xx/eu build, but in that area gekke is already ahead of tmo having gotten calls to work, I think.

One final thought-- I could have sworn this was an issue with getting 12.0 working. if I remember right, slayher figured it out. Unfortunately, he's AWOL these days, but he'd be a great person to talk to..

I will at some point post my updated trlteRIL and ohter changes I've made to the device tree-- I was kind of holidng off because I wanted it to build successfully before I updated it. Maybe I'll put it all on another branch when I get a chance in the next few days.

ft
[Galaxy Note 4 Android Development (Snapdragon)] gekkehenkie11:
Yeah that team was me and fattire. Now it's just fattire, and he's got a lot of other things to do, so I guess the Note 4 CM future doesnt look too bright, unless somebody else steps in. Zion has been working on CM remix, maybe he can help out.
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
I appreciate your work. We'll just have to wait on Samsung because they have the stuff devs like yourself need but they're not willing to share so you can do your work.
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
I just hopped over to zion's thread (cmremix) and it looks like the same issue is there too, which actually makes me feel a little bit better that I'm not out of my mind.

Also, I don't see the new source for the kernel yet. It would be here, right?
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
Thanks for the clarification. That's what i thought was happening, and some people got hostile when i said work was halted on our devices (Even if it's merely temporary)
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
Another update for anyone following along:

The new binaries work fine as far as I can tell. The one thing you need to do though is use the prebuilt libstl* because of symbol errors if you don't. That means remove libstlport from trlte.mk and make sure you are using:

libstlport.so

libstlport_sh_521.so

libstlport_shared.so

from 5.1.1. Everything else seems to work okay including data, which seems to work better than with the 5.0 blobs (it finds the network immediately, I don't have to toggle airplane on/off).

Unfortunately the audio (?) issue with calls going in/out still happens, and android jams and restarts after aobut 30 seconds when a call goes in or out.

Can someone running 12.1 let me know if this is normal in their logs, especially when a call comes in.

12-02 22:15:09.993 378 1468 E NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'INTERFACE' not found

12-02 22:15:09.993 378 1468 E NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found

12-02 22:15:09.993 1309 1361 E NetdConnector: Error handling '613 IfaceClass idle (null) SOMELONGNUMBERHERE': java.lang.NumberFormatException: Invalid int: "(null)"

I'm wondering if this is related.

and while you're at it, how about this:

12-02 22:15:02.569 1309 1661 I Telecom : PhoneStateBroadcaster: Broadcasted state change: 2

12-02 22:15:02.569 1309 1359 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.PHONE_STATE flg=0x10 (has extras) } to ProcessRecord{abe314c 1623:com.android.systemui/u0a18} (pid=1623, uid=10018) requires android.permission.READ_PHONE_STATE due to sender android (uid 1000)

Is this normal?

Also, if it wasn't confirmed before, i can confirm that nfc works. And camera works. SMS works. Audio in works. backlight, led, button lights, software buttons, etc etc. And everything else I've tested.

And I'm getting more and more sure this is a sound-path related issue because it seems to lock right after it cuts off plaiyng music (headphone or speaker-- both work) and sound dies pretty hard after that.

Iv'e tried using almost every stock audio/mixer setting in /system/etc/, tried adding this , and basically everything else I can think of. So I'm open to suggestions of things to try. I also tried stock rild, libril, etc and it all locks up at the same place.
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
More stuff...

Well I've been working at this for a while now. I think I have some more info as far as what might be jamming up the sound.

In our old audio_platform_info.xml, we see values like this:

<device name="SND_DEVICE_OUT_SPEAKER" acdb_id="15" />

<device name="SND_DEVICE_OUT_SPEAKER_REVERSE" acdb_id="15" />

<device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES" acdb_id="15" />

<device name="SND_DEVICE_OUT_VOICE_SPEAKER" acdb_id="15" />

<device name="SND_DEVICE_OUT_BT_SCO" acdb_id="48" />

<device name="SND_DEVICE_OUT_BT_SCO_WB" acdb_id="50" />

<device name="SND_DEVICE_OUT_USB_HEADSET" acdb_id="98" /

the 5.1.1 stock doesn't even have a audio_platform_info.xml file. It DOES have a audio_platform_info_i2s.xml file, which we don't have in cm-12.1. It has, among other values:

<device name="SND_DEVICE_IN_HANDSET_DMIC" acdb_id="4" />

<device name="SND_DEVICE_IN_SPEAKER_DMIC" acdb_id="11" />

<device name="SND_DEVICE_IN_HANDSET_DMIC_NS" acdb_id="34" />

<device name="SND_DEVICE_IN_SPEAKER_DMIC_NS" acdb_id="35" />

<device name="SND_DEVICE_IN_HANDSET_MIC" acdb_id="8" />

<device name="SND_DEVICE_IN_SPEAKER_MIC" acdb_id="8" />

<device name="SND_DEVICE_IN_VOICE_SPEAKER_MIC" acdb_id="8" />

<device name="SND_DEVICE_OUT_HANDSET" acdb_id="10" />

<device name="SND_DEVICE_OUT_VOICE_HANDSET" acdb_id="10" />

<device name="SND_DEVICE_OUT_SPEAKER" acdb_id="10" />

<device name="SND_DEVICE_OUT_VOICE_SPEAKER" acdb_id="10" />

Note DMIC vs MIC.... The 5.1.1 also has both a mixer_paths.xml and a mixer_paths_i2s.xml which are entirely different from each other.

As mentioned two posts up, there is new acdb stuff in 5.1.1 stock:

M trlte-common/proprietary/etc/Bluetooth_cal.acdb

M trlte-common/proprietary/etc/Handset_cal.acdb

M trlte-common/proprietary/etc/Headset_cal.acdb

M trlte-common/proprietary/etc/Speaker_cal.acdb

M trlte-common/proprietary/vendor/lib/libacdbloader.so

I'm wondering if (1) the fac tthese numbers has changed is important, and (2) what the proper mixer_paths/audio_platform_info.xml should be.

It's been yet another 8 hour block of no-phone for me. This is definitely a place for someone to focus on. I won't be able to play with this probably for a few more days. When i messed with these files a little I noticed slightly different behavior (in that one time the phone app recovered from freezing). But maybe this has something to do with the issue.

(I've tried stuff like just removing audio_platform_info.xml or copying from one to the other, etc... I was also comparing a bit with shamu. Turns out if you mess these files up a lot you'll bootloop too...)
[Galaxy Note 4 Android Development (Snapdragon)] taxxghost:
I wish to thank fattire for the efforts he makes. I hope to see CM13 on our N910Fs.
[Galaxy Note 4 Android Development (Snapdragon)] shaggyskunk:
Sì sono d'accordo al 100% -fattire tempo e lo sforzo è molto apprezzato!?

I agree with you 100% [MENTION=3041959]fattire[/MENTION] time and effort is greatly appreciated! ?

Sent From My SM-N910W8 Running SlimRemix V5.3
[Galaxy Note 4 Android Development (Snapdragon)] kenkiller:
Where did pt.jcosta go? He's visiting the forums but not posting. :(
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
Best not to discuss him here. I personally think he's full of hot air mate.
[Galaxy Note 4 Android Development (Snapdragon)] axel87:
I think that this thread should be closed till someone can support this thread then people can not had a pop at devs etc....
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
As i said, i don't have a n910F to test on-- but some basic build instructions are in my sig, and if I'm not mistaken gekke did have an old alpha of the xx working-- so why not just do a fresh build and see if it works? Doing a straight build is someone anyone pretty much with lets say a year or less of using a computer can do.

The sticking point right now really seems to be with tmo and other phones not being able to make/receive calls.
[Galaxy Note 4 Android Development (Snapdragon)] kenkiller:
Amazing how pathetic how some people can be, fishing for likes. :(
[Galaxy Note 4 Android Development (Snapdragon)] SamuelBegui:
I say what's the point. They're just likes? Besides what matters most is either ACTUALLY contributing or being a good dev with good intentions.
[Galaxy Note 4 Android Development (Snapdragon)] kenkiller:
And he's still lurking here hehe.....hope not many were duped by the fool.
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
I will try doing that but I have never done anything like that before, let's see if I can get something useful...
[Galaxy Note 4 Android Development (Snapdragon)] jef_00:
do you mean this link https://wiki.cyanogenmod.org/index....ild_CM_Marshmallow_for_trlte_WORK_IN_PROGRESS ? [MENTION=3041959]fattire[/MENTION]
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
Exactly what [MENTION=6364963]MisterCoolBeans[/MENTION] said, likes mean nothing. It's about using the devs work, reporting (not moaning) back with constructive feedback and being helpful to fellow members. But when someone starts giving the Note 4 community false hope, that's a clear sign to steer clear.
[Galaxy Note 4 Android Development (Snapdragon)] gonza28:
Thank you. Tapatalk

Enviado desde mi SM-N910U mediante Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
Yeah. I think that has the basic stuff in there. I have made some changes to the device tree, but I don't think at this point it makes much of a difference for xx users.

I noticed [MENTION=4712992]ZION959[/MENTION] has included this ril file to his device. It's funny because much of it is very similar to the changes I'd made on my end, but he's using another version as a base that the one I used.

Zion, how does this one work out for you? Instead of adding Operators.java manually, this commit will add it to the framework. update: nm it got abandoned and they do want it in the device.
[Galaxy Note 4 Android Development (Snapdragon)] micky387:
Hi man. So first,cm-note4 is out since 4/5 hours

Operator java is needed for our RIL. CM have abandoned to merge in framework but we need to add in device tree (for we,in RIL folder)

I have a working note4 cm13 tmo. call in and out work. tested by 2/3 users. I will build a true trltetmo cm13 without add anything. Just flash cm13+ gapps.

As i say in freenode,i have added more audio stuff in my RIL.java and working now :D

see you next ;)
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
Great news! I'm headed to sleep now. Putting Operators.java in our device is no big deal... Glad you've got it going. I dunno if you saw the RIL I was working with-- how close is it? ;)

Let me know where the working RIL can be found and I'll give it a shot!
[Galaxy Note 4 Android Development (Snapdragon)] nazfalas:
Will setup my ubuntu partition again and see if I can get it to build for trltexx.
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
This isn't another post to get likes is it? Have you had any successful projects? Anything to justify that you can indeed compile a ROM?
[Galaxy Note 4 Android Development (Snapdragon)] nazfalas:
No. I am not a developer nor do I claim to be one.

My only experience here lies with several years of on-and-off linux distro usage and previously building private builds of CM11/12/Nameless ROM for the fun of it for i9300, because nightlies weren't very frequent and I wanted to play around (also for jflte and bacon at some point).

I only follow guides and I will try to follow fattire's instructions and see if it builds, just as he suggested.

NOT ASKING FOR THANKS OR LIKES!!
[Galaxy Note 4 Android Development (Snapdragon)] shaggyskunk:
May be a little harsh - I've run Roms on various devices built by little known enthusiasts (I did know them personally though) - Benefit of the doubt in the meantime ?

Sent From My SM-N910W8 Running SlimRemix V5.3
[Galaxy Note 4 Android Development (Snapdragon)] nazfalas:
I want to stress again, I am not a developer. If there are problems I will most certainly not be able to fix them, but I will try to build it and if it works: great. If not: that's it, I won't be able to help.

Give me some time to set up ubuntu (multiple hard drives and SSDs, don't want to screw with my Windows partition and need to figure out how to dual boot with Win10 on a separate partition) and I will report on how well I am able to follow fattire's guide.

Edit:

#1 Doing a CM13 repo sync now, takes a while, large download size

#2 Sync done, proprietary files extracted and some copied form shamu image
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
I could have worded my post a little better, my apologies. Not to impune on your work my friend, it's just we've had a couple of guys (not mentioning any names) giving false hope in an attempt to get likes and recognition for doing nothing. My apologies my friend :) (y)
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
I am currently doing the same as you are doing and I also have the same (small) amount of knowledge, lets hope that we can get something together and maybe we can even help each other out a bit.
[Galaxy Note 4 Android Development (Snapdragon)] nazfalas:
Maybe we'll even learn something :D

[MENTION=3041959]fattire[/MENTION]

About that last part in your instructions about unmerged commits:

Most of them have been merged already so they are obviously not necessary to be picked, but what about those that have been marked as abandoned on Gerrit?
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
Somehow I am having an error with the $ ./extract-files.sh command which is required in order to extract the blobs from the device.. it always says:

ale@ubuntu:~/android/system/device/samsung/trltexx$ ./extract-files.sh

bash: ./extract-files.sh: No such file or directory

Anyone can help me with bypassing this? Can I just take the blobs which gekke posted in the first post and put them into that directory?
[Galaxy Note 4 Android Development (Snapdragon)] nazfalas:
Make sure extract-file.sh is in that directory first and make sure your device is set up with ADB (IIRC?).

Try executing the script with 'sudo sh extract-files.sh' then.
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
My device is set up with adb, but I can not find the extract-file.sh anywhere :(
[Galaxy Note 4 Android Development (Snapdragon)] jef_00:
i am busy too but where is the repo/local_manifests/roomservice.xml?

jeffrey@ubuntu:~/android/.repo$ ls

manifests manifests.git manifest.xml

i dont see it
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
I also did not find this file but I just created the foler local_manifests in the repo, created a roomservice.xml and put in the lines that were written in the wiki. It seems to have downloaded the new files on $sync repo so I assume that this worked, but I am not quite sure.
[Galaxy Note 4 Android Development (Snapdragon)] jef_00:
thanks!!!!
[Galaxy Note 4 Android Development (Snapdragon)] micky387:
Hi,

I'm not fattire but you just need repopick 114805 & repopick 114806.

Github of fattire is not up to date so you can follow my github for international variant (i've tblte [note edge] not trlte) but it's same ;)

For the blobs,you need to delete in vendor/samsung/trltexx, Line 18 and 19. FC with it for the moment.

For more help,go to #cm-note4,it's better for discussion ;)

EDIT: my github https://github.com/micky387/android_device_samsung_tbltexx
[Galaxy Note 4 Android Development (Snapdragon)] Xokoz:
Yeah, team work is the key now because gekke left. :) Good job guys and good luck
[Galaxy Note 4 Android Development (Snapdragon)] nazfalas:
Ok, even though they are abandoned?

And since I am a noob: how do I use your work on GitHub for trlte?