Hi Fernando - I accidentally stumbled about this thread (I have a One S, no X...). I never had issues with compiling framework, since I used a modded apktool version from day 1 (I used that already on Galaxy Nexus), which compiles plurals just fine.
Initially I also had some issue with com.htc.resources, but could solve these fairly quick. Since I`m sure One X com.htc. is fairly similar to One S, maybe my fix can help you guys too.
This was the original error log
I edit the framework-res from insertcoin v6.4.5.
I edited \framework\res\values\bools.xml. Becouse i want to disable the 360° roating and change
I have edited anims.xml, layout.xml, raws.xml, plurals.xml, plurals.xml as in the description of fernando sor. But when I recompiling i get this.