The ModMyTM Family of Sites.
   
  #1  
Old 11-08-2008, 01:35 PM
living_sword's Avatar
living_sword living_sword is offline
Administrator
 
Join Date: Nov 2007
Posts: 1,085
Thanks: 48
Thanked 214 Times in 151 Posts
Send a message via MSN to living_sword Send a message via Yahoo to living_sword
Default Skinning the G1 !

I have had my G1 for like 2 weeks now and was already getting bored of the stock icons. So, I decided to dig into the filesystem to find the possibilities of a shiny new skin and after several days, I finally made some progress. Without further ado, I present the first ever skinned G1!





Skinning G1 is a tricky process and your G1 needs to be jailbroken. The icons are stored in /system/framework/framework-res.apk. Every stock apk is signed by Google and contains three signature files, MANIFEST.MF, CERT.SF, CERT.RSA. The first two files keep a check on what files are inside the apk along with their SHA1. The third file is sort of a result of the first two. In simple words, if you change even a bit of info inside the apk or any of the three files, the whole package become useless. So how do we change the icons ?

The checksum calculated inside those three files is based on the icon's name and size, which means any file with same name and exact size could be slid in to replace the stock one. cool eh ! Now, as much as we would love to compile our own skin apk, that is not yet possible because at bootup, the signature of the apk is checked, if it doesn't match with Google's, you are left staring at the droid robot, so we don't do that.

Instead, we slide our images into the stock apk without setting off any alarms. Changing the file extension to .jar works fine, should work with .zip too, haven't tried it out though. If you have used WinRAR, you would know its a mere right-click to add files into a .jar/.zip.

But still, the file size of the new icon needs to be matched that of the old icon. This is the tricky part and requires a lot of patience. This can be much better explained with a complete tutorial which i'll put up alongwith the apk of the above screenshot soon.

As of now, i've done just the status bar, but this is just the beginning, stick around and have fun. We have just started a revolution and you don't wanna miss it.

pf edit: We've set up a skinning forum as well for releases/questions.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Reply With Quote
The Following 3 Users Say Thank You to living_sword For This Useful Post:
camacho (11-09-2008), deedend (11-11-2008), Lukster (11-09-2008)
  #2  
Old 11-08-2008, 02:04 PM
ballaholyk84 ballaholyk84 is offline
Actually, I prefer Yahoo.
 
Join Date: Nov 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sweet! Here goes the endless possibilities
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Reply With Quote
  #3  
Old 11-08-2008, 03:44 PM
jack's Avatar
jack jack is offline
Super Moderator
 
Join Date: Nov 2007
Location: Baltimore, Md
Posts: 388
Thanks: 37
Thanked 29 Times in 26 Posts
Send a message via MSN to jack Send a message via Yahoo to jack
Default

living sword is a god among modders.... no question
__________________

Thanks to OCM770 for the sweet sig and avatar!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Reply With Quote
  #4  
Old 11-09-2008, 07:06 AM
trancemode trancemode is offline
Actually, I prefer Yahoo.
 
Join Date: Nov 2008
Posts: 30
Thanks: 0
Thanked 1 Time in 1 Post
Default

show more pictures!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Reply With Quote
  #5  
Old 11-09-2008, 07:23 AM
jack's Avatar
jack jack is offline
Super Moderator
 
Join Date: Nov 2007
Location: Baltimore, Md
Posts: 388
Thanks: 37
Thanked 29 Times in 26 Posts
Send a message via MSN to jack Send a message via Yahoo to jack
Default

Here's my stupid question of the day... how did you make your screenshot?
__________________

Thanks to OCM770 for the sweet sig and avatar!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Reply With Quote
The Following User Says Thank You to jack For This Useful Post:
Lukster (11-17-2008)
  #6  
Old 11-09-2008, 07:40 AM
living_sword's Avatar
living_sword living_sword is offline
Administrator
 
Join Date: Nov 2007
Posts: 1,085
Thanks: 48
Thanked 214 Times in 151 Posts
Send a message via MSN to living_sword Send a message via Yahoo to living_sword
Default

Quote:
Originally Posted by jack View Post
Here's my stupid question of the day... how did you make your screenshot?

http://www.downloadsquad.com/2008/10...d-based-phone/
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Reply With Quote
The Following 2 Users Say Thank You to living_sword For This Useful Post:
jack (11-09-2008), Lukster (11-17-2008)
  #7  
Old 11-09-2008, 09:12 AM
Lukster Lukster is offline
Making it Mine
 
Join Date: Nov 2007
Posts: 47
Thanks: 22
Thanked 7 Times in 4 Posts
Default

rock out with your c**k out mannnnn!! your aesome. Thanks dude.
__________________

Last edited by Lukster; 11-09-2008 at 09:37 AM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Reply With Quote
  #8  
Old 11-09-2008, 10:07 AM
Manup456's Avatar
Manup456 Manup456 is offline
Who needs an iPhone?!?!
 
Join Date: Oct 2008
Posts: 239
Thanks: 26
Thanked 9 Times in 6 Posts
Default

I have been trying to find out how to do this since i got my phone,i make themes this is what i do so cant wait for more info on the structure of the theme. The icon size an format will help alot,we could use an app that installs themes if any devs would like to create an app that installs themes ill create themes for the G1.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Reply With Quote
  #9  
Old 11-09-2008, 08:17 PM
kron2 kron2 is offline
Actually, I prefer Yahoo.
 
Join Date: Nov 2008
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

have you tried to skin other images like the phone dialer which is in the phone.apk or the bar to pull up to get to the start menu which is in launcher.apk I tried to change the clock but my file was to big and the old one did not change is it because the file was to big ?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Reply With Quote
  #10  
Old 11-09-2008, 09:15 PM
G1jeff G1jeff is offline
Actually, I prefer Yahoo.
 
Join Date: Nov 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Wow, awesome skin, I'm going to be working on adding one to my g1 as well
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Reply With Quote
  #11  
Old 11-09-2008, 09:35 PM
living_sword's Avatar
living_sword living_sword is offline
Administrator
 
Join Date: Nov 2007
Posts: 1,085
Thanks: 48
Thanked 214 Times in 151 Posts
Send a message via MSN to living_sword Send a message via Yahoo to living_sword
Default

Quote:
Originally Posted by kron2 View Post
have you tried to skin other images like the phone dialer which is in the phone.apk or the bar to pull up to get to the start menu which is in launcher.apk I tried to change the clock but my file was to big and the old one did not change is it because the file was to big ?

yes, if the file size matches, any image/icon can be changed. I am currently writing down the whole process of matching the file size.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Reply With Quote
The Following User Says Thank You to living_sword For This Useful Post:
kron2 (11-09-2008)
  #12  
Old 11-09-2008, 09:44 PM
kron2 kron2 is offline
Actually, I prefer Yahoo.
 
Join Date: Nov 2008
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

how did you add the file back the first time i did it with android file manager and thin apps installer
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Reply With Quote
  #13  
Old 11-09-2008, 10:10 PM
living_sword's Avatar
living_sword living_sword is offline
Administrator
 
Join Date: Nov 2007
Posts: 1,085
Thanks: 48
Thanked 214 Times in 151 Posts
Send a message via MSN to living_sword Send a message via Yahoo to living_sword
Default

Quote:
Originally Posted by kron2 View Post
how did you add the file back the first time i did it with android file manager and thin apps installer

you need root access as the file has to be put in /system .
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Reply With Quote
  #14  
Old 11-09-2008, 11:21 PM
Manup456's Avatar
Manup456 Manup456 is offline
Who needs an iPhone?!?!
 
Join Date: Oct 2008
Posts: 239
Thanks: 26
Thanked 9 Times in 6 Posts
Default

Hey once i have made the edits to the package how do i re-sign the .apk file so that the phone can read it?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Reply With Quote
  #15  
Old 11-10-2008, 11:34 AM
poetic_folly's Avatar
poetic_folly poetic_folly is offline
Administrator
 
Join Date: Sep 2007
Posts: 114
Thanks: 7
Thanked 26 Times in 15 Posts
Default

You don't have to re-sign the package - you just have to make sure they're all the exact same size, and then the same signature will work.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Reply With Quote
The Following User Says Thank You to poetic_folly For This Useful Post:
Lukster (11-17-2008)
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump


All times are GMT -6. The time now is 09:37 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright © 2007-08, ModMy LLC