Android Tablets Forum banner
1 - 20 of 24 Posts

· Registered
Joined
·
212 Posts
Until Roger adds it to the next version of Vestinious, here's how to get swap working automatically at startup. The answer is to kick off the /usrinit.sh script from within the /init.rc. Both are in the root directory on the M001. (NOTE: If you're using Windows, get Notepad++ to edit the file as *nix systems like unix, linux and android can get upset by the invisible characters many Windows editors leave in text files.) Notepad++ | Download Notepad++ software for free at SourceForge.netRight down the bottom of the file, after it starts the telnetd service, I added:service usrinit /system/bin/sh /usrinit.shuser rootgroup rootoneshotThis makes the init process run the usrinit.sh....and usrinit.sh is the script that defines the swap and turns it on. I saved the init.rc and rebooted and swap was active on startup.
 

· Registered
Joined
·
212 Posts
Discussion Starter · #4 ·
[quote name='Bhaalz;40893]How do i view the files in windows' date=' when using explorer none of the files on root are visible?[/QUOTE']I actually did the editing with Root Explorer....but there may be people who need to copy the file off the M001 to their PC, edit it, then copy it back again. Vestinious allows root access on the M001, so a file manager that works with root can see the file and you can copy it to the sdcard....and then copy it to your PC. I'm assuming people knew how to move files around. Not always a valid assumption.
 

· Registered
Joined
·
212 Posts
Discussion Starter · #10 ·
Roger Calver;43626 said:
Ive just found out that if I connect using USB cable to linux I can run gparted and make a swap partition on my SD card (still in M001) and then in Better Terminal set a swap up !Thats quite handy
Yes! Good find. I bought a cheap sdcard reader (NZ$18 = US$12-ish?) and I now do them in the USB card reader attached to an Ubuntu Linux box and use gparted. Linux makes all this Android stuff so easy....
 

· Registered
Joined
·
13 Posts
Looks like swap is on.thanks again. total used free shared buffersMem: 104964 101708 3256 0 40Swap: 131064 12360 118704total: 236028 114068 121960I still have the acore problem with the default home launcher,but home ++ adw and zeam all work without a hitch.Go figure Thanks again Roger. Great work.
 

· Firmware Dev
Joined
·
2,665 Posts
[quote name='jleiser;44298]Looks like swap is on.thanks again. total used free shared buffersMem: 104964 101708 3256 0 40Swap: 131064 12360 118704total: 236028 114068 121960I still have the acore problem with the default home launcher' date='but home ++ adw and zeam all work without a hitch.Go figure Thanks again Roger. Great work.[/QUOTE'] Yep thats working.
 
1 - 20 of 24 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top