[Samsung Galaxy S7 Edge Guides, News, & Discussion] sosjadd:
For anyone having hardware issues - Lets start from scratch :)

The custom ROM's and Kernels that are contributed in this thread are actually very stable from my personal testing and 99% of the time the fault is because of something setup incorrectly on the device that your holding in your hand at this very moment. So, lets fix all that! Lets put some work in and start from a solid foundation and square one. This will help ensure that the bugs we find are not related to anything from a previous installation or due to incorrect firmware, giving the developers more time to focus on tweaking these ROM's and Kernels, while spending a little less time troubleshooting our personal devices.​

Just a heads up, this is not the correct order for new installations on virgin phones that have never been rooted before. This is for everyone in the past few pages running into hardware issues after flashing custom ROMS and Kernels. If your doing this for the first time, please refer to the original post on page 1 by davecotefilm. It is very well detailed! This guide is going to be a little repetitive, time consuming and leaning towards the overkill side, but it will guarantee that everything is set correctly before going forward.

Step 1 - Install the latest Samsung Drivers on your workstation.

Head on over to Samsung's main site

Install the SAMSUNG_USB_Driver_for_Mobile_Phones.zip on your workstation.

File size: 15.6MB

Step 2 - Download the latest version of Odin.

Click this link to download Odin.

File size: 1.07MB

(Also attached to this post down below.)

Step 3 - Download and install the latest version of TWRP using Odin.

Yes, were doing this first for a very good reason. We are installing this first so that we can remove any residual files on your phone from previous installation attempts which may cause issues later on down the road. Just flashing the stock firmware files will not always clear out these settings or overwrite them, especially if you've already had a custom ROM installed before.

Download twrp-3.0.2-0-hero2qltechn.img.tar

Click the download icon on the top right hand side.

File size: 23.8MB

Reboot your phone into download mode.

This can be done by restarting your phone and immediately holding the POWER+HOME+VOLUME DOWN buttons down together as it reboots. If done correctly, you should be at either a blue screen prompt asking you if you want to install custom firmware (if so, press volume up to accept) or a blue screen with the words 'Downloading'.

Connect your phone to your workstation and launch Odin.

If the Samsung drivers are installed and your phone is in Download mode you will see <Added> in the Log field when you launch Odin. This is good! We can begin! :D

If you don't see <Added>, make sure to check that the Samsung drivers from Step 1 are installed, USB cable is firmly connected on both ends and that your phone is on a blue screen with the word 'Downloading'.

Click the AP button and locate the

twrp-3.0.2-0-hero2qltechn.img.tar

file that you downloaded earlier. Once located, press Open.

Once

twrp-3.0.2-0-hero2qltechn.img.tar

is loaded in the AP field, press 'Start' to begin flashing your device. This process should be relatively quick and your phone will reboot once completed.

Normally, the phone will boot directly into recovery mode, which is what we want to happen.

If this doesn't occur and it you see it try to load into the OS, hold the POWER+VOLUME DOWN buttons until the phone reboots. When it does, hold POWER+HOME+VOLUME UP together until you see it say 'Set Warranty Bit: recovery' on the top left of your screen.

TWRP will begin to load at this point. Once loaded, swipe the slider to the right. The language should be automatically set to English.

Going to go a bit on the overkill side at this point, so bear with me.

On the main menu, press 'Wipe'.

On the next screen that shows up, you will see two options - Advanced Wipe and Format Data.

Press on the 'Format Data' button first. Follow the on screen instructions and type 'yes' to continue.

Once completed press the back button to return to the screen where you saw the two options- Advanced Wipe and Format Data.

Press 'Advanced Wipe'. Select everything in the list with one exception. Do not select the Micro SDCard option (unless you want to wipe your photos away).

Swipe the bar on the bottom to begin wiping the partitions. Once completed, reboot your phone.

When your phone reboots, it should automatically go into recovery mode as there is nothing on the phone partitions at the moment other than TWRP. This is good. This is exactly what we wanted to happen and confirms that your partitions are completely void of any previous version of ROM or Kernel which you may or may not have installed before.

