yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] david19au:
I'm actually still on CM13 and don't have time to flash TW rom today (Thursday). Maybe on Friday or so I can have time to set it up so I can send the props
[Galaxy S 4 i9505 Android Development] parser:
Here you go [MENTION=4763308]robcore[/MENTION] hope this helps
[Galaxy S 4 i9505 Android Development] Corduroysack:
anyone using the kernel on super wizcyan?
[Galaxy S 4 i9505 Android Development] Superperry96:
I also run wiz rom, can you give me a site where to test because i tried doing in 9gag site in desktop mode but I really can't feel that effect

Edit: actually I kinda understand that effect and it's probably the superamoled problem (I did some research and it's s4's problem) so it's more hardware related probably
[Galaxy S 4 i9505 Android Development] parser:
sorry saw your post little late. According to my research, the problem doesnt exist in Exynox s4's (i9500) it is only qualcomm models related (i9505). I can't find the website where I read that. I actually have a friend who uses an S4 i9500. Maybe I can check it out in her phone.
[Galaxy S 4 i9505 Android Development] reluctant_traveller:
Superperry96, what steps did you use to install this kernal?

I usually have no problems, but i keep getting double vibrate reboot loop after I install this kernal through twrp (Using WizCyan 3.1 - clean install)
[Galaxy S 4 i9505 Android Development] Corduroysack:
Which lines did you remove from build.prop?
[Galaxy S 4 i9505 Android Development] reluctant_traveller:
Are you saying I should edit build.prop before installing? i.e. let wizcyan complete 1st boot, edit build.prop, and then install kernal?

I took the build.prop as it was in WizCyan and modified as directed.

I did, however, not apply this before installing new kernal. oops. will try that now. Thanks
[Galaxy S 4 i9505 Android Development] Corduroysack:
I install busybox on rail run it and apply, edit build.prop, flash kernel

I've just moved to wizcyan and flashed updated build.prop i havent yet edited it.

---------- Post added at 12:35 PM ---------- Previous post was at 12:22 PM ----------

Just had a quick look at build.prop and there is a lot to remove. havent looked at changes yet. Thing is Jason has modified build.prop to try and eliminate lag that usually rears its head after a few days.
[Galaxy S 4 i9505 Android Development] zetcamp:
As I said, My experience about several build of MarkXX kernels (all settings in Synapsis are default but custom FastCharge values):

v18:

- Fast, smooth, no FCs, no drops, no sporadic reboots.

v19:

- After flash zip gave a bootloop. Non-usable.

v20:

- Less stable then v18 - then install any apps from Market gave random reboots. Random cell drops.

v21:

- Check this build later...
[Galaxy S 4 i9505 Android Development] Superperry96:
Since wizcyan uses imperium kernel by default, download his uninstaller (you can find it in his thread for i9505).

Flash his uninstaller via twrp, after than you can install mark21 (do wipe dalvik and cache after installation), make sure to have markuninstaller in case of problems or if you want to change kernel.

If it still not working, boot in recovery mode, do full wipe (factory reset and wipe system and internal), then reinstall wizrom and let it start for the first time. After succesful first boot repeat the procedure I mentioned above and it should work.

---------- Post added at 12:45 PM ---------- Previous post was at 12:38 PM ----------

It's actually optional (I personally tried it without editng build.prop).

What lines to remove: look at post #2 of the op.

You can add # at the beginning of a line if you don't want to cancel (I think it won't be considered since it's like a comment in programming).

Jasonrr did cancel the # to 2 lines on build.prop so you can manually do it actually.

---------- Post added at 12:47 PM ---------- Previous post was at 12:45 PM ----------

Installing busybox on rails is actually optional imo, since wizcyan has busybox already installed (it's the 1.25 dorimanx, pardon if I spelled it wrong). Mine still works fine.
[Galaxy S 4 i9505 Android Development] reluctant_traveller:
I have tried clean install of wizcyan 3.1, busybox on rails, build.prop, reboot, imperium uninstaller, machinexmark21.

Still reboot loops.

Is bootloader critical? I am on Bootloader OJ2.
[Galaxy S 4 i9505 Android Development] sonickles9:
not sure, i'm on OK* and loops still happen.

I have a guess that relates to memory management, since the reboots always happen on heavy load.

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Android Development] Superperry96:
Try updating bootloader... but I'm not sure if it's really necessary. Or try doing a full wipe of your internal and retry again, maybe don't install busybox on rails since wiz has already a installed busybox.
[Galaxy S 4 i9505 Android Development] robcore:
It sure did, look at the build.prop fixes in post 2.
[Galaxy S 4 i9505 Android Development] robcore:
Old versions are useless, install Mark21!
[Galaxy S 4 i9505 Android Development] robcore:
Man sorry again for my initial (knee-jerk) "read the OP" response, I definitely misread your question!

It's more than likely that this will work with any LP bootloader/modem combo. If it doesn't work on the PG1, I won't be able to make any fixes until Samsung released source for the release. However, there *shouldn't* be any reason for it not to.

Hack, my phone is Canadian, on OH1 bootloader, and the kernel is built from latest OK2/3 sources, and this works fine without any additional hacks. There are ways to hack anything in C though ; ) Feel free to test it and report back!

Thank you for your kind words. :)

I studied English literature in university before switching to sciences, and I think it made my writing more candid than technical documents require : P
[Galaxy S 4 i9505 Android Development] xell75:
Really nice Kernel, getting over 4 hours SOT even tho I use Facebook and stuff and having 250+ Apps on my phone! :) I never reached such a SOT with Imperium even with undervolting!
[Galaxy S 4 i9505 Android Development] droidblitz:
I will try this again later tonight.

Im on lenny rom odex PG1 :D
[Galaxy S 4 i9505 Android Development] chiruscan:
This wont work on KK bootloader?

