yashsingh1/xdaforums huggingface dataset:
[T-Mobile Galaxy Note 4 Android Development] docnok63:
Thanks for the quick uploads gents. I'm going to assume that neither of you tried just replacing these files on the Nougat ROM and that call audio works perfectly for Broken ROM??? If you tried, what was the results? (This will save me one reboot.) Starting comparison after I post this...
[T-Mobile Galaxy Note 4 Android Development] shaggyskunk:
No I haven't Flashed Nougat - Don't have Google Voice in Canada - Calls working perfectly for me on DEP2 6.01 Bootloader and Modem.

Sent from my SM-N910W8
[T-Mobile Galaxy Note 4 Android Development] aaron74:
These are from stock TW PH4:

https://mega.nz/#!199wQR4L!WZX5NjmXi2JcXKeqpVa55uiBf92dJ7LB_aDIZEoihm0

https://mega.nz/#!dg9jFQBK!0wd--u0W0EHx3LerbSqKUmtEZY8QfclSmgzGuWlrRew

I can't get to my CM or AOSP files right now cause of way ROM is stored in .dat file.

Edit, just saw, I see you got some others already. Good luck.

And also no I haven't tried myself. I've been testing and running the note 7 ports right now. But I've been checking in on this every now and then.
[T-Mobile Galaxy Note 4 Android Development] docnok63:
Thanks again for the quick reply. Using Beyond Compare 4.1.7, it's easy to see that the culprit for Nougat is mixer_paths.xml since the mixer_paths_i2s.xml files are exactly the same. There's an entire speaker section missing. I'll be merging/editing in a sec. Solution should be imminent. Showing work in the meantime...
[T-Mobile Galaxy Note 4 Android Development] docnok63:
No, thank you. The more the merrier. Apparently the solutions is not going to be as easy as copy & paste/merge. Thanks to your files, I see that Broken's two mixer files are exactly the same as Stock TW. This leaves the ONLY different file as Nougat's mixer_paths.xml. This is significant since phone calls work on that one Hangout's Dialer apk from APKMirror. This tells me that the differences in the file are meaningless.

The problem seems to be how one of the new Nougat APKs is reading this file OR it literally just no good for our phone (apk in this ROM is ported from another device.) I know this seems ridiculous, but I want to compare every single apk dealing with phone and contacts from Broken and Stock TW compared to this Nougat.

I need y'all to look through the screens of the attached .zips and if your apk version is different or has a different storage size I need your to find it in system/app or system/priv-app and zip it/them up. It's going to be a LONG process of elimination at this point.

EDIT: I forgot to mention my two failures. I first tried a custom mixer_paths.xml I created by doing a differential merge. There wasn't any sound for ringing/call. I also tried Broken/Stock TW's mixer_paths.xml. Same results. This leads me to the apk problem and not an xml problem.
[T-Mobile Galaxy Note 4 Android Development] ravomendo:
Dialer for nougat dialer.apk is much larger than dialer.apk for broken AOSP rom.

I have tried to run nougat with XML files from broken with no audio, but hangout worked without any issue.

I am thinking swapping dialer.apk from broken to nougat to see what I break.
[T-Mobile Galaxy Note 4 Android Development] SEB1109:
AICP rom, 8.30.16 build.

trltetmo (sm-n910t)
[T-Mobile Galaxy Note 4 Android Development] docnok63:
I haven't been sitting on my hands waiting for someone to upload the files I want to mess with. I've been downloading a load of dialers from APKMirrror.com. I've used all Google Phone from 3.0.1+ to 5.1.13x. I've tired ZenUI and drupe Contacts Dialer. I tried Skype Dialer. So, without the files, this is as close as I get tonight....

I tried every version of Hangouts Dialer available on APKMirror. They all work without headphones plugged in but when you dial out, your number appears as "Unknown Caller." Also sucking is the fact that Hangouts Dialer can't be used as your default dialer. Therefore, incoming calls are received by the "Phone" app. Thus, you'll still need headphones. This is obviously not the solution we need.

Tomorrow is another day....right now The Flash then Agents of SHIELD!

---------- Post added at 12:16 AM ---------- Previous post was at 12:14 AM ----------

Thanks for these, but I don't think they're the problem. I look at them ASAP!

EDIT: You included media_profiles.xml. I need mixer_paths.xml, please.
[T-Mobile Galaxy Note 4 Android Development] ravomendo:
Dialer and contacts from AOSP causes crashes on nougat
[T-Mobile Galaxy Note 4 Android Development] reydarz:
From cmremix 6.0.1
[T-Mobile Galaxy Note 4 Android Development] aaron74:
Agreed, Especially since we're dealing with a whole new version of AOSP. (6.0 to 7.0). I am in no way an expert,coder,or dev, but who knows what new code Google had thrown in.

Just my 2 cents, if I had the time to experiment with this, I would first look into all the different audio files. The ones your currently trying in /etc and also maybe try swapping the ones in the /lib folder, especially libaudio-ril.so. I think that one specifically but there are allot others. And I'm not claiming to know what they do. Also has anyone looked deep into the build.prop, maybe it's missing something. Be nice if it was that simple.

If I get some time, I might try to get this going on my gsm sprint phone.

It's nice to still see people trying to move this forward, best of luck! :fingers-crossed:
[T-Mobile Galaxy Note 4 Android Development] aaron74:
OK guys, so I just tried installing this on my unlocked gsm Sprint Note 4. With some minor expected tweaks, I got it booted with signal and LTE data. Everything was running fine.

So then I installed file manager and super su, so I could help look into this audio problem. Once I got rooted, I lost my sim and service.

Is this an issue for you guys to? Is there a special root method you guys are using?

Thanks.
[T-Mobile Galaxy Note 4 Android Development] ravomendo:
Go back few pages that explains you how to root.
[T-Mobile Galaxy Note 4 Android Development] docnok63:
I had a glimmer of hope for this one because it has a unique section called <path name="fm-headset">, but it was quickly squashed :crying:

Just by chance today, I found out what version of Nougat we're dealing with. I was having quite a battery drain and was trying to track it down with GSam Battery Monitor. My CPU hit was high and it was there that I discovered we're on a Nougat Developer Preview base. Obviously this is not as ideal as an official release build (ported from a Nexus device or LG V20.) This is why this ROM's dialer version is 3.00.00 and not even on APKMirror.com. Do I solely blame this as the reason why phone calls don't work properly? Hell no, but it probably the reason some of the newer versions of the dialer (above version 3.0.x) force crash immediately.

After Game 7 and watching Blindspot, I'm going to restore and old CMRemix nandroid and start digging through some of the files and directories we're talking about. Good luck to you as well!!!

EDIT: I was distracted by the game. The fm-headset wasn't unique. It was also in the Broken ROM's file, so I should've known it wasn't going to work...
[T-Mobile Galaxy Note 4 Android Development] aaron74:
Thanks! Will do.

This could be a big reason for the problems.

Thanks.
[T-Mobile Galaxy Note 4 Android Development] docnok63:
Another (minor?) discovery last night: our build has a non-standard BusyBox installation. I've never heard of the vmake version of BusyBox, but that's what we have. I installed meefik's version and nothing has crashed/my phone didn't blow up. Did this fix call audio? No. Did it fix anything? Not that I can tell. Am I keeping my current BusyBox installation? Yup.
[T-Mobile Galaxy Note 4 Android Development] ravomendo:
I saw cm 14 for n7100 which is note 2, and wondering if I can get dialer and everything from system/etc, dialer would work...

Note 2 is similar to note 4 except display panels and other stuff
[T-Mobile Galaxy Note 4 Android Development] shaggyskunk:
Yeah I believe that the Note 2 is also Exynos - If that makes any difference..

Sent from my SM-N910W8
[T-Mobile Galaxy Note 4 Android Development] ravomendo:
That probably won't work since note 4 is snapdragon 805..

I wonder if any other cm13 Devs are working on cm14?
[T-Mobile Galaxy Note 4 Android Development] shaggyskunk:
I think that was my point - Note 2 Exynos & Note 4 Qualcomm ;)

Sent from my SM-N910W8
[T-Mobile Galaxy Note 4 Android Development] ravomendo:
I am slow learner :)
[T-Mobile Galaxy Note 4 Android Development] docnok63:
A while back, ZION959 said he was going to update his CMRemix build to CM14, but I haven't been following this thread to know the current status. I know he was busy with a move and possibly (?, I forget) having computer problems.

The post is kinda confusing (English is his second language), but the DU builder is saying he's going to release a CM14 build within a week. The DU 10.6 build had the Unknown Sources bug (fixed by someone in the thread), BT connectivity issues, and a camera focus issue. I'd be on it right now with the Unknown Sources fix if I wasn't messing with this so much. It'll be interesting to see what, if anything, is fixed in the new version.
[T-Mobile Galaxy Note 4 Android Development] docnok63:
Chainfire released a new version of his systemless root and, as I said before, I'll flash anything once....

I didn't have much hope for this one....and I was right not to. Lost radios and no root....just like all the rest of SuperSU.

I'm still working on a fix for call audio. I've been asking around and I was lead to an app called SoundAbout. This looked very promising. It allows you to force audio to specific outputs. I was able to force media to headphones only but no matter what I selected for phone calls, it wouldn't work. Back to the drawing board...
[T-Mobile Galaxy Note 4 Android Development] shaggyskunk:
You might want to have a look at this link - it's for the Note 3 (also Qualcomm) Calls are working - But I don't know if it will be of any help.

http://xdaforums.com/showthread.php?p=68645440

Sent from my SM-N910W8
[T-Mobile Galaxy Note 4 Android Development] rob_z11:
I wonder anyone from that forum is willing to share their mixer.xml?
[T-Mobile Galaxy Note 4 Android Development] shaggyskunk:
I'm going to Flash it on my Note 3 and then I'll post it here - Give me a few minutes to Flash & basic setup - I'm on the Canadian Note 3 so we'll see if it boots etc

Sent from my SM-N910W8
[T-Mobile Galaxy Note 4 Android Development] docnok63:
Can you also at least take screenshots, if not get the apks themselves, of the apps in the .zip I attached on this post? Thanks in advance.

EDIT: Never mind the apks. It's early. I'll just download the ROM itself. Screenshots would help for version numbers, though.
[T-Mobile Galaxy Note 4 Android Development] shaggyskunk:
Here's the mixer.XML

https://www.dropbox.com/s/5qp1s2ln6q7dw89/mixer_paths.xml?dl=0

---------- Post added at 10:47 AM ---------- Previous post was at 10:36 AM ----------

Calls working for me on the 7.1 Rom on the Note 3 - AND Root (full) flashed SuperSU 2.78

Texts also working

Sent from my SM-N910W8
[T-Mobile Galaxy Note 4 Android Development] docnok63:
I've never actually looked at a ROM .zip file before today. I thought that all I'd have to is go into the system folder and they'd all be in there. Unfortunately, they're all compressed in a .dat file. So, downloading the ROM didn't do me any good. Although, my friend has a Note 3. Maybe I'll have him flash it tonight...

That mixer.xml is so drastically different than any others that I'd like to see mixer_paths_i2s.xml as well, please.
[T-Mobile Galaxy Note 4 Android Development] docnok63:
My friend flashed trader418's ROM on his Note 3. I've already tried just throwing in that mixer_paths.xml with to no avail. In fact, sound no longer came out of headphones either. We might be on to something....

I did see in that Note 3 thread about the acdb files. Some of ours are dramatically different size. I'll be looking into that tonight.

I had my friend .zip up and send me the ROM's entire etc folder. It's 34 files and 16% smaller overall. Maybe less is more seeing as calls work on that ROM? He says the ROM is very stable and even the camera works. He's going to check BT on his way home from work. Maybe we can get someone to port this to the Note 4?
[T-Mobile Galaxy Note 4 Android Development] rob_z11:
I copied acdb file from stock note7 port for note 4, and no go..
[T-Mobile Galaxy Note 4 Android Development] tokoam:
no luck on the 910t yet huh ?
[T-Mobile Galaxy Note 4 Android Development] docnok63:
shaggy never said he was trying to port the ROM to this device. That was pretty rude.

I was so impressed with the stability and functionality of this ROM that I will announce that I've been working to port it to our device(s). I took several hours between last night and this morning to first try it on my own and then by following directions from here. I think I've properly edited everything because the phone wanted to boot, but I think it was stopped by the kernel.

My next step is to try a different kernel. If that doesn't work, I'll be building my own. I've never done that before, but I'm reading up on that as well. Hopefully, I'll have a working version by the end of the weekend. :confused: :rolleyes: :good: :cool: :highfive:
[T-Mobile Galaxy Note 4 Android Development] rob_z11:
Good news.. I may try to follow port steps as well..

Have you tried to flash the same kernel as red dragon as posted?
[T-Mobile Galaxy Note 4 Android Development] docnok63:
I've tried both version of the Werewolf kernel that's in this thread. Both started to boot, but then went to a black screen. It might have to do with wrong Android version.

I also tried the kernel that comes with the ROM, but that started to boot and then went into download mode. This probably has to do with Note 3 vs Note 4.

ROM, GApps, and SuperSU all flashed fine...it just stopped booting. I'm going to start getting ready to go see Doctor Strange, but I'll be working on a kernel tonight.
[T-Mobile Galaxy Note 4 Android Development] docnok63:
After hours of going through kernel guides and tools, many failures, and fixing Ubuntu not being able to read my Windows partition, I've made minor progress. I've managed to find a tool that I find easy to use and I've unpacked several kernels and their ramdisks to compare and contrast. I still have almost no clue as to what I'm doing, but I've found my first error. While I edited the build.prop, the kernel was still looking for old information. I'm pretty sure I'll find more errors, but I just wanted to post an update.....there's been a

little

movement.
[T-Mobile Galaxy Note 4 Android Development] Old Man Dave:
Again, I don't know if this helps or not, but Verizon just had a 7.1 release.

http://xdaforums.com/note-4-verizon/development/cyanogenmod-14-1-t3495231/page2
[T-Mobile Galaxy Note 4 Android Development] docnok63:
OOOOOOHHHHH WOW!!! Note 4, Android 7.1, and from a xda recognized developer/contributer!!! This is

EXTREMELY

helpful!!! No more mixing and matching and I know it's a legit source!!! I'm downloading as I type this (almost done) and it will be my new base to work from. Thanks Dave!
[T-Mobile Galaxy Note 4 Android Development] renardiidx:
I know this will probably sound selfish and I'm sorry, but is there any chance this is going to be ported for Snapdragon N910F ? :D
[T-Mobile Galaxy Note 4 Android Development] shaggyskunk:
A little ambitious to be requesting a port to another device while it's still being developed to work for N910T ;)
[T-Mobile Galaxy Note 4 Android Development] rob_z11:
I believe in past, this Verizon developer was able to make his version works on T-Mobile.

I tried to install, and it installed fine, but won't go past kernel check...
[T-Mobile Galaxy Note 4 Android Development] iandy1:
Also trying with same results. Pardon my ignorance, will be safe to try the werewolf kernel?

Thanks.

Edit:

Already did, the same stuck on the 1st Samsung galaxy Note 4 screen.

