Killing surfaceflinger?

2,409 views
Skip to first unread message

Ravi

unread,
Dec 27, 2015, 12:11:12 PM12/27/15
to Android-x86
Is it possible to kill SurfaceFlinger and Zygote from Android and gain access to the console natively?  When I try setprop ctl.stop media & setprop ctl.stop zygote or killall surfaceflinger, I get back to the Android booting screen instead. 
The only way I can currently do this is through the debug menu of the install ISO before Android has finished booting.

Thanks

jean-michel voicechat_fan

unread,
Dec 27, 2015, 12:54:05 PM12/27/15
to android-x86
i am interested by the answer to this question because i am running linux under android on my tablett i even start the serverX but i need to stop the android screen handler to test it
i have thought to make a crontab killing surfaceflinger ... 

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.



--

Chih-Wei Huang

unread,
Dec 29, 2015, 1:38:07 AM12/29/15
to Android-x86
2015-12-28 1:11 GMT+08:00 Ravi <ravi.ch...@gmail.com>:
> Is it possible to kill SurfaceFlinger and Zygote from Android and gain
> access to the console natively? When I try setprop ctl.stop media & setprop
> ctl.stop zygote or killall surfaceflinger, I get back to the Android booting
> screen instead.

Just say 'stop'.



--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Ravi

unread,
Dec 30, 2015, 12:02:57 PM12/30/15
to Android-x86
Perfect. I didn't know it was so simple.

Thanks!

jean-michel voicechat_fan

unread,
Jan 1, 2016, 12:36:09 PM1/1/16
to android-x86
i dont understand what do you mean by "just say 'stop' "
when i do that bootanimation is restarted , zygote and surfaceflinger 
it is possible to stop them without they restart 
my purpose is to run a xserver , i am on a real arm android 

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.



--

Povilas Staniulis

unread,
Jan 1, 2016, 12:36:52 PM1/1/16
to andro...@googlegroups.com
Type "stop" in terminal.

jean-michel voicechat_fan

unread,
Jan 1, 2016, 12:41:08 PM1/1/16
to android-x86
which kind of terminal it is ? it is not a terminal emulator i think

Povilas Staniulis

unread,
Jan 1, 2016, 12:44:07 PM1/1/16
to andro...@googlegroups.com
Use terminal emulator.
Unless your device has another terminal.

jean-michel voicechat_fan

unread,
Jan 1, 2016, 12:50:43 PM1/1/16
to android-x86
the terminal emulator runs a shell and "stop" is not a command found  

Povilas Staniulis

unread,
Jan 1, 2016, 1:00:36 PM1/1/16
to andro...@googlegroups.com
Try
adb shell stop
(from another system)

What device is it by the way ?

jean-michel voicechat_fan

unread,
Jan 1, 2016, 1:14:54 PM1/1/16
to android-x86
it is a telephone alcatel OT pop C7 
rooted one i use a linux in parallel of android 
adb shell will issue command too i dont know any command called stop

jean-michel voicechat_fan

unread,
Jan 1, 2016, 1:17:34 PM1/1/16
to android-x86
is it a command existing on android x86 ? i dont believe 

--

Mauro Rossi

unread,
Jan 1, 2016, 3:05:34 PM1/1/16
to Android-x86
Hi Jean Michel,


Il giorno venerdì 1 gennaio 2016 19:14:54 UTC+1, jean.michel.78 ha scritto:
it is a telephone alcatel OT pop C7 
rooted one i use a linux in parallel of android 
adb shell will issue command too i dont know any command called stop

I can confirm that with an x86 based device running android-x86 the command adb shell stop,
does exist and it works.

You cannot expect that to work the same way on an ARM based telephone not running android-x86,
but you can follow the instructions available here:


M.
 

jean-michel voicechat_fan

unread,
Jan 1, 2016, 3:44:20 PM1/1/16
to android-x86
thank you both stop belongs to init system of ubuntu shared by android http://www.computerhope.com/unix/ustop.htm

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.



--

jean-michel voicechat_fan

unread,
Jan 1, 2016, 5:15:06 PM1/1/16
to android-x86
stop exists in /system/bin but it was deleted from path in my 
--

jean-michel voicechat_fan

unread,
Jan 2, 2016, 12:40:40 PM1/2/16
to android-x86
hello thanks to you i have succeed to see the xserver running on arm tablette the xserver is not hidden by surfaceflinger anymore ( it is not running ) i can launch xapplications 
but the handling of the tactil screen is not made by the xserver so it is unusable 
to see the ps of linux processes running under android you can see the snapshot of my "ps -ef f " done on an xterm exported  on my PC display 
 
--
Reply all
Reply to author
Forward
0 new messages