[Q] How to change a .apk density? - Android Software Development

How will i be able to change an .apk to a 200 density screen? will i have to edit all the images as well? please explain. Thanks.

this would be helpful to know, if you change LCD density to something other than stock, phone/dialer .apk almost always force closes, I think because of this.

Yes I know. I changed mine to 200. Fortunatley, the phone works. The only things that don't work are the music player and task manager. I just want to fix the music though.
Sent from my GT-I9000 using XDA App

Related

Rdstore but keep my apps a root

I recently installed an app to change my lcd density and it madd many of my games unplayable is there a way to restore/fix this and keep my apps and stay rooted. Sorry im new and havent restored since ive had my evo and android
jc8081 said:
I recently installed an app to change my lcd density and it madd many of my games unplayable is there a way to restore/fix this and keep my apps and stay rooted. Sorry im new and havent restored since ive had my evo and android
Click to expand...
Click to collapse
You can edit that in build.prop, or get the app on the market that let's you change your density to whatever your want.
Thats what im saying the app messed it up. And how to edit the file bc it doesnt save what app do u use to edit it?
Are the games are unplayable because they aren't full screen anymore? If so, there should be an option to run older apps in compatibility mode. Uncheck it and reboot, if the LCD density changer program doesn't have that option install spare parts from the market and uncheck compatibility mode and reboot. That's what I did and everything is back to full screen.
Sent from my PC36100 using XDA App
I changed my density but alot of apps still don't get full screen with compatibility mode unchecked
is there some thing else I can do to remedy this?
Sent from my EVO running cm6

[MOD] How to increase your resolution

In order to increase your resolution on the arc you need the phone to be rooted and get root explorer from the market (You can use ADP too)
Here are the steps:
1. Open root explorer and navigate to /system/
2. Mount the folder as r/w
3. Long press the build.prop file and select edit in text editor
4. Scroll all the way to the bottom and look for r0.sf.lcd_density=240
5. Change it to r0.sf.lcd_density=194 (I find 194 works the best, d4rkwind prefers 180 see post#28)
6. Save and Exit
7. Reboot your phone and you should now have a higher resolution.
8. To ensure that all apps span full screen install spareparts from the market and uncheck "Compatibility Mode"
The stock launcher app will not work too well with the new resolution, Try ADW launncher as thats what I use.
Reserved for future use.
Or u could just get lcd density chsnger on market lol does same thing
Sent from my LT15i using XDA Premium App
rumy said:
In order to increase your resolution on the arc you need the phone to be rooted and get root explorer from the market (You can use ADP too)
Here are the steps:
1. Open root explorer and navigate to /system/
2. Mount the folder as r/w
3. Long press the build.prop file and select edit in text editor
4. Scroll all the way to the bottom and look for r0.sf.lcd_density=240
5. Change it to r0.sf.lcd_density=194 (I find 194 works the best)
6. Save and Exit
7. Reboot your phone and you should now have a higher resolution.
The stock launcher app will not work too well with the new resolution, Try ADW launncher as thats what I use.
Click to expand...
Click to collapse
@rumy - What Clock Widget is that?
pato_bato said:
@rumy - What Clock Widget is that?
Click to expand...
Click to collapse
Looks like Beautiful Widgets to me
How is it possible to increace the resolution ,since the hardware can't "afford it";Or am i missing something;
tasgr86 said:
How is it possible to increace the resolution ,since the hardware can't "afford it";Or am i missing something;
Click to expand...
Click to collapse
Dear Tasos you are wrong, with this magic trick your display turns into a retina display, the one that iphone4 use! And maybe capable of 3D.. lol
Does 194 work Facebook and Market? I tried 210 (my favorite) previously but Facebook and Market didn't fill the screen which made it look quite awful..
Thanks for this guide worked like a charm
Stor-Anders said:
Does 194 work Facebook and Market? I tried 210 (my favorite) previously but Facebook and Market didn't fill the screen which made it look quite awful..
Click to expand...
Click to collapse
It does, you need to download spareparts from the market and uncheck compatibility mode.
pato_bato said:
@rumy - What Clock Widget is that?
Click to expand...
Click to collapse
https://market.android.com/details?id=com.androidapps.widget.weather2&feature=search_result&pli=1
festa20 said:
Or u could just get lcd density chsnger on market lol does same thing
Sent from my LT15i using XDA Premium App
Click to expand...
Click to collapse
For some reason LCD density changer did not work and slowed my system down.
Have not tried it on .184 firmware, the issue was on .181
It works fine on mine the lcd density thing organist I having seen any lag or slowing down.god knows im on 181 also
Sent from my LT15i using XDA Premium App
im curious towards doing this as it looked good on my old HD2, however im curious to see how some of the stock apps, specifically the Music and Messaging app looks with this density..would you mind taking a screenshot of those perhaps?..
thanks.
reptile64 said:
Dear Tasos you are wrong, with this magic trick your display turns into a retina display, the one that iphone4 use! And maybe capable of 3D.. lol
Click to expand...
Click to collapse
I've tried!It's interesting!But it doesn't increase the resolution.It's actually something like zooming out.You can find this feature in windows also ,as a magnifier.
mhuaaaaa! ! i think fontchanger from miui in the market is very simple and if you want apli fully fonction in devtool check disable compatibilyt for full screen. and haaahaaa too funy
x10iachotjanblisshdluciddark.bb58
So can someone tell me what the best resolution is for this?
My screens at 194dpi:
tasgr86 said:
I've tried!It's interesting!But it doesn't increase the resolution.It's actually something like zooming out.You can find this feature in windows also ,as a magnifier.
Click to expand...
Click to collapse
Ακριβώς!
HELP!!!
ARRRRRRRRRRRRRRR! Just did this and it worked fine. But my touch screen is now going crazy! I can't tap widgets or swipe screen because even a single finger held still against the screen makes it freak out! HELP!!!
Update: it seems to have sorted itself out, it's not doing it any more anyway... :-S

build.prop

i changed this line "ro.sf.lcd_density= 160" of the build.prop file in system folder and it changed my bar to the look of the xoom tablet. i changed the line ro.sf.lcd_density= 150 and it was too small and i took it back up to 160 and it looks a lil better. i didn't take it under 150 so i don't know how low and how high you can decrease and increase it to. i think i heard if you change the line i just told you about than it will tell you some apps in the market store are compatible. i know quick office pro hd works on the nexus seven but im tring to get it to show up in the Google play store so i can purchase it. is what i heard true, if so than what value should i change the line to?
Sent from my Nexus 7 using XDA Premium HD app
ok the value 200 works and i can purchase the quick office hd.
Sent from my Nexus 7 using XDA Premium HD app
ronlsjr said:
ok the value 200 works and i can purchase the quick office hd.
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
But that doesn't give the tablet interface (Xoom style)
FYI - I've read (have *not* confirmed though) that if you un-install and re-install the Play store *after* resetting your DPI value, that it'll use your new dpi value accordingly, so that you can see all apps the Play store.. Again, I haven't tested - just reporting what I read...
Sent from my ASUS Transformer Pad TF700T using Tapatalk 2
ronlsjr said:
i changed this line "ro.sf.lcd_density= 160" of the build.prop file in system folder and it changed my bar to the look of the xoom tablet. i changed the line ro.sf.lcd_density= 150 and it was too small and i took it back up to 160 and it looks a lil better. i didn't take it under 150 so i don't know how low and how high you can decrease and increase it to. i think i heard if you change the line i just told you about than it will tell you some apps in the market store are compatible. i know quick office pro hd works on the nexus seven but im tring to get it to show up in the Google play store so i can purchase it. is what i heard true, if so than what value should i change the line to?
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
I tried the DPI hack... and it's just that. A hack. All the apps have really small text, and layout, on basically every app. Even if you up the text size, it just doesn't look right...the layout is still too small.
The only real solution is the Hybrid rom, ParanoidAndroid. It took a while before I finally decided to try it, but I'm glad I finally did. It's the best ROM I've tried so far, and I don't think I will be able to switch to a new ROM in the future, unless it lets me set DPI for individual apps. In addition to DPI it lets you change the layout of the app. [the devs usually have 3 modes for the apps, so that it can run on a phone, tablet, or whatever..] so you can even make the Tablet UI with the default text size. Or you can put the DPI down a little, like I did, because I like the status bar a little smaller than full-size.
mvmacd said:
I tried the DPI hack... and it's just that. A hack. All the apps have really small text, and layout, on basically every app. Even if you up the text size, it just doesn't look right...the layout is still too small.
The only real solution is the Hybrid rom, ParanoidAndroid. It took a while before I finally decided to try it, but I'm glad I finally did. It's the best ROM I've tried so far, and I don't think I will be able to switch to a new ROM in the future, unless it lets me set DPI for individual apps. In addition to DPI it lets you change the layout of the app. [the devs usually have 3 modes for the apps, so that it can run on a phone, tablet, or whatever..] so you can even make the Tablet UI with the default text size. Or you can put the DPI down a little, like I did, because I like the status bar a little smaller than full-size.
Click to expand...
Click to collapse
Hi, I'm using the PA ROM right now,and I'm just wondering what you did to get the PlayStore to allow the download. I know you can use the PA settings to change DPI and workspace so can I do it in there? Or do I have to edit the build.prop file? I bought it for the Asus Transformer TF101. I haven't been able to use it for m NExus 7 and I really do want to check it out .
A better option is to create a /data/local.prop file (rw-r--r--) with the following in it:
# /data/local.prop
# ref: http://forum.xda-developers.com/showthread.php?p=29413138
qemu.sf.lcd_density=160
Click to expand...
Click to collapse
This has the benefit of affecting only the display and not how Google Play sees the Nexus
Sent from my Nexus 7
BillGoss said:
A better option is to create a /data/local.prop file (rw-r--r--) with the following in it:
This has the benefit of affecting only the display and not how Google Play sees the Nexus
Sent from my Nexus 7
Click to expand...
Click to collapse
Is there a way to get Google Play to see the nexus at a 10" tablet temporarily, so I can install QuickOffice Pro HD?
Bonisaur said:
Is there a way to get Google Play to see the nexus at a 10" tablet temporarily, so I can install QuickOffice Pro HD?
Click to expand...
Click to collapse
Hmm.... They might be using the model number to decide whether the app is compatible, so I don't think this will work, but you can try:
Open Google Play, press Home, press Recents, long-press Google Play in the list, then select Hybrid settings.
Leave the DPI alone [it should be at 213], swype over to the "Layout." In the drop down menu, select the highest value [should be 1000px, or maybe 800px]. Then tap the Apply button [left of the top-right corner].
Bonisaur said:
Hi, I'm using the PA ROM right now,and I'm just wondering what you did to get the PlayStore to allow the download. I know you can use the PA settings to change DPI and workspace so can I do it in there? Or do I have to edit the build.prop file? I bought it for the Asus Transformer TF101. I haven't been able to use it for m NExus 7 and I really do want to check it out .
Click to expand...
Click to collapse
You don't have to do anything, Google Play runs by default at stock DPI [213], so on ParanoidAndroid (unless you change it), it works out of the box.
Thanks for the help. Well I ended up trying to edit the DPI and/or the layout settings in different combinations while rebooting my tablet each time. I even changed the build.prop to see if I could download it. Nothing worked so I set it back to default/stock. Yet, when I looked online to "install" to device from the Google Play Store website, it worked for some reason. I have no idea what I did...
Anyway, on the side , since I edited the build.prop, do I need to do anything else other than reverse the changes? I switch the line back from 160 to 213. From what I searched that seems to be it...

[Q] Change Screen density

Hello,
I'm trying to change the density of the screen, after rooting and using build prop editor and setting LCD density to 400 instead of 480 and rebooting i t doesnt change.
any idea why and how we can change it?
thanks,
kenny17430 said:
Hello,
I'm trying to change the density of the screen, after rooting and using build prop editor and setting LCD density to 400 instead of 480 and rebooting i t doesnt change.
any idea why and how we can change it?
thanks,
Click to expand...
Click to collapse
I just open Root Explorer and go to /system the open build.prop in text editor find the line near the bottom and change to 400 and press back and save it reboot and profit
Sent from my LG-D800 using Tapatalk 2
kenny17430 said:
Hello,
I'm trying to change the density of the screen, after rooting and using build prop editor and setting LCD density to 400 instead of 480 and rebooting i t doesnt change.
any idea why and how we can change it?
thanks,
Click to expand...
Click to collapse
So did the build.prop actually change to 400 or did it stay at 480 after you rebooted? I had a problem where I had to save it a few times before root explorer actually made the changes and made a backup. If nothing else, make a copy of the build.prop, drag it onto your PC, change with notepad++, then drag it back and swap it out with root explorer. Just make sure the permissions are correct rw- r-- r--. I love 400, its perfect for me.
Sent from my Nexus 7 using Tapatalk 4
dr_acula said:
So did the build.prop actually change to 400 or did it stay at 480 after you rebooted? I had a problem where I had to save it a few times before root explorer actually made the changes and made a backup. If nothing else, make a copy of the build.prop, drag it onto your PC, change with notepad++, then drag it back and swap it out with root explorer. Just make sure the permissions are correct rw- r-- r--. I love 400, its perfect for me.
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
Can I change it using apps in Google play if I rooted my phone?
Like density changer.!!
dr_acula said:
So did the build.prop actually change to 400 or did it stay at 480 after you rebooted? I had a problem where I had to save it a few times before root explorer actually made the changes and made a backup. If nothing else, make a copy of the build.prop, drag it onto your PC, change with notepad++, then drag it back and swap it out with root explorer. Just make sure the permissions are correct rw- r-- r--. I love 400, its perfect for me.
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
Thanka i had to do several attemps with build proo and then it worked. Went for 380 and love it
I've always used Rom Toolbox lite and it always works for me. Super easy, open build prop editor, change dpi, save. it even tells you to reboot.
Boom. done.
I'm at 320 and I think its perfect.
i'm sorry
why to lowered the density?
==============
emm i asked above before i tried to lowered to 400
now i know why
Clienterror said:
I just open Root Explorer and go to /system the open build.prop in text editor find the line near the bottom and change to 400 and press back and save it reboot and profit
Click to expand...
Click to collapse
Same here. Changed using Root Explorer to 400. Works like a charm, love it!
Why not just used xposed framework and per app dpi settings? So much simpler.
Rado_vr6 said:
Why not just used xposed framework and per app dpi settings? So much simpler.
Click to expand...
Click to collapse
Because the build.prop affects the entire system/apps. Xposed per dpi app only works on one at a time. It would take forever.
Sent from my LG-D800 using Tapatalk 2
You could also use textdroider_dpi app. Changes the entire system that way you don't have to keep messing with the build prop..... then use xposed to change camera back to 480 to work correctly.
Sent from my VS980 4G using XDA Premium 4 mobile app
I installed LCD Density app from the market. I changed mine from 320 down to 300. It then said it would reboot phone for changes to take affect. Now stuck on the LG boot up screen. Any suggestions?
Can anyone help me?? I can get into TWRP recovery. I've tried factory reset. Still LG screen bootloop when I try to reboot phone. I hadn't made a backup yet.
I dont know much about how to reset your phone
When going lower than 480 the camera app is fun as the viewfinder is not taking the whole screen. Which camera app are you using instead?
Double post
kenny17430 said:
I dont know much about how to reset your phone
When going lower than 480 the camera app is fun as the viewfinder is not taking the whole screen. Which camera app are you using instead?
Click to expand...
Click to collapse
I use xposed installer with the "App Settings" module to change the camera back to 480 DPI
mmmboba said:
I use xposed installer with the "App Settings" module to change the camera back to 480 DPI
Click to expand...
Click to collapse
Yessss thank you this is my issue at the moment... Camera preview is off. Any links on this xposed installer?
Sent from my LG-D801 using XDA Premium 4 mobile app
bdubs4200 said:
Yessss thank you this is my issue at the moment... Camera preview is off. Any links on this xposed installer?
Sent from my LG-D801 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2327541
the module is in there too
Thanks a lot, veryusefull, I need to have a better look at all these modules ^^

[q] dpi galour!!

so i bumbo klat changed my dpi using textdroid and set to 360 and its awesome!!! but is there a way to manually edit the build prop for camera back to 480 WITHOUT using xposed??also do i need to keep textdroid on my phone after changing dpi or am i able to delete without consequence
Shuthefrontdoor said:
so i bumbo klat changed my dpi using textdroid and set to 360 and its awesome!!! but is there a way to manually edit the build prop for camera back to 480 WITHOUT using xposed??also do i need to keep textdroid on my phone after changing dpi or am i able to delete without consequence
Click to expand...
Click to collapse
In regards to the DPI question, you need some sort of hybrid framework in order to run different DPIs for certain apps whether it's Xposed or something else. Once you make the DPI change, the build.prop file should stay the same when you uninstall. Just try uninstalling and if it somehow goes back, then keep the program installed. (I don't think it will, though)
... the hell is a bumbo klat?
Sent from my Nexus 7 FHD using Tapatalk 4
optik678 said:
In regards to the DPI question, you need some sort of hybrid framework in order to run different DPIs for certain apps whether it's Xposed or something else. Once you make the DPI change, the build.prop file should stay the same when you uninstall. Just try uninstalling and if it somehow goes back, then keep the program installed. (I don't think it will, though)
Click to expand...
Click to collapse
Thanks for the info, I'll try that!

Categories

Resources