(flashable zip released) Set device screen resolution via build.prop - Galaxy Tab 2 General

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

Related

[MOD] [CM9A2] Flashable build.prop for CM9 Alpha 2 - Fix for Chrome Beta

While this still works for Alpha 2, it is already fixed if you run a nightly: http://forum.xda-developers.com/showthread.php?t=1501347
------------
The latest chrome beta checks Build_ID in the build.prop to ensure compatibility. Up until now tenderloin was building with a GB Build_ID which broke chrome compatibiltiy. This is now fixed in mainline CM9 code (see my patch here: http://review.cyanogenmod.com/#change,13008) for future builds.
However, on Alpha 2 (which is where you should be for hw video decoding) the fix is to edit a line in build.prop. Replace "ro.build.id=GWK74" with "ro.build.id=IML74K". (Fix taken from here: http://tinyw.in/fSAb)
For those not comfortable doing this I made a flashable fix for it. Just flash the .zip in recovery over alpha 2.
Downloads
alpha2 stock (160dpi): http://tinyw.in/n6Hl
alpha2 120dpi version: http://tinyw.in/CTo5 <- flash this AFTER flashing dalingrin's 120dpi .zip
Million thnx bro
Sent from my HTC Desire HD using xda premium
Thank you, Eyeballer!! Worked great!
Will this work for aokp?
Sent from my Galaxy Nexus using xda premium
T-Keith said:
Will this work for aokp?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Yes it should
Sent from my SGH-T989 using xda premium
For anyone wanting to do this manually, there are just three lines to change:
Line #03:
Code:
ro.build.id=GWK74
to
Code:
ro.build.id=IML74K
and Lines 30-31:
Code:
ro.build.description=yakju-user 4.0.1 ITL41D 223971 release-keys
ro.build.fingerprint=google/yakju/maguro:4.0.1/ITL41D/223971:user/release-keys
to
Code:
ro.build.description=tenderloin-user 4.0.3 IML74K 223971 release-keys
ro.build.fingerprint=hp/hp_tenderloin/tenderloin:4.0.3/IML74K/223971:user/release-keys
Updated OP with 120dpi version.
The is also a fixed .apk that you can download. Its somewhere here on xda. Can't find it though.
Sent from my cm_tenderloin using Tapatalk
sorry but for me it doesn't work changing manually the lines ...
Download chrome beta but when i try to run it -> no way
note that my dpi is 132 .. something's wrong with this dpi ?
Thanks in advance
Mchasard said:
sorry but for me it doesn't work changing manually the lines ...
Download chrome beta but when i try to run it -> no way
note that my dpi is 132 .. something's wrong with this dpi ?
Thanks in advance
Click to expand...
Click to collapse
Only work with dpi120 or 160
Sent from Langthang's device using XDA App
OK thanks i ll try and report if it works under 120 or 160 dpi
Is it a coincidence or does this kill flash in Dolphin browser?
Thanks for the zip file... chrome working now
it doesnt work for me ....
Perhaps thé zip file makes monde than thé 3 lines web have toi change manually
Another idea ?
Thanks in advance
worked on my TP with 120dpi used zip file.
Sent from my HPTouchpad using xda premium
Ok i confirm flashing your file 120 make lit working now
Thanks
Works great for me. Thanks for this!
alpha2 stock (160dpi) does not work for me market still says not available in your country.
Download it from anywhere and install APK file
Sent from my HP Touchpad 32Gb using xda premium
thank you for the cwm flashable file! Works like a charm.
Sent from my cm_tenderloin using xda premium

[Q] How to get landscape lockscreen in Nexus 7

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

[Q] Modifying the Build.prop

Hello There
I am really sorry if this has been answered before.
I used to have CM10 on my nexus but i went back to stock because I did not like how many of the apps because "incompatible" or saying my device was not qualified to run this app but it was when it was stock Nexus 4.
Anyways, do I just copy the build prop from a stock rom and use it with CM10 or is there just a few lines to modify in the build prop when CM10 is flashed. Any info was definitely be appreciated. THANKS!
You shouldn't have to modify the build prop on the cm rom you flash cause it comes with it already setup. What are you trying to modify?
Sent from my Nexus 4 using Xparent Cyan Tapatalk 2
eqjunkie829 said:
You shouldn't have to modify the build prop on the cm rom you flash cause it comes with it already setup. What are you trying to modify?
Sent from my Nexus 4 using Xparent Cyan Tapatalk 2
Click to expand...
Click to collapse
Sorry, just as an example, I can use Hulu Plus with the stock rom, but when I use CM10 its not "compatible" and will not play.
raysurrx7 said:
Sorry, just as an example, I can use Hulu Plus with the stock rom, but when I use CM10 its not "compatible" and will not play.
Click to expand...
Click to collapse
Thats because root is detected. No build.prop edits will fix that.
mbh87 said:
Thats because root is detected. No build.prop edits will fix that.
Click to expand...
Click to collapse
Not the issue because I am currently rooted with stock rom and I can still watch hulu plus.
raysurrx7 said:
Hello There
I am really sorry if this has been answered before.
I used to have CM10 on my nexus but i went back to stock because I did not like how many of the apps because "incompatible" or saying my device was not qualified to run this app but it was when it was stock Nexus 4.
Anyways, do I just copy the build prop from a stock rom and use it with CM10 or is there just a few lines to modify in the build prop when CM10 is flashed. Any info was definitely be appreciated. THANKS!
Click to expand...
Click to collapse
Did you happen to change the DPI from 320?
Sent from my Nexus 4 using xda premium
nbeebe24 said:
Did you happen to change the DPI from 320?
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
I didnt make any changes to the DPI.

[Help] [Pro] Need help to modify Stock Settings.apk properly

I installed all apk found under system/framework with apktool.
*framework-res.apk & another apk
Then decompiled Settings.apk of Xperia pro stock ics Rom.
After that ,without making any change I compiled the apk. Then I surprisingly noticed that the size compiled apk is 1/3 of original stock settings.apk .
Then I flashed the apk using cwm to my phone to test if it work .after flashing, the setting icon is invisible in launcher menu !
Plz anybody tech me how decompile and re compile stock settings.apk of Xperia pro properly..
----------------****---------------
I'm noob. Help me to be great like U
This is because u have to delete the xml u edited and resources.arc and then compile it. Use apk manager. Its easyy to use.
What exactly u trying to do? May be I can help you out.
For ur last line "Be a beginner, but not a noob"
Sent from my MT11i using Tapatalk 2
i'm trying to add some ektra app linked with setting apk in setting header.xml
i'v done it perfectly in a custom rom's Settings.apk. but in stock rom, i'm getting error.
Sent from my MK16i using xda premium
shouvo said:
i'm trying to add some ektra app linked with setting apk in setting header.xml
i'v done it perfectly in a custom rom's Settings.apk. but in stock rom, i'm getting error.
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
What tool do u use? For settings u edit setting_header.xml where is that present and all u must be knowing?!
After clicking on compiling apk manager asks to delete resources.arc and also the xml you edited. Then compile it should.
Sent from my MT11i using Tapatalk 2
koradiavatsal said:
What tool do u use? For settings u edit setting_header.xml where is that present and all u must be knowing?!
After clicking on compiling apk manager asks to delete resources.arc and also the xml you edited. Then compile it should.
Sent from my MT11i using Tapatalk 2
Click to expand...
Click to collapse
i use apktool provided by google code
plz what tool u'r talking about that asks to delete resource and xml while compile
Sent from my MK16i using xda premium
shouvo said:
i use apktool provided by google code
plz what tool u'r talking about that asks to delete resource and xml while compile
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
He is talking about apk manager... Its just a easier form of apktool...
Sent from my Xperia Neo V using xda app-developers app
plz provide me the download link
Sent from my MK16i using xda premium
shouvo said:
plz provide me the download link
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
Link = No
Search = Yes
Sent from my MT11i using Tapatalk 2
Guys can anybody please tell me how can i edit the default settings of the rom which load up after the first boot....
I looked into all xml files of Settings.apk but couldn't find any..
Eg: I want to disable the auto brightness mode by default when i flash my rom.
I have a Xperia P running with stock JB.
Thanks in advance...!!! :fingers-crossed:
koradiavatsal said:
Link = No
Search = Yes
Sent from my MT11i using Tapatalk 2
Click to expand...
Click to collapse
I've searched and downloaded. will try it today....hope it will work perfectly
Sent from my MK16i using xda premium
Note for next time: This is not the place for questions. Questions go to Q&A section.

Fonts?

Anyone manage to install new fonts that don't suck via flashable zips or any other method?
Sent from my S4 w/ PAC MAN
Download an app called iFont. Horrible name but great app for applying fonts! Only way I've found to change fonts. You can even install fonts to the app that are locally on the device. Good luck!
Rom Tool Kit Lite or Pro works fantastic. I had no problem installing fonts on my ATT s4 running Liquid Smooth :thumbup::thumbup:
"Zed?Zed's dead baby;Zed's dead"
Ya ROM tool box that's the one I forgot about thanks
Sent from my S4 w/ PAC MAN Powah!
Personally, I use Font Changer Lite [root]. Once installed, just find a .ttf file an put it in the .FontChanger folder on your sdcard, and it changes ALL fonts (statusbar, text messaging, system fonts, everything). If you want different fonts for specific apps or whatever, you can use the advanced option to specify. @martino2k6 is the creator, and all credit goes to him. I've been using this app since I got my Atrix 4G in 2011. Check it out.
http://forum.xda-developers.com/showthread.php?t=874658
Also, I know the following font packs thread is a bit dated, but there's a ton of them here.
http://forum.xda-developers.com/showthread.php?p=16163558
Personally, I love the Armani font. I've attached it below. If you want to try it out just drop the .txt from the end of the file.
Sent from my AT&T Samsung Galaxy S4 Badass
I use Font Changer Lite too. Just make sure to only use TTF (TrueType) fonts and not OTF (OpenType) or you won't be able to boot.
Sent from my SGH-I337 using Tapatalk 4 Beta
Oh ya since we know what u think sucks or not we'll get right on that...seriously?
Sent from my SAMSUNG-SGH-I337 using xda premium
Martinjv71 said:
Oh ya since we know what u think sucks or not we'll get right on that...seriously?
Sent from my SAMSUNG-SGH-I337 using xda premium
Click to expand...
Click to collapse
HUH??
ROM Toolbox Pro.... You'll be so busy installing fonts, you won't have any time left for starting idiotic threads
Sent from my ASUS Transformer Pad TF700T using Tapatalk 4 Beta
BlastTyrantKM said:
ROM Toolbox Pro.... You'll be so busy installing fonts, you won't have any time left for starting idiotic threads
Sent from my ASUS Transformer Pad TF700T using Tapatalk 4 Beta
Click to expand...
Click to collapse
ROM toolbox pro crashes every time I try to install a font unless they updated the app.
Sent from my GT-I9505G using Tapatalk 2

Categories

Resources