[Q] Sony app modification - Xperia Z2 Q&A, Help & Troubleshooting

Hi guys,
I recently saw that Sony had releases "music" beta app.. Now I love the app but I did not like the icon and "music" text.
Basic searching and I came across ApkTool and I did all I can..
I rebuilt the Apk but there seems to be either "application not installed" error or "error parsing package" error.
I tried using signapk also tried moving the META-INF from orginal Apk to my modded one..
Can u please tell me if I am missing any steps or am I going wrong anywhere.

i have old walkman icon in latest beta.
when i try to decompile the apk it's not succesful.
if you want to change the app name you should decompile the apk,
go to res => values => strings.xml,
open it with notepad++ &
search after this
Code:
<string name="music_app_action_bar_title_txt">Music</string>
<string name="music_app_name_txt">Music</string>
change it to
Code:
<string name="music_app_action_bar_title_txt">Walkman</string>
<string name="music_app_name_txt">Walkman</string>
save changes, recompile, sign & test if it works

axaitechie said:
Hi guys,
I recently saw that Sony had releases "music" beta app.. Now I love the app but I did not like the icon and "music" text.
Basic searching and I came across ApkTool and I did all I can..
I rebuilt the Apk but there seems to be either "application not installed" error or "error parsing package" error.
I tried using signapk also tried moving the META-INF from orginal Apk to my modded one..
Can u please tell me if I am missing any steps or am I going wrong anywhere.
Click to expand...
Click to collapse
can you try this?
old icon and in some languages is it renamed into walkman

@MysticEnforcer
Yes I have done the exact same thing.. The problem seems to be with unpacking.. When I repack I dont see same folder names.. More over I guess the usual signing wont work.. They have some sort of Sony certificates..

MysticEnforcer said:
can you try this?
old icon and in some languages is it renamed into walkman
Click to expand...
Click to collapse
@MysticEnforcer... Nope..I got the app not installed error...

i will try it with an emulator

@MysticEnforcer Thanks a lot bro..let me know if its working

with kitkat it works great
atm i have just a z1 & z2 both with kitkat
*edit*
superusermod installed/activated?
lucky patcher or xperia xposed
signature check disabled?
lucky patcher

MysticEnforcer said:
with kitkat it works great
atm i have just a z1 & z2 both with kitkat
*edit*
superusermod installed/activated?
lucky patcher or xperia xposed
signature check disabled?
lucky patcher
Click to expand...
Click to collapse
Nope..I am trying installing it on Xperia E1 dual running 4.4.2 sicne my z2 is o lollipop
Bro can u tell me why superuser mod or lucky patcher?
The app is not getting installled at all.
I have attached the apk i made. could you tell me if it is working?

BDFreak said:
What is this? Let me explain you. It will Bypass the signature checking of sony. Sometimes when we mod any system app and put it back in to system with correct permission but the app doesn't work or doesn't install or force closes. Or Some of the apps from other sony device like Z1, Z Ultra, Z etc. are not installing in our phone even we put them in system with correct permission but they don't work. Most of the time these problems are happening because of signature checking.
Click to expand...
Click to collapse
lucky patcher brings a xposed module where you can activate signature verification always true, disable .apk signature verification & disable signature verification in package manager.
you don't need to modify your services.jar etc
installed your modded apk as a normal app & works

@MysticEnforcer bro u made my day... Thanks a ton for alll the help

no problem :good:

Related

Theme Chooser

Guys, it's possible to install this app on the stock 2.3.3? If yes can i have the apk file?
Thanks
With the search i have founded just the theme.apk, but no the teme chooser.apk for the stock rom.
apk , file possible u can get apk file inside of arc mod, it is inistalling but have problem
mundy725 said:
apk , file possible u can get apk file inside of arc mod, it is inistalling but have problem
Click to expand...
Click to collapse
devs got it but it only changes the wallpaper.in arc it changes whole system UI
ok, understand.....
josephnero said:
devs got it but it only changes the wallpaper.in arc it changes whole system UI
Click to expand...
Click to collapse
i know ,maybe in future they will find other way short way )
Excuse me, but if I choose the wallpaper is a voice: "select motives", but if I press this option, this message appears: "no application is able to perform this action." Do you know why?
I remind you that I have gingerbread stock rom

Need help editing fw-res

