[Q] Toggle Location Services Through Shell On Marshmallow - Android Q&A, Help & Troubleshooting

Hi,
I used to have a a tasker profile which I used on lollipop that toggled location services through this shell code.
settings put secure location_providers_allowed gps
I know this doesn't work in marshmallow so I found another line of code that some have said works with toggling mobile data by defining the context.
su*-cn u:r:system_app:s0
But when put with the location services code it still doesn't work. And I have SuperSU 2.68 flashed.
Maybe it is a different context for location services?
Does anyone have any more knowledge on this or a fix?
Kind Regards
Andrew

Need the same thing

vazersecurity said:
Need the same thing
Click to expand...
Click to collapse
Hello,
need this too... Any help would be appreciated !

Related

Any way to retrieve stored wifi password from Android device without root and ADB??

Hi Guys...
I have a GS3 connected to a wifi network. I want to reteive the wifi network password from it. I know we can do it if the device is rooted. I also dont have access to ADB. Is there any other way to retrieve the password from the device without Root and ADB??
Just bringing UP one time.. Expecting some replies..
AW: Any way to retrieve stored wifi password from Android device without root and ADB
amith007 said:
I also dont have access to ADB.
Click to expand...
Click to collapse
Everybody have access to ABD!
Just activade it at developers settings
Pull with ABD the file
/data/misc/wifi/ wpa_supplicant.conf
to your PC. There are saved all wifi-passwords
Gesendet von meinem Nexus 4
ha ha.. thanks for the reply.. but by telling "i dont have access to ADB", i meant that i am not able to connect that phone into a PC with ADB.. its a test device in my work place..
amith007 said:
Hi Guys...
I have a GS3 connected to a wifi network. I want to reteive the wifi network password from it. I know we can do it if the device is rooted. I also dont have access to ADB. Is there any other way to retrieve the password from the device without Root and ADB??
Click to expand...
Click to collapse
Try using an app from the play store they will save the password for you if you have already entered it before.:laugh:
amith007 said:
ha ha.. thanks for the reply.. but by telling "i dont have access to ADB", i meant that i am not able to connect that phone into a PC with ADB.. its a test device in my work place..
Click to expand...
Click to collapse
If you need to recover the pass directly from the device, you need root. There aren't any other way.
Sounds suspicious to me!
If it's a work phone why do you need the wifi password?
If it's already connected why do you need to know the password?
Why don't you just ask your network admin the password if you are allowed access?
Please explain yourself before I report you..
CtrlAltDelIrl said:
Sounds suspicious to me!
If it's a work phone why do you need the wifi password?
If it's already connected why do you need to know the password?
Why don't you just ask your network admin the password if you are allowed access?
Please explain yourself before I report you..
Click to expand...
Click to collapse
Oh ho.. cool man.. we are in need to test an application which needs internet.. earlier we got the password for a wireless network used by the adjacent team in one of our device.. now my manager is reluctant again going back to them begging for the password.. so he asked me any other way.. even i know how to do it when the device is rooted, but unfortunately the device is not rooted and i cant root it since its not mine.. and there is no adb setup available as well..anyways we got the password..this time he sent me to beg for it..
Use this APP
WiFi Pass Recovery & Backup Best app just showed the password but ROOT required.
Just download the file attached
Marcus_1997 said:
WiFi Pass Recovery & Backup Best app just showed the password but ROOT required.
Just download the file attached
Click to expand...
Click to collapse
the program works great. Thanks
It works !!
Marcus_1997 said:
WiFi Pass Recovery & Backup Best app just showed the password but ROOT required.
Just download the file attached
Click to expand...
Click to collapse
Thanks Marcus
It works
Thank you
Well done Marcus. It works
kelsim100 said:
Well done Marcus. It works
Click to expand...
Click to collapse
It worked well till Android 4.2.2
Since I updated to 4.3, it shows "No password needed"
Sure my S4 is rooted
Hope it will work again.
Mobydick
Wifi passwords are encrypted on my S4 4.3!
Am I the only person that has thier Wifi passwords are encrypted in thier "wpa_supplicant.con" file by default. If not does anyone know how to have it decrypted by default so I could see my wifi passwords. Thanx
worked like a charm on my original tab 1
Used Wifi Key Recovery and never had problems, got the HTC M8 and now when i open the app it show zero protected networks, even though i am on wifi, changed over to Wifi Password Recovery, this one does show all the networks i have logged into but when i press on one of them to get the password, i get HTC=ENCRYPTION:then bunch of letters, non of which are the passwords. Can this be disabled in the HTC, or is it a 4.4.2 issue. Thanks in advance for your help.
Wifi passwords are encrypted on my S5 :crying:
Any solution ?
JCS666 said:
Wifi passwords are encrypted on my S5 :crying:
Any solution ?
Click to expand...
Click to collapse
I've yet to find any solution to be able to see the passwords, even is i use /data/misc/wifi/wpa_supplicant.conf, they are still encrypted btw, love the motogp avatar
I found the keys but they are in Hex format. Even with the usage of a an escape (0x) the wireless card fails to connect using these 24 long passwords.
Does it mean they are encrypted? if so how to decrypt.
privatewarrior1 said:
I found the keys but they are in Hex format. Even with the usage of a an escape (0x) the wireless card fails to connect using these 24 long passwords.
Does it mean they are encrypted? if so how to decrypt.
Click to expand...
Click to collapse
Yes, they are encypted. How to decrypt? hard to know before know what type of encryption they use, the result of encryption is a number show in hex... maybe transforming into pure binary and then transforming on something could work... but I really dont know... maybe is just a new type of encryption and the only way to decrypt is to create multiple password you know the result and compare the hex tags.
Hope someone could help us to avoid that kind of work xD

