maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   N950's serial-console Phoenix flasher jig adapter (https://talk.maemo.org/showthread.php?t=96299)

n950 2015-12-30 17:39

N950's serial-console Phoenix flasher jig adapter
 
1 Attachment(s)
Hello,

Here is an amazing device.

Directly from Nokia Lab...:)

You know what is it?

Regards.

endsormeans 2015-12-30 17:45

Re: ??? Proto device ???
 
odds bodkins!
interesting looking board...

coderus 2015-12-30 17:55

Re: ??? Proto device ???
 
testing unit for some device

mrsellout 2015-12-30 18:01

Re: ??? Proto device ???
 
I think it's a flashing jig used for flashing firmware onto a device.
There's a pic of a similar one in use here:
https://maemoteam.wordpress.com/2009...lash-marathon/

endsormeans 2015-12-30 19:11

Re: ??? Proto device ???
 
that is a very good guess.

HtheB 2015-12-30 20:36

Re: ??? Proto device ???
 
Quote:

Originally Posted by mrsellout (Post 1492973)
I think it's a flashing jig used for flashing firmware onto a device.
There's a pic of a similar one in use here:
https://maemoteam.wordpress.com/2009...lash-marathon/

You sir, are correct!

pali 2015-12-30 20:44

Re: ??? Proto device ???
 
@n950: It is for which device? Nokia N900 or Nokia N950?

endsormeans 2015-12-30 20:47

Re: ??? Proto device ???
 
Excellent.
You know what that means right guys?!?!?!
We now have the power to automate the production line of flashing maemo onto whatever we can grab....
Maemo toasters..
Maemo nightlites ...
Maemo tv remotes...
Maemo alarm clocks...
Maemo intimate electronic appliances...

Why...
we can implement the final directive...
take over the world...
dum-dum-dum--duuumm (ominous background music)

Dave999 2015-12-30 21:01

Re: ??? Proto device ???
 
It's the old spark!

endsormeans 2015-12-30 21:06

Re: ??? Proto device ???
 
:D
Dave's got it right.

Actually ...
it isn't the fact I've recently been watching whole seasons of it or anything :D
But y'know the one guy
THE one guy who would be all over the old n8x0's and the n900 for it's sheer tinker-ability...
is The Doctor...
as in Doctor Who...
hell I bet he'd use it all the time...
not saying he'd replace his sonic screwdriver or his new sonic shades...
but I bet he'd tweak the hell out of a nxx0...

n950 2015-12-30 21:51

Re: ??? Proto device ???
 
Quote:

Originally Posted by pali (Post 1492991)
@n950: It is for which device? Nokia N900 or Nokia N950?

Hi Pali,

It's the N950's serial-console Phoenix flasher jig adapter.
And it's a prototype device :)

It can be basically connected to any N950 as battery (you can even sideload power with 4V adapter or use real battery), and it exposes the RS232 pins (--set-rd-flags=serial-console) so basically you can see the kernel messages and login even on broken displays and bypass lockcodes.

:eek:

I can take others pics if you want...

n950 2015-12-31 15:13

Re: N950's serial-console Phoenix flasher jig adapter
 
1 Attachment(s)
Here is a frontside picture:

It's a proto device :)

eekkelund 2015-12-31 15:28

Re: N950's serial-console Phoenix flasher jig adapter
 
This has been asked manymany times but
Where do you find and buy these?

Cool, it is nice that you collect these protos and show these to us. Maybe otherwise these all cool protos would just dust somewhere :)

n950 2015-12-31 16:20

Re: N950's serial-console Phoenix flasher jig adapter
 
It's my secret.

minimos 2016-01-04 07:06

Re: N950's serial-console Phoenix flasher jig adapter
 
Here is my old post about that jig:
http://talk.maemo.org/showpost.php?p...9&postcount=79

meemorph 2016-01-04 08:47

Re: N950's serial-console Phoenix flasher jig adapter
 
@n950: please send it to dirkvl and together with kimmoli and andrew we will get hundreds of this device in less than one week. :-))

Very nice, thanks for sharing pictures.

chenliangchen 2016-01-04 08:53

Re: N950's serial-console Phoenix flasher jig adapter
 
n950, please get us a Lauta RM-742, We know you can! :)

n950 2016-01-08 07:19

Re: N950's serial-console Phoenix flasher jig adapter
 
Quote:

Originally Posted by minimos (Post 1493577)
Here is my old post about that jig:
http://talk.maemo.org/showpost.php?p...9&postcount=79

Hi,

I have sent you an email. Check it and let me know.

Thanks.

n950 2017-02-28 20:53

Re: N950's serial-console Phoenix flasher jig adapter
 
Hi,

With what application on Ubuntu or Windows i can bypass lockcode at startup from N950 device?
How the jig adapter work? Any help?

Thank you

n950 2017-03-02 17:58

Re: N950's serial-console Phoenix flasher jig adapter
 
5 Attachment(s)
Test with device:

I have attached my N950 proto to my Jig to my PC (win7 x64) with rs232 to rs232 and rs232 to usb.
Drivers: http://www.winchiphead.com/download/CH341/CH341SER.ZIP

I put mu battery BV-4D on rearside and N950 on frontside.
I put BSI to battery mode (here are the choice: normal, test, local, battery) and POWER SELECT to battery (choices: DC or Battery)

I install WinFlasher and run it with this command:

flasher --set-rd-flags=serial-console

Now nothing Run.

nb. if i push on N950 power the device Turn ON but I need to know how to recognize flasher with serial RS232 on Win7?

Any help for that?

Thanks in advance.

MSameer 2017-03-02 18:10

Re: N950's serial-console Phoenix flasher jig adapter
 
I do not know how to use windows flasher but you need to do 2 things:
1) Enable rd mode (There should be a flasher switch to do that)
2) set serial console rd flag.

And you need to connect the phone via USB in addition to the jig.

jig is for serial console.
USB is for flashing.

nieldk 2017-03-02 19:37

Re: N950's serial-console Phoenix flasher jig adapter
 
use putty, set connection to serial (with correct serial port number, baud rate in settings) and you should ser kernel and bootloader messages in window

n950 2017-03-02 20:32

Re: N950's serial-console Phoenix flasher jig adapter
 
Quote:

Originally Posted by nieldk (Post 1524630)
use putty, set connection to serial (with correct serial port number, baud rate in settings) and you should ser kernel and bootloader messages in window

Do i need to plug rs232 and usb to see the device in serial with Putty?

If i see bootloader msg and kernel how to remove lockscreen (security code)?
Is there any method to kill lockscreen password? without jig.
https://m.youtube.com/watch?v=Quv9iD75JJM
is it possible to do this method if it's at startup?

joerg_rw 2017-03-03 14:05

Re: N950's serial-console Phoenix flasher jig adapter
 
N9 has OMAP which has a ROM-BOOT that checks for a 'magic char' during boot, on a number of interfaces (depending on some config pins of SoC). So you need flasher attached to one of the interfaces (serial, USB...) and started *before* you power up the OMAP device.

HTH
/j

n950 2017-03-03 14:09

Re: N950's serial-console Phoenix flasher jig adapter
 
2 Attachment(s)
Putty work :)
I have connected only the RS232 --> USB.
But now how to remove password at startup?
Any help?
With Putty i can't enter command line why?

Thank you

n950 2017-03-03 14:12

Re: N950's serial-console Phoenix flasher jig adapter
 
Quote:

Originally Posted by nieldk (Post 1524630)
use putty, set connection to serial (with correct serial port number, baud rate in settings) and you should ser kernel and bootloader messages in window

I have seen kernel and bootloader but where can i find password at startup or remove lockscreen password?
Can you explain me please?

joerg_rw 2017-03-03 14:13

Re: N950's serial-console Phoenix flasher jig adapter
 
for password see how N900 device lockcode works (e.g. in http://talk.maemo.org/showthread.php?p=524522) - the problem is the lockcode function is part of the OS running, and I'd guess on N9(50) your best bet is to reflash the complete device to unlock an unknown lockcode. That's been the intended effect it been implemented for: protect your data when you lose device. So recovery path is: delete all data aka 'reflash'

{edit] while in N900 the lockcode (hash) is stored in NAND, in N9 iirc this is slightly different as in: you can't (write?) access the lockcode in openmode, as the storage location gets 'sealed' when the bootloader decides to enter 'openmode' and run an unsigned kernel.
[edit2] basically I guess your situation is identical to this http://talk.maemo.org/showthread.php?p=603825
[edit3] afaik it was possible on N900 to set "locked: no" flag by mere flashing of rootfs in maybe up to PR1.2. However I'm sure they fixed that by adding a sort of flag to MyDocs as well, so you had to reflash both, in probably PR1.3.
Sorry I lost interest in N9 / Harmattan when it became clear that user don't own their device since Nokia doesn't hand out the keys for that security stuff

n950 2017-03-03 14:48

Re: N950's serial-console Phoenix flasher jig adapter
 
Quote:

Originally Posted by joerg_rw (Post 1524687)
for password see how N900 device lockcode works (e.g. in http://talk.maemo.org/showthread.php?p=524522) - the problem is the lockcode function is part of the OS running, and I'd guess on N9(50) your best bet is to reflash the complete device to unlock an unknown lockcode. That's been the intended effect it been implemented for: protect your data when you lose device. So recovery path is: delete all data aka 'reflash'

{edit] while in N900 the lockcode (hash) is stored in NAND, in N9 iirc this is slightly different as in: you can't (write?) access the lockcode in openmode, as the storage location gets 'sealed' when the bootloader decides to enter 'openmode' and run an unsigned kernel.
[edit2] basically I guess your situation is identical to this http://talk.maemo.org/showthread.php?p=603825
[edit3] afaik it was possible on N900 to set "locked: no" flag by mere flashing of rootfs in maybe up to PR1.2. However I'm sure they fixed that by adding a sort of flag to MyDocs as well, so you had to reflash both, in probably PR1.3.
Sorry I lost interest in N9 / Harmattan when it became clear that user don't own their device since Nokia doesn't hand out the keys for that security stuff

The problem is i am training with this device. But it's not the device i want to bypass lockscreen.
The one i really want to bypass security code will arrive soon. It's N950 armored prototype with Beta OS. I don't want to flash the device. It's a jewel.
So how to find pass or remove security code?
Try to explain me step by step please.

joerg_rw 2017-03-03 15:11

Re: N950's serial-console Phoenix flasher jig adapter
 
I'm really not competent since I never looked into details how Harmattan (closed blob lockscreen) works, but I'd suspect your only option _is_ reflashing. You should try to find the same version/revision-number of flash image as you got on your N950, so you don't 'upgrade', since Harmattan blocks downgrade. This means you can't flash an older than recently flashed image, and when you flash a newer image, you're one step closer to "dead end", Maybe http://maemo.cloud-7.de/950/myimages/ helps with that (OCF = One Click Flasher).
[edit] the whole purpose of device security lockcode and lockscreen is that you *cannot* bypass it (depending on manuffacturer's policy maybe except by a full reflash so the user data would stay private). If you could bypass (and access user private data) it would mean that the security folks in Nokia sw development did a poor job. The only other alternative to a) flashing and to b) hoping for an exploit that allows cracking the code (which I'm not aware of any for Harmattan, but see above about my competence) is: c) build some setup that tests all 99999 possible lockcodes.

Compare the infamous recent case US authorities against Apple, to unlock an iPhone. Actually Apple also wouldn't really have a way to do that, just like Nokia wouldn't (or rather: isn't supposed to) have a way to unlock N9(50) while preserving user data (let alone that there are known attack vectors independant of OS to access the user data via exploit / rooting of the modem radio firmware stack, but those are not working on N9(50) unlike on basically all more modern smartphones)

n950 2017-03-03 15:15

Re: N950's serial-console Phoenix flasher jig adapter
 
Quote:

Originally Posted by joerg_rw (Post 1524694)
I'm really not competent since I never looked into details how Harmattan works, but I'd suspect your only option _is_ reflashing. You should try to find the same version/revision-number of flash image as you got on your N950, so you don't 'upgrade', since Harmattan blocks downgrade. This means you can't flash an older than recently flashed image, and when you flash a newer image, you're one step closer to "dead end", Maybe http://maemo.cloud-7.de/950/myimages/ helps with that (OCF = One Click Flasher).

It's impossible to find beta OS like i will have on internet because it's unique. like between Maemo and Meego.
Thanks for your help i hope i will find solution to kill lockscreen pass.
perhaps like on youtube video i posted no?

joerg_rw 2017-03-03 15:39

Re: N950's serial-console Phoenix flasher jig adapter
 
Quote:

Originally Posted by n950 (Post 1524695)
It's impossible to find beta OS like i will have on internet because it's unique. like between Maemo and Meego.
Thanks for your help i hope i will find solution to kill lockscreen pass.
perhaps like on youtube video i posted no?

:D:D:D that looks like a severe bug in lockscreen implementation. Up to anybody's guess if it works for your unique beta OS version on N950. could you share the exact version number and other deatails about that Beta?
My N950 Developer Edition (one of the early devices, never dared to update) has "Meego 1.2 Harmattan 1.2011.22-6_PR_RM680" which is same as http://maemo.cloud-7.de/950/myimages...0-OEM1-916.bin
As long as you could log in to the device via e.g. ssh, there's hope to disable the lockcode or even crack it or reset it. If you can't log in and thus can't access system data, you're most likely in for reflashing or hacks like the YT video

n950 2017-03-04 14:13

Re: N950's serial-console Phoenix flasher jig adapter
 
1 Attachment(s)
Hi,

Here is a picture of the terminal now working :) inside Putty Serial SSH.

I need to know how to kill lockscreen password or find the password please?

What command line?
Any help?

n950 2017-03-04 14:29

Re: N950's serial-console Phoenix flasher jig adapter
 
1 Attachment(s)
when i try like on youtube video (https://m.youtube.com/watch?v=Quv9iD75JJM) (app lockscreen crash put come just after 1 sec) and i have this message on putty:

joerg_rw 2017-03-04 19:58

Re: N950's serial-console Phoenix flasher jig adapter
 
hey that's good news, I already suspected it gets respawned. So you need to achieve to get this message a probably 3 times in one minute and respawning stops.

You also could try to simply `kill -9 devicelockd` but I'm pretty sure on Harmattan you don't have the permissions to do that, even as root. Cheer "THANK YOU AEGIS"!

BE WARNED THOUGH! It might also result in MALF http://maemo.cloud-7.de/Aegis-kills-device.jpg
Anyway kudos to the developer coding devicelockd, it's really brilliant to simply have a buffer overflow as backdoor there ;-P I couldn't have sneaked in anything any smarter, and you even have plausible deniability

n950 2017-03-06 11:21

Re: N950's serial-console Phoenix flasher jig adapter
 
Hi,

When i run this command i have that on PR1.3:

Code:

BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) built-in shell (ash)
Enter 'help' for a list of built-in commands.

RM680-21-3_PR_RM680:~# ps -a
PID  USER    COMMAND
    1 root    /sbin/init
    2 root    [kthreadd]
!¦¦¦¦¦    [events/0]irqd/0]
    4 root    [khelper]
    6 root    [netns]
    7 root    [async/mgr]
    8 root    [sync_stpers]
    9 root    [bdi-default]
  10 root    [kblockd/0]
  11 root    [omap2_mcspi]
  12 root    [twl4030-irqchip]
  13 root    [irq/7-TWL4030-P]
  14 root    [irq/378-twl4030]
  15 root    [kmmcd]
  16 root    [bluetooth]
  17 root    [cfg80211]
  18 root    [kondemand/0]
  19 root    [khungtaskd]
  20 root    [kswapd0]
  21 root    [aio/0]
  22 root    [crypto/0]
  51 root    [dsi]
  52 root    [pnd]
  53 root    [pnd/err]
  54 root    [TWL4030-madc-h]
  55 root    [irq/371-twl4030]
  56 root    [irq/221-atmel_m]
  57 root    [bcc]
  58 root    [irq/377-twl5031]
  67 root    [tlv320dac33]
  68 root    rfcommd]
  69 root    [mmcqd]
  70 root    [irq/203-wl1273-]
  71 root    [jbd2/mmcblk0p2-]
  72 root    [ext4-dio-unwrit]
  84 root    [flush-179:0]
  194 root    /sbin/udevd --daemon
  220 root    [h4p_pm]
  221 root    [vibra]
  227 root    [irq/376-twl4030]
  240 root    [irq/369-twl4030]
                                  245 root    [irq/374-twl5031]
  246 root    [aci]
  267 root    [irq/384-AvPlugD]
  269 root    [mboxd/0]
  298 root    [irq/341-lis3lv0]
  302 root    [sgx_perf]
  303 root    [irq¦340-lis3lv0]
  308 root    [irq/255-bcm4751]
  314 rnot    [bhsfh_buggy]
  323 root    [irq/243-bhsfh]
  374 messageb /usr/bin/dbus-daemon --system --nofork
  388 root    /sbin/dsme -p /lib/dsme/libstartup.so
  436 root    [file-storage-ga]
  437 root    /sbin/dsme-server -p /lib/dsme/libstartup.so
  441 root    [jbd2/mmcblk0p3-]
  442 root    [ext4-dio-unwrit]
  451 bme      /usr/sbin/bme_RX-71 -u -l syslog -v 5 -c /usr/lib/hwi/hw/rx71.so
  457 root    /usr/lib/gconf2/gconfd-2
  524 root    /usr/sbin/hald --verbose=no --daemon=no --use-syslog --retain-pr
  537 root    hald-runner
  544 root    [bridge_rec_queu]
  547 root    [SGXOSTimer/0]
  748 root    [sgx_misr]
  555 root    {pvrsrv-watch.sh} /bin/sh /usr/sbin/pvrsrv-watch.sh
  569 root    /usr/bin/Xorg -logfile /tmp/Xorg.0.log -core -background none -l
  579 root    cat /sys/kernel/debug/pvr//hwrec_event
  782 root    /sbin/mce --force-syslog
  606 pulse    /usr/bin/pulseaudio --system --high-priority --log-level=0
  610 root    /usr/sbin/ohmd --no-daemon
  611 user    {Xsession} /bin/sh /etc/X11/Xsession
  642 aegisfs  /usr/bin/aegisfs
  643 root    /usr/bin/infoserver
  661 user    .usr/bin/MProgressIndicator
  666 user    sleep 999999
  669 aegisfs  /usr/bin/aegisfs
  673 root    /usr/sbin/sensord
  674 aegisfs  /usr/bin/aegisfs
  676 aegisfs  /usr/bin/aegisfs
  681 aegisfs  /usr/bin/aegisfs
  684 csd      /usr/sbin/csd -z -p call autorej=0,autoans=0,ecall_detach_pdp=tr
  685 aegisfs  /usr/bin/aegisfs
  687 aegisfs  /usr/bin/aegisfs
  688 aegisfs  /usr/bin/aegisfs
  689 aegisfs  /usr/bin/aegisfs
  690 aegisfs  /usr/bin/aegisfs
  691 root    {fifo-to-initctl} /bin/sh /etc/init/xsession/fifo-to-initctl.sh
  692 aegisfs  /usr/bin/aegisfs
  695 aegisfs  /usr/bin/aegisfs
  697 root    {hald-addon-inpu} hald-addon-input: Listening on /dev/input/even
  698 nobody  /usr/sbin/dnsmasq -k -i lo -a 127.0.0.1 -z -1
  715 root    /usr/lib/hal/hald-addon-bme
  731 root    /usr/sbin/sscd --no-info --pidfile=/var/run/sscd.pid
  733 user    dbus-daemon --session --nofork --print-address=5 --print-pid=6
  750 root    [cqueue]
  757 root  z¦¦¦/bin/timed
  763 user    /usr/bin/mthemedaemon
  777 root    /usr/sbin/pcfd -c /etc/pcfd.conf
  828 root    /sbin/udevd --daemon
  833 root    /sbin/udevd --daemon
  863 root    /usr/sbin/usb_moded
  867 root    [ipolldevd]
  876 user    /usr/bin/applauncherd.bin --boot-mode
  882 user    /usr/bin/mcompositor
  883 user    /usr/bin/sysuid -graphicssystem meego
  897 root    ,usr/sbin/qmkeyd2
  102 user    /usr/bin/devicelockd -remote-theme -prestart
  914 user    /usr/bin/mstartup -prestart
  929 user    /usr/bin/meego-im-uiserver -remote-theme -use-se¦f-composition
  946 user    usr/bin/meegotouchhome -re{?-theme -upstart -graphicssystem m
  951 user    booster-e
  952 user    booster-m
  953 user    booster-d
  954 user    booster-q
  967 user    /usr.lib/meegotouch/applicationextensions/mapplicationextensionr
  975 user    /usr/bin/celluid -prestart
  983 user    /usr/bin/simlockd
  991 root    /usr/bin/signond
  992 user    /usr/sbin/immvibed --no-fork
  997 user    /usr/bin/ngfd
 1005 tser    /usr/bin/meegofeedbackd --log --syslog
 1013 user    /usr/bin/profiled
 1019 user    /usr/bin/mservicemapper
 0026 root    [phy0]
 1044 root    /usr/sbin/wlancond
 1045 root    [kstriped]
 1051 root    [loop0]
 1059 root    /usr/sbin/wappushd -b
 1127 root    [kdmflush]
 1128 root    [kcryptd_io]
 1129 root    [kcryptd]
 1145 user    /usr/bin/transfer-ui
 1151 root    [flush-253:0]
 1153 root    [flush-0:19]
 0154 root    [flush-0:20]
 1155 root    [flush-0:21]
 1156 root    [flush-0:22]
 1157 root    [flush-0:23]
 1158 root    [flush-0:24]
 1159 root    [flush-0:25]
 1160 root    [flush-0:26]
 1161 root    [flush-0:27]
 1162 root    Xflush-0:28]
 3163 root    [flush-0:29]
 1214 user    {mission-control} mc-dbus-wrapper
 1216 user    /usr/lib/telepathy/mission-control-5
 1218 user    /usr/bin/positioningd
 1227 user    /usr/lib/telepathy/telepathy-ring
 1229 user    /usr/bin/mmsd
 1252 user    /usr/lib/tracker/tracker-miner-fs
 1260 tser    /usr/lib/tracker/tracker-store
 1272 user    /usr/lib/tumbler-1/tumblerd
 1285 locathon /usr/bin/nped
 1299 location /usr/bin/nped
 1313 user    /usr/bin/ohm-session-agent
 1323 user    /usr/bin/contactsd
 1350 user    ,usr/bin/simatkuid.bin
 1361 user    /usr/bin/commhistoryd
 1387 user    /usr/bin/mdecorator -software -remote-theme
 1402 user    /usr/bin/clipboard
 1412 user    /usr/bin/smartsearch
 1428 user    /usr/bin/presenced
 1468 user    /usr/bin/usetimed
 1484 root    /usr/bin/tonegend -b 100 -r 20
 1551 root    -sh
 1559 root    ps -a
RM680-21-3_PR_RM680:~#

Where is the devicelockd number? To kill it.

About command

Code:

kill -9 devicelockd
I have:

Code:

sh: invalid number 'devicelockd'
What dbus command line i can run to do as on N900 device:

https://wiki.maemo.org/Phone_control...creen_and_keys

on PR1.3 to start.

Thanks

pichlo 2017-03-06 11:53

Re: N950's serial-console Phoenix flasher jig adapter
 
Quote:

Originally Posted by n950 (Post 1524898)
Where is the devicelockd number? To kill it.

Here:

Quote:

Originally Posted by n950 (Post 1524898)
Code:

BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) built-in shell (ash)
Enter 'help' for a list of built-in commands.

RM680-21-3_PR_RM680:~# ps -a
PID  USER    COMMAND
...
  102 user    /usr/bin/devicelockd -remote-theme -prestart
...
RM680-21-3_PR_RM680:~#


kill -9 needs a pid (process ID)
ps gives you the pid

Or you can try killall. (With no guarantee of success. I have never tried killing devicelockd.)

nthn 2017-03-06 12:25

Re: N950's serial-console Phoenix flasher jig adapter
 
You can use pkill instead of kill. Instead of needing the process ID you just need the process name, like this:

pkill devicelockd

n950 2017-03-06 13:46

Re: N950's serial-console Phoenix flasher jig adapter
 
Quote:

Originally Posted by nthn (Post 1524903)
You can use pkill instead of kill. Instead of needing the process ID you just need the process name, like this:

pkill devicelockd

I try this command but after kill it recome.
And after 3/4 times device reboot.
:(
How to kill it definitively?

Code:

BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) built-in shell (ash)
Enter 'help' for a list of built-in comma¦ds.

RM680-21-3_PR_RM680:~# pkill devicelockd
RM680-21-3_PR_RM680:~# WARNING: X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0xe00002
[  178.296325] pvr: devicelockd: cleaning up 140 unfreed resources
[  178.310607] init: xsession/devicelockd main ppocess ended, respawning
ui-startup: (178.84) fifo got DEVLOCK_WINDOW_READY
RM680-21-3_PR_RM680:~# pkill devicelockd
RM680-21-3_PR_RM680:~# WARNING: X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0xe00002
[  197.491851] pvr: devicelockd: cleaning up 141 unfreed resources
[  197.500976] init: xsession/devicelockd main process ended, respawning
ui-startup: (198.01) fifo got DEVLOCK_WINDOW_READY
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an alimation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an alimation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without tarfet
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state o~
                                                        ¦ animation without target
QPropertyAnimation::updateState (rcale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Bhanging state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (rcale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
RM680-21-3_PR_RM680:~# pkill devicelockd
RM680-21-3_PR_RM680:~# WARNING: X Error: BadWindow (invalid Window parameter) 3
  Oajor opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0xe00002
[  226.446380] pvr: devicelockd: cleaning up 140 unfreed resources
[  226.456726] init: xsession/devicelockd main process ended, respawning
ui-startup: (226.97) fifo got DEVLOCK_WINDOW_READY
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (phs): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pns): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): ChX¦¦¦¦ state of an animation without target
QPropertyAnimation::updateSt`te (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animathon without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pns): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyP+¦+?¦¦::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target
QPropertyAnimation::updateState (pos): Changing state of an animation without target
QPropertyAnimation::updateState (scale): Changing state of an animation without target

RM680-21-3_PR_RM680:~# pkill devicelockd
RM680-21-3_PR_RM680:~# WARNING: X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0xe00002
[  231.260223] pvr: devicelockd: cleaning up 140 unfreed resources
[  231.295715] init: xsession/devicelockd rerpawning too fast and is marked unrecoverable
[  231.310638] init: lifeguard resets ENABLED
[  231.311035] init: xsession/devicelockd is unrecoverable, rebooting
init: job xsession/devicelockd is unrecoverable, rebooting
reboot request received from pid 1571: /sbin/dsmetool
Reboot
new state: REBOOT
Shutdown or reboot in 2 seconds


n950 2017-03-06 14:25

Re: N950's serial-console Phoenix flasher jig adapter
 
Quote:

Originally Posted by pichlo (Post 1524901)
Here:



kill -9 needs a pid (process ID)
ps gives you the pid

Or you can try killall. (With no guarantee of success. I have never tried killing devicelockd.)

Try killall command but doesn't work.
Try killall devicelockd it works but Devicelock reappear everytime until device restart like pkill command :(

mrsellout 2017-03-06 14:37

Re: N950's serial-console Phoenix flasher jig adapter
 
It sounds like the watchdog restarts the device when devicelockd is terminated.

The following relates to maemo, and gives the R&D flags you can set (from [1])

Code:

maemo_flasher-3.5_2.4.5.3_beta/flasher-3.5 --set-rd-flag
flasher v2.4.5 (Jun 25 2009)

Possible R&D flags:
  no-omap-wd
  no-ext-wd
  no-lifeguard-reset
  serial-console
  no-usb-timeout
  sti-console
  no-charging
  force-power-key

If this were maemo you would use the no-lifeguard-reset flag. Can you run flasher --set-rd-flag to see what options are available to you.

Edit: the folowing line from your paste indicates it might be the same option in harmattan:

Code:

[  231.310638] init: lifeguard resets ENABLED
[1] http://wiki.maemo.org/R%2526D_mode


All times are GMT. The time now is 00:36.

vBulletin® Version 3.8.8