Using dual boot patcher.
[T-Mobile Galaxy Note 4 Android Development] shaggyskunk:
I'm not very familiar with Dual Boot - My 2 cents would suggest to me that if someone is trying to test a Rom in the Extremely early stages of development - I'd think that a straight Clean Flash without anything else in the system might be prudent? But like I said - I'm not familiar with Dual Boot.

Sent from my SM-N910W8
[T-Mobile Galaxy Note 4 Android Development] docnok63:
I've been working with very little sleep since [MENTION=5156235]Old Man Dave[/MENTION] linked me to this ROM. There are provisions in the ROM for it to work with all Note 4 variants but as others here and myself quickly found out, there's something not quite right with them. I'm taking a brief break right now from literally opening file by file and looking line by line at code. I'm not sure if anything will come of this or whether I'm completely wasting time. Attached is a screenshot of the joy I'm having :silly: :rolleyes: :confused: :crying:
[T-Mobile Galaxy Note 4 Android Development] rob_z11:
You are right, but Early Nougat that OP has posted booted fine with dual boot setup. Since this is my primary phone, I have to have working phone, so I do CM13 and CM14 as dual or DataSlot ROM to test. I have also tried Verizon CM14 with kerenl that OP has posted here, but no luck.
[T-Mobile Galaxy Note 4 Android Development] docnok63:
With lots of comparing/contrasting, I've found that [MENTION=5868929]hsbadr[/MENTION] has made numerous, extensive changes to multiple files in the ramdisk, but none more than the init file. Not init.rc or init.d but the init file itself. I'm not sure, but it's probably short for initialization and, from what I understand, is responsible for setting the parameters for the phone starting up. I believe this file is the one that's stopping our phone from booting. A Google search on how to edit this file has proved fruitless. I need a nap and I'll look more with refreshed batteries. Here's what I've found so far:

http://cecs.wright.edu/~pmateti/Courses/4900/Lectures/Internals/Embedded-Android-228-247-pm.pdf

https://android.googlesource.com/platform/system/core/+/master/init/readme.txt

Screenshot below is nearly all red (differential changes)
[T-Mobile Galaxy Note 4 Android Development] rob_z11:
I think you may be Right of custom config. Op from Verizon ROM has added poll to see if he should add custom fix to support multivariant..

http://xdaforums.com/showthread.php?p=69511529
[T-Mobile Galaxy Note 4 Android Development] docnok63:
Unlike the presidential election, it's an easy choice for me to vote!!!

I've been talking with him via private message and he already has a fix for the boot issue. I think he's planned on multivariant support from the get go because he's done all this extra coding. Literally, some of his file sizes are 2-3 times larger than the single variant. If you need to see it in black (errrrr...red) and white....
[T-Mobile Galaxy Note 4 Android Development] clash1982:
this is awesome:D:D:good::good:
[T-Mobile Galaxy Note 4 Android Development] tokoam:
Guys go vote not for the election but for cm14!! We need multi variant support for tmobile !!!!
[T-Mobile Galaxy Note 4 Android Development] butchieboy:
Lol thats awsome!

Note4 UX Edge
[T-Mobile Galaxy Note 4 Android Development] docnok63:
The poll is rigged. There's far more variant voters than solo 910V voters. People that don't have the ROM want it! Actually, it's feeling just like the presidential election :p
[T-Mobile Galaxy Note 4 Android Development] MyOnlineAccount:
Any progress on getting working booting? I really am excited for this project here and it looks like everyone's doing a tremendous job making this ROM fully functional. You guys are awesome for this.
[T-Mobile Galaxy Note 4 Android Development] docnok63:
Honestly, this post made me realize how disrespectful we've been in hijacking [MENTION=5184450]USA-RedDragon[/MENTION] 's thread talking about this other ROM here. While Red MIGHT have abandoned this project, further discussion of the 7.1 ROM should be in the actual 7.1 thread. Sorry Red.
[T-Mobile Galaxy Note 4 Android Development] MyOnlineAccount:
Oh I understand. But it's nice to see how Red isn't the only Dev willing to making something work for us T Mobile users. I'm sure if he's gone and decided to come back, it's refreshing to see other devs came in and finished what was started. As long as this project is finished and he's credited with his time and work put into this ROM, there's no negative feedback that can come out of this. :)
[T-Mobile Galaxy Note 4 Android Development] EdlerJB:
Hi, just to know is this rom dead ? and we all have to go to the 7.1 hope for a multivariant or this rom will get a update ?
[T-Mobile Galaxy Note 4 Android Development] shaggyskunk:
Just because no one has posted a working build in the last 24 hours doesn't mean that it's "dead".. At least a couple of people are trying to sort out the issues with calls etc and it's anything but straight forward.. There's only two Roms & a few people who are working on 7.1 for the Note 4 - Patience ;)