NM it does.
[Galaxy S 4 i9505 Android Development] FlorianSSJ:
Ok, today i flased it with your instructions on Imperium v15 (i know what you said in the OP, but i'm so A.C.A.B.) with PG1 Modem & Bootloader, and works like a charm till now! What do synapse settings do you suggest to save battery?
[Galaxy S 4 i9505 Android Development] chiruscan:
Yeah there are a lot of governors included any recommendations for performance vs battery life?
[Galaxy S 4 i9505 Android Development] loosecannon2013:
firstly thanks dev for this kernel, before this i got no cell signal from flashing

Imperium LL Rom v15 and Albe95 LolliROM 9.0

now i can an i say thank you.

but (an there is always a but)

i have the same phone as you which is the i337m canadian model

i flashed your kernel but i get random freezes

i tried every config that was spoke on the tread so far but to no avail.

it just keeps freezing up on me

when i reset the phone it stays a long while to boot

an i get process not responding an system not responding errors

first i flashed the rom (THOR 1.5 and Its 2.0 update)

then i use the script from Slim80 to clean the kernel which is Imperium

then i flashed your kernel

the system boots up i get to set up the gmail and stuff

but when the phone settles an i unlock it, it freezes up on me

i'm not a newbie to flashing but this a bit puzzling where it works good for you an not for me.

can you give me some guidance on how you got it to work with no problems thanks
[Galaxy S 4 i9505 Android Development] sk1887:
With this kernel I have problems running a game called fantasy forest story

It closes without notice. Did anyone try games with this kernel?
[Galaxy S 4 i9505 Android Development] FlorianSSJ:
Me Temple Run 2, super smooth.
[Galaxy S 4 i9505 Android Development] chiruscan:
What are your cpu settings? governor, etc.?
[Galaxy S 4 i9505 Android Development] xell75:
CPU Governor: Hellsactive

GPU Governor: simple

CPU Hotplug: Alucard_Hotplug

CPU max frequency: underclocked to 1566Mhz

Sheduler Internal Storage: fiops

Sheduler Ext. Storage: bfq
[Galaxy S 4 i9505 Android Development] robcore:
Did it end up working out? Either way I'd like to add the result to the OP!
[Galaxy S 4 i9505 Android Development] robcore:
Haha that's news to me! Awesome :D

I have to tell you, in the OP I stated that simply because I included NO hacks or mods that were bootloader-related, and erred on the side of "don't brick user's phones."

So....good!
[Galaxy S 4 i9505 Android Development] robcore:
Did you install busybox on rails, and update in the app to their newest version first?
[Galaxy S 4 i9505 Android Development] robcore:
Which rom? What settings do you use in synapse?
[Galaxy S 4 i9505 Android Development] robcore:
Fiops is working well for you? Good!

[Edit:] I would feel like a jerk if I didn't mention the info below!

FYI. I respect your decision to underclock to 1566, but just so you know with hellsactive, the hispeed_freq tunable acts as a soft limit for max frequency, and with regular usage won't climb above it (then 1890 is available for the odd time of urgency).

For example, my hispeed_freq is 1674:
[Galaxy S 4 i9505 Android Development] chiruscan:
Mine is an M919 running Thor ROM with KK bootloader and radio.

Took a while for your kernel to boot but it runs fine.
[Galaxy S 4 i9505 Android Development] robcore:
Yeah first boot is a big one for the system, LOTS of OS reconfiguration taking place as the the cpu/power binaries are being rendered obsolete due to kernel drivers taking their place.

Also, dvfs is disabled in this kernel so Samsung literally loses all userspace control over cpu usage. It's our cpu, so the decision making should be up to us! ; ) thanks for the report!
[Galaxy S 4 i9505 Android Development] droidblitz:
Im on it now.

What is your current configuration?

---------- Post added at 01:26 AM ---------- Previous post was at 01:25 AM ----------

I will try this first :D
[Galaxy S 4 i9505 Android Development] robcore:
To be honest, this stuff is all going to depend on individual usage needs, different apps, roms, etc.

For example, other than using hellsactive and alucard hotplug (which will probably be the default hotplug in MarkThree), my settings are all pretty much stock. Even schedulers like cfq and bfq have been optimised for flash storage (non-rotational), so I have no issues with "stock"(lol my stock) settings.

This next comment is for the guy who built this kernel: I just plugged my phone in with wifi on, and the radio turned off and never woke up, could you fix this? Autosleep is probably doing to good a job at forcing the modem to sleep, and it's causing the modem to not wake up once in a while. Odds are it needs powersuspend/wakeup_sources updates that this board never received from Qualcomm/Samsung. Please implement asap.

Oh wait, that's me. I have to do that :P
[Galaxy S 4 i9505 Android Development] parser:
did them right now. I have done the fixes already but didnt saw build.prop edits lol.

aaand I am in a bootloop :D

gonna start over lol
[Galaxy S 4 i9505 Android Development] devsnor:
This is awesome. Most of the instability when benchmarking is gone. I had one rr whilst charging earlier today but i was messing with uv so i set stock voltages, turned logging back on and will pay attention to that. Awesome job, thanks!
[Galaxy S 4 i9505 Android Development] parser:
[MENTION=4763308]robcore[/MENTION] everything you sad remove is removed but the phone is not booting.

Did I maybe somehow do smth wrong?

I removed the lines as you have written. Should I leave the numbers in prop?
[Galaxy S 4 i9505 Android Development] robcore:
Lemme see whatcha did lol
[Galaxy S 4 i9505 Android Development] parser:
https://yadi.sk/d/0Uzmfzh5wnU6C

couldnt upload the build.prop to xda. Gave me an error.
[Galaxy S 4 i9505 Android Development] Corduroysack:
the second time ive flashed machinex after imperium kernel and using kernel cleaning script and stweaks remains in app draw. No biggy, now on machinex21 and no bootloops at boot :)
[Galaxy S 4 i9505 Android Development] Ashkin2808:
just downloaded and give it a try for a week.so far no rr yet...
[Galaxy S 4 i9505 Android Development] robcore:
Here I cleaned it up for you. Remember to set its permissions to 644 and owner to 0:0 or root:root (same thing)

