yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] TuxBrothers:
Hi guys,

Does anyone have a download link (or can share) the v3.8 that came with the v13.1 rom?

Thanks in advance!

Cheers
[Galaxy S 4 i9505 Android Development] mickdroid94:
You can change the download link of the kernel from 4.5 to 3.8 , it should work .. try!
[Galaxy S 4 i9505 Android Development] TuxBrothers:
Thanks Mick !!! :)
[Galaxy S 4 i9505 Android Development] Helloziro:
thanks you very much

Please new most features (sorry my English very bad):eek::laugh:
[Galaxy S 4 i9505 Android Development] JensGoro:
Van anybody Sharethe links to ll kernel 4.4 and 4. 3
[Galaxy S 4 i9505 Android Development] laupuy:
Hello, just change 4.5 by 4.4 or 4.3 and that's all !

http://www.imperiumrom.com/S4/5.0.1/OTA/kernel/Imperium_LL_Kernel_v4.3.zip

http://www.imperiumrom.com/S4/5.0.1/OTA/kernel/Imperium_LL_Kernel_v4.4.zip

;)
[Galaxy S 4 i9505 Android Development] rapidsebuja:
Hi how to enable fast charge on this kernel ? (4.5)

Wysłane z mojego SM-N920F przy użyciu Tapatalka
[Galaxy S 4 i9505 Android Development] droidblitz:
Inside stweaks look for charging tab.

Also be sure your wallcharger outputs 1.5A ~ 2A
[Galaxy S 4 i9505 Android Development] JensGoro:
Imperium Kernel for LP is a nice Idea?!
[Galaxy S 4 i9505 Android Development] Federacion:
Sure it is.
[Galaxy S 4 i9505 Android Development] JensGoro:
Whats about the NEW PG1 Kernel?

Build date : 2016-07-08 - Security Patch : 2016-07-01
[Galaxy S 4 i9505 Android Development] FlorianSSJ:
Why it says that supports F2FS, but using it the phone wont work?
[Galaxy S 4 i9505 Android Development] a103:
If you could explain what exactly you did and what do you mean by phone won't work people can help.
[Galaxy S 4 i9505 Android Development] FlorianSSJ:
If you try to flash the kernelz than change file system to f2fs for /data and /cache, at boot it will say that the phone cant encrypt and will give yiu the option to restore data, but il will say that he cant encrypt every time untill you change file system back to ext4
[Galaxy S 4 i9505 Android Development] luxpiotr:
Can I install new UHPG1 modem+botloader without waiting for new kernel? There will be problems?
[Galaxy S 4 i9505 Android Development] Sebgti42:
Yes you can i do on thor s7
[Galaxy S 4 i9505 Android Development] fessa:
I flashed the kernel + loki-doki.zip -doesn't work (I337, MDL bootloader) - "unauthorized software" error.

For Albe95 LolliROM 9.0 - Hulk kernel seems to work. Can't be 100% sure - just installed it today :)

Wifi, LTE, calls, proximity sensors, camera works. There were a few crashes during the original setup, but none after that.
[Galaxy S 4 i9505 Android Development] luxpiotr:
I have problem with charge too. Lolirom 9 + Imperium kernel 4.5 + orginal Samsung ac charger 2A

How to enable fastcharge? I change only stweaks value USB CHarge to 1000mA and AC Charge to 1900mA but on Ampre app still 940~1040mA on AC and 460mA on USB

.............................EDIT.......................

Hmm I change usb cable to charger and... now Ampre say its charging at 1900mA Its magic, how cable can change result?
[Galaxy S 4 i9505 Android Development] aneinai:
Depends on cable gauge, length and overall quality (of the cable). I always try combinations of new chargers and cables. Sometimes disconnecting and reconnecting the phone to a charger can give slightly different charge current results.
[Galaxy S 4 i9505 Android Development] slim80:
Imperium LL Kernel v4.6 online.
[Galaxy S 4 i9505 Android Development] Sebgti42:
Thanks for jour job

Flash on thor s7 and all seems to be fine

:good:

I test this sunday
[Galaxy S 4 i9505 Android Development] legendt:
I installed this kernels for serveral times. However each time it won't show any logs in XposedInstaller. And time to request root access seems a little longer. Could this be eventually fixed please?
[Galaxy S 4 i9505 Android Development] HIS YB:
Please whts the diffrence between the "old soft key kernel" and the normal kernel??
[Galaxy S 4 i9505 Android Development] laupuy:
Hi,

For some people the soft touch menu and back does not work after update of the kernel, that's why there are 2 release.

@+
[Galaxy S 4 i9505 Android Development] savonacco:
Ciao ragazzi secondo voi il miglior settaggio batteria/performance dell' imperium kernel 4.6 per galaxy s4 i9505 secondo te? Grazie anticipatamente

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Android Development] Federacion:
Is it safe to greenify stweaks?
[Galaxy S 4 i9505 Android Development] robcore:
If you use stweaks, I wouldn't...
[Galaxy S 4 i9505 Android Development] Andycar:
Dear [MENTION=4543502]slim80[/MENTION], thanks for the new kernel.

I have a kind of strange question.

there is an internal function " set_disable_status_param"

, it's in the source file pm8921-sec-charger.c

How should I use it from the user-space? I want to stop battery charging completely programmatically.

Can you advice something?

Thanks in advance.
[Galaxy S 4 i9505 Android Development] robcore:
Hey man,

I hope you don't mind me butting in but I had a look, and the charging disabled functions in the samsung driver is moreso for emergency purposes like a bad/incompatible charger or heat mitigation. There ARE extra drivers for the chipset that we must don't compile in because they are meant for the mini-pc version of our chipset, like msm_fake_battery. That's for boards with a constant, external power supply though.

Out of curiousity, how come you want to turn off charging?
[Galaxy S 4 i9505 Android Development] Andycar:
Thanks for the input. That means, there is no driver compiled into machine code from that pm8921-sec-charger.c file for our S4?

To satisfy your curiosity: I have the S4 that I leave most of the time inside the car. It runs an alarm app (based on accelerometer) and a video-surveillance streming to ivideon server (on demand).

- I'd like to keep the battery inside the phone (because I use outside the car sometime)

- At the same time, I don't like it to be all the fed by car battery only - that'll draw to much current from the car.

So, I'd like to use Tasker to switch the battery charging off when it charges to 100%.

Let it run down to 10%, and then switch the charging back on. I want to do it because:

1. I don't feel comfortable leaving the S4 on the charger during the day - when the car is under direct sun, the battery easily gets like 44С or so...

2. I don't like the fact that the charger still draws some current to keep the battery charged 100%. I think, it still wastes the main battery in the car.

I realize this kind of usage has its pros and cons and has been discussed many times on the internet. Still I haven't found an optimal solution for my purposes.

Would be glad if you share your thoughts, [MENTION=4763308]robcore[/MENTION]

Thanks, Andy
[Galaxy S 4 i9505 Android Development] robcore:
Hehe thanks for satisfying my vain curiousity. Knowing the real life use case can definitely be useful for problem solving these types of issues though. One solution I could think of would be a "smart" car charger, that allows the current to be cut off based on conditions (like timer, etc). However, I like your tasker idea.

The code is definitely compiled in, but I'm not sure if a manual over ride is exposed to userspace via sysfs. I did find something that is a maaaybe, so assuming tasker has a root scripting extension (I imagine it does, it has plugins for almost everything), you can *try* writing to /sys/class/power_supply/battery/batt_charging_source

echo 0 > /sys/class/power_supply/battery/batt_charging_source for off, 1 for on if it works the way I'm assuming (by default it's set at 1).

If not, I could probably write a master switch hook to the driver and send a pull request to Slim. It would be as easy as exposing the bool sysfs (which I learned how to do recently and is so much fun).
[Galaxy S 4 i9505 Android Development] Andycar:
Thanks for suggestion! Surely Tasker has su support in shell scripts. It would be nice to use it like that. But... /sys/class/power_supply/battery/batt_charging_source contains value that seems to be readonly...

