HOW TO DE-COMPILE , RE-COMPILE USING "APKTOOL"
WHAT IS APK-TOOL :
ABOUT :
It is a tool for re-engineering 3rd party, closed, binary Android apps.
It can decode resources to nearly original form and rebuild them after making some modifications; it makes possible to debug smali code step by step.
Also it makes working with app easier because of project-like files structure and automation of some repetitive tasks like building apk, etc.
EXPLANATION :
Suppose you want to modify an App according to the way you want it to be ..!!! This can't be done without any Tool .. So @iBotPeaches introduced the legendary Tool "APK-TOOL" ... It is used to modify the apps ..!! De-odexed app's make the work more easier ..It can decode resources to nearly original form..It hepls us with many repetitive tasks ..[/INDENT][/INDENT]
SETTING UP APK-TOOL :
1) Install Java JDK :-
Before installing the Android SDK, you’ll have to install Oracle’s Java development kit. You can download it from here...(click me !!)
Even if you already have the Java runtime (JRE) installed, you’ll need to install the JDK as well...
{
"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"
}
After installing Java JDK , you can now download the Android SDK from Google .
NOTE :- If you see a any type of Java-related error during installation, then download and install the x86 version of the JDK, not the x64 one ...
2) Install Android SDK :-
Download Android SDK from here...(click me !!!)
After clicking on "DOWNLOAD FOR OTHER PLATFORMS" , you will get an extended menu ..
After downloading the .exe file , then Double click on the .exe file and install it in C:\ Drive or on whichever drive you wanna install .
3) Android SDK Setup :
Once the Android SDK is downloaded and installed, launch the SDK Manager application from your Start menu.
Enable the Android SDK tools and SDK Platform-tools checkbox and click the Install button. This downloads and installs the platform-tools package, which contains ADB and other utilities.
4) SETTING UP APK-TOOL :
Download Apk-tool from here ...(click me ...!! )
Now extract the Tar file...Open the extracted Apk-tool Folder...
Now hold shift and right-click button ..Now select "open command prompt here" in the new extended menu ..
And now , you gotta install Framework-res.apk,system-UI.apk ..etc ..
Code:
apktool if framework-res.apk
or
Code:
apktool if [I]name_of_apk_you_wanna_install[/I] .apk
Now lets decompile a .apk file ..
Here i will take Framework-res.apk as example ..
Code:
apktool d framework-res.apk
or
Code:
apktool d [I]name_of_app_you_wanna_decompile [/I].apk
After Modding the app it's time to re-compile the app ... Note that here you need not to enter the .apk extension as weel Just add the Decompiled folder name .. Like in my case the folder name is "framework-res"
Code:
apktool b framework-res
or
Code:
apktool b name_of _the_folder_of_app_you_decompiled
Now you can find your Modified new app in the 'dist" folder which is present in the De-compiled app Folder ..
Most important part is that you gotta sign your modified app .. In case of a system app there is no need . But if you modded any non-system app then signing the app is necessary or else the app won't install ..
SIGNING APP
Download this..{click me..!!}
Extract the .zip file and place the app which is to be signed in the folder..Now
Code:
java -jar signapk.jar certificate.pem key.pk8 path_of-folder-having-the-apkWhichIsToBeSigned .apk path-of-the-new-signed-apk.apk
eg ::
Code:
java -jar signapk.jar certificate.pem key.pk8 c:/xda/apktool/system_unsigned.apk c:/xda/apktool/system_signed.apk
ZIPALIGNING THE APP
copy zipalign.exe from C:\Program Files\Android\android-sdk\tools
Open cmd and type this code
Code:
zipalign -fv 4 nameOfAppYouWantToZipalign.apk New_NameOfZipalignedApp.apk
eg :
Code:
zipalign -fv 4 framework-res.apk framework-new.apk[/CENTER]
CREDITS ::
brut.all
iBotPeaches
All the guys who supported me and whatsapp friends ..
android-blog {learn it from 'em when i was new}
Please click me ..!! :fingers-crossed:
Dont forget to Rate the thread as 5stars and newsWorthy thread
reserved once again}
(Just saying)
You don't require Android SDK for apktool
iamareebjamal said:
(Just saying)
You don't require Android SDK for apktool
Click to expand...
Click to collapse
Ya ..There is no need of Android SDK for apktoool but the tools might be helpful for Logcat'ting and Pushing the files via ADB ..
Nice explanation it is very helpful for Newbies
Anyway to do this using Android Device itself ?
Sent from Gallifrey using TARDIS
Related
I'd like to use a clean simple lockscreen like this one:
{
"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"
}
I'm not that into the whole adb push thing so i would want to simply flash it through recovery mode.
Is there any flashable zip for that?
Currently using Cronos Droid 1.5.1.
I want exactly the same thing. I have been searching this forum for a few weeks now...
+1
In my opinion best looking lockscreen there is..
I'm running CronosDroid 1.5_BFS_JIT, but I seriously doubt if this lockscreen works with JIT.
skuum said:
I'd like to use a clean simple lockscreen like this one:
I'm not that into the whole adb push thing so i would want to simply flash it through recovery mode.
Is there any flashable zip for that?
Currently using Cronos Droid 1.5.1.
Click to expand...
Click to collapse
I think the original lockscreen was done by drizzy and i have used it on MCR to version 3.2 and it works fine. As for Chronos i have not tried it on that yet but i think there would be problems if you were using Jit.
Any way i have uploaded the file to RS in update form... do a nandroid first...
The wallpaper for the background you can hunt down if not drop a line here i think i have it somewhere
http://rapidshare.com/files/400178384/Clear_Lockscreen_2.9.zip.html
hi you can try this;
1. extract the file /system/framework/com.htc.resources.apk from your phone via adb or with root explorer
2. open the extracted com.htc.resources.apk with 7-zip ( open archive )
3. open the folder 'res'
4. browse to the folders : drawable-land-480x320 and drawable-port-480x320
5. copy the *.png files to your local drive
6. open the *.png files with editor ( photoshop eg. ) and remove the 'arch' images etc.
7. save the *.png files
8. copy them back into the above mentioned folders
9. close 7-zip ( save the apk )
10. via adb push the apk back in the folder /system/framework
if you're running the modaco-rom you can also try to push this file to the /system/framework folder on your phone
hope this works for you..
*this file will not work on 2.1 based roms!! just on 1.5 based roms....i will see if i can fix a clear lock screen for 2.1 this weekend
will this work with villainrom 10.3?
edit:apparently it doesnt, could you fix it so it does?
like i said .. the file i added will not work on 2.1 roms so no .. it will not work for villain 10.*
would you be abe to create one that does?
can you pull the com.htc.resources.apk from your villainrom and post it here?
currently i'm running Cronos 1.7.1 and i don't think it will work if i pull the file from my rom for you to push it onto villainrom...
could you post instructions how to, i'm new to this.
for VR10 you can find it here: villainrom.co.uk/viewtopic.php?f=33&t=1545&p=17601#p17601
THANK YOU!
mikep1993 said:
for VR10 you can find it here: villainrom.co.uk/viewtopic.php?f=33&t=1545&p=17601#p17601
Click to expand...
Click to collapse
Will it only work for VR10 ?
Im on Cronos 1.7.1 What would happen if i flashed it?
Could you maybe make one work for Cronos?
http://forum.xda-developers.com/showthread.php?t=707599
i used the file from the Cronos 1.7.1 rom so i'm not sure it will work for
villainrom though...
The version i posted on the villainrom-forums will only work on villain rom 10 series. (Because i think non of the updates changed the com.htc.resources.apk file, but i'm not sure).
The simply anser if it works on other rom's is simply no, because the most custom rom's have their own changes in the above mentioned file, so you will get lots of fc or your system won't boot, after that you can't use my posted files for a themed VR10 because a theme changes the pictures of the com.htc.resources.apk file, and i havn't them included in my update zip, because there are the original ones in.
I hope this will help you.
If you want to change this in your own custom rom, you must know the basics of open a .apk file, change the picturefiles and pack it again in a update.zip and the least signing a file.
this is what odin13 mentioned in his post:
1. extract the file /system/framework/com.htc.resources.apk from your phone via adb or with root explorer
2. open the extracted com.htc.resources.apk with 7-zip ( open archive )
3. open the folder 'res'
4. browse to the folders : drawable-land-480x320 and drawable-port-480x320
5. copy the *.png files to your local drive
6. open the *.png files with editor ( photoshop eg. ) and remove the 'arch' images etc.
7. save the *.png files
8. copy them back into the above mentioned folders
9. close 7-zip ( save the apk )
10. via adb push the apk back in the folder /system/framework
Click to expand...
Click to collapse
This is from my VillainROM 10.3.1.
Code:
/system/framework/com.htc.resources.apk
{
"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"
}
What MetaMorph is
MetaMorph is a project designed to allow us to patch files within .jar and .apk files on the phone.
Initially MetaMorph was designed for themers but it was discovered through use that we could also use it for applying customer dex files, resource files, images, and xml files. Pretty much anything inside of the apk and jar can be replaced with MetaMorph, which makes it very versatile and useful, in addition to this we can now copy files to places on the phone or sdcard, and we can implement the use of scripts now!
Purpose for a Reform:
Usually MetaMorphs are made for a specific phone and rom. Instead of classifying them by a Phone model, we should be classifying them by the phone's Resolution (ldpi,mdpi,hdpi). Also, the rom name should be the name of the rom compatible with the theme (Cupcake,Donut,Eclair,Froyo).
Benefits:
-Instead of have multiple MetaMorph versions for different types of phones, we will have only 3 different Resolution sizes coving multiple phones and roms.
-By using the name of the specific rom, we know that the theme fits perfectly with no problems. Also any files not present will be skipped by MetaMorph, further perfecting any chance of errors.
-MetaMorph can now be available for multiple phones. They can now also enjoy the beautiful themes created by our talented themers.
Quick rules and standard procedures for your MetaMorph theme
1)Your MetaMorph theme.xml should be as specific as possible.
Sample:
Code:
<?xml version="1.0"?>
<!-- MetaMorph theme template XML -->
<!-- Enter the name of this theme -->
<themename>Vanilla Upgrade</themename>
<!-- Enter the version of this theme -->
<themeversion>1.0</themeversion>
<!-- Enter the name of the png with out the (.png) extention -->
<screenshot></screenshot>
<!-- Enter the person(s) involved in this theme -->
<author>RichieDaze</author>
<!-- Enter the web location of this theme -->
<authorweblink></authorweblink>
<!-- Enter the resolution compatible for this theme (ldpi,mdpi,hdpi) -->
<phone>MDPI</phone>
<!-- Enter the name of the Android OS name this theme is compatible with -->
<rom>FROYO</rom>
<!-- Enter a description of this theme -->
<themedescription></themedescription>
2)Your screen shot can be named anything, but Screenshot should be default.
3)The <phone> entry should display the phones resolution(ldpi,mdpi,hdpi).
4)The <rom> entry should display the name of the compatible rom for your theme(cupcake,donut,eclair,froyo).
5)You should not have any png's or folders you did not edit in your theme folder.
6)Add all your png and xml edits in there proper folder(s).
7)Remember which folders make your phone reboot and place them last on the theme.xml's list.
8)When posting your MetaMorph, you should enter something like: [MetaMorph-mdpi] Name of your theme for 2.2, so that other users know if they can apply it to there phones. Plus searching from a search engine can have better results when looking for a compatible theme for your phone.
Following these rules will make MetaMorph much more enjoyable for everyone...
MetaMorph Commands
These following commands will be clarified one by one
The cpy command Copies from a specified folder in this theme's folder to the path folder.
Code:
<item>etc.cpy</item>
<path>/system/etc/</path>
<description></description>
-The above code tells MetaMorth to copy the contents of etc from your theme to the path: /system/etc
The script command Runs scripts as SU from a specified folder in this theme's folder
Code:
<item>Scripts.script</item>
<path>reboot.sh</path>
<description></description>
-The above code tells MetaMorph to Run a script as SU from the Scripts folder in the theme's folder.
The Regular command replaces any file into a apk/jar.
Code:
<item>framework-res.apk</item>
<path>/system/framework</path>
description></description>
or
Code:
<item>services.jar</item>
<path>/system/framework</path>
description></description>
-The above code tells MetaMorth to copy the contents of the framework/services folder from your theme to the path: /system/framework
Basic file structure for a sub-theme
Lets say your doing a sub-theme for framework-res.apk.
Your folder woulld be called framework-res (without the extension)
The same goes for the folders inside framework-res, in it's proper order.
drawable-mdpi would be in a folder called res.
So here is the break down: framework-res/res/drawable-mdpi/
-Reserved for different phone/rom thread links...
-MetaMorph Theme template XML
-Locations of xml's or jar to change the text colors
So how is the MetaMorph coming for Community Hero Mix?
Any progress?
Binary100100 said:
So how is the MetaMorph coming for Community Hero Mix?
Any progress?
Click to expand...
Click to collapse
This progress is about 90% done. I have only the task of the Launcher. Since different roms use different launchers the task becomes a bit harder.
i can decompilie systemui.apk with success but i cannot recompile it after that.
With changes or without changes it gives error. And dont recompile.
I tried many applications on windows. And many smali baksmali and apktool version.
Can anyone give me a tip?
systemui.apk file and framework-res.apk file in this link.
i want only a tip. not mod
https://www.dropbox.com/s/uyj7v9l15892717/apks.rar
agritux said:
i can decompilie systemui.apk with success but i cannot recompile it after that.
With changes or without changes it gives error. And dont recompile.
I tried many applications on windows. And many smali baksmali and apktool version.
Can anyone give me a tip?
systemui.apk file and framework-res.apk file in this link.
i want only a tip. not mod
https://www.dropbox.com/s/uyj7v9l15892717/apks.rar
Click to expand...
Click to collapse
Here's $1 as a tip. kidding!
To make things clear, there's an error log on such tools. You'll see where it went wrong. Read it.
To add, usually at no change on apk fails because of files like aapt. Or a non-stock apk. Like it came from people who didn't compile/recompile it well and just drag and drop some things like PNG and XML.
i will donate you a beer
it is stock v20d turkish roms systemui.apk
i searched it on xda too much
they said try new version of apktool, install framework-res.apk to toll etc.
i tried them.
i can recompile and decompile other apks
but systemui fails.
with older apktool log is:
07.01.2013
15:41:53,87
Re-compiling...
I: Smaling...
Exception in thread "main" java.lang.NullPointerException
at org.jf.util.PathUtil.getRelativeFile(PathUtil.java :44)
at org.jf.smali.smaliFlexLexer.getSourceName(smaliFle xLexer.java:2878)
at org.antlr.runtime.CommonTokenStream.getSourceName( CommonTokenStream.java:345)
at org.antlr.runtime.tree.CommonTreeNodeStream.getSou rceName(CommonTreeNodeStream.java:106)
at org.antlr.runtime.tree.TreeParser.getSourceName(Tr eeParser.java:78)
at org.jf.smali.smaliTreeWalker.getErrorHeader(smaliT reeWalker.java:357)
at org.antlr.runtime.BaseRecognizer.displayRecognitio nError(BaseRecognizer.java:192)
at org.antlr.runtime.BaseRecognizer.reportError(BaseR ecognizer.java:186)
at org.jf.smali.smaliTreeWalker.smali_file(smaliTreeW alker.java:436)
at brut.androlib.mod.SmaliMod.assembleSmaliFile(Smali Mod.java:85)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexF ileBuilder.java:43)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexF ileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuil der.java:64)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder. java:48)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder. java:35)
at brut.androlib.Androlib.buildSourcesSmali(Androlib. java:243)
at brut.androlib.Androlib.buildSources(Androlib.java: 200)
at brut.androlib.Androlib.build(Androlib.java:191)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
Click to expand...
Click to collapse
with newer version of apktool, log is:
07.01.2013
16:55:55,37
Re-compiling...
I: Smaling...
[0,0] No enum constant org.jf.dexlib.AnnotationVisibility.RUNTİME
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: [email protected]
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexF ileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexF ileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuil der.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder. java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder. java:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib. java:254)
at brut.androlib.Androlib.buildSources(Androlib.java: 211)
at brut.androlib.Androlib.build(Androlib.java:202)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:214)
at brut.apktool.Main.main(Main.java:74)
Click to expand...
Click to collapse
agritux said:
i will donate you a beer
it is stock v20d turkish roms systemui.apk
i searched it on xda too much
they said try new version of apktool, install framework-res.apk to toll etc.
i tried them.
i can recompile and decompile other apks
but systemui fails.
with older apktool log is:
with newer version of apktool, log is:
Click to expand...
Click to collapse
Saw your posts, I've edited that "Music control" before on GB. It's NOT SystemUI but framework-res.apk.
Also try APK-MultiTool http://apkmultitool.com/?q=node/5
This requires Java 1.6 just to remind you.
yep, it was in framework-res.apk but latest gb versions it is in systemui.apk
i can remove it with succes on older gb versions suchas 20o etc.
but in turkish 20d i cannot.
i tried multitool
i tried xdaautoapk tool
i tried one click tool
i tried manually with cmd
but i cannot
i think i am making a wrong thing
but where
agritux said:
yep, it was in framework-res.apk but latest gb versions it is in systemui.apk
i can remove it with succes on older gb versions suchas 20o etc.
but in turkish 20d i cannot.
i tried multitool
i tried xdaautoapk tool
i tried one click tool
i tried manually with cmd
but i cannot
i think i am making a wrong thing
but where
Click to expand...
Click to collapse
then perhaps that turkish 20d has a strangle of codes if previous V20's had no problems.
Try decompiling with dependencies. Forgot LG's main apk on gingerbread, but on ICS it's lge-res.apk.
i want to learn
i must make it.
i will keep working on it.
i am sure that i am making mistake somewhere
because, if i decompile it and recompile it without changes, it fails too.
multitool says
{
"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"
}
this time i changed method of complie
i selected resources only
and i can recompile it with success
but while recompiling, it asks one question
if i say "y" statusbar works fine but music control still there
if i say "n" there is no statusbar
hmm
question is:
finally i did it!
problem isnt from me
i changed values with original topic = fail
i deleted values = fail
i changed height to zero = succes
thanks all
you can try elesbb's GUI APK Tool v1.2.4.5 installer
Link : http://forum.xda-developers.com/showthread.php?p=33815550
if you wont edit smali things you can delete classes.dex file inside apk before decompile.After compile re-put classes.dex file to inside apk.
Latest HTC Drivers
Latest HTC Drivers extracted from HTC Sync v3.3.21 and HTC Sync Manager v2.0.61.0
Latest Driver Version (HTC Sync): 4.0.1.001
Latest Driver Version (HTC Sync Manager): 4.2.0.001
BMP Drivers are the same for both sets of drivers.
For those who don't want to have to download 120 some MB of bloatware called HTC Sync
Instructions:
Determine if your system is 32-bit or 64-bit
Download the BMP Driver for your OS type (x86 version if on 32-bit, x64 if on 64-bit)
Download the newest HTCDrivers file (choose either the "EXE" or "MSI" driver file, but not both)
Disable any antivirus program(s) present
Run both files downloaded above (the BMP.msi and the HTCDriver file)
Re-enable your antivirus program(s)
Click to expand...
Click to collapse
Links
ALL DRIVER FILES: www.mediafire.com/?o10b16j5b3r3o
OEM SETUP FILES: www.mediafire.com/?1rwmleoe17akd
Updated on 6.6.13
HTCDriver_4.2.0.001.exe
SyncManager_2.0.61.0.exe
Updated on 4.23.13
HTCDriver_4.1.0.001.msi
HTCDriver_4.1.0.001.exe
HTCPluginChecker.exe
HTCSync_3.3.21.exe
SyncManager_2.0.53.0.exe
SyncManager_2.0.53.0_STRIPPED.exe
Updated on 4.02.13
RemoveOldHTCDriver3.exe (packaged in HTC Sync Manager v2.0.41.0)
Removed duplicate x86 BMP Driver
Updated instructions with link to determine if on 32-bit or 64-bit
Updated on 3.31.13
HTCDriver_4.0.1.002.exe
HTCDriver_4.0.1.002.msi
IPTInstaller_4.0.8.msi
Updated on 3.6.13
HTC_BMP_USB_Driver_x86_1.0.5375.msi
HTC_BMP_USB_Driver_x64_1.0.5375.msi
HTCDriver_4.0.1.001.exe
HTCDriver_4.0.1.001.msi
Updated on 11.28.12
HTC BMP USB Driver_x86.msi DELETED: Turned out to be the same 1.0.5375 as above. Download from link above.
HTCDriver_3.0.0.023.msi
Click to expand...
Click to collapse
------------
MD5 CHECKSUMS
Sometimes downloading from the internet can yield a corrupt download. To prevent this, make sure you always check the md5 checksum (also known as "md5sum") of the file. This method verifies the digital integrity of the file by verifying its digital signature with the MD5 algorithm.
After you download each file, make sure to check that the md5sum matches what is given.
Code:
[LIST]
[*]25912deacc5d55528e223ec7b99705cc [B]*HTCDriver_3.0.0.023.msi[/B]
[*]220c41f3b03f42190899db8cb081b5c6 [B]*HTCDriver_4.0.1.001.exe[/B]
[*]a578d837343fe2542ecf405a630d46a0 [B]*HTCDriver_4.0.1.001.msi[/B]
[*]8223ec1c2aa71503b431a0daabb23154 [B]*HTCDriver_4.0.1.002.exe[/B]
[*]4dfbd4ae8662124d06e0a04db2065069 [B]*HTCDriver_4.0.1.002.msi[/B]
[*]bf24b0adc2f792ee4180ca545e4b60a0 [B]*HTC_BMP_USB_Driver_x32_1.0.5375.msi[/B]
[*]7b461095d56f9a6814d8f3e14cac0859 [B]*HTC_BMP_USB_Driver_x64_1.0.5375.msi[/B]
[*]96e6d181192a995214493a6828e4287d [B]*IPTInstaller_4.0.8.msi[/B]
[*]92bd34ec7787e631231c68aba392b6e7 [B]*RemoveOldHTCDriver3.exe[/B]
[*]f281d8994ab9f1315828ac2226a9bb75 [B]*HTCDriver_4.1.0.001.exe[/B]
[*]ed6d5fc5cc7dcca653f7a0beab01035d [B]*HTCDriver_4.1.0.001.msi[/B]
[*]96589c02be46fd7b85160d5b15f4c88a [B]*HTCPluginChecker.exe[/B]
[*]36ba2c8627ba18c6540bfa25be3b67fc [B]*HTCSync_3.3.21.exe[/B]
[*]a356e5c828c7cb3869dc67058e5bbc2c [B]*SyncManager_2.0.53.0.exe[/B]
[*]da1e40e478725d3e829243e84043d21f [B]*SyncManager_2.0.53.0_STRIPPED.exe[/B]
[/LIST]
Click to expand...
Click to collapse
How to check the md5sum of a file:
Windows:
For windows you need to download the md5sum binary. I recommend the one from my dev-host.
After that, copy the file you're trying to verify to the directory where where you downloaded the "md5sum.exe"
Once that is finished, do SHIFT+RIGHT CLICK (inside the folder window) and choose "Open command window here"
{
"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"
}
Then type the following ("fileNameHere" must include the extension):
Code:
md5sum fileNameHere
That will output a hash, which you can compare to the ones above.
Linux: No need to download anything, md5sum binaries are included in all distros, as far as I know.
Open a terminal and type the following ("fileNameHere" must include the extension):
Code:
$ cd path/to/download/folder
$ md5sum fileNameHere
Two important notes:
This method can be used with any files you download, as long as the download site (or the dev themself) provides the correct md5sum.
If any of the digits do not match exactly, you need to download the file again.
This is great, just what Ive been looking for,,,,,Its time wipe my computer of all android and giving everything a fresh install for the ONE.. and the less bloatware the better
chinbags said:
This is great, just what Ive been looking for,,,,,Its time wipe my computer of all android and giving everything a fresh install for the ONE.. and the less bloatware the better
Click to expand...
Click to collapse
Please DO NOT quote the OP (or really long posts, logs, etc) . Just adds unnecessary clutter
But no problem :thumbup:
CNexus said:
Please DO NOT quote the OP (or really long posts, logs, etc) . Just adds unnecessary clutter
But no problem :thumbup:
Click to expand...
Click to collapse
My Bad - Got it:silly:
chinbags said:
My Bad - Got it:silly:
Click to expand...
Click to collapse
Lol, no problem. Can you edit your post above and remove it? Thanks.
Also, dont forget to hit thanks if the OP helped you
Moved to general as there is no development going on here...
And asking for thanks?....really?
Sent from my EVO using Tapatalk 2
Updated Drivers to version 4.1.0.001.
Two important note, from here on out I will also be including fast links for the Sync setup files (HTC Sync and Sync Manager), as well as a SyncManager_XXXXX_STRIPPED.exe which will literally be ONLY the Sync Manager program, all drivers stripped out from it (as in, it won't install any drivers, hence a much smaller file size).
You will now be able to find the FULL setup files for HTC Sync and Sync Manager inside the Original HTC Sync Folder of the linked mediafire folder in the OP. This will provide a much faster download if you do want to install either one, rather than a capped speed download from the HTC site itself.
Well here's the changelog
Updated on 4.23.13
HTCDriver_4.1.0.001.msi
HTCDriver_4.1.0.001.exe
HTCPluginChecker.exe
HTCSync_3.3.21.exe
SyncManager_2.0.53.0.exe
SyncManager_2.0.53.0_STRIPPED.exe
Updated on 6.6.13
HTCDriver_4.2.0.001.exe
SyncManager_2.0.61.0.exe
MTP DRIVERS NOT INSTALLING..!!:crying:
I AM NOT ABLE TO TRANSFER CONTENTS FROM PC TO PHONE??:crying::crying:
{
"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"
}
Hello everyone, I'm back once again from my cave and providing this active community with something beneficial. Lately I wanted to get back into Theming, this time for CM12 but the guides out there aren't what I'm looking for. They have potential and is a great way to start but for me... It just wasn't working out. I'm going to keep this tutorial simple and on point whilst proving useful information as well, however this time I will NOT be explaining how to theme. That is something you're going to have to learn yourself. But you may ask me or other users on how to theme certain content and if you need help. Don't hesitate to ask us, we're here to help.
Click to expand...
Click to collapse
What this guide will help you with -
- Creating and coding a simple Theme base from scratch. - Creating resource folders and needed .xml's for the theme to register correctly. - How to harness the power of Kryptonite. - Provided code and resources.
Click to expand...
Click to collapse
- A good image editing software, I use Photoshop(Paid) and Paint.NET(Free). Gimp is also another good software. - Android Studio or Eclipse. (Eclipse preferred) - And your special Iron Man underwear.
Click to expand...
Click to collapse
Section One
0. Create an Icon for your theme (512px x 512px) then convert it to different DPI's here. 1. Open your preferred IDE and create a new Android Project. 2. Name your App (Theme Name) and give it an appropriate packagename (com.yourname.appname). 3. Skip the icon and use API 21 as target and compiler. 4. Finish creating your project.
Click to expand...
Click to collapse
Section Two
1. Navigate to your workspace folder. 2. Open your project folder and delete the following. - Res folder - The folder inside src folder (Should be labeled as package name) - Your Manifest file.
Click to expand...
Click to collapse
Section Three
1. Download my theme_package. 2. Extract the folder and move everything into your workspace directory. 3. Overwrite assets folder when prompted. 4. Go back to your IDE and refresh your project folder to apply changes.
Click to expand...
Click to collapse
Section Four
1. Open your AndroidManifest.xml file and delete everything. 2. Go here and copy the code and replace it with yours. 3. Apply all the changes stated in the code. (Package Name) 4. Save everything.
Click to expand...
Click to collapse
Section Five
To theme create a folder in the /assets/overlays folder. Give the folder the packagename of the app you're theming (com.android.whatever). remember the structure of theming is exactly the same contained in the app you're theming. For example, if you theme ic_launcher.png (icon) from /res/drawable-xxhdpi then create a folder inside of com.android.whatever called res then create a folder inside res called drawable-xxhdpi. Then drop in your themed image into the folder and you're done. The same goes for any asset file or .xml code. Note you cannot modify the code within the application as there is no way to do so, so please don't ask.
Click to expand...
Click to collapse
If you think this guide helped. Then hit the thanks button!
Click to expand...
Click to collapse
If you would like to load a template instead manually making one, you can download a pre-made template by me.
Download from http://thearcproject.tk/ make sure to click on the Projects tab and select the third project.
Thanks
hi i cant find the res folder could u pls help me out thanks.
What to do to change only the green-esque colors? (sliders, some texts & icons)
Google for 'Theme DIY'
How to test the theme
TheArc said:
Click to expand...
Click to collapse
After completion of process how can I test the first theme that was created by me by following the instructions of yours. Please help
syed sajid said:
After completion of process how can I test the first theme that was created by me by following the instructions of yours. Please help
Click to expand...
Click to collapse
Export the .apk and install it on your device or run the "Build" or "Run" function in your IDE.
What if I'm using Android Studio 1.2. The package you provide in section three is pretty different.
Using Android Studio, I navigate to assets > overlays and right click and select New > Directory and create com.android.settings. I select the folder I just created and right click and select New > Directory and create res. Android Studio creates res in two places, assets and com.android.settings. What am I doing wrong?
I want to edit the status bar icons spacing. Both system and notification icons. Is it possible?
Hello,
I did what you said, Android Studio exported the APK successfully... but after installed on my phone, CM just doesn't recognize it :/
Here is my APK: drive.google.com/file/d/0B7ix-E7JPJ2iX0E4UDBhRFhuY3c/view?usp=sharing
Could you please have a look at the file and tell me what I done wrong?
Thank you!
Nice guide sir, but anyone got their theme working on cm12.1/13 here with this base ?