[Q] How to port a theme? - Hero, G2 Touch Q&A, Help & Troubleshooting

Didn't know where to post this, and couldn't find an answer to my question anywhere.
So, to my noob question.
How do you port a theme? Do you actually need to change codes and stuff? Or is it just as easy as changing the images?

There are a few apps on xda somewhere that do most of the work for you. Here is one of them: http://forum.xda-developers.com/showthread.php?t=737526
But it really depends on whether your porting from another ROM of the same resolution or if it differs.
If it's the same then you can simply drag and drop the images from one to the other.. I use 7-zip for that.
If it's from a different resolution then they will need to obviously be resized...
...in either case if you have to resize or make any changes to the .9.png's then they will have to be re-patched before using - read up on this before doing so.

Thanks! Gonna try it out.

Hm, tried it. Did like it said, tried to install it but no change.

pzylo said:
Hm, tried it. Did like it said, tried to install it but no change.
Click to expand...
Click to collapse
Tried what, the Theme Porter? To be honest I have not used it as normally just move the images myself. Just try changing one or two images to start with and then go from there.
If you're familiar with making update.zip's or pulling and pushing .apk's via adb then you should be fine.

Related

Hacked Framework.jar

Since apparently BN is still changing framework.jar, I'm making a thread to allow separate updates/downloads. framework.jar for 1.0.0 is already in market hack/autonooter/autoconfig
1.0.0 - http://www.mediafire.com/?1wb78ollpb1bd78
1.0.1 - http://www.mediafire.com/?37fugab7xo8s3j3
This framework.jar helps you get an Android ID when you first run the Market. You can replace it with the stock version once your market is working if you want, but leaving it shouldn't cause any issues either.
Um, this thread is remarkably empty.
Thank you for your work!
Not having to generate ID's manually is better than awesome ...
What did you have to change in Framework.jar I know your hacked version works. I'd just like to understand why.
johnopsec said:
What did you have to change in Framework.jar I know your hacked version works. I'd just like to understand why.
Click to expand...
Click to collapse
Google requests a valid phone ID and phone type when assigning an Android ID. Tablets tend to have neither, so Google doesn't assign an ID. It spoofs a valid phone type and ID so that Google is happy and will send you back an ID.
clockworx said:
Google requests a valid phone ID and phone type when assigning an Android ID. Tablets tend to have neither, so Google doesn't assign an ID. It spoofs a valid phone type and ID so that Google is happy and will send you back an ID.
Click to expand...
Click to collapse
Thanks. That makes sense now.
Can somebody post the stock version of either of the two files from the OP? I'm trying to get this working on the eLocity tab and, since I'm no developer, I need to compare the two files to see what Clockworx change... and therefore, what I should try changing in our framework.
Thanks!
Billy
JeepFreak said:
Can somebody post the stock version of either of the two files from the OP? I'm trying to get this working on the eLocity tab and, since I'm no developer, I need to compare the two files to see what Clockworx change... and therefore, what I should try changing in our framework.
Thanks!
Billy
Click to expand...
Click to collapse
If you want to post your framework.jar, it would probably be faster.
clockworx said:
If you want to post your framework.jar, it would probably be faster.
Click to expand...
Click to collapse
Fine by me! I was tying not to be a bother
http://www.slicky.net/android/elocity.a7.framework.jar
Thanks a bunch!
Billy
JeepFreak said:
Fine by me! I was tying not to be a bother
http://www.slicky.net/android/elocity.a7.framework.jar
Thanks a bunch!
Billy
Click to expand...
Click to collapse
Here it is if you want to take a shot.
http://www.mediafire.com/download.php?dd9zif5h89ve7mz
I would back up your stock one and ensure you can restore it, just in case.
This might not be the place or already covered, but is it possible to make the big button in the notification bar not pop up the B&N Soft Buttons? I tend to hit that far too often.
Personally if it was gone, or did nothing, I'd be happy. I can launch the apps from ADW myself, they're all individual apps anyway.
clockworx said:
Here it is if you want to take a shot.
http://www.mediafire.com/download.php?dd9zif5h89ve7mz
I would back up your stock one and ensure you can restore it, just in case.
Click to expand...
Click to collapse
Awesome man! Thanks a bunch!
Billy
clockworx,
can i replace framework.jar from slide_update.zip (BN 1.0.1) with yours
and also what i said in your other thread (supernooter) and then flash the ereader.
I am asking too many questions as i dont want to end up with an over sized 7" ice scraper...
I'm in the same spot as JeepFreak, but mine's a Cruz Reader.
If i upload the framework.jar can you mod it?
P.S. its Eclair-2.0 otherwise i'd try and use an existing copy off the web.
Skwurlsoft said:
I'm in the same spot as JeepFreak, but mine's a Cruz Reader.
If i upload the framework.jar can you mod it?
P.S. its Eclair-2.0 otherwise i'd try and use an existing copy off the web.
Click to expand...
Click to collapse
Are you using a custom firmware for it? I could have sworn someone had already done it for the CR over at Slatedroid. If not, feel free to upload and link.
Skwurlsoft said:
I'm in the same spot as JeepFreak, but mine's a Cruz Reader.
If i upload the framework.jar can you mod it?
P.S. its Eclair-2.0 otherwise i'd try and use an existing copy off the web.
Click to expand...
Click to collapse
We actually ended up getting the eLocity going without using the modified framework.jar.
Billy
clockworx said:
Are you using a custom firmware for it? I could have sworn someone had already done it for the CR over at Slatedroid. If not, feel free to upload and link.
Click to expand...
Click to collapse
nope, stock firmware, I've been trying to re-create the custom firmware that Velocity Micro made for it, but I'm having trouble figuring out exactly what settings they used for the kernel config. I'd like to eventually roll my own firmware image and update the device to either Éclair-2.1 or Froyo-2.2, but that will be awhile.
Until just now I'd never heard of Slatedroid, so i wouldn't know if anyone has succeeded over there or not. I've tried searching using Yahoo, Google and others to no avail, so...
here's the framework.jar, pulled from the most recent firmware update
(version 091257)
'mediafire'/?c76hrb1awmtc4mq
sorry 'bout the link being butchered, I'm a new user and it won't let me post links.
thanks in advance
Edit:I found the post at Slatedroid, but he's using a modded Cruz 102/103 Tablet firmware with Éclair-2.1, and until I get my own rom cooked, I'm going to try and stay as 'stock' as possible. besides, i don't know if the Cruz 103 firmware will work on the reader.
On another note, would it be possible to pre-mod the file in question if you were building from source?
and if so, what modifications would need to be made?
clockworx said:
Google requests a valid phone ID and phone type when assigning an Android ID. Tablets tend to have neither, so Google doesn't assign an ID. It spoofs a valid phone type and ID so that Google is happy and will send you back an ID.
Click to expand...
Click to collapse
I am working with others in another thread to determine why nootering the NC removes the access to B&N instore features.
We have been trying changes to the build.prop file but this does not seem to help. My thought is that something is changed in the framework.jar file that when instore B&N checks to see if the device is a NC. Is this a plausible thought? Can you share what lines in the hacked framework.jar are different that the stock NC framework.jar? Would it be possible to change these lines back to stock after nootering to gain access to the instore features?
Also, could changes in framework.jar also expalin why the market on NC does not have access to some apps?
nikto34 said:
We have been trying changes to the build.prop file but this does not seem to help. My thought is that something is changed in the framework.jar file that when instore B&N checks to see if the device is a NC. Is this a plausible thought?
Click to expand...
Click to collapse
Anything is possible since we don't know what they're doing, but it seems unlikely BN would check phone type and phone ID when on a regular nook they probably both return "invalid". Before you go through the trouble of investigating deeper, I suggest taking the engineering approach and change one variable: push back a stock framework.jar and see if the store works. If it does, then it's the framework.jar. If it doesn't, then it's something else.
nikto34 said:
Also, could changes in framework.jar also expalin why the market on NC does not have access to some apps?
Click to expand...
Click to collapse
No, that would be the fingerprint needed in build.prop, which I thought had already been solved and was part of Autonooter.
clockworx said:
Anything is possible since we don't know what they're doing, but it seems unlikely BN would check phone type and phone ID when on a regular nook they probably both return "invalid". Before you go through the trouble of investigating deeper, I suggest taking the engineering approach and change one variable: push back a stock framework.jar and see if the store works. If it does, then it's the framework.jar. If it doesn't, then it's something else.
No, that would be the fingerprint needed in build.prop, which I thought had already been solved and was part of Autonooter.
Click to expand...
Click to collapse
Thanks for the idea! Do you have or know where to find a stock framework.jar?
As for the fingerprint issue, we have tried returning the rooted NC fingerprint back to the stock fingerprint with no success. When replicating the stock build.prop file on a rooted NC, instore features still do not work and some apps are still not available in the market.

[Q] Noob questions..

Hi iam new to all this, and i try to read so mmany things that i can, but not all is easy to find.
1: When you port a rom from 1 phone 2 another, how do they do it, why is there so many problems with diff aps? If i see CM they seem to get things to work on diff models at the same time, why is that?
2: What does 9 png mean i know that png is a picture extension.
3: Why is it from what i read a pain in the *** to remake aps to another phone
4: I use the new rom with sence 2.1, i really love it, but i would like to remove the names on my aps/shortcuts (forgot the real word for it) like you can in adw launcher, is this possible and how.
Thx in advance, for this site and hopefully answers
Brian DK
As far as I know the hardest thing to do in order to make a custom ROM work is to make all the drivers working. They are usually developed by the hardware manufacturer and are available only as binaries so it is not so simple to make all the system work perfectly.
I know this explanation may not be complete, but I hope I have clarified the basis at least.
Thx, it was what i fugured, so thx for answer
The problems with remaking apps is they are usually for a phone with a higher resolution,so things dont fit properly
Ha ha... you can go read what ogo2 have been doing with the salsa rom on dev side to see what happening. I've been following that thread for quite some time.
Give his rom a test drive. Best way to know this issue is to experience it.
About rename or no name on app, I think it's a launchers function. I just learn that you can rename or leave the short cut blank in "go launcher ex"
Sent from my Legend using XDA App

[Q] Replace dialer on rooted phone

Hi, i'm using the Synergy ROM and love it. The only thing i don't like is the default screen that comes up when the phone rings (in this case it's a big VirusROM logo). I would like to change this to either the stock screen, or perhaps one from another ROM.
From what I can tell, I need to find the PHONE.APK file from the ROM I want and then add it to the phone. What I cannot find is instructions on how to successfully replace the file that is already on the phone. Based on some threads I've read, I assume a simple drag and drop won't work.
Or, maybe there is an easier way? I use GO Contacts as my dialer, the only thing i'm really looking to change is the large picture that shows up for any contact who does not have a pic associated (none of my contacts have pics, so it comes up for every call for me).
Any advice/suggestions appreciated. If I missed this information in an obvious place, I apologize.
Use Ninjamorph (on your phone) or apk tools on your computer to replace /system/app/Phone.apk/res/drawable-hdpi/picture_unknown.png with whatever you want.
Thanks! Is there a certain file size or resolution that the file needs to be?
badfish_23 said:
Thanks! Is there a certain file size or resolution that the file needs to be?
Click to expand...
Click to collapse
Yes. If there's a theme that has an image already made for it that you would rather have, you can just replace with it since it would already be sized appropriately. Otherwise, there should be several themeing guides that walk you through how to extract the apk, create the replacement images, replace them, and recompress. Just look for some good themeing guides. I don't have any links handy but they shouldn't be difficult to find.
Got it, thanks so much for your quick and thorough assistance

Ninjamorph on Rezound?

Hey guys, got a quick question. I am new to the HTC Rezound, but not to Android in general. I am coming over from the D2G, and was wondering if I can use either Ninjamorph, or an app like it, the same way I would use it on the D2G. My goal is to change apk icons, so I can basically create the exact look and feel I want. I have read around that you can do it on a computer, but computer usage is few and far between for me.
So basically what my end goal would be is to find an image, download it to my phone, use some sort of app, and be able to alter the properties of the .apk file I am working with, so that I can change the icon thats displayed in my app drawer. Not sure if that makes sense.
I have tried to look around, and I haven't found anything saying whether this will or will not work on the Rezound, so if this has been posted elsewhere, I apologize, please just link me over.
Thanks for your help in advance!
Jonas. said:
Hey guys, got a quick question. I am new to the HTC Rezound, but not to Android in general. I am coming over from the D2G, and was wondering if I can use either Ninjamorph, or an app like it, the same way I would use it on the D2G. My goal is to change apk icons, so I can basically create the exact look and feel I want. I have read around that you can do it on a computer, but computer usage is few and far between for me.
So basically what my end goal would be is to find an image, download it to my phone, use some sort of app, and be able to alter the properties of the .apk file I am working with, so that I can change the icon thats displayed in my app drawer. Not sure if that makes sense.
I have tried to look around, and I haven't found anything saying whether this will or will not work on the Rezound, so if this has been posted elsewhere, I apologize, please just link me over.
Thanks for your help in advance!
Click to expand...
Click to collapse
I am also wondering if Ninjamorph or Metamorph work with the Rezound. I too am coming from a Motorola device, DX. There was another post on here asking about changing notification bar icons and I posted the question at the end of that thread. Hopefully someone has an answer
I had a d2g as well before upgrading to resound. I believe you can use ninjamorph/metamorph. Atleast to decompile/recompile the .apk. I have changed some .pngs in systemui.apk but what I did was extract all with rootexplorer, make my changes, zip it back together then rename the .zip to .apk. it worked like a charm.
Sent from my ADR6425LVW using xda premium
for gingerbread i say yes
for ics i say no

[Q] All of the theme and rom building questions

Hey guys, I have a few questions. I looked around a bit before posting this, but I may have missed some stuff so if I need to remove this thread just let me know that I should have looked harder(and kindly provide a link please).
First I would like to know how to get into "Themeing". I want to know how to change the colors mostly. I can usually find the file I need to edit in order to change the icon shape, but If I'm not mistaken, the colors are probably controlled in an xml file. They may all look for a "central file" that contains the colors, or I may need to change each one individually. If there is a central file could someone help me find out what it is.
I have only found how to edit apps, so here's where I get a major case of the noobs. Are the system colors controlled by the launcher or the theme or is there a UI that can be edited what do I need to do. I want to be able to change the number styles, the fonts of the keyboard, and all that jazz. The most important thing, though; is that I need to be able to change the colors. I really don't have an issue with the current fonts and don't have a good idea what to replace them with anyway.
---------------------------------------------------------------------------------------------
Now that the above train wreck is over I have some harder questions.
I also want to get into developing. I will probably start by modifying someone else's. (side question, could I re-release theirs with my changes just so that people could test it provided I ask and give them credit. I know this depends on the person, but is it taboo, or just a no for some people) I already read through and followed shrike1978's. It was possibly the best thing that could have happened to me. It showed me that it was actually possible to do for someone with less android experience. (link)
But after I have built it what do I need to do to get started modifying it? I'm not even sure what all I want to do, but is there any suggestions of a starter project, as well as a how to do it?(maybe changing the launcher, or something like that)
Also I have been using xfce linux mint on a second hard drive of 75 gigs. Will this be an ok setup? Should I switch to ubuntu although I don't really like it as much?
Should I be s-off or on (maybe on so that I know that they will be supported)? Also is there any good vm's that run in linux and will run android?
I probably missed a few questions that I intended to ask, so I will edit them in when needed.
I plan to make a how to thread on my findings(hopefully good enough shrike gives me a :highfive: for doing a good job) so everyone who helps (provided I actually learn how and am capable of making the how to) will be thanked in my future famous thread
Also I apologize for any miss-types. I will do my best to correct them, but my keyboard is pretty broken (it took a tumble when I moved home for winter break)
I figured out the fonts(at least for the few roms I checked). They are easy to change and add. They are controlled in a system_fonts.xml in the "\system\etc" folder of the rom. The files that they represent are in the "\system\fonts" folder of the rom. The xml file has a pretty good explanation of how it is read, so adding your own should be pretty easy.
If anyone here has any suggestions even if you dont know for sure let me know please.;
Here's some threads I had bookmarked that may help:
http://forum.xda-developers.com/showthread.php?p=16459009
http://forum.xda-developers.com/showthread.php?t=916814
I had another one that I can't find the bookmark for.
feralicious said:
Here's some threads I had bookmarked that may help:
http://forum.xda-developers.com/showthread.php?p=16459009
http://forum.xda-developers.com/showthread.php?t=916814
I had another one that I can't find the bookmark for.
Click to expand...
Click to collapse
You are my hero.

Categories

Resources