Sunday, April 19, 2009

Adding Swap Space Ram to G1

Today i got a little bored and decided to try to set up some swap space on my sdcard for my g1 to see if i can get a little better running!
I started with formatting some of my card to linux-swap but then i kept running into problems with "invalid argument" commands in the terminal!

So how i actually set it up was i mounted my sdcard as read/write with droidsans and went into my terminal and typed:

dd if=/dev/zero of=/sdcard/swapfile bs=1024 count=(however many mb of swap you want multiplied by 1024 *example* if i want 200mb of swap i would times that by 1024 and then i would type that value right after the count)

it will hang for like 45 seconds and then it will work so be patient then type

mkswap /sdcard/swapfile
then type:
swapon /sdcard/swapfile
then check to see if it worked by typing:
free

*this has sped up my application opening time and when i delete alot of messages it no longer freezes

*use at least double the ram that the phone has for your swap but no more than 2gb

*i have edited my /etc/fstab to try to get it to boot the swap at startup but it doesnt work if any of you want to work with me on that email me at kickfliprock13@yahoo.com

*if you want to know how to change fonts on the g1 go to my blog at: http://jerrysfreakinblog.blogspot.com/

Monday, March 9, 2009

How to Change Font on The T-Mobile G1

Hey there everyone this is the first blog of my life so lets see if it works!

(if you want to skip all my boring talking of how i came to doing this then just go down to the 1.)
Ok well i have been searching the internet and calling everyone i can about just how to change the font on a rooted T-mobile g1! And after a lot of messing up my phone and after a lot of hours trying to figure this out I just said you know what I am just gonna be the first one to come out with a real tutorial on exactly how to change the font on a rooted T-Mobile G1!

1. First of all you will need to have a rooted G1 if you know know how to do that or dont know what it is then follow the instructions here "http://www.g1freaks.com/profiles/blogs/how-to-downgrade-from-rc33-to"
2. Second you will need to have the android sdk on your computer! (This is very important!)(You can do this through the terminal emulator on your phone but i find the "adb" command from the android sdk to be quite usefull!)
You can get the sdk from here and remember to add the path of the folder to your computer "http://developer.android.com/sdk/1.1_r1/index.html"
3.I would recommend to get the developer bootloader (its when you restart your phone and hold down the camera button and its little androids on skateboards) because then if you happen to mess your phone then you can just go back to a backup! You can find the devbootloader in the rc30 update on the g1freaks site that i mentioned above!
4. To add the path of the sdk to your computer right click on my computer then click advanced settings then click envoirmental variables and then scroll down to the path option and double click it the go to the very end and type a ; and the the directory of your unzipped sdk folder! (ex adfklj;C:\Users\Jerry\Desktop\Android\sdk) (make sure you dont put a space after the ;)
5.Now you need to add the drivers to your computer for your phone you can find those here and there is a small walkthrough on there of how to install them (one time I had a problem finding my phone in the device manager so i went into the setting and click "show hiddin devices" and it was there so if you get that problem that is how you solve it! "http://modmygphone.com/wiki/index.php/Setting_up_ADB"
6.Now you need a couple of programs on your phone one being terminal the other being a file manager and you also need the droidsans tweak ones also!
7.Go to the droidsans tweak tools on your rooted G1 and hit the mount as read/write, then go into your terminal and type this code exactly:
su
cd system
cd fonts
rm DroidSans.ttf
rm DroidSans-Bold.ttf
ok after that is done DO NOT and I mean DO NOT restart your phone!
8. Go to "http://www.acidfonts.com/gfonts1.htm" and find a font you like any font will work so go crazy with it!
9.
Unzip the font and place it somewhere of your liking on your computer and then find the .ttf file and copy it and paste it again! Then name one of the files DroidSans and name the other file DroidSans-Bold!
10.Plug your G1 into your computer via the usb cable and DO NOT mount the phone when it asks you to!
11.Next open a cmd and cd to the folder that your droidsans fonts are in (ex cd C:\Users\Jerry\Desktop\Fonts)
12.Then type adb push and drag and drop the "DroidSans" file into the cmd the type a space and then type /system/fonts
(ex adb push C:\Users\Jerry\Desktop\Fonts\DroidSans.ttf /system/fonts)
13. Then do the exact same thing but use the "DroidSans-Bold" file now!
14.Once those are completed then go to the DroidSans Tweak app on your G1 and click the remount as readonly and then go down and click the reboot button! Once it reboots you will see your newly added font applied to your g1!

15.If i miss anything or if something just isnt work for you just email me at kickfliprock13@yahoo.com and i will be happy to help!
Also i am going to start posting alot of really thorough G1 tutorials on here(or if you guys know a better place where i can write my tutorials then i will write there this place is like my last resort)!
Please email and tell me what i could improve on the blog and i will do so!
*If this bricks your phone it is not my responsibilty, I doubt it will do it but if it does I am not accountable!*
Email and tell me what else you want me to do tutorials on and i will try my best to learn and write something on it!

Other sites i have been using but i dont know if you need them for the tutorial i just recently explained is: "http://modmygphone.com/forums/showthread.php?t=13781" and "http://hehe2.net/gadgets/howto-multitouch-tethering-task-manager-for-android-g1/" and "http://forum.xda-developers.com/showthread.php?t=456071"

If you like my tutorials then visit http:\\www.punk-in.com (right now its not tutorials but in the near future it definatly will be!