I tried modifying framework-res.apk with all of these values in bools.xml
Code:
config_allowAllRotations
Code:
config_enableLockScreenRotation
Code:
lockscreen_isPortrait
and was successfully in replacing the original without bootloop. Unfortunately, none of them works. Is there any truly working way without installing apps (e.g. Set Orientation)? All I need is just get the lockscreen go landscape.
Any help would be highly appreciated.
P/S: I am using Nexus 7 with root
Flash this ROM and then set lockscreen in settings.
http://forum.xda-developers.com/showthread.php?t=1868215
Sent from my Nexus 7 using xda app-developers app
I just use this app. No need to hack around and works great.
Take a look at "Set Orientation" - https://play.google.com/store/apps/details?id=com.googlecode.eyesfree.setorientation
Sent from my GT-I9300 using Tapatalk 2
Related
Hi guys. As I already said it in the title. How can I force an app to run in phone mode instead of tablet mode on the Nexus 7? I know you can do that with ParanoidAndroid Rom. But I'm on SmoothRom right now and it doesn't have that option, that's why I'd like to know if there's another way to change the UI layout of a specific app? 360px instead of 600px.
Thanks
Sent from my GT-I9300
Nope, you'd have to modify the build.prop, which modifies everything. That's why PA is a very unique ROM.
Sent from my Nexus 7 using Tapatalk HD
Anyone managed this successfully? I changed the build.prop to 160dpi, how tablet then refuses to boot. Reflashed 4.2.2, miss my lower dpi!
On stock rom by the way.
Sent from my Nexus 7 using XDA Premium HD app
Have you tried using a utility like this to make the changes?
rifraf1 said:
Have you tried using a utility like this to make the changes?
Click to expand...
Click to collapse
Yeah, tried root toolbox pro and build.prop editor, they dont seem to gain access to the file to change it. Have you had any luck with it?
Give it a try..
https://play.google.com/store/apps/...251bGwsMSwxLDEwOSwibHYubjNvLmxjZGRlbnNpdHkiXQ
Don't forget to love the thanks button if I help you.
Hasn't worked since 4.0, used to use it on my s2!
Sent from my Nexus 7 using XDA Premium HD app
OK, in case anyone else runs into this, remember to change the permissions back to 644 after you have made your changes!
Sent from my Nexus 7 using XDA Premium HD app
herghost said:
Anyone managed this successfully? I changed the build.prop to 160dpi, how tablet then refuses to boot. Reflashed 4.2.2, miss my lower dpi!
Click to expand...
Click to collapse
I managed to change my dpi to 160 with no issues. I actually prefer it on 177.
Sent from my HTC Sensation 4G using xda app-developers app
Hey all
Can anyone give me an image file (PNG, JPEG, whatever!) For the new NavBar default icons offered in the Xylon ROM (Feb.23rd nightly)?
An image for the search, home, back, menu, and recent app window
I have really grown to like them and I want to keep them forever, when I change ROMs or devices I want them still
Sent from my Trinity powered Nexus 4
Re: [REQUEST] XYLON NavBar Icon Images
EDIT***
Someone just helped me out
Copied my SystemUI.apk, extracted it, found the images in drawablexdhdpi... Done
Sent from my Trinity powered Nexus 4
Re: [REQUEST] XYLON NavBar Icon Images
Hi,
Download the rom, ectract / open SystemUI.apk (with Winrar for example) and go to /res/drawable-xhdpi and you'll see the icons you want like ic_sysbar_******.png then extract them... All the navbar buttons are ic_sysbar_menu / search / recent, etc... And don't forget the ic_sysbar_******_land.png (for landscape mode).
Sent from my Nexus 4 using xda premium
They are the ZTE grand soft keys you can download them from the soft key thread in themes and apps also.
Sent from my Nexus 4 using xda app-developers app
znc62511 said:
They are the ZTE grand soft keys you can download them from the soft key thread in themes and apps also.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Didn't know that ! Thanks!
viking37 said:
Hi,
Download the rom, ectract / open SystemUI.apk (with Winrar for example) and go to /res/drawable/xhdpi and you'll see the icons you want like ic_sysbar_******.png then extract them... All the navbar buttons are ic_sysbar_menu / search / recent, etc... And don't forget the ic_sysbar_******_land.png (for landscape mode).
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Thank you!
Sent from my Carbon-Trinity powered Nexus 4
Is it possible to get onscreen Navigation Buttons on our Note 3? Ive tried the build.prop method With mainkey command but everything FC!!! Please help!
Sent from my SM-N9005 using XDA Premium 4 mobile app
The images are missing from the touchwiz framework. There is another post around here explaining that. If you decompile, add the images and recompile the apk then enable the navigation buttons in the build. Prop it should work. I've been wanting to do this myself but haven't been able to get around to learning how to do it.
Sent from my SM-N900W8 using Tapatalk
If anyone is interested. I made a mod for cm11 that allows you to set the x and y DPI and set your device screen resolution via build.prop. I initially did this mod on the galaxy player. I can port it over to the tab 2 if anyone is interested.
Sent from my GT-P3110 using Tapatalk
update: flashable zip release.
please let me know if the flashable zip fails. I used a guide to help me make the zip.
this zip should work on any cm11 device including the galaxy tab 2 10.1.
just flash it via recovery like anyother zip.
I am not responsible if anything gets broken.
this mod only works with cm11. this has been built on may 15 but may work on later nightlies.
to set screen resolution. you can set ro.sf.widthpixels and ro.sf.heightpixels to whatever you want. to set custom x and y dpi you can set ro.sf.lcd_density.xdpi and ro.sf.lcd_denstiy.ydpi to what ever you want.
for resolution use only numbers ot you will soft brick. I recommend using a terminal emulator and testing various settings using the qemu equivalent properties (replace ro with qemu) untill you find settings you like.
the settings I currently use are
Code:
ro.sf.widthpixels=800
ro.sf.heightpixels=1365
ro.sf.lcd_denstiy.xdpi=153
ro.sf.lcd_denstiy.ydpi=153
those settings will make the tab 2 7.0 think it has a 10 inch screen and will use xlarge layouts.
dorfd1 said:
If anyone is interested. I made a mod for cm11 that allows you to set the x and y DPI and set your device screen resolution via build.prop. I initially did this mod on the galaxy player. I can port it over to the tab 2 if anyone is interested.
Sent from my GT-P3110 using Tapatalk
Click to expand...
Click to collapse
interested here. Tab2 P5110
topzias said:
interested here. Tab2 P5110
Click to expand...
Click to collapse
Just so you know, the ROM I will be posting will only work the p3113/p3110. I can share the source code so you can port it to the p5110 if you want.
Sent from my GT-P3110 using Tapatalk
I ported the mod over and waiting for it to compile. Only services.jar and surfaceflinger are modded . I will see if copying over those 2 files will work.
If copying the 2 files works then this mod should work on the other tab 2 models running cm11.
Sent from my GT-P3110 using Tapatalk
update:
installing just the modded services.jar and srufaceflinger worked.
I am going to mod services.jar so you can select the ui layout you want by changing the dpw and dph via build prop. This would allow you to have xlarge framework resources without changing DPI or resolution, but could also be used if you want phone layout.
I will upload a zip containing the mod tomorrow
dorfd1 said:
I will upload a zip containing the mod tomorrow
Click to expand...
Click to collapse
Umm, very interested here! I've got the p3113 myself. Where's that zip? Lol
Interest AF here lol
Sent from my GT-P3110 using XDA Free mobile app
I will share the nodded files later.
Sent from my GT-P3110 using Tapatalk
I will be uploading a flashable zip tonight.
Sent from my GT-P3110 using Tapatalk
update: flashable zip can be found in the OP along with instructions.
I am now attempting to mode frameworks core so custom values for smallest width dp can be used, allowing you to select what layout you want. You could set your device to phone mode without changing DPI or resolution.
Sent from my GT-P3110 using Tapatalk
I successfully modified services.jar so the smallest dp can be set via build.prop. the number can be changed so you choose what layout you want.
Sent from my GT-P3110 using Tapatalk