[Galaxy S Advance I9070 Android Development] Sami Kabir:
Sami OS 1.4 Update

Sami OS 1.4 Update

!​

Before I begin, I'd like to thank everyone for their kind words and patience. Unfortunately, there aren't any new major features or functionalities but it does bring improvements and bug fixes. I know I took a lot of time, but that's because I have a lot going on in my life right now.

Because of lack of time, there isn't a lot in this update. Anyways, here is a list of all the features and changes that this update introduces:

- Merged the contents (and therefore, the changes and features) of Sami OS 1.3.1 and 1.3.2 update

- Fixed the USB Mass Storage force close issue that Sami OS 1.2 introduced

- Battery and Memory Management (and therefore Performance) improvements

- Expect a SOT of 2(.5) to 3 hours (or even more) with moderate phone usage and with Powersaving mode enabled. Further improvements can be observed by using Greenify.

- Fixed all the init.d scripts (to some extent) and tweaked some of the previous values in build.prop

- Reduced boot-up (and shutdown) time slightly, to some extent

- Removed SysScope and permanently set Device Status to "Official". Thanks to 0tt0m@n

- Added the ability to Double tap status bar to Sleep (feature backported from CM11, thanks to BOOTMGR)

- Minor changes to visual elements in theme and UI - inspired by Android M and L

- Themed volume panel. It now looks much cleaner! - inspired by Android M and L

- Gave the Settings app a colorful and better set of Icons from Galaxy S5. Also changed the battery stats chart color to blue

- The "new" bean bag easter egg game now has Android M's platlogo and floating Marshmallows and Lollipops

- Added an optional Spellcheck (a red line will appear under mistyped words.. Google Keyboard must be "checked" for using this. Thanks to primitive.A

- Enabled the "Turn off all Sounds" widget. It can come handy at certain times!

- Disabled the "Listening at high volume..." warning toast (thanks to BOOTMGR)

- Enabled Touchboost. CPU will ramp to 600mhz upon touching the screen (thanks to cocafe). You can disable it to save some battery (more info about this at the bottom).

- Patched libsqlite.so. Removed the need to fsync before a database write is done. It'll improve database read and write speeds but at a small risk of data corruption due to sudden reboot or major system hang(up). See below for more info

- Removed quite a lot of unneeded system apps and files that just run in background and consume RAM and CPU time. (see below for the list of files removed)

- Removed (almost) all traces of FOTA updates service from Samsung

- Removed (almost) all traces of DivX DRM service from Samsung

- Removed (almost) all traces of sCloud service from Samsung

- Fixed the broken Ripple Effect in Sami OS 1.3

- Enabled Blocking mode (ongoing) notification

- Slightly altered the minimum and maximum brightness values in build.prop (ro.lcd_brightness=170, ro.lcd_min_brightness=20)

- Made fling velocity (notification bar pull down and pull up) a bit more faster

- Faster (though not smoother) progress bar (horizontal)

- Updated Nova Launcher to version 4.0.2

- Updated MiXplorer (file explorer) to v5.5.4 Beta

- Updated i9070P_Compatibility_Fix.zip for i9070P users

- Replaced 13 old wallpapers with 13 new ones

- Replaced the default emojis in framework-res with the ones made by Google

- Changed restart title to "Reboot Options"

- Changed the Icon of the Voice Recorder app

- Corrected a typo in framework-res (strings.xml) made by Samsung :P

- *removed* GPU frequency has been set to 360000 kHz (Minimum) and 700800 kHz (Maximum). You just have to change the "idx" value in order to change these frequencies. Check out mali_dvfs_data for more info

- *removed* Added shadow to status bar clock (useful if you use gradient or transparent status bar background, link)​

Screenshots:

Downloading Sami OS 1.4:

Please visit its webpage for the Download links! :o

Updating to Sami OS 1.4:

The instructions are the same as before; and they are quite easy to follow:

- Make sure you're running Sami OS 1.3 (or 1.3.1)

- Download SOS_UPDATE_1.4.zip and copy it to your External SD Card

- Reboot to Recovery

- Make sure that you have a Backup of your current System and Data (just to be safe)

- Flash the SOS_UPDATE_1.4.zip to Install the update

- And when that's done, all you have to do is Reboot your phone. The first boot takes 5-10 minutes to complete, so please wait patiently and wait for the "Android is upgrading" process to complete...

- After the device successfully boots up (i.e when you see your lock screen) please don't use your phone for at least 2 minutes (because media scanning service along with many other services will start running and so its going to be very laggy)

- And that's pretty much it. Congrats, you're now running Sami OS 1.4!​

​

Add-Ons:

Here's a list of all the add-ons that this update introduces:

- Samsung_KNOX_and_ZHA_ap_MMSCtrl (app for saving yourself from the Android Stagefright vulnerability by disabling MMS. Though, I'm not sure if it will work with every single Messaging apps that are available for our phone)

- Un-patched libsqlite.so (for avoiding any risk of data corruption)

- ICS_anims.zip (for reverting all my ROM's Lollipop animations to the default ICS ones)

- i9070P_Compatibility_Fix.zip (updated for i9070P users)

- Dark Void theme (for MiXplorer 5.5.4 Beta)​

​

A few more things I'd like to say:

- You can disable Touchboost feature to save some more battery.

Using MiXplorer (or any browser with Root access), go to system > etc > init.d folder and open 02_kernel. Look for the lines containing "touchboost" and "touchboost_delay" and delete or comment them out. Save the file, set the proper file permission and restart for it to take effect.

- You can use Greenify to disable most system apps like Google Play Services to get lower battery consumption (while phone is idle). Additionally, you can also use CoCore E 8.2 Kernel if you prefer better battery life over performance.

- You need to disable MMS to save yourself from the recently discovered Stagefright security vulnerability by using a small app. Look for "Samsung_KNOX_and_ZHA_ap_MMSCtrl" under the Add-ons section. Thanks to [MENTION=5449754]isaak[/MENTION] for sharing this with me!

- The safety_level is changed from 3 to 1 in libsqlite.so. So, there is a small risk of data corruption here. This is because no fsync is done before databases are committed into disk and hence it'll be faster but at the slight risk of corruption. This could include launcher widgets going missing or SMS messages going missing or corrupted etc.. But do note that this is the default behavior in JB 4.3, KK 4.4 and above. You can revert back to the older libsqlite.so file (see below under the Add-ons section) if you want to avoid any risk of data corruption.​

List of removed System apps and library files:

- AllshareMediaServer.apk

- AllshareService.apk

- BluetoothMap.apk

- Divx.apk

- DrmProvider.apk

- DSMForwarding.apk

- DSMLawmo.apk

- EdmSysScopeService.apk

- FmmDM.apk

- FmmDS.apk

- Kies.apk

- MediaUploader.apk

- minimode-res.apk

- MobilePrint.apk

- MobileTrackerEngineTwo.apk

- OmaDrmPopup.apk

- PCWClientS.apk

- PRUI.apk

- sCloudBackupApp.apk

- sCloudBackupProvider.apk

- sCloudDataRelay.apk

- sCloudDataSync.apk

- sCloudSyncBrowser.apk

- sCloudSyncCalendar.apk

- sCloudSyncContacts.apk

- SecExchange.apk

- SmartcardService.apk

- SNS.apk

- SyncmlDM.apk

- SyncmlDS.apk

- SysScope.apk

- wssyncmlnps.apk

- libdivxdrm.so

- libdivxplugin.so​

And once again, thanks for supporting my work for so long and for all your kind words of encouragement! Cheers! :D