FORUMS
Remove All Ads from XDA

[Port] Unmodified port of SM-N910W8 Lollipop firmware

2,982 posts
Thanks Meter: 7,283
 
Post Reply Email Thread
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
  1. Factory reset
  2. Flash the flashable Canadian N910W8VLU1BOC4 stock ROM from https://mega.co.nz/#!Qwp3WQAC!c_CaIG...gAEctNW52YBK_U
  3. Flash SuperSU
  4. Reboot
  5. Set up the T-Mobile APN (see: https://support.t-mobile.com/docs/DO...8#apn_settings) OR flash the T-Mobile CSC (see below).

Porting and installing manually
  1. Download the Canadian N910W8VLU1BOC4 stock ROM from https://mega.co.nz/#!hxYXzYhJ!M_KCVi...YJeElzv9xZpPgI

    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.
  2. 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://forum.xda-developers.com/gala...e-img-t1702861

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

    Code:
    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
  3. 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
  4. Open META-INF/com/google/android/updater-script from sec_csc.zip and add the following to the top.
    Code:
    mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", "");
  5. 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!)
  6. Factory reset
  7. Flash the new tar.md5 (containing only system.img.ext4) using either Odin or Heimdall
  8. Reboot into recovery
  9. Flash the modified sec_csc.zip
  10. Flash my patched kernel from https://noobdev.io/canada/Kernel_N91...C4_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.
  11. Flash SuperSU
  12. Reboot
  13. Set up the T-Mobile APN (see: https://support.t-mobile.com/docs/DO...8#apn_settings) OR flash the T-Mobile CSC (see below).
  14. Set "ro.securestorage.support" to false in /system/build.prop (or else WIFI passwords won't persist across a reboot)
  15. 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!aKetMD...UTXvS9hP1Yjw-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
The Following 79 Users Say Thank You to chenxiaolong For This Useful Post: [ View ] Gift chenxiaolong Ad-Free
 
 
4th April 2015, 11:46 PM |#2  
chenxiaolong's Avatar
OP Senior Member
Flag Solon
Thanks Meter: 7,283
 
Donate to Me
More
Reserved
The Following 15 Users Say Thank You to chenxiaolong For This Useful Post: [ View ] Gift chenxiaolong Ad-Free
4th April 2015, 11:46 PM |#3  
chenxiaolong's Avatar
OP Senior Member
Flag Solon
Thanks Meter: 7,283
 
Donate to Me
More
Reserved
The Following 12 Users Say Thank You to chenxiaolong For This Useful Post: [ View ] Gift chenxiaolong Ad-Free
4th April 2015, 11:47 PM |#4  
AlkaliV2's Avatar
Senior Member
Flag ¯\_(ツ)_/¯
Thanks Meter: 1,358
 
More
You deserve a LOT of thanks. I'll start.

I'm running this build on my T-Mobile N910T right now and I can confirm three things:

1.) There are no issues with SuperSU prompt
2.) After install I only had to add my APN (chenxiaolong edits securestorage to false during install for WiFi passwords)
3.) Auto-brightness is working perfectly

There are no issues that I have encountered on this build with a clean wipe on TWRP 2.8.6.0 (latest).
The Following 4 Users Say Thank You to AlkaliV2 For This Useful Post: [ View ] Gift AlkaliV2 Ad-Free
5th April 2015, 12:16 AM |#5  
mgbotoe's Avatar
Recognized Contributor
Flag Aw, c'mon Puddin - don'tcha wanna rev up ya Harley?VROOOM VROOM!
Thanks Meter: 3,947
 
Donate to Me
More
Nice as always
The Following 2 Users Say Thank You to mgbotoe For This Useful Post: [ View ] Gift mgbotoe Ad-Free
5th April 2015, 12:32 AM |#6  
Senior Member
Thanks Meter: 47
 
More
Thumbs up
Much love.
The Following 2 Users Say Thank You to taphius For This Useful Post: [ View ] Gift taphius Ad-Free
5th April 2015, 12:37 AM |#7  
mgbotoe's Avatar
Recognized Contributor
Flag Aw, c'mon Puddin - don'tcha wanna rev up ya Harley?VROOOM VROOM!
Thanks Meter: 3,947
 
Donate to Me
More
Btw thanks for the guide on the porting! One more thing to slap on my knowledge and hopefully it will open some room for development while we wait around on tmobile
The Following 2 Users Say Thank You to mgbotoe For This Useful Post: [ View ] Gift mgbotoe Ad-Free
5th April 2015, 12:51 AM |#8  
paranoid android85's Avatar
Senior Member
Flag san antonio, tx
Thanks Meter: 204
 
More
Much appreciated!
The Following 2 Users Say Thank You to paranoid android85 For This Useful Post: [ View ] Gift paranoid android85 Ad-Free
5th April 2015, 01:01 AM |#9  
Senior Member
Thanks Meter: 334
 
More
thank you. works flawlessly for me =)
The Following User Says Thank You to monkeyass408 For This Useful Post: [ View ] Gift monkeyass408 Ad-Free
5th April 2015, 01:07 AM |#10  
AlkaliV2's Avatar
Senior Member
Flag ¯\_(ツ)_/¯
Thanks Meter: 1,358
 
More
Tips for Best Results
-Clean install (no dirty flashing between builds, Lollipop or not)

- Download latest flashable SuperSU HERE and install it after the ROM and before you reboot!
After it boots let the screen turn off on its own before running setup and logging in

- Add an APN to fix "No data" for US T-Mobile users: Go to Settings > More Networks > Mobile Networks > Access Point Names and click the "+" in the upper right. Follow the link in step 5 of the OP for filling in the boxes.

-Freeze S-Voice and clear data with your favorite app to get back "OK Google" command.

-Activate and use Viper4Android and Wakelock Detector with Root privilege (credit: Mcdavid)
Install SELinuxModeChanger and change to "permissive"

I'll add more as I find them.
The Following 6 Users Say Thank You to AlkaliV2 For This Useful Post: [ View ] Gift AlkaliV2 Ad-Free
5th April 2015, 01:35 AM |#11  
mcdavid's Avatar
Senior Member
Flag SF Bay Area
Thanks Meter: 504
 
More
Quote:
Originally Posted by AlkaliV2

Tips for Best Results
-Clean install (no dirty flashing between builds, Lollipop or not)
- Download latest flashable SuperSU HERE and install it after the ROM and before you reboot!
- After it boots let the screen turn off on its own before running setup and logging in
- Add an APN to fix "No data" for US T-Mobile users: Go to Settings > More Networks > Mobile Networks > Access Point Names and click the "+" in the upper right. Follow the link in step 5 of the OP for filling in the boxes.
-Freeze S-Voice and clear data with your favorite app to get back "OK Google" command.

I'll add more as I find them.

Installing SELinuxModeChanger and changing to "permissive" makes Wakelock Detector and Viper work right on this.....
The Following 2 Users Say Thank You to mcdavid For This Useful Post: [ View ] Gift mcdavid Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes