Related
Any here that can pull the framework-res.apk from their phone and post it here? I wanna chamge some color tones on my missy's phone in the weekend here where she is gone, and offcause she took the phone with her before i had a chance to pull the file myself..
Any that can help?
For the mini or the mini pro?
Here's at least the one for Mini Pro: mediafire.com/?48w5y9d7sj2pxa8
Would be really nice if you could share the result with us as well (or at least let us know if it worked).
It is actually for the X10 Mini, not the pro i need, but ill look into the file and see if they are compatible..
Basicly, the easy way to get the blue menu away is simply make a script in Photoshop that desaturate the pictures. They will get a nice gray look with a simple click.. Ill try making that and repost the file.
What ive been reading, but not tested myself yet, is that you edit the pictures to what ever you feel they should look without changing size X by Y and merge them back into the apk with winzip, winrar, b2z or whatever you are using to look into the apk with. Then you don't need to sign the file again and you can push it back to your phone..
Ill keep you posted.. Thanks again for the file..
Meep meep..
You must have root on your phone and you use this at your own risk. The file is for X10 Mini Pro. No idea if it works on non pro...
So, i pulled the blue colors from all the pictures.
Make a backup of the /system/framework/framework-res.apk from your device first..
The files are back in the apk and should be uploaded to your /system/framework folder on your phone.
Change permissions on the file to 755 and reboot your device.
Sould now all be gray instead of blue..
mediafire.com/?l1b1g8ykp1j05ij
Let me know of your experiences..
Meep meep..
FastDuck said:
Any here that can pull the framework-res.apk from their phone and post it here? I wanna chamge some color tones on my missy's phone in the weekend here where she is gone, and offcause she took the phone with her before i had a chance to pull the file myself..
Any that can help?
Click to expand...
Click to collapse
Here it is, firmware is E10i 1.6 1.0.A.1.37 (X10 mini black)
Could you port the linked theme I mentioned in gray theme thread ?
I can upload rest of themed files i.e. Contacts,Calendar,Messaging etc.
P.S. not much reason backing up original file if you gonna try changing it. If file won't work you will end up with sony-ericsson white writting on the screen and you should flash with Windows SE Update Service (press home+back together, than power button when asked to connect phone). Titanium backup is the way to restore settings.
Changing file back won't be possible cause "su" crashes in this mode, so /system is not re-mountable and thus u can't copy original file back.
Still, flashing takes less than a minute, and its quite safe to try themes.
pulpoff said:
P.S. not much reason backing up original file if you gonna try changing it. If file won't work you will end up with sony-ericsson white writting on the screen and you should flash with Windows SE Update Service (press home+back together, than power button when asked to connect phone). Titanium backup is the way to restore settings.
Changing file back won't be possible cause "su" crashes in this mode, so /system is not re-mountable and thus u can't copy original file back.
Still, flashing takes less than a minute, and its quite safe to try themes.
Click to expand...
Click to collapse
But if it works and you still want to change back it would probably be nice to have the original file.
Hi all.
I've been trying for some time now to get rid af this annoying bar. Eventually, i found out that i can't do it myself, and i need som help.
Objective: Removing the blue bar in the bottom of the screen, if you have changed your input method to another configuration than the roms.
Tries so far:
In system/usr/keyboard-config/layouts, i've tried to copy the settings from qwerty-no-dk.xml in to all other files (azerty.xlm, cyrillic.xml and so on). with this i managed to get every language selected to write the danish æåø, but when i deselect standard input, i stil get the original layout.
Tried to rename the Keyprint name: in the keyprint.xml - no effect.
Anyone wanna give it a try?
Regards, Heien.
The bar that has the time, date and signal?
I suposse that is the blue bar of the keyboard when opening the phisical keyboard. I also hates it
yep me too.. it is annoying when browsing it covers the lower part of the page
the .png is located in the SuquashiInputMethod.apk & can be modified to have other colors, i'll try to make it transparent, but give it not more than a shot into the blue, i have done it once on 1.6 & no alphablending enabled, so may just result in grey/black bar at bottom.
what u need:
go find Theme Reference Thread in X10 Dev Forum, read the part with .xml decompilation & recompilation & then find the damn .xml blamable for the icon to be shown.
simply delete image call & bar is gone
edit: digged into it further & decompiled suquashi
xml blamable found in /res/layout-land/querty-statusbar.XML
trying to get rid of it now
hmm seems like my decompiled files already contained failures, fc after managing to get it installed
hmm seems working..??
still not wanted effect..
how to define transluscent background of a relative view, if view needs 1) background & 2) background is not shown only by changing backgroundimage to transluscent
seems also to be on same lvl as "real" screen content..
remove SuquashiInputMethod.apk
I don't use the se keyboard. I removed SuquashiInputMethod.apk.
I don't have that problem And Swype is wonderfull
Yeah the easiest way to get rid of it is to use a different keyboard application.
I'm Currently using Swiftkey..
when using different kb, do you have symbols dialog & the other features from hardware keyboard?
hmm
Numbers you can, Caps you can
no smilies,no ascented characters-from physical keyboard
Smiles and ascented character can be inputed from soft keyboard
I do not believe that we need to get rid of the bar by changing in the xml and image files, i believe that we somehow should be able to alter the default input somewhere (as we did to get out custom languages working) to support our native input method. When i recieved the phone from 3 (in denmark) the language bar was hidden, althrough my input was with danish characters, and this is the effect i'm trying to achieve.
heien said:
I do not believe that we need to get rid of the bar by changing in the xml and image files...
Click to expand...
Click to collapse
I've been looking at the same issue, and is quite annoyed. I think you're right in your assumption with the xml files - apparently i can only find the apk unzippers not the decompilers (dont have computer). The keyboard asis should be capable of functioning in the way we are looking for - on my device when i run terminal emulator the keyboard essencially does what i want (though the cursor in the terminal doesn't show keyboard state - symbol/shifted), and have experinced other situations when this giant bar of blue death finally dissapeared
>X10 mini pro - U20i - 2.0.2.A.0.24
>root,xrec,jit,link2sd,cus. key + bootanim
Guyz dnt worry I will make it.. just give me some time..
sent from my freaking xperia x10 (CM6 3.3) using xda premium app!!!
That would make me one happy fan
>X10 mini pro - U20i - 2.0.2.A.0.24
>root,xrec,jit,link2sd,cus. key + bootanim
i feeling i sloved the problem but now i can't install the apk... it says problem P***king problem! changed apk zipped signed. what's problem now?
My APK manager screwed.. if anyone can sign apk.. the edit res/layout-land.xml file
and set these value to
android:layout_width="wrap_content"
android:layout_height="0.0px"
please report!! somebody!!
Edit: I am getting few errors in compiling and recompiling... so i can't edit this! If anyone succeed in this! just do written above~
I gotta get myself a computer :/
I'll try to find an apk manager that can run on device.
>X10 mini pro - U20i - 2.0.2.A.0.24
>root,xrec,jit,link2sd,cus. key + bootanim
tux1n said:
I gotta get myself a computer :/
I'll try to find an apk manager that can run on device.
>X10 mini pro - U20i - 2.0.2.A.0.24
>root,xrec,jit,link2sd,cus. key + bootanim
Click to expand...
Click to collapse
There is nothing like it... and I have found the solution to remove that bar.. we r unable to use it...
sent from my freaking xperia x10 (CM6 3.3) using xda premium app!!!
What do you mean - unable to use it?
>X10 mini pro - U20i - 2.0.2.A.0.24
>root,xrec,jit,link2sd,cus. key + bootanim
tux1n said:
What do you mean - unable to use it?
>X10 mini pro - U20i - 2.0.2.A.0.24
>root,xrec,jit,link2sd,cus. key + bootanim
Click to expand...
Click to collapse
by using APK manager smhw i managed to decompile it... and edited the apk in the manner as it'll work our way! but now i can't recompile it as that APK Manager or the APK itself has some errors.. cz when i decompile i get some errors but it does decompile.. and when i recompile it.. it doesn't recompile.. it doesn't even recompile when i dnt edit anything! so after figuring out what is solution i can't make it usable!
i worked like a **** for 5-6 hrs.. just to recompile... cz the solution was so easy! dnt know! what to do now!
newtron_b1 said:
by using APK manager smhw i managed to decompile it... and edited the apk in the manner as it'll work our way! but now i can't recompile it as that APK Manager or the APK itself has some errors.. cz when i decompile i get some errors but it does decompile.. and when i recompile it.. it doesn't recompile.. it doesn't even recompile when i dnt edit anything! so after figuring out what is solution i can't make it usable!
i worked like a **** for 5-6 hrs.. just to recompile... cz the solution was so easy! dnt know! what to do now!
Click to expand...
Click to collapse
try this:
1) in your home folder in apktool/framework folder you will find 1.apk open it with 7 zip.
2) pull framework-res.apk file from /system/framework/ extract resources.arsc, replace it with one in 1.apk.
3) Now try decompiling/compiling.
PS: if may not find the apktool folder if you clean all projects, load the project try decompiling ( it will create the apktool folder in your home) now try decompiling again
Hey Guys,
I have been attempting to mod my framework-res.apk to try and add a percent battery icon (unsuccessfuly so far). Here is my issue, after finding that my modded framework file isnt working properly, I go to try and restore the original. After restoring the original I still get tons of FC's and the only way to get things back to normal is to restore my backup from CWM.
The method I am using to replace my framework-res.apk is to use a root explorer (ES File Manager) to copy the file to /system/ then from there I modify the permissions and then move the file to the framework folder, overwriting the existing file. After this, I reboot the phone.
My question is, why is my original framework-res.apk file causing force closes? It is starting to make me think that even my modded files are ok, but that the issue is arising in the manual transfer.
Sorry if the answer is posted elsewhere, I googled and was only finding issues with the apk not being compiled correctly, but that shouldnt be an issue with the original apk.
*EDIT* I figured it out. It appears it was because Jkay Deluxe was installed. I decided to reflash the rom and try with a fresh copy of the framework-res.apk and everything appears to be working now.
I tried to decompile, modify 1 xml file and recompile the framework-res.apk.
But everytime I do it, I either get into a boot loop, or when In succeed it displays glitches (like notification bar, and messed up lock screen, and settings)
This is for AURORA ICS 4.0.3 and I do have the latest aapt.exe file .. so I don't know what is wrong!
I tried to use the original framework-res but replace the resources file inside, stored and compressed methods.
Tried to get the compiled framework-res but add the META-INF and Manifest file (again, both with compressed and stored resources file) and always.. it just glitches or bootloops.. and the mod that I tried (ICS on screen buttons or the CRT effect when you switch off the screen, mainly used in Oxygen roms, but it's available in all ROMs).. it never works.. only glitches the lock screen, notification bar etc..
Any help?
Thanks.
I might know the answer to this..
Which files are you modifying in framework-res? And how are you pushing it back to your phone?
Sent from my U20i using xda premium
Would be great
I am modifying some files in the values folder, bools.xml, arrays.xml .. but even if I edit bools.xml alone, it still glitches.
To push it back: I go to recovery mode on my phone, plug it into my linux machine (the system partition mounts), paste the new framework-res.apk to replace the old one, fix permissions (otherwise it boot loops), and restart the phone. This method works for other files and never had any problems, like the android.policy.jar
Would be great if you can help me. Thanks
Well, the XML files you're editing are all part of resources.arsc so it's something to do with that which is causing the problem. I used to get all sorts of annoying bugs when I edited anything in resources.arsc and I eventually found out that I was pushing the final apk back to the phone incorrectly.
I use a Windows PC, not Linux, so I might not be that helpful but this is what I do to modify and replace framework-res.apk. Hopefully it'll help. What I do is..
Decompile framework-res.apk
Make my changes
Recompile the file
Use a program like 7zip to open the old and the new files
Drag and drop the "res" folder from the new file into the old
Extract resources.arsc from the new framework-res.apk and add it to the old one in "STORE" mode, so it's not actually compressed
Go into recovery, mount the system partition and push the old file
..and that's it. Works a charm every time.
I would have thought that you would need to do the same thing on Linux but with the additional step of correcting the permissions. If you do all that and it still doesn't work, then there has to be a problem with the actual mod you're trying to do.
Thank you very much, I actually tried that method. It sort of worked, but everytime it breaks the notification bar. It becomes like double the size and I'm not sure why.
Thanks.
Then the issue must be with the modification itself. What exactly are you changing to what?
Sent from my U20i using xda premium
I tried different ones.. but even a simple one.. enable CRT animation.. which is pretty much open bools.xml and edit one true to false.. it breaks it :/
I currently use a HTC HD Mini (Photon) running the SCREAM ROM by Ling Gan. It has a few bugs for most of which there is either a workaround or fix but there is the one problem which has remained unsolved: the default wallpaper on everything BUT the home and lockscreens cannot be changed. It is of a tree in a meadow under a blue sky and when rotated to landscape changes to some smiling chinese lady in the "settings" submenu. Doesn't hamper use much but it is quite annoying.
I have tried a number of solutions some of which resulted in my having to reflash and others did nothing. I post this here because I think it is a CM7 issue. The ROM developers have so far been unable to post a solution within the thread and I am aware that a fix for similar problems on CM9 ROMs exists using ADB to edit framework-res.apk. I felt it was time the problem was tackled by the wider XDA fam. Used google translate to look on the chinese site where the ROM is native to (mobile-kon) but found no help as well. Any help would be greatly appreciated.
i think ur problem lays in the framework-res.apk it contains the look of the rom and the transition effects
you can mod apk with the apkmanager tool for ur computer in the frameworkresapk you should find the images u want to change replace them witch a black picture or something like that
if never done this befoure exept from changing some transition effects and i had a couple of errors among this
the easier way seems to search for the rom on another page cus the images ure stating are not standart in the cm7
SOLVED!
jiffer1991 said:
i think ur problem lays in the framework-res.apk it contains the look of the rom and the transition effects
you can mod apk with the apkmanager tool for ur computer in the frameworkresapk you should find the images u want to change replace them witch a black picture or something like that
if never done this befoure exept from changing some transition effects and i had a couple of errors among this
the easier way seems to search for the rom on another page cus the images ure stating are not standart in the cm7
Click to expand...
Click to collapse
Many thanks!
I started off looking through the "res" folder in framwork-res.apk using Root Explorer to identify the images for the wallpaper. They were
Res/drawable-land-mdpi/screen-background-dark-transparent.png
And
Res/drawable-mdpi/screen-background-dark-transparent.png
I then created a copy of framework-res.apk on my SD card and copied it onto my pc. I created new wallpapers to replace the ones I just mentioned, one in portrait, the other in landscape. They were 320x480 and 480x320 respectively. Using 7zip on the pc, I placed them in the corresponding folders (/drawable-mdpi for protrait and /drawable-land-mdpi for landscape).
I copied framework-res.apk back to my sdcard and then fired up terminal emulator to run the following commands
su
sys -rw
busybox cp /sdcard/framework-res.apk /system/framework
sys -rw
You might get error messages from running apps after this but ignore them and reboot. The idea is to replace the framework-res.apk in system/framework with the one you just edited.
After the reboot, you should have your newly created wallpaper showing up in settings in both landscape and portrait modes.
Please hit "thanks" for both jiffer1991 and I if this was helpful. Big ups to jiffer1991for pushing me in the right direction.
Hi,
i did something wrong.
So my Phone didn´t run.
He show me the Bootsceen and the Animation.
But the he will run again and again and again.
Can i handle my Phone via USB so i can restore the framework.resp.apk on my System? Or i have to reinstall Android again?
I have no backup and i don´t want to erase my system settings.
Thanks
Felix
obstgarten said:
Hi,
i did something wrong.
So my Phone didn´t run.
He show me the Bootsceen and the Animation.
But the he will run again and again and again.
Can i handle my Phone via USB so i can restore the framework.resp.apk on my System? Or i have to reinstall Android again?
I have no backup and i don´t want to erase my system settings.
Thanks
Felix
Click to expand...
Click to collapse
hm u got stuck in a bootloop thats what i meant when i mentioned errors =)
you could make a zip with the old framework res apk or reflash the cm rom
if u dont whipe data/cash ure setting will be safed
read some tutorials how to mod the framework res apk
I have an .zip file on the sd card.
Can i copy it to the Android system somehow?
Felix
P.S. can i zip the framework and remove the ".zip" to ".apk"?
It is most likely that the zip file you have is the ROM image from which you flashed in the first place. Changing the extension to apk is NOT what you want to do. I suggest you create a backup in CWM of you present configuration and after reflashing, you can then do a partial restore of your user data. But its like Jiffer1991 said, read up on CWM, theres an exhaustive guide on xda somewhere.
Thanks,
i installed my modified cm rom without wipe caches data or something.
And now i have my old datas back, with the new Background.