yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] sh0ne:
I think your system is fault...

get the newest drivers:

1st uninstall old, reboot , downoload mode, ....odin

http://xdaforums.com/showthread.php?t=1655286

then try again.
[Galaxy S 4 i9506 Android Development] Numero17:
i try but odin seems stop but nothing happens. When i install firmware of shv e330s i have not problem but when i try install this firmware of stock firmware of 9506 i have problem
[Galaxy S 4 i9506 Android Development] casiocas:
Hey!

Dose the Odin detect your device? Maybe you just trying but Odin not detect your device!?

Peace for all!!!

:cool:
[Galaxy S 4 i9506 Android Development] Numero17:
yes odin detect my shv e330s
[Galaxy S 4 i9506 Android Development] casiocas:
Hey!

In what window syou are? Windows XP, seven, windows 8,......?

Try to run Odin like Administrator.

Peace for all!!!

:cool:
[Galaxy S 4 i9506 Android Development] Numero17:
windows xp. i think that firmware of 9506 are not compatible with shv e330
[Galaxy S 4 i9506 Android Development] DeHAWK:
I want you to try flash the stock GT-I9506 kernel on the first page.

If it fails, you can always flash your stock firmware. I think this might be the so called region lock, but not sure. Otherwise I'll might let you try my own build kernel, with no lock at all. But it's still an alpha version, so some things don't work atm.

See ya
[Galaxy S 4 i9506 Android Development] Numero17:
you advice me to install before kernel and after rom?
[Galaxy S 4 i9506 Android Development] DeHAWK:
From your currently stock firmware, flash the kernel from page 1. If this turns out OK, flash my system image.

Otherwise I might have to make an image for the e330s model, pre-rooted and fully DeOdexed.

How about that:cool:

See ya
[Galaxy S 4 i9506 Android Development] Numero17:
can you make an image wihtout korean app and H+ rather than 3g and 4 coloumn for notifications panel?
[Galaxy S 4 i9506 Android Development] DeHAWK:
I can make it with the apps that appears in the European model. What appears in the status panel I atm. don't deal with.

But now try the first thing I suggest.

See ya.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Someone has asked me if I could make a slim version of the system image (about 70 apps pre-removed). After some consideration, I have decided to do that. I will return with a download link when the image is made, tested and uploaded.

See ya.
[Galaxy S 4 i9506 Android Development] Numero17:
I flash kernel and I flash your image. But when I turn on he load and appears for a few second an white image and phone it s black maybe he turn off. I flash with his software and now works fine. So I think it s better make a image for e330
[Galaxy S 4 i9506 Android Development] DeHAWK:
Need to know the following from your current firmware;

Product code:

PDA:

CSC:

MODEM:

See ya.
[Galaxy S 4 i9506 Android Development] Numero17:
Ap and cp e330sksuami2 csc e330ssktamh1
[Galaxy S 4 i9506 Android Development] DeHAWK:
Ok, I have now made a slim version. Removed about 600MB...

Time to test.;)

Stay tuned.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Fetching the firmware. Will return when your image is ready for download. Please be patience.

See ya.
[Galaxy S 4 i9506 Android Development] sh0ne:
YOU ARE THE MAN! THAT IS A:W:E:S:eek::M:E!!! KILL EVERYTHING IF possible all :D kill google play also! kill all! :D:good::good::good::good:
[Galaxy S 4 i9506 Android Development] DeHAWK:
PIT flash done. Just flashed a pit file on this phone. This done on my "old' GT-I9506 with 4.2.2 bootloader, running my 4.3.

First attempt failed, but after patching the pit file (removing some 00 padding), the flash was successful. This phone was NOT carrier locked, don't known what happens on a carrier locked model.

I had repartition marked!

Phone flashed and then rebooted. No problems found, what so ever.

Also compared the old S4+ pit file against my Black Edition running 4.4.2 bootloader XXUCNG3 with XXUCNH1 system. 100% match.

Stay tuned.

Regards.

EDIT

Will of course give full instructions about this. Most important is; we can now flash and repartition back to original Open Europe partition table.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Looks exactly as it should. No issues found. Now you just need to backup pit file and the others.

Not sure if Titanium Backup can fix this. Now I know how Samsung does. All phones are the same; US, Europe etc.

It's all about pit, efs, modemst1 and modemst2. All these are flashed from factory. They never appears in downloaded original firmware.

But I'm pretty sure I can make a US S4+ to an Open Europe model without carrier branding.

Regards.
[Galaxy S 4 i9506 Android Development] DualJoe:
That's your decision. Be aware though that you're violating the GPL that is clearly against the rules.
[Galaxy S 4 i9506 Android Development] sag:
Hi,

On your 4.4.2 XXUCNH4 I had write privilege to sd, but on 4.4.2 XXUCNI1 I had to edit /system/etc/permissions/platform.xml and change:

“android.permission.WRITE_EXTERNAL_STORAGE” permission

Change it from :

<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >

<group gid="sdcard_r" />

<group gid="sdcard_rw" />

</permission>

to :

<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >

<group gid="sdcard_r" />

<group gid="sdcard_rw" />

<group gid="media_rw" />

</permission>

Could I suggest to include this in your 4.4.2 XXUCNJ1?

Not sure if this already is included, as I'm still on 4.4.2 XXUCNI1 waiting for 4.4.2 XXUCNJ1 insecure kernel.

Thanks for your patience and good work
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP Update.

OP 4.4.2 - 4th- You want De-Odexed and KNOX free? XXUCNJ1 updated, for custom recovery. Fixed permissions for WRITE EXTERNAL STORAGE. This fix was kindly provided by xda-member sag.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
I'll deal with you later pal...
[Galaxy S 4 i9506 Android Development] DeHAWK:
And you to for that sake.
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP Update.

OP 4.4.2 - 2nd - 4.4.2 Rooting instructions: Insecure kernel for XXUCNI1 updated for custom recovery.

OP 4.4.2 - 2nd - 4.4.2 Rooting instructions: Insecure kernel for XXUCNJ1 added for custom recovery.

For both the above; added the platform.xml permissions WRITE EXTERNAL STORAGE fix, kindly provided by xda-member sag.

Kernel sources rolled-back, thanks to the yelling from xda-members kiffmet and DualJoe.

4.4.2 base kernel sources added.

Regards.
[Galaxy S 4 i9506 Android Development] :
It is rather childish, making your product worse for everyone just because you do not want to release the source of your modifications. And dont blame me or the mod for that. It was your decision to act that way. If you dont like what the GPL says you shouldn't have started developing on the linux kernel in the first place. Besides, your source drop is a joke as it is exactly the same as I can get from the Samsung homepage.

My only reason for asking you to release the sources was to use something great and make it even better for everyone, but you ruined it.
[Galaxy S 4 i9506 Android Development] kotaxor:
Well, I'm so sad ?

Look like development at this thread will come to a standstill.

Just when I thought something good is coming to our S4 model.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

No hard feelings bro. My kernel is the same. It's still very stable and fast. I've never claimed it be to anything special. I want it to be as compatible with the stock kernel as possible due to the system.

The only reason I changed it, was because of all the problems I was struggling with WiFi and Screen mirroring. But it didn't help me what so ever. All it gave me was a lot of unnecessarily work. Yes WiFi IS now working, because I use the modules compiled with the kernel, instead of the original from Sammy.

Yes the uploaded sources is Samsung's own and it IS in fact those used for all the 4.4.2 versions.

Everything else is how you prefer to setup your scripts and choosen Cross-compiler.

OK, I was quite upset, but forgive me. I have recently had an accident at my job, hurt my mead and the doctor send me home...yeah, I'm working at a hospital.

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

No need to be sad. Read my previous post. I'll still fight Samsung KNOX, and deliver kernels, systems etc. Right now working on post #2, which will, when ready, explain how to get these files I was talking about earlier. How to flash them and how to deal with the PIT file. How to grab it for backup, editing of it and how to flash if back if something goes wrong with the existing one.

I'll also provide you guys with my own PIT file, for the international GT-I9506. This PIT file has been tested on my own phone with Repartition set in Odin and therefore I know it works.

So stay tuned bro.

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

Hope you are OK ?

I'm ready to test your insecure kernel.

And your PIT fold too.

Please do not get too upset with what's happening, there was and it's still going on, about themes of SwiftKey at another thread. Many ppl were upset.

Recover well, my friend.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Thanks bro, I need to keep calm and don't get upset. Doctor told me to relax...

Insecure kernel for XXUCNJ1 is now all public.

Regarding screen mirroring; it worked the first time after flashing the kernel I compiled aftet rolling back the sources. I said to myself; **** it works...

But then, after the phone was powered down...not working. This really drives me crazy. I saw you attached the file to the patch-creator. Good! And I added a comment a few minutes ago.

Bro, no need to flash pit file if phone is OK. But you need a backup.

Instructions will come up in post #2.

Regards and have a great day.
[Galaxy S 4 i9506 Android Development] kotaxor:
Thanks.

Your insecure kernel is snappy.

But too bad screen mirroring is not working for me too.
[Galaxy S 4 i9506 Android Development] b0mber85:
Just recover and don't stress too much. You are developing and still answering to everybody to help people.

A great guy for sure
[Galaxy S 4 i9506 Android Development] eileddie:
When I flash the De-Odexed firmware I got this messages. Is it working anyway?

I flashed the Autoroot first !

Failed

E:Error executing updater binary in zip /external_sd/update_XXUCNJ1.zip

Error flashing zipexternal_sd/update_XXUCNJ1.zip
[Galaxy S 4 i9506 Android Development] DeHAWK:
POST #2 Updated.

I've now added lots of useful information about the PIT file and the other partitions. Work still in progress, and new information will be added as I find out. I'll use the above line, whenever new information has been added. Backup of previously mentioned partitions is still to be added, so stay tuned.

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

When flashing the Autoroot using Odin, it will automatically install the stock XXUCNJ1 recovery image.

So to install the De-Odexed update.zip file, you must first install a custom recovery. I strongly recommed you to use the TWRP 2.8.1.0, since it can delete selected sections the right way.

After installing the custom recovery, go ahead and install the De-Odexed firmware.

Regards.
[Galaxy S 4 i9506 Android Development] eileddie:
This is the error message from the TWRP 2.8.1.0

I installed in this order:

GT-I9506 4.4.2 - Open Nordic full firmware NEE-XXUCNG3. (Date ??)

Update - SGS4+_442_Firmware_XXUCNJ1 <--------- Download link. - Updated 2014-11-15.

AutoRoot for GT-I9506 4.4.2 - XXUCNJ1. <--------- Download link. - Updated 2014-11-16.

TWRP 2.8.1.0

GT-I9506 4.4.2 - Update_XXUCNJ1.zip. <--------- Download link. - Updated 2014-11-21.
[Galaxy S 4 i9506 Android Development] DeHAWK:
OK. You're right, I made a mistake in the updater script.

Made a new file, flashed it to test. Will start uploading in a few minutes. I'll report here when new file is ready.

Thanks for reporting.

Regards.

EDIT

Even if this error occurred, the system is still flashed. This was an error occurring while setting a file permission after the flashing.
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP Opdate.

OP 4.4.2 - 4th - You want De-Odexed and KNOX free? - Re-uploaded update_XXUCNJ1.zip. This due to an error in the updater script.

This one has been verified on my own phone. I still don't know how this could happen.

Sorry for the inconvenience.

Regards
[Galaxy S 4 i9506 Android Development] eileddie:
Confirmed, just tested this version. its working great ;)
[Galaxy S 4 i9506 Android Development] sag:
So, does screen mirroring work on XXUCNJ1 insecure kernel?
[Galaxy S 4 i9506 Android Development] kotaxor:
Sadly no, been trying numerous methods.. Still no go.
[Galaxy S 4 i9506 Android Development] altahichamzio:
Hi, I have a noob question, is the screen mirroring problem concern only the wifi method ? because I want to update to CNJ1 with insecure kernel and in my case I use only the MHL method for screen mirroring, is it working ?
[Galaxy S 4 i9506 Android Development] kotaxor:
If you are using the cable, it should be working fine.
[Galaxy S 4 i9506 Android Development] kotaxor:
WTF, XXUCNJ2 for Australia is out.

No Nordic version yet.

Why keep on having newer version when lollipop will be out soon.
[Galaxy S 4 i9506 Android Development] coroneta:
XXUCNJ2 Australia (Telstra)

Changelist: 2587343

Build date: Mon, 20 Oct 2014 06:17:26

XXUCNJ1 Nordic countries

Changelist: 2986314

Build date: Mon, 13 Oct 2014 10:37:00
[Galaxy S 4 i9506 Android Development] mar10o:
XXUCNJ1 is newer than XXUCNJ2? That's confusing..
[Galaxy S 4 i9506 Android Development] kornelius1982:
Newer does not always mean higher changelist.
[Galaxy S 4 i9506 Android Development] altahichamzio:
Thanks guy ! I'm now on de-odexed CNJ1 with insecure kernel, DeHAWK did a great job for us :good:

Didn't try the cable yet, will report when done.

Edit:

Cable tested and working fine, Thks.
[Galaxy S 4 i9506 Android Development] coroneta:
Modem seems to be newer in XXUCNJ2

Model name: GALAXY S4 LTE-A

Country: Nordic countries

Version: Android 4.4.2

Changelist: 2986314

