yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] angarato_surion:
Also why sometimes in synapse a ✅ android an X button appear?
[Galaxy S 4 i9505 Android Development] angarato_surion:
Also it rebooted when playstore updated apps
[Galaxy S 4 i9505 Android Development] 4shared:
Thank you

I finally resolve my problem

After A Lot of searching, i succeed to compile my first kernel :laugh:

of course i build it with hall sensor disabled

i simply put in jf_defconfig:

CONFIG_SENSORS_HALL=n

just like that:rolleyes:

Thank you for your support
[Galaxy S 4 i9505 Android Development] robcore:
Congrats! Glad it worked out :) yeah the synaptics/keys/hall code is much more complex than I thought, I will have to study it! Till then, way to go!
[Galaxy S 4 i9505 Android Development] angarato_surion:
New crashes and of course it resents every value I have for hot plugging any screen to panel
[Galaxy S 4 i9505 Android Development] angarato_surion:
Why do I need to insert a text when I only want to give the freaking logs to the kernel developer
[Galaxy S 4 i9505 Android Development] Belgas14:
can we use this on Imperium Rom v16?
[Galaxy S 4 i9505 Android Development] robcore:
Maybe...

Some users have reported success, others failure. Worse comes to worse, just make sure to use the uninstaller script in the OP.
[Galaxy S 4 i9505 Android Development] darkrevlis:
Where is the update 09/10/2016?
[Galaxy S 4 i9505 Android Development] FlorianSSJ:
Dude, you should really add undervolt option on Synapse and give to the user full controll...
[Galaxy S 4 i9505 Android Development] robcore:
echo '(frequency) (voltage)' > /sys/devices/system/cpu/cpufreq/vdd_levels

In no way am I depriving you of complete control.

https://play.google.com/store/search?q=undervolt&c=apps&hl=en

Again, please don't tell me what I should do unless you're paying me.
[Galaxy S 4 i9505 Android Development] robcore:
While we're at it, for gpu:

echo "voltage" > /sys/devices/system/cpu/cpu0/cpufreq/GPU_mV_table
[Galaxy S 4 i9505 Android Development] Guarino95:
[MENTION=4763308]robcore[/MENTION] clean installed my rom and flashed mark three before first boot...boot succeeded, but hell that took so long, and once booted it was laggy AF and applications install took ages....thought you were a bad dev, aren't ya? Then I thought for a little more and opened synapse...damn my CPU hotplugged the whole time!! I ran a single core 810 mhz device for an hour and I was going to get mad :P

Once the problem was figured out and resolved it was snappy and reactive...no problems so far apart from the modem issue...I'll install mark four tonight (probably again a clean install) and will let you know.

P.S. just an hint...55 C° as a throttling point is too low for our device, at least for mine...that will keep the cpu hotplugged the whole time, especially during a first boot or heavy duty (like installing around 30 apps or gaming). Think about changing it to 65-70 as a throttling point and 70-75 as a hotplugging limit, or at least not that low if you don't want to go up that much :P
[Galaxy S 4 i9505 Android Development] Belgas14:
MarkFours has been working like a charm.

Coul you gives us a setup for Gaming , Balanced and Battery?
[Galaxy S 4 i9505 Android Development] nagash91:
Ok, done.

Also updating to MarkFour!

A great point to this kernel is the audio quality in call.. WOW! I always asked myself why the phone call audio was so bad but hearspeaker audio with other software have a better quality (skype/whatsapp calls, and so on).

With this kernel the quality with phone call seems to be much better! Never seen (or heard..?) something similar with stock kernel or other kernel mods.

Thanks for your work!

:laugh:

PS: the UI audio effect problem in silent mode is gone when I disabled the Master Switch for the Sound Control in Synapse.

