Related
Just installed Elelinux-7.1.0-Hero-v2.1, poked around in Dev Tools, and apparently turned on some debugging feature I should not have. Now my phone goes into a reboot loop. It isn't a full reboot... only the Android boot animation is shown, not the initial HTC splash screen. It makes it up to the lockscreen and the phone is responsive for about 10 seconds before it freezes up and reboots.
This isn't enough time for me to unlock the screen, open the app drawer, run Dev Tools, and change back the setting before the phone reboots. Is there another way of manually clearing the Dev Tools settings without having to do a factory wipe?
Since I can't get into Dev Tools now, I cannot say which options were enabled. I turned on one that shows the touch coordinates, and I think another that shows the running processes (trying to track down battery drain issues). There may have been a couple of others, but due to the delay in the reboot, it's hard to tell exactly which one is the culprit.
So I'm hoping there is some way to bring up the phone in single-user mode, edit or delete a settings file, and then rebooting the phone. I'm using the AmonRA recovery console, if that helps.
I'd just reflash...
Yeah, there isn't much on the phone yet, so I could do a wipe and not lose anything, but I'd rather see if there is a way to recover in case something like this happens again in the future.
I did find an issue tracker page on Google that describes the problem, and a couple of proposed fixes. I'm not allowed to post links yet, so demangle this to bring up the page. I'm going to try editing the settings.db file and hopefully that will fix things:
ht tp://code.google.com/p/cyanogenmod/issues/detail?id=1026
Hooray, editing the settings.db file worked! I followed the suggest posted by cryptographrix in post #14 of the code.google.com thread:
Code:
$ [B]./adb shell[/B]
/ # [B]mount /data[/B]
/ # [B]mount /system[/B]
/ # [B]/system/xbin/sqlite3 ./data/data/com.android.providers.settings/databases/settings.db[/B]
SQLite version 3.7.2
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> [B].header ON[/B]
sqlite> [B]select * from system where name="show_processes";[/B]
_id|name|value
109|show_processes|1
sqlite> [B]update system set value=0 where name="show_processes";[/B]
sqlite> [B]select * from system where name="show_processes";[/B]
_id|name|value
109|show_processes|0
sqlite> [B].quit[/B]
/ # [B]reboot[/B]
I am running CM
So I disabled the slider unlock, but it stopped recognizing my gesture for some reason and I cannot figure out how to login to my phone. Running stable build of CM7.1, not sure if I can change that setting somehow from ADP or do something from a terminal... Any ideas?
When I say gesture, I am not referring to the password based on the motion with the dots, I am saying the screen where the unlock / silent toggle was has been disabled and I cannot get passed there.
Your help is appreciated
Did u try unlock with menu button?
I remember that from cm7
Sent from my MB525 running 4.5.1-134 DFP 231 DEFY+ ROM...
using XDA App
No menu button doesn't do anything....
Do you know WHERE this "Slider Disabled" setting is stored? I could go in thru ADB and change it but I don't know where to look.
Here are the things I have tried already
----
Attempt 1:
$ ./adb -d shell
# cd data/data
# sqlite3 ./com.android.providers.settings/databases/settings.db
sqlite> update system set value=1 where name='lockscreen_disabled';
sqlite> .exit
# reboot
Attempt 2:
adb shell
input keyevent 82
---
Neither of these worked. I think the solution should be in the updating the settings.db, but maybe its a different row/record that contains "ENABLE slider"?
Help would be appreciated!
could deleting the the offending theme restore to normal?? Just thinking out loud here ^^
don't know much about adb
Okay. No help here, but I found a fix and I thought i would share it since I have seen that apparently other people have had this problem with no help as well other than "Wipe and reinstall rom"
This app fixed it!
https://market.android.com/details?id=se.curity.android.screenlockbypass
Just make sure you follow the instructions, you have to install the app, than install any other random app and BAM- unlocked phone! Sweet
I purchased a Nokia 6 recently and noticed it doesn't support Korean. The default language is English but I need Korean keyboard for messaging or searching. Can anyone guide me how to add an unsupported language to the keyboard?
GrumpyKK said:
I purchased a Nokia 6 recently and noticed it doesn't support Korean. The default language is English but I need Korean keyboard for messaging or searching. Can anyone guide me how to add an unsupported language to the keyboard?
Click to expand...
Click to collapse
Google has a separate keyboard for Korean - you can find it here: https://play.google.com/store/apps/details?id=com.google.android.inputmethod.korean
Actually, the you can even switch the interface to Korean as well, but it requires a bit of command-line knowledge. My Nokia 6 is in Korean now:
could you explain how you changed the language with a bit of command line knowledge? much appreciated!!!
Lukevanrich said:
could you explain how you changed the language with a bit of command line knowledge? much appreciated!!!
Click to expand...
Click to collapse
No problem. First, you need to download an app to change your language. There are lots of them on the Play Store - the one I use is MoreLocale: https://play.google.com/store/apps/details?id=jp.co.c_lis.ccl.morelocale
Since normal apps are not allowed to change language on Android, you have to grant them a special permission.
First, enable USB debugging on your phone. Assuming you're on Oreo, go to Settings > System > Phone information and quickly tap on Build number until a message that says "Congratulations, you are now a developer" appears. Then go to Settings > System > Developer options and turn on USB debugging.
Second, install ADB on your computer by following this guide: https://www.xda-developers.com/install-adb-windows-macos-linux/
Next, connect your phone with your computer. Open a command prompt window from where you installed ADB, then type this command: adb shell pm grant jp.co.c_lis.ccl.morelocale android.permission.CHANGE_CONFIGURATION
Finally, open the app and tap on your preferred language. If it's not in the list, tap the three-dot button and choose Add locale.
This change sticks even after reboots and updates so you can delete the app. However, don't delete the added language from the language list in Settings or you'll have to add it again.
So the Lockscreen on my new HD 10 is pretty garbage, so far I've managed to get rid of the ads, but I can't change the Lockscreen wallpaper and I don't get any preview of a notification (e.g. the mail subject etc.)
Is there a workaround for those problems? Because simply isntalling a new lockscreen app, just makes me unlock my tablet twice, which isn't ideal.
Did you manually disable com.amazon.kindle.kso (special offers/lockscreen ads) over ADB in fire os 5.4.0.0 or lower using the method DragonFire1024 posted? If so, then yes, I found a fix that allows you to see notifications on the lockscreen without swiping down, more like the stock Android 5.x lockscreen.
lakitu47 said:
Did you manually disable com.amazon.kindle.kso (special offers/lockscreen ads) over ADB in fire os 5.4.0.0 or lower using the method DragonFire1024 posted? If so, then yes, I found a fix that allows you to see notifications on the lockscreen without swiping down, more like the stock Android 5.x lockscreen.
Click to expand...
Click to collapse
I did it over adb yes, but on the newest release of fire OS (5.6)
wieli99 said:
I did it over adb yes, but on the newest release of fire OS (5.6)
Click to expand...
Click to collapse
I thought Amazon broke the ability to disable apps over ADB with the release of 5.4.0.1. Did that not affect the new 2017 HD 10?
Sent from my Amazon KFGIWI using XDA Labs
lakitu47 said:
I thought Amazon broke the ability to disable apps over ADB with the release of 5.4.0.1. Did that not affect the new 2017 HD 10?
Click to expand...
Click to collapse
It works for me in adb shell with
pm clear --user 0 com.amazon.kindle.kso
Well, I don't know if this will work with your exact tablet, but try this:
1. If you haven't already, get the Google Play store/services on your tablet
2. Download this app without the quotes: "https://play.google.com/store/apps/details?id=by4a.setedit22&hl=en"
3. Follow on-screen instructions to grant tablet permission to edit secure settings (worked on 2 devices on 5.6)
BE CAREFUL WHAT YOU EDIT. If you change the wrong settings, your tablet can and probably bootloop or get bricked.
4. Go to the "secure" tab, scroll down to "limit_ad_tracking" and change value to 1
5. Go to "global" tab, scroll down to "LOCKSCREEN_AD_ENABLED" and change value to 0. Immediately reboot your device.
This was tested and worked on two HD 8 tablets on 5.6, with special offers manually disabled on 5.4. Since Amazon still thinks you are subscribed to special offers (ads), the notifications are hidden. This workaround actually makes the ads gone (hopefully), so the notifications will appear as soon as you turn on the screen, without a swipe down gesture.
Open up command prompt. Type in "adb shell", Then type in "su"
Then copy this into command prompt.
sqlite3 /data/system/locksettings.db "UPDATE locksettings SET value = '1' WHERE name = 'lockscreen.disabled'"
You will not get a confirmation, now type "exit", then type "reboot".
Let the device reboot and enjoy! Now install a new lockscreen.
Want it back?
sqlite3 /data/system/locksettings.db "UPDATE locksettings SET value = '0' WHERE name = 'lockscreen.disabled'"
*This is messing with the sqlite in the actual android system files, please becareful and don't go around changing values in system files.
source: Tips Tricks and the Root
Jned said:
Open up command prompt. Type in "adb shell", Then type in "su"
Then copy this into command prompt.
sqlite3 /data/system/locksettings.db "UPDATE locksettings SET value = '1' WHERE name = 'lockscreen.disabled'"
You will not get a confirmation, now type "exit", then type "reboot".
Let the device reboot and enjoy! Now install a new lockscreen.
Want it back?
sqlite3 /data/system/locksettings.db "UPDATE locksettings SET value = '0' WHERE name = 'lockscreen.disabled'"
*This is messing with the sqlite in the actual android system files, please becareful and don't go around changing values in system files.
source: Tips Tricks and the Root
Click to expand...
Click to collapse
do you have to have root for this? i did su and it said, " su not found."
Jned said:
Open up command prompt. Type in "adb shell", Then type in "su"
Then copy this into command prompt.
sqlite3 /data/system/locksettings.db "UPDATE locksettings SET value = '1' WHERE name = 'lockscreen.disabled'"
You will not get a confirmation, now type "exit", then type "reboot".
Let the device reboot and enjoy! Now install a new lockscreen.
Want it back?
sqlite3 /data/system/locksettings.db "UPDATE locksettings SET value = '0' WHERE name = 'lockscreen.disabled'"
*This is messing with the sqlite in the actual android system files, please becareful and don't go around changing values in system files.
source: Tips Tricks and the Root
Click to expand...
Click to collapse
Like that one eh? That was one of the first ones I found. Works without root too.
wieli99 said:
So the Lockscreen on my new HD 10 is pretty garbage, so far I've managed to get rid of the ads, but I can't change the Lockscreen wallpaper and I don't get any preview of a notification (e.g. the mail subject etc.)
Is there a workaround for those problems? Because simply isntalling a new lockscreen app, just makes me unlock my tablet twice, which isn't ideal.
Click to expand...
Click to collapse
Personally, I'd suggest just rooting it and disabling it. I did it a few months ago on my Dad's HD10 by following one of the guides here- I just can't remember which one, but it was simple. I also installed Gravity Screen Pro since I have his set up more like a laptop. The screen turns on/off when opened/ closed without ever having to see a lock screen. I might stop by my parents today (depending on the weather) and if i do, I'll try to trace my steps and link the guide I followed
dondraper23 said:
Personally, I'd suggest just rooting it and disabling it. I did it a few months ago on my Dad's HD10 by following one of the guides here- I just can't remember which one, but it was simple. I also installed Gravity Screen Pro since I have his set up more like a laptop. The screen turns on/off when opened/ closed without ever having to see a lock screen. I might stop by my parents today (depending on the weather) and if i do, I'll try to trace my steps and link the guide I followed
Click to expand...
Click to collapse
There are also a few Xposed modules that work too.
Sent from my Samsung Galaxy S4 using XDA Labs
wieli99 said:
So the Lockscreen on my new HD 10 is pretty garbage, so far I've managed to get rid of the ads, but I can't change the Lockscreen wallpaper and I don't get any preview of a notification (e.g. the mail subject etc.)
Is there a workaround for those problems? Because simply isntalling a new lockscreen app, just makes me unlock my tablet twice, which isn't ideal.
Click to expand...
Click to collapse
I followed this guide: https://forum.xda-developers.com/hd8-hd10/help/root-required-completely-disable-enable-t3739257
I just had to do it again today because attempted to use Xposed and wound up getting in over my head and got caught in a bootloop, but at least I can reaffirm that this guide works
---------- Post added at 07:56 AM ---------- Previous post was at 07:49 AM ----------
DragonFire1024 said:
There are also a few Xposed modules that work too.
Sent from my Samsung Galaxy S4 using XDA Labs
Click to expand...
Click to collapse
I love all your posts- it's your guide I followed to disable the lockscreen. Unfortunately, Xposed is a bit much for a "noob" like me. I attempted to install it and got caught in a bootloop and had to do a factory reset. Considering what my dad uses it for, the negatives far outway the positives for me to bother with Xposed ever again
After I installed google play store on the latest fire HD 10, i wanted to install the gboard app so I could dictate text instead of typing. But unfortunately I cannot change to another keyboard in the settings of fire OS. Is there any possibility or solution?
Marfabio said:
After I installed google play store on the latest fire HD 10, i wanted to install the gboard app so I could dictate text instead of typing. But unfortunately I cannot change to another keyboard in the settings of fire OS. Is there any possibility or solution?
Click to expand...
Click to collapse
You can change the keyboard using ADB:
Code:
//Enter ADB shell
adb shell
//Open input method listed
ime list -a
//Enable the alternate input method
ime enable com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME
//Set it
ime set com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME
The last command doesnt seem to work. Is the device to be rooted before?
BTW: I could activate GBoard but I doesnt seem to work when I use the speak function.
BTW: now , i entered the correct code which u wrote. But still did not work.
Exception occurred while executing:
java.lang.IllegalArgumentException: Unknown id: com.amazon.redstone/.FireKeyboardService
at com.android.server.InputMethodManagerService.setInputMethodEnabledLocked(InputMethodManagerService.java:4017)
at com.android.server.InputMethodManagerService.handleShellCommandEnableDisableInputMethod(InputMethodManagerService.java:4988)
at com.android.server.InputMethodManagerService.access$1600(InputMethodManagerService.java:189)
at com.android.server.InputMethodManagerService$ShellCommandImpl.onCommand(InputMethodManagerService.java:4779)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.InputMethodManagerService.onShellCommand(InputMethodManagerService.java:4745)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at com.android.internal.view.IInputMethodManager$Stub.onTransact(IInputMethodManager.java:486)
at com.android.server.InputMethodManagerService.onTransact(InputMethodManagerService.java:1511)
at android.os.Binder.execTransact(Binder.java:731)
AmznUser444 Dev said:
You can change the keyboard using ADB:
Code:
//Enter ADB shell
adb shell
//Open input method listed
ime list -a
//Enable the alternate input method
ime enable com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME
//Set it
ime set com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME
Click to expand...
Click to collapse
Marfabio said:
The last command doesnt seem to work. Is the device to be rooted before?
BTW: I could activate GBoard but I doesnt seem to work when I use the speak function.
BTW: now , i entered the correct code which u wrote. But still did not work.
Exception occurred while executing:
java.lang.IllegalArgumentException: Unknown id: com.amazon.redstone/.FireKeyboardService
at com.android.server.InputMethodManagerService.setInputMethodEnabledLocked(InputMethodManagerService.java:4017)
at com.android.server.InputMethodManagerService.handleShellCommandEnableDisableInputMethod(InputMethodManagerService.java:4988)
at com.android.server.InputMethodManagerService.access$1600(InputMethodManagerService.java:189)
at com.android.server.InputMethodManagerService$ShellCommandImpl.onCommand(InputMethodManagerService.java:4779)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.InputMethodManagerService.onShellCommand(InputMethodManagerService.java:4745)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at com.android.internal.view.IInputMethodManager$Stub.onTransact(IInputMethodManager.java:486)
at com.android.server.InputMethodManagerService.onTransact(InputMethodManagerService.java:1511)
at android.os.Binder.execTransact(Binder.java:731)
You can change the keyboard using ADB:
Click to expand...
Click to collapse
Gboard is activated or not.
Try it another way:
Code:
adb shell
settings put secure enabled_input_methods com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME
settings put secure default_input_method com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME
AmznUser444 Dev said:
Gboard is activated or not.
Try it another way:
Code:
adb shell
settings put secure enabled_input_methods com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME
settings put secure default_input_method com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME
Click to expand...
Click to collapse
THX, this works fine and GBOARD is activated.
But my problem is when I click on the microphone and speak, it listens and I can see the mic is working. But unfortunately, no text appears then. I already deactivated Alexa.
Also tried your advice in this thread, but it does not work. https://forum.xda-developers.com/hd8-hd10/help/amazon-fire-hd8-2018-gboard-microphone-t4067139
Marfabio said:
THX, this works fine and GBOARD is activated.
But my problem is when I click on the microphone and speak, it listens and I can see the mic is working. But unfortunately, no text appears then. I already deactivated Alexa.
Also tried your advice in this thread, but it does not work. https://forum.xda-developers.com/hd8-hd10/help/amazon-fire-hd8-2018-gboard-microphone-t4067139
Click to expand...
Click to collapse
I have got the same problem on the Fire HD 10 and Fire 7 (2019) (not rooted or unlocked). I could enable Google Assisant and Google Voice Search but Voice Input with Gboard and Youtoube Kids does not work!
After enabling Google Voice Input in the Settings a messages appears "Note: After a reboot, this app can't open until you unlock your Fire."
How do I fix this problem?
no dictation
beckerheinz said:
I have got the same problem on the Fire HD 10 and Fire 7 (2019) (not rooted or unlocked). I could enable Google Assisant and Google Voice Search but Voice Input with Gboard and Youtoube Kids does not work!
After enabling Google Voice Input in the Settings a messages appears "Note: After a reboot, this app can't open until you unlock your Fire."
How do I fix this problem?
Click to expand...
Click to collapse
I just bought a new fire HD 10 and have the same problem. Did you ever find a fix ?
bigredlions said:
I just bought a new fire HD 10 and have the same problem. Did you ever find a fix ?
Click to expand...
Click to collapse
No, sorry! No solution yet! :crying:
Same problem here. What's strange is that I bought two Fire HD 8+ tablets... Setup (basically) the exact same way. Voice typing works on one but not the other! So frustrating...
Anyone else have any other ideas or success?