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

You can use the XXUCNI1 system when it becomes available for download again. I don't have downloads for specific carriers, since everything is made on Open Europe and can be used with all running the international GT-I9506.

If you need a special CSC, look if it's available in the 4.4.2 or 4.3 section. If not, you should follow the instructions in the OP regarding how to get the CSC and upload to me.

I've included an open Nordic CSC, this because a CSC is needed and the Open Nordic is not filled up with a lot of unnecessary crap.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
When I flash my carrier's stock XXUCNI1, camera not working.

Tried it twice, still facing same problem.

Guess XXUCNI1 is not for me.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Very very strange, have you tried to flash the older stock XXUCNG3 and tested it again on that?

My camera is working perfectly on XXUCNI1 De-Odexed, insecure kernel. But I never flashed the whole file, only the update package I had for download.

Does anyone else have this problem on stock XXUCNI1?

Regards.
[Galaxy S 4 i9506 Android Development] eileddie:
Thanks for your great work DeHAWK. I´m using your old version 4.3 on Bootloader 4.2.2 and think it´s time to try 4.4. I have a little trouble finding out how to get forward from this version?

Version: xxx.dropbox.com/s/b9ytdwd3xff72zv/Screenshot_2014-11-07-09-22-57.png?dl=0

You have to change the link :) (ALL new users prevented from posting outside links in their messages)
[Galaxy S 4 i9506 Android Development] kotaxor:
Hi,

XXUCNG3 has no problem, camera fine.

Either the file is damaged during download or there is problem using Odin in flashing.

My colleagues ota download and installation when without any problem.

May have to try just your update package on deodex XXUCNG3.
[Galaxy S 4 i9506 Android Development] hou$$:
Hello Thank you very much for everything DeHAWK

I have install the last full firmware I9506XXUCNI1_I9506NEECNI1_NEE and I Flah the AutoRoot_GT-I9506_XXUCNI1

I want to Use your Insecure Kernel So I have Flash th e last Custom Recovery TWP twrp-2.8.1.0-ks01lte.20141022.tar

Question

1) Can You PRovide a link Of the Stock Kernel of I9506XXUCNI1 please ?

2) Where Can I Find Your De odexed Method for the New Firmware I9506XXUCNI1 ?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Right now uploading full stock NEE-I9506XXUCNI1 firmware. Later will follow the XXUCNI1 update package for XXUCNG3 and XXUCNI1 De-Odexed version.

These are the same as before removal and what I'm using myself atm.

As said, after installing Fancy Widgets on XXUCNI1 (my own update) to replace the Samsung Weather widget, I haven't had any problems.

Might release a new kernel for XXUCNI1 since I have discovered a minor problem with WiFi reconnect.

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

4.4.2 section, 1st. - Stock firmware files. Now re-updated with full Samsung stock NEE-I9506XXUCNI1 firmware.

Also re-added stock kernel and stock recovery for XXUCNI1.

De-Odexed version will follow later.

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

Any interest in having S5 backgrounds?

These should be able to choose as the already included backgrounds.

You will not loose the original backgrounds but just have more to choose from.

Please let me know.

Regards.
[Galaxy S 4 i9506 Android Development] Justie:
Please,i am little confused. Which 4.4.2 version of firmware should I install? Which is ok,without problems with widgets and root? My device is on 4.3 now.
[Galaxy S 4 i9506 Android Development] :
Hi DeHAWK,

first of all thank you very much for your hard work !

I read all of your Doings in first Post and it works great.

I did update 4.2.2 (DTM German T-Mobile) => Open Nordic full firmware NEE-XXUCNI1 with Root (insecure Kernel XXUCNI1)

But now i am confused.

My guessing was, that after flashing XXUCNI1 (with odin) i have to flash the DTM-CSC mentioned in your first post.

But. After flashing the phone boots up with all correct settings.

I have 2 Questions on this:

Why i must not flash the German DTM CSC even i used the Nordic XXUCNI1 ? Everything seems to work well.

Is it usefull to backup EFS Stuff before ?

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

No need to flash own CSC/Hidden.

I just made them because some folks like to have those carrier specific apps and settings.

If you like it as it is now and it works as it should; just keep it.:)

If you need own CSC, no need backup EFS but it never hurts.

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

Well...as you see, S5 backgrounds mixed with our own.

Just need a little more testing.

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

Most stable is XXUCNG3. But, I personally prefer XXUCNI1 now after my latest build and mods.

If in doubt, just ask in here.

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

Just to check, I can flash your XXUCNI1 De-odex (when it comes out) directly over the existing XXUCNG3 De-odex?

Meaning only system/app, system/privapp and framework only will be change?

Need to immediately flash XXUCNI1 insecure kernel after that?

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

I suppose your camera is working again. Back to the question; first you need to flash the XXUCNI1 update file with Odin 3.09. It contains original kernel, recovery, open Nordic cache / hidden and the whole system.

When system is ready, you flash the TWRP custom recovery. From TWRP; now flash insecure XXUCNI1 kernel. You're now rooted and KNOX free. Screen mirroring and init.d fixed with kernel fkash. Now let phone boot and check that everything is running ok.

Now boot to TWRP and flash the XXUCNI1 update.zip file.

I automatically clear cache and dalvik cache. BUT I've found out that using TWRP for this is much better. When my script tells you to reboot, DON'T!!

Now go to TWRP Main screen and select Wipe, then select Advanced Wipe, now select the following; Dalvik Cache, Cache and Preload.

Now swipe to clear.

When done, go back and reboot phone (system).

Let phone setup and you're done.

That's how I do it myself.

Now go to Google Play and update/install Chainfire's latest SuperSU and whatever you need.

Missing files in OP, regarding XXUCNI1 will come up today.

If you later on want my SecWallpaperChooser.apk with S5 screens added, no problem.

Testing is done and I'm really satisfied with the result. But it requires a special way for installation. I'll make 2 versions: one for hard core users and one for TWRP.

Stay tuned.

Regards.

EDIT

If you encounter the widgets problem (getting black); go to Google Play and install Fancy Widgets. That's what I did and not using Samsung Weather widget.
[Galaxy S 4 i9506 Android Development] P0tato:
Applications force closing for me like google play and tapatalk, Im using your insecure XXUCNI1 kernel
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Did you make a FOTA update to XXUCNI1 or did you flash the original XXUCNI1 image using Odin?

In both cases; make sure to use TWRP and make a wipe as I described in the above post.

I never flashed the official XXUCNI1, I updated as described in above post.

De-Odexed version of XXUCNI1 willl come later today. But it works perfectly without it.

Otherwise try make a factory reset.

I have never had any problems with FC on my phone.

Regards.
[Galaxy S 4 i9506 Android Development] P0tato:
I bought this phone 2 days ago and installed every firmware update that I got and after that I flashed cwm and your kernel, thats all. Maybe a factory reset will help but Im waiting for your deodexed kernel first :)
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP Update.

4.4.2 section, 3rd - Update from XXUCNG3 / XXUCNH4 to XXUCNI1.

Now re-updated with XXUCNI1 image file for Odin 3.09.

4.4.2 section, 4th - You want De-Odexed and KNOX free?

Now re-updated with De-Odexed XXUCNI1 update file for custom recovery. I strongly recommend using TWRP!

The modified SecWallpaperChooser.apk now including Galaxy S5 backgrounds will follow later.

Stay tuned.

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

Ok, you updated using FOTA!

I want you to try this:

Download and flash NEE-I9506XXUCNI1 full original firmware from my OP 4.4.2 1st section. Make sure to follow the instructions.

Now find the TWRP custom recomvery and flash it. Link should be here: http://xdaforums.com/attachment.php?attachmentid=2981465&d=1414012014

Now you can flash the insecure kernel and De-Odexed files, see my earlier post for XDA-member kotaxor for further instructions.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Thanks for the head up, will try this later as I'm busy this last few days.

I had flash the original stock firmware and it cause camera problem beside the Bluetooth problem which I have been having.

I have been using TWRP and as such manage to flash my Nandroid backup of XXUCNG3 back in no time.

Going to give your method a shot once I have the time to download all the necessary files.

Thanks again
[Galaxy S 4 i9506 Android Development] P0tato:
Im gonna try it tomorrow and come back with the results :)

Btw, I did a factory reset , wiped cache and dalvik cache but its the same, apps force closing randomly
[Galaxy S 4 i9506 Android Development] kotaxor:
Hi

Have some free time today, Sunday, and downloads all the required files.

Flash as per your instruction to a "T".

Everything working as per normal.

Except for Bluetooth that's not working (Its was not working on previous version too).

One last question, do I did to flash my carrier/country csc?

It working fine without doing any change in csc thou.

Thanks for your great work, much appreciated.

Looking forward to your great work when Android L for our device come out earlier next year.
[Galaxy S 4 i9506 Android Development] zzzhead:
Installed the 4.3 version recently. Works great thanks!
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Very good news, you got the camera working again on XXUCNI1 using my insecure kernel and De-Odexed files.

There must be something wrong in the release from your carrier.

As said earlier, if you're happy with the Open Nordic CSC and it's working without any issues, stay on it. It's free of all that crap apps carriers normally put in the CSC/Hidden files.

But when said, some carriers put interesting apps in these files. In a carrier package I was repacking, I found maps and other things related to some kind of GPS app. It was from an Australian carrier.

Regarding your Bluetooth problem, I've no solution. It's working on others phones including my own.

I suspect you have a hardware problem. But as far as I remember, you said it was working on 4.3...that's strange.

I need to know, when updating to 4.4.2 this last time, did you flash a full original 4.4.2 from your carrier or the full Open Nordic from my OP 1st section.

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

Yes, but you was using CWM. xda-member kotaxor was doing a lot of testing on both CWM and TWRP and his conclusion was that TWRP was much better. I then tested TWRP myself and I my conclusion is the same. TWRP IS much better. Is has abilities to clean and wipe the phone not found in CWM. Some of my problems actually disappeared when switching to TWRP.

You did a factory reset, yes but with CWM installed. CWM simply doesn't do the job good enough.

Try the method as I said. Look at kotaxor, he now got the camera working again.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Camera working fine.

I had to agreed with you.

Initially when I flash original stock XXUCNI1 from my carrier, did encounter a few problems other than camera, can't remember exactly.

Yours have totally no issues.

To answer your last question, from your 4.3 Knox Out, I had use my carrier stock XXUCNG3 for flashing and then your custom kernel and de-odexed files.

I understand what you are implying, it could be due to my carrier ROM if it's not a hardware issue.

Look like I have to wait for Android L, flash my carrier ROM and hopes Bluetooth works before rooting.

Thanks again.
[Galaxy S 4 i9506 Android Development] kotaxor:
[MENTION=4188575]DeHAWK[/MENTION]

Have been testing XXUCNI1 for about a day, seem snappy as compare to CNG3...Good.

Gonna test for battery for the next few days.

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

every time I flash a 4.4.2 rom the device will crash on boot or immediately after.

I just want to flash a stock rom.

I can go back to 4.3 and everything works fine.

German Telekom's own update to 4.4.2 does not work. Somehow the kernel keeps crashing and i don't see any reason.

Same problem is with CM 11.

Something wrong with the bootloader?

Thanks for Help.

- blub3k
[Galaxy S 4 i9506 Android Development] kotaxor:
Hi

You flash stock Rom with Odin?

Which version of Odin are you using?

Some version have problem.

Try using the version from OP.

Which version of 4.4.2 are you flashing?

Try Dehawk version.
[Galaxy S 4 i9506 Android Development] blub3k:
Yes i am flashing stock with odin v3.07

Odin completes flash successfully .

Got the phone from a friend. She just wanted to make a regular system OTA update.

I flashed the Nordic Version from the first post.

Dont remember where i found the 4.3 Version.

PS: all CWM recovery fail to Start. Only twrp 2.8 in some Version i found for the device is working
[Galaxy S 4 i9506 Android Development] kotaxor:
So problem solve?

If not try flashing with Odin 3.09 instead.

Did you flash your carrier csc?

It seem CWM cannot restore a nandroid backup properly, I have tested it numerous times, even cannot get a proper flash.

I had change to the latest version of TWRP and it's working great. Got proper restore of backup and flashing without issues.
[Galaxy S 4 i9506 Android Development] blub3k:
okay. i will try with 3.09.

Yes. CSC is included in the stock rom.

I am not flashing trough recovery. that was just for information. i do not have any nandroid backups.

but i dont think that 3.09 is working. the OTA already did not work with the same problem.

something is preventing the new kernel from working properly.

i thought i might be a bootloader problem but the bootloader should update when i flash the new rom?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

You must use Odin version 3.09.

Furthermore; from the information you give, it seems to me that your bootloader is still on 4.3. And that's why you're having these problems.

In Odin v3.09; mark the Update Bootloader option together Auto Reboot and F Reset Time. Now load the full stock 4.4.2 firmware you want to flash. After the md5 check is done, press Start and wait.

Let us know how it goes.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Hi Dehawk,

As per instructions, screen mirroring is working again.

I think you need to amend your instructions..lol

So it not just the libs that is causing the problem because I have manually replaced it, reboot and still can't get mirroring to work.

Care to enlighten on this?

Thanks again
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

But you got it to work after reflashing the insecure kernel?

Or did you have to make other changes too?
[Galaxy S 4 i9506 Android Development] kotaxor:
Yup..just by re-flashing the insecure kernel.

Thanks
[Galaxy S 4 i9506 Android Development] DeHAWK:
Yeah, I know...need to redo the flashing instructions to read:

ATTENTION!

De-Odexed system MUST be flashed before insecure kernel.

In other words; Insecure kernel must be the last thing that is flashed, this because it contains some files that should not be overwritten...

How about the Samsung widgets?

Regards
[Galaxy S 4 i9506 Android Development] blub3k:
Does not work. Still the same problem. I used your Odin 3.09 version.

In Download Mode i can read:

"QUALCOM CESUREBOOT: ENABLE" and

"WRITE PROTECTION: Enable" and

"UDC START"

Do I have to unlock something first?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Customized SecWallpaperChooser.apk installation.

OK guys, as promised here's my customized SecWallpaperChooser.apk. I've added the Galaxy S5 background/lock screens.

You now have both the original S4+ backgrounds/lock screens and the S5 backgrounds/lock screens to choose from.

The following instructions is ONLY for hardcore root users, people who's, not afraid browsing in the dark side of the phone.

It requires you to be ROOTED!

Download the below SecWallpaperChooser.zip file, unpack with 7-Zip, file integrity has been verified before uploading. Now put the .apk file on the SD-Card or External SD-Card.

I recommend using either ROM Toolbox or Root Explorer for doing the following.

Using one of the above; go to ROOT/system/priv-app, find the SecWallpaperChooser.apk and rename it to SecWallpaperChooser.apk.bak.

Then you can always revert back if you want.

Now copy the SecWallpaperChooser.apk which you just placed on the SD-, or Ext-SD card to the ROOT/system/priv-app.

Now you need to set the right file permissions; select the SecWallpaperChooser.apk and set permissions to rw-r--r-- or as I like to put it; 644.

Now verify and set Ownership; Owner: ROOT and Group: ROOT

OK, first part is done.

Now we need to delete some files...

Go to ROOT/data/dalvik-cache/

Delete the following file: system@priv-app@SecWallpaperChooser.apk@classes.dex

ATTENTION: Be 100% sure you delete the right file!!!

Now back to the ROOT.

Go to ROOT/data/data/

Delete the following file: com.sec.android.app.wallpaperchooser

ATTENTION: Be 100% sure you delete the right file!!!

That's it, we're done.

Now exit and REBOOT the phone.

The new file should now be installed.

You now have even the S5 backgrounds/lock screens to choose.

ISSUES: The first time I opened Settings/My device/Display/Wallpaper/Home screen/Backgrounds I got a FC...and after a while the phone rebooted itself.

This only happened ONCE and I've NOT experienced this ever since the first time.

To be honest, I have no idea why..but it has been working without any issues ever since, even with Apex launcher.

If you guys like it, I'll make a version for TWRP. Then you don't have to do anything yourself.

This version SHOULD work on all three 4.4.2 versions, but I've only tested it on XXUCNI1.

No more crap, here's the download link:

https://drive.google.com/file/d/0B6he3hscczvdcnU5d2hqY1d4enc/view?usp=sharing

Please report back!

If you like it, I might do other S5 conversion.

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

I have exactly the same on my phone, so no problem. I find this very strange, you can flash 4.3 without any problems. But when trying to flash 4.4.2 it fails...

So even with the Update Bootloader marked in Odin 3.09 it fails.

Who is your carrier?

AFAIK no operators in Europe lock the bootloader, never heard this before. Even people in the east and Australia are using my stuff without any problems. But it seem to me that the bootloader is locked to the carrier and that's why I ask for your operator.

Have you tried to flash an Original 4.4.2 from your ISP? - If the bootloader is lock to ISP it will not allow anything else to be flashed.

Are you able to flash my 4.3 KNOX OUT?

Very interesting.

Regards.
[Galaxy S 4 i9506 Android Development] blub3k:
right

German Telekom

Dont have any DTM Stock rom for 4.4.2. But i tried to flash 4.4.2 update as OTA from DTM 4.3 rom.

flashing at this moment. how long does it take?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Yeah. Now converting the SmartRemote app from the S5..

Stay tuned for more interesting info.

Regards.
[Galaxy S 4 i9506 Android Development] blub3k:
So I waited 20 Minutes and aborded the installation.

I reflashed 4.3 ... still working. the only thing i can flash is this stock 4.3 rom.

