Android Tablets Forum banner
1 - 20 of 20 Posts

·
Registered
Joined
·
384 Posts
Discussion Starter · #1 ·
Here I'll contain all the softmods and hard mods I've made and I'll make, for sure ;) rather than spamming with threads for any option..
SWAP ACTIVATION (without other programs, only sh)I simply hate waiting for home screen or for backgrounded apps to reload in memory so I decided to enable the SWAP on my M001.Quite simple:- prepare an SD card with first partition being all the size FAT32 formatted , minus 128MB (it's arbitrary the dimension, the bigger space you leave, the bigger virtual memory You'll get). I made partitioning in Gparted, very trusted linux program you can find in any distribution and is GTK based. First partition FAT32 (boottable flag on) and second partition LINUX SWAP (mine was only 128MB cause I don't have a big SD card unfortunately).- connect it to your Eken and enter terminal emulator+su+vi or EZ file explorer..I put this little add on in usbgadget.sh, cause this script is called at any reboot:Insert this after the first written line (after #!/system/bin/sh , and before the if blablabla line)
Code:
swapon /dev/block/mmcblk0p2 #according to your number of SD partitions, it could be mmcblk0p3 etc.echo 15 > /proc/sys/vm/swappiness #important for setting the right swapping attitude; higher numbers (0-100) will increase the swapping in SD card, [b]shortening its life for sure too much[/b]; could even impact on performance if it's too high cause the SD cards aren't really fast to be used like ram memory.
Ok.. remember to save the file, cross your fingers and reboot: in terminal emulator if you issue the command
Code:
free
you'll see that swap memory spaces aren't zeroes anymore, and with this settings you'll see some relief when using high ram demanding apps or parallel applications. SD CONSIDERATIONS:Data traffic on an SD card causes nand cells to worn quicker than before. So if you decide for this, consider that your SD could die sooner; use it better on good 1.000.000 cycles guaranteed SD cards like good Kingstones or Sandisks.. That's why I decided it's better to use a partition for swapping and not SwapFile made in dd... It will only wear a part of the disk, and if it runs out of nand cells life you should not have your data damaged, but only swap partition you can live without ;DI'm not responsible for any casualties may happen to you, your device or mind
USE IT AT YOUR OWN RISK !!![hr]DISABLE THAT NASTY phonelike LOCKED SCREENThis one seems to be a maze for developers, because android since its first version is running more on phones than tablets. So the screen lock I think is useless, because we're not going to put it in standby in our crowded pocket nor the home keys are going to click on the buttons..So, after long investigation, we have 2 options: as usual, one is free and open source, the other is available for a price (little)..1) myLock project is opensourced on google and we have to use the android 1.5 beta version, cause it has been developed on the right framework we have in 1.6 donut. Get the apk and install it.It does auto unlock the screen, so if you power up the device it defeats the lock screen after a while... I find it good but not perfect.. I also think the old 1.5 tree is out of development so if you have no money, it's still a good choice.2) Keyguard Disabler is way better solution but it will cost you 1,49$... I find it perfect because it defeats the JAVA protection mechanism, simply disabling the ability for the device to lock.. so if you press a button on device or your mouse or keyboard (if you have made the usb cable mod or internal hub mod) screen will light up directly inside the last thing you were doing before the stanby time.AWESOME TOOL, worths the price.
[hr]TIME TO SLIM DOWN a system that contains too many things phone related.. this is a tablet, you green droid!!!There are too many apps in last ECOTOX beta (also stable) i'm using. Text messages, camera, phone... we barely have a CPU, let's save some of it
CAUTION !!!I already soft-bricked my slate trying this, so avoid to do this slimming down operation if you can't stop from deleting everything :pIf anything happens you'll have to reinstall the rom as usual, but it's annoying thing to do twice a day, you know.Following this Wiki from Cyanogen i have successfully managed to remove Mms.apk from system.. we don't need text messages.Open Terminal emulator
Code:
su #get root accessmv /system/app/Mms.apk /sdcard/ #this will move the apk to your sd card, for backup reasons maybe
Procedure will output some blabla about permissions but the apk has been removed succesfully.
Code:
reboot #nice way to reboot in console
After that you won't see that app in your Slate, and some more cpu and ram is free now.Warning! I removed the Phone.apk but the tablet won't boot succesfully any longer. DON'T DO THAT.Camera.apk is gone without side-effects.. do as before changing packet's name
[hr]
 

·
Registered
Joined
·
384 Posts
Discussion Starter · #8 ·
[quote author=deadfunk link=topic=737.msg6171#msg6171 date=1276002230]exelent work men, this be traslated to spanish forum for sure :)thanks[/quote]Thanks but..Waaay better improvements incoming
 

·
Co-Founder
Joined
·
2,103 Posts
I wasn't able to get the swap working properly. I have a 1,700andsomething MB FAT32 partition with boot flag and a 256MB linux swap partition. I added the code to USBGadget.sh after the specified line and saved. Rebooted with SD inserted and there was no difference I'm afraid. Anything obvious I've missed?
 

·
Registered
Joined
·
40 Posts
I would love understand all that linux programming stuff... :(Anyway... Nice work imayoda. I'll try as soon I can able understand. :-*
 

·
Registered
Joined
·
107 Posts
I used A-Swapper. http://code.google.com/p/a-swapper/downloads/listI believe this is equivalent with "Swapper v2". It surely makes device more responsive!!Although, benchmark does not show any better result so it benches outside where Swap works.I'd created those partition from Gparted (used Puppy Linux 3. Easy!)1) Fat32 (all -128MB at the end & Boot Flag) --- Don't mount SD while partition. I could not figure this out a while and failed many, many times.2) Linux-Swap 128MB"Swapper v2" is pretty simple. It might requires to reboot because it did not work first time and I slept over then it suddenly worked next morning :)Actually, if using "Swap File Mode", it does not make any change. Make sure to set the linux-swap partition from advanced settings/dev/block/mmcblk0p2Swap Place:NoneSwap Size:32Swappiness:10Safe Unmount:ONSafeRemount:ONAdvanced Preference Settings:Swap Partion:ONSwap Partion:/dev/block/mmcblk0p2Recreate Swap File:ONReformat Swap:ONBusybox/busybox/bin/busyboxThen, turn it [on] from the first page. Check if "Swap" is working from "Info". If not working, reboot the device and turn it ON again.I still cannot "start on boot" but still works fine with manual turn on.It surely works much faster with "Comicroid" (ComicViewer), and overall responsive, especially back to home screen.Unfortunately, my M001 does not work as fast as using "A-swap" with imayoda's method. It might be setting my linux-swap by 128MB (too large).Great tip, imayoda!! I'm definitely recommend this for those "speed hackers"!! ;D(but not for those SD lovers, though)
 

·
Registered
Joined
·
16 Posts
for some reason Phone is always loaded at boot and cannot be killed succesfully. I have tried to kill it un Autokiller but it keeps popping back up. It is my suspicion that Phone is directly tied to the kernel (can't prove or disprove this without ADB). So all this to say is that I can see why it softbricked when you deleted Phone.apk
 

·
Registered
Joined
·
384 Posts
Discussion Starter · #14 ·
[quote author=pk198105 link=topic=737.msg6482#msg6482 date=1276047168]for some reason Phone is always loaded at boot and cannot be killed succesfully. I have tried to kill it un Autokiller but it keeps popping back up. It is my suspicion that Phone is directly tied to the kernel (can't prove or disprove this without ADB). So all this to say is that I can see why it softbricked when you deleted Phone.apk[/quote]Ye, but it soft-bricked only upon reboot.. when you just mv away the phone.apk, it starts printing that the process is gone (like an error) but it reloads after reboot and you won't get any longer the desktop..There is a way to remove phone.apk, but I have to understand where is the persistent feature that requests it at anytime.. hope to find it
 

·
Registered
Joined
·
384 Posts
Discussion Starter · #15 ·
[quote author=Taka link=topic=737.msg6448#msg6448 date=1276039341]I used A-Swapper. ...cut...Great tip, imayoda!! I'm definitely recommend this for those "speed hackers"!! ;D(but not for those SD lovers, though)[/quote]Thanks and remember: don't add a program if it can be done by simple sh ;)
 

·
Registered
Joined
·
258 Posts
hi imayoda:i waiting for your improvements, you have a release date for new improvements?also i have a question, you could work in swap in a fash memory?, or can you give the instructions to make it work?bye
 

·
Registered
Joined
·
27 Posts
@imayoda: have you try using some NAND partition to create the swap? (rather than SD Card) ... Maybe we can take some MB from data or cache or LocalDisk space?edit: I do some modification in init.rc, so /cache will use /dev/block/mtdblock7 (which is only 6MB in my device), and I create a swap partition using /dev/block/mtdblock11 (which is ~100MB). I got another 100MB, but I can not feel any performance improvement
... Is it true that SWAP is really usefull in ANDROID? I just read that swap is useless in ANDROID ...
 

·
Registered
Joined
·
384 Posts
Discussion Starter · #18 ·
internal nand has awful speed.. i don't think it's a good idea to wear the internal nand too.. better to use a fast sd card ;)
 

·
Registered
Joined
·
43 Posts
OK, so I have failed at looking into overclocking this..the current kernals don;t have the right files in the right places to edit the frequencies, so... imayoda....can you help??lol Do you think you could get an o.c script working?
 

·
Registered
Joined
·
157 Posts
imayoda;9235 said:
internal nand has awful speed.. i don't think it's a good idea to wear the internal nand too.. better to use a fast sd card ;)
what about a kickstart from NAND then booting from memory card? to offload crappy nand.ps: i really didnt know nand was that slow. that's why i didnt understand why the heck you guys wanted so bad to make apps2sd work.
 
1 - 20 of 20 Posts
Top