The Following 4 Users Say Thank You to AapoRantalainen For This Useful Post: | ||
![]() |
2012-04-04
, 09:14
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#2
|
killall hildon-desktop ; /etc/osso-af-init/launch-wrapper.sh stop hildon-desktop /usr/bin/hildon-desktop killall hildon-desktop ; /etc/osso-af-init/launch-wrapper.sh stop hildon-desktop /usr/bin/hildon-desktop killall hildon-desktop ; /etc/osso-af-init/launch-wrapper.sh stop hildon-desktop /usr/bin/hildon-desktop killall hildon-desktop ; /etc/osso-af-init/launch-wrapper.sh stop hildon-desktop /usr/bin/hildon-desktop killall hildon-desktop ; /etc/osso-af-init/launch-wrapper.sh stop hildon-desktop /usr/bin/hildon-desktop
maemo-invoker ~/hildon-desktop.launch
The Following 3 Users Say Thank You to AapoRantalainen For This Useful Post: | ||
![]() |
2012-04-04
, 09:36
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#3
|
I made testing with own hildon-desktop and I found it ultimately handy to kill system's hildon-desktop and then start non-installed version on hildon-desktop.
i.e.
as root
#And then start own versionCode:killall hildon-desktop ; /etc/osso-af-init/launch-wrapper.sh stop hildon-desktop /usr/bin/hildon-desktop killall hildon-desktop ; /etc/osso-af-init/launch-wrapper.sh stop hildon-desktop /usr/bin/hildon-desktop killall hildon-desktop ; /etc/osso-af-init/launch-wrapper.sh stop hildon-desktop /usr/bin/hildon-desktop killall hildon-desktop ; /etc/osso-af-init/launch-wrapper.sh stop hildon-desktop /usr/bin/hildon-desktop killall hildon-desktop ; /etc/osso-af-init/launch-wrapper.sh stop hildon-desktop /usr/bin/hildon-desktop
(as user)
I realized that if phone has --set-rd-flags=no-lifeguard-reset this will work. But if it is not in RD-mode, phone will reboot when hildon-desktop dies.Code:maemo-invoker ~/hildon-desktop.launch
My questions
* How system decides that hildon-desktop is a critical application?
*How I can see which applications are critical?
*How I can change list of critical applications?
Consider my questions as I would make own operating system based on Maemo5.
/etc/init.d/ /etc/event.d/ /etc/X11/xsession-post.d /etc/X11/xsession.d
The Following 7 Users Say Thank You to vi_ For This Useful Post: | ||
![]() |
2012-04-04
, 10:11
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#4
|
2. DSME. something STATE MANAGMENT ENTITY. This is the program responsible for 'tickling' (resetting) the WD timer.
So a process is 'critical' when it is started with DSME.
How I can see which applications are critical?
Start by looking in the xsession folders.
This is 'going deep' as deep as the maemo 5 Mariana trench. These hackjob bootup scripts are what holds this whole rust bucket together. Make a backup and be ready to re-flash before you bugger up the whole thing.
![]() |
2012-04-04
, 10:17
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#5
|
Thank you very much. I have one N900 solely for experimental/stupid/weird hacks. My current record (true case, not joke) is 12 reflash on one evening.
-
I'm not sure is this better to handle via patching dsme:
dsme-0.60.48+0m5/util/kicker.c:117: if (strstr(p, "no-omap-wd")) {
dsme-0.60.48+0m5/modules/lifeguard.c:1161: if (strstr(p, "no-lifeguard-reset")) {
Or starting (e.g.) hildon-desktop with another way than dsme.
(Truly speaking I'm not sure what is my goal)
The Following 3 Users Say Thank You to vi_ For This Useful Post: | ||
![]() |
2012-04-04
, 11:16
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#7
|
The Following User Says Thank You to vi_ For This Useful Post: | ||
![]() |
2012-04-04
, 12:39
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#8
|
./dsme-0.60.48+0m5/modules/lifeguard.c:84:#define FILE_REBOOT_OVERRIDE "/etc/no_lg_reboots"
./dsme-0.60.48+0m5/modules/lifeguard.c:825: if (access(FILE_REBOOT_OVERRIDE, F_OK) != 0) {
./dsme-0.60.48+0m5/debian/changelog:967: * Lifeguard reboots are disabled if /etc/no_lg_reboots exists
The Following 5 Users Say Thank You to AapoRantalainen For This Useful Post: | ||
![]() |
2012-04-04
, 13:54
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#9
|
The Following 5 Users Say Thank You to reinob For This Useful Post: | ||
![]() |
2012-04-04
, 14:37
|
Posts: 701 |
Thanked: 585 times |
Joined on Sep 2010
@ London, England
|
#10
|
What is causing reboot loop (dsme?)? How essential files are defined? How to add/remove something to this list?
Why it is not recommended to set permanently that rd-flag?
I know that I can check current flags with