[GUIDE][MOD] How to change {Pop Up Message} at Android Version - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

{
"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"
}
I just wanna share how to edit smali and change a pop message when you clicks again and again at Android Version :fingers-crossed:
Example
To change 'zombie art by Jack Larson' to yours text for example 'Ice Cream Sandwich' to have a fully changed Ginger Bread to????
1.Basic knowledge how to compile/decompile using Apktool/Apkmanager/
Tickle My Android(I try it and so easy) Credits to Ticklefish
2.Brain and brave :laugh:
Method :
-Decompile framework.jar
-Find PlatLogoActivity.xml in smali/com/android/internal/app/
-Open with Notepad++(Windows) or gedit(Linux)
-Find this line ["Zombie art by Jack Larson" for GB] ["Ice Cream Sandwich" for ICS] ["Jelly Bean" for JB]
-Change this text to yours "WHATEVER"
-Save and close file
-Recompile your framework.jar file
-Make an CWM package and install/flash it
-Or replace it with Root Explorer or other app and change permissions to 644(rw-r--r--) and restart your phone
-Tell me the Result
CREDITS TO : ALUCARD1989PL For his info thread :good:
Original Thread
http://forum.xda-developers.com/showpost.php?p=34563875&postcount=3

Reserved

I'm not a master but it's good for ya

Error with Decompiling please help me:
Code:
I: Baksmaling...
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at org.jf.dexlib.Code.Format.Instruction31i$Factory.makeInstruction(Inst
ruction31i.java:82)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:85)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
at org.jf.dexlib.Item.readFrom(Item.java:77)
at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.dexlib.DexFile.<init>(DexFile.java:267)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:73)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)

Upload your framework.jar
and i try to do it for you and/or pm me what letter you want to replace
MicQo said:
Error with Decompiling please help me:
Code:
I: Baksmaling...
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at org.jf.dexlib.Code.Format.Instruction31i$Factory.makeInstruction(Inst
ruction31i.java:82)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:85)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
at org.jf.dexlib.Item.readFrom(Item.java:77)
at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.dexlib.DexFile.<init>(DexFile.java:267)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:73)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
Click to expand...
Click to collapse

How to change background :laugh:

How you describe? Transparent or replacing with wallpaper?
ReadReadz said:
How to change background :laugh:
Click to expand...
Click to collapse

Hey @dzolcp are you know how to change CyanogenMod Pop Up Message too?

ReadReadz said:
How to change background :laugh:
Click to expand...
Click to collapse
if you wanna change that it is in systemui.apk/drawable-nodpi

yamin8000 said:
if you wanna change that it is in systemui.apk/drawable-nodpi
Click to expand...
Click to collapse
No. That's Jellybean icon, not the background
via XDA for Timescape™

Diaz1999 said:
Hey @dzolcp are you know how to change CyanogenMod Pop Up Message too?
Click to expand...
Click to collapse
I'll re-check again for you

Could you make pop up message for zellycream rom and instal with cwm please
Sent from my WT19i using xda app-developers app

nym_ardika said:
Could you make pop up message for zellycream rom and instal with cwm please
Sent from my WT19i using xda app-developers app
Click to expand...
Click to collapse
I could do that. give me your framework.jar and change to what???

dzolcp said:
I'll re-check again for you
Click to expand...
Click to collapse
Are you've done with the re-checkment

I was searching for this guide sir thank you :good:

Awesome One Sir

Related

[Q] - which file should edit in "framework-res.apk" ?

Hello devs ,
i want to ask u if i want to change any thing in framework-res.apk which file should i edit ?
i don't want to change images , i mean if i want to change/delete any thing in my systemUI which depends on "framework-res.apk" which file should i edit after Decompiling the "framework-res.apk" ?
thank u
SORRY , WRONG SECTION !!!!!!!
plz move it
there are only .pngs and .xmls in framework so you must look into .xmls in /drawable , /layout , /xml and find something interesting for you
godlesplay said:
there are only .pngs and .xmls in framework so you must look into .xmls in /drawable , /layout , /xml and find something interesting for you
Click to expand...
Click to collapse
thanks sir , how to open .xml files ?
Mohamed Hashem said:
thanks sir , how to open .xml files ?
Click to expand...
Click to collapse
Decompile the file and open with 'notpad++'
Sent from my SK17i using xda premium
sandy7 said:
Decompile the file and open with 'notpad++'
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
thanks sandy7 , but do u mean decompile the .xml file ?
when i edit any .xml file with Note++ i find this :
{
"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"
}
any help guys ?
Hmmm...decompile framework-res.apk first before you can edit any xml files using Notepad++....if you don't decompile it then you will see those kind of xml like on your screenshot....
for compiling and decompiling you better use TickleMyAndroid....its good for beginner or even expert user cause its the most easy tool to use....
iPusak Gaoq™ said:
Hmmm...decompile framework-res.apk first before you can edit any xml files using Notepad++....if you don't decompile it then you will see those kind of xml like on your screenshot....
for compiling and decompiling you better use TickleMyAndroid....its good for beginner or even expert user cause its the most easy tool to use....
Click to expand...
Click to collapse
Thanks sir, will try it tomorrow <3
Hope i've helped you
Mohamed Hashem
Check this great guide by @stanlin salu - http://forum.xda-developers.com/showthread.php?t=2011254 it may help u
Cheers,
AJ
Abhinav2 said:
Check this great guide by @stanlin salu - http://forum.xda-developers.com/showthread.php?t=2011254 it may help u
Cheers,
AJ
Click to expand...
Click to collapse
Thx sir
Hope i've helped you
Mohamed Hashem

CM10 SystemUI With 0.0K/s Meter For MDPI

requirements
CM10 rom in mini/minipro/LWW/avtive
---------------------------------------------------
installation
plz make backup
rename it to systemui.apk and move it to system/app and apply permissions
and reboot
---------------------------------------------------
screenshots in second post
credit to @Dzol Cp for his guide in here
{
"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"
}
Link to hdpi
SystemUI is good , But I don't want the 0.0K/s , Plz can you tell me how to remove it ?
THx
Mohamed Hashem said:
SystemUI is good , But I don't want the 0.0K/s , Plz can you tell me how to remove it ?
THx
Click to expand...
Click to collapse
I modded cm10 systemui you can use cm10 systemui
yamin8000 said:
I modded cm10 systemui you can use cm10 systemui
Click to expand...
Click to collapse
Bro , I Want Your SystemUI , But Without 0.0K/s Meter
Mohamed Hashem said:
Bro , I Want Your SystemUI , But Without 0.0K/s Meter
Click to expand...
Click to collapse
my systemui is from stock cm10 but i used xperia z theme for my rom that changed systemui icons:silly:
yamin8000 said:
my systemui is from stock cm10 but i used xperia z theme for my rom that changed systemui icons:silly:
Click to expand...
Click to collapse
oh
Plz give me this theme , sorry and thanks alot
work...thanks dude... pressed
Please help!
I am using Cm10.2. I have decompiled systemUi. Can you please tell me how can I add 0.00KB/s meter??
Please reply. :crying:
tashik19 said:
I am using Cm10.2. I have decompiled systemUi. Can you please tell me how can I add 0.00KB/s meter??
Please reply. :crying:
Click to expand...
Click to collapse
check this
there is guide for that
Please reply!
yamin8000 said:
check this
there is guide for that
Click to expand...
Click to collapse
I have not found those line in res> layout> status_bar.xml.
Look at my status_bar.xml
Please tell me what will I do?? :crying:
sent from xperia mini legacy xperia cm10.2
tashik19 said:
I have not found those line in res> layout> status_bar.xml.
Look at my status_bar.xml
Please tell me what will I do?? :crying:
sent from xperia mini legacy xperia cm10.2
Click to expand...
Click to collapse
maybe guide is not compatible with cm10.2
check orginal poster of that guide
Can you please make a version with center clock and no kb/s meter? If you don't have enough time, just tell me how and I will try myself.
Sent from my Xperia Mini using XDA Premium 4 mobile app
giannism13 said:
Can you please make a version with center clock and no kb/s meter? If you don't have enough time, just tell me how and I will try myself.
Sent from my Xperia Mini using XDA Premium 4 mobile app
Click to expand...
Click to collapse
there's a app called ticklefish
you can do everything with your statusbar with that
thxxxx
thxxx bro i was need it

[GUIDE] how to change plat logo text

for who do not know, this tutorial to change the text "Zombie Art by Jack Larsson" when we tap quickly on the android version
Stuff:
1. Tools to decompile/compile jar file like apk multitool or baksmali manager
2. framework.jar
Steps:
1. decompile framework.jar
2. go to com/android/internal/app/PlatLogoActivity.smali
3. find Zombie art by Jack Larson
4. change to what you want
5. save
6. compile
7. push/flash via cwm
nb: to change the image of platlogo, go to framework-res.apk/res/drawable-nodpi/platlogo.jpg and replace with the image what you want
{
"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"
}
Nice Guide!! Helpful
+1
EDIT: Mention Credits!! Or The Source....
EDIT 2: Already New The Trick... I Was Posting It On Mini Forums!
credit? for my self. I discovered this when I was to edit framework.jar
in general thread i have shows the guide days ago,lol.anyway here is better,maybe.
-CALIBAN666- said:
in general thread i have shows the guide days ago,lol.anyway here is better,maybe.
Click to expand...
Click to collapse
+1 ^
its been der in general section from ages....
where's the thread?
Good guide:good:
nice guide bro . . . :good:
i like it . .
+1
tanx for article
ocoot said:
for who do not know, this tutorial to change the text "Zombie Art by Jack Larsson" when we tap quickly on the android version
Stuff:
1. Tools to decompile/compile jar file like apk multitool or baksmali manager
2. framework.jar
Steps:
1. decompile framework.jar
2. go to com/android/internal/app/PlatLogoActivity.smali
3. find Zombie art by Jack Larson
4. change to what you want
5. save
6. compile
7. push/flash via cwm
nb: to change the image of platlogo, go to framework-res.apk/res/drawable-nodpi/platlogo.jpg and replace with the image what you want
Click to expand...
Click to collapse
Nice article
it will be helpful if you add steps to compile/recompile jar
@op can I know what is your font plz
And in hyperion 8 GM there is nimation if we press the android version How can i apply this?
balamurugan94 said:
Nice article
it will be helpful if you add steps to compile/recompile jar
Click to expand...
Click to collapse
you can search that how to compile/decompile jar files
GalKill said:
@op can I know what is your font plz
And in hyperion 8 GM there is nimation if we press the android version How can i apply this?
Click to expand...
Click to collapse
i'm not use galaxy y gt-s5360 again. sorry i can't help you
(/QUOTE)i'm not use galaxy y gt-s5360 again. sorry i can't help you [/QUOTE]
A least can yoi give me the font? Thanks
GalKill said:
(/QUOTE)i'm not use galaxy y gt-s5360 again. sorry i can't help you
Click to expand...
Click to collapse
A least can yoi give me the font? Thanks [/QUOTE]
i lost my phone, so i don't know what name of font i use

Adding Wifi Location Based on your Settings.apk

Hi friends and visitors xda. Well I'll pass on to you a bit adding apks in your Settings. I tried to do the best possible way to understanding all, hope you like it and read it carefully. Let's start
Requirements:
Virtuous Ten Studio
Apktool
Install Framework-res.apk
Installation SemcGenericUxpRes.apk
This tutorial works on Custom roms and stock roms based firmware 587. Devices MDPI and HDPI! just what we need to have is a little attention to codes in public.xml file
In my opinion the VST and most complete program for editing in general .. then the procedure was done for him!
*Decompile your Settings.apk
*After decompile ... check the folder >>>> res / values ​​/ strings.xml <<<< edit it. See the image below
*Add the code below to your Strings.xml.
<string name="loc_based_wifi">Location Based Wi-Fi</string>
Click to expand...
Click to collapse
{
"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"
}
*Now open Public.xml is add the following code below
<public type="string" name="loc_based_wifi" id="0x7f0b0656" />
Click to expand...
Click to collapse
*Then open the folder and xml file settings_headers proucure the open and see where the code will be added below!
<header android:icon="@drawable/ic_wifi_lock_signal_4" android:title="@string/loc_based_wifi">
<intent android:targetPackage="com.sonyericsson.android.locationbasedwifi" android:action="android.intent.action.MAIN" android:targetClass="com.sonyericsson.android.locationbasedwifi.LbwPreferenceActivity" />
</header>
Click to expand...
Click to collapse
*Now place the images in the following folder drawable-MDPI
*Once added the images in drawable-MDPI folder ... You will compile your Settings.apk according to the program you are using for editing. In my case as I use the VST I compile my file in Build all.
Compiling ...
If all goes well will compile the following message appears telling you that everything went well and without errors!
Screenshot Xperia Mini Pro
Installation mode
Install with the flashable zip apk placing the Wifi Settings and location-based app folder in the zip with Root explorer or giving the permissions [rw-r--r--]
Ready. I hope everything goes well in the settings of you ... look carefully the hexadecimal code in public! is and of course, give me a Thanks kkkk
Credits >> @saqib nazm / @M4ST3R-V
Until next time friends.
Great, i will try on my touchwiz based rom for s3 mini :laugh: :good:
JynAlek said:
Great, i will try on my touchwiz based rom for s3 mini :laugh: :good:
Click to expand...
Click to collapse
Thank you. Test and answer me to know if everything went right.
if this tutorial can work on a custom rom cyanogen base cm10.1 ...
D2Y aka E said:
if this tutorial can work on a custom rom cyanogen base cm10.1 ...
Click to expand...
Click to collapse
I have not tested ... but I think yes you can :good:
Marília de Oliveira said:
I have not tested ... but I think yes you can :good:
Click to expand...
Click to collapse
okay I'll try my review later if this works on a custom rom that I use
D2Y aka E said:
okay I'll try my review later if this works on a custom rom that I use
Click to expand...
Click to collapse
Okay more and you get better and change the original settings.apk from the beginning. anything send me your settings if you do not get. good luck :good:

{JB} [Share] Tutorial: Add Seconds to Statusbar Clock

Thanks to GerryS2 from the SII forum, I found out how to add seconds to the clock in the statusbar. I am not sure if this will work in anything other than the stock SystemUI but you can try.
First download the rar attached. It contains the needed smali files.
Decompile your SystemUI.apk and put the three files in the rar into:
smali/com/android/systemui/statubar/policy/
Next go the res/layout/ and edit the tw_status_bar.xml with notepad++
Find: <com.android.systemui.statusbar.policy.Clock
and change to:
<com.android.systemui.statusbar.policy.DigitalClock
Recompile your SystemUI and put it in System/Apps. You can overwrite the original or rename the original to back it up (I suggest that)
Here is a screenshot:
{
"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"
}
Here is the rar thanks to gerryS2
View attachment DigitalClock.rar
Enjoy!
As usual I am not responsible for anything that goes wrong in doing this, as it is your choice to try it. Just make sure you know how to use apktool or another program for decompiling/compiling.
Any screenshot?
Send to my Samsung Galaxy S Advance v4.1.2 LQL Kernel Cocore8.2 using xda-developer app
Thanks for sharing mate!
What I also want is a way to ether Enable or Disable with a toggle in Settings :good:
Cyberdog78 said:
Any screenshot?
Send to my Samsung Galaxy S Advance v4.1.2 LQL Kernel Cocore8.2 using xda-developer app
Click to expand...
Click to collapse
Screenshot is there...
Sami Kabir said:
Thanks for sharing mate!
What I also want is a way to ether Enable or Disable with a toggle in Settings :good:
Click to expand...
Click to collapse
You can check out the original thread. I think he has a toggle in the taskbar even... not sure how to do a toggle in settings myself but wish I did too. Click thanks if you don't mind also hehehe....
Easier way to have seconds display on clock, download the XuiMod, it is an exposed module. It has the option to enable second in clock
Here is the link to it, http://forum.xda-developers.com/showthread.php?t=2477558
Nice
Sent from my GT-I9070 using xda app-developers app
Recompiling "SystemUI.apk" With Original Signature,
in work area "_WorkArea1", using "apktool_2.0.0.jar"
With Tickle My Android 10.4.1.
(tinyurl.com\ticklemyandroid)
----------------
I: Using Apktool 2.0.0
I: Smaling smali folder into classes.dex...
..\_WorkArea1\_working\SystemUI.apk\smali\com\android\systemui\statusbar\policy\DigitalClock$1.smali[27,4] Error for input '.parameter': Invalid directive
..\_WorkArea1\_working\SystemUI.apk\smali\com\android\systemui\statusbar\policy\DigitalClock$1.smali[100,15] no viable alternative at input 'now'
..\_WorkArea1\_working\SystemUI.apk\smali\com\android\systemui\statusbar\policy\DigitalClock$1.smali[108,15] no viable alternative at input 'next'
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/systemui/statusbar/policy/DigitalClock$1.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:71)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:55)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:371)
at brut.androlib.Androlib.buildSources(Androlib.java:298)
at brut.androlib.Androlib.build(Androlib.java:282)
at brut.androlib.Androlib.build(Androlib.java:256)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
----------------
Recompile Not Successful!
richard.elgh said:
Recompiling "SystemUI.apk" With Original Signature,
in work area "_WorkArea1", using "apktool_2.0.0.jar"
With Tickle My Android 10.4.1.
(tinyurl.com\ticklemyandroid)
----------------
I: Using Apktool 2.0.0
I: Smaling smali folder into classes.dex...
..\_WorkArea1\_working\SystemUI.apk\smali\com\android\systemui\statusbar\policy\DigitalClock$1.smali[27,4] Error for input '.parameter': Invalid directive
..\_WorkArea1\_working\SystemUI.apk\smali\com\android\systemui\statusbar\policy\DigitalClock$1.smali[100,15] no viable alternative at input 'now'
..\_WorkArea1\_working\SystemUI.apk\smali\com\android\systemui\statusbar\policy\DigitalClock$1.smali[108,15] no viable alternative at input 'next'
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/systemui/statusbar/policy/DigitalClock$1.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:71)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:55)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:371)
at brut.androlib.Androlib.buildSources(Androlib.java:298)
at brut.androlib.Androlib.build(Androlib.java:282)
at brut.androlib.Androlib.build(Androlib.java:256)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
----------------
Recompile Not Successful!
Click to expand...
Click to collapse
What phone do you have and what version of android is on it?
bobfrantic said:
What phone do you have and what version of android is on it?
Click to expand...
Click to collapse
Thanks, but I solved it.
Sent from my GT-I8190 using XDA Free mobile app

Categories

Resources