yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] DiogoSepultura:
hello I was using the rom s6 of albe95

was the imperium 1.6 kernel installed kusham kernel 2.0

then I installed the imperium 1.7 kernel without the cleaning script kernel

my mobile phone came into bootloop

I used the cleaning script kernel but always comes in bootloop

sorry for the noob question but to start from the beginning I flash the rom and then flash the kernel, then the kernel script or script kernel, then kernel?

Thanks in advance

resolved ;)
[Galaxy S 4 i9505 Android Development] cawa5:
Zram not working.

All "check zram app" say 0mb, not work.
[Galaxy S 4 i9505 Android Development] xperia_88:
Why the 2 last Kernel ver (1.6 / 1.7) causes the phone to turns off when I run "AnTuTu Benchmark" on OD7 Roms ?
[Galaxy S 4 i9505 Android Development] gastonmazzacane:
Can you share yours sTweak settings :angel:
[Galaxy S 4 i9505 Android Development] RatusNatus:
Flash the rom first , script second, and kernel at the end.
[Galaxy S 4 i9505 Android Development] Lucius1972:
Hi I will post them tomorrow. See post 276.
[Galaxy S 4 i9505 Android Development] Almin94:
kernel

Sry for offtopic, but is there Imperium kernel for GPE edition rom 5.0? Thanks :D
[Galaxy S 4 i9505 Android Development] raffmann:
Do you see a thread like that?
[Galaxy S 4 i9505 Android Development] Almin94:
Yup, I see.
[Galaxy S 4 i9505 Android Development] CrazyKarl12:
Mate can you post here your configs? Thanks :)
[Galaxy S 4 i9505 Android Development] Lucius1972:
Hi buddy, I will in an hour or 2. Btw this is achieved with smartassH3 ?
[Galaxy S 4 i9505 Android Development] Lucius1972:
Hi everybody,

Profile name: Deborah

As requested here is the profile for STweaks and Tasker i made based on the new smartassH3 governor provided in latest v1.7

I reach between 4,5 to +5 hours SOT with it, medium use (among some whatsapp, internet surfing, calls, tapatalk, watching video, listning to music) switching between 3G data and wifi, i also use greenify, brightness set to 40-60%, disabled NFC and set location to save battery (wifi and data only, no GPS).

This profile uses undervolting and all phones can handle different voltages, the voltages below seem to work and are stable.

Apply the following in STweaks (once done reboot your phone!!):

CPU Tab:

- Default CPU Governor: SmartassH3

- CPU Max frequancy: 1,782,000

- CPU Voltage Control: Undervolt Frequancies 1890 <--> 1134Mhz (-25,000 / 2 steps), 1026 <--> 384Mhz (-12,500 / 1 step)

GPU Tab:

- GPU Voltage Control: All levels -25,000 (1 step)

Charge Tab:

- Charge Control Switch: Custom Values

- USB Charge: 700mA

- AC Charge: 1,450 mA

I/O Tab:

- Default I/O Internal storage: FIOPS

- Internal storage read ahead: 512 kB

- Default I/O SD-Card storage: FIOPS

- SD-Card read ahead: 1024 kB

Misc Tab:

- Android Logger: disabled

- Virtual memory zRam: disabled

- TCP Congestion control: westwood

Now for the final touch i created a tasker profile to control the screen off governor and frequancy, i attached it to this post.

Install tasker and unzip the profile in your tasker/profiles directory, once done open tasker and DOUBLECLICK the profiles tab you should be prompted with a menu to 'import' profiles, select the unzipped profile and apply.

What this profile does is once your screen is off it waits 15 seconds to see if the screen is really off then governor is changed to 'powersave' and max frequancy set to 1,026Mhz, once screen goes on governor 'smartassH3' is set and max frequancy 1,782Mhz applied. As a result it saves some extra battery once screen is off.

You should be seeing something like the screenshot in tasker, if so you`re done.

Congrats and enjoy!

Please provide some feedback to let me know how it runs for you.

Credits to slim80 for providing this beast of a kernel.
[Galaxy S 4 i9505 Android Development] raffmann:
Where my friend? It doesn't exist gpe lollipop kernel made by slim.
[Galaxy S 4 i9505 Android Development] KingP1n:
Thanks for the settings. .will def try & provide feedback thanks again

Where can I find the profile tssker/directory?
[Galaxy S 4 i9505 Android Development] Lucius1972:
Hi once you installed tasker on your phone, it should be on your internal storage: tasker/profiles. See screens hot.
[Galaxy S 4 i9505 Android Development] arczi19:
Surely these setting haven't got any affect on how long the battery lasts?

Other than that, pretty good summary, been using similar configuration for few days now and its working great so far!
[Galaxy S 4 i9505 Android Development] Lucius1972:
Thx and no there not but I included them to make my stweaks info complete.
[Galaxy S 4 i9505 Android Development] KingP1n:
[MENTION=2556991]Lucius1972[/MENTION] I think I have everything setup and tasker looks like the screenshot u posted earlier, however when I wipe down tasker reflects "no active profiles"....is this normal
[Galaxy S 4 i9505 Android Development] Lucius1972:
Hi KingP1n,

yes it`s normal because there is no profile for screen ON. As soon as you activate the screen it 'exists' the screen off profile.

No worries everything ok. If you really want to check if the profile is doing it`s job run a log in tasker (upper right corner/3 dot menu, choose 'more', choose 'run log').

Leave the phone for 10 minutes and recheck the log file by going in same menu, you will see that it works like it should be.
[Galaxy S 4 i9505 Android Development] gladiamos:
Hello Lucius1972

thanks to share your config ;)

What Hotplug do you use ?

MP or intelliplug ?

Thanks :)
[Galaxy S 4 i9505 Android Development] KingP1n:
I left as the previous settings with intelliplug but we'll wait on confirmation. ...
[Galaxy S 4 i9505 Android Development] MalfiRaggraClan:
What does it mean exactly? Can I use on example, another system launcher than TouchWiz? :)
[Galaxy S 4 i9505 Android Development] beast3300:
It means your phone needs to be on a Touchwiz ROM with Android version 5.0.1.

You can use any launcher you want.

Sent from my M919 S4 on AT&T
[Galaxy S 4 i9505 Android Development] nic.stl:
Hi

Is it normal that i lose root after flashing stock kernel ?

If an app needs root, it is stuck/blocked at "waiting for root access"
[Galaxy S 4 i9505 Android Development] izmaelzx:
no it isn't normal, but it's easy to fix. simply download supersu from HERE and flash it over your current setup.
[Galaxy S 4 i9505 Android Development] nic.stl:
I did it ... the problem is still there ...

I clean caches too

I did a factory reset too

No solution but: fresh reinstall of the rom and stay with imperium kernel

I want stock kernel because, i want the rom to be the more close as stock rom as possible

Edit: i am on imperium v5
[Galaxy S 4 i9505 Android Development] izmaelzx:
are you on stock tw?

if yes you could try to wipe /system /cache and dalvik/art cache and flash stock firmware in odin.

leaving /data is to avoid configuring all over again, except for twrp, supersu and apps installed in /system...

if you are on another custom rom you can follow the same steps but flashing your rom in twrp instead of odin

good luck
[Galaxy S 4 i9505 Android Development] nic.stl:
Thank you for yout help

I am on imperium v5

Unfortunatly i already tried clearing caches, dirty reinstall of the rom, reinstall imperium kernel but ... nothing worked

Only solution: clean reinstall
[Galaxy S 4 i9505 Android Development] izmaelzx:
another solution is trying with Hybridmax-Stock Kernel v2.5 the closest to stock i have seen here.

regards
[Galaxy S 4 i9505 Android Development] nic.stl:
Thanks

Will try it ☺

Envoyé de mon GT-N8010
[Galaxy S 4 i9505 Android Development] MAFU21:
Some weird behaivor today. Mu device turns off with 10% of battery. Any one have this issue?
[Galaxy S 4 i9505 Android Development] Lucius1972:
Hi both, I use MPDecision for this setup.
[Galaxy S 4 i9505 Android Development] rosekiller:
i'm on imperium LL rom, i just update kernel to 1.7, but it seem battery sucker than kernel 1.6.

does anyone feel like me ??
[Galaxy S 4 i9505 Android Development] giorgiosandros:
Flashed 1.7 but Stweaks dissappeared? Flashed it again but still no sign of it.

Any ideas on how to get it back?
[Galaxy S 4 i9505 Android Development] Lucius1972:
It should be there but I would suggest following. Use TB to deinstall stweaks. Reboot to recovery flash the kernel cleaning script of slim80 then flash 1.7

As 1.7 comes with a new stweaks there can be some issues but above should function. The deinstall of stweaks with titanium backup is an important step.
[Galaxy S 4 i9505 Android Development] KingP1n:
Try settings posted on previous pg. By Lucius1972...battery life is working great with the tasker app...
[Galaxy S 4 i9505 Android Development] rullert:
http://www.needrom.com/download/tgy-i9505zhuhoc3-20150326-rullertodexhongkong/

the core I liked it, with his help, I made a wonderful new firmware on a new basis, recommend to all!

https://yadi.sk/d/qZJhES8HgiVdM

+

+

+
[Galaxy S 4 i9505 Android Development] slim80:
Updated the Kernel Cleaning script v1.8 and the Imperium LL Kernel v1.7a (little, little changes).
[Galaxy S 4 i9505 Android Development] radz_:
Slim link still shows 1.7..

Thanks
[Galaxy S 4 i9505 Android Development] slim80:
Fixed.

Thanks

:)
[Galaxy S 4 i9505 Android Development] darkrevlis:
A question, the kernel script clean your kernel only? or clean all custom and stock kernels?
[Galaxy S 4 i9505 Android Development] radz_:
All custom and stock Kernel...

Not sure i think except Kushan Kernel
[Galaxy S 4 i9505 Android Development] fabix95:
why when I turn on the screen disappears tasker's icon in statusbar?
[Galaxy S 4 i9505 Android Development] Lucius1972:
Hi, I don't know exactly what you mean. My tasker icon is still in statusbar when I turn on the screen. To check if the screen off profile works see post 304.
[Galaxy S 4 i9505 Android Development] izmaelzx:
same here with v1.7a ...

with root browser go to /system/priv_app/stweaks.apk and give 0644 permissions and reboot.

OR simply delete the apk and install THIS as regular app

regards
[Galaxy S 4 i9505 Android Development] Yann68:
Didn't flash a kernel since 2 years ago....is the same?...flash in recovery and wipe cache and dalvik?...or is different?

Thank you.
[Galaxy S 4 i9505 Android Development] a103:
Yes. You might want to flash the kernel cleaning script (its in op) first and then the kernel itself.
[Galaxy S 4 i9505 Android Development] izmaelzx:
[MENTION=4543502]slim80[/MENTION] it appears that internal and sd card storage read-ahead values won't stick with stweaks, they stay at 2048 kB (reported by faux kernel enhancement app, trickstermod or kernel aduitor), even though in stweaks appears setted at another value.

everything else appears ok, many thanks

Edit: applying SET IO SCHEDULERS after applying the read ahead value change makes it work (silly thing)

thanks for clarification [MENTION=4543502]slim80[/MENTION]
[Galaxy S 4 i9505 Android Development] slim80:
Man, you have a problem. Works fine for me.

If you apply correctly the I/O scheduler (Apply the changes and after "Set IO-SCHEDULERS"), sure that the real value is it.

Check in sys/block/mmcblk0/queue/read_ahead_kb (for internal) and in sys/block/mmcblk1/queue/read_ahead_kb (for external).
[Galaxy S 4 i9505 Android Development] izmaelzx:
so yes, i had a silly problem, i only checked "apply" when changed that values, ignoring the "set io-schedulers" step, thanks for the clarification, now it's working OK.

many thanks
[Galaxy S 4 i9505 Android Development] arajuri:
How disable 3minit batttery?
[Galaxy S 4 i9505 Android Development] a103:
Open the app and disable it in settings OR simply disable it completely from application manager.
[Galaxy S 4 i9505 Android Development] arajuri:
Not run, icon still appears
[Galaxy S 4 i9505 Android Development] radz_:
Mate this is a Kernel thread...

No 3minit here... but anyway, you mean uninstall?

You can uninstall it.. but your system ui will crash.. you need a systemui without 3minit support..
[Galaxy S 4 i9505 Android Development] arajuri:
Ups sorry... I did not read the thread properly.

Where I can find a systemui without 3minit?
[Galaxy S 4 i9505 Android Development] Lucius1972:
Hi flashoholics,

For the ones who applied my profile 'Deborah' post #297 is there any feedback?

Is it running OK for you? Till now only one provided feedback. Meanwhile I'm working on a new one. If it's ready I will share if there is interest.

Thx..
[Galaxy S 4 i9505 Android Development] CrazyKarl12:
Please share it mate without tasker app :) only stweak setting :)
[Galaxy S 4 i9505 Android Development] Joseiyo:
In my case, these settings make my battery life shorter. I only get about 3 hours of screen and an excessive Google services wakelocks. I've tried activating Samsung battery saving mode of notification panel and the result is even worse. With stock kernel my results weren't so juice sucker.
[Galaxy S 4 i9505 Android Development] badboy2a1n7867:
the setting u posted i seem to have tested it for two days now and its no good compared to stock settings with ur settings i only get 2h 30 mins of SOT and less than a day and with stock i get around 4 hours or 3 h 30 mins SOT and more than a day of battery life
[Galaxy S 4 i9505 Android Development] nPingu:
Thanks for the great kernel Slim!

Hi Lucius, thanks for sharing your settings... Same feedback as the others: I get worse screen on time and I noticed that battery saving modes are not working properly, but it might be due to some other tweaks I tried so I'll keep testing! Thx again!
[Galaxy S 4 i9505 Android Development] Lucius1972:
Ok, then do not install tasker, just apply the stweak settings. Give that a go.

Ok guys many thx. Weird but it's working fine for me. I'll have a look and see what could be the cause. Not every device is setup the same and I am not a mobile gamer. Thx again for the feedback.
[Galaxy S 4 i9505 Android Development] PipoXtreme:
For me it works , yes but the drain was more then before ;)

Interested to your new one ;)
[Galaxy S 4 i9505 Android Development] GalaxyS4_Lollipop:
profiles don't work only for me ?

When I switch between them, nothing happen .

+1 for this kernel, I like it very much
[Galaxy S 4 i9505 Android Development] KingP1n:
Plz do share...any difference to the previous one? I'm liking your last setup however when I use Bluetooth it really drains my phone fast....I don't think there's any help for that though...I did notice however that even if the phone is not in used the battery still drains?? So on my wife's note 2...if the phone is fully charged and not in use...the battery stays at 100%...on my phone even if I'm not using it my battery is slowly draining thru out the day....any ideas?
[Galaxy S 4 i9505 Android Development] Lucius1972:
You got pm.
[Galaxy S 4 i9505 Android Development] Airtioteclint:
Try this loki patch https://www.dropbox.com/s/sqon2d7jobulajj/lokipatch-danvdh-12242014.zip?dl=0
[Galaxy S 4 i9505 Android Development] Makorus:
Do you have any other kernel tuning app? I use STweaks only and it workd fine for me. Using other apps may lead to overwriting your values.

Kind regards

Makorus
[Galaxy S 4 i9505 Android Development] Harregukalerik:
Is it possible get older versions anywhere?
[Galaxy S 4 i9505 Android Development] slim80:
Probably you have some script that set this values.

Yes.

Same link, different version (...v1.6.zip)
[Galaxy S 4 i9505 Android Development] izmaelzx:
yes i've discovered that Coolify app was setting this (and many) values automatically at startup, i have deactivated it temporarily and all i'ts working fine.

:silly:

many thanks
[Galaxy S 4 i9505 Android Development] Lucius1972:
[MENTION=4543502]slim80[/MENTION], I have a small request. Any love for 'scary' governor and 'barry_allen'? Barry_allen is a S6 governor if I'm not mistaken don't know if it can be used for our S4 but I red good things about those 2. Cheers and thx for your work.
[Galaxy S 4 i9505 Android Development] KingP1n:
[MENTION=2556991]Lucius1972[/MENTION]...trying your setting withs conservativex but I'm not sure if was that was giving me random reboots so I switched cpu gorvenor back to smartass. ..with same settings as your pm...
[Galaxy S 4 i9505 Android Development] Lucius1972:
No RR here. Maybe it's the voltages, you're device can't handle them. Try to up them by 1 step (12,500).
[Galaxy S 4 i9505 Android Development] ASD2003ru:
Slim, Is it possible to add in the TW MacoHotplug kernel mechanism?

For example

http://xdaforums.com/showpost.php?p=60946925&postcount=1100
[Galaxy S 4 i9505 Android Development] beefwilliams:
Thanks for this! It worked great!
[Galaxy S 4 i9505 Android Development] izmaelzx:
DELETE
[Galaxy S 4 i9505 Android Development] mohseen khan:
When i was using Old Modem & Bootloader the power drain was fast..

But After flashing "OE1" Related MODEM & BOOTLOADER on V6.0 it save more power.

Result monitored in "Battery monitor widget application"...

I Recommend to flash the Modem & Boatlooder as per firmware...

One more thing is after flashing stock OE1 modem wifi working fine. without flashing WiFi-Fix.

Kernel-> Imperium 1.7a

Governer-> SmartassH3

CPU Max -> 1674000

AndLogger -> OFF
[Galaxy S 4 i9505 Android Development] pitelasssss:
This is the last version of stweaks? I've wiped evertyhing before install stock rom and last night installed last kernel
[Galaxy S 4 i9505 Android Development] izmaelzx:
if it is v1.7.3, yes it is (push info button on upper right)

https://github.com/B--B/STweaks/tree/master/Signed APKs

regards
[Galaxy S 4 i9505 Android Development] calinoii:
Hello,I've been using this kernel for the past week and I'm not happy with the charging speed,why is it so slow ? It takes a lot more than on other roms,even on stock software. How can I get it faster ? Without this,it's a fantastic kernel ! Rock stable and reliable.
[Galaxy S 4 i9505 Android Development] izmaelzx:
have you applied stweaks settings for fast charge?

if not, try this:

go to STweaks and in CHARGE tab modify these values:

CHARGE CONTROL SWITCH -> Custom Values

USE MTP DURING FAST CHARGE -> Enabled

CURRENT LIMIT WITH THE SCREEN-ON -> Disabled

USB CHARGE -> 1000 mA

AC CHARGE -> 1900 mA

that's it

if it doesn't work try reinstalling busybox with busybox on rails app

regards
[Galaxy S 4 i9505 Android Development] wanxu:
Hi, Is there a way to apply volumen gain in bluetooth?
[Galaxy S 4 i9505 Android Development] fabix95:
How can i resolve Randem reboot on lock screen?
[Galaxy S 4 i9505 Android Development] a103:
Are you using xposed? If yes uninstall it. There are no RRs here.
[Galaxy S 4 i9505 Android Development] slim80:
Imperium LL Kernel v1.8 online.
[Galaxy S 4 i9505 Android Development] radz_:
Just flashed it... as usual, from v1.0 to v1.8 greatest kernel ever.. thanks!
[Galaxy S 4 i9505 Android Development] maroc1994:
I want to try your kernel, but i run now Echoe kernel. Should i just use your cleaning script or can i just flash it directly?
[Galaxy S 4 i9505 Android Development] a103:
Use the cleaning script first and then flash the kernel.
[Galaxy S 4 i9505 Android Development] stevtec86:
Hi guys, I noticed that with the V1.8 use more RAM than the 1.7 or 1.7a ... however good flow!
[Galaxy S 4 i9505 Android Development] maroc1994:
thanks!
[Galaxy S 4 i9505 Android Development] radz_:
Can you translate in english?
[Galaxy S 4 i9505 Android Development] wanxu:
That's the message I'm getting. No matter what you do, it does appear. It's something like "Security error. Reset to undo unauthorized changes"
[Galaxy S 4 i9505 Android Development] radz_:
You got the same error too?

Works fine for me.. weird! Im using stock rom for now..

What rom are you using?
[Galaxy S 4 i9505 Android Development] wanxu:
Yeah, same. I'm using AmbasadII stockish rom.

Note: when I pushed restart, it went to recovery!
[Galaxy S 4 i9505 Android Development] radz_:
Ambasaddi lollipop rom? Never know he had one...

Weird mate.. ihave no issues here
[Galaxy S 4 i9505 Android Development] steamerx:
Freeze it with titanium backup and you solve ie....never show again after freeze it
[Galaxy S 4 i9505 Android Development] wanxu:
http://xdaforums.com/galaxy-s4/i9505-develop/rom-lollipop-ambasadii-t3055001 that one.

I'll freeze that app, thanks for your kernel. Let's see if you can solve it :)
[Galaxy S 4 i9505 Android Development] radz_:
I have no idea mate,haha sorry..

Ambasaddi rom is a stock. im also using a stock rom right now.. odin files..

Only difference is, i have my knox 0x1.... i think yours is 0x0.. not sure if that is the issue though...
[Galaxy S 4 i9505 Android Development] raffmann:
How is the battery life with this kernel? Slim80' KK kernel was the best for me!!! I hope this is same good like that!
[Galaxy S 4 i9505 Android Development] _azkal:
I noticed this too..

Using trickster mod and other kernel tool

In stweaks its all showing
[Galaxy S 4 i9505 Android Development] Yousvel:
All you have to do is disable or delete this file called "SecurityLogAgent" and everything will be fine!

---------- Post added at 03:47 PM ---------- Previous post was at 03:46 PM ----------

All you have to do is disable or delete this file called "SecurityLogAgent" and everything will be fine!
[Galaxy S 4 i9505 Android Development] cheech01:
Well finally my favorite kernel.... on 5.01...... Thanks ....
[Galaxy S 4 i9505 Android Development] radz_:
[MENTION=4543502]slim80[/MENTION]

Is your cleaning script still work in lollipop?

And please see this...

http://xdaforums.com/showthread.php?p=59549808
[Galaxy S 4 i9505 Android Development] kennbo82:
Same here, Faux Kernel App and Trickster Mod see few Governors only although all are showing up in Stweaks. I'm curious to know whether the Governors are really working as intended?
[Galaxy S 4 i9505 Android Development] radz_:
Thats my question too bro... well im pretty sure fix is on the making now..[emoji6] [MENTION=4543502]slim80[/MENTION] is a silent killer...
[Galaxy S 4 i9505 Android Development] slim80:
Imperium LL Kernel v1.1 online.
[Galaxy S 4 i9505 Android Development] henrispc013:
Well done mate. Works very well.

But, i got bootloop when i disable Android log. Can you confirm if this is global or perhaps it's just me?

Thanks for the great job anyway.
[Galaxy S 4 i9505 Android Development] Lucius1972:
No problems here, dirty flashed v1.1 onto v1 but if you keep having problems try to delete Imperium dir located in '/data/.imperium' and reflash v1.1

Evene better flash slim`s kernel cleaning script http://xdaforums.com/galaxy-s4/i9505-orig-develop/kernel-imperium-kernel-v1-0-t2910801 (below the download button) and then reflash v1.1.
[Galaxy S 4 i9505 Android Development] henrispc013:
Well sir, no more problems so far.

