This question already has an answer here:

In airplane mode, both SIM(s) and wi-fi are disconnected. Is there a way to just disconnect the SIM(s) and keep wi-fi connected without root privilege?

marked as duplicate by Matthew Read May 9 '15 at 17:20

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  1. In your Dialer / Phone app, enter *#*#4646#*#*

  2. Select Phone Information

  3. Select Turn off radio

Or use an app like Cell Radio ShutOff.

Note also that you can turn Wi-Fi back on during Airplane Mode (though it can definitely be annoying to have it turned off in the first place).

Not the answer you're looking for? Browse other questions tagged or ask your own question.