Maybe this problem is solved but for future reference, I will post these two options:
- Push the original
build.prop
via ADB when on TWRP- Plug the device into your PC
- Open a CMD or a terminal (depends on your OS)
- Write this commands
adb kill-server adb root adb remount adb push original-build.prop /system/build.prop
Or
- Grab the current
build.prop
, edit the density, and then push it back- Grab it by using
adb pull /system/build.prop /path/to/build.prop
- Edit the
build.prop
- Then push it back
adb kill-server adb root adb remount adb push edited-build.prop /system/build.prop
- Grab it by using