[Q] How to get this slab to move optimally - Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting

I bought this slab for my kids and wanted to get the most of it, of course XDA is where I turn to in my time of need. So, I read all the tutorials and here is where I am at:
1. Rooted with Uruk 1.0
2. Set Comp Cache to 100Mib
3. Set Swap to 100
4. Removed buttons and installed button savior
It still feels sluggish, but definitely better than stock firmware. I realize this thing is not a Ferrari, but I feel it can be snappier. What other tweaks can I do to get maximum horsepower and not care about battery? I want this thing to run full throttle. What can you guys recommend?
Archos 70s

A few thoughts
rezn said:
1. Rooted with Uruk 1.0
Click to expand...
Click to collapse
This is a good start
rezn said:
2. Set Comp Cache to 100Mib
3. Set Swap to 100
Click to expand...
Click to collapse
I think this is what's helping kill you...
Compcache is a chunk set aside from free system ram (we only have 256mb!!!), then compressed - not a very nice operating environment, but helps when theres more in memory than can be held, it'll ship the less used things to the comp - Honestly, I don't think you should go more than 15-25% of total system ram on this setting, you dont want to kill your fast, albiet small memory.
I think swap kinda sucks, even though I keep a small one on my system, but that's mainly because of the smallish spec we have to deal with... I usually dont keep this too big either - everything that gets shipped there by the system takes FOREVER to load. Maybe it works better mounted on a really fast sdcard, but I think it would be negligible.
My thoughts? Set compcache to 24-32mb and swap to 2x your compcache.
rezn said:
I realize this thing is not a Ferrari, but I feel it can be snappier. What other tweaks can I do to get maximum horsepower and not care about battery? I want this thing to run full throttle.
Click to expand...
Click to collapse
What you do with your cpu scaling has a major part to do with power, both horses and battery.
If you don't care about your battery life, set your power management to overdrive, set the cpugovernor to performance, and read up on this thread http://forum.xda-developers.com/showthread.php?t=1169625 , it will help you lock your cpu down after boot, so nothing non-SU can hijack your speeds.
Start there, and see how it runs

Thanks wokker! You provided some great information and helped me understand those compcache and swap settings better. I am going to try everything and do your suggestions and then will let you know how it goes.

Add'l recommendations
Some other tweaks you can try with a rooted Archos is the SuperCharger Script: http://forum.xda-developers.com/showthread.php?t=991276. I used Option 6 - Balanced. If you need to change your busybox version download Busybox from Stephen (Stericson). Busybox installer from jrummy16, as much as i prefer that, doesn't install correctly on my 70IT.
And SD Speed Increase from the market, based on the script from here: http://forum.xda-developers.com/showthread.php?t=1010807, to increase the cache size for SD Card reading. 2MB is the standard choice (By default the Archos only has 128kb allocated!)
Oh and turn off Live wallpapers, as nice as it looks it really bogs down the tablet!

gersto said:
Some other tweaks you can try with a rooted Archos is the SuperCharger Script: http://forum.xda-developers.com/showthread.php?t=991276. I used Option 6 - Balanced. If you need to change your busybox version download Busybox from Stephen (Stericson). Busybox installer from jrummy16, as much as i prefer that, doesn't install correctly on my 70IT.
Click to expand...
Click to collapse
I've been using AutoKiller Memory Optimizer - and from what I read in the link above is that this SuperCharger script is pretty much the same - but what about the other tweaks AKMO allows, does the SC script change those settings too?
Honestly, I like AKMO (enough to donate even!), and have been using it for sometime on my G1 and A101 (with great success, it really helps optimize everything), but don't like the load time at boot to enact all the settings, so if there's a way to script the changes I want, I would rather that.
Anyone with a bit more linux/android knowledge care to help? (I only know enough to be dangerous!)

Nope.
Nothing does what V6 SuperCharger does.
Not AKMO, Not AMM, not any minfree tweaker.
Because nothing actually fixes messed up OOM Groupings and Priorities.
As proof, nothing eliminates launcher redraws.
Except for V6.
As for the other tweaks, I'm including pretty much all the best tweaks that I can find with V8 SuperCharger - I want to implement a total system optimization.
For starters, see the following post for the 3G TurboCharger and Kick Ass Kernel Tweaks...
http://forum.xda-developers.com/showpost.php?p=15808025&postcount=208

A taste of V8... you can grab 3G TurboCharger & Kick Ass Turbo Tweak Installers from here...
3G TurboCharger and Kick Ass Kernel Tweaks
You can modify the 3G script to add metalspring's additional build.prop entries

zeppelinrox said:
For starters, see the following post for the 3G TurboCharger and Kick Ass Kernel Tweaks...
http://forum.xda-developers.com/showpost.php?p=15808025&postcount=208
Click to expand...
Click to collapse
Are these going to work alright on our systems?
V6 seems to be doing alright, but I had to heavily modify the KickAssKernel script to work on my system, and even then, I could only get the kernel tweaks to take, none of the cfq io scheduler tweaks, normalized sleeper, or noatime are going, but I'm not familiar enough with linux commands to really control the situation.
This is how I got the kernel tweaks to run:
Code:
sysctl -w vm.swappiness=0
sysctl -w vm.oom_kill_allocating_task=0
sysctl -w vm.panic_on_oom=0
sysctl -w vm.dirty_background_ratio=60
sysctl -w vm.dirty_ratio=95
sysctl -w vm.min_free_kbytes=4096
sysctl -w vm.vfs_cache_pressure=10
sysctl -w kernel.panic=0
sysctl -w kernel.panic_on_oops=1
sysctl -w kernel.msgmni=2048
sysctl -w kernel.msgmax=64000
sysctl -w kernel.shmmax=268435456
sysctl -w kernel.sem='500 512000 64 2048'
sysctl -w kernel.sched_features=24189
sysctl -w kernel.hung_task_timeout_secs=0
sysctl -w kernel.sched_latency_ns=18000000
sysctl -w kernel.sched_min_granularity_ns=1500000
sysctl -w kernel.sched_wakeup_granularity_ns=3000000
sysctl -w kernel.sched_compat_yield=1
sysctl -w kernel.sched_shares_ratelimit=256000
sysctl -w kernel.sched_child_runs_first=0
sysctl -w kernel.threads-max=5000
sysctl -w net.core.wmem_max=524288
sysctl -w net.core.rmem_max=524288
sysctl -w net.ipv4.tcp_tw_recycle=1
sysctl -w net.ipv4.tcp_rmem='6144 87380 524288'
sysctl -w net.ipv4.tcp_wmem='6144 87380 524288'
sysctl -w vm.dirty_writeback_centisecs=2000
sysctl -w vm.dirty_expire_centisecs=1000
The KickAssKernel would return ALOT of errors, until I cleaned it up to the above, then it all took just fine.
I would really like to get the other tweaks going... any suggestions?... Seems these systems with the Uruk CFW dont play exactly the same as others...
EDIT: I have tried the KickAssKernel Installer, the kernel tweaks take, but everything else (cfq, sleeper, etc.) errors out with a syntax error: unexpected line - I have tried to clean the cfq code in it's simplest form to:
Code:
for i in $(ls -d /sys/block/*)
do
echo "cfq" > $i/queue/scheduler
done
Still returns a syntax error...

Question
Does anyone know if JIT vm is enabled in UrukDroid?

wokker666 said:
EDIT: I have tried the KickAssKernel Installer, the kernel tweaks take, but everything else (cfq, sleeper, etc.) errors out with a syntax error: unexpected line - I have tried to clean the cfq code in it's simplest form to:
Code:
for i in $(ls -d /sys/block/*)
do
echo "cfq" > $i/queue/scheduler
done
Still returns a syntax error...
Click to expand...
Click to collapse
It may be a busybox issue. What version are you running?

zeppelinrox said:
It may be a busybox issue. What version are you running?
Click to expand...
Click to collapse
I'm running 1.17.2 - Comes stock with UrukDroid

wokker666 said:
Code:
for i in $(ls -d /sys/block/*)
do
echo "cfq" > $i/queue/scheduler
done
Still returns a syntax error...
Click to expand...
Click to collapse
Try...
Code:
for i in /sys/block/*/queue/scheduler
do
echo noop > $i
done
To see what schedulers that you have available type this in terminal:
cat /sys/block/*/queue/scheduler
You'll see a bunch of lines that look like this "noop anticipatory deadline [cfq]"
The one in the brackets is what is being used, the others are available options.
For our phones, noop or deadline are preferable.

zeppelinrox said:
Try...
Code:
for i in /sys/block/*/queue/scheduler
do
echo noop > $i
done
To see what schedulers that you have available type this in terminal:
cat /sys/block/*/queue/scheduler
You'll see a bunch of lines that look like this "noop anticipatory deadline [cfq]"
The one in the brackets is what is being used, the others are available options.
For our phones, noop or deadline are preferable.
Click to expand...
Click to collapse
That worked, got my scheduler running noop now, it was running anticipatory - after reading up on the different schedulers, dosen't seem efficient for flash memory that's for sure!
Making this unit better one tweak at a time!

Awesome... I'm really glad it worked!
It's tough when something works on one configuration but it's a syntax error on another.
Looks like I should tweak the tweak script

Updated the 3G and Kernel scripts...
Included the above adjustment as well as a couple of other things...
Oh yeah... V6 SuperCharger is on XDA's front page!
Link to article: http://www.xda-developers.com/android/make-the-best-out-of-your-android-device-with-v6-supercharger/

zeppelinrox said:
Oh yeah... V6 SuperCharger is on XDA's front page!
Link to article: http://www.xda-developers.com/android/make-the-best-out-of-your-android-device-with-v6-supercharger/
Click to expand...
Click to collapse
Well deserved i must say!
I'll have to try the 3G and kernel tweaks on my Eris and the Archos70....

Thank you
I had to update the 2 scripts again... the kernel script wasn't doing the noop/io schedular stuff or noatime...
Sorry

zeppelinrox said:
Thank you
I had to update the 2 scripts again... the kernel script wasn't doing the noop/io schedular stuff or noatime...
Sorry
Click to expand...
Click to collapse
Heh, I wouldn't worry about it, I'm pretty positive everyone here on xda, and everywhere else really appreciates your work, keep it up!!!
One thing I might suggest (if it's even possible), you may want to put some cpu governor settings and locks in your script, make a few different choices available.
I've really noticed a huge difference in performance ever since I reset the gov, and locked in the settings so nothing non-SU can hijack the values. (It may not be for your script though, so many different units out there with wildly different specs)
This is the gov / lock script I use: (thank you arpruss!)
Code:
cd /sys/devices/system/cpu/cpu0/cpufreq
echo interactive > scaling_governor
chmod 644 scaling_max_freq
echo 100000 > scaling_max_freq
chmod 444 scaling_max_freq
chmod 644 scaling_min_freq
echo 800000 > scaling_min_freq
chmod 444 scaling_min_freq
This has completely locked my cpu to progs that arent determined enough to use SU capability, i.e. Netflix (likes to clock you down when more is needed)
Reference thread: http://forum.xda-developers.com/showthread.php?t=1169625
You may also (again, if it's possible) want to leave *vm.swappiness=0* as a choice to the user - some like to use compcache and swap, and if the kernel tweak goes thru unchecked, the user will have their swap disabled and not even know it, and to boot, the system will start the swap services, reserve the space for them, and just never use them!

I had thought about including overclocking related settings but decided against it as I'm pretty sure that no one set of tweaks would apply to all roms.
I was actually going to leave the swappiness out for the same reason - not all roms have swap. But I forgot to remove it

zeppelinrox said:
I had thought about including overclocking related settings but decided against it as I'm pretty sure that no one set of tweaks would apply to all roms.
Click to expand...
Click to collapse
Not so much overclock settings, because alot of roms out there don't have OC kernels, but more like 'processing efficiency' settings.
Pretty much every rom has the basic governor settings, and most of those go a little beyond offering a couple more, but not all of them give a clear cut way to select what you want.
Maybe throw some basic settings in the script - ondemand, powersave, conservative, performance - and maybe even throw in interactive for those who can use it in their roms.
*Just the thoughts of a crazy, rambling perfomance junkie*

Related

Collection of Tweaks | 11/08/11

Tripnraver and Fanboys that wants to start trouble follow this Link! If you want to clear up the Discussion and stop fighting write me a PM and if not stay at Modaco, i even post the link for you all
Open TripNHome
XDA Users stay here and help collecting some nice X10 Tweaks to help the whole Community, every Dev/Cooker knows other Tweaks so i would like to invite all to share there best Tweaks here. Above i post some basic Tweaks and a example File how it looks like.
build.prop Tweaks
# Network
HTML:
ro.ril.hep=1
ro.ril.hsxpa=2
ro.ril.gprsclass=10
ro.ril.hsdpa.category=8
ro.ril.hsupa.category=5
ro.telephony.call_ring.delay=1000
# Product
HTML:
ro.product.multi_touch_enabled=true
ro.product.max_num_touch=2
mot.proximity.delay=100
# Performance
HTML:
dalvik.vm.startheapsize=48m
dalvik.vm.heapsize=48m
dalvik.vm.execution-mode=int:jit
dalvik.vm.dexopt-flags=m=y
dalvik.vm.dexopt-data-only=1
dalvik.vm.lockprof.threshold=200
windowsmgr.max_events_per_sec=300
VM Tweaks
HTML:
echo 95 > /proc/sys/vm/dirty_ratio
echo 20 > /proc/sys/vm/vfs_cache_pressure
echo 4096 > /proc/sys/vm/min_free_kbytes
echo 1 > /proc/sys/vm/oom_kill_allocating_task
echo 60 > /proc/sys/vm/dirty_background_ratio
echo 1000 > /proc/sys/vm/dirty_expire_centisecs
echo 2000 > /proc/sys/vm/dirty_writeback_centisecs
Minfree Tweak
HTML:
echo 1536,3072,4096,15360,17920,20480 > /sys/module/lowmemorykiller/parameters/minfree
SD Card Tweak
HTML:
echo 2048 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
echo 2048 > /sys/devices/virtual/bdi/default/read_ahead_kb
build.prop Tweaks go to system/build.prop
other Tweaks go to system/etc/install-recovery.sh
I attached 2 sample files with these Tweaks included.​
shall we edit these even if running 3.6?
bodomfan said:
shall we edit these even if running 3.6?
Click to expand...
Click to collapse
No
10 Characters
Wolfbreak said:
No
10 Characters
Click to expand...
Click to collapse
Lol ok,dumb question really.its probably all included ,iv posted a request in the rom thread
im liking v3.6 atm similar to 3.5,you got any new plan sfor releases,it would be kwl if you could get achotjans green signal bar in there as he said you have his permission and also the samsung galaxy s type gingerbread battery icon,would look sexy and very gb
You can flash the Addon yourself if you like it i dont need to include it. The ROM Style will stay same, all Theme modifications the Users can flash themself like they want it becouse everyone likes different i wont touch the Theme, everyone can flash what they want becouse i cant make a Theme everyone will like becouse thats just not possible, some like Blue, some like Carbon.....
BTW this doesnt has something to do with this Thread so please keep it clean
Wolfbreak said:
You can flash the Addon yourself if you like it i dont need to include it. The ROM Style will stay same, all Theme modifications the Users can flash themself like they want it becouse everyone likes different i wont touch the Theme, everyone can flash what they want becouse i cant make a Theme everyone will like becouse thats just not possible, some like Blue, some like Carbon.....
BTW this doesnt has something to do with this Thread so please keep it clean
Click to expand...
Click to collapse
ok thanks
10 characters
Hopefully you can create flashable zip for us.
Thanks Wolfbreak!!
You can edit buildprop w the flashtool or w rootexplorer, depending on which rom you are running, some of these tweaks may already be implimented!!
Zip file is too easy!! Explore research have fun.... just make a back up first....
Best regards,
Chris
Sent from my X10 TripNMiUI-Iris using XDA App
Already did it manually using Flashtool and Root Explorer.
But for others who need quick progress, WB should create flashable zip for them.
AND
If can, maybe WB should consolidate addon such as Bravia Engine, FPS uncap, xLoud, Audio Fix, in one flashable zip.
Hi wolfbreak
I was changing the tweaks u had given
I was changing the below tweak
ro.product.multi_touch_enabled=true
ro.product.max_num_touch=2
mot.proximity.delay=100
and i found that max num of touch was 4 instead of 2 by default.... does this mean anything?
2Wolfbreak : according to this http://www.linuxinsight.com/proc_sys_vm_oom_kill_allocating_task.html I wouldn't do this "echo 1 > /proc/sys/vm/oom_kill_allocating_task". Placing 0 performs better, and prevents some unexpected FCs.
awesome man.>!!!
Thats a good initiative I was thinking of starting something like this for past two day but was wait that some actual dev to start it and i will contribute more.
ohk so here are one or two simple tricks from my side.
those who don't want to mess with install-recover.sh and prefer keeping the init.d style work
here is how you can enable init.d support.
add one line at end of your install-recovery.sh
Code:
# trying run-parted
/system/xbin/busybox run-parts /system/etc/init.d
some more tweaks which might overlap with the existing tweaks posted here...
http://forum.xda-developers.com/showthread.php?p=16441133#post16441133
Note : as usual non of the credit to me all credit to Dev's.
Request
Can someone point all guides of framework customization and howtos related to that at one place.
stuff like replacing the background image to adding a reboot option and simmilar stuff.
all links at one place would be just fine for new dev's (don't get angry if its already there and i missed it, coz there are chances of it too...)
So what do these tweaks actually do?
*improve* your phone will be the sarcastic answer, but forgive me if I won't blindly apply tweaks without having at least some idea as to what they are doing?
anantshri said:
Can someone point all guides of framework customization and howtos related to that at one place.
stuff like replacing the background image to adding a reboot option and simmilar stuff.
all links at one place would be just fine for new dev's (don't get angry if its already there and i missed it, coz there are chances of it too...)
Click to expand...
Click to collapse
If u need help PM me.
blueowl0708 said:
So what do these tweaks actually do?
*improve* your phone will be the sarcastic answer, but forgive me if I won't blindly apply tweaks without having at least some idea as to what they are doing?
Click to expand...
Click to collapse
That's actually a good question i will see what i can help you with then later on other remaining could be answered by otheres.
# Product
HTML:
ro.product.multi_touch_enabled=true
ro.product.max_num_touch=2
mot.proximity.delay=100
This tweak is basically a build.prop tweak which is making system aware of a dual touch capable system.
# Performance
HTML:
dalvik.vm.startheapsize=64m
dalvik.vm.heapsize=64m
dalvik.vm.execution-mode=int:jit
dalvik.vm.dexopt-flags=m=y
dalvik.vm.dexopt-data-only=1
dalvik.vm.lockprof.threshold=150
windowsmgr.max_events_per_sec=80
These are basically VM related tweaks first making heapsize 64M i.e. larger default is smaller. also this last line makes your system more responsive i keep something higher then 250 in place of 80.
VM Tweaks
HTML:
echo 95 > /proc/sys/vm/dirty_ratio
echo 20 > /proc/sys/vm/vfs_cache_pressure
echo 4096 > /proc/sys/vm/min_free_kbytes
echo 1 > /proc/sys/vm/oom_kill_allocating_task
echo 60 > /proc/sys/vm/dirty_background_ratio
echo 1000 > /proc/sys/vm/dirty_expire_centisecs
echo 2000 > /proc/sys/vm/dirty_writeback_centisecs
VM Tweaks basically change min free bytes and kill level's of application used internally by android for memory management.SD Card Tweak
HTML:
echo 2048 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
echo 2048 > /sys/devices/virtual/bdi/default/read_ahead_kb
This is a simple tweak which specifies the read ahead buffer which is by default 128Kb effectively making your SDCard i/o faster.
Hope these could clarify your doubts remaining ones wolf or others might give a try to explain.
a flashable zip file would be nice
ive been trying to place my own tweaks within the install-recovery.sh file however when i flash zip the file seems to have changed however nothing actually takes effect. new to this side of things so could just be a schoolboy error lol. can say if i use the simple install-recovery.sh file from Z's uncap fps or even yours from your rom and flash it.. it all works well! if i try to edit any of yours and flash again.. nothing happens! wat am i missing?

[Q] Autokiller advanced system tweaks in own script

I am referring to this thread:
http://forum.xda-developers.com/showthread.php?t=771232
I'd like to add/change some of these settings on my Archos 70 IT (no phone).
Windows max events
wifi scan level
Dalvik heap size
Unfortunately, the thread says, the values have to be adjusted in the build.prop, but I don't have these settings in there. In my opinion I should have the settings above as they are common in Android.
In fact, I'd like to add all settings of Autokiller memory optimizer.
What I did so far:
IO scheduler, set to noop
Added
http://www.xda-developers.com/android/the-best-ram-optimisation-script-for-android/
and changed the settings for lowmemorykiller
SD Card Cache, I have an app for that.
Can anybody tell me how to add the other settings in a script?
http://andrs.w3pla.net/autokiller/kernel
Even if you don't have some of the values already there, you can add them. Check out this thread: http://forum.xda-developers.com/showthread.php?t=1227269 .
Thanks.
One more question:
Are these files executed on boot?
I'd feel better if I have the additional settings in an own script such as /system/etc/init.d/S99ownscript.
This is, as I understand it, executed as the last scricpt. (R before S, and then numbers)
Is this possible or do I have to write the settings in the boot.prop or init.d file?
Are the build.prop and init.d files executed at each boot or only once, when the machine is set up?
€dit:
I added the following to my S99 script:
ro.HOME_APP_ADJ=1
ro.media.enc.jpeg.quality=100
debug.sf.hw=1
debug.performance.tuning=1
video.accelerate.hw=1
Click to expand...
Click to collapse
What do I have to enter in terminal to check, if these values are active?
For example:
cat /sys/block/mmcblk0/queue/scheduler
Click to expand...
Click to collapse
to check, which scheduler is active.
*push*
nobody?
lordofazeroth said:
One more question: Are these files executed on boot?
I'd feel better if I have the additional settings in an own script such as /system/etc/init.d/S99ownscript.
Is this possible or do I have to write the settings in the boot.prop or init.d file?
Are the build.prop and init.d files executed at each boot or only once, when the machine is set up?
Click to expand...
Click to collapse
Yes, those files (build.prop and init.d) are executed at every boot. It is possible to make your own script, but it's better if you make a flashable one so that it will always stay and you wouldn't have to worry about if it was executed or not (since it will be "in" the rom and always executed).

[SCRIPT] MySwap v1.0 (SD and NAND) 13/11/2013

THIS IS A SCRIPT TO HAVE SWAP AND NOT A ROM!
I tested the swap on "CM10.x" by volk204 but there isn't a reason it shouldn't work on other rom versions.
version 1.0 13/11/2013 18:29 GMT+2
I experienced some lag with my wave due to its low ram memory. So after testing a few things i found myself more comfortable with setting up swapfile on sd card(NAND memory); after few minutes this terminal becomes really smooth. (It strangely is faster than setting it up on the phone memory, atleast for me)
The idea is mine, but checking around i found that many other script were made. I got the sleep line to boot part idea from "Defiant07 @ XDA" (http://forum.xda-developers.com/showthread.php?t=2359182). Everything else (as simple it is it's all mine)
Swap is the *nix term for virtual memory, that maybe many are familiar with on windows.
You set up a partition/file and use that as virtual memory. It will be much slower than real ram, but it will be much faster than reloading everything from disk everytime.
Code:
#!/system/bin/sh
# This script was authored by Defiant07 @ XDA. If you use/redistribute it, eve$
# Thanks to zeppelinrox most of all, but also many thanks to dk_zero-cool & gu5$
# Much thanks to pikachu01 @ XDA for permission to use the sysctl tweaks from T$
# Read Karl Marx!
# Nearly entirely modified by skyglow
swapfile="/storage/sdcard0/swapfile"
#swapsize in KB
swapsize=524288
swappiness=90
vfs_cache_pressure=100
dirty_background_ratio=5
dirty_ratio=20
dirty_writeback_centisecs=500
dirty_expire_centisecs=200
while [ ! "`ps | grep -m 1 [a]ndroid`" ]; do sleep 10; done
if [ ! -f "$swapfile" ]; then
dd if=/dev/zero of=$swapfile bs=1024 count=$swapsize
mkswap $swapfile
fi
# sleep 30
# mkswap $swapfile
swapon $swapfile
busybox sysctl -e -w vm.swappiness=$swappiness
busybox sysctl -e -w vm.vfs_cache_pressure=$vfs_cache_pressure
busybox sysctl -e -w vm.dirty_background_ratio=$dirty_background_ratio
busybox sysctl -e -w vm.dirty_ratio=$dirty_ratio
busybox sysctl -e -w vm.dirty_writeback_centisecs=$dirty_writeback_centisecs
busybox sysctl -e -w vm.dirty_expire_centisecs=$dirty_expire_centisecs
exit 0
Requirements
Superuser rights on terminal to change permission and copy this file
Configuration
1) set up "swapfile" field to where you want your swap
2) set up "swapsize" field to an appropriate value in KB! ( i think you should try values over 307200 => 300MB to have performance improvements)
(SD or NAND version)
SD version
size=512 MB
position=sdcard root
NAND version
size=300MB
position=bada application partition
How to install
1) Download the right zip from this page
2) Extract the file from the zip
3) Upload the file in some way on the phone
4) Become superuser
5) move it to "/system/etc/init.d"
6) this file should keep hits name "99myswap"
7) change permissions of "99myswap" to 755
8) change its rights to "root:shell"
9) done, next reboot your swap will be set up automatically
P.S.
How to check if swap is activated:
Open terminal
cat /proc/swaps
Swap filename should be displayed with the right size
[ADDED DEBUG SCRIPT]
Possible problems
1) System hangs on cyanogen loading screen ( rotating circle)
INVESTIGATING
2) Battery charge lasts less.
Any kind of virtual memory use more electrical power to perform write/read on disk (SD). This is a side effect of swap.
3) File format
*NIX file format is LF and not CR-LF (for reference why this happens http://en.wikipedia.org/wiki/Newline#Representations)
You can't edit the file with windows notepad, but use something else such as notepad++ and save it in LF coding.
4) System is slower
Possible causes are:
a) you have applications on the same filesystem where you placed the swap
b) your memory (such as SD card) is too slow. Swap will work, it will just go much slower. Try it with a better sd. I tested it with a class 4 and class 10 sdcard and they both speed up. I don't have any possibility at the moment to test a class 2. (reference http://en.wikipedia.org/wiki/Secure_Digital#Speeds)
5) How to change permissions (thanks Eltjo for copy paste from your answer)
Open terminal
Type: su
Type: cd /system/etc/init.d
Type: chmod 0755 99myswap
Type: chown root:shell 99myswap
6) zRam
On my mobile it's faster if i disable zRam from Settings > Performance > Memory Management > zRam .
Anyway i think outcome may change. Try both solutions.
could be possible to use free nand memory as swap instead of sd card?
cfernr said:
could be possible to use free nand memory as swap instead of sd card?
Click to expand...
Click to collapse
I added the NAND version that installs itself in the bada partition. If you installed the sd version remember to remove the swapfile.
darklight2k2 said:
I added the NAND version that installs itself in the bada partition. If you installed the sd version remember to remove the swapfile.
Click to expand...
Click to collapse
lets try both, thank you very much
no problem.
DEBUG REQUEST
Who had the loading screen on cyanogen circle may tell me which sd card class have?
The following procedure do not install the script, it just will work till reboot.
may them try to upload the script in a generic directory such as /storage/sdcard0 and execute it with
su
cd /storage/sdcard0
sh ./99myswap
I'd like the output of that command and the resulting /proc/swaps
then use the phone, (play/call/charge/reboot)
next boot start the script again please and tell me the resulting /proc/swaps again
Thank you for the help
seems work on my phone.
installed swapfile on nand and ram increased 30mb, but low improvement in real performance.
need to change zram options, but cant find this on my phone, maybe due to language discrepancy. can you explain better?
thank you a lot
I also cannot find zram a options under B.U.X V3.1 (4.3.1 CM10.2) by Tigrouzen
If you don't have the menu for zRam it's disabled by default. To see it you should enable all developer settings.
Settings > About phone > Build number (tap 7 times)
Some more tweaks will unlock.
saltcushy said:
I also cannot find zram a options under B.U.X V3.1 (4.3.1 CM10.2) by Tigrouzen
Click to expand...
Click to collapse
Unfortunally i didn't test that rom yet but i think the procedure above will work.
darklight2k2 said:
If you don't have the menu for zRam it's disabled by default. To see it you should enable all developer settings.
Settings > About phone > Build number (tap 7 times)
Some more tweaks will unlock.
Unfortunally i didn't test that rom yet but i think the procedure above will work.
Click to expand...
Click to collapse
tested and I have to say this is necessary if you want to enjoy a few extra mb in this phone.
I recommend nand swap because everybody have 300-400 unused mb in bada apps partition.
disabling zRAM seems also recommendable.
I hope everybody take care of this script for future ROM releases
*** I will decrease swappiness to 70 or 60, I think it is enough.
darklight2k2 said:
no problem.
DEBUG REQUEST
Who had the loading screen on cyanogen circle may tell me which sd card class have?
The following procedure do not install the script, it just will work till reboot.
may them try to upload the script in a generic directory such as /storage/sdcard0 and execute it with
su
cd /storage/sdcard0
sh ./99myswap
I'd like the output of that command and the resulting /proc/swaps
Thank you for the help
Click to expand...
Click to collapse
i've a samsung class 10 32gb.
i've not run the script with sh command, just copied it to /system/etc/init.d (aplied chmod and chown) and reboot the phone. after that it hangs on CM circle on first boot and have to re-install the rom. wipe data/factory reset didn't help.
best regards
JonasVFC said:
i've a samsung class 10 32gb.
i've not run the script with sh command, just copied it to /system/etc/init.d (aplied chmod and chown) and reboot the phone. after that it hangs on CM circle on first boot and have to re-install the rom. wipe data/factory reset didn't help.
best regards
Click to expand...
Click to collapse
To try to solve it i need to know what happens when executed with the sh command
darklight2k2 said:
To try to solve it i need to know what happens when executed with the sh command
Click to expand...
Click to collapse
after installing the rom again it can boot the first time but hangs on the second like everybody else
running with sh it runs ok
JonasVFC said:
after installing the rom again it can boot the first time but hangs on the second like everybody else
running with sh it runs ok
Click to expand...
Click to collapse
that's why i said not install in the problem request
problem is with chown, just run the chmod 755. didn't run chown command last time and it booted second and third time
edit: nevermind, it hanged again
darklight2k2 said:
that's why i said not install in the problem request
Click to expand...
Click to collapse
i did it with 2 different ways....with a fresh install between and both hang
JonasVFC said:
i did it with 2 different ways....with a fresh install between and both hang
Click to expand...
Click to collapse
You're just posting and posting what happens but not what i asked you to do to five me information.
darklight2k2 said:
You're just posting and posting what happens but not what i asked you to do to five me information.
Click to expand...
Click to collapse
i did what you asked, read again, i ran it with sh: it runs fine!! creates the swapfile and outputs some parameters that are in the script like swapiness and others....
JonasVFC said:
i did what you asked, read again, i ran it with sh: it runs fine!! creates the swapfile and outputs some parameters that are in the script like swapiness and others....
Click to expand...
Click to collapse
Hi, @JonasVFC.
I understand you've been running the Swap version of Android v2.1 Volk204. How do you get it?.
Yo, if I install the file in the directory 99myswap indicating the first page, but I get that the system does not start, stays on constantly CM logo.
A greeting.
chapito said:
Hi, @JonasVFC.
I understand you've been running the Swap version of Android v2.1 Volk204. How do you get it?.
Yo, if I install the file in the directory 99myswap indicating the first page, but I get that the system does not start, stays on constantly CM logo.
A greeting.
Click to expand...
Click to collapse
May you guys try the following attached file please?
when it hangs may you post the logfile created in the phone directory ( you can get it from bada)

[Q&A] [ROM] Gohma 2.0 - 12/15/2014 [Android Wear]

Q&A for [ROM] Gohma 2.0 - 12/15/2014 [Android Wear]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [ROM] Gohma 2.0 - 12/15/2014 [Android Wear]. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
It appears that the vibration and other settings are not active in Gohma 2.0
From my research it seems that the /system/etc/rc.d/01tweaks file never gets to run.
I have been messing around with my watch to find a place to trigger execution of that directory but haven't found one yet.
Where did you put an initialization for it last time?
Alynna said:
It appears that the vibration and other settings are not active in Gohma 2.0
From my research it seems that the /system/etc/rc.d/01tweaks file never gets to run.
I have been messing around with my watch to find a place to trigger execution of that directory but haven't found one yet.
Where did you put an initialization for it last time?
Click to expand...
Click to collapse
I'll have a fix shortly, sorry!
Alynna said:
It appears that the vibration and other settings are not active in Gohma 2.0
From my research it seems that the /system/etc/rc.d/01tweaks file never gets to run.
I have been messing around with my watch to find a place to trigger execution of that directory but haven't found one yet.
Where did you put an initialization for it last time?
Click to expand...
Click to collapse
The init.d/rc.d directories seem to be run from the /system/etc/install-recovery.sh file. Look there and you should see the run-parts command. Which btw okibi, is ingenious, using the stock recovery script to provide init.d support in the face of a kernel that doesn't support it natively.
What software compilation are using Gohma 2.0? I´ve been testing and I have the corrosion problem with a Lg G watch (1,4 volts between pins while being out of the charger), perhaps the base isn´t a "finished-on-Y" compilation?
Nice work, 0 lag everywhere!
Bootloop
While I was running the windows installation to upgrade to 2.0, the program crashed, and the rom is stuck in a bootloop. I can boot into fastboot, and the recovery, but nothing. Any help?
tharrllz said:
While I was running the windows installation to upgrade to 2.0, the program crashed, and the rom is stuck in a bootloop. I can boot into fastboot, and the recovery, but nothing. Any help?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=54250887
Toolkit should work to get back to stock lollipop.
Still a bug
There is still a little bug in gohma 2.1, but I fixed it in the script.
SOMETHING sets the governor back to userspace/787200 about a minute into the watches' boot.
I logged in and watched it occur.
However the other parameters now stick.
I fixed it with the following:
#!/system/bin/sh
/system/xbin/sysrw
##############################
# BEGIN CUSTOM USER SETTINGS #
##############################
# increase vibration intensity
# default is 80
echo 85 > /sys/class/timed_output/vibrator/amp
# default is 20
echo 175 > /sys/class/timed_output/vibrator/driving_ms
# switch from userspace to ondemand governor
# echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
# echo 787200 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
# Defer change until later, see enforcer below.
GOV=ondemand
FREQ=1094400
# set dpi (default is 240, smaller number means smaller text)
setprop ro.sf.lcd_density 200
##############################
# END CUSTOM USER SETTINGS #
##############################
# improve sd cache
if [ -e /sys/devices/virtual/bdi/179:0/read_ahead_kb ]; then
echo 2048 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
fi
# improve block speed
for node in `busybox find /sys -name nr_requests | grep mmcblk`; do echo 1024 > $node; done
# gpu rendering
busybox mv /system/lib/egl/libGLES_android.so /system/lib/egl/libGLES_android.bak
busybox sed -i '/0 0 android/d' /system/lib/egl/egl.cfg
# adjust minfree
echo "0" > /sys/module/lowmemorykiller/parameters/debug_level
echo "2560,4096,6144,12288,14336,18432" > /sys/module/lowmemorykiller/parameters/minfree
# improve file system mounts
busybox mount -o remount,noatime,nodiratime,noauto_da_alloc,data=ordered,nobh,barrier=0 -t auto /
busybox mount -o remount,noatime,nodiratime,noauto_da_alloc,data=ordered,nobh,barrier=0 -t auto /sys
busybox mount -o remount,noatime,nodiratime,nodelalloc,noauto_da_alloc,data=ordered,nobh,barrier=0 -t auto /system
busybox mount -o remount,noatime,nodiratime,nodelalloc,noauto_da_alloc,data=ordered,nobh,barrier=0 -t auto /data
busybox mount -o remount,noatime,nodiratime,nodelalloc,noauto_da_alloc,data=ordered,nobh,barrier=0 -t auto /cache
# improve transitions
if [ -e /data/data/com.android.providers.settings/databases/settings.db ]; then
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "update system set value = 0.5 where name = 'transition_animation_scale'"
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "update system set value = 0.5 where name = 'animator_duration_scale'"
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "update system set value = 1 where name = 'window_animation_scale'"
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "update global set value = 0.5 where name = 'transition_animation_scale'"
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "update global set value = 0.5 where name = 'animator_duration_scale'"
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "update global set value = 1 where name = 'window_animation_scale'"
fi
# enable sysctl tweaks
busybox sysctl -p /system/etc/sysctl.conf
/system/xbin/sysro
# Wait around for the system to change the governor and change it back, then exit when we're sure its set.
# This function will remain running for a minute to enforce the change, until it's sure the system won't change it back.
enforcer () {
X=0
while [ $X -lt 12 ]; do
if [ ! `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor` = $GOV ]; then
echo $GOV > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo $FREQ > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
X=0
else
X=$(($X+1))
fi
sleep 5
done
unset X
}
enforcer &
Alynna said:
There is still a little bug in gohma 2.1, but I fixed it in the script.
SOMETHING sets the governor back to userspace/787200 about a minute into the watches' boot.
I logged in and watched it occur.
However the other parameters now stick.
I fixed it with the following:
Click to expand...
Click to collapse
I reinstalled using your additional governer tweak, is there any way to check and make sure its working? Seems to have made a noticeable improvement, it reduces some random lag i was getting with Wear Mini Launcher
myke66 said:
I reinstalled using your additional governer tweak, is there any way to check and make sure its working? Seems to have made a noticeable improvement, it reduces some random lag i was getting with Wear Mini Launcher
Click to expand...
Click to collapse
I log into the phone using:
adb shell
and check that the /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor remains 'ondemand'.
I noticed when I logged in with gohma 2.0 and 2.1, that this would get switched back to 'userspace' after a little less than a minute.
I'm not sure the 01tweaks file was even executed in 2.0. Definitely is executed in 2.1, but, something else in the system was changing the scaling settings back to defaults.
if its not working, the file above will be 'userspace', if it does, it is 'ondemand'.
Also, I have set my default top speed to 1.0ghz which is why wear launcher is probably snappier. This MAY have an impact on battery life, but probably not too much because the watch remains at about 300mhz whenever idle.
You can check /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies for valid values for the FREQ variable. Lower numbers probably mean marginally better battery life.
myke66 said:
I reinstalled using your additional governer tweak, is there any way to check and make sure its working? Seems to have made a noticeable improvement, it reduces some random lag i was getting with Wear Mini Launcher
Click to expand...
Click to collapse
A handy utility that you can sideload on our watch is PerfMon by Chainfire:
http://forum.xda-developers.com/showthread.php?t=1933284
If your frequency fluctuates from 300 to 1190, then you are on ondemand governor.
---------- Post added at 12:19 PM ---------- Previous post was at 11:50 AM ----------
Alynna,
Thanks for the enforcer mod. For some reason after installing your mod, the governor was still on userspace/787200. After playing around I changed sleep from 5 to 10 and now it works great.
:good:
The standard 5.0 ROM version has a new sleep function that turns off the watch display if it hasn't moved for 30 minutes. This is driving me nuts as I always put my watch next to my monitor while I'm working so I have to keep waking it up or I miss notifications.
Is this "feature" in this ROM and if so, is there any way to turn it off or extend the timeout ?
Thanks
i'm looking at the rom and kernel.
the kernel looks like it has more option/tweaks.
i know both dont work together a bit normal cause the rom is a bit the same it are tweaks and no visual changes
i think kernel looks better. in way of functions.
just this rom has also more cpu steps? 300-1.1ghz?
cause if im right stock just is locked on 778mhz? and even with wear control app seems like i can't change it (i mean i don't realy know cant see if power save or balanced governers do any thing). need to check with a app how fast my cpu is running.
This ROM had been great! One question: Does the reset option in the watch settings properly reset and keep gohma tweaks? I tend to flash allot of ROMs on my phone and have been flashing my watch back to stock then each time as well as reflashing gohma. Stock recovery here. See no real reason for custom when everything is done using adb and computer.
Nandrew said:
This ROM had been great! One question: Does the reset option in the watch settings properly reset and keep gohma tweaks? I tend to flash allot of ROMs on my phone and have been flashing my watch back to stock then each time as well as reflashing gohma. Stock recovery here. See no real reason for custom when everything is done using adb and computer.
Click to expand...
Click to collapse
Yup. Just reset between phone ROM flashes.
Any update or thoughts on if we can find a way to make this ROM stop pumping out the 1.74 volts to our wrists via the metal contacts? Just discovered the whole issue of corrosion via the voltage emitted from the watch while being worn. I checked mine, running this ROM, and sure enough: it's live. 1.74 volts of electricity going into your wrist while you wear this thing. LG claims to have sent out a software fix a while back.
Thanks for the development & work on this ROM! Hopefully an "ah-ha" moment can be had and get this issue solved!
To think some people actually pay to have electricity run thru their body.. LG didn't consider it a feature? Lol
No corrosion here.
Gohma 2.2 - NEED DOWNLOAD
Jake's site to download the rom seems to be acting up. The download is extremely slow and keeps failing. I am in desperate need of this excellent ROM!! Does anybody have an alternate download link for Gohma 2.2? Any help is greatly appreciated.
Quick question? Installed 2.2 and everything runs fine except Perfmon only shows one core active. If I run the adb script I can turn the others on but for some reason by default one one core is up after a reboot. Any help.
kwd114kwd114 said:
Quick question? Installed 2.2 and everything runs fine except Perfmon only shows one core active. If I run the adb script I can turn the others on but for some reason by default one one core is up after a reboot. Any help.
Click to expand...
Click to collapse
The 01tweaks script on 2.3 didn't work for me either. Ondemand and frequency are correctly set, but only one core. Couple of workarounds:
1. Set the cores directly using adb commands from your PC.
2. Sideload kernel adiutor from the play store (nice kernel tuner app that works on our watch, dev is active on XDA)
3. Or modify the 01tweaks script to set the cores within the enforcer part of the script (right after $GOV and $FREQ are set)
Code:
# Wait around for the system to change the governor and change it back, then exit when we're sure its set.
# This function will remain running for a minute to enforce the change, until it's sure the system won't change it back.
enforcer () {
X=0
while [ $X -lt 12 ]; do
if [ ! `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor` = $GOV ]; then
echo $GOV > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo $FREQ > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo "1" > /sys/devices/system/cpu/cpu1/online
X=0
else
X=$(($X+1))
fi
sleep 5
done
unset X
}
enforcer &

ChEEtah STAbilizer [make your device run]

Cheetah stabilizer for your phones !!
this is a stabilizer that will run your phone at top speed,improve battery life and improve ur internet speed
all the roms are supported for this
best for samsung stock
it also removes bloatware from ur phone
Download!
functions
.improves multitasking performance
.improves battery life
.modified init.d script
.bolatware removal
..2080 Cache Velocity
Scripts init.d
.Auto hibernates unused bins
.Zipalign In Boot
.Clear the cache on boot
.Auto Zipalign in 48hrs
.Mata unused applications when the screen turns off (Sleep)
.Lowers the clock speed when the phone is asleep
if u like it then plz donate so that we can continue the developement of more tools and utilities for your phone
click here to donate -
thanks
XDA:DevDB Information
Cheetah V0.1, Tool/Utility for the Sony Xperia Z3
Contributors
Brawn_Sg, Brawn_Sg
Version Information
Status: Stable
Created 2015-07-19
Last Updated 2015-07-19
Brawn_Sg said:
this is a stabilizer that will run your phone at top speed,improve battery life and improve ur internet speed
all the roms are supported for this
best for samsung stock
it also removes bloatware from ur phone
Click to expand...
Click to collapse
Best for Samsung? Then why are you posting this here? Does it work for the Xperia Z3 Compact? If so, can you tell us what bloatware was removed?
Wonderful. An undocumented snake oil script, available only from a site well known to be compromised and peddling malware. (Dev-host has not been reliable/reputable for months, it's obviously under new ownership.)
Another take at V6 script?
Downloaded just for giggles and took a look inside.
TL;DR: Another "copy&paste everything that sounds cool together". DON'T USE!
The start of the install process inspires confidence:
cp /system/build.prop /data/malyrol/build.prop.bak
Click to expand...
Click to collapse
Right, I don't have "/data/malyrol/" folder in there. So much for backup.
echo "" >> /system/build.prop
echo "cheetah" >> /system/build.prop
echo "" >> /system/build.prop
Click to expand...
Click to collapse
Because putting random branding stuff in property file is so cooooool!
Then a lot of random stuff (some of it might do something, just not sure what, hopefuly not much). Lots of it will be hardware dependant (HAL specific&stuff) and i seriously doubt it's compatible with a Z3.
Now for some random "fun"
#!/system/bin/sh
### Clean-Up Junk Files
rm /data/local/*.apk
rm /data/local/tmp/*.apk
rm /data/*.log
rm /data/log/*.log
rm /cache/*
rm /cache/recovery/*
rm /data/system/dropbox/*.txt
rm /data/backup/pending/*.tmp
rm /data/tombstones/*
rm /sdcard/LOST.DIR/*
Click to expand...
Click to collapse
Just... wow...
Hope you didn't have your FOTA recovery in there... OOPS!
# file system speedup
/system/xbin/busybox mount -o remount,noatime,barrier=0,nobh /system;
/system/xbin/busybox mount -o remount,noatime /data;
/system/xbin/busybox mount -o remount,noatime,barrier=0,nobh /cache;
Click to expand...
Click to collapse
I certainly don't need my data to be safely stored, thank you!
AKA
MOAR SPEEEEED!
sysctl -w kernel.sched_latency_ns=18000000
sysctl -w kernel.sched_min_granularity_ns=2000000
sysctl -w kernel.sched_wakeup_granularity_ns=3000000
Click to expand...
Click to collapse
Who needs interactivity. Good for benchmarks I guess?
sysctl -w vm.drop_caches=3
Click to expand...
Click to collapse
W00T?! Let's hope it gets reset later. But why, god, why?
P.S. Don't see it reset anywhere... Let's hope it at least doesn't work
echo "0 4 * * 2 fstrim /cache" > /data/crontab/root
echo "0 5 * * 2 fstrim /data" >> /data/crontab/root
echo "0 6 * * 2 fstrim /system" >> /data/crontab/root
Click to expand...
Click to collapse
Hmm, does fstrim work on Z3? It actually does. So this part is actually useful (sort of, because Android already does that )
#!/system/bin/sh
/data/data/ccc71.at/binaries/arm/sysctl -w kernel.random.read_wakeup_threshold=1024
/data/data/ccc71.at/binaries/arm/sysctl -w kernel.random.write_wakeup_threshold=2048
Click to expand...
Click to collapse
Nope, no such binary there. So much for testing.
# Enable Linux Swap
swapon /dev/block/platform/msm_sdcc.1/mmcblk0p3
Click to expand...
Click to collapse
[email protected]:/dev/block/platform/msm_sdcc.1/by-name # ls -la |grep p3
lrwxrwxrwx root root 1970-11-18 01:50 s1sbl -> /dev/block/mmcblk0p3
Click to expand...
Click to collapse
Sure, who needs a bootloader??
I just hope android's "swapon" needs that magical command to create swap beforehand, or there's going to be a lot of sad smileys around there...
Of course some of this stuff is set and re-set a few times in various scripts... by various people... for various devices.... and android versions...
Zviratko said:
Downloaded just for giggles and took a look inside.
TL;DR: Another "copy&paste everything that sounds cool together". DON'T USE!
The start of the install process inspires confidence:
Right, I don't have "/data/malyrol/" folder in there. So much for backup.
Because putting random branding stuff in property file is so cooooool!
Then a lot of random stuff (some of it might do something, just not sure what, hopefuly not much). Lots of it will be hardware dependant (HAL specific&stuff) and i seriously doubt it's compatible with a Z3.
Now for some random "fun"
Just... wow...
Hope you didn't have your FOTA recovery in there... OOPS!
I certainly don't need my data to be safely stored, thank you!
AKA
MOAR SPEEEEED!
Who needs interactivity. Good for benchmarks I guess?
W00T?! Let's hope it gets reset later. But why, god, why?
P.S. Don't see it reset anywhere... Let's hope it at least doesn't work
Hmm, does fstrim work on Z3? It actually does. So this part is actually useful (sort of, because Android already does that )
Nope, no such binary there. So much for testing.
Sure, who needs a bootloader??
I just hope android's "swapon" needs that magical command to create swap beforehand, or there's going to be a lot of sad smileys around there...
Of course some of this stuff is set and re-set a few times in various scripts... by various people... for various devices.... and android versions...
Click to expand...
Click to collapse
I'm glad it was you who downloaded it "just for giggles", because your your entire dissection post actually cracked me up with laughter, with each & every annotation you made[emoji13] XD
A donation scam for a placebo effect at best, that's what I see.
Cheetahs are extinct in India and these placebos should join them.
Zviratko said:
W00T?! Let's hope it gets reset later. But why, god, why?
P.S. Don't see it reset anywhere... Let's hope it at least doesn't work
Click to expand...
Click to collapse
That might be a oneshot thing. I need to look through a script I have here for one of my benchmarking tests on a non-Android system. (I intentionally drop all FS caches to ensure run-to-run consistency for this particular test). IIRC "drop caches" is particularly nasty in that it drops everything - even if it is unwritten. (Last I looked, there wasn't a way to drop all read caches without also dropping all write caches - so make sure you sync beforehand!)
Sure, who needs a bootloader??
I just hope android's "swapon" needs that magical command to create swap beforehand, or there's going to be a lot of sad smileys around there...
Click to expand...
Click to collapse
Yeah I'm fairly certain "swapon" will only do something if it detects some sort of "magic" indicating a partition is swap. Still, in the event the bootloader were ever accidentally misdetected as being a swap partion - HOLY HELL THIS IS DANGEROUS!
Edit: Strange, how is this now in the Galaxy Pocket Neo forum when it used to be in the Z3 forum?
Entropy512 said:
That might be a oneshot thing. I need to look through a script I have here for one of my benchmarking tests on a non-Android system. (I intentionally drop all FS caches to ensure run-to-run consistency for this particular test). IIRC "drop caches" is particularly nasty in that it drops everything - even if it is unwritten. (Last I looked, there wasn't a way to drop all read caches without also dropping all write caches - so make sure you sync beforehand!)
Click to expand...
Click to collapse
drop_caches writes all the dirty pages if needed and drops the rest, no need to sync
Entropy512 said:
Yeah I'm fairly certain "swapon" will only do something if it detects some sort of "magic" indicating a partition is swap. Still, in the event the bootloader were ever accidentally misdetected as being a swap partion - HOLY HELL THIS IS DANGEROUS!
Click to expand...
Click to collapse
You need to do a "mkswap" beforehand, that writes the magic bytes to make it a viable swap partition. I wasn't specific on purpose because someone might actually try to "fix" it
Mod Edit
This would appear to be doing more harm than good.
Thread closed
malybru
Forum Moderator

Categories

Resources