Can anyone please direct me to the correct tutorial(or similar) on how to modify framework-res.apk files of 2011 xperias like St15i,st18i, etc.. ????
I have been Here but it is for the earlier xperias. Does it apply to today's xperias also ???
decompile apk using apkmanager , edit files and zip.
install apkmanager first and you will get to know everything, no need for a tutorial.
metalrawk said:
decompile apk using apkmanager , edit files and zip.
install apkmanager first and you will get to know everything, no need for a tutorial.
Click to expand...
Click to collapse
I'm using Apk Multi tool, since Apk manager is no longer supporting.
My problem is that the system ui apk i have is from a custom rom(Hybrom v11) which has control panel in the notification area.
Now when i'm decompiling the system ui.apk i get an error in apk tool, an error too technical in the log for me to understand.
I get an error in Apk Manager 4.9 too probably the same as apk multi tool.
So if error occurs some part of the apk is not decompiled right ?
If it is not decompiled correctly how am i going to edit the xmls and recompile it ??
systemui.apk needa dependencies to be decompiled. check there will be an option of decompiling apk with with dependency. when it asks for dependency file, point it to framework-res.apk
metalrawk said:
systemui.apk needa dependencies to be decompiled. check there will be an option of decompiling apk with with dependency. when it asks for dependency file, point it to framework-res.apk
Click to expand...
Click to collapse
Just now did that. But apk tool says that framw-res is not the dependent apk. So what is the solution ??
decompile it without dependency and post log here.
Strange now i'm not getting any error . I really had that problem today morning. Thanks for Prompt replies prateek
Any way one off topic question . Can you tell me how to mod power menu. I want to add reboot and recovery in power menu for my st15i . Do i have to add images for it ??
its not in systemUI afaik. there is other file I forgot its name.
metalrawk said:
its not in systemUI afaik. there is other file I forgot its name.
Click to expand...
Click to collapse
Currently i'm refering This thread. It says I have to edit fw-res and Android.policy.jar . Is that method applicable to Xperia 2011 devices ??
crazyadmit said:
Currently i'm refering This thread. It says I have to edit fw-res and Android.policy.jar . Is that method applicable to Xperia 2011 devices ??
Click to expand...
Click to collapse
yes it will work

[Q] How to remuve menus from settings.apk?

