[APPX][v1.3] Reboot app

Search This thread

winphouser

Senior Member
Jul 3, 2015
158
158
Built for Windows 10

USAGE:
  1. Start app. Phone should reboot.

INSTALL:
  1. Download latest Reboot_x.x.x.x_ARM.appx.zip & extract it.
  2. Tap the appx in File Explorer app on phone & confirm trust. It should install
  3. If it doesn't, try installing the dependencies first (extract zip and tap the appx:es)

CHANGELOG:
  • 1.0 First release
  • 1.1 Localization for: es, fr
  • 1.2 Localization for: de it pt
  • 1.3 Now rebooting using NRPC from Interop Tools

CAPABILITIES v1.3:
  • id_cap_oem_custom

SOURCE v1.3:
Code:
using Windows.UI.Xaml;
using ndtklib;

namespace RebootApp
{
    sealed partial class App : Application
    {
        public App()
        {
            NRPC rpc = new NRPC();
            rpc.Initialize();
            rpc.SystemReboot();

            Exit();
        }
    }
}

OLD VERSION 1.2 DETAILS:
CAPABILITIES v1.2:
  • ID_CAP_DIAGNOSTIC_CLIENT
  • ID_CAP_INTEROPSERVICES

SOURCE v1.2:
Code:
using Windows.UI.Xaml;
using System.Runtime.InteropServices;

namespace RebootApp
{
    sealed partial class App : Application
    {
        public App()
        {
            Reboot();
        }

        [DllImport("FlightingClientDll.dll")]
        public static extern int Reboot();

    }
}
 

Attachments

  • Reboot_1.0.0.0_ARM.appx.zip
    180.4 KB · Views: 1,791
  • Reboot_1.0.0.0_ARM_Dependencies.zip
    3.5 MB · Views: 2,202
  • Reboot_1.1.0.0_ARM.appx.zip
    180.7 KB · Views: 659
  • Reboot_1.2.0.0_ARM.appx.zip
    180.8 KB · Views: 9,881
  • Reboot_1.3.0.0_ARM.zip
    255.6 KB · Views: 3,234
  • Reboot_1.3.0.0_ARM_Dependencies.zip
    3.5 MB · Views: 2,829
Last edited:

epraes

Senior Member
Jul 18, 2013
294
121
Thank you so much for your app. It works beautifully. I've been searching for something similar for ages. It's incredible that the only way to reboot a phone must be turning it off and on again.

I have two questions though. Is the result of this reboot similar to a soft reset (rebooting with physical keys) or just a turning off + turning on?

And the second question, could you localize the name of the app to a few languages? I'm not sure if that's a lot of work, but it would sure fit better with my other apps in Spanish.

Just nitpicking anyway, thanks again!
 
  • Like
Reactions: winphouser

winphouser

Senior Member
Jul 3, 2015
158
158
@epraes, I'm happy to hear it's working for you and that you like it! :)

I have two questions though. Is the result of this reboot similar to a soft reset (rebooting with physical keys) or just a turning off + turning on?
This app calls the Reboot() method of a library used by the Windows Insider app. If and how it differs from other ways to do it, I don't know.

And the second question, could you localize the name of the app to a few languages? I'm not sure if that's a lot of work, but it would sure fit better with my other apps in Spanish.
Sure! What do you want to see in the app list in Spanish (and in any other languages you speak)?
 
  • Like
Reactions: epraes

epraes

Senior Member
Jul 18, 2013
294
121
Thanks again! Now it's "Reiniciar" as it should be :p

I suppose it's not very useful to say this, but it's working on a 640XL DS. No idea about non-Lumia phones, though.
 
  • Like
Reactions: winphouser

sklchan

Senior Member
Feb 20, 2012
214
61
Work perfectly without the dependencies on Lumia 1520 RM-937. Thanks a lot for the great app, this is the good app that can prolong the wear and tear on the power switch... :)
 
  • Like
Reactions: winphouser

qzem

Senior Member
Jun 23, 2010
1,594
1,030
I get an error when trying to deploy to build 14328 (redstone)

Error - There is an error in XML document (2, 2).
 

winphouser

Senior Member
Jul 3, 2015
158
158
@qzem, it's a Windows 10 UWP app, so try installing it by tapping the appx in the File Explorer app on your phone.

(If you want to install from PC you can use the Device Portal in web browser or WinAppDeployCmd.exe from command line.)
 
  • Like
Reactions: Satirus and qzem

Top Liked Posts

  • There are no posts matching your filters.
  • 24
    Built for Windows 10

    USAGE:
    1. Start app. Phone should reboot.

    INSTALL:
    1. Download latest Reboot_x.x.x.x_ARM.appx.zip & extract it.
    2. Tap the appx in File Explorer app on phone & confirm trust. It should install
    3. If it doesn't, try installing the dependencies first (extract zip and tap the appx:es)

    CHANGELOG:
    • 1.0 First release
    • 1.1 Localization for: es, fr
    • 1.2 Localization for: de it pt
    • 1.3 Now rebooting using NRPC from Interop Tools

    CAPABILITIES v1.3:
    • id_cap_oem_custom

    SOURCE v1.3:
    Code:
    using Windows.UI.Xaml;
    using ndtklib;
    
    namespace RebootApp
    {
        sealed partial class App : Application
        {
            public App()
            {
                NRPC rpc = new NRPC();
                rpc.Initialize();
                rpc.SystemReboot();
    
                Exit();
            }
        }
    }

    OLD VERSION 1.2 DETAILS:
    CAPABILITIES v1.2:
    • ID_CAP_DIAGNOSTIC_CLIENT
    • ID_CAP_INTEROPSERVICES

    SOURCE v1.2:
    Code:
    using Windows.UI.Xaml;
    using System.Runtime.InteropServices;
    
    namespace RebootApp
    {
        sealed partial class App : Application
        {
            public App()
            {
                Reboot();
            }
    
            [DllImport("FlightingClientDll.dll")]
            public static extern int Reboot();
    
        }
    }
    2
    @LeonMobile @ADeltaX @denisf1981 New version adds: de, it, pt! :)
    @denisf1981 I don't know a "power off" method..
    2
    @qzem, it's a Windows 10 UWP app, so try installing it by tapping the appx in the File Explorer app on your phone.

    (If you want to install from PC you can use the Device Portal in web browser or WinAppDeployCmd.exe from command line.)
    2
    @epraes @titi66200 Try new version! :)

    BTW can anyone confirm it's working on a non-Lumia phone?
    1
    Thank you so much for your app. It works beautifully. I've been searching for something similar for ages. It's incredible that the only way to reboot a phone must be turning it off and on again.

    I have two questions though. Is the result of this reboot similar to a soft reset (rebooting with physical keys) or just a turning off + turning on?

    And the second question, could you localize the name of the app to a few languages? I'm not sure if that's a lot of work, but it would sure fit better with my other apps in Spanish.

    Just nitpicking anyway, thanks again!