Build date: Mon, 13 Oct 2014 10:37:00 +0000

Product Code: NEE

PDA: I9506XXUCNJ1

CSC: I9506NEECNJ1

MODEM: I9506XXUCNF3

Model name: GALAXY S4 LTE-A

Country: Australia (Telstra)

Version: Android 4.4.2

Changelist: 2587343

Build date: Mon, 20 Oct 2014 06:17:26 +0000

Product Code: TEL

PDA: I9506XXUCNJ2

CSC: I9506TELCNJ1

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

As many of you probably already know, Chainfire has released a new version of his SuperSU.

I've now tested it on both my S4+ phones. No problems found on 4.2.2 bootloader running 4.3, everything went fine with the update of the binaries.

And for 4.4.2 bootloader XXUCNG3, running my XXUCNJ1 system and insecure kernel; no problems found.

Reason for this information; a lot of people has reported to Chainfire about problems after updating to this latest release.

But I'm glad to see both my insecure kernel and AutoRoot works, even with this update.

Still working on a fix for Screen mirroring, have found out what kills it on the insecure kernel...but still trying to find a way to fix it.

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

Any thought on this:

http://xdaforums.com/hardware-hacking/chromecast/experimental-enable-mirroring-device-t2812193

I tried version 6 and its not working.

I have revert to AutoRoot kernel just to have mirroring.:crying:
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

That's already fixed in our firmware.

I checked my own and it was set to 0.

But when said, I've used the Google Chrome Cast on my own Samsung telly. Set it up and then used my phone with Popcorn to stream to it. Worked flawlessly.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Seem chrome cast does not make use of Samsung screen mirroring. It has its own apps for mirroring.

Only miracast uses Samsung screen mirroring.

Edit: Look like its time to get Chromecast.
[Galaxy S 4 i9506 Android Development] nakah1:
I can`t find TWRP 2.8.1.0 for I9506. Any suggestion where I can find it...
[Galaxy S 4 i9506 Android Development] breakingstorm:
at least two links i found on the first page of i9506 development ^^

http://xdaforums.com/galaxy-s4/i9506-develop/recovery-twrp-2-8-0-0-touch-recovery-t2887037

http://xdaforums.com/galaxy-s4/i9506-develop/recovery-twrp-2-8-1-0-touch-recovery-t2942159
[Galaxy S 4 i9506 Android Development] zzzhead:
[MENTION=4188575]DeHAWK[/MENTION]

is it possible to increase charge current, or ignore unstable charge. The s4 that my brother owns is charging very slowly, about 700mA. Using it with screen on drains battery.. Unlike the note 2 that I have which I've set the charging current to 2000mA.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Nothing is wrong with the charging of our S4+. My own charges from about 10% to fully charged in about two hours.

Always change phone in OFF.

Phone can't charge with more power than the charger can deliver.

Both my S4+ was delivered with a 2000 mA charger, and my S3+ with a 1000 mA charger.

Using phone while charging will always give you a much longer charging time.

I made some tests on my S3+ with the 1000 mA charger. It turned out that I had a bad cable. I couldn't figure out why it only charged with 450 mA using a 1000 mA charger. It should be charging with about 1000 mA and using a 2000 mA charger didn't change it. But after changing the cable, it was charged with 1000 mA using both chargers.

I've now tested the charging on my S4+. Using a 2000 mA charger, gives a 1900 mA charging. This on a 98% charged battery.

Conclusions; check the charger, it can't charge with more than specified on the charger.

Try another cable, this was my problem.

Changing charging limits in kernel won't help if bad cable or charger is the problem. And definitely won't help if using a charger with low current flow.

Hope this was helpful.

Regards.
[Galaxy S 4 i9506 Android Development] zzzhead:
I understand what you meant. I have a 2A charger from the note 2, which is used to charge both phones. I understand that screen on charge will be slower, but I've set the current to 2A fixed for note 2, and it charges at 2A with screen on. This is ideal as it is fast.

For the s4, it would be ideal if something similar can be achieved. This is because sometimes I use third party cables, or for some reason the phone charges slow. When I disabled the ignore unstable current setting in my note 2, as well as change the current, charging is back to 2A even with third party cable.

I believe it could be due to the cable not being original. But I was hoping that a software mod to resolve the issue..

Appreciate your feedback man!
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

On my S3+ it was the original cable which caused the problem. Using another original cable from my S4+ solved it.

But I've also had issues with data transfer using original cables. And in these cases, using 3rd party cables solved it. Right now I'm using a HQ, full connected cable while transferring data to/from phones and laptop.

I helped a guy who had a PIT file problem with Odin. Whenever he tried to flash an original Samsung or any of my Odin images, it gave him a PIT file error. But he could, without any problems, transfer data to/from phone and flash using his custom recovery.

This problem was actually caused by a defective cable, an original I think. When he switched the cable, all the issues disappeared and he could without any problems flash firmware using Odin.

This was just some examples about how important the cable actually is.

Regards
[Galaxy S 4 i9506 Android Development] zzzhead:
Yep Odin usually requires an original cable.. Third party ones don't often work.

I'll go home and try using the same cable and charger and test with the note 2 and s4.. Will report result at night when I get back
[Galaxy S 4 i9506 Android Development] DeHAWK:
Information

It's been a while since I talked about my work on the SecSettings.akp, modifying it to always show Official under settings.

It's now done and I've tested it in under all kind of conditions. No issues found.

Well, from the beginning I tried to make Screen Mirroring work by modifying it, but it just still won't work.

So why not release it as for it is, since it actually works for changing Custom to Official under all conditions. It doesn't matter if you run insecure kernel, custom recovery or a modified system.

Side effect: SysScope.apk can now be completely removed.

I'm gonna put the modified file in the OP - 4.4.2 section, subsection 7.

This mod is only for XXUCNJ1 De-Odexed systems.

It should be installed using TWRP, but I can put a version here for hardcore users, if wanted.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Well done... Let us have it... Lol
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP 4.4.2 Section Update.

7th - Customized Apps Section - Updated with the modified SecSettings.apk.

Flash it using your custom recovery, no need to do anything else - it's done by the script.

Package also contains a SecSettings.apk.bak file (the original), in case you don't like my modified one.

You can delete the .bak version if you don't need it, I did.

Zip file integrity tested, Zip file flashed and tested on my own phone before uploading.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Hi bro, flash thru TWRP and now device status show official.

What is the advantage of official as compared to custom?

Thanks
[Galaxy S 4 i9506 Android Development] mar10o:
I suppose you can update via OTA

Wysłane z mojego GT-I9506
[Galaxy S 4 i9506 Android Development] kotaxor:
I am surprise that AutoRoot kernel support swapfile.

Tried using Ram expander and found it working fine.
[Galaxy S 4 i9506 Android Development] SoRiNuS:
Hello. I am on stock 4.4.2 XXUCNG3 (Spain Vodafone). WHen i am trying to root using AutoRoot_GT-I9506_XXUCNG3. i get Could not do nomarl boot error and stuck on Odin mode. ANy sugestions?!?!
[Galaxy S 4 i9506 Android Development] taztassio:
Hi,

I was using your 4.3 slim for a while (was great, nice and fast, and rooted), and recently upgraded to CM12.

Few issues since (green youtube, mms not working and carrier automatic time not working), and they recommend I install 4.4 bootloader firmware then reflash the CM12 rom.

Just wondering which of the 4.4 from your list I should flash considering baseband is I9506XXUBML3.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Did you update using FOTA, Samsung KIES or Odin?

Sounds like KIES is running in the background. If it is, prevent it from autostart when Windows start, kill all KIES processes and reboot. Alternatively uninstall it.

Make sure Odin returns Successful after flash, no fail.

Try another cable or USB port.

Try make a complete new stock firmware flash. I suggest XXUCNJ1 and then XXUCNI1 AutoRoot.

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

Any XXU versions will work. XXUCNJ1 is the most recent 4.4.2 release. Just download and flash the full original firmware from OP 4.4.2 section 1.

Regards.
[Galaxy S 4 i9506 Android Development] taztassio:
Thanks for the prompt reply!. Do i then need to re-root thr phone or shall i be good to go?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Yes, just use the AutoRoot version for the firmware release you flashed.

Regards.
[Galaxy S 4 i9506 Android Development] taztassio:
Thanks, All good!
[Galaxy S 4 i9506 Android Development] ipit:
Hey DeHawk, I think I may have asked this before but I can't find it. Is it possible to extract a modem file out of official firmware and install it separately? Seems like Telstra has a new modem which I'm hoping may improve my 4G reception.
[Galaxy S 4 i9506 Android Development] coroneta:
Yes you can extract modem.bin and NON-HLOS.bin from full Telstra firmware with winrar or 7zip and flash it with odin 3.09 (first flash modem.bin wait pass in odin,restart phone,turn off and restart again in download mode and flash non-hlos.bin)
[Galaxy S 4 i9506 Android Development] ipit:
Thanks coroneta. Managed to upgrade with no issues.