I installed the latest version of TWRP and LineageOS on my BQ Aquaris U Plus and followed all instructions. Somehow, both TWRP (twrp-3.2.1-0-tenshi) and LineageOS (lineage-14.1-20180127-nightly-tenshi-signed) are flipped upside down.
As far as my search has led me, I have to edit the /system/build.prop
and add the line
ro.sf.hwrotation=0
However, I am not able to push the file back to my phone. Nor am I able to edit the file on the device itself.
I am using the following code (Linux Mint):
sudo adb kill-server
sudo adb start-server
sudo adb root
sudo adb devices
sudo adb remount
sudo nano build.prop
sudo adb push build.prop /system
After that, adb does not seem to respond (empty line).
Am I missing something? Is there any possibility to fix this issue?