On this kernel it just shows "3" when charging. You can't change it to zero,so I guess it doesn't expose any boolean type switch.

I would be grateful if you share your recently gained knowledge[emoji4] about how to write a master such hook in kernel.

Edit: oh, and a smart charger also sounds interesting, I will think about this. Thanks!

Отправлено с моего GT-I9505 через Tapatalk
[Galaxy S 4 i9505 Android Development] tveoloko:
Question about Kernel options

Hello Slim80:

I want to know if this kernel has been compiled with the option "Network Control Model (NCM) support" for USB (inside "USB Gadget Support" in kernel menuconfig) . If not, can it be compiled with this option checked?

Also I have detected a difference in file permissions of "/sys/class/android_usb/android0/terminal_version" between the kernel as "normal" version (permission is 440) and as "old soft touch keys" version (permission is 660). I have experienced problems in some APPS that uses USB due to this difference (correct one is 660 and I have to change it manually in "normal" kernel version to avoid problems). Anyway, permissions in files and subdirectories in "/sys/class/android_usb/android0" should be the same in both kernel compilation, am I right?

Regards
[Galaxy S 4 i9505 Android Development] savonacco:
Hi, but settings of I/O are only for internal storage read ahead?

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Android Development] a103:
Both
[Galaxy S 4 i9505 Android Development] savonacco:
Thanks!

Remain those best settings? even with v. 4.6?

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Android Development] nawabsiddiq:
I flashed you kernel in my SC-04E version of S4 wifi SIM everythings is working correctly but Camera is not working can you help me with this. Thanks is advance:good:
[Galaxy S 4 i9505 Android Development] savonacco:
I'm sorry, I don't know

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Android Development] R3dDr4g0n:
Dear [MENTION=4543502]slim80[/MENTION], can you provide a kernel variant of imperium for dual boot? (variant with a smaller ramdisk)? Or can you provide a download link to an earlier version of imperium kernel with a less heavy ramdisk? Thanks and regards

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Android Development] Federacion:
If you ask any other old version I can sent you a few from 2.8 to 4.6.
[Galaxy S 4 i9505 Android Development] NeosHaruki:
I installed the latest version on kushan rom 9.0 and it rebooted the device about twice, switched back to 4.1 and no reboots so far
[Galaxy S 4 i9505 Android Development] Federacion:
Well I used to have great performance and battery with v4.6 at Rom 10.1 but since updating to 16 version of imperium Rom its been very hot and battery drain. So I am now testing stock kernel.
[Galaxy S 4 i9505 Android Development] Superperry96:
Is this kernel supporting overclock or undervoltage?

If yes, has someone tried it and can tell me his/her settings for i9505?

Thanks.
[Galaxy S 4 i9505 Android Development] Federacion:
No overclock and never will be. Undervolt just 2 steps at stweaks and will be fine.
[Galaxy S 4 i9505 Android Development] Superperry96:
The kernel is good and very smooth.

If you look for suggestions, I would like you to add the other cpu governors such as hellsactive and stuff. Also if you can implement other hotplug governors because 2 is too poor.

If you can still improve battery consumption it will be good.

Keep your good work.
[Galaxy S 4 i9505 Android Development] nwlun:
hi slim

how do i apply your clean kernel?

thanks
[Galaxy S 4 i9505 Android Development] Federacion:
Download clean kernel script from page 1.

First flash this and then the kernel.
[Galaxy S 4 i9505 Android Development] chiruscan:
Any chance to update to fauxsound 4.3?
[Galaxy S 4 i9505 Android Development] ldcdc:
Anyone else having trouble getting MSM-Thermal in STweaks working right? Default seems to cap the temperature to the 70-80 range. Intelli thermal just doesn't seem to do anything though. I set the limits to 60 degrees. The temperature goes to 90, and it might go higher if I don't stop the CPU stressing app. Intelli Dual seems to do whatever Default does (caps the temperature somewhere in the 70-80 range). I really liked the idea of being able to set lower temperature limits. What could I be doing wrong? I tried every knobs combination in the MSM-Thermal section that I could think of. I thought I should also mention that the temperatures I've mentioned are with the CPU undervolted.

Kernel Adiutor always reports Intellithermal as off. It also reports CPU temperature as 0. If for some reason the Intelli algorithm gets the same reading, it's no surprise it does nothing to keep the CPU cool.
[Galaxy S 4 i9505 Android Development] Superperry96:
Slim80, are you going to update your kernel for ppi1?

If yes, I hope it will come as soon as possible.

Anyway are you going to add more cpu/gpu governors?
[Galaxy S 4 i9505 Android Development] AnthonyMn:
Can you overclock your kernel to 1998mhz too?
[Galaxy S 4 i9505 Android Development] tveoloko:
Mobicore kernel support

Hello slim80:

Does kernel version 4.6 includes the component "Linux MobiCore Support" and "Linux MobiCore API"? If not, I would need to be included in next version.

Thanks in advance
[Galaxy S 4 i9505 Android Development] a103:
No. OC isn't supported AFAIK.
[Galaxy S 4 i9505 Android Development] Superperry96:
Is your kernel still supporting f2fs format?

If so is tw rom gonna work or not as someone said...
[Galaxy S 4 i9505 Android Development] david19au:
It was me who asked about F2FS here, most probably no, unless there is a patch or a ROM that will support it, kernel support is just one sided.
[Galaxy S 4 i9505 Android Development] Superperry96:
I read somewhere that older versions have f2fs support, that's why I'm asking. If you read about changelog you can see slim80 writes about f2fs, so I suppose it was or still supported. I still want to know if tw rom can support f2fs or not or if there is a tw rom compatible with f2fs format because I really want to try, I even opened a q&a thread to have a clear answer but still no response at all.
[Galaxy S 4 i9505 Android Development] Soldier50:
Is it compatible with Albe95 lollirom HPA1 ?

Hi guys. I have a quick question:

Will it work with the latest Albe95 lollirom HPA1 v9.0?
[Galaxy S 4 i9505 Android Development] Superperry96:
Of course it is. Imperium is compatible with alberom, tried personally.
[Galaxy S 4 i9505 Android Development] Soldier50:
Cool, thank you.

Can you tell me what differences did you experience with the Albe95 kernel and with this one? Any improvement or loss of functions?
[Galaxy S 4 i9505 Android Development] Superperry96:
Alberom uses stock kernel if I'm not wrong, imperium is a modified kernel. It's much more better using imperium than rom's kernel. Much more smoother and good performance, battery is a little bit better (it's personal).

No bugs or loss of functions, its stable and I had a 40k antutu score.

It's really worth to install, trust me.

Imperium can be install on any tw lollipop rom (custom or not), wiz rom and thor rom.
[Galaxy S 4 i9505 Android Development] Helloziro:
-HBM:Qualcomm High Brightness Mode: please ?
[Galaxy S 4 i9505 Android Development] david19au:
Won't be included for sure, get Machinex from RobCore for that, this is a near stock kernel
[Galaxy S 4 i9505 Android Development] Federacion:
Seems to me 4.5 is smother faster less heated and better battery controller than 4.6.

I have read the changelog and can't determine why...
[Galaxy S 4 i9505 Android Development] HmdCma:
Is this for wifi???
[Galaxy S 4 i9505 Android Development] Federacion:
No
[Galaxy S 4 i9505 Android Development] haamza21:
Can you Send me a link from 4.5?

Gesendet von meinem SM-A800F mit Tapatalk
[Galaxy S 4 i9505 Android Development] laupuy:
Hi,

just change 4.6 by 4.5 in download link ;)

http://www.imperiumrom.com/S4/5.0.1/OTA/kernel/Imperium_LL_Kernel_v4.5.zip
[Galaxy S 4 i9505 Android Development] stevtec86:
Sorry, i'm not understand;

why you prefer 4.5 and not 4.6?

Sent with a Falcon Peregrinus
[Galaxy S 4 i9505 Android Development] Federacion:
I really don't know what changed but 4.5 is less heated and much more battery friendly at my device.
[Galaxy S 4 i9505 Android Development] PsychopathMx:
can someone please explain step by step about how to flash this kernel? i want to use it with Ressutection remix rom :) thx
[Galaxy S 4 i9505 Android Development] stevtec86:
Download kernel and script cleaning (in OP)

reboot in recovery,

if you want a clean installation, do wipe cache and wipe dalvik cache, go in install and flash script cleaning, after flash kernel, wipe cache and dalvik cache.

Reboot

Sent with a Falcon Peregrinus
[Galaxy S 4 i9505 Android Development] laupuy:
Hi, you can't, it's touchwiz kernel, for Samsung's custom rom

[emoji6]

read op: This kernel is ONLY for GT-i9505 TouchWiz Lollipop 5.0.1

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
[Galaxy S 4 i9505 Android Development] haamza21:
Hmm.. I find the 4.6 is still better in game Performance.

Have undervolting 2 Steps, Deadline 1024,ondemand 1890.. I switch later back to 4.6 ?

Thanks anyway dude!

Gesendet von meinem SM-A800F mit Tapatalk
[Galaxy S 4 i9505 Android Development] PsychopathMx:
thank you sir, very much appreciated, :D im kinda new, so i tougth it will be something to be flashed with odin or something like that, i was afraid. :p
[Galaxy S 4 i9505 Android Development] Shotg1:
Hello can someone give me advice, what is the best settings for battery
[Galaxy S 4 i9505 Android Development] Federacion:
Search this thread. Mentioned alreadm almost a thousand times
[Galaxy S 4 i9505 Android Development] robcore:
Better yet, http://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957/page1
[Galaxy S 4 i9505 Android Development] nwlun:
hi

anyone got idea whether this Stweak function similar to those like Lspeed, Gov Tuner or Hebf mod or Lspeed those mod have more functions?
[Galaxy S 4 i9505 Android Development] Superperry96:
They are the same imo, because it depends on the kernel.

Some functions may not be available when using imperium kernel or maybe incompatible.
[Galaxy S 4 i9505 Android Development] nwlun:
Thanks
[Galaxy S 4 i9505 Android Development] robcore:
[MENTION=7757866]nwlun[/MENTION] @ Superperry96

Yes and no to them being the same. The apps mentioned are similiar in that they allow control over kernel parameters, but that is where their similarities end. The difference between Stweaks and lspeed/hb etc is akin to the difference between a manual and automatic transmission. Stweaks has finely grained options that are completely up to the user, whereas the other apps mentioned have preset "tweaks" from which to choose. I prefer total control because I'm ocd/nuts, others may prefer the option to choose from a list of predefined values. Also, there are more "build.prop" (property) options in the the lspeed-style apps, so they're not limited just to the kernel. Not to say that stweaks can't do the same, just that it depends on the configured backend.
[Galaxy S 4 i9505 Android Development] nwlun:
[MENTION=4763308]robcore[/MENTION]

thx for the great explanation :good:

One more question, Since the author of this imperium Kernel did not update much anymore in near future, if I left STweak setting at default & use lspeed/HB is ok right?

Combined with this Gov Tuner at http://xdaforums.com/android/software-hacking/mod-gov-tuner-project-29th-june-2016-t3407828

As they have more setting for tweaking

thx
[Galaxy S 4 i9505 Android Development] robcore:
It's definitely safe to do so. Personally I prefer manual control, but there is no harm in trying them. Just make sure to make a backup in case you're not happy with the results : )
[Galaxy S 4 i9505 Android Development] Helloziro:
Kernel version 4.8.6

?
[Galaxy S 4 i9505 Android Development] aneinai:
Great! Where?
[Galaxy S 4 i9505 Android Development] Helloziro:
.......absent:D:D:D......
[Galaxy S 4 i9505 Android Development] nwlun:
Anyone having issues with msm_hsic_host & radio-interface wakelock when using 4.5?
[Galaxy S 4 i9505 Android Development] kxymm:
Kernel have recommended configuration for battery?
[Galaxy S 4 i9505 Android Development] PsychopathMx:
What if i already did it? i saw yout post after, im experiencing some problems, do you know by chance, wich kernel could work with ressurection remix?
[Galaxy S 4 i9505 Android Development] laupuy:
Hi,

Sorry, I no longer have the phone.

You should reflash the rom with wipe cache and dalvik (= dirty flash, no data loss) and you retrieve the kernel RR

;)
[Galaxy S 4 i9505 Android Development] Dragmond:
Root switcher and SeLinuxModeChanger can't change selinux mode to enforcing. I am need enforcing mode for PokemonGO
[Galaxy S 4 i9505 Android Development] PolishVodka:
Hi.

Where can I change mhl resolution output? For default it's 1080p 30Hz but I want 1080p60Hz or if phone cannot handle this - 720p60Hz. Thanks for any answer.
[Galaxy S 4 i9505 Android Development] aneinai:
What happens if you change 4.6 by 4.7 ?
[Galaxy S 4 i9505 Android Development] a103:
Good Question... You tell us :p
[Galaxy S 4 i9505 Android Development] aneinai:
You got me.

Now for my real question: Is there a changelog for version 4.7 ?

Sorry if i am rushing, but the kernel is there, i had to try it!

Looks stable.

Thanks!
[Galaxy S 4 i9505 Android Development] jedi134:
It is there i can confirm.. Does this mean a new kernel... I hope so @ slim
[Galaxy S 4 i9505 Android Development] radz_:
Theres are a lot of threads here in XDA mate for governors and IO info try using Google...

Its hard to discuss one by one.. do some research
[Galaxy S 4 i9505 Android Development] bluflight:
Sleep like a child here ? Good job like always mate, i'm trynig impluse governor, i'm very curious about it ?

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Android Development] stevtec86:
.Found !. new govs were not in alphabetical order and have not seen them?
[Galaxy S 4 i9505 Android Development] mariusbarosanul:
10x
[Galaxy S 4 i9505 Android Development] misterblonde:
This 1.5 version is great!

I found a great explanation about governor and I/O

you can found here

http://androidmodguide.blogspot.it/p/blog-page.html?m=1

thank you [MENTION=4543502]slim80[/MENTION] for you work
[Galaxy S 4 i9505 Android Development] CrazyKarl12:
After reading the article i finally made up my mind on setting Alucard as governor :)
[Galaxy S 4 i9505 Android Development] misterblonde:
Alucard are one of the best

Tripndroid are new my favourite I/O

and I'm trying optimax governor

Zram Off
[Galaxy S 4 i9505 Android Development] CrazyKarl12:
Whats the disadvantage of turning off zram?

---------- Post added at 10:53 PM ---------- Previous post was at 10:52 PM ----------

SIO is the highly recommended by the author of the article.
[Galaxy S 4 i9505 Android Development] misterblonde:
After reading various articles

zram is a good multitasking's tweak for device with low ram but isn't battery friendly

for the I/O sio is a good and secure choice but this new tripndroid run very well on my device [emoji4]

anyway, at the end you have to try different configurations to find the right balance for your personal use
[Galaxy S 4 i9505 Android Development] AlexGardunio:
Sorry for asking this but I'm curious. Can I flash this kernel in my i337m? I know OP says it's for i9505 but as far as it's almost the same to i337m I wonder if I can. Thanks in advance!
[Galaxy S 4 i9505 Android Development] lgsshedden:
Yes you can works great with i337m
[Galaxy S 4 i9505 Android Development] Saber:
Yep, highly recommend since it should be found on all kernel and is simply reliable. Tripndroid and zen are also great too (next ones I recommend).

---------- Post added at 03:57 PM ---------- Previous post was at 03:55 PM ----------

You are correct about zram, AFAIK, it should increase processor usage (since phone is constantly compressing the ram usage) so that means less battery life.
[Galaxy S 4 i9505 Android Development] Conito11:
So, it is recommendable turn it off?