yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] coroneta:
:) my battery seems better with CNK1 modem and signal power/coverage it´s the same with other modems.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey guys.

It's been a while since my last post, but it's because of doctors order (the accident at work).

But now it's time for some Christmas information. It seems I have finally, happened yesterday, got Screen mirroring working on my insecure XXUCNJ1 kernel. It now seems to work after a reboot and even after phone has been switched OFF and later back ON.

It's working using the original XXUCNJ1 library files and no changes was made to my kernel binaries. Also it turns out that the SysScope.apk should NOT be removed. I did this using my modified SecSettings.apk always showing 'Official'.

Also found a bug in Chainfire's Triangle Away; under the option Allow SysScope to run, when checking this option and then after rebooting - SysScope is still disabled and even trying to un-freeze doesn't help, TA simple freezes it again.

After playing with this, suddenly Screen mirroring was working.

I'll now make more testing.

If these tests turns out to work, I'll make a zip file for custom recovery.

This zip file should then make the required changes to make Screen mirroring to work - instructions will follow.

The insecure XXUCNJ1 kernel in the OP 4.4.2 section will also be updated to include this fix, if working...

Stay tuned.

Regard.
[Galaxy S 4 i9506 Android Development] kotaxor:
Lucky I did not delete SysScope, just frozen it.. Lol
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

I just made some minor testing... Screen mirroring keeps working. Will now flash full stock XXUCNG1, then flash my XXUCNJ1 Odin update. Then I'll flash TWRP and use it to flash my De-Odexed system. After setting up, I'll flash my modified SecSettings, again using TWRP and finally my XXUCNJ1 insecure kernel. This has been modified and will be uploaded later.

Then it's time to test if it works.

If still working, I know how to make my ScreenMirroring_fix.zip for TWRP. This fix should only be used for those already on my XXUCNJ1 De-Odexed system and running XXUCNJ1 insecure kernel.

We already know that Screen mirroring works on stock kernel.

Stay tuned.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Yay!.. Waiting
[Galaxy S 4 i9506 Android Development] DeHAWK:
Just made a factory reset on my XXUCNJ1 running insecure XXUCNJ1 kernel... Screen mirroring still working.

Right now flashing stock XXUCNG3 to make a final test. So stay tuned bro.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Thanks bro
[Galaxy S 4 i9506 Android Development] DeHAWK:
Good news bro.

Now back on XXUCNJ1 De-Odexed system, I included the modified SecSettings in the the XXUCNJ1 zip package. Screen mirroring working.

Then flashed my modified insecure kernel XXUCNJ1 zip file. Screen mirroring still working!

Made a factory reset, Screen mirroring still working.

I haven't installed any other things.

I haven't been on Google Play to update anything or used TA - not installed.

SysScope is running!

System status is of course Official, due to my modified SecSettings.

All lib files is XXUCNJ1 original.

I don't care about download mode, doesn't really matter.

Also tested Screen mirroring after reboot and power off.

I can now make a zip file for TWRP.

Stay tuned.

Regards.

EDIT

I'll now try to make a package that should enable HD voice calling and call recording.

Don't think I need to say anything more, you guys know what it means.
[Galaxy S 4 i9506 Android Development] kotaxor:
Hey bro, don't keep tempting me... Lol.. Let me have it... Faint
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP Update.

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

The XXUCNJ1 update zip has been updated with my own modified SecSettings.apk. This means you will always see 'Official' under phone status. I did this to make the Screen mirroring would work even after flashing my insecure XXUCNJ1 kernel.

4.4.2 section, subsection 2nd - Rooting instructions.

Insecure kernel zip file for XXUCNJ1, updated for Screen mirroring.

Attention: You should NOT use these files if already running my XXUCNJ1 insecure kernel from before 2014-12-20 or my XXUCNJ1 De-Odexed KNOX free system from before 2014-12-20. In that case you should wait for my ScreenMirroring_fix.zip for TWRP.

However: If you have messed up your /system/libs folder, trying to make Screen mirroring work; you MUST flash both the above files (first De-Odexed system and then insecure kernel) and make sure to delete the dalvik-cache using TWRP. No sure if it will work, but give it a try and let me know.

Do NOT delete or freeze SysScope.apk and dont' use Triangle Away. That's what I did.

If not already using my modified SecSettings.apk; this must be installed before using the ScreenMirroring_fix.zip for TWRP.

See OP 4.4.2 section, subsection 7.

I would really appreciate if someone could test this BEFORE I make the zip file. Perhaps it's enough to flash the above 2 files and then delete dalvik-cache.