Much thanks for that.
[Galaxy S 4 i9505 Android Development] gasketse:
delete this
[Galaxy S 4 i9505 Android Development] Redflea:
Can you share how this Loki patch is different from the "normal" Loki patch? I had thought there was only one version of Loki.
[Galaxy S 4 i9505 Android Development] rorda:
One an hour run with GPS on and battery decreased for cca 25%... :-O

Imperium ROM with new 1.8 kernel...

Before with 1.5/1.6 kernel only cca 4-5%, all OK...
[Galaxy S 4 i9505 Android Development] badboy2a1n7867:
there is so much battery drain even when not in use
[Galaxy S 4 i9505 Android Development] zakkkkk:
Is v1.8 buggy?
[Galaxy S 4 i9505 Android Development] KingP1n:
I'm not having any issues....
[Galaxy S 4 i9505 Android Development] mrQQ:
i would also like similar thing - BLUETOOTH MICROPHONE gain during call!
[Galaxy S 4 i9505 Android Development] slim80:
+1
[Galaxy S 4 i9505 Android Development] mohseen khan:
Battery saving is more than 1.7a .. without any issue...

Thanks slim80 for hard work and keeping quick update to latest version...
[Galaxy S 4 i9505 Android Development] kfallz:
Anyone else feel that charging the battery is taking longer with the latest versions?

Using the same settings as always, highest ac voltage allowed, not using the phone, same charger and so on.

55% to 100% taking several hours doesn't feel quite right..
[Galaxy S 4 i9505 Android Development] Osoko:
+1
[Galaxy S 4 i9505 Android Development] erghetto:
i've set to 1900 with stweaks and the charging time is alwasy good.

not having the issue you're talking about.

and i use a wireless charger that "should" be a bit slower (for me it's quite good)