how to integrate android theft app into rom - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

Hello,
i have a question for developers.
Found some android apps for locating lost/stolen phone.
Its all good if someone who finds a phone doesnt reset it to default (that is the logical thing to do if you want to set your google acc on it)
My question is how to integrate app into rom (with a identification key) when you reset the phone the app is installed and configured by default.
What app would you use for this?
Thx.

You could put the app in /system/app/ and it will be a system app so reset won't delete the app (a data wipe will remove all associated app data and there is no way I know of by which the app's data can survive the data wipe) or if you think "what if he changes the Rom?" in that case you can go a step further and integrate the app and it's associated data in the kernel's ramdisk so even if he changes the Rom, the app and it's data remains there configured as you wanted untill, he flashes a different kernel and "what if he flashes a
Different kernel?" then you'll lose the phone for sure! That's the most you can do.
p.s: in theory, if you integerate the app and it's data with the bootloader then it would be nearly impossible for him to change the bootloader (as of now) at the same time practically there is no way you can modify the bootloader to integrate the app and it's data (as of now)( you'll potentially hard brick the device for sure if you play with the bootloader)
Press thanks if I helped you.
Sent from my ST15i using xda app-developers app

Just make it a system app, the rest is useless, because if you loose your phone you lock it and that prevents from enabling debugging to disable access to system root so he cannot wipe nor flash anything, the only thing i wonder is if cwm can be accessed on locked phone, that's why i was about to make a post asking wether it's possible to get a pwd protected cwm

Rudjgaard said:
Just make it a system app, the rest is useless, because if you loose your phone you lock it and that prevents from enabling debugging to disable access to system root so he cannot wipe nor flash anything, the only thing i wonder is if cwm can be accessed on locked phone, that's why i was about to make a post asking wether it's possible to get a pwd protected cwm
Click to expand...
Click to collapse
Yes cwm can be accessed from a locked phone and you don't have to enable debugging to flash anything from cwm because if you enable/disable debugging it effects only after the Rom boots whereas cwm kicks in before the Rom boots.
Hit thanks if I helped you.
Sent from my ST15i using xda app-developers app

Related

[Q] What 'FIX PERMISSION' do in CWM and SGS2 hard rest.

Hello guys,
I confused about fix permission option on cwm, what actually it does. And when we should use this fix permission? On what case we need to use it?
2 - how to total hard reset SGS2, completely back as it still virgin ( not include odin binary counter). This should use cwm to use 'format' option. But anyone can help with the steps guide? Or any other hard reset method recommended?
Edit: im sorry guys, im not sure if im posting on the correct section. I cant see '(Q)' mark on my topic.
Thanks
Sent from my GT-I9100 using xda premium
neobirdrio said:
2 - how to total hard reset SGS2, completely back as it still virgin ( not include odin binary counter). This should use cwm to use 'format' option. But anyone can help with the steps guide? Or any other hard reset method recommended?
Click to expand...
Click to collapse
If by virgin you refer to set the phone as the way it was as you purchase it, you should do two things:
1) Erase all user data (you can do that from CWM). Format /data /system and /sdcard
2) Install a stock ROM (via Odin).
If you also want to reset the binary counter, you need the USB Jig to do that.
AzureusPT said:
If by virgin you refer to set the phone as the way it was as you purchase it, you should do two things:
1) Erase all user data (you can do that from CWM). Format /data /system and /sdcard
2) Install a stock ROM (via Odin).
If you also want to reset the binary counter, you need the USB Jig to do that.
Click to expand...
Click to collapse
I see, when im done with all those format steps in cwm, thats mean my phone dont have any OS inside? So that mean i cannot reboot the phone rite?
The next step after format the whole things then shut down the phone and get into download mode and flash stock firmware with odin? Correct me if im wrong.
Sent from my GT-I9100 using xda premium
Yes, that is correct.
Formating /data, /system and /sdcard set the phone empty and without any ROM, so it won't do a full boot. You can power down the phone and power it up in download mode. Then from there you flash your Stock ROM from Odin and you're good to go.
Permissions are explained here:
http://www.legend.ws/blog/tips-tricks/linux-file-permissions-explained/
Since Android is based on the Linux kernel, the same basic file permissions scenarios apply as those outlined above.
In simple terms, when permissions get messed up, you may lose the ability to access or edit files over which you normally should have control, or you may gain control over files which normally you shouldn't, which can cause random problems, like Force Close, etc. in Android.
Repairing the permissions is a housekeeping measure, to keep things neat and tidy. Sometimes, after a repair, you'll have to redo some settings, etc.
AzureusPT said:
Yes, that is correct.
Formating /data, /system and /sdcard set the phone empty and without any ROM, so it won't do a full boot. You can power down the phone and power it up in download mode. Then from there you flash your Stock ROM from Odin and you're good to go.
Click to expand...
Click to collapse
Your description made me very clear, i highly appreciated for your efforts. Thanks so much.
Sent from my GT-I9100 using xda premium
donalgodon said:
Permissions are explained here:
http://www.legend.ws/blog/tips-tricks/linux-file-permissions-explained/
Since Android is based on the Linux kernel, the same basic file permissions scenarios apply as those outlined above.
In simple terms, when permissions get messed up, you may lose the ability to access or edit files over which you normally should have control, or you may gain control over files which normally you shouldn't, which can cause random problems, like Force Close, etc. in Android.
Repairing the permissions is a housekeeping measure, to keep things neat and tidy. Sometimes, after a repair, you'll have to redo some settings, etc.
Click to expand...
Click to collapse
I see, well, let say i just flashed a new rom, and i get fc on some apps. And some app not working properly, in this situation, fix permission can solve the problem? What change we would get after fix the permission, i mean if it can harm the system?
Sent from my GT-I9100 using xda premium
the phone must to be rooted?

