yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] pikachu01:
Without the libncurses.so, the sqlite3 binary won't work :) There are some sqlite3 binaries which are standalone though CM sqlite3 binaries must have libncurses.so.

tune2fs won't work as you'll have to be in recovery to run those commands. You have to have the block unmounted/unused to tune it.
[Android Software/Hacking General [Developers Only]] thewaywardgeek013:
Thanks a lot man, really learning a lot here, and very fast replies. 2 Thumbs up to you and your work! ;)
[Android Software/Hacking General [Developers Only]] Jerry-Hins:
ThunderBolt-CWM libsqlite addon v1.0.2.zip - Is the ZIP compatible to my Xperia sola running Stock 4.0.4? thx dude for the great work !!:good:
[Android Software/Hacking General [Developers Only]] pikachu01:
No. It's only for Gingerbread :)
[Android Software/Hacking General [Developers Only]] tarekh020:
After trying this amazing Script , I must say that it's way much better than the other over-rated. this is my opinion

But that's me and result may vary even with the same phone with the same rom/kernel/settings

Thank you for the impressive efforts spent in this great script . I wish for you all the luck in the world :good:
[Android Software/Hacking General [Developers Only]] pikachu01:
News

Added HTC One X remount script. Enjoy

Changelog:

1/2/2013

- Added HTC One X remount script.
[Android Software/Hacking General [Developers Only]] Starsream88:
Hi pika,

i'm on slim bean 4.2.1 with semaphore 2.9.0s

is there any way to turn off Fsync on JB ROMS ? Maybe futur update of your script, or it's kernel related ?

Thank you for you hard work :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Which other over-rated script? >.<

Do you mean the one that I personally pointed out mistakes (which he frantically tried to fix) then do an about-turn to attack me saying that I'm inexperienced?
[Android Software/Hacking General [Developers Only]] pikachu01:
It's kernel related. You'll need a kernel that has an interface to do so, or has the kernel code modified that disables fsync.
[Android Software/Hacking General [Developers Only]] spambayes:
Having watched the whole melodrama unfold through the paces with much incredulity... tsk, tsk, tsk.

Happy New Year. :)

Sent from my GT-I9000
[Android Software/Hacking General [Developers Only]] pikachu01:
Which part was it that got you? >.<

I'm pretty sure the thread got nailed once fanboys start coming out of the woodwork.

Happy New Year to you too :)
[Android Software/Hacking General [Developers Only]] prabu33:
hi OP I try running the command in a terminal emulator to see running or not you tweak. and results like this

u0_a218@android:/ $ su
u0_a218@android:/ # sysctl -a | grep vm
sysctl: error reading key 'vm.compact_memory': Permission denied
vm.overcommit_memory = 1
vm.panic_on_oom = 0
vm.oom_kill_allocating_task = 0
vm.oom_dump_tasks = 1
vm.overcommit_ratio = 50
vm.page-cluster = 3
vm.dirty_background_ratio = 10
vm.dirty_background_bytes = 0
vm.dirty_ratio = 20
vm.dirty_bytes = 0
vm.dirty_writeback_centisecs = 500
vm.dirty_expire_centisecs = 3000
vm.nr_pdflush_threads = 0
vm.swappiness = 60
vm.lowmem_reserve_ratio = 32 32
vm.drop_caches = 3
vm.extfrag_threshold = 500
vm.min_free_kbytes = 1924
vm.min_free_order_shift = 4
vm.percpu_pagelist_fraction = 0
vm.max_map_count = 65530
vm.laptop_mode = 0
vm.block_dump = 0
vm.vfs_cache_pressure = 50
vm.stat_interval = 1
vm.mmap_min_addr = 32768
vm.highmem_is_dirtyable = 0
vm.scan_unevictable_pages = 0
sysctl: error reading key 'net.ipv4.route.flush': Permission denied
sysctl: error reading key 'net.ipv6.route.flush': Permission denied
u0_a218@android:/ #

whether it is really running as where it should?? i user One X thanks
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah it is working.

Can I see the output of your

mount

After running the remount script? :)
[Android Software/Hacking General [Developers Only]] prabu33:
rootfs / rootfs ro,noatime 0 0
tmpfs /dev tmpfs rw,nosuid,noatime,mode=755 0 0
devpts /dev/pts devpts rw,noatime,mode=600 0 0
proc /proc proc rw,noatime 0 0
sysfs /sys sysfs rw,noatime 0 0
debugfs /sys/kernel/debug debugfs rw,noatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,noatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,noatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/sdhci-tegra.3/by-name/APP /system ext4 rw,noatime,user_xattr,acl,barrier=0,data=writeback 0 0
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 rw,noatime,user_xattr,acl,commit=60,barrier=0,data=writeback,noauto_da_alloc,discard 0 0
/dev/block/platform/sdhci-tegra.3/by-name/CAC /cache ext4 rw,noatime,user_xattr,acl,commit=60,barrier=0,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/platform/sdhci-tegra.3/by-name/RCA /rca ext4 rw,noatime,user_xattr,acl,commit=60,barrier=0,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/platform/sdhci-tegra.3/by-name/RFS /rfs ext4 rw,noatime,user_xattr,acl,commit=60,barrier=0,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/platform/sdhci-tegra.3/by-name/DLG /devlog ext4 rw,noatime,user_xattr,acl,commit=60,barrier=0,data=ordered,noauto_da_alloc,discard 0 0
htcfs /data/htcfs fuse.htcfs rw,nosuid,nodev,noatime,user_id=0,group_id=0,allow_other 0 0
DxDrmServerIpc /data/DxDrm/fuse fuse.DxDrmServerIpc rw,nosuid,nodev,noatime,user_id=0,group_id=0,allow_other 0 0
/dev/block/vold/179:14 /storage/sdcard0 vfat rw,nosuid,nodev,noexec,noatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard 0 0
/dev/block/vold/179:14 /mnt/secure/asec vfat rw,nosuid,nodev,noexec,noatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard 0 0
tmpfs /storage/sdcard0/.android_secure tmpfs ro,noatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/freeapk.market.full-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1 0 0
/dev/block/dm-1 /mnt/asec/sts.al-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1 0 0
u0_a218@android:/ #
[Android Software/Hacking General [Developers Only]] pikachu01:
Working fine :)
[Android Software/Hacking General [Developers Only]] :
Can i use this on my htc amaze 4g
[Android Software/Hacking General [Developers Only]] zeppelinrox:
You have a habit of taking things out of context.

You are inexperienced when it comes to SuperCharging and you proved that you know very little about it with much misinformation.

You flip flopped/backtracked lots.

Example: First you said that you want the keyboard killed before music, then you say you'd rather have music killed before the keyboard.

Now I've always respected your preference to have the launcher killed before whatever.

So respect the fact that not everybody likes that.

If you want to insist that SuperCharger is broken - prove it. Patch your services.jar and post the logcats and prove it.

Otherwise I will make a defamation report for every unsubstantiated claim.
[Android Software/Hacking General [Developers Only]] pikachu01:
Should be able to as long as you fulfill the minimum requirements listed in the first post.

Note. The keyboard/music example was when I mistook VISIBLE apps for being OOM 2 rather than 1. I saw that when my keyboard was not visible, it was OOM 2. But when it was visible, it is OOM 1.

If the keyboard is visible (that means I'm typing), I would rather the music get killed first before it.

If the keyboard is not visible (that means I'm not typing), I would rather the keyboard gets killed first before the music.

I gave the example of pop-up play right? If pop-up play browser is on the visible portion of the screen, I would rather my music get killed first rather than my pop-up play.

I wonder what is so hard to understand and where the flip-flopping comes from. I've already stated that I was mistaken about the OOM values and made the corrections. Harping about this small mistake over and over again and claiming this is the root of my inexperience is just showing how much truth you claim.

Also, to prove something here:

- Please remove all the fixes you've done to Supercharger after I've made the claim that your services.jar hack is half-baked. This would prove that I've made any wrong calls and that I'm inexperienced.

- If you do not want to remove all the fixes I've asked you to fix (LRU calculation, dumpOOM, lowMemory calculations), then please apologize to me and leave this conversation.

And one more thing about logcats. Hacking the services.jar won't show anything on the logcat (unless you're talking about app limits, which isn't even talked about in both our threads). LRU calculations/lowmemory threshold/dumpOOM methods won't show anything in the logcat unless you specifically put some lines that does some echoing and have create a special app that extends the class to do something about it.

Talk about being inexperienced. LOL.
[Android Software/Hacking General [Developers Only]] hoholee12:
why dont u test it yourself dude

dont just look at the codes, apply it and feel the real performance of how its working.

If you still think its not better than your script, then ill agree with whatever you said:)

Personally, i feel supercharger is a bit better than yours.

Little lags with almost no launcher redraws.

Yours? same as using stock:lolcats:

Sorry if my english is bad.

Please, just call me 'Lag Doctor'.
[Android Software/Hacking General [Developers Only]] pikachu01:
In case you're wondering what this is all about, ThunderBolt! also tweaks the same lowmemorykiller properties that Supercharger does back in Gingerbread days (and still for stock Samsung ICS).

I know how a fully baked LMK feels like (back in Gingerbread days). I don't need to test how good it is if I've already tested it in Gingerbread right?

I'm not saying Supercharger is better or worse that ThunderBolt!. Please read more about what's going on rather than blindly dissing other people's work due to me giving you criticism for your own scripts.

The problem here is that the services.jar hack for ICS is half-baked as proven with the many fixes Zep tried to apply after I pointed it out.

If Zep manages to fix all the bugs I've pointed out, then it would be fully baked.

One more thing though. Just saying that ThunderBolt! feels like stock means you're not using it correctly. Please read the 1st post thoroughly before attempting to use ThunderBolt!
[Android Software/Hacking General [Developers Only]] hoholee12:
1.lol I know exactly whats going on here.

2.No i wasnt dissing bout your script.

Its my real opinion. Ive read everything here.

Btw; like you just said, well dont critisize others work. Why did u critisize about my script then?

youd know how it would feel when someone criticizes you like posting in your thread like this.:mad:

Thats my point dude.

okay then,

One thing i should "criticize"about your script.

Non-advanced users like me wont even know how to manually edit those scripts and they fear they would mess up something.

>Simplify your script for others.

Edit: another thing,

you say screenstate scailing should be running with smanager.

Well that smanager gets killed by task killer so it obviously wont work.

>Use init.d.

Easy.

Please, just call me 'Lag Doctor'.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
So whatever you're saying is unprovable and you're unwilling to try and prove whatever your hypothesis is.

I've acknowledged there was room for improvement and yet you take that as a sign of weakness - which is an immature stance on the matter.

I made changes that I agreed were necessary.

Obviously I didn't make changes that I deemed unnecessary.

You're not gonna check out the current incarnation just as you didnt check out prior incarnations - so you will always remain inexperienced in regards to SuperCharging anything.

Oh and btw, ALL ICS and JB roms have ProcessList.smal with the 2 arrays for setting minfrees along with the scaling factor.

Anything you say to the contrary is wrong information.
[Android Software/Hacking General [Developers Only]] dark_knight35:
What do you want to edit in the scripts? They couldn't be easier to understand, and the only script which you should edit is screenstate scaling. You have to delete a few '#' and you even get a guide for that. pikachu didn't say that you should run screenstate scaling with smanager, you should just do so when flashing it gives boot loops.
[Android Software/Hacking General [Developers Only]] hoholee12:
?

Please, just call me 'Lag Doctor'.
[Android Software/Hacking General [Developers Only]] pikachu01:
1. You don't understand what's going on here as you're even clueless about the Script Manager screenstate_scaling issue.

2. I'm not saying criticizing is bad. I'm saying that blindly dissing people's work is bad.

- I'm not mad at criticisms if that someone backs up their facts with sources and is constructive at it.

- Saying other people's feelings/review about it isn't facts.

- Source code and/or logs are facts.

As dark_knight35 had posted, you don't need to edit the scripts. Just using it as is, is enough. If you want to, you can edit the scripts (just like people can edit your scripts if they want to). I've given a guide to edit the scripts as well.

About the Script Manager issue. You only have to run it with Script Manager if it hangs at boot. (as pointed out again by dark_knight35). Hence, please talk less, read more.
[Android Software/Hacking General [Developers Only]] pikachu01:
Lines of source code is already proof. I can't be penalized if the jury is source code illiterate can't I?

I didn't take it as a sign of weakness. I took your act of brushing it off like it was nothing as a sign of weakness. It literally reveals your stance on Android's lowmemorykiller.

And those changes were brought to light by whom?

I've obviously checked out the Gingerbread incarnations of Supercharger. How else ThunderBolt!'s LMK is based off of? :/

All AOSP JB/ICS anyways yes. I need time to pore through how Samsung stock ICS does its job to be able to confirm what it does with the ProcessList.
[Android Software/Hacking General [Developers Only]] itasoulas:
hey pika...as many people here ask about what LMK version to use on their phones (LMK we now is dependant of how much ram does the phone have), it would be nice creating a chart for a variety of phones and suggesting the preferred version. Thus you will save yourself time answering same thing + users will get the idea of how LMK works. Just suggesting!
[Android Software/Hacking General [Developers Only]] pikachu01:
Actually, even if there are recommendations, the overall system of how LMK works is still very user-dependent. It depends on how much multitasking vs performance that they want.

I'll create a chart sometime in the future to ease this choice making though. Thanks for the suggestion.
[Android Software/Hacking General [Developers Only]] zerorated24:
Better gaming experience than other scipts

Hi there. I wont say this thunderbolt script is "better" than v6 supercharger by zeppelinrox .But I have better gaming experience using main script and LMK( in gingerbread) than v6. However this scipt also mixes well with zepp's multitasking modm the maximum overdrive. No lags and issues at all. That's just by observation. I'm no expert in programming, I just have little knowledge from reading on threads. And also better gaming even with lots of apps running( of course some gets killed in order to free up needed RAM). I'm using 80MB LMK and everything works fine. I cannot comment LMK on JB right now because I am using cm10-xtended ROM(CM10 based).

THanks for this. My advise is, you and zepp should work together because your works are really awesome. If you will just settle things down and listen to each other, you will surely make the best performance-enhancing MOD for android.

:D
[Android Software/Hacking General [Developers Only]] pikachu01:
I'm already trying to work with the guy. Being berated after helping isn't fun ya know.

Tackled? So you can't handle criticism, especially one that focuses on the technical side of your script, and you would prefer to keep a grudge till Zep here comes aflaming and you join in just to put me down?
[Android Software/Hacking General [Developers Only]] spambayes:
Well, several actually, but to mention them now would be throwing oil on fire. (Fan)boys will be (fan)boys. Don't take the bait. Sometimes it's best to just shake the dust off your sandals, walk away and let your code do the talking. :cool:
[Android Software/Hacking General [Developers Only]] adame09:
If I'm using an HTC sensation 4g on cm10 which mount script should I use?

Here's my mount output ----->

u0_a86@android:/ $ su

u0_a86@android:/ # mount

rootfs / rootfs ro,noatime 0 0

tmpfs /dev tmpfs rw,nosuid,noatime,mode=755 0 0

devpts /dev/pts devpts rw,noatime,mode=600 0 0

proc /proc proc rw,noatime 0 0

sysfs /sys sysfs rw,noatime 0 0

/dev/block/mmcblk0p17 /vendor/firmware/misc vfat ro,noatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0

/dev/block/mmcblk0p19 /vendor/firmware/adsp vfat ro,noatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

tmpfs /mnt/asec tmpfs rw,noatime,mode=755,gid=1000 0 0

tmpfs /mnt/obb tmpfs rw,noatime,mode=755,gid=1000 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

/dev/block/mmcblk0p22 /system ext4 ro,noatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0

/dev/block/mmcblk0p23 /data ext4 rw,noatime,user_xattr,commit=60,barrier=0,data=ordered,noauto_da_alloc,discard 0 0

/dev/block/mmcblk0p24 /cache ext4 rw,noatime,user_xattr,commit=60,barrier=0,data=ordered,noauto_da_alloc,discard 0 0

/dev/block/mmcblk0p28 /devlog ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0

/sys/kernel/debug /sys/kernel/debug debugfs rw,noatime 0 0

/dev/block/dm-0 /mnt/asec/ext.recovery.control-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,barrier=1 0 0

/dev/block/dm-1 /mnt/asec/com.speedsoftware.rootexplorer-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,barrier=1 0 0

/dev/block/dm-2 /mnt/asec/com.teslacoilsw.launcher.prime-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,barrier=1 0 0

/dev/block/dm-3 /mnt/asec/com.levelup.beautifulwidgets-2 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,barrier=1 0 0

/dev/block/dm-4 /mnt/asec/com.quoord.tapatalkpro.activity-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,barrier=1 0 0

/dev/block/vold/179:65 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,noatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/block/vold/179:65 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,noatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

tmpfs /storage/sdcard0/.android_secure tmpfs ro,noatime,size=0k,mode=000 0 0

u0_a86@android:/ #

----->
[Android Software/Hacking General [Developers Only]] pikachu01:
I'll need to create a new remount script. Hang tight :)
[Android Software/Hacking General [Developers Only]] ernestnwanu:
Pika, I upgraded to the One S. Which remount script do I use? Thanks.
[Android Software/Hacking General [Developers Only]] pikachu01:
Can you provide the output of

mount

On your Terminal Emulator?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah. :)
[Android Software/Hacking General [Developers Only]] lbw321:
u0_a62@android:/ $ mount

