Related
[Q] Is there a way to edit "styles.xml" in the values folder and recompile it?
Hello all.
Im trying to recompile the Settings.apk and I have made edits to the styles.xml file. Only problem is in the "keep" folder there is no "values" folder, and the recompiled app does not have the edits I made in stlyes.xml
Anyone know how to recompile the Settings.apk and have the "values" folder show up in the recompile "keep" folder?
Delete resources.arsc or something in the keep folder ; if your using apk manager it should tell you this already
Nabeel_Nabs said:
Delete resources.arsc or something in the keep folder ; if your using apk manager it should tell you this already
Click to expand...
Click to collapse
Thanks a lot for that. It worked and I now have timescape settings background look on stock Verizon rom!
Sent from my R800x using xda premium
I would like to add some emoticons into whatsapp
Sent from my GT-I9100 Westcrips ICS using xda premium
RodneyNL said:
I would like to add some emoticons into whatsapp
Sent from my GT-I9100 Westcrips ICS using xda premium
Click to expand...
Click to collapse
You probably wont be able to add any, you can change the current ones by editing the apk, signing it then installing it. Once you open up the apk (with 7zip, winrar etc.) look inside the drawable-hdpi folder. Thats probably where the emoticons are kept.
I can help if you need.
You might want to check out these custom whatsapp's by yorzua :
http://forum.xda-developers.com/showthread.php?t=1543631
Thanks for your reply om gonna try it out i'll let you know of i need your help (probably i will need it xD)
Sent from my GT-I9100 using xda premium
Adding icons to whatsapp
Hey Guys has anyone tried adding new icons into the default whatsapp?
Or do the modded versions allow adding additional GIF'S to be added to the instant messenger?
Thanks
yes i have tried it, but it's useless since the recipient of the emoticon should have the "moded" version too, so that he could see the emoticon
Just wanted to add that Ive noticed the Iphone has new icons and I can view them on my phone which dont have those icons :/
esk02k said:
You probably wont be able to add any, you can change the current ones by editing the apk, signing it then installing it. Once you open up the apk (with 7zip, winrar etc.) look inside the drawable-hdpi folder. Thats probably where the emoticons are kept.
I can help if you need.
You might want to check out these custom whatsapp's by yorzua :
http://forum.xda-developers.com/showthread.php?t=1543631
Click to expand...
Click to collapse
I used 'Formatter' to rename (whatsapp) .apk file into .zip did required changes (replaced one .png smiley file) & again renamed it into .apk
But then, I'm not able to install it (even after uninstalling previous version). An error saying 'Application not installed' shows.
How can I modify .apk files (in terms of replacing only the smiley image files) & repack it into proper .apk file so that I'll be able to install it without any error?
Please help me..
thanks
yogz214 said:
I used 'Formatter' to rename (whatsapp) .apk file into .zip did required changes (replaced one .png smiley file) & again renamed it into .apk
But then, I'm not able to install it (even after uninstalling previous version). An error saying 'Application not installed' shows.
How can I modify .apk files (in terms of replacing only the smiley image files) & repack it into proper .apk file so that I'll be able to install it without any error?
Please help me..
thanks
Click to expand...
Click to collapse
i also want a new smiley, for example a puking smiley
After modifying the apk i think you should resign it to be able to install it
Check zipsigner from the play store
Sent from my GT-I9100G using XDA Premium 4 mobile app
fmardini said:
After modifying the apk i think you should resign it to be able to install it
Check zipsigner from the play store
Sent from my GT-I9100G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
so i have to download the whatsapp.apk, unrar it, change the icons in it, and resign it?
Were are the folder?
I am getting a "parsing" error by installing whatsapp
jonny.pl said:
i also want a new smiley, for example a puking smiley
Click to expand...
Click to collapse
That is exactly what I am trying to do here.
I was looking for the same & found these.
http://www.techgyd.com/whatsapp-stickers-free-android-iphone/12739/
Good idea, but not practical
In order to install an apk, it must be properly signed and with a password that only the developers know. If you own the app though, you will still need to to decompile and recreate the apk structure by turning the directories of the zip into an android structure, since the compiling will change pretty much everything.
Worst part of it all, if you somehow manage to change and install the app, only you will be able to see it since only the apk installed on your phone has those custom emoticons.
Cheers :good:
how do I put emoticons on viber /whatsapp for sell
Just get your friends to use wechat, has all the emos in the world. Whatsapp is crap
Hi,
MMS package ideally has the package name of "com.android.mms". I was able to modify and successfully use the package name as "com.android.sms" and use it as a second app in the phone.
However, some apk does not allow this change and any package name other than "com.android.mms" does not allow to be installed (though signed) and reports only "app not installed".
Does anyone have a clue about this protection? Has anyone been able to figure this out?
Thanks in advance.
josephpatrick said:
Hi,
MMS package ideally has the package name of "com.android.mms". I was able to modify and successfully use the package name as "com.android.sms" and use it as a second app in the phone.
However, some apk does not allow this change and any package name other than "com.android.mms" does not allow to be installed (though signed) and reports only "app not installed".
Does anyone have a clue about this protection? Has anyone been able to figure this out?
Thanks in advance.
Click to expand...
Click to collapse
Hi
For this
First you Should disable signature Checker from service.jar
See this
http://forum.xda-developers.com/showthread.php?t=2198834
After that you Should decompile "secmms.apk"
Then you should drag and drop all secmms.apk folder from project folder in your apktools to not pad and change package to other be Sure in smali file package called "com/android/..."
and in xml file called "com.android....."
Finally compile it and Do sign because you had changed androidmanifest.xml
Goodluck
Armin.
Sent from my GT-I9100 using xda premium
Biftor said:
Hi
For this
First you Should disable signature Checker from service.jar
See this
http://forum.xda-developers.com/showthread.php?t=2198834
After that you Should decompile "secmms.apk"
Then you should drag and drop all secmms.apk folder from project folder in your apktools to not pad and change package to other be Sure in smali file package called "com/android/..."
and in xml file called "com.android....."
Finally compile it and Do sign because you had changed androidmanifest.xml
Goodluck
Armin.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Thank you for the steps, it makes sense to disable signature check. however, had a small doubt though. if few other secmms.apk allow changing of the name and some not, is it not something within the apk itself that is accepting the change. For e.g. i didnt have to patch service.jar to get one particular apk to work after renaming. Your thoughts please.
josephpatrick said:
Thank you for the steps, it makes sense to disable signature check. however, had a small doubt though. if few other secmms.apk allow changing of the name and some not, is it not something within the apk itself that is accepting the change. For e.g. i didnt have to patch service.jar to get one particular apk to work after renaming. Your thoughts please.
Click to expand...
Click to collapse
After you change "androidmanifest.xml"you Should sign that apk
For this you need disable signature checker in services.jar
Goodluck
Armin.
Sent from my GT-I9100 using xda premium
Biftor said:
After you change "androidmanifest.xml"you Should sign that apk
For this you need disable signature checker in services.jar
Goodluck
Armin.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
This still does not explain the problem wherein some mms.apk allows renaming the package name and allowing re-compiling and signing. However, few others do not allow any change to the package name, the re-compiling works, signing works but the app does not install
Please note that i was successfully able to change the name of 1 of the mms. apk and it installs as a separate app. however, there are a couple of others which does not work in this fashion. This is weird, seems to be some sort of locking mechanism within the apk. The fact that it works fine for the one modded mms.apk confirms that i dont need to make changes to signature checker. There is something else preventing the package name change
josephpatrick said:
This still does not explain the problem wherein some mms.apk allows renaming the package name and allowing re-compiling and signing. However, few others do not allow any change to the package name, the re-compiling works, signing works but the app does not install
Please note that i was successfully able to change the name of 1 of the mms. apk and it installs as a separate app. however, there are a couple of others which does not work in this fashion. This is weird, seems to be some sort of locking mechanism within the apk. The fact that it works fine for the one modded mms.apk confirms that i dont need to make changes to signature checker. There is something else preventing the package name change
Click to expand...
Click to collapse
Are you ok????
I said many times you should/must disabled signature checker....because secmms.apk is system app and system app after sign not work until change service.jar...
Anyway maybe you know better than me...
Goodluck
Armin.
Sent from my GT-I9100 using xda premium
Biftor said:
Are you ok????
I said many times you should/must disabled signature checker....because secmms.apk is system app and system app after sign not work until change service.jar...
Anyway maybe you know better than me...
Goodluck
Armin.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
I guess there is a communication gap, guess my request is not clear, I will figure this out on my own, thanks.
can someone help me please:crying:? i've been trying any apktool for decompile the settings.apk, but the result it's only failed and apktool always make progress like this "please install any framework files, see this on our forum" although i've been installed framework-res.apk first? why ya? that app is almost succesfuly decompile i can see all xml file has been decoding, but not all files decoding some files still can't be read with notepad++? and when i try to recompile again it's always say error although i'm never modified or remove any content from that app? why ya that happen? i still dizzy with that? settings.apk from C1905 4.3 Single Sim (deodexed) with stock framework, are that can be combine for decompile?
1) Any apps you wish to decompile coming from a Sony ROM you MUST install framework-res.apk AND SencGenericUxpRes.apk
2) Your framework files MUST be deodexed, meaning that if you are using framework-res.apk and you have a framework-res.odex file next to it you will have to deodex the framework files first.
3) The framework files MUST come from the same firmware as the app.
gamer649 said:
1) Any apps you wish to decompile coming from a Sony ROM you MUST install framework-res.apk AND SencGenericUxpRes.apk
2) Your framework files MUST be deodexed, meaning that if you are using framework-res.apk and you have a framework-res.odex file next to it you will have to deodex the framework files first.
3) The framework files MUST come from the same firmware as the app.
Click to expand...
Click to collapse
so you mean is? i need SemcGenericUxpRes.apk and framework-res.odex too. to deodex any files from sony rom? but how i can install SemcGenericUxpRes.apk? because in this selection this only must install framework first? is that you mean SemcGenericUxpRes.apk must i install to like install any framework files?
Nicklas Van Dam said:
so you mean is? i need SemcGenericUxpRes.apk and framework-res.odex too. to deodex any files from sony rom? but how i can install SemcGenericUxpRes.apk? because in this selection this only must install framework first? is that you mean SemcGenericUxpRes.apk must i install to like install any framework files?
Click to expand...
Click to collapse
You do NOT need any .odex files relating to the framework. HOWEVER, the framework MUST be fully deodexed (deodexing means repacking the .apk/.jar file in such a way that the .odex file and the .apk/.jar file are one and not two separate parts).
To install the SemcGenericUxpRes.apk you must install it as you would with any other framework file.
Two questions while I am here, what firmware are you on? And what is your native language?
gamer649 said:
You do NOT need any .odex files relating to the framework. HOWEVER, the framework MUST be fully deodexed (deodexing means repacking the .apk/.jar file in such a way that the .odex file and the .apk/.jar file are one and not two separate parts).
To install the SemcGenericUxpRes.apk you must install it as you would with any other framework file.
Two questions while I am here, what firmware are you on? And what is your native language?
Click to expand...
Click to collapse
i use C1905 15.4.A.1.9 Indonesia, and native language is English (CA), why? so i must rename SemcGenericUxpRes.apk and change to framework-res.apk? but how can be 2 framework installed?,
Nicklas Van Dam said:
i use C1905 15.4.A.1.9 Indonesia, and native language is English (CA), why? so i must rename SemcGenericUxpRes.apk and change to framework-res.apk? but how can be 2 framework installed?,
Click to expand...
Click to collapse
For your firmware I might be able to upload the two framework files you need to use, it depends on if and when I can get them. And for your native language I was thinking that it might be better for me to give my reply for you if you used a different language than English.
But no, you do not need to change the name of SemcGenericUpxRes.apk, all you need to do is install framework-res.apk and then immediately install SemcGenericUpxRes.apk (there is no name change needed). If you install them under different names they won't overwrite each other and thus won't give errors and two frameworks can be installed.
gamer649 said:
For your firmware I might be able to upload the two framework files you need to use, it depends on if and when I can get them. And for your native language I was thinking that it might be better for me to give my reply for you if you used a different language than English.
But no, you do not need to change the name of SemcGenericUpxRes.apk, all you need to do is install framework-res.apk and then immediately install SemcGenericUpxRes.apk (there is no name change needed). If you install them under different names they won't overwrite each other and thus won't give errors and two frameworks can be installed.
Click to expand...
Click to collapse
i download the stock rom in here https://mega.co.nz/#!29ww0Rpb!NVOkXyH1nEoIbZXtetmg1i_Sbf8raArFVQ7Yfn8DDks stock rom c1905 4.3, ok i will try to install framework file first. But my settings.apk is deodexed? for decompile i must use app that have been deodexed or not?
and after i install a framework-res.apk and SemcGenericUxpRes.apk to decompile setinggs.apk(deodexed) always happen like this
Log For : Settings.apk
Log Type : Decompiling
Log Recorded At : 09 2014-28- 11:01:05,83
Log Recorded By : Advanced ApkTool v2.0.0 By BDFreak
------------------------------------------------------
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
------------------------------------------------------
why ya? :crying: i still dizzy with this kind, or the settings.apk must odexed first?
and this time the settings.apk is odexed, and i try again to decompile this files. but the result is always same like this
Log For : Settings.apk
Log Type : Decompiling
Log Recorded At : 09 2014-28- 11:06:38,76
Log Recorded By : Advanced ApkTool v2.0.0 By BDFreak
------------------------------------------------------
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
------------------------------------------------------
Hello guys,
I am new to this forum and i already have a question.
A friend asked me if it is possible to extract the original firephone standard mail app on his Samsung Galaxy S3. I tried the normal method:
Copying the mail.apk in the /system/priv-app/ to his S3 into the /system/priv-app folder, too and then setting the right attributes.
After a reboot it seems to be installed, but right after booting it shows that the email app has crashed. A manual launch of the main app
isn't possible too. Is there away to flash it manually or did i choose the wrong method to copy that system app? Is it even possible to
do that? Is it compatible?
Hope my english isn't too bad.
You would need the APK and the ODEX file... but even then it would be problematic because the rest of the Amazon DCP is missing...
Take a look at (some of) the permissions the email app is asking for:
Code:
com.amazon.dcp.settings.permission.read_settings
com.amazon.dcp.sso.permission.account.changed
com.amazon.dcp.sso.permission.amazon_account_property
com.amazon.dcp.sso.permission.use_device_credentials
com.amazon.dcp.snds.permission.change_snds_link_status
com.amazon.dcp.snds.permission.snds.link_status.changed
amazon.permission.application_settings
com.amazon.kindle.cms.cms_access
com.amazon.dcp.messaging.permission.handle_device_message
com.amazon.kor.demo.provider.permission.read_provider
com.amazon.dcp.sso.permission.expire_access_token
com.amazon.dcp.sso.permission.manage_cor_pfm
com.amazon.dcp.sso.permission.customer_attribute_service
com.amazon.dcp.metrics.permission.metrics_permission
com.amazon.dcp.config.permission.dyn_config_values_updated
com.amazon.identity.permission.can_call_map_information_provider
com.amazon.identity.permission.generic_ipc
com.amazon.identity.auth.device.perm.auth_sdk
amazon.permission.collect_metrics
com.amazon.pinochle.client.pinochle_access
Bingo Bronson said:
You would need the APK and the ODEX file... but even then it would be problematic because the rest of the Amazon DCP is missing...
Take a look at (some of) the permissions the email app is asking for:
Code:
com.amazon.dcp.settings.permission.read_settings
com.amazon.dcp.sso.permission.account.changed
com.amazon.dcp.sso.permission.amazon_account_property
com.amazon.dcp.sso.permission.use_device_credentials
com.amazon.dcp.snds.permission.change_snds_link_status
com.amazon.dcp.snds.permission.snds.link_status.changed
amazon.permission.application_settings
com.amazon.kindle.cms.cms_access
com.amazon.dcp.messaging.permission.handle_device_message
com.amazon.kor.demo.provider.permission.read_provider
com.amazon.dcp.sso.permission.expire_access_token
com.amazon.dcp.sso.permission.manage_cor_pfm
com.amazon.dcp.sso.permission.customer_attribute_service
com.amazon.dcp.metrics.permission.metrics_permission
com.amazon.dcp.config.permission.dyn_config_values_updated
com.amazon.identity.permission.can_call_map_information_provider
com.amazon.identity.permission.generic_ipc
com.amazon.identity.auth.device.perm.auth_sdk
amazon.permission.collect_metrics
com.amazon.pinochle.client.pinochle_access
Click to expand...
Click to collapse
Isn't it possible to bypass these permissions? Thought an Email application just needs network permissions to run a IMAP/POP3 Client...
Isn't it possible to integrate the amazon features?
I also copied the Odex file and it crashed...
If you want to try I can upload those files.
fortender said:
I also copied the Odex file and it crashed...
If you want to try I can upload those files.
Click to expand...
Click to collapse
You need to deodex the app first (before porting it to another device) so that the apk and odex files become one file. I don't have a link to share but with a little googling you will find a ton of tutorial for deodexing KitKat using apktool.