yashsingh1/xdaforums huggingface dataset:
[Android Themes] heXacode:
Sorry it took awhile to reply back with details. As of right now, I think I have to get a bit more familiarized with your program because I think the errors are mostly caused on my behalf of not following through to get everything working.

Although, I did another test run and basically wanted to test just an app, not a system app. I took the Tapatalk app, dropped it in, let it decompile and it gave me all the folders with the files in it. Without making any changes to it I just basically clicked on the Build APK button to see if it follows through. It checked for any source changes and then I got an error saying this:

CreateProcess error=2, The system cannot find the file specified

at java.lang.ProcessBuilder.start(Unknown Source)

at java.lang.Runtime.exec(Unknown Source)

at java.lang.Runtime.exec(Unknown Source)

... 8 more

Caused by: java.io.IDException: CreateProcess error=2, The system cannot find the file specified

at java.lang.ProcessImpl.create(Native Method)

at java.lang.ProcessImpl.<init>(Unknown Source)

at java.lang.ProcessImpl.start(Unknown Source)

... 11 more

My guess, from experience, is that it needs to have environment variables set in CLASS Path in order to connect your program and java? Would I need to apply the same procedures as I've done with Android SDK and AVD Manager?

I read your instructions on a link you provided and tried to apply some of the same methods but the thing is, I'm not replacing regular apps or system apps with existing themes. I'm basically starting from scratch and just working on a regular APK app (Tapatalk app as a test) and taking png's and .9.png's and putting them on CS Photoshop or Gimp to change the looks of it. When I'm done with it where are they suppose to go? Do I need to make a PNG DB folder to put them in so I can swap out the new themed png's with the stock png's?

I haven't been able to make much progress in what I want to do as a start before I do bigger stuff on it. Your program did in fact decompile Tapatalk in order for me to see the APK files inside of it. The files include the res folder and smali folder. On the Xml/Drawable-hdpi panel, I can see the whole list of png's, .9.png's, xml and such. But I don't see a way to swap out my fresh themed png's with the stock png's.

When I select a png from the XML/Drawable-hdpi panel, I can see it in the PNG Preview. When I right-click on the PNG in that panel, I have the option of Replace PNG from DB or Open With. I click on Replace PNG from DB and I get an error saying Unable to write to C:\Idiot.ini. When I try to close out of PNG Data Base I get the Access Denied error.

I'm probably doing a lot of stuff wrong but I'm just not really sure how to tackle the issue the right way with your program.
[Android Themes] ehoba:
To exchange a PNG in a recompiled apk you can drag and drop a PNG onto the preview of the image you want to change.

1 select PNG in theme builder section XML/ drawable.

2. Drag and drop new PNG on to the preview window.
[Android Themes] ehoba:
In the next update idiot will be supporting mdpi devices.
[Android Themes] heXacode:
I must be having the worst luck out of all themers and still can't theme a single thing.

All I did was add that one APK, find the png, drag the themed png in place of the original png and it changed on IDIOT then I clicked Build APK and it wouldn't process the new APK due to errors.

I don't know why I can't get one simple thing right so I can move forward. Seems like everyone else is doing it with ease and I'm still trying to figure out the first step of themeing after 8 months now.

This is really starting to piss me off.
[Android Themes] Talnaj:
It's great, but I can't download for Chinese network, sadly.
[Android Themes] ehoba:
Hey guys an update is coming soon. I'm finishing up some final touches. I am adding one click root functionality to IDIOT. So if any of you have an old phone laying around and would like to donate it to me so I can test and add as many root methods to idiot I would be very thankful. Of course I would add your name to the scrolling credits as a donator.
[Android Themes] ehoba:
Released a new version of Idiot. See OP for details. Thanks
[Android Themes] KiNG OMaR:
I was installing and my anti-virus kicks in and says it found and removed a trojan :eek: Shady.

Uninstalled and reinstalled just for good measure:
[Android Themes] ehoba:
No not shady. The GingerBreak file is a C based binary file used to grain root access to some Gingerbread based phones. I'm sorry your virus scanner sees this file as a trojan. You can download the same file from on here and replace it if you don't trust me.
[Android Themes] iamnotbrian:
this works great on my evo with miui
[Android Themes] KiNG OMaR:
Nah it's completely fine :) Been using it for a while now!
[Android Themes] ehoba:
Good to hear.
[Android Themes] ehoba:
UPDATE! Version 1.2.0.15 Fixes cut and paste bug in ADB explorer. Check out OP
[Android Themes] ehoba:
Updated the scrolling credits. New version can be found on OP
[Android Themes] mjs2011:
so i am a complete n00b at theming. all i've ever used is the UOT Kitchen, but i'm definitely hungry to do more.