I think xda is having file storage issues...

https://drive.google.com/file/d/0B5Wyhwt8r31ZaVhRc1lLMlBaUm8/view?usp=drivesdk
[Galaxy S 4 i9505 Android Development] parser:
ohh I think I forgot to set permissions. thanks gonna try now.
[Galaxy S 4 i9505 Android Development] robcore:
Permissions are a usual suspect for boot failure ; ) I don't say it from the standpoint of "mr fancy kernel developer guy," more so from the fact that I've been an xda flashing nerd for years : D lol you name a mod or tweak, and I've probably tried it...execpt lately now that I've been trying to build my own!
[Galaxy S 4 i9505 Android Development] robcore:
Please let me know how the changes go!
[Galaxy S 4 i9505 Android Development] Ashkin2808:
what is best governor for gamming?
[Galaxy S 4 i9505 Android Development] robcore:
Elementalx and electroactive hook into the gpu to give it a boost
[Galaxy S 4 i9505 Android Development] parser:
so far so good... Just updating my apps atm. Could't mess around with the phone yet, have to study.

But do you think that that screen problem is build.prob related?

The problem is not only in tw roms. I had it in CM or RR too.
[Galaxy S 4 i9505 Android Development] Superperry96:
Your kernel works good but my gaming experience is still what bothers me. I'm really in conflict with the other kernel I have because gaming experience is better there but your kernel has better battery management and better modem, sound and performance (so for medium usage it's good).

I really cleaned my build.prop but result is still the same...

I hope you can keep your good work and please if you really need, just rest a bit and relax, it's good for yourself.
[Galaxy S 4 i9505 Android Development] robcore:
Maybe...but...

Yours, unfortunately, sounds more like a hardware issue : (
[Galaxy S 4 i9505 Android Development] Andycar:
[MENTION=4763308]robcore[/MENTION], for me your 21st kernel feels rock solid. I've been doing many things today on my PPI1 debloated ROM. IT feels snappier and more solid. Not a single rr as usual for me;)

I actually see some WiFi signal reception improvement also.

Good job, really nice! Thanks.

Отправлено с моего SM-A510F через Tapatalk
[Galaxy S 4 i9505 Android Development] robcore:
I will do what I can!
[Galaxy S 4 i9505 Android Development] robcore:
Hehe thanks but I take no credit for the wifi improvements, that was all from the sammy update! The rock solidness, however, I'm happy to take credit for :cool:

That's not gloating either, that's a sigh of relief from my 21st release finally being a kernel I'm proud of :p
[Galaxy S 4 i9505 Android Development] reluctant_traveller:
oh gawd. still cannot get kernel to work.

Updated bootloader and modems to PG1.

Full wipe in twrp.

Fresh install of AlbeRom 9 (previously tried WizCyan).

Allowed to complete initialisation, then reboot back to twrp, tried applying kernel. Still double vibrate.

I'm using TWRP 3.0.0-0 F2FS (By JDCTeam), although I am not using F2FS.

Perhaps a different version of TWRP?

Next attempt is full sammy firmware (SFR-I9505XXUHPG1) via odin.

This kernel is compatible with the snapdragon I9505?
[Galaxy S 4 i9505 Android Development] sonickles9:
sure it is

Enviado de meu GT-I9505 usando Tapatalk

---------- Post added at 08:49 PM ---------- Previous post was at 08:49 PM ----------

Can't download Mark21, seems like AFH is down...

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Android Development] robcore:
Here you go : )

https://drive.google.com/file/d/0B5Wyhwt8r31ZRFJUU0RHNmdzNlk/view?usp=drivesdk
[Galaxy S 4 i9505 Android Development] stevtec86:
Hi, i have one question because i dont understand ?

The unistaller its universal for all version of the Kernel or its specific for single version?

Thanks

Sent with a Falcon Peregrinus
[Galaxy S 4 i9505 Android Development] sonickles9:
It's version-specific mostly... though I haven't update mine since markfifteen lol, I recommend downloading the uninstaller at every update.

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Android Development] stevtec86:
Thanks Man... Infact i read OP but i wanted the confim!

Sent with a Falcon Peregrinus
[Galaxy S 4 i9505 Android Development] robcore:
The one in the op will work for every version, no need to re-download unless I specify
[Galaxy S 4 i9505 Android Development] reluctant_traveller:
Interesting.

I can install Mark11 with no problems, but trying Mark13, Mark20 and Mark21 results in bootloops.

I do nothing different with respect to how I flashed the kernals, after trying a failing kernel, I can install Mark11 and it boots up fine.

I really want that Mark21 goodness!
[Galaxy S 4 i9505 Android Development] robcore:
Hmm this is very odd! Now keep in mind that one boot loop on first install is normal for this kernel until the crappy developer finds a 100% fix for the hsic driver's sleep on init problem. Also could oh please tell me how you're rooted, and what your settings in supersu are? Also which recovery?

Edit:I really want to help! Do you have telegram?
[Galaxy S 4 i9505 Android Development] david19au:
Does Telegram support sending logs? Often the logs are bigger than the size allowed on XDA and since I'm STILL getting rr and freezes WITH the build.prop lines changed (WizCyan) :/
[Galaxy S 4 i9505 Android Development] Ashkin2808:
Telegram can send any file format and any size.so far tested 6gb file size.
[Galaxy S 4 i9505 Android Development] sonickles9:
telegram allows sending every file

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Android Development] reluctant_traveller:
I used cf-autoroot. I'm happy to flash via odin back to stock, to try another method.

I have installed telegram, now.
[Galaxy S 4 i9505 Android Development] robcore:
Great my username is robcore, feel free to add me and let's sort this out!
[Galaxy S 4 i9505 Android Development] Qosmio-:
GPU and Governor settings

Hi OP,

Thanks for your time to develope this kernel, i encounter two things and are errors in synapsys.

Governor will not set and GPU frequentie will not set to 320 because synapsys try to set it to 325 what will not set because its not supported. It sticks on 450 and will not clock down, all other are correct.

Tnx
[Galaxy S 4 i9505 Android Development] Helloziro:
Thanks robcore ???
[Galaxy S 4 i9505 Android Development] Andycar:
Hi [MENTION=4763308]robcore[/MENTION], do you still accept feature requests?

I'd like to use my S4 with RNDIS Ethernet USB modem.

I believe that the settings should be as on the screenshot:

I think that it's better if it will be compiled as a module.

Thanks in advance. [emoji2]

Отправлено с моего SM-A510F через Tapatalk
[Galaxy S 4 i9505 Android Development] robcore:
Lemme get the hsic garbage taken care of first, and I'll add it to my todo list ; )
[Galaxy S 4 i9505 Android Development] robcore:
Hahaha crap the gpu in Synapse thing is my bad, I changed the freq from 325 to 320 ages ago and forgot to change it in Synapse, will do!

Governor setting works fine for me, what is your busybox?
[Galaxy S 4 i9505 Android Development] d2russel:
Hello OP,

I'm encountering FC with the game Skyforce Reloaded. Came from Imperium kernel, ran Slim's uninstaller then installed Mark21.

I've also tried adding the 2 game fixes you suggested, removing them and adding one or the other to no avail. The game will run if I switch back to Imperium kernel. Could you please look into this, thanks!
[Galaxy S 4 i9505 Android Development] Qosmio-:
With version 21 the governor sticks

