yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] Synergy510:
Final M9 based build!

Hello everyone, thank you to all 70+ of you who tried out the ROM. I'd never thought I'd get this much attention, however some feedback, good and bad are welcome in the thread.

I was checking Github today and it seems that CM has been updating the stable branch for M10's release. I see that there are a LOT of kernel changes, so they may be changing to the newer CAF resources among other resources for the other parts of the ROM, so I thought I'd get out one last build based on M9. With all the big changes coming up I might clean out my Github sources and reapply my commits once M10 is released and everything looks good.

Hope you all enjoy! And remember, please leave feedback!

09/04/2014:

Final M9 based build!

Compiled with SaberMod optimized for Cortex-A15 devices

Increased earpiece volume in calls (Mainly for me because I'm partially deaf)

Changed to an earlier SuperSU apk v2.0.1 (This doesn't really matter much, the SU binary for 2.0+ so far is the same, only the apk has changed)

Updated to latest Alucard kernel. Flashing this will wipe your '/data/.alucard' folder as recommended by Alucard himself, make a backup of your current settings.

Updated ad-blocking hosts file

Small battery improvements
[Galaxy S 4 i9505 Android Development] cantenna:
ROM is for 19505 only
[Galaxy S 4 i9505 Android Development] Synergy510:
This should be a unified build, for all jflte devices, such as in CM11. This ROM is built from my sources, CM11 jflte merged with CM12 updates. Go ahead and try it, make a nandroid just in case. [MENTION=2465635]ahoslc[/MENTION]
[Galaxy S 4 i9505 Android Development] ahoslc:
Really nice rom man maybe put this in unified builds. Booted right up on my S4 VZW., how often do you build?
[Galaxy S 4 i9505 Android Development] Synergy510:
Awesome, I would post in the Unified section, but I don't feel like it gets enough traffic. I try to build on somewhat of a weekly basis, but this next build might be a bit off. Some things in CM are a bit broken right now, especially with the return of the green tint because of the live display.

Also, 5.1 source has been released and CM hasn't made their stance on whether 5.1 stays CM12 or goes to CM12.1, so I'd like to put out a final build if it comes to that.

Hope you enjoy the ROM!
[Galaxy S 4 i9505 Android Development] ahoslc:
What's weird is I have not had that BT bug in any of the other CM12 rom's ive ran. I often hear others talking about it and until now never had it.
[Galaxy S 4 i9505 Android Development] ahoslc:
I spoke a bit to soon I can get calls and text but no data. I show no place to edit my APN, I have it set to Global mode I have toggle airplane off and on and reboot and still no data.

---------- Post added at 10:59 AM ---------- Previous post was at 10:39 AM ----------

Now that I think of it I think I flashed a CM 12 nightly around 3/3 or 3/4 and mobile data was broken hmmm. Amazing Rom guess I will have to wait for next build I know it's been fixed since :)
[Galaxy S 4 i9505 Android Development] Synergy510:
I'm not sure if there are any other vzw users currently, so I can't tell you if its a CM problem or mine. I believe everything should work just as it has in CM11, I've made no changes to the jf devices other than bringing my jf sources up to date, which shouldn't affect functionality.
[Galaxy S 4 i9505 Android Development] ahoslc:
Like I said pretty sure it was a CM bug around that time I had the same issue on a nightly rom. It's been resolved now in the nightly so your next update should fix it for me can't wait !
[Galaxy S 4 i9505 Android Development] Parkourkid93:
I'm on sprint (T) edition & never had an issue with this ROM, so I'm gonna assume it should be very close results with the Verizon version knowing that we have very similar hardware, just a note lol

×Rebel Nation×
[Galaxy S 4 i9505 Android Development] ahoslc:
I am not blaming rom at all it was a CM change right around that time that broke thing for a night for me I have verified clean flashing the rom multiple times.
[Galaxy S 4 i9505 Android Development] Parkourkid93:
Don't worry bro, I wasn't assuming lol, it was more like a heads up

×Rebel Nation×
[Galaxy S 4 i9505 Android Development] Jeffie1970:
New build coming?

Hey, I tried this rom, decent rom...is there a new build coming soon? Was just wondering...looking for a daily runner.

Thank you for all your work.
[Galaxy S 4 i9505 Android Development] Synergy510:
I release builds when I'm happy with them, unfortunately I've had the Play Services SystemUpdateService wakelock among other problems that don't make me satisfied with my builds. Also, I'm a bit busy as of lately, this is my finals week.

I do hope to get something out soon, but March 4th is a very solid build, you can survive til the next release :)
[Galaxy S 4 i9505 Android Development] munichsfinest:
sure we can :) This annoying wakelock is Google's fault, nothing to do with your amazing work :good: using a simple workaround, no wakelock anymore. Just deny some rights for play services and you're good.
[Galaxy S 4 i9505 Android Development] Jeffie1970:
Ty for the response.

Thanks for your reply, and good luck with your finals!
[Galaxy S 4 i9505 Android Development] beeeto:
Hey buddy, I am a Moto G dev who have been following your work for a while. I really like what you are doing here and it seems you are doing the same work as I trying to optimize the builds as far as possible.

Just came around here to say thanks and point you a very interesting project which brings optimizations such as O3, Graphite, Strict-Aliasing and FLoop. I'm sure you will want to take a look at it.

Thanks again and good luck on your finals!

Edit: Forgot their old github, they are merging lp5.1 on their latest repos, here's the old and interesting part.
[Galaxy S 4 i9505 Android Development] Synergy510:
That's awesome to hear, these optimizations really bring the best out of our devices. I see that SaberSunset uses nearly the same base optimizations as I do, so our builds are nearly the same. I was thinking of making a squashed commit of all the optimizations for easy cherry picking. If there's anything you need specifically from me, feel free to ask!
[Galaxy S 4 i9505 Android Development] Bob Squire99:
Battery life

I really like the rom. Everything is fast and stable. The only problem is that the battery life is running out so quickly. I think its because i enabled pocket mode for ambient display. But I dont want to turn it off. Is this a bug or it just me.
[Galaxy S 4 i9505 Android Development] Synergy510:
It's not a bug, that's how it works. Ambient display is a feature that's really only for the nexus 6 thanks to the hardware it has. The ambient display implementation I have in this ROM is a general implementation. It polls the proximity sensor for as long as you have it on, thus using power. This is implemented on a ROM based level, so it's not tuned to be efficient with what our S4, or any other CM capable phone, has. Regardless, it gets the job done pretty well.

But if your phone is draining very fast you may have a problem with a wakelock. You can check this with either Better Battery stats or Wakelock Detector (I use this). You may be suffering from the SystemUpdateService wakelock. I committed a fix for this in the upcoming release and I haven't seen the wakelock since.
[Galaxy S 4 i9505 Android Development] Synergy510:
Build March 21, 2015

Hey guys, new build is up. It's the one I've been waiting for because it includes fixes to all our problems! No more green tint, if you are coming from a ROM with green tint or if you have your sliders set to 50%, set them back up or your screen will be a bit dim, be sure to thank [MENTION=2385005]invisiblek[/MENTION]. The SystemUpdate service wakelock has also been fixed on the CM side. I also updated to the latest SaberMod toolchain and tweaked some of our awesome optimizations. Hope you guys enjoy :D

Changelog:

ROM:

SystemUpdateService wakelock fixed

Added the beginnings of call recording (WORK IN PROGRESS)

Refined strict aliasing optimizations

Sync with CM up until today:

Live Display, a Cf.lumen/flux alternative (No green tint)

Kernel:

Updated graphite and optimization flags

CM Changes: Removed old RGB calibration that was causing green tint

I'm probably forgetting some stuff, but the ROM should be running amazingly smooth. Enjoy!

SaberModCM12-20150321-jflte.zip
[Galaxy S 4 i9505 Android Development] xDroidZz:
great job buddy! really like your work! Keep it up! the wait was worth it!
[Galaxy S 4 i9505 Android Development] noskojv:
great job :good:
[Galaxy S 4 i9505 Android Development] exynoss:
New build is rock stable thanks buddy for your hard work and yes no green tint and no wakelock
[Galaxy S 4 i9505 Android Development] ronron6665:
Downloading now. Can't wait to try.....
[Galaxy S 4 i9505 Android Development] dclarkg:
Just reporting that all fine here, flashed it a couple hours ago and smooth sailing so far, thx synergy! :)
[Galaxy S 4 i9505 Android Development] dclarkg:
I spoke too soon, as soon as I opened the browser it's starts crashing, I tried with another browser and same issue. Tried a dirty flash, same issue. Tried a clean flash and now I have tons of issues and lag. I'll download the file again and try another clean flash.
[Galaxy S 4 i9505 Android Development] Synergy510:
Please do, verify the MD5 of your current file and the new one you download. Let me know your process that lead you to the FCs with the browser, such as the website you tried to open. Chrome is also working for me.

Personally, I use GApps to get rid of the stock browser in my gapps-config.txt, but I re-installed the browser and no FCs appear. I also did a clean flash yesterday to do some benchmarking and I didn't see any lag or issues.
[Galaxy S 4 i9505 Android Development] Jeffie1970:
Nice build.

Ty for the new build...in the next one can you please put a file browser in? I keep my apps/themes in folders on my SD card...and PiA to TWRP a File Manager. Thanks again.
[Galaxy S 4 i9505 Android Development] Synergy510:
For you and for everyone else, to make things easier when you don't want to install another file explorer. These are all flashable files.

CMFileManager-20150321.zip

Also for those of you asking for Trebuchet, here you go.

Trebuchet-20150321.zip

*Edit: These are not my apks, because I don't include these apps I don't even build them in my source, so I didn't have them on hand. These are from [MENTION=5464206]AntaresOne[/MENTION]'s March 21 build, just for the convenience of people who want to use these apps.

Also, here's the latest SaberModCM12 kernel. Hopefully this can fix some green tint for users who don't want to use my ROM. I haven't tested this, so please let me know if this fixes green tint.

SaberModCM12-kernel-jflte-20150322.zip
[Galaxy S 4 i9505 Android Development] dclarkg:
I downloaded the file again and had the same issues on a full clean wipe including internal memory, I tried the stock browser right after first boot and it just closed itslef, it only happened at facebook page eveytime right after entering the username and password. It happend also once downloading the rom while just sitting on android file host page. Also the rom became very very laggy

At first it gave me the fc error but after flashing the second download on a clean wipe the browser closed itself with no fc message. I can't chech the md5's right now but I will.

My flashing order is: clean wipe, rom > lattest GAPPS > super su, wipe cache and boot.

Right now I'm on latest antares build and no issues other than green tint
[Galaxy S 4 i9505 Android Development] dclarkg:
Here is the md5:
[Galaxy S 4 i9505 Android Development] Synergy510:
MD5 checks out, can you send me a logcat if you can
[Galaxy S 4 i9505 Android Development] dclarkg:
Sure, I'll try again tomorrow with a third download on a clean flash, right now I'm on antares LP so I can't reproduce the issue right now
[Galaxy S 4 i9505 Android Development] noskojv:
I added to your firmware item "Autostarts".
[Galaxy S 4 i9505 Android Development] Synergy510:
Is this just an app that manages an app's start up permission? Privacy guard already does that. It's not straightfoward, but it's in Settings > Privacy > Privacy Guard > Settings > Advanced > Swipe all the way to the right and you'll find "Bootup." It does the same thing and shows the apps that actually have the start up permission.
[Galaxy S 4 i9505 Android Development] noskojv:
No it is not an app.

===

Your firmware works fine (SaberModCM12-kernel-jflte-20150322) . :good: ;)
[Galaxy S 4 i9505 Android Development] AntaresOne:
[MENTION=5615286]dclarkg[/MENTION]

Did you push Browser to system/app? When you push it in priv-app may cause weird errors such as FC every time you try to launch

Correct tree is : system/app/Browser/Browser.apk with 0644 permissions for apk

Also check if webview is okay:

system

|-app

|--webview

|---webview.apk (0644 / rw-r--r-- permissions)

|---lib

|----arm

|-----libwebviewchromium.so (0.00 bytes, it's a symlink with 0777 / rwxrwxrwx permissions)
[Galaxy S 4 i9505 Android Development] Synergy510:
He found that it was a issue that he had no root access. For some reason disabling root access and trying to log into Facebook on the stock Browser causes a FC. I was able tor replicate the issue after disabling root. Haven't had the chance to look into it, but I will soon.
[Galaxy S 4 i9505 Android Development] vman10:
Has anyone else had this problem? Is stock browser working fine? Other than FC during Facebook login?

Your ROM looks great and I want to flash it but want to make sure that it will be a stable daily driver for me. Also, is pairing with car bluetooth working with this ROM?
[Galaxy S 4 i9505 Android Development] Synergy510:
The stock browser works fine, it's only in this one case with Facebook when you have no root access. Everything else should work fine. As for bluetooth, I don't have a car to pair it with, but I do have a pair of JayBird Bluebuds X that I connect to nearly every day and I'm able to listen to music every day with no issue.
[Galaxy S 4 i9505 Android Development] vman10:
Thanks, downloading ROM now.

Can you provide link to the preferred GApps for this ROM. Link to GApps thread on OP is closed..
[Galaxy S 4 i9505 Android Development] dclarkg:
As Synergy pointed out it was a root issue at first but the following day the issues appeared again even with root access, I'm now on your ROM in the menawhile and will try a stock LP TW flash to update my phone and then try again. Thanks for the help :)
[Galaxy S 4 i9505 Android Development] reycovirt:
About the kernel

after flashing this rom???

i will flash again the kernel been posted on page 1???

or it is already embedded on ROM itself???

thank you and more power

[MENTION=4829924]Synergy510[/MENTION]
[Galaxy S 4 i9505 Android Development] Synergy510:
It is the same kernel, I just made it a day later, that's why the dates are different.
[Galaxy S 4 i9505 Android Development] Synergy510:
This is sad, I didn't notice til now :(

You can try this one instead. It's the most up to date gapps I've found, but I didn't really look that far.

https://basketbuild.com/gapps

Hopefully someone else comes up with a better solution
[Galaxy S 4 i9505 Android Development] maddler:
Is anyone else experiencing issues with Amazon App Store? Whenever I try to install an app it just closes. I can see the debug below in logcat:

F/libc (10392): Fatal signal 11 (SIGSEGV), code 2, fault addr 0xa4b8009b in tid 10492 (Thread-991)
I/DEBUG ( 237): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 237): Build fingerprint: 'samsung/jfltexx/jflte:4.2.2/JDQ39/I9505XXUAMDE:user/release-keys'
I/DEBUG ( 237): Revision: '11'
I/DEBUG ( 237): ABI: 'arm'
I/DEBUG ( 237): pid: 10392, tid: 10492, name: Thread-991 >>> com.amazon.venezia <<<
I/DEBUG ( 237): signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xa4b8009b
I/DEBUG ( 237): r0 a3a34294 r1 a4b8009b r2 9a001020 r3 a3a348f4
I/DEBUG ( 237): r4 00000018 r5 00000001 r6 00000000 r7 9296d480
I/DEBUG ( 237): r8 9252268c r9 9a6ff460 sl 9a6fcf9a fp 9a6fcf70
I/DEBUG ( 237): ip a3a34344 sp 9a6fce20 lr a20ed997 pc a1e6d6c0 cpsr a0070030
I/DEBUG ( 237):
I/DEBUG ( 237): backtrace:
I/DEBUG ( 237): #00 pc 00a146c0 /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #01 pc 00c94993 /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #02 pc 01207bc1 /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #03 pc 01210455 /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #04 pc 012028e1 /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #05 pc 00cbbfeb /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #06 pc 00b84027 /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #07 pc 00d35f63 /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #08 pc 00d3d6f7 /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #09 pc 00d3daf5 /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #10 pc 00d4a6ad /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #11 pc 01e01b09 /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #12 pc 01df512b /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #13 pc 01df594b /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #14 pc 01df7be9 /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #15 pc 01dd8129 /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #16 pc 0186633d /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #17 pc 01865a7d /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #18 pc 00225c93 /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #19 pc 002273e3 /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #20 pc 002281d3 /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #21 pc 002260e3 /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #22 pc 0022f95b /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #23 pc 002252e9 /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #24 pc 002482d7 /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #25 pc 0024328d /system/lib/libwebviewchromium.so
I/DEBUG ( 237): #26 pc 00014f87 /system/lib/libc.so (__pthread_start(void*)+30)
I/DEBUG ( 237): #27 pc 000122ff /system/lib/libc.so (__start_thread+6)

Any clue?
[Galaxy S 4 i9505 Android Development] Synergy510:
It may be some libwebviewchromium errors due to the optimizations. It may not be compatible and it errors out due to some flag. I might have to build with a prebuilt webview or something else, but I'll look into it.

Thank you for the logcat.

Edit: For a temporary solution, could you uninstall the Amazon App Store, and install Google's webview from the play store:

https://play.google.com/store/apps/details?id=com.google.android.webview

Then re-install the Amazon App Store. It seems to fix the problem for me
[Galaxy S 4 i9505 Android Development] maddler:
So, tried that. At first it crashed once again.

Reboote.

Download again but new apps won't install ("application not installed message).

Tried again and that worked (same app).

I'll be doing a few more tests later today.

Cheers BTW!

W.
[Galaxy S 4 i9505 Android Development] ASD2003ru:
Confirm problem. I install webview but problem not resolve.

I have problem in AquaMail (use webview component) and default browser. If start app after error, app work fine.
[Galaxy S 4 i9505 Android Development] dclarkg:
It looks like anything that uses webview has issues, sounds like the issue I had with browsers crashing on FB, could be this related [MENTION=4829924]Synergy510[/MENTION] ?
[Galaxy S 4 i9505 Android Development] ijat91:
Hi all, i noticed a jittery animation when enable automatic display mode in LiveDisplay, can anyone confirm that?
[Galaxy S 4 i9505 Android Development] Synergy510:
Yes, it seems like it. I've been trying to figure out what's changed between the previous march 4th and march 21st build to see what's wrong. This never happened with that, correct? This is directed to each of you.

