We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2018-02-14 16:15:35 +0200

Getting past lock code via adb ?

Ok not 100% sure I forgot my pass code or if something happened to corrupt it. Was it always 5 numbers ? I vaguely remember it having to be 6 minimum. Either way the pass code no longer seems valid so is there are way I can either clear it or by pass it using developer tools?

I can access the system partition via TWRP so is there a way of just deleting the pass code and unlocking it that way?

I've no used my phone much since before Xmas because of one thing or another but I did spend quite a bit of time configuring and testing it so I am reluctant to just blow it all away. I know I did do a back up previously but from what I read on the forums the back up at that time was not complete and so should not be trusted to be a recovery from factory restore.

Thoughts anyone? Thanks.

Getting past lock code via adb ?

Ok not 100% sure I forgot my pass code or if something happened to corrupt it. Was it always 5 numbers ? I vaguely remember it having to be 6 minimum. Either way the pass code no longer seems valid so is there are way I can either clear it or by pass it using developer tools?

I can access the system partition via TWRP so is there a way of just deleting the pass code and unlocking it that way?

I've no used my phone much since before Xmas because of one thing or another but I did spend quite a bit of time configuring and testing it so I am reluctant to just blow it all away. I know I did do a back up previously but from what I read on the forums the back up at that time was not complete and so should not be trusted to be a recovery from factory restore.

EDIT: I suppose i should also add I have copied across the root.img.gz and home.img.gz to my laptop and so can browse and change them freely. Just no sure where to look. Was kinda hoping of a /etc/shadow- file somewhere ;)

Thoughts anyone? Thanks.

Getting past lock code via adb ?

Ok not 100% sure I forgot my pass code or if something happened to corrupt it. Was it always 5 numbers ? I vaguely remember it having to be 6 minimum. Either way the pass code no longer seems valid so is there are way I can either clear it or by pass it using developer tools?

I can access the system partition via TWRP so is there a way of just deleting the pass code and unlocking it that way?

I've no used my phone much since before Xmas because of one thing or another but I did spend quite a bit of time configuring and testing it so I am reluctant to just blow it all away. I know I did do a back up previously but from what I read on the forums the back up at that time was not complete and so should not be trusted to be a recovery from factory restore.

EDIT: I suppose i should also add I have copied across the root.img.gz and home.img.gz to my laptop and so can browse and change them freely. Just no sure where to look. Was kinda hoping of a /etc/shadow- file somewhere ;)

EDIT2: So /etc/signond.conf looks interesting. But no sign of it being used anywhere. It has just a couple of options to it.

;
FileSystemName=signonfs
Size=8
FileSystemType=ext2

[ObjectTimeouts]
; All the values are in seconds
IdentityTimeout=30
AuthSessionTimeout=30
; Set the timeout to 0 to disable quitting due to inactivity
DaemonTimeout=5

Curious about this signonfs partition though. But again no sign of it on /dev/block/mmcblk0 shrugs

Thoughts anyone? Thanks.