I figured it was the reverse of the portrait hack for Stock roms (ie hacking the mov opcode there).
Offhand I dont see any problem with your script, but I cant repack it for another few days till I rebuild my dev pc, and for that I cant actually confirm/deny that there's an error in your script.
CM7 itself offers proper landscape default support though, there's an entry in build.prop about it, but I dont know if it's merely reporting it to the system or if it actually controls it. I do know that it's definitely possible to do properly though rebuilding CM7, but that wont be any time soon.
I believe that actual tablet mode would resemble CM7 on the nook or kindle fire or the like (ie includes soft buttons like HC/ICS in tablet mode)
Regardless it will still be available in phone mode (ie what we currently have)
Like I previously mentioned I would like to attempt to rebuild CM7.2 final with the following options:
- Tablet mode
- HDPI
- Landscape mode
I would imagine it would end up with the following end results:
- Tablet mode + landscape mode
- Phone mode and/or portrait and/or HDPI
Though saying and doing are entirely different things.
All hosting done on streakdroid.com is directly managed by me, DJ_Steve isnt involved directly. (Though obviously it's his space and I am/streak users as a whole are indebted to him for providing space)
I will eventually be remirroring everything off devhost.com as I am amoung the many Registered Contributors that recieved free accounts.
For anyone in the western hemisphere (ie north and south america) I would recommend that as it would likely be faster.
Anyone in europe would likely get faster results from streakdroid.com
All others I cant say, you'll just have to try and see.