[Q] How to enable developer mode and mock locations in source

Hi, I am trying to build a custom rom that has developer mode -> Mock locations=true, Auto-rotate screen=false by default. Here is what I have tried:
Pulled the settings database from `data/data/com.android.providers.settings/databases`
Edited the database so that the mock locations flag was set to 1
Wrote a script to add to the makefile that would move the new database to `/data/data/com.android.providers.settings/databases` on build.
and
Adb push the new database file to proper location
Reboot
Neither of these options seemed to work out properly. I need an option to set some of the settings, including the hidden Developer option "enable mock locations" so that I can build an image with these settings enabled by default. If anyone can help, would be much appreciated.
Thanks!
methodeguy said:
Hi, I am trying to build a custom rom that has developer mode -> Mock locations=true, Auto-rotate screen=false by default. Here is what I have tried:
Pulled the settings database from `data/data/com.android.providers.settings/databases`
Edited the database so that the mock locations flag was set to 1
Wrote a script to add to the makefile that would move the new database to `/data/data/com.android.providers.settings/databases` on build.
and
Adb push the new database file to proper location
Reboot
Neither of these options seemed to work out properly. I need an option to set some of the settings, including the hidden Developer option "enable mock locations" so that I can build an image with these settings enabled by default. If anyone can help, would be much appreciated.
Thanks!
Click to expand...
Click to collapse
I am also looking for this. Being able to access adb on a fresh install on a device that has trouble getting into recovery would be very beneficial.
I had to flash back to factory stock this morning because the kernel I was using prevented me from accessing the bootloader and the ROM I was developing was missing a key apk. Had this had been built into the ROM, I could have been able to reboot to recovery.
Sent from my MyTouch 4G Slide

Add Guest mode and Multiple Users. (Easy)

For those of you who's carriers have disabled the Guest mode and Multiple Users mode you can easily turn it back on provided your phone IS rooted and you're capable of editing the build.prop file in the /system folder.. This feature comes in handy when your family or friends want to use your phone and you don't want them to be snooping through your stuff! Add this to your build.prop file
#
# Multi-Users
#
fw.max_users=3
fw.show_multiuserui=1
And then reboot the phone and upon turning back on swipe down from the top quick settings and you'll see a new option (circle picture) next to the system icon gear.. Tap that and check it out..
As always, make sure you make a backup first since you never know if anything could possibly go wrong!
I have the unlocked Note. Is guest mode disabled on the unlocked version? Or do I need to root to enable it? Thanks!
m20120 said:
I have the unlocked Note. Is guest mode disabled on the unlocked version? Or do I need to root to enable it? Thanks!
Click to expand...
Click to collapse
You should be able to see a picture right next to the system icon gear in the quick settings menu. If you can't tap on it then you don't have it and the only way I know of to get it is with root access to change the build.prop file.
No Icon visible
Hello. My Note8 is rooted. After changing Build.prob, I can add users, but not switch. The Icon in Task bar is missing. I checked the Build.prob. entrys. They are correct. Any help?
Greetz, Thorsten
Thor64 said:
Hello. My Note8 is rooted. After changing Build.prob, I can add users, but not switch. The Icon in Task bar is missing. I checked the Build.prob. entrys. They are correct. Any help?
Greetz, Thorsten
Click to expand...
Click to collapse
I'm not sure since I don't use that anymore. Sorry.

Question How to download apps to Changan CS75 PLus 2023 head unit

I bought a Changan CS75 Plus Smart 2023. I tried to connect my Android phone to the car Radio Head unit using CarAuto (Global) App. But I could not download any Android Apps to the system. Can you help me with that Please?
Also can I download and use Android Auto App on the system or Car Play? How can I do that? Is there a software or an App or a dongle that will do that?
What is the code or number to get into the Android system of the Changan CS75 Plus 2023.
Thank you for your help, consideration, and Cooperation.
Can anyone please share the step on how to access the developer option and the passcode to enter in the system..
Hey, I own Cs75 plus 2022 smart
I'm struggling with the same thing. But I found these codes, It may help you guys.
for adb *#518121#* ( I don't know what this is for but I found it)
for file explorer *#518200#*
for settings *#518300#* (from here you can find the developer option
for car settings *#201301#* (don't miss it, it is very dangerous if you don't know what to do)
M7mdrd1 said:
Hey, I own Cs75 plus 2022 smart
I'm struggling with the same thing. But I found these codes, It may help you guys.
for adb *#518121#* ( I don't know what this is for but I found it)
for file explorer *#518200#*
for settings *#518300#* (from here you can find the developer option
for car settings *#201301#* (don't miss it, it is very dangerous if you don't know what to do)
Click to expand...
Click to collapse
where do i put this codes?, I have a Changan CS55 Plus. You now where I can find info about updates?
smelor said:
where do i put this codes?, I have a Changan CS55 Plus. You now where I can find info about updates?
Click to expand...
Click to collapse
Use the phone panel
Any one was able to install apps? It is giving me not authorized error
mohamadabdou said:
Any one was able to install apps? It is giving me not authorized error
Click to expand...
Click to collapse
Same problem I tried to install using the file explorer on the developer options but still unauthorized error

Issue with work phone and provisioning

Hi everyone, I am currently at work and we have two Honeywell CT40 devices. We need to somehow get the apk for our stock management app onto one of them. It fails to provision with a cannot find wifi error. Does anyone know how I can pull the data i need from a provisioning qr code?

Categories

Resources