yashsingh1/xdaforums huggingface dataset:
[Virtuous Ten Studio] Tungstwenty:
I'll attempt a wild guess, @Deadly. please confirm if I hit the nail :D

After having a project open, right click, Properties, and check the project settings.

At the bottom of that panel, you have 2 alternate ADB options:

- Use adb push (e.g. /system/app)

- Use adb install

The default is the first one, but if your adbd doesn't log you in directly as 'root' but rather as 'shell' (I think it's the default under 4.1.2 unless you use a modified kernel), it will fail.

Selecting the adb install method should work.
[Virtuous Ten Studio] ikjadoon:
Oh, I hadn't thought of that! See, I had this same problem: my kernel was ro.secure=1, so adb push did not work. To get adb with root (usually only with a ro.secure=0 kernel), I used Chainfire's adbd insecure app (thread or Play Store). See my sig's "noob-friendly apk editing" guide for details, if the adb install doesn't work.
[Virtuous Ten Studio] Deadly:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

thanks.. but that wasn't the problem.. as I have my own kernel which gives root access.. but I'll post a ss of it.. as I can't find a log for vts... logcat is of device log.. here it says transfer failed in task window of vts... I tried searching for vts application related log.. anyway will edit this post to put a ss...

____________________________________

“If you wait to do everything until you’re sure it’s right, you’ll probably never do much of anything.” –Win Borden
[Virtuous Ten Studio] Ajthescot:
have you tried disabling sig check in your services.jar
[Virtuous Ten Studio] alkhafaf:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

No i dont want that

Cuz it should work without it.

I think there is a problem in vts when keeping original signature... Something related to zipping and archiving.

Cuz i always keep signature when i use Apk multi tool
[Virtuous Ten Studio] Diamondback:
Don't worry, it's on my to do list ;)

ADB install won't work for system apks afaik.

How to use the Logviewer

Try copying the original (compiled) Android manifest from the original apk to the newly compiled one when reatining the original signature.
[Virtuous Ten Studio] alkhafaf:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Aha i will try

But wait... When i made the signature hack in services.jar, the framework-res. Apk worked without any FC.. Any explanation for this?

Thanks a lot

Update: you are absolutely right. When i took the signature with the Android manifest, it worked without the need to hack the services.jar

Can u make vts to do this for us in the new update?

Thanks again.
[Virtuous Ten Studio] BrandonBaskin:
Problems with theming!

When making themes for HTC Sense 4.x or trying to modify the com.htc.resources/framework files I get decompile errors and distorted images when I recompile - also some apps the use com.htc.resources (contacts/browser.apk, etc) crash. I think it may be related to the .arsc file that gets compiled but I'm not sure! Any help is appreciated
[Virtuous Ten Studio] Diamondback:
Yes, something like this is already planned.

We need logs to help you ;)

Both logcat and VTS logs.

http://virtuous-ten-studio.com/index.php/other-stuff/97-how-to-use-the-log-viewer

http://virtuous-ten-studio.com/index.php/other-stuff/99-using-adb
[Virtuous Ten Studio] BrandonBaskin:
WHups

Sorry! Log attached.
[Virtuous Ten Studio] Diamondback:
Since this is an apktool problem, you should probably ask in the apktool thread ;)
[Virtuous Ten Studio] ikjadoon:
I de-odexed all of /system/app/ and /system/framework/ via VTS: full success, no errors from VTS. I added the de-odexed jars and APKs back (being careful to keep the already de-odexed files) and wiped Dalvik cache and cache.

So, I figured out how to logcat a bootloop (pro tip: wait more than 10 seconds for the log to start rolling off, haha): see a chunk of the logcat here. Here's a snippet that has the relevant info:

W/PackageManager(1213): No package known for stopped package: com.android.stk
W/PackageManager(1213): No package known for stopped package: com.android.calendar
W/PackageManager(1213): No package known for stopped package: com.android.email
W/PackageManager(1213): No package known for stopped package: com.android.musicfx
W/PackageManager(1213): No package known for stopped package: com.sec.android.preloadinstaller
W/PackageManager(1213): Library not found: /system/framework/com.qualcomm.location.quipslib.jar
I/dalvikvm(1213): Zip is good, but no classes.dex inside, and no .odex file in the same directory
W/PackageManager(1213): Exception reading jar: /system/framework/lidroid-res.apk
W/PackageManager(1213): java.io.IOException: /system/framework/lidroid-res.apk
W/PackageManager(1213): at dalvik.system.DexFile.isDexOptNeeded(Native Method)
W/PackageManager(1213): at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:1314)
W/PackageManager(1213): at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1120)
W/PackageManager(1213): at com.android.server.ServerThread.run(SystemServer.java:244)
I/dalvikvm(1213): Zip is good, but no classes.dex inside, and no .odex file in the same directory
I/BootTime(1213): Fail Safe scanning for:/system/framework/lidroid-res.apk
W/PackageManager(1213): Exception reading jar: /system/framework/twframework-res.apk
W/PackageManager(1213): java.io.IOException: /system/framework/twframework-res.apk
W/PackageManager(1213): at dalvik.system.DexFile.isDexOptNeeded(Native Method)
W/PackageManager(1213): at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:1314)

"Zip is good, but no classes.dex inside, and no *.odex file in the same directory" -> maybe it didn't work? :( I'm unsure how interested you are in testing the deodexer for Samsung devices, but let me know if you have any ideas! :D I shall try another tool (maybe dsixda's kitchen) and see if it works there.
[Virtuous Ten Studio] Diamondback:
Upload me your files or give me a link to them and I'll happily test the actual deodexing process. :)

For your problem: Did you look at the actual file that logcat complains about? Did VTS output a file WITHOUT classes.dex inside?

Or maybe something else is wrong and logcat is confused? (happens sometimes)
[Virtuous Ten Studio] ikjadoon:
Good questions!

1) I checked the deodexed AccuweatherDaemon.apk and it contained, in fact, a classes.dex, even though the logcat stated it didn't. Also, interestingly, it complained about lidroid-res.apk not having a classes.dex file, but that file was de-odexed successfully months ago (from a toggle mod I applied)!

2) From the spot-check of VTS' output, they all seem to have classes.dex.

3) It does seem that logcat is confused...but I can't seem to view all the lines. See below.

4) However, I ran a logcat of a normal bootup and no such mentions of missing classes.dex appeared! Man, why does everything in Android have to be so hard for me, lol! :D

I'm using the logcat viewer in VTS. How do I export all lines of the log? It seems like I can only save visible lines, but after making 5000-6000 lines visible, VTS gets slow/freezes. Thus, I can only keep 3000 lines or so before new lines take up the space of old lines. It just keeps running and running, after 10 minutes of sitting at the boot logo. I think it starts to repeat, but I can't tell for sure without looking at the whole log.

Oh, shoot, hold on: I just realized all these apks and files have signatures (META-INF, AndroidManifest.xml) -> do I need to be importing original signatures into the newly deodexed files?! Though, no de-odexing guide has mentioned this issue....it seems odd that a classes.dex would set off the alarm. :/

~Ibrahim~

P.S. Aaand, I just realized dsixda's kitchen only works in Linux and I'm too tired to set up a virtual machine today. :( And, using VTS would be nicer, haha. :D
[Virtuous Ten Studio] Diamondback:
No there shouldn't be any signature issues.

I'll add an option to export everything from logcat in the next version. In the meantime, try disbling the automatic logcat update ("Live refresh" and "Auto-Scroll") and increase the line counter THEN.

The updating is what slows VTS down.
[Virtuous Ten Studio] Flashalot:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Hello,

I have been using this software for about 3 months now and I love it

Recently it has not been working I have uninstalled it and reinstalled it it only go's to the logo and closes it won't pop up so I have to force close it

I have Win 7 64bit
[Virtuous Ten Studio] Diamondback:
Any recent system updates?

If it worked fine before something likely messed with your .net framework and VTS can't start anymore. Try reinstalling .net.
[Virtuous Ten Studio] ikjadoon:
OK, understood.

Thanks for the implementation! :D

So, I realized dsixda's kitchen can run in Cygwin, which was easy to install. It's currently de-odexing; I'll see if that works. If not, I'll grab the full logcat with your method! :D Thanks, mate. :)

~Ibrahim~
[Virtuous Ten Studio] Flashalot:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Will I recently had windows restore to a more stable point

I updated .net but it is still a no go

Restarted my computer 5 times
[Virtuous Ten Studio] sleevasteve:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

I themed one of my apps, and I've gotten it to install and it runs great(and looks awesome!) but when I reboot my phone the app tells me it's detected an illegal version of the app. Oddly enough, it's a free app, with the option of buying the key for it, which I've actually paid for the key, but I notice when I install the themed app, the ads start popping back up, so it makes me think there's some kind of authentication/signing issue with the new app, and the key doesn't recognize the main app is even installed. Any suggestions?

Sent from my Inverted Note 2 TweakedVzwRemix @ 240 DPI
[Virtuous Ten Studio] evol4g:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

So I'm new to sense theming and to make a themed apk to utilize the full theme I need to make the apk with the standard files but do I also edit the fusion.apk with the .m10 files and recompile it and put together in a flashable zip? Or is there a way to do this all in one apk?
[Virtuous Ten Studio] Dunc001:
Try THIS tutorial over on the VTS website
[Virtuous Ten Studio] Diamondback:
Well if that app has some sort of protection built-in that's bad luck for you...

Did you use the "keep old signature" option?
[Virtuous Ten Studio] sleevasteve:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

I did try that option but it doesn't even install then. Set the build option to keep old signature and tried manually installing, tried pushing it from VTS, changed permissions...nothing seems to work. Is there something else I need to do to it? Is there a way to find the key and certificate on the original app and set it manually? I'm surprised more people haven't run into this kind of thing. Go figure I pick the one app that is booby trapped. Haha. I appreciate your help!

Sent from my Inverted Note 2 TweakedVzwRemix @ 240 DPI
[Virtuous Ten Studio] Diamondback:
Try the following:

Pull WORKING/ORIGINAL apk from phone

Import in VTS, make your changes

Select the "Keep old signature" option

Build project

Open ORIGINAL apk, extract the AndroidManifest.xml and PASTE it into the NEWLY BUILT apk from VTS

Then push/install that apk

You basically need to replace the AndroidManifest.xml with the original version, we figured recently that not doing this sometimes breaks the "Keep old signature" thing.

(and this is done autotmatically in the next version of VTS)
[Virtuous Ten Studio] sleevasteve:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

I'm probably over thinking this, but wouldn't I have to decompile or extract the original and newly built apk to copy over the androidmanifest though? I took the androidmanifest from my decompiled original apk(file) and then after building the new apk, I didn't know how to open it to paste, other than decompiling or extracting, so I tried just extracted the apk, pasted the androidmanifest, zipped it back up and changed the file extension to .apk from my phone and tried to install, but no cigar. I'm sure that probably wasn't how you were implying me to do it, but figured I would explain my thinking. Thanks again for your help, I'll be ecstatic if this works!

Sent from my Inverted Note 2 TweakedVzwRemix @ 240 DPI
[Virtuous Ten Studio] sleevasteve:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

I tried several ways of copying the original androidmanifest into the newly built apk, and it still doesn't want to install. I extracted it from the apk(used 7 zip to open archive, highlighted the manifest file and clicked extract) and used the same process of opening the newly built apk and dropped the extracted androidmanifest into it. Even tried copying it over from the decompiled original apk. Neither will install :( Is this the correct way to copy the file over, without decompiling the apk's? Thanks for your patience in helping me out here. I really appreciate it.

Sent from my Inverted Note 2 TweakedVzwRemix @ 240 DPI
[Virtuous Ten Studio] coal686:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Just to make sure, did you try opening both apk files with 7zip and then drag and drop from the old to the new? That's how I move files. No extraction or decompression first.
[Virtuous Ten Studio] sleevasteve:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Yeah I sure did, it copies fine, but when I go to install it, it gets all the way to the end of the installation and then says application not installed. Thanks for the clarification and help though. I'm beating my head against the wall with this one.

Sent from my Inverted Note 2 TweakedVzwRemix @ 240 DPI
[Virtuous Ten Studio] evol4g:
having issues installing vts, i keep gettings this error

shellexecuteex failed: code 2

cannot find file /downloads/setup.exe
[Virtuous Ten Studio] Diamondback:
Hm, this sounds like some AV software denying access to the setup file or something like this...
[Virtuous Ten Studio] ikjadoon:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Just to be sure, you're copying both the AndroidManifest.xml and the META-INF folder from the unopened original apk to the built one in the binary folder, right?

See the guide in my sig for exact instructions that worked for me! :)
[Virtuous Ten Studio] gyrene2083:
Have you managed to square this away?

ApkTool.ExecuteAPKTool Can't find Java Binary! Aborting apktool. d:\Java\jdk1.6..0_20\bin\java.exe

This is what I am getting in the error log, however that isn't the version I am running. I have cleared out all instances of this version via registry and everything when I upgraded to the new version, I have no idea how or where it's pulling this from. Any ideas?

Other than this one issue, your program looks great, but if I can't get past this I can't try it.
[Virtuous Ten Studio] sleevasteve:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Man I can't thank you enough! I think the key was building, but making sure it doesn't sign anything(unchecking the box that says "sign output file via the following method" under Build when creating a new project)! Then transferring BOTH files from the original apk(using 7 zip to simply view the file contents) and pushing all to the phone via VTS. I tried at least 50 variations while trying to troubleshoot this, and was about to give up. You sir, have made my day! Thank you Diamondback for your help also and for creating and sharing such a great application!

Sent from my Inverted Note 2 TweakedVzwRemix @ 240 DPI
[Virtuous Ten Studio] ikjadoon:
It's all good; I'm glad it helped. Yeah, as Diamondback said, the current sign options don't seem to work with system apps. I had a similar stage of confusion, where I think I posted in about 15 threads, created my own thread, created a Stack Exchange question, and chatted more than a few times on Stack Exchange's chat and VTS' IRC about this issue.

I've never, seriously, never had an Android thing work right the first try, lol (whether rooting, editing APKs, de-odexing, smali editing, everything, lol!).

~Ibrahim~
[Virtuous Ten Studio] sleevasteve:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Ain't that the truth. It's definitely a constant learning experience, especially when you're figuring out how to do things on your own. Feels good when you finally get it though! I'll bask in my joy/relief for a bit more, then on to the next hurdle! Thanks again!

Sent from my Inverted Note 2 TweakedVzwRemix @ 240 DPI
[Virtuous Ten Studio] Diamondback:
Yep, next version you can specifiy your own java path ;)
[Virtuous Ten Studio] gyrene2083:
Awesome, I look forward to your next release....
[Virtuous Ten Studio] kelvin216:
Noob help

Hello Great Devs,

This is a noob question I have been reading up on this great tool and most likely going to get myself a license, my question is this we over in the Amaze forums are just catching up with sense 4.1 and viper roms will this tool be able to help me port jellybean skins to ics, thanks to everyone for your help.
[Virtuous Ten Studio] coal686:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Sort of. You can decompile both to get at the png files, but you still have to do the grunt work of figuring out which jb png files correspond to which ICS png and moving them over.

If anyone knows a quicker way, please share or give a link. :)
[Virtuous Ten Studio] marvinlh:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

How do I recompile? I tried hitting the build button but when It finished, I looked in the virtuous ten folder and the file is still a folder. It's the framework2. Jar that I'm trying to recompile
[Virtuous Ten Studio] sleevasteve:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Check the binary folder.
[Virtuous Ten Studio] Diamondback:
What he said, since VTS is the only tool which can decompile/compile the images of Sense 4.x skins you actually need it to do so ;)
[Virtuous Ten Studio] chubbzlou:
Diamondback I dont know if this was address already. Found a bug in the push to device feature when pushing a framework-res.apk it pushes it to the app folder instead of the framework folder. So I assuming it does that to all the framework apks that should be in the framework folder.

framework-res.new\Binary\framework-res.apk" "/system/app/framework-res.apk"'

no biggie can push it via terminal just wanted to let you know.
[Virtuous Ten Studio] Diamondback:
Not really a "bug", just something you need to know. You can change the push path in the project settings ;)

I didn't find any reliable way to determine where an apk belongs... /app or /framework...

The user has to decide that on its own.
[Virtuous Ten Studio] chubbzlou:
Thanks.
[Virtuous Ten Studio] lozohcum:
Odp: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.

This app doesn't work for MokeeOS, it gets compiling error
[Virtuous Ten Studio] gobz:
.net framework 4 is really required?

It says requirements not met.

Ive a 3 gHz dual core xp with lotz of ram.

No way to get this to work on .net 2?

I use many other softwares including (bt not limited to;) ) Studio Android, Apk manager, Tickle my droid and many more.

Looks nice though, all in one!!
[Virtuous Ten Studio] Diamondback:
Yes it is ;)

But what's the problem? .net 4 runs fine on windows XP.
[Virtuous Ten Studio] marvinlh:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

When trying to decompile an apk, I get an error in the logs saying... Project "????" does not use a framework tag. VTS works best with properly set up tags.

I'm not sure exactly what that means or what I have to do. If someone could point me in the right direction, it would be really appreciated.
[Virtuous Ten Studio] Diamondback:
It's only a warning, not an error. If everything works fine, just ignore it.

It's there because many people forgot to add frameworks where needed so they had errors.
[Virtuous Ten Studio] gobz:
Oh you wouldn't believe how many errors it's giving me..i'm fed up of it..and on top of that my tether is broken in my current rom...I'll try again and see if I succeed..:(
[Virtuous Ten Studio] officiallyme:
i was using VTS successfully on apks from my previous ICS setup but on JB it doesn't seem to work anymore.

installed the new framework files but get the following errors:

anybody know why? :(

hope someone can help me out :(
[Virtuous Ten Studio] Cyb0rgz:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Hi all,

I'm just a beginner in these stuff. Just used this tool n its simply awesome! Helped me to mod .m10 files. Have few questions,

After I have modified n build the apk. I want to export to my system local folder. But, it is pushing to my device and then I need to copy back from my device.

Thanks
[Virtuous Ten Studio] sleevasteve:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

If you right click the project and "open in folder" you can find the newly built apk in the binary folder, to move as you'd like.
[Virtuous Ten Studio] toxicthunder:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

.net framework is not necessarily dependent on your hardware. But yes it is surely required, especially the hotfixes released in 2013.
[Virtuous Ten Studio] .c0dy:
I can no longer register my license. It keeps saying

"Error while parsing license file..."

and

"Registering license failed! Can't find valid license after registration."

EDIT: On another PC with Win XP it's still activated and works.

At home I'm using Win 8 x64. Tried run as administrator and compatability-mode to Win 7.
[Virtuous Ten Studio] Diamondback:
Please answer to the license email you received, easier to support you there ;)
[Virtuous Ten Studio] benny3:
I do have to say this is worth the donation price. Now i need to learn more on how to use all the resources ..

Great app guys and Thank You very much !!

benny3
[Virtuous Ten Studio] Diamondback:
Here's a screenshot of the new design (blue will be still the default color, green is just mine) ;)
[Virtuous Ten Studio] :
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Will it be possible to switch colours? :)

(sorry if this was asked already.. Haven't paid much attention to this topic)
[Virtuous Ten Studio] Diamondback:
Yes, you can change the main color scheme. (Blue is default, in the screenshot I changed it to green)
[Virtuous Ten Studio] ikjadoon:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Looking good! Really like the side by side
[Virtuous Ten Studio] mushtafa:
I'm having a few problems guys; when I try to load the software I see the flash screen and it disappears. If I start up task manager it's listed in the Processes tab.

What can I do to diagnose this problem?

I've tried re-installing with no success. I've also tried running as administrator.

Thanks

Edit: Windows 7 64bit
[Virtuous Ten Studio] Brds7t7:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

Diamondback this is awesome!

I don't often buy a lot of software, but will be purchasing a licence soon. :thumbup:

Sent from My Calculator!
[Virtuous Ten Studio] coal686:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8

I don't often buy software, but when I do, I buy this one. Stay theming my friends.