I'm trying to skin the Weather Channel widget so the background is transparent. These are the steps I followed-
1) Decompile in APK Manager
2) Change relevant PNGs to what I wanted them to be (transparent)
3) Zip the project folder, rename with apk extension
4) Compile that APK through APK manager
5) Sign and Zipalign
When I transfer the APK to my phone, this is what happens-
{
"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 am I doing wrong? Am I supposed to create the APK file in another way? Any help would be appreciated.
- download 7-zip
- right-click apk
- open archive
- drag any png file you want into a folder
- edit the png
- drag the edited png back into the archive window
- close archive window
- sign apk
- install on the phone the apk
What's the easiest way to sign an APK? Is there an automated tool for it?
ilangoadigal said:
What's the easiest way to sign an APK? Is there an automated tool for it?
Click to expand...
Click to collapse
If you decompile & compile your apk with apk manager, sign it with apk manager.
That´s the easiest way.
this is the easiest way and the way I do it
http://forum.xda-developers.com/showpost.php?p=3175518&postcount=2
Related
Well simply (or not so simply), how does one create a flashable .cwm file
{
"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 took a zip that was already flashable via cwm and used it as a template. Like a boot animation for instance. Inside you will find a meta info folder which I don't mess with. It tells your phone what to do with the file. You will also see a system folder which contains the proper folder structure for the file you are inserting. For a boot animation you should find system/media and inside the media folder is your boot animation. For a swype keyboard you would find a lib file in system/lib and the swype apk in system/app . I use 7 zip to move stuff from folder to folder.
Hope that helps.
sent using a phone.
tomween1 said:
Well simply (or not so simply), how does one create a flashable .cwm file
Click to expand...
Click to collapse
you should read this:
http://forum.xda-developers.com/showthread.php?t=928955
beyond that, just look at a cwm zip that you have on your computer with 7zip and understand the structure, then look at the update-script and try to make heads or tails of it. its really not that complicated once you understand what its actually doing.
i've managed to find some Markets for the salsa which you can change once u have root access.
Non of these are made by me and were sourced from the XDA forums awhile ago. credits due to the owner!
To change these use Root Explorer available from the Market
Inside the folders are the market styles in zip form you can change to.
Instructions for replacing with a new style.
open zip file you want
in the folder will be 3 files
data /app/ com.android.vending-1.apk
META-INF
system /app/ Vending.apk
you need to copy from the data & system folder and paste them into /data/app and change the permission to 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"
}
then also copy same files into /system/app and paste in there
again change permissions to above image.
Reboot your phone to engage the new market.
In the the link below is a small amount of different coloured markets as most have disappeared off-line now.
There is an original copy in this zip file if you wanted original back again.
Markets.zip
Yeah I did answer
Edit: Well, I found out what was wrong, had to copy META-INF from original file.
Hello guys, It's the first time I use this thing and I'm doing something really wrong.
I used adb tool + apktool to pull and edit 'android.policy.jar' and 'SecSettings.apk' in order to enable AOSP Locker.
I failed and ended with a bootloop.
First I thought I messed it up my SecSettings.apk (I'd get bootloop when making chmod 644 in it, android.policy.jar didn't give me errors), so after wasting a lot of time redoing all the job again and failling again, I did a test:
A decompiled SecSettings.apk and after it I recompiled (without editing any file inside it) and TaDa, got a Bootloop, also file size changed.
I think the problem is with this screen:
{
"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"
}
Would that be a problem because the rom is russian?
But that doesn't make any sense to me
Editing this god damn file I found it has the Weather widget hidden, I'm thinking in 'unhide' it to check if would work too!
Did you sign app?
If not do this:
Use WINRAR, open compiled app - get classes.dex and resources.arsc from it and put in old one (original, the one that you decompiled first time). Use STORE compression when you replace those files, otherwise you will probably get bootloop.
P.S. I was writing when you added that edit. That META-INF is sign.
{
"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"
}
*Requires root*
Uninstall OnePlus Wallpaper Resources.
Download this apk on your pc https://www.apkmirror.com/apk/oneplus-ltd/opwallpaperresources/
It can also be used to restore default apk.
Unpack the apk and navigate to /assets/colors. You can now modify these images to change the wallpaper look.
Note: You cannot easily add new wallpaper slots, you can only replace.
You can also further modify the look by editing json files in /assets/presets.
Repack the apk, and resign it. I personally use apk-signer https://play.google.com/store/apps/details?id=com.haibison.apksigner
Sometimes it may not animate on the lockscreen, but eventually it will work.
Post your new colors below!
Doodlezoidy said:
<mod edit: Quoted OP removed>
Click to expand...
Click to collapse
can you share the modified apk with the look of img you sent?
Sir u are god!
Can someone please render some new colors into videos? I really love these wallpapers but not on 1+ anymore. Huge thanks in advance!
Having trouble repacking the APK, it is saved as a project at the moment, but have a couple colors edited to my liking. Exited to get this working! APK signer is crashing so I don't think it's compatible with my device for some reason. Op7p
Is anyone able to change the Bootanimation?
The Bootanimation is in system/media located.
Unfortunately I can not move my bootanimation.zip to that folder. I do have root though.
I even tried to move my Bootanimation through twrp to the right folder but it does not work.
Why is this sub so quiet?
In global ROM theme app you can change it
you can edit your bootanimation.zip in twrp with file manager. rename that to bootanimationzip.bak and then copy your new bootanimation.zip to /system/media
I don't get it... Rename it to bootanimationzip.bak ??
1)I did it through the App "chaome theme editor" from the play store.
Search for mtz files with Bootanimation on Google.
2)Then use the chaome theme editor to edit it and install it on the original theme app which comes preinstalled.
3)On the theme app choose your bootanimation.
It works like a charm even there is no preview shown.
{
"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"
}
use this tutorial please:
use this global theme apk in attached files
maybe you should/can use this Theme editor. find it in attached files
Theme editor readme: * Stop your ads Blocker to be able to run it*
Maybe it works now