yashsingh1/xdaforums huggingface dataset:
[Virtuous Ten Studio] Dougi:
hey dunc, thanks for the help, yeah i thought the same : i decompil and i recompil without modifying anything and i get errors :crying:

EDIT : hope this help new pics attached

EDIT 2 : no resources si setup as there are nos resources in system/framework
[Virtuous Ten Studio] Dunc001:
No framework-res? What sort of witchcraft is this...
[Virtuous Ten Studio] Dougi:
in AOSP rom you have :

System/framework : in that floder you have framework-res.apk , which is installed properly as i can decompil and recompil others apk from the same rom, only settings.apk is giving me hard time

there is not resources.apk, on HTC we had to setup :

- apktool if framework-res.apk

and

- apktool if resources.apk

on my setup i only installed framework, it's all good as i can decompil and recompil any apk's

EDIT : on the picture framework-res is " liquidddddddddd.apk " ;) , we can name to whatever in VTS
[Virtuous Ten Studio] Dunc001:
Yes I know, on AOSP ROMs you ONLY have framework-res.apk so you only need to install the one framework for VTS to work. Some custom ROMs (mainly MIUI) have additional apks in /system/app or /system/priv-app which you need to install as frameworks as well but it's pretty unusual. Is this a 5.0.2 ROM? I haven't tried any projects for Lollipop yet, but it might be worth checking in the ApkTool thread to see if there are any current issues which may be giving this issue. Is there actually a values-? folder in the project /res folder?
[Virtuous Ten Studio] Dougi:
5.0.1 image

no and that's why it's really weird , that forlder does not exist, all my projects are in C:\users\users\mydocuments\virtuoustenstudio , and that's all..

Other people don't have that bug , they can compil settings.apk that's why i really don't know why this is hapening .. :eek: :cyclops:

then only settings.apk that i can recompil is the stock 5.0.1 image from google, don't ask me why , i really don't know :cyclops::cyclops::cyclops: :eek:

EDIT , i just tried again to recompil the stock settings.apk and i have the same errorn think something went wrong in VTS, i'll de-install it to see

EDIT : not working , still the same ******* issue
[Virtuous Ten Studio] Krocko:
I think it is kernel releted.

Change ro.secure from 1 to 0 in the boot.img
[Virtuous Ten Studio] ineedone:
Nope that wasn't it, it was already 0

I tried to push the file manually with adb, it says read-only filesystem...
[Virtuous Ten Studio] ciao99:
Hi, i can't download VTS from site, it gives me a error page . Can someone give me an alternative link or setup file?

Solved with db folder
[Virtuous Ten Studio] blueberry6401:
I got this message when decompile apk with "Basic theming"

12:27:47.910: [Normal] - ApkTool.DecompileApk: 'Decompiling apk: 5981D4.apk'

12:27:47.910: [Error] - ApkTool.DecompileApk: 'Error while parsing apktool version, version string: 2.0.RC4'

12:27:47.910: [Error] - ApkToolDecompileModule.ExecuteInternal: 'LGLockScreenSettings -> Decompile resources : Decompiling resource files failed!'

12:27:47.910: [Error] - Script.ExecuteScript: 'Executing LGLockScreenSettings -> Decompile resources failed!'

12:27:47.910: [Error] - Script.ExecuteScript: 'Failed module is essential, aborting script execution!'

EDIT: Problem solved. I removed characters in apktool version.
[Virtuous Ten Studio] GoodOldWar:
Has this project been discontinued? #vts-dev on freenode is empty, and I can't download from the website.
[Virtuous Ten Studio] Seanie280672:
I have a slight problem installing the framework files, ive tried both remote and local (pull from rom.zip) I just keep getting error installing the framework file, im using lollipop for HTC one M7, Maximus HD 50.0, is this android version supported or is this why I am getting errors ?
[Virtuous Ten Studio] Aimbot91:
I have same issue here...I cant find solution:(
[Virtuous Ten Studio] joluke:
Most likely no support yet from apktool and smali decompilers
[Virtuous Ten Studio] Kickoff:
May I ask you how?
[Virtuous Ten Studio] blueberry6401:
Open your apktool.jar by 7zip (or winrar,...), edit properties/apktool.properties. Remove (or edit) any non-numeric characters before "-" in version, except ".".

2.0.0BB-Beta9 -> 2.0.0-Beta9 for example.
[Virtuous Ten Studio] UpGrad3:
I have just tried to decompile an apk of the latest version of telegram as i wanted to do a dark theme, i wanted to do it using vts as it seems like the best software out there, this is my first time using it and i have made sure it's all set up, java is working fine and all paths set and apktool, problem is i cannot decompile i get so many erros no matter what version of apktool i try i have tried thw latest 2.0.0 rc3 and the beta 9 and the last final of v1 all of them give me an abundance of errors in vts ca anybody help please i really want to learn how to use this software especially how to theme using it
[Virtuous Ten Studio] asdfasdfvful:
Post your log please. I'm assuming you've already added a lollipop framework already. And try decompiling with basic theming first before doing it with smali
[Virtuous Ten Studio] akat5uki:
I can't open virtuous ten studio there is message "Error 193: %1 is not a valid Win32 application." :(

I use winXP, why n how to fix?
[Virtuous Ten Studio] UpGrad3:
i went to bed last nigh after not being able to get it to work, tried again this morning and it decompiled just fine maby i just needed to restart pc lol cant think why though?

i didnt add any framework as i only want to edit telegrams apk and nothing else all i want to do is theme it black, i used the basic themeing setting and nothing else, well its decompiled now so will edit and recompile soon!
[Virtuous Ten Studio] BigBossTech:
[MENTION=4904866]ineedone[/MENTION]

hey bro can i create themes for cm12 lollipop on vts ??
[Virtuous Ten Studio] ineedone:
I don't see why not, though I theme sense
[Virtuous Ten Studio] AndroidPureLove:
Can't find apktool binary

When I try to compile and decompile apps I recieve this error: ApkTool.GetNewestApkTool - Can't find apktool binary

Any help is greatly appreciated! :o
[Virtuous Ten Studio] goti(0):
decompile resorces failed

i am using JRE 1.7.0_75 & JDK 7u75 but each time i start new project i get decompile resources failed error . i am attaching the image for more info.
[Virtuous Ten Studio] side:
By pressing the button for searching framework manually,doesnt show browser!

i must define directories manually...

whats going on ?

was working fine on my HDD but not on my SSD
[Virtuous Ten Studio] fenn92:
Can't install VTS

Hello guys,

I was very excited when I found VTS and I couldn't wait to try it! But when i executed the installer it gave me the following error: "ADB is running in the background.You need to close it to continue. Please close it (--> Taskmanager) and click Yes to retry or click No to cancel the installer".

Of course i checked TM but there's no adb.exe running in the background. I also tried to uninstall Android Studio and SDK but the error still prompts.

I currently have a Windows 8.1 64bit, updated, with jdk8 installed and Android Studio 1.0.1 with Android Sdk.

Hope you can help me!! :)
[Virtuous Ten Studio] PerfectSlayer:
Weird issue…

Do you have any IDE or tools lanched which may ship adb ?
[Virtuous Ten Studio] MattMatt0240:
Just downloaded this last night and played around with it a bit, and wow! What a beautiful IDE that I didn't think was possible!

One question though: I don't know smali code, but have a good understanding of java/android. When I decompile an app, there are no java sources shown in solution explorer. I've went through settings, and checked what I thought would do the trick. Is there anything I'm missing? Fresh install, so any guidance to get that to show please?

Thank you for this amazing tool! Cheers!
[Virtuous Ten Studio] PerfectSlayer:
Ensure you have the Generate Java Source module in your project (advance code editing profile for example).

Once set up, you could display the java source making right click on a smali file in the solution explorer.
[Virtuous Ten Studio] MattMatt0240:
Alright, got it generating java src folder. How can I go about editing the java files, then reimplementing them into the original app? Sorry for nooby questions.
[Virtuous Ten Studio] PerfectSlayer:
Generated Java source file could only give you a better preview of the code… (this in not the exact original Java code of the application and there is even case where Java decompilers do not succeed to make valid Java code and display kind of logical goto/label tags which are not available in Java language)

If you would like to edit the code of a decompile app, you have to do it in smali.

Otherwise, depending on your needs, check project like Xposed when you could mod applications using Java ;)
[Virtuous Ten Studio] tpayne2345:
Love VTS and it's simple UI but lately I've had trouble building my projects, sometimes it takes +10min just to build. I've asked some recognized themers about this but all I've gotten in return is "mine doesn't take that long, your setup is wrong".... :/

Here is a log to show what's happening, took 8:25 to build. I'm on a Surface Pro 3 with Windows 10 tech preview as the os, any help or suggestions?
[Virtuous Ten Studio] MattMatt0240:
Ah gotcha, thank you for clarifying with the hasty reply :) So if I truly wanted to edit the functionality of a decompiled apk, I will need to learn smali and edit the smali files? Then I can better see what has changed by generating the java source code (since I know java already).
[Virtuous Ten Studio] PerfectSlayer:
If you have just little changes to make, you could code them directly into smali.

