[GUIDE][ICS] Compiling framework-res without losing theme background - Sony Xperia P, U, Sola, Go

Tested on P .75 and U .89, so I don't know will it work on others.
You need to change framework.jar and framework-res.apk. Firstly decompile them. (And don't forget to install right frameworks to apktool!)
1) Remove Sony's method
Do these: http://forum.xda-developers.com/showthread.php?t=1943855
2) framework-res part
- Download "semc_bg_new.zip" and extract file to drawable folder.
- Open values/public.xml and define "semc_bg_new" as drawable, first unused id is 0x01080903 in most framework but if you're using modded framework it may differ. So if apktool gives error, try increasing it one by one. (if you reached to 0x01080909 and there is an error still, begin from 0x0108090a and try a,b,c,d,e,f)
- Open values/styles.xml, search "semc_bg" and change it with;
Code:
<item name="windowBackground">@drawable/semc_bg_new</item>
- Compile. And don't forget signatures.
3) framework.jar part
- Download "framework stuff" attachment, extract, put to decompiled framework.jar and compile.
Enjoy. And don't forget me =)

Thanks ! I needed that

You're welcome.
So, nobody tried it except DavidMKD?

erorcun said:
You're welcome.
So, nobody tried it except DavidMKD?
Click to expand...
Click to collapse
Yes me bro @erorcun
Works great, nice guide and howto, also what i needed, i had some struggles to and its solved with this, thanks alot
:: Pandemic .:: [Recognized Contributor]

i dnt understand dis mod.

normally if you try to edit framework-res phone won't open on xperia ics fw's. there is a fix for this but you have to remove theme backgound(for example settings background) to make it work. But with my trick you can edit framework-res as you want.

erorcun said:
normally if you try to edit framework-res phone won't open on xperia ics fw's. there is a fix for this but you have to remove theme backgound(for example settings background) to make it work. But with my trick you can edit framework-res as you want.
Click to expand...
Click to collapse
okies... i guess i ll need dis when editing for JB FW!!!!
but is step 1 still gonna be used; remove sony stuff!!!

there is no theme background in jb, you can't use =D
i mean sony's background locating method by 'sony's method' and you must do it. but after my method you won't lose anything.

erorcun said:
there is no theme background in jb, you can't use =D
i mean sony's background locating method by 'sony's method' and you must do it. but after my method you won't lose anything.
Click to expand...
Click to collapse
okies.... guess only work on ics den!!

I have a problem, when i compile it says Nopatch And something about android.yml. What i should do?
Enviado desde mi ST25i usando Tapatalk 2

You're doing somethings wrong. Did you install frameworks to apktool? And can you try compiling after first stage?

erorcun said:
You're doing somethings wrong. Did you install frameworks to apktool? And can you try compiling after first stage?
Click to expand...
Click to collapse
I installed framework And semcgenericuxpres.apk and tried compliling without changes and that was my result.
Enviado desde mi ST25i usando Tapatalk 2

Maybe you are using old apktool version?

erorcun said:
Maybe you are using old apktool version?
Click to expand...
Click to collapse
I think is 1.5.2, isn't the newest?
Enviado desde mi ST25i usando Tapatalk 2

Yeah it's newest. Hmm. I don't know, sorry.

the developer of apktool said there's something wrong with aapt, he's gonna release apktool 2.0.0 with the modified aapt

whalesplaho said:
i dnt understand dis mod.
Click to expand...
Click to collapse
This is not a mod. It's a guide
Sent from my C6603 using xda premium

Well, thank for trying to help, i will wait till 2.0 release.
Enviado desde mi ST25i usando Tapatalk 2

Hi @erorcun, I have a question. You were helping munjeni fixing his JB framework for sola right (background and coloured accents)? So here is the deal:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Why in landscape there is an old GB background? This goes for every theme. Is there any way to fix it? Thanks in advance
Xperia [email protected] 2

@Patrol619
I helped with theme dependent things, but he fixed backgrounds himself.
You can fix it via moving some images to framework-res from SemcGenericUxpRes. (probably drawable-land folder)

Related

[UPDATED!]Xperia 2.3.7 and Xperia S lockscreen CM7 roms

Hi all i started this project some time ago when SemcDebrandEngine was released and i wanted to have stock looking lockscreen. Then came the requests. I m glad you are so interested in it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Supported roms:
GDX v022-v023b-v024
PrimeHD v6.0
SemcDebrandEngine.
Upcoming roms to be supported:
miniCM7 2.2.0
------------------------------------------
Installation:
Flash in CWMRecovery.
"BUGS"???
Changelog:
- nothing
------------------------------------------------------
Have a nice day
Xmaster8
[UPDATED!]Xperia 2.3.7 and Xperia S lockscreen for PrimeHDv6, SDE and GDXv22 and up!
Downloads:
1: Xperia 2011 (2.3.4) line style
PrimeHD v6.0
GingerDXv22
GingerDXv23b
GingerDXv24
SemcDebrandEngine
2: Sony Xperia S style
PrimeHD v6.0
GingerDXv24
Lepo bo ja. Samo daj naredi da bo kot oni pravi SE Lockscreen!
it look great man! thank you, and the problem with "sound" and "lock" is not that big i can live with it love this lockscreen ja!
I think those strings are in framework-res.apk. Managed to edit it, but fail while recompiling in apkmanager
fundre said:
I think those strings are in framework-res.apk. Managed to edit it, but fail while recompiling in apkmanager
Click to expand...
Click to collapse
yes they are in framework-res.apk and i edited them. And they work
looking good, waiting for croatian language
Xmaster8 said:
yes they are in framework-res.apk and i edited them. And they work
Click to expand...
Click to collapse
Great maybe you could look to bakabon's framework files, he fit the slider background nicely.
Sent from my E15i using XDA App
thanks, waiting for italian =D
+1
xperia lockscreen:
edited: fix now......Download Xperia Lockscreen SDE
Is it possible to also make this work on other ROMs?
zephiel said:
Is it possible to also make this work on other ROMs?
Click to expand...
Click to collapse
this is only for the mentioned rom but maybe i ll do it for other roms to.
i tried with root explorer and i had reinstall the rom
What? Explain please
i replaced the framework res and immediately after the phone is rebooted and showed me an infinite bootanimation, so i had reinstall the rom
Just installed this and it's working great
For next version could you make the lock icon overlay on the right side of arrow icon like this
It's xperia ray, sorry for poor photo quality. Taken from X8. Gratz
Sent from my E15i using XDA
fundre said:
Just installed this and it's working great
For next version could you make the lock icon overlay on the right side of arrow icon like this View attachment 929523
It's xperia ray, sorry for poor photo quality. Taken from X8. Gratz
Sent from my E15i using XDA
Click to expand...
Click to collapse
i did it. if it works ok i ll upload it it ll be last version i think
tnx for the stock lockscreen look.
btw, can you help me edit Home.apk to become 4x4 apptray,
i decompile, change res/values/integer apptrayrows to 4, then compile, retains signature and delete resources.arsc from keep folder
but I cannot install it with root explrr or flashtool , is ther somthing wrong?
Tnx
moaj said:
tnx for the stock lockscreen look.
btw, can you help me edit Home.apk to become 4x4 apptray,
i decompile, change res/values/integer apptrayrows to 4, then compile, retains signature and delete resources.arsc from keep folder
but I cannot install it with root explrr or flashtool , is ther somthing wrong?
Tnx
Click to expand...
Click to collapse
have you tried pushing to system/app adn setting permisions?
yes ofcourse, it's a must
can you make it 4x4?

[REQ] Xperia S settings + Xperia S theme

Hello all, i want to ask about this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
is it possible to install this to my LWW on official ICS ? I will be very thankful if someone could be so good and could upload it, thx all
sorry for my bad english
Hi.
This MOD was in a REAL CUSTOM ROM R5.1 ICS but I have no idea whether it will run on STOCK ROM, as some stock applications do not work to me at the ROM.
Download the package REAL ICS r5, extract:
settings.apk
and replace this in /system /app
I use ICS R5.1 REAL the small cosmetic changes, and it looks great
This is not accurate but it looks good
i love dis too...... +1
Xelorek said:
Hi.
This MOD was in a REAL CUSTOM ROM R5.1 ICS but I have no idea whether it will run on STOCK ROM, as some stock applications do not work to me at the ROM.
Download the package REAL ICS r5, extract:
settings.apk
and replace this in /system /app
I use ICS R5.1 REAL the small cosmetic changes, and it looks great
This is not accurate but it looks good
Click to expand...
Click to collapse
can u share screen shoot of ur settings from real ics?
i tried replaced settings.apk from many Roms witch has this theme but icon in app drawer was lost and after restart bootlop.
tried wiping dalvik cache ?
of course
I think you need to add modified DefaultThemes.apk aswell...
check this thread, it might help you...
i didnt find nothing... and what about the "grey-noise" theme? thx
Oh please, i want the same things, hope that some dev port that defaultthemes.apk and the settings.apk
Maybe this can help you (i havent tried it, so dont blame me if it doesnt work )
http://www.mediafire.com/download.php?6sgelutntkagdkd setting xperia s
trantiena10 said:
http://www.mediafire.com/download.php?6sgelutntkagdkd setting xperia s
Click to expand...
Click to collapse
Working on mdpi devices??
whalesplaho said:
Working on mdpi devices??
Click to expand...
Click to collapse
work but have bug in brightness, if you can edit apk i can tell you how to fix it, i can edi apk because of my pc
trantiena10 said:
work but have bug in brightness, if you can edit apk i can tell you how to fix it, i can edi apk because of my pc
Click to expand...
Click to collapse
dat would be nice buddy, just tell me how den i would fix it & upload & yhu test it....
whalesplaho said:
dat would be nice buddy, just tell me how den i would fix it & upload & yhu test it....
Click to expand...
Click to collapse
http://www.mediafire.com/download.php?6b9in74j3kbz6mf decompress and go to smali com android setting and replace setting.rar. and sign it with stock framework res apk
trantiena10 said:
http://www.mediafire.com/download.php?6b9in74j3kbz6mf decompress and go to smali com android setting and replace setting.rar. and sign it with stock framework res apk
Click to expand...
Click to collapse
buddy, am gonna replace setting.rar of tha first link with dis new link aite?
whalesplaho said:
buddy, am gonna replace setting.rar of tha first link with dis new link aite?
Click to expand...
Click to collapse
yes replace setting.rar with xepria s setting i posted. dempress before replace
trantiena10 said:
yes replace setting.rar with xepria s setting i posted. dempress before replace
Click to expand...
Click to collapse
yeah, i know dats compulsory....
whalesplaho said:
yeah, i know dats compulsory....
Click to expand...
Click to collapse
have you make it work

[Sola\Go\P\U?] Reboot&Transparent mode [UPDATE: 21 oct]

My new job, "Reboot & Transparent mode". The first test version. Thanks to the user sk0t for a way to compile. His unique way of working, but no longer change the background theme and I decided to make the background transparent applications.
Only for Xperia ICS
Test on: Sola, GO, P, U (small bugs) ....
- Reboot in PowerMenu
- Transparency of the background applications - your picture that you have set your wallpaper + 50% transparent dark background
- SystemUI in the screenshots:Jelly Bean Style SystemUI with quickpanel
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download for Xperia Sola\ Go
Download for Xperia P (U test)
Instal via CWM. Do not forget about backup, it is a test version.
Do not say thanks, press thanks:angel:
reserved
Ok this off topic but how did u get framework-res.apk to compile n boot?I've had numerous bootloops trying get framework-res which I compile even without changes to boot..
Sent from my ST25i using xda premium
Works!Thank you,I have been trying to do this for weeeks,huh.Glad it worked.It would be great if shared how you compiled framework-res.apk
only SOLA ?
could you creat this for U ?
Can we get a version with only the reboot option? I don't want the transparent apps... Thanks
Sent from my MT27i using Tapatalk 2
rohit3221 said:
Can we get a version with only the reboot option? I don't want the transparent apps...
Click to expand...
Click to collapse
This is impossible, because I use a specific way to compile. Only working.
Just do not install it.
destroyy said:
only SOLA ?
could you creat this for U ?
Click to expand...
Click to collapse
You to change the two images and ... made "Touchwiz"? Thank you, I do not. DIY, bro
Spaun_Studio said:
This is impossible, because I use a specific way to compile. Only working.
Just do not install it.
You to change the two images and ... made "Touchwiz"? Thank you, I do not. DIY, bro
Click to expand...
Click to collapse
Hey could u reply to my post ? its the second one...
bharat_goku
neectron
Use apktools without second framework.
Always looking for the reboot option on my Sola after leaving my HD2 in the dust. Will backup and install this tomorrow then update.
Spaun_Studio said:
bharat_goku
neectron
Use apktools without second framework.
Click to expand...
Click to collapse
Tat worked?
Really?
Hmmm I'll try tat out2day
Thanks fr that...
Sent from my ST25i using xda premium
What's the clock widget?
Spaun_Studio said:
bharat_goku
neectron
Use apktools without second framework.
Click to expand...
Click to collapse
m not able to decompile framework-res without second framework,
which version of apktool do u use?
bharat_goku said:
m not able to decompile framework-res without second framework,
which version of apktool do u use?
Click to expand...
Click to collapse
[How-To] Compile Framework on last Sony ICS update
Spaun_Studio said:
[How-To] Compile Framework on last Sony ICS update
Click to expand...
Click to collapse
Thank I just read much appreciated n needed
Sent from my ST25i using xda premium
Manually installed the framework files on my xperia U it works but sometime I get USB connectivity stopped even though usb is not plugged in (possibly just on startup)
thanks!
EDIT: can't connect USB restoring backup
should i try with systemUI? It's just i like what i have in status bar now so..
can you please tell us how to transparent ? i want make it for Xperia S
Thanks
Me‎ said:
Manually installed the framework files on my xperia U it works but sometime I get USB connectivity stopped even though usb is not plugged in (possibly just on startup)
thanks!
EDIT: can't connect USB restoring backup
should i try with systemUI? It's just i like what i have in status bar now so..
Click to expand...
Click to collapse
I have the same problem too. Otherwise, the transparent background is working and love it!
After flashing this
USB storage force close
Media process force close
Sent from my Dell Streak using xda app-developers app
Transparency works fine, but I've got fc of camera on my U

[MOD][CM9][XP/XU] Lockscreen HTC Weather Icons and CM10 Notification Bar

I'm not responsible if anything goes wrong. Do a backup before.
If there is anyone that is still using CM9 Rom, like me, i invite you to try this little mod.
To have the HTC weather icons on the lockscreen, follow these simple steps:
1. Download the framework-res.apk that suit your device (P or U)
2. Rename it to framework-res.apk (Remove the P/U)
3. Move it to the \system folder
4. Set the permisions to RW-R-R-
5. Move it to \system\framework folder
6. Reboot
This is how it looks like:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks to Dark Emotion
Simple Weather Lockscreen mod for CM9&CM10
To have the CM10 notification bar (Not CM10.1).
1. Download the SystemUI.apk
2. Move it to \system\app folder
3. Set the permisions to RW-R-R-
4. Reboot
There you go:
All the credits goes to nitinvaid
[MOD/GUIDE]Jelly Bean style SystemUI For CM9/ICS ROM[UPDATE 15-10-2012]
That's it. I hope you enjoy, while we wait for the CM10.
Please somebody port it to Xperia U I'll be a tester if You need, look's great dude, excelent Job
nemesisexsp said:
To have the CM10 notification bar (Not CM10.1).
1. Download the SystemUI.apk
2. Move it to \system\app folder
3. Set the permisions to RW-R-R-
4. Reboot
There you go:
All the credits goes to nitinvaid
[MOD/GUIDE]Jelly Bean style SystemUI For CM9/ICS ROM[UPDATE 15-10-2012]
That's it. I hope you enjoy, while we wait for the CM10.
Click to expand...
Click to collapse
Any chance for this to work on Xpera U CM9?
Inviato dal mio Xperia U con Tapatalk 2
could u make it for Sola?
I can take a look at your framework-res.apk and see if i can make the Weather Icons work for you guys too.
Please attach the file (framework-res.apk) and i'll try.
About the Notification Bar, i sugest you to try (making a backup first) and share with us the results.
Best regards.
:good:
Hii this is my framework from Xperia U compilation, b.10
I hope You can help
JiMmY051 said:
Hii this is my framework from Xperia U compilation, b.10
I hope You can help
Click to expand...
Click to collapse
From what ROM you took this file?
Are you sure it's CM9?
Looks like a Sony stock one.
yes it's from stock :'( :S not posible on stock???
I'm sorry if I made You waste your time :S
JiMmY051 said:
yes it's from stock :'( :S not posible on stock???
I'm sorry if I made You waste your time :S
Click to expand...
Click to collapse
No problem mate!
:highfive:
Sorry i can't help. =/
ok I'm sorry but can you help me, where.can I find a weather widget for statusbar, almost the sameone of your post???
JiMmY051 said:
ok I'm sorry but can you help me, where.can I find a weather widget for statusbar, almost the sameone of your post???
Click to expand...
Click to collapse
It's Eye In The Sky.
Thank You very much
will test if made for xu ... using cm9
framework-res.apk
CM9 framework-res.apk for Xperia U:
https://www.box.com/s/2nuy8rrxly2vhcco6wc5
CM9 SystemUI.apk for Sola
https://www.dropbox.com/s/9d5p3zfdq58vksr/SystemUI.zip
AbdulRehmanSays said:
CM9 framework-res.apk for Xperia U:
https://www.box.com/s/2nuy8rrxly2vhcco6wc5
Click to expand...
Click to collapse
And here you have SystemUI.apk from CM 9.1 for Xperia U: https://dl.dropboxusercontent.com/u/55956795/SystemUI.apk
AbdulRehmanSays said:
CM9 framework-res.apk for Xperia U:
https://www.box.com/s/2nuy8rrxly2vhcco6wc5
Click to expand...
Click to collapse
OP Updated.
Thanks!
nemesisexsp said:
OP Updated.
Thanks!
Click to expand...
Click to collapse
What about Xperia U's SystemUI?
Sent from my Xperia U using xda app-developers app

[PORT][ICS][HDPI]Sony Sketch

I Have successfully ported the sony sketch app from Xperia Z1
There is only 1 bug, the sketch tools do not show up, as can be seen in screenshots
This is For HDPI, im sorry i do not have a MDPI and hence cannot fix MDPI layout and etc....
Installation:
Just install as normal apk or copy and paste it into /system/app
somcsketch.apk - 8.23 MB
Please Press Thanks
And If You Really Like My Work, Then Please Donate
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks it works very well on xperia mini pro :thumbup:
But can you tell me plz how to change the color and size
Sent from my SK17i using xda premium
very very thanks
I want this on 4.0.4
naheel azawy said:
Thanks it works very well on xperia mini pro :thumbup:
But can you tell me plz how to change the color and size
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
The sketch tools is missing right now
Will fix soon
*alifo* said:
very very thanks
I want this on 4.0.4
Click to expand...
Click to collapse
This is for 4.0.4 :-/
Sent from my LT18i
can you fix tools
and
make it for mdpi?
I have sony sketch for mdpi on 4.2.2
upload it soon
*alifo* said:
can you fix tools
and
make it for mdpi?
I have sony sketch for mdpi on 4.2.2
upload it soon
Click to expand...
Click to collapse
Working on tools
And like i said in OP i do not have a mdpi device and hence i cannot test the layout
Sent from my LT18i
Thank you
It working on my Xperia mini stock mdpi
Waiting for tool fix :thumbup:
TITO NL said:
Thank you
It working on my Xperia mini stock mdpi
Waiting for tool fix :thumbup:
Click to expand...
Click to collapse
Lawl
P.s the toolbar is a layout problem, if anyone is good in editing layouts plz help
Sent from my LT18i
work fine,waiting for full port
Sahaab said:
There is only 1 bug, the sketch tools do not show up, as can be seen in screenshots
Click to expand...
Click to collapse
For now as you said the tools isn't working yet there's no need for 8MB only 605KB for it by deleting the assets folder and it's fully working :good:
If any buddy wanna try that download from attachment then install it
naheel azawy said:
For now as you said the tools isn't working yet there's no need for 8MB only 605KB for it by deleting the assets folder and it's fully working :good:
If any buddy wanna try that download from attachment then install it
Click to expand...
Click to collapse
U can use toolbar slightly in landscape, tho u will get FC in some stuff (have fixed but wont release till i get a fix for layout)
Sent from my LT18i
Sahaab said:
U can use toolbar slightly in landscape, tho u will get FC in some stuff (have fixed but wont release till i get a fix for layout)
Sent from my LT18i
Click to expand...
Click to collapse
I think you have to change in res/values/dimens.xml :
Code:
<dimen name="sketch_sticker_tool_height">200.0dip</dimen>
I tried to do that but I have problems with apktool
naheel azawy said:
I think you have to change in res/values/dimens.xml :
Code:
<dimen name="sketch_sticker_tool_height">200.0dip</dimen>
I tried to do that but I have problems with apktool
Click to expand...
Click to collapse
hmm i didnt see that dimen :-/
thnx
Edit: i believe that is only for the sticker one
cool
i will put on my mango right now!

Categories

Resources