[Tutorial/Mod] Noob Proof how to Edit APK's / Replace “ god mode“with“Ownership Mode"
Tutorial for replacing the name “ god mode “ with the actual function name “ Ownership mode “
And Noob Proof Editing APK’s implemented on Tweaks
Other Posts Links
Solve WiFi Errors , Radio Problem, htc Dev Unlock Method ( how it really Works) Here
Credit
Credit goes to All Developers who enhanced the Original tweak
also to romanbb for creating the original tweaks.
N.B.
If you are not interested in knowing how to edit an APK or Create a Flashable Zip , then Kindly stop here and move on the the next thread of importance to you , Cause this is a long thread
content
Tutorial for Editing APK’s implemented on Tweaks APK included in Rom v7.1 by Developerrobocik
Mod for Rom v7.1 by Developerrobocik , see Ownership Mode a.jpg , Ownership Mode b.jpg
This tutorial can be used with any custom Rom to Edit an APK ( Settings , tweaks , MikTweaks , RCMix Tweaks , … etc ) in about 5 ~ 10 min in the first time , and no more 3~5 min afterwards
i used it for GB APK's , didn't test it with ICS APK's yet
Mod
This Mod is for Rom v7.1 by Developerrobocik ( it functions normal as is , it only changed the displayed string name , Note that some functions need to download components in order to work )
This Mod will restores the string “god mode “ into its actual full development name “ Ownership mode “ or “Get Ownership mode “ , which is more relevant development wise “
Download Links
Mod – Replacing name to Ownershiop Mode or Ownershiop Mode ( Flashable zip ) , For Manual replacement extract the files from within the Mod
Tweaks_for_robocik_Rom_v7.1_Ownership-signed and Permissions.zip
http://www.mediafire.com/?yca15ah0nne5iy9
Or Download attached Zip
All photo attachments and permissions photos
All attached and Permissions Photos.zip
http://www.mediafire.com/?5iihz5eki8a6xot
Or Download attached Zip
NB : Please feel free to PM me regarding any Questions and help in modifying similar APK for other Custom Roms or Rom Version for your own use
if you created your own similar Mod for a Different Custom Rom or Rom Version , PM me to add it in Post # 2
DISCLAIMER
I am not responsible if following this Method results in bricking your phone
Whatever you do is at your Own Risk
Tutorial replacing the name “ god mode “ with the actual function name “ Ownership mode “ or “ Get Ownership mode “
And Editing APK’s implemented on Tweaks
General
I tried to make this tutorial Noob Proof ( for those with little computer skills ) as much as possible , so it is a bit long
This tutorial is implemented on Tweaks , and can be applied for any custom Rom you use that includes ( Tweaks , RCMix Tweaks or any similar tweak ) to restore the name “god mode “ into its actual full development name “ Ownership mode “ or “Get Ownership mode “ , see Ownership Mode a.jpg , Ownership Mode b.jpg
This tutorial can also be used for editing the APK of your choice
Editing an APK means ( decompile “decompress “ the apk , edit xml and smali files , recompile the apk ) , and then sign the APK or zip file .
Please note that editing an apk without decompiling it first , will cause FC ( force Close )
Required tools and Links ( All Free )
Press on any text displayed in “ orange color “ to open the associated link ( web page , or Download link ) , always download latest software versions from those websites
Notepad ++ { to view and edit xml files and smali } , links for Notepad ++ web Page and Notepad ++ installer v5.9.8 ( 5 MB )
apktool { to decompile “ Decompress “ and recompile“ recompress “ APK files } , apktool web page , Download links forWindows users ( 4 MB) :
apktool v1.4.1 is recommended if you encounter error on newer versions of apktool ( in compiling or decompiling ) , provided that you are sure you have followed all steps correctly when using the newer version of apktool
Download apktool-* file ( for All operating systems )
and apktool-install-windows-* file ( Linux and mac users should choose appropriate file )
Unpack both zip files to the Same directory
Java Runtime Environment should be installed JRE or manually choose JRE for any Operating systems or offline installation
Zipsigner 2 ( NOT Zipsigner ) { to sign APK’s and Zip files } , Download Zipsigner 2from Android market
Windows Grep ( Optional ) { to seach all files inside an entire directory for a word } , ( in options you can change the editor to be Notepad++ ) , DownloadWindows Grep( less than one MB )
tips for using cmd window
you don’t need to write full path for the folder , just drag the folder from within “my computer” or Desktop to the cmd window and the path will be written automatically
also for names just copy a name and right click the toolbar of cmd window then choose edit then Paste , see att 1 - cmd Copy&Paste - apktools folder.jpg
You can use up and down arrows to toggle the previously used commands instead of writing them again
Press enter after typing any of the following commands
Steps
1. decompiling “ Decompress “ the APK
here you can find a more detailed information , Procedure , and solve errors
Open your Rom zip in a winrar window and drag the following files to your desktop ( or extract the zip file and find the files ) :
Framework-res.apk located in System \ framework
Tweaks ( or xxxtweaks according to how each rom name it ) located in System \ app
For certain APK’s ( like settings apk ) you will need to extract also com.htc.resources.apk and/or SystemUI.apk ( But this is not needed for tweaks apk )
Extract both apktool-* file and apktool-install-windows-* to the same folder and rename it to apktools and put it in the root of Drive C: ( it includes 3 files aapt.exe , apktool.bat , apktool.jar
Copy both Framework-res.apk and Tweaks.apk ( i.e Tweaks, RCMixTweaks , ???tweaks … etc ) inside apktools folder , see att 1 - cmd Copy&Paste - apktools folder.jpg
Go to windows start menu \ Accessories \ cmd , Right click it and choose run as administrator
In cmd window Navigate to apktools folder by typing the following : cd c:\apktools ( or type cd followed by a space then drag the folder apktools to cmd window ) , you should see this c:\apktools>
Now to decompile (for example tweaks.apk ) , see att 2 - cmd decompile & recompile.jpg
type the following :
Type apktool if framework-res.apk
Type apktool d tweaks.apk ( don’t forget to add “ .apk “ )
Use the exact same original APK name ( case sensitive upper or lower case ) , to avoid typing mistake use cmd copy and paste . Otherwise after editing and signing the apk and try to over-write the original apk , it will not replace the original apk and both APK’s will be there
If you want to over-right the created folder , use apktool d -f tweaks.apk , or delete the created folder and use apktool d tweaks.apk to create it again
A new folder is created with the same name of the Tweak ( i.e tweaks , ???tweaks , …etc ) inside c:\apktools , see att 1 - cmd Copy&Paste - apktools folder.jpg
The apk is now decompiled
( this is not needed for tweaks apk ) , For certain APK’s ( like settings apk ) that requires for example com.htc.resources.apk you will need to add it to apktools folder and execute apktool if com.htc.resources.apk
2. Edit xml and smali Files
Install Notepad++ and put a shortcut at the desktop
Four files to be modified :
open the 4 following files together with Notepad++ by dragging each file to Notepad++ shortcut at the desktop
system_prefs.xml , located in C:\apktools\Tweaks\res\xml\
SystemActivity.smali , located in C:\apktools\Tweaks\smali\com\{ name differ according to developer } rcteam\tweaks\system
SystemActivity$15.smali , located in C:\apktools\Tweaks\smali\com\{ name differ according to developer } rcteam\tweaks\system
godmode.bin located in your Rom zip inside System \bin
Use any PC explorer and navigate into c:\apktools\tweaks then do a search for word including “ god “ . open the files found in the search ( just drag them into Notepad++ shortcut on the desktop)
In Notepad++ press Ctl +F to open search window , type “ god ” and press “ find all in all open Documents “ , the results will be shown at the bottom of the notepad++ window , Double click any line of them and it will move you to its xml file
Replace the string “ god “ with the string “ ownership “ or “ Get Ownership “ as follows :
Double click any line of them and it will move you to its xml file , only replace the highlighted strings
system_prefs.xml : for Android : title ( replace with “ ownership “ or “ Get Ownership “ ) , for Android : key (replace with “ ownership “ to read “ownershipmod_command “ ) , see att 3 - system_prefs.jpg
SystemActivity.smali : replace with “ ownership “ to read “ownershipmod_command “ , see att 4 - systemActivity.smali.jpg
SystemActivity$15.smali : for line const-string v2 ( replace with “ ownership “ or “ Get Ownership “ ) , for line const-string v1 ( replace with “ ownership “ to read “ownershipmod_command “ ) , see att 5a - systemActivity$15.smali.jpg , att 5b - systemActivity$15.smali.jpg
godmode.bin : rename the file itself to ownershipmode.bin ( this file is edited and placed separately )
if needed for other APK’s , you can use Windows Grep to seach all files inside an entire directory for a certain word ( in options you can change the editor to be Notepad++ )
3. Re-compiling “ compress “ the APK
Run cmd as administrator , in cmd window Navigate to apktools folder by typing the following : cd c:\apktools ( or type cd followed by a space then drag the folder apktools to cmd window ) , you should see this c:\apktools> , see att 2 - cmd decompile & recompile.jpg
Type apktool b tweaks ( don’t add “ .apk “ )
Use the exact same original APK name ( case sensitive upper or lower case ) , to avoid typing mistake use cmd copy and paste . Otherwise after editing and signing the apk and try to over-write the original apk , it will not replace the original apk and both APK’s will be there
two new folder are created inside apktools \ tweaks folder :
A folder named “ Build “ , it includes the decompiled files with the saved changes
A folder named “ dist “ , it includes the new modified apk ( not signed yet )
If you want to over-right the created folder , use apktool b -f tweaks , or delete the two created folders and use apktool b tweaks to create them again
4. Signing the APK
Install Zipsigner 2 on your phone , note that the compiled APK is not signed yet
Create a folder on your sd card name it for example “ sign apk and zip “ , Copy the modified compiled APK to that folder
Start Zipsigner 2 and leave all settings as it is “ defaults “ , press “choose in/out “ and navigate to the compiled APK “ for example tweaks “ and select it , then press “ sign the File “ , a massage will tell you that the file is signed ,
Go to folder “ sign apk and zip “ and you will find the signed apk named as ( tweaks-signed.apk ) , copy ( tweaks-signed.apk ) to other location and rename it to ( tweaks.apk ) exactly as the original compiled apk
The apk is now ready to replace the original one located in system \ app
5.Apply the changes
Applying the changes can be done by either of the following two methods :
Create a MOD and Apply it from recovery
Manually by moving both the APK and bin file
Manually by moving both the APK and bin file inside the Custom Rom Zip before installing it
a) Using Manual Replacement
The modified apk is now compiled and signed and ready to replace the original one located in system \ app
Make sure that the modified APK has the exact same original APK name , Otherwise it will not replace the original apk and both APK’s will be there
Set system to read\write using Root Explorer or the original tweak itself ( open tweak then go to system tab , and choose mount system reaed/ write )
Use Root Explorer or any similar apk to review permission and ownership values before over-writing the required APK or bin file
Over-write the Apk or file and correct permission and ownership values to the same values for the original APK or bin fileTweaks Permissions.jpg , Tweaks Owner.jpg ( values are different for other similar tweaks ).
For ownershipmode.bin file , navigate to system \ bin , review permission and ownership values before deleting godmode.bin, then delete godmode.bin and copy ownershipmod.bin inside system \ bin , and correct permission and ownership values to the same values for the original file Ownershipmode Permissions.jpg , Ownershipmode Owner.jpg ( values are different for other similar tweaks )
b) Using MOD Replacement
Put the flashable zip ( MOD ) in your SD Card , Reboot into recovery
Clear dalvik and Cache , use install zip from SD Card , navigate to the file and install it then reboot
6.signing Zip file ( create your own MOD )
For future versions of tweaks apk , your can edit the new APK and use the attached MOD, just over-write the existing files with yours , and flash it
In general you can create a folder with the same attached structure
Create a folder let us call it “ Work “ , Create two folders inside it (META-INF , system ) according to the above attached structure ,
Add both update-binary and updater-script inside folder META-INF \ com \ google\ Android ,
Add the files you want to update inside System folder ( use the same structure as in the original Rom),
highlight both of the two folders (META-INF , system ) then right click then choose send to then compressed folder ( Don’t compress the “ Work folder itself ) , rename the created zip as you prefer
Place prepared zip file on your SD Card and use the same procedure mentioned in Step no 4 (Signing the APK ) and in Step no 5 B ( Using MOD Replacement )
General Notes
+- META-INF/
+- MANIFEST.MF
+- CERT.SF
+- CERT.RSA
...........................com/
.....................................google/
.................................................android/
...............................................................update-script
...............................................................update-binary
...............................................................updater-script
+- system/
.................app/
.........................Tweaks.apk
..................bin/
.........................ownershipmode.bin
Note that the structure of META-INF ( name is case sensitive , as in above att 7 ) is always the same ( MANIFEST.MF , CERT.SF , CERT.RSA are created during singing the flashable zip )
the /system folder can be anything you need ( in our case Tweaks.apk and ownershipmode.bin ) , to add different items for your update you should then if needed modify Updater Script accordingly ,
update-binary , updater-script are needed to let the zip file to be flashable zip ( update.zip ) , For backward compatibility reasons, it's still possible to also add an update-script file.
updater-script is where you put the required commands to be executed during flashing the zip
7. Adding your own Similar Mod or APK here in Post # 2
you can Add your own Similar Mod of Modified APK here in Post # 2 ( For Different Custom Rom or Different Version of a Rom ) , Please PM me
Press the thanks Button for this Post
Reserved .......
Reserved .......
Reserved .......
Reserved .......
Thank you for your time and effort, great tutorial.
Thanks for this great guide. Very helpful and informative.
Sent from my HTC Sensation XE with Beats Audio using xda premium
Thanks for posting this, I will be spending more time on it this weekend. Hopefully this will get you RC status.
Hi,
Have a small doubt regarding APK. Below is what i did,
1. Renamed the SystemUI.apk with .zip
2. Changed the necessary image files in res\drawable-hdpi
3. Renamed the SystemUI.zip to SystemUI.apk
4. Pushed to the \System\app folder.
Problem,
When i moved to System\app app doesn't work. got force closes.
Question:
Am i need to sign apk ? I just changed the .png files, still am i need to sign the apk?
Cyb0rgz said:
Hi,
Have a small doubt regarding APK. Below is what i did,
1. Renamed the SystemUI.apk with .zip
2. Changed the necessary image files in res\drawable-hdpi
3. Renamed the SystemUI.zip to SystemUI.apk
4. Pushed to the \System\app folder.
Problem,
When i moved to System\app app doesn't work. got force closes.
Question:
Am i need to sign apk ? I just changed the .png files, still am i need to sign the apk?
Click to expand...
Click to collapse
after moving the apk ..if its not signed ..you need to fix the permissions ..you can do this via recovery
ganeshp said:
after moving the apk ..if its not signed ..you need to fix the permissions ..you can do this via recovery
Click to expand...
Click to collapse
Thank you for your time in responding!
Yes, i have given necessary permissions as well. but it doesn't seems to work!
if i am changing the .dex files, am i need to sign the apk? On changing the png images and all, am i need to sign it? Among the two, which one requires apk signing?
I posted the original thread over in the Sprint section here: http://forum.xda-developers.com/showthread.php?t=1915508 Please try to keep questions in the Sprint thread, but I wanted to share here also. Hopefully this helps someone!!.
Theming a keyboard may be common knowledge to some of the amazing Devs here. But to a noob like me, it took some research and time to get it working without breaking the original signature (That's the trick!). I searched the forum and it doesn't look like anyone has posted a "How To" on theming a keyboard, so I thought I'd share my experience with you all.
**Some of these steps may seem elementary, but I tried to explain everything in layman's terms so even a beginner can theme a keyboard.
// Before you get started:
You must have a working environment setup. Check out QBKing77's awesome video "How to install the android-sdk" to get that going.http://forum.xda-developers.com/showthread.php?t=1614922
Make sure you also have installed:
Notepad++ (for editing xml) // (www.notepad-plus-plus.org)
7zip (for extracting apks) // (www.7-zip.org)
the image editor of your choice. I use Paint.Net(www.getpaint.net), and Gimp(www.gimp.org). Both FREE!
apktool (http://forum.xda-developers.com/showthread.php?t=1755243)
LatinImeDictionaryPack.apk (drop in the 'system\app' folder on your phone. Only for the LatinIME.apk) Grab it here: http://d-h.st/Ebb
// This method has worked with every keyboard that I have encountered so far. I will use 'LatinIME.apk' for reference, as that is the stock ICS keyboard. //
WARNING.. DO NOT POST DISTRIBUTION LINKS TO ANY MODDED 'Swype.apk'. XDA HAS A STANDING ORDER FROM NUANCE (MAKERS OF SWYPE), THAT DOES NOT ALLOW SUCH LINKS TO BE POSTED.
1) To start make sure you have a working copy of your keyboard apk; grab it out of a ROM, download it, or use a file manager with root access (like Root Explorer) to copy it to your SD card then to your computer.
**I would suggest dropping the keyboard apk into a folder on the desktop, seperate from anything else, and making a backup of the original so that you have a spare copy.
2) Using 7zip extract the 'res\drawable-xhdpi' folder into the folder you created. This folder will contain the pngs that control some of the keys, outlined in red on this pic:
{
"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"
}
Color these pngs to match using your favorite editor and save (bucket fill with Paint.Net is a breeze!)
3) Now that your pngs are themed.. Within the folder that you created containing your apk, hold down shift and right click. Select "Open Command Window Here" to fire up command prompt.
4) Next to decompile the keyboard apk with apktool (again using 'LatinIME.apk' for reference, but the apk may be of a different name; SamsungIME.apk, HTC_IME.apk, etc.).
Type this command:
Code:
apktool d LatinIME.apk
When it's done, you will see a folder with the apk name appear, within the folder you created. Click into it and you should see at minimun a 'res' folder and a 'smali' folder.
5) Navigate to 'res\values' folder. Depending on the keyboard you are working on, the xml controlling the remaining key colors will be contained in the 'colors.xml' or 'styles.xml' file. Open with Notepad++, and change the color codes as needed. Save and close.
6) Go back to the root of the folder containing your apk, and fire up command prompt (if it's not still open). Now it's time to build using this command (again using 'LatinIME.apk' for reference, but the apk may be of a different name; SamsungIME.apk, HTC_IME.apk, etc.)
Code:
apktool b LatinIME
7) When it's done building, you should have 4 folders minimum now (res, smali, build, dist) and it's time for the key to success. Navigate into the 'dist' folder and you will see the "Built" apk. Open it with 7zip, and extract the 'resources.arsc' file to your folder. Close 7zip.
8) Now it's time to pull it all together. Navigate back to the ORIGINAL keyboard apk, and open with 7zip.
Copy (you can drag and drop with 7zip) the 'resources.arsc' that you extracted from your "Built" apk, into the "ORIGINAL" apk overwriting the file. Then with 7zip still open and the apk loaded, navigate (within 7zip) into the 'res\drawable-xhdpi' folder where you should see the list of unthemed pngs. Simply drop your edited pngs into this folder. Close 7zip and you're done here!
9) Finally, take your "ORIGINAL" but themed apk, and push it back the 'system\app' folder on your phone.
Fix permissions to 'rw-r--r--' (only check everything under 'read' and Owner under 'write')
Reboot, and bask in the glory of your new themed keyboard!
**Alternatively, grab my empty zip installer here: http://d-h.st/oKG to flash in recovery. You must drop your themed apk into the system\app folder of the zip and save. Also, the zip already contains the 'LatinImeDictionaryPack.apk'
Please hit THANKS if I helped!! And please keep this thread alive!
Reserved
dude you rock.
ive never tried anything like this but i think im going to.
thanks for sharing.
Super excited about this write-up. I used to theme a bit on the Nexus One but have been off of Android for a number of years unfortunately.
Now I'm back and what to get back into it... unfortunately I have forgotten most of what I had learned. Thanks for the refresher!
x0mbe said:
Super excited about this write-up. I used to theme a bit on the Nexus One but have been off of Android for a number of years unfortunately.
Now I'm back and what to get back into it... unfortunately I have forgotten most of what I had learned. Thanks for the refresher!
Click to expand...
Click to collapse
Thanks for reviving the this thread!
help
Can somebody PM me a swype themed. I am a total noob at theming and tried following this guide, but cannot get swype 1.4 to theme properly. I'm looking for a holo theme or ics blue letters on a dark background. Any help would be appreciated.
rompnit said:
I posted the original thread over in the Sprint section here: http://forum.xda-developers.com/showthread.php?t=1915508 Please try to keep questions in the Sprint thread, but I wanted to share here also. Hopefully this helps someone!!.
Theming a keyboard may be common knowledge to some of the amazing Devs here. But to a noob like me, it took some research and time to get it working without breaking the original signature (That's the trick!). I searched the forum and it doesn't look like anyone has posted a "How To" on theming a keyboard, so I thought I'd share my experience with you all.
**Some of these steps may seem elementary, but I tried to explain everything in layman's terms so even a beginner can theme a keyboard.
// Before you get started:
You must have a working environment setup. Check out QBKing77's awesome video "How to install the android-sdk" to get that going.http://forum.xda-developers.com/showthread.php?t=1614922
Make sure you also have installed:
Notepad++ (for editing xml) // (www.notepad-plus-plus.org)
7zip (for extracting apks) // (www.7-zip.org)
the image editor of your choice. I use Paint.Net(www.getpaint.net), and Gimp(www.gimp.org). Both FREE!
apktool (http://forum.xda-developers.com/showthread.php?t=1755243)
LatinImeDictionaryPack.apk (drop in the 'system\app' folder on your phone. Only for the LatinIME.apk) Grab it here: http://d-h.st/Ebb
// This method has worked with every keyboard that I have encountered so far. I will use 'LatinIME.apk' for reference, as that is the stock ICS keyboard. //
WARNING.. DO NOT POST DISTRIBUTION LINKS TO ANY MODDED 'Swype.apk'. XDA HAS A STANDING ORDER FROM NUANCE (MAKERS OF SWYPE), THAT DOES NOT ALLOW SUCH LINKS TO BE POSTED.
1) To start make sure you have a working copy of your keyboard apk; grab it out of a ROM, download it, or use a file manager with root access (like Root Explorer) to copy it to your SD card then to your computer.
**I would suggest dropping the keyboard apk into a folder on the desktop, seperate from anything else, and making a backup of the original so that you have a spare copy.
2) Using 7zip extract the 'res\drawable-xhdpi' folder into the folder you created. This folder will contain the pngs that control some of the keys, outlined in red on this pic:
Color these pngs to match using your favorite editor and save (bucket fill with Paint.Net is a breeze!)
3) Now that your pngs are themed.. Within the folder that you created containing your apk, hold down shift and right click. Select "Open Command Window Here" to fire up command prompt.
4) Next to decompile the keyboard apk with apktool (again using 'LatinIME.apk' for reference, but the apk may be of a different name; SamsungIME.apk, HTC_IME.apk, etc.).
Type this command:
Code:
apktool d LatinIME.apk
When it's done, you will see a folder with the apk name appear, within the folder you created. Click into it and you should see at minimun a 'res' folder and a 'smali' folder.
5) Navigate to 'res\values' folder. Depending on the keyboard you are working on, the xml controlling the remaining key colors will be contained in the 'colors.xml' or 'styles.xml' file. Open with Notepad++, and change the color codes as needed. Save and close.
6) Go back to the root of the folder containing your apk, and fire up command prompt (if it's not still open). Now it's time to build using this command (again using 'LatinIME.apk' for reference, but the apk may be of a different name; SamsungIME.apk, HTC_IME.apk, etc.)
Code:
apktool b LatinIME
7) When it's done building, you should have 4 folders minimum now (res, smali, build, dist) and it's time for the key to success. Navigate into the 'dist' folder and you will see the "Built" apk. Open it with 7zip, and extract the 'resources.arsc' file to your folder. Close 7zip.
8) Now it's time to pull it all together. Navigate back to the ORIGINAL keyboard apk, and open with 7zip.
Copy (you can drag and drop with 7zip) the 'resources.arsc' that you extracted from your "Built" apk, into the "ORIGINAL" apk overwriting the file. Then with 7zip still open and the apk loaded, navigate (within 7zip) into the 'res\drawable-xhdpi' folder where you should see the list of unthemed pngs. Simply drop your edited pngs into this folder. Close 7zip and you're done here!
9) Finally, take your "ORIGINAL" but themed apk, and push it back the 'system\app' folder on your phone.
Fix permissions to 'rw-r--r--' (only check everything under 'read' and Owner under 'write')
Reboot, and bask in the glory of your new themed keyboard!
**Alternatively, grab my empty zip installer here: http://d-h.st/oKG to flash in recovery. You must drop your themed apk into the system\app folder of the zip and save. Also, the zip already contains the 'LatinImeDictionaryPack.apk'
Please hit THANKS if I helped!! And please keep this thread alive!
Click to expand...
Click to collapse
I don't know if I'm the only one but I can't see the pic with the items outlined in red?
Thanks for this how to. I want to learn more about themeing and what not and this seems like a good place to start.
Sent from my SCH-I535 using xda premium
So here is the way, how You can create Custom Home Button.
* Softwares you need to do this : (all download links provided below) : :good:
1) 7-Zip File Manager
2) Windows Image Resizer
* Stepwise Guide :
STEP 1 : Get you launcher’s (.apk) file
STEP 2 : Extract it with 7-Zip File Manager
STEP 3 : Open the folder where you have extracted the apk file
STEP 4 : You will find a folder named ‘res’ ; open it and go to ‘res\drawable-hdpi"; open all folders inside 'res' folder and make sure that you have replaced all the stock isons by desired icons.
STEP 5 : You will find your Launcher Icon. Right Click on it, go to Properties and then to Details ; there you will find dimensions of the image. Note them somewhere.
STEP 6 : Now select the desired Icon and resize it using Windows Image Resizer by right clicking and then clicking on ‘Resize Image’.
STEP 7 : Replace the Icon in extracted folder with the same name.
STEP 8 : Repeat the above steps in ‘ res\drawable-sw800dp-hdpi ‘ and ‘ res\drawable-xhdpi ‘ and ‘ res\drawable-xxhdpi ‘ folders.
STEP 9 : After replacing all the icons, come back to the folder and select all files, right click on them and using 7-Zip add them to an archive, when adding into an archive make sure that you (.zip) by (.apk).
STEP 10: Install the launcher or place it in an Custom Rom. ( I would suggest place this launcher in an Custom Rom )
* All Screenshots, Download links and Custom launcher provided below
My Earlier Post Related to this :
http://forum.xda-developers.com/tools/frameworks/apple-home-button-android-devices-4-2-x-t2822146
(Do not forget to Click the Thanks Button) (Please tell me if any problem comes)
CLICK FOR THE UPDATE
Here is a way by which you can Change the Displayed Custom Rom Name
THIS CANNOT BE DONE BY EDITING "build.prop" FILE SO READ THIS GUIDE FOR XPERIA DEVICES CUSTOM ROMS.
Software Needed (downloads attached below)
1) Java
2) 7-zip
3) Notepad ++
4) Advanced APK Tools
Files Needed From Custom Rom:
1) framework-res.apk (from "system >> framework ")
2) SemcGenericUxpRes.apk (from "system >> framework ")
3) settings.apk ( from "system >> app")
Expected From You :
1) Some Time
2) Patience
3) Basic knowledge of Installing Software.
Step wise Guide
STEP 01 : Download and Install "Java" and "Notepad++". Extract "Advanced APK Tools".
STEP 02 : Place the Three Files mentioned above from Custom Rom to "2-IN" folder of Advanced APK Tools.
STEP 03 : Open "Advance ApkTool.exe"; it will check Java on your your PC and then you will get a screen showing different options.
STEP 04 : Type "1" and press Enter to select the Option "1- Install Framework". Install "framework-res.apk" and "SemcGenericUxpRes.apk". Then come back to Main Menu.
STEP 05 : Type "2" and press Enter to select the Option "2- Decompile Files". Decompile "settings.apk" and wait for some time as it will take some time. After decompiling minimize "Advance APK Tools" but DO NOT CLOSE it.
STEP 06 : Open "3-OUT" folder in "Advance APK Tools" folder. There you will see a folder names "Settings.apk". Open this folder and go to " res >> values " folder.
STEP 07 : In the Values folder open the file "strings.xml" using Notepad++. Press "ctrl" and 'F" keys on the Keyboard of your PC at the same time to find the Rom Name as shown in Device. After Finding the ROM Name replace it with Whatever you Want. Save this file and Close is.
STEP 08 : Go back to "Advanced APK Tools" and Type "3" and press Enter to select the Option "3-Recompile Files". Recompile "settings.apk" and wait for some time as it will take some time. After recompiling close "Advance APK Tools".
STEP 09 : Now go to "4-OUT" folder of "Advanced APK Tools" where you will find "settings.apk". Extract this file using 7-zip.
STEP 10 : Open the extracted "settings.apk" and delete the file "Android Manifent.xml " inside it.
STEP 11 : Open 3-OUT" folder. Then go to "Settings.apk folder >> original " from this folder Copy all the contents i.e. "META-INF" folder and " AndroidManifest.xml" file and paste them in extracted "settings.apk" in "4-OUT" folder.
STEP 12 : After all this, select all contents of settings.apk in 4-OUT Folder and add them to archieve using 7-Zip and replace ".zip" extention by ".apk".
Place this "settings.apk" into "system >> app " folder of Custom Rom and flash this Custom Rom. You will have the ROM NAME changed.
Hurray!!! You have successfully Changed the ROM NAME of Custom Rom for Xperia Devices.
Firstly, this thread has nothing to do with Development so I've moved it to General where it should have been created.
Secondly, you have no permission to attach the file: Advancedapktool.zip
Thirdly, you posted no credits to the original author for this tool.
I've removed the tool and linked to the original authors thread instead.
Sorry for the mistakes, I will take care next time