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

Uploading done. Some old links might not work atm. But all new files should be ready.

I've kept the previous links, just in case.

OP is quite messy right now, will be fixed the upcoming days.

Things you need to know:

Both 4.2.2 and 4.3 bootloader user should flash 4.3 KNOX OUT.

All should flash the 4.3 combined CSC/Hidden, following the given instructions under 4.3 KNOX OUT.

Please keep your old downloads in case you need it. As said, not all links will be working.

There might still be an issue with the language returning to English.

If it happens, just re select your own language under settings.

Please report back.

Regards.

Send from my GT-I9305 using Tapatalk
[Galaxy S 4 i9506 Android Development] SoRiNuS:
For me, the vibrations doesn´t work.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Just found out...strange, pretty sure it worked in my testing. Are you on 4.2.2 or 4.3 bootloader?
[Galaxy S 4 i9506 Android Development] SoRiNuS:
4.3 Bootloader
[Galaxy S 4 i9506 Android Development] DeHAWK:
And I'm on 4.2.2. I'll look at it in the upcoming days.

Thx for reporting.

I'll be back tomorrow, please test as much as possible.

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

Don't update! - It turns out that something has gone wrong somewhere. I had time to make much more tests this morning on way to work.

Seems like none of the sensors are working properly. Also I suspect that I miss some items undet settings. I suggest you to stay on the older version with the kernel from mid June

I start to look at it as soon as I come back home.

Regards.

Send from my GT-I9305 using Tapatalk
[Galaxy S 4 i9506 Android Development] DeHAWK:
UPDATE.

Have now tested sensors, you can test it too. Select Phone, dial *#0*#

This will bring up a factory test mode where you can make all kinds of tests. The only thing that's not working is the vibrations. So the kernel and device tree should be more or less ok.

Also Samsung has made changes in the kernel itself, but didn't release new sources. So shame on them.

Also had a chance to compare my S4+ against my colleagues regular S4, running stock 4.4.2. The things missing in my 4.3 version, was also missing on his 4.4.2. Furthermore this latest 4.3 looks very much like a pre version of 4.4.2, only a very few differences.

Stay tuned.

Regards.

Send from my GT-I9305 using Tapatalk
[Galaxy S 4 i9506 Android Development] dena994:
Guys I want to root my new S4+ without making confusion.

I have:

-GT-I9506

-Android 4.3

-Baseband I9506XXUBML2

-kernel 3.4.0-2210443

-build JSS15J.I9506XXUBNA2

What steps should I do to succesfully have the root? My phone is the T-mobile unlocked version because I imported it from Germany, but I'm from Italy and I used it with Vodafone.

I have to flash

1) 4.3 KNOX OUT - Latest release

2) CSC/Hidden file which I haven't understand which is for my phone

3) then I have to enter recovery.

But before these steps have I to do anything?

And what's the difference between

-Latest 4.3 Stable release.

http://<b>GT-I9506 4.3 - Stable, sli...Pre-rooted</b> <--------- Download link, updated 2014-07-03 - UPDATING!

and

-4.3 KNOX OUT - Latest release.

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

Hoping someone can help me,

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

You have to wait for a while.

I'm working on the OP, just released a updated version yesterday. But some problems occurred...like I can't get the vibrations to to work. Samsung changed a little in the kernel and didn't release new sources. My kernel is build on the previous version.

Under KNOX OUT, use the link under the latest release. I think I called it previous version.

After flashing it and your CSC, flash the kernel called something like previous from mid june. Follow the KNOX OUT instructions very carefully. Important.

Heading for bed now, worked on those sources for 10 hours.

I'll upload new files Saturday. All sensors working 100%, 4G/3G WiFi, bluetooth, camera (both), external SD card/exfat and much more. Probably forgot something.

Just the vibrations is killing me right now.

Regards
[Galaxy S 4 i9506 Android Development] mezo91:
use towel root. very helpful and doesnt trigger knox, i tried it on my s4 with stock official rom.
[Galaxy S 4 i9506 Android Development] dena994:
I'll wait the woking release, np. But I can't find my CSC! Can I send you the files you asked for in the first post?

---------- Post added at 07:25 AM ---------- Previous post was at 07:24 AM ----------

Thanks but have you android 4,3? My Same model?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

What does it say on the 3rd line when you select Phone and dial *#1234#

