framework-res.apk compiling problems (virtuous ten studio) - Samsung Infuse 4G

hi, im having difficulties compiling framework-res.apk (for ICS) using virtuous studio here is a link to a video i made with what i did and what its doing any insight would be greatly appreciated thank you
video here

Hi
Virtuous Studio is a very new software released in April 2012 (its potential seems high).
You should also take help from XDA Virtuous Studio forum http://forum.xda-developers.com/showthread.php?t=1619473
I also watched your youtube performance Behemoth's No Sympathy For Fools

ndhanta said:
Hi
Virtuous Studio is a very new software released in April 2012 (its potential seems high).
You should also take help from XDA Virtuous Studio forum http://forum.xda-developers.com/showthread.php?t=1619473
I also watched your youtube performance Behemoth's No Sympathy For Fools
Click to expand...
Click to collapse
thanks, lol whatd you think?

Does it recompile with no changes.
Sent from my SAMSUNG-SGH-I997 using xda premium

NunHugger said:
Does it recompile with no changes.
Sent from my SAMSUNG-SGH-I997 using xda premium
Click to expand...
Click to collapse
it doesnt re-compile at all, it keeps saying the it cant find the resources or sources ive tried with systemui.apk and framework.jar opened at the same time as framework-res.apk bu still nothing, i setup the program correctly, i just need o compile it, ive been using virtuous studio but i havent found an apktool thatll work for it, i downloaded the latest version and it said it couldnt open it, and since it's ICS i cant use your apktool pack, not trying to sound like im ranting, just trying to let you know what all i've done, oh i even tried an older apktool still came up with the same thing

And it won't... You have to have baksmali and smali with the magic number modified to smali ics apks
Sent from my SAMSUNG-SGH-I997 using xda premium

dman3285 said:
And it won't... You have to have baksmali and smali with the magic number modified to smali ics apks
Sent from my SAMSUNG-SGH-I997 using xda premium
Click to expand...
Click to collapse
ok, and that for all apks but doesnt effect jars?

Related

Non-pageinated app drawer

I've seen gingerbread sense roms that have it, but how can I add it myself?
Sent from my Inspire 4G using XDA App
darknessrise1234 said:
I've seen gingerbread sense roms that have it, but how can I add it myself?
Sent from my Inspire 4G using XDA App
Click to expand...
Click to collapse
do you know how to decompile/compile apks?
if you are running the current ATT GB rom, i can give you the already modified jar file from my rom
Pirateghost said:
do you know how to decompile/compile apks?
if you are running the current ATT GB rom, i can give you the already modified jar file from my rom
Click to expand...
Click to collapse
Not a very hard sell there pirate...just tell him to flash rumrunner and be done with it.
newter55 said:
Not a very hard sell there pirate...just tell him to flash rumrunner and be done with it.
Click to expand...
Click to collapse
LOL.
good call
I don't know how. But I'm a fast learner. Willing to take me? XD
Sent from my Inspire 4G using XDA App
darknessrise1234 said:
I don't know how. But I'm a fast learner. Willing to take me? XD
Sent from my Inspire 4G using XDA App
Click to expand...
Click to collapse
lol.
i will do you a favor. give me your com.htc.framework.jar located in /system/framework/
i will take care of it for you.
if you want to learn how to decompile apks, let me point you to this thread:
http://forum.xda-developers.com/showthread.php?t=695701
more specifically to decompile jar files:
http://mastergenius.net/wordpress/2...le-apk-and-jar-files-for-android-smartphones/
in order to do the non-paginated app drawer, you need to decompile that jar file and edit some smali.... i have the exact lines that need to be modified, and a link to the original thread on it, but i dont think they want it posted here.
Okay. I'll do it tomorrow.
Sent from my Inspire 4G using XDA App
Sorry I took so long, was having problems with my computer. Jar is attached in a zip.
darknessrise1234 said:
Sorry I took so long, was having problems with my computer. Jar is attached in a zip.
Click to expand...
Click to collapse
what rom is this from? i cant recompile without some framework resources, since its not based off what i already have installed...
Virtuous unity.
Sent from my Inspire 4G using XDA App

How do I get wallpaper from gtg's Infused rom

Hi everyone. I've been reading around xda for quite a while and would first like to say thanks to all the great devs and others on here who have really helped to make the infuse an even better phone. Ok so this is my first post so I hope I have the right section. My question: is it possible to pull the sgs2 wallpaper pack from gtg's Infused rom? I've searched everywhere and can't find a wallpaper pack like it. I'm trying to complete my sgs2 look on my infuse with CM7 and wizmod2 theme. Thanks for any help!
Sent from my SGH-I997 using xda premium
Try searching for the wallpapers in the rom zip. Normal locations are the framework apk if its just one. Or a separate folder in the ROM if they are multiple.
diablo009 said:
Try searching for the wallpapers in the rom zip. Normal locations are the framework apk if its just one. Or a separate folder in the ROM if they are multiple.
Click to expand...
Click to collapse
Thanks diablo and thanks for your compiled modems thread
Sent from my SGH-I997 using xda premium
It will be called default_wallpaper.jpg ....or in system/app look in TwWallpaperchooser.apk
Sent from my SAMSUNG-SGH-I997 using xda premium
dman3285 said:
It will be called default_wallpaper.jpg ....or in system/app look in TwWallpaperchooser.apk
Sent from my SAMSUNG-SGH-I997 using xda premium
Click to expand...
Click to collapse
Thanks dman . I didn't realize you could pull files and even apps from other rom zips. This is awesome. Looks like I've got some more tinkering to do.
Edit: also, just wanted to thank you dman for all your hard work as a dev
Sent from my SGH-I997 using xda premium
sparks83 said:
Thanks dman . I didn't realize you could pull files and even apps from other rom zips. This is awesome. Looks like I've got some more tinkering to do.
Edit: also, just wanted to thank you dman for all your hard work as a dev
Sent from my SGH-I997 using xda premium
Click to expand...
Click to collapse
Yes, but only selective apps. You may, but should be careful with the android build version. Some apps are compiled from sources, and those might not be compatible when taken from one ROM to another. But others, like add on apps, can be taken.
diablo009 said:
Yes, but only selective apps. You may, but should be careful with the android build version. Some apps are compiled from sources, and those might not be compatible when taken from one ROM to another. But others, like add on apps, can be taken.
Click to expand...
Click to collapse
Ha yea I spoke too soon only some were usable I actually pulled the Touchwiz4 launcher from Darkyrom and everything works except when I try to add Widgets just the normal widget menu window pops up rather than the horizontal scrolling icons menu :/
Sent from my SGH-I997 using xda premium
sparks83 said:
Ha yea I spoke too soon only some were usable I actually pulled the Touchwiz4 launcher from Darkyrom and everything works except when I try to add Widgets just the normal widget menu window pops up rather than the horizontal scrolling icons menu :/
Sent from my SGH-I997 using xda premium
Click to expand...
Click to collapse
You can use tw4.5 which is a modded version for any phone but I've found it to be buggy. there is also a framework mod that can be done to get it all working. I'm actually gonna play with that tonight.
Dani897 said:
You can use tw4.5 which is a modded version for any phone but I've found it to be buggy. there is also a framework mod that can be done to get it all working. I'm actually gonna play with that tonight.
Click to expand...
Click to collapse
Dani, I actually am looking into that framework mod at the moment but I'm still a noob at all this so reading up on decompiling the framework jar. Let me know if you have any luck man cuz I'd really like to get this working. Thanks
Sent from my SGH-I997 using xda premium
sparks83 said:
Dani, I actually am looking into that framework mod at the moment but I'm still a noob at all this so reading up on decompiling the framework jar. Let me know if you have any luck man cuz I'd really like to get this working. Thanks
Sent from my SGH-I997 using xda premium
Click to expand...
Click to collapse
I think the tree structure within framework.jar is a bit different but it may still work, I still haven't tested it, I got distracted. you can use apk tool or smali to decompile it, baksmali or apk tool to compiled it.
I don't mess with apk manager because it tries to do to much for you and isn't really useful because the apps don't usually work when you are done, you wind up having to pull files from the Finnished apk and dropping them in a copy of the original because the signing doesn't work with system apps.

What im using to decompile apks

