maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Having a security password (https://talk.maemo.org/showthread.php?t=89597)

pmeuh 2013-03-25 18:32

Having a security password
 
Hi!

I had a problem with an application on my N9, and when I uninstall it, it just killed my N9 by deleting one by one the desktop icons (and what's behind).

So I had to flash my phone, and I took the files from NZ. The thing is that I have now a message each time I turn on my phone : "Warning you have modified the device software, making the waranty ..."

I don't give a **** about that message. But it might explain my problem.

So I'm trying to put a security lock. The phone locks itself after 5 minutes of not using it, and then ask for a password. My problem is here, I cannot set any. When I go in Settings > Security > Device lock > Security code it always says "Wrong security code". I tried the one I had before the flashing, but it doesn't help.

The thing is that it cannot be wrong as there is no code.

Can you guys help me to solve that issue ?
Thanks!

rainisto 2013-03-25 18:57

Re: Having a security password
 
You cannot set device lock while beeing in open mode. You have to reflash to stock firmware in order to set the lock code.

pmeuh 2013-03-25 19:10

Re: Having a security password
 
What do you meen by "open mode" and "stock firmware ?
Thanks for the answer ;)

lorenzo 2013-03-25 19:21

Re: Having a security password
 
you flashed a custom kernel (don't know how without knowing) now you have to flash emmc and fw

rainisto 2013-03-26 07:22

Re: Having a security password
 
Quote:

Originally Posted by lorenzo (Post 1331777)
you flashed a custom kernel (don't know how without knowing) now you have to flash emmc and fw

Actually you dont have to flash emmc to get back into secure mode, its enough to flash the main firmware.

sudo flasher -f -F main.bin -R

praveenchand 2013-04-03 09:56

I face the same issue with security lock. I can't set it, always says wrong code. This happened after i flashed my phone. I did flash main.bin.

rainisto 2013-04-03 10:13

Re: Having a security password
 
Quote:

Originally Posted by praveenchand (Post 1333871)
I face the same issue with security lock. I can't set it, always says wrong code. This happened after i flashed my phone. I did flash main.bin.

if your forgotten your security code, you can reset it by reflashing with following command:

sudo flasher -f -F main.bin --erase-user-data=secure -R

coderus 2013-04-03 11:52

Re: Having a security password
 
In fact it does not have to be custom kernel to trigger open mode. it can be just wrong download process and broken firmware file. always compare crc32 with vpl file before flashing.

praveenchand 2013-04-03 12:12

Re: Having a security password
 
Quote:

Originally Posted by rainisto (Post 1333874)
if your forgotten your security code, you can reset it by reflashing with following command:

sudo flasher -f -F main.bin --erase-user-data=secure -R

I did not forget the security code, afte flashing when i tried to setup MfE, it asked for security code, since then i am trying to set the password. Its asking new password, i tried different passswords like 0000, 0 , 11111 etc.
I selected firmware using NaviFirm...

rainisto 2013-04-03 13:15

Re: Having a security password
 
Quote:

Originally Posted by praveenchand (Post 1333897)
I did not forget the security code, afte flashing when i tried to setup MfE, it asked for security code, since then i am trying to set the password. Its asking new password, i tried different passswords like 0000, 0 , 11111 etc.
I selected firmware using NaviFirm...

And you are 100% sure that you are not in open mode (there are no warning screens when you boot up etc)? And you only used -f -F main.bin when flashing, as some arguments can trigger open mode? And how about when you change your security code from the settings UI?

And depending on MfE provider it can have some forced password policies, ie in some cases you must enter numbers+letters+special character, usually plain numbers are not enough, but you have to ask about those limitations from your MfE provider.

praveenchand 2013-04-03 13:20

Re: Having a security password
 
Quote:

Originally Posted by rainisto (Post 1333908)
And you are 100% sure that you are not in open mode (there are no warning screens when you boot up etc)? And how about when you change your security code from the settings UI?

There is warning screen, as mentioned in first post. I don't know why? I tried to change security code from the settings UI also, same result.


// might be corrupted firmware image????

rainisto 2013-04-03 13:25

Re: Having a security password
 
Quote:

Originally Posted by praveenchand (Post 1333910)
There is warning screen, as mentioned in first post. I don't know why? I tried to change security code from the settings UI also, same result.


// might be corrupted firmware image????

As long as there is a warning screen you cannot set the password. Only way to fix it is to use the flashing command:

sudo flasher -f -F main.bin -R

(And ofcourse you need main.bin which has no errors in it).

praveenchand 2013-04-03 14:04

Re: Having a security password
 
one more question, if i take backup of applications can we restore after flashing? any way to take full backup?

rainisto 2013-04-03 15:09

Re: Having a security password
 
Quote:

Originally Posted by praveenchand (Post 1333923)
one more question, if i take backup of applications can we restore after flashing? any way to take full backup?

No, unless you have taken backups of the deb files, then you can just reinstall those with dpkg -i *.deb, otherwise you must reinstall one by one from the store.

praveenchand 2013-04-03 15:24

Quote:

Originally Posted by rainisto (Post 1333939)
No, unless you have taken backups of the deb files, then you can just reinstall those with dpkg -i *.deb, otherwise you must reinstall one by one from the store.

This is why I don't prefer to flash. Anyway I will try this weekend.

praveenchand 2013-04-04 05:34

Re: Having a security password
 
After flashing n9 seems to be working fine. Last time i missed the final step which might be the reason for that warning message.
"Reboot into the new OS (flasher -R)."


All times are GMT. The time now is 11:04.

vBulletin® Version 3.8.8