[Galaxy S Advance I9070 Android Development] Sami Kabir:
FAQs, Tips and Notes, My Opinion on my ROM, Credits and Acknowledgements

Should I install/update in a chronological order?

Yes. This means that you should install Sami OS 1.0 first (if you haven't already) and then reboot to system. Use your phone for a while and setup everything. Once all that is done, reboot to recovery and start installing the updates one by one (in a chronological order) without rebooting to system.

Is updating from 1.x to 1.z possible?

Yes, it is possible. But its recommended that you install 1.y first.. So that you won't miss out from any new features or fixes that were introduced in the 1.y update... I know that this will become a little tedious, but its the only way for me to keep the size of the updates smaller - so that it can be uploaded and downloaded much quickly. Detailed instructions on how to update to my ROM's latest version is available. Just look for it on the Second post of this thread.

Flashing so many zip files is a little tedious. Why not merge all the updates into one zip file?

Even though I've considered about doing this ever since I released the 1.1 Update, there are a lot of some reasons why I'm not doing this. You can download the ROM and all its updates and mods on your PC , extract them to a single folder and then manually merge/combine all of them. Once that's done, select the 3 folders (META-INF, system and vrtheme) and use any file archiving software (like 7-zip or WinRAR) to make a zip file out of it. Let me know if you bump into any problems.

Can I flash xyz performance/battery mods or scripts while I'm using your ROM on my phone?

No. My ROM already has a lot of scripts and various other tweaks and mods. So adding more will either have no effect or make things worse (slower performance, boot loop, high battery drain, etc.). So please ask me first before installing anything like this and I'll try to find out if it'll work on my ROM without any issues or not.

Tips & Notes:

Below are some tips and notes which I'm sharing from my experience:

Please don't use your phone after restarting or turning it on for at least a minute.. Its going to lag.. This is probably because the system is still busy loading all its services, files, apks, scripts and because the media server will be running in background.

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

The best way to clear your phone's RAM is by doing a Quick (Hot) Reboot instead of Normal Reboot.. This is because Hot Reboot just restarts the OS; not the entire device.. Thus its faster than a Normal Reboot and also doesn't drain your battery while it reboots

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

If for some reason your phone's system partition becomes read-only then type this into Terminal Emulator:

mount -o remount,rw /dev/block/mmcblk0p3 /system

Before installing any mods or scripts please make sure that they are compatible with Sami OS! Because I added a lot of tweaks too; so my tweaks may interfere with the tweaks you install!

You can use apps like SDMaid Pro to maintain your phone's optimal performance by clearing cache, (old) logs, bulk of unneeded files and disabling auto-starting of certain apps on Boot

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 if you want to avoid any risk of data corruption.

If for some reason adb is no longer working then add this line below to your build.prop and then give it another try:

persist.service.adb.enable=1

After updating or installing my ROM, if you cannot see your accounts (e.g- Google, Yahoo, WhatsApp, etc.) under Accounts in Settings (app), then all you need to do is log out and sign back in. You should now see them now

Please disable Keytones, Touch Sounds, Screen lock sound and Haptic Feedback under Sound menu (in Settings).. Use only if required to do so; because they all contribute in consuming your battery.. The same thing goes for Motion options as well..

Checkout this simple trick to change the Status Bar's gradient orientation

For switching to Material theme on your Keyboard, go to Settings > Language and Input > Google Keyboard Settings > Advanced Settings and change the Color scheme to "Material"

For my own benefit, I chose not to Re-odex my ROM. But if you want to Re-Odex my ROM on your phone then you can use Universal Odex Script or anything similar to do it. Because I did not try it yet, please tell me if you did it and succeeded.

If you're into pimping, tweaking and modding your phone, then you should definitely checkout Xposed (if you haven't already). It drastically simplifies this process by taking away the need for flashing zip files or modifying any apk or jar files!

Checkout XMultiWindow. It's functionality is quite similar to Samsung's MultiWindow functionality - but this is way better in my opinion

Checkout XBlast Tools. It's more or less like an All-in-One Tweak Box. You can change a lot of stuff in your phone on the go without modifying any APK files!

If you don't want to use CRT Off animation then please uncheck it from Settings > Display (obviously ) and then using MiXplorer (or any browser with Root access), go to system > etc > init.d folder and open 03_crt_net.

Look for the lines containing "fbdelay" and "fbdelay_ms" and delete or comment them out. Save the file, set the proper file permission and restart for it to take effect. This should remove the "delay" in powering your screen off..

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

"echo on > /sys/kernel/mxt224e/touchboost" and "echo 500 > /sys/kernel/mxt224e/touchboost_delay" and delete or comment them out. Save the file, set the proper file permission and restart for it to take effect

If for some reason you want to have a persistent notification of USB debugging (enabled) then add this line below to your build.prop:

persist.adb.notify=1

Right now, the best kernels to use with Sami OS are CoCore E 8.2, 10.0 and Refresh R09 (link to thread)

If you're wondering why this thread is full of textual information, its because I want to this thread as Noob Friendly as possible! And yes, I typed each and every words - so yeah, I think I deserve a thanks for that too.

More will be added soon to this list very soon!

My Opinion on my ROM:

I've been running the "pre-release" and the "final" version Sami OS for quite some time now.. And yes, my phone is super smooth with the combo of Sami OS and CoCore E r09 BUT I did notice some occasional hiccups and lags on my ROM too! I'm sure that a very few developers will tell bad about his/her ROM, but I'm just like you - I always want the best in my phone and so I am being honest with you.. Nothing is perfect in this world, and my ROM is certainly not an exception.. But that doesn't mean that you shouldn't use it.. Because it indeed is super smooth most of the time!!!

One more thing.. my ROM still isn't completely optimized for Aggressive gaming, multi-tasking and battery conservation yet but I hope that it will get better along with the future updates it'll be getting..

Credits And Acknowledgements:

Below is an alphabetically arranged list of names of all the people whose work has either directly or indirectly helped me in making my ROM and I'd like to Thank them from the bottom of my heart for helping me when I needed it...

acl1

ADDICT.ANK

b16h22

BOOTMGR

CNexus

cocafe

Didact74

drnarinder

EnricoD

fbs

Gharrington

Goldieking

gu5t3r

hastalafiesta

HootanParsa

isaak

joehanh88

Jtfk

KINGbabasula

lokeshsaini94

loserskater

majdinj

mariozawa

MikiGry

mkaluza

nijel8

ocoot

Oliwe

olokos

P.Castro

pranavburnwal

Qadir64

Shaaan

shut_down

SimonGleinert

Spannaa

Dear reader, if you believe that you or your work has helped me in making my ROM and yet I did not mention your name here, then I'm extremely Sorry! Just PM me and I'll add your name asap!!​

Liked my ROM?

Want to show me your Support? Then all you have to do is become a Fan of Project: Sami OS by "Liking" its official Facebook page... You have no idea how much it will mean to me :D

Or you can just Click on the Thanks button, rate the ROM and Thread with 5 Stars! :laugh:

I'd like to add a few more things:

- You are free to modify the "looks" of my ROM (or my themed System apps) for your personal use only. If you wish to share it with others then do ask me for my permission and please give me the proper credits for my hard work :)

- Please don't Mirror (or Re-upload) any of my works.. Because it will mess up the Download Statistics of my works :)

- It took me more than a gazillion clicks to make this, but please just spare one click to click the thanks button below to motivate me! And don't forget to rate the thread with 5 stars too!

- You can also Follow this Thread to stay updated by knowing whats happening on my thread; thanks to XDA's DevDB Template!

- Please do not quote this entire post. It's long as hell, reading it once is more than enough and so no one wants to see it again...

Want to learn more about Project: Sami OS?

Want to learn more about Project: Sami OS and know the mystery behind the name "Sami OS for Android"? Then Click Here!

Want to Recommend me a new feature for my ROM?

Then please Send me a PM or leave your requests on the "Feature Requests" tab above. I'd be glad to receive any recommendations (or Bug reports) to make my ROM much better anyway! But do note that I am not an Android Wizard who can make miracles happen; If you ask me for something which I can't provide then I will clearly deny your request.

And that's pretty much it. Thanks for visiting this thread and for downloading and using my ROM... Make sure to leave your comments, reviews and write about your experience with my ROM! :laugh: