yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] ipit:
Thanks! That's cool, I don't think I have any reason to go back to 4.3 so happy to flash away.

So just to confirm the steps. Can I do this http://xdaforums.com/galaxy-s4/i9506-develop/download-4-4-2-kitkat-i9506xxucng3-t2827630 and then follow your guide?
[Galaxy S 4 i9506 Android Development] J1897:
Hi!

Sorry, but may I just ask you, what is the difference between these instructions:

http://xdaforums.com/galaxy-s4/i9506-develop/download-4-4-2-kitkat-i9506xxucng3-t2827630

and DeHAWK instructions:

Download link for GT-I9506 AutoRoot.

AutoRoot for GT-I9506 4.4.2 - XXUCNG3. <--------- Download link. - Update 2014-08-23

Flashing instructions:

Download the 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.

J
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

2 different ways of doing it. With my AutoRoot, you just need to make one flash using Odin, that's it and you're rooted.

My AutoRoot, original made by Chainfire for the European SM900F (S5), I made specially for the GT-I9506 International/European version. It only contains stuff for our phone, to make sure it's was 100% compatible.

I never used anything else but my own work to gain root access, but on 4.4.2 I needed to do it an other way. My pre-rooted version just didn't work any more, due to security. But it seems that I once again can do a pre-rooted version, but only by using a custom recovery flash. However, my AutoRoot works perfectly on both the 4.4.2 releases, so... : -)

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Yes, that's the way to do it.

And yes again. - I'll try to update my OP 4.4.2 section with both the XXUCNG3 and XXUCH4 versions followed by full instructions. Then you guys don't need to look at different posts in the thread.

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

Hey.

Have a look at this screen shot...

Tell me if you can see anything special.

Lol..
[Galaxy S 4 i9506 Android Development] J1897:
Your own Karnel version and CNH4 ! :laugh::good:

Right?
[Galaxy S 4 i9506 Android Development] DeHAWK:
No...try again. Take a CLOSE LOOK.

:):):)
[Galaxy S 4 i9506 Android Development] J1897:
Yes, your own Karnel!!! :good::good::good::good:
[Galaxy S 4 i9506 Android Development] DeHAWK:
No...got that for long time. Try again.
[Galaxy S 4 i9506 Android Development] J1897:
I wait someone wiser than me to guess right :rolleyes:

:laugh::laugh::laugh::laugh::laugh::laugh::laugh::laugh:
[Galaxy S 4 i9506 Android Development] DeHAWK:
Look at the icons...
[Galaxy S 4 i9506 Android Development] papete:
Unsecured Kernel and WiFi.... Is it stable?
[Galaxy S 4 i9506 Android Development] EclipseX:
wifi and sim network xD

its time to port some godies from s5 xD
[Galaxy S 4 i9506 Android Development] DeHAWK:
You are so right!!!

Now working WiFi on insecure kernel. I need to adjust some settings in the sources, but yes seems to be very stable. Some Samsung apps doesn't work with a kernel in permissive mode.

But now I have the right combination for WiFi. Remember what I said about Samsung's sources...filled with crap, just to make a total confusion.

Now I need a little break.

Regards.
[Galaxy S 4 i9506 Android Development] J1897:
OK OK.... I forgot that with your insecure Karnel the wifi was not working, so you fixed it!!!:good::good::good::good:

Great! :cool:

I take the chance to ask a further question, by rooting with your auto root, is there chance that KNOX blocks the SuperSU in some circumstances?

Or root will work always fine? I read something in this forum, but now I cannot recall where it was...

J
[Galaxy S 4 i9506 Android Development] kotaxor:
Screen mirroring working too?[emoji106]
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

If you're on 4.4.2 XXUCNG3 or XXUCNH4 and flash anyone of my 2 versions using a custom recovery, all KNOX is removed. Just flash AutoRoot after.

If you use AutoRoot on an original 4.4.2, then SuperSu will ask if you want to disable KNOX. Everything works as expected on Samsung original regarding SuperSU, according to Chainfire.

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

Just check with the original libwfdsm.so and with the modified that worked on 4.3...but no luck.

Screen mirroring atm. only works on stock kernel. :mad:

Regards.
[Galaxy S 4 i9506 Android Development] J1897:
Thanks DeHAWK, I think I will go for option 2, meaning just flashing your AutoRoot and let SuperSu disable KNOX, I want to keep things as simple and clean as possible to avoid any possible problem :cool:
[Galaxy S 4 i9506 Android Development] konninn:
Am i right to assume that this is on the 4.2.2 BL? if so great work.
[Galaxy S 4 i9506 Android Development] kotaxor:
Hi..looking at the thread, there is a new fix for 4.4.2 for our phone.

Edit; the new fix involve another file call libstagefright_wfd.so in system/libs.

According to the thread, it should work on custom kernel without modification.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Just checked his thread and got the fix. His right about it when he says it works on a custom 4.4.2 system with stock kernel. He says that it also was working on his 4.4.2 system with insecure kernel on his 4.2.2 bootloader. However, his was the korean version (SHV-E330).

It didn't work on my custom 4.4.2 system with insecure kernel. But now I've the files and can check it out. Thx.

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

This was on 4.4.2 bootloader. But it seems we now have a screen mirroring fix for 4.4.2, thanks to sorg.

Since I now have WiFi working on my 4.4.2 insecure kernel, I'll soon start making this 4.4.2 for 4.2.2/4.3 bootloaders.

Regards.
[Galaxy S 4 i9506 Android Development] ipit:
Hey Dehawk, thanks again for all your help. I just updated from 4.3 and despite a few challenges (mostly related to bootloader update and recovery etc) it worked at the end. Everything running great!

Although one thing I noticed was that my signal strength is a little weaker than before (telstra Australia). are there any basebands I could try?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Did you update using my instructions here in the thread, because I don't update the modem, this because the 4.3 was working fine. Furthermore it's better for people to keep the modem for their region.

I have made a new Odin 4.4.2 Odin package, I now include the 4.4.2 stock recovery. Found out that if a custom recovery is installed while flashing my 4.4.2 package with Odin, the CSC gets screwed up. This is due to a faulty CWM.

I'll put new package in OP 4.4.2 section, together with a new update.zip and instructions...:cool:

Stay tuned, and if any questions; just ask.

Regards.
[Galaxy S 4 i9506 Android Development] ipit:
Hey dehawk i used eclipses instructions from thr the other thread for the first step to update bootloader and ended up with MODEM: I9506XXUCNF3

Is it technically possible to flash other modems now from say 4.3 or it needs to be packaged up with other things? Also does csc include modem and if so can i flash your telstra csc from 4.3.Sorry for the noobish questions
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Then it should be OK.

I'm afraid you can't downgrade the modem to 4.3, due to the signature 4.4.2 bootloader won't allow you.

But you can flash your own CSC/Hidden which contains your right carrier settings instead of those for Vodafone included in the firmware you flashed.

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

Several download links in the OP 4.4.2 section will be out of order for a while.

I'm atm. updating the OP 4.4.2 section with new files, new download links and instructions.

Stay tuned, I'll report here when it's once again ready.

Regards.
[Galaxy S 4 i9506 Android Development] lennis:
Is possible flash for recovery clockwormod?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Update.

OP 4.4.2 section is now open and fully working. Added full instructions, added new links and new files. All 4.4.2 related download links has been verified, the md5 checksum for all image file has been verified and the integrity of all zip files has been verified.

From now on, all new files can be found in the OP, after being announced here.

Older 4.4.2 download links found here in the thread, will not work any more. please refer to the OP 4.4.2 section.

I have NOT yet made the insecure 4.4.2 kernel public, still testing and optimizing it. But it looks quite promising.

Seems that some apps, mostly Samsung's own, don't accept a kernel in permissive mode.

Stay tuned.

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

OP 4.4.2 section updated with new AutoRoot. This is for those who flashed the original XXUCNH4 firmware, either by Odin or during a FOTA (FirmwareOverTheAir). If you are on XXUCNG3, you don't need this updated version.

I've tested this AutoRoot on my own phone and it's working as expected.

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

thank you for your hard work. i have a quastion.

in your 4.3 rom, there is no samsung apps junk. (like s voice samsungapps).

when you will release this type of rom on 4.4.2 ?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Do you want a slim 4.4.2 XXUCNG3 or XXUCNH4. I didn't make them due to the fact that people wanted to remove the unwanted apps themselves since they now have root and can use Titanium Backup.

Regards.
[Galaxy S 4 i9506 Android Development] J1897:
Thanks from me too :)

New ones (like me) do not really know what to remove (at least safely).

So, it would help a lot, if you can, want to or have time :D

Once again, we can only thank you over and over again for all you have done for us with this device.

J
[Galaxy S 4 i9506 Android Development] EclipseX:
hi, [MENTION=4188575]DeHAWK[/MENTION]

I've just receive over air a new update to nordic countrys. Its not at sammobile for now....

100Mb

Info: More stability (finally)

Version: i9506XXUCNF3

android 4.4.2

kernel: 3.4.0-2587343dpi@SWDD5919 #1

Fri Aug 22 19:04:34 KST 2014

Comp N: KOT49H.i9506XXUCNH4

And I've just receive another one with 5mb

EDIT:

wtf: samsung its joking :eek:?

Android: 4.4.2

I9506XXUCNF3

kernel: 3.4.0-2587343dpi@SWDD5807 #1

Wed Sep 17 02:58:17 KST 2014

Comp N: KOT49H.i9506XXUCNI1
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey EclipseX.

Yes, they're sometimes very funny. I've had this XXUCNH4 for about 3 weeks now, and suddenly they made a XXUCNI1.

But it actually makes sense. XXU=Region Europe, not sure about the C but could be 3, N = 14, I = 9 for September and 1 is actual version of this release.

But must important, do you feel any difference in how it works? - Did you loose root when updating? and did my XXUCNH4 AutoRoot work on this version?

Regards.
[Galaxy S 4 i9506 Android Development] EclipseX:
I did lose root,

but I will try root again latter
[Galaxy S 4 i9506 Android Development] DeHAWK:
Information.

I'll later today release a new updated version of the XXUCNH4 De-Odexed firmware for custom recovery.

It contains init.d support and is prepared for my upcoming insecure XXUCNH4 kernal release.

It can be flashed with or without my insecure kernel.

Regards.

EDIT

I've also been able to test the latest screen mirroring patched lib file.

It doesn't work on insecure kernel.

Init.d will work without insecure kernel, but you'll need be rooted and have busybox installed to run scripts
[Galaxy S 4 i9506 Android Development] Justie:
Will it be possible to install it on 4.3 bootloader? So it be downgradable if need to.
[Galaxy S 4 i9506 Android Development] papete:
Out of curiosity DeHAWK, what init scripts are you running right now? On older devices I've used them to overclock cpu or alter some SWAP configs. But with this phone I can't find a use for them... Do you run any?
[Galaxy S 4 i9506 Android Development] kotaxor:
Can try adding wlan.wfd.hdcp=disable to build.prop and see if it works for screen mirroring.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

I going to try that later to see if it helps.

This also one of the reasons why I had to redo the XXUCNH4 zip flash.

I needed to make modifications to make it compatible to both original and insecure kernel, also regarding to the WiFi problem.

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

OP 4.4.2, 4th section updated with the new XXUCNH4 update.zip file.

Fully De-Odexed and totally KNOX free as before.

News; now supports init.d scripts. I have put a test file in the init.d folder (/system/etc/init.d/00test.sh). It will test for init.d support and is executed during boot. It's output will be a file called Test.log located in the /data folder. You can delete both whenever you want. Root IS required and so IS a busybox version. I myself use the one by Stericson, v1.22.1.

This new version is, as mentioned before, made compatible with both the stock XXUCNH4 kernal and my upcoming insecure kernel.

It can be used by both, and will automatically detect when you flash the insecure one and then make the required changes.

I've spent A LOT of time on this, so please test now and give me some feedback. I'll probably release the insecure kernel in the upcoming weekend.

I had hoped that I could get the latest released XXUCNI1for you, but it's still not available.

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

Well, to be honest; I don't run any scripts at all. Mostly because of my development, but also because of lack of time. You should however be able to find some scripts. Look in the S5 forum, with some minor changes they be usable for you.

Regards
[Galaxy S 4 i9506 Android Development] DeHAWK:
Please read my previously posted messages. Atm. No.

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

It doesn't matter how much testing is done...just discovered a minor problem with my newly released XXUCNH4 update.zip.

Problem only occurs when if stock kernel, flashing insecure kernel and then later again flash back stock kernel.

Will upload new version tomorrow.

No problem if on stock kernel.

Sorry for the inconvenience.

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

Tested, doesn't work. Furthermore it seems to contain adds.

It works on stock kernel, but seems much slower than the original.

Info.

Downloading new XXUCNI1 NEE.

Might make new version after some internal tests.

Btw. My test with being on insecure kernel and then flash back to stock fails. But I had a suspicion about this (can be fixed, I just need to do it in an other way). All because of the rooting restrictions and security in stock kernel. Just once again proves what I said long ago; even if you are rooted on a stock kernel, you are not really rooted. Only on an insecure kernel the real root is working 100% as it should. I only run insecure.

But then some Samsung apps won't work. I think I crack myself up.

Regards.
[Galaxy S 4 i9506 Android Development] EclipseX:
[MENTION=4188575]DeHAWK[/MENTION] its not worth trying to make a new version for this new firmware, its too buggy

ive been using this since I receve it over air, and the samsungs app are broken, I need to reboot my phone 2 times per day =/

and I dont know why but, the gps is always trying to get signal, I cant have it turn on =/, its very supicious,
[Galaxy S 4 i9506 Android Development] XresaX:
Don´t know if it´s worth it but I´ve just read on htcmania.com that a guy flashed a functional 4.4.4 Carbon ROM w/o Knox.

I´ve asked him to give more details in the thread about how he did it because he gave little information. He said he did it as he used to in his S2: flashing thought the recovery a KK compatible recovery and after making the classic wipes & others.

Images

[IMG="Download mode"]http://www.htcmania.com/attachment.php?attachmentid=560675&stc=1&d=1406910089[/IMG]

[IMG="Device info"]http://www.htcmania.com/attachment.php?attachmentid=560684&stc=1&d=1406911111[/IMG]

Link to the thread (spanish)

http://www.htcmania.com/showthread.php?p=15464053#post15464053
[Galaxy S 4 i9506 Android Development] almog2900:
Hey DeHAWK.

Your 4.2.2 Slim rom is awesome.

Can you Consider To make Slim rom on 4.4.2? Im Sure That Alot of people will love this rom. thank you !

:cyclops:
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Just flashed a special made XXUCNI1 .md5 file, I made for testing purpose.

Everything seem to work very well so far. I can already see some changes with the CPU spinning down much faster now.

Flashed it with Odin over my De-Odexed KNOX free system with lots of apps frozen and insecure kernel. All apps, except KNOX, still frozen. So far no widget problems or GPS on/off issues.

Lost root, but I will use my AutoRoot again in a few minutes.

I'll be back with more info in a few minutes.

Regards.

EDIT

Rooted, piece of cake. Still no problems. Will now continue testing.

Stay tuned.

EDIT 2

Now on my insecure kernel. Working.
[Galaxy S 4 i9506 Android Development] EclipseX:
[MENTION=4188575]DeHAWK[/MENTION] That's what happens after a few hours and when I lost connection .

Now I need to reboot.

I already try clean dalvik cache, install a clean firmware again yesterday. And still have the same problem

Enviado do meu GT-I9506 através de Tapatalk
[Galaxy S 4 i9506 Android Development] mar10o:
I have the same problem on stock firmware. I think it's a kitkat bug..
[Galaxy S 4 i9506 Android Development] mezo91:
Me 3
[Galaxy S 4 i9506 Android Development] Justie:
After all such things and problems, I'll never believe that 4.4.2 is better than jb 4.3 for our device.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

This problem has now also happened on my phone. It seems very random, this time it came after being in settings, the phone had just been turned on. I have not seen any other problems. The way I deal with it;

I move the widget to the trashcan, then just place a new widget at the same place. In this case the weather widget.

Very annoying! - Sick and tired of buggy software Samsung, need to shape up.

Regards.

EDIT

I'm gonna revert back to the XXUCNG3, since I also saw this problem on the XXUCNH4 release.
[Galaxy S 4 i9506 Android Development] EclipseX:
[MENTION=4188575]DeHAWK[/MENTION] I told you that not worth the effort to do a new insecure kernel to this version lol

They are messing with our s4. They want we to buy the new one oO

Enviado do meu GT-I9506 através de Tapatalk
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

I haven't, the one for XXUCNG3 works perfectly on both the latest firmware releases.

But now time to revert back.

Shouldn't be that hard.

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

