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

I actually don't know...have never tried. I don't use CWM anymore only TWRP and for backup I normally use Titanium Backup.

Have you considered update to 4.4.2?

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

Probably not...but I can't tell. I never ever uses KIES. I only update using Odin, but I normally don't flash full updates only my own repacked updates.

But you can give KIES try.

Updating using KIES should not trigger KNOX.

Updating with Samsung official firmware using Odin don't trigger KNOX. But as said, I normally don't flash official firmware.

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

Still downloading latest firmware XXUCNJ1 and it's gonna take some time. I don't understand why they select those useless severs, I would never ever pay them a dime or give them any information, specially not RapidGator (Russian), those really sucks! But don't worry, as soon download is ready, I'll make new AutoRoot version, kernel and De-Odexed update zip for TWRP. So stay tuned guys.

Regards.

EDIT

As soon the download is ready, I'll upload this XXUCNJ1 Open Nordic to a new server. Either MEGA or my Google Drive...just to pi.. then off.

Then you will get maximum speed.
[Galaxy S 4 i9506 Android Development] sh0ne:
I have tried it with cwm works great, today I got a new job so it gonna be 10-15h /day , I have flashed the latest 4.3 from you and I will leave it works perfekt, will not have much time.

DeHawk thank you very much for your work, you saved the i9506 !

cheers bro!:good:
[Galaxy S 4 i9506 Android Development] eileddie:
Kies don´t work on my version. How do I update to 4.4.2 form your old version? My Bootloader is 4.2.2.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Very easy; the following requires a PC running Windows, sorry but I don't support MAC or any kind of Apple products.

Go to my OP 4.4.2 section, download Odin v3.09 from the 6th section.

Now go to 1st section and download Samsung full original 4.4.2.

You will find 2 releases XXUCNG3 and XXUCNI1, the latest XXUCNJ1 will come up ASAP. I think you should stick with XXUCNG3, since it's the most stable stock firmware atm.

Now just follow the instructions given in the 1st 4.4.2 section.

After the flashing you are now on 4.4.2.

If you have any further questions, don't hesitate to ask.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Yeah, I just love it. 60% done...

40% remains until the fun begins.

:mad::mad::mad:
[Galaxy S 4 i9506 Android Development] mar10o:
I don't see any changes. I'm on it since 10am... I've made full odin flash with wipe.. although there is one new crapware from Samsung "Samsung uP", but you can uninstall it w/o root. Weather widget is working fine. There were some SE Android updates after flash.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Normally you don't see the changes, except for better stability. As you say, Weather Widget seems to be working and I expect all of the Samsung widget's now to be working and not getting black after a while. Perhaps they even fixed the problem with lost signal, a problem I never had myself.

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

New Section; added a new subsection; 7th - Customized Apps.

OP 4.4.2 7th - Customized Apps updated with customized SecWallpaperChooser.zip for TWRP or CWM flashing.

OP 4.4.2 Added notes regarding the order of flashing, applies only to De-Odexed system and insecure kernel.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Hope the latest version is as stable as CNG3 and smooth as CNI1.

Will be waiting to test it out after you...LOL
[Galaxy S 4 i9506 Android Development] pfbatista:
J1 seems to be stable as G3 and smooth as I1.

Running it for almost a day and everything is working good! [emoji1]
[Galaxy S 4 i9506 Android Development] kotaxor:
Hope the insecure kernel and deodex rom come out for testing soon.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Information.

Right now flashing my own repacked XXUCNJ1 firmware. After a little test, it will be uploaded and made available in OP.

Full stock Samsung original XXUCNJ1-NEE uploaded to new server, download link in OP to come in a short time.

Stay tuned.

Regards.

EDIT

Done, my repacked update to XXUCNJ1 is working. As expected I lost root. Still on XXUCNG3 bootloader, modem etc. etc.

EDIT2

Rooted using my AutoRoot.

De-Odexing etc. done
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP 4.4.2 update.

OP 4.4.2 section 1st - Stock firmware files: Updated with Original Samsung stock XXUCNJ1 - Full Open Nordic firmware for Odin.

OP 4.4.2 section 1st - Stock firmware files: Updated with Original Samsung stock XXUCNJ1 kernel - Open Europe for Odin.

OP 4.4.2 section 1st - Stock firmware files: Updated with Original Samsung stock XXUCNJ1 recovery - Open Europe for Odin.