Regards.
[Galaxy S 4 i9506 Android Development] dena994:
i9506dtmbna1, I have confused CSC and build xD.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Update

Just flashed new updated system and kernel. Now also tested Vibetones (this is not the same as vibrations), TSP Hovering, Dimming, Barcode Emulator, Sensor Hub, Subkeys, Leds and GPS.

All working! - Only one problem remains....vibration.

I suggest you to test it, unless vibrations is very important to you.

I'll be back when files are ready.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Sounds like a T-Mobile, Germany CSC, right?

It's there, under the KNOX OUT section. No need to upload it.:)

Regards.
[Galaxy S 4 i9506 Android Development] dena994:
I succesfully rooted with towel root. Then I installed superSu from the play store and when SuperSu asks to complete the root process it ends saying it founds knox and asking if I want to remove it. I tap Yes but it continues chargin..

Anyway I run apps with root privileges without problems. Can I install also xposed or do i need a free bootloader or unsecure kernel?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Info regarding CSC and Hidden.

Some carriers like to put apks in the CSC and Hidden image. They can also prevent apks to be installed after a reset. My own provider prevents the standard video player to be installed, they just want us to use their own. And then they install a stupid apk.

To fix this, do the following:

Use Root Explorer or ROM Toolbox.

Start the root app, it starts up in root.

Scroll down to system folder and select it.

In system, goto the etc folder.

In here you should look for the following file:

enforceskippingpackages.txt

This file contains a list of apks they hide from installation.

Open the file, delete the lines you want and change the number at the first line to the number of files.

In my case the file only contains a '0'.

Remember to save the file.

Next find this file:

hidden_apk_list_xxx.txt

The xxx is the name of the CSC.

Do the same as before and delete the lines of apks you don't want to be installed. Save when ready.

Now exit and reboot.

Regards.
[Galaxy S 4 i9506 Android Development] WonkyYew:
Thanks for all hard work!

However I'm trying to connect to a vpn and I keep getting error saying the kernel image does not support the api? Anyway to get around this?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Try install the VpnDialogs.apk from the removed files link. Depending of what version you are running.

I never tested it..

Regards
[Galaxy S 4 i9506 Android Development] WonkyYew:
Works like a charm thanks once again :D
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP updated.

OP is now updated, all links should once again be working.

Please note:

I've kept all the previous versions, those will appear below the latest release. Did that because of the minor issue with vibrations.

Please report if you find something odd.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Well done again.. But I'm going to pass on this build as vibration is one of the most important part of my phone.

I have never use any ringtone on my phone, irritating. Lol.

Always on vibration or sometimes silent when sleeping.

Great work nevertheless.
[Galaxy S 4 i9506 Android Development] SoRiNuS:
Sometimes on reboot, the language changes to the default of CSC. Annoying.
[Galaxy S 4 i9506 Android Development] DeHAWK:
I thought I had this fixed...But my own just did the same.

Put on my to do list.

Thanks.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Ok, right now testing a fix for this annoying behaviour. Initial testing seems working.

Stay tuned.
[Galaxy S 4 i9506 Android Development] raghavan_nvr:
Looking forward to it... Thanks
[Galaxy S 4 i9506 Android Development] DeHAWK:
Update.

Great news! - Just got the vibrations to work.

Sorry for the delay, but I had to watch football.

Will upload the new kernel sometime Sunday.

The strange CSC behaviour is NOT yet fixed, it'a a bit tricky.

Good night
[Galaxy S 4 i9506 Android Development] kotaxor:
Ha.. Flashing time.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Update

New kernel is now online. Latest KNOX OUT system with the new updated kernel is uploading right now.

If you are already running the newest KNOX OUT system, you can just flash the kernel alone from the OP.

If running the previous KNOX OUT system, you must flash the latest KNOX OUT system, since it contains the updated kernel.

I'll be back when uploading is ready.

Stay tuned.
[Galaxy S 4 i9506 Android Development] kotaxor:
If I flash the new Knox Out over my previous KNOX Out system, do I need to flash the CSC again and will my data be all gone?
[Galaxy S 4 i9506 Android Development] SoRiNuS:
Vibrations are back. BTW the language doesn´t change to English, for me is changing to croatian i think. I am using the Spain CSC.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Update.

OP Updated.

Latest KNOX OUT (XXUBNE1) system, with latest insecure kernel (build 2014-07-05) - is now uploaded and the download links has been updated.

Made some changes to the kernel source by adding some 4.4.2 code for some drivers.

Fixed the vibration, works perfectly now.

Made some clean-up in the ram-disk.

Question: Will I loose my CSC when flashing the new system image?

Answer: Yes, flashing a system image will always remove the CSC! - You need to flash it again by following the given instructions. Make a backup if you have anything you want to keep.

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

Yes it's a very strange behaviour. I'm still trying to figure out what the heck is happing. Sometimes it change when powering on and sometimes not. Sometimes just a reset can make it change. If only it did the same every time...

I've done some investigation and the way Samsung applies the CSC, is not the way it should be done... ending up with a file in the system folder called 'csc_contents' containing an error message.

But as I said, I'll do my best to fix it.

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

OP updated with the latest Nordic Open NEEBNE1 combined CSC/Hidden image file for 4.3 KNOX OUT.

md5 checksum has been verified before creating zip file.

Zip file integrity has been verified before uploading.

Use ONLY 7-Zip for unpacking! - It's the only one that works 100%.
[Galaxy S 4 i9506 Android Development] dena994:
So now everything is working right?
[Galaxy S 4 i9506 Android Development] SoRiNuS:
I am using it and so far everything is ok.
[Galaxy S 4 i9506 Android Development] kotaxor:
@ DEHAWK, I'm using custom recovery, if flash your files, I should be unable to go to stock recovery for CSC to be installed.

Unless I first flash stock 4.3 firmware and then yours, ie start all over again. Am I right?

Or I can deal with having Samsung keyboard not working, anyway lm using SwiftKey.

Or my last option is to wait for your 4.4.3 when it come out and you had tweak it... Lol, should be out this month. And then once and for all flash stock 4.3 and then your custom 4.4.3 with CSC.

My friend, any opinion?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hi

This is how I would do it:

Flash the stock recovery for the version you are running now.

Then make the opdate with the ROM

and CSC. Setup the basics and then flash back your custom recovery.

Might take me some time to fix the 4.4.3, it's very different.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Nice.. Will try it tonight and feedback.

Edit: Done as you have suggested.. Lol

It was painless. Thanks
[Galaxy S 4 i9506 Android Development] Stabba:
Delete just something stupid.
[Galaxy S 4 i9506 Android Development] kotaxor:
Just found out that enforceskippingpackage.txt is not at system/etc anymore. It's at system/csc/xxx folder.

Just for your info.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Now this is strange. Did you experience the CSC problem mentioned earlier?

Perhaps this is not a Samsung fault, but our service provider doing something in the wrong way.

My provider puts the mentioned files in the system/etc folder.

In the csc folder, without a sub folder, they puts the rest of the CSC files. Not in a xxx folder as they should have. I'll try to make the sub folder and see what happens.

Who is your service provider?

I need to see how they do it compared to the NEE.

Thanks for letting me know.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Singapore StarHub.

I did not experience language reset problem as my default language is English.. I guess.

Edit :"I'm using SwiftKey in place of default keyboard, if I use titanium backup to move SwiftKey to system, upon reboot, Samsung keyboard will crash. Move SwiftKey back as user app, everything will be fine... Lol

Conflict of interest?

Just an observation

Side note :"vibration is working fine. Thanks
[Galaxy S 4 i9506 Android Development] harrisnehal:
Hotspot shield vpn, hideman etc apps are not working....
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Try downloading VpnDialogs.apk from my drive Removed Apks. It's one of the removed files in the Slim image. Look in my OP and follow the instructions. An other guy had a similar problem and after installing the VpnDialogs.apk everything worked.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
About the language behaviour.

Did a lot of searching and it seems that it could be caused by SuperSU.

I need to make more tests. It was a bug that was introduced late last year, but it should have been fixed long ago. .

I've made a suggested change to my SuperSU and is testing it now. But only tomorrow I know for sure if it works.

So stay tuned.
[Galaxy S 4 i9506 Android Development] raghavan_nvr:
Can you please add the option to write to external SD card as well? By updating the platform.xml file. Thanks.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Where is this file located?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Initial test of the language behaviour turned out to work.

After 6 hours in off my S4+ kept my own language.

I want you to test as well.

Open SuperSU and under the language settings, select your language manually instead of having it set to default. Let me know how it works for you.

If this is a bug in SuperSU, I need to contact Chainfire.

Regards.
[Galaxy S 4 i9506 Android Development] raghavan_nvr:
Here's the link -

http://www.androidauthority.com/galaxy-s4-gpe-android-4-3-sd-card-fix-254960/
[Galaxy S 4 i9506 Android Development] kotaxor:
That line “group gid =“media_rw“ is already in the latest Knox Out version.
[Galaxy S 4 i9506 Android Development] raghavan_nvr:
Cool... Thanks...
[Galaxy S 4 i9506 Android Development] kotaxor:
[MENTION=4188575]DeHAWK[/MENTION],

Any fix to get screen mirroring working?
[Galaxy S 4 i9506 Android Development] Stabba:
Ok so I deleted my last question because something terrible was happening with my phone but I am at a loss as to why my phone is being so temperamental.

I didn't have a knox enabled since my phone came with 4.2.2 from factory but since trying to update to the new 4.3 posted here Odin just keeps failing at different stages.

I have finally managed to get my phone to flash but now can't seem to flash back to 4.2.2 or even the first 4.3 DeHawk posted and my recovery now has this error which I don't know if it's meant to or not.

http://s16.postimg.org/5cmz3ag11/recovery.jpg

Can anyone tell me what the hell I have done wrong?

And no I have been flashing phones since Omnia days so it isn't something that's new to me but I must have screwed up somewhere.

Also DeHawk I changed SuperUser to my language and the phone had the language bug probably 2 reboots later.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Update.

Regarding the language issue.

My phone still on my own language, it has been nearly 12 hours since I last powered it on.

Never worked that long before.

For those who haven't got this to work: Go to program manager and clear all SuperSU, cache and data. Then un-install SuperSU. Reboot phone.

After reboot, go to Play Store, download and install SuperSU again. Reboot.

Btw. I was on the default English when I make the language change in SuperSU.

Please try and report back.

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

Looking at the link tells me that your CSC/Hidden is totally messed up.

Very strange about your phone.

I need to get confirmed:

Is Samsung KIES totally removed from your PC, with only the latest drivers left. Have you tried another USB port and cable?

It very important that you follow the KNOX OUT instructions carefully step by step to get the CSC working, even on the 4.2.2 bootloader. Using it myself on my 4.2.2 and it work perfectly.

Report back.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Still trying to get it to work. I've some ideas I need to try. The main problem is that we're rooted...

But I won't give up my root for screen mirroring.

Regards.
[Galaxy S 4 i9506 Android Development] Stabba:
Hi DeHawk, I only started getting that error in the recovery after flashing your latest knox out kernel for 4.3 so yeah not sure what has happened and also yes I should have mentioned I don't have kies installed only the drivers since I flash my other Samsung devices, also I have tried 3 different leads 2 of which are genuine Samsung as well as 2 different pc's 1 running windows 8.1 and the other running 7.

Like I said this isn't the first device I have flashed and have soft bricked my other phones a couple of times doing silly things but have always managed to recover them fine just for some reason this phone is being a pain.

Thanks again for your quick reply.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Are you able to flash the stock 4.2.2 from Sam Mobile?

Regards.

Edit

What version of Odin are you using?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Regarding CSC...After charging phone in off mode, it started up with default English.

So my first attempt didn't work.

I have now reverted back from SuperSU 2.01 to 2.0 to see what happens. I'll let you know the result.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Either am I.. Lol
[Galaxy S 4 i9506 Android Development] raghavan_nvr:
Did a dirty flash and all is working fine.. Vibration is back... Thanks a lot

Just had to remove the carrier bloatware again..
[Galaxy S 4 i9506 Android Development] Stabba:
Sorry took so long for a reply. I have tried from 1.85 up to the latest odin and still didn't work. Finally got standard 4.2.2 back on which fixed my error in recovery.

I haven't tried flashing 4.3 again but will soon.
[Galaxy S 4 i9506 Android Development] bumax:
Its all about HDCP protection and custom status of rom. This problem has been always on devices with screen mirroring and custom rom.

It can be fixed from /system/lib/libWFD_ENGINE.so by disabling HDCP.
[Galaxy S 4 i9506 Android Development] kotaxor:
In my rom there is no libWFD_ENGINE.so

Just a libWFD_RETRANSMIT.so
[Galaxy S 4 i9506 Android Development] DeHAWK:
Found it on my S3+ in system/lib

I'll try to find it on my S4+ too, when I get home.

Regards.
[Galaxy S 4 i9506 Android Development] osdgap:
Latest 4.3 Stable release., installed this yesterday, got error message, Samsung keyboard stopped work, any help? Workaraound so far, i installed anothe Keyboard and set as Default.

PS: same error with Previous version 4.3 Stable release
[Galaxy S 4 i9506 Android Development] kotaxor:
[MENTION=4188575]DeHAWK[/MENTION],

Finally got screen mirroring working, thanks to sorg.

Need to replace libwfdsm.so in system/vendor/lib

http://xdaforums.com/showthread.php?t=2621550
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

You must have been doing something wrong while flashing the combined CSC/Hidden file together with the rom. Don't let the phone automatically reboot...unmark that in Odin. If you follow the 4.3 KNOX OUT CSC/Hidden instructions very carefully, it works.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
So now it's only the strange CSC behaviour that needs to be fixed.

I'll try to contact sorg and ask for permission to implement this in my rom.

Regards.

Edit

Tested on my S4+ and it actually. works as it should.
[Galaxy S 4 i9506 Android Development] kotaxor:
Not encountering the CSC behavior here.. Maybe because my default language is the same as my isp.
[Galaxy S 4 i9506 Android Development] osdgap:
I'm on your Rom already, how can i get my csc file without reflashing a stock Rom, my carrier is not in the list, Germany vodafone!
[Galaxy S 4 i9506 Android Development] kotaxor:
Download your stock firmware from sammobile and send the two files as stated in OP to DeHAWK. He will assist you on the CSC
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

If you can't find your CSC/provider, I have included instructions how to get the two files out of the stock rom. Just follow the instructions then I make an Odin Flash able file and put it up in section.

As you can see, I already have a lot, all provided by the users here on XDA.

Regards
[Galaxy S 4 i9506 Android Development] DeHAWK:
Argh...you're faster than me.:thumbup:
[Galaxy S 4 i9506 Android Development] DeHAWK:
I've now contacted XDA-member sorg and asked for permission to include his screen mirroring fix into my rom. If its ok for him, I'll upload new version ASAP.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Sorry, just trying to assist knowing that you might be busy. [emoji56]
[Galaxy S 4 i9506 Android Development] DeHAWK:
CSC Update.

OP updated with Vodafone - Germany (VFGBML1) combined CSC/Hidden image file for 4.3 KNOX OUT.

md5 checksum has been verified before creating zip file.

Zip file integrity has been verified before uploading.

Use ONLY 7-Zip for unpacking! - It's the only one that works 100%.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Good news.

XDA-member sorg has now replied to my question. I'm allowed to implement his screen mirroring library in my system.

I'll tomorrow upload a new updated system version which will include his great modification.

Big thanks to XDA-member kotaxor for finding this mod and for letting me know.

Only one problem remains...the strange CSC behaviour on some phones, including my own.

Regards.
[Galaxy S 4 i9506 Android Development] osdgap:
Everything works now in the system.

When booting there still the yellow line, set warra bit: kernel.

Is there a way go get rid of it?
[Galaxy S 4 i9506 Android Development] kotaxor:
Not at this moment
[Galaxy S 4 i9506 Android Development] osdgap:
my battery Shows andoird OLS with 40%

cpu 9M 22S

wake time 15M 55s

this after 3 hours usage, Akku Shows 90% remaining
[Galaxy S 4 i9506 Android Development] mar10o:
Well, I've tested downgrade option on my "special" 4.3 ( had too much time to waste.. ;)) . Flashed 4.2.2 without any problems. It wasn't booting on first try, but simple wipe under recovery helped. Next, I've flashed 4.3 and now I'm with KNOX. I think it was only some king of bug, that prev flashing gave me no-knox version from official source.

KNOX is not so bad after all, I'm rooted and debloated with KNOX 0x0 using towelroot (great tool, very easy to use).
[Galaxy S 4 i9506 Android Development] breakingstorm:
does towelroot always root without activating knox flag to 0x1 :)???

and willl the knox flag be on 0x1 if i root with towelroot and afterwords install custom recovery or something?