[Q] android 2.2 system file deleted - Android Q&A, Help & Troubleshooting

Hello, I have a problem with my device.
Phone: LG P500
Current soft: rooted Android 2.2 Froyo
I accidentaly deleted a file in my phone using Root Browser, which disabled my "home" button, screen lock and "phone options" when I long press a "screen lock" button.
When I click "home" button, nothing happens, only the buttons are highlightins so I am sure that it is not a mechanical problem.
Pressing screen lock turns screen off but doesnt lock it.
Long pressing screen lock button enables "phone options" where I usually had "airplane mode", "silent mode" and "turn device off". Now only "turn device off" is available, the rest just vanished.
Also, when I turn the screen off, my device automatically disconnects with Wi-Fi.
Is there any way I could get my deleted files back? If yes, please post any help here. I will be very grateful.

Related

Problem with m-service message

Hi, sometimes it happens that when I unlock the phone (slider), I get the message "automatic m-service synchronisation" and I can choose between "ok" or "cancel".
But whatever I choose, I can't go further.
I have to press ok/cancel rapidly and in between try to unlock the screen.
Then I can press the home button (also rapidly) and suddenly the message goes away allowing me to work with the phone.
I searched eveyware, but I can't find something to check/uncheck.
(automatic synchronistaion is off for my accounts)
Any ideas?

[Q] Unlock on power button long press?

Hi everyone. I need to be able to skip the swipe screen and unlock the phone by long pressing the power button. On short press, it should act regularly (waking up and showing the swipe screen). I've tried "No Lock", "Autolock" and "My Lock Utility" but these unlock the phone immediately after pressing the power button
I think this would be the ideal combination of functionality.
My phone is Motorola Atrix.
Thanks in advance
I dont think this will work
You must make a kind of custom rom including this function and u have to implement this function on ur own :/

Can't receive calls, home button not working, can't lock.

My phone froze on me and I put out the battery but I noticed that :
1. I cannot receive calls. I can make calls, but when anyone calls me, it will ring twice on their end and then go to voice mail. My phone does not react at all.
2. My phone will not use the security grid. It will not enable either by widget or by going to the phones menu > security and enabling it. You can enable it, power phone off and back on and it goes right to the desktop. No lock screen period.
3. The home and search buttons on the bottom of the phone do not function. They vibrate like they are working but will they will not do anything.
4. And finally, when doing a long press on the power button, the airplane mode and other options do not appear. The only option available is the "Power Off" button.
Please, if anyone has experienced this or has an idea on how to fix this issue or what caused it, please let me know.

[root] Turn off and lock screen from shell on device (i.e. through Termux)

I've got a rooted Android 7.1 device (with LineageOS).
I want to use Termux to force the screen to immediately turn off and lock, in such a way that I can usually keep the setting "Power button instantly locks" set to false so that pressing the hardware power button will turn off the screen but not lock (except for the "Automatically lock" after 30 seconds etc).
I know there is the Device Manager API that would let an app do this - but I'd like to do it from Termux if possible (so that I don't need to make an app).
I can run this in Termux:
Code:
su -c "/system/bin/input keyevent 26
and get the screen to turn off, but since this is exactly like pressing the hardware button it will not lock unless I have the "Power button instantly locks" setting enabled.
What I'm thinking is, could I manually change the settings database to briefly enable the instant lock, then fire the key event, then turn the setting off again? Any other suggestions?
I found a reference ( groups.google.com/d/msg/android-porting/9aDv9MPWx4M/KxPHoglH7EUJ ) for changing the settings using an sqlite3 command, but I don't know which setting is instant lock would be (or if this is safe to do in newer Android versions).
Partial workaround
It doesn't solve the problem entirely, but I've found that using the "Smart Lock" feature sort of does what I want - keeping the phone unlocked when pressing the lock button.
I have set Smart Lock to enabled "On-body detection", so now while I'm holding the phone or have it on my person it won't lock when I press the lock button. I can force it to lock (and require the PIN) by first locking, then unlocking and pressing the padlock icon at the bottom of the lock screen.
This isn't quite what I wanted but comes pretty close, basically I can use the lock button to turn the screen off and can then also make my phone secure if I need it to be.

Question Zenfone 9, phone can be shut down without unlocking.

So if the phone is locked, anyone without the password or proper authentication can turn on the phone then hold the power button and shut it down.
Other phones ask you to unlock the phone in order to do that so that unauthorized people can't mess with your phone.
Any help on how I can secure my device?
Thanks
It's very standard behaviour in Android phones, long press of the power button shows up the power menu with the usual "Power off" , "Reboot" and "Emergency" even if the phone is locked.
Double press the power button also usually open the default cam app (and anyone can take pics without even unlocking the phone)
If you want to disable this you can go to the settings and disable the long press power off option and the double press option
: Settings -> Advanced -> Smart Key : Disable double press and Disable press&hold
But be aware if you disable the press&hold option the only way to reboot the Zenfone 9 will be from Power icon located in the bottom right of the completely expanded notifications panel
Also if you hold power + vol down for 12s (short is screenshot) it will do a force reboot. There is a combination for almost all android phones to do this

Categories

Resources