Creating my 1st theme - G1 Themes and Wallpapers

Well I am now finally going to create my first theme and I am getting myself pretty familiar with everything but I had a question...
I know the stuff that cannot be messed with and all seeing as how I am working with the cm builds but would anyone know where I could find the terminal stuff. I wanted to change up that icon if I could to something a little more theme filling?
Thanks in advance and as soon as I get something going I will posts images.

brilliant - i for one look forward to seeing you work.
but sorry, can't help you with your Q.

APEX.7 said:
brilliant - i for one look forward to seeing you work.
but sorry, can't help you with your Q.
Click to expand...
Click to collapse
Terminal stuff?
/apps/term.apk has the terminal app 'stuff'
All you can change images wise is the terminal icon basically.

Are you just wanting to change the terminal icon (such as in the drawer?)
If thats the case, open the apps folder in your ROM and find the term.apk and open that. navigate to the drawable folder and the icon is in there.

Thats cool. Thanks for the confidence boost on creating...

Yeah pretty much just the icon...And thanks all for the help

Question...yet again...
I am using the auto signing program and am signing my little beta theme for testing and when I am loading it via the recovery mode I get E:Can't find update script. I am still new so if any help I would appreciate much.
Also should I include the fonts folder just as a precaution. I am not including that in my theme as I know there is the font chooser program out there as well so I figure let people have there own choice in font...again thanks

Yeah you need an update script, which will be found at /META-INF/com/google/android/update-script
and should look like this:
Code:
copy_dir PACKAGE:framework SYSTEM:framework
copy_dir PACKAGE:system SYSTEM:
or something along those lines.
This script is assuming your zip file contains the following structure:
/framework
/system
/system/app
There is a simpler one that only needs to contain the second line and has the structure like this:
/system
/system/app
/system/framework

daveid said:
Yeah you need an update script, which will be found at /META-INF/com/google/android/update-script
and should look like this:
Code:
copy_dir PACKAGE:framework SYSTEM:framework
copy_dir PACKAGE:system SYSTEM:
or something along those lines.
This script is assuming your zip file contains the following structure:
/framework
/system
/system/app
There is a simpler one that only needs to contain the second line and has the structure like this:
/system
/system/app
/system/framework
Click to expand...
Click to collapse
Ah ok...Any idea where I can get that file or folder by chance?

holmes901 said:
Ah ok...Any idea where I can get that file or folder by chance?
Click to expand...
Click to collapse
Here is a completely blank update.zip that has a proper update script in it, drop your files in re-sign, and go.

daveid said:
Here is a completely blank update.zip that has a proper update script in it, drop your files in re-sign, and go.
Click to expand...
Click to collapse
Thanks so much for the download and the help.I should be good to go now so no more worries.

So far what I have for my first
So the screen below shows what I have so far...I am still working on it and hoping I can get the blur transitions into the mix as well as maybe more or better icons...If anyone has a link where I could get the blur transitions from feel free to send my way.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

holmes901 said:
Question...yet again...
I am using the auto signing program and am signing my little beta theme for testing and when I am loading it via the recovery mode I get E:Can't find update script. I am still new so if any help I would appreciate much.
Also should I include the fonts folder just as a precaution. I am not including that in my theme as I know there is the font chooser program out there as well so I figure let people have there own choice in font...again thanks
Click to expand...
Click to collapse
Same problem. Even with the update script in there from the template update folders, I still get this error. I seem to have the resigning working. Any idea how to fix this error?

Related

[BOOTANIMATION) Custom bootanimations for CM Nightlys/CyanogenMod 6.1.1

So some users asked for my custom boot animations, and then
I had the idea to start a topic where the users show their
created bootanimations!
Bootanimations should work at the CM Nightly Builds too!
Now time to start with my first try!
Bootanimation Dancing Droid:
Download: http://www.multiupload.com/57CBHO720Y
Bootanimation Andro-Ring:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download:
http://www.multiupload.com/8V0A7EE4MH
Stock CyanogenMod Bootanimation:
Download: www.multiupload.com/AI4BCL0SQA
You've been real busy lately... Your all over the themes section
Anyways, thanks for your work
Yeah right, but today a bit tired, had night shift still friday
are we just supposed to copy the file to /data/local? I did that and I just got a blank screen for the boot animation
To data/local it needs some editing and symlink
Ganii said:
To data/local it needs some editing and symlink
Click to expand...
Click to collapse
Okay cool...two questions tho. what kind of editing and what is symlink?
haha sorry I'm a semi-newbie. Thanks a lot for you help!
Look at the modded framework thread and download "Color Stat"
open with winrar at look at the update script,there is the bootanimation
symlinked to data/local.
About symlink:
http://en.wikipedia.org/wiki/Symbolic_link
Ganii said:
Look at the modded framework thread and download "Color Stat"
open with winrar at look at the update script,there is the bootanimation
symlinked to data/local.
About symlink:
http://en.wikipedia.org/wiki/Symbolic_link
Click to expand...
Click to collapse
okay so I have it extracted and I see the bootanimation.zip in the data/local folder but what do I do with it from there?
Im reading alot about aliases does that have anything to do with symlink?
Creat right folders,Updat Script,zip the files and sign again.
Difficult to explain for me I´m from germany.
Maybe there are other methods to do this!
Ganii said:
Creat right folders,Updat Script,zip the files and sign again.
Difficult to explain for me I´m from germany.
Maybe there are other methods to do this!
Click to expand...
Click to collapse
Its all good man! I have tried the different methods as well..no luck.
anyway to make a zip to just flash through recovery?
The dancing android is epic thanks for that one I will be uploading it right now.
how to install this??
dancind droid is awesome
once you download the file, extract the bootanimation.zip file to the root of the sd card and then using either rootexplorer or terminal copy to /system/media
-FuRBz- said:
once you download the file, extract the bootanimation.zip file to the root of the sd card and then using either rootexplorer or terminal copy to /system/media
Click to expand...
Click to collapse
Or just flash it in recovery wont work through rom manager but just flash it manually through clockwork and your golden!
^^ oh yea i forgot about that too
-FuRBz- said:
^^ oh yea i forgot about that too
Click to expand...
Click to collapse
So did I untill jboy reminded me haha
Sent from my HTC Vision using XDA App
Oh dear... how am I going to choose between these 2 and stock CM one? I love all 3 of them! Thank you for sharing it with us.
What we need is a hybrid of the dancing droid and the cyanogen default. Make him Cyanogen colors and put him in the middle of the spinning circle
chaoticaffinity said:
What we need is a hybrid of the dancing droid and the cyanogen default. Make him Cyanogen colors and put him in the middle of the spinning circle
+1
Click to expand...
Click to collapse
Click to expand...
Click to collapse

[Q] OMG aria2c (cli multipart downloader awesomeness)

I tried to compile this multiple times but there was no way to include the libs in the binary (like the config option for busybox). Now its here and I'm pumped.
Some of you who use linux might know what this is. The instructions say to place it on the data partition in androidterm's /data/data folder (settings/cache of installed apks are here). I went ahead and placed it in /system/xbin...
What can this do? Its like wget but you can use a cookies file to dl from places like hotfile.. resumable downloads.. and best of all.. multipart downloads.. it also handles torrents, but I have no plans to use that function.
http://sourceforge.net/projects/ari...a2-1.10.9-android-8-froyo-build1.zip/download
^ download
Project files:
http://sourceforge.net/projects/aria2/files/stable/aria2-1.10.9/
Btw.. sorry if double post.. I'm on tapatalk.. I doubt its a double post tho..
Need a gingy version. I'm enjoying CM7 too much.
HTC Vision; Rooted, Booted and Scooted.
Daughain said:
Need a gingy version. I'm enjoying CM7 too much.
HTC Vision; Rooted, Booted and Scooted.
Click to expand...
Click to collapse
I have no idea why froyo appears in the zip file.. but since it has nothing to do with android (java) and more to do with the underlying linux system its safe to say that this works with all versions of android that have term emu.
I also compiled unrar binary for arm and it works with no problems.. this aria2c build just so happened to say froyo in it.
Btw. I too am on CM7.
Sweet. Thanks again.
HTC Vision; Rooted, Booted and Scooted.
Daughain said:
Sweet. Thanks again.
HTC Vision; Rooted, Booted and Scooted.
Click to expand...
Click to collapse
No problem. Heres the unrar binary.. It seems to be faster than the gui version in the market.. It also has the added benefit of being able to extract from and write to anywhere you choose..
http://forum.xda-developers.com/showthread.php?t=1015814
This is fantastic, I was just thinking today that I wished aria2 were available for ARM
Thanks for posting this.
Ok for anyone hesitant or having trouble getting aria2c to start a multipart download. Here's an example.. downloading a 720p trailer of captain america.. and attached is a picture of the madness that is hspa+
aria2c --split=80 --min-split-size=1M --max-connection-per-server=16 --user-agent="QuickTime/7.6.2 (qtver=7.6.2)" http://trailers.apple.com/movies/paramount/captainamerica/captainamerica-tlr1_a720p.m4v
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Btw.. I couldn't rotate the pic.. as I'm on my phone.. hence the pic itself.. not at a computer to rotate it right now.. I'm sure you'll all suffer a little from tilting your heads.. sorry
And now...p7zip for android.
http://home.comcast.net/~ibladesi/p7zip.tar.bz2
This is a bzip2 tar file.. uncompress in the system directory and it will extract files where they need to go.. otherwise you'll end up with two directories.. xbin and lib..
So. Mount system as rw
mount /dev/block/mmcblk0p25 /system/ -o remount
cd /system/
cat /path/to/file/on/sdcard/p7zip.tar.bz2 > p7zip.tar.bz2
#the above is used versus 'cp' to avoid retaining sdcard privs
tar xjvf p7zip.tar.bz2
Try it out! It extracts and compresses many file types.. more flexibility than the default busybox unzip too. Has a benchmarking mode so you can see just how terrible your phone is against your computer.. and.. Still can't get the rar module to load.. but I think its there.. rar as in compress!
gingerbread version would be good!
SiL3nTKiLL said:
gingerbread version would be good!
Click to expand...
Click to collapse
This works on gingerbread just fine! Theres no reason it wouldn't work on anything with a linux kernel and a terminal emulator

[MOD] Rotating Phone.apk for XWKE2 XWKE7

Hello everyone
I present you a modified Phone.apk that features auto-rotation not just in the dialpad, but also in the Phone application itself while in call.
Ruksak - Maybe this one helps you feel better?
All the coding/modification work here was done by pawitp.
What is it:
Based on XWKE2/7 Phone.apk (original attached).
Adds autorotation to Phone.apk
Tested on rooted SGS II with KE2/7
All the work was done by pawitp, I only supplied the original files and tested.
Sources : Smali diff can be found here : http://sprunge.us/hPSK?diff and also attached as text file incase link goes down.
Enjoy.
Prerequisites :
XWKE2/7 Rom
Rooted
Busybox
ADB access to your phone via WIRE incase something goes wrong.
You need to understand that if anything goes wrong, You might need to restore the Original (attached) Phone.apk and Phone.odex files, if you fail doing that, you will have to reflash the PDA file of your firmware.
Myself or Pawitp will not take any responsibility of the results of what might happen to your phone while using this MOD.
Install Guide With ADB : (Or if you have Root explorer, you can do this)
Copy Phone - KEX - Modified.apk to your SDCARD, and rename it to Phone.apk (KEX should be replaced with your version, either KE2 or KE7)
Using ADB shell (or any other way) do the following :
Mount system as RW (busybox mount -o remount,rw /system)
Delete Phone.odex from /system/app (rm /system/app/Phone.odex)
copy over the modified Phone.apk to /system/app (cp /sdcard/Phone.apk /system/app/Phone.apk)
sync
reboot
enjoy.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
awesome thanks.
This is very cool; but I'm not comfortable doing the command line stuff
Any chance someone can create an installer for this?
Can OP make the Dialer MultiDPI similar to the below thread?
http://forum.xda-developers.com/showthread.php?p=10179367
Thanks
That actually looks awesome. Nice work!
Sent from my GT-I9100 using Tapatalk
Pawitp said he will be very busy, and won't have time for special features.
It is what it is, About installer, there is still no CWM for SGS II, So you will have to use the specified method. Sorry guys.
Maybe ask Pulsar to integrate this into his app
I guess doing it via Root Explorer will work just fine?
Can confirm works perfectly via Root Explorer, so simple, just copy the modded apk first, browse to system/app and mount as R/W then delete phone.odex and paste phone.apk overwriting the exiting one. Set the permissions to match the original and mount as R/O again and reboot.
Excellent mod thanks, this will be very handy when in the car
robbiekhan said:
Can confirm works perfectly via Root Explorer, so simple, just copy the modded apk first, browse to system/app and mount as R/W then delete phone.odex and paste phone.apk overwriting the exiting one. Set the permissions to match the original and mount as R/O again and reboot.
Excellent mod thanks, this will be very handy when in the car
Click to expand...
Click to collapse
Great
Added your post as reference to 1st post.
KE7 version was added (OP), Enjoy
As always, Credits are due to Pawitp.
I just used the KE2 version on KE7 allt his time, looks like the sizes are different so I wonder what the changes are between the versions!
Anyway, updated cheers
Thanks! Just what I was looking for for when I'm driving and my phone is docked
Tested it on "Lite'ning Rom v1.0" (KE7) with RTL fix for Hebrew and can confirm that it's working great!
Very nice work
thank very much
not rotating
when i call someone or someone me...phone.apk doesnt rotate
i mean before answering the phone or before someone answers me, even during a call
BoneMo said:
when i call someone or someone me...phone.apk doesnt rotate
i mean before answering the phone or before someone answers me, even during a call
Click to expand...
Click to collapse
Same here. Literally only the dialer screen rotates, not the screen where you answer/call somebody.
Maybe this can be fixed because it's quite a shame indeed!
Pfeffernuss said:
Same here. Literally only the dialer screen rotates, not the screen where you answer/call somebody.
Maybe this can be fixed because it's quite a shame indeed!
Click to expand...
Click to collapse
Try the KE2 one, but I think they both work.
It works for me...
great job,but this mod killing VideoCall
Anyone can confirm this??
THANKS, perfect apk
and for KF2 please ?
Works great! phone.apk was the last app that didn't run in landscape. Handy for in my car.. (I used the method with root explorer) Thanks a lot!

[APP] Mms.apk with different colors

Hi all,
I thought I'd share my modded Mms.apk with you. This was pulled from Calk's latest ROM. It should, however, work with any EL29 ROM. The only modifications are colors of the message bubbles, pulled from this MMS app. I tried using the app, but I was getting file compression errors when sending images, so I just modded the original Mms.apk slightly.
AS ALWAYS - YOU DO THIS AT YOUR OWN RISK
Install via adb (Windows):
1. Connect your phone to PC
2. Make sure USB debugging is enabled
3. open command prompt in the same folder as Android SDK or make sure you have PATH specified to it; place Mms.apk in the same folder
4. Type adb start-server at command prompt
5. Type adb remount
6. Type adb push Mms.apk /system/app
7. Type adb reboot
Once your phone reboots, you will have the new MMS.apk fully functional. You may have to re-add the Messaging link to the bottom bar.
If you have ROOT EXPLORER, you can simply copy Mms.apk into your /system/app folder replacing the original file. Back it up first, though, if you want to revert back to it.
Enjoy.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Cant you just drop it on your SD card then navigate your phone using ES file explorer or root explorer and copy and paste it into the system/app folder replacing the one thats in there, then reboot to get it to work?
If I am incorrect please let me know before I make a fatal error.... lol
I can't speak for THIS apk, however I just took a mms.apk from another rom, did exactly as you described but also changed the permissions, and it works fine. Why don't you make a back up and give it a go.
Sent from my SPH-D710 using xda premium
You can certainly install it using ROOT explorer. Works either way.
If I want to change the colors for the conversation list would the images be in the hdpi folder and the lines and stuff in the xml?
Sent from my Epic™ 4G Touch
Anybody got a pic of the conversation list?
looks good , its just what i was looking for
Honestly, I have no idea. This was a simple PNG swap from another Mms.apk.
globalninja said:
If I want to change the colors for the conversation list would the images be in the hdpi folder and the lines and stuff in the xml?
Sent from my Epic™ 4G Touch
Click to expand...
Click to collapse
Conversation list looks completely stock.
SayWhat10 said:
Anybody got a pic of the conversation list?
Click to expand...
Click to collapse
Anyone figure out how to mod the mms.apk so that i allows higher/larger file sizes for pics?? Iv tried but keep getting FC's once i push my version to the phone....
I would also like to have this for Calks ICS ROM. Any chance one could modify that for us?
This is funny I made one just like this a long time ago. It came from sensation rom if I remember correctly. Looks good.
Sent from my SPH-D710 using XDA
the rhyno said:
I would also like to have this for Calks ICS ROM. Any chance one could modify that for us?
Click to expand...
Click to collapse
Bump...
or anyone know of one that could just replace the mms.apk and still work.
I'd like to be able to do this with MIUI's MMS application and their phone app. I tried on THE GOODNESS ICS but the app just force closes. Anybody know a way to do this?
still trying to figure out how to change the colors .. i want blue and green
anyone know how?
Ma$etas said:
still trying to figure out how to change the colors .. i want blue and green
anyone know how?
Click to expand...
Click to collapse
You can get your own colors. For that you have to edit the message_bubble_xxx_.9.png files located in the res/drawable-hdpi directory inside the Mms.apk. These .9.png files are system-resizable PNGs that have to be edited with a special tool, like Draw9patch. If you google "how to edit .9.png files" you will find all sorts of tutorials and explanations.
Good luck.

[SCRIPT] shellpaste v0.4

This is a handy little shell script I wrote today that I used to copy files to /system/app folder. This is the first thing I ever wrote for Android so I don't know if anyone has any use for this but there ya go.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
To use simply download the shellpaste.txt from below and rename it to shellpaste.sh. Put the file in the root of your SD card then go to android terminal and type the following:
Code:
sh /sdcard/shellpaste.sh
Changelog:
Code:
shellpaste v0.4
-now supports all folders not just /system.
-added chmod to actually make it useful. Thanks Tigger31337.
shellpaste v0.3
-cleaned up the code a bit.
shellpaste v0.2
-first release.
Thanks man this is very helpful for the things I do. Cheers.
-rezo609
Awesome! Hope it serves you well.
small scripts, medium tricks, big handy
Does this address permissioning after the file(s) are copied?
No offense, but yours seems like a rather convoluted method when you've got things like adb push or just drag and drop from the PC. If the apk is already on your phone, then you need only do a cut and paste to /system (with, say, Root Explorer) and then set permissions. Done.
Also, it's not very flexible. What if I want to copy to /data? Another script??
None taken. The script changes the permissions to r/w, copies the file, then changes it back to read-only. As I said, this was just a script I wrote to help me with what I needed to do at the time. Maybe I'll write a new version that supports any folder the user chooses.. I agree, it's not exactly an elegant solution but I'm a complete noob at this. You gotta start somewhere, right?
Edit: Also, I am completely open to feature suggestions. So if there's anything more advanced you guys would like to see in newer versions feel free to post. I'm using this as a tool to learn as much as possible.
Sent from my htc wildfire s a510e using XDA
I don't mean permissions at the f/s mount level, I mean permissions at the file level (i.e. chmod).
If you're copying an apk to /system/app, then eventually you'll need to chmod it to 644 before it will execute properly. Maybe I'm missing something, but copying an apk from SD card to /system isn't going to do this for you automatically.
I have a suggestion to your script
Example: I pushed a systemUI.apk in system/app folder through adb now when you look at your phone the statusbar dissappears, of course because of push, now can you make a script to rerun the apk or execute it, like mounting it dunno the exact word, so that you won't have to reboot your phone to see your statusbar again, instead just run it like windows run. This is usefull if your modding the APK.
Gotcha. Completely forgot about chmod.
I'll try to make it reinstall the systemui.apk without rebooting but could use some pointers on how to achieve this.
Edit:
Made a new version that supports mounting of all folders and added chmod into the mix. Should work properly now.
einstein.frat said:
I have a suggestion to your script
Example: I pushed a systemUI.apk in system/app folder through adb now when you look at your phone the statusbar dissappears, of course because of push, now can you make a script to rerun the apk or execute it, like mounting it dunno the exact word, so that you won't have to reboot your phone to see your statusbar again, instead just run it like windows run. This is usefull if your modding the APK.
Click to expand...
Click to collapse
I've never used android scripts before but I'm guessing you could just do
exec /system/app/whatever.apk
But idk on that one.
Sent from my HTC Wildfire S A510e using xda premium
einstein.frat said:
I have a suggestion to your script
Example: I pushed a systemUI.apk in system/app folder through adb now when you look at your phone the statusbar dissappears, of course because of push, now can you make a script to rerun the apk or execute it, like mounting it dunno the exact word, so that you won't have to reboot your phone to see your statusbar again, instead just run it like windows run. This is usefull if your modding the APK.
Click to expand...
Click to collapse
I do exactly this on the WildChild ROM, using pm disable/enable.
It's a method I came up with by myself (so, it's not very elegant but it gets the job done ). There might be other ways of doing it, but I haven't seen any yet.

Categories

Resources