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

New test build aimed at stability. Reverted back to GCC4.8 for now because I can't pinpoint what is causing errors with SMS/Data with some people. I also believe I've found the reason for major lags/freezes with heavy loads. To optimize builds even further you can specify the size of your device's cache sizes.

https://github.com/xsynergy510x/and...mmit/2103233f7ade087c620a0ce4859a07afe4234d16

https://github.com/xsynergy510x/and...mmit/57e4c668e4e495394c6302773ca21b0683f81161

I think I had gotten this wrong in the beginning and assumed we had 32KB of L1 cache instead of the 16KB we actually have, so the optimizations assumed we had more cache than we actually do causing some starvation of memory or some sort. I don't know the entire details of it, but I've been trying to stress my phone and I haven't encountered any major lags.

ROM:

Built with SaberMod GCC4.8 8/1/2015 Toolchain

Optimization tweaks

Things not listed in last test build, but are included in both:

Optimized ART

Sped up animations

Sync up with CM Up until Aug 8 @ 5 PM PST

Fix 2G Mobile Data

Kernel:

Re-enabled some optimizations I thought were causing the lags but weren't

Small sync up with CM

Keep trying to stress the phone out like I am, play music, switch between apps, open tons of Chrome windows. I've been doing this for a while and found no major lags except when the app such as Google Plus is still downloading content.

If this build goes well then we're looking at a good final build before my month long vacation to be released on Tuesday or Wednesday of this week :fingers-crossed:

SaberModCM12.1-20150808-jflte-test.zip No standalone kernel this time, the kernel has always been included in the ROM so there is no need to flash the kernel when I link that also
[Galaxy S 4 i9505 Android Development] ezinex:
Hi.

I've been using build 20150805 (base) with the GCC 5.2 kernel (20150805) for my i9505 without any issues. I receive and send SMS without problem's. I have even blocked some wrong SMS received from unknown user's :)

Yesterday I installed xposed and the phone hasn't had problem's with the modules I'm using.

The ROM is rock solid and will be using it with this setup to report it's performance.

Thanks for the great work, Sinergy.
[Galaxy S 4 i9505 Android Development] eongab:
flashed the latest test build and so far so good. no freezes. will observe the whole day.
[Galaxy S 4 i9505 Android Development] droidblitz:
Can someone post a screenshot of the SELinux Status in about phone... Thanks :D
[Galaxy S 4 i9505 Android Development] cp.:
this?
[Galaxy S 4 i9505 Android Development] droidblitz:
Im using xmodgames app, and it wont work with Enforcing SELinux Status. How can i change it to Permissive?
[Galaxy S 4 i9505 Android Development] eongab:
use SeLinuxMode Changer. just google for the apk.
[Galaxy S 4 i9505 Android Development] Synergy510:
Build August 12, 2015

I am on vacation now, this is the last build until mid to late September

Many last minute changes and fixes were put into this up and until last night trying to get everything to work. I'm leaving the US for about a month, so no development will come from me until mid to late September. I may or may not pop into the thread every now and then and answer some questions. I'd say that this build is very solid and a clean flash is a must for the best experience.

Changes since the July 22nd build:

ROM:

Built with SaberMod GCC4.8 Toolchain build 8/1/2015

Built with strict aliasing optimizations

Slightly Optimized ART

Improved bootanimation

Sped up system animations, also included 0.75x and 0.25x animation times

Powersaving/Balanced/Performance battery profiles will change intelli-plug and other kernel parameters accordingly

fstrim and sqlite3 vaccuum and re-indexing services will activate upon each boot

TRIM only works on EXT4 partitions, F2FS automatically trims.

You can run each service manually using the terminal with root permissions and run "boot_trim" or boot_sqlite3"

Logs for what each service does can be found in /data/local/logs

Sync up with CM upstream up and until August 12 @ 9:00AM PST

Kernel:

Built with SaberMod GCC5.2 toolchain build 8/4/2015 Optimized for cortex-A15 devices

Removed Dynamic/Asynchronous Fsync

Removed CPU/GPU OC, didn't work well and caused excess heat

Improved Low Memory Killer

Changed SmartMax governor parameters to be more powersaving

Enabled Hybla TCP congestion algorithm

Ramdisk updates:

Run boot_trim and boot_sqlite3 on every boot

Disable CPU boost for more power savings, can be re-enabled through a kernel tweaker

SaberModCM12.1-20150812-jflte.zip

