How to fix an iPhone 4S with disabled iCloud settings?
Why is it grey out?
In Settings-General-Restrictions(password required)-Accounts
(Current Value:Don't Allow Changes)

If the value is Don't Allow Changes,the icloud in Settings will be disabled automatically.

To enable Settings>icloud
Go to:Settings-General-Restrictions(password required)-Accounts
Select "Allow Changes"