yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] DeHAWK:
New updated OverClocked kernel for XXUCNJ1 is now on-line.

See my previous posts for changes.

Download link:

https://mega.co.nz/#!hVsjkS5Z!JcF6TkDty1J1MdrNclB5O08ciMAm1j09VaYCIqJG8Xo

Know issues: NONE - I think every everything is now fully working.

Thanks for reporting back guys! I really appreciate it!

Without your testing this would not have been possible!

Overclocked approximately 200MHz

Now flash and enjoy! - You already know how to do it, so no further info. :)

Will now be heading for 2.7Ghz.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

I'll be back to you later, need to make sure my latest OC Kernel for S4+ is fully working.

But; what is the latest firmware for the regular S4? - Is it Android 5.0?

If not; you're are still on 4.4.x

Bootloader is a devil, keeps an eye on everything you flash...

I don't get it...you tripped KNOX using an original bootloader?

Should not be possible.

We know that tripping KNOX is caused be custom kernel, custom recovery, custom rom or trying to flash an older bootloader - at least on the S4+. All this happened after upgrading to 4.3.

Reason for stock on bootlogo; original kernel is not compatible with the custom system you flash.

Custom kernel in system is not compatible with the new bootloader, normally this is caused by a faulty device tree (dtb used by kernel to identify the device it's running on).

Hope this little info can help you, otherwise you're welcome to contact me again.

Don't mind the KNOX 0x1 status, if using phone as many of us - for normal use and not for business.

Regards and welcome to my thread.
[Galaxy S 4 i9506 Android Development] truthseekers666:
Yes I use Samsung cable and I have used another with same results. I would prefer to flash whole firmware but its a problem to find them. Most links from this thread (early parts I have read) and many outside links all point to rapidgator which is SLOOOOOW takes 1 day to download unless you wanna pay those chumps. Most other links seem broken. I would like some full firmwares for 4.2 or 4.3 if anyone has some... I do find that 90% of all sites out there with links end up art the same old worn and dead useless rapidgator files. Its a shame more people have uploaded to divserse sites. Any help appreciated. DeHawk bless seems to be the number 1 for all roads point him and his files... like as if nobody has developed any other roms for i9506 ;-( ... There seesm like nowhere else, nobody else taking part... but maybe im looking in the wrong places. People keep saying Cyanogen mod - where... not for 9605 so far as far as I can see...

---------- Post added at 09:45 PM ---------- Previous post was at 09:39 PM ----------

Cyanogen is also 4.4.2 so is based on Kitkat SD CARD destroyer nonsense... which I really want to stay 1000 miles away from. I want to get back to a fluid apps working on SDCARD universe. 4.3 seems like that universe.:confused:
[Galaxy S 4 i9506 Android Development] kotaxor:
[MENTION=4188575]DeHAWK[/MENTION], just flash your OC kernel.

Incoming and outgoing call working fine. Screen mirroring working fine. So far so good.
[Galaxy S 4 i9506 Android Development] usmonkey:
DeHawk Rom Review

Dear all,

Being a newbie to this flashing game. I have just managed to install DeHawk's 4.4.2 XXUCNJ1 firmware.

I have to agree that the DeHawk's installation guide on the OP is a bit lengthy and confusing, but that is unavoidable considering the nature of having to bypass Samsung's KNOX. With the help of [MENTION=4411634]kotaxor[/MENTION], it went on smoothly. I am coming from DeHawk's 4.3 XXUBML6 "Slim" Firmware that was installed back in March 2014.

DeHawk's 4.3 XXUBML6 "Slim" Firmware

Pros:

1. Fast! Lag free multitasking, Antutu 5.5 scoring over 44000

2. Stable. Never had to reboot for months

3. Battery life great!

Cons:

1. Some Touchwiz features disabled eg: Multi Window.

DeHawk's 4.4.2 XXUCNJ1 Firmware & Insecure Kernel

Pros:

1. Just as Fast! Antutu 5.5 scoring over 43000

2. Stable

3. Comes with all the Touchwiz features

Cons:

1. Comes with all the samsung bloat and have to remove manually

2. Somehow don't feel as quick as the 4.3

Many have complained about how little custom roms are available for the i9506, how fugly the touchwiz ui is. All i can say when I had to quickly pull out my phone and launch the camera app to take a picture of my kids, DeHawk's got my back.

Hope this helps.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

All links in my OP goes to Google Drive and MAGA - both very fast. I hate gapidgator, just like you.

All the latest Open Nordic / Europe 4.4.2, 4.3 and 4.2.2 full original firmwares can be found on my OP.

All original firmware and insecure kernels placed on MEGA, everything else placed on Google Drive.

If you find dead links in my OP - please let me know.

There can be dead links in my thread, mostly because those was test releases - but normally I remove them.

Regards.
[Galaxy S 4 i9506 Android Development] Tim-2.0:
[MENTION=4188575]DeHAWK[/MENTION], thank you very much for getting back to me so promptly.. Below you will find my answers following your questions.

What is the latest firmware for the regular S4? - Is it Android 5.0?

* No, 4.4.2 - 5.0 has just been ported across.

If not; you're are still on 4.4.x

* I can see the logic in this, however I'm under the impression that it's technically a 5.0 rom, and assumed that perhaps the system / bootloader could still be identifying it as this.

I don't get it...you tripped KNOX using an original bootloader? Should not be possible.

* Yes, while I was running a custom rom and custom kernel I (STUPIDLY) flashed the latest / upgraded official bootloader.

Reason for stock on bootlogo; original kernel is not compatible with the custom system you flash.

Custom kernel in system is not compatible with the new bootloader, normally this is caused by a faulty device tree (dtb used by kernel to identify the device it's running on).

* This might potentially be the problem, and it is unfortunately beyond my understanding.. I have tried multiple kernels that are bundled with the roms, along with sourcing my own still without any luck. I have tried everything I am aware of in the hope of finding a solution..

- Between flashes I always wipe everything

- I have used a combination of CWM and PhilZ touch recoveries

- I have re-flashed .pit files

- My 4.4.4 nandroid backup also hangs at boot

- I also tried that CM installer windows app (multiple times) which automatically flashes CWM recovery / CM firmware and it just does exactly the same thing - Hangs at boot!

- I have dirty flashed 4.4.X roms over the same (working) 4.3 version

- I have even advance restored functioning (4.3) boot.img's over the equivalent 4.4.X version..

I am confident that I am correctly flashing / wiping everything, I'm being extremely thorough.. Nothing seems to be working though! As you can see I'm quite determined! haha. Is there possibly anything else that you can suggest I try?

Many thanks!
[Galaxy S 4 i9506 Android Development] kayoma:
If I'm on CM11, what should I flash to get deodexed and rooted 4.4.2?

Should I flash 4.3 at first and then update it to 4.4.2?
[Galaxy S 4 i9506 Android Development] usmonkey:
[MENTION=2898248]kayoma[/MENTION],

You need to :

1. Flash 4.4.2 Full Samsung Original Firmware using Odin.

2. Flash Auto-root using Odin as well.

After that you can choose if you like to install the de-odexed as well as the custom kernel. ( These are optional and can be installed using TWRP or CWM similiar to flashing your CM11 ROM ) .
[Galaxy S 4 i9506 Android Development] eileddie:
When I want to uninstall the bloatware I'm not sure what to remove. Is it possible to make a slim version like the 4.2.2 and 4.3 or is it not worth the time?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

I can make you guys a slim XXUCNJ1 De-Odexed version and put the deleted apps on my Google Drive, just as I did on my 4.3 slim version.

I just needed to make sure you guys really wanted it and now it seems so.

So there will later be 2 XXUCNJ1 De-Odexed versions - 1 normal version and 1 slim version.

Will start on work right away.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP Update.

Insecure OverClocked 4.4.2 - XXUCNJ1 Open Europe kernel now available from OP 4.4.2 section / subsection 2 - Rooting instructions.

Stable enough to be made fully public.

All reports go in here in the thread,

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Information about XXUCNJ1 Slim De-Odexed version.

In the upcoming XXUCNJ1 slim version I have removed 700MB.

Be aware; this is what I've decided to remove on my phone.

You guys might have other needs and therefore all removed apps will be available from my Google Drive.

Included in slim version is my modified SecSettings, always showing Original and a few other needed files.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP 4.4.2 Section Updated.

4th - You want De-Odexed and KNOX free?

Added: Information about XXUCNJ1 Slim version.

Added: Download link for De-Odexed XXUCNJ1 SLIM version.

Added: Instructions and link for removed stuff in XXUCNJ1 SLIM version.

All questions goes here in the thread.

Regards.
[Galaxy S 4 i9506 Android Development] tvniklas:
install your new slimrom

Hello

Is it possible to change to your new slim rom when on Lollipop 5.0.2?

Ive tried yesterday with your advice above, but i only ended up in bootloop after the stock firmware so i returned to Lollipop without problems.

[IMG="lollipop502"][/IMG]
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Sorry, not possible. You're running an Android v5 system and mine is for 4.4.2 - XXUCNJ1.

Regards
[Galaxy S 4 i9506 Android Development] tvniklas:
Thanks for the answer, so im stuck?

No way to revert because of bootloader? [MENTION=4188575]DeHAWK[/MENTION]
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

I'm pretty sure your bootloader is still a 4.4.2 version, because 5.0 hasn't been officially released for our phone and I see you're using a 4.4.2 modem version

You could try flashing an original XXUCNJ1- would surprise me if that fails.

Then you can use all the 4.4.2 - XXUCNJ1 stuff from me.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

I presume your phone is purchased in Denmark - right?

If Yes - I have a fully working PIT file...if needed.

Regards.
[Galaxy S 4 i9506 Android Development] tvniklas:
Really thankful for your help mate.

I think the phone is bought in Sweden (company phone) since i live and work here.

I am at work right now, but i will try your way tonight at home, hopefully it works ?

I will get back to you as soon as i tried

Have a great Sunday afternoon
[Galaxy S 4 i9506 Android Development] tvniklas:
Youre my hero!
[Galaxy S 4 i9506 Android Development] tvniklas:
My wife have a nice photo editing stock program who you access directly from the Gallery ,( she has S5) i think it´s included on the full S4 bloat version.

Do you know what the apk is called? I thought maybe you have it here?

(Link to removed apps: XXUCNJ1 SLIM Removed apps link. <--------- Link. - Updated 2015-01-10.)
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey guys.

I need feedback regarding the OC kernel.

I don't need to know what else you want - as higher frequency, more governors and schedulers. All these will come.

I need to know about problems, so I can fix them.

My own latest build scores about 47000 in latest Antutu, done on SLIM system with same frequency as you have.

What scores can you obtain?

Stay tuned.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro.

Did you use the SLIM system or full system?

Regards.
[Galaxy S 4 i9506 Android Development] tvniklas:
Slim of course :)
[Galaxy S 4 i9506 Android Development] DeHAWK:
Ok bro, just give me some time to find out. I do have an idea.

Btw. Can you beat her in latest Antutu with OC kernel?

Some screen shots would be great.

Regards.
[Galaxy S 4 i9506 Android Development] tvniklas:
I´ve never tried a benchmark before, so is it the right program i am using? AnTuTu Benchmark 5.6?

Im using slim version with your OC kernel and i got 43640

[IMG="1"][/IMG]

[IMG="2"][/IMG]
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Right program.

Seems very low - I now have nearly 47000.

Use SetCPU to speed up to highest frequency.

Use On Demand and cfq scheduling.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Just ran this.
[Galaxy S 4 i9506 Android Development] kotaxor:
Hey bro, your OC kernel is working great.

But only achieve 43xxx on antutu base on 3 benchmark.

Using SetCPU, I had set the default interactive governor to ondemand.

Thou I'm not using your SLIM build, I had remove all bloatware to same as yours.
[Galaxy S 4 i9506 Android Development] dsignlife:
I'm also getting around 43700

[IMG="9506 dehawk oc"]https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-xpa1/v/t34.0-12/10904815_10152831572822911_532886110_n.jpg?oh=5b903544d1a56672307ed16c1a5b2544&oe=54B696B7&__gda__=1421254054_5b94a0094ab1d3f1efff5fa954409fd2[/IMG]
[Galaxy S 4 i9506 Android Development] DeHAWK:
Guys,

SetCPU should look like below.

To archive best and most realistic score:

Reboot phone, now wait a 1 minute and start SetCPU - make sure it looks like my screen shot - it takes a while after boot before it has been set - depending on how much you have installed.

Now close SetCPU.

We also need to close all running apps and clear the memory:

Press and hold HOME then clear the list by tapping most right button.

Press and hold HOME once more, list should be empty - now press most left button.

In here, press the Memory button in top of screen and select Clear Memory.

Now you can run the Antutu test.

Let me know if this helps.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
A CPU Spy screen shot.

You should also know that I'm running a very minimalistic system.

Because of testing and flashing a lot, I have only installed a few apps.

Currently installed on my SLIM version; SetCPU, CPU Spy Plus, Root Checker, ROM Toolbox Pro, Titanium Backup, Antutu and of course the XDA Premium app.

Regards.

EDIT

Well, benchmarking is really not that important. What IS important, is that you can feel the difference compared to the non OC kernel version.
[Galaxy S 4 i9506 Android Development] moonboom:
Hello Dehawk,

I´m coming from the original Nordic 4.4.2 version and followed your instruction on rooting and installing your slim firmware incl. kernel.

Everything went smooth incl. installation of the TWRP recovery. After that I flashed with TWRP first your "update_XXGCNJ1_Slim.zip" and "GT-I9506XXUCNJ1_OC_DeHAWK_Kernel.CWM-TWRP.zip". The next reboot of the S4 got stopped with yellow message: "Set Warranty Bit: kernel"

Currently I have no glue what went wrong and how to recover. If someone would have a hint to correct this problem I would be very glad! :)

Update 12:08: Flashed with Odin the Original Nordic NEE-I9506XXUCNJ1 incl. bootloder update again and at least the error message and boot stop went away. :)
[Galaxy S 4 i9506 Android Development] dsignlife:
It is supposed to be like thtat, you're not using the offical kernel from samsung.

---------- Post added at 12:38 PM ---------- Previous post was at 12:08 PM ----------

First of all, thank you for your hardwork, dehawk.

I use the slim version and remove gmail and drive.

I changed settings from 'interactive govonor' to 'on demand' and 'cfq' to 'row' and set on boot ticked

I made sure to clear memory, hibernate or close all the all application on a freshly rebooted system.

I then ran Antutu to test and actually got about 1000 boost in benchmark 44500 ish on the first time and back to 43000 on the second time.

The phone definitely feels faster and smoother. Although in my case, I'm having battery drain when not using. Call standby takes up a lot of battery. I usually go 2-3 days without having charge again (barely use). Now it limits to 25-30 hours (barely use).

mvh
[Galaxy S 4 i9506 Android Development] moonboom:
The problem was that the phone stopped booting after showing the yellow message. After flashing with Odin first the original Samsung firmware and in second step rooting and flashing with TWRP the SLIM version everything is booting fine without error message. Did not flash the Dehawk kernel yet to get the phone working first and really don´t need the OC feature. When the Dehawk kernel comes out with undervolting it will become interesting again! :)
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey guys

I don't get it, can't understand why you can't archive higher Antutu scores. Will upload same OC kernel version as I'm currently using myself.

For hardcore uses on SLIM ROM; try make a Factory Reset.

Also observed that after running some apps, CPU don't steps down the frequency as it should. One example is actually Antutu...

This is not a kernel problem but the actual app.

Here's a quick guide how to fix;

Start SetCPU, if CPU is not running 300Mhz or steps up and down, BUT is stuck on a VERY high frequency..

Make sure Mhz min is set to 300Mhz. Now press 345Mhz and you will see CPU slows down immediately. Now press the 300Mhz again.

Close SetCPU.

Will be back when new OC kernel is online.

Regards.

EDIT

Use CPU Spy to make sure phone enters Deep Sleep at 300Mhz.
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP 4.4.2 Section Update

Updated XXUCNJ1 OverClocked kernel now on-line. Build ID #30 .

Using some updated drivers.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Read post #1738, may help you.

Regards.
[Galaxy S 4 i9506 Android Development] tvniklas:
full version

If i would like to try the full version:

GT-I9506 4.4.2 - Update_XXUCNJ1.zip. <--------- Download link. - Updated 2014-12-20.

I mean, going from the slim with the oc kernel to full.

Do i have to do i clean wipe?

What happens to the OC Kernel?

Thanks in advance
[Galaxy S 4 i9506 Android Development] kotaxor:
Hey bro,

Fell into the sea with phone in pocket, now black screen. :crying:

Going to send it for repair tomorrow and hope it can be repair.

Going to start flashing if repair is possible.:confused:
[Galaxy S 4 i9506 Android Development] MihaiMafteiu:
Any of you have troubles with Kies after SLIM version of 4.4.2 CNJ1?

KIES not recognize my 9506 after SLIM De-Odexed and KNOX free CNJ1 version

On my 4.4.2 CNI1, yesterday I installed 4.4.2 SLIM CNJ1

I followed DeHAWK instructions:

1. flash the XXUCNJ1-NEE full original update

2. flash my AutoRoot for XXUCNJ1.

3. flash a custom recovery, TWRP

4. flash my De-Odexed and KNOX free XXUCNJ1 update.

5. flash my insecure XXUCNJ1 OC kernel.

All went well until I connected the phone to Kies to restore my contacts, sms and calentar entries...

Kies opened, search for a phone, and... device not recongized.

The phone is seen in Windows Explorer but not in KIES.

This morning I installed NON-slim version, and the phone was recognized in Kies.

I realize that is a problem of slim version, missing removed app possible.

Can anyone tell me which removed app from the slim version is responsible for connecting the phone with Kies?

Thank for any help.

By the way, my score is 44.974
[Galaxy S 4 i9506 Android Development] dsignlife:
I normally use DE-SAMSUNGNIZER_SCRIPT_V5.2.1 on the stock firmware, and so from my experience kies will stop working after that. So yeah, I'm not entirely sure which apps needed for kies to get working but kies needs some of the bloatwares
[Galaxy S 4 i9506 Android Development] MihaiMafteiu:
After about 20 hour of research