Ik have installed the latest version 21 i think it is and with that version the governor sticks, on 19 it did not.

Thx
[Galaxy S 4 i9505 Android Development] robcore:
Oh..yeah I only bother with the most recent releases. And a new one will be out in a few hours so the majority of issues in mark21 are resolved already, including:
[Galaxy S 4 i9505 Android Development] devsnor:
Has anybody tried having a whatsapp/skype/messenger call on this one? It's impossible for me, sound cuts out every 5 secs. Video calls are impossible altogether - many bugs including one side not seeing or hearing the other and so on. Also, the sounds cuts out every couple of seconds for couple of seconds.
[Galaxy S 4 i9505 Android Development] Andycar:
Hey everybody, did you try using chenxiaolong's Dual boot patcher with this kernel?

After I update ramdisk with that patcher, Synapse complaints "No UCI Support detected" ...

I googled, but still no clue... Thanks.

Отправлено с моего SM-A510F через Tapatalk
[Galaxy S 4 i9505 Android Development] jwfoo:
Great!
[Galaxy S 4 i9505 Android Development] sonickles9:
Whatsapp calling is freezing randomly too. I thought it was an app problem so I updated it but haven't tested.

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Android Development] jwfoo:
Had been waiting for mark22, when you'll upload?
[Galaxy S 4 i9505 Android Development] robcore:
When it's ready. Unless you want garbage.

FYI that's a frowned upon question on xda.
[Galaxy S 4 i9505 Android Development] david19au:
Wait a few more days, I can assure you the time will pay off ;)
[Galaxy S 4 i9505 Android Development] sonickles9:
lol so true

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Android Development] waelchateur:
can you please add the notification LED controll in synapse

and thx for your amazing work ^_^
[Galaxy S 4 i9505 Android Development] devsnor:
Hey rob, will you consider looking into the sound/camera freezing problem before you release 22? It's definitely not only my issue as my gf's s4 has the exact same thing when on mark21. Only asking cause I'm in love with your work and my inner geek would absolutely hate to have to wait until 23+ to flash this awesomeness back. : P Thanks!
[Galaxy S 4 i9505 Android Development] robcore:
Dann it I just read this now... That said, what happens with camera/sound freezing?
[Galaxy S 4 i9505 Android Development] robcore:
As much as I say I don't take feature requests, my track record has proven that to be an outright lie ; )

In your case, my friend, lady luck shines upon you, because i have an even better led control solution up my sleeve than the current implementation (which isn't in Synapse at the moment because it's pathetic at best).

TLDR:yes and you will love it.
[Galaxy S 4 i9505 Android Development] Superperry96:
Your kernel surely improved as it become more reactive and similar to imperium in terms of stability and responsiveness.

Also your kernel is more battery friendly than before.

I can say it's good for daily driver.

If you want to study my still game crashes here is the log.

Anyway keep going and I'm looking forward to your work (still a bit sad for no gpu oc because I wanted to see it but oh well).
[Galaxy S 4 i9505 Android Development] Superperry96:
Edit: I forgot the logs lol
[Galaxy S 4 i9505 Android Development] robcore:
I'll say it over and over...when this is in your logs:

faux123: user voltage table modified!

The issues mean nothing to me...
[Galaxy S 4 i9505 Android Development] Superperry96:
It's strange... I really didn't touch voltage at all (I came from a clean install kernel so it's strange...).

I really swear it.

Maybe I should do a full wipe in order to prove wrong.
[Galaxy S 4 i9505 Android Development] parser:
Had instant RRs after I flashed the kernel first time couldn't even pass the bootlogo. Now on Android is upgrading screen.

So no panic people when the phone reboots twice or thrice lol
[Galaxy S 4 i9505 Android Development] Ashkin2808:
Try changes the governor.