[How-To] Compile Framework on last Sony ICS update - Sony Xperia P, U, Sola, Go

The latest firmware update from Sony on the ICS Xperia 2012 brought improvements except one unpleasant moment: bootlup after editing framework-res.apk
This method only works. It told me the user with 4pda.ru sk0t. And for that, he thanks a lot.
So, the tutorial will be small. I use ApkTools150.
1. Decompiled framework as usual, using files from your firmware.
2. Make the necessary changes.
3. Now go to the folder with the decompiled framework and open the file in a text editor apktool.iml
4. Remove these lines and save.
Code:
usesFramework:
ids:
- 2
5. Go to framework-res\res\values\ and open styles.xml. Locate and delete the highlighted in red in the two lines:
<item name="windowBackground">@com.sonyericsson.uxp:drawable/semc_bg</item>
Click to expand...
Click to collapse
<item name="windowBackground">@com.sonyericsson.uxp:drawable/semc_bg_bright</item>
Click to expand...
Click to collapse
6. Compile you framework-res.apk
After installing the framework you will experience the background application will no longer be subject to change depending on the theme. I have the problem solved by adding transparency: [Sola\Go\U?\P?] Reboot&Transparent mode [Test] But this compromise.
If someone has a different way, without errors, please let me know )
Do not say thanks, press thanks:angel:

If i do not want the transperency effect will it still work? I am fine with not being able to change the background.

kapil4wm said:
If i do not want the transperency effect will it still work? I am fine with not being able to change the background.
Click to expand...
Click to collapse
Transparency is not an end, and correction of errors. If left as it is your background in applications is static, background image is stored in the framework-res\res\drawable-nodpi\semc_bg.png and semc_bg_bright.png.
I repeat, this is a compromise.

Thank u this will definitely help!
Sent from my ST25i using xda premium

From SemcGenericUxpRes.apk extract the two pngs and copy it to drawables.hdpi of framework-res.apk. Now compile the framework-res.
It should solve the problem.
Sent from my Xperia ION on Cm9 using XDA Premium app.

ganeshbiyer said:
From SemcGenericUxpRes.apk extract the two pngs and copy it to drawables.hdpi of framework-res.apk. Now compile the framework-res.
It should solve the problem.
Click to expand...
Click to collapse
And the theme chooser work? is not it?

Spaun_Studio said:
And the theme chooser work? is not it?
Click to expand...
Click to collapse
When I bring the applications to foreground after applying theme, the theme elements are applied to it too.
So Yes!
Good work mate.

ganeshbiyer said:
When I bring the applications to foreground after applying theme, the theme elements are applied to it too.
So Yes!
Good work mate.
Click to expand...
Click to collapse
It will not work.
1. If you do not delete the line about "com.sonyericsson.uxp" framework that will not compile \ work.
2. If they delete and copy two pictures of SemcGenericUxpRes.apk-then the background will be static, it will not change when you change themes. The background is taken from the framework, of those pictures, which we copied. Choosing a theme is not working 100%.

Spaun_Studio said:
It will not work.
1. If you do not delete the line about "com.sonyericsson.uxp" framework that will not compile \ work.
2. If they delete and copy two pictures of SemcGenericUxpRes.apk-then the background will be static, it will not change when you change themes. The background is taken from the framework, of those pictures, which we copied. Choosing a theme is not working 100%.
Click to expand...
Click to collapse
1. Lines Deleted as per your post.
2. Copied those two pngs into framwork-res. It compiled and is working.
Can you be more specific as to what did not work on the theme. May be I am missing something here. For me it seems to be Ok. May be I am not seeing what you see.

ganeshbiyer said:
Can you be more specific as to what did not work on the theme. May be I am missing something here. For me it seems to be Ok. May be I am not seeing what you see.
Click to expand...
Click to collapse
Please apply Emerald theme, go to settings and make a screenshot. Maybe you have this really works? ))
The problem occurs only when compiling a U \ Sola \ Go (fw. 1.10)

Spaun_Studio said:
Please apply Emerald theme, go to settings and make a screenshot. Maybe you have this really works? ))
The problem occurs only when compiling a U \ Sola \ Go (fw. 1.10)
Click to expand...
Click to collapse
Screen Shot:
{
"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"
}

ganeshbiyer said:
Screen Shot:
Click to expand...
Click to collapse
This is exactly what I'm talking about background applications does not change. On the green theme should be a green background.

Spaun_Studio said:
This is exactly what I'm talking about background applications does not change. On the green theme should be a green background.
Click to expand...
Click to collapse
Got the point now.

ganeshbiyer said:
1. Lines Deleted as per your post.
2. Copied those two pngs into framwork-res. It compiled and is working.
Can you be more specific as to what did not work on the theme. May be I am missing something here. For me it seems to be Ok. May be I am not seeing what you see.
Click to expand...
Click to collapse
Ok i thought i'll do a little more,i moved the two pngs with an additional "_uxp" tag to their name and followed the changes in the file as per post,
Also i declared the 2png files in public.xml
Now next thing in my mind would be decompiling SemcGenericUxpRes.apk
Changing the drawable smali which finds this variable and declare it as part of framework-res.apk
now the question is what is the framework-res.apk file according to system?

Any solution to keep theme background?

Now this is an interesting workaround. Very clever.
However..
With Sony's ICS roms, you need to install SemcGenericUxpRes.apk with apktool before you decompile framework-res.apk. This will give the program all the resources it needs to fully decompile the apk.
Otherwise you will have a partially decompiled apk that will always give you a bootloop unless you do something like the op.
apktool if SemcGenericUxpRes.apk...give it a try!
Sent from my SK17i using xda premium

Ticklefish said:
Now this is an interesting workaround. Very clever.
However..
With Sony's ICS roms, you need to install SemcGenericUxpRes.apk with apktool before you decompile framework-res.apk. This will give the program all the resources it needs to fully decompile the apk.
Otherwise you will have a partially decompiled apk that will always give you a bootloop unless you do something like the op.
apktool if SemcGenericUxpRes.apk...give it a try!
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
of course , i try with frameworl-res.apk & semcgenericuxpres.apk

XDA.AGM said:
of course , i try with frameworl-res.apk & semcgenericuxpres.apk
Click to expand...
Click to collapse
And what happened?

Ticklefish said:
And what happened?
Click to expand...
Click to collapse
boot loop......only work's with methond on the first post
but losing custom themed background
this will be difficult

XDA.AGM said:
boot loop......only work's with methond on the first post
but losing custom themed background
this will be difficult
Click to expand...
Click to collapse
Curious. Can you share your SemcGenericUxpRes.apk and framework-res.apk please? I'll give it a try on my setup and see what happens.
Sent from my SK17i using xda premium
---------- Post added at 12:46 AM ---------- Previous post was at 12:37 AM ----------
XDA.AGM said:
boot loop......only work's with methond on the first post
but losing custom themed background
this will be difficult
Click to expand...
Click to collapse
Curious. Can you share your SemcGenericUxpRes.apk and framework-res.apk please? I'll give it a try on my setup and see what happens.
Sent from my SK17i using xda premium

Related

[Theme]Arconium ics Statusbar theme

I made a theme for Arconium ics. I enjoy the rom but i never liked the stock statusbar, So i decided to make one for other people to enjoy.
Credits are doomed151 for making the rom,krabappel2548 for the statusbar icons i got from his rom.
I made a new version with quickpannel settings because v2 had some problems and i wasnt able to theme that one. This new one i honestly cant find it on xda anymore. I wish to give credit to the creator but i am unable to give credit where is due. When i find the creator i will put his name and a link for him.
-Directions-
Download whatever version you want.
Transfer the version you want to your phone.
Use root explorer or similar to move the version to System
Set the permisions so its Rw/R/R
Some of the files might be named like v3SystemUI.apk or v3SystemUI.apk.zip
Rename the file so its SystemUI.apk and move it to the apps folder and replace the previous one.
Reboot phone and done
V1remix
{
"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"
}
https://www.box.com/s/fdddadd2e4d5e8a2fae0
V2remix
https://www.box.com/s/c404f4531c956214e0bb
V3remix
https://www.box.com/s/bb8d24ac9bbb4eec4e59
V4remix
https://www.box.com/s/e5c7f35e6895940d86cb
Signal ash color problem should be fixed. And also updated files to have new icons color to match
I have some more ideas and will be also making these for gingerbread as well
Next Update will have more battery ideas and different color also i will be updating these and taking requests after i get the bugs out
Look great Thanks for hard work
If you can add a battery percentage it would be the perfect Statusbar.
Nice Work
I do not work properly, the screen is rotated 90 degrees and there is no way to return to its original position.
Request help how to modify statusbar toggles colour.
Hi iceofhavik,
I have decompiled systemui.apk for the ICS fw .562 version in apktools folder which has notiifcation toggles in is.
Obviously I am not an expert but I will give a go even it out of my league.
Can you help me and tell where I can open the files that can modify the colours where turn the toggle icons to neon blue or neon green please?
What are the names of files and in which folder please?
Regards,
Darkfunnyguy.
mohoram said:
I do not work properly, the screen is rotated 90 degrees and there is no way to return to its original position.
Click to expand...
Click to collapse
Which one did you download and which arc do you have? And also which arconium are you using
Darkfunnyguy said:
Hi iceofhavik,
I have decompiled systemui.apk for the ICS fw .562 version in apktools folder which has notiifcation toggles in is.
Obviously I am not an expert but I will give a go even it out of my league.
Can you help me and tell where I can open the files that can modify the colours where turn the toggle icons to neon blue or neon green please?
What are the names of files and in which folder please?
Regards,
Darkfunnyguy.
Click to expand...
Click to collapse
Actually dark that is what I am trying to figure out as well. When I figure it out I will send you a pm.
dylanicb said:
Look great Thanks for hard work
Click to expand...
Click to collapse
Thanks!
LiquidRobotics said:
If you can add a battery percentage it would be the perfect Statusbar.
Nice Work
Click to expand...
Click to collapse
That is coming up soon as well. Very soon
Sent from my Arc using XDA
doomkernel use, arcanonium v2.2 and I downloaded SystemUIV2
mohoram said:
doomkernel use, arcanonium v2.2 and I downloaded SystemUIV2
Click to expand...
Click to collapse
Alright I will look at it again and let you know what I find
Sent from my Arc using XDA
thanks for your work!
in next update I hope you can add battery percentage
thanks, now run ok
A request, could you add a double icon for recent apps opened beside the settings icon please would be greatly appreciated.
Regards,
Darkfunnyguy.
i've just about to ask someone to make theme like this, and u made this thread, oh my! you're the man my friend!
thanks so much xD
maybe added %mod zip add on xD
Xperia Arc S
i have installed ur theme.... working good.... my problem is ........ when my Wifi remains off..... Network signal color gets Ash ........ but when i turns on my Wifi..... the network signal gets the ice bule color....... How can i make the network signal color ice blue for all the time??????
I just tried to install the SystemUIV2.apk and it said: app not installed. What am I doing wrong? I'm running Arconium ICS 2.2. The settings apk installed no problems.
**EDIT**
I just copied both files to system/app. I'm guessing I need to reboot to make it work?
Sent from Noah's Arc using Tapatalk 2.0.2
Hello! Is there a way to get it on ICS 0.562?
Can you make this theme for GB also?
Sent from my LT18i using xda premium
If you want a good ICS based ROM here's one that's easy to install without using a pc.
http://forum.xda-developers.com/showthread.php?t=1515148
Got this figured out +10 on the Quick Panel.
Sent from Noah's Arc using Tapatalk 2.0.2
franyo said:
Hello! Is there a way to get it on ICS 0.562?
Click to expand...
Click to collapse
I use it to on ICS Xperia Neo V and it works
---------- Post added at 03:33 PM ---------- Previous post was at 03:29 PM ----------
yeah how to fix that the signal stays blue and not only with wifi ??
i have the V2 on my Neo V and its working good only the blue signal must be blue not Ash
franyo said:
Hello! Is there a way to get it on ICS 0.562?
Click to expand...
Click to collapse
You have to use a file manager app to move or copy and paste the files to the correct folder but you must have root access.
I used the free version of Root Browser to copy the files from my download folder on my sd card then went to the root of my phone and looked for a folder that is named System. After going into that folder there's another one named app that's where you paste them in but you have to delete a file named SystemUI.apk otherwise when you reboot the quick panel won't work. It will after the first reboot but any other time after that it will stop working and the file I mentioned will take over. I made a backup of SystemUI.apk and put it in my download folder just in case something went wrong. So far everything has been good and its working 100%. I hope this helps you and isn't too confusing.
Sent from Noah's Arc using Tapatalk 2.0.2
AndroidWins said:
You have to use a file manager app to move or copy and paste the files to the correct folder but you must have root access.
I used the free version of Root Browser to copy the files from my download folder on my sd card then went to the root of my phone and looked for a folder that is named System. After going into that folder there's another one named app that's where you paste them in but you have to delete a file named SystemUI.apk otherwise when you reboot the quick panel won't work. It will after the first reboot but any other time after that it will stop working and the file I mentioned will take over. I made a backup of SystemUI.apk and put it in my download folder just in case something went wrong. So far everything has been good and its working 100%. I hope this helps you and isn't too confusing.
Sent from Noah's Arc using Tapatalk 2.0.2
Click to expand...
Click to collapse
thank you very much! but I tried and I've gone to the bar notifications, now try again!

[CM7.2][HOW TO] [GUIDE] Add ICS/Jellybean like Recent Apps

ORIGINAL POST BY
agmtpd
agmtpd said:
HOW TO
Add ICS/Jellybean look alike task switcher​
Removed previous update due to some problem in MOD-without-buttom.zip :- please use the new one
and for
[UPDATE] 18 aug- - MOD-without button.zip: without task manager button [fixed[
TO USE THIS MOD ON OTHER DEVICES GO TO THIS POST
and dont forget my name when writing Credits part....
Tools Required:
1. APKTOOL:: for decompiling/compiling
(u can use any decompiler as long as it compiles without any error)
2. JAVA runtime environment-- jre installed on windows
3. 7 ZIP
4. WinRAR
5. MOD.ZIP or MOD without button.zip (attached below)
MOD.zip includes "task manager" button at the bottom
MOD without button.zip obviously doesnt...
Procedure:
Setting up apktool
1. Unzip downloaded APKTOOL.zip to c:/apk (or any other convenient location)
2. copy ur rom's framework-res.apk to c:/apk/ and rename it as framework-stock.apk (dont delete this file neither modify it at any point)
3.open cmd and navigate to c:/apk/ and type command as
Code:
C:\apk>apktool if framework-stock.apk
Now you are all set to decompile framework-res.apk
DECOMPILING framework-res.apk
In cmd type
Code:
C:\apk>apktool d framework-res.apk frame
this will put all decompiled files in a folder named "frame"
EDITING decompiled framework-res.apk
1. open "c:/apk/frame/res" in explorer
2. extract all folders in the MOD.zip file to "c:/apk/frame/res/" and replace the files if asked
RECOMPILING framework-res.apk
1. In cmd type
Code:
C:\apk>apktool b frame framework.apk
if all goes well it will create an UNSIGNED framework.apk (u cant push it right now)
SIGNING framework-res.apk
1. open c:/apk/framework-res.apk in 7-ZIP not Winrar
2. open c:/apk/framework.apk in WINRAR and drag all the contents to the 7-zip window
and click "yes" in dialog when asked to copy files into framework-res.zip
DONE!!​
c:/apk/framework-res.apk is the signed apk which you can push to system/framework/ using any method adb, CWM
or u can even use Miui file explorer to push framework-res.apk without any bootloops.....
if u get stuck in bootloop just flash ur stock framework-res.apk and then report here....
DO give proper credits if you are using this in your rom....
go here to see if it has been added to ur rom already or not....
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"
}
do not post things like "not working" or "help please"...they won't help anyone but will make the thread messy....directly post your problem supported with screenshot or logcat....
NOTE: if anyone having an all set working environment to compile gingerbread or cm7 from source
and willing to help me to implement swipe to close, please PM me....
Press THANKS if this guide was helpful.....
Click to expand...
Click to collapse
PLEASE THANK agmtpd if this post helps you.
_______________________________________________________________________
OR you can install this task killer. ICS Task Manager from market that is "ALMOST" look like a recent task/apps of ICS/JB.
This is not yet confirmed to be working for I can't do it on my own device Xperia X10 minipro running GingerDXv029 on top of nAa-14.
It is because of having 3 recent_apps_dialog.xml namely:
recent_apps_dialog.xml
recent_apps_dialog_12.xml
recent_apps_dialog_15.xml
this traits from GDX framework is same on ARCmini NXT6 and MiniCM7-2.2.1
IF ANYONE can do this, PLEASE provide a tutorial. It will be much appreciated.
Good... So is it for GB? Thanks
Sent from my E10i using xda app-developers app
pongnamu said:
Good... So is it for GB? Thanks
Sent from my E10i using xda app-developers app
Click to expand...
Click to collapse
It is for GB to port ICS/JB recent apps. But it doesn't have the slide to kill functions and Kill all functions. so I put an app that is almost same with ICS/JB recent apps launcher.
i think this one work for any rom :
http://forum.xda-developers.com/showthread.php?t=2053609
it has swipe to kill,screenshots and many other functions
Hitman008 said:
i think this one work for any rom :
http://forum.xda-developers.com/showthread.php?t=2053609
it has swipe to kill,screenshots and many other functions
Click to expand...
Click to collapse
It doesn't look good to our small devices. It's devs doesn't include LDPI sources on it's apps. SO OBVIOUSLY it's too big. the screen image of the app almost 3/4 of our screen. It doesn't look good. tried it. However if you want an app. I include the link of the Ics Task Manager. It's available on free and paid versions. and It looks good on small devices.
zvdelossantos said:
It doesn't look good to our small devices. It's devs doesn't include LDPI sources on it's apps. SO OBVIOUSLY it's too big. the screen image of the app almost 3/4 of our screen. It doesn't look good. tried it. However if you want an app. I include the link of the Ics Task Manager. It's available on free and paid versions. and It looks good on small devices.
Click to expand...
Click to collapse
We have added all screen Sizes for any phone (except for tablets,we will add it on the next update)
You can get V1.0 from here
if you have any problem, please feel free to contact us
hmmm i never signed any of my framework-res.apk and never copied det compiled apk into original apk for any my XPERIA S Advanced Lockscreen
Emperor.dk said:
hmmm i never signed any of my framework-res.apk and never copied det compiled apk into original apk for any my XPERIA S Advanced Lockscreen
Click to expand...
Click to collapse
what do you mean,man?
.. Does this tutorial work for gb?
renzobm said:
.. Does this tutorial work for gb?
Click to expand...
Click to collapse
yeees! it's only for gb!!
Where I unload the mod.zip?
renzobm said:
Where I unload the mod.zip?
Click to expand...
Click to collapse
there is not a mod.zip yet!
I wait could raise it to try and to comment on it...
renzobm said:
I wait could raise it to try and to comment on it...
Click to expand...
Click to collapse
can @zenesis (or anyone here) do a flashable zip of this on cwm to make it simple to newbies or noobs?
Help
Is this only for like cm7, my stock gingerbread rom doesnt have zzz files, also task manager like sense/touchwiz roms is not there by default
trying it right now,,
Sorry guys I don't think I can do it because as said from the OP
This is not yet confirmed to be working for I can't do it on my own device Xperia X10 minipro running GingerDXv029 on top of nAa-14.
zenesis said:
This is not yet confirmed to be working for I can't do it on my own device Xperia X10 minipro running GingerDXv029 on top of nAa-14.
It is because of having 3 recent_apps_dialog.xml namely:
recent_apps_dialog.xml
recent_apps_dialog_12.xml
recent_apps_dialog_15.xml
this traits from GDX framework is same on ARCmini NXT6 and MiniCM7-2.2.1
IF ANYONE can do this, PLEASE provide a tutorial. It will be much appreciated.
Click to expand...
Click to collapse
and lastly I moved to desire s dev section and I already leave this x10mp forums. since my x10mp is now stable on it's state, but it has some hardware problems like the sound buttons and the sliding keyboard flex. Sorry guys, I hope Emperor.dk can provide the solution for you. He's my theming idol here =')
how do i make back to as it was on my galaxy y?? thanks for any help..
zenesis said:
He's my theming idol here =')
Click to expand...
Click to collapse
Can you upload the mod.zip file please ?
its not attached
thanks

