yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] Synergy510:
Feb 28 Build

Hi guys,

I've been very busy lately occupying myself with other things. I wanted to re-do the kernel with this release because I wasn't happy with the last one. Going back to simplicity again, and removing what could possibly affect the new variants' sensors. I've also moved away from the tuned Interactive and brought it back, near inline with stock CM. I would've released this sooner but I experienced some bad battery drains, even during calls and I wasn't sure if it was the ROM/Kernel, or Google Play Services, so please be on the lookout for that and have a Nandroid ready. I ordered parts for a pretty beast computer to replace my MacBook Pro and to host a virtual server for me to build with. I also bought an S7 Edge, it's waiting at home right now and I'm very excited to use it! I'll still build for the S4 for as long as possible, though.

ROM:

Cherry-picked Bluetooth related fixes from JDCTeam’s AOSP 6.0 ROM. It’s less broken, but still broken.

Sync with CM up until this weekend

Kernel:

Ramdisk: Re-tune Interactive, no longer super power saving and should no longer lag during games/app installation

Reverted Interactive and CPU boost commits

Removed LMK ADJ RBTree

Added jfltetf* variants to the flash barriers

Kernel re-haul. Back to CM13 base and added:

Intelli_plug

Dynamic Fsync (Disabled by default)

Simple GPU Gov (Enabled by default)

FauxSound

Faux123 improvements

Power efficient workqueues

Arter97 improvements

S970 & S975 Sensor compatibility

WiFi improvements

sweep2sleep

GZIP Compression

Sync with CM up until this weekend

SynergyCM13.0-20160228-jfltecdma-fd4ed30bbd.zip

SynergyCM13.0-20160228-jfltegsm-0762a7ad9d.zip

SynergyCM13-jflte-kernel-20160228.zip

I've been very scatterbrained lately, so if I missed something I should've added in this build, I apologize
[Galaxy S 4 i9505 Android Development] Creeper36:
[MENTION=4829924]Synergy510[/MENTION] Thanks for adding the S975L & S970G to the flash barriers .. ROM installs perfect.

Sensors are not working.. see Image below.

The original Synergy 01-11-16 Kernel will not install as-is if downloaded from your Post #1 of this thread under Older Kernels.

I still have my working Synergy 01-11 Kernel for S975L and S970 available [HERE].

This 01-11-16 Kernel is the only modified one that installs (the only thing modified is the flash barrier).

Install in TWRP after Full Wipe: 20160228 ROM + 20160111 Modified KERNEL + Open GApps Arm 6.0 Nano + SuperSU 2.65

I still really like this ROM and I have no problem installing all 4 of these!

.
[Galaxy S 4 i9505 Android Development] rlopess:
What exactly is Loki patch mentioned on first post?
[Galaxy S 4 i9505 Android Development] SaulGoodman88:
[MENTION=4829924]Synergy510[/MENTION] are you going to build some stuff for the galaxy s7 edge? I'm just bought one and it's really hard to wait for it ?
[Galaxy S 4 i9505 Android Development] rlopess:
Noob question, how can I set above_highspeed_delay just like you did? When I type these numbers and press ok, it goes back to default "20000" again.

Edit: I was using enter key, It's just use space instead haha
[Galaxy S 4 i9505 Android Development] patrik@xda:
Will this kernel work with any 6.0.1 ROM such as crDroid? I want to have a bit more power and control over my kernel, thank you for your response :)
[Galaxy S 4 i9505 Android Development] Creeper36:
I was wireless charging and when I went to pickup my phone.. the red charging light and the lightning bolt in the battery icon (top-right corner) was STUCK ON.. I had to reboot to get it to shut off. It may be an effect of my older kernel but I'm not sure.. anyone else have this issue?

I'm the guy with the older modified kernel.. 01-11-16 kernel with 02-26-16 ROM.
[Galaxy S 4 i9505 Android Development] 11zeno11:
Does 26_02 kernel miss voltage adjustment capability? I can't find the tab in kernel auditor

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Android Development] masterlo3:
Where's the app to tune the faux sound. Like faux speaker? I downloaded it from play store and it said it only works on nexus 4... So how do I customise the sound of my speaker?
[Galaxy S 4 i9505 Android Development] audianer:
[MENTION=4829924]Synergy510[/MENTION] A small please I would! can you reactivate voltage adjustment? That will be very nice!!
[Galaxy S 4 i9505 Android Development] Axl_Mas:
I moved to Synergy's CM13.0 because I had very poor battery life with CM Nightly (well I really appreciate also to have optimized compiler flags) .

For extreme battery saving I should use the old 20160215 kernel or I can stay with the most updated one?

Synergy's kernels use zram? If yes how I can disable it?

Many thanks for this very stable, fast and clean rom!
[Galaxy S 4 i9505 Android Development] Dionizas:
Didn't tried this ROM but with original CM 13 I have a problem with WIFI drops, maybe here it is fixed? Thanks
[Galaxy S 4 i9505 Android Development] Corduroysack:
Wifi drops are standard with all cm MM roms at present
[Galaxy S 4 i9505 Android Development] audianer:
I dont have any wifi drops with this kernel anymore!
[Galaxy S 4 i9505 Android Development] Dionizas:
Hm...I think I will try to install this mod. Maybe some more feedbacks about wifi drops with this kernel? :)

Thanks
[Galaxy S 4 i9505 Android Development] Gachmuret:
[MENTION=4829924]Synergy510[/MENTION]

I also would like to know if this Kernel will work on any cm13 based Rom or if there are any other custom cm13 Kernels available by now, thx a lot!
[Galaxy S 4 i9505 Android Development] SaulGoodman88:
With the synergy kernel you won't have WiFi drops anymore. You can flash the whole synergy rom or if you are on official cm13 you also can only flash the kernel and it will fix your wifi.
[Galaxy S 4 i9505 Android Development] Dionizas:
Thanks. Will try it now.
[Galaxy S 4 i9505 Android Development] petiolarissean:
Using kernal on unofficial 13cm joryb rom sprint variant and it seems to be working fine,.
[Galaxy S 4 i9505 Android Development] r2089:
Sound settings in kernel adiutor doesn't work .
[Galaxy S 4 i9505 Android Development] Dionizas:
Installed. First impression:

1: No wifi drops. NO WIFI DROPS - works much faster.

2: Slow charging (CM 12.1 faster) - maybe possible to do something?

3: Phone is a little bit slower then on CM 12.1 - maybe possible to do something?

4: Didn't find 4g mobile connection - maybe possible to do something?

5: Weather is not displayed find it on holding "Edit Tiles" and later "Show weather"

6: Adaway is not working - "Either the su binary could not be found or you did not allow root permission for AdAway......" Fixed - Installed SuperSU 2.65 with TWRP

7: Didn't find option to pick up a phone call with Home button and end call with Power button? Fixed - Found it on Button menu.

8: I will stay on this ROM!!!!
[Galaxy S 4 i9505 Android Development] Synergy510:
I really don't know why the sensors aren't working with the newer kernels. I'll have another test up in a sec, so can you try to see if sensors work for this?

Also, to get this straight:

1/11 has working sensors, but you just modified the flash barrier.

Newer kernels allow the flash, but sensors are broken.

1. I'm glad this is working for most people now.

2. If you're referring to the "Slow charging" in the lock screen, you can ignore that, it's not accurate. If your phone is taking hours to charge, then I'll have to look more into this. Other people have reported this behavior as well, but I don't know why it's occurring.

3. It may be MM in general, but I feel that my cm13 kernels are cleaner and should have better performance in the regular UI.

4. What phone model and carrier are you using?

5. I took out LockClock, so that's why it probably isn't showing up.

6. Going forward, enable the native root in Developer Options so you can use AdAway

8. I'm glad you're enjoying it!
[Galaxy S 4 i9505 Android Development] Creeper36:
You are 100% correct on the sensors/flash barriers... the last build 02-28 did flash perfectly but did not have sensors.. I flashed it clean and as perfect as possible.. I am standing by for testing.
[Galaxy S 4 i9505 Android Development] Synergy510:
Test kernels

Hey guys,

I know with my last kernel rebase I took away some features some of you enjoyed. So I brought back some, and a little more, for those of you who who really like my kernel. I also decided to add a kernel that OC'd by default because I was inspired by my S7 Edge to match all the clock speeds, and now my S4 performs right behind my S7E! Of course, use the OC kernel at your own risk since it is CPU OC'd to 2.1 GHz and GPU OC'd to 600 MHz.

Common changes:

Merge CAF 3.4.110

Update FSync

Add CPUFreq limiter, nothing user facing here, so you probably won't see this

CPU Voltage tables! 600mV-1450mV

OC Kernel only

Added CPU clock freqs: 1944MHz, 1998MHz, 2052MHz, and 2106MHz

Changed GPU clock freqs to: 128MHz, 200MHz, 360MHz, and 600MHz

Disabled Adaptive Low Memory Killer

Disabled Intelli-plug, enabled MPDecision

Tuned Interactive

SynergyCM13-jflte-kernel-20160302-stock.zip

SynergyCM13-jflte-kernel-20160302-OC.zip ((Make nandroids!!!))
[Galaxy S 4 i9505 Android Development] Synergy510:
Okay, I think I saw the problem. My fix included support for the S975L, whereas I changed to the official fix that only includes the S975. I have a feeling if I add the "L" sensors should work for you. But I'm at work and I have to build another kernel again.

Can you also help me verify that only the S975L exists and there is no "S975" variant. That way I can try getting this into official CM.
[Galaxy S 4 i9505 Android Development] Creeper36:
It is listed on my phone and all paperwork as 'SM-S975L' and 'jfltetfnatt' .... there is NO 'S975' only.

Looking forward to test this kernel this evening.. I'm so excited to get this going.

EDIT: https://github.com/xsynergy510x/and...mmit/c59108429f7700c3784b698afd33f42b02b71c37

If you need me to take it a step further and provide you with 'cmdline.txt' and 'build.prop' that can be done. http://xdaforums.com/showpost.php?p=64806031&postcount=135

EDIT:
[Galaxy S 4 i9505 Android Development] Dionizas:
I'm glad for your answer.

My phone is GT-i9505. If I understand correctly "4G" it is the same as "LTE"

I hope it will be possible to see weather option later :)

Also found that "Hotspot" option disappears from "Tiles" menu

Thanks
[Galaxy S 4 i9505 Android Development] Synergy510:
I was referring to a commit inside the kernel, so it's currently hard coded to "SM_S975" and not "SM_S975L". 3/2 will definitely not work, 3/3+ should once I make a build tonight.

CM commit: https://github.com/xsynergy510x/and...mmit/3d0c97d053d38c8ab1d09f58687b278391c0393e

My commit: https://github.com/xsynergy510x/and...mmit/e1fad9b990beb2cbb68da76eb3e0b8bcac1f3701
[Galaxy S 4 i9505 Android Development] Creeper36:
I should also point out that SGH-S970 should be listed as SGH-S970G... its the jfltetftmo variant thats also really close to mine. Its official listed by Samsung as Samsung Galaxy S 4 (Straight Talk, SGH-S970G)
[Galaxy S 4 i9505 Android Development] dgk823:
Thank you wonderful developer. You've resurrected my wife's ancient Galaxy S4. We got her the S4 on clearance at Walmart, and I couldn't loathe the bloated adware preinstalled garbage on her newly booted phone. Running a Pure, Stock Marshmallow version of Android gave this phone a new lease on life. Thank you!!!

Bug report

: WiFi Calling doesn't work. I know the ROM is in beta, but want to share the bug. Clean installed 02-28 ROM, with mini open gapps. Did not flash SuperSU. WiFi calling doesn't appear in Settings. However using the search function, WiFi calling appears. Turning it on does not enable this feature though. Leaving the Wifi Calling settings screen and immediately returning shows WiFi calling is turned off again. Could be a CM issue? The S4 is on T-Mobile USA Network.
[Galaxy S 4 i9505 Android Development] Synergy510:
WiFi Calling does not work. Someone from CM has teased the feature, but that was a month or so ago, and I don't know when it will come into the upstream. Not only that, but someone would have to create a HAL for that for the S4, which I don't think would happen anytime soon.
[Galaxy S 4 i9505 Android Development] Synergy510:
Test kernels with S970G and S975L support

I modified the support for the S970G and S975L with this commit: https://github.com/xsynergy510x/and...mmit/c2dd9a6a9ecbc47609bea141155824a9a4547e91

There's no reason to flash this if you already are on 3/2 and aren't using these variants. If you're not on 3/2 yet, go ahead and flash this instead.

SynergyCM13-jflte-kernel-20160303.zip

SynergyCM13-jflte-kernel-20160303-OC.zip
[Galaxy S 4 i9505 Android Development] Creeper36:
I am here to CONFIRM that EVERYTHING is CORRECT now. Flash barrier is correct on both ROM and Kernel. Sensors are working perfect for the SM-S975L when the Kernel is also flashed after the ROM !! Great!

Its flashed in this order: Synergy ROM 02/28/2016 + Synergy Kernel 03/03/2016 + Open GApps 6.0 Arm Nano + SuperSU 2.67

If someone with a SGH-S970G can confirm that would be great. App is called Sensor Test by AmtoWorker from Play Store. Orientation sensor will not function but that's OK.
[Galaxy S 4 i9505 Android Development] Vlackrs:
thanks for kernel update.
[Galaxy S 4 i9505 Android Development] Creeper36:
This ROM is very stable.. very solid build.. no Force-Closes or Reboots.. everything is as smooth as it could be.

Only problem is a known issue and thats Bluetooth Phone not placing calls and Hangs/Freezes.. I know its still an issue and I'm not complaining.. I DO NOT get 'Bluetooth Share has an error' and freezes or force-closes.. which is extremely good! I do own a bluetooth phone earpiece just for testing purposes but I do not use one in my daily life at all.. It does play bluetooth music through my stereo which I do enjoy.

Again, THIS IS NOT A COMPLAINT.. Its a known problem that I am sharing with everyone else.
[Galaxy S 4 i9505 Android Development] Alecsandru90:
how about fast-charging? any plans? , thank you for your work
[Galaxy S 4 i9505 Android Development] Aurelius99:
Great! Sensors working which means the screen rotates properly, the dialer functions as it should, google maps works, and so on. I was on the verge of shelling out mucho dinero for an unlocked S7. Now I don't have to! Thanks Synergy510, you're the man!

---------- Post added at 07:52 PM ---------- Previous post was at 07:06 PM ----------

Thanks Creeper36 for all your work on the S975L. It's still a great phone. Even if I do get a new one, I am staying with Straight Talk. Same networks as the major carriers at half the cost and no contracts.

As far as I know, Synergy510 has provided, via his kernel, the only properly functioning Marshmallow rom available for the S975L. Using your install guide was very helpful and led us to it. Fantastic!
[Galaxy S 4 i9505 Android Development] Vlackrs:
I am crashing with OC kernels only. Is there something to fix it?

I really want to try the OC kernel =D.
[Galaxy S 4 i9505 Android Development] Creeper36:
I have tried both kernels (stock and OC) on both the S975L and M919 and found they both work great.
[Galaxy S 4 i9505 Android Development] Vlackrs:
Stock is working fine as normal, the OC kernels are giving me problems to boot up and if this boot, everything throw errors.

i337m here.
[Galaxy S 4 i9505 Android Development] Creeper36:
Did you all follow Post #526 ? I first formatted my external sd card.. I then downloaded all the files using my phone.. .No PC to phone connections/transfers.. I did a CLEAN INSTALL with only the files listed in that post.. Wipe Everything.. Both stock kernel and OC kernel are working great. Not one single error, freeze, or reboot.
[Galaxy S 4 i9505 Android Development] Alecsandru90:
due different cpu binning versions some will achieve 2,1 + Ghz speeds , some will not
[Galaxy S 4 i9505 Android Development] masterlo3:
OC kernel doen't work!!! it doesn't boot...
[Galaxy S 4 i9505 Android Development] Alecsandru90:
let's hope he wants to update that kernel with the latest upstream patches for cm 13 and other goodies
[Galaxy S 4 i9505 Android Development] eongab:
no problem with OC kernel here. everything is running smooth as butter.
[Galaxy S 4 i9505 Android Development] masterlo3:
On i9505??? Cause I went as far as flashing that oc kernel on official cm13, aicp and crdroid... Didn't boot on any... Clean flash on synergy ROM itself didn't boot up
[Galaxy S 4 i9505 Android Development] tomurbanowicz:
problem with WiFi

I read, that with Synergy kernel is not dropping WiFi. I tried that kernel, but problem with WiFi is existing, especially when I send files to phone via FTP (WiFi) - often disconnecting. There is no that problem with Stock (LL), Euphoria (LL).
[Galaxy S 4 i9505 Android Development] Creeper36:
.

[MENTION=4829924]Synergy510[/MENTION] I just got contacted by a user with a SGH-S970G.. they said the newest kernel 03-03-2016 wouldn't install.. I received their log and it showed the flash barrier as 'jfltetftmo' .. I corrected this to 'jfltetfntmo' temporarily and they flashed it successfully. Synergy ROM dated 02-28 is CORRECT but I think future releases may be incorrect.

FOR ANYONE WITH SGH-S970G: the Fixed Kernel with working sensors dated 03-03-2016 is found [HERE]

SO to Recap: SGH-S970G is 'jfltetfntmo' .. we need to add an 'N' in the future kernel and ROM releases.

SGH-S970G USERS ERROR LOG:

script aborted: This package is for device: jflte,jfltexx,i9505,GT-I9505,jgedlte,i9505g,GT-l9505G,jflteaio,jfltevzw,jfltespr,jflterefreshspr,jfltetmo,jfltetftmo,jfltecri,jfltecsp,jflteatt,jfltetfnatt,jfltecan,jflteusc,jfltezm; this device is jfltetfntmo.

.
[Galaxy S 4 i9505 Android Development] Dionizas:
After some days of usage:

1: Wifi drop is very very minimal, I use: XXUHOL3 modem and bootloader and I'm using Kernel SynergyCM13-jflte-kernel-20160302

2: Weather panel is working now, Thanks Synergy510

3: Tried using OC kernels (20160302 and 20160303 builds), sometimes getting black screen, that's why using STOCK kernel

4: Phone is a little bit laggy, not as fast as 5.1.1

5: Slow charging

6: Very low battery consumption if disable WIFI - I think this is because WIFI signal is bad and everytime phone reconnecting... (see attached image)

7: Network operators->Available networks - "Error while searching for networks" - everything is working but can't find any other operators, strange....

8: Best ROM, thanks Synergy510
[Galaxy S 4 i9505 Android Development] MarkerBean:
I have a question. I got a violet messaging app icon. How do i make it blue? I do not want to install messenger by google.
[Galaxy S 4 i9505 Android Development] mcschweg:
Tested with OC-Kernel on i9505.

I can confirm, i also have a BT 4.0 connection problem with my xiaomi miband 1s as in all the CM13 based Roms with different Kernels. Only CM13 is working for me.

Symptoms: The BT icon is grea and there is no way, the Xiomy-software MiFit will connect to the band, as it does perfectly in orig. CM13.

It is really a shame, because everything else is working like a charm including WiFi without dropping in deep sleep. I am on uhpa1 BL and Radio.

The BT bug is the reason, why I have to return to cm13 for now.

I did not overclock but simply ran Antutu 3D and normal benchmark. The Score is above 3,500, approx. the same as in orig. CM13.
[Galaxy S 4 i9505 Android Development] side:
now its not broken :)
[Galaxy S 4 i9505 Android Development] Synergy510:
Thank you for reporting that.

Should be fixed going forward: https://github.com/xsynergy510x/android_build/commit/028ae2e9056c7ae8918103ace90c9a7cd80d2938

Does it work on the non-OC kernel? Just trying to catch any possible issues. Also, have you ever ran my ROM and has bluetooth work? Trying to see if there was a specific change that broke this for you.

Hey! Thank you guys for all your hard work, I didn't mean for this to sound like your commits don't work, they just don't work for me. If you've gotten Bluetooth to work on CM-based ROMs, that's even better! You guys work so hard and deserve all the praise for our device :good:
[Galaxy S 4 i9505 Android Development] Dionizas:
Slow charging.

From 22% to 39% - 1 hour (original samsung S6 charger) :/ any ideas please?
[Galaxy S 4 i9505 Android Development] side:
hahaha its ok dude :) i didnt accept that bad-mannered :) i just had to report that we fixed it.prepare ur cherrypick.hehehehe

PS.

Check ur inbox

---------- Post added at 09:04 PM ---------- Previous post was at 08:56 PM ----------

also those 2 issues fixed.check our github
[Galaxy S 4 i9505 Android Development] Z-Blade:
[MENTION=4829924]Synergy510[/MENTION] I went from CM13 to Mokee to your rom and you have definitely won me over. What made your rom stand out from the crowd is your CM13 OC kernel. I read that there are some people who are having issues with your OC kernel but it is working flawlessly on my S4, I was even able to have it run stable with a -75mV undervolt. Due to the OCing, your ROM is the fastest rom I have ever had running on my S4 and due to the undervolting, the battery life is rather impressive when running this old phone on 2.1GHz CPU and 600MHz on the GPU.

Well done mate. :good:
[Galaxy S 4 i9505 Android Development] masterlo3:
I know how to flash a kernel ie flash zip then wipe cache and dalvik/art cache reboot. How exactly did you install the oc kernel ? Cause I've been getting crashes on boot making the device fail to boot.
[Galaxy S 4 i9505 Android Development] strive53:
[MENTION=4829924]Synergy510[/MENTION] is possible to default the oc kernel to stock frequencies? That way users can find their own phones oc sweet spot. I know for a fact my phone can't b maxed out...but I can over clock to 2052 and it b stable.
[Galaxy S 4 i9505 Android Development] cawa5:
I can not access the external memory
[Galaxy S 4 i9505 Android Development] masterlo3:
can someone please tell me why the oc kernel wont boot for me?
[Galaxy S 4 i9505 Android Development] deskjet390:
As you know i have the JFLTELRA or the I545L and was not getting any sound. I see there are special libs and things in seperate folders sorted by device in the ROM zip file.

My phone is closest to the i545 from verizon so i am going to point the installer script to the vzw folder by putting an "L" on the end of the code where it says I545 and hopefully the files needed get flashed for sound to work properly. I will let you know what happens!!
[Galaxy S 4 i9505 Android Development] Jeffie1970:
Just installed this, reboot and got stuck in a boot loop...SGH-I337m Using the latest gsm rom...really hope there is a quick fix that I haven't found going back 3 pages....Thanks for any help.
[Galaxy S 4 i9505 Android Development] kxymm:
The kernel has best battery/performance with synergy rom or cm13 rom?
[Galaxy S 4 i9505 Android Development] Z-Blade:
Nothing out of the norm.

Flash ROM

Flash OC Kernel

Flash GApps

Clear Cache

However, not all S4 are the same. Since the OC kernal defaults at 2.1GHz for the CPU and 600MHz for GPU, this may cause problems for those who has issues going above 2.0GHz and 540Mhz.
[Galaxy S 4 i9505 Android Development] Dionizas:
Hello,

Any ideas, suggestions about faster charging? This is genuine S6 charger.

Thanks
[Galaxy S 4 i9505 Android Development] masterlo3:
maybe it's the high cpu clock thats the problem.. my device is i9505
[Galaxy S 4 i9505 Android Development] kekate:
Make sure that you use S6 charger adapter and S6 cable. I get 1500mA with Z1 charger and adapter. 900mA with random cable etc
[Galaxy S 4 i9505 Android Development] Dionizas:
Yes it is S6 charger and S6 cable and both is original :-/
[Galaxy S 4 i9505 Android Development] carlusmagnus:
Hi

which tweaks I should use to setting kernel? I flashed it but there is not any tweaks on drawer.
[Galaxy S 4 i9505 Android Development] kekate:
Try other charger adapter and cable also use galaxy charging current from Play store its the most accurate