Due to all the problems with the latest XXUCNI1 firmware, I've now made a revert back to XXUCNG3 package. It should be flashed with Odin v3.09. It contains 5 original files; system, kernel, recovery and NEE cache/hidden.

Just flashed it on my own phone and I'm back on XXUCNG3.

Download link will come here in the thread when upload is ready.

Regards.

EDIT

After reverting back to XXUCNG3 you need to follow the OP 4.4.2 section to get KNOX free and De-Odexed. Then use the AutoRoot for XXUCNG3 to regain root permissions.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Update.

Download link for reverting back to XXUCNG3 firmware.

https://drive.google.com/file/d/0B6he3hscczvdblNZckFSMUhxczg/edit?usp=sharing

I've chosen this version due to the fact that I've also seen these problems on the XXUCNH4 release.

Instruction:

Download, unzip file to get the .md5 file.

Fire up Odin v3.09 on PC, select AP and browse to the .md5 file you just unpacked.

Make sure ONLY Auto Reboot and F-Reset Time is marked.

Get phone to download mode, connect to PC and wait for Odin to recognize it - you can see when.

Press Start and wait.

When flashing is done, the phone will reboot to Recovery, install CSC files and then reboot once more.

The XXUCNG3 is now being installed, wait.

When presented with the Start screen, you are now running XXUCNG3.

You will NOT lose anything by this operation, all settings and user installed apps will be preserved.

Regards.
[Galaxy S 4 i9506 Android Development] EclipseX:
thanks, I was waiting for that xD
[Galaxy S 4 i9506 Android Development] DeHAWK:
Yes all problems has disappeared after reverting back to XXUCNG3.

And Samsung still releases both the XXUCNH4 and XXUCNI1 due to these problems. Sam Mobile should warn people and remove these links. See ya
[Galaxy S 4 i9506 Android Development] pfbatista:
There should be a lot of regular users unsatisfied with those updates... I reverted too... But there are a lot of people screaming :P
[Galaxy S 4 i9506 Android Development] DeHAWK:
Yeah, I'm pretty sure there is. People who don't know about XDA and therefore don't have any idea of what is going on. I had to warn my colleague about it. He was still running XXUCNG3 and wanted to update to XXUCNI1.

Let's hope Samsung will fix this ASAP and stop pushing out these faulty updates.

Regards.
[Galaxy S 4 i9506 Android Development] pfbatista:
Do you know if there's a way to comunicate it with samsung?
[Galaxy S 4 i9506 Android Development] DeHAWK:
I think the best way is to call them and complain about the OTA update.

I don't think we should mention anything about Odin and only KIES if the update is available in there.

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

Latest news.

I know some of you are still waiting for the insecure kernel and it's coming very soon now. Have been very busy at work and also had to redo some kernel work.

But here's what to expect:

Kernel will be for XXUCNG3 only.

Compiled with latest Linaro toolchain 4.9.2 from 09-2014.

Must be flashed using a custom recovery.

SE Linux set to Permissive.

All Samsung rooting restrictions removed.

All TIMA logging removed.

Other useless logging removed.

Default governor set to On Demand.

Will remove all instances of KNOX, if present.

Will install Busybox into xbin.

Will support init.d scripts.

Will automatically root phone using Chainfire's SuperSU.

Other features might come later.

Stay tuned.

Regards.
[Galaxy S 4 i9506 Android Development] same-xx:
Ok, I'm not shure that this is right conversation for this, but I share this with you anyway. I installed the new ota also and after I put root back started problems with the weather widget. So I tried something: I downloaded accuweather 2014.zip from android apps and programs. Then I deleted with systemapp remover weather daemon. And weather. (I think the widget) reebooted phone. Unzip accuweather 2014.zip and installed weatherdaemon eu and weather as normal app. Reebooted phone put weather widget back and now for the third day weather widget has been working. And I say again that I don't know is this answer to this problem, but I think it is for weather widget it is.
[Galaxy S 4 i9506 Android Development] ipit:
Is there anyway to just flash modems on this model? All the stuff out there seems to be for the 9505.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Modem is the same in the three 4.4.2 versions for the GT-I9506. I don't think the bootloader will allow 4.3 or 4.2.2 versions to be flashed. Perhaps it's possible using custom recovery, I haven't tried.

Regards.