If you have larger changes… may be you could try to make an app from scratch with you code and then decompile it to have you change directly in smali.

You will have to fix manually registers but it could make you save a lot of time ;)
[Virtuous Ten Studio] MattMatt0240:
Alright! I don't know anything about smali as of now. From what I understand, generating the java src folder is not a 100% accurate translation, or is it? If it is, is it possible to take the java generated, and everything else(res/, assets/, etc...) and import into android studio or eclipse? Maybe that could be worth a try too.
[Virtuous Ten Studio] PerfectSlayer:
What you need to remember, the smali will still be the exact mirror of the application binary. You could edit it, compile, decompile, re-edit, etc… No loss.

The generated Java sources will be inaccurate. You will not always be able to generate Java source from smali and should try some decompilers to find the best which match your needs. Generally, you get class and method names but the content may differs from the original source. It will try to make the same things (same instruction logic) but the implementation may differs (for example, if / else statement could be shown in reverse order, anonymous inner class could not be decoded successfully, etc…).

So if you import source to make new Android project, you may have to fix manually the source :rolleyes:
[Virtuous Ten Studio] MattMatt0240:
Oooo, OK. Thanks again for being so helpful! I see how that could become quite a tedious process, and end up causing more of a headache than a solution. I guess I'll be on my way to learning some smali ;)

Thank you kindly for all of the pointers/advice, you clarified all of my questions and concerns!

Cheers,

Matt
[Virtuous Ten Studio] fenn92:
Except from Android Studio I have Eclipse... but only use it for JavaEE projects.

I have used tools like APKStudio and AndroidMultitools but I don't think that they're the problem.

I tried to run the installer just after a restart and even in window's debug mode but the result is the same :(
[Virtuous Ten Studio] PerfectSlayer:
If you have the SDK installed or a copy of platform-tools, try to run « adb kill-server ».. It might help =/
[Virtuous Ten Studio] PerfectSlayer:
I just saw this post http://xdaforums.com/showthread.php?p=59603468

May be it could help you ;)
[Virtuous Ten Studio] MattMatt0240:
Nice! Looks like my kind of tool ;)

Thank you for sharing!
[Virtuous Ten Studio] HughJeffner:
Was this ever implemented? I don't see it in the change logs. If I use an encrypted keyfile it hangs on the signing process (presumably signapk is waiting for password input)

Thanks
[Virtuous Ten Studio] :
Framework Tag

What does VTS mean by framework tag when creating a project? I tried typing something in the box but it doesn't let me. There is also nothing in the dropdown menu. Thanks and sorry for asking a noob question!
[Virtuous Ten Studio] DroidShift79:
is there any update to make VTS work with latest apktool and adb ?

Could one please tell me te steps to get api21 in there / set VTS up for an M9
[Virtuous Ten Studio] adrian.aitken:
Don't shout at me (please) but searching this thread for 'deodex jar' files gave quite a few hits :p

I copied my system/app and system/framework to my PC and ran the deodex module. The system/app/output files were different in size to the standard apk/odex files but when pointing to the framework directory to combine/remove the odex from the framework jar files, the output directory lists the jar files as the same size as the original ones. Surely this is wrong? I selected the input folder and framework folder as the same and left the output as default. It said it completed all successfully with no errors .

What have I done wrong?

Many thanks

Adrian
[Virtuous Ten Studio] Vortex853:
I have a big problem :crying:

I have a big problem :crying:

Who is helping me to solve it?

When I work Decompile to any APK files with (Virtuous Ten Studio - 3.6.30.14100)

This problem appeared in the Attachments
[Virtuous Ten Studio] oDin:
help guys

somone help me cant instal framwork
[Virtuous Ten Studio] asdfasdfvful:
Get the newest apk tool

Sent from my Nexus 5
[Virtuous Ten Studio] ruvort:
I love this tool and it makes editing apks much much easier. I am having an issue though with editing the systemUI.apk of my Motorola Xoom (ICS). The decompile and compile seem to run fine, but the output file is much smaller than the original and when pushed to the Xoom the systemUI no longer functions. Does anyone have any ideas of what I may be doing wrong? I have tested this without making any changes to the file before compiling it as well and have the same results.
[Virtuous Ten Studio] Diamondback:
The file size usually doesn't matter. Apks are just zip files and zip files might have different compression settings.

However, to tell you what's going wrong on your tablet, you'd need to provide a proper logcat. Without I can only guess:

You didn't sign the apk (VTS can do that for you)

You signed it in a wrong way

You don't have a patched services.jar and therefore the signed apk does not match the system.uid and fails to load
[Virtuous Ten Studio] ruvort:
I have the option selected for signing the apk. Why would there be a need for a patched services.jar? I have edited systemUI for other devices as well as the Xoom before and never edited the services.jar that I can remember. I feel like a real "noob" right now but I have been editing apps for some time with no issues. Lol. I do really appreciate your help with this btw.

I checked the logcat btw and it says:
[Virtuous Ten Studio] shrome99:
Nice work on VTS Diamondback, still remember you from the Virtuous Unity days :) Small question, are you still working on M10 tools for Sense 4? The last post with something about that was a month ago, I hope the project wasn't trashed.... Apparently, only the HTC WVGA Devices need resizing ATM (for full Sense 4 apks), all other devices have a same res device to port from :(
[Virtuous Ten Studio] Diamondback:
The m10 resizing stuff will come to VTS soon, we are still testing to make sure everything runs fine :)

Images in m10 are another story though...:crying:
[Virtuous Ten Studio] shrome99:
So, what will work without images? Would we be able to resize Rosie and the Recent Apps interface? It's really crappy that HTC encrypts their software like this, it's not like we're selling our custom ROMs in the market......
[Virtuous Ten Studio] Diamondback:
Yea, that's no problem :) You just can't theme anything (change the lockring image for example)
[Virtuous Ten Studio] ruvort:
Any ideas sir?

MyColorScreen
[Virtuous Ten Studio] zalzondabuzz:
I'm sure.. I'successed to decompile and compile .apk. but when I 'push all'.. the apk. Not change and still in mod before..

I used samsung galaxy Y..

life for learn..!!--
[Virtuous Ten Studio] Diamondback:
Hm yea the galaxy y really seems to be a ldpi phone. What exactly did you change?

Sent from my HTC One X
[Virtuous Ten Studio] yusuv:
Now im unable to decompile..

Hey. How to uninstall sdk?

I want to reinstall it..

Will provide the logs

Upd :

http://db.tt/n22gBuBq log 1

http://db.tt/t9xLuD1u log 2
[Virtuous Ten Studio] zalzondabuzz:
I compile systemui.apk guys... can u help me?

life for learn..!!--
[Virtuous Ten Studio] Dic3ptor:
Hi all

Great tool! Is there a tut how to use it? Always when i create a apk project "With Fusion akp from HTC" in exampel i have only empty folders. No res folder or something like.
[Virtuous Ten Studio] Dunc001:
Tutorials are being written at present but for starters you can check out a few DiamondBack has already written HERE

Several things you need to do to setup including importing all your relevant framework files, selecting the correct framework tag and version of apktool in your new project, etc. Feel free to PM me and I can go on Chat to talk you through.
[Virtuous Ten Studio] Dic3ptor:
Thank you i will have a look on it. Should i have problems i will write to you! Is it possible to decompile default M10 files from HTC now like the navbar?
[Virtuous Ten Studio] Dunc001:
No, m10 support for files coming soon I believe, but still not for m10 images. DiamondBack had another thread open asking for dev help with that
[Virtuous Ten Studio] Diamondback:
Have a look again at the Changelog :)

Not that you guys think I am doing nothing :D

VTS Changelog

Still waiting for my team mates to finish some graphics stuff for me for the release. :)
[Virtuous Ten Studio] torxx:
WOW, m10 support! Looking forward to it, this program gets better and better!
[Virtuous Ten Studio] XsMagical:
I wonder if it will support sense 4.0 m10's

Sent from my Nocturnal'd ONE XL
[Virtuous Ten Studio] oDin:
bro

thank you...i solved it :))
[Virtuous Ten Studio] bobgeneric:
Hi devs... i need a little help.

I'm trying change the Navigation Bar Color from app Whatsapp editing some Overlays (RRO AOSP).

Some colors change, but the Navigation Bar... don't work. :crying:

I did type these codes:
[Virtuous Ten Studio] bobgeneric:
"'ApkTool: I: Using

Apktool 2.0.0-Beta9

on 015257.apk'"

Update your ApkTool.
[Virtuous Ten Studio] andy_light:
Thx, I already solved it.
[Virtuous Ten Studio] 1365597d:
thanks

---------- Post added at 11:43 PM ---------- Previous post was at 11:27 PM ----------

btw, this works in htc one m8 gpe rom
[Virtuous Ten Studio] amadorsg1:
[IMG="VTS Lollipop framework-res error."]http://i.imgur.com/434DZiF.png[/IMG]

Can someone help with this error?
[Virtuous Ten Studio] fhem:
update your apktool.
[Virtuous Ten Studio] amadorsg1:
did that to the latest version still getting the error. I saw that was a fix for errors but I have the latest one. Anything else?
[Virtuous Ten Studio] fhem:
It's an apktool/framework problem. I would post error

here
[Virtuous Ten Studio] heXacode:
I would love to have a Linux version of this. Unfortunately, I have to use Wine to use this. Wine is a major CPU hog.
[Virtuous Ten Studio] :
+1 I'm using a similar ide program that is both Windows and Linux based but really love vts. I'd love to know how you set it up with wine though I couldn't configure java properly
[Virtuous Ten Studio] heXacode:
You mean java jdk? If so I can help you with that. What other issues are you having or is it just java? What issue did you have with that? Like what errors?
[Virtuous Ten Studio] PerfectSlayer:
It's now one year since the last update...

Is there any news about the project? Could a new release appears with the latest dependencies for example?
[Virtuous Ten Studio] :
Yes I couldn't get jdk installed properly on wine so couldn't use vts. Apk studio works well in Linux and is very good but I miss some options from vts certainly the way it shows you the colours when changing hex codes
[Virtuous Ten Studio] heXacode:
http://forums.linuxmint.com/viewtopic.php?f=47&t=197240&p=1024586#p1024586

I created that thread because I didn't like how some people were installing Android Studio without it calling home to PATH for environment variables so I pieced a bunch of info together.

Look at my 2nd post talking about where to get jdk and there is a link below it that shows how to properly install it. Then try again with what is needed for Wine to call onto jdk PATH.

If you need further assistance then I will put together a tutorial here for you in text.
[Virtuous Ten Studio] :
Well we're both using Linux mint and on the mint forum too. I should have searched there
[Virtuous Ten Studio] heXacode:
Haha nice. I would think someone talked about or put up an extensive tutorial on how to use Wine for all Microsoft based programs. Including ones that require java JDK or JRE.

Let me know if it works from what I posted for you. If not, then I'll work with you in resolving it.
[Virtuous Ten Studio] ronakchavan:
Guys I just installed VTS and im getting all these errors :crying:
[Virtuous Ten Studio] tpayne2345:
Where can I find the original keystore created when I build my theme?
[Virtuous Ten Studio] ahmadnawaz195:
Errors while decompiling systemUI.apk

Got these errors when decompiling using VTS. I am facing this problem from today.

See attachment.
[Virtuous Ten Studio] russell664:
Hi Diamondback,

I hope you can help me, I am currently building an app for the business I work for, I have been a little out of the loop with VTS, I used to use it all the time.

However, I cannot seem to import a framework, no matter what I do!

I have tried directly from ADB, and always show some errors, I have attached the log form Pastebin.

Thus far I have installed the 32 bit JRE, along with correct ADB drivers for my One Plus One.

Can you please take a look, this is driving me insane!

Log: http://pastebin.com/XHub0DA0
[Virtuous Ten Studio] fhem:
I would try updating VTS with the latest apktool and smali/baksmali jars.
[Virtuous Ten Studio] Vallo61:
Hi,

I managed to succesfully unpack an APK and rebuild it (without modifying anything) but it crashes when I try to install it on my cellphone. Any suggestions?

Thank you very much
[Virtuous Ten Studio] :
What app is it ,is it a system app and did you uninstall the original apk first?
[Virtuous Ten Studio] Vallo61:
this app

play.google .com/store/apps/details?id=armi.portit

I installed the app in my phone, extracted the apk with "Apk Extractor" then extracted the smali with vts. Built it immediately and tried to install it (after uninstalling the original apk) but got this error:

i.imgur .com/LxEpWqW.png

translates to: "package installer has stopped working"

Thank you!

edit: also original apk is 1.3mb and the one VTS generates is 3.3mb. is this ok?
[Virtuous Ten Studio] Vallo61:
bump
[Virtuous Ten Studio] tx_dbs_tx:
Your poblem is the build module's compression ratio. In your project properties you need to choose the "build" module and change the compression ratio to 0 for none or 1. Anything higher than 1 will usually cause your apk to be unusable. All that aside, you should use VTS to decompile AND recompile your apk's.
[Virtuous Ten Studio] Vallo61:
I've checked and compression ratio is set to 0. Also I've used VTS to decomile and recompile APK. I used APK extractor to generate the APK from the cellphone (downloaded the app from google app store)