Is there a way to disable "USB Mass Storage" warning? - Android Software/Hacking General [Developers Only]

I find this pretty annoying, everytime I i want to use my phone as mass storage device I have to jump through 3 screens. I want to skip all the warning and confirmation crap and just be able to select "mass storage device" from the 3 option menu when you first plug it in and be done with it.

On stock 1.5 you just had to tap the notification and voila.
In 2.1+ you have ot go to this special screen -.-
Yeah very anoying.
Until there is a fix im helping myself with an 'extended controls'-toggle widget
Single tap on your homescreen and you 're done

I have extended controls as well. I guess I'll have to live with it for now.

Related

Sleep mode on windows 10

My surface pro 2 won't go sleep after windows 10 update. Does anyone know how to fix it?
It's a known bug, been known throughout the entire preview builds. No idea why it's still not fixed, but it seems that it's not.
RipKit said:
My surface pro 2 won't go sleep after windows 10 update. Does anyone know how to fix it?
Click to expand...
Click to collapse
I just figure it out, open the command prompt and type: powercfg –devicequery wake_armed
It should tell you the device that is waking the surface pro from sleep. Then head to device manager, find the device and right click for properties, then power management tab, uncheck the box that allows this device to wake the surface up. My HID Keyboard Device was the one causing the problem.
I am formatting sp2 right now for the same reason.. Didn't know that it was a generic problem..
So does anyone found what device is the problem?
Microsoft can't even support surface pro which it sells?..
Edit.. After reinstall win10 clean, problem resolved here..
sosimple said:
I am formatting sp2 right now for the same reason.. Didn't know that it was a generic problem..
So does anyone found what device is the problem?
Microsoft can't even support surface pro which it sells?..
Edit.. After reinstall win10 clean, problem resolved here..
Click to expand...
Click to collapse
I reply to myself.. After clean install win10 the no sleep problem was resolved BUT after installing just a few normal apps it suddenly happened again. So i searched more.. I found a solution.
Go to device manager , mice and other pointing devices-hid-compliant mouse, right click it, properties,power management, and uncheck allow this device to wake computer.
Do the same for: keyboard.
If i change it only to one of those, i still had the problem, so both of them awake my sp2.
With this to my sp2 everything works fine but if yours doesn't, try do the same to network adapter for wifi. Also some had disable microphone ..
I believe those 2 i changed are the cause of the problem for most users, as the drivers are faulty in win10 at least for now..
Good luck..
Hello I have solved the problem this way:
1) Go to Control Panel> Device Manager> Keyboards> Right button on "HID keyboard"> Properties> Energy Saver> lever to check the "Allow this device to wake the computer."
2) Go to Control Panel> Device Manager> Keyboards> Right button on "Surface Touch Cover Filter Device"> Properties> Energy Saver> lever to check the "Allow this device to wake the computer."
3) Go to Control Panel> Device Manager> Mice and other pointing devices> Right button on "HID-compliant mouse"> Properties> Energy Saver> lever to check the "Allow this device to wake the computer." Do this for both items!
4) Go to Control Panel> Power Options> Change plan settings> Change advanced power settings> Go to the heading "Suspension"> Go to the item "Allow hybrid sleep"> Battery supply select "Disable"> Plugged select "Disable"> Go to the item "Allow wake timers"> Battery supply select "Disable"> Plugged select "Disable". Perform these steps for the three combinations "Energy Saving", "Balanced", "High Performance".
REMEMBER EVERY TIME YOU MAKE A PASS CLICK "APPLY" and "OK", ONCE FINISHED ALL STEPS STOP THE SYSTEM and on again. NOW THE SUSPENSION WORKS PERFECTLY.
Sorry for my English but i'm Italy

A bunch of stupid questions on 4.0 MM

So I updated 2 Sheilds to the 4.0 MM os and have a few questions. Please help if you know the answers
1. Do I have to swipe and select USB Transfer Files everytime I connect to a PC so I can see my files and folders in Windows? It defaults to Charge Only everytime I connect it.
2. I formatted the 64 GB SDCARD up as Internal. I cant see the folder anymore in Windows for it, only the Internal Storage drive shows under the Tablet, and its 11.6GB in size (WiFi 16GB tablet) Is this intended? Is the card only usable by the OS now? If I set it as Portable, would I still be able to move/install apps to it the same as Internal mode AND access it via Windows Explorer?
3. On the desktop I have a row of icons for some apps I use on a regular. However, there is a small white dot underneath the icons and the white circle shortcut for "Apps" is below that, I cant do **** with this shorcut and its annoying me. If I turn the tablet landscape the cicle shortcut will appear on the far right of the screen. I cant long hold/move it like any other icons, it just opens "All apps"

[FRP] ZTE Majesty Pro Z798BL FRP Bypass

[FRP] ZTE Majesty Pro Z798BL FRP Bypass
(Sorry for the poor write up, it's basically notes from when I did this model quickly. If I get free time I will clean these steps up some so they are more clear and also get ahold of the handset and post additional methods/steps.)
There are multiple ways to do this bypass - here are just a few i came across freestyling. I'll document the others when i get time to lock up one of these phones again (it's a clients so dont have long with it)
1. talkback settings - This was already enabled for me and the chick that did it said she pressed home 3 times quick like on a iPhone. Not sure if that worked or not (i think shes mistaken). I didn't have time to go back and check. The manual and other info out there says to place two fingers on the screen and wait xx amount of seconds. Then talkback would be enabled. Well I have had this handset a handful of times since before this tutorial and i could NEVER get it into Accessibility.. Talkback enabled .. anything. So if someone knows the first step for sure then please post and i'll edit step.
2. help / about. search voice, click on subscribe out pops u to youtube
hit share and a: goto bluetooth and select device / pair mouthpiece or b: goto gmail and enter a email address hotmail or yahoo
3a: turn device off then back on and click till it beeps, say ok google next - enter search string settings hit enter.. goto the 3 lines on the left for settings, click settings and enable in apps boxes, also you could enable the bluetooth settings too but the most importabt thing here is the cards settings. enable these, next search for stock android and launch it. open settings and enable unknown sources, next open google chrome from the apps, search for sidebar apk, install next add these apps (i add all of them incase i need to get back somewhere.. not all are needed though) I add chrome, google, file manager, settings and stock android. next go back to settings then to apps and disable setup wizard and google account manager
3b: goto 3 dots - ? i forget this one so ignore until i remember. lol
3c: goto dialer
4. download dpc test manager 4.0.5 ? run this select device manager hit next then open, lastly goto developer settings oem unlock and usb debugging. goto backup/reset and reset phone. done
3d: (haven't finished) you need to put the phone into "Engineering Mode" first, by dialling *ZTE*OPENEM# (*983*673636#) -- this action will be confirmed by a quick pop-up. To close this mode, dial *ZTE*CLOSEEM# (*983*2567336#) -- this then prompts whether you want to do a Factory Reset, which you do not have to do (you can simply Back away from this screen).
(dont close mode)
go back to dialer and type *983*87274# USBSI USB Switch Test
enable mdm(modem)
-goto cmd, type adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1 (don't remember the outcome)
reboot?
3e: Open uni android tools (if you've got it) and navigate to > UNTESTED
phonecapone
It was very simple for me. For my Z798BL majesty pro i just held down two fingers on open screen till AccessibilityMode came on then swiped my finger from top left down to bottom right(an L shape) across the screen. That opened a menu so I tapped on TalkBack Options (to disable the TalkBack after the TalkBackOptions opened I held down the volume up and volume down Keys till it was disabled) then I scroll down to Help&Feedback clicked on Switch Access Mode question then scroll down to & tapped on the blue words "Turning on Bluetooth" then scroll all the way down to the bottom of that screen to "WasThisArticleHelpful" Yes or No? Tapped on NO, then I typed in anything in the box highlighted it and click on Assist that took me to the Google app then I typed in Chrome because it wouldn't let me download anything from the Google app so I went to the Chrome app then typed in "Test DPC 5.0.4 apk" then I downloaded the Test DCP APK then follow the instructions to install it including update phone's permissions to install unknown source. Clicked on setup new Divice Owner and followed those options til I was done(think just one or two more screens to click on "yes or continue" wasn't hard to figure out from there) when I was done with all that I tapped Back to the Google app typed in Settings clicked on phone settings scroll down to Backup&Reset clicked on reset device then erase everything then turned off my phone and restarted it. And that was it!
JearlGirl said:
It was very simple for me. For my Z798BL majesty pro i just held down two fingers on open screen till AccessibilityMode came on then swiped my finger from top left down to bottom right(an L shape) across the screen. That opened a menu so I tapped on TalkBack Options (to disable the TalkBack after the TalkBackOptions opened I held down the volume up and volume down Keys till it was disabled) then I scroll down to Help&Feedback clicked on Switch Access Mode question then scroll down to & tapped on the blue words "Turning on Bluetooth" then scroll all the way down to the bottom of that screen to "WasThisArticleHelpful" Yes or No? Tapped on NO, then I typed in anything in the box highlighted it and click on Assist that took me to the Google app then I typed in Chrome because it wouldn't let me download anything from the Google app so I went to the Chrome app then typed in "Test DPC 5.0.4 apk" then I downloaded the Test DCP APK then follow the instructions to install it including update phone's permissions to install unknown source. Clicked on setup new Divice Owner and followed those options til I was done(think just one or two more screens to click on "yes or continue" wasn't hard to figure out from there) when I was done with all that I tapped Back to the Google app typed in Settings clicked on phone settings scroll down to Backup&Reset clicked on reset device then erase everything then turned off my phone and restarted it. And that was it!
Click to expand...
Click to collapse
Awesome! Glad to hear it worked out for you. =]

Google 2FA Recovery, black Screen. I can unlock S6 with keyboard. How activate ADB?

Hello,
I have a Samsung S6 with android 7.0 running on it. (latest stock firmware) The screen got cracked this week and the digitizer and OLED are not working anymore.
I've got some 2 FA keys in google authenticator that i did not backup. Now i know that i have to keep the QR code safely... but that is too late in this case. I don't want to buy a new screen...
I did manage to get a full backup of my phone by attaching a keyboard with an OTG cable. but this will not recover the 2FA keys in Google Authenticator.
How you can unlock your phone with a keyboard:
1. attach a keyboard with an OTG cable.
2. press the 'esc' button' and 'backspace' button
3. insert your password and press enter. You should hear the unlock sound. (you can unlock with the fingerpint from now on, if it was set)
I did activate developer options before but i disabled it when i'm not using it. So i have to activate it again.
I think i can enable Developer mode blindly by following these steps. The phone needs to be unlocked.
1. typ one letter. This will bring up google search. press backspace and delete (just to be sure it is blank). Now type 'Settings'
2. Press the down key once
3. Press enter
4. press the down key for 10 seconds (this should focus the item on the last option in the list, which is 'developer mode' )
5. press enter
6. press up once
7. press right once
8. enter
developer options should now be enabled.not sure how i can check this tho. I checked if my computer can find my phone. I can access the internal memory because the phone is unlocked.
i asume developer options is enabled... The next step is re-activating debugging mode in order to mirror the screen. But 'adb devices' does not show any device yet. This means 'debugging mode' is still deactivated.
So i'm trying to enable 'Debugging mode' within the 'developer options'.
I searched on youtube to see how the menu looks like in Android 7 on a S6 so i can figure out how many keys i need to press in order to re-activate USB debugging. But i seem to be stuck on this step.
My question: can somebody make screenshots or a video from a samsung S6 (with android 7.0) device with a keyboard attached that shows how many key presses are needed to activate USB debugging?
When i'm in the developer options menu i think i have to press 9 times down, hit enter, then press the right key once and then hit enter again.
Can someone confirm that this is correct?
The RSA keys for my pc were already accepted previously. so that should not be an issue. unless i hit the 'revoke keys' options by accident... (i hope not!)
if anyone knows an other way to activate USB debugging without erasing the whole phone, please tell me. I need access to my 2FA keys. :crying:
edit:
i'm not sure if the steps to enable Developer mode are working. I'm reproducing the steps on an old S5 phone. I now realize that there are internet suggestions when typing "Settings' on the S5 model. I need to press 4x down then enter. hmmm... These suggestions only pops up when wifi is enabled. I can ping my S6 phone. So WiFi is enabled on my broken s6.
---
It would be awesome if someone can record a video that shows me (and potentially others) how to install and run 'SideSync' through keystrokes. on an S6 with android 7.0. SideSync can then mirror and control the screen on a pc..
I'm going to try this blindly for now... fingers crossed
edit2: it seems that SideSync needs a code that is shown on the S6 screen. damn it. Searching for other solutions...
Kind Regards,
Vincent

Kids mode

How do you enable this? I have searched through the settings and even went into the galaxy store to download it with it not showing in the store. Any thoughts or ideas?
swipe down 2 times on the notification area then swipe left., after that you will see a button called Kids home there.
That was the first thing I tried. I dont have any options in the toolbar for a kids mode. I have the Verizon version....not sure that it should matter. I would still think the option for kids mode would be there.
Well it does matter. Carriers carry great weight with Samsung, and Verizon has decided that you don't get kids mode.
Sent from my phone
To me, the power saving mode is the kids's mode
There is barely anything they can do
Have you checked it's not just hidden? Pull quick settings all the way down, hit the 3 dot menu and open button order. If it's at the top as shown in the screenshot you can long press and drag into the lower menu

Categories

Resources