Editing 32a Framework-res - myTouch 3G, Magic Themes and Wallpapers

First sorry for my english, i don't speak english regularly.
Second i'm on a mac
At last, i'm trying to customise official roger rom (i've also tried the HoFo Rom)
I'm trying to customise the framework-res.
I did:
- unzip the original framework-res.
- change the default wallpaper.png
- zip the files
- sign the apk (using this)
- sign the rom
- push the update.zip on the sdcard
- wipe
- Apply update.zip
- restart
and the phone stay on bootscreen (operator logo)
Can someone help me?
Merci beaucoup

Hey u shudnt sign it..
K for now do this...flash a working rom...copy the framework-res.apk to ur pc....then open it with 7zip extract the png u wanna edit....chng the png...n then drag it back into the zip. Dont rename or nething just do all this using 7zip rightclick open. Then just do
adb remount
adb push framework-res.apk /system/framework/
adb shell reboot
n all shud b fine

Daneshm90 said:
Hey u shudnt sign it..
K for now do this...flash a working rom...copy the framework-res.apk to ur pc....then open it with 7zip extract the png u wanna edit....chng the png...n then drag it back into the zip. Dont rename or nething just do all this using 7zip rightclick open. Then just do
adb remount
adb push framework-res.apk /system/framework/
adb shell reboot
n all shud b fine
Click to expand...
Click to collapse
I've tried with Springy (7zip don't have a browse option on mac) and it worked.

Related

Question about status bar icons???

How do I get these Icons for my status bar? Ive looked in themes and apps and flashed a couple but I still dont get all the icons to stick. any ideas?
The first attachment is what I want and the second is what I have.
Please help!
If you know how you need to put them in the com.htc.resources.apk also
Sent from my unrEVOked using xda app
roscoenr said:
If you know how you need to put them in the com.htc.resources.apk also
Sent from my unrEVOked using xda app
Click to expand...
Click to collapse
How do I do that?
Do you have adb
Sent from my unrEVOked using xda app
roscoenr said:
Do you have adb
Sent from my unrEVOked using xda app
Click to expand...
Click to collapse
I sure do!
connect you phone with debugging on. open up you cmd, cd to you rsdk tools folder, use command adb
pull /system/framework/com.htc.resources.apk.
once you have done this the com.htc.resources.apk will be in you tools folder. Make 2 copys of this to a place that you can work with it. Leave one of these alone. take your other one and you open this with 7zip DONT UNZIP THIS ONLY OPEN. navagate to res\drawable-hdpi inside you will find many png file find the png that is what you have on your status bar and replace it with the one you are wanting making sure they are named the same. once you have all your files replaced close it up. Take your modded com.htc.resources.apk and place it in your sdk tools folder. With your phone connected open you cmd cd back to your sdk tools folder and use the commands
adb remount
adb push com.htc.resources.apk /system/framework
adb reboot
after you have issued the last comand let it set your phone will reboot its self and you should have your handy work
roscoenr said:
connect you phone with debugging on. open up you cmd, cd to you rsdk tools folder, use command adb
pull /system/framework/com.htc.resources.apk.
once you have done this the com.htc.resources.apk will be in you tools folder. Make 2 copys of this to a place that you can work with it. Leave one of these alone. take your other one and you open this with 7zip DONT UNZIP THIS ONLY OPEN. navagate to res\drawable-hdpi inside you will find many png file find the png that is what you have on your status bar and replace it with the one you are wanting making sure they are named the same. once you have all your files replaced close it up. Take your modded com.htc.resources.apk and place it in your sdk tools folder. With your phone connected open you cmd cd back to your sdk tools folder and use the commands
adb remount
adb push com.htc.resources.apk /system/framework
adb reboot
after you have issued the last comand let it set your phone will reboot its self and you should have your handy work
Click to expand...
Click to collapse
Are there certain png files I am looking for once I get the file open or will that just stick out at me?
Easiest way I found is look for the ones you see on you're phone

[Guide] Get Swype back. For a Noob. By a Noob.

No ADB knowledge needed. Just follow instructions.
1. Download mini-adb Here
2. Extract that and put it on your desktop.
3. Download original image file Here
4. Extract the image file using winrar, and put the extracted file onto your desktop.
5. Go into the extracted image file you extracted in step 4, and navigate to
Desktop\ota_odex_V1.1\system\app and find swype.apk.
6. Take the swype.apk, copy it, and paste it into your mini-adb folder you extracted in step 2. Put it here: Desktop\EZ-MiniADB\MiniADB. The folder should also have RunMe.bat and adb.exe, and also the newly pasted swype.apk
7. Go back into the extracted image file you extracted in step 4, and navigate to Desktop\ota_odex_V1.1\system\lib and find libSwypeCore.so
8. Copy and paste that libSwypeCore.so into the same folder you pasted the Swype.apk
9. Go download HTC sync and install it.
10. Plug your phone into the laptop and make sure debugging mode is on.
9. Now go to your mini-adb folder on your desktop and double click RunMe.bat
10. When the black command prompt window pops up, type the following:
adb remount [PRESS ENTER]
adb push libSwypeCore.so /system/lib/ [PRESS ENTER]
adb push swype.apk /system/app/ [PRESS ENTER]
11. Unplug your phone, and you are done! You can set the option of using swype in your settings!
+1 Thanks if you got Swype Working
ADB KNOWLEDGE
Now that you used ADB to push the files, you can also use ADB to push other things to other places. Just make sure whatever you want to push is in the same folder as your RunMe.Bat....
or you could use the root explorer app and extract the files, move the files and install the apk from there... much easier and you dont have to use ADB
WarBird87 said:
or you could use the root explorer app and extract the files, move the files and install the apk from there... much easier and you dont have to use ADB
Click to expand...
Click to collapse
Quite frankly I never came across with a guide with your method. If you think your way is better, go make a guide for it. All the guides I came across didn't work for me except for this one, so that is why I made a guide.
I also found this .apk called Swype Restore in the Cyanogen forums.
http://forum.cyanogenmod.com/topic/...over-your-swype-after-installing-cyanogenmod/
Does the tutorial mentioned in OP require me to have this Cyanogen mod installed ? .. I just got a Desire Z about a week or two ago and I'm just running the default stuff and would like to just install Swype into that directly if possible ..
Or just sign up for the beta and install it...
Mnemoch said:
Or just sign up for the beta and install it...
Click to expand...
Click to collapse
If you take the effort to do it this way, you can always reinstall swype in like 3 seconds, beceause the apk and the lib file is already in ur mini adb folder.

[Q] Removing the gprsone icon from NilsP 2.1/3.0 BusSense

I've tried my hardest on my own, but I cannot seem to decompile and compile the systemui.apk properly without throwing brut errors. I've used APK manager and apktool, and both give me errors about the dependencies I'm trying to use. For reference, I'm using NilsP's last release of 2.1/3.0 business sense.
What am I trying to do?: remove the gprsone icon from the statusbar. I know the .png is transparent, but still takes space up on the bar.
Reference thread: http://forum.xda-developers.com/showthread.php?t=1231831
Any pointers? I've attached the framework-res and systemui in case somebody needs it to help.
Sure I can help. With apktook, you need to register your resources which are framework-res.apk and com.htc.resources.apk. Once you've registered those, then decompile the SystemUI.apk with apktool.
EDIT: Here's a quick little "How To" I use for apktool.
Put com.htc.resources/framework-res.apk's into the C:\Users\<username>\apktool folder (or where ever you keep your apktool)
Go to that directory in a CMD window, and type in:
apktool if framework-res.apk
Hit Enter
apktool if com.htc.resources.apk
Hit Enter
Decompile run: apktool d <apk name>.apk
Compile run: apktool b <apk folder name only>​
After you compile it, the apk will be in the dist folder. So for SystemUI.apk, the folder is named SystemUI. Open SystemUI/dist, and move the SystemUI.apk folder to your desktop. Use 7zip to open the original SystemUI.apk, extract the META-INF folder and Android Manifest. Open the new SystemUI.apk and put the META-INF and Android Manifest files into this new apk. You should be good to go then.
If you get really stuck, let me know and upload your com.htc.resources.apk, and I can help you out.
Attached are successful screenshots of registering your resources and decompiling successsfully, then recompiling successfully for reference as to what you should see. I used a Rosie.apk, but it'd be the same with SystemUI.apk.
Thank you for taking the time out to help!
Sorry but I followed your instructions to a T, but my phone won't get past the HBOOT (i think that's the correct term)
This time, I didn't get compile errors with apktool, but I'm not sure I did everything correctly.
I've attached my com.htc.resources.apk
http://www.mediafire.com/?2yoijsmr954md1g
Okay, I downloaded your SystemUI.apk file, and removed the classes.dex file using 7zip and decompiled that using a Java command and baksmali. I made the edits, recompiled the new classes.dex file using a Java command and smali.
It's a different way of doing things, and how I first learned to hide the location icon, and status bar clock so I feel most comfortable with doing it that way.
Attached is the updated SystemUI.apk you provided, with *hopefully* a hidden location icon from the status bar.
The easiest way to do this:
Hook phone up to computer via USB, reboot into Recovey.
Mount /system.
Open command prompt, CD to your SDK/platform-tools directory.
Type in: adb shell
Type in: cd /system/app
Type in: cp SystemUI.apk SystemUI.bak
NOTE: This makes a copy of SystemUI.apk named SystemUI.bak.
Type in: rm SystemUI.apk
NOTE: This removes SystemUI.apk, we can always to the opposite of the cp command from above to get the original back.
Type in: exit
Now make sure your modded SystemUI.apk is in your SDK/platform-tools folder, then type: adb push SystemUI.apk /system/app/
Now let's make sure that the permissions will be correct, so adb shell back into your phone, and then type cd /system/app.
Lastly, type: chmod 0644 SystemUI.apk
Hit Enter.
Type in: exit
We're done, reboot your phone.
I want to say thanks for helping me out today.
I learned some things and got the location icon removed from the statusbar.
This sounds like a win!
kschwarz88 said:
I want to say thanks for helping me out today.
I learned some things and got the location icon removed from the statusbar.
This sounds like a win!
Click to expand...
Click to collapse
Dude, that's great to hear! I love sharing what I've learned, and am glad you took the time and learned something! This stuff is fun, so continue learning!
It's a total win! If you wanna know the Java commands to decompile classes.dex, let me know, and I can pass that knowledge on!
Sent from my ADR6300 using xda premium

enable ics keys on any ics rom detailed guide

DO THIS AT YOUR OWN RISK MODDING FRAMEWORK IS DANGEROUS READ EVERYTHING BEFORE DOING ANYTHING
Im not responsible for bricks
your house burning down
your cat gone missing
or your phone blowing up
Ok this is NOT my idea here is the original thread http://forum.xda-developers.com/showthread.php?t=1364757
first you will need the android sdk http://developer.android.com/sdk/index.html
you need to install it on your C: directory eg:/android/android sdk
notepad++ is needed to
7zip is also needed and you need to set it as default program for apks
and apktool http://code.google.com/p/android-ap...mmary+Uploaded+ReleaseDate+Size+DownloadCount use apktool 1.4.2 if you get problems with 1.4.3 you will need apktool installer and apktool once extracted put them in a folder in the C: directory and add them to path eg; C:/android/apktool/
THE ANDROID SDK AND APKTOOL NEED TO BE ADDED TO PATH OR NONE OF THIS WILL WORK!
lets get started!
the decompile
1: open command promt and type in
Code:
cd android
(make this folder b4 you start in your user)
2:then
Code:
adb remount
if you installed adb correctly it will say remount succeeded
3:then type this in
Code:
adb pull /system/framework/framework-res.apk
once its done pulling apk
go to android in your user and you will see (if you did it right) framework-res.apk
4: back to cmd and type in
Code:
apktool d framework-res.apk
let it do its stuff
once done goto android in your user and the apk will be decompiled there for you
the modding
1: open up framework-res click on res and scroll down to values open it and click on bools
2: open bools in notepad++ and find "config_showNavigationBar" and set to true
3: now open dimens and find "navigation_bar_height" and set to 34.0dip
4:if your running a kernel like glitch devils you can disable the touch key backlights using nstools
5: done!
the recompile
you will need to switch out the appt in the folder you put apktool and stuff eg:were i put mine C:/android/apktool/
new appt http://www.mediafire.com/?0q52u6v8vdkpq1i
1:switch out appt with the new one
2:goto cmd and type
Code:
apktool b framework-res
then press enter
3:if you did everything right (installing android sdk and apktool) this part should take about 5min
4:if the recompile succeeded kiss your self (joking)
5: open android in your user (NOT ON C: DRIVE) and click on framework-res you will see a new folder called "build" click on it and
you will se three files one of these is "AndroidManifest" leave that well alone open framework-res.apkin 7zip and drag the two folders in "build" into the apk again dont drag androidManifest once the modded filles are in the apk close 7zip
adb push it back to your phone
1:in command promt type
Code:
adb push framework-res.apk /system/framework/
2:when push is complete type
Code:
adb reboot
this will now reboot your phone
3: once booted up you should see the three touch keys at the bottom of your screen everything will look cramped
so goto market and download LCD Density Modder and change the dpi from 240 to 228 reboot and enjoy
obviously this guide is for NOOBS this is not my idea just wanted to give people a easier guide to modding framework
all credit goes to evilisto not me hope you do what you want!!!
this will also work on
nexus s
nexus one
galaxy s II
vibrant
crappy
and galaxy note
other phone you probably can but these are the only ones ive tried it on try on other phones at your on risk
happy modding
peace

[TUTO] Customise Defy MINI XT320 with UOT Kitchen

Many of you have been asking me how I customize my Defy mini.
Well there you go with a tutorial.
So first things first.
-- Your phone must be rooted
-- Somewhere on your computer you have the Android Debug Bridge (adb) and fastboot
-- I supposed you know what you are doing so if it doesn't work / brick your phone / etc... you and you only are responsible for this.
-- I can help you make it work, but please provide me enough information so can really help you
-- All the files you should need are in the tools.rar archive attached
So, this being said, let's begin.
First things first. To proceed, you will need to extract two files. framework-res.apk and systemUI.apk
Code:
adb pull /system/framework/framework-res.apk framework-res.apk
adb pull /system/app/systemUI.apk systemUI.apk
Then go to http://uot.dakra.lt/ with your favorite browser :laugh:
Go to kitchen, go through your customization.
Do try to change the loockscreen it won't work
If you change the battery icon, the animation when charging will not work
You can select gingerbread option.
Resolution has to be set to mdpi (320x480)
In the File upload section
Select your rom from kitchen's list, and upload your own files : choose Upload system files and upload the systemUI and framework-res extracted earlier
Choose any update binary on the list.
Then go to summary. If everything's green you are good to go, you can submit your work to kitchen.
You'll get a order number. Then just wait in the pickup section to get back your new, awesomely customize files !
Before install this update with CWM recovery, you have to change the updater-binary.
To do so open the UOT zip with 7zip for instance. And change the META-INF\com\google\android\updater-binary with the one in the tools archive
Then your good for installation !
Code:
adb push UOT-XX-XX-XX-XX-X.zip /sdcard/UOT.zip
adb reboot bootloader
fastboot boot recovery.img
Choose install zip form sd card, reboot and enjoy !
Hi.
Code:
adb pull /system/framework-res.apk framework-res.apk
adb pull /app/systemUI.apk systemUI.apk
File not Found.
Do u try that ? i'm not sure :'D
U mean this or ? ->
Code:
adb pull /system/framework/framework-res.apk
adb pull /system/app/SystemUI.apk
Thanks for this TUT
Tubii said:
Hi.
Code:
adb pull /system/framework-res.apk framework-res.apk
adb pull /app/systemUI.apk systemUI.apk
File not Found.
Do u try that ? i'm not sure :'D
U mean this or ? ->
Code:
adb pull /system/framework/framework-res.apk
adb pull /system/app/SystemUI.apk
Thanks for this TUT
Click to expand...
Click to collapse
You are right. I'll correct that, thanks.

Categories

Resources