yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] DeHAWK:
Information about new 4.4.2 XXUCNJ1 kernels.

OK guys, I have had a very busy week at work and therefore I didn't have time to work on the kernels. But I can tell you, I still had reboots on Antutu when running OC version...

But yesterday I found the problem and it's now solved. Looks like I also solved the On Demand governor problem.

As said before, these new versions contains a lot of changes.

Just to mention a few;

You can use either FauxClock and FauxSound or Kernel Adiutor to access the build-in features.

WiFi Hotspot problem fixed.

CPU frequency in the OC version pumped up a bit, now 2.688 GHz.

My latest Antutu score using OC kernel was 48612.

NOTE: This score was archived without FauxClock or Kernel Adiutor installed, running interactive governor.

Now some information:

If you want to use this new 4.4.2 XXUCNJ1 v3.0 kernel, you will need to flash 2 files.

The first file will update the WiFi/Bluetooth firmware. This is required to make WiFi hotspot work. This could also make bluetooth connections with wearables work better, but not tested.

The second file is the new kernel.

DO NOT flash the WiFi firmware update, unless you also flash the new kernel. If you do, you will get connection problems.

I will also provide a file with the original WiFi firmware files, use this if you want to go back to an earlier XXUCNJ1 kernel version.

I will put download links here in the thread and let you guys test them before I add them to the 4.4.2 section.

So stay tuned.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
New 4.4.2 XXUCNJ1 kernels released.

Please read post #3549 for more information.

Flash using TWRP, I used v2.8.5.0.

First flash the updated XXUCNJ1 WiFi driver firmware .

Then flash your preferred kernel, NON-OC or OC version.

No further action needed.

Download link for Updated XXUCNJ1 LAN-WiFi Firmware:

GT-I9506 4.4.2 - Update_XXUCNJ1_LAN-WiFi_Firmware.

Download link for Original XXUCNJ1 LAN-WiFi Firmware:

GT-I9506 4.4.2 - Original_XXUCNJ1_LAN-WiFi_Firmware.

Download link for XXUCNJ1 NON-OC v3.0 kernel:

GT-I9506 4.4.2 - GT-I9506XXUCNJ1_NON-OC_v30_DeHAWK_Kernel.

Download link for XXUCNJ1 OC v3.0 kernel:

GT-I9506 4.4.2 - GT-I9506XXUCNJ1_OC_v30_DeHAWK_Kernel.

All feedback goes here in the thread.

Now flash and be happy.

Regards.
[Galaxy S 4 i9506 Android Development] tvniklas:
Double post
[Galaxy S 4 i9506 Android Development] tvniklas:
Wifi hotspot works perfect, bluetooth works also.

So far great work [MENTION=4188575]DeHAWK[/MENTION]

I will report back if something's not fully funktion.

Thanks a lot mate
[Galaxy S 4 i9506 Android Development] papete:
Working great!! thanks DeHawk!!
[Galaxy S 4 i9506 Android Development] saschc:
I was on your deodexed 5.0.1 ROM with OC Kernel and was really satisfied but what not worked properly was bluetooth connection to my pebble/mi band. Before I used your deodexed 5.0.1 ROM, I was on stock 4.3 and went directly to deodexed 5.0.1 (never was on Kitkat). So I tried CM 12.1 where bluetooth connection is really stable, but I'm interested in trying your NJ1 version and wonder if it's possible.

It would be nice if you could tell me, if it is possible and if so what steps do I have to take :) (I'm not sure, if I can flash Stock 4.4.2 NJ1 right away, because knox is 0x1)
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro.

You can with no problem flash KitKat 4.4.2 XXUCNJ1.

First download the full Original Open Nordic 4.4.2 XXUCNJ1 from the below link, if you don't already have it.

GT-I9506 4.4.2 - Open Nordic full firmware NEE-XXUCNJ1.

Unpack, using 7-Zip, to get the .md5 file.

Fire up Odin v3.07 on your PC.

Now you MUST switch OFF your phone and pull out the battery for a few minutes, take a cup coffee while you wait.

Put back in battery and go DIRECTLY to Download (Odin) mode.

Connect phone to PC, wait for Odin to recognize it.

Now flash and wait until phone reboots.

You should now be running STOCK 4.4.2 XXUCNJ1. Note: The Bootloader will still be v5.0.1.

You should now follow the instructions in the 4.4.2 section - Post #2

Note: Instead of the insecure kernel in Post #2, you should use your preferred kernel from Post #3550

Also read Post #3549 for more information.

Don't hesitate to ask, if in doubt of anything.

Regards.http://xdaforums.com/showpost.php?p=62802569&postcount=3549
[Galaxy S 4 i9506 Android Development] saschc:
wow thank you bro,

no need to flash something like CSC/Hidden? I'm on PhilZ Touch recovery, so first have to flash TWRP I guess?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

No need to flash any CSC/Hidden, unless you need something special form your ISP. Open Nordic is more or less the same as Open Europe.

Yes, after a successful full firmware flash and set-up, go to Download mode again and flash TWRP v2.8.5.0 and you're ready to flash all my .zip files.

Regards.
[Galaxy S 4 i9506 Android Development] saschc:
As I said, atm I'm on CM 12.1 which is based on 5.1.1. But the bootloader although will be 5.0.1?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Information about new upcoming Lollipop v5.0.1 XXUDOF2 kernels.

I've been running an Overclocked kernel, based on the latest sources for some weeks now and it's very stable.

Now, after my new 4.4.2 kernel has been released, I'll continue my 5.0.1 kernel work.

Will remove/implement same governors as in the 4.4.2 version and pump up the CPU frequency to same level as on 4.4.2.

It should not take as long time as the 4.4.2 kernel, because the basic version is running on my own phone.

Have also been working on a modified SecSetting from the S5; it's almost fully working and will give same features as on the S5 - Personal Pages, more Battery saving options, more Lock Screen effects and more, can't remember all.

But I still need to fix a few more problems before release.

So stay tuned.

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

Nobody else than Samsung can make a bootloader for your phone that can be flashed, it's digitally signed.

Your bootloader IS version 5.0.1 if you have flashed an original 5.0.1 firmware.

The 4.3 bootloader automatically gets updated when flashing Lollipop and bootloaders can't be downgraded.

But Samsung actually made it possible for us to use 4.4.2 on the 5.0.1 bootloader. :good:

CM 12.1 is 5.1.1 kernel/system sources, no bootloader included.

Hope this helps.

Regards.
[Galaxy S 4 i9506 Android Development] saschc:
Definitely!

Thanks bro

---------- Post added at 05:41 PM ---------- Previous post was at 05:09 PM ----------

Hey bro,

so, just to be sure, I have to follow these steps (sorry for asking again :o)

1. GT-I9506 4.4.2 - Open Nordic full firmware NEE-XXUCNJ1 (battery out for a few minutes) with Odin 3.07

2. TWRP with Odin 3.10.6

3. deodexed GT-I9506 4.4.2 - Update_XXUCNJ1.zip from TWRP

4. wipe Dalvik Cache, Cache and Preload.

5. GT-I9506 4.4.2 - Update_XXUCNJ1_LAN-WiFi_Firmware from TWRP

6. GT-I9506 4.4.2 - GT-I9506XXUCNJ1_OC_v30_DeHAWK_Kernel from TWRP

between 4. and 5. do I have to reboot to let new system files get installed?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Step 1 OK.

Step 2 - Use Odin v3.07 for TWRP flash!

Between step 2 and 3 flash the below insecure XXUCNJ1 kernel from the Post #2, using TWRP.

Insecure NON-OC kernel v2.0 for GT-I9506 4.4.2 - XXUCNJ1

This to make sure the De-Odexed system is getting accepted.

Some people have done it without the insecure kernel flash, but I do recommend the insecure kernel flash.

Then step 3 is OK

Step 4 is OK

Step 5 is OK

and...step 6 is OK

And yes, you must reboot between step 4 and 5, to let system getting installed.

Yes, that should do it bro.

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

Hey bro, nice!!

Take your time with your DOF2 tweaked kernel.

Going to update to DOF2 this weekend.

Cheers.
[Galaxy S 4 i9506 Android Development] ivanox1972:
[MENTION=4188575]DeHAWK[/MENTION]

Hi, boss- I am on newest stock dof2 (i rooted it and installed custom recover<) and want to back to yours slim 4.4 newest rom (cnj1?), if possibile with no overclocked kernel and some s5 features.

What steps to perform?

thanks a lot
[Galaxy S 4 i9506 Android Development] saschc:
Thanks bro, it worked. Although every time I tried to flash Insecure NON-OC kernel v2.0 for GT-I9506 4.4.2 - XXUCNJ1 (also tried OC-version) via TWRP I got an error. Left this step at last and it seemed to have worked. Everything running good so far, bluetooth connection seems more stable for now, I will give an update on that. Are you planning to build this (Update_LAN-WiFi_Firmware from TWRP and OC_v30_DeHAWK_Kernel from TWRP) also for DOF2? If so, I definitely will give that a try then.

Thx anyway for your great work!!!:victory::good:
[Galaxy S 4 i9506 Android Development] same-xx:
The bluetooth broblem is something else. I have 2 phones and second one had a bluetooth issue, but when I flashed DOF2 it stopped. It's not a rom issue, at least in DeHawk's rom. [MENTION=4188575]DeHAWK[/MENTION] or what is your opinion in case?
[Galaxy S 4 i9506 Android Development] saschc:
For me, bluetooth issue was ROM related. I had connection problems with deodexed DOF2, switched to CM 12.1 and bluetooth connection with Pebble and Mi Band worked absolutely without problems. Yesterday flashed DeHawkes deodexed CNJ1 with new WIFI driver and new Kernel and bluetooth connection to both devices seem more stable for now.
[Galaxy S 4 i9506 Android Development] same-xx:
I think that problem has something to do with the multiple rom chances and leftovers what you leave behind when you chance the rom. I don't know how it appears, but if it was a rom problem why most of the users don't have bluetooth issues? It is not the rom it is the phone. Like I told, I had that, but proper wipe and then installation, problem stopped. And sometimes cheap bluetooth stuff does that. What comes to bluetooth, you must buy proper things.
[Galaxy S 4 i9506 Android Development] saschc:
Believe it or not, proper wipe and installations had been done, as always. I absoultely don't mind setting up my phone from the scratch, nothing as easy as that. This was my third ROM change by the way ;). And believe it or not on CM 12.1 bluetooth connection worked absolutely perfect, and on deodexed DOF2 not. So if there where leftovers from DOF2 then I probably would have had problems on CM 12.1, too, because I first used DOF2 and then CM12.1 ;). I don't think neither a Pebble nor a Xiaomi Mi Band (and yes, it's an original one) is cheap bluetooth stuff, so I'm convinced, it is in my case not the phone, but anyway, it's always good to have different opinions :D

Anyway I would prefer to use DeHawkes ROM, so I'm patiently waiting for his "new" DOF2 version and will give it a go then :good:
[Galaxy S 4 i9506 Android Development] same-xx:
Sometimes we have stange problems with our phones. But it's good that your phone works now.
[Galaxy S 4 i9506 Android Development] saschc:
I flashed deodexed CNJ1, new wifi drivers and kernel. Probably system needs to settle a bit, but I have the idea, that akku drains quite fast. I don't know if it has to do with new drivers or kernel, but better battery stats gives a lot of kernel wakelocks from Wlan and Ril (see attachment)
[Galaxy S 4 i9506 Android Development] papete:
For me is working fine, actually battery life seems better than with the previous kernel. I'll post my stats at the end of the day....

EDIT: Added a screenshot with 6 hours on Battery and -2.9% per hour...
[Galaxy S 4 i9506 Android Development] saschc:
ok, thanks. Then I have to find out, which app is causing the drain, or if it is just bluetooth running all the time.

Edit: I think I found it, seems, that disabling Google+ sync did the trick. I'm now at -3,4% per hour and it's still coming down :D
[Galaxy S 4 i9506 Android Development] ivanox1972:
[MENTION=4941694]saschc[/MENTION]

I want to do same as you- downgrade latest 5 to latest 4.4...

Only difference- I want slim version...

So, to do all same as said above, but in step3 to flash GT-I9506 4.4.2 - Update_XXUCNJ1_Slim.zip instead yours normal deodexed???

is it?

thanks
[Galaxy S 4 i9506 Android Development] saschc:
From what I read in 4.4.2 section (Post 2) this has to work, if you do it like described in post #3562 and flash GT-I9506 4.4.2 - Update_XXUCNJ1_Slim.zip instead of GT-I9506 4.4.2 - Update_XXUCNJ1.zip.

I got an error when I tried to flash Insecure NON-OC kernel v2.0 for GT-I9506 4.4.2 - XXUCNJ1 as suggested from DeHawk between step 2 and 3. Tried it also with Insecure OC kernel v2.0 for GT-I9506 4.4.2 - XXUCNJ1 which also gave an error. Just went on with steps 3 to 6 and everything went good.

Edit: what I learned from same-xx, perform a nandroid backup before you start, just in case :D. He is totally right with that!
[Galaxy S 4 i9506 Android Development] same-xx:
Do a prober nanoid before you start, follow post 2 and others DeHawk's advises depending do you want to use oc or non oc. If need help. Ask. That error thing is bizarre. I look in to that.
[Galaxy S 4 i9506 Android Development] coroneta:
which rom its better in battery??

4.4.2 XXUCNJ1

5.0.1 DOF2
[Galaxy S 4 i9506 Android Development] rockman.kowal:
For me better is CNJ1

Wysłane z mojego GT-I9506 przy użyciu Tapatalka
[Galaxy S 4 i9506 Android Development] twedie:
For me 4.4.2 XXUCNJ1 With GT-I9506XXUCNJ1_v20_DeHAWK_Kernel_CWM-TWRP.zip

Envoyé de mon SM-G900F en utilisant Tapatalk
[Galaxy S 4 i9506 Android Development] sutefunu:
Hey guys,

recently I switched to the overclocked kernel but my phone got a lot slower - games lag, antutu score got lower. Any idea what might be the problem.

I'm on 5.0.1 slim deodexed dod3 rom.

Didn't have problems with the non-oc kernel.

Also any idea in the difference between 1.5.3 and 1.5.8 dod3 kernels. I did 1.5.8.

Thanks
[Galaxy S 4 i9506 Android Development] casiocas:
Hey!

Try to flash stock 4.2.2. and before flashing WIPE everything and if not helping, wipe after flash too.

Hope, its helping!

EDIT: Sorry, seen you already answered.

Peace for all!!!

:cool:
[Galaxy S 4 i9506 Android Development] sh0ne:
hahahahahah and my 1st tought was they gonna kill me! ahahahaha coool
[Galaxy S 4 i9506 Android Development] casiocas:
Hey!

LOL, like you see, if we have DeHAWK in our board, then nothing bad CANT happen!

Peace for all!!!

:cool:
[Galaxy S 4 i9506 Android Development] DeHAWK:
I'm gonna make a full 4.2.2 revert back image (kernel and system) tomorrow. Then it's just to flash with Odib and everything will be ok.

And then we need to fix your csc.

I will sign out, need to sleep.

Good night guys.:)
[Galaxy S 4 i9506 Android Development] casiocas:
Hey!

Thx, and sleep well! We need you!

See you tomorrow.

Peace for all!!!

:cool:
[Galaxy S 4 i9506 Android Development] sh0ne:
good night mate!
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP now updated with full instructions and download link for reverting-back to 4.2.2 from my 4.3 system.

Make sure to follow the instructions.

Regards.:cool:
[Galaxy S 4 i9506 Android Development] fodil123:
wowwwwww you_ are genius man

downloand now in progress

when finish all step , i'll post report

thanks again master
[Galaxy S 4 i9506 Android Development] sh0ne:
I put it back testing again, got 34K point with benchmark.

like allways great job dehawk, man take a rest! have a nice weekend!
[Galaxy S 4 i9506 Android Development] DeHAWK:
So are you on 4.3 now?
[Galaxy S 4 i9506 Android Development] sh0ne:
nah flashed It back yesterday(tonight at 2 a.m :D ) on 4.2.2 , hey and no TA needed, after flashing it back there is all official! cheers

I dont know what the problem was with 4.3, it was on root , testet, but not possible to take out some apps from system/app.

Tried with different file explorers.

thanks mate
[Galaxy S 4 i9506 Android Development] DeHAWK:
I need to ask you if you flashed the whole package; CSC and hidden or only the CSC alone. If you flashed the whole full CSC, then please try again with only the CSC. I need to know what's going on :what:

See ya

EDIT:

I need you try this: Flash the 4.3 again and in the same flash you select the CSC only in Odin. So flash PDA and CSC at the same time.

Right now I'm in contact with another guy on A1 in Austria, having the same problem as you.

Try this and report back. Perhaps I need to flash my own phone with this CSC to see what the heck is happening...

EDIT:

Have just flashed A1 CSC only. Will report back.

Edit:

Back on my S4+ now with the A1 CSC only. NO problems what so ever. It installed 2 appa. 1 called Update and one called Discover.

I just uninstalled then with Titanium Backup. Will now make a Benchmark. Stay tuned.

EDIT:

34597 in the benchmark.

This means that it's probably the hidden image which is the problem.

Will now revert-back my Open Nordic. See ya
[Galaxy S 4 i9506 Android Development] DeHAWK:
I'm now back on my own CSC. I have had no problems with the A1 Austrian CSC only.

Conclusion; Flash PDA and the CSC ONLY in the same flash. No NOT try to flash the combined CSC and HIDDEN. It WILL fail!!!

Only CSC in the CSC square, nothing else.

Please test and let me know

See ya
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey guys.

I just couldn't put this CSC problem away, therefore I worked with it couple of hours last night. Around midnight I was really convinced I had solved the problem. I was in e-mail contact with this guy from Austria and it turned out he was using Odin v3.09, I was using v1.89. As I wrote, I had no problem what so ever with this CSC from Austrian A1. But this was wrong. I discovered, that even after making a Factory Reset and Clear Cache in Recovery mode these apps from the A1 CSC was present in my system/app folder, even if I had uninstalled then, and removed them from the dalvik-cache.

So why? - I first tried to flash the A1 CSC again, now using Odin v3.09, to see if I could make the problem appear, but NO. I had no problems at all, keyboard worked fine - no FC.

Reflashed my Open Nordic CSC again, made full Factory reset and Clear cache. All the A1 apps was still present...:(

I now, using Root Explorer, browsed the system folder. Then it hit me, went to the csc folder and YES! - Problem was found.

The csc folder still contained all the stuff from the A1 CSC! - That explained why I still had the A1 apps present, even after a factory reset/clear cache etc. I deleted all the A1 stuff, made a new factory reset, and NO A1 apps!

Logical my dear Watson! - Only a FULL system image flash will delete csc and hidden, which I just had forgot. This explains why it won't work when people flash their own CSC file after the system flash, even it they make factory reset and clear cache. The Open Nordic will still be present in the csc folder and screw up the system.

Conclusion: The problem is all mine! You guys having this problem are doing everything right!

I now need to upload a new system image, WITHOUT build-in CSC, this will happen ASAP.

I'll also update the flashing instructions in the OP.

This means; everyone will from now on need to download their own CSC, even the Nordic users. This minor change, will not affect those Nordic users who have already flashed the 4.3 system and are up running, only new down-loaders. Perhaps it's even possible to flash the 4.2.2 CSC only files.

New flash instruction when I'm ready: You MUST flash the system image and CSC ONLY (cache image) in the same flash. The system image goes in the PDA and the cache image in CSC. Doing this will make everything work. NO FULL CSC (CACHE+HIDDEN) - IT Will FAIL!

I'm sorry for the inconvenience this may have caused you guys flashing the 4.3 system with build-in CSC.

I should have know better!

I make a post when the new 4.3 system is ready.

Regard
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP now updated. The new 4.3 system without Open Nordic CSC is ready for download.

Finished updating Open Nordic and A1 CSC/Hidden links.

Instructions updated, take your time to read them. Contains important information.

See ya
[Galaxy S 4 i9506 Android Development] casiocas:
Hey!

Hey man, please read PM! I have little problem.

Peace for all!!!

:cool:
[Galaxy S 4 i9506 Android Development] sh0ne:
just arrived back home, family day...

ahhmm I flashed the rom and the csc together! without the hidden!

Im gonna flash the new one and will report. sorry mate I wasnt at home.

Edit: I flashed the 4.3 with odin 1.85 ev. problem?

Downloading the new one.

cheers
[Galaxy S 4 i9506 Android Development] DeHAWK:
I just found out that 2 csc files are corrupted. Both the NEE an A1.

I'm uploading new files ASAP.

Don't download CSC until I have finished the changes.

I report here.

See ya
[Galaxy S 4 i9506 Android Development] DeHAWK:
OK, now the 2 corrupted CSC files have been replaced, and the links updated.

Thanks to XDA member casiocas for reporting the md5 error in the NEE CSC. Have no idea what has gone wrong, but it must have happened under adding the md5 sum to the file.

I then checked the A1 CSC package and here the Zip archive was corrupted.

You are now free to download them again, hope it works now...if not, I do know what the problem is, my shared Linux /Windows partition. Linux oblivious don't like to share with Windows when doing this type of operations.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Furthermore I can report that I'm right now are in touch with a XDA member in France, he wants me to downgrade his 4.3 to 4.2.2.

I have done this operation before with a guy from Germany and we successfully downgraded his French 4.3 version to my KNOX free 4.2.2 version.

We did brake all the KNOX warranties and could not downgrade the boot-loader, but he ended up running 4.2.2 and was very happy.

So if this once again turns out positive, I'll post the procedure on one of the start pages in the this thread.

Stay tuned.
[Galaxy S 4 i9506 Android Development] hs911:
hey dehawk,

i just want to say thank you for this work. i was using cm builds now for many months and switched back 2 days ago to stock rom done by you (DOF2 deodex with your kernel) an i am very satisfied.

the reasons were:

screen mirroring (working now)

audio bug (working now)

camera performance (better now)

weak audio quality in video recordings (not tested yet)

no real difference between 5.0 and 5.1 but nevertheless hopefully samsung will deliver us a 5.1 :)
[Galaxy S 4 i9506 Android Development] saschc:
Will it include the update of WiFi/Bluetooth firmware, like in your last CNJ1 release, so that probably bluetooth connections with wearables work better (probably other people have no connection problems, but I had)

Just curious :D
[Galaxy S 4 i9506 Android Development] Juhoop:
Hi guys! I have founded very strange thing. I got 4g data plan few days ago for my phone. And I have noticed that my battery life is very bad now. I can get only max 1hour sot per charge and the idle drain is about 10% per hour. With 3g connection i didnt have these problems, sot time was about 3-4hours and idle was max 1% per hour. The connection is good about 2-3bars all the time. This is very annoying so what to do? Using now DOD3 Slim version and nevest kernel.
[Galaxy S 4 i9506 Android Development] same-xx:
Hi, I had similar problem when chancing to lollipop. My feeling is that in DOF2 have better battery consumption. You should try. But take a look your battery stats, what is draining your battery. If you don't see, try better battery stats. Then you can try power nap for lollipop and amplify they need xposed installed. But after that you could try adjust wakeclock's. After power nap your phone should go better to deep sleep. OC or NON-OC?

---------- Post added at 09:19 PM ---------- Previous post was at 09:13 PM ----------

By the way, what carrier? In here finland we have problems with sonera and dna 4g. I had to chance to saunalahti 4g, 'cause my phone losed signal all the time. Ou I just remember: Try to install MobileactiveRadioFix for xposed allso

---------- Post added at 09:22 PM ---------- Previous post was at 09:19 PM ----------

Take a look this allso: http://xdaforums.com/showthread.php?t=3095884