rootfs / rootfs ro,noatime 0 0

tmpfs /dev tmpfs rw,nosuid,noatime,mode=755 0 0

devpts /dev/pts devpts rw,noatime,mode=600 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

proc /proc proc rw,noatime 0 0

sysfs /sys sysfs rw,noatime 0 0

/sys/kernel/debug /sys/kernel/debug debugfs rw,noatime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

tmpfs /mnt/secure tmpfs rw,noatime,mode=700 0 0

tmpfs /mnt/asec tmpfs rw,noatime,mode=755,gid=1000 0 0

tmpfs /mnt/obb tmpfs rw,noatime,mode=755,gid=1000 0 0

/dev/block/mtdblock3 /cache yaffs2 rw,nosuid,nodev,noatime 0 0

/dev/block/mtdblock5 /radio yaffs2 rw,noatime 0 0

/dev/block/mtdblock2 /datadata yaffs2 rw,noatime 0 0

/dev/lvpool/system /system ext4 ro,noatime,barrier=1,data=ordered 0 0

/dev/lvpool/userdata /data ext4 rw,nosuid,nodev,noatime,errors=panic,barrier=1,nomblk_io_submit,data=ordered 0 0

/dev/block/mtdblock4 /efs yaffs2 rw,noatime 0 0

/dev/block/vold/179:9 /storage/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/block/vold/179:1 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

tmpfs /storage/sdcard0/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

u0_a62@android:/ $

Should I use ext4 or yaffs remount script？

Thanks.
[Android Software/Hacking General [Developers Only]] pikachu01:
I'll make a remount for it. Hang tight :)

Use the yaffs remount script. remountCM_MIUI-yaffs
[Android Software/Hacking General [Developers Only]] zerorated24:
boot loop on screen sate scaling CM10

Hi pika, I flashed your latest screenstate scaling on my cm10 based rom, cm10-fxp xtended rom and kernel. I got bootloop. I thought it was compatible on cm based roms already
[Android Software/Hacking General [Developers Only]] pikachu01:
It was, though some custom CM ROMs might have different configurations that might make it still incompatible.

For that, you have to try Script Manager to see whether it works or not.
[Android Software/Hacking General [Developers Only]] zerorated24:
ok I will just charge my phone for a while
[Android Software/Hacking General [Developers Only]] dark_knight35:
@pikachu

Does the '#' comment this line in screenstate scaling out, or does it have another use?

#&& echo $AWAKE_GOVERNOR > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor;
[Android Software/Hacking General [Developers Only]] desalesouche:
hi can you tell me more about the libsqlite addon? i saw that it is for GB...but what else? what do they feature? thanks.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes. It comments out the line. This was to make it compatible with CM ROMs.

They reduce the safety level of the sqlite writes to improve the speed.
[Android Software/Hacking General [Developers Only]] Shryvone21:
Would this possibly work on the HTC one xl(the USA variant)?

Edit: I downloaded this script for my HTC one xl and couldn't find particular options for my phone but the remoubt script said HTC one x...is that for the international version?(Nividia chipset)
[Android Software/Hacking General [Developers Only]] zerorated24:
does not work when running scriptmanager

HI pika sorry for the late reply. I tried to run screenstate scaling with sscript amanger but it does not end. I just keep on running without any outut for 30 mins so I assume it does not work for my ROM(CM10 fxp xtended)

Also the sqilite script gives me this error although it gives me 0 output in script manager: is encrypted and is not a database? what does this mean? :D
[Android Software/Hacking General [Developers Only]] pikachu01:
I'll need the output of

mount

in Terminal Emulator to determine that. If it's compatible, you can use it.

For the screenstate_scaling, try running it then turning off and on your screen. You should see something there.

For sqlite_optimize, just ignore the "is encrypted/not a database" error. If you're waiting a long time for it to complete, it works.