yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] kornelius1982:
Do you plan to update kernel dok1 also or there is no need?

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

Hard to say atm. I need to examine the firmware before I can tell.

But it wouldn't surprise me if I have to update the kernels...

But hang around for more details.

Regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Information about latest XXUDOK1.

Attention: Do NOT flash atm!

Status: Just flashed repacked XXUDOK1 firmware, then TWRP 2.8.7.0 and new insecure XXUDOK1 v2 OC kernel...no problems so far.

BUT when flashing new SLIM De-Odexed - phone freaked out..had to pull battery. But then, after inserting it again..it seems everything is working as it should.

This needs some more work, but so far NEW insecure kernels is working.

Hang around for more information.

Regards

DeHAWK.

EDIT

Now running SLIM XXUDOK1 De-Odexed on NEW XXUDOK1 v2 OC insecure kernel. Seems fast and stable, so far no problems on my phone. But as said above, strange behaviour after flashing the SLIM De-Odexed.

Will be heading for bed now and continue the work tomorrow and keep testing during the day.

Stay tuned guys.
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP 5.0.1section updated.

OK guys, I now have everything ready:

Stock full orginal XXUDOK1-NEE firmware.

A repacked stock XXUDOK1-NEE firmware, this one without the hidden image. I do recommend flashing this, since you really don't need the hidden image.

Furthermore; 4 new insecure kernels - all made for this new XXUDOK1 firmware.

2 build with original Bluetooth drivers, OC and NON-OC versions.

2 build with updated Bluetooth drivers, OC and NON-OC versions.

These are made for XXUDOK1 only!

As usual; totally KNOX free, pre-rooted, new updated Busybox installed, supports init.d scripting and has all the build-in functions as previous versions.

DO NOT use any of these kernels on any previously released firmware!

And not to forget...the De-Odexed versions.

A GT-I9506 XXUDOK1 FULL De-Odexed system update.

A GT-I9506 XXUDOK1 SLIM De-Odexed system update.

All files are uploaded and added to their respective OP 5.0.1 sections.

I've only tested the two OC versions on my own phone - together with the SLIM De-Odexed system and it now works perfectly.

No reason to test the other files; if the tested files works, they all works.

Testing was done by flashing the stock repacked XXUDOK1-NEE firmware, the one without hidden image.

For stock firmware flashing I ONLY use Odin v3.10.6 and so should you.

When flashing the XXUDOK1 stock firmware for the first time, you MUST go to download mode (Odin mode) from OFF.

Or even better; Do the battery pull trick!! - I had to do it myself the second time due to odd behaviour when flashing De-Odexed systems.

This to make sure all files got updated.

For flashing insecure kernels and De-Odexed system, I used TWRP v2.8.7.0 and so should you. Do NOT use TWRP 2.8.5.0!

Note regarding TWRP v2.8.7.0: When using TWRP 2.8.7.0 for the first time, it will ask you if you want to make the system partition READ ONLY.

DO NOT mark the box, just swipe. Otherwise you will NOT be able to flash anything into the system.

If you by mistake have marked the box and therefore can't flash system files - find the TWRP folder on your internal SD-Card, enter it and delete the .twrps file. Now, when you reboot to TWRP the next time it will ask you again...and this time DON'T mark the box.

I think this was all for now.

Happy flashing and don't forget to report back here in the thread.

And...have a nice Weekend.

Regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] same-xx:
Bro, very nice. Is it to possible to make a slim version with Samsung account intact? Because I use it quite bit. If that doesn´t mess up anything. Or if it´s too mutch to ask. I have tried to install samsung account back so many ways and many different versions and I can´t get it working.Or is there a way to install it some way that u know.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Shouldn't be that difficult. I can make you a package for TWRP if you want.

That way you don't have to worry about what to install.

Will look at it tomorrow, so hang around brother.

Regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] sutefunu:
No more Odin 3.0.7???
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Correct!

Those latest Original firmwares must be flashed using Odin v3.10.6.

But you should still use Odin v3.07 for flashing TWRP.

That's what I do and it works every time and therefore I recommend it.

Regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] sutefunu:
Did I miss something or the baseband is still DOJ2 in file:

"repacked_I9506XXUDOK1_I9506NEEDOK1_I9506XXUDOJ2_HOME.tar"

Edit:

Ooops... DeHAWK actually has said that the modem is still DOJ2 in post #4001
[Galaxy S 4 i9506 Android Development] 3lambda:
As anyone managed to make xposed work with DOJ2 ?

Edit : make a typo

Envoyé de mon GT-I9506 en utilisant Tapatalk
[Galaxy S 4 i9506 Android Development] kornelius1982:
I'm very happy with full DOJ2. Superfast and stable.

As the changelist is same, I dont see reason to move to DOK1.
[Galaxy S 4 i9506 Android Development] sutefunu:
Did update to full stock DOK1. Then put DOK1 oc kernel v2 and now both baseband and build are DOJ2

Edit...

After slim de-odex build is DOK1 again
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Thanks for reporting; my problem.

I may have missed to replace that build.prop.

Regards

DeHAWK.

EDIT

4 new XXUDOK1 kernels being uploaded right now.

I missed the new build.prop in all of them.

Sorry for the inconvenience
[Galaxy S 4 i9506 Android Development] kornelius1982:
If someone is interested in difference between OC and non OC kernels, here are screenshots of Antutu.

That's f****n 4K boost. Awesome!
[Galaxy S 4 i9506 Android Development] DeHAWK:
OP 5.0.1section updated.

Insecure kernel links updated. Old v3.3.0 files removed and replaced by v3.3.1.

Fixed problem with build.prop in all 4 versions. The v3.3.0 kernels still used the XXUDOJ2 build.prop.

Thanks to xda-member sutefunu for reporting.

Once again sorry for the inconvenience.

Regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] same-xx:
Speaking of performance: this latest version is unbelievable fast! Now lollipop is finally starting to leave kitkat crying. Latest antutu test 52000. And I'm in full deodexed. Slim gives probably more... Really nice work. And no bluetooth or wifi issue here. I use normal oc version. But I haven't got those anyway. Staing tuned for tomorrow. Thanks. Oh, people, custom systemUI mod from first page is working in this version too. Like custom wallpaper picker. And Kernel Adiutor profile backin up is workin.
[Galaxy S 4 i9506 Android Development] kornelius1982:
52K?? You mean DOK1 is that much fast??

I'm keen to flash it over DOJ2 if it's worth.

Can you share kernel adiutor profile?
[Galaxy S 4 i9506 Android Development] rockman.kowal:
But what about battery life in OC verision?

Wysłane z mojego GT-I9506 przy użyciu Tapatalka
[Galaxy S 4 i9506 Android Development] kornelius1982:
Ofc you have to sacrifice battery juice a bit (not much then 10% whole day), but in general it feels faster and responsive.
[Galaxy S 4 i9506 Android Development] same-xx:
Yes I mean dok1. Battery life in oc versions is better than without. If you don't take everything to the limit. Cause u can turn of touch boost, u can use more battery friendly governor... And many people doesn't think that in lower mhz processor uses more time per process than little bit higher. And cpu can shut down cores faster and cpu can go to idle faster, after processes is done more quickly. @ kornelius: I post my settings later today. When I have more time. But there is nothing strange there. Performance based governor, max clock, inellithermal off, intelliplug on or off depending how mutch stuff I have in phone. Sd read ahead 512-1024, but I use different modded governors for testing and othetways modded for everyday usage. At gpu I use msm adreno tz or msm cpufreq both modded. If u need more, let me know.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

I now have a zip package ready for you.

Download and flash the below file using TWRP, no further action is needed.

It will install the Samsung Account.

Samsungservice2_xxhdpi.zip

Let me know how it goes.

Regards

DeHAWK
[Galaxy S 4 i9506 Android Development] Radder124:
How are you backing up the kernel profiles?? thanks
[Galaxy S 4 i9506 Android Development] same-xx:
[MENTION=4188575]DeHAWK[/MENTION]: Thanks so mutch bro, really appreciate this. Will notify you.

I wrote it to u two times, but no worries here it comes: Go to system root/data/com.grarak.kerneladiutor/files/proliles.json. Then copy profiles.json to somewhere safe. Then after flashing go to same place where u copied from and overwrite the original file in there. I didn't test it other than one profile, but it worked. And I did not see there any permessions or anything. Just copied it there and my profile was restored. Hope this helps. If anything to ask in order to clarify just ask.
[Galaxy S 4 i9506 Android Development] same-xx:
So anybody who is intersted I manage to unlock service menu (*#0011#) way that u can chance preferred network type or types. And there is some other stuff too. With that is no need to use paid network toggle apps to use only 4g if u want. But BE CAREFUL what you do there. Other good thing is that u can put amr wideband on from there. So: first go to efs/factoryApp/keystring and with text editor chance off to on and save. Second: Go to build.prpob: ro.product_ship true and chance it to false. Otherwise this won't work. Then dial *#0011#. Now in sevice menu press menu button and back button at together. Let go and press menu button, you see menu. Press back once in menu. Press menu again, then press keyinput and write Q0. WAIT about 10-15 sec and unlocked service menu opens. If you have questions ask.
[Galaxy S 4 i9506 Android Development] Radder124:
I didn't see :) Thanks mate.

I also have a question : I can't update Google Play and Play Services. Even if I download the apk on internet, the phone says App can't update. Is there anyone on DOF2 who managed to update Google play on version 6.0.0?
[Galaxy S 4 i9506 Android Development] bryanfeanor:
I have a question about the kernel, the only drawback i have is that in stock the mac address is readed from efs/wifi/.mac.info, you can change the mac "permantly" unless another kernel is flashed (arter´s, dehwak´s, firework or aosp) or stock kitkat.

I need this because my college limits 1 device per student, so only laptop, or tablet or phone, and sometimes i bring my laptop to class but need to use my phone (it´s easier to spoof in android than in windows 8), so both share the same mac address, it will be cool that the insecure kernel had the same feature(it´s possible the spoofing using some apps and busybox but needs to be done every time than wifi is activated and not always works). Other wise I will be nice to know why this can´t be. So please and thank you.
[Galaxy S 4 i9506 Android Development] same-xx:
Mine works just fine, no broblems. Here is link for app that is working for me: http://xdaforums.com/attachment.php?attachmentid=3541395&d=1447460576. How did uninstal it?. Hope you didn't unistall previous?
[Galaxy S 4 i9506 Android Development] rockman.kowal:
[MENTION=5195692]same-xx[/MENTION] please tell my witch governor You use for best battery life and good performance in OC kernell?

Wysłane z mojego GT-I9506 przy użyciu Tapatalka
[Galaxy S 4 i9506 Android Development] saschc:
I'm going to upgrade from Slim deodexed DOJ2. Is it recommended to do a factory reset before flashing repacked Stock DOK1 (or at another point of the process), or is it not really necessary?
[Galaxy S 4 i9506 Android Development] same-xx:
Governor depends so many things. When u want performance battery life shortens always. But my favorit for that is intelimm. But u need to rise mhz a bit. And turn touchboost off. With that I have got quite good battery life. Other really good is yankative. [MENTION=4941694]saschc[/MENTION]: Wipe is when chancing rom never bad thing. Do a backup with samsung account and/or with some backup program (good one) what backs up your sms, call list and so on. Super backup pro is really good. That u can get from various places for free, and then u can do reset without fear of losing anything important.

---------- Post added at 12:01 PM ---------- Previous post was at 11:44 AM ----------

@bryanfeanor: you can chance your mac back to previous with titaniumbackup pro atleast. And u can chance your android host back to previous, so that the device recognice that it is same device. Titanium uses that so u don't lose your paid apps.
[Galaxy S 4 i9506 Android Development] bryanfeanor:
Thank you for your answer but my question isķ, if this feature found in this thread http://xdaforums.com/showthread.php?p=37299286 can be enabled in Dehawks kernel, because apparently stock kernel (lollipop and kitkat) has it, but customs doesn't.
[Galaxy S 4 i9506 Android Development] same-xx:
Yes you can chance your mac in DeHawks kernels. But ultimately it depends your android host name how computer regognises your phone. Or it will in my work computers and in my car. But I don't see why you could not do it. But my work computer or my car won't care as long my android host name stays the same. But in computers there are dirrerent settings for that. But like I told you: Titanium backup pro returns the old mac back and in play store is tonns of programs witch you can chance your mac. There are also programs that looks your old mac adresses and ssid keys. If you need to know more, I will help any way I can. But there is no point to install any patch to kernel for that purpose. If I were you I would not meddle with kernel. There is possibility that it messes your efs and something else. But if you do, back your efs and everything very well.
[Galaxy S 4 i9506 Android Development] Juhoop:
Hi guys! I told before that I moved to KernelAdiutor and it is quite good software. But I one quite big broblem with it. My idle batterylife is bad and my battery level drops very much (30%) in one night onnwifi.

Do you guys have any tips for get more battery life? In faux I didn't have these problems.
[Galaxy S 4 i9506 Android Development] same-xx:
There is Dynamic fsync in misc settings. See that is on. Cpu min is 300. Cpu threshold 1190 when cpu loading crosses the preset. Cpu input boost is of. Mp decision off. Intelliplug on. Profile eco-conservative. Touchboost off. Hypertens 8, next 722. Cpu max when screen is off: disabled. Intellithermal on, CC and VDD off. GPU: 450mhz msm_userspace or powersave. Simple algorythm on. About thats it for aidiutor. Oh and cpu covernor intelimm, if u use phone lightly. And from misc power suspend mode to userspace and power susp. State 2. But remember to check that your wifi settings. No passport, nerwork notification off, wifi powersave always on. And smart network chance off. I mean 2.4mhz/5mhz. That should help. Or so I hope. Cheers.
[Galaxy S 4 i9506 Android Development] Alienns:
Please try WiFi > Settings > Advanced and select Keep Wi-Fi on during sleep to NEVER. Wi-Fi should turn off after 5-10 min and tel go to 3g and if you unlock screen phone should instant connect to Wi-Fi again. If not that`s a bug. Mine connect to Wi-Fi only 2-3 times after flashing DOK1 (with removed bat) now don`t connect again. Do i have only prob or more ppl have? With every other 5.0.1 version he never connect on wi-fi again until i select AP manually or turn of and turn on wifi again. But if i chose Wi-Fi always keep connected than phone stay connected always.
[Galaxy S 4 i9506 Android Development] RazielEren:
Can you upload stock music app thanks. :)
[Galaxy S 4 i9506 Android Development] same-xx:
You can download S6 version instead. And this is better. S6 Music Player by Goldie. It can be found in hot s6 apps.
[Galaxy S 4 i9506 Android Development] rockman.kowal:
@up

Can You give link for this stuff?

Edit: I found it by myself;)

Wysłane z mojego GT-I9506 przy użyciu Tapatalka
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Made some testing and you're right.

If the 'never' option is selected and phone is deep sleeping, it doesn't reconnect when waked up.

I had to disable WiFi and then enable it again to make it reconnect.

I have now made changes to the WiFi part of my kernel and now it seems to work.

Regards

DeHAWK

EDIT

Not working...phone was sleeping for 40 minutes and didn't reconnect.

Hopefully the new sources will fix this.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Attention

New sources has been released for our phone, XXUDOJ2. Downloading them right now and when done I'll begin to work on them.

So stay tuned guys.

Regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] Radder124:
But DOJ2 came out before DOK1, didn't it?
[Galaxy S 4 i9506 Android Development] saschc:
DOJ2?
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey guys

This is the source code for my kernels. Latest released sources was in July and was XXUDOE2 and is what all my present kernels are build on.

No confusion here, XXUDOK1 is the firmware, remember what I said when it was released; I did see changes in the kernel binaries.

So I was just waiting for these new kernel sources.

Hope this help.

Regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] GTI-9300:
Difference between DOJ2 and DOK1 is a Security Patch. Update from DOJ2 to DOK1 was 73 Megabyte. Changelist is the same.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

You're so right.

But they have even made some changes to the kernel sources.

I'm now running a new kernel, build on those latest XXUDOJ2 sources with all the features implemented.

So far no problems running OC version.

I can see they made a few Bluetooth source changes, but I'm not able to test them...might have to release 2 test versions, before I make any v2 versions.

Perhaps they managed to fix the problem with wearables in this new release.

Well, enough for now.

Goodnight.

Regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] same-xx:
Hei Bro your sammy account zip was perfect. Working like a dream. Trying to compile services.jar to get ultrapower saving mode. Got the right code, but using notepad++ is like latin to me. But sometimes I need that extra battery capasity.

For information, new slim is really fast.
[Galaxy S 4 i9506 Android Development] Juhkimo:
https://mega.nz/#!I59wAZhb!mMEbgBtr1sO9XWdl-GT9fnYzS8J53cJ_uq5rZoOE4g4

Did you got it to work? Here is my services.jar, UPSM is enabled :)

...But you also need EmergencyLauncher, EmergencyModeService and EmergencyProvider
[Galaxy S 4 i9506 Android Development] DeHAWK:
Information about Fast Charge;

Have now reimplemented it...problem is; can't find an app that supports it 100%.

It can be controlled by putting values into /sys/kernel/fast_charge.

An init.d scrip should be able to do it.

But be warned; if you don't know how and what to do, stay away from it - you can damage your phone and PC.

This is an implementation made from a bunch of devices; the Note 3, the S5 and regular S4.

If only Kernel Adiutor had the options, no problem. But it can only turn on/off USB fast change...and not..because of a fail safe option implemented.

By default, this fail safe is ON, but it can be turned off by writing a '0' to /sys/kernel/fast_charge/failsafe

Well, so are you guys sure you want to test it?

Nice to know: A laptop USB 2.0 can deliver up to 500mA.

A laptop USB 3.0 port should be able to deliver up to 1000mA, some even more.

Your stock charger can deliver a maximum of 2000mA.

But be aware, these values can be different for your equipment.

Enough for now.

Stay tuned.

Regards

DEHAWK.
[Galaxy S 4 i9506 Android Development] DeHAWK:
More info regarding Fast Charge;

The following is taken directly from the source code:

Note: RO is Read Only. RW is Read and Write able.

/*

* Forced Fast Charge - SysFS interface :

* --------------------------------------

*

* /sys/kernel/fast_charge/force_fast_charge (rw)

*

* 0 - disabled (default)

* 1 - substitute AC to USB

* 2 - use custom mA configured through sysfs interface (see below)

*

* /sys/kernel/fast_charge/use_mtp_during_fast_charge (rw)

*

* 0 - disabled

* 1 - enabled (default)

*

* /sys/kernel/fast_charge/screen_on_current_limit (rw)

*

* 0 - disabled

* 1 - enabled (default)

*

* /sys/kernel/fast_charge/ac_charge_level (rw)

*

* rate at which to charge when on AC (1.0A/h to 2.0A/h)

*

* /sys/kernel/fast_charge/usb_charge_level (r/w)

*

* rate at which to charge when on USB (0.460A/h to 1.0A/h)

*

* /sys/kernel/fast_charge/failsafe (rw)

*

* 0 - disabled - allow anything up to 2.0A/h to be used as AC / USB custom current

* 1 - enabled - behaviour as described above (default)

*

* /sys/kernel/fast_charge/ac_levels (ro)

*

* display available levels for AC (for failsafe enabled mode)

*

* /sys/kernel/fast_charge/usb_levels (ro)

*

* display available levels for USB (for failsafe enabled mode)

*

* /sys/kernel/fast_charge/version (ro)

*

* display fast charge version information

*

* /sys/kernel/fast_charge/info (ro)

*

* display complete fast charge configuration in human readable format

*

*/

Hope this helps a little.

Hang around for release of test kernels.

Regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] same-xx:
[MENTION=6493944]Juhkimo[/MENTION]: Thanks Man! Yes I got it compilled, but awful battery drain. Got the code from dev who makes verizon roms for s4. Seems that the code didn´t work properly in our phone. I got the launchers and secsettings with quick settings and everyhting, so with your services.jar should everythin be mor than fine. Got even tw launcher zero wiht with 3 different grids and million other settings working today. Long live Finnish co-op. With help of our main dev of course.
[Galaxy S 4 i9506 Android Development] DeHAWK:
Attention:

4 new kernels released here in the thread, for testing.

Build on latest released sources - XXUDOJ2.

All previous kernel features has been implemented and a new one added; Fast Charging.

Please read my 2 previous posts about this Fast Charging: #4049 and #4050

As for now, NO v2 versions, it seems sources has been fixed. But I need you guys to test it out.

Download and flash as usual, no further action needed.

XXUDOK1 kernels are made for XXUDOK1 firmware.

Links:

GT-I9506XXUDOK1_NON-OC_v40x_DeHAWK_Kernel.

GT-I9506XXUDOK1_OC_v40x_DeHAWK_Kernel.

On request; now 2 new kernel for the XXUDOJ2 firmware.

Exactly same functions and features as the XXUDOK1 kernels,

but build for the XXUDOJ2 firmware.

Links:

GT-I9506XXUDOJ2_NON-OC_v40x_DeHAWK_Kernel.

GT-I9506XXUDOJ2_OC_v40x_DeHAWK_Kernel.

Update info 2015-11-28

Attention:

You must use a kernel build for the system version you're running.

Do NOT try to mix the versions! - You WILL fail!

XXUDOJ2 kernels for XXUDOJ2 firmware only!

and

XXUDOK1 kernels for XXUDOK1 firmware only!

Further Information:

"cubic" is now back as default TCP Congestion Algorithm.

Fast charge code added/changed - now automatically switches to highest available current on USB2.0 and USB3.0.

Please note that this all depends of your own hardware.

I've been using the 'Galaxy Charging Current' app from Google Play to monitor values.

Please report back here in the thread.

Regards

DeHAWK.
[Galaxy S 4 i9506 Android Development] saschc:
Thx bro! Link to OC kernel doesn't work for me.

Gesendet von meinem GT-I9506 mit Hilfe von XDA Forums
[Galaxy S 4 i9506 Android Development] DeHAWK:
Hey bro

Both links just tested on my Laptop, both is working. Just downloaded the OC version.

Anyone else having problems?

If thats the case, please let me know ASAP.

Regards

DeHAWK

EDIT

MEGA seems to screw up the file if downloading using phone app...never used MEGA app before...

I normally only download from laptop.
[Galaxy S 4 i9506 Android Development] saschc:
Ok, thanks for the hint, got it via chrome now.
[Galaxy S 4 i9506 Android Development] DeHAWK:
More Fast Charge info.

Below is a screen capture of the fast_charge folder. Location is /sys/kernel/fast_charge.

Regards

DeHAWK.