OP 4.4.2 section 3rd - Update from XXUCNG3, XXUCNH4 or XXUCNI1 to XXUCNJ1: Updated with XXUCNJ1 image for Odin.

Files to follow when ready: Insecure kernel for XXUCNJ1, AutoRoot for XXUCNJ1 and fully De-Odexed system for XXUCNJ1.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
@ DeHAWK,

Is screen mirroring working with the new version?

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

Right now testing fully De-Odexed and totally KNOX free system. Device IS rooted using my AutoRoot.

Actually, while I write this, I have screen mirroring activated. This without the patch. I've no idea if it still works after flashing insecure kernel.

Now I need to eat, then more testing.

Regards.

EDIT

Have now tested a factory reset. This done with TWRP installed, works perfectly. It took some time to install, but of course it's still a full system. Strange thing is; I managed to get Samsung Official and Binary Official in download mode and Official under system status...don't ask why and how...:cool: it shouldn't be possible on a rooted device running custom recovery. System seems very fast, even on stock kernel. Well, dinner is ready and btw...XXUCNJ1 De-Odexed and KNOX free system is now ready to be uploaded.

Stay tuned.
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP 4.4.2 update.

OP 4.4.2 section 4th - You want De-Odexed and KNOX free: Updated with Fully De-Odexed and totally KNOX free XXUCNJ1 system firmware for custom recovery flashing. Either CWM or TWRP can be used, but I strongly recommend TWRP.

Regards.

EDIT.

Update. Insecure kernel now running on XXUCNJ1. Even got screen mirroring working after a lot of struggling.

Had to make a factory reset, use Odin to reflash my XXUCNJ1 image.

I then reflashed TWRP so I could flash my De-Odexed system.

I didn't use AutoRoot this time...instead I flashed my newly build insecure XXUCNJ1 kernel. It took care of rooting, installing Busybox, fixing init.d support, removed the already installed KNOX crap and a few other things.

So far it seems very stable and fast. No problems encountered so far.

Goodnight.
[Galaxy S 4 i9506 Android Development] kotaxor:
That's fast, waiting for autoroot kernel or your insecure kernel before testing. Thanks
[Galaxy S 4 i9506 Android Development] DeHAWK:
Morning guys.

A new day has dawn and for me a new job. Will now make the XXUCNJ1 AutoRoot version.

So hold tight to your phones and be ready for flashing new version.

Regards.

This message was transmitted using WiFi from my GT-I9506, running insecure kernel and KNOX free De-Odexed system.

EDIT

I can now confirm that my customized SecWallpaperChooser is fully compatible with XXUCNJ1 and now running my phone.
[Galaxy S 4 i9506 Android Development] bilelhama:
please help

my i9506 don't accept any flash via odin or box (octoplus , z3x ..) i need officiel firmware flashable via recovery pleasse
[Galaxy S 4 i9506 Android Development] nuckel82:
Have you tried updating through KIES?
[Galaxy S 4 i9506 Android Development] bilelhama:
yes same problem :/
[Galaxy S 4 i9506 Android Development] kotaxor:
@ DeHAWK,

Unable to flash the XXUCNJ1updateFirmware.tar.

Using Odin, it mentioned about "There is no PIT partition"

Regards

Edit: think I'll just flash the original NEE firmware.

Edit: My bad, seem to be a cable problems....using your updatefirmware now...
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Everything I upload is heavily test on my own phone. All the md5 files has been verified by Odin before flashing my own phone. All uploaded zip files verified before uploading.

But it seems you have got it to work.:thumbup:

AutoRoot for XXUCNJ1 now ready, I just need to test it before uploading.

Changes from previous versions; now uses latest Chainfire binaries and XXUCNJ1 binaries.

Stay tuned.

Regards.

EDIT

Btw. very interesting information regarding the message; There is no PIT partition.:thumbup:
[Galaxy S 4 i9506 Android Development] kotaxor:
Yup, just flash your De-Odexed zip.

For the time being using AutoRoot for CNI1.

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

Not sure exactly what you mean.

So you can't even flash a custom recovery?

I can make my Odin XXUCNJ1 update image for custom recovery, very easy. But I can't make it for Samsung original recovery.

But this sounds very strange, never heard of this before; phone won't allow Odin flash. What exactly happens?

Regards.
[Galaxy S 4 i9506 Android Development] bilelhama:
this phone accept flash via custom recovery(Chenglu_cwm_recovery_6.0.3.7(0905)-fix-exSdcard) and custom rom (CARBON-KK-UNOFFICIAL-20140609-0250-ks01lte) and work fine , but when you try to flash with odin or octoplus or z3x official rom (tar.md5) always failed i tried many flash and same problem

thanks :)
[Galaxy S 4 i9506 Android Development] DeHAWK:
XXUCNJ1 AutoRoot information.

OK guys, testing is done. I had to make a new version, this because that what I thought was updated binaries from Chainfire, turned out to be old...they could be used, but I want only the latest ones.

That's now done.

I have tested this new version and it works like a dream.

Here's how I did my test:

I needed to get phone clean to make sure any old stuff was gone.

First I made a Factory reset, this using the stock XXUCNJ1 recovery.

Then I re-flashed my Odin XXUCNJ1 update image.

After setting up phone, I turned it OFF.

Fired up Odin v3.07 on PC.

Made sure only Auto Reboot and F. Reset Time was marked.

Pressed PDA and selected my new GT-I9506_AutoRoot_442_XXUCNJ3.tar.md5.

Got phone to download mode and connected to PC.

When Odin recognised the phone...pressed Start.

After a successful flash, removed phone and phone was rooted.

SuperSU will ask to disable KNOX when started up first time. It might hang...if this happens;

press and hold HOME, now clear ram and try again.

I'll now upload and update OP.

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

OP 4.4.2 section 2nd - 4.4.2 Rooting instructions: Updated with GT-I9506_AutoRoot_442_XXUCNJ1.zip

md5 sum checked and zip archive integrity checked before uploading.

Did not include Odin 3.07! - But please use it for flashing, it's tested with it.

Already working on a new version; it should be able remove all KNOX while installing.

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

Seems to me the .md5 file you're trying to flash using Odin is corrupted. - Have you tried my firmware?

Always use 7-Zip on Windows to unzip, It's the only that works every time.

Regards.
[Galaxy S 4 i9506 Android Development] P0tato:
Cant download latest firmware (GT-I9506 4.4.2 - Open Nordic full firmware NEE-XXUCNJ1.) Mega says temporary error
[Galaxy S 4 i9506 Android Development] kotaxor:
Just flash your latest AutoRoot kernel over CNI1's, reboot and then re-flash TWRP recovery..

Will monitor and test.

Thanks

Edit: I use Odin 3.09 and its working ok.

Edit: Install busybox and Using Universal Initd from PlayStore to enable initd. Everything seem smooth.

Edit: Discover that latest YouTube.apk fc. Only an earlier version (5.7.41) is working.

Newer version of YouTube was working fine in CNG3.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Just to let you know, the kernel is still stock XXUCNJ1. AutoRoot uses stock kernel and it's only temporary.

That's why you needed to install both Busybox and init.d from Google Play.

Both of these comes with my insecure kernel.

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

Just checked YouTube, version same as stock firmware, haven't updated. I did not encounter any FC.

I'm still running full stock, nothing removed atm. only AutuRooted.

No apps disabled, except the KNOX notifier.
[Galaxy S 4 i9506 Android Development] kotaxor:
Yup, I know that, that's why I install busybox and universal initd and all is working fine.

And of course screen mirroring is working too.. Lol

YouTube is an odd case, encounter it once before, can't remember on which version of rom tho. Not a big deal as long as an older version is working fine. Anyway, I have change it to a user apps instead of system.

Hope you have solve the screen mirroring issue in your insecure kernel as it was not working perfectly in CNI1.

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

As I wrote in an earlier post, I'm still running 100% stock XXUCNJ1 - just rooted...not even De-Odexed . I need to see everything is working before I release the insecure kernel.

One thing I've discovered; there seems to be a little delay when opening an app. This delay is NOT present in my insecure kernel.

My overall experience of stock kernel...:thumbdown:

But perhaps that's because I normally don't run stock...

A good thing is; it seems they were able to catch some of the bugs.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
I just checked screen mirroring and you're right, it's working. My system status is atm. 'Modified'.

But screen mirroring has nothing to do with kernel, except is uses the WiFi. It's seems to be doing some kind of check on the kernel, I suspect it uses the bit set by the warning that appears when booting the insecure kernel. In download mode I've both set to custom. The boot warning only appears when signature check fails. Therefore it must be that bit the Screen Mirroring is checking. That's why we need to use this little patch when running insecure. As said earlier, the developer of this patch has not updated it for a long time and I'm pretty sure that's the problem.

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

Trying to use IDA Pro to find where the changes was made to the so file. Having a headache trying to find it.

Using your AutoRoot kernel and deodex, opening apps seem snappy. No lag encounter.
[Galaxy S 4 i9506 Android Development] bilelhama:
bro i tried your firmware and other firmware , i just need your firmware zip file to flash it via custom recovery that's all i need and thanks
[Galaxy S 4 i9506 Android Development] kotaxor:
Hi bro,

Just had an update of Google play services today and the new version of YouTube open without any problem.

Look like it's just play service problem.

For your info
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Still very strange. Have you tried another cable or USB port. Have you checked that no KIES services is running in the background of your PC?

It actually could be a bad cable. These can give you all kinds of strange faults.

Regards.
[Galaxy S 4 i9506 Android Development] bilelhama:
bro i checked everything , cable tested with other phone i tried another pc same problem , my i9506 only accept flash via recovery , i just need stock rom flashable via recovery (cwm)
[Galaxy S 4 i9506 Android Development] DeHAWK:
Ok bro, I'll look at it. What XXU version are you running now?

And what version would you like?

Regards.
[Galaxy S 4 i9506 Android Development] bilelhama:
my I9506XXUBML5 4.3 or 4.4.2 if you can and biiiiig thanks from tunisia :good:
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

I need to ask; are you sure you have the right Samsung phone USB drivers installed?

Question 2: Have you enable USB debugging under settings development?

Question 3: Does Odin recognise your phone?

Question 4: How did you get the CWM recovery on the phone?

Question 5: Are you able to flash TWRP recovery instead of CWM?

IF yes, do it.

Regards.

EDIT

Your phone is on 4.3, very old release...
[Galaxy S 4 i9506 Android Development] bilelhama:
phone work only with custom roms , odin recognise the phone when you try to install firmware always stoped in install without any error , i'm able to flash twrp and cwm via odin
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Need more information!

What exactly happens when you try to flash original firmware from your provider? When exactly does Odin stop?

Take a screen shot of the PC and send it to me.

Have you any idea if phone is sim locked or was it purchased as unlocked?

Are you using Odin 3.09 to update?

Have you tried to mark the Update Bootloader when flashing 4.4.2 stock original?

I suppose your phone is rooted???

It seems I'm able to flash all files using TWRP, except one...I can't find its mount point and have no idea what this file is used for or what mount point to use. The file is a part of the original firmware.

I would like you to flash the 4.3 bootloader alone. I'll make you a Odin file and send you a link by PM.

It must be possible to re- flash the bootloader.

Regards.
[Galaxy S 4 i9506 Android Development] bilelhama:
odin stop always on system is not simlocked

i use odin 3.09 and odin 3.07
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

Use Odin 3.07

Only Auto Reboot and F. Reset Time should be marked.

Now press PDA and select the .md5 file you got when using 7-zip.

It will update 3 files.

When done after the reboot, go to download mode once more and try flashing an original Samsung 4.4.2 firmware.

Let me know the results.

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

Your CNI1 Kernel is running great for me. I would like to use that one as a base for a cutom Kernel I am planning to make for Stock 4.4.2 as you have already upstreamed it to 3.4.102. I would appreciate it very much if you provided the sources.

Cheers
[Galaxy S 4 i9506 Android Development] sevenlife:
I use your cng3 deosex knox out if i upgrade to your latest rom with odin i will lose my data?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

You should never lose data using Odin, unless you make a factory reset.

You're on XXUCNG3, meaning you can use the XXUCNJ1 Odin update package found in the OP 4.4.2 section. No need to flash full update.

Then you can flash a custom recovery and go De-Odexed etc.

Just follow the instructions, sometimes I recommend a special wipe.

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

Sorry pal, it would be to easy. My kernel sources is only on my hard drive and is supposed to stay there. I've spent several hundreds of hours on these sources, cross compiler's and my building scripts to get a perfect development environment.

That's why I can build new kernels for all the 4.4.2 / 4.3 / 4.2.2 systems in only a few minutes.