Running on MarkFour now, no problems so far.
[Galaxy S 4 i9505 Android Development] legendt:
Well, there is one thing which may be the same as [MENTION=7278500]Guarino95[/MENTION] said. The default profile gives too low hotplugged throttling point at 55℃. The whole boot animation is always laggy and it will take extra minutes to finish first boot app optimization (only 1~2 cores working since boot and optimization cause heat). At my side, the temperature itself is great enough for now. I agree that an default point greater than 75℃ is better. I changed in synapse to 85℃ and it's flying once synapse boot load all settings. Please consider it! It's reasonable to be adjusted after early boot. Again, thanks for your great work. :)
[Galaxy S 4 i9505 Android Development] Guarino95:
[MENTION=4763308]robcore[/MENTION] had to reboot the phone today due to the modem bug...something was screwed up...it rebooted itself at least 10 times while booting...once booted it didn't recognized my SIM card and was super laggy...took logs on synapse and powered system off...cleared cache and dalvik, and phone won't boot anymore...i had to clean install a new ROM...i'll attach the log i took hoping this will help identify the problem, if it is related to tour ketnel or not. Let me know
[Galaxy S 4 i9505 Android Development] robcore:
Logs! I'm guessing you're using an audio mod or something? I can't do anything for setups running viper or anything like that...
[Galaxy S 4 i9505 Android Development] robcore:
Read post number 3 ; ) fyi elementalx and electroactive have graphics boost hooks in the gpu code, so those are your best bet for gaming.
[Galaxy S 4 i9505 Android Development] robcore:
Lol yeah its funny I lowered it because I was worried about it getting too hot after mark three, so if general consensus is higher defaults I'll lift it back up
[Galaxy S 4 i9505 Android Development] robcore:
Smart manager and keyboard failed. And if you're on Thor the extra build.prop lines regarding radio and ril are incompatible with our device. I turned off all smart manager app-related/memory stuff long ago because it's buggy regardless of kernel I used
[Galaxy S 4 i9505 Android Development] robcore:
I've been DYING to talk about how awesome the stock sound quality is on this bad boy with someone, glad you like it! Lol it took a loooong time and a LOT of math.
[Galaxy S 4 i9505 Android Development] sonickles9:
I guess I figured out why booting is so awfully slow in MarkThree and MarkFour; the reason is thermal management.

I noticed that the limit temp is 55° and 65° in MarkFour, a tad lower than in MarkThree and pretty much lower than average.

If I recall, a CPU can very quickly get over 50° when on low load, and that seems to make the CPU struggle a lot to get the system running (and thus making the system boot slowly, slow boot animations and a laggy system overall)

I also noted that while max temp was 55°, synapse would tell me that the only core online would be core 0 and that core would never get past 810mhz. Once I sprang the max temp up to 75°, the system started behaving normally.

However, synapse settings are applied after boot completes so this means you will have to fight time and have to wait a lot before getting your system good to go (that is, if the device doesn't crash halfway and reboot and Synapse starts acting oddly again)

My suggestion is: could you set max temp to around 70° by default?

Thanks :)

Enviado de meu SM-A9000 usando Tapatalk
[Galaxy S 4 i9505 Android Development] robcore:
Yup, already set for MarkFive! Whenever you guys are curious about this stuff, have a look at my commit history and you'll see I'm listening ; )

https://github.com/robcore/machinex/commits/master

Just tonight I commited the change with the message:

"the people have spoken, high stock temps it is"
[Galaxy S 4 i9505 Android Development] sonickles9:
Hey, just installed Super WizCyan and all those major issues were gone (especially the one with the browser). Seems like Thor has a bunch of settings/things that make your kernel misbehave on it. :)

Enviado de meu SM-A9000 usando Tapatalk
[Galaxy S 4 i9505 Android Development] robcore:
Sigh...FYI: coming soon...
[Galaxy S 4 i9505 Android Development] 4shared:
Hello again :)

Can you Plz brovide a zimage of your kernel Mark95 with

CONFIG_SENSORS_HALL=n

I tried to compile it from your github source but never succeed

I'm Getting error:

Makefile:130: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
Build failed, Skipped Ramdisk Creation
[Galaxy S 4 i9505 Android Development] robcore:
I would rather help you build it yourself, what steps have you taken to build it?
[Galaxy S 4 i9505 Android Development] 4shared:
Thank you;

1- I followed this thread to set up my ubuntu

[GUIDE] How to build a Samsung Kernel July 30, 2016

2- I cloned ur github source

3- i cloned the needed toolchain: gcc-linaro-5.4.1-2017.01-x86_64_arm-linux-gnueabihf, place it in my home/toolchains

4- creat robcore/AIK in my home ( i dont realy know what i should put ther ... patchs . . . :silly:)

5- edited files to the toolchain target, and the new robcore folder target:

- build_kernel.sh

-makefile

-cleanup.sh

6- edited arch/arm/configs/candefconfig to disable hall

7- after lunching build_kernel.sh i figured that parallel is missing, so i installd it

8- after that ... file attached

(nb: managed to build stock kernel, Imperium LL Kernel v5.2, hoping Machinex)
[Galaxy S 4 i9505 Android Development] robcore:
Ah perfect the whole output really narrows it down. As for my build script, there are some intricacies that (as you've seen) are very specific to my setup. The AIK folder is what I use for ramdisk management, using osm0sis' all in one boot.img setup. He uses all of the newest binaries and his scripts make unpacking and repacking a breeze. So what you will want to do is make that path one that works for you in my script, download and extract aik for linux to that folder, and use it to split a pre-existing boot.img in that folder, then the ramdisk will build correctly from the script. For the modules/flashable zip, I use a template that is copied to a new folder with the repacked ramdisk, so I might actually just makes copies of everything and upload it here. This kernel MUST be used with my ramdisk and split boot.img to work properly.

This output means I haven't added back the CONFIG_HALL_WHATEVER guards around the flip cover stuff in gpio keys since I updated that driver, so give me a day or so to clean up my repo and I'll let you know when it's safe to clone.

/home/aziz/android/kernel/machinex/drivers/input/keyboard/gpio_keys.c: In function âflip_cover_workâ:

/home/aziz/android/kernel/machinex/drivers/input/keyboard/gpio_keys.c:614:51: error: âstruct gpio_keys_drvdataâ has no member named âflip_cover_dworkâ

/home/aziz/android/kernel/machinex/drivers/input/keyboard/gpio_keys.c:614:87: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]

error, forbidden warning: gpio_keys.c:614

/home/aziz/android/kernel/machinex/scripts/Makefile.build:308: recipe for target 'drivers/input/keyboard/gpio_keys.o' failed
[Galaxy S 4 i9505 Android Development] 4shared:
[MENTION=4763308]robcore[/MENTION]

Thank you very much for the clarifications,

This is my first contact with linux, as I'm a windows user;

Waiting ur repo to be cleaned, And i will give it a try

Thanks again;
[Galaxy S 4 i9505 Android Development] robcore:
You're doing great! My build system started out simply enough, but over time I became addicted to the automation that scripting allows :)
[Galaxy S 4 i9505 Android Development] robcore:
Coming soon...
[Galaxy S 4 i9505 Android Development] mart123:
Hi! I think this can be implemented in your kernel. What do you think? Or there is yet?

https://xdaforums.com/z5-premium/general/announcement-energy-aware-scheduling-t3620897

Regards
[Galaxy S 4 i9505 Android Development] robcore:
Actually I had already done that for our device, but it's a very specific patchset that pigeon-holed us to the 3.18 kernel core and limited future updates, so I've reverted all of the EAS stuff and have been sticking with (tweaked) mainline upstreaming instead. I assure you the amount and quality of updated api's in mark96 will prove that decision to be for the best.

Edit: I read the article too ;) , but if you are looking for ideas or ways to help, I will take all of the obscure cpu hotplug driver code you can find into consideration for something big.
[Galaxy S 4 i9505 Android Development] Sureshtuty:
zzmoove

Can you please add zzmoove governor in next update? :D
[Galaxy S 4 i9505 Android Development] Belgas14:
Guys, next update is coming, 96 is indeed a beast!

Edit: 96 online
[Galaxy S 4 i9505 Android Development] robcore:
Aw man I'm sorry I'd like to, because it's a very neat, inclusive solution for governing, hotplugging, etc, but none of the "old" governors will be compatible anymore because we are now running the mainline cpufreq api. HOWEVER(!!!), I've worked very hard to ensure that intelliplug, intelli-thermal, hardlimit and cpu boost are all VERY interconnected, and they constantly talk to each other to ensure a relatively cohesive scaling experience. Eventually I will build everything into a single frame work that manages everything in a unified way that will be comparable. That said, I've never been a big fan of preset profiles anyway because nothing beats educating oneself in areas of interest such as these.
[Galaxy S 4 i9505 Android Development] anaz2698:
How did my lockscreen gets removed after i flashed this kernel?

---------- Post added at 01:25 PM ---------- Previous post was at 01:22 PM ----------

Edit : In settings it shows that it is secured with pin ..i reset it created the pin again

Any reason?..
[Galaxy S 4 i9505 Android Development] robcore:
I can only give you answers if you take logs when you notice a bug ;)
[Galaxy S 4 i9505 Android Development] tayfun2032014:
Hello:)

It will be a bit stupid but I do not know which I should download ???? there 3 link to the dowload ???

I have an albe95 loliromv9 and wanted to ask if it will work with this kernel ????

THANKS FOR THE ANSWERS:good:
[Galaxy S 4 i9505 Android Development] Belgas14:
There's no stupid questions, if you want to install this kernel flash installer, make sure you set Supersu app like it's explained on thread...
[Galaxy S 4 i9505 Android Development] anaz2698:
My bad..bug is everytime i restarts my lockscreen gets removed although it shows secured with pin in settings..here is the log..
[Galaxy S 4 i9505 Android Development] Ranniel:
[MENTION=4763308]robcore[/MENTION] I can install magisk with this kernel, and if you can do it like?

Enviado desde mi GT-I9505 mediante Tapatalk
[Galaxy S 4 i9505 Android Development] Belgas14:
I think Magisk is currently only working with stock kernels mate
[Galaxy S 4 i9505 Android Development] guest4711:
No, I'm using it with side-core.
[Galaxy S 4 i9505 Android Development] tayfun2032014:
Oh, I did not think it would be something like this quickly.Bin surprised at all and am very satisfied THANKS to you Now my mobile is charging up faster and has become very fluid.

I hope it goes so with updates:)

THANK YOU TO ALL:good::good::good:
[Galaxy S 4 i9505 Android Development] Belgas14:
That's indeed interesting
[Galaxy S 4 i9505 Android Development] robcore:
One of my testers reported using it successfully, though I must admit I am a little behind on the specifics of using magisk, so i can't give you a definitive answer one way or another.

One thing I can DEFINITELY tell you is that if you require magisk for root-hiding, safety-net bypassing, and/or system partition preservation, this kernel will absolutely break all three in its current form. Perhaps one day I will look into updating the implementation to work with magisk, but for now it just isn't a big enough priority for me.
[Galaxy S 4 i9505 Android Development] mart123:
Hi Robcore!

I see that you are going to give us the s2w. What do you thing of the double tap to give us the clock like using the s-view?
[Galaxy S 4 i9505 Android Development] angarato_surion:
idont beleive that swipe to wake or double tap to wake .. because he must keep the digitizer of the screen to be working continuously

when the screeen is off which will waste battery for no reason . just to give an additional gimmick.
[Galaxy S 4 i9505 Android Development] mart123:
I know that but you can turn it on or off.
[Galaxy S 4 i9505 Android Development] robcore:
My plan (if all goes well), is to simply convert the irq(interrupt) into one that is designed to wake the system from suspend like the power button and home button. The digitizer may use battery, but I'll look for a workaround. In the end, it won't do anything different than usual when left disabled anyway.

As for the actual gestures, I'll be doing the whole gamot:s2w, dt2w, touch wake (yank's method of waking with just a single long press), and sweep to sleep, so long as I'm able to get everything working and stable.

As preparation, I've been doing a little work with our existing set up, and have already integrated an optional "vibrate on wake up" feature.

Edit: the fake flip thing is unlikely because it's trickier than it sounds
[Galaxy S 4 i9505 Android Development] y0.o!:
What ROMs are you guys using with this kernal?
[Galaxy S 4 i9505 Android Development] Belgas14:
currently using Imperium Rom + BlackUI from Lennys Bard, perfect combo
[Galaxy S 4 i9505 Android Development] y0.o!:
I put Imperium on today funnily enough :).

I'll look for blackui and flash this kernal now.

Thanks for the reply.

EDIT: I can't find BlackUI for i9505 but have for other devices.
[Galaxy S 4 i9505 Android Development] y0.o!:
Think i found it, is this correct?

I'm guessing this theme makes everything black? I prefer that, thats why I'm trying to find it he he.

https://xdaforums.com/galaxy-s4/i9505-develop/rom-untouched-stock-rom-t3419034
[Galaxy S 4 i9505 Android Development] robcore:
Lol I promise I'm not being paid to promote the name "machinex," but if you like black ui... https://xdaforums.com/galaxy-s4/i9505-develop/rom-machinex-debloated-nogapps-s6-apps-t3573009
[Galaxy S 4 i9505 Android Development] y0.o!:
Will this kernel work with cm12 Android 5.1?
[Galaxy S 4 i9505 Android Development] Belgas14:
No mate
[Galaxy S 4 i9505 Android Development] angarato_surion:
Where did you get the black ui?
[Galaxy S 4 i9505 Android Development] y0.o!:
You are correct I ended up trying it lol.

I'm going to try and find one.

---------- Post added at 11:04 PM ---------- Previous post was at 11:01 PM ----------

Robcore posted it above mate

https://xdaforums.com/galaxy-s4/i9505-develop/rom-machinex-debloated-nogapps-s6-apps-t3573009

My phone ground to a halt with it unfortunately so ditched it.
[Galaxy S 4 i9505 Android Development] robcore:
Odds are it's due to 96 not being up to scratch. Guaranteed smoothness with Mark97
[Galaxy S 4 i9505 Android Development] y0.o!:
Mark97?

Do you have a link?
[Galaxy S 4 i9505 Android Development] anaz2698:
Under testing
[Galaxy S 4 i9505 Android Development] robcore:
And how!

Coming soon, fine detail for vibration tuning that matches the OS's 10000 step magnitude scale.
[Galaxy S 4 i9505 Android Development] Mr. Lokkevit:
Does this kernel work on QG1 based roms?
[Galaxy S 4 i9505 Android Development] Belgas14:
Yes it works for sure, I'm using right now
[Galaxy S 4 i9505 Android Development] robcore:
Coming soon:
[Galaxy S 4 i9505 Android Development] Belgas14:
Flashing 97!
[Galaxy S 4 i9505 Android Development] robcore:
It's funny, hard plug is the simplest possible implementation, but I'm in love with it because of the awesome name :victory:
[Galaxy S 4 i9505 Android Development] Sureshtuty:
Can you please add zzmoove governor in next update?:)
[Galaxy S 4 i9505 Android Development] Belgas14:
You already asked the same question and Rob answer, what's the point of repeating yourself? :confused:
[Galaxy S 4 i9505 Android Development] Félix akm:
Hello!

Awesome work [MENTION=4763308]robcore[/MENTION] !!!

Is the Machinex Kernel compatible with SGH-I337M?

I'm using Imperium Kernel and all is fine, but i'm impresed with all the tweaks of Machinex and i want to try whitout exploting my ears :=)

Thanks for keep turning the wheels!
[Galaxy S 4 i9505 Android Development] Belgas14:
I think Rob has that varient, so yes, you can install it ^^
[Galaxy S 4 i9505 Android Development] robcore:
Mark98 is live, folks.
[Galaxy S 4 i9505 Android Development] Belgas14:
Happy Birthday to MachineX Team. 1 year together on this project.
[Galaxy S 4 i9505 Android Development] robcore:
Mark99 is up!
[Galaxy S 4 i9505 Android Development] anaz2698:
Is it vulnerable to blueborne malware? Just asking
[Galaxy S 4 i9505 Android Development] robcore:
I just released Mark99-Next, which patches the kernel-side vulnerability for the blueborne attack. That said, I'm not sure if that is enough, as there may be ways to work around it OS-side.

This "next" release also includes a handy cache-clearing fix in the ramdisk to help the device go into deep sleep without having to clear cache after bootup. Enjoy!
[Galaxy S 4 i9505 Android Development] anaz2698:
Great..thanks for the kernel
[Galaxy S 4 i9505 Android Development] angarato_surion:
hi why's from the moment I installed the machinex kernel the phone does not automatically lock the screen?
[Galaxy S 4 i9505 Android Development] robcore:
Trust me, if I knew the answer to that, it wouldn't be listed as a known issue in the OP. Speaking of which, read the op.
[Galaxy S 4 i9505 Android Development] angarato_surion:
deelte it
[Galaxy S 4 i9505 Android Development] Helloziro:
best game tweak
[Galaxy S 4 i9505 Android Development] robcore:
MarkOneHundred special edition is available, both in the op and packaged with MachineX Rom by Andycar.
[Galaxy S 4 i9505 Android Development] Belgas14:
Huawei hi6250 are looking at your sources mate, you're a go indeed
[Galaxy S 4 i9505 Android Development] angarato_surion:
is the kernel being updated?
[Galaxy S 4 i9505 Android Development] chiruscan:
Can we install m4 over m3 or do we need the cleaning script?
[Galaxy S 4 i9505 Android Development] Belgas14:
waiting for MarkFive, i had some troubles using xposed and markfour. Will you ever consider on building your own Rom? that would be amazing. Again thanks
[Galaxy S 4 i9505 Android Development] Saber:
Hehe, I'm not Canadian, I'm Australian. ;)

I am happy to see other developers find my resource useful :)

gsstudios
[Galaxy S 4 i9505 Android Development] robcore:
Android mod guide..uh, guy! Man I'm putting you in my "thank you" list asap! I'll update the description in the referring post too. Hope you don't mind me linking your page, I just see no reason to explain what everything does when you already have so succinctly ; ) Efficiency and laziness are close relatives...

Lol The Canadian domain influenced my guess :P
[Galaxy S 4 i9505 Android Development] Guarino95:
[MENTION=4763308]robcore[/MENTION] i was running Albe's lollirom v9.0...what can i do to avoid this in future? I really like AOSP Roms but i always get the simcard removed error way more often than touchwiz based...so i would like to stick with touchwiz and an awesome kernel yours...do you think that removing smart manager and stock keyboard with something like Titanium Backup will work?
[Galaxy S 4 i9505 Android Development] robcore:
The versions can be installed on top of one another without the uninstaller :) but please download the new one in case anything goes wrong!

Hmm MarkFour and xposed don't give me any hassles...but MarkFive is a BEAST!

Hehe thanks for your vote of confidence, I DID port multiwindow to the gs2 skyrocket years ago...

Roms are just such an overall headache, you know? Lollirom 9 combined with a few of my personal little mods will serve my purposes for a long time I think.

Maybe one day I will, but no promises!