Detect security threat in android custom firmware by analyzing applications framework and default settings