[T-Mobile Galaxy Note 4 Android Development] chenxiaolong:
Because the SM-N910W8's hardware is identical to the SM-N910T (they're both labeled SM-N910T under the battery), with some slight changes, the SM-N910W8 stock firmware will run flawlessly on our T-Mobile variant.

There two parts to this post: the first part has a pre-made flashable version for those who just want something working. The second part explains how to port it yourself starting from the stock Odin tar.md5 archive.

Enjoy!

Flashable version

Factory reset

Flash the flashable Canadian N910W8VLU1BOC4 stock ROM from https://mega.co.nz/#!Qwp3WQAC!c_CaIGo-1HOjiRQYfJjC2PYc5il3mgAEctNW52YBK_U

Flash SuperSU

Reboot

Set up the T-Mobile APN (see: https://support.t-mobile.com/docs/DOC-14688#apn_settings) OR flash the T-Mobile CSC (see below).

Porting and installing manually

Download the Canadian N910W8VLU1BOC4 stock ROM from https://mega.co.nz/#!hxYXzYhJ!M_KCVikSc4iETI4mjAzlZSqHXCrtXYJeElzv9xZpPgI

If you want, you can download a different version from http://sammobile.com or http://samsung-updates.com because we will discard the CSC carrier modifications.

Extract cache.img.ext4 from the Odin tar.md5 archive and extract recovery/sec_csc.zip from that ext4 image.

On Windows, you can do this by using CacheRipper: http://xdaforums.com/galaxy-s3/orig-development/tool-cache-ripper-unpack-cache-img-t1702861

On Linux, you can do this by downloading simg2img (or compiling it from AOSP) and then running:

simg2img cache.img.ext4 cache.img
mkdir mnt
sudo mount -o ro cache.img mnt
cp mnt/recovery/sec_csc.zip .
sudo umount mnt
rmdir mnt

Open sec_csc.zip and remove the following directories and files. We don't want any of the carrier customizations, so only the language files are kept. They are needed for SNote and Action Memo.

system/csc

system/etc

system/CSCVersion.txt

system/SW_Configuration.xml

Open META-INF/com/google/android/updater-script from sec_csc.zip and add the following to the top.

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");

Remove all images except for "system.img.ext4" from the Odin tar.md5 archive (keeping the *.mbn files will hard brick your device! Don't do it!)

Factory reset

Flash the new tar.md5 (containing only system.img.ext4) using either Odin or Heimdall

Reboot into recovery

Flash the modified sec_csc.zip

Flash my patched kernel from https://noobdev.io/canada/Kernel_N910W8VLU1BOC4_Patched.zip.

This is the stock kernel, but with tima and dmverity disabled, the CONFIG_SEC_RESTRICT_* options disabled, and a patch from CyanogenMod added to allow brightness adjustment on our old 4.4 bootloader. The GPL kernel source is linked below.

Flash SuperSU

Reboot

Set up the T-Mobile APN (see: https://support.t-mobile.com/docs/DOC-14688#apn_settings) OR flash the T-Mobile CSC (see below).

Set "ro.securestorage.support" to false in /system/build.prop (or else WIFI passwords won't persist across a reboot)

Disable SecurityLogAgent with TitaniumBackup or delete /system/app/SecurityLogAgent to remove the KNOX notification.

GPL Kernel source is here: https://github.com/chenxiaolong/Note4Kernel

T-Mobile CSC

NOTE: Please do not flash this if you've already booted into the ROM once. The OS doesn't seem to like the IMS settings being changed behind its back (ie. you'll see some force closes for the IMS daemon).

By flashing the T-Mobile CSC, this ROM will act as close to the stock T-Mobile firmware as possible. This means APNs, VoLTE network settings, and so on will automatically be configured. Note that because of carrier customizations, some features will disappear, such as the +/- 5 auto brightness adjustment and foreign language sorting in the Contacts app. It is NOT required to flash this package if you don't want to.

This package will also change the build.prop to read "trltetmo" and "SM-N910T" instead of "trltecan" and "SM-N910W8", respectively.

TMB CSC Download: https://mega.co.nz/#!dhghAQRa!aKetMD6FjzfyR6gCyDSdHF1972NrUUTXvS9hP1Yjw-8

Source files: https://github.com/chenxiaolong/Note4CSC

Screenshots:

XDA:DevDB Information

Unmodified port of SM-N910W8 Lollipop for SM-N910T, ROM for the T-Mobile Samsung Galaxy Note 4

Contributors

chenxiaolong

Source Code: https://github.com/chenxiaolong/Note4Kernel

ROM OS Version: 5.0.x Lollipop

ROM Kernel: Linux 3.10.x

Version Information

Status: Testing

Created 2015-04-05

Last Updated 2015-04-04