• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Everything Galaxy Note 4

Search This thread

Shizzle2889

Senior Member
Apr 17, 2015
121
126
Chicago
Samsung Galaxy A71 5G
To start off, this is meant to become a thread in regards to everything regarding development of the Samsung Galaxy Note 4, planned by @tripLr. This will currently hold information for Snapdragon variants, but should eventually incorporate the Exynos variants as well.

Snapdragon Variants:
Devices:

tblte- SM-N915F/G/P/R4/T/W8
trlte- SM-N910F/G/P/R4/T/T3/V/W8
trlteduos- SM-N9100ZC/ZH/6W/9W
*Note that these are important when choosing which Recovery, ROM, or Kernel to flash. You will need to ensure that it is the correct version for your device. Please match the model number to one of the three variants and use that device tree.


How to Root:

Information here is still to come. This information is available readily in other places in XDA. Currently, please locate there.


How to get TWRP for the Note 4 onto the device:
Odin:

Information here is still to come. This information is available readily in other places in XDA. Currently, please locate there.

TWRP:

Information here is still to come. This information is available readily in other places in XDA. Currently, please locate there.


How to get custom ROMs for the Note 4 and flash the ROM-

Choice of ROM is of self choosing and just needs to be chosen for one that suits your needs and/or interests.
Current ROMs available for the Snapdragon variants are as follows, and all of which are working on Android Pie (9.0).
-Android Ice Cold Project (AICP)
-Android Open Kang Project (AOKP) (believed to be currently officially discontinued)
-AOSP Extended (AEX)
-crDroid
-Havoc OS
-LineageOS (LOS)
-Pixel Experience (PE)
-Resurrection Remix (RR)
-ViperOS
-XenonHD

All ROMs need to be flashed via TWRP.
  1. Download the '.zip' file for the ROM of choice from link.
  2. Place '.zip' on external SD Card.
  3. Boot to Recovery (TWRP).
  4. Conduct a wipe of the phone. Utilize 'Advanced Wipe' and choose what to wipe. To perform a true clean flash, wipe all but SD Card.
  5. Go to 'File Manager' in TWRP. Proceed to 'External SD' (may need to go up one directory) and delete the Android and LOST directories. (These will be recreated on boot.)
  6. Go to 'Install' and find the '.zip' file from earlier. Select the '.zip' file, and select Install after. (Note that you may want to also place a Gapps and/or Magisk in the list to install as well.)
  7. Once installations have completed (may take a couple minutes), Select to 'Wipe Cache', then restart the phone. Phone should boot to new Custom ROM setup.

How you are able to contribute:
Posting Logs:

Information to come. This will explain how to capture a log of a bug and what to do with it.

Build your own ROMs:

  1. Have a linux distribution installed to be built on. (command line listings here will follow bash, depending on distribution you choose, might be slightly different.)
  2. Setup install environment by running the following lines in a terminal. (This will set up for building Android Pie. Different if you wish to build for a different version of Android.) This may take hours based on your network connection.
    Code:
    sudo apt-get -y remove openjdk-* icedtea-* icedtea6-*
    sudo apt-get -y install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop openjdk-8-jdk pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev
    mkdir ~/android && cd ~/android
    Make a directory based on the ROM you wish to build and change to that directory. The command below will be advisable for Android Ice Cold Project, but is just a reference.
    Code:
    mkdir aicp && cd aicp
  3. Initialize the repository of your Custom ROM. This is generally found on the Custom ROM's github on their manifest file. The important thing is to use the following arguments in your initialization to limit space taken up, and again, using AICP as an example.
    Code:
    repo init --depth=1 -u https://github.com/AICP/platform_manifest.git -b p9.0
  4. Inject the roomservice for your build. Most can be found on the TripLr-Dev github. Change the branch to the ROM you want. Also to note here, the 'master.xml' file contains all three variants. The following is in reference to AICP master. Open the file you want and select 'RAW'. Copy the URL of that page and replace with the one in the line below.
    Code:
    mkdir -p ~/.repo/local_manifests
    wget -O .repo/local_manifests/roomservice.xml https://raw.githubusercontent.com/triplr-dev/local_manifests/aicp-p9.0/master.xml
  5. Run a sync of the repository. Note that the first time this is ran, it can and most likely will take hours. This line does not change from ROM to ROM.
    Code:
    repo sync -c -j4 --force-sync --no-clone-bundle --no-tags
  6. Now comes the tricky part. Both of these take about the same amount of time to run, though can be quite an excessive amount of time.
    If your ROM is LOS based, please run this with the proper device tree:
    Code:
    brunch trlte[CODE]
    If your ROM is not LOS based, please run this with the proper make command (generally located on the ROMs github, if not use bacon):
    [CODE]. build/envsetup.sh
    lunch aicp_trlte-userdebug
    make bacon
  7. Now as long as all went to plan, the computer should have build the ROM. At the end, there is the ROMs logo in text. Underneath, it will tell you certain things. One of these is the location of the '.zip' file you need to either give to others or utilize to flash on your device. If it does not get to this point, there was something that went wrong.

There may be additional items to come in the future. Please stay tuned as this is still a work in progress and is still being worked on.

XDA:DevDB Information
Everything Galaxy Note 4, Tool/Utility for the Samsung Galaxy Note 4

Contributors
Shizzle2889, tripLr

Version Information
Status: Alpha

Created 2019-09-01
Last Updated 2019-09-01
 

w41ru5

Senior Member
Jul 17, 2017
716
356
53
I have a friend who's curious which repo's are going to be available for the Exynos variants so that he can build android 9 (pie) for his phone.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    To start off, this is meant to become a thread in regards to everything regarding development of the Samsung Galaxy Note 4, planned by @tripLr. This will currently hold information for Snapdragon variants, but should eventually incorporate the Exynos variants as well.

    Snapdragon Variants:
    Devices:

    tblte- SM-N915F/G/P/R4/T/W8
    trlte- SM-N910F/G/P/R4/T/T3/V/W8
    trlteduos- SM-N9100ZC/ZH/6W/9W
    *Note that these are important when choosing which Recovery, ROM, or Kernel to flash. You will need to ensure that it is the correct version for your device. Please match the model number to one of the three variants and use that device tree.


    How to Root:

    Information here is still to come. This information is available readily in other places in XDA. Currently, please locate there.


    How to get TWRP for the Note 4 onto the device:
    Odin:

    Information here is still to come. This information is available readily in other places in XDA. Currently, please locate there.

    TWRP:

    Information here is still to come. This information is available readily in other places in XDA. Currently, please locate there.


    How to get custom ROMs for the Note 4 and flash the ROM-

    Choice of ROM is of self choosing and just needs to be chosen for one that suits your needs and/or interests.
    Current ROMs available for the Snapdragon variants are as follows, and all of which are working on Android Pie (9.0).
    -Android Ice Cold Project (AICP)
    -Android Open Kang Project (AOKP) (believed to be currently officially discontinued)
    -AOSP Extended (AEX)
    -crDroid
    -Havoc OS
    -LineageOS (LOS)
    -Pixel Experience (PE)
    -Resurrection Remix (RR)
    -ViperOS
    -XenonHD

    All ROMs need to be flashed via TWRP.
    1. Download the '.zip' file for the ROM of choice from link.
    2. Place '.zip' on external SD Card.
    3. Boot to Recovery (TWRP).
    4. Conduct a wipe of the phone. Utilize 'Advanced Wipe' and choose what to wipe. To perform a true clean flash, wipe all but SD Card.
    5. Go to 'File Manager' in TWRP. Proceed to 'External SD' (may need to go up one directory) and delete the Android and LOST directories. (These will be recreated on boot.)
    6. Go to 'Install' and find the '.zip' file from earlier. Select the '.zip' file, and select Install after. (Note that you may want to also place a Gapps and/or Magisk in the list to install as well.)
    7. Once installations have completed (may take a couple minutes), Select to 'Wipe Cache', then restart the phone. Phone should boot to new Custom ROM setup.

    How you are able to contribute:
    Posting Logs:

    Information to come. This will explain how to capture a log of a bug and what to do with it.

    Build your own ROMs:

    1. Have a linux distribution installed to be built on. (command line listings here will follow bash, depending on distribution you choose, might be slightly different.)
    2. Setup install environment by running the following lines in a terminal. (This will set up for building Android Pie. Different if you wish to build for a different version of Android.) This may take hours based on your network connection.
      Code:
      sudo apt-get -y remove openjdk-* icedtea-* icedtea6-*
      sudo apt-get -y install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop openjdk-8-jdk pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev
      mkdir ~/android && cd ~/android
      Make a directory based on the ROM you wish to build and change to that directory. The command below will be advisable for Android Ice Cold Project, but is just a reference.
      Code:
      mkdir aicp && cd aicp
    3. Initialize the repository of your Custom ROM. This is generally found on the Custom ROM's github on their manifest file. The important thing is to use the following arguments in your initialization to limit space taken up, and again, using AICP as an example.
      Code:
      repo init --depth=1 -u https://github.com/AICP/platform_manifest.git -b p9.0
    4. Inject the roomservice for your build. Most can be found on the TripLr-Dev github. Change the branch to the ROM you want. Also to note here, the 'master.xml' file contains all three variants. The following is in reference to AICP master. Open the file you want and select 'RAW'. Copy the URL of that page and replace with the one in the line below.
      Code:
      mkdir -p ~/.repo/local_manifests
      wget -O .repo/local_manifests/roomservice.xml https://raw.githubusercontent.com/triplr-dev/local_manifests/aicp-p9.0/master.xml
    5. Run a sync of the repository. Note that the first time this is ran, it can and most likely will take hours. This line does not change from ROM to ROM.
      Code:
      repo sync -c -j4 --force-sync --no-clone-bundle --no-tags
    6. Now comes the tricky part. Both of these take about the same amount of time to run, though can be quite an excessive amount of time.
      If your ROM is LOS based, please run this with the proper device tree:
      Code:
      brunch trlte[CODE]
      If your ROM is not LOS based, please run this with the proper make command (generally located on the ROMs github, if not use bacon):
      [CODE]. build/envsetup.sh
      lunch aicp_trlte-userdebug
      make bacon
    7. Now as long as all went to plan, the computer should have build the ROM. At the end, there is the ROMs logo in text. Underneath, it will tell you certain things. One of these is the location of the '.zip' file you need to either give to others or utilize to flash on your device. If it does not get to this point, there was something that went wrong.

    There may be additional items to come in the future. Please stay tuned as this is still a work in progress and is still being worked on.

    XDA:DevDB Information
    Everything Galaxy Note 4, Tool/Utility for the Samsung Galaxy Note 4

    Contributors
    Shizzle2889, tripLr

    Version Information
    Status: Alpha

    Created 2019-09-01
    Last Updated 2019-09-01