OMG
This dude made life soooooo much easier
please donate to wanam
and use his apk manager
he fixed all the bad magic values
http://forum.xda-developers.com/showpost.php?p=23935070&postcount=14
Thanks, What kind of deodex tools you using? I could never figure out how to deodex the apk for maps.
I was finally able to decompile/recompile framework-res and systemui this morning without any errors (or my phone going into a boot loop after I push either to the system), along with all other ICS apk's. It figures I read about this tool right after I figure it out lol
Sent from my SAMSUNG-SGH-I727 using xda premium
seanzscreams said:
OMG
This dude made life soooooo much easier
please donate to wanam
and use his apk manager
he fixed all the bad magic values
http://forum.xda-developers.com/showpost.php?p=23935070&postcount=14
Click to expand...
Click to collapse
Awesome! But I'm still confused. Since the UCALC4 leak I had not been able to use apktool, apk multi-tool,xdaAutoTool, etc. (bad magic values and such). However, for some reason, as soon as you came back from tour and came out with the first Sky ICS ROM base, I could decompile apks again (smali files and all) with no errors or bad magic value nonsense. Why would that be?
Hes magic lol
Sent from my SAMSUNG-SGH-I727 using xda premium
MikeySmikey said:
Hes magic lol
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Touché, Techno Viking.
m4570d0n said:
Touché, Techno Viking.
Click to expand...
Click to collapse
Awesome. You're the first to notice.
Sent from my SAMSUNG-SGH-I727 using xda premium
I can't decompile systemui....I can decompile framework and twframework but if in try to decompile systemui all I see is a smali folder. I've been trying to use apktool succesfully for three weeks now and no success. I have all the newest sdk items and Java etc.......I want to build custom rooms but its getting frustrating
Sent from my GT-P7510 using xda premium

Themed rosie

Hey xda its not really finished im running a OTA update of 4.67 or something like that and i used apktool to decompile a rosie from the newest OTA update for supersonic and i used the newest updated framework files (framework-res.apk and com.htc.resources.apk)
I sucessfully did everything right but it forecloses on me.
I think its because of The OTA update im running.
So im wondering if some of you can give me feedback if the apk is fully functionable and/or five me advise and help me.
Heres the link:https://www.box.com/shared/26f86df99cf3e38ffdc2
Sent from my PC36100
Make sure the apk is compiled and signed properly first off, I had an issue similar to yours. Also make sure there are no clashing files such as the original Rosie and framework files. No missing files within the Rosie or framework is necessary. I hope you saved all original files in a safe place?
V3ndetta Is Rising.....
death-by-soap said:
Make sure the apk is compiled and signed properly first off, I had an issue similar to yours. Also make sure there are no clashing files such as the original Rosie and framework files. No missing files within the Rosie or framework is necessary. I hope you saved all original files in a safe place?
V3ndetta Is Rising.....
Click to expand...
Click to collapse
Yes ues i did and i might flash ota update rom with root and everything and try to see if it works or restart the whole thing again which was a pain in the ass to do
Going through every xml file to change it so it can run without replacing the stock rosie.apk and should i just go theme something else i might become a themer i like changing stuff up.
Sent from my PC36100
lreyes15 said:
Hey xda its not really finished im running a OTA update of 4.67 or something like that and i used apktool to decompile a rosie from the newest OTA update for supersonic and i used the newest updated framework files (framework-res.apk and com.htc.resources.apk)
I sucessfully did everything right but it forecloses on me.
I think its because of The OTA update im running.
So im wondering if some of you can give me feedback if the apk is fully functionable and/or five me advise and help me.
Heres the link:https://www.box.com/shared/26f86df99cf3e38ffdc2
Sent from my PC36100
Click to expand...
Click to collapse
is this a flashable? also, you cant just name the rosie.apk "awesomeness", just doesnt work that way, it must remain rosie.apkfor it to work properly.
PHE-NOM said:
is this a flashable? also, you cant just name the rosie.apk "awesomeness", just doesnt work that way, it must remain rosie.apkfor it to work properly.
Click to expand...
Click to collapse
I didn't just slap a name I went through the android manifest.XML and changed everything that needed to be changed
Sent from my PC36100 using xda premium
lreyes15 said:
I didn't just slap a name I went through the android manifest.XML and changed everything that needed to be changed
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
OK, just making sure
Sent from my EVO 4G using xda premium
PHE-NOM said:
OK, just making sure
Sent from my EVO 4G using xda premium
Click to expand...
Click to collapse
Yeah I went through every XML file in the Rosie apk because apktool said there was a problem is Rosie.apk/example/example.XML
And it took awhile because I didn't search for com.HTC.launcher.
Sent from my PC36100 using xda app-developers app

[Jelly Bean]Deodexing services.odex and SecEmail.odex

I'm placing the decompile code to deodexing servies.odex and Email.odex because many guys are asking about the way to deodex these files from Samsung Galaxy II EPIC 4G Touch (D710) forum.
services.odex: (you don't need all bootclasspath in here. But if you have any issue deodexing services.odex, this would be the fastest way to decompile it)
java -Xmx1024m -jar baksmali-1.4.1.jar -a 17 -d 'source odex dir' -d 'deodexed dir here' -c :access.control.jar:allshare.jar:allsharelib.jar:am.jar:android.policy.jar:android.test.runner.jar:apache-xml.jar:bmgr.jar:bouncycastle.jar:bu.jar:com.android.future.usb.accessory.jar:com.android.location.provider.jar:com.google.android.maps.jar:com.google.android.media.effects.jar:com.google.widevine.software.drm.jar:com.samsung.device.jar:com.yamaha.android.media.jar:core.jar:core-junit.jar:CustFeature.jar:ext.jar:framework2.jar:framework.jar:GlobalConfig.jar:ime.jar:input.jar:java.awt.jar:javax.obex.jar:kies_feature.jar:libvtmanagerjar.jar:minimode.jar : monkey.jar : org.simalliance.openmobileapi.jar : pm.jar:requestsync.jar:sec_edm.jar:sec_feature.jar:sec_platform_library.jar:seccamera.jar:secface.jar:sechardware.jar:secmediarecorder.jar:svc.jar:twframework.jar:uiautomator.jar -x "source odex dir\services.odex"
java.exe -Xmx1024m -jar baksmali-1.3.2.jar -d 'source odex dir' -d 'deodexed dir here' -c :access.control.jar:allshare.jar:allsharelib.jar:am.jar:android.policy.jar:android.test.runner.jar:apache-xml.jar:bmgr.jar:bouncycastle.jar:bu.jar:com.android.future.usb.accessory.jar:com.android.location.provider.jar:com.google.android.maps.jar:com.google.android.media.effects.jar:com.google.widevine.software.drm.jar:com.samsung.device.jar:com.yamaha.android.media.jar:core.jar:core-junit.jar:CustFeature.jar:ext.jar:framework2.jar:framework.jar:GlobalConfig.jar:ime.jar:input.jar:java.awt.jar:javax.obex.jar:kies_feature.jar:libvtmanagerjar.jar:minimode.jar : monkey.jar: org. simalliance.openmobileapi.jar : pm.jar:requestsync.jar:sec_edm.jar:sec_feature.jar:sec_platform_library.jar:seccamera.jar:secface.jar:sechardware.jar:secmediarecorder.jar:services.jar:svc.jar:twframework.jar:uiautomator.jar -x "source odex dir\SecEmail.odex"
Be sure to use baksmali v1.3.2 instead of 1.4.1.
v1.4.1 does not decompile the SecEmail.odex correctly (I see that one case opened to google code development and it's pending. But it could be resolved using this way.
Note: jar file list should be different based on your provider. The above example is based on Sprint Galaxy II D710 Epic 4g Touch and leaked ROM FL16.
I hope this removes lots of headaches during deodexing JB rom.
Why didn't you post this in the Epic 4G Touch forum?...
Sent from my SPH-D710 using xda premium
Mattix724 said:
Why didn't you post this in the Epic 4G Touch forum?...
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Either he wanted to make it available to anyone that might be having problems or he's just messing with your as s
Sent from my SPH-D710 using Xparent ICS Tapatalk 2
elijahbrown said:
Either he wanted to make it available to anyone that might be having problems or he's just messing with your as s
Sent from my SPH-D710 using Xparent ICS Tapatalk 2
Click to expand...
Click to collapse
LOL, I'm going to wager it's to make it available to anyone having trouble as the only items specific to our phones have been stated in the OP
Guys, don't get me wrong!
I'm sharing what I've found with my own time and I provided it to you because of you guys asked me to do it. What you need to do is, just using it or say 'thank you'.
It's not just for Epic 4g touch and I wanted share my findings with everyone. Like I said, there's the same issue on google code development site and I solved it.
kobridge said:
Guys, don't get me wrong!
I'm sharing what I've found with my own time and I provided it to you because of you guys asked me to do it. What you need to do is, just using it or say 'thank you'.
It's not just for Epic 4g touch and I wanted share my findings with everyone. Like I said, there's the same issue on google code development site and I solved it.
Click to expand...
Click to collapse
It's greatly appreciated Ko, I'd been beating my head against a wall with these jb leaks
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
It's greatly appreciated Ko, I'd been beating my head against a wall with these jb leaks
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Thanks for warm words!
I appreciate the information. But let's not get started with the Thanks thing again... we all know how that went earlier this year when you felt like your work wasn't appreciated because there was more downloads than thanks.
Sent from my SPH-D710 using xda premium
Mattix724 said:
I appreciate the information. But let's not get started with the Thanks thing again... we all know how that went earlier this year when you felt like your work wasn't appreciated because there was more downloads than thanks.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Mattix, that's not what I'm talking about. Please don't try to drive me as you want (all problems start from there) - XDA rule. You please do focus on yours and I'll do mine.
I'll say thanks for the information on deodexing services.jar
I'm just going to leave it at that.
Sent from my SPH-D710 using xda premium

Categories

Resources