[Tutorial/Mod] Noob Proof how to Edit APK's / Replace “ god mode“with“Ownership Mode" - HTC Sensation

[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?

Related

[app][guide]hack fruit ninja

HI, today I want to offer this guide: This will allow you to edit scores and rate of fruit in the app fruit ninja
FOR THOSE WHO ONLY ENTERTAIN THIS IS THE APK ALREADY MODIFIED FROM ME:
EDIT: NOW ALL MY APP IS AVAILABLE IN THE APTOIDESTORE CALLED : MODDR0ID
free version no bombs many pomegranates
http://www.2shared.com/complete/FuVBTpn7/fruit_free_moddroid.html
However, now i explain
What you need:
1 -apktool downloadable from here with little guidance on the use:
http://www.androidlab.it/apktool-de...-ricompilare-i-file-apk-guida-download-16241/
2-tool to sign the apk from here:
http://www.2shared.com/file/I7LKKI_O/fruit_dec.html
3 - tool to decrypt the files. Xml (it's a program I found after 3 hours of research on a Chinese website in Chinese and is also the program but there are only 2 keys and is easy; D)
http://www.2shared.com/file/I7LKKI_O/fruit_dec.html
4 - the apk of fruit ninja (any version is fine)
Ok now we can start:
1-create a folder and inside unzip the various tools
2-copy inside the apk of fruit ninja
3-open cmd and and move inside the folder where you unzipped apktool
4-type
Code:
Code:
apktool.bat d name_of_apk_to_decompile.apk
IMPORTANT: do not close the cmd!
5-wait to finish
6-now in the folder where you unzipped apktool you will appear folder with same name of apk
7-enter it and move to assets / xml
8 - you will find various files .xml manages each of the settings
9 - Now open fruit dec.exe (is in the folder where you have extraxted fruit_dec.rar)
10-clik button highlighted
View attachment 1023231
-Choose the file .xml you want to decrypt, and press the other key
(In the window that appears hit ok button)
IMPORTANT: Do not close the program after you have decrypted the file
11 - modify the file .xml decrypted with notepad or word pad
12 - return to the program that we have closed and re-press the 2° button (not highlighted)
(Ok on the window)
13 - now open the cmd window and type:
Code:
Code:
apktool.bat b name_of_folder_containing_decompiled_apk
14 - now in the folder with the apk decompiled will add a folder called Dist
15 - inside the folder you find the re-compiled apk
16-copy the recompiled apk into the input folder (delete the file test.apk)the folder is located where you unzipped the file apk-sign.zip
17-Now open the program signare v1.1.exe
18-enter the command 1 when asked and wait (it takes 2 or 3 minutes) followed by requests zipalign apk? print N and press enter
19 - now in the folder output find your apk modified and signed
copy it into your phone and install it and
!!!HAVE FUN!!!
If you have been helpful clik thanks!
Pm sent
Sent from my MB525 using XDA

[Guide] Change system apps icon without apktool

Hello all , i post my new guide to change icons without using apktool . This guide is for newbies though other all advance developer may think this useless or may be they known this a very ago.
# Note :-
1) This guide is for all newbies who want to edit there app icons , but dont have apktool or have no knowledge about it .
2) This guide is only applicable for system apps .
3) You should have knoweledge for flashing zips by CWM .
# What is needed ?
1) A must have computer with paint (opptional) [ some phones with Zarchiver app can be used . ]
2) WinRar
3) A flashable zip file supplied by other developer .
4) A icon Set which you want to replace with .
# Procedure :-
1) Make a directory called " stock " .
2) Paste your app in it .
3) Below i have taken SystemUI.apk.
4) Rename that app to SystemUI.zip ( just make .apk to .zip format )
5) Then go to options (press right mouse button) press Extract to SystemUI
6) After extracting go to the extracted folder " SystemUI"
7) Browse to res / drawable-mdpi / you will find all icons there . ( In my case its mdpi , it may be hpdi .)
8) Note that the resolution must be same or it may not look good . [ Expiremental ]
9) Replace the icon which you want to from your icon set .
10) Go back to folder where you will find folders like META-INF , res , & files like AndroidManifest.xml , classes.dex, resources.arsc .
11) Now select that all files and press the right button of the mouse ( the options button) .
12) Select the Add to Archive option .
13) Now keep the same name of the app you are modding and select " zip " .
14) A new zip file is created like " SystemUI.zip" . Rename it to SystemUI.apk ( just from .zip to .apk )
15) Now your modded app is ready .
16) Take the flashable zip provided by other developer .
17) open that zip and replace your file with his . ( in folder system/app/ " replace here ." )
18) Save the zip . And Flash it using CWM !!! Enjoy now you can see your modded icons .!!
I will post xml editing guide for newbies afterwards .