Is possible to have pre-installed security apps with user data ?

Hello,
Is it possible to simply modify any rom to contain pre-installed security app with user data ?
For example I have extracted lookout.apk and data from /data/data/com.lookout. My idea is simply copy these files to zip with custom rom. In case of lost/stolen phone, applications would stay with my settings even after factory reset.
I tried to put lookout.apk into system/app and data in data/data/com.lookout into the custom rom. The application was installed ok, but the data was completely missing. I am quite new in modifying roms, but I think there is some problem with missing instructions in manifest or update script.
...belongs in Q & A
xlxcrossing said:
...belongs in Q & A
Click to expand...
Click to collapse
Pardon, can somebody move it please ?
You can put the apk in the data/apps I don't know if you can put the actual saved data in....
apk is working perfectly. Problem is how to tell the rom to copy files with settings into /data/data/com.lookout. Good solution could be some script with commands such as
"cp /data/com.lookout/file1.txt /data/data/com.lookout/file1.txt" but I dont know if it is possible.
I tried to modify manifest.mf and cert.sf but files was not copied.
d1105373 said:
Hello,
Is it possible to simply modify any rom to contain pre-installed security app with user data ?
For example I have extracted lookout.apk and data from /data/data/com.lookout. My idea is simply copy these files to zip with custom rom. In case of lost/stolen phone, applications would stay with my settings even after factory reset.
I tried to put lookout.apk into system/app and data in data/data/com.lookout into the custom rom. The application was installed ok, but the data was completely missing. I am quite new in modifying roms, but I think there is some problem with missing instructions in manifest or update script.
Click to expand...
Click to collapse
if i understand you question correctly, if someone where steal your phone and flash a new ROM you want lookout and your personal data from lookout to be installed when they flash the ROM? is this correct?
i think your confused, or either i am in regards to what exactly you mean? a factory reset and flashing a new ROM are two totally different things. a factory reset simply resets the installed ROM to its default settings. flashing a ROM resets "everything" data included. if someone were to steal your phone, flash a format all or wipe manually for that matter, and then install another ROM your data is GONE. no, getting it back for us normal people anyway.
t3project said:
if i understand you question correctly, if someone where steal your phone and flash a new ROM you want lookout and your personal data from lookout to be installed when they flash the ROM? is this correct?
i think your confused, or either i am in regards to what exactly you mean? a factory reset and flashing a new ROM are two totally different things.
Click to expand...
Click to collapse
I think he wants to save it at /system and have a script or something put the settings back after a rom initiated factory reset...
Sent from my PG86100 using xda premium
ceyo14 said:
I think he wants to save it at /system and have a script or something put the settings back after a rom initiated factory reset...
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
the only way i know of to accomplish this would be to place the files on the /sdcard create a script that runs at boot (a fairly simple thing) and tell it to copy the file from the sdcard into the desired folder. this would have to be a custom ROM and the sdcard would have to have the file on it. again, if the person flashed a new ROM or formatted/repaleced the /sdcard, you're just SOL.
its possible use avast formally theft aware it integrates it self into the rom as root and survives a hard reset as well as offering alot of other features such as sms control and automatically turning n 3g and gps
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
aaronpoweruser said:
its possible use avast formally theft aware it integrates it self into the rom as root and survives a hard reset as well as offering alot of other features such as sms control and automatically turning n 3g and gps
Click to expand...
Click to collapse
until you wipe and flash a new ROM
ceyo14 said:
I think he wants to save it at /system and have a script or something put the settings back after a rom initiated factory reset...
Click to expand...
Click to collapse
Yes, thats exactly what I meant. I didn't realize, that after factory reset is data partition (/data) wiped. The script could be a good solution.
Of course I know after flashing rom everything will be gone. But I asume if somebody steal/find your phone. He will not be flashing rom at first time. Probably he will make factory reset and insert his sim card. It would be fine to know who is using your phone and where even after factory reset.

[Q] My phone has went mental - any ideas for a fix?

Boy I'm not having great luck with my hardware atm. My Nexus 7 has got some serious lag issue, probably needing a factory restore, and now my SGS2 is playing up and looking like it might need the same. I'd appreciate the help before I go to that - not sure where I am on backups, I think this problem has been lingering for a while unnoticed, and its possible my scheduled Titanium task hasn't worked in a while because of this.
So let me run through. I was trying to update a few apps in the app store, and I got 'the package file is invalid' errors over and over. I was a little confused, and suddenly I was getting a flickering alert for 'low on application space' that would come and go.
I went into applications to see what my space was and it was fine, 400mb free. But I noticed that all of the apps were reading as zero size. I tried removing one I knew was big, and the free space adjusted by a real amount, but no change to the sizes in the listing. I went thru and uninstalled a bunch just to be sure. Even after this, I could still not install any apps without getting the invalid message.
I decided to restart and wipe the cache, thinking maybe something had gone wrong there. No change. All the installed apps were working ok, though, no problems running things. So, I decide that something minor has corrupted, and that a reflash of the current firmware would maybe do the job (which is a stock XEU build of ICS). I have 'Mobile Odin' and keep the current firmware file on the SD just in case. I of course want to run a backup first, so I fire up Titanium, which fails to do the backup, with an error about something catching fire trying to 'do calculation'. I begin to figure that something worse has happened by this point.
I decide to go ahead with the reflash using Mobile Odin. It seems to load fine, I tell it to wipe the cache and so on. The flash goes fine, and the phone reboots. I expected it to go through the little optimising applications thing it does, and true enough I see this box load up, saying 'start applications' and the spinning wheel. Then, it abruptly closes, and I get my home panel...
But here's where it goes severely wrong - every app I can think of now crashes, displaying the 'unfortunately XXX has stopped'. Boxes and boxes, for basically every app that in any way runs at startup, every widget, even my Swift Key and Swipe keyboards. Yikes! After clearing the huge backlog of boxes, I start trying to open stuff, and it quickly becomes apparent that no app will work, save for those that are physically part of the firmware (such as Settings, Messages, Phone, Contacts, Memo, Camera). Basically, unless its a stock app, it's just dead. My SD apps show up as if they aren't found, with the little grey SD box. I can't even open the Play Store to try redownloading an app.
I'm going to try, once I'm home from work, reflashing the firmware using desktop Odin. But, failing that, I will need a factory restore it would seem. Basically, I'm looking help either fixing the problem without a factory restore, or a way to back up my data (messages and app data) in case my Titanium Backups are old or broken.
Thanks :/
Edit: When I do a *#1234#, my CSC comes up as 'Unknown'. Would this cause these issues?
Boot into CWM recovery and fix permissions.
unclebob_2000 said:
Boot into CWM recovery and fix permissions.
Click to expand...
Click to collapse
I don't have CWM recovery installed. Will it be possible for me to install it with the phone in this state? Any reasons why the permissions will have gone like this?
gyaku_zuki said:
I don't have CWM recovery installed. Will it be possible for me to install it with the phone in this state? Any reasons why the permissions will have gone like this?
Click to expand...
Click to collapse
Flash a CF root kernel using desktop Odin, reboot into CWM via hard keys vol+ home and power. Find fix permissions, run it, reboot, hopefully work...
Most apps that aren't granted the right permissions that allow them to fulfil there main task will usually end up in a FC.
Sent from Jelly Fuelled SGS2
Orkane1989 said:
Flash a CF root kernel using desktop Odin, reboot into CWM via hard keys vol+ home and power. Find fix permissions, run it, reboot, hopefully work...
Most apps that aren't granted the right permissions that allow them to fulfil there main task will usually end up in a FC.
Sent from Jelly Fuelled SGS2
Click to expand...
Click to collapse
The phone is already rooted. Can I apply CWM as an update.zip from inside the current recovery?
gyaku_zuki said:
The phone is already rooted. Can I apply CWM as an update.zip from inside the current recovery?
Click to expand...
Click to collapse
Unsure. Most likely not. It would be like running 2 kernels at once... just wouldnt work. Wouldn't risk it. Could hard brick the phone.
Sent from Jelly Fuelled SGS2
First, Post your ROM and kernel details; Goto Settings - About phone, and post everything you see
Sent from my GT-I9100 using Tapatalk 2
Jokesy said:
First, Post your ROM and kernel details; Goto Settings - About phone, and post everything you see
Click to expand...
Click to collapse
No problem -
Model N: GT-I9100
Android V: 4.0.3
Baseband V: I9100XXLPS
Kernel V: 3.0.15-I9100XWLP7-CL340913 [email protected] #3
Build N: IML74K.XWLP7
I ask about the update.zip thing as it is a legitimate way to install CWM recovery according to various guides online.
Thanks for the help guys. Appreciate it.
gyaku_zuki said:
No problem -
Model N: GT-I9100
Android V: 4.0.3
Baseband V: I9100XXLPS
Kernel V: 3.0.15-I9100XWLP7-CL340913 [email protected] #3
Build N: IML74K.XWLP7
I ask about the update.zip thing as it is a legitimate way to install CWM recovery according to various guides online.
Thanks for the help guys. Appreciate it.
Click to expand...
Click to collapse
1. Backup your important data.
2. Uninstall apps you don't use
3. Using a ROOT capable explorer goto /data/app on your phone, delete all .odex files you find there
4. Disable System apps you don't need/use
- Goto Settings - Apps - All - Select the app you want to disable, select FORCE STOP, then DISABLE.
Repeat the step for each app
- Alternatively you can use titanium backup pro to freeze those apps
You can find the list of apps you can disable: here https://spreadsheets.google.com/spr...1gdDJRekl4QmkyNmIzUmRvX2h3UDVkQXc&output=html
5. Boot to recovery (the stock recovery)
- clear cache
- reboot phone.
6. If any user / system app gives you force stop warning, then clear the days of that/those app(s) in settings.
You should notice the difference!
Sent from my GT-I9100 using Tapatalk 2
Jokesy said:
1. Backup your important data.
2. Uninstall apps you don't use
3. Using a ROOT capable explorer goto /data/app on your phone, delete all .odex files you find there
4. Disable System apps you don't need/use
- Goto Settings - Apps - All - Select the app you want to disable, select FORCE STOP, then DISABLE.
Repeat the step for each app
- Alternatively you can use titanium backup pro to freeze those apps
You can find the list of apps you can disable: here https://spreadsheets.google.com/spr...1gdDJRekl4QmkyNmIzUmRvX2h3UDVkQXc&output=html
5. Boot to recovery (the stock recovery)
- clear cache
- reboot phone.
6. If any user / system app gives you force stop warning, then clear the days of that/those app(s) in settings.
You should notice the difference!
Click to expand...
Click to collapse
Thanks for that, but I'm sorry, what? I seem to be missing something - you've answered something that seems to be an entirely different problem! I can't even RUN an explorer let alone grant it root - so I can't reach the ODEXes, which aren't the reason for the FCs anyway.
This 'fix permissions' sounds like a good plan, I just need to know my best method for getting CWM onto the phone given it's state. I think I can use the update.zip method, but I may have to just wait until I can get to a machine capable of running Odin for me, to flash the CF kernel.
gyaku_zuki said:
Thanks for that, but I'm sorry, what? I seem to be missing something - you've answered something that seems to be an entirely different problem! I can't even RUN an explorer let alone grant it root - so I can't reach the ODEXes, which aren't the reason for the FCs anyway.
This 'fix permissions' sounds like a good plan, I just need to know my best method for getting CWM onto the phone given it's state. I think I can use the update.zip method, but I may have to just wait until I can get to a machine capable of running Odin for me, to flash the CF kernel.
Click to expand...
Click to collapse
Ok.
Let me tell you some things you need to know
1. Fix permissions only has much effect on system apps, only if their permission is broken
2. Flashing a new Kernel will never fix many FC
3. Have you booted to recovery and wipe cache? If after doing this and your problem still persist, then you might have perform a Factory Data Reset.
4. Flashing a new firmware via Odin will not dramatically stop Force close errors. You will still need a factory reset to fix that.
Sent from my GT-I9100 using Tapatalk 2
Jokesy said:
Ok.
Let me tell you some things you need to know
1. Fix permissions only has much effect on system apps, only if their permission is broken
2. Flashing a new Kernel will never fix many FC
3. Have you booted to recovery and wipe cache? If after doing this and your problem still persist, then you might have perform a Factory Data Reset.
4. Flashing a new firmware via Odin will not dramatically stop Force close errors. You will still need a factory reset to fix that.
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
I've tried wiping cache in recovery, yes. The only apps that run are the system ones. I can't explain why permissions may have been broken on the other apps, but it may be the case, so I'd like to try it. And, it was a flash via (Mobile) Odin CAUSED the FCs, so I don't know if that's true. Regardless, I'm heading home now, I can try flashing the CWM and run the fix permissions, and otherwise I need to figure out a backup solution before I factory restore.
I don't mean this wrong, but I'd prefer you don't just throw generic (yet good for general faults) advice if you don't have personal knowledge of the particular problem. It could be misleading.
gyaku_zuki said:
I don't mean this wrong, but I'd prefer you don't just throw generic (yet good for general faults) advice if you don't have personal knowledge of the particular problem. It could be misleading.
Click to expand...
Click to collapse
You know my aim wasn't to mislead you but to help. I actually missed somethings in your Original post like "Every apps now doesn't work" etc
Because the only apps that run now are the system apps proves that there is something wrong in the /data partition, a location where all user apps, settings etc are stored.
Anyway, it's always very good to try all other means possible before factory reset.
Sent from my GT-I9100 using Tapatalk 2
Jokesy said:
You know my aim wasn't to mislead you but to help. I actually missed somethings in your Original post like "Every apps now doesn't work" etc
Because the only apps that run now are the system apps proves that there is something wrong in the /data partition, a location where all user apps, settings etc are stored.
Anyway, it's always very good to try all other means possible before factory reset.
Click to expand...
Click to collapse
Oh, I'm sorry, I wasn't trying to offend you or have a go. I appreciate all the help about to try flashing the rooted CWM kernel, to try the permissions fix. If that doesn't work, I need to figure out some way of doing a backup of sorts, before I do a restore :crying:
UPDATE: After flashing the CF-Kernel to access CWM, I'm getting a message I'm unfamiliar with "The System UIDs are inconsistent" yadda yadda factory reset. I'm currently 'fixing permissions' It looks like it's stalled, but it may just take a while. I have a lot of apps. Anyone understand the UIDs message in my context?
Update 2: Had to factory restore, but was able to restore almost everything with no problems from a CWM nandroid backup. Thanks for the help.

Boot Password?

Is there such a thing?
If my phone ever gets stolen, I'll just consider it gone. The first thing anyone with half a brain will do is power it off and pull the sim. By having a boot password I'll ensure they can't use my data and have to wipe the phone.
Godfrd824 said:
Is there such a thing?
If my phone ever gets stolen, I'll just consider it gone. The first thing anyone with half a brain will do is power it off and pull the sim. By having a boot password I'll ensure they can't use my data and have to wipe the phone.
Click to expand...
Click to collapse
this would be a great thing, like a bios password
I believe that Ice Cream Sandwich and later will let you encrypt your entire device so that you need to enter a password to decrypt it each time you boot.
The password is entered at the lock screen.
I haven't personally tried it because it appears to prevent custom recoveries from accessing data on the phone.
See http://forum.xda-developers.com/showthread.php?t=1388977 for more information.
Sent from my Nexus 10
If you have a password at the lock screen, files cannot be accessed via USB as it won't mount the /sdcard until after the password has been entered. But if you have a recovery installed then someone could just mount the sdcard from within that.
The thief would have to know what recovery is first. What are the odds of that happening? If you do end up getting your phone stolen by a thief with tech knowledge about Android, then consider it your bad luck and forget about it.
On a side note, use Cerberus. It's a hell of an app and you can remotely wipe data off your phone and SD card via www.cerberusapp.com or using SMS via the Cerberus client app (if your phone's internet is disabled).
sashank said:
On a side note, use Cerberus. It's a hell of an app and you can remotely wipe data off your phone and SD card via www.cerberusapp.com or using SMS via the Cerberus client app (if your phone's internet is disabled).
Click to expand...
Click to collapse
Wow! I didn't know about Cerberus. I'm going to have to try this out some time. I especially like the idea of being able to take pictures of the thief.
Sent from my Nexus 10
It's brilliant. And for the very minimal amount that you have to pay for a lifetime license (~$4.5), you get to use up to 5 devices with your account. The best way to install Cerberus if you're rooted is to download the flashable zip from their website and flash it. Or copy the Cerberus apk to /system partition and set permissions. That way, even if the thief factory resets the device, the app will remain in the /system partition and still be active. Unless the thief knows how to go into recovery, wipe system and flash a new ROM (highly unlikely), Cerberus will always be there to work when required. If you install it from Play Store then it goes into the /data partition and gets removed when a factory reset is done.
Sent from my Desire HD using xda premium
Need help
Hi, i hv htc one v and i want to root it, i tried bt failed. Cd u pls help me....?
reset to factory setting with starting the phone
What if the phone is reset to factory setting with starting the phone? There is an option to do that with out starting the phone by pressing the down volume key and the power key.

[SOLVED] deleted gatekeeper.pattern.key ! now can't lock again

I have a silly problem, I had freshly installed the unofficial CM14.x and between all the new settings forgot the Lockscreen pattern. Since i didn't want to try factory reset and other solutions without data loss didn't wird, I searched a bit and erasted the /data/system/gatekeeper.pattern.key via ADB ! It actually helped passing through lockscreen, but now I can't set any new lock (none of the options tough) / I can't go to the option… I get dropped out with an error…
What can I do??
roshak said:
What can I do??
Click to expand...
Click to collapse
Open thread in right section.
CheckYourScreen said:
Open thread in right section.
Click to expand...
Click to collapse
Well, I guessed that users in the Q&A/Troubleshoot section wouldn't have much clue about manipulating Android's /data/system/. . . files and apparently I was true! No reply since 3-4 days
roshak said:
Well, I guessed that users in the Q&A/Troubleshoot section wouldn't have much clue about manipulating Android's /data/system/. . . files and apparently I was true! No reply since 3-4 days
Click to expand...
Click to collapse
Chill.
You able to access your files and data?
Just open settings and change the screen lock to "none" or "swipe", then select pin/password and set your own.
It should fix it.
If it doesnt then make a backup of your data and clean flash stock rom by wiping system,cache and data (not internal sd).
CheckYourScreen said:
Chill.
You able to access your files and data?
Just open settings and change the screen lock to "none" or "swipe", then select pin/password and set your own.
It should fix it.
If it doesnt then make a backup of your data and clean flash stock rom by wiping system,cache and data (not internal sd).
Click to expand...
Click to collapse
Says right in the in original post that he can't set any new lock with any of the options, it just crashes. I think he's got not choice but a re-flash.
As @Tanner1294 noticed. I can't change the locksreen options anymore and that's the problem (I can't use the device without lock! But I wouldn't)
backing up data may work or maybe not, because the missing files could be under data… But I'll give it a try.
I don't know why I couldn't replace the screen password via Google Device Manager… The device was recognised and the pass and message has been sent to it, but i couldn't interact with it at all! only "emergency call" was touchable If it's an issue in Android 7.x or CM14.x dunnow
Maybe dirty flashing the ROM again will help
mcmarius said:
Maybe dirty flashing the ROM again will help
Click to expand...
Click to collapse
didn't work!
roshak said:
As @Tanner1294 noticed. I can't change the locksreen options anymore and that's the problem (I can't use the device without lock! But I wouldn't)
backing up data may work or maybe not, because the missing files could be under data… But I'll give it a try.
I don't know why I couldn't replace the screen password via Google Device Manager… The device was recognised and the pass and message has been sent to it, but i couldn't interact with it at all! only "emergency call" was touchable If it's an issue in Android 7.x or CM14.x dunnow
Click to expand...
Click to collapse
Make a backup of contacts,sms, apps(or just download from playstore) or use titanium backup if you want app data also.
And clean flash rom.
Forget everything and clean flash after making backup.
That file is related to system and has to be present in /data/system/ so will remain excluded from backups you make.
Make sure you clean flash rom.
CheckYourScreen said:
Make a backup of contacts,sms, apps(or just download from playstore) or use titanium backup if you want app data also.
And clean flash rom. . .
Click to expand...
Click to collapse
If I only knew how I can re-install my selection of apps straightforward, I wouldn't hesitate about clean flash; I don't worry about my files, contacts etc.
I'll try to figure out, how Titanium Backup works… Thanks for advice
The problem is now solved without reflashing etc.
I just had to know which other files need to be removed in addition to /data/system/gatekeeper.pattern.key
they were locksettings.db locksettings.db-wal locksettings.db-shm from the same directory!
So i removed them, whatever they may contain
then rebooted to system and everything was on the rail, i could pick a lockscreen method again.
PS: I haven't imagined that havong debugging mode enabled could make an Android system so unsecure though!
roshak said:
If I only knew how I can re-install my selection of apps straightforward, I wouldn't hesitate about clean flash; I don't worry about my files, contacts etc.
I'll try to figure out, how Titanium Backup works… Thanks for advice
Click to expand...
Click to collapse
Titanium backup is godly makes transitioning between ROMs a breeze like you never left your setup. In TB app top right corner is a blank page with check mark on it. In there you can backup/restore large chunks of apps and data. After a fresh install rooted first thing install is TB and got to that section restore and choose what you want from backup. System apps can be backup also but will find some won't work on other ROMs. Regular apps will have no such issues. There is also TB sms backup. To use that you must set TB as default sms app. Restore sms then revert back to regular sms app and open. There all your messages will be restored.
roshak said:
The problem is now solved without reflashing etc.
I just had to know which other files need to be removed in addition to /data/system/gatekeeper.pattern.key
they were locksettings.db locksettings.db-wal locksettings.db-shm from the same directory!
So i removed them, whatever they may contain
then rebooted to system and everything was on the rail, i could pick a lockscreen method again.
PS: I haven't imagined that havong debugging mode enabled could make an Android system so unsecure though!
Click to expand...
Click to collapse
You shouldn't delete " /data/system/gatekeeper.pattern.key" as "locksettings.db locksettings.db-wal locksettings.db-shm" contain your lock screen pattern. So to remove pattern just delete these files. Android device manager won't work if it reads that your device has already a pattern/PIN enabled. I guess it worked a while ago on password protected devices as well but not anymore.

Categories

Resources