yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] robcore:
On the fly ish! The checkmark and the X in the top right hand corner are to apply or cancel any changes you've made. If you apply them, they are pretty much instant! No reboot required :D the app acts as a gate way to a bunch of shell scripts you can view in /res/synapse/actions from a root explorer (I use solid explorer classic because it's very dependable). But yeah, essentially it's like a runtime scripting engine, its great for learning basic scripting.

It's funny, up until MarkTwo and Three, I've always stuck with on-demand based govs, but with a sturdy backend, i just can't stop using hellsactive . Though ondemandplus will always be a favourite.
[Galaxy S 4 i9505 Android Development] nagash91:
I love this project! :good::good:

I love how you explain all the feature in the 1st post :good::good::good:

I installed this kernel on Lenny Bard PG1 deodexed rom.

Bugs report (stock settings, no UV, only disabled swap with swapoff /dev/block/vmswap0 ):

- Freeze + reboot when open Samsung Browser: seems GPU issue, the screen seems corrupt for 1/2 seconds with colored bands and then phone restarts.

- Even in silent mode, when i touch the screen or make an action that would start a sound effect (like unlock the lockscreen, send a message on whatsapp) I hear a small sound come from the main speaker on the back of the phone. This is so weird!

Minor issue:

- Can't disable zram/swap with kernel settings, this problem is popular with s4 kernels. PG1 rom have 1gb of zram in /dev/block/vmswap0 and kernel settings can't control it (nor with synapse nor with kernel adiutor).

Thanks for your work!
[Galaxy S 4 i9505 Android Development] legendt:
Could you just beautify your post for better reading experience? It's hard to find what one wants.
[Galaxy S 4 i9505 Android Development] Corduroysack:
Been on this kernel since this morning and its solid, its really really good!!! Congrats [MENTION=4763308]robcore[/MENTION] :)
[Galaxy S 4 i9505 Android Development] robcore:
I lost almost the entire OP last night and had to rewrite it in a hurry. It was beautified prior to then but that's all besides the point.

The point is that I am a c programmer, not a designer, and I don't work for you. Unless you're paying me, my Canadianness rejects your request because you didn't say please.
[Galaxy S 4 i9505 Android Development] robcore:
Zram is a whole thing, it's a subsystem that will get attention, but only after certain core ones.

As for the screen issues, did you check your build.prop as mentioned in the op? As for sound, so you have any mods installed? I've had no issues.

UV/OV -not a bug, but a feature you want. The kernel actually DOES have voltage control but I left it out of Synapse because it's a potentially dangerous feature. If you really want to use it, use a script or disable synapse and install a kernel management app. Ex Kernel manager (paid) by flar2 is really good.
[Galaxy S 4 i9505 Android Development] legendt:
Apologize for that. I mean no offense and I am not of those nude guys your canadianness rejects but I did slipped out a single "please" this time. If your aim is really to scare out noobs, just forget about what I said. Keep on your great work!
[Galaxy S 4 i9505 Android Development] robcore:
Haha fair enough, I'm sorry for my brash response...I really need to stop checking my notifications when I first wake up. Morning Rob=A miserable son of a gun...

That said, yeah I need to work on the op. I'm just bitter because I lost it all last night and had to restore what I could from google cached pages.

Lol I know it's a typo, but your post has the single most HILARIOUS typo ever and made my day "I am not of those nude guys your canadianness rejects."<< this needs to be on a t-shirt!

Is there any extra info you'd like to know regarding this kernel?
[Galaxy S 4 i9505 Android Development] robcore:
I think the next version will handle memory better...don't know what to tell you about the heat up, other than encouraging you to lower your thermal thresholds.
[Galaxy S 4 i9505 Android Development] Helloziro:
- PI1 initrams
[Galaxy S 4 i9505 Android Development] mart123:
Logs mark 47, modem issues.
[Galaxy S 4 i9505 Android Development] mart123:
Logs
[Galaxy S 4 i9505 Android Development] mart123:
Logs after restart and there is noises.
[Galaxy S 4 i9505 Android Development] mart123:
After restart
[Galaxy S 4 i9505 Android Development] devsnor:
47: Everything was fine, I came from work, went to bed, woke up 6 hours later - all apps fc, can't open a single application(hence no logs sorry man), lost 45% battery, radio's dead.
[Galaxy S 4 i9505 Android Development] mikussj3:
clean install WizzCyan + uninstall busybox + flash mark47 + wipe dalvik and cache= so far very smooth and stable. no problems with modem and battery drain.

Thanks Robcore.
[Galaxy S 4 i9505 Android Development] robcore:
Try this:
[Galaxy S 4 i9505 Android Development] devsnor:
Better: battery seems fine, radio dies still, like once or twice a minute but manages to wake on its own (I guess that still makes phone calls impossible but have to test that). Apps don't FC but some get stuck on welcome/loading screen. Others just won't open, and some work just fine. Swiftkey takes like 10 secs to load though, every time. It feels very laggy.
[Galaxy S 4 i9505 Android Development] robcore:
If you are on any rom that IS NOT based on PI1, I suggest flashing an older modem because Samsung made huge upgrades regarding radio subsystems with that release. To put it simply, I am on the latest modem for my model (OH1) and don't get drops at all. Here is the latest Beta I am personally using in the meantime (uploaded using my non-dropping modem over Lte).
[Galaxy S 4 i9505 Android Development] sk1887:
Can you specify better your modem version? If I am correct OH1 is newer than PI1, am I wrong?

Do you actually use stock odexed rom? I'm just asking, because s6 modded rom probably cause some conflicts.
[Galaxy S 4 i9505 Android Development] robcore:
It is alphabetical. OH1 is from early 2015 or so. I would suggest anything before PI1 (latest).

I use lollirom 9.0.
[Galaxy S 4 i9505 Android Development] devsnor:
I think I am on the latest modem however lets clear it out, I flashed back lollirom as some plug-ins for tasker weren't working properly on wizcyan. My wifi worked, and I remember flashing the latest modem via Odin couple of months ago. Then I flashed imperium to try something out, and restored the stock kernel. That made wifi not work again, I wonder why, flashing imperium or your kernel solves that issue but I wonder why wouldn't it work after restoring stock kernel? Anyway the lag was caused by a bug I mentioned couple of weeks ago - mako hotplug gets stuck on 1 core mode mode after some time when you set max cores in suspend to 1. Other issues are present and get worse over time, but not when I'm actively using the phone, it's always after a period of time when it's charging or when I'm sleeping.
[Galaxy S 4 i9505 Android Development] robcore:
Again, I would flash an older modem if I were you...also mako is there as a choice only. I recommend intelli or alucard as they are my most tested
[Galaxy S 4 i9505 Android Development] mart123:
My baseband is ol3 and i have problems.
[Galaxy S 4 i9505 Android Development] robcore:
Which rom again?
[Galaxy S 4 i9505 Android Development] mart123:
Kusham rom v5. But i am waiting for the new thor 2.
[Galaxy S 4 i9505 Android Development] robcore:
I will work on an AIO solution
[Galaxy S 4 i9505 Android Development] xell75:
I'm back on TW [MENTION=4763308]robcore[/MENTION] :D Coming from an 7.1 Rom, cause I was curious how this Kernel performs meanwhile, I'm using Mark47 next8 and I am impressed, good overall speed, stable and no wifi or data drops at all! (Using LTE all the time) I'm on the Arctic UX Mod (Note 7 Style)
[Galaxy S 4 i9505 Android Development] robcore:
Thanks man! This is all good news, and it's great to hear from you :)!

Admittedly I would love to try out 7.1, but am far too wrapped up in this project to try anything else at the moment.

Arctic is sweet hey? As for the kernel, I am kind of at a cross roads. On one hand, this kernel has almost 10000 commits to its name. On the other, I am considering ditching it altogether in lieu of starting a 3.10 base from scratch and hacking in our device specific needs. As it stands though, our base is pretty much 3.5, except for a few specific areas which are frankensteiny 3.4-4.2ish hacks. So we will see what the future holds. How's life?
[Galaxy S 4 i9505 Android Development] nwlun:
Hi Rob,

Plan to try out yours kernel...control using synapse or stweak?

Thank
[Galaxy S 4 i9505 Android Development] xell75:
Really good so far, I'm having no work until the 25th of december! :D And yeah a 3.10 Kernel would be awesome, I would be one of the first who would try it out mate! Keep on going this awesome work!
[Galaxy S 4 i9505 Android Development] JerwinSayat:
Man, you can see it in OP. Its Synapse.
[Galaxy S 4 i9505 Android Development] JensGoro:
v48

Phone gets warm while using browsing in internet :(
[Galaxy S 4 i9505 Android Development] robcore:
Which is where this comes in handy...
[Galaxy S 4 i9505 Android Development] reluctant_traveller:
This kernel helped to keep my fingers 'toasty warm' on the walk in to work this morning.

Would be good if the temperature was controllable via notification pulldown! Just kidding!
[Galaxy S 4 i9505 Android Development] robcore:
Lol maybe one day if I ever get better at java.
[Galaxy S 4 i9505 Android Development] xell75:
What happen here? It becomes so quiet..
[Galaxy S 4 i9505 Android Development] robcore:
No clue! But my updated status is: currently fixing all the bloody interactive govs because 99 percent of the ones out there have broken timer functionality.
[Galaxy S 4 i9505 Android Development] devsnor:
Well I'm stuck at a dying radio, I flashed the modem from lollirom thread, radio still dying, then some older one I found on my own, same thing. So ehm either I am doing something wrong or this just isn't for my phone.
[Galaxy S 4 i9505 Android Development] robcore:
Which gov are you using? I've pinpointed interactive based govs as a primary reason for system instability and am currently testing a release wuth far better logic applied to them.
[Galaxy S 4 i9505 Android Development] xell75:
No problem here using "elemantalx"
[Galaxy S 4 i9505 Android Development] mart123:
Same problem here with radio.
[Galaxy S 4 i9505 Android Development] robcore:
Again which gov?
[Galaxy S 4 i9505 Android Development] robcore:
Same here using hellsactive, my new interactive, and some other good ones. Some of them are just using timer functions that are super convoluted and unnecessary, causing issues with suspend. New one should be up tonight : )
[Galaxy S 4 i9505 Android Development] mart123:
It is all default
[Galaxy S 4 i9505 Android Development] robcore:
My guess is that lower pvs binned phones are having issues. Which rom?
[Galaxy S 4 i9505 Android Development] mart123:
Pvs binning 2 and speed binning 2. Rom kushan v5
[Galaxy S 4 i9505 Android Development] devsnor:
3/2 binning, always interactive based gov tweaked for battery.
[Galaxy S 4 i9505 Android Development] xell75:
Great looking forward! You really an amazing Kernel dev, always actively fixing bugs that are mentioned here and updates almost daily. (It's not daily I know, but constantly updates until the Kernel is perfect) I must say, this is the so far best Kernel with tons of options I've ever seen for the S4! ?
[Galaxy S 4 i9505 Android Development] robcore:
I already have a new interactive gov on the way, and will be fixing/rewriting the others. The interactive gov on m49 is busted, it broke my modem and everything else so I completely refactored it https://github.com/robcore/machinex/commit/4525998b0d4b3ce60609f36324562ccab761483b and will be basing the others around it as well. Hellsactive is still holding strong...its aptly named, hellsgod built a hell of a sturdy governor
[Galaxy S 4 i9505 Android Development] robcore:
Thank you very much :) I can't tell you how much your kind words have meant to me throughout this! As far as actively fixing bugs goes...lol let's just say actively attempting to at least ;)
[Galaxy S 4 i9505 Android Development] xell75:
No problem mate really! I really respect any devs work here. And so long we have active devs for our S4, we should be proud. And yeah fixing bugs can bring other bugs, but that's the normal way of life ?
[Galaxy S 4 i9505 Android Development] georgeferroo:
Do this kernel works with Slim 6.0 rom?
[Galaxy S 4 i9505 Android Development] Superperry96:
I had a shot at mark49.