How To Decompile / Recompile .apk Using Android Phone [ No Pc Required ]

Saw many guides to Decompile-Recompile apk using PC , but this guide will teach how to Decompile-Recompile using android
Credits - Me , Apktool , and A Indonesian Group
Things We Need -
1. Android Smartphone ( Rooted )
2. Apktool For Android ( download below )
3. xml editing Application
Here we Go with A step by Step tutorial on How To Decompile / Recompile .apk Using Android Phone -
Step 1. First Download Apktool.zip From - Here .
Step 2. Download Xml editor from - Here
Step 3. Extract The Apktool.zip To (android phone ) Sd Card > Here . ( Extract it in Root of Sd card , not in any folder )
Step 4. Now Open Apktool Folder on Sd Card > Apktool and Install Apktool.apk from the directory .
Step 5. Copy Framework_Res.apk from your Phone root and Paste it in Sd Card > Apktool > Here ( with root explorer / es file explorer )
Step 6. Open Apktool App and Go to Sd Card > Apktool and Select Framework_Res.apk and Select import as Framework . It will start installing Framework ( need for Recompiling - Decompiling )
Step 7. Copy any .apk you want to decompile and paste it to Sd Card > Apktool > Here ( with root explorer / es file explorer )
Step 8. Now Open Apktool App , Go to Sd Card > Apktool and select the .apk you pasted in Step no. 7. Now select Decompile All ( The process will decompile the apk ).
Step 9. Now the file will be saved with the name Apkname_src ( Apkname = name of the apk you have decompiled ).
Step 10. Do all the editing you want to do with .apk file with xml editor .
Step 11. Now Open apktool app then again go to Sd Card > Apktool and select Apkname_src and select recompile .
Step 12. Now Open the orignal .Apk and Open Sd Card > Apktool > Apkname_src > Build > Apk > Here and copy all the content and paste it in The Orignal.apk and you are done
Feel free to Reply if you face any problem
Original Posted - BY ME Here
Thanks bro was waiting for this...par bhai root of your sd card folder matlab kya re??????
Always press the thanks button if helped
[email protected] said:
Thanks bro was waiting for this...par bhai root of your sd card folder matlab kya re??????
Always press the thanks button if helped
Click to expand...
Click to collapse
Means not in any folder ! Just in Sdcard > here
Does this sign the apk? Or it's needed to sign in the PC?
STEP: 12
your Step: 12 is not so clear..
please redefine it... waiting for your Reply.
v_singh said:
your Step: 12 is not so clear..
please redefine it... waiting for your Reply.
Click to expand...
Click to collapse
You must use any file explorer or PC for that .. Open the apk ( change made ) you have made by decompiling and then recompiling , Also open the apk that is orignal ( no change made ) . Copy paste the content of apk ( change made ) to apk ( no change made ) and you will get your final apk ..
Yes its little bit confusing
I know it's confusing but when you learn to edit the apks, it's easier to understand
Thanks for the post I'm looking for it
Enviado desde mi LG-E425g mediante Tapatalk
Framework?
Can someone explain me how to get that file? "Framework_Res.apk". I searched it using Root Explorer and I got no results! Is that file in the apk I will decompile and recompile?
It's hidden in /system/framework/
Sent from my SM-G355HN using XDA Free mobile app
I ran into an error pop up while trying to attempt this.
Everything is installed and setup properly. I copied
Adfree-com.bigtincan.android.adfree-8068-v0.8.68.apk
to the apktool directory and then went into the Apktool app.
Upon selecting decompile all it returns a failed pop up stating:
|: Baksmaling...
Can't create the output directory /apktool-techdroider/Adfree-com.bigtincan.android.adfree-8068-v0.8.68_src/smali
I click ok and back out to root explorer to see if there is a new src folder inside the apktool directory and there is not.
Not sure what I may have done wrong or what else I can possibly do using this method. :silly:
Asap responses would be extremely appreciated as I am currently in the middle of an Internship competition (lasts 4 days) and simply decompiling/recompiling and checking the resulting md5sum before/after is one of the questions.
Importing the framework gave me the following error:
ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libNimsWrap.so' from LD_PRELOAD cannot be preloaded: ignored.
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:562)
at brut.androlib.Androlib.installFramework(Androlib.java:473)
at brut.apktool.Main.cmdInstallFramework(Main.java:250)
at brut.apktool.Main.main(Main.java:81)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:102)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 5 more
Any ideas? I've tried importing multiple times.
how to theme touchwiz rom by just changing colors?
can somebody help me?
On installing framework .res I get immediate finish! Msg then the details in the pop up box say no such file or directory.
Of course I'm running mm 601 with custom rom and kernel. Does this apk tool version even work on android 6?
bad links ...
Anyone have good links for this? The OP links are no good.

[GUIDE] How to change Rom Name of Custom Rom

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

[TUT] Change H+ Network Status Bar Icon Manually to 4G for 3G Devices

Required:
1. Devices Rooted
2. Root Explorer
Steps:
1. Please do backup your device before to do this tutorial for just in case system failure.
2. Open Root Explorer if has installed.
3. Find SystemUI.apk file at System -> Priv-app folder.
4. Then copy and paste in the root of Micro SD Card.
5. Click and hold SystemUI.apk then choose to Extract All.
6. Go find SystemUI extracted file folder on SpeedSoftware folder -> Extracted folder.
7. Open SystemUI folder -> Res -> drawable-hdpi.
8. Find this 6 files on Drawable HDPI folder:
stat_sys_gemini_data_connected_4g_orange.png
stat_sys_gemini_data_connected_4g_orange_roam.png
stat_sys_gemini_data_connected_h_plus_orange.png
stat_sys_gemini_data_connected_h_plus_orange_roam.png
stat_sys_gemini_signal_3g_orange.png
stat_sys_gemini_signal_4g_orange.png
9. Copy those 6 files from Drawable HDPI folder then paste on new folder to edit.
10. Please do not confuse it & here's you must to do:
Rename "stat_sys_gemini_data_connected_4g_orange.png" to "stat_sys_gemini_data_connected_h_plus_orange.png" (without ").
Rename "stat_sys_gemini_data_connected_4g_orange_roam.png" to "stat_sys_gemini_data_connected_h_plus_orange_roam.png" (without ").
Rename "stat_sys_gemini_signal_4g_orange.png" to "stat_sys_gemini_signal_3g_orange.png" (without ").
And if it ask to overwrite or replace, just click or choose yes.
11. And if it has done, you just choose and copy only 3 files:
stat_sys_gemini_data_connected_h_plus_orange.png
stat_sys_gemini_data_connected_h_plus_orange_roam.png
stat_sys_gemini_signal_3g_orange.png
12. Paste back to folder SystemUI folder -> Res -> drawable-hdpi on folder that you've been extracted before & please click or choose yes if it ask to overwrite.
13. When everything has done, then click on SystemUI folder & hold to choose Zip this folder.
14. Rename from SystemUI.zip to SystemUI.apk then copy & paste back to System -> Priv-app folder and please click or choose yes if it ask to overwrite or replace notification.
15. Click or choose and hold SystemUI.apk and please edit permission to R-W-R-R or enter Octal to 0644. Click yes if it appear notification "The current file system is read-only, do you want to remount as read-write and continue the operation?" and put it back to read-only mode if it has done.
16. Reboot your device if you has ready for big surprise and some "Forced Close" notification, and please reboot again your device for more stable & please let H+ data network become 4G on your Android device status bar.
(Tested working fine on Acer Liquid E700 Triple SIM - MTK6582 - Android Kitkat 4.4.2 Stock ROM)
PS: Please do it at on your own risk. i'm not responsible if your Android device bootloop or system failure because this modifying.
why i cant find "drawable-hdpi" ???
just "drawable & drawable-hdpi bla bla" ??

Categories

Resources