yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
So yeah--modifying the RIL in the frameworks/opt/telephony...etc.. is no longer necessary. As far the trlteRIL, I did a hybrid fixed-up trlteRIL which seemed to work as far as the SIM being detected but still had the audio-related freeze on phone calls.

Because of micky's reported success, i did replace the trlte with a version of his... here's the diff of my most recent changes (TO BE CLEAR-- THESE ARE UNTESTED. IT BUILDS BUT I HAVEN'T EVEN TRIED IT YET) but this is still a WIP on my end and note that there are some missing files that aren't in the diff:

audio/audio_platform_info_i2s.xml

audio/jack_alsa_mixer.json

audio/mixer_paths_i2s.xml

audio/sound_trigger_mixer_paths.xml

audio/sound_trigger_platform_info.xml

configs/media_codecs_performance.xml

sepolicy/gsiffde.te

ril/Android.mk

ril/ril_shim.c

ril/rmt_storage_shim.c

The first few files above are from 5.1.1-- the ril files are the shims you can find elsewhere in this thread. the gsiffde.te is this:

type gsiffd, domain;

type gsiffd_exec, exec_type, file_type;

# Started by init

init_daemon_domain(gsiffd)

# Write to /data/misc/location/gsiff/

allow gsiffd gsiffd_data_file:dir rw_dir_perms;

allow gsiffd gsiffd_data_file:fifo_file create_file_perms;

# Write to /data/misc/location/quipc/

allow gsiffd quipc_data_file:dir rw_dir_perms;

allow gsiffd quipc_data_file:sock_file create_file_perms;

# Create sockets

allow gsiffd self:socket create_socket_perms;

# Talk to qmux

qmux_socket(gsiffd)

# Run stat on /dev/sensors

allow gsiffd sensors_device:chr_file getattr;

# Talk to the sensors daemon

unix_socket_connect(gsiffd, sensors, sensors)

I haven't pushed any of the above officially to the device tree yet because, well, audio calling isn't working yet. But I'm going back into a period of "I need my phone alive".. so if you wanted to see what I was up to to and maybe figure it out yourself, go for it...

There are

numerous

changes to the vendor side of things, but that's probably another post as there are a lot of new blobs and tons of changed ones from 5.1.1.
[Galaxy Note 4 Android Development (Snapdragon)] jef_00:
i have do a full repo synic but how to modify trlte-common/trlte-common-vendor-blobs.mk file? most i add the lines

like so

vendor/samsung/trlte-common/proprietary/etc/wifi/nvram_mfg.txt:system/etc/wifi/nvram_mfg.txt \

vendor/samsung/trlte-common/proprietary/etc/wifi/nvram_net.txt:system/etc/wifi/nvram_net.txt \

vendor/samsung/trlte-common/proprietary/etc/wifi/nvram_net.txt_r10:system/etc/wifi/nvram_net.txt_r10 \

- vendor/samsung/trlte-common/proprietary/etc/wifi/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf

+ vendor/samsung/trlte-common/proprietary/etc/wifi/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \

+ vendor/samsung/trlte-common/proprietary/vendor/lib/egl/eglsubAndroid.so:system/vendor/lib/egl/eglsubAndroid.so \

+ vendor/samsung/trlte-common/proprietary/vendor/lib/libc2d30.so:system/vendor/lib/libc2d30.so \

+ vendor/samsung/trlte-common/proprietary/vendor/lib/libqcci_legacy.so:system/vendor/lib/libqcci_legacy.so

+

and i create a file with nano called justsynced.sh

in the file you find this

#!/bin/bash

. build/envsetup.sh

croot

repopick --force 114805 # there's supposedly a way to set up the device so we don't need this.

repopick 114806

is that correct?

[MENTION=3041959]fattire[/MENTION]
[Galaxy Note 4 Android Development (Snapdragon)] pctv007:
Thank you VERY much again, for your kindness.

:)
[Galaxy Note 4 Android Development (Snapdragon)] Motawa88:
no updates?
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
to what? plenty of updates in the last few pages.
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
Go back a few pages and read
[Galaxy Note 4 Android Development (Snapdragon)] hedoras:
Guys, I have 910F and CM13 by Gekke and i have working SIM, (SFR) Call works, DATA, LTE same, i haven't crash when someone call me.

So if i can help, tell me how, i'm not dev but, i can maybe extract some files of my device to help?
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
Yes, I have exactly the same situation as you have, but whenever I try to build newer sources and flash them on my n910f I get the no sim error... I wish I knew what to do with the files from the working one =(
[Galaxy Note 4 Android Development (Snapdragon)] KeTuRr74:
Take a look at the messages from [MENTION=3041959]fattire[/MENTION] and [MENTION=3296134]gekkehenkie11[/MENTION]
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
Look at my earlier posts before telling me what to do if it is not constructive... I've tried everything that they said but I can't get it to work with my knowledge.
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
Again-- leave the existing RIL.java in place. You need to modify the trlteRIL.java in the device/samsung/trlte/ril... folder. The easiest way to modify it is to look at this example here and then change tblte to trlte throughout the file (and in the filename). You'll also need to add the Operators.java file.

At that point you should have the SIMcard recognized, texts should go in and out, etc. The problem is now the audio path is screwed up.. you'll see that if you get rid of mixer_paths.xml that calls will come in and out successfully (the UI wont' freeze) but sound won't work..... once that's figured out I'll push everything... at least at this point you're pretty much caught up.

BTW feel free to update the wiki-- its' a wiki so anyone can update it :)
[Galaxy Note 4 Android Development (Snapdragon)] agsola:
Work together

Sorry if I repeat, but I've seen some people rolling out some CM13 builds for N910C/H:

- http://xdaforums.com/note-4/orig-development/unofficial-cyanogenmod-13-0-t3246859

- http://xdaforums.com/note-4/orig-development/rom-cyanogenmod-13-semi-official-builds-t3259878

Is there no way to merge them into a single unified dev?

And then just do specific stuff separately?

Can't we benefit from their work?
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
UPDATE: Working CM13 Nightly Version

I HAVE MADE GREAT PROGRESS!

Wow, thank you very much fattire. Finally I could understand what you mean and make a build that has a working SIM card.

I have just tested in- and outgoing calls and on both I could get in- and outgoing voice without any issues on my trltexx.

Data and everything else also works.

Here is the download link to the latest nightly for the N910F TRLTEXX, DO NOT FLASH THIS ON OTHER DEVICES:

https://mega.nz/#!NZci3LKT!ftUcfrQC7jFs7WKDmYtPE0H-9JvV1mHhw61PbLQn_NM

For anyone that wants to install this here is how I did it:

- I had an old cm13 nightly by gekkehenkie11 installed

- then I moved the .zip linked above on my SD Card and flashed it directly over the existing installation (so called dirty flash)

- then I wiped cache/dalvik and rebooted to system. After the apps were updated everything worked.

It is also possible to do a clean install, but I would not recommend it since I didn't try it out and it might require this additional step:

To do this you can go into your TWRP recovery, open the file manager move to the folder /system/priv-app/ and delete the file com.qualcomm.location --> Remember you only have to do this when you do a clean flash. A dirty flash doesn't require this step and works just as well (at least for me)

Be sure to make a backup of your existing installation in order to prevent data loss in case of some unexpected error.

Have fun flashing this ROM and as of now I can start creating nightlies any time I want to I guess since I can compile without errors, so I will keep you guys updated.

[MENTION=3041959]fattire[/MENTION] Concerning the wiki-page: I am a bit unsure whether I am enough capable of adding things to the wiki or deleting stuff since I am no developer and all I can do is follow your instructions, ask questions about what I don't understand and try to do my best to learn some stuff.

However I already fixed a typo of yours some days ago ;) so whenever I feel like I can make a quality improvement and when I find the time I will do so. Thank you for all your patient help that helped me to complete this working build.
[Galaxy Note 4 Android Development (Snapdragon)] lukazaz:
Sorry for this STUPID question but is there a release any trltexx user can just dirty flash (& flash gapps)?

Or should I just wait for a potential CM13 official release if any by 12/24?
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
Hey, this is not a stupid question, I also had to ask "stupid questions" in order to get this build done =)

Any trltexx user can flash this and it should work. Just make sure to create a backup before you do it in case anything goes wrong.

I recommend you to flash it only over the old CM13 version by gekkehenkie11 as I stated in my post above, because I didn't try it out from CM12.1 but from 12.1 you definitely have to make a clean install, the instructions from the first post should work for you, just exchange the CM13.zip from the first post with mine + do the additional step that I described in my post above and it should work out, but I haven't tried it.

If you have CM13 nightly by gekkehenkie11 installed, you're good to go with a dirty flash just as I did.
[Galaxy Note 4 Android Development (Snapdragon)] lukazaz:
I'm going to try a dirty flash and clean fleash the ROM, just need to get the gapps & the ROM from the mega download - will advise what turns out :)
[Galaxy Note 4 Android Development (Snapdragon)] vtec303:
[MENTION=5474718]crazyfuffi[/MENTION], Thank you very much for your hard work and time, its good to know that we have a working cm13 for our device, do we still need to flash blobs? cheers
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
Hello, if you come from a previous version of CM13 made by gekkehenkie11 you can just dirty flash on top of it, meaning you won't Need the blobs.

If you are coming from any different ROM then you must perform a clean flash. I haven't tried out this but my advice is:

-Perform a factory reset

-Flash my ROM.zip

-Flash the blobs from page 1

-Flash GAPPS

-Wipe dalvik/cache

-Go into the file explorer of your TWRP recovery and delete this file before rebooting: /system/priv-app/com.qualcomm.location else it will result in a bootlop

Kind regards and enjoy your ROM
[Galaxy Note 4 Android Development (Snapdragon)] palexis06:
Hello , Sorry but the link of gapps is dead :/

Thank's ;)
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
Hey, you can always download the gapps from here: http://opengapps.org/

Just make sure to select ARM, Android 6.0 and then whatever package you would like, I personally use micro and install additional Google apps from the playstore, but this is just a question of preference.

Then you can download your .zip and continue as usual =)

Your links don't even work..
[Galaxy Note 4 Android Development (Snapdragon)] palexis06:
Hi, in my TWRP file manager i found /system/ but i don't found pri-app :/ thank's for your help and thank's for gapps ;)
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
Hm, maybe you must mount the system first, also in the TWRP recovery.

Else I would suggest you to try booting it and see if it works. =)
[Galaxy Note 4 Android Development (Snapdragon)] agsola:
Sorry, C&P problem.

http://xdaforums.com/note-4/orig-development/unofficial-cyanogenmod-13-0-t3246859

http://xdaforums.com/note-4/orig-development/rom-cyanogenmod-13-semi-official-builds-t3259878
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
I think the N910 C and H use different processors, chipsets so I don't think that These branches could be merged, however this is just my personal opinion, I don't know it for sure.
[Galaxy Note 4 Android Development (Snapdragon)] palexis06:
It's good , rom working very well :) but new improvement of 6.0 no implement ? Raw picture ? 64bits ? thank's for all :)
[Galaxy Note 4 Android Development (Snapdragon)] agsola:
I was thinking more of stuff like low light pictures, SPen stuff, etc.
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
For that I guess a real developer has to do that. I can only put in the updates that the cyanogen mod team makes to the sources.
[Galaxy Note 4 Android Development (Snapdragon)] vtec303:
Thank you very much for the detailed guide, I will follow the steps and report back, cheers.
[Galaxy Note 4 Android Development (Snapdragon)] axel87:
Installed very smooth indeed :)

Still no finger print at this time.

Xposed works like a charm.

Not to sure if SD works as I refuse to rest my sd card.

Thank you very much for your work :)

Could you provide me with the linksame to build Cm13 as I would like to give it a go myself.

Thanks

Kevin HLC
[Galaxy Note 4 Android Development (Snapdragon)] :
I know that this ROM isn't catered toward the trltetmo device, but damn there is one thing I have to commend on the latest build: it is very fast. This is a version of CM that I would feel comfortable using mini google apps instead of pico google apps.

Minor side bug: (because it's trltetmo) RIL still isn't working, I'm sure that will be fixed in the actual trltetmo branch.

---

UPDATE2: Flashed just the CMRemix ROM, and LTE works. However, as stated before, in this thread, the calling function does not work as of yet. You'll have perfect data using EDGE/HSPA/LTE, but no calling. I'd say that's a pretty fair tradeoff lmao
[Galaxy Note 4 Android Development (Snapdragon)] Iceblastzz:
Which xposed did u use?
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
Use the v78 ARM version for our n910f.
[Galaxy Note 4 Android Development (Snapdragon)] Iceblastzz:
How about for n910g
[Galaxy Note 4 Android Development (Snapdragon)] dr.madmax:
Hi, I have flashed dirty flashed it over Geke's CM13, Google Play services crashes permanantly?!
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
so it looks like the note 4 has actually got touchwiz marshmallow releasing, will this help with things like the fingerprint sensor?

http://www.nextpowerup.com/news/25097/samsung-galaxy-note-4-gets-marshmallow-update-in-europe/
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
The same I guess.

Have you wiped your dalvil/cache ?

You can also try to do install new gapps from opengapps.org

I don't experience any problems.
[Galaxy Note 4 Android Development (Snapdragon)] dr.madmax:
Yes I had wiped dlvik/cache. I think i try it again with newerversion of open gapps

Thank You for Your Work!
[Galaxy Note 4 Android Development (Snapdragon)] agsola:
I'm not talking about you, but about merging different development processes for the different branches of the same mobile (note 4 aka 910*).
[Galaxy Note 4 Android Development (Snapdragon)] CodeFox:
Thanks for work on this Crazyfuffi. I'm very happy well once again be able to receive updates for our device. I gave it a try last night. I dirty flashed over the old cm13 but got a bootloop. Then I dirty flashed again after removing the qualcom file and it booted but I'm plagued with Google play service stopped errors. Tried different versions of open gapps but got the same thing ?. Any ideas?
[Galaxy Note 4 Android Development (Snapdragon)] dr.madmax:
For me too, new gapps didn't resove the play services problem
[Galaxy Note 4 Android Development (Snapdragon)] CodeFox:
Glad it's not just me. To be honest with you though when I flashed SOKP lollipop I had a similar issue and had to find an alternative. Maybe open gapps just don't place nice with my phone. I'll try and find some alternative 6.0 gapps later today and see if it helps.
[Galaxy Note 4 Android Development (Snapdragon)] shaggyskunk:
Have you tried Dankoman's Slim Gapps 6.0?

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

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

Sent From My SM-N910W8 Running SlimRemix V5.3
[Galaxy Note 4 Android Development (Snapdragon)] ForceField:
Hi, Is the SDCard working now ?

Can we have a link for the latest update ?
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
My 128 GB Samsung SD card is working fine.

Here's the link to yesterdays nightly: https://mega.nz/#!NZci3LKT!ftUcfrQC7jFs7WKDmYtPE0H-9JvV1mHhw61PbLQn_NM
[Galaxy Note 4 Android Development (Snapdragon)] callum_88:
SD Card was reportedly corrupt. Made a backup on PC and then formatted it.

Did I make a mistake by formatting as FAT32? It wont make a nandroid now.

Forgive me if its been asked, ive gone through the thread briefly.
[Galaxy Note 4 Android Development (Snapdragon)] ForceField:
Hi , just reformat it as exFat ;) .

FAT32 should work but exFat is a lot better
[Galaxy Note 4 Android Development (Snapdragon)] speedyjay:
Hello bud,

Do we still need to flash the Blobs for this build?

God bless
[Galaxy Note 4 Android Development (Snapdragon)] jef_00:
Yes you have to flash the blobs
[Galaxy Note 4 Android Development (Snapdragon)] callum_88:
I'm trying to find the battery light disable switch but it doesn't seem to be there. It comes up in the settings search though. Is it removed or am I blind?
[Galaxy Note 4 Android Development (Snapdragon)] kenkiller:
On this rom? It actually wants to format exfat to fat32.
[Galaxy Note 4 Android Development (Snapdragon)] CodeFox:
Thanks Shaggy, I did a clean flash, flashed blobs, flashed SlimGapps and deleted the file in system/priv-app and all is working fine! Thanks again for getting this to build. Great effort :good:.
[Galaxy Note 4 Android Development (Snapdragon)] callum_88:
thanks. have just found this out the hard way. it will not format or recognise exFAT.

once i was on FAT32 it wouldnt make a nandroid, so im stumped...
[Galaxy Note 4 Android Development (Snapdragon)] shaggyskunk:
Hit Thanks by mistake...Meant to click on Reply - How did you Format the sd card to Fat32 - in your pc? - Does your device "see" the external sd card? If you didn't use your pc - Format with the pc and verify that it's properly formatted to Fat32.

Sent From My SM-N910W8 Running SlimRemix V5.3
[Galaxy Note 4 Android Development (Snapdragon)] kenkiller:
Most probably because your nandroid exceeds fat32 single file size limitation - twrp works with fat32 just fine.

I only use titanium backup, so no issues.

---------- Post added at 08:19 PM ---------- Previous post was at 08:19 PM ----------

The phone does the format.
[Galaxy Note 4 Android Development (Snapdragon)] shaggyskunk:
Format the sd card on your pc!

Sent From My SM-N910W8 Running SlimRemix V5.3
[Galaxy Note 4 Android Development (Snapdragon)] kenkiller:
It doesn't matter. Phone formats to fat32 as well. No difference.
[Galaxy Note 4 Android Development (Snapdragon)] hedoras:
hello, after update, i can't send or receive sms.

but Data/LTE works.
[Galaxy Note 4 Android Development (Snapdragon)] Mussels84:
this ROM is in its very earliest stages, just a heads up that there may not be a fix.
[Galaxy Note 4 Android Development (Snapdragon)] callum_88:
Why does this ROM require FAT32? Is it because of no support for exFAT yet?

EDIT: Nandroid is now working after a phone format.
[Galaxy Note 4 Android Development (Snapdragon)] hedoras:
But on gekke CM13 everything work for dailly use.

I think , i'm doing a fresh install. with blob, gapps, new rom.
[Galaxy Note 4 Android Development (Snapdragon)] shaggyskunk:
Well - If people are having issues after formatting to Fat32 using their devices - See what happens if you format on your pc...

Sent From My SM-N910W8 Running SlimRemix V5.3
[Galaxy Note 4 Android Development (Snapdragon)] pctv007:
Did the same upon v2 and everything looks smooth and working (phone, data etc...)

:)

---------- Post added at 02:27 PM ---------- Previous post was at 02:26 PM ----------

Not if you're dirty flashing :)

---------- Post added at 03:06 PM ---------- Previous post was at 02:27 PM ----------

How do you format ?

I've got a 32GB Samsung card. I can only format it as external, because formatting as internal stays stuck at 20%

And when I format as external, TWRP doesn't see it... well it sees a 196mb partition...

I tried formatting in my Mac or in the phone; it's the same

Never mind, I found out ;)
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
Hello, SMS are working for me.

Are you sure that you are on the recommended COI3 bootloader/modem?

Also, [MENTION=3041959]fattire[/MENTION]

I have created some updates/simplifications to the wiki page, would you mind letting me know if you are happy about the way I've done it or if my changes were not good?

There is also one dead link in your wiki, but I'm not sure if I can just delete in because it is not needed anymore or wheter it is just a typo.

The link i mean is in the paragraph "first steps" linking to the kernel in the sentence:

Maybe you can clarify wheter this link is still required or if it is possible to delete this line.

Also I don't know if I should create an own thread where I can post daily/weekly builds of this ROM for trltexx and answer support questions to make this thread a bit cleaner and not have too much spam in it so that in this thread everything can be focussed on the real developing of new features, because the thread seems a bit flooded with error messages and support requests.

Kind regards
[Galaxy Note 4 Android Development (Snapdragon)] shaggyskunk:
Why would you even be trying to Format an external sd card as Internal??

I've never had any issues Formatting 32 or 64 Gig sd cards to Fat32 in my pc - And I've never had any issues whatsoever!

Only exception was my Note 2 seemed to "eat" external sd cards from time to time requiring me to reformat the sd card - So I never really trusted the external sd card on the N2.

SanDisk seemed to be the most problematic for a while - Never had any issues with Lexar

Sent From My SM-N910W8 Running SlimRemix V5.3
[Galaxy Note 4 Android Development (Snapdragon)] pctv007:
I dunno ;)

The phone told me I can so I tried :D

In the end it worked but I couldn't use the memory at all... Except for transferring data and apps.

So I reverted to external and formatted on my Mac and voilà... It worked :)
[Galaxy Note 4 Android Development (Snapdragon)] hedoras:
I try to fresh install but, bootloop,

COI3 bootloader/modem are In,

After that, i try to backup to CM13 by gekke, but i can't copy the file in my SD card (TWRP crash when i try to install from SD card) or internal storage... so i'm downloading official 5.1.1 from sammobile and reinstall with Odin, 'cause i have not phone now...

Following tonight...
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
I just noticed that I am not receiving incoming sms but I can send them.. Not quite sure what it is though :(

Anyone can send SMS without Problem with my build from yesterday?
[Galaxy Note 4 Android Development (Snapdragon)] CodeFox:
I'm on the latest POK1 BL and Modem and everything works fine. Did you mount system and remove the qualcom location file? This stopped the bootloops for me.
[Galaxy Note 4 Android Development (Snapdragon)] Andycar:
All opengapps released after 03Dec have this problem.

The version from 03Dec and maybe previous works. You can find and download it here:

https://github.com/opengapps/arm/releases

Отправлено с моего GT-I9505 через Tapatalk

---------- Post added at 08:38 PM ---------- Previous post was at 08:37 PM ----------

Try previous open gapps versions. Sry of it was answered before.

Отправлено с моего GT-I9505 через Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] CodeFox:
I seem to have issues with WiFi. On the previous build and also the new one. Once I lock my screen WiFi disconnects and when I unlock I have to manually reconnect. I'm assuming maybe this is doze? How can I stop it doing this?
[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
You can fix this in the settings maybe: wifi --> advanced