Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Edit ro.sf.hwrotation in sql

OP quanghuyen

11th April 2014, 01:15 PM   |  #1  
OP Junior Member
Thanks Meter: 0
5 posts
Join Date:Joined: Sep 2013
Hi all,

I was edit hwrotation in file build.prop it work ok.
But I want edit it in database sql but it not work. In android can't edit file build.prop so i need other solution

sqlite3 /data/data/com.android.providers.settings/databases/settings.db
insert into system (name,value) values('accelerometer_rotation',0);
insert into system (name,value) values('user_rotation',1);

Please help me.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes