Has Anyone Seen/Used this? Theme Porter Script?!? - Samsung Mesmerize

Looks like it may make it pretty easy to port themes from any other phone with the same resolution as ours. I just stumbled on this tonight. I am on a Mac and don't have Windows running on my machine, and I'm not sure if they got a Linux version up and running. I have to get back to work so I don't have time to read into it or mess with it. I just wanted to post a link to it so you guys could check it out. Please post any results that you have with this and be sure to thank OP who created the script!
http://forum.xda-developers.com/showthread.php?t=737526

I'm very curious to this as well, anyone? I've never worked with adb

It works very well at dragging over the png files for you from one apk file to another. It doesn't get any of the xml or smali stuff that you need to go with it, though. It's got it's place, and I use it when I'm still being lazy to move stuff myself, but I'm finding things like Beyond Compare to be more useful in comparing what is in one file to another. This way you can trash what you don't need and then drag everything else over yourself.
Apktool and apk manager are two other tools that I use in theming to decompile the apk's so you can get in them and do your work and the it recompiles them for you and lets you know if there is a problem.
I've got more info, and when I have more time I can drop it on here. Also, I know that nitsuj17 just started a thread in the Fascinate forum somewhere that is going to have all of the info he has on theming. Most of what I have came from him. I've just had to make changes because of the differences between the two phones.

Related

[Request] Someone willing to do me a favor & modify this app?

Okay, here's my situation. I have a ton of numbers in my address book (well, Google Contacts), and I use this app called Contacts Clean-up to make sure all the formatting of all my numbers are the same and everything. Now the problem is with this application it forces you to format your numbers so they have a "+" before your number (ex. +1-555-555-5555).
I went to use Darch's Legend ROM and for some reason that format of a number isnt supported, it just wont let me call the people. Being that I have hundreds of contacts between Google Contacts & Facebook I need to have my numbers formatted WITHOUT the "+".
Long story short, the app is open source & I was wondering if someone could modify it for me to make an option to not have the "+" in the number. I know someone's gotta know how to do it...
Here's the link... http://code.google.com/p/android-contacts-cleanup/
Thanks in advance.
just take a look at the source yourself. it's pretty clearly outlined when you find
svn/trunk/res/values/strings.xml
i'd do it for you right now... but i can't check out a copy of the source since i don't use linux
but if you look in the strings.xml, you'll see the '+' sign that you want to get rid of clearly. if you're running linux, simply modify the file to delete the + sign and package it back to the apk, i'm assuming. then it should work fine
It just sucks that I'm on my mom's Mac right now.
Any ideas how to do it from here? Or anyone with Linux willing to help a fellow Android guy out?
i'm not sure if it works on a mac, but give it a try anyways!
just go to terminal and enter
Code:
svn checkout http://android-contacts-cleanup.googlecode.com/svn/trunk/ android-contacts-cleanup-read-only
To do it on a mac you would first have to install macports, and then run:
Code:
sudo port install subversion
After that you would then be able to check out the source.
Damn I'm on my mom's computer right now... I can't really install anything.
Ughh. Could anyone possibly try to do this for me if its not too much trouble?
I'll see what I can do. I might have some time to do it tonight yet.
Edit:
I have made the edits that are needed. Also, it required a bit more than just editing the strings file. This is obvious to anyone who has experience with Android development since the strings are only for display. As far as getting it to do what you wanted, that was just a few quick edits to the Formatter class.
PM me for a link to the .apk to install it. (I'm a new user, so I can't post links.) Just download it OTA. You will need to enable unknown sources in order to install it.
bbene said:
I'll see what I can do. I might have some time to do it tonight yet.
Click to expand...
Click to collapse
Thank you so much! You don't know how badly I need this.
this should work for you...also i put in a section so that if you had used the other one by mistake and it put the + in front of your numbers it will remove the +... USE AT YOUR OWN RISK, tested with 10 differently formatted contacts all were formatted correctly after running it
venumx said:
this should work for you...also i put in a section so that if you had used the other one by mistake and it put the + in front of your numbers it will remove the +... USE AT YOUR OWN RISK, tested with 10 differently formatted contacts all were formatted correctly after running it
Click to expand...
Click to collapse
Ditto. Lol.
venumx said:
this should work for you...also i put in a section so that if you had used the other one by mistake and it put the + in front of your numbers it will remove the +... USE AT YOUR OWN RISK, tested with 10 differently formatted contacts all were formatted correctly after running it
Click to expand...
Click to collapse
Thanks so much, about to try it out.
IT WORKED! Thank you so much! You dont know how much this is gonna help me.
np glad it worked
You're welcome, even though you didn't use mine lol.
bbene said:
You're welcome, even though you didn't use mine lol.
Click to expand...
Click to collapse
Wow, sorry bout that. I completely missed your post.
bbene said:
You're welcome, even though you didn't use mine lol.
Click to expand...
Click to collapse
haha my bad bbene didnt realize you were working on it till i went to post it! you didnt attach yours to your post
It's OK. I just know next time to post a new reply to myself rather than editing my post.
Regardless, thanks to both you guys.
glad you guys got it working. sorry i couldn't do it for ya!
isn't open source awesome, guys?
especially when its as readable as that code was...

Please unsticky [outdated]

At the moment this is still a work in progress. Your contributions are not only welcome, but needed.
I have created this Wiki because of the rapid rate that progression has been happening. I found the better solution vs. each person maintaining their specific guides was to have the person who found the error just fix it. So I created this Wiki that anyone can post their guides (or other peoples with permission). I am still in the process of copying over each individual section of the Pimp my Captivate guide (it's sticky-ed) if anyone would like to help that would be great. Remember though, ALWAYS SEARCH THE WIKI BEFORE POSTING SOMETHING TO MAKE SURE IT HAS NOT BEEN POSTED. Everything you post MUST relate to the Captivate.
Well here is the link:
http://samsungcaptivate.wikia.com/
If you want to contribute here is a list of possible posts. Just make sure they have not been made:
-Transferring music
-Transferring photos
-Transferring videos
-Clockworkmod /rom manager
-GPS fix
-Performance tweaks
-Battery saving tweaks
-Replacing Touchwiz with launcherpro etc.
-Anything else you can think of
This can help with the 'tips' section.
accinfo said:
This can help with the 'tips' section.
Click to expand...
Click to collapse
would you mind posting something like that on the wiki such as "How to use TouchWiz tricks"?
alright, i touched up some of the stup you put up there. Sleep now.
If anyone is an insomniac and wants to help out, the battery optimization, gps optimization, and clockworkmod guide from the pdf still needs to be added in.
I highly encourage other guide authors to move/copy some of their info there or offer edits where more detail is necessary.
systoxity said:
alright, i touched up some of the stup you put up there. Sleep now.
If anyone is an insomniac and wants to help out, the battery optimization, gps optimization, and clockworkmod guide from the pdf still needs to be added in.
I highly encourage other guide authors to move/copy some of their info there or offer edits where more detail is necessary.
Click to expand...
Click to collapse
hows the packaged update.zip coming along. Would you mind teaching me how to make one of those?
as soon as getting it down n tested, id be happy to share the knowledge on the new wiki
Great job! Thanks for this
its a good thing. lol.
plz post guide requests or confusing instructions here so we can take care of it
good job! people will love this!
I am new to the forums , i have a question about using titanium backup, if you delete the att apps theres not way of getting them back at all ?
nah you're str8. you can use a stock firmware posted on this website to revert to a perfect out of the box phone. You can also reinstall them if you ask us for the ones you're missing.
mongstradamus said:
I am new to the forums , i have a question about using titanium backup, if you delete the att apps theres not way of getting them back at all ?
Click to expand...
Click to collapse
If you use the freeze option (only available on paid version) it removes the app from the app list and prevents it from running while not actually deleting it.
Thanks
nbs11 said:
At the moment this is still a work in progress. Your contributions are not only welcome, but needed.
I have created this Wiki because of the rapid rate that progression has been happening. I found the better solution vs. each person maintaining their specific guides was to have the person who found the error just fix it. So I created this Wiki that anyone can post their guides (or other peoples with permission). I am still in the process of copying over each individual section of the Pimp my Captivate guide (it's sticky-ed) if anyone would like to help that would be great. Remember though, ALWAYS SEARCH THE WIKI BEFORE POSTING SOMETHING TO MAKE SURE IT HAS NOT BEEN POSTED. Everything you post MUST relate to the Captivate.
Well here is the link:
http://samsungcaptivate.wikia.com/
Click to expand...
Click to collapse
Looks great so far. This should really come in handy. I wish I was more well versed with Android and this phone so I could make some useful contributions. However, I clearly am not. I do appreciate the effort everyone else is putting forth tho!
jbradt said:
Looks great so far. This should really come in handy. I wish I was more well versed with Android and this phone so I could make some useful contributions. However, I clearly am not. I do appreciate the effort everyone else is putting forth tho!
Click to expand...
Click to collapse
it still has a very long way to go though
alright i am going to give that deleteing of att apps an go hopefully it will help with some lag issues i have been having. thx for this thread has been very educational
You've got a section there for Sideloading, do you want to tack in the instructions for enabling non-market apps from the phone itself?
yeah, its in the main pdf guide, still havent had time to port it all over
When I read an early release of the PDF guide, it didn't include some of the hum-dingers like chowning the file, I don't know if thats been changed.
max_warheads said:
When I read an early release of the PDF guide, it didn't include some of the hum-dingers like chowning the file, I don't know if thats been changed.
Click to expand...
Click to collapse
what is chowning?
chown'ing, sry. : chown : change ownership
Changing the ownership of the file, in addition to the permissions.
One methodology being used was to chmod 777 (world writeable!?), which is not a birght idea for security purposes.

[Defunct] No Longer Maintained or Supported -- Mod's can remove

I have come to realize that I do not have the time to maintain this.
I apologize for letting this thread fall out touch.
Glad to see someone take on the EVO Kitchen. I've been following that thread waiting for someone to pick it up.
Thanks!!
Awesome
Sent from my HTC Evo
Veritas06 said:
Glad to see someone take on the EVO Kitchen. I've been following that thread waiting for someone to pick it up.
Thanks!!
Click to expand...
Click to collapse
It took a little time to get everything set up. It would have been up sooner, but I was out of town for work this week and stuck at a hotel with the slowest download/upload speeds in America (seriously downloading ROMs in number of bytes per second).
Glad to be back home and able to get everything else set up and posted. I hope people enjoy.
Tried it with the cyanogen build and i can get to the end but no update is produced to dl... heavy traffic or maybe theres something else going on
gabemeyers said:
Tried it with the cyanogen build and i can get to the end but no update is produced to dl... heavy traffic or maybe theres something else going on
Click to expand...
Click to collapse
It worked just fine for me (I just double checked, using the CM6 ROM for base to be sure). It does take a little while after you click the 'Serve Me!' button for it to come up. Then it takes you to another page, and says 'Preparing your rom..' for a bit, then the download link will pop up.
When the link comes up, it will still say 'Preparing,' even though it is done. The link comes up on the left side the add box below, so it is easy to miss. It will say 'Your rom is ready for download' and provide a link.
cool idea OP...just wondering about the Cyanogen build. Is it based on the nightly?
gabemeyers said:
Tried it with the cyanogen build and i can get to the end but no update is produced to dl... heavy traffic or maybe theres something else going on
Click to expand...
Click to collapse
Did you upload your own app? If so you HAVE to upload your own app in zip file.
WOW cool idea worked fine flashed fine using damage base. I love it. One thing does it deox?
How about all the basics like zipalign etc? Are those all default to whatever you use as a base?
Some of the base roms you have listed have different versions. As an example is OMJ...he has 3 versions (w/kernel, w/o kernel and deodexed). How can we tell which one is part of the program?
If I can make a suggestion, in so many people here like to theme, if a choice is to be made you use the deodexed versions.
Vegasden said:
Some of the base roms you have listed have different versions. As an example is OMJ...he has 3 versions (w/kernel, w/o kernel and deodexed). How can we tell which one is part of the program?
If I can make a suggestion, in so many people here like to theme, if a choice is to be made you use the deodexed versions.
Click to expand...
Click to collapse
Whenever possible, I have included deodexed versions. I didn't know OMJ had multiple versions, so I will check what is there and update the OP to be more specific about versions for that and others (probably in the morning).
rjmjr69 said:
WOW cool idea worked fine flashed fine using damage base. I love it. One thing does it deox?
How about all the basics like zipalign etc? Are those all default to whatever you use as a base?
Click to expand...
Click to collapse
To my knowledge the kitchen does none of those things. I know dsixda's kitchen is a bit more in-depth, including those features, but this is a lot more basic. Assume all ROMs default to whatever the original developer has done (so, for example, Fresh Evo does zipalign on load, but the stock ROM does not).
vboyz103 said:
Did you upload your own app? If so you HAVE to upload your own app in zip file.
Click to expand...
Click to collapse
Great point -- I totally forgot to mention that in the OP. I will update that in the morning. Thanks.
vboyz103 said:
cool idea OP...just wondering about the Cyanogen build. Is it based on the nightly?
Click to expand...
Click to collapse
The CM base that is provided is the release candidate. Check the link in the OP for the post. I cannot keep up with the CM nightlies, so the kitchen will likely only be updated with major releases (if there is a RC2, or when the final comes out). Sorry for the inconvenience.
http://forum.xda-developers.com/showthread.php?t=746276
So if the base rom that I select already was deox... zipaligned etc etc then I'm safe to assume thats how it gets recooked?
It would be cool if you can take some apps from another ROM and place it into your base ROM..
Very cool implementation of the kitchen. Nice work! One of my favorite features is making stock apps uninstallable by moving them to /data/app. Save you the headache of using adb or something like root explorer to manually delete an apk for something you don't want.
Is there any way that explanations of the files could be posted that are shown. The applications may or may not also make sense as they sometimes use internal HTC names. Yes, I know, asking a lot, but it might help those of us who don't know what all the files listed in the first section are for.
Is there any way to change boot animation? I saw on the Nexus One kitchen it was possible...
Skype Beta?
i saw in the kitchen one of your selectable apps is skype for video calls is there a apk for that anywhere
Little OT but where can i just get the Skype apk you have in your kitchen?
Thanks
everything looks great!
only idea and question which comes to mind as im stepping through the menus and options - version numbers for the applications to be added in?
example, wifi tether - what version number is this?
Would it make sense to have an option to include Netarchy's kernel for the ROMs that didn't already have it?

[Q] Were all Swype threads deleted?

Are we not even allowed to say the S word anymore around here?
rayden25 said:
Are we not even allowed to say the S word anymore around here?
Click to expand...
Click to collapse
Actually you are I deleted it because after I deleted the app, it turned into a PM me *wink wink* deal. Discussion is fine, just no posting the actual app or a link to get the app
i wasn't invited, i was curious about how i could get swype on my phone too.
Crimton said:
i wasn't invited, i was curious about how i could get swype on my phone too.
Click to expand...
Click to collapse
I know, but per a letter from the developers to us, unless swype is native on a device, it should not be posted
i have the swype apk, i was just hoping there was a mod for the g-tablet that would allow swype to install. that wouldn't involve posting a link.
theimpaler747 said:
I deleted it because after I deleted the app, it turned into a PM me *wink wink* deal.
Click to expand...
Click to collapse
I wouldn't do that *wink wink*
rayden25 said:
I wouldn't do that *wink wink*
Click to expand...
Click to collapse
I'd hope not
I tried the official beta, as I'm a member, and a SGS version both on my G-Tablet and they install but wont open as the resolution is not supported. If there's a apk that does actually work. I'd love to just KNOW that. and I'll find it myself.
Thanks!
I tried using the swype from my epic but when I installed it and enable it it just FCs. I did use slideit but the keyboard took up most of the screen. Anybody else have any luck?
This is also something I am very interested in and have yet to get it to work.
I made the changes that rothnic suggested in the build.prop, loaded the lib, and dropped the ap in system/app and my tab doesn't see it at all. I've loaded a ' few' different versions on it that install but just fc. I've spent hours on it with no luck yet.
I'm not giving up hope for someone to release and update.zip but I'm not going to bother rothnic about it (anymore) as I'm sure he's working on roms and such. Even if he weren't, he's done more than his share here and I'm sure one of us will get it.
I'm still working it myself and if I make any progress I will surely let everyone know.
Just a reminder we can't post the .apk for swype here, as we don't want the thread pulled, again.
Sent from my GT-I9000 using XDA App
it2steve said:
This is also something I am very interested in and have yet to get it to work.
I made the changes that rothnic suggested in the build.prop, loaded the lib, and dropped the ap in system/app and my tab doesn't see it at all. I've loaded a ' few' different versions on it that install but just fc. I've spent hours on it with no luck yet.
I'm not giving up hope for someone to release and update.zip but I'm not going to bother rothnic about it (anymore) as I'm sure he's working on roms and such. Even if he weren't, he's done more than his share here and I'm sure one of us will get it.
I'm still working it myself and if I make any progress I will surely let everyone know.
Just a reminder we can't post the .apk for swype here, as we don't want the thread pulled, again.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
It sounds like you are doing something wrong when copying it over. It should come up under keyboards in settings. You would enable it there, then long press on an input box to switch to it.
I just did this a second time today and can confirm that it works.
rothnic said:
It sounds like you are doing something wrong when copying it over. It should come up under keyboards in settings. You would enable it there, then long press on an input box to switch to it.
I just did this a second time today and can confirm that it works.
Click to expand...
Click to collapse
yea, I was hoping that was the case but there can't be much that can go wrong. Download it or copy over via usb... then use root explorer to put it under system/app
For some reason I cant get ADB to work anymore? It had at one time. Do we know of any known issues with flashing that we loose the ability to ADB?
Oh well... I am a patient person and it's not like its a deal breaker for me. All is working pretty smoothly 3 weeks into the game.
Swype / ADB ... Progress / NO Progress
Ok, this is VERY interesting...
I still cant get swype to work. I FINALLY got to ADB push the .apk and the Lib and triple checked the build.prop (even used a couple different ones).
All I get is an FC over and over and when I got to settings-applications-manage, to clear cache, it's grayed out. I booted into recovery and cleared dalvik cache, wipe cache, and data. I have even gone as far as to re-flash the ZPAD 1.1, load gApps, Market Hack, Open GL Hack, and restart the whole swype process again with the same result.
HERE IS THE INTERESTING PART and we may want it posted elsewhere: I couldn't get my win7 to load the proper ADB driver (even though it had worked before). I found an app call ADBWireless (widget). It allows me to hit the widget and connect through ADB wirelessly (local wifi) and push/pull ect.
This was amazing and easy to use. Of course you have to have the Tab up so it wouldn't help for anyone who's in a loop.
When you hit the widget it shows the local ip address to connect to:
-I go to the command prompt \androidsdk\tools and type:
adb connect 192.xxx.xxx.xxx:5555
-it connects, and I am able to see the device
I have to use adb remount and then I'm good to go.
Hope this helps someone down the road. I'll keep checking back here but feel free to PM me if you have any questions (or find an update.zip for swype to work).
I made a little progress last night, got rid of the FCs but I can't get the keyboard enabled in the Settings. I managed to track down a Swype version from a Samsung Gaxlaxy Tab, at least that is what I think it is from, and then I had to find the necessary Lib file from somewhere else but when I push the .so to the Lib through ADB and install the Apk it seems like I'm closer, I can open the Swype settings screen and change things but I just can't get the keyboard enabled in the settings and then of course I can't pick the Swype keyboard when configuring the input method.
What changes were you making to the build.prop?
bmasephol said:
I made a little progress last night, got rid of the FCs but I can't get the keyboard enabled in the Settings. I managed to track down a Swype version from a Samsung Gaxlaxy Tab, at least that is what I think it is from, and then I had to find the necessary Lib file from somewhere else but when I push the .so to the Lib through ADB and install the Apk it seems like I'm closer, I can open the Swype settings screen and change things but I just can't get the keyboard enabled in the settings and then of course I can't pick the Swype keyboard when configuring the input method.
What changes were you making to the build.prop?
Click to expand...
Click to collapse
there was a 'header' so to speak that Rothnic posted that mad a few changes to the build.prop to make it look like portions of the Galaxy. He has it at the 'other' fourm.
Checked the permissions on the build.prop and they looked different. I couldn't just 'change' them in root explorer so I re-inserted the lines on the original build.prop, also did a fix permissions in CM (not that it helped).
Permissions in the lib file are hard to tell what they are supposed to be because several of the lib files there have different ones set. Swype.apk permissions look the same as the others. Still getting same FC's over and over. I was able to get into manage apps and hit force stop and clear (quickly tho) but goes back to the same after reboot.
Thanks for trying, as I said before, it's not a biggie. I just enjoy swype as being from palm and blackberry phone's if it weren't for swype I dunno that I would have kept an Android phone.
I can wait, I've spent too many hours jackin with it (although I did learn about the adb wireless and I am comfortable in pushing file that way now)
I managed to get it working although it is a little laggy. I followed rothnic's info in the other thread and after playing around with the build.prop file it is now working. Hopefully as the roms get faster this will get faster. Thanks for the help.
bmasephol said:
I managed to get it working although it is a little laggy. I followed rothnic's info in the other thread and after playing around with the build.prop file it is now working. Hopefully as the roms get faster this will get faster. Thanks for the help.
Click to expand...
Click to collapse
How did you do it? Can you be specific? Which version of Swype are you using? Where did you find it? What other thread?
Working on latest zpad rom. Had to set permissions - I think the important ones were r-x for User on both the lib and apk. And of course the build.prop edits.
-=Sent from my ViewSonic G Tablet using Tapatalk=-
I'm pretty sure the swype word is naughty here so I suggest you google for 'rothnic swype' and check the post on the other forum that comes up.
I used adb to push the modified build.prop to the sd card, along with the .so and .apk files. Then I used adb shell to copy the files to the locations rothnic specifies.

Samsung Theme Builder Thingy - [Tool/Source]

Oh hey guys.... I didn't see ya there. Welcome to my Theme Builder Thingy. So you're probably wondering what exactly this is. Well I'm glad you asked. But first I need to give a huge shout out to my good ol' carnt of a bloke pal @daveyannihilation for his ongoing support for making this. He didn't do anything but he was very encouraging in our group chats. so make sure if you see him around you say hello.
So what this is, is source code essentially to be able to construct a Samsung theme in Android studio. I tried the old leaked Samsung Theme tool and albeit does work, it's less than ideal and honestly it's a bit dated. Feel free to still use it because there are some advantages it has. However from what I gathered folks are using other things like apktool to make their themes and in order to do that you'd have to take someone else's base which I personally am not a fan of doing. Not to mention how cumbersome it is decompiling tons of apps, converting stuff to or from .qmg or whatever and then, recompiling and signing with a generic debug key. Too much of a pain.
Now to be clear this tool or thingy.... Yeah let's call it a #Thingy because why not. So this Thingy does not work the same way that the Samsung tool works in that you'll still need to make your own images and xmls. Because well I'm not doing it for you! But this will build your theme properly and securely. Anyone who's using an antivirus app like: lookout or whatever will get annoying notifications saying you're using "riskware" when installing a theme through other methods. That's because it isn't built properly or securely.
This will make your theme using a private signing key and should you decide to you can upload your theme directly too google play and it will pass and be just fine.
But wait.... There's more.... I've done basically all the work for you in regards to how it builds. You can literally drag and drop the contents of your res folder in this, change a few names via batch and build it and then bob's your uncle.
The key to this is to follow the instructions. I've went step by step, button for button on virtually everything you need to do to use this so if you experience an issue then chances are you didn't follow them.
You can ask for some support in here if you're truly stuck on something but you really should try to figure this out. It's really not that difficult to do, although putting this together and getting this to work was an absolute nightmare!
So. below are the instructions which are also built into the source. Please keep in mind that every file included in the source is there for a reason. You do not need to delete anything in there unless it tells you to in the instructions!
Bottom line, this is a very fast and efficient way in which to create a theme without kanging someone else's base and just changing stuff up. Again, we're building from source here so to speak so that's what I consider the right way of doing things.
Now if you don't feel this Thingy is for you that's totally fine. I will not lose sleep should you choose other methods. However there will be some who find this very handy so. I'll leave you with the instructions and then give a few shout outs to a few people who gave me a few suggestions, and let me bounce ideas off them.
@sykopompos @nicholaschum @Venom0642 for unknowingly letting me use his theme for proof of concept purposes! @bigmase23 for being > @freeza + cobs combined .
Instructions:
#Samsung theme Template Builder Thingy by Mark Bencze Theme Template for Samsung 7.0 phones Alt text
First things first. You need to use only .png and .xml format. DO NOT USE .qmg or any other extension.
Step 1: import project into android studio Step 2: allow Gradle to finish doing it's thing. You'll notice a progress bar at the bottom doing stuff. It may take a few minutes depending on your computer. Step 3: on the left side of the page close to the top you'll see a "project" tab written vertically along with the android studio icon below it. Click on that. Then just to the right and above it you will see an "Android" tab with a drop down menu. Click the menu drop down and select "Project". This may trigger gradle to do it's thing again. If it does, let it finish. Step 4: You will see "offical theme tool source" folder. click on it to expand it. This is what we're working with. Do not worry about or touch "External Libraries" Step 5: While you have "offical theme tool source" selected (highlighted) go to the edit tab at the top of the screen. Step 6: Go to find, Replace in path and search for "com.yourname.themename". Replace that with whatever you want to call it. This should be self explanitory on the naming of it. make sure in this pop up menu under scope that you have "whole project" selected and then press find. This will change 675 files give or take. you want to select "yes to all" when asked. Step 7: In the folder _app/src/main you will find you AndroidManifest.xml. Enter the name of your theme there. You do not need to use an underscore _ You can use a space if you wish.
Now this next part is very important. Failure to follow this will cause your theme to fail to work. The manifest I have provided in the _apps folder has about 60 or so asset names. So does the json.file and you'll also notice that you have the same amount of folders in this source. All three of these must match. For example: If you do not wish to use the asset "touchwiz" in your theme, you must delete that reference carefully from the AndroidManifest, json.file as well as remove the folder from the source to the source. The three things need to communicate and jive with each other and if you do not have them all in sync you will get an error during installation of the theme on your device saying in a toast message "Master Package Not Formed Properly". So if you get this, it is your fault not mine! I warned you!
Remember that if your manifest says to build the touchwiz apk and you don't have it or, you've improperly named things within that apk the theme will not build properly. That should make sense right?
Ok great that wasn't hard at all was it?
The next part is for if you want to add additional assets. If you do not with to you can skip to the "Build Part". Now let's say you have additional assets you with to add to this ie: navbar. For one always use lower case letters when adding a new asset apk to this (including the manifest). The same rule applies that we just spoke about. Add the name to your manifest and your json.file first. Then call the folder whatever it's called. ie: "navbar". do not call the folder "com.navbar" or anything like that. So what you need to do is take an existing asset folder and make a copy of the folder. for example settings folder. You'll then change the name of your folder that you made a copy of to "navbar" since that's the example we're using right now. You will notice there is a .iml file as well inside our copy. We need to change the name of that to "navbar.iml" in order to have the asset apk form properly. You can do this either inside android studio by either right clicking on the file and going to "refactor" and then rename. Or you can do this outside of android studio. You do not need to open the .iml file and edit it. You do however need to open the build.gradle file for the app and change the last part of the app name located on line 8. This will still be showing the original app name. We don't want to make a duplicate right? So make sure you adjust that. The build.gradle is really the brains of the operation in this whole program. As you can see they actually control everything and will overwrite your manifests. You do not need to touch the manifest for each asset apk either.
So now you will see a "settings.gradle" file at the bottom (directly below this readme file!!!) open this file. At the top you will see a series of asset folder names that are identical to the names of the folders already provided in here. So if you want to add a new asset you must also reference it here. Follow the structure of how this is already written to add another one in. It's as simple as writing: ie: ":appname", Just remember that at the very end there is no comma!
"Build Part" So you're ready to test your theme and just want to build it. At the top go to the "build" tab and select "build apk". This will build all your asset apks in a min or two depending on the speed of your computer. When it's done you'll see a notification telling you it was successful. You can go see for yourself by going to _app/src/main/assets and you will see your asset apks. Next you need to build the main apk. Go back to the build tab and this time select build signed apk. You will now need to either make a private signing key or use an existing one if you have one. It's not hard to make one so figure that out or google it. the first popup window shows the theme being on the _app folder. that's where it needs to be so do not select anything else or it will not make the apk. So next go through the signing key process. On the last part you will select the version you want to make. Either Release or debug. By default it will be set to Release. Keep it this way and select both check boxes for jar and apk signature under signature versions. Then hit Finish and you're all done! In about 2 seconds your theme will be made and ready to install!
I hope you find this tool useful! It was a huge pain in the ass to make this and a lot of work!
Download Theme Builder Thingy Template
May want to snag this post for future reference
But wait.... there's more...
Holy hell I can't wait to use this. Thank you you're a god
Excellent mate glad you made this tool , As you mentioned using my themes to get stuff going is great, which now this tool is gonna make my life easier in making my Samsung custom themes, Great job ???
Sent from my Samsung Galaxy S8+ using XDA Labs
Congrats bro, excellent work as always!!
@markbencze
Great job bud..... finally after alot of hours.... all worthed and could be the new beginning for samsung theming world.
I won't be using this but because of your new tool I'm sure we will see even more custom themes start to pop up and for that I thank you good sir. Awesome work!
tytydraco said:
Holy hell I can't wait to use this. Thank you you're a god
Click to expand...
Click to collapse
lol My wife says otherwise!!!
#ThemeThingyFTW
Lol you're an idiot Mark. No one who cares about open source should support Samsung smartphones in any way, shape or form. If you wanna do it, then you go for it. But don't bring me into this. I'd sooner buy an iPhone than one of these hunks of junk.
Meke Blackscreen OS theme! Nao!
Good job on this Bencze... I'm glad you stuck with it!
This is an awesome Thingy Mark! Great job and Thanks man
daveyannihilation said:
Lol you're an idiot Mark. No one who cares about open source should support Samsung smartphones in any way, shape or form. If you wanna do it, then you go for it. But don't bring me into this. I'd sooner buy an iPhone than one of these hunks of junk.
Click to expand...
Click to collapse
Lol you had to know this was coming and know I couldn't resist! #TeamCarntOut
Jayrod76 said:
Meke Blackscreen OS theme! Nao!
Good job on this Bencze... I'm glad you stuck with it!
Click to expand...
Click to collapse
Thanks big guy. Almost gave up a few times
Awesome work bro!
cbucz24 said:
Awesome work bro!
Click to expand...
Click to collapse
Thanks big guy. Now we just gotta wait for ws to kang it and just change the wallpaper lol!
markbencze said:
Thanks big guy. Now we just gotta wait for ws to kang it and just change the wallpaper lol!
Click to expand...
Click to collapse
hy man can i ask a favour
can u zip last samsung theme editor you use because on mine i need to download last version if i donìt download i canìt open the app..
i reg and do it all thinks in samsung developer but i'm waiting again more than 3 weeks. can u give to me last theme via pm if you can
alex393 said:
hy man can i ask a favour
can u zip last samsung theme editor you use because on mine i need to download last version if i donìt download i canìt open the app..
i reg and do it all thinks in samsung developer but i'm waiting again more than 3 weeks. can u give to me last theme via pm if you can
Click to expand...
Click to collapse
Dude I don't have a clue what you're saying. Please restate what you're asking me and try to be more coherent and specific on what you're saying. I have no problem offering support but you lost me at hy
I might use this soon. Let me just put this out here, your post, the op, is actually amazing. I love the way your wrote it. You are great.

Categories

Resources