Skip to content

Commit

Permalink
introduce lcd density changer
Browse files Browse the repository at this point in the history
lcd_240.sh will set it to default (screen waste) value

lcd_190.sh will set to 190 which is good, but can introuduce market incompatible apps

lcd_160.sh seems to small, but market apps are NOT INcompatible
  • Loading branch information
peshovec committed Feb 20, 2012
1 parent 04adac8 commit 2bd1b18
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
13 changes: 13 additions & 0 deletions OpenRecovery/scripts/lcd_160.sh
@@ -0,0 +1,13 @@
#/sbin/sh

ldens="160"

echo "changing lcd to $ldens"

bprop="/system/build.prop"

/system/xbin/cp $bprop ${bprop}.save

/system/xbin/sed -i "s/sf.lcd_density=.*$/sf.lcd_density=$ldens/" $bprop


13 changes: 13 additions & 0 deletions OpenRecovery/scripts/lcd_190.sh
@@ -0,0 +1,13 @@
#/sbin/sh

ldens="190"

echo "changing lcd to $ldens"

bprop="/system/build.prop"

/system/xbin/cp $bprop ${bprop}.save

/system/xbin/sed -i "s/sf.lcd_density=.*$/sf.lcd_density=$ldens/" $bprop


13 changes: 13 additions & 0 deletions OpenRecovery/scripts/lcd_240.sh
@@ -0,0 +1,13 @@
#/sbin/sh

ldens="240"

echo "changing lcd to $ldens"

bprop="/system/build.prop"

/system/xbin/cp $bprop ${bprop}.save

/system/xbin/sed -i "s/sf.lcd_density=.*$/sf.lcd_density=$ldens/" $bprop


0 comments on commit 2bd1b18

Please sign in to comment.