[Q] Odex MiniCM9 3.0.3 - XPERIA X8 Q&A, Help & Troubleshooting

Heyho
I'm running minicm 3.0.3 and i want to "use" odex, but i don't know how to create a script for "odexing" <-- weird word^^
I already asked on this thread http://forum.xda-developers.com/showthread.php?t=1264611&page=12 , but got no answer, so has someone tried it?
And yes i have enogh space on /sysstem/

It is nnot possible to odex MiniCm 3.0.3 I think because because it requires more system space which is not possible

"in odex process it will take some space on /system make sure you have minimal 30MB free space on /system"
It should be enough, since i removed many unused trash. But i don't know how to create a script / if i can use the linked one.

Is it possible to odex minicm9 3.0.5 with" x8 odexify script" ?
30 mb is now available on system memory& I can free up to 70 mb
sent using" ultimate - ics - standard"

Related

[RAM Script] Tweaking Juwe11's RAM script for O2X, good for all ROM support init.d

======
Preface
======
The script is actually Base on Juwe11's RAM script
which you can found here... http://forum.xda-developers.com/showthread.php?t=1111145
==========
Main Content
==========
The adj value of his script is a bit too tight for Our O2X...
so the Launcher is killed quite often if many apps opened in the background.
Here's the adj value changes I made, originally, Juwe11's values are..
"0,1,2,4,6,15" and I change it to, "0,1,2,7,8,9"
the forth value is for HIDDEN_APP_MIN_ADJ, which including the Launcher (I'm using LauncherPro) belongs to this category when you open some foreground application.
the default android value for this is also 7, and I find the OOM value for Launcher is 6 usually... so Juwe11's "4" will lead to our Launcher being Killed, keep it at 7, never tried to have mine killed yet.
The last 2 vaule just make sure the last category EMPTY_APP_ADJ is kill earlier than the previous..
About the minfree vaule...
I change it to "1536,3072,4096,7680,8960,10240" which actually the same values of "Moderate preset" of autokiller
which is enough to ensure most RAM being use before killing for faster task switching...
=====
Credit
=====
!! Credit goes to Juwe11 for his mighty RAM script~ !!
Backup your RAMscript and remove it to somewhere before install this...
install via CWM, it will put the script into your /etc/inti.d/ that's it, boot and try
i just installed it,
i will let u know what are the results,
u are correct, the original script kills the launcher and apps specially XDA
will try this configuration on auto killer memory seems good m8 to set it to moderate
shpapy said:
i just installed it,
i will let u know what are the results,
u are correct, the original script kills the launcher and apps specially XDA
Click to expand...
Click to collapse
I'm not sure if other Launcher would have a different OOM value~
I have Autokiller memory optimizer which I paid before...so I can view OOM value easily..
But with this Script... I guess really no task killer needed for our 2X already.
antec123 said:
will try this configuration on auto killer memory seems good m8 to set it to moderate
Click to expand...
Click to collapse
so, just edit the minfree value according to the values inside AutoKiller if you find some other setting suits you more
but about the adj value... I guess that part is already good enough
now I find my phone already got around 60-90 free RAM at any time...
Multiple games running at the background while web browsing...
and the Browser usually got a higher OOM, which tends to kill earlier than Games..
it is reasonable.. as the WEB you can load again with the same URL..
while the game got killed, you lost the state... android is doing it's work nicely I guess.
best memory managment script i have tryed is v6supercharger http://forum.xda-developers.com/showthread.php?t=991276
I think its the best of the best.
orlox said:
best memory managment script i have tryed is v6supercharger http://forum.xda-developers.com/showthread.php?t=991276
I think its the best of the best.
Click to expand...
Click to collapse
I tried both V6 and Juwe11's before...
and I manage to be patient enough to follow step by steps...
for installing so many things... and it just put a script in init.d at the end...
And I found it do not contain adj value in it, so I come back to Juwe11's
but anyway, this is your choice...
thanks for that script
just a quick question
would this script also work on a sgs2, running oxygen aosp stock rom?
pa.pn2 said:
thanks for that script
just a quick question
would this script also work on a sgs2, running oxygen aosp stock rom?
Click to expand...
Click to collapse
same as Original Juwe11's version.
it was suppose to work on any ROM which support init.d
but the values may need some tweaking accordingly.
squide said:
I'm not sure if other Launcher would have a different OOM value~
I have Autokiller memory optimizer which I paid before...so I can view OOM value easily..
But with this Script... I guess really no task killer needed for our 2X already.
Click to expand...
Click to collapse
Sorry to let you down. But the results are the same......
Sent from my LG-P990 using XDA App
squide said:
I tried both V6 and Juwe11's before...
and I manage to be patient enough to follow step by steps...
for installing so many things... and it just put a script in init.d at the end...
And I found it do not contain adj value in it, so I come back to Juwe11's
but anyway, this is your choice...
Click to expand...
Click to collapse
adj values are in /data/SuperChargerAdj while minfree values are in /data/SuperChargerMinfree.
it's just a script in init.d at the end, you only need to follow it step by step...
squide said:
so, just edit the minfree value according to the values inside AutoKiller if you find some other setting suits you more
but about the adj value... I guess that part is already good enough
now I find my phone already got around 60-90 free RAM at any time...
Multiple games running at the background while web browsing...
and the Browser usually got a higher OOM, which tends to kill earlier than Games..
it is reasonable.. as the WEB you can load again with the same URL..
while the game got killed, you lost the state... android is doing it's work nicely I guess.
Click to expand...
Click to collapse
i set the preset to moderate and get about 126-128mb on free ram pretty impressive and the stock browser don't get close so quickly nice! i use v10e ESA and neoblaze kernel
Works on CM7?
_Vegas said:
Works on CM7?
Click to expand...
Click to collapse
it should work on all ROM supporting init.d
in case you don't like it, go to /etc/init.d to remove the script and reboot.
it wont modify your file system..
it just override some system value on boot.
if you removes the script.. your phone would back to the state before you install this.
so, just try see if u like, if not, delete it, reboot, that's it.
Works really nicely on CM7 nightly.
Sent from my Optimus 2X
Bit of a Dumb question but my phone still has the Stock rom and doesn't have the init.d Folder
if I created /system/etc/init.d and copied the script into that would this work?
waynefox said:
Bit of a Dumb question but my phone still has the Stock rom and doesn't have the init.d Folder
if I created /system/etc/init.d and copied the script into that would this work?
Click to expand...
Click to collapse
Sorry, no. You need a custom rom of some sort to get init.d support.
TrymHansen said:
Sorry, no. You need a custom rom of some sort to get init.d support.
Click to expand...
Click to collapse
You need a Custom Kernel supporting init.d to be more accurate.
and NeoBlaze is a good one to try with.
if you really need to keep your stock ROM..
First of all you still need to root your phone
Install ROM manager from market
flash the Clockworkmod via ROM manager
install NeoBlaze Kernel, then you're ready.
if warranty is your concern, take a look to the Nvflash thread..
O2X is ALMOST unbrickable, almost.
squide said:
You need a Custom Kernel supporting init.d to be more accurate.
and NeoBlaze is a good one to try with.
if you really need to keep your stock ROM..
First of all you still need to root your phone
Install ROM manager from market
flash the Clockworkmod via ROM manager
install NeoBlaze Kernel, then you're ready.
Click to expand...
Click to collapse
I'm pretty sure that won't work. You need ROM-support as well. (A Ramdisk script which starts the init.d. thing to be even more accurate.) Feel free to prove me wrong.
TrymHansen said:
I'm pretty sure that won't work. You need ROM-support as well. (A Ramdisk script which starts the init.d. thing to be even more accurate.) Feel free to prove me wrong.
Click to expand...
Click to collapse
Ramdisk is a part of the kernel, so if you bung a kernel that supports init.d on (any) rom it'll run what's in there assuming it's eXecutable.
You can do it on the stock rom even, as long as you have a init.d kernel (and create the entries in ../etc/init.d/).
Although I can't "prove" this to you at the moment...

[Tweak] Advanced all-in-one init script for O2X

Hello guys!
This script is originally come from the Juwe11 ramscript but its far more advanced now, so i decided that make an own thread for this.
This script is an init.d script for our O2X but working with many other phones too. Working with every ROM what is supported init scripts. However optimized and working best with the ironkernel because some option is based on this kernel ramhack. Its working any other kernels too but may be need to adjusted some parameters.
The script started the configuration options:
1)
SMODE
if this set to on the script will be change many parameters in the proc filesystem, otherwise not however some part of the script is unaffected of this!
2)
LMKMODE and LMKVAL
lowmemorykiller and basic memory management tweak
if the LMKMODE value is on the basic_mem_tweak procedure will called.
if the LMKMODE is on then the LMKVAL define the lowmemorykiller mode.
you can change this static values:
def: stock values 2048,3072,4096,6144,7168,8192 (CM7)
std: standard values 1536,3072,4096,7680,8960,10240 (recommended for low memory models <256MB)
opt: optimum values 1536,2048,4096,10240,12800,15360 (recommended for the most)
str: strict values 1536,2048,4096,15360,17920,20480 (best for heavy multitasking)
aggr: aggressive values 1536,3072,4096,21000,23000,25000 (our O2X will handle this without problem)
extr: extreme values 1536,3072,4096,38400,40960,43520 (recommended for heavy HD games)
ult: ultimate values 1536,3072,4096,51200,57600,64000 (use with caution! only for high-end devices!)
or you can use the 'auto' values.
lowmemorykiller auto management is depend on the total memory size. if you are using stock rom then this value set to aggressive by automatic because the freeing the memory is important.
if you are familiar with ironkernel and using some of the ramhack version then this value is more softer then the total memory is increasing (more memory dont need so strong garbage collection)
lowmemorykiller parameters intact when the SMODE is off
3)
NETTWEAKS
its affected the tcp/ip procs and some kernel parameters. helping that the phone network will working faster and better
network parameters intact when the SMODE is off
4)
VMTWEAKS, COMPCACHE, CS_SIZE, CS_RATIO, INTERVAL
this part is the memory management
vmtweaks will disable normalized sleeper and change many values in the /proc/sys/vm.
vm parameters intact when SMODE is off
COMPCACHE will enable the compcache (i know CM7 supported this but its not working some case if you are using the cm settings menu)
CS_SIZE determine the compcache memory size. im using only the zram device for the compressed memory, this dont making any swap file on the block devices.
if CS_SIZE is set to auto then you can define the CS_RATIO. this parameter define the amount of the total memory what can be used as compcache. so in this case the compcache size is changed dynamically. its make sense when you are using the ramhack ironkernel
INTERVAL define that the period of the force cache drop. if you are using compcache it can be helped avoid that the phone become laggy after a while.
5)
MTWEAKS and SCHEDULER
MTWEAKS procedure will remount every partition with noatime,nodiratime,commit=180,noauto_da_alloc
and adjust many parameter what is related to the block devices
SCHEDULER will define the default io scheduler (its bfq by default, like in many kernels)
this script is working alone, dont need any other tweak script. every modifycation logged to /cache/tweaklog.txt in human readable format
this script will not gain extra point in any benchmark (maybe a little) if you want this you need to overlock your phone. remember that.
you can install with the cwm installer or simply copy the 90tweak file for the /system/etc/init.d/ and change the perms to 777
the required files in the attachment or in my sig
nice work!
use your script for 2 months, but somehow never created / cache / tweaklog.tht
can change the path to / sdcard / tweaklog.tht
20l + HP RC9 + pp9
20l + fps 0.2a
Great, thanks a lot!
Inviato con il P990 DjangoManouche!
PAIIITET said:
use your script for 2 months, but somehow never created / cache / tweaklog.tht
can change the path to / sdcard / tweaklog.tht
20l + HP RC9 + pp9
20l + fps 0.2a
Click to expand...
Click to collapse
sdcard is unaccessible while the init process, thats why im using the cache partition. its a small log file and recreated at every reboot.
and the name is tweaklog.txt
Can is use this with V6 supercharger?
norbee007 said:
Can is use this with V6 supercharger?
Click to expand...
Click to collapse
i dont recommended that.
vadonka said:
i dont recommended that.
Click to expand...
Click to collapse
Why not man ? With CM9 SK3 it's not so bad...
Simply because supercharger overwrite some tweak of this script
Inviato con il mio P990 DjangoManouche!
carburano said:
Simply because supercharger overwrite some tweak of this script
Inviato con il mio P990 DjangoManouche!
Click to expand...
Click to collapse
Eh ok buon uomo
But it's very fast with V6SC - Param 8
I'm testing it in latest ICS and it sounds good.
There'll an update of Vodonka's scrip for ICS roms too ?!
i cant find a tweaklog.txt either.
any ideas?
Little question... This script, when flashed from CWM,
works in ICS roms ?
PYCON said:
Little question... This script, when flashed from CWM,
works in ICS roms ?
Click to expand...
Click to collapse
no
dont use with the ics, its interfered many things.
will this work on stock V20q?

V6 SuperCharger 1-33 x8 need choose what???

V6 SuperCharger 1-31 x8 need choose what???
Please don't create new threads.
You could have used your old thread..
And to your question,
First 6 settings are related to the amount of free ram.
So higher the number, more is the free ram and less it the multitasking.
I suggest you to use option 5.
Rest all are misc tweaks and you could know about them by reading the output of the script carefully..
sent from my phone using hands and brain...
dagger said:
Please don't create new threads.
You could have used your old thread..
And to your question,
First 6 settings are related to the amount of free ram.
So higher the number, more is the free ram and less it the multitasking.
I suggest you to use option 5.
Rest all are misc tweaks and you could know about them by reading the output of the script carefully..
sent from my phone using hands and brain...
Click to expand...
Click to collapse
after it......... then how to see V6 SuperCharger open or close??
vuiseng said:
after it......... then how to see V6 SuperCharger open or close??
Click to expand...
Click to collapse
U don't understand English? ??
Everything is explained in that script...
Just read...
wanna thank xda? here

[Q] Android Kitchen

How to setup a fully working android kitchen for our device ? I mean setting a fully working file for partitions of Mini2 and everything ok. If someone can help me please post here !
We can just try to mod an existent kitchen, or try to make a new one based on existent
So I downloaded the GB rom fron Samfirmware , extracted all contents from it ( system.img.ex4 / boot.img / etc ) , extracted files from system.img.ext4 and maybe I'll decompile kernel if needed, but how to do it from this point?
I already made some progress :d deodex rom + root ( not supersu ) + busybox + wipe data on install + zipalign getting better, huh?
dei.andrei98 said:
I already made some progress :d deodex rom + root ( not supersu ) + busybox + wipe data on install + zipalign getting better, huh?
Click to expand...
Click to collapse
which base rom are you using friend?
I used S6500DXXLC4
I've made a semi kitchen using VBox ArchLinux
It was easier to use Ubuntu LTS.
I prefer to use a command line environment If you want i've got simg2img and make_ext4fs precompiled (they can be used to convers system.img.ext4 to a real ext4 partition, and repack a directory into a file.img.ext4)
There is an Ubuntu Server Edition ( for command-line only ) or you can install Ubuntu and remove the GNOME ( the launcher ) to have only terminal-mode or I think I saw an Ubuntu special for command-line..
I'm interested in this Kitchen thing. I think doing it for the NFC firmware should be too different than non-NFC firmware? Best firmware would be S6500XXLD2 (DBT), as it supports OC and has Polish language.
The best firmware would be one that has Arabic support , and no, NFC is only a different Kernel and some modified system apps.
CM10 Firmware has Arabic support and also NFC (not sure about this), anyway in wich language are you developing this kitchen?
Is based on English, but I want to make it very easy to use and very powerful, and by powerful I mean building a rom that supports everything .
EDIT : CM10 has NFC suport, I was the first who asked about TheWhisp about the NFC feature..

Zipalign does miracles

I've bought this phone recently, and I quite like it (this low-end smartphone is much, much better than my old galaxy5).
Since I wanted to dig into framework modding, I had to deodex the ROM. xUltimate would throw errors, and deodexing more than one hundred files one by one would have been quite time-consuming. So I made a linux shell script which would deodex all the app and framework apk and jar packages, zipalign them and pack them into a shiny CWM flashable package.
I've gone and flashed that package. Everything is running perfectly. Then I open samsung's memory management app, tap "clear memory" and stare at it showing that just 113MB memory are used, while normally I saw that more than 2/3 of the system RAM is used.
This can only lead me to one conclusion: the stock ROM isn't zipaligned. How comes that they're too lazy/stupid to zipalign them by factory??
P.S.: Since I think I'm going to release that script, can someone point me to the right section? XDA is so big:silly:.
post your Script here http://forum.xda-developers.com/forumdisplay.php?f=1314
pryerlee said:
post your Script here http://forum.xda-developers.com/forumdisplay.php?f=1314
Click to expand...
Click to collapse
Uh... it's not there ! Here's the right place !

Categories

Resources