Restore some flags

Change-Id: I34e12bdbb3e3813f495df9556f6530a5d560bbcb
Add JustArchi's Archidroid Optimizations V3

Change-Id: Ie26fcdb1d90e5eb789d6073e12a94e65081d1724
Some build fixes

Change-Id: If03b655572e5e98594225d1c850837bf72e2ce4c