i want to ask if any body tried already to remove menus from settings like i want to hide the about phone on stock settings.apk deodexed on jb 4.2 i want to get rid of some menus in my settings i ported dakele os to mtk6589 so i would like to ask if how to? since it is a ported rom some of the menus are not a feature of my stock rom and i want to hide or remove them just to prevent boot loop for example like this in the attachment below i want to get rid of the ad block or sensor_cali .. ..
i badly need help kinda excited to release my ported rom hehe
TIA:good::fingers-crossed:
uppdate: ive done some experement in settings_header.xml i tried to change the name of about phone to phone only and it works so my conclusion is settings_headers changes the appearance of the settings menu
I have not used ICS or JB much but it's possible.
I know exact process of how to do that on GB but not ICS. You'll have to decompile Settings.apk and look for the xml which controls the layout of app.
iamareebjamal said:
I have not used ICS or JB much but it's possible.
I know exact process of how to do that on GB but not ICS. You'll have to decompile Settings.apk and look for the xml which controls the layout of app.
Click to expand...
Click to collapse
yes i think its the settings.header yet everytime i change something in that xml,recompile success, and push my mooded settings but the problem is it wont open systemUI stops everytime i try to open settings from the noti. bar and there's no icon for settings in the drawer ive check the permission its rw-r-r and its correct . ive also tried drag and drop signing still the same problem
marc2777 said:
yes i think its the settings.header yet everytime i change something in that xml,recompile success, and push my mooded settings but the problem is it wont open systemUI stops everytime i try to open settings from the noti. bar and there's no icon for settings in the drawer ive check the permission its rw-r-r and its correct . ive also tried drag and drop signing still the same problem
Click to expand...
Click to collapse
Which tool are you using to compile apps? And System apps don't need to be signed. Maybe that's the problem.
If you want, you can check out Ultimate Guide in Android Development Section which shows how to correctly compile system apps. Its sticky(noun, not an adjective ) there
iamareebjamal said:
Which tool are you using to compile apps? And System apps don't need to be signed. Maybe that's the problem.
If you want, you can check out Ultimate Guide in Android Development Section which shows how to correctly compile system apps. Its sticky(noun, not an adjective ) there
Click to expand...
Click to collapse
sorry gotta bad english here tnx gonna check it out
marc2777 said:
sorry gotta bad english here tnx gonna check it out
Click to expand...
Click to collapse
editing the xmls dose not change anything any suggestions but using apk multi tool works it didnt cause any systemui fc and the settings is properly installed but as i said as i edit xml it didnt change anything in the setting menus
marc2777 said:
editing the xmls dose not change anything any suggestions but using apk multi tool works it didnt cause any systemui fc and the settings is properly installed but as i said as i edit xml it didnt change anything in the setting menus
Click to expand...
Click to collapse
Then maybe that xml doesn't change it
Or, did you delete the modded files from keep folder?
marc2777 said:
editing the xmls dose not change anything any suggestions but using apk multi tool works it didnt cause any systemui fc and the settings is properly installed but as i said as i edit xml it didnt change anything in the setting menus
Click to expand...
Click to collapse
Are you extracting the resources.arsc from the new apk and dropping it back again after compiling?
XperienceD said:
Are you extracting the resources.arsc from the new apk and dropping it back again after compiling?
Click to expand...
Click to collapse
since im using multi tool i dont know if that resource.asrc is original from my original apk for example i already compiled my modded settings.apk shud i keep the resource.asrc or shud i get the resource.asrc from the original and unmodded settings.apk?
1757 fuchet
iamareebjamal said:
Then maybe that xml doesn't change it
Or, did you delete the modded files from keep folder?
Click to expand...
Click to collapse
ive read alot of tuts on how to add apps on settings menu yes it is possible since it is possible to add then maybe it is possible to delete ive tried to reverse the tuts on adding to delete the menus specially on the settings_header.xml and strings tried to edit those xmls after editing recompile i directly push it to my phone i tried to push unsigned and signed apks yet i get same results nothing change i got a feeling that resource.asrc has something to do with this
marc2777 said:
ive read alot of tuts on how to add apps on settings menu yes it is possible since it is possible to add then maybe it is possible to delete ive tried to reverse the tuts on adding to delete the menus specially on the settings_header.xml and strings tried to edit those xmls after editing recompile i directly push it to my phone i tried to push unsigned and signed apks yet i get same results nothing change i got a feeling that resource.asrc has something to do with this
Click to expand...
Click to collapse
If you've read my guide, you would know that you'll have to add resources.arsc from new app to old app and then push old app to your phone
iamareebjamal said:
If you've read my guide, you would know that you'll have to add resources.arsc from new app to old app and then push old app to your phone
Click to expand...
Click to collapse
can you lead mo to ur link/? so this means the created resources.asrc from my mooded apk will be transfered to my original apk am i ryt? and ill push my old apk ?
marc2777 said:
can you lead mo to ur link/? so this means the created resources.asrc from my mooded apk will be transfered to my original apk am i ryt? and ill push my old apk ?
Click to expand...
Click to collapse
Here you go
http://forum.xda-developers.com/showthread.php?t=2326393
I hope its good enough to make it clear
iamareebjamal said:
Here you go
http://forum.xda-developers.com/showthread.php?t=2326393
I hope its good enough to make it clear
Click to expand...
Click to collapse
tnx im reading this but as i check my log something is weird in the res forlder of settings.apk since this is a ported rom there are some folders that multi tool cant read
marc2777 said:
tnx im reading this but as i check my log something is weird in the res forlder of settings.apk since this is a ported rom there are some folders that multi tool cant read
Click to expand...
Click to collapse
Upload your apk.
XperienceD said:
Upload your apk.
Click to expand...
Click to collapse
http://www.4shared.com/account/home.jsp#dir=VTulsuo_ everything you need is in that link i hope you can help me im havng a hard time T_T
marc2777 said:
http://www.4shared.com/account/home.jsp#dir=VTulsuo_ everything you need is in that link i hope you can help me im havng a hard time T_T
Click to expand...
Click to collapse
Access denied?
XperienceD said:
Access denied?
Click to expand...
Click to collapse
access denied ? where sir? in the links?
marc2777 said:
access denied ? where sir? in the links?
Click to expand...
Click to collapse
Works now, but no Settings.apk?
XperienceD said:
Works now, but no Settings.apk?
Click to expand...
Click to collapse
o my god my settings.apk is gone reuploading demet

[APP][MOD][Neo/V][SWAPABLE TABBED SETTINGS]

OK, Maybe you never saw me around. because I don't play a lot here On XDA and.
"I am no good at introducing this" but this my own mod from following this guide
http://forum.xda-developers.com/showthread.php?t=2273807
It named "SWAPABLE TABBED SETTING"
from latest Stock ICS Firmware 4.1.B.1.13 and it might work for other firmware too.
And I would share it to you Guys. it's nice to share a thing
this setting contains 3 tabs
First tab is personal tab
Second tab is system tab and
Third tab is application tab
You can check the screenshot below on attachment.
--beware for second tab its include--
SystemUI preference
QuickPanel setting
QuickSetting and
CPUControl
for SystemUI Preference and QuickSetting its need Serajr's SystemUI v.7.0 and above.
for QuickPanel its need Xperia Z or Xperia T SystemUI.apk
------------------NOTES-----------------
If
you use Serajr's SystemUI;
Then
QuickPanel Setting will cause Force close.
And if
you use Xperia Z/T SystemUI
Then
SystemUI Preference & Quick Setting will cause Force close
----------------END NOTES--------------
for CPUControl its need "No Frill CPUControl.apk" installed on your /system/app/
And for third tab you will find "Terminal Emulator"
[--installation--]
download the file from the given link below
And Push it to /system/app/
All in mediafire
Settings.apk.zip
http://www.mediafire.com/?93hn8tm1fia6os0
Terminal Emulator.apk
http://www.mediafire.com/?u7oz0524mo2aunj
Be careful "it's not flashable Zip file" so you need to push it manually using Root Explorer or similar app.
extract it first. the next step you should know how to push it.
("you've been live with android for a long time, haven't you?")
If you have a secs please press the thanks button.
And you Might want to try your own mod by following Those Guide abovementioned thread.
Sent from my MT11i using xda premium
Works on gingerbread?
Unfortunately, NOT.
For ICS only.
But, you may try the link to the tutorial I given above.
Sent from my MT11i using xda premium
mpoendi said:
OK, Maybe you never saw me around. because I don't play a lot here On XDA and.
"I am no good at introducing this" but this my own mod from following this guide
http://forum.xda-developers.com/showthread.php?t=2273807
It named "SWAPABLE TABBED SETTING"
from latest Stock ICS Firmware 4.1.B.1.13 and it might work for other firmware too.
And I would share it to you Guys. it's nice to share a thing
this setting contains 3 tabs
First tab is personal tab
Second tab is system tab and
Third tab is application tab
You can check the screenshot below on attachment.
--beware for second tab its include--
SystemUI preference
QuickPanel setting
QuickSetting and
CPUControl
for SystemUI Preference and QuickSetting its need Serajr's SystemUI v.7.0 and above.
for QuickPanel its need Xperia Z or Xperia T SystemUI.apk
------------------NOTES-----------------
If
you use Serajr's SystemUI;
Then
QuickPanel Setting will cause Force close.
And if
you use Xperia Z/T SystemUI
Then
SystemUI Preference & Quick Setting will cause Force close
----------------END NOTES--------------
for CPUControl its need "No Frill CPUControl.apk" installed on your /system/app/
And for third tab you will find "Terminal Emulator"
[--installation--]
download the file from the given link below
And Push it to /system/app/
All in mediafire
Settings.apk.zip
http://www.mediafire.com/?93hn8tm1fia6os0
Terminal Emulator.apk
http://www.mediafire.com/?u7oz0524mo2aunj
Be careful "it's not flashable Zip file" so you need to push it manually using Root Explorer or similar app.
extract it first. the next step you should know how to push it.
("you've been live with android for a long time, haven't you?")
If you have a secs please press the thanks button.
And you Might want to try your own mod by following Those Guide abovementioned thread.
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
Hi. can you please send me it uncompiled please? i want to mod it myself and i become error whdn decompiling. Thanx.
gouster3 said:
Hi. can you please send me it uncompiled please? i want to mod it myself and i become error whdn decompiling. Thanx.
Click to expand...
Click to collapse
Sorry for the long wait, you can decompile my settings.apk yourself, and look what you need inside.
Just give the proper credit, to me and the originial guide above.
Find error uh??
Just look at the logcat, you can trace what amiss.
mpoendi said:
Sorry for the long wait, you can decompile my settings.apk yourself, and look what you need inside.
Just give the proper credit, to me and the originial guide above.
Find error uh??
Just look at the logcat, you can trace what amiss.
Click to expand...
Click to collapse
Thanx. I had some issues with decpoliling, i forgot incudle framework to decompiler.
Now i finally decompiled and recompiled apk.
And i dont found any error in your apk, it works like charm. But i wanted custom settings and links to apks.
gouster3 said:
Thanx. I had some issues with decpoliling, i forgot incudle framework to decompiler.
Now i finally decompiled and recompiled apk.
And i dont found any error in your apk, it works like charm. But i wanted custom settings and links to apks.
Click to expand...
Click to collapse
For adding custom setting, like calling an app from settings.
Follow this guide
http://forum.xda-developers.com/showthread.php?t=2184207
mpoendi said:
For adding custom setting, like calling an app from settings.
Follow this guide
http://forum.xda-developers.com/showthread.php?t=2184207
Click to expand...
Click to collapse
Thanx. I have SuperSU, Link2SD and TitaniumBackup in App Tab, and i removed launhcer shortcuts from this apps.
I think it is better to have less icons in launcher, and all tools in settings.

Error while recompiling APK

Hello XDA brothers.
I am running Android APK MULTI TOOL for recompiling and decompiling an APK. When I decompile it, it goes smoothly. But when I attempt recompiling, it gives A LOT of errors stating at the end "... is not defined". This is not an after-mod error because I tried recompiling it right after decompiling, without even opening the decompiled folder. It still gives the same error. Kind of frustrating. So, can anyone help?¿
dominator96 said:
Hello XDA brothers.
I am running Android APK MULTI TOOL for recompiling and decompiling an APK. When I decompile it, it goes smoothly. But when I attempt recompiling, it gives A LOT of errors stating at the end "... is not defined". This is not an after-mod error because I tried recompiling it right after decompiling, without even opening the decompiled folder. It still gives the same error. Kind of frustrating. So, can anyone help?¿
Click to expand...
Click to collapse
comform that you have install proper framework and systemui
Vaibhav Chauhan said:
comform that you have install proper framework and systemui
Click to expand...
Click to collapse
I am not decompiling a system file. Its YA weather apk app. Do I still want the system ui and framework? Btw my phone's not rooted so is it possible to pull these files from phone?
dominator96 said:
I am not decompiling a system file. Its YA weather apk app. Do I still want the system ui and framework? Btw my phone's not rooted so is it possible to pull these files from phone?
Click to expand...
Click to collapse
you need to deodex this files and then install it to the tool then it will compile according to this apks
Vaibhav Chauhan said:
you need to deodex this files and then install it to the tool then it will compile according to this apks
Click to expand...
Click to collapse
Deodex a normal app which is available at PlayStore? :/ Is it possible?
dominator96 said:
Deodex a normal app which is available at PlayStore? :/ Is it possible?
Click to expand...
Click to collapse
nope its not contain odex files
Vaibhav Chauhan said:
nope its not contain odex files
Click to expand...
Click to collapse
But you just said to deodex them files -.- Hold on, lets start again.
I want to decompile a non-system apk file and then recompile. Decompile goes smooth but while recompiling, it states a BUNCH of errors saying "........ is not defined". This is what I want to fix about
dominator96 said:
But you just said to deodex them files -.- Hold on, lets start again.
I want to decompile a non-system apk file and then recompile. Decompile goes smooth but while recompiling, it states a BUNCH of errors saying "........ is not defined". This is what I want to fix about
Click to expand...
Click to collapse
no no
understand properly
firstvyou need to deodex systemui app and framework app
tthen install it to the multitool
then compile the other apps
it will be compile
Vaibhav Chauhan said:
no no
understand properly
firstvyou need to deodex systemui app and framework app
tthen install it to the multitool
then compile the other apps
it will be compile
Click to expand...
Click to collapse
Oh so that's it,
But my phone is not rooted. Can I use any system ui and framework or do I have to use only my phone's system ui and fframewok?
Vaibhav Chauhan said:
no no
understand properly
firstvyou need to deodex systemui app and framework app
tthen install it to the multitool
then compile the other apps
it will be compile
Click to expand...
Click to collapse
hey, can I use your system ui and framework to compile apps?
dominator96 said:
Oh so that's it,
But my phone is not rooted. Can I use any system ui and framework or do I have to use only my phone's system ui and fframewok?
Click to expand...
Click to collapse
yes can use non rooted phones apps but first deodex it
if you will use my phone's apps then it will run on my phone not in yours
Vaibhav Chauhan said:
yes can use non rooted phones apps but first deodex it
if you will use my phone's apps then it will run on my phone not in yours
Click to expand...
Click to collapse
I want to modify an APK and then share it with everyone. How can I make it applicable on all phones?
dominator96 said:
I want to modify an APK and then share it with everyone. How can I make it applicable on all phones?
Click to expand...
Click to collapse
sorry but it can not run on all phones
it will run in that phone on which you sign app or the similar phones

Categories

Resources