Hi all!
I decide to write tutorial how to edit CosmicFlow.
Now have no time to make it updated.
Also you can share with other users your modded apk and post screenshots, so everyone can use your mod....
__________________________________________________________________________
1. JDK
2. NotePad++ - OPTIONAL BUT RECOMMANDED
3. Paint.NET - OPTIONAL
__________________________________________________________________________
So first download some attached files.
1. apktool+signer.zip
2. CosmicFlow-Update5.apk
3. Frameworks.zip
1. apktool+signer.zip contains apktool.jar, aapt.exe (latest version from SDK), Auto-Sign folder with files needed to sign your new apk
2. CosmicFlow-Update5.apk - latest update of my work.
3. Frameworks.zip contains 1.apk (Freamework-res.apk) and 2.apk (SemcGenericUxpRes.apk)
__________________________________________________________________________
Windows:
1. Install JDK
2. Go to downloaded 'apktool+signer.zip', open it and unpack to C:/ drive (short path it better to use
)
3. Go to downloaded 'Frameworks.zip', open it and unpack to C:/apktool (or where you place apktool folder)
4. If you first time decompile using apktool you need to install frameworks
a) unapck Frameworks.zip to apktool folder
b) in CMD write: java -jar apktool.jar if 1.apk
c) next in CMD write: java -jar apktool.jar if 2.apk
5. Now you can delete 1.apk and 2.apk from apktool folder only.
6. Place CosmicFlow-Update5.apk in apktool folder
Linux:
I don't use linux for now so can't tell how to and what to do...
__________________________________________________________________________
1. Open CMD (Windows logo+ R -> in window type: CMD and click 'Enter')
2. Write: cd "c:/apktool" (if path is different then type your path)
3. Now decompile APK -> in cmd write: java -jar apktool.jar d CosmicFlow-Update5.apk
4. When new folder named CosmicFlow-Update5 will appear you can start editing app (see HOW TO MOD SOME COLOR SCHEME)
5. Compile CosmicFlow-Update5 folder -> java -jar apktool.jar b CosmicFlow-Update5
6. Sign:
a) go to apktool folder and then to CosmicFlow-Update5 folder in explorer (not CMD)
b) go to dist folder and copy CosmicFlow-Update5.apk (this is your modded apk) in explorer (not CMD)
c) go back to apktool folder and then to Auto-Sign folder in explorer (not CMD)
d) paste your modded apk (ONLY ONE APK MUST BE IN THIS FOLDER!!) and run sign.bat
e) one more apk will appear (your_app_signed.apk) - this apk is ready to install on your phone - SIGNED
__________________________________________________________________________
First of all you need to understand that any change of resources or smali files may result in error while compiling.
If resource is wrong (e.g. bad file name) there will be displayed error with file name containing error and maybe some more usefull info for debugging.
When smali file is corrupted there will NOT be displayed any concrete error message (even filename and line of error) so please be carefull and DON'T CLOSE EDITED FILE UNTIL APK WILL BE SUCCESSFUL COMPILED!!
1. Get your color in hex representation. On the web there are some usefull sites where you can calculate or choose color.
2. Go to: C:\apktool\CosmicFlow-Update5\smali\com\sonyericsson\cosmicflow and open ColorInfo.smali with NotePad++
3. Go to line 100 - begin of color description.
4. Each color is beginning from 'new-instance...' and ends on line with 'sput-object v6..'.
5. E.g. You want to make --Little White-- to be red (#ff0000-> ff|00|00) so replace values of const/16 (0x must stay!!)
a) to change name simply change value of 'const-string'
b) some of colors has more then 3 const/16 values, first 3 values are color description, 2 next values are color property (don't know, I don't edit it)
REMEMBER! DO NOT CHANGE ANY OTHER VALUES, CHARS!! !const-string v1 - v1 is name of variable so if you change it the menu of live wallpaper will give FC or this will be uncompilable!
6. Save your file and then try to compile (HOW TO USE: 5)
7. If compile goes ok and no errors appears you can go to next step, if not check edited file for const/16 valeus are not missing.
8. Go to CosmicFlow-Update5 folder root and then into res folder.
9. Go to drawable folder and find color you edit ( names of images can be not understandable so open on the phone cosmicflow settings (in live wallpaper) and find colors you edit, then compare images in the phone and drawable folder - open image that you change color in smali file in Paint.NET)
10. Each folder with name contains 'drawable' has images to display in menu so it need to be changed.
11. Try to compile after edit, if everything goes ok you can sign your apk (HOW TO USE: 6) and then install in phone
__________________________________________________________________________
1. Go to res folder of CosmicFlow-Update5
2. Then open in image editor file named: bg_grey.png
3. Make it brighter or set more contrast
4. Save image.
5. Compile.
6. Sign.
__________________________________________________________________________
I decide to write tutorial how to edit CosmicFlow.
Now have no time to make it updated.
Also you can share with other users your modded apk and post screenshots, so everyone can use your mod....
__________________________________________________________________________
REQUIRE
1. JDK
2. NotePad++ - OPTIONAL BUT RECOMMANDED
3. Paint.NET - OPTIONAL
__________________________________________________________________________
FILES
So first download some attached files.
1. apktool+signer.zip
2. CosmicFlow-Update5.apk
3. Frameworks.zip
1. apktool+signer.zip contains apktool.jar, aapt.exe (latest version from SDK), Auto-Sign folder with files needed to sign your new apk
2. CosmicFlow-Update5.apk - latest update of my work.
3. Frameworks.zip contains 1.apk (Freamework-res.apk) and 2.apk (SemcGenericUxpRes.apk)
__________________________________________________________________________
INSTALLATION
Windows:
1. Install JDK
2. Go to downloaded 'apktool+signer.zip', open it and unpack to C:/ drive (short path it better to use
3. Go to downloaded 'Frameworks.zip', open it and unpack to C:/apktool (or where you place apktool folder)
4. If you first time decompile using apktool you need to install frameworks
a) unapck Frameworks.zip to apktool folder
b) in CMD write: java -jar apktool.jar if 1.apk
c) next in CMD write: java -jar apktool.jar if 2.apk
5. Now you can delete 1.apk and 2.apk from apktool folder only.
6. Place CosmicFlow-Update5.apk in apktool folder
Linux:
I don't use linux for now so can't tell how to and what to do...
__________________________________________________________________________
HOW TO USE
1. Open CMD (Windows logo+ R -> in window type: CMD and click 'Enter')
2. Write: cd "c:/apktool" (if path is different then type your path)
3. Now decompile APK -> in cmd write: java -jar apktool.jar d CosmicFlow-Update5.apk
4. When new folder named CosmicFlow-Update5 will appear you can start editing app (see HOW TO MOD SOME COLOR SCHEME)
5. Compile CosmicFlow-Update5 folder -> java -jar apktool.jar b CosmicFlow-Update5
6. Sign:
a) go to apktool folder and then to CosmicFlow-Update5 folder in explorer (not CMD)
b) go to dist folder and copy CosmicFlow-Update5.apk (this is your modded apk) in explorer (not CMD)
c) go back to apktool folder and then to Auto-Sign folder in explorer (not CMD)
d) paste your modded apk (ONLY ONE APK MUST BE IN THIS FOLDER!!) and run sign.bat
e) one more apk will appear (your_app_signed.apk) - this apk is ready to install on your phone - SIGNED
__________________________________________________________________________
HOW TO MOD SOME COLOR SCHEME
First of all you need to understand that any change of resources or smali files may result in error while compiling.
If resource is wrong (e.g. bad file name) there will be displayed error with file name containing error and maybe some more usefull info for debugging.
When smali file is corrupted there will NOT be displayed any concrete error message (even filename and line of error) so please be carefull and DON'T CLOSE EDITED FILE UNTIL APK WILL BE SUCCESSFUL COMPILED!!
1. Get your color in hex representation. On the web there are some usefull sites where you can calculate or choose color.
2. Go to: C:\apktool\CosmicFlow-Update5\smali\com\sonyericsson\cosmicflow and open ColorInfo.smali with NotePad++
3. Go to line 100 - begin of color description.
4. Each color is beginning from 'new-instance...' and ends on line with 'sput-object v6..'.
5. E.g. You want to make --Little White-- to be red (#ff0000-> ff|00|00) so replace values of const/16 (0x must stay!!)
a) to change name simply change value of 'const-string'
b) some of colors has more then 3 const/16 values, first 3 values are color description, 2 next values are color property (don't know, I don't edit it)
REMEMBER! DO NOT CHANGE ANY OTHER VALUES, CHARS!! !const-string v1 - v1 is name of variable so if you change it the menu of live wallpaper will give FC or this will be uncompilable!
6. Save your file and then try to compile (HOW TO USE: 5)
7. If compile goes ok and no errors appears you can go to next step, if not check edited file for const/16 valeus are not missing.
8. Go to CosmicFlow-Update5 folder root and then into res folder.
9. Go to drawable folder and find color you edit ( names of images can be not understandable so open on the phone cosmicflow settings (in live wallpaper) and find colors you edit, then compare images in the phone and drawable folder - open image that you change color in smali file in Paint.NET)
10. Each folder with name contains 'drawable' has images to display in menu so it need to be changed.
11. Try to compile after edit, if everything goes ok you can sign your apk (HOW TO USE: 6) and then install in phone
__________________________________________________________________________
HOW TO MAKE LIVE WALLPAPER DIMMER OR BRIGHTER
1. Go to res folder of CosmicFlow-Update5
2. Then open in image editor file named: bg_grey.png
3. Make it brighter or set more contrast
4. Save image.
5. Compile.
6. Sign.
__________________________________________________________________________
FOR QUESTION PLEASE WRITE POST AND THEN INFORM ME BY PM!!
PM MUST CONTAINS POST NUMBER
PM MUST CONTAINS POST NUMBER
Attachments
-
3.1 MB Views: 145
-
2.1 MB Views: 290
-
1.8 MB Views: 112
Last edited: