[Q] Decompiling Rosie.apk from Sense 4.1 - AT&T, Rogers HTC One X, Telstra One XL

So I want to make a 4x5 Rosie for CleanROM V / Sense 4.1 using the tut from this site. I have apktool and have done this successfully in the past for CR 4.5 and Sense 4.0.4. For some reason it is not working for me for Sense 4.1 and I need some feedback whether I am doing the right thing:
First I pull the relevant APKs
Code:
adb pull /system/app/Rosie.apk
adb pull /system/framework/framework-res.apk
adb pull /system/framework/com.htc.resources.apk
I then install the framekwork
Code:
apktool if /system/framework/framework-res.apk
apktool if /system/framework/com.htc.resources.apk
I then decompile and recompile the Rosie.apk "for fun"
Code:
apktool d Rosie.apk
apktool b Rosie Rosie_new.apk
I get a bunch of warning messages in the process but not errors. However, when I compare the sizes of Rosie.apk and Rosie_new.apk, I get large differences - 2159 KB (original) bs. 516 KB (new). If I try to flash the new Rosie.apk back to the phone in recovery I get an infinite startup loop.
i can't figure out what I am doing wrong, but I seem to recall that Sense is rather picky about which adbtool it will work with. Any advice?

Anyone?

GroovyGeek said:
Anyone?
Click to expand...
Click to collapse
try installing SystemUI.apk via apktool if.

Related

[Guide] Hacks and mods: Three tutorials for modifying your x10 OS aesthetically

Updated: July 24/2010 Go to the X10 Theme repo for a listing of uploaded themes.
Thanks to everyone that is helping out and contributing. I also apologize if I rip anything off. If I do please post it and I will definitely correct it.
The usual disclaimer goes with this... Use at your own risk and backup your system before making any changes. You know what to do if you run into problems
I think this is important...
Links for various stuff:
framework-res.apk
/system/app/ folder
startup show (boot animation)
Mms.apk
Phonebook.apk
apps2sd-work in progress?
http://forum.xda-developers.com/showthread.php?p=7037044#post7037044
Many visual aspects of the os and system apps can be changed and surprisingly easily. By default when opening an apk you should look around the res-drawable folders for the pngs to edit. If you have noticed, there are some png's that look like xxx.9.png. To modify these files easily, remove the 9 from the filename and open with your preferred editor. When you are done editing the files save them, open the command prompt and type draw9patch. This should open a window with an arrow in it. Drag your file there and I'm pretty sure it goes into the same folder. That's it.
If you are using a mac use betterzip and take a look here.
You can also use root explorer (I havent tried this myself)
Step 1:
Connect phone to pc, enable usb debugging and open adb. Type:
adb pull /system/framework/framework-res.apk framework-res.apk
That will pull your framework-res.apk to whatever folder is displaying in your command line.
Step 2:
Find the framework-res.apk on your hard drive, right click and open with 7zip.
Step 3:
Use png's here or create your own and dump into the appropriate folder within framework-res.apk.
Step 4:
When you are done editing the files open up adb and type the following command:
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb push framework-res.apk /sdcard/framework-res.apk
adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
That will put the new framework-res.apk on your phone. It should automatically reboot (if not reboot it) and your changes should be applied!
When running the script above you can replace framework-res.apk with whatever you want. For example, Timescape.apk
Remember, it is CASE sensitive I made this problem many times)
If you would like to pull an entire folder put a slash at the end of the last word. For example, adb pull /system/etc /etc"/" (no " in actual script )
Courtesy of corruptfate is the steps to modify the startupshow (post #207)
step 1: open adb shell
step 2: type "adb shell"
step 3: type "su"
step 4: type "mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system"
step 5: type "mkdir system/etc/semc/startupshow"
step 6: exit and redo step 1 - 4
step 7: type "mkdir system/etc/semc/startupshow/default"
step 8: exit and open command prompt again, this time type "ddms"
step 9: look for the default folder in system > etc > semc > startupshow > default
step 10: push the images into that folder
Possible reasons your phone won't boot after modifications:
images anren't stored properly, right format, right size etc.
unpacked apk improperly, use 7zip, it doesn't mess anything up
you signed the package before pushing it- unless you know what you're doing follow the directions to a tee and you should be fine
pushed the package to the wrong directory, /system/framework-res.apk XX, /system/framework/framework-res.apk
I'm sure many other reasons, these were the only ones I encountered
How to get past boot screen:
Use backup framework-res.apk and push that one to your phone. Remember to place that one where the modified one is.
To see if adb sees your phone type adb devices, if a serial number pops up try pushing your original, if not...
Flash your phone again from scratch . Sorry, I don't know any better way yet.
Please post your themes and download themes from the X10 theme repo
The basics:
http://forum.xda-developers.com/showthread.php?t=502010
http://developer.android.com/index.html
http://developer.android.com/guide/developing/device.html
Some Links:
Notification background color
Status bar clock color
Notification font color
Notification bar shortcuts
Edit 9.png's
Install mobile defense as system app through terminal (I haven't tried this yet)
Resigning apps
http://forum.xda-developers.com/showthread.php?t=549109
http://androidforums.com/developer-101/8665-how-signing-roms.html This is the one I have been using. I just noticed its for roms
http://code.google.com/p/android-apktool/ Figured it out but no need for it as of yet
How to modify notification background colors
Some of the files; not sure which is the top band displaying carrier(semc_avctivity_title.9.png??):
statusbar_background.png
status_bar_background.png
status_bar_close_on.9.png
status_bar_header_background.9.png
status_bar_item_background_normal.9.png
They should be in res/drawable-240dpi. Once you find them open them and modify as you wish. Once completed save your changes.
Getting FLAC working, I was wrong, mixed up file folders. Apparently meridian pioneer works. Havent gotten a chance to test for sure yet. I am now trying to manually add flac support to mediascape
Second tutorial: Busting open apks so you can edit xml's!!
So has anyone tried opening up an xml file on their phone to edit only to find incoherent coding. Well I have. So I have stumbled upon a tool called apktool. The tool somehow breaks down the apk into readable xml files. I haven't gotten so far as to test out an edited xml because I wanted to post this so I don't forget how to do it.
1. follow instructions on installing apktool. Unzip the files into your android-sdk-windows/tools folder
2. Put a copy of your framework-res.apk into the same tools folder
3. from command type: java -jar apktool.jar if framework-res.apk
4. Put whatever apk you want to edit into tools folder and type this: java -jar apktool.jar d xxx.apk
5. Look in your tools folder and voila there will be a folder named with whatever apk you worked with.
Third tutorial: Use smali/baksmali to edit services.jar and services.odex
1. follow instructions on downloading and installing smali/baksmali
2. pull these files from your phone and place them into the same folder as smali (should be android-sdk-windows\tools):
code.odex
ext.odex
framework.odex
android.policy.odex
There may be other ones needed that Im missing so if you find this out please let me know
3. place the odex you want to modify into the same folder (android-sdk-windows\tools)
4. from the command line type java -jar baksmali-1.2.3.jar -x services.odex
your pc will work a little bit and when its finished will just show your directory again.
5. minimize that screen and go into the folder you put everything in there should be an out folder. Open it up and all the files to edit will be there!
I haven't recompiled yet but when I do Ill finish this tutorial.
COMMON PROBLEMS:
These are some problems I ran into because I am a noob. I figure it may help a couple people out
1.unable to access apktool.jar/baksmali-1.2.3.jar
Im pretty sure you are in the wrong directory
from the command line type: cd C:\whatever\directory\leadsto\android-sdk-windows\tools\the.jarfileyouaretryingtoaccess
2....
Modification requests:
Custom boot screens-- find your startupshow folder=== SOLVED
custom response to invalid password
Ad hoc support
Disable slide lock
App drawer categorization=== THERE'S AN APP
map hardkeys
cool, gonna try and change the battery indicators
I was able to replace framework-res while the phone was running, but now the phone wont boot.. good thing I made a backup of the original one
xxsashixx said:
I was able to replace framework-res while the phone was running, but now the phone wont boot.. good thing I made a backup of the original one
Click to expand...
Click to collapse
Thats where I'm stuck too. Did you resign the package after modifying it? Im going to try that in a bit.
Does anyone know of a good n00b guide to emulating our phone in eclipse?
@microkiwi can you post how it went?
I did make some new icons in PS, but unfortunately I wasn't able to boot the phone after pushing my new files to it
I also tried to sign it with the autosign (testsign.java) application but no luck...
mikrokiwi said:
I did make some new icons in PS, but unfortunately I wasn't able to boot the phone after pushing my new files to it
I also tried to sign it with the autosign (testsign.java) application but no luck...
Click to expand...
Click to collapse
Cool thanks, hey have you seen an app called metamorph? I just noticed it right now but it seems like stericson automated and simplified the process. Heres a link
http://forum.xda-developers.com/showthread.php?t=591329
Have you tried that app yet?
Yes, I have made a metamorph theme now and everything seems fine, the theme shows up and I can apply it and everything.
But after reboot the phone is still using the old icons
Any other metamorph themes that we can install?
I think for 1.6 only
gavriel18 said:
http://code.google.com/p/android-apktool/ Looks cool I just wish I knew how to use it
Click to expand...
Click to collapse
Apktool is just for everything else but signing ;-)
mikrokiwi said:
Yes, I have made a metamorph theme now and everything seems fine, the theme shows up and I can apply it and everything.
But after reboot the phone is still using the old icons
Click to expand...
Click to collapse
Could you please upload the theme, I'd like to learn how theming works. In the AndroidThemes thread I found only themes for custom roms. THX !
mikrokiwi said:
Yes, I have made a metamorph theme now and everything seems fine, the theme shows up and I can apply it and everything.
But after reboot the phone is still using the old icons
Click to expand...
Click to collapse
Could you please post the .png files from the framework pull? I would like to change the colors and then try to replace them with files in a theme that I found that might work with our phone. The only issue is the resolution of the theme that I had in mind. If this works then we can all make custom themes for our X10 using that theme as a template. Not sure if it will work, but I would like to try.
pietropizzi said:
Could you please upload the theme, I'd like to learn how theming works. In the AndroidThemes thread I found only themes for custom roms. THX !
Click to expand...
Click to collapse
Unfortunately it does not work at the moment, but when I get it to work I will upload it for everyone to use
troyjamz said:
Could you please post the .png files from the framework pull? I would like to change the colors and then try to replace them with files in a theme that I found that might work with our phone. The only issue is the resolution of the theme that I had in mind. If this works then we can all make custom themes for our X10 using that theme as a template. Not sure if it will work, but I would like to try.
Click to expand...
Click to collapse
http://www.mediafire.com/file/kkmhmnyhgyw/framework-res.apk open it with 7zip
Thx man!
mikrokiwi said:
Unfortunately it does not work at the moment, but when I get it to work I will upload it for everyone to use
http://www.mediafire.com/file/kkmhmnyhgyw/framework-res.apk open it with 7zip
Click to expand...
Click to collapse
Tack så mycket!
@microkiwi Thanks for the upload, do you mind if I post that link in the first post?
@brut.all Does it work the same way as autosign? I followed the instructions properly on installing it but when I try to open it a command line pops up for a second (too fast for me to read) and then closes. Am I missing something?
Also do you know if framework-res.apk needs special signing? I'm just trying to figure out why the phone gets stuck at boot after pushing the modified apk.
@pietropizzi I have made one as well it doesn't work but I'll upload it right away. Check out the metamorph thread for some tutorials on theming. It is surprisingly easy.
On another note has anyone gotten to move their apps to the sdcard? I've tried but with no luck..
heres a post I made about it:
http://forum.xda-developers.com/showthread.php?p=7037044#post7037044
Cool ,I'm going to try it tonight. Mind if I add it to the list at the top?
BTW did anyone know mediascape supports wav audio Swwweeeeeetttt

How to: Transparent Notification/Window Shade in Froyo -

Transparency MOD:
If you want to have a transparent notification window (the window shade), you can follow these steps:
Required:
- a working adb connection (you will need a PC because of the executable below)
- a transparent status_bar_background.png (if you do not have your own, the one i used is attached)
- xUltimate-TP.exe (attached)
- a file archiver (i used WinRAR)
Note: This should work on any Android phone running Froyo.
Firstly, you need to copy services.jar and framework-res.apk from the Android Phone to your PC
1.) Reboot into Recovery (fake-flash, Unrevoked, or adb recovery, they will all work)
2.) adb shell
mount /system
adb pull /system/framework/services.jar c:\
adb pull /system/framework/framework-res.apk c:\
3.) Optional: Copy the framework-res.apk and services.jar files to a separate directory.
4.) Copy xUltimate-TP.exe to the same directory the files mentioned above are located in.
Run xUltimate-TP.exe and wait for it to say it is finnished (it takes about 2 minutes to complete)
5.) Open framework-res.apk in WinRAR and go -> res -> drawable-hdpi-v4
Copy your status_bar_background.png into this folder inside WinRAR by dragging it over the window.
Close WinRAR
6.) Copy the patched services.jar and framework-res.apk to c:\
7.) adb shell
rm /system/framework/services.jar
rm /system/framework/framework-res.apk
**CTRL+C (to exit back to the windows shell)
adb push c:\services.jar /system/framework/services.jar
adb push c:\framework-res.apk /system/framework/framework-res.apk
adb reboot
And that's it.
I have attached my patched services.jar and framework-res.apk
If you are running Defrost 2.0+, using them may work for you (I am using DeFrost 2.4).
Major props to:
http://www.droidforums.net/forum/xeudoxus/47283-release-xultimate.html
as it is his executable that patches the transparency.
Josh.
fllash said:
Hi there,
I apologize if this seems to be the incorrect sub forum to post in, however the thread i made in Themes has no responses after a week or so.
On to my question.
I have flashed many froyo roms for the desire, but they all have one thing in common - they do not have a transparent window shade/notification thingo.
I dismantled a few themes with transparent windowshades, copied them across to my framework-res.apk file and pushed it back to system/framework, but nothing changes. Well, a couple of the png's i have overwrote in the framework-res file caused the window shade to change colour (for example in the theme where the windowshade had a dark transparent background, the background turned black).
Is there a limitation somewhere preventing desire users of froyo to change transparency?
Or is there another file that needs to be edited?
Thanks for readin'
Josh.
Click to expand...
Click to collapse
I've asked the same thing and no one has replied, I assume you mean the notification drawer?
Changing the png file alone doesn't add transparency, it only does on the notification bar, there must be an xml file in framework-res.apk which handles transparency for it, but I'm so inexperienced in xml I haven't tried looking and there's so many xml files it would take days to convert each one to "readable" xml and find which line of code among thousands controls it
I haven't tested it, didn't have the chance, but you can check here
http://www.droidforums.net/forum/xeudoxus/47283-release-xultimate.html
Look for xUltimate Froyo Transparency Fix
Yeah, i mean the notification draw - that you drag downwards.
Thanks for the link, im checking it out right now.
phunkycow said:
I haven't tested it, didn't have the chance, but you can check here
http://www.droidforums.net/forum/xeudoxus/47283-release-xultimate.html
Look for xUltimate Froyo Transparency Fix
Click to expand...
Click to collapse
I tried patching the service.jar with it but it doesn't seem to work.. anyone else have tried too?
sckc23 said:
I tried patching the service.jar with it but it doesn't seem to work.. anyone else have tried too?
Click to expand...
Click to collapse
Did you make sure the background image of the "notification drawer" is transparent? Or applied it using the stock framework-res?
phunkycow,
You are a Genius,
It worked like a charm!
For anyone who is interested, the steps i followed were:
1.) Reboot into Recovery
2.) adb shell
mount /system
adb pull /system/framework/services.jar c:\
3.) Download the Transparency patch (I've attached it if that makes it easier)
4.) Copy the services.jar from c:\ to a folder (i used the desktop), and make sure that the Transparency fix executable (xUltimate-TP.exe) is in the same folder.
5.) Run xUltimate-TP.exe and wait for it to say it is finnished (it takes about 2 minutes to complete)
6.) Copy the patched services.jar (it overwrote the one in the folder) to c:\
7.) adb shell
rm /system/framework/services.jar
**CTRL+C (to exit back to the windows shell)
adb push c:\services.jar /system/framework/services.jar
adb reboot
And that's it.
I have also attached my patched services.jar, and framework-res.apk with a transparent status_bar_background.png.
If you are running Defrost 2.0+, using them may work for you (I am using DeFrost 2.4).
Now, you MAY NOT notice any transparency straight off the bat because your theme may not have a transparent status_bar_background.png.
If you find that it isnt transparent, i have attached a transparent status_bar_background.png
You need to add this to your framework-res.apk.
Major props to:
http://www.droidforums.net/forum/xeudoxus/47283-release-xultimate.html
as it is his executable that patches the transparency.
Josh.
Glad I've helped, even a little. I was lucky enough to bump to that thread accidentally after looking for ways to deodex! You may want to edit the original post with the steps to apply transparency, and maybe edit the title as well? I'm sure other people might be interested as well
phunkycow said:
Did you make sure the background image of the "notification drawer" is transparent? Or applied it using the stock framework-res?
Click to expand...
Click to collapse
I did. I took the background image from Amer v4 (which is transparent) and flashed both the patched service.jar and new image to the phone. The notification panal ended up solid black.
Anyway will definitely try it again to see if i have any luck this time=)
Can someone post a screenshot? I could have sworn I have tried all this already to no avail.
edit: also, I thought that the services.jar patcher mentioned above was for the notification bar. Does this only make the notification bar transparent, or the actual background of the shade (where not covered by notifications)
This method did not work for me, however this one did
http://forum.xda-developers.com/showpost.php?p=7739623&postcount=53
Glacier with Gr8gorillas desire HD port 2.2

[Q] Modding Rosie.apk

Ok I'm trying to make Mods to the Rosie.apk. But everytime I load my Rosie.apk I continued FC on htc.sense.com, Even if I make no changes to the rosie it still does this...What I'm doing is.....
1) apktool d Rosie.apk
2) I make no changes and just recompile it
apktool b
I get no errors so It seems to build just fine
3)Then I sign the apk
java -jar signapk.jar testkey.x509.pem testkey.pk8 Rosie.apk Rosie2.apk
4)I put it in a flashable zip file(I know this isnt't the problem)
flash it and everything loads fine then nonstop FC
I am running Ubuntu if that makes a difference........ANyone got any Ideas
I know i was having issues similar to this, I think it depends on the rom you pulled rosie.apk from and it's dependancy's when you recompile? Virtuous is giving me fits in this area even without modding anything just decompile and recompile..
My issue is with com.htc.resources
Or is rosie.apk not a system app and dont need signing? I dont think you sign system apps
I do you have the right resources for apktool and I even tried flashing an unsigned version as well with no luck

Solved - Modifying Rosie.apk

Wasssup fellas! Ok so I'm no themer but I've started to delve into your world a little bit. I'm looking to draw on the experience of any of you that have successfully modified the Rosie. So here's my set up
I've got Apktool set up in Ubuntu before you ask I downloaded 1.3.1 not 1.3.2
I have all the dependencies in place
I've installed the framework (apktool if com.htc.resources.apk)
Rosie.apk decompiles with no errors (apktool d Rosie.apk out)
I've modified /res/value/colors.xml to add transparency to the app drawer? (This may be my issue)
Compiled (cd out/ .......apktool b) compiles with no errors
I've tried this signing Rosie.apk, Not signing it, Copying out the "Res" and "Resource" file and going into the original Rosie.apk with Ark Manager without extracting the archive and dropped in the "Res and "Resource" files.
Same result each time when I push the file via ADB or put it in a flashable zip the phone boots goes through the animation capacitive keys light up then the phone gets stuck on the last frame of the boot animation and just hangs there forever no boot loops just hangs there?
Any help would be more than appreciated, thanks guys!
Lou
gtalk @ RedemptionRom
email: [email protected]
Rosie in my sky raider theme is working great. And I modified the png's inside it. Didn't need to do all of the things you did. I just themed the png's, zipped it up in an update.zip and then flashed it through recovery.
But I did not edit the colors.xml like you did. I left that alone.
[¦] mobile [¦]
Be sure to use the same com.htc.resources.apk and framework-res.apk from the ROM you took Rosie from.
HeyItsLou said:
Wasssup fellas! Ok so I'm no themer but I've started to delve into your world a little bit. I'm looking to draw on the experience of any of you that have successfully modified the Rosie. So here's my set up
I've got Apktool set up in Ubuntu before you ask I downloaded 1.3.1 not 1.3.2
I have all the dependencies in place
I've installed the framework (apktool if com.htc.resources.apk)
Rosie.apk decompiles with no errors (apktool d Rosie.apk out)
I've modified /res/value/colors.xml to add transparency to the app drawer? (This may be my issue)
Compiled (cd out/ .......apktool b) compiles with no errors
I've tried this signing Rosie.apk, Not signing it, Copying out the "Res" and "Resource" file and going into the original Rosie.apk with Ark Manager without extracting the archive and dropped in the "Res and "Resource" files.
Same result each time when I push the file via ADB or put it in a flashable zip the phone boots goes through the animation capacitive keys light up then the phone gets stuck on the last frame of the boot animation and just hangs there forever no boot loops just hangs there?
Any help would be more than appreciated, thanks guys!
Lou
gtalk @ RedemptionRom
email: [email protected]
Click to expand...
Click to collapse
This means sense failed to load. The phone booted but sense does not work. If you have a back up launcher it would have defaulted to that. Good way to test is to install lp or launcher 2 so next time it will still load in.
synisterwolf said:
This means sense failed to load. The phone booted but sense does not work. If you have a back up launcher it would have defaulted to that. Good way to test is to install lp or launcher 2 so next time it will still load in.
Click to expand...
Click to collapse
Great idea!!! Doing that makes testing much easier fairly obvious don't know how I missed that one.
Berzerker7 said:
Be sure to use the same com.htc.resources.apk and framework-res.apk from the ROM you took Rosie from.
Click to expand...
Click to collapse
The Rosie is part of the theme I'm using which comes with both the Framework-res.apk and com.htc.resources.apk. Am I correct in using this set of framework files or should I be using the Rom's original framework?
What exactly are you trying to modify in rosie? Is it just the app drawer background? I can tell you that rosie has little to do with framework-res. The app drawer background colors are located in launcher.xml and allappsgridview.xml.
deficitism said:
What exactly are you trying to modify in rosie? Is it just the app drawer background? I can tell you that rosie has little to do with framework-res. The app drawer background colors are located in launcher.xml and allappsgridview.xml.
Click to expand...
Click to collapse
I mentioned the framework because apktool requires you to install it to decompile rosie.apk. I will check those xml's out. The failed boot may be because I edited the /res/values/colors.xml file. I don't have my virtual machine fired up but I did edit one of the all_apps strings in there from #ff000000 to #80000000 on the advice of a themer. This may be what f'd me up.
HeyItsLou said:
I mentioned the framework because apktool requires you to install it to decompile rosie.apk. I will check those xml's out. The failed boot may be because I edited the /res/values/colors.xml file. I don't have my virtual machine fired up but I did edit one of the all_apps strings in there from #ff000000 to #80000000 on the advice of a themer. This may be what f'd me up.
Click to expand...
Click to collapse
Yeah don't worry about the colors.xml. just those 2 xmls I mentioned.
deficitism said:
Yeah don't worry about the colors.xml. just those 2 xmls I mentioned.
Click to expand...
Click to collapse
Will do, thanks man.
deficitism said:
Yeah don't worry about the colors.xml. just those 2 xmls I mentioned.
Click to expand...
Click to collapse
What changes should I make to the XML's for transparency? Also after I compile Rosie what do you recommend for a process in getting the new changes implemented? To clarify, should I rip the resources file and classes.dex out of the new compiled version and replace the ones in the stock Rosie? Ive tried about 20 different methods and I get force closes each time...thanks man!
Sent from my ADR6300 using XDA App
If it compiled correctly you should be able to push the compiled version to /system/app with no trouble. There are 2 possibilities:
1) The apk got signed with whatever tool you are using and system apk's can't be signed this way. I think APKManager signed with the test cert automatically.
2) The changes in the xml's may not be correct for which we need to wait for deficitism to verify what was changed. Typically changing color attribs won't cause an FC though.
One thing you can try is to just extract the res folder, where the changes are, in the new Rosie to your PC and open the original with 7zip and drag that folder to the 7zip window. Then push that.
NilsP said:
If it compiled correctly you should be able to push the compiled version to /system/app with no trouble. There are 2 possibilities:
1) The apk got signed with whatever tool you are using and system apk's can't be signed this way. I think APKManager signed with the test cert automatically.
2) The changes in the xml's may not be correct for which we need to wait for deficitism to verify what was changed. Typically changing color attribs won't cause an FC though.
One thing you can try is to just extract the res folder, where the changes are, in the new Rosie to your PC and open the original with 7zip and drag that folder to the 7zip window. Then push that.
Click to expand...
Click to collapse
Thanks dude, I actually figured it out no more help needed.
HeyItsLou said:
Thanks dude, I actually figured it out no more help needed.
Click to expand...
Click to collapse
Cool, glad you got it working.
So what was the cure?

[Q] Decompiling JB Rosie

So I asked this question a long while ago, never got an answer, so I am trying again. I am interested in creating a 4x5 Rosie for JB Sense with mikeyxda's tut. I had done so previously for ICS Rosie, but can't seem to get anything going with JB Rosie. I get stuck at the very first step - decompiling Rosie.apk
1) I installed the framework from com.htc.resources.apk, framework-htc-res.apk, and framework-res.apk
2) Decompiled Rosie.apk
3) Without doing anything I attempt to recompile Rosie.apk
When I compare the original (step #2) to the recompiled one (step #3) I see a huge size mismatch - 1868 KB vs. 788 KB. If I flash the recompiled Rosie back to the phone it crashes immediately and does not work. I have tried this with both apktool 1.5.2 as well as VTS, with the same result in both cases.
Any suggestions?
EDIT: after comparing the recompiled and original APK, I am seeing the following differences:
assets\ is stored with zero compression in the original but "deflated" in the recompiled app
META-INF is present in the original but absent in the recompiled app
resources.arsc is a slightly different size and a newer version
Not sure whether any of this is significant or what to do about it. Heeeeeelp
When you decompile Rosie.apk do you get any errors?
Only asking due to the fact that MIUI has a ToolBox mod that was made by a dev, he made a special smali.jar and baksmali.jar for it. He had made the file names of the two main smali files for toolbox too long so the "commercial" smali/baksmali couldn't decompile those files.
Sent from my HTC One X using xda premium
Myrder said:
When you decompile Rosie.apk do you get any errors?
Only asking due to the fact that MIUI has a ToolBox mod that was made by a dev, he made a special smali.jar and baksmali.jar for it. He had made the file names of the two main smali files for toolbox too long so the "commercial" smali/baksmali couldn't decompile those files.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
No errors only warnings

Categories

Resources