Everything is made on Samsung GT-I9506 sources, slightly mixed with sources from G900F, N9005 and original Google Linux sources.

Actually the Google Linux sources doesn't fill that much. All updates done manually to maintain full compatibility.

Building environment running Linux, is about 200 GB in size, everything included.

Conclusion; you'll have to struggle Samsung's faulty sources by yourself, just as I did and still do.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Important info regarding pit file.

People are contacting me regarding Odin giving a pit file error.

I have now after a lot of research maybe found a solution.

It will require that you can boot the phone and are rooted.

The fix shold turn the PIT file into a Open Europe partition table.

Since I don't have this problem myself, it's untested!

First, to find out the current pit file configuration, download and run the Play Store app; Diskinfo

Make sure that this is your set up:

elf mmcblk0p11

modemst1 mmcblk0p12

modemst2 mmcblk0p13

If you don't have this setup , post the result here. This could be the reason for not being able to flash using Odin.

You WILL see a lot of other partitions, but ignore!

I'm only interested in the above mentioned.

I'll now pull the Open Europe pit file from my own phone, this is the file you guys should flash from a terminal on your rooted phone.

Stay tuned.

EDIT

Done.

EDIT 2

I now have the Open Europe GT-I9605 16GB Model PIT file!

EDIT 3

This pit file is to be flashed using Odin v3.09. Should set your phone to Open Europe firmware XXUCNG3. But will allow you to flash all 4.4.2 versions.

I'll later create a firmware package including the pit file and test it before uploading.

ATTENTION: ONLY FOR PEOPLE HAVING Odin Pit failures.

Stay tuned. Yeah, I love it.
[Galaxy S 4 i9506 Android Development] DeHAWK:
PIT file information!

People having problems with Odin complaining about PIT; I might need 3 files form your phones to be able to fix it.

modemst1.bin

modemst2.bin

efs.img.ext4

I'll PM you regarding how to get these files, just PM me.

I'll then make an Odin package that should be able to fix the problem, but you will then be on the Open Europe partition table!

This means; you can probably no longer be able to flash your OWN carrier stock firmware. But you can probably get your phone back to full operational status.

Regards.

EDIT

Looks like a pit file flash alone will fix everything. The 3 other important files mentioned above, is just to be kept for backup.

Will later add a new file to the OP 4.4.2 section; GT-I9506_OpenEU_16K.ZIP

Will update the instructions for flashing the PIT file and show how to pull the 3 other important files for backup purpose.
[Galaxy S 4 i9506 Android Development] kotaxor:
Hey bro,

How is your insecure kernel for latest rom coming along.

No rush, just curious on the progress.

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

It's running on my own phone, updated it with latest su binaries, so now SuperSU doesn't ask you about updating the binaries after installing and first time run.

Have been busy with all this pit file stuff, but now I have all the mount points and their belonging flash names. Will test a pit file flash later this evening.

You should consider backing those partitions as I mentioned earlier. Very nice to have as backup if your phone gets screwed up.

Will add all the information about this in thread post 2 later. It just requires root to pull those 4 very important files.

If you want the XXUCNJ1 insecure kernel, I can put that up too.

Regards.
[Galaxy S 4 i9506 Android Development] P0tato:
I would love to use it. I'm waiting for it :)
[Galaxy S 4 i9506 Android Development] kotaxor:
Hi bro

I use TWRP to back up some partition, will that be sufficient?

Screen mirroring working on your insecure kernel?

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

Is this right? Attached
[Galaxy S 4 i9506 Android Development] :
Well that was definately not the answer I was hoping for. Besides, I wasn't asking for your whole build environment, but just for one particular Kernel source. This shouldn't be more than 150MB as a tar.xz.

Further more you are actually liable to do so as the GPLv2 says that you have to provide the sources.

So may I kindly ask again for a link to the sources please?

Of course I will properly credit your hard work, when releasing my own version.

GPLv2: "...if you distribute copies of such a program, whether

gratis or for a fee, you must give the recipients all the rights that

you have. You must make sure that they, too, receive or can get the

source code. And you must show them these terms so they know their

rights." See COPYING in kernel source folder.
[Galaxy S 4 i9506 Android Development] sh0ne:
Are you sure you are doing it exactly like it there stands on the 1st page? At me 1st flash 1st sucsess!
[Galaxy S 4 i9506 Android Development] Numero17:
Yes but When i try to install with odin he failed