yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Themes and Apps] chesterr:
So like this i have to select the folders and do it? well the thing is i have screwed the phone like 20 times like installing this theme...and the thing was when i try to install the framework thing the phone gets rebooted it self and it stucks in the "Sony Ericsson" logo so all i have to do is do the SEUS :( and I am a newbie in this modding things and I don't know how to do the thing using the adb shell too....so sir thanks for the help that you did over here, but can you tell me how to install the theme using this cause every time i try to install it using the Chewitt's Installerhttp://xdaforums.com/showthread.php?t=835004 I stuck in the step 6 cause of the framework thing,... Please sir help cause I got tired of with this blue color theme,.:confused:
[XPERIA X10 Themes and Apps] Tony_C:
Having trouble installing a theme, wanted to try your program.

I installed the latest, (may want to consider adding version level to your screen for visual confirmation). Went through your Note: above.

I pushed android.policy, framework and framework-res to system/framework. To get to work made 2 changes, 1) copied latest adb from SDK to your tools folder. Got a little further. 2) Then using Root Explorer changed to R/W.

This fixed some of the problems with the theme.

There are some apk(s) replaced. Cannot get them to install. Tried yours, ADB, and Root Explorer. Tried install from Market, could not, put market Fix in, install from Market OK. Still NG with these. Theme has been used by many.

Any suggestions?
[XPERIA X10 Themes and Apps] zaidshb:
Thanks for this great app
[XPERIA X10 Themes and Apps] Cholek3:
Hello again,

Right, it looks like it is working just fine. Do you still want to expand it's possibilities? Got an idea again, if you don't mind.:) Quite big idea.
[XPERIA X10 Themes and Apps] MrRusch:
Let's hear it. I don't have much time at the moment, but I will try and get to it as soon as I can.
[XPERIA X10 Themes and Apps] Cholek3:
Right. Blame it maybe on my lazyness, but I just like get life as easiest as possible. Your piece of software already doing most for us. But whatever we do with framework-res.apk and other files we need to re-compile them ourselfs. What I mean is, i.e. I am changing some icons in framework-res.apk, so what I have to do is pull them out from that file, edit and then put them back in. Would it be possible to implement, or create a new software that would do such things for us? The reason I am asking you is, it would make it big editional piece of kit. But the main question is: is it even possible?
[XPERIA X10 Themes and Apps] anishbhatia:
hey bro i want to try ur mod but unabke to open i am getting this error, could u help me plzzzz.

error

COULD NOT FIND THE MAIN CLASS

PROGRAM WILL NOW EXIT
[XPERIA X10 Themes and Apps] jase81:
hey dude thanks for this :D
[XPERIA X10 Themes and Apps] MrRusch:
Well.. This is what APK Manager is for. :) Sorry but no reason to reinvent the wheel. But yes, everything is possible. Perhaps in the future..

Sorry I have no idea why you get this error. Could be a problem with your Java setup.

:) No problem mate.
[XPERIA X10 Themes and Apps] MrRusch:
@ALL: Perhaps someone here could take the time to create and maintain a guide similar to the "How to install a theme using Chewitt's Installer" for the X10 Mod Tool? I think a lot of users could benefit from this, but I don't (at least right now) have the time for this. Some scenarios with screenshots explaining the functionality would probably suffice, but the more thorough the better I reckon. Anyone up for the challenge? :)
[XPERIA X10 Themes and Apps] jase81:
how about decompling n compling framwork-res n services.jar mrrusch :D
[XPERIA X10 Themes and Apps] MrRusch:
Last exam of the year is on Thursday. After that I will have more time again. Will write up the guide I spoke of in last post, and then get to some more functionality. Happy modding all!
[XPERIA X10 Themes and Apps] pyro224:
i think i unsecured the shell using steps from Chewitt's dark bar (rsrw)

but i still get this:

adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system

adb push ".\files/framework-res.apk" "/sdcard/tmp/framework-res.apk"

failed to copy '.\files/framework-res.apk' to '/sdcard/tmp/framework-res.apk': Permission denied

adb shell dd if="/sdcard/tmp/framework-res.apk" of="//framework-res.apk"

/sdcard/tmp/framework-res.apk: cannot open for read: No such file or directory

any help?
[XPERIA X10 Themes and Apps] Cholek3:
I assume you are rooted. Do you also have superuser installed on your phone? The newest version should unsecure your shell first thing anyway. When I first time used adb I had to give permission, allowing software to make any changes on the phone.
[XPERIA X10 Themes and Apps] Tony_C:
Sorry for dumb question. Newest version, adb or superuser? No longer need chmod cmd?
[XPERIA X10 Themes and Apps] khelwani:
Thanks alot ,,,, really very handy app...

Thanks again
[XPERIA X10 Themes and Apps] pyro224:
yes i have the newest superuser

i can pull the framework but can't push

nothing pops up on my phone asking for superuser permission
[XPERIA X10 Themes and Apps] Cholek3:
I mean newest version of X10 Mod Tool. Adb is a software that allows you to use commands like push, pull, etc. Superuser is software on your phone, where you can see, which program got access to root and manage that access. You don't have to use chmod and cmd, because X10 Mod Tool is doing it for you. That's why this tool is so great.

When you go to Superuser on your phone, you should have a list of aplications using access to root. Is on your list Unknown? There is on mine and this controls access to root for X10 Mod Tool.

I was wrong regarding this. I have removed permission for Unknown process in Superuser and I was still able to push files. Can you push files using CMD window and adb commands?
[XPERIA X10 Themes and Apps] MrRusch:
Ok, updated version incoming..

Changes:

- Clean Temporary Files button removed, performed automatically before every Push

- ADB LogCat view implemented

- Reboot device button added

- Decompile and Recompile of JAR-archives

Let me know how the new functions work.
[XPERIA X10 Themes and Apps] pyro224:
Update: So I managed to install Chewitt's dark bar, but I still can't get this tool to work. Here's the new log

adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system

adb push ".\files/framework-res.apk" "/sdcard/tmp/framework-res.apk"

3339 KB/s (10640004 bytes in 3.111s)

adb shell dd if="/sdcard/tmp/framework-res.apk" of="//framework-res.apk"

//framework-res.apk: cannot open for write: Read-only file system
[XPERIA X10 Themes and Apps] Cholek3:
Try to do something like that:

In CMD put (everything WITHOUT "quotes"):

"adb shell"

then

"su"

Now you should see hash symbol (#):

Now put:

"mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system"

and

"chmod 4755 /system/bin/sh"

now put exit twice:

"exit"

"exit"

It should exit to main folder.

Now put:

"adb push framework-res.apk /sdcard/framework-res.apk"

(obviously I guess framework-res.apk is in the same folder as adb)

Now put again:

"adb shell"

then:

"su" Hash symbol should be there again.

and now:

"dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk"

I wonder if this method will work. I used to have the same problem as you and above method worked for me. Then version 0.4.2 came out and it's working since then. I assume you are using the latest version, aren't you?
[XPERIA X10 Themes and Apps] pyro224:
I've already done the first set of instructions as it is the same as instructed in Chewitt's dar bark install (to get rsrw)

Where do I enter in the second set of instructions (starting at

"adb push framework-res.apk /sdcard/framework-res.apk")

Don't really know alot about computers ...i think i have to get an app called terminal or something?
[XPERIA X10 Themes and Apps] WindGhost:
Great work dude, keep going, I really like the way how program works. Reduce time with app managment :)
[XPERIA X10 Themes and Apps] jase81:
thanks for this dude will try it when av a spare 5 mins lol
[XPERIA X10 Themes and Apps] MrRusch:
Info for devs

Ok, so I've spent a lot of time with Java's java.util.zip API now, trying to programatically perform APK decompression and recompression. And I found some useful stuff I think may concern som developers here. First of all, apktool.jar 1.3.1 doesn't compress the resources.arsc. So use this one instead of 1.3.2, and the file wont need to be reinserted in STORE format. Second, META-INF folder and AndroidManifest.xml need to be taken from original SE file for the recompiled APK to be accepted.

So, I've made a version here that is able to decompile and recompile APKs (at least framework-res.apk as this is what I've been testing on). When you decompile an APK, it extracts the META-INF and AndroidManifest.xml from it and stores it for future recompilation. Then it decompiles the APK using apktool.jar for the user to edit. When edit is done, and the user chooses to recompile, it programatically creates a new APK with the right compression type for all files, and adds the previously saved META-INF and AndroidManifest.xml files.

This was a huge hazzle, but it seems to be working. Not sure how it will work for other APKs. Will upload v0.5.1 when I've done some more testing.
[XPERIA X10 Themes and Apps] PMGRANDS:
Great Idea... Now If You Could Only Make A Universal Version, Or At Least A Version For My Phone (Cdma-Hero) Lol... Thanx!!
[XPERIA X10 Themes and Apps] Cholek3:
But... it should work on any android OS phone. It is not only for SE x10, is it?
[XPERIA X10 Themes and Apps] MrRusch:
Hmm.. it depends. One things that could differ is the remount script. Otherwise I don't think much should differ. Try it on another android device and report if errors :)
[XPERIA X10 Themes and Apps] MrRusch:
X10ModTool v0.5.1

Changes:

- Output directory opens after decompile or recompile

- One-click decompile and recompile of APKs (tested on framework-res.apk)

- One-click recompile of JARs (now creates JAR archive instead of classes.dex)

Should all be platform independant. Please let me know how it works..

Download and screenshots added in first post!

NOTE: When recompiling a file, it is using the

last decompiled

APK or JAR as a donor. So,

don't

decompile x.jar, then decompile y.jar, and try to recompile x.jar again. This will use y.jar's meta data, and the same thing goes for APKs. Basically, decompile a file, edit it, and recompile it should work fine. So try to edit one file at a time, until I figure out a new way of doing this. The obvious alternative is to let the user specify the donor file before recompilation. Not sure if this is good though, as automagic is usually better.
[XPERIA X10 Themes and Apps] _calum_:
Do you mean decompiling different versions of the same apk (i.e. different frameworks) or different apk's?

I would assume the former, and if so did you run the install-framework command?
[XPERIA X10 Themes and Apps] MrRusch:
Haven't test that much yet, so I'm not sure how sensitive it is. Hoping people can test and let me know where the quirks are.

Please elaborate on the command you are refering to calum.
[XPERIA X10 Themes and Apps] MrRusch:
I reckon next move is to incorporate ROM Management in the app? Whatchu guys think? Decompile/Recompile SIN files and flash to device? :)

That way, when we get the bootloader cracked, this'll be pretty close to a kitchen already.
[XPERIA X10 Themes and Apps] jase81:
sounds good mrrusch thank you for this :D
[XPERIA X10 Themes and Apps] daemons:
first i would like to say thanks for this very good and usefull app :)

secondly,just ask:

-can we iprove this app to be like for example itones for ios? i mean, can we get file icons, maybe the installation/pull,push/ can be drag and drop style?

-maybe like totalcommander 2 colums style for install remove copy?

-easyest method to change styles /framework/

...

for now thats all :), thx again, and merry xmas
[XPERIA X10 Themes and Apps] _calum_:
The install-framework command basically extracts the framework resources to a user-specific folder (on my win7 system: c:\users\me :)\apktool\framework\1.apk)

This makes the resources available when decompiling other apk's with dependencies on the framework (e.g. phonebook.apk). This is also the problem I am having when decompiling mediascape, as this has other dependencies (probably timescape etc) that I haven't found. I'm also not sure how to point apktool at dependencies other than the framework...
[XPERIA X10 Themes and Apps] jase81:
merry xmas mrrusch how bout multi selecting for pushing n pulling files :D
[XPERIA X10 Themes and Apps] MrRusch:
Merry Christmas all! I hope you have had a good time with family and friends.

Thanks daemons! Many good ideas for expansion.

Aah, ok _calum_. I will look into this.

Just hold Ctrl to select multiple files :)
[XPERIA X10 Themes and Apps] jase81:
Fanks mrrusch hope u avin a gud 1 :-)

sent from home
[XPERIA X10 Themes and Apps] sumichris:
Thanks very much. I'm really upset by inputing long command codes.
[XPERIA X10 Themes and Apps] honda.f:
I have an question that dose it main i shelled my device after i have used z4root or it just rooted my device?

If not, how could i unsecuer my device?

It will be nice if you can tell me how to do it & thx a lot!
[XPERIA X10 Themes and Apps] Cholek3:
If I understood correct, you have only rooted your phone using z4root. The newest version of X10 Mod Tool will unsecure your shell when you push a file(s) to it.
[XPERIA X10 Themes and Apps] honda.f:
Yes,it's just like what you have said.Thanks a lot!!!:D
[XPERIA X10 Themes and Apps] chiefy009:
Question, with this tool can I rip out my existing status bar and add the super circle in a specific colour, thats all I want to change ?

sent from my Commodore 64
[XPERIA X10 Themes and Apps] sve1313:
Thanks for great tool MrRush. It is very usefull for me.
[XPERIA X10 Themes and Apps] k1018277:
Hi

I have managed to pull the framework from the phone and changed the files I want but when I went to push the file to my phone, it says push complete but after reboot it doesn't work.

It also has the following:

adb shell dd if="/sdcard/tmp/framework-res.apk" of="/system/framework/framework-res.apk"

/system/framework/framework-res.apk: cannot open for write: Permission denied

Can anybody help please?
[XPERIA X10 Themes and Apps] subhankar.ds:
Plz check below points...

1- Under SU, permission is garented or not.

2-UR sd card should not be mounted.

3-when u r connecting phone,make sure the it is not locked. therefore u cant make allow the SU permission.

if ur doing this under recovery mode then..

1-you need to mount system & SD card.

hope ur problem will be solved...:D
[XPERIA X10 Themes and Apps] k1018277:
I didn't try it as it worked when I tried it a couple of hours later.#

Thanks for the reply though, it might help others with the same problem.
[XPERIA X10 Themes and Apps] pyro224:
this is because your SD card is mounted to pc, turn of usb mass storage

however i myself still get the following error:

adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system

adb push ".\files/framework-res.apk" "/sdcard/tmp/framework-res.apk"

3749 KB/s (10640004 bytes in 2.771s)

adb shell dd if="/sdcard/tmp/framework-res.apk" of="//framework-res.apk"

//framework-res.apk: cannot open for write: Read-only file system

so it looks like i am able to copy my framework to the tmp directory on SD card, but i cannot overwrite the existing framework?

i tried the command (adb shell dd if="/sdcard/tmp/framework-res.apk" of="//framework-res.apk") in android terminal emulator and it worked, so i cannot figure out why this tool cannot do the same thing

any help would be greatly appreciated, thanks
[XPERIA X10 Themes and Apps] pyro224:
Finally got it to work! I just want to post tips for idiots like me who couldn't figure it out

1) Make sure USB Mass Storage is turned OFF

2) Use Root Explorer to mount system as r/w (read/write)

3) On the right hand side, browse to where you want to push the file on your phone (this seems pretty obvious, but for idiots like me haha....)
[XPERIA X10 Themes and Apps] sathurnn:
Why does when i decompile framework-res the folder drawable-hdpi are renamed drawable-hdpi-v4?
[XPERIA X10 Themes and Apps] gsmgaurav:
hi,

I m getting permission denied when I am trying to push the jbed *.so file to

/system/lib path.

Please tell me the solution to this..

//Gaurav
[XPERIA X10 Themes and Apps] MrRusch:
And this is the only time you get permission denied? Hmmm...
[XPERIA X10 Themes and Apps] MrRusch:
All kinds of new tools popping up in the forum, so question is if this is worth continuing at all with the very limited time I have.. Hmm
[XPERIA X10 Themes and Apps] bumhole:
hi,

i also have this problem, but i dont have root explorer so how can i choose mount r/w?
[XPERIA X10 Themes and Apps] mohanparvatham:
Try with better terminal emulator. It will work fine..

For doing this your phone needs to be rooted.

After opening terminal emulator type (su - Super user) - with this it will get super user permissions and then follow the remaining procedure as mentioned in post 1.
[XPERIA X10 Themes and Apps] chiefy009:
I am sorry if this is a dumb question, this is my first time trying this, can I change my notification bar colour with this ??
[XPERIA X10 Themes and Apps] k1018277:
Yes you can. You will need to pull your framework and modify that then push to your phone or you can use one already done.

Sent from my X10i
[XPERIA X10 Themes and Apps] chiefy009:
I am so happy I did it, woohoo now to begin playing with a theme or two
[XPERIA X10 Themes and Apps] MrRusch:
Hehe good stuff mate :) Glad the tool is of help.
[XPERIA X10 Themes and Apps] chiefy009:
This tool is excellent and makes changing things really simple, although I got carried away yesterday and changed everything I possibly could into different colours and my phone looked horrid :D
[XPERIA X10 Themes and Apps] totalz:
direct apk install from PC would be nice, atm, i still need to use command...

no matter, nice app :)
[XPERIA X10 Themes and Apps] amtzone:
nice one....easy to use...great!:D
[XPERIA X10 Themes and Apps] :
Im trying to modify the framework but it keeps giving me the "Read-only file system" error...

I have my device unsecured, root explorer, terminal emulator, etc. and nothing. Im also using the newest X10 Mod tool version.

Can anywone give me the chmod commands to give root privilieges to all / folders?
[XPERIA X10 Themes and Apps] :
THANKS BUDDY!! The chmod command worked perfectly :D
[XPERIA X10 Themes and Apps] Mirthel:
Ehmm, I have come across a problem, the program just stopped working with recompiling files, can't recomplie any files from latest x10 rom.. any thoughts? framework-res works great, but any other apk I tries wont work...
[XPERIA X10 Themes and Apps] Nankov:
delete pls
[XPERIA X10 Themes and Apps] MrRusch:
Will have a look mate, not sure.
[XPERIA X10 Themes and Apps] herson21:
Hi Guys question for u , im trying to use this on my HTC HD2 wit android 2.2 and sence but ones i try just for test to push a app shows me this

adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system

adb push ".\files/Camera_360_0.9.77.apk" "/sdcard/tmp/Camera_360_0.9.77.apk"

error: device offline

adb shell dd if="/sdcard/tmp/Camera_360_0.9.77.apk" of="/Camera_360_0.9.77.apk"

error: device offline

, my??? is , can i use this program on my phone and why says device offline??

thanks in advance :confused:
[XPERIA X10 Themes and Apps] MrRusch:
Hehe no sorry it is made for X10.
[XPERIA X10 Themes and Apps] dandes00:
Hi guys..... im noob in apk editing :P

but i have a small question....

when I recompiled apk after editing png's.... i cant install it :(

why ?! teach me what i have to do :)
[XPERIA X10 Themes and Apps] herson21:
ahh sucks oh well thanks anyways , and really cool app, keep the hard work..
[XPERIA X10 Themes and Apps] arr1975:
hi!

i cannot find - root privileges, and unsecured your device's shell! what is this ...

after decompile file i cannot see the "Manage APP" screen ..

can you help me pls - i am not very well in this ...

thenks a lot,

arthur
[XPERIA X10 Themes and Apps] Mirthel:
You should get a question on you display when you have plugged in the phone, and start the program as for dev shell check this command line..

http://xdaforums.com/showpost.php?p=9126627#post9126627
[XPERIA X10 Themes and Apps] MrRusch:
Have you gotten your issues sorted? What I am most interested in is the manage apps problem you describe. Can you reproduce this error?
[XPERIA X10 Themes and Apps] barsom:
Nice work, i will tray it out now
[XPERIA X10 Themes and Apps] d3coy.japan:
Cannot see all files

First, MrRusch, THANK YOU for all your hard work as I know your application has made my Android life easier! I have been poking around this thread trying to find an answer to my question and I cannot so I hope this has not been asked before.

I am trying to browse /data/app directory and unable to see any files. Actually, when I browse to /data there are no directories listed, but I can manually type in /data/app and it will change directory, but again I see no files. The application has 'root' access on my phone and the screen is unlocked. I can push/pull system apps from the /system/app directory and I also see files in the /system/framework directory so I don't think there is a local issue. Am I doing something else wrong?

Thank you once again and I hope this is not a bother to you!
[XPERIA X10 Themes and Apps] MrRusch:
No bother at all mate, I'm glad the tool is of use..

As for your problem, I'm sorry but I can't reproduce this. I just hooked it up and tried, but I see the files immediately. Are you using the latest version of the tool?

@All: Anyone else having this issue?

What you could do d3coy.japan is to check your /data/ access rights. Perhaps you for some reason dont have read-rights.. Chmod it up and see what happens. :)
[XPERIA X10 Themes and Apps] d3coy.japan:
Perms was the charm

MrRusch,

I am so sorry for such a noob style question. I had assumed that since your app required 'root' that it was connecting as root and thus needed no perms granted. The /data/app had rwxrwx--x so I changed 'others' to r-x and sure enough that fixed it. Assumption got the best of me! :eek:

Cheers and thanks for the quick response!
[XPERIA X10 Themes and Apps] Realorasz:
It seems i cannot recompile an APK. All it does is make a folder... that's it. What am I doing wrong?
[XPERIA X10 Themes and Apps] william0410:
what is unsecure shell and how do i do it?
[XPERIA X10 Themes and Apps] Bob7777777:
when I try to run it with Java, it doesn't open at all. :mad:
[XPERIA X10 Themes and Apps] weaponXandroid:
yes, it happens with me too, I waited for an hour to recompile the framework-res.apk file to recompile but it did not succeed. Any suggestions?

Really need to recompile it, leaving this one problem behind, the tool is awesome. I m a new to developing but just because of this tool, I did many changes in my X10.

Thank you very much and hope you find me a solution for recompiling .apk files.

thanks :-)
[XPERIA X10 Themes and Apps] MrRusch:
Not sure why the framework-res.apk doesn't compile for you. Most likely there is some error in what you have modified. I will try and make this output show in next version.

But, certain APK-files need to include dependencies for apktool to compile properly. I will add this functionality as soon as I get some time.

Sorry for the inconvenience.

This has to do with your local Java setup then, not related to the tool.

It means altering the device's shell permissions. If the tool doesn't manage to change this by itself, you can manually type the below command either indirectly through ADB shell or directly in a terminal emulator on your device.
[XPERIA X10 Themes and Apps] dzupert:
And give advice to accommodate the Arca?
[XPERIA X10 Themes and Apps] pvyParts:
Howdy all,

Just thought i'd add that this tool works great with my GF's Galaxy S i9000,

should it work with ANY android device?

Pvy.