Post Reply

[HowTo] Tweak your Archos


24th October 2011, 07:35 PM   |  #1  
OP Senior Member
Thanks Meter: 72
370 posts
Join Date:Joined: Jul 2006
Donate to Me
recently i came upon a thread with someone asking :
how to optimize the archos to be quicker ?
As this is propably a question many people might ask (even I still do ) I thought about creating a thread about. This is not just to answer his question but also for all u nerds out there to corrent me - as I might be wrong in some points AND to gather new options to speed up the device. This is what i have learned yet...

Anyway all of the things I list here require root as far as I know. So get your device rooted or abandon the Thread

Memory Management:
Introduction: HAVING FREE UNUSED MEMORY ON ANDROID HAS (nearly) NO ADVANTAGE (exception having 0 memory also fu**s up the device -> 1. )
All of those methods wont make your device faster in the meaning of really getting faster in speed... as android already has a quite good memory management.
BUT if u get more space in memory your device can keep more of the apps U LIKE in memory (being inactive according to app lifecycle). This will make them get called faster next time u use them and your device will "feel" faster and more responsive.

1. What should work on all roms are the "minfree" settings -> meaning when android really kills apps - depending on free memory (if u don't know what is mean by - search for the "App Lifecycle" of android)
You can try setting those to the values mentioned by sibere (scroll down) or try finding your own settings. There for u can use any app like "AutoKiller Memory Optimizer" just serach "memory optimizer" in the market.
KEEP IN MIND - you may play a bit with those settings - BUT still u should know what u are doing if u use it!
LOW: If u set the values to low the device will kill apps very late keeping much of them in memory this might make you device get slow. If there is too less Memor fo a "new" app or another process just need more memory while running it has to close down other processes before memory can be allocated.
HIGH: If u set em too high u kill most apps instantly - and your device will get problems and might get unstable as far as i understood.

2. Try gettign more "free" memory by disabeling services - as those got the highest priority they wont get killed that fast by the memory management. For checking u might get an app like "TaskManager" wich lists all running processes.
Just check out what takes your memory and disable those u dont need.U can disaable them by using "Titanium Backup" disable app / uninstall em / or just uncheck their autorun by using a programm like "Autorun Manager". Remember if u just disable the autorun they might (re)start later still.

3. Use a low sceen count in your launcher and keep the widget count low. This is related to 2.) as most widgets run a "background service" to update itself / pulling information (e.g. a waether widget getting latest conditions, a calendar widget keeping connection to your calendar app,...) - each widget took at least 8MB memory when i checked with TaskManager - "greater" widgets like "Fancy Widget (sense like clock and weather widget)" sometimes take up to 25MB

4. DONT USE A LIVE WALLPAPER (live wallpapers use MUCH memory most 20MB-40MB - either they get closed down all the time - or they just reside in memory taking the memory u wanted to use for keeping other apps active)
I also noticed that the App Drawer got "much/noticeable" slower in every Laucher I tested while a live wallpaper was active

5. DO NOT USE A TASK KILLER (remeber the introduction!!! - and think about it yourself - if at least 20 ppl ask why - i write this down here )

6. SWAP / COMPCACHE (can be activated through UD config) - this is a really hard question - those methods extend your memory but the memory u gain is MUCH slower then the internal memory. So again u have to decide and try out if it helps u or it doesn't (I used em long time but never realy felt a big advantage of. Compcache even made my device feel slower and i got more FC's most time - also I tried to figure out how the memory management uses this "memory". But i din't find a clear answer yet - as some ppl mentioned that "inactve apps" wont get swapped - need some clear source... Anway in general those 2 should increase Multitasking capability at cost of speed.

- noting yet - its GINGERBREAD only - so we have to wait...

FINALY: u have to decide on your own what u really NEED to run "simultaniously" (I personaly rather have less widgets and run background services like growl, eventghost, tasker) but u can count it yourself by checking back with taskmanager and having in mind your archos (GEN8) just has 256MB of internal memory.

CPU Manaagement:
8. (UD) If u got Urukdroid u can try setting your CPU Governor to another value like:
"Interactive" is more reactive than "on demand" (-> SIBERE)

9. Try an OC (OverClocked) Kernel -> get it in the Urukdroid Dev Thread (I wont link any here as u should know what u do and wich u choose!)
BEWARE not all devices can use an OC Kernel (sadly mine can't) but try it out...

10. Try overclocking your device with the Milestone Overclock Utility. This overclock method is based on a module insert. Again this just works with root.

Each CPU is different -> each device is different and can handle different maximum speeds - this is related to the former position of the CPU on its waver while production...
So u have to try out what your CPU can handle safely - so it might happen your device will refuse to boot after u flashed a kernel or set some permanen OC values. Keep a BACKUP or reflash old kernel...
In general u normaly can't brick your device by overclocking as the CPU overheats -> safety function of the CPU stops it -> the device resets itself before the CPU get "burned" (hope this also aplies to ARM processors )

11. The Launcher: I tested out much lauchers already: ADW, ADW EX, VTL, Laucher PRO, Zeam Laucher, GO Laucher - most of them seem to be eaqual in speed and more differ in features (event Laucher PRO is still the fastest on my Wildfire [but development stopped some time ago], GO seemed to be a bit slower imho) - take any of those but avoid taking some over exagerated 3D'ish laucher like Regina, SPB Shell, Claystone...
12. Apps like "AutoKiller Memory Optimizer" have additionaly features to "optimise" the speed,... u might test those out but I didnt notice a difference most time. Still keep in mind - u should know what u are doing
13. Ok - u may want to hit me for that:
It's more a cosmetic thing - but I recently used UOT Kitchen for theming my framework and used the fly-in animations - and they feel much faster then the default animations just try it out... keep a backup of your original framework for reverting.

All the following Tweaks are mentioned by sibere (credits go to him and propably some other people)

echo "1536,2048,4096,6144,8192,10240" > /sys/module/lowmemorykiller/parameters/minfree
(this is related to 1. ; 1MB = 256 => valueas above are 6MB, 8MB, 16MB, 24MB, 32MB, 40MB)

to enable cgroups cpuacct:
mkdir /acct
mount -t cgroups -o cpuacct none /acct
mkdir /acct/uid

to change ioscheduler:
cd /sys/block/mmcblk1/queue
echo "deadline" > scheduler
cd iosched
echo 1 > fifo_batch

These are lost on reboot so if you wanna keep them, add a script to /etc/init.d

Finaly I also have patched the sqlite library. If you want the file, let me know. It boost a lot SQL database writings. See this thread

Will ask him to comment on "cgroups, ioscheduler, and sqlite" as im not sure if they work with all rom versions / neither how they work exactly.

aditional threads with tweaks
- Supercharger
SOME OF THEM MIGHT NOT WORK AND PEOPLEARGUE ABOUT THEM (e.g. the "debug.sf.hw =1" is heavily discussed)
Last edited by FrEcP; 23rd March 2012 at 02:52 PM.
The Following 7 Users Say Thank You to FrEcP For This Useful Post: [ View ]
25th October 2011, 01:56 PM   |  #2  
sibere's Avatar
Recognized Developer
Flag Paris
Thanks Meter: 362
2,002 posts
Join Date:Joined: May 2006

For a full reference to cgroups, you may read the cgroups documentation from the kernel.
Basically, it provides process aggregations in the Linux kernel, mainly for resource tracking purposes.

deadline IO scheduler has been used a lot for SSDs and proven to be quite adapted to flash memory.

The minfree settings set here are pretty much optimised by me for the archos. It gives you a good balance between available cache and free ram . Android starts to complain when the free ram drops below 32Mb. with these settings, the OOM task killer will try to maintain a free ram level above 32Mb. You DON'T need a task killer. It will just use precious ram resources and will mess up with the android integrated task killer.

Those settings are reset on boot, so you may add them in a script added to /etc/init.d/ directory.

SQlite optimisation is of great help and I already posted a lot of information about it when I posted the tweaked file. Please refer to this post. (You'll have to look for it, it's somewhere in the dev thread )

Enjoy your optimised archos!
19th December 2011, 02:18 AM   |  #3  
Senior Member
Thanks Meter: 61
260 posts
Join Date:Joined: Sep 2010
Thanks guys, learning new tips.
15th January 2012, 08:31 PM   |  #4  
Junior Member
Thanks Meter: 1
4 posts
Join Date:Joined: Sep 2010
Nice! Good tips. Thanks.
20th March 2012, 03:08 PM   |  #5  
Thanks Meter: 7
55 posts
Join Date:Joined: Mar 2012
Very usefull reading, thanks!
1st May 2012, 06:05 PM   |  #6  
Junior Member
Flag Brussels
Thanks Meter: 0
10 posts
Join Date:Joined: Apr 2012
thanks for the tips ! cheers!
5th July 2012, 06:37 AM   |  #7  
justlovejoy's Avatar
Senior Member
Flag Cybertron/Earth
Thanks Meter: 1,017
1,074 posts
Join Date:Joined: Dec 2009
Donate to Me
Hello, I am JustLoveJoy, I am an up and coming developer, although I work very hard on my phone right now, my gf has gotten an Archos 8 G2 4GB tablet and I have it rooted but it constantly gives me some issues. Finding this thread, I have to ask, can these or any tweaks be applied to her tablet? is there any source code on github or somewhere else? I mainly wish to get her to be able to do her Farmville on it. I'd like to get on to the development boards with a custom rom for it but I need someone with a little experience to point me in the right direction for that. Thanks So much for starting this thread!
8th November 2012, 04:21 AM   |  #8  
Junior Member
Thanks Meter: 0
6 posts
Join Date:Joined: Oct 2011
hi i just want to try to root my arnova 7g2 bit i don't find a straight 3d on xda. you clan indicate the right street

Inviato dal mio GT-N7000 con Tapatalk 2
27th December 2012, 12:55 AM   |  #9  
Thanks Meter: 17
46 posts
Join Date:Joined: Apr 2011
did you notice that crow (CM7) for Gen8 was released ?
27th December 2012, 11:59 AM   |  #10  
justlovejoy's Avatar
Senior Member
Flag Cybertron/Earth
Thanks Meter: 1,017
1,074 posts
Join Date:Joined: Dec 2009
Donate to Me
still nothing for developing for the Archos 8 G2 4GB? If I can get adb shell I would be happy!

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes