Skip to content
Guest Big Announcement

I want to know the code to reboot in theos

Featured Replies

Hello. I am a Tweak development. I want to create something to reboot and press set up a button in UIButton in the app, but also press does not reboot. How it is possible to reboot it? Nice to meet you.

system("reboot");

Do you have, such as adding to the header file?

On makefile? Or you need header file what kind?

 

Open makefile and you should add

Tweakname_FRAMEWORKS = UIKit

Updated by Kennyboy

It was also tried, but could not.

Did it give you an error about system being depricated? I can give you stdlib.h where it is not depricated. Or maybe you don't have permissions to do it

 

Try

sudo reboot
I've never used sudo before but from what I've heard it should work

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.