auto rotation – Manual screen rotate via terminal isn’t working

So i want fix custom rom issue on my tab(portrait rotation instead of landscape on startup), but when i write command content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:1, screen doesn’t rotate(on my phone this command is working). Auto rotation is working. Any way to rotate screen via terminal?
Root access and twrp are present.