[APP] Easy Replace and/or Restart SystemUI.apk Utility - By Serajr - v2, 20/04/13

serajr

Recognized Developer / Recognized Themer
Apr 21, 2011
5,011
18,603
263
São Paulo - SP
  • Like
Reactions: kingdj

kingdj

Senior Member
Mar 18, 2013
398
220
0
sweet city,pangkalanbun
hei budy.i wana thk u for ur great work n im using ur system ui since v7,1 till v9,1 n its awesome.bt can u tell me why everytime i open dis app n try to replace system ui its say "sdcard connected or the file isn.t on sdcard/root" btw im switching my memory or swap it,is that make any affect?????? thk u n regards.
 
  • Like
Reactions: serajr

serajr

Recognized Developer / Recognized Themer
Apr 21, 2011
5,011
18,603
263
São Paulo - SP
hei budy.i wana thk u for ur great work n im using ur system ui since v7,1 till v9,1 n its awesome.bt can u tell me why everytime i open dis app n try to replace system ui its say "sdcard connected or the file isn.t on sdcard/root" btw im switching my memory or swap it,is that make any affect?????? thk u n regards.
Thanks bro!!!
This warning tells you that, or your sdcard is conected to pc, or it´s not but SystemUI.apk is not on sd card root, so check both!
 
  • Like
Reactions: kingdj

kingdj

Senior Member
Mar 18, 2013
398
220
0
sweet city,pangkalanbun
Thanks bro!!!
This warning tells you that, or your sdcard is conected to pc, or it´s not but SystemUI.apk is not on sd card root, so check both!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

bro my sdcard not connected to pc n what should i do tomake it work???? where should i put my system ui so ur apps can detect it???? regards bro
 

Publiuss

Senior Member
Jun 29, 2012
948
170
43
Hi

I have installed your great mod, but sometimes it crashes.
Would be nice to have an option in this tool to force restarting instead waiting it restarts by itself (after some minutes sometimes).
 
  • Like
Reactions: serajr

serajr

Recognized Developer / Recognized Themer
Apr 21, 2011
5,011
18,603
263
São Paulo - SP
Hi

I have installed your great mod, but sometimes it crashes.
Would be nice to have an option in this tool to force restarting instead waiting it restarts by itself (after some minutes sometimes).
Thanks bro!!
By clicking "Go to SystemUI settings page" button you can manually force stop it, once you´re at its settings page.
 
  • Like
Reactions: Publiuss

Publiuss

Senior Member
Jun 29, 2012
948
170
43
Thanks bro!!
By clicking "Go to SystemUI settings page" button you can manually force stop it, once you´re at its settings page.
Hi

Thanks for your answer! :laugh:
But what I would to say is that I would just to "start" (not restart) systemui when it is crashed and is not active, in order to not wait that it restarts by itself.
 

serajr

Recognized Developer / Recognized Themer
Apr 21, 2011
5,011
18,603
263
São Paulo - SP
Hi

Thanks for your answer! :laugh:
But what I would to say is that I would just to "start" (not restart) systemui when it is crashed and is not active, in order to not wait that it restarts by itself.
Would be great buddy... but It´s impossible, once its a system core service, and only the system can manage it!!! We need to wait...
 
  • Like
Reactions: Publiuss

serajr

Recognized Developer / Recognized Themer
Apr 21, 2011
5,011
18,603
263
São Paulo - SP
Bro, I don't actually know how SystemUI works. But, if it runs as a service you can always use am startservice shell command to start SystemUIService.
You´re right bro!!
But in this case, system can´t run properly without status bar service, so immediatly after we kill its pid, system attempts to start it with major priority, see logcat:

06-07 11:51:56.649: I/WindowManager(305): WINDOW DIED Window{2bdd7630 StatusBar paused=false}
06-07 11:51:56.659: I/ActivityManager(305): Process com.android.systemui (pid 385) has died.
06-07 11:51:56.659: W/ActivityManager(305): Scheduling restart of crashed service com.android.systemui/.SystemUIService in 1250ms
06-07 11:51:56.659: W/ActivityManager(305): Scheduling restart of crashed service com.android.systemui/.ImageWallpaper in 11249ms
06-07 11:51:56.679: I/ActivityManager(305): Start proc com.android.systemui for restart com.android.systemui: pid=4531 uid=1000 gids={1015, 3002, 3001, 3003, 3007}
First two lines are proccess killed by RestartSystemUI.apk, others ones (red) are the system trying to restart it by itself, all in the same second. So if the SystemUI is delaying to restart, probably the system is with a high load of background data to process just before!! ;)
 
  • Like
Reactions: Publiuss