[9/5/13] [.587] Xperian Settings v1.4 MDPI

IF You Have Xperia Sola/P/U Use This Mod
must be working in stock/based ROM
This Mod Is Originally Based On NXT Settings By @Pranav Pandey
yamin8000 said:
i found that setup guide in settings isn't working and useless
i made some change on it and change it to CPU control.
installation for old versions
plz make backup before do anything
download xperianvX_Settings.apk and it.sineo.android.noFrillsCPU-1.apk from attachments
rename xperianvX_Settings.apk to Settings.apk and push to /system/app set permission to rw-r--r-- and push it.sineo.android.noFrillsCPU-1.apk and set permission to rw-r--r-- (if you don't know what is this permission check screenshot in attachments)
reboot and enjoy.
if you had any problem try wiping cache and dalvik cache
screenshots in attachments
Click to expand...
Click to collapse
Screenshots From 1.3
{
"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"
}
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Installation For v1.3 And Upper
Extract Archive And Copy APKs To /system/app And Change Permissions
Or Simply Use This Flashable Zip By Pranav Pandey (Fixed For All ROMs)
For Getting Work Status Bar Preferences Use This From serajr
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Note:This Settings Support/Has Following Options:
This Mod Change Your Old Stock Settings Style To NXT Style
Kill App Via Long Press Back Key
Media Server Settings
Location Based Wifi
Clear Phase
Bravia Engine 2
LockScreen Settings
Wifi Direct
NFC
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Change logs
1:First Release
1.1:Minor Change
1.2:Status Bar Preferences Added (For serajr systemui)
1.21:Layout Bug Fix In APPS Section
1.3:Music Light Effects Added (Recommended For LWW)
1.4:Changed Xperian To Advanced
Hided Dock Setting Because It Was Useless
Some Other Minor Changes
Bugs In 1.4 : Display Section Force Close
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
a tutorial from sandy for adding new option in settings.apk
Thanks Pranav Pandey For Original Settings And His Helps
And Serajr For His Beautiful Status Bar
hit thanks if worked
Sry For My Bad English
Re: [Only For xNXT ROM] New Settings With CPU Control
How to Change It? I Mean do you have any tutorial how to change or add menu in setting? Like you remove the setup guide and add the cpu control
Re: [Only For xNXT ROM] New Settings With CPU Control
Singgih4050 said:
How to Change It? I Mean do you have any tutorial how to change or add menu in setting? Like you remove the setup guide and add the cpu control
Click to expand...
Click to collapse
Its simple...if u know how to decompile..
Decompile the settings.apk
Goto res/xml/settings_header.xml
And remove the cpu control string..
Recompile.
Sent from my Xperia Mini Pro using XDA Premium HD app
Re: [Only For xNXT ROM] New Settings With CPU Control
sandy7 said:
Its simple...if u know how to decompile..
Decompile the settings.apk
Goto res/xml/settings_header.xml
And remove the cpu control string..
Recompile.
Sent from my Xperia Mini Pro using XDA Premium HD app
Click to expand...
Click to collapse
I can decompile apps and recompile it again, Thanks sandy for your reply will try tommorow for experiments
Re: [Only For xNXT ROM] New Settings With CPU Control
Singgih4050 said:
I can decompile apps and recompile it again, Thanks sandy for your reply will try tommorow for experiments
Click to expand...
Click to collapse
Iam on phone now....if u want even more in detail ask me ok..
I think I should add this in my tut thread.
Sent from my Xperia Mini Pro using XDA Premium HD app
Re: [Only For xNXT ROM] New Settings With CPU Control
sandy7 said:
Iam on phone now....if u want even more in detail ask me ok..
I think I should add this in my tut thread.
Sent from my Xperia Mini Pro using XDA Premium HD app
Click to expand...
Click to collapse
If i want to add other function like an SMS counter etc, What should i do?
Please add this to your tutorial, It will be a great help!
Singgih4050 said:
If i want to add other function like an SMS counter etc, What should i do?
Please add this to your tutorial, It will be a great help!
Click to expand...
Click to collapse
+1
yamin8000 said:
+1
Click to expand...
Click to collapse
well i ant say no to u guys...will add ASAP
sandy7 said:
Its simple...if u know how to decompile..
Decompile the settings.apk
Goto res/xml/settings_header.xml
And remove the cpu control string..
Recompile.
Sent from my Xperia Mini Pro using XDA Premium HD app
Click to expand...
Click to collapse
Excuse me if I want to transfer those settings to other settings
I just have to add these lines
or will I have to make other changes
avirale123 said:
Excuse me if I want to transfer those settings to other settings
I just have to add these lines
or will I have to make other changes
Click to expand...
Click to collapse
u need to change the lines in 3 xml's
decompile bot the settings and compare the strings in these xml's
res/values/strings.xml
res/values/public.xml
res/xml/settings_header.xml
sandy7 said:
u need to change the lines in 3 xml's
decompile bot the settings and compare the strings in these xml's
res/values/strings.xml
res/values/public.xml
res/xml/settings_header.xml
Click to expand...
Click to collapse
i do not understand what is in public.xml?
can you explain me about that hexs?
i know and understand what is hex but do not know what they mean in public.xml.
yamin8000 said:
i do not understand what is in public.xml?
can you explain me about that hexs?
i know and understand what is hex but do not know what they mean in public.xml.
Click to expand...
Click to collapse
public xml where u give ids in hex codes..
hex codes run in a continuous form 0-9 and a-f
for example-if u adding a string in public.xml and the last line hex code is 0x7f0b0630 so the next hex codes will be
0x7f0b0631
0x7f0b0632
0x7f0b0633
0x7f0b0634
0x7f0b0635
0x7f0b0636
0x7f0b0637
0x7f0b0638
0x7f0b0639
0x7f0b063a
0x7f0b063b
0x7f0b063c
0x7f0b063d
0x7f0b063e
0x7f0b063f
0x7f0b0640
0x7f0b0641
and so on
Re: [Only For xNXT ROM] New Settings With CPU Control-plz someone test it in stock ro
And be sure to add png in drawable folder. For mdpi, just put it in drawable-mdpi folder.
Feel free to hit
if this post help you anyway.
Sent from LT22i via Tapatalk.
ZN6 said:
And be sure to add png in drawable folder. For mdpi, just put it in drawable-mdpi folder.
Feel free to hit
if this post help you anyway.
Sent from LT22i via Tapatalk.
Click to expand...
Click to collapse
oops forgot to mention it thanks...
sandy7 said:
u need to change the lines in 3 xml's
decompile bot the settings and compare the strings in these xml's
res/values/strings.xml
res/values/public.xml
res/xml/settings_header.xml
Click to expand...
Click to collapse
First thank you very much for answering
I have to buy it look one by one each line
or is there an easier way
because many lines
avirale123 said:
First thank you very much for answering
I have to buy it look one by one each line
or is there an easier way
because many lines
Click to expand...
Click to collapse
which options u need in ur settings?
EDIT: apologizes OP bcz the topics is going some where else in this thread.
sandy7 said:
which options u need in ur settings?
EDIT: apologizes OP bcz the topics is going some where else in this thread.
Click to expand...
Click to collapse
PanelSettings
CPUControl
Re: [Only For xNXT ROM] New Settings With CPU Control-plz someone test it in stock ro
avirale123 said:
PanelSettings
CPUControl
Click to expand...
Click to collapse
Iam on phone now...ill get back to with the tut in morning.
Sent from my SK17i using XDA Premium HD app
help
[*] "F:\Documents and Settings\YS\My Documents\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\cpu_Settings"
recompiling "F:\Documents and Settings\YS\My Documents\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\cpu_Settings"...
I: Copying classes.dex file...
I: Building resources...
I: Building apk file...
The system cannot find the drive specified.
Re: [Only For xNXT ROM] New Settings With CPU Control-plz someone test it in stock ro
yamin8000 said:
help
[*] "F:\Documents and Settings\YS\My Documents\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\cpu_Settings"
recompiling "F:\Documents and Settings\YS\My Documents\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\cpu_Settings"...
I: Copying classes.dex file...
I: Building resources...
I: Building apk file...
The system cannot find the drive specified.
Click to expand...
Click to collapse
All is fine..I dont see any errors in it..
Sent from my SK17i using XDA Premium HD app

[TUTORIAL]Build your own flashable various VRTheme Mods?For Xperia 2011 MDPI[ANY ROM]

Disclaimer
Code:
You are using this tutorial by yourself and i'm in no way responsible if your mobile is damaged due to it. I will help you in best way possible to get you out of the worse situation but I can't guarantee anybody. ThankYou!
RAY Users GO Here!
Click to expand...
Click to collapse
How to build apps icon pack:
Things you require:
-Base VRTheme-Here!(Don't worry there are no trojans)
-Some icons-Here are my AOSP icons.
-Required apps from the ROM which you want to modify.
-Notepad++ for changing updater-script.
-Any resizing tool.
-A brain to avoid mistakes and bother me with stupid questions.
-Kindness to press the THANKS button below.
Click to expand...
Click to collapse
Steps:
1. Download all the things required.
2. Open your ROM and copy all the apps and move them to a seperate folder. Here we will take only 3 apps-Browser, Messaging and Calculator.
{
"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"
}
3. Now extract these apps using 7zip or winrar.
4. Now open the app folder, go to res and find the location where the icon of the app is present. These are generally present in mipmap-mdpi or drawable-mdpi. For e.g. in Browser app it's present in mipmap-mdpi named as ic_launcher_browser.png:
5. Now extract the VRTheme base folder and go to vrtheme->system->app and make a new folder their with named as appname.apk(Here appname refers to the name of the app). For e.g. Browser.apk in my case.
6. Now make res folder in it. And under res folder make another folder which contains app icon. For e.g res->mipmap-mdpi in my case:
7. Now place your modified icon in it and rename it to the original icon name. For e.g. ic_launcher_browser.png in my case. And resize it to 48X48. If you want to resize it by percent then decrese hdpi icon size by 44% and xhdpi by 66.7%.
8. Do the same for other apps. In my case calculator and messaging.
9. Now give this icon pack your name. Go to META-INF->com->google->android and open updater-script with notepad++ and in second line replace alokbina with your name. You can practically change almost everything under ui_print in updater-script but remember that it should be in the format ui_print("ABCD"); . Here replace ABCD with whatever you like.
10. Now you will be having 4 folders- data, META-INF, system, vrtheme and an image named as preview. Zip all these and rename it whatever you like and flash it with CWM and you're done! Enjoy your own icon pack Feel free to THANK me :laugh:
Click to expand...
Click to collapse
Important Tip:-Note the size of the original icon and modify the other icon accordingly or else you may not get any icon or smaller icon. For e.g. sometimes the icon present in the app is of size 96X96 though it is mdpi app. But still change the other icon size also to 96X96 to get best result.
Click to expand...
Click to collapse
Credits:
Sandy7 who taught me all this(sorry forgot to mention earlier ). Please give him a THANKS too below
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Tool:
Mnishamk has built a nice tool to ease this process. See here.
Click to expand...
Click to collapse
[/quote]
Framework and SystemUI flasher TUT.
How to build your framework mods VRTheme:
Things you require:
-Base VRTheme-Here!(Don't worry there are no trojans)
-Your modded icons-Here are my GB styled zoom icons.
-Required framework-res.apk from the ROM which you want to modify.(From /system/framework)
-Notepad++ for changing updater-script.
-Any good photo editing tool.
-A brain to avoid mistakes and bother me with stupid questions.
-Kindness to press the THANKS button below.
Click to expand...
Click to collapse
Steps:
1. Download all the things required.
2. Open your ROM and copy framework-res.apk to another folder.
3. Now extract it using 7zip or winrar.
4. Now open the extracted folder and find the icons you want to replace. Generally present in res->drawable-mdpi:
5. Now extract the VRTheme base folder and go to vrtheme->system->framework and make a new folder there with named as framework-res.apk.
6. Now make res folder in it. And under res folder make another folder which contains app icon. For e.g res->drawable-mdpi in my case:
7. Now place your modified icon in it and rename it to the original icon name. And resize it if needed. If you want to resize it by percent then decrease hdpi icon size by 44% and xhdpi by 66.7%.
8. Do the same for other things you want to modify .
9. Now give this icon pack your name. Go to META-INF->com->google->android and open updater-script with notepad++ and in second line replace alokbina with your name. You can practically change almost everything under ui_print in updater-script but remember that it should be in the format ui_print("ABCD"); . Here replace ABCD with whatever you like.
10. Now you will be having 4 folders- data, META-INF, system, vrtheme and an image named as preview. Zip all these and rename it whatever you like and flash it with CWM and you're done! Enjoy your own icon pack Feel free to THANK me :laugh:
Click to expand...
Click to collapse
hmmm credits ...
i was the one thought u
Re: [GUIDE]How to build you own flashable VRTheme icon pack?For Xperia 2011 MDPI[ANY
sandy7 said:
hmmm credits ...
i was the one thought u
Click to expand...
Click to collapse
Lol I was about to add but forgot when after making the tut added now
Press THANKS if I helped,
Best Regards,
AJ
Re: [GUIDE]Build your own flashable various VRTheme Mods?For Xperia 2011 MDPI[ANY ROM
Finally, i found this tutorial..
Ready to making own mod..
Sent from my ST15i using Tapatalk 2
Re: [GUIDE]Build your own flashable various VRTheme Mods?For Xperia 2011 MDPI[ANY ROM
c00lone said:
Finally, i found this tutorial..
Ready to making own mod..
Sent from my ST15i using Tapatalk 2
Click to expand...
Click to collapse
Best of luck let me know if ur successful
Press THANKS if I helped,
Best Regards,
AJ
Framework-res.apk VRTheme tut also added.
Enjoy :good:
Best Regards,
AJ
Re: [GUIDE]Build your own flashable various VRTheme Mods?For Xperia 2011 MDPI[ANY ROM
danishdhanshe said:
Any way of doing this without a comp
M restricted from touching my comp till exams
However this seems fun!
Sent from my WT19i
---------- Post added at 11:41 PM ---------- Previous post was at 11:37 PM ----------
And how do I remove the 5 minutes restriction on xda
I am not a spammer
However it's irritating to wait for 5 minutes to just ask for help or help others
N where do I post such questions?
Sent from my WT19i
Click to expand...
Click to collapse
I don't really think it is possible on mobile and if it is it will be way tøooooooooooooooo hard and lengthy....anyways if u want to release some mods just send me the required stuff I'll make it for u
Press THANKS if I helped,
Best Regards,
AJ
Dont miss the ICON FARM!
what if i take the png s from an miui rom and paste them into a stock based rom like real ics ?.. will it work?
Re: [GUIDE]Build your own flashable various VRTheme Mods?For Xperia 2011 MDPI[ANY ROM
galaxys3lover said:
what if i take the png s from an miui rom and paste them into a stock based rom like real ics ?.. will it work?
Click to expand...
Click to collapse
Yes ....just remember the dimensions remain the same and also the type of image
Press THANKS if I helped,
Best Regards,
AJ
Dont miss the ICON FARM!

Theming in Lollipop. Easier than ever

Great news to every modder here. QMG files in Lollipop are gone! Edited SystemUI and Framework-res and every resource are now PNGs as in Jelly Bean. Here is a test theme I made which I will post later:
LG G3 Statusbar:
{
"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"
}
I hope to see a more active forum now that edit System apks is much more easier than before.
Happy theming!
wow great news!
galaxynote2 said:
Great news to every modder here. QMG files in Lollipop are gone! Edited SystemUI and Framework-res and every resource is now PNG as in Jelly Bean. Here is a test theme I made which I will post later:
LG G3 Statusbar:
I hope to see a more active forum now that edit System apks is much more easier than before.
Happy theming!
Click to expand...
Click to collapse
if you can made a RED theme will be more than happy.
red and black system icons.
thanks in advance
jacktackle said:
if you can made a RED theme will be more than happy.
red and black system icons.
thanks in advance
Click to expand...
Click to collapse
I could, but the battery icon still remains unavailable to edit...
Xposed would do that flawlessly for sure!
Two projects in mind:
G3 Statusbar (Finished)
AOSP Lollipop Statusbar (looking for nice resources as a lot of them are blurry/resized)
Very great news! Thank you Samsung!
Gesendet mit Tapatalk
Powered by Android
galaxynote2 said:
I could, but the battery icon still remains unavailable to edit...
Xposed would do that flawlessly for sure!
Two projects in mind:
G3 Statusbar (Finished)
AOSP Lollipop Statusbar (looking for nice resources as a lot of them are blurry/resized)
Click to expand...
Click to collapse
There is a other thread with AOSP for kitkat.
Isn't there a converter?
Can we change the color of the background in menus from white to black?
galaxynote2 said:
Great news to every modder here. QMG files in Lollipop are gone! Edited SystemUI and Framework-res and every resource is now PNG as in Jelly Bean. Here is a test theme I made which I will post later:
LG G3 Statusbar:
I hope to see a more active forum now that edit System apks is much more easier than before.
Happy theming!
Click to expand...
Click to collapse
Give me a zip please. I like Samsung battery icon anyway.
TransformixS4 said:
There is a other thread with AOSP for kitkat.
Isn't there a converter?
Click to expand...
Click to collapse
Yep, but they're sighlty resized and the kitkat battery is a little bit taller than the LP one, meaning that the icons are not well aligned.
megatooth said:
Can we change the color of the background in menus from white to black?
Click to expand...
Click to collapse
We can change them since Kitkat. You just need to decompile the APK and edit styles.xml and set the original theme to the opposite:
Code:
@android:style/Theme.Material (dark version)
@android:style/Theme.Material.Light (light version)
TransformixS4 said:
Give me a zip please. I like Samsung battery icon anyway.
Click to expand...
Click to collapse
I will do some themes and start converting them to VR-Themes as the SystemUI weights 35mb while a VR-Theme doesn't go up to 1mb...
Does anyone know how to add more shortcuts like this picture? and add flashlight...
can teach , please?
View attachment 3164177
wifi
edit:sorry, two windows open..replied to the wrong one
galaxynote2 said:
I could, but the battery icon still remains unavailable to edit...
Click to expand...
Click to collapse
You need to edit the xml file to point to images and you're good to go.
Yep, it would be nice to change these horrible TW colour schemes, gonna have to read up how to do it. Anyone know of any guides to help?
False, Lollipop still have QMG files ... decompiled some apks to mod them and i saw that.
Sent from my SM-N910C
Is it possible to edit the turquoise color of the quick toggles etc?
slink_59 said:
False, Lollipop still have QMG files ... decompiled some apks to mod them and i saw that.
Sent from my SM-N910C
Click to expand...
Click to collapse
At least not in SystemUI and Framework which are the two fundamental apks to modify the entire System appareance.
Probably some apks still makes use of QMGs because they're directly ported (or copypasted, call them how you want) from Kitkat. But the core apps now have PNG resources.
The best way to know if an app have or not QMG files on it is downloading QMG2PNG tool made by Xperiacle and import the apk, if you have an error saying that the APK have no QMG files on it, then you're good to edit it!
iridaki said:
You need to edit the xml file to point to images and you're good to go.
Click to expand...
Click to collapse
Yep, I've seen that here in XDA, but I have problems recompiling the APK, it gives me a ton of errors in apktool and doesn't create the dist folder with the Apk inside. I will try to use another apktool if that's the problem..
styles.xml
Where can i find styles.xml file ?
I searched with root explorer and i didn't find it ... please help
You have to decompile the apk with e.g. APK Tool first. The styles.xml is located in res/values.
Indeed, really sad, that there are still qmg files. But framework and SystemUI are mostly free of them. Still better this than nothing. [emoji6]
Gesendet mit Tapatalk
Powered by Android
galaxynote2 said:
Great news to every modder here. QMG files in Lollipop are gone! Edited SystemUI and Framework-res and every resource are now PNGs as in Jelly Bean. Here is a test theme I made which I will post later:
LG G3 Statusbar:
I hope to see a more active forum now that edit System apks is much more easier than before.
Happy theming!
Click to expand...
Click to collapse
Awesome!
Does this concern the S5 too?
lingowistico said:
Awesome!
Does this concern the S5 too?
Click to expand...
Click to collapse
Same OS, same company, same build, should be the same! Download QMG2PNG tool (by Xperiacle) and import any S5 apk, if you have toast notification that says that there aren't QMG resources in the APK file, then it should be the same to your device.

Categories

Resources