Optimalization for smartphones