Related
I'm looking to use the Nexus one hardware to create a single purpose device that will run an app at boot up and not allow the user to exit the app. This device will be given to users to take home for days so needs to be tamper-proof. i.e. cannot make calls, cannot SMS, cannot access rest of the OS, etc.
At the Android API level, I believe I can auto-start the app and "disable" the home button but cannot get around the long-press home button recent app list.
One possible solution would be to open it up and physically unplug the buttons' ribbon connector from the PCB.
What I would prefer is to somehow disable the home button using a cooked ROM that will ignore it in this particular app and the app can have some kind of secret way to exit. I do not know how difficult this would be using a rooted Nexus one.
Any input will be greatly appreciated.
Thank you.
You would need to build it from source. (non winzip deving)
If any knowledgeable person get's it it would be pretty easy to boot into recovery and edit system files or wipe it.
The nexus would not be suitable for this because of the nature of the bootloader.
To be honest, I personally think you would be better off building your own device for this. I'm sure that the buttons could be disabled easily enough, but the tamper proof part is a little different.
Main reason:
If you make the device so that you can't boot into recovery, fastboot, or tamper with it in anyway. How would you yourself make any additional modifications to the device?
You guy have some good points.
Maybe it's better off just using rooted stock ROM and set it as home screen then physically disable the hardware buttons. The battery cover will be glued shut to prevent access to SIM and battery anyway
As for making changes to the app, I believe ADK will allow me to update the app through USB. I wonder if its feasible to do auto-update it over network...?
wow your trying to lock the device down sounds like steve jobs lol
would not the best approach to this is to write your app as a home replacement and not show any apps? you could disable access to app drawer and settings, then you would only need to hook/disable home long press.
You wont be able stop a savvy user from flashing something on it easily.
What about setting up a pattern lock and using FLAG_SHOW_WHEN_LOCKED
to display on top of the lock? If the user tries to exit your program they'll be greeted with the pattern lock. Have some timer so your app automatically comes back to the top.
Correct me if I'm wrong, but doesn't the last app list show NO apps if no apps were launched yet?
pikipirs said:
Correct me if I'm wrong, but doesn't the last app list show NO apps if no apps were launched yet?
Click to expand...
Click to collapse
Yes you're right. I've set my app as home screen replacement and after reboot there wasn't any 'recent app' list
Looks like I don't need a custom ROM after all.
Just out of curiosity, what exactly are you doing with the phone that requires it to be tamper proof?
-------------------------------------
Sent via the XDA Tapatalk App
The absolute minimum requirement is that we have a device we can give to a user of any technical proficiency and allow them to easily record videos and post them directly onto a website from anywhere.
[email protected] said:
What about setting up a pattern lock and using FLAG_SHOW_WHEN_LOCKED
to display on top of the lock? If the user tries to exit your program they'll be greeted with the pattern lock. Have some timer so your app automatically comes back to the top.
Click to expand...
Click to collapse
That's an interesting approach, I will have to explore that more.
How can users actually exit the app when it's over the lock screen? Does that mean all buttons including home will not do anything since lock screen is keyguarded? Does touch still register? Is this the workaround that the custom lock screen app uses?
dzeikei said:
Yes you're right. I've set my app as home screen replacement and after reboot there wasn't any 'recent app' list
Looks like I don't need a custom ROM after all.
Click to expand...
Click to collapse
How do you set an app to be the home screen replacement?
Okay, so I want to be able to do a couple of things. The first is nagging me, as I'm sure there's a way to do it, the second I'm not so sure about.
1) I want to be able to access the multi-tasking/Recent Apps list from anywhere. My idea is to push and hold Menu to get it to pop up, since Home uses Google Now when it's pushed and held. I know there was a way to do that with the search key back when we had 4 keys using LaunchKey, but I can't find anything to let me assign push/hold functionality to Menu. I'm rooted, so I'm sure there's a way to do this...
2) This I'm not so sure of. Because of the charging port being on the side of the phone, it works best in my car when it's held in a landscape orientation in my windshield-mounted dock. This is great for everything except one thing: the dialer. I know in most AOSP custom ROMs I've used on other phones, the dialer rotates with the phone. Since I've rarely stuck to stock on a phone before, and we're kind of forced to here, is there a way to get the dialer to rotate?
chrisliphart said:
1) I want to be able to access the multi-tasking/Recent Apps list from anywhere. My idea is to push and hold Menu to get it to pop up, since Home uses Google Now when it's pushed and held. I know there was a way to do that with the search key back when we had 4 keys using LaunchKey, but I can't find anything to let me assign push/hold functionality to Menu. I'm rooted, so I'm sure there's a way to do this...
Click to expand...
Click to collapse
Double tap the home key brings up the recent apps.
Sent from my HTC first using xda app-developers app
1. What jonslice says.
2. Download another dialer in the play store.
Holy crap. I feel so stupid now. How did I not know that? LOL
And yeah, downloaded another dialer. Forgot I could do that (since I've never really done it before). Thanks guys!
There are a lot of threads here and in the VZW forum about how terrible this device is, etc, without root. I'm a former flash-a-holic and my last several devices have all been Samsung on stock, albeit rooted, firmware. those of us preferring touchwiz have our reasons, and those who prefer aosp have theirs, but this isn't a "why we can't have aosp" thread, this is about making lemonade with what we have.
so, my reasons for wanting root, and how I worked around them:
1. ad blocking. I LOVE adaway, its seriously the first app I'd install on a new device after rooting. without root, give adblock plus a try. you can turn off the status bar notifications in the app and by ticking the box in the app manager.
its simple enough to disable apps on WiFi, just input the proxy host name and port and you're done. I hadn't ever found a clear and concise instruction on how to do this with mobile data, so here it is- create a NEW APN and copy all of the info from the stock APN, and add the proxy host name and port. done, you now have ad blocking on WiFi and mobile data, without root, and without persistent notifications.
2. de-bloating. first, the s5 has less bloat than the s3 or s4, but its still there. it is INCREADIBLY easy to disable or uninstall on this device. go to the app drawer and press the settings icon (or long press the app switcher button) and select uninstall/disable apps. if its ATT or Samsung, and you don't want it, odds are you can either uninstall or disable it. just make sure that in Samsung Apps you disable automatic updates over WiFi. you can also hide them.
myth busting time: IF you were rooted, and IF you manually removed bloat apps, you do NOT gain ANY additional usable space in device storage.
3. tether bypass. there are multiple threads here on how to do this. I have a 10gb plan so its a non issue here.
4. Writing to extSDcard. most built in apps like the browser, email, and camera will save to the ext SD card. so will my files, which is actually a LOT better than on the s3 or s4.
5. removing bloat bookmarks from the stock browser. I prefer the stock browser over chrome, call me crazy. I also don't like the 4 pre-loaded bookmarks being in my list. I saw a tip here to just create a folder called My Bookmarks or whatever you like and put your bookmarks there. the bloat is still there but its not staring you in the face.
so what else have you guys been doing to get functionality that was easy and convenient with root, but still attainable without?
Russ77 said:
so what else have you guys been doing to get functionality that was easy and convenient with root, but still attainable without?
Click to expand...
Click to collapse
Speed- I find that a lot of people nag about speed, my phone is fluid in all ways. Three factors play into this, using the TW launcher, animation speed, one last tricky one-- S-Voice has a delay on the home button waiting for the possible hook in for user prompting it. My standpoint is you can get from a TW rom the kind of speed or more that you can with a rom somebody else pre-tweaked for you.
Remedies below.
1. Get Nova Launcher (you can look into others if you like, if you want an experienced users perspective on speed, use Nova it flies)
2. Enable Developer Options(click About Device, click build number until it says Dev mode is enabled), Turn OFF animations for Transition window animation scale, transition animation scale and animator duration scale.
3. Open up S Voice (through the double-tap shortcut or in the app drawer). Tap the menu button in the top right corner (three dots) and find the "Open via home key" option under "Wake-up." Disable for slightly faster home button response.
Some people may find this abrupt transition between applications off putting at first but once you give it an hour the phone is flying so fast I could never go back. Enjoy!
As mentioned above:
Nova Launcher
Transitions at .5 or OFF
De-bloating (see this thread)
And - tasker, tasker, tasker!
My tip.. simple but I'm a customize nerd.
iFont available for free from the Play store allows you to add hundreds of fonts to your phone right from the app, and is compatible with the font selection from settings - display.You can also load fonts from the internet or your computer and use that as your default font.
The one lag, I still can't stand... despite all the animations being off is the lag between camera and gallery... like I take a photo, click the little image to view it and it sits there for at least 15 seconds before the gallery opens up. Anyone else have this issue?? I'm so used to CM based roms and still try to swipe to view the gallery LOL
rachelm920 said:
My tip.. simple but I'm a customize nerd.
The one lag, I still can't stand... despite all the animations being off is the lag between camera and gallery... like I take a photo, click the little image to view it and it sits there for at least 15 seconds before the gallery opens up. Anyone else have this issue?? I'm so used to CM based roms and still try to swipe to view the gallery LOL
Click to expand...
Click to collapse
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
This could be due to your SD card. If you are saving pics to external SD and your card is a lower class it will read and write data in a longer time frame. If you are using internal memory and not the SD card slot then I'm not sure. Backup everything and try a factory reset. I personally don't have an SD card, I don't see the need without root. Also it takes about 3 seconds for me to do what takes you 15. That's why I think an SD might be the Culprit here
There is 1 thing you can not do without root that is needed for me. I own a Pioneer Appradio and use ARUnchained which requires root. If you don't know what it is then look it up. It basically mirrors your phone and lets you use touch on Pioneers Appradio. I used this with my GS3 and if I would have known we wouldn't have root after this long I would have kept it and not bought the GS5. There is no getting around root for this. Pioneer's stock app has restrictions and doesn't let you mirror everything where as ARUnchained solves this problem.
I would like to find a way to save stuff from Dropbox to the external memory.
Sent from my GS5
natefish said:
I would like to find a way to save stuff from Dropbox to the external memory. Sent from my GS5
Click to expand...
Click to collapse
Here is all you need.https://play.google.com/store/apps/details?id=com.ttxapps.dropsync
I use the Pro, worth every penny.
abovenbeyond said:
Here is all you need. I use the Pro, worth every penny.
Click to expand...
Click to collapse
Thanks, but was there supposed to be a link?
Sent from my GS5
natefish said:
Thanks, but was there supposed to be a link?
Sent from my GS5
Click to expand...
Click to collapse
Fixed
Russ77 said:
add the proxy host name and port.
Click to expand...
Click to collapse
Bit of a newb here.. but what exactly do I put in these spots? Tried this and kept saying no internet and switching back over. Any help would be appreciated.
Sent from my SAMSUNG-SM-G900A using Tapatalk
fsupartyboy850 said:
Bit of a newb here.. but what exactly do I put in these spots? Tried this and kept saying no internet and switching back over. Any help would be appreciated.
Sent from my SAMSUNG-SM-G900A using Tapatalk
Click to expand...
Click to collapse
proxy host is "localhost" without quotes....and proxy port is 2020....that should do it :good:
Anyone got a working "volume rocker skip"? I've seen the double press ones that work as a service..seems wonky.
--
Stephen
abovenbeyond said:
Here is all you need.https://play.google.com/store/apps/details?id=com.ttxapps.dropsync
I use the Pro, worth every penny.
Click to expand...
Click to collapse
Thanks for the tip - I was using "Sweet Home!" app to sync my camera photos with my laptop but after multiple years without issue, all of the sudden I'm getting an invalid syntax error. Tried getting help from the developers but got no response. Dropbox it is!
fsupartyboy850 said:
Bit of a newb here.. but what exactly do I put in these spots? Tried this and kept saying no internet and switching back over. Any help would be appreciated.
Sent from my SAMSUNG-SM-G900A using Tapatalk
Click to expand...
Click to collapse
RoguePC said:
proxy host is "localhost" without quotes....and proxy port is 2020....that should do it :good:
Click to expand...
Click to collapse
RoguePC's got it covered.
my only real gripe with adblock + is it only blocks internet traffic, not in-app ads. still better than nothing though.
Anyone know how to remap buttons ? I highly doubt there is a way without root but not having a menu button is killing me
Add45 said:
Anyone know how to remap buttons ? I highly doubt there is a way without root but not having a menu button is killing me
Click to expand...
Click to collapse
The menu button function is still there ... just long-press the recent apps button. If you've got a specific app that doesn't display the 3-dots menu somewhere on the screen, you might want to reach out to the developer. That's part of modern Android UX standards. I recently reached out to Untappd and they updated their app to include it pretty quickly.
Wallcrawler77 said:
The menu button function is still there ... just long-press the recent apps button. If you've got a specific app that doesn't display the 3-dots menu somewhere on the screen, you might want to reach out to the developer. That's part of modern Android UX standards. I recently reached out to Untappd and they updated their app to include it pretty quickly.
Click to expand...
Click to collapse
Thanks, but what I meant is that I do not like having to hold down the button to pull up tthe menu. I much rather prefer having the recent apps by holding down home.
Sent from my SAMSUNG-SM-G900A using Tapatalk
Add45 said:
Thanks, but what I meant is that I do not like having to hold down the button to pull up tthe menu. I much rather prefer having the recent apps by holding down home.
Click to expand...
Click to collapse
Ah, gotcha. Unfortunately, short of root reassigning buttons, I don't think that's a desire that will see much traction in the future now that the UX standards require on-screen menus and more devices are coming out without any soft buttons at all. When you get down to it though, you're either tapping the bottom-left of your device or you're tapping the three dots on the screen.
Awesome app called quick click,let's you map your volume buttons for flashlight and a lot of others actions,just throwing it out there missed using xposed,mods with that.
SENT FROM DJMOUSE'S SM-G900A
Hello, I'm having issues with my N6 after the Marshmallow But I am facing a problem that for each application, I am getting screen overlay detected. If I follow on screen instructions, in settings, I can't change permission. i cannot upload any images from my phone to facebook,instagram basically any app trying to access the drive on my phone. can you guys help solve this issue.
thanks,
A quick Google search for "screen overlay detected" found a lot of results indicating this is due to screen filtering apps that modify the screen brightness, such as Lux, Bluelight Filter, Twilight, etc.
alryder said:
A quick Google search for "screen overlay detected" found a lot of results indicating this is due to screen filtering apps that modify the screen brightness, such as Lux, Bluelight Filter, Twilight, etc.
Click to expand...
Click to collapse
Yes, they also prevent you granting root access to apps too. Lux is the most common. These apps put an overlay over the UI. Android protection prevents you pressing "serious" buttons in case it is the overlay working to malicious intents.
xbatis said:
Hello, I'm having issues with my N6 after the Marshmallow But I am facing a problem that for each application, I am getting screen overlay detected. If I follow on screen instructions, in settings, I can't change permission. i cannot upload any images from my phone to facebook,instagram basically any app trying to access the drive on my phone. can you guys help solve this issue.
thanks,
Click to expand...
Click to collapse
I'm curious if you were able to resolve this issue and if it was resolved with what I found about the issue.
xbatis said:
hello, i'm having issues with my n6 after the marshmallow but i am facing a problem that for each application, i am getting screen overlay detected. If i follow on screen instructions, in settings, i can't change permission. I cannot upload any images from my phone to facebook,instagram basically any app trying to access the drive on my phone. Can you guys help solve this issue.
Thanks,
Click to expand...
Click to collapse
okay. I have called google support for five nights and not one tech support person was able to help me. After countless hours of fiddling i figured out how to fix this problem. Put your phone in safe mode (press the power off button and press on the on screen power off icon until it asks if you want to go in safe mode. Press okay) then once it reboots, go to settings, then apps, click on the facebook app or whatever app you have the problem with, press permissions and then turn on all the permissions (toggle to the right and it should turn green). Repeat for whichever other apps have this problem then turn reboot the phone and voila! It's fixed. :d
jokeinc said:
okay. I have called google support for five nights and not one tech support person was able to help me. After countless hours of fiddling i figured out how to fix this problem. Put your phone in safe mode (press the power off button and press on the on screen power off icon until it asks if you want to go in safe mode. Press okay) then once it reboots, go to settings, then apps, click on the facebook app or whatever app you have the problem with, press permissions and then turn on all the permissions (toggle to the right and it should turn green). Repeat for whichever other apps have this problem then turn reboot the phone and voila! It's fixed. :d
Click to expand...
Click to collapse
I was thinking going back to Lollipop, then you saved my days. This "Screen overlay detected" was driving me nuts as I have tons of apps that requires "Draw over other apps" such as Sidebar Launcher, SuperSU, Widgetsoid, Rotation Manager... almost 30 apps. So every time I install new app I virtually have to turn off the "Draw over other apps" for all these 30 then set the permissions then turn them on again. It's so frustrating. And if I stupidly reset permissions for all apps then virtually most are unusable. Now with Safemode I can grant an app all the permissions it requires without turn the "Draw over other apps" off.
jokeinc said:
okay. I have called google support for five nights and not one tech support person was able to help me. After countless hours of fiddling i figured out how to fix this problem. Put your phone in safe mode (press the power off button and press on the on screen power off icon until it asks if you want to go in safe mode. Press okay) then once it reboots, go to settings, then apps, click on the facebook app or whatever app you have the problem with, press permissions and then turn on all the permissions (toggle to the right and it should turn green). Repeat for whichever other apps have this problem then turn reboot the phone and voila! It's fixed. :d
Click to expand...
Click to collapse
Best solution out there. Tnx.
@jokeinc I don't have twilight, lux, or any CM apps. Your solution is the only solution to have worked for me. Thank you so much!
I have a Samsung galaxy s6 and it didn't work for me, i have tried everythings but the only way is go into ultra power safe mode and from here i was able to activate permissions for whatsapp. For activate the other apps i don't know what to do.
Sorry for my bad english but i'm desperate??
@Zack909: Desperate and in the wrong forum. This is the Nexus 6 forums. You'll need to ask your questions in the Galaxy S6 forums, as your device has Touchwiz, which our devices don't run.
Strephon Alkhalikoi said:
@Zack909: Desperate and in the wrong forum. This is the Nexus 6 forums. You'll need to ask your questions in the Galaxy S6 forums, as your device has Touchwiz, which our devices don't run.
Click to expand...
Click to collapse
Thanks but i solved the problemi. I just unistalled CM Locker
It's good you solved your problem. You shouldn't be running anything from Cheetah Mobile, as every single app they produce is pretty much junk.
Grrr
Omni swipe program can also cause this disable it or uninstall
For me it's just SwipePad that I use which has an always on overlay. If you know what apps are overlaying I've found a workaround you can setup. Ideally an app shouldn't have an invisible overlay permanently hogging resources so you should find and disable them permanently if they're unwanted anyway. An app like Elixir with it's "running" processes/services filtered to User can help finding the culprit.
So I use a workaround to quickly disable an overlay for permission toggling. A "Task Shortcut" that uses the Tasker Greenify plugin (don't know if pro is required) to Hibernate the overlay app/s, Wait for a configured time and then Wake. Note that the wake process takes five seconds to finish.
I open my shortcut from SwipePad itself for it to disable for ten seconds while I click away at permissions to my hearts content. When the time is up it resumes working normally and all is well :highfive:
Infy_AsiX said:
For me it's just SwipePad that I use which has an always on overlay. If you know what apps are overlaying I've found a workaround you can setup. Ideally an app shouldn't have an invisible overlay permanently hogging resources so you should find and disable them permanently if they're unwanted anyway. An app like Elixir with it's "running" processes/services filtered to User can help finding the culprit.
So I use a workaround to quickly disable an overlay for permission toggling. A "Task Shortcut" that uses the Tasker Greenify plugin (don't know if pro is required) to Hibernate the overlay app/s, Wait for a configured time and then Wake. Note that the wake process takes five seconds to finish.
I open my shortcut from SwipePad itself for it to disable for ten seconds while I click away at permissions to my hearts content. When the time is up it resumes working normally and all is well :highfive:
Click to expand...
Click to collapse
I don't understand what you're doing. Your link is to a Task Manager Shortcut for Galaxy S3. I can see how Tasker could be used, but I don't understand how this app would be involved.
JimSmith94 said:
I don't understand what you're doing. Your link is to a Task Manager Shortcut for Galaxy S3. I can see how Tasker could be used, but I don't understand how this app would be involved.
Click to expand...
Click to collapse
Oops, my bad. I'll fix my post. The app is AutoShortcut.
https://play.google.com/store/apps/details?id=com.joaomgcd.autoshortcut
Task Shortcut is what the system shortcut it enables is called.
xbatis said:
Hello, I'm having issues with my N6 after the Marshmallow But I am facing a problem that for each application, I am getting screen overlay detected. If I follow on screen instructions, in settings, I can't change permission. i cannot upload any images from my phone to facebook,instagram basically any app trying to access the drive on my phone. can you guys help solve this issue.
thanks,
Click to expand...
Click to collapse
Boot into safe mode using hardware button combo. Enable all permissions, reboot normally
How to fix Screen Overlay Detected Error easily
xbatis said:
Hello, I'm having issues with my N6 after the Marshmallow But I am facing a problem that for each application, I am getting screen overlay detected. If I follow on screen instructions, in settings, I can't change permission. i cannot upload any images from my phone to facebook,instagram basically any app trying to access the drive on my phone. can you guys help solve this issue.
thanks,
Click to expand...
Click to collapse
This is because of the apps that are using "draw over other apps" feature. You can just turn them off from settings. If you want a head up on how to do this, you can go to this link here. Fix screen overlay detected
jokeinc said:
okay. I have called google support for five nights and not one tech support person was able to help me. After countless hours of fiddling i figured out how to fix this problem. Put your phone in safe mode (press the power off button and press on the on screen power off icon until it asks if you want to go in safe mode. Press okay) then once it reboots, go to settings, then apps, click on the facebook app or whatever app you have the problem with, press permissions and then turn on all the permissions (toggle to the right and it should turn green). Repeat for whichever other apps have this problem then turn reboot the phone and voila! It's fixed. :d
Click to expand...
Click to collapse
i'm ready to put my phone in the garbage disposal over this error. i can't get rid of it and can't even download a simple APK file from chrome without getting it. I've done everything suggested in every youtube video and what you said above.
i turn off screen overlay for every app shown, which is about 30 and i have none of the so called problem apps installed.
i go into safe mode and try to turn on a permission and I STILL GET THE SCREEN OVERLAY ERROR. i have no idea what to do or what is wrong.
When you hold the menu button it opens the google search. Is there a way to disable this? Or at least change the button delay time.
Settings/apps/advanced/default app settings/assistance and voice input/assist app
There you can change it. Probably the "deepest" setting on the phone :silly:
I set it to turn the screen off Btw, with an app called screen off and lock.
clouds5 said:
Settings/apps/advanced/default app settings/assistance and voice input/assist app
There you can change it. Probably the "deepest" setting on the phone :silly:
I set it to turn the screen off Btw, with an app called screen off and lock.
Click to expand...
Click to collapse
Oh my god thank you. Amazing. For some reason xda didn't email me your reply, but now I checked and your answer is beautiful.
clouds5 said:
Settings/apps/advanced/default app settings/assistance and voice input/assist app
There you can change it. Probably the "deepest" setting on the phone :silly:
I set it to turn the screen off Btw, with an app called screen off and lock.
Click to expand...
Click to collapse
Apologies for revisiting an old thread but this was the only place I found this solution.
Might be common knowledge for some but I wanted to highlight for other Huawei owners to try this.
In particular, this works also for a Huawei Y6 2017 !!
[NB: system is EMUI 4.1 on the MYA-L11 version of Huawei Y6-2017]
I recently bought my dad a Huawei Y6(2017) and installed easy-to-use apps for basic functions but the smallest delay in releasing the home button (maybe 1/4 sec or so!) was opening Google Search -- this was potentially going to drive hime crazy -- exactly the type of thing that would make him give up on his first smartphone!!
Being much more used to stock Android settings, I just couldn't find an option to stop or disable the long-press of the home button
tldr; As per the instructions, I set the buried option "Assist app" to "None". Job done.
Many, many thanks