Disabling lockscreen rotation - Sony Ericsson Xperia Neo, Pro

I recently installed the Xperia S lockscreen and the framework-res.apk from the Xperia Ice Cream Pureness build 11 and now my lockscreen is rotating and i want to disable that
Sent from my MT15i using xda premium

Yeah, I'd like to know that too.

geri268 said:
I recently installed the Xperia S lockscreen and the framework-res.apk from the Xperia Ice Cream Pureness build 11 and now my lockscreen is rotating and i want to disable that
Sent from my MT15i using xda premium
Click to expand...
Click to collapse
you need to edit your framework-res.apk for that...
You need to edit the /res/bools/xml
Search for following lines
Code:
<bool name="config_enableLockScreenRotation">true</bool>
<bool name="lockscreen_isPortrait">false</bool>
Change it to following:
Code:
<bool name="config_enableLockScreenRotation">[COLOR="Red"]false[/COLOR]</bool>
<bool name="lockscreen_isPortrait">[COLOR="red"]true[/COLOR]</bool>
ofcourse decompiling and recompiling is not needed to be mentioned.
or post your framework-res.apk here.. I will try to modify it...
Press thanks if this helps

Related

[TUT][GUIDE]How to mod framework-res.apk for ICS

Hi,
In this Guide i will show you how to add:
- Onscreenbuttons
- All Way Rotation
- Lockscreen Rotation
- CRT Off Animation
- No "Select-Input" when typing Pop-UP
- No Wake-Up of Screen when disconnecting from charger
For this you need of course a working APKTOOL.
Now get framework-res.apk and SemcGenericUxpRes.apk from here and put in C:\Android
Type:
apktool if C:\android\framework-res.apk
apktool if C:\android\SemcGenericUxpRes.apk
Now you can put the framework-res.apk from your phone in C:\ OR choose any framework-res.apk
Now Type:
apktool d C:\framework-res.apk C:\framework-res
and wait for the command to finish...
Now go to C:\framework-res and /res/values/bools.xml and open with Notepad++
Enable All-Rotation
Search
<bool name="config_allowAllRotations">false</bool>​Change to:
<bool name="config_allowAllRotations">true</bool>​
Enable CRT Off Animation
Search
<bool name="config_animateScreenLights">false</bool>​Change to:
<bool name="config_animateScreenLights">true</bool>​
Enable Onscreenbuttons
Search
<bool name="config_showNavigationBar">false</bool>​Change to:
<bool name="config_showNavigationBar">true</bool>​
Disable Input Switcher
Search
<bool name="show_ongoing_ime_switcher">true</bool>​Change to:
<bool name="show_ongoing_ime_switcher">false</bool>​
Disable Screen On when Disconnecting from Charger
Search
<bool name="config_unplugTurnsOnScreen">true</bool>​Change to:
<bool name="config_unplugTurnsOnScreen">false</bool>​
Lockscreen Rotation
Search
<bool name="config_enableLockScreenRotation">false</bool>
<bool name="lockscreen_isPortrait">true</bool>​Change to:
<bool name="config_enableLockScreenRotation">true</bool>
<bool name="lockscreen_isPortrait">false</bool>​
Well, thats it so far, i will add more stuff in the future...
Please hit THANKS if this is usefull as I do also on your Posts. Thanks!
Nice. But How can I change the animations? :good:
How to recompile the framework? I followed the instructions here but I got some errors in recompiling. Thanks buddy!
silverfvck said:
How to recompile the framework? I followed the instructions here but I got some errors in recompiling. Thanks buddy!
Click to expand...
Click to collapse
Did u install all the framework?
Please upload screenshot, or I can't help you... There are many possible reasons for an error, but w/o any information I can't help
jader13254 said:
Did u install all the framework?
Please upload screenshot, or I can't help you... There are many possible reasons for an error, but w/o any information I can't help
Click to expand...
Click to collapse
Yes, I installed all the framework.
Attachment below is the error I got in re-compiling.
wow ,thanks a lot , i was searching for it.
silverfvck said:
Yes, I installed all the framework.
Attachment below is the error I got in re-compiling.
Click to expand...
Click to collapse
same to me, everything is installed but cant recompile after edit the string. :/
thanks!

xperia 2012 theme interface for 2011 xperias

can any one help me how to mod framework to modify 2012 themes system to 2011 xperias?
Mm just resize every img in framework to mdpi size..
Decompile with 7zip for img editing or if you have knowledge bout apktool & apkmanager better then
Sent from my WT19i using xda premium
well ill try
thanx

[MOD for P][VRTheme][ICS]Smaller Onscreen Button

Here is a little tutorial on how to get smaller onscreen navigation buttons... i was formely using On Screen Button Enabler App by Soheil_rf but tha buttons re too big for my liking so i explore here on xda & get solution.
Tools Needed:-
- Framework-res.apk from yur ROM
- Notepad++
- Apktool but yhu can also use ApkManager
Steps:::::::::::::::::::::::::::::
1. Copy yur framework-res.apk to Apktool folder
2. Install yur framework-res.apk for de/recompiling....
Code:
apktool if framework-res.apk
3. Decompile tha apk
4. Goto folder framework-res/res/values, Open bools.xml with Notepad++ & edit den save; change from false to true
Code:
<bool name="config_showNavigationBar">true</bool>
5. Goto folder framework-res/res/values, Open dimens.xml with Notepad++ & edit den save; i change tha Height & Width values
Code:
<dimen name="navigation_bar_height">35.0dip</dimen>
<dimen name="navigation_bar_width">32.0dip</dimen>
6. Recompile tha edited decompiled framework-res.apk
7. Voila & Flash.......:highfive::highfive::highfive:
Update:::::::::::
VRTheme mod added... just flash & enjoy, no need for editing!!! it should work for all Xperia P CM9/STOCK ROMs.
- On Screen Button (OSB)
- Auto-Rotation for Lockscreen
- Navigation bar pngs for SystemUI incase its not present in yur SystemUI....
Optional;
* check yur SystemUI.apk for tha files in Nav_bar.zip, if present den yhu dnt need it but if not copy all tha pngs to your SystemUI.apk [res/drawable-hdpi folder]
* i attach a flashable zip for yhu guys...... hope yhu guys dnt mind!:silly:
Hope tha tutorial is helpful......
Thanks:-
Evilsto
Abhinav2
XDA
Me
How to Enable Lockscreen Rotation
Additional.....
Steps:::::::::::::::::::::::::::::
1. Copy yur framework-res.apk to Apktool folder
2. Install yur framework-res.apk for de/recompiling....
Code:
apktool if framework-res.apk
3. Decompile tha apk
4. Goto folder framework-res/res/values, Open bools.xml with Notepad++ & edit den save; change from false to true
Code:
<bool name="config_enableLockScreenRotation">true</bool>
change from true to false
Code:
<bool name="lockscreen_isPortrait">false</bool>
5. Recompile tha edited decompiled framework-res.apk
6. Voila & Flash.......:highfive::highfive::highfive:
Thanks:-
Sandy
Me
thank you very much
Mtakween said:
thank you very much
Click to expand...
Click to collapse
thanks a ton buddy.........
Good work man :good:
Keep going
Best Regards,
AJ
alokbina is now Abhinav2
Abhinav2 said:
Good work man :good:
Keep going
Best Regards,
AJ
alokbina is now Abhinav2
Click to expand...
Click to collapse
thanks for helping & posting motivational comments!
Godbless...:highfive::good:
Just a correction....Well you included the bools.xml and dimens.xml within the vrTheme but not all roms will have same bools.xml and dimens.xml which may conflict with their framework...so just leave the vrTheme empty with the correct file structure and tell them how to add bools.xml and dimens.xml in it
Best Regards,
AJ
Abhinav2 said:
Just a correction....Well you included the bools.xml and dimens.xml within the vrTheme but not all roms will have same bools.xml and dimens.xml which may conflict with their framework...so just leave the vrTheme empty with the correct file structure and tell them how to add bools.xml and dimens.xml in it
Best Regards,
AJ
Click to expand...
Click to collapse
Okies brov..... but i guess it will work on all CM9 roms for Xperia P!
Nice work brov!!
But many devs already know this(me)!
Anyways Good for freshers......
Sent from my Xperia P using XDA-premium
sadiq23 said:
Nice work brov!!
But many devs already know this(me)!
Anyways Good for freshers......
Sent from my Xperia P using XDA-premium
Click to expand...
Click to collapse
i know but just for new members brov......
Would you mind doing The same for XU?
Strike_Riku said:
Would you mind doing The same for XU?
Click to expand...
Click to collapse
post yur framework file den i ll make it brov..... if yhu can get framework-res.apk from stock & cm9!!!
thanks!

[request] gradinet status bar for [ics mdpi]

please can any dev convert this mod for mdpi
forum.xda-developers.com/xperia-j-e/themes-apps/ics-z2-gradient-status-bar-style-t2684091
I tried to port gradinet_bg.xml from drwable from this post and change line statusbar _bg from status bar.xml from layout from my systemui.apk and compile it again
but when open any xml in my computer by notepad++ I get strange characters like nul in black box and can't fix this problem any way I work on windows 8.1
please help me
and sorry for my bad English
my systemui in attach and I want to do this mod for my systemui file
sent from mini pro
my systemui
medozzz0 said:
please can any dev convert this mod for mdpi
forum.xda-developers.com/xperia-j-e/themes-apps/ics-z2-gradient-status-bar-style-t2684091
I tried to port gradinet_bg.xml from drwable from this post and change line statusbar _bg from status bar.xml from layout from my systemui.apk and compile it again
but when open any xml in my computer by notepad++ I get strange characters like nul in black box and can't fix this problem any way I work on windows 8.1
please help me
and sorry for my bad English
my systemui in attach and I want to do this mod for my systemui file
sent from mini pro
Click to expand...
Click to collapse
my systemui from my phone
117 view and no reply
please any suggest any help any mod systemui gredient like post for mdpi
medozzz0 said:
117 view and no reply
please any suggest any help any mod systemui gredient like post for mdpi
Click to expand...
Click to collapse
search tutorial how to decompile recompile apk, how to make transparent statusbar on ICS, if you done with that I will sent you PNG with gradient effect, it better and easier than that gradient.XML
done
please attach png with gredient effect and I will try to mod my systemui with your method
medozzz0 said:
done
please attach png with gredient effect and I will try to mod my systemui with your method
Click to expand...
Click to collapse
here https://db.tt/EbgO113Y

Particle Effect Walkman Widget For JB, KK, CM12, CM12.1

Requirements
Superuser Mod
Build.prop
Home Xperia
1. Add Build.Prop
##Disable Bytecode Verification
dalvik.vm.verify-bytecode=false
dalvik.vm.dexopt-flags=v=n,o=v,m=y
2. Download
MusicWidget.apk
3. Copy to System App
Set Permission Reboot :laugh:
Ohh my goddd#### i was desperately waiting for this !!!
it is godd and working too flawlessly in aicp!!!
but the only thing which i didn't like is its sparkle effects colour it has only white colour could you tell us a way or include a colour changing option in new version??
Everytime i add walkman widget home xperia is force close im on stock jb rooted lbl
Sent from my C5303 using XDA Free mobile app
anisingh62 said:
Ohh my goddd#### i was desperately waiting for this !!!
it is godd and working too flawlessly in aicp!!!
but the only thing which i didn't like is its sparkle effects colour it has only white colour could you tell us a way or include a colour changing option in new version??
Click to expand...
Click to collapse
ok i will find out to change the color
xlance06 said:
Everytime i add walkman widget home xperia is force close im on stock jb rooted lbl
Sent from my C5303 using XDA Free mobile app
Click to expand...
Click to collapse
yeah add action widget freezee no responding
You must enter build.prop...
## Disable Bytecode Verification
dalvik.vm.verify-bytecode = false
dalvik.vm.dexopt-flags = v = n, o = v, m = y
vandiaz_sairavinz said:
ok i will find out to change the color
Click to expand...
Click to collapse
thanks alot brother u havr done a nice piece of work and please could you make or port stryder type rom. And could you add real xperia z3 systemui?
is it possible?
vandiaz_sairavinz said:
yeah add action widget freezee no responding
You must enter build.prop...
## Disable Bytecode Verification
dalvik.vm.verify-bytecode = false
dalvik.vm.dexopt-flags = v = n, o = v, m = y[/I already edit build.prop by adding that line but still Xperia home stop working
Sent from my C5303 using XDA Free mobile app
Click to expand...
Click to collapse
how i can edit the build.prop? @vandiaz_sairavinz
Fred_INA said:
how i can edit the build.prop? @vandiaz_sairavinz
Click to expand...
Click to collapse
open build.prop file in text editor through root explorer and add those lines,save and exit now restart your phone
Thanks bro
Works perfectly on stryflex.
Finally ?
vandiaz_sairavinz said:
Requirements
Superuser Mod
Build.prop
Home Xperia
1. Add Build.Prop
##Disable Bytecode Verification
dalvik.vm.verify-bytecode=false
dalvik.vm.dexopt-flags=v=n,o=v,m=y
2. Download
MusicWidget.apk
3. Copy to System App
Set Permission Reboot :laugh:
Click to expand...
Click to collapse
what are the permissions plz?
Any chance getting this for CM13?

Categories

Resources