Impressive is what I can say, it has improved a lot. Wow.

So far my only complain is gaming experience again (rob pls forgive me for always complaining about this).

I'll give you the logs.

Other than that, it's working just really fine and superb.

I'm looking forward for improvement.

P.s. next update break things pls hahaha :p jk.
[Galaxy S 4 i9505 Android Development] Hez13:
What game do you play and which rom are you on? I dont have any problems regarding to gaming using this kernel and Thor rom
[Galaxy S 4 i9505 Android Development] robcore:
I actually encountered an rmnet/modem drop finally, am working on a fix. In the meantime, building an electroactive replacement:
[Galaxy S 4 i9505 Android Development] devsnor:
Here are my logs after couple of hours of not using the phone. Maybe you will find something in here related to my modem restarts - the issue was present at the time . I did UV a little for the testing purposes, but this is unrelated, the issue is weeks old and I applied tiny UV 2 days ago. Ty in advance!
[Galaxy S 4 i9505 Android Development] robcore:
Thanks those are perfect for detailed info! Mark50 is looking better already, also...
[Galaxy S 4 i9505 Android Development] robcore:
Ps can I see your build.prop please?
[Galaxy S 4 i9505 Android Development] devsnor:
Some more of the same:
[Galaxy S 4 i9505 Android Development] robcore:
Have you been having issues? If not, I wouldn't worry. In fact, I might start experimenting with some prop values on boot.
[Galaxy S 4 i9505 Android Development] xell75:
Ahh okay then, thanks for the explanation. And it sounds really interesting.
[Galaxy S 4 i9505 Android Development] robcore:
For sure, but honestly are you having any issues? Modem drops, etc?
[Galaxy S 4 i9505 Android Development] xell75:
No I don't have any issues, using "ondemand_x" cpu governor.
[Galaxy S 4 i9505 Android Development] robcore:
Good to know! That really makes me want to try fast dormancy...
[Galaxy S 4 i9505 Android Development] xell75:
You can mate, that is in my Rom since the beginning and there is no problem with that! :D
[Galaxy S 4 i9505 Android Development] robcore:
I'm gonna give it a shot right now, I see the kernel code for it all the bloody time!
[Galaxy S 4 i9505 Android Development] xell75:
That sounds awesome! And I'm using Mark50 rn, performs great so far and I'm using the new "machinactive" cpu governor. If anything happens, I inform you!
[Galaxy S 4 i9505 Android Development] robcore:
Please inform me either way! Improvements will come for machinactive.
[Galaxy S 4 i9505 Android Development] nwlun:
Hi rob im on superwiz 3.2 mark50, 1st install i think it boot under 30s into my phone not sure why :)

Got error on i/o

Battery seem drain pretty fast...I only change to hellactive other in default

Synapse sometime error can't open up need to restart phone only can launch

Modem keep disconnect & reconnect back

Attach is my log thx
[Galaxy S 4 i9505 Android Development] xell75:
Hello! Do you used the uninstaller before installing Mark50? It is recommended using it when you come from an older Mark Kernel version, especially for SuperWizCyan Users as stated in the op. I'm on THOR 1.5 S7 Port, my phone is not a bit warm at all and I have no such issues.
[Galaxy S 4 i9505 Android Development] nwlun:
Nope is it necessary?

The OP on installation part stated rob had his "OWN CLEANUP PROCESS IN THE INSTALLER"

edit:

Let me restore & retry again :)
[Galaxy S 4 i9505 Android Development] xell75:
Yeah maybe but look at this.And yes, you should try it again.
[Galaxy S 4 i9505 Android Development] nwlun:
i restore to my ROM, flash the uninstaller & flash the installer, same error on i/o

1st boot under 30s
[Galaxy S 4 i9505 Android Development] xell75:
That's strange, I'm on an Heat problem Rom "THOR S7 v1.5" Have no insane battery drain and not any other issue yet. It get's only a bit warm but not hot. Mark50 performs really well with this Galaxy S7 Port. Using the new "machinactive" governor. [emoji4]
[Galaxy S 4 i9505 Android Development] robcore:
First boot is always a longer one for this kernel, and for battery make sure to reset your fuelguage then charge your phone, you'll have fine battery life.

With synapse your post reminds me that I should do a check in my code if external_sd exists or not, that's all that error is.

Beyond all that, JasonRR is a brilliant dev but his rom and my kernel have had a rough ride together. For modem issues make sure to search the thread for info, and make sure you read the whole op and help section.
[Galaxy S 4 i9505 Android Development] nwlun:
thx [MENTION=2239974]xell75[/MENTION] will monitor more

hi rob, so my 1st boot under 30s is normal?

Will monitor more from here & report if any :)
[Galaxy S 4 i9505 Android Development] mikussj3:
hi.

i have wizzcyan3.2.

before : have same error.

do this:

flash unistaller machinex nova6

flash slim kernel cleaning 1.9(i read OP: its not necessarily but i would try)

flash kernel machinex50

wipe dalvik and cash and reboot

install 'busybox installer.apk' and uninstall busybox (i read op but...)

install 'busybox on rails.apk' and install busybox

reboot.

so far its better than before
[Galaxy S 4 i9505 Android Development] nwlun:
Nope I think rob got the answer already

Latest will install busybody. Thx rob for the amazing kernel
[Galaxy S 4 i9505 Android Development] robcore:
Technically what you mention here should work, however the installer now LITERALLY does the exact same thing as slim's script (and the extra stuff for machinex), and busybox is installed exactly the same way on first boot. A reboot after first install doesn't hurt. And it's never a bad idea to wipe dalvik and cache for good measure. I don't that often, but only because I rarely have major issues. Though some of the versions along the way have benefited from it due to some of the more drastic changes in memory management.

But yeah, if it's working out for you great! Technically nothing you suggested is harmful :)
[Galaxy S 4 i9505 Android Development] robcore:
When you say first boot under 30s, you mean it's taking 30 seconds to boot? A lengthy first boot is definitely normal given the ridiculous amount of under the hood stuff going on, so dont worry there. For the external sd check in synapse, I will make it dynamic for the next version. Thanks for the reminder!
[Galaxy S 4 i9505 Android Development] ivanws:
Why? I have rom thor 1.5
[Galaxy S 4 i9505 Android Development] robcore:
Look at the supersu settings in post 2 and change yours
[Galaxy S 4 i9505 Android Development] ivanws:
Works fine thanks :) the ram free its much in imperium max free is 600-500 thanks my s4 is fast and furious jajaja thanks
[Galaxy S 4 i9505 Android Development] mart123:
Hi.

On mark50 i had freezes and i had to remove batery and sometimes my wireless was reseted but now no radio drops and no noises.

On mark51 i had one reboot and the noises are back.
[Galaxy S 4 i9505 Android Development] mart123:
Log of mark51. The noises start when booting.
[Galaxy S 4 i9505 Android Development] mart123:
I dont know why but i cant attach all the 3 logs at the same time.
[Galaxy S 4 i9505 Android Development] robcore:
Noises fall under "known bugs" in the op and updates section ;)
[Galaxy S 4 i9505 Android Development] devsnor:
My radio was fixed on #50, I am just so happy as I couldn't use it as my 24/7 kernel since like Mark15, woohooo, flashing #51... Big thanks to you Rob. Also got me thinking, if you could make this device run so well with a tw rom I wonder what you could do on gpe. XD If only it had a better camera app and a few tw goodies.... (gpe, not your kernel lol). ; ) Amazing job.
[Galaxy S 4 i9505 Android Development] robcore:
Hey gang, I am attaching a HOTFIX to this post because, upon looking at my patches from last night, one function got doubled and usb suspend is trying to suspend twice. Luckily, I haven't noticed any negative side effects from it, but I'm sure problems could come up from it later on, so best to nip it in the bud.

Also, I made ONE little upstream change in a header definition for msm bam, and everythiing *seems* to be running smoother (could be placebo). The long and short of it is, this hotfix release has one change that will fix your usb, and one change that could annihilate the solar system.

The world is not enough, let's take the universe too!

Machinex - Mark51 - Next2 (service release)

Installer: https://www.androidfilehost.com/?fid=313042859668276991

md5:7348b6cc77575e8eeffeb39625685430
[Galaxy S 4 i9505 Android Development] nwlun:
Hey rob...some of the error happen

Everytime I reboot the phone synapse take very long time to apply cause battery drain.

Back camera got issue when take photo

Alarm too loud & sound broken

Unable to greenify whatapps completely

Signal always lost at indoor...using Imperium do not hv this issue

Gaming on clash royale & clan loading slow

Unable connect to pc via USB cable
[Galaxy S 4 i9505 Android Development] robcore:
Okay first things first -> I have no control over the Synapse application. Unfortunately it is not gpl open source, so I am unable to make and distribute any modifications of my own without violating licensing conditions.

Back camera issue -> you have to unlock the mdnie lock for now, as the camera requires camera mode for its scenario at the moment. I will try to come up with something.

Signal, gaming, and usb not connecting I can't do anything without logs. I'm not having any of those issues...
[Galaxy S 4 i9505 Android Development] nwlun:
How do I unlock mdnie for camera?
[Galaxy S 4 i9505 Android Development] xell75:
Go in Synapse to the "Panel" section and untick "mdnie lock" That's it.
[Galaxy S 4 i9505 Android Development] nwlun:
Was untick all this while
[Galaxy S 4 i9505 Android Development] nwlun:
Sry forgot to put attachment. I keep seeing a lot of superuser permission not sure is it the problem that cause it

Pls check tq
[Galaxy S 4 i9505 Android Development] xell75:
Hmm.. I'm on SuperSU 2.78 SR5 SystemMode version and don't have any problems.
[Galaxy S 4 i9505 Android Development] robcore:
Unfortunately Supersu logs don't come through with regular logs. However, you should probably set your default supersu setting for synapse to "grant," because that will help everything run more smoothly. I have some recommend SU settings in post 2.

Also with camera, there is a problem and I know what I need to do to fix it. For now, I was able to get it to work by changing mode in the app and then changing back to auto. Also rotating it sideways seems to help. I will have a new version out later today.
[Galaxy S 4 i9505 Android Development] robcore:
Lol we are suckers for bleeding edge updates eh? Fyi dkcldark release our version of xposed 87!
[Galaxy S 4 i9505 Android Development] xell75:
Of course I have it already! [emoji1]
[Galaxy S 4 i9505 Android Development] loosecannon2013:
Hey I really enjoyed your work on my s4. Your kernels made my phone rock out. An I say thank u. Now that I got myself a note 5 I think you would be perfect dev for kernel development on this device. Just say we could use a dedicated dev like u. Keep on rocking.
[Galaxy S 4 i9505 Android Development] ivanws:
I go back to imperium but isn't estable in rom Thor reboot and reboot and more random reboots :(
[Galaxy S 4 i9505 Android Development] xell75:
I'm on Thor 1.5 and not have a single random reboot.
[Galaxy S 4 i9505 Android Development] ivanws:
For my random reboots :( y have i337m whit imperium works very well. .. i understand no works for my

Sorry for my bad English
[Galaxy S 4 i9505 Android Development] xell75:
Ohh okay, I am on GT-I9505