yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

You must make sure that phone doesn't reboot after flashing the system.img. Unmark that Reboot box.

Then directly to download mode again and flash the CSC - NO REBOOT. When CSC flashing is complete, you must go directly to RECOVERY MODE. Then it will install your CSC and then it reboot itself.

That it shows: Applying CSC code NEE, tells me that something went wrong with your flashing.

I read in another thread, about someone who successfully flashed a 4.3 CSC/HIDDEN image from here, on 4.4.2.

Please try again and let me known.

Regards.
[Galaxy S 4 i9506 Android Development] SoRiNuS:
That' exactly how i've done. Twice! For some reason it didn't work. I will try now, again!

And yes, myself i've flashed my csc for spain over 4.4.2 for france. And it did work! But with your file it didnt. I will try again now.

I´ve tryied again. It doesn´t work. It doesn´t flash other CSC.
[Galaxy S 4 i9506 Android Development] mezo91:
stuck at samsung logo too.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

I just ordered yet another S4+...I'll then sell my S3 LTE. Depending the Android version on the new one, one of them is going to be updated to 4.4.2. (I hope the older one). Then I can make all testing myself and actually see what is happening.

Do you want me to make a NON CSC version, like I did with 4.3?

Just let me know.

Regards.
[Galaxy S 4 i9506 Android Development] SoRiNuS:
Yes, make one and we will flash our CSC. Add if you could make an Stock Recovery for 4.4.2 image, that would be great! Or the one from 4.3 works?
[Galaxy S 4 i9506 Android Development] DeHAWK:
OK.- I'll upload a non CSC system, a stock 4.4.2 Recovery and a stock 4.4.2 kernel.

You can't flash the 4.3 Recovery, bootloader is just a sob...

I'm almost home, so stay happy.:)
[Galaxy S 4 i9506 Android Development] DeHAWK:
Update.

Requested files now uploading.

Stock 4.4.2 Recovery.

Stock 4.4.2 Kernel.

Stock 4.4.2 System, fully De-Odexed, No CSc.

This means; you need to flash own CSC from 4.3 KNOX OUT, following the given instructions.

Stay tuned.
[Galaxy S 4 i9506 Android Development] EclipseX:
hey DeHAWk I am on vacations right now. give me your whatsup or some menseger contact for you can help me and I help you

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

Just discovered that Odin v3.07 gives an error on the md5 file...

Odin v3.09 doesn't....strange.

I normally use v1.85, but uses the other versions to check md5 integrity. I don't know what to say.

I need to make some flashing using all three versions.

Stay tuned.

EDIT

Will now revert back to 4.3, I know this kernal and system works.

I will then test with all 3 versions.

Stay tuned for more information.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Info

Back in 4.3. Flashed with Odin v1.85

Will now test the other versions.

Argh...this is killing me.

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

New files ready:

4.4.2 Stock Recovery image.

Download link:

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

4.4.2 Stock Kernel image.

Download link:

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

New 4.4.2 Stock image, still fully De-Odexed. No SuperSU/su, no Busybox.

and most important, NO CSC.

You must use your own 4.3 KNOX OUT CSC/HIDDEN files. Follow the instructions in the OP!

Download link:

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

Always use 7-Zip for unpacking the zip file. md5 sum and zip integrity checked before uploading.

Odin v.3.07 and v3.09 will automatically check the md5 file when you select it, v1.85 just before starting flashing.

I still recommend v.309 for 4.4.2, but you could try the other 2 versions.

Report back.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
deleted.
[Galaxy S 4 i9506 Android Development] DeHAWK:
I'll contact you by a PM.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
S4+ out on charge...will now examine sources.

Looking forward to get one more. :D
[Galaxy S 4 i9506 Android Development] SoRiNuS:
Sorry but for me is the same. Stuck on Samsung logo. I dont know why. I am waiting for anybody else to confirm.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

I really don't understand why. I want you to try an alternative flash, just for you and as a test.

Point me to the CSC/Hidden from my OP you are using.

I want to make you an image containing both the system and csc/hidden. In this way you flash all in the same flash, just as the original firmware.

Alternatively you can wait until I get my new S4+ and therefore will be able to make tests before uploading.

I really want to make this work.

Regards.
[Galaxy S 4 i9506 Android Development] SoRiNuS:
I use this But for now i will wait so you will get your S4 or somebody else flash.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Info.

Well, could it really be so stupid, that on 4.4.2 it requires an insecure kernel to make a De-Odexed ROM work. I used a 4.4.2 fully De-Odexed system on my insecure kernel on the 4.2.2 bootloader. But the bootloader should NOT be a problem, when system is up running, it should just be on sleep, waiting for something to be doing, like a reboot or something put into the USB jack.

Well, in a few days I WILL know and can therefore take my precautions.

Good night.

Regards.
[Galaxy S 4 i9506 Android Development] worf_1977:
Thankfully there's someone who develop something to our device...

Sent on from (most unsupported device ever) GT-I9506
[Galaxy S 4 i9506 Android Development] DeHAWK:
Information.

I will now open a 4.4.2 section in my OP.

At the beginning it will contain combined 4.4.2 CSC/Hidden image files.

You guys can now begin sending me those cache and hidden files, just as we did on 4.2.2 and 4.3

I currently have CSC/Hidden for:

France - Orange/FTM --> I9506FTMCNG1

Nordic - Nordic Open --> I9506NEECNG3

Singapore - Starhub --> I9506OLBCNG1

Files will available for download later today.

Regards.

EDIT

Please be aware that CSC files can sometimes cover several different provides. An example is the Open Nordic, it contains settings for all service providers in Scandinavia.

A good thing about this Open Nordic; it doesn't contain any bloatware in the hidden image - just a Samsung mp3 file.

Many provides put a lot of files in both the cache and hidden files.

But sometimes it can be good to have these carrier specific files.

Another example; I unpacked and checked an Australian 4.3 CSC/Hidden, it actually contained maps and apps for GPS. This could indeed be very useful down under if you are thinking about going into the bush.

This was just some information, needed to kill some time while waiting for the train.

Stay tuned.
[Galaxy S 4 i9506 Android Development] polarrys:
DeHAWK,

Maybe I can use this CSC for french country :

NEEBNE1--------> Combined CSC/Hidden image for GT-I9506NEEBNE1 - Nordic - Open, all Nordic carriers. <---------

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

Since you seems to been unlocked regarding carrier, you should with no problems be able to flash the NEEBNE1 CSC/Hidden.

Things you need to know before doing the KNOX OUT:

Follow the instructions steps one by one, do NOT miss anything!

Specially the the part about flashing the CSC. Make sure to UNMARK Auto Reboot when told.

If you miss anything, you will end up with a keyboard not working; keeps making forced closed.

You're welcome to ask if you have any questions.

Good luck and happy flashing.

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

4.4.2 section started up. Can be found at the end of my OP.

Not containing that much atm.

Here you can atm. find the stock 4.4.2 kernel and recovery.

Also added the CSC/Hidden files I can currently offer.

From now on, all new 4.4.2 links will be posted here.

Please notice; the 4.4.2 section is still under construction..:)

Since most of you have been here a long time, you don't need that much info. For newbies, please refer to the 4.3 KNOX OUT section regarding flashing.

I WILL update the 4.4.2 section to contain the same information, as time goes by. As soon as I get by second S4+, I'll make all kind of flashing to make correct procedures.

And hopefully I can then, in a very short time, offer a working insecure kernel and working Pre-rooted, fully De-Odexed system.

Stay tuned guys.
[Galaxy S 4 i9506 Android Development] kotaxor:
First step done, now waiting for the rest. Thanks.
[Galaxy S 4 i9506 Android Development] aresbv2000:
It would be nice to have a deodexed version of 4.4.2 Nordic firmware. I have tried to deodex the firmware by myself using a deodexer tool from Xperia Z1 forum. But I have ended with a boot-loop. Most of the mods found here on XDA require a deodexed ROM. Thanks
[Galaxy S 4 i9506 Android Development] EclipseX:
did you read first page of this thread?

Enviado do meu GT-I9506 através de Tapatalk
[Galaxy S 4 i9506 Android Development] SoRiNuS:
If you read this topic, and not in a hurry to post, you will see that all DeHawk Roms are De-odexed!!
[Galaxy S 4 i9506 Android Development] polarrys:
Thanks you DeHAWK.

Another question. Can you tell me the difference between this 2 version :

Previous version 4.3 Stable release. - Kept if anything should go wrong...

GT-I9506 4.3 XXUBML6 - Stable, slim and Pre-rooted <--------- Download link. Updated 2014-03-17

Previous 4.3 XXUBML6 - KNOX OUT version - Stable release. Kept in case you need it.

