[Q] Change/Fix ROM Settings/Menu Options via ADB - Android Q&A, Help & Troubleshooting

Hello,
Rather an unusual problem, i dont intentionally want to go the difficult ADB way, being the novice I am. However I cannot access a usual settings in my current favorite ROM, so I need a way to get to it.
I have been using this ROM on my S4 i9500. I am unable to find an option in the ROM for Day Dream. In other ROMs, when on the daydream setting screen, there is option via the menu button, to choose when the DayDream should work "While Charging" or "While Docked" on while on either of them.
In Ozcan 6.3 ROM we can only choose the daydream to be ON or OFF, the menu button does not work to let us choose the conditions for daydream.
In my case I have a Samsung multimedia dock which I normally use for charging as well. So when I dock the phone , it is recognized as "Docked" hence the daydream is never activated. Otherwise if I simply connect a charger to mobile, the daydream starts after a while.
So I need to know is there a way we can change this settings to be able to daydream also when the phone is DOCKED, it serves me well as being a bed side alarm clock.
I guess there should be a way to change this settings directly via the ROM settings files or via ADB. Only need your guidance and support to know how.
Hope I was able to explain my problem.
Thanks.

Related

ONEPLUS ONE stuck in setup after unlocking / enable USB debugging with broken screen

Hey, I'm currently on the Oneplus One and have never had problems with it. A few weeks ago however, i dropped it with flipcase from 30 cm not really hard or something, no physical damage visible. But at first the touchscreen didn't respond at all and after rebooting, everything worked except for a 2 cm stripe of the lower touchscreen + capacitive buttons.
So i wanted to root it and find options to workaround this issue. But in order to do that, I needed to unlock it and delete all of the userdata + settings, so basically a factory reset. (see android-hilfe (Dot) de/thema/how-to-oneplus-one-rootanleitung-unlock-recovery-rootvorgang-von-a-z.596012/ )
Now I'm pretty much stuck in the cyanogenmod setup (set language etc.) where I can't the option 'Next' due to the broken touchscreen in the lower section (see drive.google (Dot) com/file/d/0BwIC1YNaC4EMTEdOaHYycU15T0U/view?usp=sharing )
It's really a stupid reason why I can't continue and because of that, I can't enable USB Debugging and, of course, adb. Fastboot is enabled, TWRP is installed. Any way to bypass the setup or enable USB debugging from the PC (that wouldn't really solve the CM setup issue though)
Thanks for the help!
Maybe an easier solution: Get a USB OTG cable and use a mouse and/or keyboard to get through the set up. Once you do, you can use something like LMT Launcher (my favorite) and set it up to activate from a side swipe and you'll be able to get around the phone decently.
es0tericcha0s said:
Maybe an easier solution: Get a USB OTG cable and use a mouse and/or keyboard to get through the set up. Once you do, you can use something like LMT Launcher (my favorite) and set it up to activate from a side swipe and you'll be able to get around the phone decently.
Click to expand...
Click to collapse
Is it possible to control the phone without USB debugging activated?
es0tericcha0s said:
Maybe an easier solution: Get a USB OTG cable and use a mouse and/or keyboard to get through the set up. Once you do, you can use something like LMT Launcher (my favorite) and set it up to activate from a side swipe and you'll be able to get around the phone decently.
Click to expand...
Click to collapse
Omg thank you, I was really frustrated but it worked!
Glad to be of service!

Nordictrack Commercial 2950 Android tablet

Just got this treadmill and it’s basically a 23” android tablet connected to the treadmill. Thanks to another thread here, I managed to get into “privilege mode” which allows you to access the android shell and settings. For others looking for this info, instructions to get into this mode are
1. In the ifit app go into settings
2. Tap on maintenance
3. In the blank space below the maintenance settings, tap rapidly, around 10-20 times
4. “Privileged mode” will show up as a message at the bottom of the screen
5. Swipe up from the bottom edge and you will see the android taskbar, tap on the circle and you will go to home, now you can access android settings
I do not know how to turn off this mode. However it seems to be ok, only difference is that the treadmill will boot to android home, then launch the ifit app, which may be disconcerting to some SO sharing the device.
Now on to the hard part, it’s running 7.1.2, so I assume after going into settings and turning on install from other sources, I could side load. Nope, browser crashes every time when I try to download something, eg apk file.
There is no user accessible USB port, any idea what I should do or side load stuff like Netflix? YouTube on the browser seems to work though.... any help here would be much appreciated!!
jkkw said:
Just got this treadmill and it’s basically a 23” android tablet connected to the treadmill. Thanks to another thread here, I managed to get into “privilege mode” which allows you to access the android shell and settings. For others looking for this info, instructions to get into this mode are
1. In the ifit app go into settings
2. Tap on maintenance
3. In the blank space below the maintenance settings, tap rapidly, around 10-20 times
4. “Privileged mode” will show up as a message at the bottom of the screen
5. Swipe up from the bottom edge and you will see the android taskbar, tap on the circle and you will go to home, now you can access android settings
I do not know how to turn off this mode. However it seems to be ok, only difference is that the treadmill will boot to android home, then launch the ifit app, which may be disconcerting to some SO sharing the device.
Now on to the hard part, it’s running 7.1.2, so I assume after going into settings and turning on install from other sources, I could side load. Nope, browser crashes every time when I try to download something, eg apk file.
There is no user accessible USB port, any idea what I should do or side load stuff like Netflix? YouTube on the browser seems to work though.... any help here would be much appreciated!!
Click to expand...
Click to collapse
Wow. I have the 2017 version of the 2950 that has Android 5.1.1 along with an external USB A female port and a (useless) female HDMI out port that should allow hard wire video / audio to a nearby HDMI input capable device.
I, too have privleged mode active per a tech support call a while back. Anyway, let me say that a while ago I nearly bricked mine trying to sideload a few APK's, so be ready to assume the responsibility for anything that may happen. You should be able to get to the browser in the OS and go to Google.com and sign in... this will let you get to Drive and Gmail and grab any APK's you've parked there from a PC or whatever?
Hey, do you have WiFi for 2.4GHz only or maybe 5.8GHz as well? Just curious, not that it will help me at all... I have a USB-A to Ethernet dongle that refuses to work with the console's USB port . My 2.4 connectivity is garbage.
This is ironic. I opened the built in browser and was going to sign into google to grab an APK of Google Home... all of a sudden I see Privilege Mode Removed (or something like that) pop up and the iFit app stared up. Now the 2950 fires up quicker like it did when new. SO bizarre!

Clicked Deny during a Samsung Dex install/connect and cant reverse option

I know this is probably an easy fix but i cant find the USB options anywhere, or find any way to reverse the accidental tap on my phone. I was on a road trip and during the Dex install on my windows tablet while in the car, accidentally tapped the Deny connection on my phone. Now it wont connect to my main PC either for Dex and seems to be stuck in Charge Mode only for USB and the Developer options dont seem to have an effect. I dont have the drop down options in the main notifications tab anymore, i think one of the more recent updates killed those options.
Quick edit for clarification: I cant access any files over USB currently through windows, cant access Dex, or anything. Just charge.
Id like to back up all my current stuff before my new phone arrives so getting a data connection is pretty important...

Pixel 2 non-functioning screen, options for using ADB?

Greetings fellow techno-wizards! Got a big problem that I'm hoping you can help me with.
Long story short, my trusty Pixel 2 had one too many drops, now the screen won't turn on and won't respond to touch. The logic board is operating, and I haven't rebooted since then, so I can unlock with the fingerprint sensor.
I plan on getting an Pixel 5 when it releases, and have an LTE Tablet to limp along until then.
My biggest problem is authenticators on my phone that I may or maynot have the backup QR code for, as well as many other things I'd like to get off the phone before I retire it.
I have the following things at my disposal:
Pixel 2, with USB Debugging turned on, and recently trusted the PC. No screen, no touchscreen.
WearOS watch paired to phone (can get notifications and texts)
Bluetooth Mouse
Wired mouse with USB to USB C adapter
Chromecast
Win PC with Scrcpy installed, already tried to use it to show the screen on the PC, I'm guessing its been too long and I have to press a notification to trust the PC.
The Goal:
To cast the screen to a chromecast and pair a bluetooth mouse, and/or get Scrcpy working by accepting the dialog that I can't see. This would allow me to use the migrate tool to the new phone I will eventually get.
I tried long ago to use a USB C to HDMI adapter, that doesn't work. Google wants you to use a Chromecast for such things (Thanks a ton Google )
The thing I need to figure out next is how to use ADB to force the phone to start casting to a Chromecast, or to remotely accept the dialog. The wired mouse with adapter should work to control the phone instead of the touchscreen, but without any video out, I'm clicking blindly. The microphones are working, but I've never tried to command the assistant to start casting before.
Can anyone suggest the next step I should try?
Just had a thought, there are accessibility features for blind people that would let them use the screen without seeing it. Is there any ADB command to enable these features? If I plug in a keyboard, is there a keystroke combination to turn them on?
TheGeek007 said:
Just had a thought, there are accessibility features for blind people that would let them use the screen without seeing it. Is there any ADB command to enable these features? If I plug in a keyboard, is there a keystroke combination to turn them on?
Click to expand...
Click to collapse
Since you say ADB is enabled on the phone you should be able to pull out by means of ADB-driver the data in mind to your Windows computer.

Notifications, Home, Recent, Developer menu not working

So i turned on my phone and strangely this had happened.
The buttons themselves still work as i can long-press to get the settings menu. Back still works (otherwise i wouldn't be able to do anything!)
I also noticed it had turned on bluetooth.
I don't even have the lock screen and the pull-down menu is blank. So i cannot change settings very easily now either, the only way to do it is physically going into the settings app.
Also i cannot go to the normal list of all your applications either. The only way to get to my applications is to manually add them to the home screen "launcher" thing (is this the launcher? i was never clear on terminology).
I am on SmallEUI V18 https://forum.xda-developers.com/t/...eui-5-9-lemax2-aroma-installer-may-1.3524531/
I didn't realise it had been updated.
I cannot use adb, i think maybe i had disabled usb debugging because i heard leaving it on all the time was insecure. However now the developer options won't let me in too, it says "developer options are not available for this user" when i go into the menu. Tried re-enabling them but nothing.
Notifications aren't coming up so I couldn't change the USB connection setting. I was panicking thinking i would be unable to backup anything as i wouldn't be able to put the phone into MTP mode and it would be stuck in charging mode.
Thankfully i can still download and install applications. I found a program called MTP Enabler. I think it was from here but i cannot remember: https://forum.xda-developers.com/t/app-root-r-3-3-marshmallow-mtp-enabler.3263467/
You need root for it but thankfully SuperSU still works.
Aurora store still works so i can get apps there too.
Backed up my applications settings manually (not sure if i did it correctly, i just took copies of the Android/data and Android/obb folders for the apps i wanted, but strangely didn't need root).
Also installed Titanium backup to back them up properly and get some of the Le Eco system apps like camera, IR remote that i might need.
SMS with SMS backup and restore.
Not sure the best way to backup whatsapp, just transferred the folder manually.
So i'm not sure the best way to fix everything.
I cannot remember how to flash roms or do anything since it has been so long since i did it. Anyway I do not even know if it is possible without ADB? Surely it must be, otherwise i might be screwed. At least i have root so i guess that gives me more hope of being able to fix things.
I was really worried at one point because i was trying to run TWRP or something to see if it would recover things but i couldn't remember how and somehow i ended up in Qualcom download mode, with no screen or anything. I had no idea what had happened. If that happens to anyone else, i think you get into it by holding down the power and volume down buttons at the same time. And to get out of it i managed to do it by holding power and volume up buttons. After that i have been too scared to turn off the phone though!
BTW in system analyse, i see something called Le Eco key although it only shows the start and end of it. Is this some kind of encryption key and what is it for? I think i remember it being important when flashing CFW for the first time but i cannot remember...?
After i've managed to sort this i definitely want to wipe my phone and start from scratch though, getting something a lot more up to date on there. At least i have the little i care about backed up now. Will have to re-learn what to do!
I found this thread:
Notification area, "home" and "recent" buttons not working
(I'm running cuoco92 stable release, so I also posted in that thread. But maybe this section here is a better place for my problem) Hi there! Right after charging, the notification area and the "Home" and "Recent" buttons stopped working...
forum.xda-developers.com
However I don't know what Users are on my device. How do i find this out? I have root amaze file manager and i can download any apps. What terminal app would you recommend?
Thanks

Categories

Resources