Sent from my SM-N910W8
[T-Mobile Galaxy Note 4 Android Development] EdlerJB:
Thank your for your respond
[T-Mobile Galaxy Note 4 Android Development] rob_z11:
Don't forget to thank him :)
[T-Mobile Galaxy Note 4 Android Development] docnok63:
As you see by my previous posts in this thread, I spent 25-30 hours this weekend + Monday working on the other ROM. It was insane and I needed a break, so I took today off. I hit a brick wall with progress on the other ROM because I can't find anything online on how to open/read/edit an init file.

As for this ROM, I've actually learned a bit about Android while trying to get this and the other ROM working. It's given me a couple of new leads to explore fixes to this ROM. I'll start working on this ROM again tomorrow while we wait on the poll to close and an update to the status of the other ROM. Who knows, I might actually fix something :p
[T-Mobile Galaxy Note 4 Android Development] MyOnlineAccount:
Good man. Take a break. Proper sleep and diet = great thought process
[T-Mobile Galaxy Note 4 Android Development] didnt1able:
The grind :P that is the grind right there.
[T-Mobile Galaxy Note 4 Android Development] docnok63:
Delving into code, I noticed some nougats (you see what I did there? :silly: ) that may require you to adjust your bootloader/modem soon. Since Sammobile is so damn slow, I've uploaded the last three (important) firmware versions of both the N910T and N910T3. There were so many versions of the W8 firmware, I honestly didn't know what to do with them. I skipped EPE3 because it became really unnecessary with EPG2's release.

WARNING: Although I have included the EPJ2 firmware, once you flash this version, you can't flash any other....so....I'm basically recommending you don't flash it. But it is our latest release and some people always want the latest so I put it up there.

You can, and I have a few times in the last couple of days, switch between EPG2 and DOK2 bootloaders and modems at will. I've provided those as well. I know there's a lotta submenus, but I don't want you flashing the wrong thing...

FULL N910T/T3 Firmware: https://www.androidfilehost.com/?w=files&flid=127849

N910T/T3 Bootloaders and modems: https://www.androidfilehost.com/?w=files&flid=127823

[MENTION=4351374]shaggyskunk[/MENTION] - Perhaps you could help me figure out which W8 versions I should upload?
[T-Mobile Galaxy Note 4 Android Development] shaggyskunk:
This is the latest Canadian Firmware (It's the same for all Canadian Carriers) for the SM-N910W8 Link from sammobile.com:

http://www.sammobile.com/firmwares/download/72680/N910W8VLU1DPE2_N910W8OYA1DPE2_RWC/

Here's the link to Thanks [MENTION=5378210]Battlehero[/MENTION] Bootloader and Modem for SM-N910W8 DEP2:

https://www.androidfilehost.com/?w=files&flid=68963

Sent From My SM-N910W8 ??
[T-Mobile Galaxy Note 4 Android Development] docnok63:
Thanks for that clarification. I've also added the W8's DPE2 and COK3's firmware and BL & modems.

I'll be testing some modifications all night tonight (a lot of of system restores are in my future....) I'll post some results tonight/tomorrow.