I simply can't test all situations...but read one of my previous posts how I did this on my own phone.

So for now, TEST and report back.

Stay tuned for Christmas.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Using your latest insecure kernel and screen mirroring seem to be working fine. I see that there are some modification to the build.prop file.

Is the HD call and recording included? Have yet to test those, it's midnight here, need to sleep and test tomorrow.

Thanks again for your superb kernel.

And once again take care of your injuries.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Sleep well. No mod made yet for HD calls and call recording. Needed to first make sure this Screen mirroring was working...and it seems to work.

Thanks for testing bro. And yes, I made a single change in the build.prop and started to use all original files in libs. Not sure if it's because of the modified SecSettings, could be. Now it's time to eat and enjoy a glass of red wine.

Later I will start on this HD voice and call recording mod.

Watch up, Christmas is just around the corner.

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

Why call recording mod is so important? ACR apk works great here. And free.

XXUCNJ1 De-Odexed, insecure kernel +modified SecSettings.apk. All before 20th.
[Galaxy S 4 i9506 Android Development] kotaxor:
Thanks bro, for your awesome kernel.

Will be waiting for more goodies.. Lol

Enjoy yourself first before others, cheers!

Edit: Had been watching 2 movies yesterday using screen mirroring without issue.
[Galaxy S 4 i9506 Android Development] kotaxor:
Merry Christmas to everyone here!
[Galaxy S 4 i9506 Android Development] eileddie:
I'm using the latest De-odexed 2014-20-12 and insecure kernel 2014-20-12. This is just awesome. It seen to go much faster than the older De-odexed version whit the stock kernel.

I made at dirty update form the 2014-21-11 De-odexed version, only wipe the dalwik cache.
[Galaxy S 4 i9506 Android Development] kotaxor:
Well....The New Year is approaching soon.
[MENTION=4188575]DeHAWK[/MENTION], Hoping for some goodies, bro.

No pressure, just hoping.

A HAPPY NEW YEAR TO EVERYONE!!!!!

:highfive:
[Galaxy S 4 i9506 Android Development] DeHAWK:
I just want to wish all of you a happy new year. In my time zone it's 6 hours left until 2015.

Info.

What am I working on right now?

Well, a new kernel, over-clocked to approximately 2.5 Ghz and perhaps more, but only time will show.

Today I had a chance to run Antutu v5.5 on my friend's S5 (G900F), running latest stock.

My Black Edition S4+, running my latest kernel and system - like many of you out there, scored over 2000 points more overall. LOL :cool:

My best regards to all here on XDA and a HAPPY NEW YEAR! :)
[Galaxy S 4 i9506 Android Development] coroneta:
It´s looks amazing dehawk!!
[Galaxy S 4 i9506 Android Development] kotaxor:
[MENTION=4188575]DeHAWK[/MENTION], cannot wait to try it out.. Lol
[Galaxy S 4 i9506 Android Development] MasterMarius:
Sorry for the inconvenience, I came from a AOSP ROM (LOLIPOP) and I want to pass my phone one again in android 4.2.2 original stock rom.

What I have to do to make it happen.

I read your posts, but I can't figure out if it's possible to switch back to 4.2.2 rom.

It is better to try a 4.4.2 rom or a 4.2.2? What is you opinion?
[Galaxy S 4 i9506 Android Development] breakingstorm:
as far as i know, once you upgraded your device to 4.4.2 or even 4.3, you have the new bootloader, so you can't downgrade to older versions anymore.
[Galaxy S 4 i9506 Android Development] MasterMarius:
And with a "GT-I9506_422_Bootloader-Kernel.tar.md5" I can't make it happen?..I found this file on a post...
[Galaxy S 4 i9506 Android Development] DeHAWK:
First OC kernel score.

Still need to make some adjustments.

Stay tuned.

Regards.

EDIT

Very fast!
[Galaxy S 4 i9506 Android Development] DeHAWK:
Yet another S5 comparison

I just love it

See ya
[Galaxy S 4 i9506 Android Development] MasterMarius:
The TWRP it doesn't exist for our i9506.

I checked at http://teamw.in/project/twrp2

Please correct me if I'm wrong
[Galaxy S 4 i9506 Android Development] kotaxor:
Bro...waiting to try it out. Hope your minor glitches is resolved.
[Galaxy S 4 i9506 Android Development] breakingstorm:
there is twrp for i9506, i have it. i think its an unofficial, modded version. Look here http://xdaforums.com/galaxy-s4/i9506-develop/recovery-twrp-2-8-0-0-touch-recovery-t2887037
[Galaxy S 4 i9506 Android Development] sag:
I have the new one. It works flawlessly.

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

---------- Post added at 01:48 PM ---------- Previous post was at 01:41 PM ----------

I thought it wasn't possible... Where did you find this bootloader? Did you try?
[Galaxy S 4 i9506 Android Development] Justie:
Can someone port dialer(contacts) from galaxy s5 for 9506 ? Sorry, dont want to create a thread for this. No working ports there.. Actually, just need dialer from s5.
[Galaxy S 4 i9506 Android Development] osdgap:
Hi guys. Happy new year, first of all.

Any chance for lollipop? And then maybe prerooted?
[Galaxy S 4 i9506 Android Development] MasterMarius:
The bootloader is from http://xdaforums.com/showthread.php?t=2597058

And I don't tried it yet. Now I'm running a 4.4.2 de-odexed + SU
[Galaxy S 4 i9506 Android Development] kotaxor:
[MENTION=4188575]DeHAWK[/MENTION]'s rom here is base on stock Samsung rom.

When Samsung release Lollipop for our phone, [MENTION=4188575]DeHAWK[/MENTION] will try to do something about it.

If you are looking for a cook rom, then this is the wrong thread.;)
[Galaxy S 4 i9506 Android Development] DeHAWK:
Information.

Might be time to release a pre-beta Overclocked kernel for 4.4.2 XXUCNJ1.

Still working on it, but it's quite stable atm. on my own phone.

Max frequency is now the same as the Galaxy S5, but I'm trying to raise it even more - perhaps up to 20% over the stock 2.265GHz. This would end up with a frequency like 2.67 GHz.

I still need to add a more governors and a few other things.

Known problems:

Phone sometimes reboots a couple of times after first flash and after Power on, not sure why - working on it.

But then it's very stable and very FAST.

If you guys like to do some testing, just let me know.

Stay tuned.

Regards.

UPDATE.

Looks like I've managed to fix the above mentioned problems.
[Galaxy S 4 i9506 Android Development] kotaxor:
Bro, well done, waiting for your release
[Galaxy S 4 i9506 Android Development] usmonkey:
Question on updating ROM and Kernel

Dear All,

Thank you all in advance with my query.

I've got deHAWK's 4.3 rooted ROM build XXUBML6, and would like to upgrade to the 4.4.2 version.

I've been reading on the 1st post and could not find instructions on how to upgrade from this build, I am new to flashing roms, any help will be greatly appreciated.
[Galaxy S 4 i9506 Android Development] kotaxor:
Should be fairly easy, you can flash with Odin 442 firmware from OP and then flash AutoRoot kernel for that particular firmware. Just follow the instructions in OP.
[Galaxy S 4 i9506 Android Development] usmonkey:
[MENTION=4411634]kotaxor[/MENTION] , thank you for the quick reply. I will send you a PM for inquiry. Would not want to clutter up this great thread by [MENTION=4188575]DeHAWK[/MENTION].

This ROM with the snapdragon 800 is like a goat on steroids!
[Galaxy S 4 i9506 Android Development] kotaxor:
[MENTION=5891764]usmonkey[/MENTION]...send you a pm
[Galaxy S 4 i9506 Android Development] breakingstorm:
is there anywhere a .zip file which contains the firmware? because there are only tar.md5 files, i cant flash a rom e.g. via custom recovery or anything else. does anybody know, if there are zip files of 4.4.2 firmware? if not, does anybody know how to creat a zip out of a tar.md5?

hope someone can help me ;)
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro.

Not quite sure what you want.

But God put me here to help you!

What exactly do you need?

In OP 4.4.2 section, you can find all kind of files. If you want to go for 4.4.2, download and flash the full original update from 4.4.2 section 1.

This must be done using Odin 3.09.

Then flash a Custom Recovery, eg TWRP, and you can flash files made for Custom Recovery (.zip files). On 4.4.2 I make all for Custom Recovery.

You can't upgrade to 4.4.2 from eg. 4.3 using a zip file. You need to make a full 4.4.2 firmware flash using Odin (bootloader needs to be updated).

If unable to use Odin, bad PIT file...let me know. I made my own 4.4.2 XXUCNJ1 Open Europe PIT file...and I've tested it myself --> fully working.

Regards
[Galaxy S 4 i9506 Android Development] breakingstorm:
i know, i know :D I am already on 4.4.2, since a long time, but I only wanted to know, if there is also a flashable zip file you can use in custom recovery instead of always flashing via odin. too bad that there is no zip and its not possible :rolleyes:

but thank you :fingers-crossed:
[Galaxy S 4 i9506 Android Development] DeHAWK:
Information.

Overclocked XXUCNJ1 kernel delayed. Needed to fix a few last minute things.

I tested on 2.7GHz...works, but bad benchmark. Reverted back to approximately 2.5GHz...no problems.

Still need to fix some code.

No FC's or random reboots.

You WILL beat S5.

You will see a big overall performance boost.

Will upload later and put it in thread.

It's not ready for OP, even if 100% stable.

You WILL see more updates as I get the time.

NOW eat, then upload.

Stay tuned.

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

Nothing is impossible, until proven impossible. So you want a full 4.4.2 XXUCNJ1 for Custom Recovery?

Well...this is not Mission Impossible, actually it should be possible...we don't need the critical files.

I'll look at it when I get more time...argh...hate time...need more.

Regards.
[Galaxy S 4 i9506 Android Development] breakingstorm:
yes you're right, nothing is impossibl. but if you even know by yourself not how to get such a zip file, you dont need to waste your time for experimenting with that. it's ok, but thank you anyway :highfive:
[Galaxy S 4 i9506 Android Development] DeHAWK:
LOL...I know bro. Just wait and it will happen.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
XXUCNJ1 Over-Clocked kernel now online.

Download link: use the one in post #1699.

Download to internal or external SD-Card.

Flash it using your Custom Recovery (I recommend TWRP). --- Then just Reboot!

Your're now running the same CPU frequencies as Samsung Galaxy S5, but with more KHz stepping choices.

Know issues: NONE!

Need to do: Adding more governors. Fixing code for 2.7GHz.

Flash and be happy.

Report ALL issues here in the thread!

I did all testing on a SLIM XXUCNJ1 system, therefore not everything is tested.

Btw...Screen Mirroring IS working...and FAST.

NOTE: Running CPU overclocked will use more battery!

I can't be held responsible if your phone melts down, explode, decides to travel to Mars or whatever happens.

But when said...CPU should shout down if getting to hot or step down the frequency if it doesn't like the chosen one.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Bro, Just flash OC kernel..Will test..thanks.

You mention about using SLIM build Rom, what had you remove to make it SLIM? Care to share?

Edit: Initial test on your OC kernel : Booting up took a little bit longer compare to your normal insecure kernel, it seem to stuck at the last bootup Samsung logo for a while before finally boot to lock screen.(It's no big deal, just a report).

Will monitor for the rest of the day. Great kernel tho.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Yes it's normal. At Samsung bootlogo, the bootloader is handing over to the kernal where to find the device tree. Kernel then runs through the device tree to find the one that suits it best. This is done based on some hardware info also provided by bootloader. When kernel finds what it's looking for, it writes these values to different places in RAM.

Minimal hardware for booting is now set up and kernel continues execution of the RAM-disk; here you see the bootanimation. During bootanimation kernel continues to setup the environment. After bootanimation it's almost done and a few other things remains. It's here you see a minor delay; we need to write some values for the kernel and system to act on.

System can now start up, kernel speeds up the CPU to full speed on all 4 cores..done -> lock screen, setup screen or whatever.

Yes; I can make a list over the apps still on my system and a list of the full system, also containing what I did freeze.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
Bro..thanks for your details. So far so good. Games just as smooth. No rebooting so far.

Maybe you could add changing governor in initd.

Edit: not a single reboot after about 10 hrs of usage. Stable.
[Galaxy S 4 i9506 Android Development] kotaxor:
Bro, found a problem...dialer freeze and need to do a hard reset. Use your insecure kernel without OC and problem went away. Try it a second time with wipe and same thing happen.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Problem with OC kernel!

It turns out that there seems to be a serious bug in my OC kernel.

I just rechecked...

You can't make or receive calls.

No sound and after terminating the call, phone reboots...

This was one thing I didn't check.

Sorry for the inconvenience. - I'm back to sources to find the problem.

Stay tuned.

Regards.
[Galaxy S 4 i9506 Android Development] kotaxor:
No problem bro, here to test and make it better.

Late night here, going to sleep. Good luck!
[Galaxy S 4 i9506 Android Development] sevenlife:
Do you use the original Samsung cable? Cause I had the same problem and it cause it the cable that it was from Sony. When I replace it with the original all fixed. Also why don't you try to flash a full firmware.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey

I see your problem, but there is NO way of going back to 4.3 or 4.2.2 after upgrading to 4.4.2. Bootloader is locked in such a way that it only allows 4.4.2 or newer versions to be flashed. When I say locked, it means signed by a digital Samsung signature. AFAIK; nobody has been able to revert back the bootloader to an older version. This 'locked' bootloader appeared first, long time ago on the GT-I9505 - it came when upgrading to 4.3 - together with the KNOX ****. But on early versions of the GT-I9506 running the 4.2.2 bootloader I managed to make 4.3 run without updating the critical files by using an insecure kernel.

Even managed to make 4.2.2 run on a 4.3 bootloader.

But with the 4.4.2 bootloader this is no more possible, they changed to much important stuff in the bootloader.

I have one S4+ running 4.3 on 4.2.2 bootloader and one running XXUCNG3 4.4.2 bootloader with my own kernel and system.

To be honest; I really like 4.4.2 after the XXUCNJ1 release.

Not sure what you mean by 'locked my phones sd card so i cant use it' or 'My old apps still cant talk to the SDCARD'...

If you mean write access to SD-card, then this IS fixed by my insecure XXUCNJ1 kernel and system.

My advice would be; flash the XXUCNJ1-NEE full original update from my OP 4.4.2 section. Now flash my AutoRoot for XXUCNJ1. Then flash a custom recovery, TWRP - and use this to flash my De-Odexed and KNOX free XXUCNJ1 update. Last thing is to flash my insecure XXUCNJ1 kernel.

Your phone will then end up rooted, all security restrictions is removed etc. etc.

One last word about the bootloader...I've done a lot of research and perhaps it can be done. I've not tested it, it's still only in my head, but it involves writing of 2 files from a terminal on the phone - the bootloader and sbl1. The risk if not working...perhaps a DEAD phone.

Regards.
[Galaxy S 4 i9506 Android Development] Tim-2.0:
Sorry to butt in lads, however [MENTION=4188575]DeHAWK[/MENTION] - You seem like a wealth of knowledge and I wouldn't mind picking your brain.. (I'm technically in the wrong thread, however I have struggled to get help elsewhere)

First of all I have an i9505, and the other week whilst I was wrapped up in the excitement of flashing (without knowing the exact repercussions) I STUPIDLY manually upgraded my boatloader (and tripped Knox) while I was running a custom LP 5.0 rom.. Now it seems that I cannot boot any custom 4.4.2/4.4.4 roms (it just hangs at bootlogo) I have only successfully managed to boot stock 4.4.2, along with being able to get custom 4.3 and 5.0 roms running - However I am really wanting to go back to my previous 4.4.2/4.4.4 set up.

Is it simply that my boatloader will now only recognise 5.0 roms and (at this point in time) there is no way around this? Or is there potentially something that you suggest I try?? I have literally spent the last couple of weeks attempting almost everything known to man!

Any advice at all is greatly appreciated.. Cheers! :)
[Galaxy S 4 i9506 Android Development] 3lambda:
I was thinking when Samsung will release 5.0 officially for I9506 the bootloader can be locked to 5.0 only ? So we can go back to KK after ? :S
[Galaxy S 4 i9506 Android Development] osdgap:
Think so but would wait until Dehawk release an how to to get prerooted 5.0. So who cares
[Galaxy S 4 i9506 Android Development] DeHAWK:
OC Kernel info.

Yesterday, after receiving a PM about missing sound in making and receiving a call, I didn't have the slightest idea what to look for.

But today my colleague gave me very useful information. I made him a call yesterday on the OC kernel and as you now know; no sound.

I also found out that when enabling the speaker during a call I got FC and the phone rebooted.

Today I know; he did receive my call, he answered the call but couldn't hear me and I couldn't hear him.

This is indeed very useful information. I now know where to look in the sources.

So stay tuned.

Regards.
[Galaxy S 4 i9506 Android Development] DeHAWK:
OC Kernel information.

Problems solved!

Calling works with sound.

Receiving calls working with sound.

Sms tested and works.

No FC or reboots.

Just need to check a few other things and will then upload this new version.

Regards.

EDIT

Screen mirroring work.

WiFi works.

Bluetooth works.

Playing music works.

GPS works.

External SD-Card works.

Think it's time to upload.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

The initial releases for the Galaxy S5 - G900F actually allowed flashing back to 4.4.2.

But you never know when dealing with Samsung.

Personally I don't like v5.0 of Android.

But if the idea in my head could work, then we would be able to revert back the bootloader.

But I need to offer one of my S4+ to test it, with the risk of making it...dead.

Personally I find it quite stupid that Samsung won't let us downgrade, in the case we don't like the upgrade.

Regards.
[Galaxy S 4 i9506 Android Development] 3lambda:
Finger crossed for reverting back to KK from lollipop