Info: now CWM is now working but not TWRP anymore.
[Galaxy S 4 i9506 Android Development] sevenlife:
I tried it. No fc on sttings like you. All great so far. Ty!
[Galaxy S 4 i9506 Android Development] blub3k:
with working 4.3 i can boot CWM recovery

with not working 4.4.2 i can flash and boot TWRP

now I cannot flash 4.4.2 anymore. tried some repartitioning and hidden image fails now to flash.

---------- Post added at 09:06 PM ---------- Previous post was at 08:29 PM ----------

somehow i found i signed pit file for the 9506 (i wish i had not).

this pit file formated me a 100mb hidden partition, but all samsung stock roms need 120mb hidden partition.

how to i get a signed pit file with 120mb hidden partition for this device?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Wow, now you really screwed up your phone. Never ever flash a pit file, unless you know exactly what you're doing. The pit file is normally not included in the original image and therefore not easy to get. Right now I think the best thing to do is to let a Samsung service center or the carrier provider center center have a look at it. They have the right tools for fixing this problem. Tell them about a failed OTA and that you then tried to update usind KIES.

Btw..have you tried to fix the phone using Samsung KIES?

Sometimes it actually can fix the phone.

Flash back an original 4.3 firmware for your provider, important. When done, download and setup KIES on PC and try to make KIES repair the phone.

If not able to flash 4.3, just give it chance anyway. Perhaps you might get lucky and KIES will fix the phone.

Btw 2. Did you by any chance have any KIES running on your PC when trying all this?

Any running KIES process on the PC will in most cases screw up the Odin flashing.

Good luck.

Regards.
[Galaxy S 4 i9506 Android Development] blub3k:
i tried KIES in my VM. That did not work. KIES wants a restore code that i dont have.

But i had problems with the VM before. maybe i should try this again on my native windows.
[Galaxy S 4 i9506 Android Development] kotaxor:
Hi,

Did not try samsung widget, using beautiful widget.

Never like samsung widget, already removed.
[Galaxy S 4 i9506 Android Development] sag:
Hi DeHAWK,

SGS4+_442_Firmware_XXUCNI1 + De-Odexed and KNOX free XXUCNI1 + Insecure kernel

Al working like a charm last 48h.

Still no time to try S5 Wallpapers.

Great work man! Hats off!
[Galaxy S 4 i9506 Android Development] kotaxor:
Hi bro,

Well done, working fine on my phone, no fc.

Lol...you have become a themer too, can now have choices in just one thread.

Will be waiting for your upcoming theme changes.

Thanks again.
[Galaxy S 4 i9506 Android Development] sh0ne:
cm11.0

Hello Dehawk !

I wanted to test new official cm 11.0 , i got the 4.3 on my phone, I flashed http://xdaforums.com/galaxy-s4/i9506-develop/recovery-twrp-2-8-0-0-touch-recovery-t2887037 and then cm11.0 nighty , and I got stuck up in to Bootscreen looping of CM.

Do you maybe know whats wrong? ( ev. bootloader?)

mate please help
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Yes, you mentioned it yourself; bootloader. Afaik, to run CM11 it requires the 4.4.2 bootloader.

Have heard about similar problems with CM11 and I think they solved it by updating the bootloader.

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

Do you plan to do a version (Zip flashable) with some tweaks or aroma ?

Maybe add sound mod, add xposed with wanam etc ? :)
[Galaxy S 4 i9506 Android Development] DeHAWK:
Information.

Right now working on a little hack, but it requires some work.

IF it works as expected, it should always show Official under Devicestatus...even if rooted or running my custom system.

Stay tuned.
[Galaxy S 4 i9506 Android Development] sh0ne:
Hello Mate, i have done it worse, i flashed cwm and i think warranty is gone , but your 4.3 still rulez!!! Thanks
[Galaxy S 4 i9506 Android Development] sh0ne:
Hmmm one Q: is it possible to backup the complete phone with your 4.3 using cwm, and if it runs bad to restore it back without problems with cwm?
[Galaxy S 4 i9506 Android Development] eileddie:
Is it possible to go from

Android 4.3 I9506XXUBML6

Kernelvession 3.4.0 DeHAWK@NP-700G7C #1

Build JSS15J.I9506XXUBML6

To newest Android version using Samsung Kies?

If it works.. Does it trigger KNOX 0x1?
[Galaxy S 4 i9506 Android Development] kotaxor:
Version XXUCNJ1 for 4.4.2 is out