Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

[TUT] Injecting Splash Img & BG into Default Opera Mini.apk = (XML Editing)

jayemantipatico

Amateur
Advanced Member
Messages
130
Reaction score
0
Points
26
[TUT] Injecting Splash Img & BG into Default Opera Mini.apk = (XML Editing)

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.
apktool.png

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.
image.png

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.
Decompiling_01.png

Decompiling_02.png
After decompiling, a folder with name Opera Mini 7.5(35613)_src will be produced where the decompiled/extracted files is located.
image.png

STEP 5.
Exit Apktool.
image.png

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

In DriodEdit Pro, navigate to the location of each xml file and edit them one-by-one based on the screenshots below.

image.png

image.png

image.png

image.png


Editing AndroidManifest.xml
image.png

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
image.png

Do not forget to save the changes in AndroidManifest.xml before closing the file.
image.png


Editing main.xml
image.png

image.png

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.
image.png

Do not forget to save the changes in main.xml before closing the file.

Editing style.xml
image.png

image.png

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.
image.png

Do not forget to save the changes in style.xml before closing the file.

Editing public.xml
image.png

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" />
image.png

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.
image.png

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.
image.png

image.png

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.
image.png

image.png



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\
------

30_0.png
30_0_a.png

30_1.png
30_2.png

30_3.png
30_4.png

30_5.png

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

  • Opera Mini 7.5(35613).apk
    1 MB · Views: 165
  • DroidEditPro.apk
    3.6 MB · Views: 188
  • sample splash image and background.zip
    415.6 KB · Views: 106
  • sample loading images.zip
    16 KB · Views: 49
  • Opera Mini 7.5(35613)_src_sign.apk
    1.1 MB · Views: 101
Last edited:
Editing v file of Opera Mini 7.5(35613).apk

STEP 10.
Using Xplore or any other file manager, go to Opera Mini 7.5(35613)_src\assets\ and delete all v files with other language and resources files with other language.
image.png

image.png

image.png

image.png

STEP 11.
Using Xplore or any other file manager, go to Opera Mini 7.5(35613)_src\res\ and delete all values folders with other language.
image.png

image.png

STEP 12.
Prepare 3 PNG images:
01.png - Loading Image
02.png - Loading Bar Background
03.png - Loading Bar

Get this sample loading images.zip for reference.

STEP 13.
Connect the android device to computer and WATCH or DOWNLOAD the video "Editing v file of Opera Mini 7.5(35613)".
Do the same way as shown in the video.

STEP 14.
After editing the v file and disconnecting the Android device from the computer, open now the Apktool, navigate to the location of Opera Mini 7.5(35613)_src. Tap on it and select recompile. Wait until the recompiling has been finished.
image.png

image.png

image.png

image.png


Opera Mini 7.5(35613)_src.apk will be found in the same folder.
image.png


STEP 15.
After recompiling, tap on Opera Mini 7.5(35613)_src.apk and select sign. Wait until the signing has been completed.
image.png

image.png

image.png

image.png

>>>>====<<<<
MODIFICATION DONE!
image.png



INSTALL and ENJOY USING THE MODIFIED OPERA MINI 7.5(35613).APK
image.png

image.png

image.png

image.png


Download the actual modified Opera Mini 7.5(35613)_src_sign.apk that was used in this tutorial for reference.

Thank you for visiting the thread.


In case you have learned something from this tutorial, I hope that you would learn also to say "Thank you".
 
Last edited:
Editing v file of various versions of Opera Mini.apk

Reserved for editing v file (other versions)
 
Last edited:
Re: Editing v file of various versions of Opera Mini.apk

maraming maraming :thanks: po sir sa effort sa paggawa nitong napaka useful na knowledge na ni share nyo lalo na sa tulad kong Newbie More power sir Jayem! :salute:
 
Re: [TUT] Injecting Splash Img & BG into Default Opera Mini.apk = (XML Edit

Thanks dito pare....
 
Re: [TUT] Injecting Splash Img & BG into Default Opera Mini.apk = (XML Edit

Congrats pare galing galing nakaka admire mag mod kapag may new tut.thanks ng marami pare.
 
Last edited:
Re: [TUT] Injecting Splash Img & BG into Default Opera Mini.apk = (XML Edit

Sipag mo tol jay
salamat dito :nice:
 
Re: [TUT] Injecting Splash Img & BG into Default Opera Mini.apk = (XML Edit

Ok na sa decompile at recompile after injecting Not installed ano pa kaya solusyon dito?

Inuna kong mag inject tapos ginawa ko ang procedure,ganon pa rin bakit kaya pag nag iinject na ako not installed na nag cloned na rin ako after injecting gamit ang bytecode at apktool ganon pa rin.
 
Last edited:
Re: [TUT] Injecting Splash Img & BG into Default Opera Mini.apk = (XML Edit

Ok na sa decompile at recompile after injecting Not installed ano pa kaya solusyon dito?

Inuna kong mag inject tapos ginawa ko ang procedure,ganon pa rin bakit kaya pag nag iinject na ako not installed na nag cloned na rin ako after injecting gamit ang bytecode at apktool ganon pa rin.

Wag ka muna mag inject ng server pare, unahin mo muna yang procedure, then, lately mo na iinject.. one more thing, baka nakalimutan mo yung signing... please check it.
 
Re: [TUT] Injecting Splash Img & BG into Default Opera Mini.apk = (XML Edit

Sipag mo tol jay
salamat dito :nice:

@wapjar
Regarding your question via FB,
here are the screenshots of what you have done in xml files. Just compare it with the corrected xml files.

1. AndroidManifest.xml
With error:
androidmanifest01.png

Corrected:
androidmanifest02.png

----------
2. Public.xml
With error:
public_xml01.png

Corrected:
public_xml02.png

----------
3. Main.xml
With error:
main_xml01.png

Corrected:
main_xml02.png

----------
4. Style.xml
With error:
style_xml01.png

Corrected:
style_xml02.png


To all who want to try this procedure, I advise to use the same version as attached in this tutorial for you to follow much more easy. After you've learned this successfully, that's the time for you to try with other version.
 
Last edited:
Re: [TUT] Injecting Splash Img & BG into Default Opera Mini.apk = (XML Edit

Wag ka muna mag inject ng server pare, unahin mo muna yang procedure, then, lately mo na iinject.. one more thing, baka nakalimutan mo yung signing... please check it.

sa lumang apk ako nag clone dun ba ibig mong sabihin? or dun sa naka attached na apk v4?
 
Re: [TUT] Injecting Splash Img & BG into Default Opera Mini.apk = (XML Edit

sa lumang apk ako nag clone dun ba ibig mong sabihin? or dun sa naka attached na apk v4?

apkeditor, yung ginagamit natin na pangreplace ng icon at pang edit ng icon name... yun ang gamitin mo sa second cloning..
After mo maiclone using dalvik bytecode editor, open mo yung apkeditor then navigate ka dun sa location nung naclone ng dalvik ..long tap mo yun then select Clone...
bale 2x sya icoclone... gets mo?

Screenshot_2014_09_18_12_32_51.png
 
Last edited:
Re: [TUT] Injecting Splash Img & BG into Default Opera Mini.apk = (XML Edit

@wapjar
Regarding your question via FB,
here are the screenshots of what you have done in xml files. Just compare it with the corrected xml files.

1. AndroidManifest.xml
With error:
http://s29.postimg.org/fa6beg3ev/androidmanifest01.png
Corrected:
http://s27.postimg.org/etry1bvsz/androidmanifest02.png
----------
2. Public.xml
With error:
http://s30.postimg.org/humpraef5/public_xml01.png
Corrected:
http://s1.postimg.org/h5ppospbz/public_xml02.png
----------
3. Main.xml
With error:
http://s23.postimg.org/v67yqzbqj/main_xml01.png
Corrected:
http://s10.postimg.org/5g7lruomx/main_xml02.png
----------
4. Style.xml
With error:
http://s27.postimg.org/lupmyghtv/style_xml01.png
Corrected:
http://s1.postimg.org/9ysm6o3sv/style_xml02.png

To all who want to try this procedure, I advise to use the same version as attached in this tutorial for you to follow much more easy. After you've learned this successfully, that's the time for you to try with other version.

salamat sa tulong tol#jay naayos narin ang problema ko sa xml :thumbsup:
 
Last edited:
Re: [TUT] Injecting Splash Img & BG into Default Opera Mini.apk = (XML Edit

apkeditor, yung ginagamit natin na pangreplace ng icon at pang edit ng icon name... yun ang gamitin mo sa second cloning..
After mo maiclone using dalvik bytecode editor, open mo yung apkeditor then navigate ka dun sa location nung naclone ng dalvik ..long tap mo yun then select Clone...
bale 2x sya icoclone... gets mo?

http://s11.postimg.org/mvmnvr62b/Screenshot_2014_09_18_12_32_51.png

Gets na gets sir jay maraming salamat po sa malinaw na sagot :salute: ito din problema ko :slap: ngayon solve nah :thanks:
 
Re: [TUT] Injecting Splash Img & BG into Default Opera Mini.apk = (XML Edit

apkeditor, yung ginagamit natin na pangreplace ng icon at pang edit ng icon name... yun ang gamitin mo sa second cloning..
After mo maiclone using dalvik bytecode editor, open mo yung apkeditor then navigate ka dun sa location nung naclone ng dalvik ..long tap mo yun then select Clone...
bale 2x sya icoclone... gets mo?

http://s11.postimg.org/mvmnvr62b/Screenshot_2014_09_18_12_32_51.png

tol#jayem makitanong kolang kung anu ang sicret ng pag clone sa mga OM hundler pag katapos ininject ng xml maraming salamat :smoke:
 
Re: [TUT] Injecting Splash Img & BG into Default Opera Mini.apk = (XML Edit

tol#jayem makitanong kolang kung anu ang sicret ng pag clone sa mga OM hundler pag katapos ininject ng xml maraming salamat :smoke:
Aq din gusto ko din po matutunan yan sir jay, :thumbsup: my minod ako hundler na may reverse proxy di ko matapus tapus iba yung laman sa 7.5 specialy sa public xml. Salamat for sharing knowledge sir jay :salute:
 
Re: [TUT] Injecting Splash Img & BG into Default Opera Mini.apk = (XML Edit

Idol lupit mo talaga!!!!! thanks this very helpful tutorial!!!
 
Re: [TUT] Injecting Splash Img & BG into Default Opera Mini.apk = (XML Edit

sir It will be great if you post how to add images in speed dial of opera mini with PNG position guide.
 
Back
Top Bottom