yashsingh1/xdaforums huggingface dataset:
[Virtuous Ten Studio] Diamondback:
Yes. It disappears, once the java code generation is finished.
[Virtuous Ten Studio] NunoPitbull:
Sorry but I can't help noticing I'm getting ignored here. Posted same post 3 times and you just bypass my post. Do I need to donate to get support for such "apparently" easy modding stuff? If so tell me..So I don't loose my time trying to wait for a reply. It's just that ur software is user friendly, and I didn't want to learn to use apktool.
[Virtuous Ten Studio] Diamondback:
I already tried to help you besides the fact that you are in the entirely wrong thread anyway.

Your problem is not that VTS doesn't work (this would be the right thread to address issues like this), no, your problem is that you have no idea what you are doing and that you search someone that does all work for you.

You don't provide any information, any logs, a logcat, etc...

Sorry, XDA doesn't work that way! Use Google. use the XDA search, everything you need to know is out there.

You are right, VTS is userfriendly (one of the main goals here), however, that doesn't eliminate the need to actually

understand

what you want to do.
[Virtuous Ten Studio] coal686:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.3.27.9

People usually don't answer because they don't know the answer. Not that they're ignoring you. I don't run your phone but I'll try anyway.

My guess is that since you didn't put it in /system/app, you are still using the original unmodified version. Why can't you put it in /system/app?
[Virtuous Ten Studio] NunoPitbull:
1) I did provide a log as you asked.

2) Your right, maybe this isn't the place, but I just though maybe it wasnt compiling correctly or something, seems its not the case, either ways I was hoping you as beeing a dev could enlighten me on such easy process. I DO know what I'm doing concerning the part of editing the file/moving to phone, since i've done it for galaxy ace sucessfully. I just don't get why on Jellybean you ahve a Preload folder Linked with System/apps one, and why it isn't allowing me to move the SecMms.apk into system/apps but just to /preload. and if I move to system/apps i loose the Link to /preload dunno why. So this issues are getting me in a loop of no ideas and noone with the same problem on google or XDA search, so please don't say im looking for someone to do the work for me, when its me who do the work for people. I actually made some apps with tasker to help ppl non-ICS out and such stuff. Its just this im not understanding, why in 2.3 android it works and not on jelly bean.

3) My problem why I can't past on system/app is that it says theres no room on the disk, while i already delete over 20mb in apps there. So something is wrong and I would like some1 to help me...
[Virtuous Ten Studio] Diamondback:
Totally looks like one these imfamous ".net framework broken" exceptions. Shame on you Microsoft, seems to happen on quite a few .net 4.5 upgrades...!

Try reinstalling/repairing your .net framework.
[Virtuous Ten Studio] mushtafa:
Re: [IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.3.27.9

I've tried a couple of times now, I'll see if I can install .net v4 instead.

Thanks

Sent from Tapatalk 2
[Virtuous Ten Studio] Raymond Ebertt:
Buying Licence

I've sent a couple of messages to a couple of the Dev's already, but still no response; either you are overwhelmed with questions, or not online.

Any event, I am trying to purchase a licence to theme M10 png's. However, I am unable to pay by your payment methods. I am a Canadian working and living in Thailand and my visa card expired several years ago and I never renewed the card. I am able to pay by transfer namely Western Union if that is possible. I really want the licence as I want to theme my device without the watermarks.

Could you check your PM's and let me know if this payment method is acceptable.

Thanks
[Virtuous Ten Studio] Diamondback:
Check your PM :)

I might have an idea where the issue is (still no idea

why

it only happens on a fraction of all installations)

Watch your inbox, I'll send you some debug/test version of VTS shortly.
[Virtuous Ten Studio] officiallyme:
has anybody managed to use this very cool programm with rootbox?

i am unable to install the framework-res.apk

am i missing something?
[Virtuous Ten Studio] Diamondback:
and what exactly is the problem with installing the framework?
[Virtuous Ten Studio] Raymond Ebertt:
Push Error

Can anyone help with this? I successfully rebuilt fusion.apk and pushed it back into my device a couple of days before, but today I can't.

17:40:44.984: [Debug] - ADBTool.ADBSend: 'ADB args: push "C:\Users\Raymond\Documents\Virtuous Ten Studio\Projects\fusion-test\fusion\Binary\fusion.apk" "/system/app/fusion.apk"'

17:40:51.960: [Error] - ADBTool.ADBSend: 'ADB: failed to copy 'C:\Users\Raymond\Documents\Virtuous Ten Studio\Projects\fusion-test\fusion\Binary\fusion.apk' to '/system/app/fusion.apk': No space left on device'

17:40:51.962: [Error] - ADBTool.ADBSend: 'ADB ' push "C:\Users\Raymond\Documents\Virtuous Ten Studio\Projects\fusion-test\fusion\Binary\fusion.apk" "/system/app/fusion.apk"' failed, Exitcode: 1'

17:40:51.969: [Error] - ADBTool.Push: 'Pushing apk failed!'

Any ideas? Push All worked before, but now I get an error that my device has no space.
[Virtuous Ten Studio] Diamondback:
Hm, tried restarting your device?

Did you change anything since yesterday? (ie. did the apk actually grow?)
[Virtuous Ten Studio] Raymond Ebertt:
I just backed up the device now as I was testing a couple of M10 files in Serene skin. I'm going to try again. I did all the steps correctly, I believe.

1. New Project, M10 project, M10-Engine, import ( import from remote file /sysyem/fusion)

2. Renamed it fusion-test

3. Photoshop and themed lockscreen ring

4. Selected Projects folder project (takes me to home

5. Build All (successful)

6. Push All (error)

As I mentioned, I pushed fusion back this way the other day with no errors.
[Virtuous Ten Studio] officiallyme:
not sure :confused:

it's the framework from Vanilla Rootbox
[Virtuous Ten Studio] Diamondback:
Is that ROM based on SLIM rom by any chance? ApkTool can't handle these frameworks yet.
[Virtuous Ten Studio] officiallyme:
don't think so.

it's AOKP and uses some elements of CM
[Virtuous Ten Studio] Raymond Ebertt:
More errors

I re-installed my back up and tried pulling fusion again. Now I am getting new errors

18:54:58.207: [Debug] - M10ProjectViewModel.ImportFilesAsync: 'fusion: M10 file successfully decompiled'

18:54:58.207: [Debug] - M10ProjectViewModel.ImportFilesAsync: 'fusion: Decompiling M10 images'

18:54:58.269: [Debug] - M10ImageNames.Initialize: 'Loaded 1057 registered image names!'

18:55:00.063: [Warning] - M10ImageTool.DecompressImage: 'Decoding image failed, return code: -2, type: 4'

18:55:00.064: [Warning] - M10ImageCompressor.DecompressTexture: 'Failed image ID: B91CC446'

18:55:38.201: [Warning] - M10ImageTool.DecompressImage: 'Decoding image failed, return code: -2, type: 4'

18:55:38.201: [Warning] - M10ImageCompressor.DecompressTexture: 'Failed image ID: 6E16F07F'

18:55:38.927: [Warning] - M10ImageTool.DecompressImage: 'Decoding image failed, return code: -2, type: 4'

18:55:38.927: [Warning] - M10ImageCompressor.DecompressTexture: 'Failed image ID: B91CC446'

18:55:40.734: [Warning] - M10ImageTool.DecompressImage: 'Decoding image failed, return code: -2, type: 4'

18:55:40.734: [Warning] - M10ImageCompressor.DecompressTexture: 'Failed image ID: 7163833F'

18:55:40.752: [Warning] - M10ImageTool.DecompressImage: 'Decoding image failed, return code: -2, type: 4'

18:55:40.752: [Warning] - M10ImageCompressor.DecompressTexture: 'Failed image ID: B91CC446'

18:55:43.293: [Warning] - M10ImageTool.DecompressImage: 'Decoding image failed, return code: -2, type: 4'

18:55:43.293: [Warning] - M10ImageCompressor.DecompressTexture: 'Failed image ID: B91CC446'

18:55:43.913: [Success] - M10ProjectViewModel.ImportFilesAsync: 'fusion: File import succeeded!'

18:55:43.913: [Debug] - M10Logger.LogPerformance: 'FileImport: 48508ms'

18:55:43.918: [Debug] - TenProjectViewModel.LoadBackups: 'Found 0 backups for project 'fusion''

I finally succeeded but only after many attempts. Is this pull corrupt?

Sorry to post log in thread this way, but I don't want to include all of the previous data.
[Virtuous Ten Studio] Diamondback:
Nope that's fine. Nothing to worry about :)
[Virtuous Ten Studio] Diamondback:
Hm, I think you'll have to wait for an apktool update nevertheless. Feel free to ask in the apktool thread though. :)
[Virtuous Ten Studio] Raymond Ebertt:
Well, I further tested. All I did was opened fusion, looked through the folders, closed, rebuilt (ok), and All Push (same error)

After looking at Serene skin, this is what happened. This time I didn't theme anything. I'm using your tutorial for theming M10 PNG's only. Now this worked successful the other day, so I don't know what is going on now. Do you think it's something to do with Net Framework or am I just completely doing the wrong thing?
[Virtuous Ten Studio] Diamondback:
fusion..apk contains the images for all skins, so if something goes wrong, all existing skins might be broken.

M10 skins are a very fragile thing, (which we don't even fully understand anyway) so something goes wrong very easily.

Your best bet is to go back to your backup of the stock fusion.apk, check that everything is fine again on your phone (or maybe even reflash the ROM) and then start again from scratch.
[Virtuous Ten Studio] torxx:
I some how f*cked up my VTS, it was always working fine but since 2 days every smali line gets spammed with #@valuexyz and I don't know why. First I thought that my custom apktool did this, replaced apktool folder with stock one from VTS, then even deinstalled and reinstalled VTS but no luck, any ideas?

Screen: http://i.imgur.com/FMrxGhG.png
[Virtuous Ten Studio] Diamondback:
oh :laugh:

My fault :o

If you are fine with that, just ignore these lines, they are additional debug lines from smali, I needed them for the next big project I am working on.

I guess I'll publish a small update soon, which will remove these.
[Virtuous Ten Studio] Raymond Ebertt:
I restored back-up and tried to push with ADB through CMD and I get the same error as with Studio 10.. no space available. I checked my stored and I have plenty of space in my sysyem. The apk is only 20 MB.

I really don't understand. It worked the first time I tried with no problems at all. Now, it's an error every time I try. The fusion.apk is fine.

I will try to reflash the complete ROM again. I'm using ViperDHD. Do you know anyone else with this issue?
[Virtuous Ten Studio] torxx:
Ok good to know that, thanks :)

It is ok for now but for the future when I want to diff my changes, it will be very hard to track them with all this debug.

Keep up the great work!
[Virtuous Ten Studio] Diamondback:
Yea I know, don't worry, I'll remove it again ;)
[Virtuous Ten Studio] Raymond Ebertt:
Continuous Error

Hey mate. I tried again on a clean ROM that I reflashed.

23:56:21.310: [Normal] - ZipalignTool.Zipalign: 'Zipaligning file: C:\Users\Raymond\Documents\Virtuous Ten Studio\Projects\fusion-test\fusion\Binary\fusion.apk'

23:56:21.339: [Debug] - ZipalignTool.Zipalign: 'ZipalignTool args: -v 4 "C:\Users\Raymond\Documents\Virtuous Ten Studio\Projects\fusion-test\fusion\Binary\fusion.apk.bak" "C:\Users\Raymond\Documents\Virtuous Ten Studio\Projects\fusion-test\fusion\Binary\fusion.apk"'

23:56:21.446: [Debug] - ZipalignTool.Zipalign: 'Deleting backup-file...'

23:56:21.448: [Debug] - ZipalignTool.Zipalign: 'Successfully zipaligned: C:\Users\Raymond\Documents\Virtuous Ten Studio\Projects\fusion-test\fusion\Binary\fusion.apk'

23:56:21.451: [Success] - M10ProjectViewModel.BuildApkAsync: 'Binary successfully built! Path: C:\Users\Raymond\Documents\Virtuous Ten Studio\Projects\fusion-test\fusion\Binary\fusion.apk'

23:56:24.218: [Normal] - TenProjectViewModel.PushApkAsync: 'Transferring 'fusion.apk to location: '/system/app/'''

23:56:24.222: [Debug] - TenProjectViewModel.PushApkAsync: 'Pushing: C:\Users\Raymond\Documents\Virtuous Ten Studio\Projects\fusion-test\fusion\Binary\fusion.apk'

23:56:24.224: [Debug] - ADBTool.Shell: 'Starting Adb...'

23:56:24.274: [Debug] - ADBTool.Shell: 'ADB args: shell'

23:56:24.341: [Debug] - ADBTool.Shell: 'ADB shell: getprop ro.secure'

23:56:24.341: [Debug] - ADBTool.Shell: 'ADB shell: exit'

23:56:24.341: [Debug] - ADBTool.Shell: 'ADB shell: exit'

23:56:24.341: [Debug] - ADBTool.Shell: 'ADB shell: sh-3.2# getprop ro.secure'

23:56:24.341: [Debug] - ADBTool.Shell: 'ADB shell: 0'

23:56:24.341: [Debug] - ADBTool.Shell: 'ADB shell: sh-3.2# exit'

23:56:24.341: [Debug] - ADBTool.Shell: 'ADB shell: exit'

23:56:24.342: [Debug] - ADBTool.Push: 'Pushing 'fusion.apk' to '/system/app/''

23:56:24.342: [Debug] - ADBTool.Push: 'Mounting /system...'

23:56:24.342: [Debug] - ADBTool.ADBSend: 'Starting Adb...'

23:56:24.373: [Debug] - ADBTool.ADBSend: 'ADB args: remount'

23:56:24.403: [Debug] - ADBTool.ADBSend: 'ADB: remount succeeded'

23:56:24.403: [Debug] - ADBTool.Push: 'Pushing apk...'

23:56:24.403: [Debug] - ADBTool.ADBSend: 'Starting Adb...'

23:56:24.440: [Debug] - ADBTool.ADBSend: 'ADB args: push "C:\Users\Raymond\Documents\Virtuous Ten Studio\Projects\fusion-test\fusion\Binary\fusion.apk" "/system/app/fusion.apk"'

23:56:30.006: [Error] - ADBTool.ADBSend: 'ADB: failed to copy 'C:\Users\Raymond\Documents\Virtuous Ten Studio\Projects\fusion-test\fusion\Binary\fusion.apk' to '/system/app/fusion.apk': No space left on device'

23:56:30.006: [Error] - ADBTool.ADBSend: 'ADB ' push "C:\Users\Raymond\Documents\Virtuous Ten Studio\Projects\fusion-test\fusion\Binary\fusion.apk" "/system/app/fusion.apk"' failed, Exitcode: 1'

23:56:30.008: [Error] - ADBTool.Push: 'Pushing apk failed!'

It still tells me that I have no space available.
[Virtuous Ten Studio] Diamondback:
Well since it happens when using the manual ADB way too, I'm afraid i can't help you. Something is wrong with your phone ;)
[Virtuous Ten Studio] Brds7t7:
I would try backing up all your data to pc, then try wiping everything including formatting the sd card. Then restoring all your files back and fresh installing the rom. It's worth a try. If you still have issues after wiping then as Diamond says, there is definitely an issue with the phone.

I can't see how this would be a VTS issue.

Apologies for going off-topic Diamondback.

Sent from My Calculator!
[Virtuous Ten Studio] Raymond Ebertt:
I'll give that a go tonight. I don't see what is going on. This worked 2 days ago on my first attempt. I had no issues at all and since, I haven't done any changes to the device. I'm just wondering if it might be a USB cable issue? I really don't know..
[Virtuous Ten Studio] NunoPitbull:
Im still having the same issue, and its related to VTS. So i pushed a moded SecMms.apk to /preload nad use vinc for system/app with root exlporer, and it worked. And it didnt needed an .ODEX file. Althout its double the size of normal SecMms.apk.

So compiling with VTS will it need a .odex file or smth? I still didnt figured it out cause it seems to compile/decompile just fine.
[Virtuous Ten Studio] allenfoxtc:
I'm a noob here...

I'm using the latest version of VTS(2.3.27.9200), but have a question when decompiling.

For example,

in old version, after decompile, i got a smali like this:

.method public VVV(Landroid/os/Handler;)V
.locals 2

new-instance v0, Ljava/lang/Thread;

new-instance v1, Lcom/a/b/c/D$3;

invoke-direct {v1, p0, p1}, Lcom/a/b/c/D$3;-><init>(Lcom/a/b/c/D;Landroid/os/Handler;)V

invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

invoke-virtual {v0}, Ljava/lang/Thread;->start()V

return-void
.end method

but the newest VTS got this:

.method public VVV(Landroid/os/Handler;)V
.locals 2

#@0
new-instance v0, Ljava/lang/Thread;

#@2
new-instance v1, Lcom/a/b/c/D$3;

#@4
invoke-direct {v1, p0, p1}, Lcom/a/b/c/D$3;-><init>(Lcom/a/b/c/D;Landroid/os/Handler;)V

#@7
invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

#@a
invoke-virtual {v0}, Ljava/lang/Thread;->start()V

#@d
return-void
.end method

Here is my question:

1. Why there is many lines that contains "#@*"?

2. If this is a smali function, then how can i disable it?

Sorry for my bad English.

Thanks!!
[Virtuous Ten Studio] NunoPitbull:
Ok, where can i get the smali part of the apk? I read that SecMms.apk u cant edit by only editing the XML but editing the smali part of it. So where can I access it?

EDIT: I cannot find any smali folder on SecMms.apk ... what is wrong :/
[Virtuous Ten Studio] coal686:
I think this is related to what Diamondback mentioned here: http://xdaforums.com/showthread.php?p=39963173
[Virtuous Ten Studio] Raymond Ebertt:
Need Help with Skin

Diamondback or anyone that might have an idea.

I made a skin for the HTC ViperDHD using Sense 4.1. I followed the tutorial to the letter, but after building all and placing the apk into a zip, my friend that has the same device and running the same ROM only got my wallpaper that I attached.

For most people this won’t need to be edited, as long as you use a skin from your rom.zip that you are making the skin for.

For the people that are making skins for multiple devices we will need to change this a bit. Every sense version has its own version code.

If this number isn’t right it will not show up in the skin chooser.

This is also the reason why skins cannot be cross compatible with devices. Even though the One X and the Incredible 4g both have sense 4.0 they still have different version codes.

Two examples: android:versionCode="289406976" for qHD (Inc4g)

and android:versionCode="287309824" for HD (One X/XL).

My question is the last line in the tutorial section I outlined and highlighted. I wrote Sense 4.1 while making my skin, but I don't understand why the receiver can't get this skin.

The receiver said all he could see was a white pallet with a paintbrush in the Skins chooser option of the ROM

Attachments show the Skin. Thanks Diamondback. Now all I need to learn are my errors and how to correct them.
[Virtuous Ten Studio] coal686:
So he can see the skin in the chooser, just no preview? If he applies the skin, does it apply? A white pallet with a paintbrush usually means that the chooser sees the skin but you didn't include a preview jpg. I want to say that the file is in /res/images, but I'm not at my computer and can't remember the exact location off the top of my head.
[Virtuous Ten Studio] Raymond Ebertt:
With the zip I sent him, he only got the wallpaper that I added. The previews and theme didn't work for him. Basically he had my wallpaper and the Aluminum skin apk theme.

I'm trying again but having some confusion with the tutorial and the Studio Ten version I'm using. It seems that some of the elements shown in the tutorial are slightly different than what is available on my version of Studio (2.3.27.9200)

The confusion comes in Step Six-Assets Folder

Right click on assets folder and select Open in Explorer.

In explorer rename matte folder to the name that you put in the AndroidManifest.xml.

It has to be spelled exactly the way it is in the AndroidManifest.xml but without the com.htc.skin.

My line #2 will look like this:

([..] android:versionCode="287309824" [..] package="com.htc.skin.MyOwnSkin" [..]),

so I will rename the folder to MyOwnSkin.

Close the explorer window and return to VTS.

Right click on your Project and select Reload Project.

Now VTS should show your newly renamed folder.

When I right click, I don't see Reload Project, I only see Reload Solution. I am right-clicking the top file (my skin name)

I'm not sure if I am creating my folder or copying Aluminum
[Virtuous Ten Studio] _Variable:
kewl, will try it.
[Virtuous Ten Studio] Diamondback:
You need to install ALL framework apks, not just one. All with the same tag.

Right click the

Project

, not the Solution.
[Virtuous Ten Studio] Diamondback:
Did you select the proper framework folder? (and deodexed that one first? completely?)

There is no such thing as a "smali folder" inside any file...

classes.dex contains all code inside apks and jars.
[Virtuous Ten Studio] Raymond Ebertt:
Skin Problems

Diamondback

I did everything that was in the tutorial for making a new skin, but after, all I got was my preview and wallpaper.

I have included a screenshot of skin chooser, the skin on my homescreen (used Aluminum as base) and a shot of Studio 10. My previous screenshots are what the theme should look like.

After I finished theming, I went to Aluminum and built project. Once that was done, I went back to Aluminum and pushed to device. This time it worked ! ! ! !

But, my theming isn't there. Could you troubleshoot my issue? Am I rebuilding the base skin over again? If you need more screens, I can send you.
[Virtuous Ten Studio] razer1224:
I have this issue too....

Use the default HTC Skin as a base
[Virtuous Ten Studio] Raymond Ebertt:
LOL,,, are you serious? There over 1,000 png's? Could you tell me how you narrowed down the specific png's for your skin? Default holds them all.

And,, Does the new theme skin suppose to replace the stock skin?

I've downloaded many skins before and I never had a skin replace another.
[Virtuous Ten Studio] PerfectSlayer:
Hi Diamondback,

There is new forums about development tools : http://xdaforums.com/forumdisplay.php?f=2189

May be you could make a presentation post to collect more users (and donations :angel:) from it :D
[Virtuous Ten Studio] Raymond Ebertt:
Here is another shot of navigating into the assets folder showing that the theming is there.

From the shot, is everything ok?
[Virtuous Ten Studio] NunoPitbull:
So what steps do I need to do? How can I deodex the framework-res.apk and twframwork?

And then what I need to do to make my SecMms.apk deodex? Really apreciate the help!

Cant deodex framework.odex or twframework same errors..
[Virtuous Ten Studio] Raymond Ebertt:
Is it possible to copy my themed PNG's from the skin I created already and paste them into a new skins project using default skin? As well, where would I get the default skin as I did with Aluminum? I don't see it in system/apps. I know where is one in fusion, but don't I need the default .apk first to transfer the folder into it?

Edit: No, it doesn't work.

I don't know what is going on. Frustrating.
[Virtuous Ten Studio] jasonwang:
hope to free

hope to free
[Virtuous Ten Studio] Diamondback:
There is no "default" skin as you would expect. All skins are inside the fusion.apk, HTC just added dummy apks for the non default ones, so their system displays them. The apks on their own are completely useless.

To create a "real" skin you either need to download one from HTC or build it on your own (as described in that tuturial on my website).

From that point on you can theme the m10 images inside.
[Virtuous Ten Studio] Raymond Ebertt:
Thanks Diamondback. I am building a grey/blue theme called Evening right now. I figured out a lot of issues I had, namely in the building and pushing process. I followed your tutorial (excellent job) and I finally have success. The tutorial though seems to be for an earlier version of Studio? Some of the screenshots in the tutorial are a little different from what I see in my panels. However, it's finally growing, but slowly.

After completion, would this skin work on all devices running the ROM I based the skin on (ViperDHD)?
[Virtuous Ten Studio] Diamondback:
Nice! In theory (ie. if you did everything right) the skin works even across devices, as long as the devices use the same Sense version and screen resolution.
[Virtuous Ten Studio] razer1224:
Thanks for that ;)
[Virtuous Ten Studio] Raymond Ebertt:
Good to hear, I'm just finishing up the final touches. I'll post some screens for you. Thanks mate.
[Virtuous Ten Studio] razer1224:
Mine screens :)
[Virtuous Ten Studio] Raymond Ebertt:
Evening for ViperDHD

I completed the apk. However, my mate said he couldn't flash. Where would I get the .apk file? Is binary the only place? Or, can I pull it from device and make a zip?
[Virtuous Ten Studio] Diamondback:
You don't flash these apks... You just install them.