- Messages
- 130
- Reaction score
- 0
- Points
- 26
[TUT] Injecting Splash Img & BG into Default Opera Mini.apk = (XML Editing)
i. Introduction
This tutorial deals with EDITING XML FILES OF DEFAULT OPERA MINI 7.5(35613) APK in order to have SPLASH IMAGE and BACKGROUND IMAGE via android phone using Apktool and DroidEdit Pro. This also includes procedure on how to inject LOADING IMAGE, LOADING BAR, and LOADING BAR BACKGROUND by editing v file via PC using HxD Hex Editor.
ii. Credits and Greetings
I would like to give all the credits to all the contributors, suppliers, and developers of all software, applications, and data that were being used to complete this tutorial. Special thanks to CrossedMythic, Ngitapbang, Souler456, XDA Developer, and to all modifiers.
I want to greet XscriptZ Group, Symbianize Skinners Group, TZMod Team, all Co-Symbianizers, and all of my friends.
iii. Application and Gadgets required
● Opera Mini 7.5(35613).apk (Default/Unmodified)
● Apktool - (apktool4.4_armhf.zip) - requires rooted Android 4.+
● DrioidEdit Pro
● HxDsetup.zip - HxD Hex Editor Copyright© 2002-2009 by Maël Hörz (for PC)
● Computer (Desktop or Laptop)
● Android Phone
● USB Data Cable or Memory Card Reader
iv. Procedure
STEP 1.
Download apktool4.4_armhf.zip and extract it to sdcard:\
STEP 2.
Go to sdcard:\apktool\ and install Apktoll4.4.1.apk. Do not delete the folder apktool in sdcard. Just leave it there otherwise the APKtool 4.4.1 will not function.
STEP 3.
Download Opera Mini 7.5(35613).apk (Default/Unmodified) and put it in any desired folder. Prepare also images for splash and background. Get this sample splash image and background to be used as reference.
STEP 4.
Open/Launch Apktool and navigate to the location of Opera Mini 7.5(35613).apk. Tap on it and then select decompile all. Wait until the file has been decompiled.
After decompiling, a folder with name Opera Mini 7.5(35613)_src will be produced where the decompiled/extracted files is located.
STEP 5.
Exit Apktool.
STEP 6.
Download and install the DrioidEdit Pro.apk. This app will be used in editing xml files.
STEP 7.
Open/Launch DrioidEdit Pro and be prepared for editing xml files.
There are 4 xml files to be edited:
------
In DriodEdit Pro, navigate to the location of each xml file and edit them one-by-one based on the screenshots below.
Editing AndroidManifest.xml
Replace NoBackground by any desired name. In this tutorial, it was being replaced by JayemCreation
For Cloning, add character after the com.opera.mini.android.
In this tutorial, it became com.opera.mini.androidjayem
Do not forget to save the changes in AndroidManifest.xml before closing the file.
Editing main.xml
In No. 5 , RelativeLayout, Right after the android:id="@id/editlayout", provide one space and then type android:background="@drawable/(any desired file name for background image)".
In this tutorial, it is android:background="@drawable/jm_bg" was being typed.
Do not forget to save the changes in main.xml before closing the file.
Editing style.xml
Replace NoBackground by the same name as used/typed in AndroidManifest.xml.
In this tutorial, it is JayemCreation.
To have a title bar, delete the NoTitleBar.
In No. 4, replace @null by @drawable/(any desired file name for splash image).
In this tutorial, it became @drawable/jm_splash.
Do not forget to save the changes in style.xml before closing the file.
Editing public.xml
Put the cursor right after the No. 6 <public type="drawable" name="notification_icon" id="0x7f020003" />, go to next line by pressing enter key. Next line will be the No. 7. Provide 4 spaces and then type <public type="drawable" name="(desired file name for splash image used in style.xml)" id="0x7f020004" />.
In this tutorial, it is <public type="drawable" name="jm_splash" id="0x7f020004" />.
Go to next line again by pressing enter key. Next line will be the No. 8. Provide 4 spaces and then type <public type="drawable" name="(desired file name for background image used in main.xml)" id="0x7f020005" />.
In this tutorial, it is <public type="drawable" name="jm_bg" id="0x7f020005" />
Note: In other version of Opera Mini, the id # may be different depending on the last id # of the existing element.
In this tutorial, the existing elements have their ids; id="0x7f020002", id="0x7f020000", id="0x7f020001", id="0x7f020003". That is why the elements that were added here have their id; id="0x7f020004" and id="0x7f020005".
-----
Scroll down to No. 19 and replace NoBackground by the same name as used/typed in AndroidManifest.xml. In this tutorial, it is JayemCreation.
Do not forget to save the changes in public.xml before closing the file.
Editing string.xml
Note: string.xml editing is optional and is not related to injecting splash image and background.
This is just another method of renaming/changing application name which is already discussed in other tutorials.
Do not forget to save the changes in string.xml before closing the file.
STEP 8.
Using Xplore or any file manager put the prepared splash image and background image to Opera Mini 7.5(35613)_src\res\drawable\ . The image file name should be the same as what have written in xml files otherwise, the Opera Mini will not be recompiled successfully.
Changing Application Icon
Note: This method is optional and is not related to injecting splash image and background
This is just another method of changing Application Icon which is already discussed in other tutorials.
Using Xplore or any file manager put the prepared icon image with file name app_icon.png to 4 locations:
------
Opera Mini 7.5(35613)_src\res\drawable\
------
Opera Mini 7.5(35613)_src\res\drawable-hdpi\
------
Opera Mini 7.5(35613)_src\res\drawable-ldpi\
------
Opera Mini 7.5(35613)_src\res\drawable-xdpi\
------
Injecting Splash Image and Background has been completed!
STEP 9.
Recompile the Opera Mini 7.5(35613)_src and then sign the Opera Mini 7.5(35613)_src.apk using Apktool. (See STEP 14 and STEP 15)
However, if the loading image, loading bar background, and loading bar is to be injected in v file, proceed first to STEP 10 and continue until STEP 13 and then recompile and sign the Opera Mini 7.5(35613)_src using Apktool (See STEP 14 and STEP 15 to complete the modification.
<===================>
Continuation (STEP 10 to STEP15) at Post #2
INJECTING SPLASH IMAGE & BACKGROUND INTO DEFAULT OPERA MINI.APK
i. Introduction
This tutorial deals with EDITING XML FILES OF DEFAULT OPERA MINI 7.5(35613) APK in order to have SPLASH IMAGE and BACKGROUND IMAGE via android phone using Apktool and DroidEdit Pro. This also includes procedure on how to inject LOADING IMAGE, LOADING BAR, and LOADING BAR BACKGROUND by editing v file via PC using HxD Hex Editor.
ii. Credits and Greetings
I would like to give all the credits to all the contributors, suppliers, and developers of all software, applications, and data that were being used to complete this tutorial. Special thanks to CrossedMythic, Ngitapbang, Souler456, XDA Developer, and to all modifiers.
I want to greet XscriptZ Group, Symbianize Skinners Group, TZMod Team, all Co-Symbianizers, and all of my friends.
iii. Application and Gadgets required
● Opera Mini 7.5(35613).apk (Default/Unmodified)
● Apktool - (apktool4.4_armhf.zip) - requires rooted Android 4.+
● DrioidEdit Pro
● HxDsetup.zip - HxD Hex Editor Copyright© 2002-2009 by Maël Hörz (for PC)
● Computer (Desktop or Laptop)
● Android Phone
● USB Data Cable or Memory Card Reader
iv. Procedure
STEP 1.
Download apktool4.4_armhf.zip and extract it to sdcard:\
STEP 2.
Go to sdcard:\apktool\ and install Apktoll4.4.1.apk. Do not delete the folder apktool in sdcard. Just leave it there otherwise the APKtool 4.4.1 will not function.
STEP 3.
Download Opera Mini 7.5(35613).apk (Default/Unmodified) and put it in any desired folder. Prepare also images for splash and background. Get this sample splash image and background to be used as reference.
STEP 4.
Open/Launch Apktool and navigate to the location of Opera Mini 7.5(35613).apk. Tap on it and then select decompile all. Wait until the file has been decompiled.
STEP 5.
Exit Apktool.
STEP 6.
Download and install the DrioidEdit Pro.apk. This app will be used in editing xml files.
STEP 7.
Open/Launch DrioidEdit Pro and be prepared for editing xml files.
There are 4 xml files to be edited:
------
Opera Mini 7.5(35613)_src\AndroidManifest.xml
------
Opera Mini 7.5(35613)_src\res\layout\main.xml
------
Opera Mini 7.5(35613)_src\res\values\style.xml
------
Opera Mini 7.5(35613)_src\res\values\public.xml
------
------
Opera Mini 7.5(35613)_src\res\layout\main.xml
------
Opera Mini 7.5(35613)_src\res\values\style.xml
------
Opera Mini 7.5(35613)_src\res\values\public.xml
------
In DriodEdit Pro, navigate to the location of each xml file and edit them one-by-one based on the screenshots below.
Editing AndroidManifest.xml
Replace NoBackground by any desired name. In this tutorial, it was being replaced by JayemCreation
For Cloning, add character after the com.opera.mini.android.
In this tutorial, it became com.opera.mini.androidjayem
Do not forget to save the changes in AndroidManifest.xml before closing the file.
Editing main.xml
In No. 5 , RelativeLayout, Right after the android:id="@id/editlayout", provide one space and then type android:background="@drawable/(any desired file name for background image)".
In this tutorial, it is android:background="@drawable/jm_bg" was being typed.
Do not forget to save the changes in main.xml before closing the file.
Editing style.xml
Replace NoBackground by the same name as used/typed in AndroidManifest.xml.
In this tutorial, it is JayemCreation.
To have a title bar, delete the NoTitleBar.
In No. 4, replace @null by @drawable/(any desired file name for splash image).
In this tutorial, it became @drawable/jm_splash.
Do not forget to save the changes in style.xml before closing the file.
Editing public.xml
Put the cursor right after the No. 6 <public type="drawable" name="notification_icon" id="0x7f020003" />, go to next line by pressing enter key. Next line will be the No. 7. Provide 4 spaces and then type <public type="drawable" name="(desired file name for splash image used in style.xml)" id="0x7f020004" />.
In this tutorial, it is <public type="drawable" name="jm_splash" id="0x7f020004" />.
Go to next line again by pressing enter key. Next line will be the No. 8. Provide 4 spaces and then type <public type="drawable" name="(desired file name for background image used in main.xml)" id="0x7f020005" />.
In this tutorial, it is <public type="drawable" name="jm_bg" id="0x7f020005" />
Note: In other version of Opera Mini, the id # may be different depending on the last id # of the existing element.
In this tutorial, the existing elements have their ids; id="0x7f020002", id="0x7f020000", id="0x7f020001", id="0x7f020003". That is why the elements that were added here have their id; id="0x7f020004" and id="0x7f020005".
-----
Scroll down to No. 19 and replace NoBackground by the same name as used/typed in AndroidManifest.xml. In this tutorial, it is JayemCreation.
Do not forget to save the changes in public.xml before closing the file.
Editing string.xml
Note: string.xml editing is optional and is not related to injecting splash image and background.
This is just another method of renaming/changing application name which is already discussed in other tutorials.
Do not forget to save the changes in string.xml before closing the file.
STEP 8.
Using Xplore or any file manager put the prepared splash image and background image to Opera Mini 7.5(35613)_src\res\drawable\ . The image file name should be the same as what have written in xml files otherwise, the Opera Mini will not be recompiled successfully.
Changing Application Icon
Note: This method is optional and is not related to injecting splash image and background
This is just another method of changing Application Icon which is already discussed in other tutorials.
Using Xplore or any file manager put the prepared icon image with file name app_icon.png to 4 locations:
------
Opera Mini 7.5(35613)_src\res\drawable\
------
Opera Mini 7.5(35613)_src\res\drawable-hdpi\
------
Opera Mini 7.5(35613)_src\res\drawable-ldpi\
------
Opera Mini 7.5(35613)_src\res\drawable-xdpi\
------
Injecting Splash Image and Background has been completed!
STEP 9.
Recompile the Opera Mini 7.5(35613)_src and then sign the Opera Mini 7.5(35613)_src.apk using Apktool. (See STEP 14 and STEP 15)
However, if the loading image, loading bar background, and loading bar is to be injected in v file, proceed first to STEP 10 and continue until STEP 13 and then recompile and sign the Opera Mini 7.5(35613)_src using Apktool (See STEP 14 and STEP 15 to complete the modification.
<===================>
Continuation (STEP 10 to STEP15) at Post #2
In case you have learned something from this tutorial, I hope you would learn also to say "Thank you".
Attachments
Last edited: