How To - Sense Theme (.apk)

FormelLMS

FormelLMS

Dauergast
380
Ich habe das hier bei den XDA gefunden:
(original von User sopL87 )

Download & install 7zip.

Download & install Java Development Kit (JDK) & Java Runtime Environment (JRE): http://www.oracle.com/technetwork/ja...ads/index.html

Download & install Android Software Development Kit (SDK): Android SDK | Android Developers

Download Auto-sign.zip by Dave Da illest 1: Auto-sign.zip

Download Apktool by Brut.alll: Downloads - android-apktool - A tool for reengineering Android apk files - Google Project Hosting


I. Installation of Auto-sign:
1. Unpack Auto-sign.zip to any folder and you're done.

II. Installation of Apktool:
1. Unpack: "apktool-install-windows-2.2_r01-3.tar.bz2" and "apktool1.3.2.tar.bz2" to "C:/Windows" directory.
2. Pull from your Desire HD: framework-res.apk and com.htc.resources.apk. They are in "root/system/framework" directory. Save them on your PC.
3. Place com.htc.resources.apk in "C:/Users/'your name'/" directory.
4. Open terminal/command line [Start->Run->type "cmd"->press <enter>] and type "apktool", press <enter>. Then you should see usage help.
5. Write: "apktool if com.htc.resources.apk DesireHD" [There should be created directory "C:/Users/"your name"/apktool/framework" and 2 apk files in it].

III. We will start with modifying standard, HTC made Slate skin. First, we must pull Slate.apk from "root/system/app" folder. In this directry there are also skis: Metal.apk, Wood.apk, Blackboard.apk.
1. Extract pulled Slate.apk with 7zip. [Right mouse button click on skin .apk, from menu choose: 7zip->Extract to "Slate\"]. Now you can edit/replace all .png's stored in "Slate/res/drawable-hdpi; drawable-port-hdpi; drawable-land-hdpi".
2. Place pulled original Slate.apk in "C:/" directory.
3. In command line write: "apktool d -f -t DesireHD C:/Slate.apk".
4. There should be created directory "C:/Users/"your name"/Slate".
5. Editing name of skin, colors, and other miscellaneous things [in decompiled .xml files]:
a. Name of skin: with notepad we are editing AndroidManifest.xml in "C:/Users/"your name"/Slate" folder.

-line: <manifest android:hasCode="false" android:versionCode="8" android:versionName="2.2" package="com.htc.skin.Slate"
change to: <manifest android:hasCode="false" android:versionCode="8" android:versionName="2.2" package="com.htc.skin."your name of skin without spacebar""

with notepad we are editing strings.xml in "C:/Users/"your name"/Slate/res/values" folder.

-line: <string name="skin_name">Slate</string>
change to: <string name="skin_name">"your name of skin"</string>

b. Colors: with notepad we are editing colors.xml in "C:/Users/"your name"/Slate/res/values" folder. [Colors of specified areas of Sense UI are in HTML code. You can check and edit them with help of some sites].
c. Flipping of clock and screen indicator courve line: with notepad we are editing integers.xml in "C:/Users/"your name"/Slate/res/values" folder.

-line: <integer name="clockwidget_flip">1</integer> means that clock will flip. If "1" changed to "0", clock will not flip.
-line: <integer name="rosie_scrollbar_curve">0</integer> means that screen indicator will move in curve line. If "0" changed to "1", indicator will move in strait line [there is no mistake here!].

6. Now if you edited .xml's in the way you want, you must compile .apk of skin. In command line write: "apktool b -f C:/Users/"your name"/Slate "your name of skin without spacebar".apk" [for example: apktool b -f C:/Users/Dick/Slate Dick_Slate.apk].
7. In "C:/Users/"your name"/" directory will appear compiled skin .apk.
8. Open it with 7zip. [Right mouse button click on skin .apk, from menu choose: 7zip->Open archive]. You will see in this directory 2 folders: assets & res, and 2 files: AndroidManifest.xml [which is edited already] & resources.arsc.
a. In "assets/image" directory there are stored preview.png [which you see when you choosing skin in Skin Picker, on your phone] and wallpaper.jpg.
b. In "res" directory there are folders: drawable [which contains .xml's], drawable-hdpi, drawable-land-hdpi & drawable-port-hdpi [containing .png's which you will replace]. Now you can drag'n'drop previously prepared
[in point III.1.] .png's [or whole folders], so your new files replace those in opened .apk. Close 7zip window.

9. Now take edited "your name of skin without spacebar".apk to Auto-sign root directory [see point I.]. Change it's name to update.zip. Drag'n'drop update.zip at Sign.bat file and in command window press <enter> when signing will be finished. There should appear new file called update_signed.zip. Now you can change it's name to "name of you skin".apk and youre done. This file is installable on your Desire HD.

Beim ersten Test hat es sogar geklappt. So ganz verstanden habe ich es aber noch nicht. Wenn ich das komplett verstanden habe, dann werde ich es hier eindeutschen, damit ihr das auch machen könnt.

Vielleicht hat jemand Lust, mir zu helfen?
 
Wow sieht kompliziert aus...

Gesendet von meinem HTC Incredible S mit der Android-Hilfe.de-App
 
Ach was, das meinst du nur. Wenn man sich ein bisschen einliest, dann geht das. War bisher immer so.
So lernt man dann auch Android kennen.

Sent from my HTC Incredible S using Tapatalk
 
So ganz durchblicken tu ich zwar net, aber ich kann das gerne heute abend mal schnell übersetzen.
 
Gute Idee. Aber warte mal. Evtl geht es noch viel einfacher.
Ich probiere da mal was. Und wenn das geht, kann jeder ganz einfach seine Themes machen.

Sent from my HTC Incredible S using Tapatalk
 
Ah, ok. Dann wart ich mal auf dein Feedback.
 
Suspiria schrieb:
So ganz durchblicken tu ich zwar net, aber ich kann das gerne heute abend mal schnell übersetzen.

auf japanisch:lol:
 
Es geht noch viel einfacher.
Es gibt ein Programm, womit man das decompilen und das compilen einfacher machen kann.

Ich habe es gerade mal probiert.
Wenn ich etwas Zeit habe, dann kann ich das besser schreiben.

Sent from my HTC Incredible S using Tapatalk
 
Unser kleines Genie :thumbsup:
 
Sehr cool, ich steh auf grosse Kerle :flapper: Dafür bin ich auch nur 1,58 :laugh:

Drösel du mal schön, ich guck mir das heute Abend in Ruhe an, wenn ich zuhause bin.
 
:crying: für mein Motorola V3 hate ich ein supergeiles LCARS Thema, sowas lönnte ich mir für mein IncS auch vorstellen.

Gibts sowas?
 
Lade dein theme mal hoch. Ich kann mir das ansehen.

Sent from my HTC Incredible S using Tapatalk
 
Also mir is das alles viel zu kompliziert. Dazu fehlt mir einfach die nötige Geduld.... ich frach einfach ganz lieb, wenn ich ein Theme möchte und hoffe der Dackelblick wirkt, harharhar :laugh:
 
Formel-LMS schrieb:
Lade dein theme mal hoch. Ich kann mir das ansehen.

Sent from my HTC Incredible S using Tapatalk


hab schon befürchtet ich find die Skin nicht mehr. Das kommt davon wenn man so riesen Festplatten hat :)
 

Anhänge

  • Star_Trek.zip
    667,2 KB · Aufrufe: 118

Ähnliche Themen

sony80
  • sony80
Antworten
1
Aufrufe
1.706
htcincredible
H
Suspiria
  • Suspiria
Antworten
4
Aufrufe
6.448
Silversniper
S
D
  • dergeberl
Antworten
8
Aufrufe
5.284
dergeberl
D
Zurück
Oben Unten