Hi Swamy,
If you would like to achieve 1) without having the device attached to the host:
The default for "display sleep" can be found in file frameworks/base/packages/SettingsProvider/res/values/defaults.xml.
Look for def_screen_off_timeout and change its value to -1, meaning "Never".
Also, add "Never" and "-1" to the screen_timeout_entries and screen_timeout_values in file packages/apps/Settings/res/values/arrays.xml. This way, "Never" will also appear as an option in the Settings GUI.
Best regards,
Tom.