GT-I9506 4.3 - KNOX OUT - Stable, slim, Pre-rooted and fully De-odexed/Zip-aligned. <--------- Download link. Updated 2014-03-15.

Thanks for your advice.

Regards.
[Galaxy S 4 i9506 Android Development] aresbv2000:
OK....but I can`t find 4.4.2 Nordic firmware for downloading it!
[Galaxy S 4 i9506 Android Development] SoRiNuS:
Post #1065
[Galaxy S 4 i9506 Android Development] kotaxor:
Thought some one tried it and got boot loop.
[Galaxy S 4 i9506 Android Development] SoRiNuS:
Yes, but use 4.3 Knox Out Guide and flash a 4.4.2 CSC in the first post.

Or , better, wait for it. In a few days DeHAWK will post a better rom.
[Galaxy S 4 i9506 Android Development] omek07:
Hello

I have the stock rom from orange Android 4.4.2 but I need a deobex rom and I want to try this one. I don't care about the Knox stuff because I have 0x1 Knox.

If some can tell me if I understood correct.

First I have to flash the deobex Rom with obin after I have to flash the csc with obin and at the end I have to flash the csc from recovery.

Am I right?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Update.

Picking up the new phone today. Seems to be a S4+ Black Edition and with 4.3 pre installed...:mad:

Sucks, this means it's going to my 4.4.2 test phone. But now I have a chance to see what's happening when the phone boots my insecure kernel and De-Odexed system.

It also gives me important information for my 4.2.2 bootloader phone.

Stay tuned for more information.

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

Don't flash anything yet. The system image here in the thread doesn't work. 4.4.2 De-Odexed system on 4.4.2 bootloader just won't work. Strange, because I have it running on my 4.2.2 bootloader phone, but with an insecure kernel...

Regards.
[Galaxy S 4 i9506 Android Development] EclipseX:
do you want trade with me? your black edition for a normal one xD?

Enviado do meu GT-I9506 através de Tapatalk
[Galaxy S 4 i9506 Android Development] DeHAWK:
Ohh no:) - Well, as I thought...4.3, the first release. Nice model btw...I like the back. :cool:

Well, phone is on charge now. But when it's ready...time to flash 4.4.2 Nordic and then...Ohh no, not now. First I need to find out why my Pre-rooted and De-Odexed system won't boot on your phones.

Good news; already when I plugged it in for charging, I found out something very interesting in the way it reacted. It did not behave as on the 4.2.2 bootloader. That actually told me a lot. This is because the RAM disk (and kernel), being quite different from on 4.2.2/4.3 and that's exactly what I'm struggling with right now.

Stay tuned for more details.

Regards.
[Galaxy S 4 i9506 Android Development] pfbatista:
[MENTION=4188575]DeHAWK[/MENTION]

Confirm that you have the latest 4.3 version, before playing with the new phone.

When I bought mine, it came with 4.3 already, but was one of first versions... and when I inserted the sim card with WIFI on, the phone didn't stop rebooting... (not bootloop, it was always rebooting after inserting PIN code) It had a bug on that ROM... only after I install the latest 4.3 Nordic the phone started behaving normally, so if you want to have a I9506 with a good behavior you should flash the I9506XXUBNE1 version (or confirm if is the one you have)
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

To late...phone is right now flashing latest 4.4.2 Nordic.

I'll be back with more information.

Regards.

EDIT

It's testing time. 4.4.2 worked fine with external SD card on 4.2.2 bootloader with my own build 4.4.2 kernel and system. I want to give you guys a De-Odexed, Pre-rooted, KNOX free system ASAP.

But I need time to test.

Have patience.

Regards.
[Galaxy S 4 i9506 Android Development] pfbatista:
I hope you manage a way to have 4.4.2 on our phone without messing with Knox flag... Mine still on 4.3 and will be on that version until you get a way to do it...

I'm praying for you :) tonight I'll light some candles in honor to Saint DeHawk :D
[Galaxy S 4 i9506 Android Development] DeHAWK:
Update.

Bad news; just flashed a system image only. KNOX WARRANTY VOID now 0x1...

NO kernel, just system, cache and hidden.

System just with Knox removed, still odexed.

Didn't boot...

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

No wonder what? - This has been known since 4.3 for the regular S4.

And which is why I still runs the 4.2.2 bootloader on my other phone.

But unfortunately the new one came with 4.3 and I needed 4.4.2 running for testing purposes.

As seen in my thread, all I make is flashed with Odin and a system alone should not be able to trigger KNOX - but it did. And now I know why.:cool:

Actually it doesn't matter, I was going to trigger it anyway with my insecure kernel. What surprised me was that a system alone could do it.

Because this means, we can't do anything without triggering KNOX.

Custom recoveries trigger KNOX.

Custom kernels trigger KNOX.

And even a system trigger KNOX.

I should have been warned, but didn't take notice of it. It was as far as I can see already happen on 4.3 that a system alone could do it.

Regards.

EDIT

I did check for a digital signatur, where it used to be and didn't find it.

But it was there, found it later at an other location.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Breakthrough!

Finally got my insecure kernel booting on original 4.4.2 firmware (4.4.2 bootloader!)

Still need to make changes and more flashing.

WiFi didn't work...but it didn't work on stock 4.4.2 either...

Stay tuned for more.

Regards.
[Galaxy S 4 i9506 Android Development] mezo91:
If you would kindly explain what insecure kernel is. And why we need. briefly, i know you are busy.
[Galaxy S 4 i9506 Android Development] DeHAWK:
I will, but later..

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

Just a preview:

From a totally stock 4.4.2 firmware with my insecure kernel on the new phone with 4.4.2 bootloader.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Update.

Yes, one success never comes alone. Now running my own custom system image, but it only works with my insecure kernel.

Removed all the crap and still running stock odexed.

Security crap fixed, charging in OFF working, Reboot working, going to OFF working and much more.

Still no WiFi, Samsung source code problem, working on it. This is on my 4.4.2 bootloader phone.

Tomorrow I'll test fully De-Odexed system, pretty sure it will work.

Stay tuned.

Good night.
[Galaxy S 4 i9506 Android Development] kotaxor:
Great news!..Waiting for your successful rom patiently.:good:
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

On my way to work, so I have some time left over.

As you know, none of the De-Odexed 4.4.2 systems I put up here was working. Both just made it to the boot animation and never came any further. They were both for 4.4.2 stock kernel. Doing so actually work in previous version, but Samsung made changes to the kernel and bootloader in 4.4.2. I tried everything even fully stock, just repacked, and it was then I broke my KNOX warranty...

I then realised that the only way I should be able to do it, was with an insecure kernel. The kernel removes and changes some stuff and set SELINUX to Permissive mode. Together with some changes in the system image, I was able to make it work. Atm. I haven't pre-rooted it, going to happen today...

The bootloader will see the kernel as insecure as soon as the kernel doesn't contain a Samsung digital signatur. They make this signature different on every release and there's no way to replicate it. It would require their sign key, which they keep safely guarded on a server, I suspect.

Hope this was helpful.

Regards.
[Galaxy S 4 i9506 Android Development] DualJoe:
Is just the kernel (zImage) signed or the whole partition?
[Galaxy S 4 i9506 Android Development] DeHAWK:
The whole boot.img file is signed, same goes for the recovery.img. Meaning you can't mess with the RAM disk alone and just leave kernel untouched.

Regards.
[Galaxy S 4 i9506 Android Development] DualJoe:
I've seen an isolated block of data at the end that showed SEANDROIDPROTECT or something. Its in both partitions indeed. I guess that's the signature.

I'm still 0x0 but will burn it once i have everything collected for compiling.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Update.

Fully De-Odexed 4.4.2 system now running on my 4.4.2 bootloader phone. Nice. Next to test...root.

Stay tuned.

Regards.
[Galaxy S 4 i9506 Android Development] mezo91:
amazing work.
[Galaxy S 4 i9506 Android Development] kotaxor:
[MENTION=4188575]DeHAWK[/MENTION]..on a side note..is screen mirroring working after applying the same tweak? Thanks
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

As for now I can't test it, since screen mirroring requires WiFi to work...and it doesn't.

And when WiFi works, we'll probably see same the problem as on 4.3 - because of rooting...

But De-Odexed system alone should not break it.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Meaning, presently wifi does not work in de-odexed 4.4.2? Thanks.
[Galaxy S 4 i9506 Android Development] SoRiNuS:
As stated in a previous post: atm it doesnt work. He is working on it. And it's not because it's de-odexed. Has something to do with the kernel or bootloader.
[Galaxy S 4 i9506 Android Development] SoRiNuS:
DeHAWK need your help. Somehow i´ve managed to brick my phone: Unknown Baseband. I get no Wifi and no Signal. I´ve tryied to restore but nothing. Running 4.4.2 with 4.4.2 bootloader (NEE version).
[Galaxy S 4 i9506 Android Development] DualJoe:
You flashed the complete official Samsung 4.4.2 rom again and it didn't recover?
[Galaxy S 4 i9506 Android Development] SoRiNuS:
Yes. Couple of times.
[Galaxy S 4 i9506 Android Development] DualJoe:
You might have flashed a bootloader that doesn't accept your modem. As far as i know there are only two 4.4.2 releases atm (france and nordic). Did you install both?
[Galaxy S 4 i9506 Android Development] mezo91:
There's more now.
[Galaxy S 4 i9506 Android Development] SoRiNuS:
It´s seems that this error is related to EFS. When flashing multiples roms it can get corrupted. I didn´t know that, so i do not have a backup of this EFS files. I´ve found a fix on an website but it was for 4.2.2. When i flashed it it gave me fail, but upon restart i see that my baseband and imei are back. I hope this never happens to me, because i like to flash roms :D
[Galaxy S 4 i9506 Android Development] DeHAWK:
Update.

We got root!

I've now finally been able to obtain root permission on my 4 4.2 bootloader and 4.4.2 DeOdexed system. It took a long time, all my attempts failed...untill I rewrote a CF-Autoroot for the S5 - 900F, making it compatible for our GT-I9506.

Only way to do it, meaning no more pre-rooted system.

I used an image, containing my insecure kernel, slim De-Odexed system, cache and hidden and flashed it for testing my root.

But as said; nothing worked.

Then read a lot about the new Linux security in 4.4.2, making root impossible. More reading...and reading...

Then decided to give the Chainfire CF-Autoroot a shot.

I already knew I had to make it compatible for our phone...and so I did. After a few flashes, where the phone was stock on the GT-I9506 boot screen, it finally booted into Chainfire's recovery, flashed the root files and rebooted.

SUCCESS!

I now need to contact Chainfire and tell him about it and and ask for his permission to put this it in my OP.

Stay tuned.

Good night.
[Galaxy S 4 i9506 Android Development] kotaxor:
YAY! Finally, well done!
[Galaxy S 4 i9506 Android Development] DualJoe:
What's wrong with the usual way by simply installing SuperSU via CWM?
[Galaxy S 4 i9506 Android Development] mezo91:
I hope your release comes soon ^^ any testing im here for it.
[Galaxy S 4 i9506 Android Development] aresbv2000:
Can anyone please upload GlanceView.apk and GlanceView.odex from System/app? I have tried a mod from i9505 forum and now GlanceView isn`t working at all. So...I need original GlanceView.apk and GlanceView.odex from XXUCNF3 Nordic.Thank You!
[Galaxy S 4 i9506 Android Development] SoRiNuS:
https://www.dropbox.com/s/dobabhqsmxebxr3/glance.zip
[Galaxy S 4 i9506 Android Development] aresbv2000:
Thank you.
[Galaxy S 4 i9506 Android Development] EclipseX:
Any news DeHAWK?
[Galaxy S 4 i9506 Android Development] mezo91:
+1
[Galaxy S 4 i9506 Android Development] pfbatista:
+69
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey guys.

Ok, time for some information.

Still fighting the WiFi problem; as soon as I flash my insecure kernel, WiFi no longer works. This happens on fully stock firmware just rooted with my own version of Chainfire's autoroot and on my own system.

So on a fully stock firmware WiFi is okay, if rooted with my autoroot and on stock kernel.

Insecure kernel working on stock firmware, but no WiFi.

Stock kernel doesn't accept a custom system...e.g De-Odexed.

If anyone wants my autoroot, just let me know and I'll put it up here.

Then you can at least get rooted and remove unwanted apps.

Still trying to fix WiFi with insecure kernel.

Regards.
[Galaxy S 4 i9506 Android Development] pfbatista:
Do you think there's any probability of your autoroot don't mess with Knox flag?
[Galaxy S 4 i9506 Android Development] SoRiNuS:
Yes, please post your version of Autoroot. Thanks
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

It WILL trigger the KNOX WARRANTY bit. But as I mentioned in a previous post, I triggered mine just by a repacked original system...Seems that everything will trigger KNOX.

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

Autoroot will come up with flashing instructions. Just need to eat first. :)

Stay tuned.