[Galaxy Ace S5830 Android Development] _Roysten:
+ log -p i -t LF_v3_gB Applying memory tweaks...
+ [ -e /sys/module/lowmemorykiller/parameters/adj ]
+ echo 0,1,2,4,7,15
+ [ -e /sys/module/lowmemorykiller/parameters/minfree ]
+ echo 2560,4096,5632,10240,11776,14848
/system/etc/init.d/S99_LFv3gB: cannot create /sys/module/lowmemorykiller/parameters/minfree: permission denied
+ [ -e /proc/sys/vm/min_free_kbytes ]
+ echo 4096
+ [ -e /proc/sys/vm/swappiness ]
+ echo 20
+ [ -e /proc/sys/vm/vfs_cache_pressure ]
+ echo 20
+ [ -e /proc/sys/vm/dirty_expire_centisecs ]
+ echo 3000
+ [ -e /proc/sys/vm/dirty_writeback_centisecs ]
+ echo 500
+ [ -e /proc/sys/vm/dirty_ratio ]
+ echo 80
+ [ -e /proc/sys/vm/dirty_background_ratio ]
+ echo 65
+ log -p i -t LF_v3_gB Applying CPU and governor tweaks...
+ [ -e /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ]
+ chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
+ echo smartassV2
+ [ -e /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq ]
+ chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
+ echo 120000
+ [ -e /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq ]
+ chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
+ echo 800000
+ [ -e /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold ]
+ [ -e /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate ]
+ log -p i -t LF_v3_gB Applying sysctl tweaks...
+ [ -e /etc/sysctl.conf ]
+ sysctl -p /etc/sysctl.conf
+ log -p i -t LF_v3_gB Applying kernel tweaks...
+ [ -e /proc/sys/kernel/sched_latency_ns ]
+ [ -e /proc/sys/kernel/sched_wakeup_granularity_ns ]
+ [ -e /proc/sys/kernel/sched_min_granularity_ns ]
+ [ -e /proc/sys/kernel/sem ]
+ echo 500 512000 100 2048
+ [ -e /proc/sys/kernel/shmmax ]
+ echo 268435456
+ [ -e /proc/sys/kernel/msgmni ]
+ echo 1024
+ log -p i -t LF_v3_gB Applying database tweaks...
+ find /data -iname *.db
+ sqlite3 /data/data/com.android.providers.userdictionary/databases/user_dict.db VACUUM;
+ sqlite3 /data/data/com.android.providers.userdictionary/databases/user_dict.db REINDEX;
+ sqlite3 /data/data/com.tmobile.thememanager/databases/theme_item.db VACUUM;
+ sqlite3 /data/data/com.tmobile.thememanager/databases/theme_item.db REINDEX;
+ sqlite3 /data/data/com.android.providers.telephony/databases/mmssms.db VACUUM;
+ sqlite3 /data/data/com.android.providers.telephony/databases/mmssms.db REINDEX;
+ sqlite3 /data/data/com.android.providers.telephony/databases/telephony.db VACUUM;
+ sqlite3 /data/data/com.android.providers.telephony/databases/telephony.db REINDEX;
+ sqlite3 /data/data/com.android.providers.telephony/databases/optable.db VACUUM;
+ sqlite3 /data/data/com.android.providers.telephony/databases/optable.db REINDEX;
+ sqlite3 /data/data/com.noshufou.android.su/databases/su.db VACUUM;
+ sqlite3 /data/data/com.noshufou.android.su/databases/su.db REINDEX;
+ sqlite3 /data/data/com.noshufou.android.su/databases/webview.db VACUUM;
+ sqlite3 /data/data/com.noshufou.android.su/databases/webview.db REINDEX;
+ sqlite3 /data/data/com.noshufou.android.su/databases/webviewCache.db VACUUM;
+ sqlite3 /data/data/com.noshufou.android.su/databases/webviewCache.db REINDEX;
+ sqlite3 /data/data/com.android.providers.settings/databases/settings.db VACUUM;
+ sqlite3 /data/data/com.android.providers.settings/databases/settings.db REINDEX;
+ sqlite3 /data/data/com.android.quicksearchbox/databases/qsb-log.db VACUUM;
Error: no such collation sequence: UNICODE
+ sqlite3 /data/data/com.android.quicksearchbox/databases/qsb-log.db REINDEX;
Error: no such collation sequence: UNICODE
+ sqlite3 /data/data/com.android.vending/databases/market_assets.db VACUUM;
+ sqlite3 /data/data/com.android.vending/databases/market_assets.db REINDEX;
+ sqlite3 /data/data/com.android.vending/databases/suggestions.db VACUUM;
+ sqlite3 /data/data/com.android.vending/databases/suggestions.db REINDEX;
+ sqlite3 /data/data/com.android.providers.media/databases/internal.db VACUUM;
+ sqlite3 /data/data/com.android.providers.media/databases/internal.db REINDEX;
+ sqlite3 /data/data/com.android.providers.media/databases/external-88b21504.db VACUUM;
+ sqlite3 /data/data/com.android.providers.media/databases/external-88b21504.db REINDEX;
+ sqlite3 /data/data/com.android.inputmethod.latin/databases/userbigram_dict.db VACUUM;
+ sqlite3 /data/data/com.android.inputmethod.latin/databases/userbigram_dict.db REINDEX;
+ sqlite3 /data/data/com.android.inputmethod.latin/databases/auto_dict.db VACUUM;
+ sqlite3 /data/data/com.android.inputmethod.latin/databases/auto_dict.db REINDEX;
+ sqlite3 /data/data/com.android.htmlviewer/databases/webview.db VACUUM;
+ sqlite3 /data/data/com.android.htmlviewer/databases/webview.db REINDEX;
+ sqlite3 /data/data/com.android.htmlviewer/databases/webviewCache.db VACUUM;
+ sqlite3 /data/data/com.android.htmlviewer/databases/webviewCache.db REINDEX;
+ sqlite3 /data/data/com.google.android.gsf/databases/gls.db VACUUM;
+ sqlite3 /data/data/com.google.android.gsf/databases/gls.db REINDEX;
+ sqlite3 /data/data/com.google.android.gsf/databases/gservices.db VACUUM;
+ sqlite3 /data/data/com.google.android.gsf/databases/gservices.db REINDEX;
+ sqlite3 /data/data/com.google.android.gsf/databases/subscribedfeeds.db VACUUM;
+ sqlite3 /data/data/com.google.android.gsf/databases/subscribedfeeds.db REINDEX;
+ sqlite3 /data/data/com.google.android.gsf/databases/googlesettings.db VACUUM;
+ sqlite3 /data/data/com.google.android.gsf/databases/googlesettings.db REINDEX;
+ sqlite3 /data/data/com.google.android.gsf/databases/talk.db VACUUM;
+ sqlite3 /data/data/com.google.android.gsf/databases/talk.db REINDEX;
+ sqlite3 /data/data/com.google.android.googlequicksearchbox/databases/qsb-log.db VACUUM;
Error: no such collation sequence: UNICODE
+ sqlite3 /data/data/com.google.android.googlequicksearchbox/databases/qsb-log.db REINDEX;
Error: no such collation sequence: UNICODE
+ sqlite3 /data/data/com.google.android.apps.genie.geniewidget/databases/weather.db VACUUM;
+ sqlite3 /data/data/com.google.android.apps.genie.geniewidget/databases/weather.db REINDEX;
+ sqlite3 /data/data/com.cooliris.media/databases/picasa.db VACUUM;
+ sqlite3 /data/data/com.cooliris.media/databases/picasa.db REINDEX;
+ sqlite3 /data/data/com.android.email/databases/EmailProvider.db VACUUM;
+ sqlite3 /data/data/com.android.email/databases/EmailProvider.db REINDEX;
+ sqlite3 /data/data/com.android.email/databases/EmailProviderBody.db VACUUM;
+ sqlite3 /data/data/com.android.email/databases/EmailProviderBody.db REINDEX;
+ sqlite3 /data/data/com.android.providers.drm/databases/drm.db VACUUM;
+ sqlite3 /data/data/com.android.providers.drm/databases/drm.db REINDEX;
+ sqlite3 /data/data/com.android.providers.downloads/databases/downloads.db VACUUM;
+ sqlite3 /data/data/com.android.providers.downloads/databases/downloads.db REINDEX;
+ sqlite3 /data/data/com.android.deskclock/databases/alarms.db VACUUM;
+ sqlite3 /data/data/com.android.deskclock/databases/alarms.db REINDEX;
+ sqlite3 /data/data/com.android.providers.contacts/databases/contacts2.db VACUUM;
Error: no such collation sequence: PHONEBOOK
+ sqlite3 /data/data/com.android.providers.contacts/databases/contacts2.db REINDEX;
Error: no such collation sequence: PHONEBOOK
+ sqlite3 /data/data/com.google.android.carhome/databases/carhome.db VACUUM;
+ sqlite3 /data/data/com.google.android.carhome/databases/carhome.db REINDEX;
+ sqlite3 /data/data/com.android.providers.calendar/databases/calendar.db VACUUM;
+ sqlite3 /data/data/com.android.providers.calendar/databases/calendar.db REINDEX;
+ sqlite3 /data/data/com.android.browser/databases/webview.db VACUUM;
+ sqlite3 /data/data/com.android.browser/databases/webview.db REINDEX;
+ sqlite3 /data/data/com.android.browser/databases/webviewCache.db VACUUM;
+ sqlite3 /data/data/com.android.browser/databases/webviewCache.db REINDEX;
+ sqlite3 /data/data/com.android.browser/databases/browser.db VACUUM;
+ sqlite3 /data/data/com.android.browser/databases/browser.db REINDEX;
+ sqlite3 /data/data/com.android.browser/app_appcache/ApplicationCache.db VACUUM;
+ sqlite3 /data/data/com.android.browser/app_appcache/ApplicationCache.db REINDEX;
+ sqlite3 /data/data/com.android.browser/app_databases/Databases.db VACUUM;
+ sqlite3 /data/data/com.android.browser/app_databases/Databases.db REINDEX;
+ sqlite3 /data/data/com.android.browser/app_geolocation/CachedGeoposition.db VACUUM;
+ sqlite3 /data/data/com.android.browser/app_geolocation/CachedGeoposition.db REINDEX;
+ sqlite3 /data/data/com.android.browser/app_geolocation/GeolocationPermissions.db VACUUM;
+ sqlite3 /data/data/com.android.browser/app_geolocation/GeolocationPermissions.db REINDEX;
+ sqlite3 /data/data/com.android.browser/app_icons/WebpageIcons.db VACUUM;
+ sqlite3 /data/data/com.android.browser/app_icons/WebpageIcons.db REINDEX;
+ sqlite3 /data/data/com.android.bluetooth/databases/btopp.db VACUUM;
+ sqlite3 /data/data/com.android.bluetooth/databases/btopp.db REINDEX;
+ sqlite3 /data/data/com.sec.android.app.twlauncher/databases/launcher.db VACUUM;
+ sqlite3 /data/data/com.sec.android.app.twlauncher/databases/launcher.db REINDEX;
+ sqlite3 /data/data/com.speedsoftware.rootexplorer/databases/explorer.db VACUUM;
+ sqlite3 /data/data/com.speedsoftware.rootexplorer/databases/explorer.db REINDEX;
+ sqlite3 /data/data/com.moo.android.inputmethod.latin/databases/auto_dict.db VACUUM;
+ sqlite3 /data/data/com.moo.android.inputmethod.latin/databases/auto_dict.db REINDEX;
+ sqlite3 /data/data/com.moo.android.inputmethod.latin/databases/userbigram_dict.db VACUUM;
+ sqlite3 /data/data/com.moo.android.inputmethod.latin/databases/userbigram_dict.db REINDEX;
+ sqlite3 /data/data/com.google.android.gm/databases/gmail.db VACUUM;
+ sqlite3 /data/data/com.google.android.gm/databases/gmail.db REINDEX;
+ sqlite3 /data/data/com.google.android.gm/databases/downloads.db VACUUM;
+ sqlite3 /data/data/com.google.android.gm/databases/downloads.db REINDEX;
+ sqlite3 /data/data/com.google.android.gm/databases/mailstore.***@gmail.com.db VACUUM;
+ sqlite3 /data/data/com.google.android.gm/databases/mailstore.***@gmail.com.db REINDEX;
+ sqlite3 /data/data/com.google.android.gm/databases/suggestions.db VACUUM;
+ sqlite3 /data/data/com.google.android.gm/databases/suggestions.db REINDEX;
+ sqlite3 /data/data/com.google.android.gm/databases/webview.db VACUUM;
+ sqlite3 /data/data/com.google.android.gm/databases/webview.db REINDEX;
+ sqlite3 /data/data/com.google.android.gm/databases/webviewCache.db VACUUM;
+ sqlite3 /data/data/com.google.android.gm/databases/webviewCache.db REINDEX;
+ sqlite3 /data/data/com.google.android.youtube/databases/google_analytics.db VACUUM;
+ sqlite3 /data/data/com.google.android.youtube/databases/google_analytics.db REINDEX;
+ sqlite3 /data/data/com.google.android.youtube/databases/history.db VACUUM;
+ sqlite3 /data/data/com.google.android.youtube/databases/history.db REINDEX;
+ sqlite3 /data/data/com.opera.browser/databases/google_analytics.db VACUUM;
+ sqlite3 /data/data/com.opera.browser/databases/google_analytics.db REINDEX;
+ sqlite3 /data/data/com.whatsapp/databases/msgstore.db VACUUM;
+ sqlite3 /data/data/com.whatsapp/databases/msgstore.db REINDEX;
+ sqlite3 /data/data/com.whatsapp/databases/wa.db VACUUM;
+ sqlite3 /data/data/com.whatsapp/databases/wa.db REINDEX;
+ sqlite3 /data/data/com.quoord.tapatalkxda.activity/databases/google_analytics.db VACUUM;
+ sqlite3 /data/data/com.quoord.tapatalkxda.activity/databases/google_analytics.db REINDEX;
+ sqlite3 /data/data/com.quoord.tapatalkxda.activity/databases/webview.db VACUUM;
+ sqlite3 /data/data/com.quoord.tapatalkxda.activity/databases/webview.db REINDEX;
+ sqlite3 /data/data/com.quoord.tapatalkxda.activity/databases/webviewCache.db VACUUM;
+ sqlite3 /data/data/com.quoord.tapatalkxda.activity/databases/webviewCache.db REINDEX;
+ sqlite3 /data/data/com.quoord.tapatalkxda.activity/databases/tapatalk.db VACUUM;
+ sqlite3 /data/data/com.quoord.tapatalkxda.activity/databases/tapatalk.db REINDEX;
+ sqlite3 /data/data/com.google.zxing.client.android/databases/barcode_scanner_history.db VACUUM;
+ sqlite3 /data/data/com.google.zxing.client.android/databases/barcode_scanner_history.db REINDEX;
+ sqlite3 /data/data/com.google.zxing.client.android/databases/webview.db VACUUM;
+ sqlite3 /data/data/com.google.zxing.client.android/databases/webview.db REINDEX;
+ sqlite3 /data/data/com.google.zxing.client.android/databases/webviewCache.db VACUUM;
+ sqlite3 /data/data/com.google.zxing.client.android/databases/webviewCache.db REINDEX;
+ sqlite3 /data/system/accounts.db VACUUM;
+ sqlite3 /data/system/accounts.db REINDEX;
+ log -p i -t LF_v3_gB Applying network tweaks...
+ echo 0
+ echo 1
+ echo 1
+ echo 1
+ echo 1
+ echo 1
+ echo 5
+ echo 30
+ echo 30
+ echo 1
+ echo 2
+ echo 4096
+ echo 1
+ echo 1
+ echo 1
+ echo 0
+ echo 404480
+ echo 404480
+ echo 256960
+ echo 256960
+ echo 2500
+ echo 4096,16384,404480
+ echo 4096,87380,404480
+ log -p i -t LF_v3_gB Applying prop tweaks...
+ setprop ring.delay 1000
+ setprop debug.sf.hw 1
+ setprop debug.performance.tuning 1
+ setprop video.accelerate.hw 1
+ setprop ro.telephony.call_ring.delay 1000
+ setprop ro.ril.disable.power.collapse 0
+ setprop ro.HOME_APP_ADJ 1
+ setprop ro.HOME_APP_MEM 2048
+ setprop pm.sleep_mode 1
+ setprop video.accelerate.hw 1

This is lagfree_debug.log. First part removed, due to exceeding max charactercount. CM7.2, anonymous-kernel.

First error is permission error, but:

ls -l
-rwxr-xr-x 1 root shell 365 Aug 1 2008 00banner
-rwxr-xr-x 1 root shell 27 Aug 1 2008 01sysctl
-rwxr-xr-x 1 root shell 1342 Aug 1 2008 02cooper
-rwxr-xr-x 1 root shell 229 Aug 1 2008 03firstboot
-rwxr-xr-x 1 root shell 201 Aug 1 2008 04modules
-rwxr-xr-x 1 root shell 1452 Aug 1 2008 05mountsd
-rwxr-xr-x 1 root shell 445 Aug 1 2008 06mountdl
-rwxr-xr-x 1 root shell 925 Aug 1 2008 20userinit
-rwxr-xr-x 1 root shell 10510 Aug 1 2008 S99_LFv3gB

seems okay.

@Tossan: can't post logcat since adb won't recognize phone in this phase of the booting process.