could i just take a simple CM7 Theme Chooser theme and change things around with this program (status bar icons, dialer colors, etc...). i'm just a little confused on what steps to take after downloading this program. i'm hoping this isn't too advanced for me, lol!
[Android Themes] BennyJr:
Really great program..but it looks like i need apktool installed? Some insight on how to get started would also be greatly appreciated.
[Android Themes] ehoba:
If you go to the OP there is a link to a very basic tut. I'm am working hard to finish up a tutorial on how to use it. As far as using a CM7 theme IDIOT doesn't at this time support CyanogenMod. This is one of the features i'm work hard to finish up for a future release. If you have any more question please ask them.
[Android Themes] ehoba:
Idiot comes with APKTOOL. If you are having problems with it giving you this error message.

'apktool.bat' is not recognized as an internal or external command, operable program or batch file.

Try adding the path to the folder in which you have installed idiot (default locations is c:\Users\Your_user_name\Desktop\Idiot\) to your windows system path. or you can right click on the IDIOT shortcut and select properties. Then you can get the path to where IDIOT is installed in the Target box.

Windows 7

Windows XP
[Android Themes] R3D X:
norton says the installer is a trojan :p I know it's not tho
[Android Themes] ehoba:
Updated OP with warning of anti virus reporting. Check out OP.
[Android Themes] ehoba:
Thank you for understanding. :D
[Android Themes] ssmr2t:
this looks beautiful!! Congrats.

With that said, wish you had cm7 support. Would love to try it out.
[Android Themes] asimons81:
IDIOT is an amazing tool. Thanks, Ehoba!
[Android Themes] vali_ics:
Awesome, waiting for cm7 :D.
[Android Themes] CalamitySir:
has anyone confirmed which phones can use this now...i owned a Optimus Black Btw!:D
[Android Themes] ehoba:
Maintenace Update. V1.2.0.20 See OP for change log and link. or Click Help/Check for Update
[Android Themes] BennyJr:
Hey i got a question..why sometimes does IDIOT build an apk as a .zip and sometimes as an .apk. I dont see a setting to change it to just a .apk
[Android Themes] ehoba:
Good question. Some where in the process of it something is cause the .zip time from being renamed to .apk. I will look into this and see if I can duplicate the issue and fix it. Thanks for bring this to my attention.
[Android Themes] BennyJr:
Seems like if u build an .apk and it builds as an apk. but if u do more edits and build it again thats when it builds the .zip
[Android Themes] ehoba:
That helps alot. I think I know where the problem is.
[Android Themes] BennyJr:
Sweet..one other question. Im trying to switch the pngs from the database but the switch button does not turn on..is there something else you have to do?

Im also getting this error

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml

at brut.androlib.Androlib.readMetaFile(Androlib.java:142)

at brut.androlib.Androlib.build(Androlib.java:159)

at brut.androlib.Androlib.build(Androlib.java:154)

at brut.apktool.Main.cmdBuild(Main.java:174)

at brut.apktool.Main.main(Main.java:59)

Caused by: brut.directory.PathNotExist: apktool.yml

at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)

at brut.androlib.Androlib.readMetaFile(Androlib.java:138)

... 4 more
[Android Themes] ehoba:
How are you accessing the data base? Theme-View Png data base or doing a right click on the Xml/Png Section, then selecting Replace with Png from DB?

What are you doing to cause this error?
[Android Themes] BennyJr:
Im just decompiling an apk and recompiling it right after.
[Android Themes] ehoba:
What apk are you decompiling? Is it a stock non themed file?
[Android Themes] BennyJr:
Yes it is. mms.apk from a sense thunderbolt build. I know that the mms.apk requires the com.htc.resources.apk as a dependency apk when i decompile in apkmanager. It will decompile but never recompile. Even if i havent done any changes
[Android Themes] ehoba:
Ok. I am working on that very issue now. I am trying to write in a section into Idiot that will require you to add the resources to apktool. This is tougher then it sounds. I hopefully you will see some of this in the nightly builds and can test for me.
[Android Themes] ehoba:
IDIOT has just passed the 3000 download mark. I am planing on giving away 25 FREE key lanyards. Stay posted for details on how you could get selected to receive one. Also when we reach 1000 likes on facebook I will be giving away another 25 key lanyards. More details on that as we approach 1000 likes.

Thank you to everyone that has downloaded IDIOT! Keep the feedback and suggestion coming.

Ehoba
[Android Themes] BennyJr:
sounds good
[Android Themes] R3D X:
I have a suggestion that would make this the world's most useful tool. If you can make the program somehow search apps on the market and rename icon pngs to the correct package name (and/or activity for launcher) that would be so nice!!! This site has a huge db http://activities.droidicon.com/

oh and what's with the png db man :(
[Android Themes] ehoba:
Good idea. Can you give me some more specifics on how that should work? What do you mean what's wrong with the data base?
[Android Themes] R3D X:
well I don't know a whole bit in C++ but could you have the program choose a package name from that database or the one like in mycolorscreen uses http://chomp.com/ (don't know how he did that) and then just ask for the png? it will then automatically rename the png because that's the most annoying task for themers >_< renaming so many icons and xmls. and the database is great but you need a premade theme. What about icons you just have sitting in a folder? Can't I use them if they're not already in a theme?

just feedback for potential greatness ;) thanks for hearing me out
[Android Themes] MJPollard:
This looks like a great tool with a lot of potential. Once you have it working for Theme Chooser themes for CM7, I'm gonna be all over this app like white on rice. :D To paraphrase Senator Palpatine, I'll be watching its development with great interest...
[Android Themes] BennyJr:
What would be nice too is like an update script generator.
[Android Themes] ehoba:
OK you can use PNG that are not in the DB. Once you have selected the PNG you want to replace you can simply drag and drop the new one on the preview of the original PNG you want to replace. It will copy it on to the theme and rename it correctly.

Now as far as what your wanting. I'm still a little lost. What kind of theme is this for? Are you just wanting it to look up the default icon PNG that is displayed inside app drawer? The more info you can give me on what you would like it to do will help me figure out if its possible.

Thanks for the input.
[Android Themes] ehoba:
I have spent the whole day working on cyanogenmod support. Its layout is a bit more complicated that a stock OEM theme or miui. There are so many thing to have to edit / create. I'm work hard on getting CM support finished. Thanks for the interest.
[Android Themes] ehoba:
I have been looking into that as well. :) I'm also working on adding in support to where you can flash a .zip file threw recovery using idiot.
[Android Themes] ehoba:
Input Needed

I am making good progress on the CyanogenMod theme support. I am at a point to where i'm going to be storing the Pngs to the data base. In Stock and MIUI I can save theme under there apk or package name. With CM support I can't do that. I can add a new Node to the tree So you would have a PNGDB node and a Cyanogen Node. Inside the Cyanogen node would be a list of all the png just like in the original.

I'm open to suggestions on how to store the Cyanogen PNGs in the data base.

Thanks

E
[Android Themes] R3D X:
for cm7 and miui I want the program to add a new icon from a list of packages after searching and simply drag and drop a png to it so it automatically renames it to "com.x.x.x" and make and xml for cm7 too like here http://xdaforums.com/showthread.php?t=1083160.

and big step up with the new update. I'll test it out asap
[Android Themes] ehoba:
I'm still a little lost.

Ok correct me if i'm wrong.

You would like IDIOT to add a NEW icon from a list of packages.

Where is the list of packages coming from? Pre built data base?

Is IDIOT supposed to find the icon for the package Name?

After we have to Name and .PNG file you would like it to add it to the theme.

MIUI and CyanogenMod.

If you could break it down into steps(flow chart) of what it's supposed to do it would make it easier for me to fallow what your wanting.

Thanks for the input.
[Android Themes] R3D X:
For Miui

1.) a new icon png is added in the drawable hdpi folder

2.) you can right click on the icon or click a button to search for package names (the default ones)

3.) IDIOT then renames the png to that package "com.x.x.x.png"

For Cm7

Cm7 is a bit different. Png names do not matter. Whatever app and its compnents you theme needs to be called out in res/xml. The xml needs that package name. What idiot should do is automatically search the package name and create the xml.

ex. for go sms

in res/xml IDIot will generate com.jb.gosms xml

in that xml

<?xml version="1.0" encoding="utf-8"?>
<resource-redirections>
<item name="drawable/jb_smsmms">@drawable/[B]this is the png you choose[/B]</item>
</resource-redirections>

so here's program steps

1. Click add new icon

2. Idiot chooses a png and places it in drawable no matter what the name is

3. Idiot then creates the xml and where I have this is the png you choose is where idiot will put the png name you added. Please note in that xml no ".png" is at the end of the value.

4. Idiot adds the new generated xml and adds it to res/xml/redirictions.xml

ex.

<?xml version="1.0" encoding="utf-8"?>
<theme-redirections
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:pluto="http://www.w3.org/2001/pluto.html">
[B]<package-redirections android:name="com.jb.gosms" android:resource="@xml/com_jb_gosms" android:minSdkVersion="9" />[/B]
</theme-redirections>

For launcher (launcher pro, adw, qq)

(similar to miui uses rename method)

-since miui and launcher are only limited to a certain name

1. you click a png after it is added in drawable-hdpi and IDIOT will rename it to the package

2. Idiot renames the png to the package name but this one requires the acyivity name unlike miui that requires standard name so eg. for a twitter icon "com_twitter_android_startactivity"

I don't know how IDIOT will search a db. Possibly You can make your own? Or best is to search from here http://activities.droidicon.com/
[Android Themes] ehoba:
Thank you. This is exactly what I needed to understand what you were wanting. Now my only question is...

How is IDIOT to know what png you just added? It would be one thing to know the package name and find the icon that matched it, but from what I

understand you are wanting it to find package name of a png that could be named this_is_a_png.png . Please correct me if I'm wrong.

Again thanks for the input.

E
[Android Themes] R3D X:
The icon could have any name like "my_icon.png" and with the click of a button IDIOT will search for packages so click facebook and IDIOT will rename "my_icon.png" to "com_facebook_katana.png" so we can easily add icons with manually searching and renaming :)
[Android Themes] ehoba:
Ok.. So your wanting IDIOT just to build a list of packages... Then let the user click on which one they want and have it rename the PNG. With CM it will build the xmls.

Correct.
[Android Themes] jgrimberg1979:
Looks like you have made a lot of progress since I tested it for you several months again. Congrats man it is looking great.
[Android Themes] R3D X:
correctomundo that would be perfect :)
[Android Themes] ehoba:
That's no problem. I'm working with http://activities.droidicon.com/ to use his data base. that feature should be in the next release of IDIOT. =)
[Android Themes] R3D X:
f*ck yeh this is going to change the world man
[Android Themes] ehoba:
As of now I can do a search of the DB a display the results. I'm having a hard time figuring out how we can have the software narrow down the pack list. This feature seems best suited for cm,adw, and go. This probably won't be need for miui. Unlike as your wanting to try and theme 3rd party apps. Any suggestion are welcome.
[Android Themes] R3D X:
cm and miui only need the first package name that comes up (no activity at end) I think you would have to let users click on the one they want I agree though that site has way too many
[Android Themes] ehoba:
This is my problem. If you add a PNG named my-png.on to a cm drawable folder how will the software know what packages to look up...
[Android Themes] R3D X:
yeah that's why I said this would only be for app icons. You have to click on my-png in the drawable folder and maybe right click? or a button click?will say search package name and the user just types in an app and boom they get to choose from a list the one they choose IDIOT creates the xml with that png in the path so if my.png is clicked on for twitter IDIOT builds the com_android_twitter.xml with 'my' in the value for icon where it says drawable/
[Android Themes] BennyJr:
What would be cool too is maybe a definition of what a certain png does or is. Like for example stat_sys_wifi_fully1 IIRC the definition would be like Wifi icon connected 1 bar or something like that.
[Android Themes] ehoba:
I'm working on a PNG knowledge base. It will have pre built previews. When the user click on the image they want to know about it will tell the PNG name and it location. Because we all know you might think it should be in one place but it's really hiding in another. I could how ever add in a description area that do exactly what your talking about.
[Android Themes] BennyJr:
Object : PNGBox

Exception class name = EFOpenError

Exception message = Cannot open file "C:\Users\Android\Desktop\IDIOT\Themes\SoaB\com.htc.resources\res\drawable-hdpi-v4\btn_circle_disable_focused.png". The system cannot find the path specified

Getting this error when trying to swap pngs but it still swaps them
[Android Themes] ehoba:
That bug has been located and fixed. Thanks
[Android Themes] K Dotty:
The apk's i set for the base theme dont save after i click close, Not sure why :confused:

Any suggestions?

Running Windows 7 64-bit
[Android Themes] R3D X:
same prob.

When is new update coming? I want to make an mtz theme alot quicker :)
[Android Themes] ehoba:
What kind of apks are you trying to add? they should be a stock NON themed apk.

I don't know if the update will help speed up the making of a MIUI theme.

I'm working on the update there is just a lot of coding to do to make sure. The software can modify and create the new XML's for cyanogenmod. Idiot now can extract pngs from a cyanogenmod theme and strore them. It also allows you to view them in the data base. If all goes well I might have a BETA CyanogenMod theme support version ready by next weekend.
[Android Themes] K Dotty:
Im wa trying to load the apks from my roms zip. Just the systemUI, framework, mms and contacts apks
[Android Themes] ehoba:
Are you using the drag and drop method of adding the Apia or the add button? You can check to see if they have been added by one reopening the base theme section or by going to the folder where idiot was installed and look on the basetheme folder. If they are not there just copy in the apks you want use into this folder.
[Android Themes] Emision:
thanks so much ，i can design a theme I love
[Android Themes] K Dotty:
Dragging them didn't work for me. The add button. Seemed to work bug the apks weren't there when I reopened the 'set base theme'. Jo try manually copying them and I'll post back

Sent by wiggling my big toe
[Android Themes] ehoba:
Added TacoRoot temp root method for htc devices. Look for this in the next version of IDIOT coming soon
[Android Themes] ehoba:
I am finally finishing up some of the new options. CyanogenMod support is a bit tricky. I am working on adding in different languages. If anyone would be interested in helping translate I would be very thankful.
[Android Themes] ehoba:
New version is out. v1.2.0.28 featuring some CyanogenMod support.

Check out the OP!
[Android Themes] saul1991:
man i want to try this out but my anti virus automatically delets it before it even finishes downloading lol
[Android Themes] ehoba:
You will need to disable and allow it to download and be installed. Most anti virus scanners finds gingerbreak. And deletes idiot saying that file is an exploit which it is. However it'san exploit used to gain root access on you phone.
[Android Themes] Jmrwbilly:
This looks like a pretty nice program! Question.. will this work w/ ICS ROMs? UOT Kitchen doesn't support ICS, can I use this to port over some of the older themes i've done in the past?
[Android Themes] ehoba:
I haven't had much time to do a lot of testing with ICS. This is using the latest version of apktools so everything should work. If you use this on ICS and encounter a problem let me know and I will do my best to fix it.
[Android Themes] Jmrwbilly:
Ok, I'll give it a shot later and see what happens, that's what nandroid backups are for, lol. I'll let you know how it works
[Android Themes] Jmrwbilly:
I'm having errors w/ decompiling/compiling apks

have the some probem using apk manager (the tool i've used before w/ previous themes)

EDIT: turns out theres a problem w/ decompiling ICS system apks... i'm not the only one having this problem
[Android Themes] Jmrwbilly:
Just found this:

http://xdaforums.com/showthread.php?t=1427959

if i replace the apktool in this program with the modded one will i get any issues?
[Android Themes] ehoba:
Yes and No... The apktool they want you to download will not recompile apk correctly. You can copy in the new one. Decompile.. Make changes then Copy in the other one and recompile along with fallowing the other instructions. I will start adding this to IDIOT so it will decompile with one and recompile with the other with out you needing to replace any of the files. Thanks for the link
[Android Themes] Mumtaz77:
Errors

Anytime I want to edit theme_values.xml, I get this error:

Object : sGroupBox2

Exception class name = EAccessViolation

Exception message = Access violation at address 0065799E in module 'Idiot.exe'. Read of address 00000008

IDIOT version: 1.2.0.28
[Android Themes] ehoba:
Thank you. I have found and fixed that bug. I will be uploading a new version by the end of the day.
[Android Themes] Mumtaz77:
Thank's this nice stuff.

Just one question: How do I see a preview the currently edited MIUI theme?