Visual issues after recompilling apk [MIUI/Mi Fit/Apktool] - Android Q&A, Help & Troubleshooting

Greetings XDA. Got some issue here, maybe XDA gods may help with this....
Since Xiaomi updated their MiFit application to version 1.4.452_1050 I'm having problem to modify apk, even just recompiling it without any modification. Not sure at what stage it messes up, but I believe it smth in decompiling proccess, while it doesn't give any error. The main difference after compiling is vanishing of new SMS and Alarm notification menu.
Here you can see original app screenshot and recompiled one:
{
"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"
}
Things I've tried:
- Switching between 4.4.2/4.4.4/5.0.2 MIUI frameworks.
- Switching between 2.x.x apktools, even latest 2.0.1 compiled.
- Just decompiling and compiling without edits.
Apk itself (install this original apk to see menus):
View attachment MiFit_1.4.631_1057.apk

Related

[Q]Transparent Setting.apk !!!

could any one can make a transparent settings.apk like on galaxy tab
{
"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"
}
To do that, you need to decompile both .apk files (from your ROM and from the Galaxy ROM) (I use apk manager to do that) Then compare "styles.xml" in /res/values folder and transfer the data from the galaxy one to yours...(this xml might be different in Galaxy ROM) And then you only need to re-compile and optimize it...
(As settings.apk is a proprietary ROM apk, you need to decompile/recompile it using HTC/Galaxy framework...)
Good luck with that
EDIT: In the link provided, there is how he did it....
EDIT: He didn't actually make it transparent, he just placed a theme wallpaper in the background instead of White one...
thanks for the info.i will look into it
You had any luck with this?
no, i am trying
welcome,any one can try it, if it is successful post it here

[HELP]MMS theming help please!

I just can't figure out why my text don't align properly. I tried many times and can't get it to work. Someone please lend a hand to a desperate man....
I'm using apk manager to decompile etc...
This is what I do:
Extract MMs.apk>decompile>edit XMLs for font colors>compile "select Y for system apk>select Y again - delete resources XXX and edited files">sign apk. I get no errors. I use eclipse to sign the .9png as well.
I made the bubbles from editing the originals, and I think they look ok as far as I can tell. The text changed color as it should. I'm ready to trow my pc out the window!!!
BTW- What file do I need to edit so I can make the blue header with pic and phone number black?
{
"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"
}
Sent from my Bionix 1.3.2 text mystery ROM....

Can somesone sign this apk for me?

This a is the free google shopper app from the market, which ive made changes to the widget background to match the others in JB, however it fails to install.
I used 7zip to simply extract the appwidget_dark_bg.9 file from the googleears.apk and copied it over into the googleshopper.apk. Then sign with apk & zip signer
i used the same method with the news&weather.apk and had success. However this apk is giving me trouble. Not sure why. ive uploaded a unsigned modded version, appreciate any help! :good:
im running the RC3 Are you Jellin? JB rom for sprint.
Modded APK: https://dl.dropbox.com/u/28404576/com.google.android.apps.shopper-1.apk
Done. Thx again!
Sent from my Galaxy Nexus using xda premium
Http://minebuilderfiles.cu.cc/Testing/Google-Shopper-Signed.zip if you need it
{
"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"
}

[Q] SystemUI themeing help

so i extrcted a couple of systemUI.apks and combined the files i wanted into one another...question is A) can it be that simple and B) how do i recompress it. i tried with ESfile explorer to recompress but i dont think thats right. I dont like asking folks to make things for me and would like to learn how to myself. thanks for the help
edit: all im doing is replacing png files. nothing major. just need to know how to get it back to a workable APK
Never mind. I figured it out... Now running an ICS themed with (halfway functional) blocking mode (thanks adrynalyn) and WiFi toggle with location symbol removed, status bar and pull down. also thanks to icedventimocha for the theme i pulled the pngs out of.
{
"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"
}

What's the best way to edit Android .apk files?

Hello everyone!
I need help with my uni project. I am supposed to localise a mobile app and I've found a simple looking ''choose your own adventure'' game which is perfect for this purpose. However, I cannot get it to work after editing the language files. Here's what I've done:
1. Unpacked the .apk file with WinRAR.
2. Edited the .xml files containing the language with Notepad++. Changed only the displayed text into another language, left the code unedited.
3. Tried to build the app back using Android Studios.
Whenever I try to convert the edited game back into an .apk file I get an error (see screenshot below). Is my Android Studios setup wrong (I used the basic settings)? Am I doing something wrong? Is there an easier way to do?
Cheers,
YamaKasin
{
"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"
}

Categories

Resources