On the main menu of TWRP, press the 'Reboot' button on the bottom right hand side. Select 'Download'. This will automatically put your phone in Downloading mode.

Step 4 - Download and install the latest stock BL, AP, CP and CSC.

Model SM-G9350

Country Hong Kong

Version Android 6.0.1

Build G9350ZHS2APH2

Sammobile.com link - Updato.com link

File size: ~2.16GB

Once the download completes, extract the files. You will need them for Odin.

If you still have Odin open from step 3, hit the Reset button on the bottom. Make sure the phone is plugged in and is still in Downloading mode. <Added> should appear in the Log.

Press the BL button, load BL_G9350ZHS2APH2_xxxxxxxxxxxxxxxxxxxxxxxxxx.tar.md5

Press the AP button, load AP_G9350ZHS2APH2_xxxxxxxxxxxxxxxxxxxxxxxxxx.tar.md5 (this will take a while)

Press the CP button, load CP_G9350ZHS2APH2_xxxxxxxxxxxxxxxxxxxxxxxxxx.tar.md5

Press the CSC button, load CSC_G9350ZHS2APH2_xxxxxxxxxxxxxxxxxxxxxxxxxx.tar.md5

Ignore UMS

Once all 4 are filled in, do not change any options, just press Start and wait for the firmware and ROM to complete installing on your phone.

This will set it into a factory fresh setting for everything, especially the firmware side where a lot of people seem to be running into most of the issues.

Let the phone complete the installation and boot up as normal. You do not need to complete the initial setup process.

Step 5 - Install the latest TWRP again....

Told you it was going to into overkill mode. ;)

Load Odin again, or press Reset if its still open. Put your phone back into Download mode and make sure the phone is connected to the workstation.

Click the AP button and locate the

twrp-3.0.2-0-hero2qltechn.img.tar

file that you downloaded earlier. Once located, press Open.

Once

twrp-3.0.2-0-hero2qltechn.img.tar

is loaded in the AP field, press 'Start' to begin flashing your device. This process should be relatively quick and your phone will reboot once completed.

Normally, the phone will boot directly into recovery mode, which is what we want to happen.

If this doesn't occur and it you see it try to load into the OS, hold the POWER+VOLUME DOWN buttons until the phone reboots. When it does, hold POWER+HOME+VOLUME UP together until you see it say 'Set Warranty Bit: recovery' on the top left of your screen.

TWRP will begin to load at this point. Once loaded, swipe the slider to the right. The language should be automatically set to English.

On the main menu, press 'Wipe'.

On the next screen that shows up, you will see two options - Advanced Wipe and Format Data.

Press on the 'Format Data' button first. Follow the on screen instructions and type 'yes' to continue.

Once completed press the back button to return to the screen where you saw the two options- Advanced Wipe and Format Data.

Press 'Advanced Wipe'. Select everything in the list with one exception. Do not select the Micro SDCard option (unless you want to wipe your photos away).

Swipe the bar on the bottom to begin wiping the partitions. Once completed, reboot your phone.

When your phone reboots, it should automatically go into recovery mode as there is nothing on the phone partitions at the moment other than TWRP. This is good. This is exactly what we wanted to happen and confirms that your partitions are completely void of any previous version of ROM or Kernel yet again.

Now your ready for your new custom ROM/Kernel.

On to the home stretch!

*Install davecotefilm's Aurora V9 + English ROM.

Reference this post for the latest ROM and Kernel created by davecotefilm. Follow steps 7 through 9 in his detailed post.

OR

​

*Install travis82's latest HK based ROM.

Reference this post for the latest ROM and Kernel created by travis82. You do not need to install both. The ROM comes with the latest Kernel already built in. The Kernel can be used if you want to install it on a stock ROM or any other variant. Either one can be installed using TWRP.

Hopefully this helps everyone on this thread running into hardware/firmware/software based issues when trying to install a custom ROM or Kernel for the SM-G9350 variant of the Samsung Galaxy S7 Edge.

Good luck!

Sosjadd
​