[Galaxy S 4 i9506 Android Development] DeHAWK:
Introduction

Welcome to this thread, mainly created because someone asked me to make it.

First a little bit of info.

I purchased this Samsung S4+ (GT-I9506) about the middle of November, have never had the regular S4 but the Galaxy S2 and S3-LTE model.

I always try to go for the international version, as this is the case with this Galaxy S4+.

When Samsung releases a new model, I wait...mainly because they normally releases a better version later same year as this was the case with the Galaxy S3, later that year the released the S3-LTE with 2Gb RAM and the Exynos quad core supporting 4G.

And this year they did it again..first the regular S4-LTE, running 1.9 GHz on the Snapdragon S600 processor and now the S4+ with the S800, 2.3GHz CPU.

I already from the beginning was aware that it would be difficult to get this model rooted. I read here on XDA about people rooting with external programs. I don't like that type of rooting.:(

Normally I try to use Chainfire's rooting method, but in this case it was not possible...he simply did not support this model.

As you all know, there's a lot of useless stuff on our device. Some people might like it, but I don't!

And that's why I decided to do I myself and so I did.

After 12 Hours HARD work, a lot of flashing and several soft-bricks later this baby was ROOTED. All counters in download mode showing normal or official, the same was the case under Settings / More / About Device/Status: Official and finally SELinux-status: Permissive

I was very satisfied.

Changes 2015-11-28

No more support for XXUDOC5 - obsolete.

No more support for XXUDOD3 - obsolete.

No more support for XXUDOF1 - obsolete.

Changes 2015-05-01

Odin for Windows Section has moved to post #7

-----------------------------------------------------------------------------------------------------------------------------------------------------------

Changes 2015-05-01

4.2.2 / 4.3 Section has moved to post #3

-----------------------------------------------------------------------------------------------------------------------------------------------------------

Changes 2015-05-01

4.4.2 Section has moved to post #2

-----------------------------------------------------------------------------------------------------------------------------------------------------------

5.0.x Section.

The 5.0.x section is split up into different sections.

1st Section contains stock flash able images for Odin; original firmware, kernel, recoveries etc.

2nd Section about rooting the 5.0.x firmware using my AutoRoot or by using my insecure kernel.

3rd Section for people who wants a Slim / Slim De-Odexed system.

4th Section contains 5.0.x CSC/Hidden images for different carriers. Flashing CSC/Hidden from my 4.4.2 section will also work.

5th Section contains 5.0.1 customized Samsung apps.

1st - Stock firmware files.

Here I'll provide Lollipop 5.0.1 XXUDOK2, XXUDOK1, XXUDOJ2 & XXUDOF2 STOCK Kernels, STOCK Recoveries and the FULL original Samsung Lollipop XXUDOK2, XXUDOK1, XXUDOJ2 & XXUDOF2 firmware, all is Open Nordic firmware.

These are always nice have in case you should need it.

Kernels and recoveries comes from the original 5.0.1 firmware, I've been asked to provide these files, so here they are:

5.0.1 XXUDOK1 Stock Kernel link for TWRP:

GT-I9506 5.0.1 - Open Europe Stock Kernel from XXUDOK1. <--------- Download link. - Updated 2015-11-20.

5.0.1 XXUDOJ2 Stock Kernel link for TWRP:

GT-I9506 5.0.1 - Open Europe Stock Kernel from XXUDOJ2. <--------- Download link. - Updated 2015-11-10.

5.0.1 XXUDOJ2 Stock Recovery link for Odin:

GT-I9506 5.0.1 - Open Europe Stock Recovery from XXUDOJ2. <--------- Download link. - will follow later.

5.0.1 XXUDOF2 Stock Kernel link for Odin:

GT-I9506 5.0.1 - Open Europe Stock Kernel from XXUDOF2. <--------- Download link. - Updated 2015-07-18.

5.0.1 XXUDOF2 Stock Recovery link for Odin:

GT-I9506 5.0.1 - Open Europe Stock Recovery from XXUDOF2. <--------- Download link. - Updated 2015-07-18.

5.0.1 Samsung FULL original XXUDOK1-NEE, XXUDOJ2-NEE & XXUDOF2-NEE (all Open Nordic):

Here you have the stock firmware, directly from SamMobile Firmware, it's untouched.

Some I might have been repacked to remove the hiddet.img.ext4 partition. - You don't need the hidden in the Open Nordic.

Only flash this if you need to go back to FULL ORIGINAL 5.0.1 and don't have your own full firmware available.

Download speed is excellent! I made a test download; 1.38 GB in 4 minutes.

You should make sure phone is charged before making the firmware flashing.

And as usual; Odin and Samsung KIES don't like each other. KIES can actually prevent a successful flash. I recommend to either remove KIES from PC or at least totally disabling it.

Flash with Odin v3.10.6 - all Odin versions can be found in post #7.

Important information regarding flashing Lollipop:

I has come to my attention, that several people - even myself, have been facing some trouble when upgrading to Lollipop v5.0.1.

This only seems to happen when upgrading from an earlier version of Android or coming from any version of CM.

In some cases the bootloader, modem, the file system and perhaps other things doesn't get flashed or updated the proper way.

Reason is ATM unknown. People then faces problems with WiFi not working properly, modem showing wrong version, wrong bootloader version and more. Actually the phone, in most cases, seems to work fine...but it doesn't. - Trust me.

The solution: Is actually very simple and might seem a little odd, but it works!

Turn OFF the phone, pull out the battery and wait a few minutes before reinserting it.

Now go directly to download mode (Odin mode) and phone is ready for flashing.

When using Odin v3.10.6, make sure only Auto Reboot and F. Reset Time is marked - NOTHING else!

Press AP and select the firmware file you need to flash, must be the Un-Zipped file - the .md5 file.

Phone should already be in download mode, if you made the above battery pull step.

Otherwise; Get phone to download mode...and so on...and so...on, just as usual. Press start when Odin has recognized the phone, not before.

Now wait, it takes time to flash an original firmware.

Download link latest GT-II9506 XXUDOK2 - Lollipop v5.0.1. Repacked!

This is the original NZC firmware, repacked as NEE - Open Nordic, without hidden image!

I recommend flashing this - don't need hidden apps.

GT-I9506 5.0.1 - Repacked to Open Nordic full firmware NEE-XXUDOK2. <--------- Download link. - Updated 2015-12-13.

Download link latest Open Nordic NEE-I9506 XXUDOK1 - Lollipop v5.0.1.

GT-I9506 5.0.1 - Open Nordic full firmware NEE-XXUDOK1. <--------- Download link. - Updated 2015-11-20.

Download link latest Repacked Open Nordic NEE-I9506 XXUDOK1 - Lollipop v5.0.1.

This is the repacked version, without hidden image!

I recommend flashing this - don't need hidden apps.

GT-I9506 5.0.1 - Open Nordic full firmware NEE-XXUDOK1. <--------- Download link. - Updated 2015-11-20.

Download link latest Open Nordic NEE-I9506 XXUDOJ2 - Lollipop v5.0.1.

GT-I9506 5.0.1 - Open Nordic full firmware NEE-XXUDOJ2. <--------- Download link. - Updated 2015-11-07.

Download link latest Repacked Open Nordic NEE-I9506 XXUDOJ2 - Lollipop v5.0.1.

This is the repacked version, without hidden image!

I recommend flashing this - don't need hidden apps.

GT-I9506 5.0.1 - Open Nordic full firmware NEE-XXUDOJ2. <--------- Download link. - Updated 2015-11-07.

Download link latest Open Nordic NEE-I9506 XXUDOF2 - Lollipop v5.0.1.

GT-I9506 5.0.1 - Open Nordic full firmware NEE-XXUDOF2. <--------- Download link. - Updated 2015-07-18.

2nd - 5.0.1 Rooting instructions.

AutoRoot for GT-I9506 Running 5.0.1 Original.

WARNING: The below operations WILL trigger the KNOW WARRANTY bit!!

As for now, there is no easy way to root the Galaxy S4+ on 5.0.1 - Lollipoop. On the previous versions, I was able to make a Pre-Rooted system image, but not any more.

I therefore decided to look at famous Chainfire's way of doing it. I made some research and decided to make an AutoRoot based on Chainfire's CF-AutoRoot for the Galaxy S5: SM-G900F - European version.

So I converted the CF-AutoRoot Odin flash able image, to work on our S4+, all binary still belongs to Chainfire. I therefore take no credits for this work, all credits goes to Chainfire, since the idea and magic binary is still his work.

NOTE: This AutoRoot is ONLY for the GT-I9506 - European version, running stock 5.0.1 release version XXUDOC5.

Flashing instructions:

Download Zip file below and unpack using 7-Zip. Go to the directory where you placed unpacked the Zip file.

This archive contains Odin v3.07 set up for you. Start this Odin and click PDA, now select the SGS4+_AutoRoot.tar.md5 file.

After a few seconds Odin has verified the md5 sum and is ready to flash.

Put phone in download mode...etc etc...same as we always do.

Just as a precaution: Check that only Auto Reboot and F-Reset Time is marked.

Now press Start and the magic will happen.

Phone will now flash and then reboot into a special Chainfire recovery. WAIT for the magic to happen.

After this, phone will reboot as normal and you will end up at your normal system...now rooted.

You can now disconnect the phone from your computer.

Now find and start SuperSU, it will first ask you if you want to disable KNOX. Answer yes and wait.

If SuperSU has not responded in about a minute, press and hold HOME button, Clear memory; press left hand icon and then select RAM, select Clear memory and confirm.

Return to SuperSU and start it up again.

I have done this several times now and it works every time.

Now get yourself an app that can remove all the crap

Don't hesitate to contact me here in my thread, if you encounter any problems or have questions.

Download link for GT-I9506 AutoRoot.

ATM no AutoRoot available.

Insecure kernels for GT-I9506 running 5.0.1.

If you decide to flash one of my insecure kernels; no need to flash any kind of CF-AutoRoot or my own AutoRoot version - if available.

Flashing an insecure kernel is quite easy, should be done by using your custom recovery. I don't think this needs more explanation since all of you know how to flash a .zip file in your custom recovery. I strongly recommend using TWRP v2.8.7.0..

All my insecure kernels will set SE-Android to Permissive, root the phone, install Busybox, remove all KNOX - if present and a few other things.

Applies to both OC/NON-OC versions:

News 2015-12-14:

RAM-Disk updated for XXUDOK2

SU binaries updated to v2.52

Minor changes.

Latest news 2015-11-28:

OP cleaned up.

All NON XXUxxxx-v2 links removed.

All XXUxxxx-v2 links renamed to normal XXUxxxx.

Updated Bluetooth drivers is now standard in all linked kernels.

News 2015-11-20:

RAM-Disk updated for XXUDOK1

Busybox updated.

Zip archive signed.

News 2015-11-08:

RAM-Disk updated for XXUDOJ2

Minor script changes.

Special thanks to xda-member same-xx - for all his testing and benchmarking.

Older news:

Kernels build using the latest Linaro 4.9.3 cross compiler with optimized build settings.

All sensors, cameras and everything else is working.

Is Pre-Rooted - No need for SuperSU.

Status for SE for Android: Permissive.

Busybox is pre-installed.

Have full init.d support.

Kernel have Screen mirroring and SideSync 3.0 working.

Added bunch of extra CPU governors and schedulers.

Added a bunch of extra TCP Congestions.

Better battery life and performance than stock kernel.

Call recording enabled.

Copy / move files to external SD-Card allowed.

and perhaps more, can't remember all.

For OC versions; maximum CPU frequency is 2.811 GHz

and maximum GPU frequency is 462 MHz

I do recommend using Kernel Aduitor for accessing all kernel features.

Download link NON-OC XXUDOK2 v4.1.0 insecure kernel:

Insecure NON-OC kernel XXUDOK2 v4.1.0 for GT-I9506. <--------- Download link. - Update 2015-12-15

Download link NON-OC XXUDOK1 v4.0.1 insecure kernel:

Insecure NON-OC kernel XXUDOK1 v4.0.1 for GT-I9506. <--------- Download link. - Update 2015-12-13

Download link NON-OC XXUDOJ2 v3.2.0 insecure kernel:

Insecure NON-OC kernel XXUDOJ2 v3.2.0 for GT-I9506. <--------- Download link. - Update 2015-11-07

Download link NON-OC XXUDOF2 v3.0.7 insecure kernel:

Insecure NON-OC kernel XXUDOF2 v3.0.7 for GT-I9506. <--------- Download link. - Update 2015-10-13

Insecure Over-Clocked kernel for XXUDOK2, XXUDOK1, XXUDOJ2 & XXUDOF2.

CPU maximum frequency is 2.688 GHz in XXUDOK1, XXUDOJ2 & XXUDOF2.

GPU maximum frequency is 462 Mhz.

Don't believe to much in Antutu scores.

NOTE: Running CPU over-clocked will use more battery!

I can't be held responsible if your phone melts down as an atomic reactor, explodes, decides to travel to Mars, leaving you forever or whatever happens.

But when said...CPU should shout down if getting to hot or step down the frequency if it doesn't like the chosen one.

Download link OC XXUDOK2 v4.1.0 insecure kernel:

Insecure OC kernel XXUDOK2 v4.1.0 for GT-I9506. <--------- Download link. - Update 2015-12-14

Download link OC XXUDOK1 v4.0.1 insecure kernel:

Insecure OC kernel XXUDOK1 v4.0.1 for GT-I9506. <--------- Download link. - Update 2015-12-13

Download link OC XXUDOJ2 v3.2.0 insecure kernel:

Insecure OC kernel XXUDOJ2 v3.2.0 for GT-I9506. <--------- Download link. - Update 2015-11-07

Download link OC XXUDOF2 v3.0.7 insecure kernel:

Insecure OC kernel XXUDOF2 v3.0.7 for GT-I9506. <--------- Download link. - Update 2015-10-13

3rd - Want Full or Slim De-Odexed system?

This step is totally optional and not at all required, it's your own decision. So if you don't know what I'm talking about, you probably don't' need a Full or Slim De-Odexed system.

Below you'll find latest De-Odexed systems, Full or Slim update files, I've made for XXUDOK2, XXUDOK1, XXUDOJ2 & XXUDOF2.

Attention: You must be running one of my latest insecure kernels for Full / Slim De-Odexed system to work.

Kernel version and De-Odexed system MUST match each other - a system running XXUDOxx must use kernel made for same release.

EDIT: Someone has tested this without insecure kernels and found it working, but it's NOT recommended!

Should be flashed using a Custom Recovery eg. CWM or TWRP. I strongly recommend TWRP v2.8.7.0.

Attention: Flashing a Custom Recovery will set the KNOX warranty bit.

Flashing Instructions.

Download to PC or whatever and then put the file on your phones external/internal SD-card.

Boot into your Custom Recovery and select Flash a Zip file, from wherever you put it.

Zip file will be automatically unpacked and then flashed.

ATTENTION: Do NOT reboot until told to.

Now wait for phone to install the new system files.

When phone is ready, you should end up at your start screen.

Congratulation; you are now running a Slim / Slim De-Odexed system.

Regarding factory reset:

For XXUDOK2 - Full or Slim De-Odexed update files - NO need to wipe /data or make factory reset after flashing.

For XXUDOK1 - Full or Slim De-Odexed update files - NO need to wipe /data or make factory reset after flashing.

For XXUDOJ2 - Full or Slim De-Odexed update files - NO need to wipe /data or make factory reset after flashing.

For XXUDOF2 - Full or Slim De-Odexed update files - NO need to wipe /data or make factory reset after flashing.

Download link KNOX free FULL De-Odexed XXUDOK2 system update v1.3.0.

Known issues: None.

GT-I9506 - update file XXUDOK2 FULL De-Odexed system v130.zip. <--------- Download link. - Updated 2015-12-13.

Download link KNOX free SLIM De-Odexed XXUDOK2 system update v1.3.0.

Known issues: None.

GT-I9506 - update file XXUDOK2 SLIM De-Odexed system v130.zip. <--------- Download link - Updated 2015-12-13.

Download link KNOX free FULL De-Odexed XXUDOK1 system update v1.2.0.

Known issues: None.

GT-I9506 - update file XXUDOK1 FULL De-Odexed system v120.zip. <--------- Download link. - Updated 2015-11-20.

Download link KNOX free SLIM De-Odexed XXUDOK1 system update v1.2.0.

Known issues: None.

GT-I9506 - update file XXUDOK1 SLIM De-Odexed system v120.zip. <--------- Download link - Updated 2015-11-20.

Download link KNOX free FULL De-Odexed XXUDOJ2 system update v1.1.5.

Known issues: None.

GT-I9506 - update file XXUDOJ2 FULL De-Odexed system v115.zip. <--------- Download link. - Updated 2015-11-07.

Download link KNOX free SLIM De-Odexed XXUDOJ2 system update v1.1.5.

Known issues: None.

GT-I9506 - update file XXUDOJ2 SLIM De-Odexed system v115.zip. <--------- Download link - Updated 2015-11-07.

Download link KNOX free FULL De-Odexed XXUDOF2 system update v1.0.7.

Known issues: None.

GT-I9506 - update file XXUDOF2 FULL De-Odexed system v107.zip. <--------- Download link. - Updated 2015-10-13.

Download link KNOX free SLIM De-Odexed XXUDOF2 system update v1.0.8.

Known issues: None.

GT-I9506 - update file XXUDOF2 SLIM De-Odexed system v108.zip. <--------- Download link - Updated 2015-10-13.

Information about Slim System versions.

Please note; many removed apps can be found on your Google Play account.

Therefore I'll only provide apps not found on Google Play.

I'll only make and upload these files if asked to.

Only make De-Odexed system files.

Instructions and link for removed apps in the XXUDOK2, XXUDOK1 and XXUDOF2 Slim De-Odexed.

The below links will take you to folders containing removed apps for the selected version.

Find the file(s) you want from this folder, download and put on phones internal SD-Card.

Boot into your custom recovery and flash the file(s) you just downloaded.

No further action needed, it's all done automatically.

Now reboot phone and the app(s) will be installed automatically.

Link to user requested removed apps XXUDOK2:

GT-I9506 5.0.1 - XXUDOK2 Removed De-Odexed apps link. <--------- Download link. - Updated 2016-01-13.

Link to user requested removed apps:

GT-I9506 5.0.1 - XXUDOK1 Removed De-Odexed apps link. <--------- Download link. - Updated 2015-11-22.

Link to user requested removed apps:

GT-I9506 5.0.1 - XXUDOF2 Removed De-Odexed apps link. <--------- Download link. - Updated 2015-07-18.

4th - Customized Apps Section

In here can you can find those 5.0.1 apps I so far have been able to customize.

NOTE: Only for use on De-Odexed system.

Important: These apk's WILL replace original once. If you want to keep the originals; backup them before flashing.

Apps has been tested on my own phone running XXUDOF2 De-Odexed.

They might also work on XXUDOD3 and XXUDOC5 but has not been tested on any of these.

To be flashed using custom recovery, I recommend using TWRP v2.8.5.0.

Download to internal or external SD-Card and just flash.

No further action needed. Only if a flash requires a special wipe I'll tell.

Customized SecWallpaperPicker v1.5.1

; I made this over the Galaxy S6 Edge version. You have 31 original backgrounds and lock-screens to chose from. You've all the screens from; the S6 Edge, the Note 5, the S5, our own GT-I9506 and finally 2 Iron Man screen - all showing up in the above mentioned order.

You also also able to use custom wallpapers/lock-screens, e.g photos from the camera.

A reboot might be required if the selected lock-screen doesn't show up.

Only tested on the XXUDOF2 firnware.

Known issues: None.

GT-I9506 5.0.1 - XXUDOF2 SecWallpaperPicker v151.zip. <--------- Download link. - Updated 2015-10-29.

Customized SecWallpaperPicker v1.0

; added Galaxy S5 backgrounds and lock screens. You now have both the original GT-I9506 backgrounds / lock screens and the Galaxy S5 backgrounds / lock screens to choose from.

Download link for customized SecWallpaperPicker v1.0:

Known issues: None.

GT-I9506 5.0.1 - XXUDOF1 SecWallpaperPicker_1.0.zip. <--------- Download link. - Updated 2015-07-05

Customized SecWallpaperPicker v1.1

; added Galaxy S6 backgrounds and lock screens. You now have both the original GT-I9506 backgrounds / lock screens the Galaxy S5 and S6 backgrounds / lock screens to choose from.

Download link for customized SecWallpaperPicker v1.1:

Known issues: None.

GT-I9506 5.0.1 - XXUDOFx SecWallpaperPicker_1.1.zip. <--------- Download link. - Updated 2015-07-05

Customized SecWallpaperPicker v1.2

; removed the S5 backgrounds/lock screens, added Galaxy Note 5 backgrounds/lock screens. Removed some stock backgrounds/lock screens, replaced balloon boy start picture. Added IronMan backgrounds/lockscreens.

You now have a mix of original GT-I9506 backgrounds/lock screens, the Galaxy S6 Edge and Note 5 backgrounds/lock screens to choose from.

Download link for customized SecWallpaperPicker v1.2:

Known issues: None.

GT-I9506 5.0.1 - XXUDOF1 SecWallpaperPicker_1.2.zip. <--------- Download link. - Updated 2015-08-20

Customized SystemUI.apk;

removed the S-Finder and Quick Connect from the pull-down menu.

Thanks to XDA member kotaxor for providing this little hack.

Update 2015-10-15: XDA member kotaxor has now provided a new way of fixing this, without flashing the above package: read his post #3736 for more information.

Download link for customized SystemUI.apk:

Known issues: None.

GT-I9506 5.0.1 - XXUDOF1 SystemUI.zip. <--------- Download link. - Updated 2015-07-05

>

>

>

XDA:DevDB Information

[GT-I9506] Pre-Rooted 5.0.1 Kernel / Slim De-Odexed ROM., Kernel for the Samsung Galaxy S 4

Contributors

DeHAWK

Kernel Special Features: Root, Overclock, init.d support , Busybox and much more.

Version Information

Status: Stable

Current Stable Version: LL 5.0.1

Stable Release Date: 2015-05-01

Current Beta Version: None ATM.

Created 2014-01-04

Last Updated 2016-01-13