[Galaxy Note 4 Android Development (Snapdragon)] crazyfuffi:
Thank you for you answer, I copied the RIL-trlte.java from the trltexx tree into android/system/frameworks/opt/telephony/src/java/com/android/internal/telephony and renamed it to RIL.java

There was no existing RIL.java file in there and now I am building it again, hopefully what I've done was correct, I will report back results.

EDIT: Using the first method I still got no SIM card.

What I tried then was replacing the RIL.java with the old .txt from the library but this wouldn't even build resulting in this error:

frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java:103: error: duplicate class: com.android.internal.telephony.RILRequest
class RILRequest {
^
frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java:237: error: duplicate class: com.android.internal.telephony.RIL
public class RIL extends BaseCommands implements CommandsInterface {
^
frameworks/opt/telephony/src/java/android/telephony/RIL.java:236: error: RIL is not abstract and does not override abstract method needsOldRilFeature(String) in CommandsInterface
public class RIL extends BaseCommands implements CommandsInterface {
^
frameworks/opt/telephony/../../../device/samsung/trltexx/ril/telephony/java/com/android/internal/telephony/trlteRIL.java:53: error: cannot find symbol
mQANElements = 6;
^
symbol: variable mQANElements
location: class trlteRIL
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
build/core/java.mk:394: recipe for target '/home/ale/android/system/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes-full-debug.jar' failed
make: *** [/home/ale/android/system/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
ERROR: /home/ale/android/system/frameworks/opt/telephony/../../../device/samsung/trltexx/ril/telephony/java/com/android/internal/telephony/trlteRIL.java:53: mQANElements cannot be resolved to a variable
ERROR: /home/ale/android/system/frameworks/opt/telephony/src/java/android/telephony/RIL.java:236: The type RIL must implement the inherited abstract method CommandsInterface.needsOldRilFeature(String)
ERROR: /home/ale/android/system/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java:103: The type RILRequest is already defined
ERROR: /home/ale/android/system/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java:237: The type RIL is already defined
build/core/java.mk:643: recipe for target '/home/ale/android/system/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/with-local/classes.dex' failed
make: *** [/home/ale/android/system/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/with-local/classes.dex] Error 41
make: Leaving directory '/home/ale/android/system'

#### make failed to build some targets (01:50 (mm:ss)) ####

[MENTION=3041959]fattire[/MENTION] do you know why I then still get the error that the SIM is not detected on my trltexx when using everything as it is from your sources?