I used Texdroider DPI to change the dpi from 320
to 300
and after the reboot it gets stuck at the lenovo logo. I could just flash it again but i don't have the rom on this pc, and it will take 10h to download it.
Is there any faster way to reset the dpi? I have TWRP installed. With android 5.0.1.
Edit:
Output of cat /system/build.prop | grep density
is ro.sf.lcd_density=300
Tried editing build.prop back to 320 with Sublime Text. Now the command returns ro.sf.lcd_density=320
but it still gets stuck.
/data/property
and confirm us whetherpersist.sys.lcd_density
exists? If it exists, what does it contain? – Firelord Dec 12 '15 at 14:19cat /system/build.prop | grep density
. Tell us the result. – Firelord Dec 12 '15 at 14:34# Lenovo-sw wuzb1 2014-10-08 set default density ro.sf.lcd_dencity=300
– user1824034 Dec 12 '15 at 14:42ro.sf.lcd_density
in the command's output. – Firelord Dec 12 '15 at 14:44cp /data/data/com.texdroider.texdroider_dpi/files/backup/build.prop /system/build.prop
and the file does not exist. The directorycom.texdroider.texdroider_dpi
appears like a file in the explorer. – user1824034 Dec 12 '15 at 15:24adb shell sed -i -e 's/.*ro.sf.lcd_density.*/ro.sf.lcd_density=320/g' /system/build.prop
? If you're not using a *nix system, you would need sed editor installed in system. – Firelord Dec 12 '15 at 15:32cannot link executable: could not load library libc.so needed by adb
[...]is 32-bit instead of 64-bit
. – user1824034 Dec 12 '15 at 15:43sed -i -e 's/.*ro.sf.lcd_density.*/ro.sf.lcd_density=320/g' /system/build.prop
or put it simply, removeadb shell
from the earlier command. Make sure system partition is already mounted. – Firelord Dec 12 '15 at 15:44adb shell busybox printf "320" > /data/property/persist.sys.lcd_density
and thenadb shell chmod 600 /data/property/persist.sys.lcd_density
. Unmount data partition, reboot into Android and tell us the result. – Firelord Dec 14 '15 at 11:14