[Q] Help! - XPERIA X8 Q&A, Help & Troubleshooting

Hello XDA!!
When I go to Settings>About Phone and then Press "Android Version" It will show me a picture and then if I touch the picture It show me text like "Zombie art created by..." I'm trying to find file with this text three days and I can't find it. Please if someone know in which apk and xml is this text PM me. I tried to find it in Settings.apk; SystemUI.apk and framework-res.apk without result. Thanks.

What did you check? Strings?
Sent from my X8 to your screen

Chris95X8 said:
What did you check? Strings?
Sent from my X8 to your screen
Click to expand...
Click to collapse
I checked all XML files in this three apks.
Sent from my X8 with Android 4.0.4 using XDA Premium

Maybe it's written with Java. Check the smali files.
Sent from my X8 to your screen

Ok thanks I will try it.
Sent from my X8 with Android 4.0.4 using XDA Premium

oke lets me try give the answer,
The zombie art picture located at \framework-res.apk\res\drawable-nodpi
with the name "platlogo.jpg" .
follow this step to decompile the framework-res.apk
1. download apk_manager_4.9 tool here
2. extract to your c:\
3. put your framework-res.apk to the c:\apk_manager_4.9\place-apk-here-for-modding folder.
4. go back to apk-manager folder then run the script.bat file.
5. type 22 then enter
6. type the number of your framework-res.apk file .
7. type 9 to start decompile the file.
8. after finish goto c:\apk_manager_4.9\projects\framework-res.apk\res\drawable-nodpi\ folder of apk_manager_4.9
9. thats it,, you will find the file with name platlogo.jpg

He wants to edit the string, not the image.
@OP
The notification type is a toast. I'm pretty sure it's in the smali files.
Sent from my X8 to your screen

Okay guys, after three days of searching this message I didn't find it I checked ALL smali and xml files in SystemUI.apk; Settings.apk and xml files in framework-res.apk (in this one I don't have smali files. Is it right or it is problem on my site ?) I checked all this files at least 2-3 times but without results. But anyway thank you for your help
EDIT: I have next question. If I edit "device_info_settings.xml" I get FC's on my phone. I can open Settings but if I touch on "About Phone" I get FC's. Did I something wrong ? I edited files, saved, then I compiled it and deleted resources.arsc and all xml's I edited. Everything works well but this one no. Please if someone know how to solve it please help.

Related

[Q]Change progress bar color

Hi guys,
im currently using netdrg`s sense theme http://forum.xda-developers.com/showthread.php?t=1048792
Now i changed all the green elements of the framework-res.apk to blue. Ive done everything so far, but i have no clue how to edit the color of the progress bar. (the bar when u change the volume, download something and so on...)
Ive heard that u have to edit an xml file, but as i have no clue about editing these files, i want to ask for a little favour.
Ive attached the xml file, and the color which i will use is 1761ab (hex).
So ill thank the guy who will do this for me a thousand times and i can share the theme with you afterwards!
lg l
In order to edit this xml file you need to decompile framework-res.apk. You can use apk_manager. Once the framework has been decompiled you can easily change the hex color for the progress bar (remember that the first 2 digit are for alpha channel). After that you need to recompile the framework. Actually there is another way to do that, but it‘s a bit triky as you need to modify the xmls file by using an hex editor..
If you want i can modify and compile the xml attached for you! Let me know m8
hey, thanks for your answer.
I put the framework-res.apk in the "place here for modding" folder, opened the script and hit 9 to decompile.
Then i edited all the values in the xml file in the "projects" folder and saved it.
Now i compile it, delete the file i edited in the "keep" folder and that other file mentioned.
Now i tried to apply the compiled framework_res.apk back to the system which results in a bootloop, what am i doin wrong?
soulcrash said:
hey, thanks for your answer.
I put the framework-res.apk in the "place here for modding" folder, opened the script and hit 9 to decompile.
Then i edited all the values in the xml file in the "projects" folder and saved it.
Now i compile it, delete the file i edited in the "keep" folder and that other file mentioned.
Now i tried to apply the compiled framework_res.apk back to the system which results in a bootloop, what am i doin wrong?
Click to expand...
Click to collapse
Ok, you are getting close to the solution
Once you got the unsignedframework.zip inside the place-apk-here-for-modding folder, you have to do a little trick in order to get it working...
Unzip all the content of the "unsignedframework-res.apk". You should have 5 objects (3 folders, 2 files).
Zip these files with Winrar/Winzip (whatever) but you must choose "No compression (store)" method to zip it.
Rename this zip into "framework-res.apk".
Put it into an update.zip and it should be OK to flash trough the recovery mode.
keep me updated

Get ics animations on any rom...!!!!

i am just copying and pasting capez's work all... credits goes to him
here's the guide...
1) First of all, you need to download and install APK MANAGER:
http://forum.xda-developers.com/showthread.php?t=695701
2) Extract with WinRAR, from the ROM you want to modify, the file framework-res.apk, that you can find in the directory \System\framework\.
3) Go to the apk manager folder and place the framework-res.apk file in the folder "place-apk-here-for-modding".
4) In the apk manager folder, double click on the file "Script". A cmd window will open.
5) Where it says "Please make your decision", write "22" and enter. Then enter "1" and enter. Then enter "9" and enter.
The script will decompile the framework-res.apk.
6) Now go to your apk manager folder, go to Projects\framework-res.apk\res\anim\.
In this folder there are the animations of your rom. They consist in some .xml files decompiled.
7) Download this:
http://www.mediafire.com/?1qjwtotg1r8umm1
8) Copy the files from the folder "anims" of the zip downloaded into the anim folder and you are asked to replace the files; choose yes. Then copy also the files from the folder "other_files" to the anim folder.
9) Now go to your apk manager folder, go to Projects\framework-res.apk\res\values\. Edit the file integers.xml and put these two lines under the line of "shortAnimTime":
<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>
Save.
10) Return to Script. Enter "11" and enter.
The script will rebuild the framework-res.apk.
11) You are asked if this is a system application. Enter "y" and enter. Then a second question appears. Enter newly "y".
12) Then after it processes, Don't press anything & DON'T CLOSE THIS WINDOW!!! A new folder "keep" is created in the apk manager folder. Go inside it and delete the file "resources.arsc". Now go inside keep\res\anim\ and delete every file with the same name as every file of the "anims" folder of the zip downloaded.
Then return to Script and press enter. It processes, then if everything went ok, in the folder "place-apk-here-for-modding" a file "unsignedframework-res.apk" is created. Copy it outside and rename it "framework_res.apk".
13) Now you can create a flashable zip or you can simply push it to your system.
CONGRATRULATIONS!!! YOU ARE DONE!!!
And if you think this tutorial is useful, CLICK THANKS!!!
Video of this mod working:
http://www.youtube.com/watch?v=vf1U_30Ngfk
digkong said:
13) Now you can create a flashable zip or you can simply push it to your system (but you have to sign the apk).
Click to expand...
Click to collapse
You don't sign system apks.
thanks just corrected it..
digkong said:
i am just copying and pasting capez's work all... credits goes to him
here's the guide...
1) First of all, you need to download and install APK MANAGER:
http://forum.xda-developers.com/showthread.php?t=695701
2) Extract with WinRAR, from the ROM you want to modify, the file framework-res.apk, that you can find in the directory \System\framework\.
3) Go to the apk manager folder and place the framework-res.apk file in the folder "place-apk-here-for-modding".
4) In the apk manager folder, double click on the file "Script". A cmd window will open.
5) Where it says "Please make your decision", write "22" and enter. Then enter "1" and enter. Then enter "9" and enter.
The script will decompile the framework-res.apk.
6) Now go to your apk manager folder, go to Projects\framework-res.apk\res\anim\.
In this folder there are the animations of your rom. They consist in some .xml files decompiled.
7) Download this:
http://www.mediafire.com/?1qjwtotg1r8umm1
8) Copy the files from the folder "anims" of the zip downloaded into the anim folder and you are asked to replace the files; choose yes. Then copy also the files from the folder "other_files" to the anim folder.
9) Now go to your apk manager folder, go to Projects\framework-res.apk\res\values\. Edit the file integers.xml and put these two lines under the line of "shortAnimTime":
<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>
Save.
10) Return to Script. Enter "11" and enter.
The script will rebuild the framework-res.apk.
11) You are asked if this is a system application. Enter "y" and enter. Then a second question appears. Enter newly "y".
12) Then after it processes, Don't press anything & DON'T CLOSE THIS WINDOW!!! A new folder "keep" is created in the apk manager folder. Go inside it and delete the file "resources.arsc". Now go inside keep\res\anim\ and delete every file with the same name as every file of the "anims" folder of the zip downloaded.
Then return to Script and press enter. It processes, then if everything went ok, in the folder "place-apk-here-for-modding" a file "unsignedframework-res.apk" is created. Copy it outside and rename it "framework_res.apk".
13) Now you can create a flashable zip or you can simply push it to your system.
CONGRATRULATIONS!!! YOU ARE DONE!!!
And if you think this tutorial is useful, CLICK THANKS!!!
Video of this mod working:
http://www.youtube.com/watch?v=vf1U_30Ngfk
Click to expand...
Click to collapse
Nice!!! I will give a try. Thanks!
digkong said:
thanks just corrected it..
Click to expand...
Click to collapse
Np Cool guide.
just testing,i'll let u know about result
edit 2 : sorry for the first edit i was mistaken,it works great
Probably better suired in Android themes and apps
good tutorial! But I suggest you to mention that IT NEEDS to resign the apk after the tutorial is finished....we need to take the META-INF from the res apk decompiled, then open the unsigned apk, delete its META-INF and paste the META-INF from the original framework-res.apk...otherwise it won't work!
Interesting, thanks.
Very nice, thanks for details.
memnoc said:
good tutorial! But I suggest you to mention that IT NEEDS to resign the apk after the tutorial is finished....we need to take the META-INF from the res apk decompiled, then open the unsigned apk, delete its META-INF and paste the META-INF from the original framework-res.apk...otherwise it won't work!
Click to expand...
Click to collapse
i didn't do that and it works for me :S
evanbigfan said:
i didn't do that and it works for me :S
Click to expand...
Click to collapse
Worked for me too without touching the META-INF
Sent from my HTC Desire HD using xda premium
evanbigfan said:
i didn't do that and it works for me :S
Click to expand...
Click to collapse
Yep, I trust you, and I was surprised too when the ROM doesn't boot cause resources apk usually don't need to be signed at all, but once I signed the frame everything work.. strange.. anyway don't care about it, the tutorial is very clear and well organized well done and Thanks
Inviato dal mio HTC Desire HD usando Tapatalk
memnoc said:
Yep, I trust you, and I was surprised too when the ROM doesn't boot cause resources apk usually don't need to be signed at all, but once I signed the frame everything work.. strange.. anyway don't care about it, the tutorial is very clear and well organized well done and Thanks
Inviato dal mio HTC Desire HD usando Tapatalk
Click to expand...
Click to collapse
thanks any way for the info ,it may be usful in other issues
Thanks for the tutorial, these animations are great However,
I flashed it on Runny 4.0, all the animations work, but when I adb pushed it to /system/framework the market force closed, and then when I rebooted all my accounts were gone?
i keep encountering a problem after I press 9.
"an error occured, please check the log"
then I press 21 to see
"java is not recognized as an internal or external command, operable program or batch file."
"could not find _________________" bunch of directories.
help~~
P00t said:
i keep encountering a problem after I press 9.
"an error occured, please check the log"
then I press 21 to see
"java is not recognized as an internal or external command, operable program or batch file."
"could not find _________________" bunch of directories.
help~~
Click to expand...
Click to collapse
http://www.java.com/en/download/help/path.xml
This will help
rayford85 said:
http://www.java.com/en/download/help/path.xml
This will help
Click to expand...
Click to collapse
ahhh that didnt work as well but i found the solution to it~ i had to search deeper into xda forum LOL
i got it working. i had to change the path.
P00t said:
ahhh that didnt work as well but i found the solution to it~ i had to search deeper into xda forum LOL
i got it working. i had to change the path.
Click to expand...
Click to collapse
Lol that's what the link was to show you how to setup your path, glad you got it
rayford85 said:
Lol that's what the link was to show you how to setup your path, glad you got it
Click to expand...
Click to collapse
Oh I thought that link was just to send me to the download link to JAVA.
im sorry. finally made the ICS ANI!

[Q] Need help with this apk please

Ok I like to change 1 icon in the apk and cant get it for some reason
Tried using APK Edit .. APK Manager .. but no luck
I get not implemented or corrupt file (which it isnt still using it)
Can anyone see if they can get this please and if so how to do it in the future so I and other users can see ...
Heres the apk I need changed : HERE
Here is the icon file I need to be in the drawable-hdpi folder : HERE
If anyone can help it would be appreciated
Im using my mobile right now, when i can use the computer(12 hrs to go) i will make it for you.
Ps: did u sign the apk
Sent from my GT-I9000 using XDA
apk is contacts from a rom and i want to change icon in it, so not sure if its signed.
I extracted it and uploaded it here with icon i wish to change if that helps...
..still cant get this
Sorry for lateness
But here it is
Thanks for that can you tell me how you did it please
It's a bit hard because i made it "the wrong way". Please read the hole post before doin something.
1. Download apkmanager zip
2. Extract to desktop.
3. Remove all the placeapkhereformodding but keep one.
4. Place the apk in the placeapkhere.....
5. Run the script, decompile the apk(option9), compile it (opt.11), it will give you an error. Press enter and it will ask you if it is a system apk or not. Press 1. Then it will ask you something else, press y. After that it will say to you to press enter.DONT DO THAT.
6. Go back to your desktop. You will see a file called keep. In that file edit your apk as you want it to be.
7. Go back to the script and press enter.
8. Sign the apk.
9. Take the apk from the placeapkhere...(signedxxx.apk)
I hope it gives you the compile errror XD.
Edit: if it doesn't give you the error it will still ask if it is a system apk or not. So just press 1 then y

How to.

Need help..
Sent from my GT-N7000
========================
Rom:
Leaked JB 4.1.2
Kernel:
Philz 2.7
========================
look for a theme in the theme section and flash it.
easy peasy.
extract systemUI.apk from your phone to PC
extract the apk using 7z
go to res/drawable-xhdpi folder.
look for the Icon of that BAR.
edit the picture to your liking (whatever color or make a new one of the same dimension with no background)
now
open the systemUI.apk using 7z (just open donot extract this time)
navigate to res/drawable-xhdpi folder.
drag and drop the modified picture to replace the old one. (names should be same)
push back to the /system/app folder and restart system UI or reboot.
**** make sure you need to have backup of the stock systemUI on the phone incase you have FCs
azzledazzle said:
look for a theme in the theme section and flash it.
easy peasy.
Click to expand...
Click to collapse
I'm not that lazy..I'm trying to make mw own theme
Sent from my GT-N7000
========================
Rom:
Leaked JB 4.1.2
Kernel:
Philz 2.7
========================
nokiamodeln91 said:
extract systemUI.apk from your phone to PC
extract the apk using 7z
go to res/drawable-xhdpi folder.
look for the Icon of that BAR.
edit the picture to your liking (whatever color or make a new one of the same dimension with no background)
now
open the systemUI.apk using 7z (just open donot extract this time)
navigate to res/drawable-xhdpi folder.
drag and drop the modified picture to replace the old one. (names should be same)
push back to the /system/app folder and restart system UI or reboot.
**** make sure you need to have backup of the stock systemUI on the phone incase you have FCs
Click to expand...
Click to collapse
What name of the icon? I cant fine it
Sent from my GT-N7000
========================
Rom:
Leaked JB 4.1.2
Kernel:
Philz 2.7
========================
check in framework-res.apk.. not sure. it used to be in lidroid-res.apk for themed ones.
found a few in framework like
button_onoff_indicator_on
btn_toggle_on.9
the shape is a bit diff so not sure
Doesn't a png that set the color.
It's just a .xml file that it need to edit
If I remember correct you can find it at systemUI/res/layout/tw_quick_setting_button.xml
Just edit textcolor value as your choice
Ciao
that only has the background color not the color when its active like in this case its green. can that be changed to blue by editing xml? png definitely changes it
Are you sure?
Hmmm will try it out
hey , i have extracted the systemui.apk using 7zip , then when i tried opening xml files using notepad++ it showed those stuff , can you help me ? : ) even oriflax modifications , opening his xml files showed me that too
You can't edit xml file like this. You need to decompile it using apk tool then edit the xml and recomplile
nokiamodeln91 said:
You can't edit xml file like this. You need to decompile it using apk tool then edit the xml and recomplile
Click to expand...
Click to collapse
thank you , i decompiled it , edited it and then while recompiling it it gave me hundreds of invalid resource directory errors ... i had to pull out classes.dex earlier but put back in after editing ... any ideas ?
Don't get. Dex file when using apk tool. Don't mod the apk using 7z . starts fresh

[GUIDE]Port Jelly Bean transition animations on EVERY ROM & EVERY PHONE

I wrote this tutorial that explains how to port Jelly Bean transition animations on EVERY ROM & especially on EVERY PHONE!!!.
1) First of all, you need to download and install APK MANAGER:
http://apkmultitool.com/?q=node/5
2) Extract with WinRAR, from the ROM you want to modify, the file framework-res.apk, that you can find in the directory \System\framework\.
3) Go to the apk manager folder and place the framework-res.apk file in the folder "place-apk-here-for-modding".
4) In the apk manager folder, double click on the file "Script". A cmd window will open.
5) Where it says "Please make your decision", write "22" (Set current project) and enter. Then enter "1" (to choose the first apk) and enter. Then enter "9" (Decompile apk) and enter.
The script will decompile the framework-res.apk.
6) Now go to your apk manager folder, go to projects\framework-res\res\anim\.
In this folder there are the animations of your rom. They consist in some .xml files decompiled.
7) Download this:
http://www.mediafire.com/download.php?8u5y88ais0awj1r
8) Copy the files from the folder "anim" of the zip downloaded into the anim folder and you are asked to replace the files; choose yes.
9) Now go to your apk manager folder, go to projects\framework-res\res\values\. Edit the file integers.xml.
Modify the values in those lines:
Code:
<integer name="config_shortAnimTime">150</integer>
<integer name="config_mediumAnimTime">300</integer>
<integer name="config_longAnimTime">400</integer>
to:
Code:
<integer name="config_shortAnimTime">200</integer>
<integer name="config_mediumAnimTime">400</integer>
<integer name="config_longAnimTime">500</integer>
and add these just below:
Code:
<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>
Save.
10) Return to Script. Enter "11" (Compile apk) and enter.
The script will rebuild the framework-res.apk.
11) You are asked if this is a system application. Enter "n" and enter.
12) Go to the folder "place-apk-here-for-modding" delete the file "unsignedframework-res.apk", click with the right mouse button on "framework-res.apk" and select "7zip > Open file", delete the folder "res" and "resource.arsc", go to the folder "projects\framework-res\build\apk\" select the folder "res" and the "resource.arsc", drag to zip and close.
13) Ready, now just replace.
CONGRATRULATIONS!!! YOU ARE DONE!!!
And if you think this tutorial is useful, CLICK THANKS!!!
P.S.: If you think that this post can help or interest people of other forums (with other devices), please share this post
Credits: Dinhodroid
Thanks nice guide and animations
Sent from my HTC Explorer A310e using xda premium
Thanks a lot
Sent from my GT-S5830 using Tapatalk 2
Good work. This is being used on my custom rom called ICS Redux for the Sidekick 4G! :good:
AW: [GUIDE]Port Jelly Bean transition animations on EVERY ROM & EVERY PHONE
Does that also work for gingerbread ??
I scratch that. I keep getting an error when recompiling.
KageBeast said:
I scratch that. I keep getting an error when recompiling.
Click to expand...
Click to collapse
that has nothing to do with this.
mv_style said:
that has nothing to do with this.
Click to expand...
Click to collapse
So me trying to put the animations on my phone and getting error when recompiling the framework-res has nothing to do with this? I believe you are wrong sir.
KageBeast said:
So me trying to put the animations on my phone and getting error when recompiling the framework-res has nothing to do with this? I believe you are wrong sir.
Click to expand...
Click to collapse
Can u compile and recompile other apps?
hey OP have u taken the original modders permissions to port here ?
mv_style said:
Can u compile and recompile other apps?
Click to expand...
Click to collapse
Yeah I can but i got this work. I had issues compiling the first time because i was also editing another xml but it worked the 2nd time.

Categories

Resources