SaberModCM12.1-Kernel-jflte-20150812.zip
[Galaxy S 4 i9505 Android Development] a103:
Thank you for the build and enjoy your vacation mate. I'm sure users will help each other till the time you come back. Enjoy!!!
[Galaxy S 4 i9505 Android Development] Annunneo:
Yea enjoy your vacation man you certainly deserve just please be safe and come back to us. I'm running the test build and I can say it's rock solid, no freezes glitches or anything. Im not even going to rush and update. All the best and see you soon.
[Galaxy S 4 i9505 Android Development] saham424:
I'm going to try a dirty flash and I well report back later
[Galaxy S 4 i9505 Android Development] zakurun:
Xposed

Downloaded and tried it everything's fine until i installed Xposed and its not working....
[Galaxy S 4 i9505 Android Development] der_Kief:
- Sped up system animations, also included 0.75x and 0.25x animation times

where to find this settings ? Usually they are in developer settings but they arent there.
[Galaxy S 4 i9505 Android Development] ImChoey:
:confused:

any feedback (s) about the latest build?
[Galaxy S 4 i9505 Android Development] Annunneo:
I haven't flashed it yet.
[Galaxy S 4 i9505 Android Development] ImChoey:
:)

me too, still waiting for others to post their feedbacks / opinions about the latest build.
[Galaxy S 4 i9505 Android Development] eongab:
i have experienced freezes with the latest build. clean install. 2x already today. will observe for another few days.
[Galaxy S 4 i9505 Android Development] tricki:
So have I. It happens under strong memory usage - e.g. when I open the FB-app and switch back and forth to Chrome, scrolling some pages.

Installling Alucads kernel cures this problem and the ROM runs without problems.
[Galaxy S 4 i9505 Android Development] saham424:
yah also running snap chat makes my phone heat up
[Galaxy S 4 i9505 Android Development] noskojv:
:good:
[Galaxy S 4 i9505 Android Development] TheLegend90:
So 7/9 build vs most recent. Who wins?
[Galaxy S 4 i9505 Android Development] Synergy510:
It should be there in developer settings. I see both .25 and .75 options

[MENTION=554009]tricki[/MENTION] is correct, a change in kernel would make everything stable. The kernels I've been providing have always been questionable. If the July 9th build has been stable, then it leaves me to believes the cache optimizations I've been trying to fix are the cause of all our problems. I'll remove them once I'm back, but for now another kernel would make everything stable.

As I said above, all the ROMs I provide are stable, but the stock kernel is the cause of instability under a lot of load.
[Galaxy S 4 i9505 Android Development] noskojv:
It is necessary to improve the translation , not all languages have these items (in Russian they are not).
[Galaxy S 4 i9505 Android Development] cantenna:
Hope all is well!, just wondering if stagefright bug fix has been merged yet into this rom.
[Galaxy S 4 i9505 Android Development] Synergy510:
The patches for the initial stage fright bugs are included, however a new vulnerability has been found and patched the day after my flight, those new patched are not included.
[Galaxy S 4 i9505 Android Development] Bodenseematze:
I have another annoying problem with the ROM.

The wifi always switches off when the device's screen is switched off.

Has it something to do with the sleep mode?

Though I set "WiFi always on in sleep mode" in the extended WiFi settings..

Any ideas to keep the WiFi always on?
[Galaxy S 4 i9505 Android Development] Triscuit:
Does it happen everytime? I'm not on this rom but it happens to me every now and then.
[Galaxy S 4 i9505 Android Development] Bodenseematze:
Yes, it happens everytime.

But not immediately after switching off the screen, it takes some time until the wifi switches off.

I'm not sure how long it takes exactly - at least a few minutes (maybe until the device switches to sleep mode?)

The Wifi problem is only a small problem, much worse is the bluetooth problem - but it seems, nobody else has similar problems :(
[Galaxy S 4 i9505 Android Development] marko958:
I do have the same problem and would be happy about a solution. [emoji1]

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Android Development] ezinex:
I've been using the SaberModCM12.1-Kernel-jflte-20150805-test-gcc5.2 and the ROM base of the same date. I use my Bluetooth headphones for almost 6 hours a day and haven't had issues. With WiFi neither. Have you had a chance to give it a try?
[Galaxy S 4 i9505 Android Development] Synergy510:
I've never faced the problem you've had with toggling airplane mode. I'm trying it on the latest test build and bluetooth doesn't seem to break. However, there are many problems with trying to connect to cars via bluetooth. One commit in the upstream regarding bluetooth tries to address this, but for me it totally broke Bluetooth share every time I tried to start it up, so I have reverted it and everything seems okay, for the moment.

During my vacation I also got the WiFi going off while the phone was locked. I reverted some WiFi related kernel commits and I haven't seen WiFi act strange as of yet. I've been running a number of test builds for the past week and haven't ran into any problem. I reverted a Bluetooth commit in the CM upstream that tries to help with pairing with cars, but it only broke our Bluetooth, but I'm testing if this commit was the culprit.
[Galaxy S 4 i9505 Android Development] der_Kief:
new (Test) build is working without any issues so far. Did a clean install.

Keep up the good work
[Galaxy S 4 i9505 Android Development] eongab:
using the latest test build for 3 hours. so far so good.
[Galaxy S 4 i9505 Android Development] Bodenseematze:
I also updated my German i9505 device to the latest test build.

This time without Alucard kernel - just the SaberMod build as is... (but with GApps and xposed framework flashing afterwards and with reenabling SuperSU and BusyBox Free)

But I still have (nearly) the same issues as with the last release build - bluetooth as well as wifi.. :(

When I try to switch on bluetooth after switching from airplane mode to "normal mode" most of the time the bluetooth part crashes.

The difference to the earlier build is that the settings itself don't crash.

I added the logs to this post.

One is where the switch works (directly after a reboot) - and one where it crashes.
[MENTION=4829924]Synergy510[/MENTION] do the logs help for finding the problem or are they useless?

I didn't perform deeper tests (e.g. in my car), so I can't say if the bluetooth itself works after it has been successfully switched on - but I will do it!

Regarding the wifi: I also didn't perfom deeper tests here - I just saw that the wifi symbol was'nt there when I switched on my device after a longer sleep period - so I assume that the wifi still switches off when the device goes to sleep mode.

But I'm not absolutely sure and will give you feedback after some more tests...
[Galaxy S 4 i9505 Android Development] Synergy510:
Try it again without Xposed, SuperSU or Busybox, with GApps is okay. I'm not seeing anything here and I keep switching airplane mode on and off and my WiFi and Bluetooth are fine. However, there are bluetooth issues present, so that may affect the outcome of your tests.

Can you tell me the steps to what you're doing? Like do you toggle the airplane mode switch immediately? Or do you let airplane mode "settle" then toggle it again, that's what I've been doing, and my WiFi reconnects with no issue and my Bluetooth turns on (wasn't already broken)

Things that may happen with Bluetooth if you receive a "Bluetooth share has stopped": From my observations, I see that if WiFi is enabled, keep it on and do a reboot. Once you're back up, turn off Bluetooth if you see its enabled, because it may crash again if you leave it on. From here I'm unsure what circumstances would make it FC again, but if you turn off WiFi before enabling Bluetooth, it seems to be a bit more stable. I just recently finished kernel testing, regarding the lags and stuff and I want to look into bluetooth next.
[Galaxy S 4 i9505 Android Development] droidblitz:
Im willing to test this. Since i use my phone heavily. Will report. Back tomorrow.
[Galaxy S 4 i9505 Android Development] TheLegend90:
The test build feels very snappy. Everything loads extremely fast. When I was setting up my device for the first time I had too many programs open and the phone completely froze and restarted. Didn't get a log but I'll try and get one next time. The new ambient display is pretty sweet I must say. Gonna try out BT now and see if I go without getting an FC

Edit: Forgot to mention that it was Snapchat that caused the freeze
[Galaxy S 4 i9505 Android Development] Synergy510:
Here's a kernel without the LMK RB Tree commit I was talking about, and also Intelliactive is enabled:

SaberModCM12.1-Kernel-jflte-20150913.zip

If anyone else has had problems/lags, try this kernel.

Edit: Yes, Snapchat is a big memory/resource hog

Also I actually encourage everyone to use this kernel because the LMK RB Tree commit is actually incomplete. I've incorporated the full set of commits for the RB Tree in a later test build and everything is going very well.
[Galaxy S 4 i9505 Android Development] TheLegend90:
I did get a weird BT issue. BT sharing didn't FC but the audio stopped playing through my headphones and played through the phone speaker. For whatever reason I can no longer get log cats after upgrading to windows 10.

Edit: Well I feel stupid I didn't know there was an app to do this lol. I've been doing it the old school way through the computer with the USB cable. Trying to reproduce the error now with the log. Also Synergy, what log level would be best for you?
[Galaxy S 4 i9505 Android Development] Tctien342:
can you add d2w or s2w feature ? :))
[Galaxy S 4 i9505 Android Development] Synergy510:
I connect my phone to my PC for logcat because it's easier to view, but any way that's best for you also works.

No, our hardware doesn't support it. It's been done before in the past, but it involved wakelocks with keeping the touchscreen on and draining battery. If you don't want to use the hardware buttons to wake up your phone, look into the Gestures menu where you can wave your hand to wake the phone. I use that all the time so I don't wear out my buttons.
[Galaxy S 4 i9505 Android Development] TheLegend90:
Ran the test build all of today without a single issue. Only problem is the battery isn't as good as previous builds. I'm having to charge before bed which I never usually do on the older builds.
[Galaxy S 4 i9505 Android Development] Terr20114:
How long do you guys get with your battery life? I can only get a few hours. I charge my phone like 3-4 times a day. Thinking about getting am extended 7000mah battery
[Galaxy S 4 i9505 Android Development] TheLegend90:
Usually around 4 hours screen time on Saber. I haven't been able to go multiple days though usually I make it till bed then charge over night
[Galaxy S 4 i9505 Android Development] Terr20114:
Okay, wow. I get less than 2 hours sometimes. What's your usage like?

I use data constantly wcdma

Spotify every now n then

Whatsapp...

N I dunno a few other lil apps.

Got greenify running with all apps greenified.
[Galaxy S 4 i9505 Android Development] TheLegend90:
I'm almost always on wi-fi. I pretty much use Chrome, Pandora, Facebook, and some pharmacy apps. I got my S4 in November of 2013 so maybe I just have a fresher battery? I don't greenify and I run the stock kernel with whatever governor is on by default. Not sure why your battery drains so much faster...
[Galaxy S 4 i9505 Android Development] Terr20114:
That's pretty awesome. I'm using a touchwiz rom though. When I use custom roms my microphone is too low so I try to use touchwiz. S6 rom n made it look as close to stock as possible, (okay waay off topic) I'm thinking my battery's just bad. I need a new one.
[Galaxy S 4 i9505 Android Development] Bodenseematze:
Now I did some more testing with the test build (without the new kernel).

Wifi related I can give the all-clear - everything is working and it does not switch it off when in sleep mode. :)

So everything is fine here! :good:

But Bluetooth is not usable at all for me. :confused:

Either it directly crashes when I try to switch it on or it seems to work at first place (e.g. after fresh reboot) - but when I try to use it it crashes.

In that situation I've been able to connect to the car and the car shows me the radio strength and the battery indicator of the phone.

I'm also able to search through my contacts.

But when I try to dial a number or when an incoming call is coming, the bluetooth connection crashes.

BTW, bluetooth worked without problems in the build from 2015-07-09 - it stopped working in the version from 2015-08-12 (though I did not test the version from 2015-07-22 - so maybe it would also be broken in that version...)

I switch to airplane mode (via power button menu - if that matters) every evening when I'm coming home from work (because I don't have any GSM/LTE etc. strength for my provider at home).

I also switch on Wifi in airplane mode.

At next morning just before leaving the house I switch off the airplane mode (again via power button menu) and wait a few seconds until it seems to be stable - most of the time bluetooth is then switched off.

So I try to switch it on - either via settings menu or via the shortcut menu

And most of the time this doesn't work (see the log files in my last post).
[Galaxy S 4 i9505 Android Development] luistro:
how to call recording
[Galaxy S 4 i9505 Android Development] dclarkg:
Hey no worries, I was just reporting the bug as an FYI rather than asking for a fix right now, nevertheless I appreciate the time to answer and keep the problem in mind. Other than that the ROM feels very smooth on ART.
[Galaxy S 4 i9505 Android Development] dclarkg:
I installed another ROM to check and the card was detected fine, I tried another ROM but with linaro+justarch and I got exactly the same issue. Just a FYI for you to know more or less where the issue is.
[Galaxy S 4 i9505 Android Development] emanuele.palmiero:
I tried the ROM, at the beginning I had the problem with the touch buttons at the bottom that lit up but did not go, I also tried to write a message and I did not like the keyboard. So I went to the settings and I discovered that I had no keyboard installed (which I do in the previous version I was using the keyboard apk LG G3) .. I have reinstalled the keyboard LG G3 and I had a hard time since I do not know why gave me the keyboard by default, so I reinstalled two or three times now and all is well.

However I do not understand what is Synapse, since STweaks includes all the features of Synapse exactly (I think).

I have no error report apparte these early teething problems and that Whatsapp occasionally asks me to set the date and time, automatic even though I already have active.

The Roma should be really good, however, is extremely fluid and battery with Alucard Kernel set to Extreme Battery lasts me very much, with about three and a half hours of screen. :)

I used Google translate.

Emanuele
[Galaxy S 4 i9505 Android Development] scottyf79:
TB parse error when trying to restore apps. i'll try again when ive got more time to play around.... ultra smooth from my 5 minutes setting up. i wanna get on this rom and give it a good run.:good:

Edit: got tb to play nice by going into the menu options and rescanning for the backup folder, selecting the folder again, exiting then rebooting the phone.

Where's the network type options? Ie LTE/3G etc. Can't find them lol

Edit! Its OK I got it
[Galaxy S 4 i9505 Android Development] noskojv:
Share a link to 09/04/2014 Final M9 based build.
[Galaxy S 4 i9505 Android Development] scottyf79:
really nice rom.

battery seems to be holding up well, its buttery smooth, clean, simple and pretty much perfect for how i use my phone.

nice job :highfive:
[Galaxy S 4 i9505 Android Development] Me Gusta:
[MENTION=4829924]Synergy510[/MENTION] the ROM is just perfect! Has everything I need! But just one question.. How do I disable glovemode? My screen is unlocking in my pocket a few times a day, which is quite annoying.. I've found my phone sending texts and more, which can't be right :P thanks in advance! Keep up the good work :)

Me Gusta!
[Galaxy S 4 i9505 Android Development] Me Gusta:
Nvm, got it!

Me Gusta!
[Galaxy S 4 i9505 Android Development] angelcalibur:
ART is working with this rom?

cause like CM official rom, it's not supported.
[Galaxy S 4 i9505 Android Development] Synergy510:
You can use ART just like on regular CM. I wouldn't say it's not supported, but it's an experimental feature that might break certain apps. I've never had any problems using it though
[Galaxy S 4 i9505 Android Development] noskojv:
Synergy510 , please share a link to 09/04/2014 Final M9 based build
[Galaxy S 4 i9505 Android Development] angelcalibur:
Thx you!

i have tryed and it work fine!

Th only thing who doesn't work is with slim gapps, the real dark slim mod. some apps are black but i have some problems with other...

so i had to used pa gapps...
[Galaxy S 4 i9505 Android Development] Synergy510:
OptimizedCM11-20140904-jflte.zip - 223.97 MB
[Galaxy S 4 i9505 Android Development] angelcalibur:
sorry if i didn't see the link but can you insert the link for gapps in your first post ?
[Galaxy S 4 i9505 Android Development] Synergy510:
There is no link, use your favorite GApps package. I prefer PA pico GApps after BaNkS stopped providing a minimal package
[Galaxy S 4 i9505 Android Development] Synergy510:
I've included links to older builds in the OP, if any of you are still into stuff like that. I'll continue to move builds to this list when a newer one comes out. Let me know if any of the links go dead because dev-host delete files that have not been accessed for about a month
[Galaxy S 4 i9505 Android Development] XBlackChaosX:
Any chances you will make versions of other roms with sabermod and justarchi optimizations such as pac-man, etc, etc?
[Galaxy S 4 i9505 Android Development] Synergy510:
Highly unlikely. I like CM and that's why I prefer to build for them. JustArchi's Optimizations have only been tested to work on CM and Omni, according to his thread, so trying to tweak it for each and every other ROM out there would be time consuming. Maintaining more than one ROM and being a full-time student would be too much (I need to graduate college this year ;)).

[MENTION=3306843]kantjer[/MENTION] has SlimSaberKat which has JustArchi + SaberMod, it's a great ROM and inspired my ROM

[MENTION=3479861]darkobas[/MENTION] has Paranoid SaberDroid which only has SaberMod, but is great also

I believe [MENTION=4833385]Evisceration[/MENTION] uses JustArchi in NamelessROM

I may have missed other ones, but go and find out for yourself

If you have a favorite ROM and are willing to learn how to build shoot me a PM and I can try to guide you to make your own JustArchi + SaberMod/Linaro ROM
[Galaxy S 4 i9505 Android Development] a103:
As per the thread there won't be any more updates to the SSK ROM. http://xdaforums.com/showthread.php?p=56170742
[Galaxy S 4 i9505 Android Development] angelcalibur:
Kantjer stop developement ans thats why iam looking for another ROM with sabermod. Can you make a build with slimkat source?
[Galaxy S 4 i9505 Android Development] a103:
Use search.
[Galaxy S 4 i9505 Android Development] luistro:
thankss:silly: