OK, second try, (please ignore all posts up to number 17)
Here are some Swype Layouts that i collected over the past few feeks, most of them are not done by me but it is hard for me to give the right people credits cause most of the Swype threads were deleted. So please let me know if you'll find "your" png's here.
QWERTZ AND QWERTY Keyboards are modified. Currently there is no Swype Beta version out there for QWERTZ, but maybe in the future (or someone has a "modified" version already).
Compatible with all Roms and all WVGA (800x480) Swype Versions!
What you need:
- Metamorph (root, busybox...)
Instructions:
- go to data/app/ and search for com.swype.android.inputmethod.apk (or ...inputmethod-1.apk ...inputmethod-2.apk)
- move the file to system/app/ (MOVE! not Copy)
- be sure the file is called exactly com.swype.android.inputmethod.apk .. if there is a -1.apk or -2.apk rename it!
- reboot your phone! check if swype is still working properly
- copy the desired layout (the complete zip file attached, do not unzip!) to /sdcard/AndroidThemes
- open Metamorph and click Unzip/Extract new theme
- choose the desired theme
- klick Apply all
- REBOOT!
- choose swype as input method again (long click in empty input field -> input method -> swype)
- should be done now
Please report back if this works for you, this is my first Morph.
If you do not want to move your apk from data/app to system/app you might use Daneshm90 great script which pulls the swype.apk from the phone, copies the keyboard files in it, signs it and pushes it back. To get the right Keyboard files please extract them from my Morph themes (they are located in assets/keyboards) and copy them into the images folder of the script. The script backups your Swype settings and dictionary!
You can find his Script here .
Thanks Daneshm90 for the script and his kind help and Formel-LMS for his private message support!
original Style if you want to undo the changes.
Im confused, how is metamorph capable of modifying apps in /data/app ??? Those apks require resigning which metamorph doesnt do.
blah you are right, works for me cause i signed the swype apk for myself...
so cut/paste to system/app should be fine?
Thanks for the hint.. my first morph obv.
Well yea but u gotta then provide the apk which the forum frowns upon
Heres an alternative i created for another swype themer.
Link
sorry, had a "typo" in my reply. wrote data instead of system first.
what about cut/paste from data/app to system/app and then morph. Might that work?
edit: wow, awesome script!
so can i just replace your png with mine and upload the modified script? downside is that people are loosing their dictionary and have to start from "swype-scratch"
watercool said:
sorry, had a "typo" in my reply. wrote data instead of system first.
what about cut/paste from data/app to system/app and then morph. Might that work?
Click to expand...
Click to collapse
Yes, that should theoretically work. So this is wht would need to happen:
User with swype already installed will have to backup that apk.
Uninstall swype
Push to /system/app/
Then apply ur morph
Restart phone.
Or u cud use my script where all it does is :
Pulls the apk from ur phone
Extracts it
Replaces the images with urs
Repacks it
Signs it
Uninstalls swype from ur phone
Installs this modded one
watercool said:
sorry, had a "typo" in my reply. wrote data instead of system first.
what about cut/paste from data/app to system/app and then morph. Might that work?
edit: wow, awesome script!
so can i just replace your png with mine and upload the modified script? downside is that people are loosing their dictionary and have to start from "swype-scratch"
Click to expand...
Click to collapse
Hmm k. Didnt realize that. That should be an easy fix just gotta backup the /data/data folder for swype. K while im modifying the script, want me to change anything else ? such as more folders than assets ???
Daneshm90 said:
Yes, that should theoretically work. So this is wht would need to happen:
User with swype already installed will have to backup that apk.
Uninstall swype
Push to /system/app/
Then apply ur morph
Restart phone.
Click to expand...
Click to collapse
thanks for your help!
i just moved my com.swype.android.inputmethod.apk from data/app to system/app and it still works? Is this cause i have my "special" version or is an uninstall really necessary? -> edit: puh, ok.. now it is gone lol... move does not really work lol
edit: no, just assets is fine!
watercool said:
thanks for your help!
i just moved my com.swype.android.inputmethod.apk from data/app to system/app and it still works? Is this cause i have my "special" version or is an uninstall really necessary?
Click to expand...
Click to collapse
Hmm try restarting and see if it causes any issues, if it doesnt then try applying a morph and see if that causes any issues. If both dont then i guess ur fine
issues here lol, swype is gone hehe. trying to reinstall... confused right now a bit hehe
ok had to reinstall after moving from data to system.
can you adopt your script and implement my files (or i can do the copy/paste work for myself..)
here are my files (or morphs for system/app instead of data app)
watercool said:
ok had to reinstall after moving from data to system.
can you adopt your script and implement my files (or i can do the copy/paste work for myself..)
here are my files (or morphs for system/app instead of data app)
Click to expand...
Click to collapse
That'll be generic, so once i just change something in my script and upload it, u just gotta place one of ur themes png's inside the pics folder and run the script.
great thanks, please let me know as soon as you are done.
thanks again for your kind help.
K so im done the script. It now backs up swype data and restores after. One thing though, it seems as though the filename convention is different for the pngs inside assets/keyboards. Im using swype 1.56.30.7625.t100 and when i replace ur pngs inside that folder it still shows default. Is it version dependent ?
Any way, heres the script. The script version u downloaded, notice in the pics folder the filenames are:
SwypeRef_LS_Blue_HVGA.png
SwypeRef_LS_Blue_Shifted_HVGA.png
SwypeRef_LS_Editing_HVGA.png
SwypeRef_LS_Editing_Jump_HVGA.png
SwypeRef_LS_Editing_Jump_Select_HVGA.png
SwypeRef_LS_Editing_Select_HVGA.png
SwypeRef_LS_Numeric_HVGA.png
SwypeRef_LS_Standard_CapsLock_wBlue_HVGA.png
SwypeRef_LS_Standard_Shifted_wBlue_HVGA.png
SwypeRef_LS_Standard_wBlue_HVGA.png
SwypeRef_PT_Blue_HVGA.png
SwypeRef_PT_Blue_Shifted_HVGA.png
SwypeRef_PT_Editing_HVGA.png
SwypeRef_PT_Editing_Jump_HVGA.png
SwypeRef_PT_Editing_Jump_Select_HVGA.png
SwypeRef_PT_Editing_Select_HVGA.png
SwypeRef_PT_Numeric_HVGA.png
SwypeRef_PT_Standard_CapsLock_wBlue_HVGA.png
SwypeRef_PT_Standard_Shifted_wBlue_HVGA.png
SwypeRef_PT_Standard_wBlue_HVGA.png
Those seemed to work for my swype. Once again it could be version specific.
Link
Thanks, i will try this later!
No not version depended, but you're using HVGA and my files are for WVGA
Moving from data/app/ to system/app/ works now, i forgot to reboot to check it.
I followed the steps as outlined in the first post. After that swype was gone...reinstalled it via android commander...et voila: swype is back with the HTC theme (that I wanted to try out).
Thanks for the theme!!
Confused
Hey thanks for the info. I was wondering, does the swype apk have to be a "working" one? I tried may apks and all of them were out of beta. I also tried your steps and they didn't work for me. I'm just a little confused, sorry for the dumb questions.
is this for the newest version of swype? 1.60.36.8214?
Related
why is it that they are installed onto data/app as a zip file?
this confuses me sooo much how does it work if they are zip and not apk!
humor me with enlightenment pleasee ^_^
apks are zips with a different name. For serious. When I pack up my version of a theme into a file that needs to be called framework-res.apk I simply zip it with no compression and then rename the file.
yes ive actaully done a little theming myself and i understand that, but what i wish to do is uninstall some of my applications and edit them to change the default icons, i have success with the apks of regular apps but i cant do it for the paid ones
it seems that in the data/app file they arent apks at all! they are zip files
and after i have edited them on the computer and re zipped, named, and signed them, i still cant get them to re install,
the purpose of this is to change the default icon and no i do not want to use bettercut because i am using ahome and its not compatible
matthewboii said:
yes ive actaully done a little theming myself and i understand that, but what i wish to do is uninstall some of my applications and edit them to change the default icons, i have success with the apks of regular apps but i cant do it for the paid ones
it seems that in the data/app file they arent apks at all! they are zip files
and after i have edited them on the computer and re zipped, named, and signed them, i still cant get them to re install,
the purpose of this is to change the default icon and no i do not want to use bettercut because i am using ahome and its not compatible
Click to expand...
Click to collapse
Hmm that's a good question. I have yet to change default icons, so I'm of no help. Sorry :-/
yeah, well its actually not that hard to do as long as you repack and sign it, that is, only for the apps that are not paid, but the paid apps on the other hand are another story completely
anyone?
I have noticed this as well, it seems that the .zip files in the app directory are protected. You will find the .apk in the app-private directory.
Hope that helps.
BlueBoar said:
I have noticed this as well, it seems that the .zip files in the app directory are protected. You will find the .apk in the app-private directory.
Hope that helps.
Click to expand...
Click to collapse
Just beat me to it! Yeah, try the APK in app-private.
workd!
thanks guys
Hello Guys!!!
Sorry for the problems caused There Were More Two Widgets Missing Other Than Messaging widget to be coppied to Internal Memory Namely The Clock & Contact Widgets, So They Are Added In The Re-Update, The Whole .exe Is To Be Downloaded Again, Sorry For This.
Even The superuser enabler package(.exe) is fixed...But If U already Have the old .exe , just get the attached script & replace it with the old one...
Be Tuned For Apps2Sd & An Rom With At-least 30 MB Of Free Internal Memory Build....M Currently Initializing Source Code So That Will Help Me With Some Stuffs Like Update-Script & Some Stabilization Of ROM...
SUPERUSER ENABLER
Thers no SuperUser Apk Working On Haykuro's Hero Rom, So to get It Working, Only Installing Is Not Enough So I have Got It Working, Follow This Steps...
Note: To Test, Just Try Using CPU Overclocker Widget(Its Free) From The Market Before & After Using This... u ll Notice the Change
Steps:
1. Download The Install-Enable-SU-By-Sangeet.exe & Extract Any where By Double Clicking It.
New Fixed Download Link: http://android-latest-build-images.googlecode.com/files/Install-Enable-SU.exe
2. Connect Ur Phone Via USB Cable
3. Run The Install-Enable-SU .bat File.
4. Choose Appropriate options..
5. Rebooting Not Recommended...(UR WISH)
Rosie UI Enhancer/Optimizer
Note: U Must not Be Using Apps To SD Other Than The Default app_s folder
Means U must Not Have /Data/app Moved to /System/sd/app
The Rosie UI Dosent Need The Launcher.apk, So This Script Removes It.
This Script Moves/Installs Rosie Application To Internal Memory...
MoreOver, The Rosie UI Uses The HTC Widgets Which Are Seperate Applications, So Even If The Rosie Loads Fast, The Widgets Make It Slow...
So This Script Even Moves/Installs The HTC Widgets To Internal Memory...
Steps:
1. Download The Fixed-Rosie-UI-Optimizer.exe & Extract Any where By Double Clicking It.
Download Link: http://android-latest-build-images.googlecode.com/files/Fixed-Rosie-UI-Optimizer.exe
2. Connect Ur Phone Via USB Cable
3. Run The Optimize_Rosie.bat File.
4. Choose Appropriate options..
5. Reboot The Phone (NEEDED)
Dex-Optimizing
After All That, The Widgets Would Take Some Internal Memory, So I Would Recommend Using The Dex Optimizer...
Steps:
1. Download The Dex-Optimizer.exe & Extract Any where By Double Clicking It.
Download Link: http://android-latest-build-images.googlecode.com/files/Dex-Optimizer.exe
2. Connect Ur Phone Via USB Cable
3. Run The DEX-OPTIMIZER.bat File.
4. Choose Appropriate options..
Credits: buttkicker (optimization script),
I Dint Know Hod to make such scripts with options Learned from HTC Hero Speedup vXX by tehseano so credits to him too...
If Any one else left inform me i ll add..
Please add this to the wiki and PM me the url so I can add it to the roundup thread.
Only post problems with the above thread. Do not go off topic.
ryanmo5 opened this thread saying it didn't work and it messed up his home screen.
Thank you ryan for trying this out and letting us know.
i tried this and it says no such file or directory on all files. And then it says it cant find .apks for all files to install. Ok i didnt even look at my home screen all my widgets are gone except the clock. When i try to add the htc widgets im left with only 4 widgets.
Also the Install-Enable-SU.bat did not work for me. Was stating batch was inoperable.
Yeah, the UI tweak totally borked my phone. It locks up at the HTC logo. I went back to ion till tomorrow.
WEE!!!
AWESOME. This is fantastic. Thank you for your hard WORK!! much appreciated! Seems to have worked like a charm for me and i can really notice a huge speed boost especially when going back to the home screen.
I have found my HEROOO!
Oh and btw, when you do the part to optmize for Rosie, the folder that contains the apks should be renamed from Rosie to Files. That will make things work. It did for me.
I miss the Rosie UI lock screen though... its gone?
But wow incredibly speedy and even a lot more stable? Thank you sangeet.003 and all the other FANTASTIC developers on this forum who keep me and my G1 busy with fun goodies.
Here is a oddball question, couldn't someone just create a update.zip with all this done? I'm not familiar with signing pkgs and what not. So I'm not 100%.
i'm a mac user.
but i kind of smart when it comes to these things so i got it to work.
but for other mac users do you think you can just up load the files and post the
adb commands.
kronosx1 said:
Here is a oddball question, couldn't someone just create a update.zip with all this done? I'm not familiar with signing pkgs and what not. So I'm not 100%.
Click to expand...
Click to collapse
I think i read somewhere that it wouldn't be possible because of how big the update.zip would be which is why when flashing Hero, you need the ext2 to store the apps_2
the great thing is, if you just keep testing, reading and messing around with running everything from roms, scripts, commands and tweaks, you eventually get things to work and and you find a huge satisfaction and semi-understanding of it all and you find yourself appreciating the developers here for their work.
Wow its four in the morning and i think im on a strong sugar high because i never post.
so changing the folder from rosie to files worked for you
ynghova187 said:
so changing the folder from rosie to files worked for you
Click to expand...
Click to collapse
yeah rename "Rosie" to "Files"
well did a refresh of Hero and applied all the tweaks here (after renaming the folder as well) and all is wel. thanks a ton for this!
I was wondering if you could use app2sd after using this mod, or will this disable apps2sd?
Ok i did it and it works but there is a slight problem the messaging widget dosent show up. its completely gone. i read the batch file and its missing from the batch file. If you could re write it with the htc messaging app included then this app would be perfect. Or does anyone know how i could get the htc messagine widget back by myself
ynghova187 said:
Ok i did it and it works but there is a slight problem the messaging widget dosent show up. its completely gone. i read the batch file and its missing from the batch file. If you could re write it with the htc messaging app included then this app would be perfect. Or does anyone know how i could get the htc messagine widget back by myself
Click to expand...
Click to collapse
I think if you placed the "Files" folder onto c:/android (or wherever you put adb) and then:
adb push files/htcmsgwidgets.apk /data/app
that *might* work, not sure because I haven't tried it myself.
sangeet.003 said:
Hello Guys!!!
SUPERUSER ENABLER
Thers no SuperUser Apk Working On Haykuro's Hero Rom, So to get It Working, Only Installing Is Not Enough So I have Got It Working, Follow This Steps...
.
Click to expand...
Click to collapse
That is weird because i have super user and terminal working on mine just fine from JF previous install
a few widget's were missing..
clocks & contacts
also in the batch file, the msg widget was not reinstalled onto internal memory(probably just forgot to add that line)
so I redid his batch file to include the 2 missing widgets as well as adding the line for the msg widget and changed the folder to files
cause I know how lazy most of you are
http://hotfile.com/dl/4938120/a4a6fc0/Rosie_UI_Optimizer__ALLwidgets.zip.html
and for the mac user's
just open the .bat file in text editor (.bat files are nothing more than text anyways) in there you can see each command that is run and do it yourself manually,...
yeah it's a ***** but I'm not about to figure out how to write a shell script for OSX on XP just to appease my old brethren, maybe pickup a copy of BBcode and insert the commands, don't know it that would even work, just a thought heh.
---credits to sangeet.003 for goin' through the trouble to make this batch files, I'm just an "editor"
everything worked perfectly and 20 times faster not exact but i see a huge difference just now noticed that the messages widget was missing so bout to add that thanks to all developers working hard im sticking with hero i know people love it as much as I do so it has to keep getting better
mpeezay said:
a few widget's were missing..
clocks & contacts
also in the batch file, the msg widget was not reinstalled onto internal memory(probably just forgot to add that line)
so I redid his batch file to include the 2 missing widgets as well as adding the line for the msg widget and changed the folder to files
cause I know how lazy most of you are
http://hotfile.com/dl/4938120/a4a6fc0/Rosie_UI_Optimizer__ALLwidgets.zip.html
and for the mac user's
just open the .bat file in text editor (.bat files are nothing more than text anyways) in there you can see each command that is run and do it yourself manually,...
yeah it's a ***** but I'm not about to figure out how to write a shell script for OSX on XP just to appease my old brethren, maybe pickup a copy of BBcode and insert the commands, don't know it that would even work, just a thought heh.
---credits to sangeet.003 for goin' through the trouble to make this batch files, I'm just an "editor"
Click to expand...
Click to collapse
Thanks I will Be re updating & uploading Both The exe Files...
Sorry about the first post. I was wondering where the png files are located in the rom so I can start theming
Sent from my HERO200 using XDA App
If this has been addressed sorry. I searched but didn't find it. If it's been addressed please point me in the right direction. Thanks
Sent from my HERO200 using XDA App
abadasstanker69 said:
If this has been addressed sorry. I searched but didn't find it. If it's been addressed please point me in the right direction. Thanks
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Ull find all the PNG in the individual apps in the system/app, system/framework, and data/app.
Papa Smurf151 said:
Ull find all the PNG in the individual apps in the system/app, system/framework, and data/app.
Click to expand...
Click to collapse
Thanks bro! All I see is apk files though. Where are the images?? Also, is there anything specific I have to do in order to export/import the files in Photoshop? I read something somewhere about a .9 PNG or something like that....what does this mean? BTW great work on your theme! It looks awesome! I love it!
Ok I'm a douche bad. lol I renamed the apk to .zip and extracted with winrar. Now I'm in to where I want to be! I'm looking for the little android guy when you make a phone call but, I can't seem to find him in the HTCdialer.apk. Am I looking in the wrong place? Thanks again for the help!
They are in the apk's.
http://developer.android.com/index.html
Good luck.
Ok found the little droid man! This is gonna be awesome!! Any more useful places I should mess around in? This is gonna be FUN!!!!!!!
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
abadasstanker69 said:
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
Click to expand...
Click to collapse
I may be wrong but I have done the same thing, all I did when I was finished was push them via adb to their respective places and then reboot and it worked fine for me. Nandroid before you push so if it boot loops you can recover. Then the easiest thing at that point would be to save your work in the ROM you modded, push to sd root, wipe and flash it. I am creating a themed version of Darchoid 2.7 but taking my sweet time as I dont have a lot of it to begin with.
For my HTC Keyboard modifications, I just dropped my new images into the APK that was open in 7zip and pushed it to the /system/app/ dir and launched the keyboard, and BAM, my new keyboard.
abadasstanker69 said:
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
Click to expand...
Click to collapse
You have to sign it too. If you want to flash it. If you wanna just push it through adb then then put your edited .apk in AndroidSDK\tools and push it.
Go to command prompt:
Code:
cd C:\android-sdk-windows\tools
adb remount
adb push xxxxx.apk /system/app/
exit
C:\android-sdk-windows\tools is assuming thats where your sdk\tools folder is
xxxxx.apk is the name of the .apk
/system/app/ is assuming that's where you got the .apk from
Thanks for all the help guys. I appreciate it but, I was attempting to make an update.zip so people could then flash them once I complete them. I like to make things idiot proof
So I did some looking and found an autosigner. Problem is, now it wants boot scripts? WTF? I know I could push them through adb and simply tell others to do the same. I was just wondering if there was an easy way of doing this? I'm currently using avabox. Thanks again guys!!
abadasstanker69 said:
Thanks for all the help guys. I appreciate it but, I was attempting to make an update.zip so people could then flash them once I complete them. I like to make things idiot proof
So I did some looking and found an autosigner. Problem is, now it wants boot scripts? WTF? I know I could push them through adb and simply tell others to do the same. I was just wondering if there was an easy way of doing this? I'm currently using avabox. Thanks again guys!!
Click to expand...
Click to collapse
Just use a mod or update.zip any will do and add ur files and delete the originals in the zip. Keep the meta file and such. Then u can autosign with avabox. It gets tricky with scripts when making a rom. The update.zip script is very basic
Check This Out
You can just take one from a working zip if you want
Otherwise you will be making a file (i use notepad++) called "update-script" *notice-there is no file extension like .txt or anything*
In general they ususally just have:
Code:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
(but may be different depending on where you want the zip's contents to be put in)
Which will be placed into a folder directory META-INF/com/google/android/update-script
You can also add things such as:
Code:
delete SYSTEM:app/contacts.apk
*or whatever you want deleted*
After you make the update-script, just sign it and flash
See my attachment for a template
[/QUOTE]You can also add things such as:
Code:
delete SYSTEM:app/contacts.apk
*or whatever you want deleted*
After you make the update-script, just sign it and flash
See my attachment for a template[/QUOTE]
What would be the purpose in doing that? Would it actually delete people's contacts if they flashed my theme? That's kinda cool but, I'm not trying to be a **** like that! lol
Also, are you guys referring to an update.zip that's all ready out as in a theme file? Or as in a rom? I understand I can use the work that's all ready there and I actually tried that. I zipped the file back up.Then signed with avabox. Renamed it to .apk. Stuck it back in the rom. Attempted to flash and got the boot script error
abadasstanker69 said:
What would be the purpose in doing that? Would it actually delete people's contacts if they flashed my theme? That's kinda cool but, I'm not trying to be a **** like that! lol
Also, are you guys referring to an update.zip that's all ready out as in a theme file? Or as in a rom? I understand I can use the work that's all ready there and I actually tried that. I zipped the file back up.Then signed with avabox. Renamed it to .apk. Stuck it back in the rom. Attempted to flash and got the boot script error
Click to expand...
Click to collapse
haha i just used contacts.apk as an example, it could be anything you wanted really. But its generally only used for when making an update.zip for boot screens.
And yes, you could take an already existing zip... but i was a little confused as to what you were doing sorry.
Correct me if I'm misunderstanding you again lol, but you're editing images within .apks and want to make a flashable-update.zip once you finish?
Easiest way, as stated before would be to use 7-zip.
Open the .apk Directly with 7-zip (no renaming the .apk to .zip or anything) and drag the replacement images into the .apk - overwriting the older images
Test it by pushing the apk to your phone, if it works without any problems great
If it doesn't then use something like Apk Manager to extract the apk/edit the files/and zip them back up < generally what I do
Put the .apk into the apps folder in my "template update.zip" file
Delete the framework folder and readme.txt file
Sign the .zip
Flash
kyouko said:
haha i just used contacts.apk as an example, it could be anything you wanted really. But its generally only used for when making an update.zip for boot screens.
And yes, you could take an already existing zip... but i was a little confused as to what you were doing sorry.
Correct me if I'm misunderstanding you again lol, but you're editing images within .apks and want to make a flashable-update.zip once you finish?
Easiest way, as stated before would be to use 7-zip.
Open the .apk Directly with 7-zip (no renaming the .apk to .zip or anything) and drag the replacement images into the .apk - overwriting the older images
Test it by pushing the apk to your phone, if it works without any problems great
If it doesn't then use something like Apk Manager to extract the apk/edit the files/and zip them back up < generally what I do
Put the .apk into the apps folder in my "template update.zip" file
Delete the framework folder and readme.txt file
Sign the .zip
Flash
Click to expand...
Click to collapse
LOL I really appreciate the help! You guys kick ass!!!! BUT I tried this method MINUS the renaming part and it didn't work. Sooooo....I'm assuming the renaming caused the issue.
Also, I was using winrar. I read somewhere that 7zip should be used instead of winrar but I just don't think this should matter considering the compression method is no different. Am I wrong? Also, will my theme have to vary from rom to rom? If I create this theme for people will I have to specify what rom I'm on?
Thanks again SOOOOOOOOOO much for the help guys...I know working with noobs can be a headache. I did it in the WinMo world for YEARS till I came to the "Dark Side"
abadasstanker69 said:
LOL I really appreciate the help! You guys kick ass!!!! BUT I tried this method MINUS the renaming part and it didn't work. Sooooo....I'm assuming the renaming caused the issue.
Also, I was using winrar. I read somewhere that 7zip should be used instead of winrar but I just don't think this should matter considering the compression method is no different. Am I wrong? Also, will my theme have to vary from rom to rom? If I create this theme for people will I have to specify what rom I'm on?
Thanks again SOOOOOOOOOO much for the help guys...I know working with noobs can be a headache. I did it in the WinMo world for YEARS till I came to the "Dark Side"
Click to expand...
Click to collapse
Yes 7zip works better for theming and roming. I tried winrar and it was a pain in the ass.
Yes u will have to specify which roms it will work on. Files on darchdroid r different than our 2.1 roms and so forth. So they wont work right.
Download avabox and use the signing tool in there to sign ur zips.
Make sure in ur zip if ur editing an app it's in the right place...ie system/app or system/framework or data/app. Then make sure ur Meta file is in there. After that sign it and then u can change the name and flash it
Papa Smurf151 said:
Yes 7zip works better for theming and roming. I tried winrar and it was a pain in the ass.
Yes u will have to specify which roms it will work on. Files on darchdroid r different than our 2.1 roms and so forth. So they wont work right.
Download avabox and use the signing tool in there to sign ur zips.
Make sure in ur zip if ur editing an app it's in the right place...ie system/app or system/framework or data/app. Then make sure ur Meta file is in there. After that sign it and then u can change the name and flash it
Click to expand...
Click to collapse
I'm such a freaking noob....what's the meta file for? This seems like alot to do for a theme :/
abadasstanker69 said:
I'm such a freaking noob....what's the meta file for? This seems like alot to do for a theme :/
Click to expand...
Click to collapse
The Meta file is for the update script. It has other uses but for ur purpose its for the update script which is the instructions the recovery uses to flash the theme. Like I stated before just use an existing one from a different theme or mod. Creating ur own is possible but not needed. Hit me up on gtalk if u want to ask me questions.
[email protected]
I don't mind teaching if anyone wants to learn
But I don't exactly know how to get there.
I'm runing Wolfbreak's CM ROM V055, afraid to go to V06 because it might break my kernel install(still getting info on just what to do)
What I'm wanting is:
The status/pulldown bars(all icons except Wifi, and I want to keep Cyanogen 6's default slidey bar[the thing that ends up at the bottom]), and the animations from the theme used in SEMPITERNAL's Eternity 2 Build 0003a ROM. That will have to be ported to FroYo, I'm afraid(unless my theory at the bottom of this post will work).
I want the menu from LUCID-X10 by SicNside, with the black BG and white elements, but the png forthat i guess I'll have to negative a white hdpi one.
That's about it, the rest i want from arc theme which is default on my current ROM, including tickboxes, those arrows inside circles, the menu icons, etc.
My theory to sort of make this is to get the two involved APK's(default in CM and default in Eternity) onto my computer, and make them ZIP's. Then i can extract the drawable-hdpi folders from each and paste what I want from Eternity into Arc. Then I can replace the drawable-hdpi folder in the Arc framework file, and zip it at store.
That's where I stop knowing what I'm doing. Searching has not found me a guide on just how to make a framework-res.apk, nor even really making a theme altogether. All i can find is about xml files, resources, never anything about actually making the apk correctly.
Help, please?
I am stuck at the same point as you, I have no idea where to go from here :S
Anyone? I'm sure the two of us aren't the only ones...
Here's a zip of what I want. All I did was:
Took the framework-res.apk from the ETERNITY Rom and from the CM ROM, and pasted the png's i wanted from Eternity into drawable-hdpi-v4 in CM framework. Now, can someone make this work, please?
Its quite easy.
Just select the images you want to change.
Then open the framework-res.apk of your ROM with winrar or 7zip your choice.
Without extracting the files drag and drop the files to the winrar window in the right place. If you want to change images in drawable-hdpi migrate to res/drawable-hdpi and drag and drop images there.
Now close the archive and type this:
Code:
adb push <path to modified framework> /sdcard/framework-res.apk
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
Make sure you take a backup with xrecovery before doing this. If you do something wrong you may end up in a bootloop. In that case just restore from backup and try again!
realunited123 said:
Its quite easy.
Just select the images you want to change.
Then open the framework-res.apk of your ROM with winrar or 7zip your choice.
Without extracting the files drag and drop the files to the winrar window in the right place. If you want to change images in drawable-hdpi migrate to res/drawable-hdpi and drag and drop images there.
Now close the archive and type this:
Code:
adb push <path to modified framework> /sdcard/framework-res.apk
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
Make sure you take a backup with xrecovery before doing this. If you do something wrong you may end up in a bootloop. In that case just restore from backup and try again!
Click to expand...
Click to collapse
Grr, sorry but right now all my failure is just making that less clear. Type that where? Drag the files to the winrar/7zip window? Isn't that where i dont want them?
Ive followed all the different sets of instructions including yours on this forum as closely as i can make sense of them and always end up with a stream of FC's and reboot loops.
EDIT: does it only work on the stock kernel? I'm running Trip's kernel. I just pulled the framework apk then pushed that same apk back and it's still doing it.
EDIT 2: ok no stock kernel and its still doing it WHY THE HELL IS IT DOING THIS?!?!? I FLASHED THE SAME DAMN STOCK FRAMEWORK!
ok if i got the modded framework apk to my sdcard and used root explorer to paste it in, should that work? This laptop might be what's causing it
I have posted few tips here n there when ever people ask about it.
Check this for overall requirements
For your requirement, skip the optimization part out and just do image swap.
Like realunited123 said, dont extract, just open from 7zip, I use Win RAR and drag and drop the new image to the correct folder.
You need to remember few things here, check images name matches against old to new. Other important thing is resolution. you might get in to trouble if you take mpdi and put it to hdpi.
after updating the framwork I made a small template for you guys to play with.
Download attaches zip file open and go to
Framewrok-SJ.zip\system\framework folder and drag and drop the modified framework-res.apk
Dont try to install the attached file. its only a template for you guys to start working on....
After drag and drop you will see zip file size increased.
Simply copy to SD card and install via Xrecovery
You can try any framework to install like this without adb stuff
Remember to make a backup... because you will definitely screwup... we all have...... LOL
Realorasz said:
ok if i got the modded framework apk to my sdcard and used root explorer to paste it in, should that work? This laptop might be what's causing it
Click to expand...
Click to collapse
Well my friend if you have already did this. it will be your first screwup
Dont use root explorer or titanium for this work. Read this post I mention yesterday.......
Shiwantha said:
I have posted few tips here n there when ever people ask about it.
Check this for overall requirements
For your requirement, skip the optimization part out and just do image swap.
Like realunited123 said, dont extract, just open from 7zip, I use Win RAR and drag and drop the new image to the correct folder.
You need to remember few things here, check images name matches against old to new. Other impotent thing is resolution. you might get in to trouble if you take mpdi and put it to hdpi.
after updating the framwork I made a small template for you guys to play with.
Download attaches zip file open and go to
Framewrok-SJ.zip\system\framework folder and drag and drop the modified framework-res.apk
Dont try to install the attached file. its only a template for you guys to start working on....
After drag and drop you will see zip file size increased.
Simply copy to SD card and install via Xrecovery
You can try any framework to install like this without adb stuff
Remember to make a backup... because you will definitely screwup... we all have...... LOL
Well my friend if you have already did this. it will be your first screwup
Dont use root explorer or titanium for this work. Read this post I mention yesterday.......
Click to expand...
Click to collapse
Well i did try swapping mine with the framework apk in the froshed zip. I'll try it with yours though.
Shiwantha said:
I have posted few tips here n there when ever people ask about it.
Check this for overall requirements
For your requirement, skip the optimization part out and just do image swap.
Like realunited123 said, dont extract, just open from 7zip, I use Win RAR and drag and drop the new image to the correct folder.
You need to remember few things here, check images name matches against old to new. Other impotent thing is resolution. you might get in to trouble if you take mpdi and put it to hdpi.
after updating the framwork I made a small template for you guys to play with.
Download attaches zip file open and go to
Framewrok-SJ.zip\system\framework folder and drag and drop the modified framework-res.apk
Dont try to install the attached file. its only a template for you guys to start working on....
After drag and drop you will see zip file size increased.
Simply copy to SD card and install via Xrecovery
You can try any framework to install like this without adb stuff
Remember to make a backup... because you will definitely screwup... we all have...... LOL
Well my friend if you have already did this. it will be your first screwup
Dont use root explorer or titanium for this work. Read this post I mention yesterday.......
Click to expand...
Click to collapse
Is it just me is are you a savior!! Thanks, it's working now!!!!
Hey, by the way, can you teach me how i can make an xrec zip of a dialer mod I made? I want to post it on the CM 6 thread so people can like actualy install it but the only way i currently have for that is adb(which works on apps, but not themes...)
And one more thing, Is any sort of file transfer possible with ADB, or will i have to stick with WiFi File Explorer?
Realorasz said:
Is it just me is are you a savior!! Thanks, it's working now!!!!
Hey, by the way, can you teach me how i can make an xrec zip of a dialer mod I made? I want to post it on the CM 6 thread so people can like actualy install it but the only way i currently have for that is adb(which works on apps, but not themes...)
And one more thing, Is any sort of file transfer possible with ADB, or will i have to stick with WiFi File Explorer?
Click to expand...
Click to collapse
Thats good news.. one less problem to deal with....
create a folder call app on your pc and drag it to system folder in the zip file.
So you should have framework and app folders inside of it.
then copy Phone.apk & Contacts.apk and try to install via xrecovery.
there is a chance you might not be able to install as my initial signing of Zip file dosent included app folder and so MANIFEST.MF & CERT.SF dont have reference. on the other hand during installation Xrecovery dont check
key signature.
I didnt test this way so try, no harm will come to your phone.
Dont know about wifi explorer much. Im testing with adb generally. only final version im publishing in xrec.
Can you teach me how to make that meta inf stuff?
Sent from my X10a using XDA Premium App
Realorasz said:
Can you teach me how to make that meta inf stuff?
Sent from my X10a using XDA Premium App
Click to expand...
Click to collapse
You cannot, after putting stuff, need to sign by app sign tool or there are alternative called APK manager... search its on XDA i think........
I'm not getting it. The update script ange all that forxrecovery...?
Sent from my X10a using XDA Premium App
Realorasz said:
Can you teach me how to make that meta inf stuff?
Sent from my X10a using XDA Premium App
Click to expand...
Click to collapse
In META-INF create \com\google\android folders for update-script file.
Make update-script a text file containing the following
Code:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
Be sure to add an extra blank line after "show_progress 0.1 10"
Compress META-INF and system folders to a zip, then move to your sd and sign with signAPKtic which is a free app in the market. Use "test keys" to sign. (signAPKtic is easiest to me,or you can use 1 of the methods Shiwantha suggested to sign)
I would also suggest zipaligning your apks before adding them to optimize your phone's performance when accessing them. Search zipalign on XDA and you'll find what you need...
*Edit- Also, X10 Mod Tool is great for pushing/pulling apks via adb without all the typing. I use it a LOT when testing different pieces of themes.
AyDee said:
In META-INF create \com\google\android folders for update-script file.
Make update-script a text file containing the following
Code:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
Be sure to add an extra blank line after "show_progress 0.1 10"
Compress META-INF and system folders to a zip, then move to your sd and sign with signAPKtic which is a free app in the market. Use "test keys" to sign. (signAPKtic is easiest to me,or you can use 1 of the methods Shiwantha suggested to sign)
I would also suggest zipaligning your apks before adding them to optimize your phone's performance when accessing them. Search zipalign on XDA and you'll find what you need...
*Edit- Also, X10 Mod Tool is great for pushing/pulling apks via adb without all the typing. I use it a LOT when testing different pieces of themes.
Click to expand...
Click to collapse
I think adb mask controller can do it in the zipalign tab> zipalign /system/app button.
And what format does the text file need to be in?
Signapktic is either telling me the zip doesnt exist or gives me an unzp error... and I supposed to me signing the apk's or the zip?
EDIT: I think I got it. Zip signer instead of signapktic. Let's see what my phone does.
Ok it looks like it worked.
Make sure there are no spaces in the zip's name. Looks like you got it!
Sent from my X10a using XDA App
AyDee said:
Make sure there are no spaces in the zip's name. Looks like you got it!
Sent from my X10a using XDA App
Click to expand...
Click to collapse
So does that mean it worked for you?
EDIT: Oh, I'm stupid, I didn't even post it. Can you test it please?
It looks like it's signed already. Are you asking me to test the app or signature?
Sent from my X10a using XDA App
I've seen posts on this topic, but nothing in one place.
This will help you to just switch out the basic overall system fonts (without any apps, aside from root explorer)...
0. (optional) using root explorer, navigate to /system/fonts and copy the current Clockopia.ttf, DroidSans-Bold.ttf, and DroidSans.ttf files to your sd card for safe-keeping (note that if you are on any custom roms, these are most likely not the actual font names - if you're curious, copy it to your computer and preview the .ttf file or just hold your cursor over the font and it should tell you the actual font name)
1. get the .ttf files that you want (maybe from here: http://forum.xda-developers.com/showthread.php?t=1194202 <-- these are font packs with a lot more stuff in there than you need - just unzip and grab the three .ttf files only) you really only need to grab the unique files - usually clockopia and droidsans are the exact same file with different names, and sometimes all three are the same when there is no actual bold type of a specific font)
2. put the .ttf files on your sd card (i have a folder with different fonts on my sd, i named the .ttf files the actual font name to keep everything straight, and copy and rename when i want to switch fonts)
3. using root explorer, copy the 3 .ttf files (or only the unique files and make additional copies as needed) to your /system folder - make sure to mount r/w first (we need to make a layover here so we can change the permissions)
4. rename the files (you could do the renaming at any stage really, just sometime before you put them in the /system/fonts folder) - change the regular font types to Clockopia and DroidSans, and the bold font type to DroidSans-Bold (that's what your system is looking for when calling fonts)
5. change permissions of the 3 files to chmod 644 (see attached pic)
6. multi-select the 3 files and MOVE (do not copy) to the /system/fonts folder. it will ask you if you want to overwrite, check the box to do it for all files, and hit ok.
7. exit. reboot. done. cheers!
Disclaimer - I am not responsible for what you do to your phone. It is advised to install the CWM on Boot mod (http://forum.xda-developers.com/showthread.php?t=1554579) before messing with any of the system files.
Thanks man, easy as pie!
Before
After
916x10 said:
Thanks man, easy as pie!
Click to expand...
Click to collapse
No prob. I learned quick after taking a misstep trying to copy them to the fonts folder w/ no cwm on boot - fc's, followed by a boot loop, followed by rsd lite... you know where this goes... anyway, i thought i'd share..
...Still not sure what all the other fonts in there do.. heck, i got no idea what the clockopia font is even for. I've changed it to different fonts separately, and notice no difference anywhere... you probably don't need to even change it. Someone else please feel free to post if you can add to the topic
Sent from my mind using XDA
Guys, I just did what I didn't suppose to and ended up in bootloop during font change! I know, am a stupid noob...
But, can't get the phone to CWM either. What should I do?
Running Victory rom if that helps. Thank you very much for the responses.
EDIT: nevermind, now I know what to do. Sorry for trolling, moderators can now delete my stupid post...
Don't beat yourself up my brother.... We've all been there.
Some, like me, more than others. That's the way I learned.
ATRIX 2 / Victory Rom
Yup - been there. And, learned from it..
Try and keep that CWM on Boot installed if you're messing around, and a backup on your sd card to restore if you start looping..
Thanks for your support guys, you're awesome
The thing is that i did have CWM on boot installed, and I did make all important backups. I just couldn't get anywhere but in regular fastboot mode only...
Anyway, RSDLite will do the thing I hope...
Thanks again boys, cheers from OZ
Back to CM7 fonts
How I can back to CM7 fonts or reinstall it?
Thanks in advance
Mobeca said:
How I can back to CM7 fonts or reinstall it?
Thanks in advance
Click to expand...
Click to collapse
Wow.. I forgot about this thread!
Anyway, you would need you to find the fonts from cm7 and move those as described above.
I am not familiar with CM roms, but I assume the fonts are in the same /system/fonts folder - grab them from a CM7 rom and follow the steps..
Note: there are also apps that change system fonts (like Font Changer) - but I prefer to do things manually..
Sent from my phone's mind
Thanks man, that;s easy to setup
Anybody try this on ICS yet?
Sent from my phone's mind
alteredlikeness said:
Anybody try this on ICS yet?
Sent from my phone's mind
Click to expand...
Click to collapse
Good read : http://rootzwiki.com/topic/15077-how-to-make-font-packs-that-work-in-icsjb/
Archmag3 said:
Good read : http://rootzwiki.com/topic/15077-how-to-make-font-packs-that-work-in-icsjb/
Click to expand...
Click to collapse
Thanks! That is a good read... and, so it looks like you could possibly still use the method in my OP, but you need to replace the four Roboto font files instead of the DroidSans ones.. I'll give it a try sometime when I get back on ICS and update the OP accordingly.
alteredlikeness said:
Thanks! That is a good read... and, so it looks like you could possibly still use the method in my OP, but you need to replace the four Roboto font files instead of the DroidSans ones.. I'll give it a try sometime when I get back on ICS and update the OP accordingly.
Click to expand...
Click to collapse
There is a application called LCfont changer. It works via CWM / Recovery..but i didnt work for me.Can you just try out and let me know ?