Default [Q] Edit ro.sf.hwrotation in sql

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
Quote:
su
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);
.exit
Please help me.