[MENTION=5615286]dclarkg[/MENTION], you've never had any of these problems with Antares' March 21st build, correct? I'm trying to narrow down what could possibly be the problem. Since we share the same SaberMod optimizations, I can rule them out.

I've been trying out test builds to fix webview, but my next focus will be on the kernel because that's also changed between March 4th and 21st.
[Galaxy S 4 i9505 Android Development] dclarkg:
Correct, I never had issues on the March 4th build and right now I'm on Antares March 21st build and no issues neither.
[Galaxy S 4 i9505 Android Development] munichsfinest:
I have a strange problem, when I get a call or call somebody, I don't hear a thing on the speaker and my counterpart doesn't hear me neither. With headphones it works perfectly. Anyone else has this?
[Galaxy S 4 i9505 Android Development] noskojv:
No, it's okay.
[Galaxy S 4 i9505 Android Development] Synergy510:
I do see this on my Nexus 7, so it's possible. But I'm not seeing it on my end, but I'm on a newer build, so I can't give you a good perspective.

[MENTION=1987664]maddler[/MENTION] It seems that I've fixed webview related issues. Amazon App Store works perfectly, I can install/uninstall apps now.

[MENTION=5615286]dclarkg[/MENTION] Can't make the FaceBook FC happen anymore as well.

[MENTION=1544164]ASD2003ru[/MENTION] I've tested AquaMail a bit, but I don't know the conditions of how you made it FC. But it works for me.

There was an issue with the new strict aliasing method I was trying out, but it came from someone not affiliated with SaberMod, so that's why we had some issues. I've now reverted to the original implementation and it will be included in the next release.
[Galaxy S 4 i9505 Android Development] ASD2003ru:
This problem appears not always immediately.

Sometimes it works and then the application closes without error information. The problem is not only in AquaMail, it manifests itself in some other programs require this component.

Another problem but it is not only in this ROM.

When you listen to music in BT and there is a connection / disconnection with WiFi , there are friezes / distortion. In general, there is the effect of changing the connection to the sound sometimes is noticeable in wired headphones. Often when listening to FLAC
[Galaxy S 4 i9505 Android Development] noskojv:
Make a backup of this file and try.

Archive remove AudioFX.

DSP+
[Galaxy S 4 i9505 Android Development] ASD2003ru:
Thenx I try later. But problem not only CM roms.
[Galaxy S 4 i9505 Android Development] Synergy510:
Build March 28, 2015 Release

Things are coming to an end with the cm-12.0 branch and new progress is being made with staging cm-12.1. I really can't wait for this to become the new main branch, so this will most likely be the last cm-12.0 update until we can get cm-12.1.

Changelog:

ROM:

Fixed all reported WebView related FCs

Fixed call recording

Added [MENTION=5161352]JustArchi[/MENTION]'s Optimizations!

Updated SaberMod Toolchain to latest sources

Decreased some animation duration a little bit

Added switch to Force Expanded Notifications

Sync with CM up until today

Kernel:

Built with SaberMod toolchain arm-eabi-5.0 for more speed!

Removed Graphite flags in favor of pthread flags. This helps increase our multithreading capabilities

SaberModCM12-20150328-jflte.zip

SaberModCM12-kernel-jflte-20150328.zip (included in latest release)

Enjoy!
[Galaxy S 4 i9505 Android Development] munichsfinest:
I got a problem with this update: It seems like my system partition is being formatted to f2fs without me doing anything. Found this out due to my investigation why it didn't boot, because iirc it can't handle system in f2fs, right? When I format back to ext4, I get "error executing updater binary".... :confused:

is it supposed to read like this?
[Galaxy S 4 i9505 Android Development] Synergy510:
Noted, I'll change it and re-upload the ROM
[Galaxy S 4 i9505 Android Development] Synergy510:
Buuld fixed. Just some updater script issues

Download it here

https://www.androidfilehost.com/?fid=95916177934547627

Edit: all links should now point to the fixed build
[Galaxy S 4 i9505 Android Development] noskojv:
Build Mar 28, 2015 - good job :good: call recording works fine
[Galaxy S 4 i9505 Android Development] dclarkg:
Just dropping by to report that all is working flawlessly on the last build, web view issue is gone for good and the ROM feels smooth and snappy. Great update!