Found it, the removed one !

wssyncmlnps.apk

from priv-app
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

I've a cold, have to stay in bed, and therefore not been able to help.

Thanks for your research and for letting people know, I really appreciate it.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

How the heck could such a thing happen?

Well, I cross my fingers for you.

Good luck and regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

You can with no problems flash the full De-Odexed update. Just remember to flash the OC kernel again after the update flash.

You can of course, if wanted, always use TWRP to clear the dalvik-cache and cache.

Regards.
[Galaxy S 4 i9506 Android Development] MihaiMafteiu:
Get well soon bro! Take care.

Thanks again for your OC snappy kernel

score 44.974 ;)
[Galaxy S 4 i9506 Android Development] DeHAWK:
Thx bro.

Regards.
[Galaxy S 4 i9506 Android Development] 3lambda:
Hi [MENTION=4188575]DeHAWK[/MENTION] ! Thanks again for your work ! I'am running cnj1 since yesterday (with deodexed and insecure kernel) and the battery seems draining a bit fast, does I have to wait few days to see if the battery calibrate herself ? or does I have to do any tweak ?

Haven't tested your oc kernel yet waiting you add some tweaks in it :P

thx in advance, good luck with your cold it's always annoying :S
[Galaxy S 4 i9506 Android Development] tvniklas:
Worked like charm

Thanks DeHAWK worked perfect

Now i got the editing option of photos i Gallery ?

And your latest OC Kernel
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

You could try Clear Dalvik Cache, Cache and Pre-installed by using advanced clearing in TWRP.

Regards.
[Galaxy S 4 i9506 Android Development] P0tato:
Hey dude, Im using your de-odexed ROM XXUCNJ1with your insecure kernel (not OC) and I cant use sidesync 3.0 with my Tab S... on my brothers S5 it works good but with my S4 it says "device not responding" or simply just freeze and cant operate with it
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey pal

You must be doing something wrong. Just tested it on my XXUCNJ1 SLIM De-Odexed with insecure XXUCNJ1 Overclocked kernel.

Test done using USB cable to a Win-7 64-bit laptop.

Works perfectly, nice utility btw.

Regards.
[Galaxy S 4 i9506 Android Development] P0tato:
Dude the wifi direct is broken for me, tried to use it for file transfer with my brothers s5 and it doesnt work, and sidesync uses wifi direct to connect so maybe you should check that out, I hope you have this problem too so I didnt messed up anything :)

EDIT: Okay so I tried it with my windows 8.1 64bit and the same freeze happens with USB and via wifi direct too... why???
[Galaxy S 4 i9506 Android Development] pille1:
Chromecast screen mirroring is not working for me with CNJ1 :crying:
[Galaxy S 4 i9506 Android Development] breakingstorm:
just by the way, I also have had some issues with usb connection to my pc, if i wanted to copy something on sd card or ext sd card, it stuck at 0%, doesn't even start to move the files.. was on win 8.1 64 bit pc, and your latest 4.4.2 CNJ1 without your customized kernel
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Very strange. Only difference is the kernel I'm using, made last night and containing lot of new governors / schedulers and prepared for approximately 2.7 GHz. Was working but still need some adjustments.

I'll now test SideSync 3.0 with the non OC kernel using both USB and WiFi to my laptop. I have no issues with file transfer from laptop to phone on either kernels.

Stay tuned.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Info regarding SideSync 3.0.

OK guys, have now tested using non OC insecure kernel and SLIM XXUCNJ1.

Working with USB.

Working using Wifi.

Actually this post was written on my laptop keyboard...using SideSync.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

You're lucky, I also have the ChromeCast and will test it as soon as I've downloaded the required app.

Stay tuned.

Regards.
[Galaxy S 4 i9506 Android Development] P0tato:
Mine freezes and reboots... I dont know the solution Im using the same kernel and ROM

Sent from my SM-T705 Galaxy Tab S LTE 8.4
[Galaxy S 4 i9506 Android Development] Tim-2.0:
[MENTION=4188575]DeHAWK[/MENTION] - I know you're a popular man and I really do not want to pester you, I was just wondering whether you have any suggestions regarding my dilemma? I still haven't had any luck with 4.4.2 / 4.4.4 roms :(
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Try clear Dalvik cache and cache using TWRP.

Regards.