yashsingh1/xdaforums huggingface dataset:
[Android Themes] Pug123:
Make personal apk's ultra fast!

​

Now everthings set up we can make personal apk's I.e to share via cloud (not play store) by just changing zips and XML's.

Using your file explorer for step 1.

1, You should already have a decompiled [highlight]klwp.sample_src[/highlight] folder in your Apktool folder as per suggestion at the end of post#4.

Copy which kustom wallpaper you wish to apk next, from kustom/wallpaper folder. Navigate to [highlight]Apktool[/highlight] folder,open it then click on [highlight]klwp.sample_src[/highlight] folder, then [highlight]assets[/highlight], then click on [highlight]wallpapers [/highlight] and paste your copied wallpaper here, then [highlight]delete[/highlight] the previous wall (unless you wish to keep it in the apk)

Exit file explorer.

2, Open [highlight]ApkTOOL[/highlight] app and navigate to [highlight]Apktool[/highlight] folder, open it and click on [highlight]klwp.sample_src[/highlight] folder and select [highlight]browse[/highlight], then click on [highlight]res[/highlight] then [highlight]values[/highlight] then click on [highlight]strings.xml[/highlight] and open with [highlight]droid edit[/highlight].

3, Edit the names you have previously used to your new name, only using upper/lower case letters and also spaces (as per highlighted pic)

Now press the little icon arrowed in post#4 and press [highlight]save[/highlight]. Exit [highlight]droid edit[/highlight] app.

4, Navigate back to [highlight]klwp.sample_src[/highlight] and select [highlight]AndroidManifest.xml[/highlight] and open with [highlight]droid edit[/highlight] app and edit to your new app name, only using lower case letters with no spaces (as per highlighted pic)

Again press the little icon arrowed in post#4 and press [highlight]save[/highlight]. Exit [highlight]droid edit[/highlight] app.

5, Open [highlight]ApkTOOL[/highlight] app and navigate to [highlight]Apktool[/highlight] folder and click on it. Then click on the [highlight]klwp.sample_src[/highlight] folder and select [highlight]recompile[/highlight] from the pop up list, and wait for a few seconds for it to recompile, and if you've done everything correctly you should get a pop up like this..

Press OK.

6, Now you should have an extra apk in your [highlight]Apktool[/highlight] folder called [highlight]klwp.sample_src.apk[/highlight], click on this and select [highlight]sign[/highlight] from the pop up list and click OK on the next pop up .

7, Now you will have another apk in your [highlight]Apktool[/highlight] folder called [highlight]klwp.sample_src_sign.apk[/highlight], long press on it and select [highlight]rename[/highlight], then rename it to your new app name.

You now have your new apk ready for sharing via your favorite cloud etc.

Delete the [highlight]klwp.sample_src.apk[/highlight] now as its no longer needed.

So to summarize your ultra fast apk build

Transfer new klwp zip/s

Edit strings.xml

Edit AndroidManifest.xml

Sign

Rename

Done :victory:
[Android Themes] Pug123:
Reserved :)
[Android Themes] Pug123:
Reserved one more :);)
[Android Themes] Pug123:
Might as well reserve this one also :laugh:
[Android Themes] Clark Joseph Kent:
First! Ha, moved here and if any more assistance is needed, just ping JJD. Thanks and great job here.
[Android Themes] Pug123:
:laugh: Thank you JJD , and be sure I'll take you up on your offer if needed :good:
[Android Themes] BRKotucs:
Awesome! That's some impressive detailed job.. Well done and thanks for sharing it with us.
[Android Themes] Pug123:
Thank you , for you great response:highfive: and your very welcome.:good:

And when you've created your first apk using this method please don't forget to report on your success on the thread. :good:
[Android Themes] Matze060906:
Awesome tut for noobs and pro's. Subscribed to this thread... ?

Gesendet von meinem LG-D802 mit Tapatalk
[Android Themes] phonefixguy:
Awesome!

What a great source for reference this is, as well as one of the best tutorials I have come across! Great job buddy.
[Android Themes] plegdroid:
Steve, corkin Matey, love your writing style, and thank you for the Playstore signing guide. And yes I will continue to help if needed ☕?

ⓐⓝⓓⓡⓞⓒⓛⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
[Android Themes] Pug123:
Thank you both for your great comments , its appreciated :good:
[Android Themes] Pug123:
Cheers Pete, your comments mean a lot..

Your welcome (play store signing)

And I suspect yours and [MENTION=965212]rkucheran[/MENTION] 's tech help is gonna come in useful as you've both been using this method far longer than me.:eek:

Thanks again mate :):good:
[Android Themes] Pug123:
Right, so ive spotted my first (and hopefully only) mistake. I've updated post#4 'building your apk', instruction number 1, where I ask you to paste your copied wallpaper zips into your asset folder , there is an extra step and very important :eek: copy the zips into the wallpaper folder within the assets folder....

Sorry about that....
[Android Themes] browcantor:
I made the APK with all my zips, excellent tutorial, thank you again friend ????

---------- Post added at 09:46 PM ---------- Previous post was at 09:45 PM ----------

remembering that I do not have root and it worked perfectly, thank you
[Android Themes] Pug123:
Excellent news, thank you for your comments and for confirming that it works without root :victory::good:

And I've added you to the list of credits ;)
[Android Themes] DeeZigneZ:
Thanks mate, seems i will be packing apks this weekend..instead of theming.. Thank you for this amazing easy tutorial..u made life so easy wit this.. Awesome ???
[Android Themes] Pug123:
:laugh::laugh: your welcome mate, I'm all for making life easy ;), and thanks for the cool comments :good:, and please post again to let me know of your success :fingers-crossed::good:
[Android Themes] sgroimax:
Amazing guide for an amazing procedure. I compiled and released just 2 apps on play store using your guide. All process gone well.

There is a big problem only for updating app. I explain better: when u compile an apk with apk tool u provided us it gives a version code an version name automatically and they are = 1. If I try to parse the code adding the versions written above, recompiling apk it gives me warnings. Manifest just have version code and name so it can't recompiled in right way. If I search the code the parameters I am writing about are missing and so I can't update manifest. Any suggests for that? I've read that u will write a guide to update apk....
[Android Themes] Pug123:
Thank you for feedback, don't worry it won't be a big problem I'm going to update the post concerning update version code for play store very soon , please be patient , I've got to test a couple of things , but it's nearly sorted :good:
[Android Themes] Pug123:
For all those interested ( [MENTION=1140018]sgroimax[/MENTION] ) post#6

How to update app version for Play store.

Is now updated and ready to follow.

And as before any feedback appreciated good or bad, as I'd like to know whether it was easy to follow or not etc

Cheers :good::)
[Android Themes] sgroimax:
Yeahhhh really fast guys.

I made an update to "Darkness for KLWP" app following your directions. All gone well.

I was in trouble only because I can't find the right file where modify the code.

THANKS AGAIN

much appriciated
[Android Themes] Pug123:
Your very welcome [MENTION=1140018]sgroimax[/MENTION] , thanks for the feedback and I'm happy it all went well for you:)
[Android Themes] Matze060906:
Tested it on my genymotion vm on PC. Worked without issues. Thanks for your work and this amazing guide, which is perfect for people who wants to build APKs the easy way. I think a little bit knowledge is recommended, but people who read on xda have it. It's much easier than with Android Studio.
[Android Themes] Pug123:
Thanks for the excellent feedback.:good::)

I'm glad it went well for you and you had no problems:cool:
[Android Themes] Pug123:
OK, it seems using apktool you need to delete the read me file in assets wallpaper/komponents before recompiling not sure whether this is due to kustom update or not, when making the apk on android studio it didn't affect it so have changed post#4 to reflect this....

Sorry for any inconvenience :eek::good:
[Android Themes] Pug123:
I've been in contact with [MENTION=6044166]frankmonza[/MENTION] and it seems the readme file problem is a kustom beta bug, but as you dont need the file in the apk when you recompile I will leave edited post#4 as is.

Be aware...if you are testing your apk's on your phone..

Also at the moment there seems to be some sort of problem when apk is installed concerning deleting the apk within kustom app I.e. if you try to delete it, it will firstly delete the parent klwp zip from your memory card:crying:

So either back up the zip/s you have used for your apk, or just pull them again from the Apktool folder/ klwp.sample_src folder .

Suggestion....

Uninstall apk using manage apps setting on your phone, as this doesn't touch the klwp zip in your SD card.

Edit..

The bug is not affecting everone
[Android Themes] Pens and DreamS:
This tutorial is amazingly simple. I am what you call a newb at all of this an managed to get my app signed and publish so quick. Thank you!!
[Android Themes] Pug123:
Thanks for the great comments, and I'm glad that you found it easy to follow :victory::good:
[Android Themes] OmarQuintero:
Very easy to understand.

This is really a great help. Thanks!
[Android Themes] Pug123:
Thanks for feedback and I'm glad it helped :):good:
[Android Themes] R4V3N-2010:
Have now pushed my first singed apk to the Playstore. It is so easy with your guide. Thank you for your awesome work.
[Android Themes] Pug123:
Thanks for the cool feedback , the tut has only been online for a few days but I know already that its helped a few push to play store which is great, what I would like to ask on [MENTION=6044166]frankmonza[/MENTION] 's behalf is if all the people this has helped can also (as its so easy now ;) ) push some free apps to the store also , can be old designs just to encourage more people to get into kustom, thereby more people downloading presets from play store and around it goes.. Of course you are not obligated to do this in any way but I think it will benefit all kustom users:good:

And thanks again for the feedback .:victory:
[Android Themes] R4V3N-2010:
That's a good idea. I would even go but unfortunately I have today when I flashing a new Rom deleted my kustom folder. So I have no more old Presents. But I'll take a look if I can download those and put it in a apk for free.

Sorry for my bad English.
[Android Themes] Pug123:
That's not good (deleting your kustom folder :eek:)

Never mind mate as I said , I dont want you to think its obligatory, as and when and if you feel like it .:good::)
[Android Themes] DeeZigneZ:
Thank you for this tutorial this is very helpful for all themers .

You made this super easy to understand ,all I did was following your tut step-by-step as you have written. And like you said the first one takes about 5-10 minutes and the next ones are made in no time... Thank you

Here is my first apk I made whit ur tutuorial my klwp
[Android Themes] Pug123:
Thanks for the excellent feedback, and for sharing link:good: , your the first to share a link that I could test, attachment added :)
[Android Themes] Pug123:
Post#7 'make ultra fast apk's' for personal sharing, now updated, so you can now make personal sharing apk's in a few minutes :good:
[Android Themes] Pens and DreamS:
This is such a great tutorial!!!
[Android Themes] Pug123:
Thank you, I'm glad you appreciate it :):good:
[Android Themes] BGOM21:
Thanks a million for this. Totally helped me figure out what my simple error was preventing me from creating the play store ready apk. Again thanks
[Android Themes] Pug123:
Your welcome, cool that it helped you sort out your problem :):good:
[Android Themes] Mr909:
will this tutorial work on kitkat?
[Android Themes] Pug123:
Without trying to seem condescending, did you read the op (first post of this thread) , the first line says 'FOR LOLLIPOP ROM USERS ONLY'.

further on down the op is a link for apktool for kitkat if you can follow thier instructions for installing apktool (which is a lot more complicated than the lollipop installation instructions, and also a different version of apktool than the one I have given a link for), then you may be able to follow this tutorial.

But as I've never used it on kitkat I couldn't be certain:eek::good:
[Android Themes] fan de as:
thnx

alot
[Android Themes] Cjeetje63:
"You can also now delete the [highlight]klwp.sample_src.apk[/highlight] if you want, unless you want to go onto the next stage and make it play store ready, then don't delete it."

You lost me here. Deleted it where I wasn't supposed to
[Android Themes] Pug123:
That section is if you want to only share your apk via a cloud etc I.e 'your app name'.apk at this stage will not be zipaligned or signed with a key store and therefore not ready for play store publication, for ease for play store publication, I've stated don't delete klwp.sample_src.apk so you can use it on the next step..

Do you think I should word it differently? As always feedback appreciated :):good:
[Android Themes] Cjeetje63:
I know I acted to quick, but maybe if you put the sentence the other way around.... "keep both files if you want to publish on playstore, otherwise .....

:good:
[Android Themes] Pug123:
Thanks for the suggestion, post#4 edited :good:
[Android Themes] D2Ki:
Very Helpful!

Many thanks for this amazing tutorial, made creating an apk for kustom as simple as it can be! thank you again ??
[Android Themes] Pug123:
Thank you for the awesome feedback :).

And your very welcome :good:
[Android Themes] clod007:
Hi "pug123"

I create my first clock.apk for klwp and I necessary want to mention your merit.

Your tutorial in apk-making is absolutely fabulous !

It's perfect !

Few words for you "pug123":

I BOW IN FRONT OF YOUR EFFORT !

Congratulation and a huge THANK YOU.

Note "FIVE"
[Android Themes] Pug123:
Congratulations mate :highfive:

Thankyou for the awesome feedback and praise, means a lot coming from you :good:
[Android Themes] Art Vanderlay:
Thanks again pug, this is one of the best guides I've followed.

Every step of the way clearly described. And highlighting the keywords in red was a nice touch. It made it really easy to navigate. Well done mate :good::)
[Android Themes] Pug123:
Thank you for the excellent feedback :o I'm happy that you (and others are finding the tutorial easy to follow :good:

And I'm also happy that I can contribute to xda in this way as others have helped me in the past with various guides and tutorials :cool:
[Android Themes] SALEMI ALA:
GRASSIAS

Its good thnx man :d :d :d :d
[Android Themes] Pug123:
Your welcome :good::)
[Android Themes] ekagreen:
wow thanks, i will try it
[Android Themes] RodKahx:
Mr. Irwin Kurniadi! Its about time my friend.
[Android Themes] D2Ki:
Thanks Rod! something new to learn everyday :D
[Android Themes] gracefang:
haha lol thanks man i wasn't looking for the tutorial but was looking a way to decompile edit and recompile apps through my phone as my laptops not working and haha i found it here :P thanks again man :D
[Android Themes] Pug123:
:D glad it helped :good:
[Android Themes] AndroZeek:
great tut bro. it really helped me now I am posting my app
[Android Themes] RodKahx:
KWGT - beta program. - https://plus.google.com/u/0/+FrankMonzas/posts/9PpjCce44PL

It is confirmed that this will method also work for KWGT. Only differences will be widgets in the assets folder and in manifest you will need to change provider also to widgets. Rest stays the same.
[Android Themes] Pug123:
No problem mate and thanks for feedback:good:

I see from your SIG you are using marshmallow ROM, did you use this tutorial on marshmallow ?
[Android Themes] Pug123:
Cool, thanks for the heads up rod , will update in due course :good:
[Android Themes] AndroZeek:
yes. Sorry I did not mentioned it earlier.

I using Nexus 5 with Stock 6.0
[Android Themes] Pug123:
Cool, so using the ApkTOOL apk you downloaded from my link, all works on marshmallow as well ..... Bonus :o:good:

Thanks for confirming :good:
[Android Themes] AndroZeek:
Your welcome
[Android Themes] Pug123:
Added you to list of credits ;):good:
[Android Themes] RodKahx:
Looking for an installer apk. Something that will allow for installation of presets, komponents and widgets in a single apk. Is there any one here who might know how?
[Android Themes] b1ue:
As promised

Just wanted to say thanks for this (finally signed on here again). Made things a breeze. Much appreciated.
[Android Themes] rohit1521:
Thankz pug123 for apktool link.I made a detailed video on installing apktool on android you can watch it on Watch - https://youtu.be/q6wtdtsqR4c
[Android Themes] Pug123:
Thanks for feedback mate, much appreciated, and your welcome :good:
[Android Themes] Pug123:
Video looks good, although the part when you open apktool after install about it asking to install an update is missing? Are you using a version above 5.0.1 (1)?
[Android Themes] Art Vanderlay:
Hey pug, I'm in a bit of a pickle maybe you can help me out. I make my icon using the google icon generator but it keeps coming out blurry and pixilated no matter what size I make it. It looks crisp in gimp but it doesn't come out well on the other end. Have you experienced this?
[Android Themes] MrHellRider:
I'm new to this community can u give me the link to download Google icon generator because I want to make an icon for my klwp
[Android Themes] Pug123:
No, sorry mate I havnt experienced your problem..

I always make my icon using photo editor usually quite big then resise it to 512x512 before using the asset editor...
[Android Themes] Pug123:
Link is in the op (first post of this thread) in the things you will need section, its called android asset studio :good:
[Android Themes] Art Vanderlay:
Cool. It'll be live soon well just see how it turns out. Thanks.

---------- Post added at 01:58 AM ---------- Previous post was at 01:18 AM ----------

Ok done! here's my first play store theme

Material Edge for KLWP

Thanks a lot Pug for making this happen!

play store link
[Android Themes] plegdroid:
Please delete
[Android Themes] btferguson:
Not on Marshmallow it crashes upon open.
[Android Themes] plegdroid:
Afternoon Brian ,apktool or dev drawables? ☕?

ⓐⓝⓓⓡⓞⓒⓛⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
[Android Themes] rohit1521:
Ya I am on 5.1.1
[Android Themes] Pug123:
Looks great , your very welcome & thanks for sharing link :good:
[Android Themes] Pug123:
Hello Pete, are you on mm or still lp?
[Android Themes] btferguson:
Dev drawables
[Android Themes] plegdroid:
Hiya Steve, yam ,still LP.

Yam dev-drawables don't work on lp,mm, last time I used it was with kk when I first setup my SRC . i dintnt consider that would not work on lp/mm ☕?

ⓐⓝⓓⓡⓞⓒⓛⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
[Android Themes] Pug123:
OK, Pete, I'll assume apktool is still good with mm until I get posts otherwise :good:
[Android Themes] Pug123:
Sorry I meant the version of apktool as the link you provide in you tube is for 5.0.1...
[Android Themes] phonefixguy:
No go on marshmallow

Here's the error I get when attempting decompiling or recompiling...

sh: data/data/per.pqy.apktool/apktool/apktool2.sh: No such file or directory.

Update: after going back to lollipop yesterday and installing everything over again, I had the same error, so this is not related to marshmallow like I thought. So today I got rid of my copy of apktool and downloaded again from the provided dropbox. After doing so the app updated, which my copy was not doing and was a step I had completely forgotten about. This was the issue and just wanted to let everyone know.
[Android Themes] Pug123:
Thanks for the feedback and I'm glad you got it sorted :):good:
[Android Themes] LtriX:
error

i created a component,

so far so good,

but if i try to Import this installed Component, i´ll get this error:
[Android Themes] Pug123:
Hmmm, not seen this before.... Are you sure you edited the strings/manifest xml's correctly

Also, I need to update the op, your komp files need to be renamed .zip (i.e... Taxi.komp.zip, obviously yours will be something other than taxi) at the end before putting them In the assets folder....
[Android Themes] BGOM21:
This issue has been going on with 3.14 update of KLWP and KOMP files. They are not saving as zip files, so when u create the apk some users are experiencing the error. As stated when you place the file in the asset folder, rename the file with .zip at the end before you continue to create the apk.
[Android Themes] siewsteven:
Do the steps work for KWGT as well? If not, is there a tutorial available anywhere?
[Android Themes] RodKahx:
Should work the same just substitute the folder for widgets rather than wallpapers. You will also want to edit the Manifest so that it installs to the correct folder for the user. Check differences between the wall and komp apk src.
[Android Themes] siewsteven:
Thanks. I will give it a try.
[Android Themes] dej1i:
Hi all,

When I use zipsigner, at the end of the process, it gives me this "Error opening keystore file - Wrong version of keystore" . I'm following the instructions exactly as written. I've tried it multiple times with the same result. Any help or advice?
[Android Themes] wheart:
Live Wallpaper

Hi everyone!

I have some pictures and I want to make them live wallpapers for android. Can anyone help me?
[Android Themes] plegdroid:
[MENTION=7439065]wheart[/MENTION]

Have a looksy here

http://xdaforums.com/showthread.php?p=56245406

ⓐⓝⓓⓡⓞⓒⓛⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
[Android Themes] BGOM21:
1st Try uninstalling and reinstalling the app

2nd, if it still gives you that error, make sure you're using the correct keystore signature file.
[Android Themes] aceman17:
1
[Android Themes] LtriX:
rename as zip not working

no way...

does NOT work, if i rename my exported Wallpaper as .zip

(Folder: src\main\assets\wallpapers)

I have no problems/errors to build my apk with Android Studio.

but if i try to install my finished apk, i get an error Message:

"not enough free memory..bla bla.."

have no problems to install other wallpapers
[Android Themes] Ivanbarker:
So I'm working on this for a series of KWGT widgets. Your guide is fantastic, and easy to follow. It felt very simple. Everything goes smoothly and I get a nice signed apk at the end. I can install the apk through the package installer.

My issue is this:

After installing the signed apk, I make a widget and go into the KWGT editor. I can find my widget package under the "Installed" section. However, when I click on the package, it says there are no items in the package. This is when I had renamed my widgets to have a zip file type.

If I keep the widget files as a kwgt file type, they show up, but the editor goes black if I select them and the editor crashes.

Any ideas?

EDIT: Nevermind. I had replaced the .kwgt file type, with .zip directly. I went back and added zip to the end of kwgt (.kwgt.zip) and it worked perfectly. Thanks!
[Android Themes] UserOS:
ApkTool crashes on Nougat
[Android Themes] Shahidali3:
Good
[Android Themes] Fullmetal Jun:
Anyone can modify the bluish background of this lwp to an amoled black background in their free time for me please?

https://play.google.com/store/apps/details?id=com.bitbunny.subatomiclivewallpaper&hl=en

The dev seems to have abandoned it and I find it to be most probably the best lwp in Play Store for its perfect smoothness, battery efficiency, interaction and beauty. I wanted to see how it'd look with a black background.

Unfortunately making it myself is too hard for me!
[Android Themes] adammohammed2014:
awesome tutorial very helpful man
[Android Themes] ParadoXD:
+1 awesome tutorial
[Android Themes] Yunior2605:
Great post Thanks!
[Android Themes] jagawana27:
great tutorial and description.. thanks sir
[Android Themes] thatguy411:
Great work!!

Thanks for this detailed how to guide I've learned alot about this from you guys I really appreciate the time you guys take to bring this to us great job
[Android Themes] daganteng15:
thank you

thanks for this post..
[Android Themes] r.giridhar:
Giri
[Android Themes] psusanta056:
Guide

Thanks
[Android Themes] alcatel2gman:
Samsung galaxy j7starr. Samsung Galaxy J3 Prime