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?
adb shell
you get an#
at the prompt immediately)? Because if not, you cannot simply push a file to/system
as you don't have the required privileges. Though that should throw an error instead of giving an empty line.build.prop
is more generally applicable.