date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/04/13 | 217 | 781 | <issue_start>username_0: I have several Skype accounts. How can I change the account used by the Android Skype app? I don't see a way to log off/log on. Should I de-install & re-install from scratch?<issue_comment>username_1: According to [skype support](https://support.skype.com/en/faq/FA12358/how-do-i-sign-out-of-skype-for-android), all you have to do, is open the menu on the top left, and you'll find a *sign out* button on the bottom of the menu.
You will then have an option to sign in using a different account.
Upvotes: 0 <issue_comment>username_2: Ok, so the secret is that there is a settings page but to get there you have to tap your avatar/icon at the top of the chats history. Then the "Disconnect from Skype" option is at the bottom.
Upvotes: 3 [selected_answer] |
2018/04/14 | 459 | 1,568 | <issue_start>username_0: I downloaded an app called Vysor - <https://play.google.com/store/apps/details?id=com.koushikdutta.vysor>
I wanted to remove the ads so I purchased a monthly subscription - from their website. The ads got removed & it worked fine. Now I want to stop the monthly subscription after the first month is over. However, I see no option for this on the app itself to stop subscription.
In the playstore, my subscription doesn't show in "My subscriptions" - I have written to the email id given with the app and am waiting for a response. But other than that, what are my options?<issue_comment>username_1: This guide was commented but not posted as an answer..
To clarify for others, your answer is here [Vysor Google+ Billing and Licensing](https://plus.google.com/u/0/110558071969009568835/posts/ZYU9dED8DPG)
Upvotes: 0 <issue_comment>username_2: Quoted from [a page](https://plus.google.com/u/0/110558071969009568835/posts/ZYU9dED8DPG) from the Vysor Google+ community:
>
> **Subscription Management, Cancellations, Invoices**
>
>
> Cancellation can be done any time. Just go into your account management and cancel the subscription. Instructions below.
>
>
> **Chrome Web Store Subscriptions**
>
>
> Vysor subscriptions purchased on the Chrome Store (Google Wallet) can be canceled in your Google Wallet bills section. If you cancel a subscription on the Chrome store, you will never be able to resubscribe with the Chrome store. Not even on a different plan. This is a bug with the Chrome store.
>
>
>
Upvotes: 3 [selected_answer] |
2018/04/14 | 361 | 1,493 | <issue_start>username_0: I have a Samsung phone with Android 6.0.1. I'd like to know if the FRP is activated. I've been searching on the web for instructions on how to do this. So far I've found instructions requiring the user to actually factory reset the phone. Is there a way to verify if FRP is on (and activate it if not) without having to factory reset the phone?
My phone is secured with a pin number.<issue_comment>username_1: According to [Samsung support](https://www.samsung.com/us/support/frp/), FRP is automatically enabled when you set up at least one Google account. If you still want to check it's status manually, you will need to enter **Download mode**. To do this:
* turn off your phone and wait about 10 seconds
* hold Volume Down, Home and Power buttons simultaneously until you see a warning
* press Volume Up to continue.
After doing these steps, some text should appear on the screen, including "FRP LOCK" or something like that. There you can check whether protection is enabled or not.
**Important:** to exit download mode, you will need to hold the power button for more than 10 seconds, or if that doesn't help just pull the battery.
---
Please note that FRP can be easily disabled by flashing new ROM without GApps, but if your bootloader is locked that's not an issue.
Upvotes: 2 [selected_answer]<issue_comment>username_2: The factory protection lock should be always enabled as long as you have a password,pin or fingerprint lock on the phone
Upvotes: 0 |
2018/04/15 | 333 | 1,335 | <issue_start>username_0: I need to edit a simple plain text file. Is there a built-in text editor that comes with Android? I have Android 7, LG Stylo 3.
I just need to open a text file, and enter some words:
cat
dog
etc
I need to edit text, then share it via email or have it saved in Android file system so I can share it later.
Second question: if there is no such a thing, what is the simplest plain text editor app available for such task?<issue_comment>username_1: **No** AFAICT, unless it it is preinstalled by the device manufacturer, for example some devices like Xiaomi, Huawei come with a preinstalled document editor (WPS), which not allows you to view but to edit text files as well.
As suggested above, stock android only comes with with text **viewer** , not editor, in any case if you need to install it, please see Izzy's list of suggested text editors
Upvotes: 1 <issue_comment>username_2: Yes. I'm on Lenovo k8 note right now which is running stock Android 8.0. I was looking if it has some built-in text editor like vi in unix based systems. I installed terminal emulator and looked for vi, vim and nano but got no luck. Then I tried sed(Stream EDitor) which also comes preinstalled with most unix based systems, and it worked well. So, yeah you can use sed to do some command line text manipulation.
Upvotes: 0 |
2018/04/16 | 204 | 816 | <issue_start>username_0: This is the picture
It's really nice to have some one helping..
Thanks<issue_comment>username_1: There is no `System App` which shows you adds. Adds are added by `Developers` for earning. Check your Device for any `3rd Party App` which shows add even after closing it.
Upvotes: 0 <issue_comment>username_2: Long Press on the icon for the app in your recent applications list and it'll show you exactly what package caused the ad page.
Ad's aren't usually incorporated in system apps because you've already paid for them and it'd be double charging, Developers add adverts to their apps to help support their creativity, You can't just make apps for free as it's the same as digging a whole without a ladder.
Upvotes: 1 |
2018/04/16 | 317 | 1,484 | <issue_start>username_0: I have published an application and it went live after sometime. Now I have enabled automatic updates in the play store settings. I can see my app there and it's showing me update button. But why it is not automatically updated? Also i haven't got any notification about new update available?
Can anyone please tell how automatic updates work? App starts downloading update the time it is available or play store check updates after some interval?<issue_comment>username_1: When an update to an application is published in the Play Store, updates start rolling out. Not all users will see the update immediately; I think the figure is a few hours for the update to be available throughout the country or world.
The Play Store app checks for updates periodically, I think a few times daily. You can configure toggles to:
1. Notify when updates are available
2. Automatically install updates
3. Notify when automatic updates have occurred
A user will only be alerted for an update if the application is installed from the Play Store. As a developer, you may have installed from adb, in which case the application will not update from the Play Store. You can always reinstall the Play Store version, which will be updated.
Upvotes: 2 <issue_comment>username_2: Yes as answered above the updates don't happen right away. It could take up to 24 hrs for it to reach all users. The playstore generally updated when the device is idle and plugged in
Upvotes: 0 |
2018/04/16 | 270 | 1,210 | <issue_start>username_0: While deleting apps to free up storage, I removed important system
functions (display touchscreenscanning).
How can I replace the system with a fresh version of Android 4.2.2?<issue_comment>username_1: When an update to an application is published in the Play Store, updates start rolling out. Not all users will see the update immediately; I think the figure is a few hours for the update to be available throughout the country or world.
The Play Store app checks for updates periodically, I think a few times daily. You can configure toggles to:
1. Notify when updates are available
2. Automatically install updates
3. Notify when automatic updates have occurred
A user will only be alerted for an update if the application is installed from the Play Store. As a developer, you may have installed from adb, in which case the application will not update from the Play Store. You can always reinstall the Play Store version, which will be updated.
Upvotes: 2 <issue_comment>username_2: Yes as answered above the updates don't happen right away. It could take up to 24 hrs for it to reach all users. The playstore generally updated when the device is idle and plugged in
Upvotes: 0 |
2018/04/17 | 357 | 1,485 | <issue_start>username_0: I switched to a different phone recently and had to install all the apps anew.
I am bilingual and I used GBoard (Google Keyboard) on both, and on the old one I had it configured in such a way that it would automatically treat both languages I speak as one, so as I typed it would suggest words from both languages, even in the same sentence.
I can't figure out how to get that feature back on the new phone. It only ever suggests English words. How can I make it suggest words in both languages?
In GBoard settings -> Languages I have both languages installed and on both I have *Multilingual typing* enabled. Still it seems to make no difference<issue_comment>username_1: <https://android.stackexchange.com/a/165510>
"On the the keyboard options you'll find settings for Languages, Preferences, Theme... and in Text correction you'll find the toggle you're looking for: multilingual typing."
Upvotes: 2 [selected_answer]<issue_comment>username_2: In 2018 it is here:
Latest Gboard moved the multilingual typing toggle to Languages > Language. There, each language defines whether it uses multilingual typing or not, and with which languages.
Upvotes: 1 <issue_comment>username_3: Go to language → spelling check → if it says that it's system language, then go and click it and select the desired language. That way even if the Gboard has languages that don't support multilingual , you can still make it so that it can work with both languages
Upvotes: 0 |
2018/04/17 | 271 | 1,020 | <issue_start>username_0: All my apps lost their text labels!
[](https://i.stack.imgur.com/oCbfJ.png)
I tried rebooting, but it didn't help.<issue_comment>username_1: <https://android.stackexchange.com/a/165510>
"On the the keyboard options you'll find settings for Languages, Preferences, Theme... and in Text correction you'll find the toggle you're looking for: multilingual typing."
Upvotes: 2 [selected_answer]<issue_comment>username_2: In 2018 it is here:
Latest Gboard moved the multilingual typing toggle to Languages > Language. There, each language defines whether it uses multilingual typing or not, and with which languages.
Upvotes: 1 <issue_comment>username_3: Go to language → spelling check → if it says that it's system language, then go and click it and select the desired language. That way even if the Gboard has languages that don't support multilingual , you can still make it so that it can work with both languages
Upvotes: 0 |
2018/04/17 | 337 | 1,541 | <issue_start>username_0: Whenever I go to change app permissions for on app on my Android, I do it after it has already been installed. Is there any way I can modify those permissions **before** I do the installation?
Update:
With the traditional way a period of time passes, however small, between the time you install the app and the time you update/restrict its permissions. During this period the app could be accessing the data (and uploading to its server) that you are trying to restrict (contacts, identity, etc.). Right?<issue_comment>username_1: You can't change app settings before the app has been installed.
However if you are concerned about data leakage I would do the following:
1. Download the apk to your device
2. Disable all network connections
3. Install the app
4. Change the app permissions according your preferences
5. Open the app manager and select the just installed app
6. Force the app to quit and delete the app data and caches (just to make sure)
Afterwards you can safely re-enable network access
Anyway, for common permissions the app have to ask before it can be used the first time. Therefore it is unclear to me what permissions you are referring to that could be directly used without that you have explicitly granted access to.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Android permissions are anarchy. You can disable in newer Android versions, but between installation and permission settings adjustment, all your data can be accessed and uploaded to the app's server.
Upvotes: 1 |
2018/04/19 | 388 | 1,661 | <issue_start>username_0: I am very new to apply codes. Sorry my disturbunce...
I am english learner. I am reading english newspaper. When i long press on a word textmenu popup and i need to push translate button but its in hidden side and i need to press three dot to open it.
How can i find this textmenu area in an app on apk editor?
How can i get long press menu fixed in view on an app.
Or at least how can i change order long press menu copy,share, select all to other order..
Thank u in advance. Any mistake please delete my message and forgive me...<issue_comment>username_1: You cannot change this order because Android devices this order internally.
Upvotes: 1 <issue_comment>username_2: As Aashish points out, it's Android itself that presents this menu, not the app. The app can add extra items to the "three dots" menu, but it can't move items into the first menu or change the order. Instead, you should look for a *custom ROM* (a modified version of Android with this feature), or an Xposed plugin that lets you change the menu. I don't think the feature you want exists in either of those forms.
One alternative is provided by the Google Translate app itself. It has an option called **Tap to Translate**. This option makes it listen in for text copied to the clipboard. When you copy some text, Google Translate pops up a button to translate it immediately. You might find this a little easier than using the **Translate** option from the menu.
To activate this option, go to the Google Translate app. In the navigation drawer (the *hamburger menu*), go to **Settings**, then **Tap to Translate**. Flick the **Enable** switch on.
Upvotes: 0 |
2018/04/20 | 501 | 2,033 | <issue_start>username_0: I have developed an HTML daylily data base with approximately 1700 pages of html code and daylily photos (over 1000 cultivars) over the past 6 years. I can read it on my PC, Laptop, old hipstreet titan tablet, but when I loaded it on my new Acer Iconia One 10" tablet, it refuses to display the data properly. It displays the home page but does access the CSS page. Nor can it find any of the linked pages. It still displays properly on my old Hipstreet Titan Tablet. I have downloaded and tried numerous browser apps with the same result. Any ideas?<issue_comment>username_1: It's usually because Android doesn't have that level of access to the user storage, I have had this issue many times while trying to load websites from either internal storage or external storage.. After looking into I found that it's something to protect the user from running scripts like trying to load a website from a CD on a computer, it doesn't allow activeX content or whatever, The only solution I found was packaging the website as an application and allowing JavaScript in the WebView
It will work if built into an application as an asset for example, here's a snippet of an application that has database access, to load a website from android\_asset
(the Assets folder inside an application)
```
WebView wv = (WebView) findViewById(R.id.wv);
wv.getSettings().setAllowFileAccess(true);
wv.getSettings().setAllowFileAccessFromFileURLs(true);
wv.getSettings().setDatabaseEnabled(true);
wv.getSettings().setAllowContentAccess(true);
wv.getSettings().setJavaScriptEnabled(true);
wv.loadUrl("file:///android_asset/HomePage-Or-Index.html");
```
Upvotes: -1 <issue_comment>username_2: I managed to get the web page displayed correctly by downloading and installing an HTML "edit and view" app called [Quoda](https://play.google.com/store/apps/details?id=com.henrythompson.quoda). I have tried several and this will satisfy my requirements. It also allows me to edit pages and preview the changes.
Upvotes: 0 |
2018/04/20 | 545 | 2,274 | <issue_start>username_0: I am not sure if this is really an Android problem, but I have reasons to believe so. Please let me know if not.
I am trying to connect to a WiFi network. This network redirects me to an authentication page (in the HTML viewer). This worked perfectly fine until a few days ago. Now, in the HTML viewer, after I authenticate it just shows `ERR_CONNECTION_RESET`. I thought it could be a problem with the HTML viewer, so I turned to Google Chrome for authentication. This worked at first. But now, even Chrome throws an error `405 Method not allowed`.
I think the problem could be the Android device, because I am able to connect to the WiFi with my laptop, which runs on Ubuntu. But, I am not really sure.
Any suggestions or solutions to solve or diagnose this?
My Android version is 6.0.<issue_comment>username_1: It's usually because Android doesn't have that level of access to the user storage, I have had this issue many times while trying to load websites from either internal storage or external storage.. After looking into I found that it's something to protect the user from running scripts like trying to load a website from a CD on a computer, it doesn't allow activeX content or whatever, The only solution I found was packaging the website as an application and allowing JavaScript in the WebView
It will work if built into an application as an asset for example, here's a snippet of an application that has database access, to load a website from android\_asset
(the Assets folder inside an application)
```
WebView wv = (WebView) findViewById(R.id.wv);
wv.getSettings().setAllowFileAccess(true);
wv.getSettings().setAllowFileAccessFromFileURLs(true);
wv.getSettings().setDatabaseEnabled(true);
wv.getSettings().setAllowContentAccess(true);
wv.getSettings().setJavaScriptEnabled(true);
wv.loadUrl("file:///android_asset/HomePage-Or-Index.html");
```
Upvotes: -1 <issue_comment>username_2: I managed to get the web page displayed correctly by downloading and installing an HTML "edit and view" app called [Quoda](https://play.google.com/store/apps/details?id=com.henrythompson.quoda). I have tried several and this will satisfy my requirements. It also allows me to edit pages and preview the changes.
Upvotes: 0 |
2018/04/20 | 457 | 1,529 | <issue_start>username_0: Samsung's [specs](http://www.samsung.com/uk/smartphones/galaxy-s3-i9300/GT-I9300ZKDBTU/) for my Galaxy S3 say:

***128GB MicroSD cards*** probably didn't exist when this phone was made.
If I insert a `128GB MicroSD card`, will the card:
* "not function at all"
or will it:
* "work fine" but only let me use 64GB?<issue_comment>username_1: I had an 32GB SDCard that had 16GB in ext2, and 16GB in fat32 (in think it was fat32, but I don't recall exactly).
I had no trouble using it under a Samsung Galaxy Core Plus, though I only had access to the latter 16GB, so in the worst case scenario, you'll probably get away with creating an unused 64GB ext2 partition on your SD card
Upvotes: -1 <issue_comment>username_2: It will work fine and you'll have access to the entire storage space.
---
It's usually just a recommendation for a better user experience in my opinion, If I used the recommended maximum SD Card size on my device It'd be able to load all my photos, music, app data without any serious delay, however if I put a huge SD Card in my device it could take hours to load 128gb worth of photos, Therefore it's necessary to recommended a maximum size for the best user experience.
You will need to format your SD Card to Fat32 on a PC if it's not already formatted.
A good free software for this on Windows would be
---
[Aomi Partition Assistant](https://www.disk-partition.com/free-partition-manager.html)
---
Upvotes: 1 |
2018/04/22 | 322 | 1,237 | <issue_start>username_0: This has happened to me several times and this time I cannot get in turned back up.<issue_comment>username_1: I had an 32GB SDCard that had 16GB in ext2, and 16GB in fat32 (in think it was fat32, but I don't recall exactly).
I had no trouble using it under a Samsung Galaxy Core Plus, though I only had access to the latter 16GB, so in the worst case scenario, you'll probably get away with creating an unused 64GB ext2 partition on your SD card
Upvotes: -1 <issue_comment>username_2: It will work fine and you'll have access to the entire storage space.
---
It's usually just a recommendation for a better user experience in my opinion, If I used the recommended maximum SD Card size on my device It'd be able to load all my photos, music, app data without any serious delay, however if I put a huge SD Card in my device it could take hours to load 128gb worth of photos, Therefore it's necessary to recommended a maximum size for the best user experience.
You will need to format your SD Card to Fat32 on a PC if it's not already formatted.
A good free software for this on Windows would be
---
[Aomi Partition Assistant](https://www.disk-partition.com/free-partition-manager.html)
---
Upvotes: 1 |
2018/04/23 | 496 | 1,974 | <issue_start>username_0: It seems I'm facing a strange problem with my smartphone.
After the last update, I can't connect to my office's wifi. All the other devices connect normally. However, I tried resetting the router many times.
On the other hand, my phone connects perfectly to all other networks. I think I did everything possible, even a hard reset, but the problem insists.
I've tried changing the IP settings to static and typing my IP etc, but nothing worked.
Any other ideas are welcome.
thanx
Update : When I walk 15 meters away from my desk to another office and try to connect again, my phone connects normally to the same network but from a different router. So, I suppose the problem is between my nearby router and my phone. Is there any way to fix this? It worked till last Friday, so there's no chance of incompatibility.<issue_comment>username_1: I had an 32GB SDCard that had 16GB in ext2, and 16GB in fat32 (in think it was fat32, but I don't recall exactly).
I had no trouble using it under a Samsung Galaxy Core Plus, though I only had access to the latter 16GB, so in the worst case scenario, you'll probably get away with creating an unused 64GB ext2 partition on your SD card
Upvotes: -1 <issue_comment>username_2: It will work fine and you'll have access to the entire storage space.
---
It's usually just a recommendation for a better user experience in my opinion, If I used the recommended maximum SD Card size on my device It'd be able to load all my photos, music, app data without any serious delay, however if I put a huge SD Card in my device it could take hours to load 128gb worth of photos, Therefore it's necessary to recommended a maximum size for the best user experience.
You will need to format your SD Card to Fat32 on a PC if it's not already formatted.
A good free software for this on Windows would be
---
[Aomi Partition Assistant](https://www.disk-partition.com/free-partition-manager.html)
---
Upvotes: 1 |
2018/04/23 | 952 | 3,633 | <issue_start>username_0: Various apps have a "share" functionality which opens up several providers of media/means to share some piece of content (e.g. send over WhatsApp and many others). Is it possible to have a "sharing provider" which simply saves the shared content as a file on the device filesystem?
My main interest is sharing text, but not just that. I don't particularly care about the encoding/structural format - but do say something about that if you can.<issue_comment>username_1: There are at least two such apps/sharing providers that I am aware of.
The first and less universally-relevant is available on newer Xiaomi phones; it is the File Manager application (or one closely related to it); in the "Share..." options, it appears as a yellowish folder, with the caption "Copy To". When chosen, it lets you select among the internal storage, (possibly) any SD card, and some remote options which are irrelevant to this question. After having navigated to a relevant folder, you press the Paste button available at the bottom of your screen.
The more universally-relevant option is an application called [X-plore](https://www.lonelycatgames.com/apps/xplore/), by [Lonely Cat Games](https://www.lonelycatgames.com/). It's also a kind of file manager app, which feels a bit more Norton-Commander-ish with a single pane than Windows-Explorer-ish. Its icon has a silvery wrench over a dark-gray-and-organe background, and the caption is also "Copy To". You then use the X-plore file tree UI to choose where to write the file.
This was all reported based on behaviors on my own phone, which is currently a MI 9 SE.
Upvotes: 1 <issue_comment>username_2: Yes, this is definitely possible!
My recommended tool to accomplish this is [Solid Explorer File Manager by NeatBytes](https://play.google.com/store/apps/details?id=pl.solidexplorer2).
In addition to being a great file manager, it also creates a ***Share target*** named `"Save to..."` for saving any content as a file in your storage. I've personally used it for this purpose hundreds of times, and it works quite well.
Another tool that may interest you is the wonderful [ShareListener by Red Apps LTD](https://play.google.com/store/apps/details?id=com.laurencedawson.sharelistener). It's a simple tool without any UI of it's own that is:
>
> A simple app that registers itself as a Browser. When opened, the link is then shared and can be opened with any apps that listen for the share intent.
>
>
> Useful for apps that don't have a share functionality but allow users to click on links.
>
>
>
*Source: Google Play store description.*
Since it needs no primary UI of its own, here is how it looks to the user:
[](https://i.stack.imgur.com/5l4zk.jpg)
*Source: Google Play store screenshot.*
The magic of ShareListener is that when you try to share a link. Many apps will only allow you to open a browser. ShareListener will allow you to share links with non-browser apps, including Solid Explorer! When used in conjunction with Solid Explorer's ***Share target***, you can quickly save any link to storage instead of opening it in a browser.
Upvotes: 2 <issue_comment>username_3: [Send to SD card](https://play.google.com/store/apps/details?id=ru.gelin.android.sendtosd&hl=en&gl=US) is a very simply app that does exactly that. Not updated since 2015 unfortunately.
I also found [Share to File System](https://play.google.com/store/apps/details?id=com.boxhead.android.sharetofilesystem&hl=en&gl=US) which I haven't tried and has only 1k downloads and last updated 2018.
Upvotes: 1 |
2018/04/23 | 1,015 | 3,723 | <issue_start>username_0: My new [Jasper](http://www.imei.info/phonedatabase/101700-zte-jasper-lte-z718tl/) phone has a persistent app from the original manufacture which keeps popping up. Without [rooting](http://androidbiits.com/root-tracfone-zte-jasper-z718tl-easily/) the phone, how can I disable or remove this app? Dragging it to "remove" doesn't persist as the app comes back on its own.
Can I get back to some stock version without the OEM apps?
*I have already disabled the app, but it keeps respawning so that the icon populates to the home screen.*<issue_comment>username_1: There are at least two such apps/sharing providers that I am aware of.
The first and less universally-relevant is available on newer Xiaomi phones; it is the File Manager application (or one closely related to it); in the "Share..." options, it appears as a yellowish folder, with the caption "Copy To". When chosen, it lets you select among the internal storage, (possibly) any SD card, and some remote options which are irrelevant to this question. After having navigated to a relevant folder, you press the Paste button available at the bottom of your screen.
The more universally-relevant option is an application called [X-plore](https://www.lonelycatgames.com/apps/xplore/), by [Lonely Cat Games](https://www.lonelycatgames.com/). It's also a kind of file manager app, which feels a bit more Norton-Commander-ish with a single pane than Windows-Explorer-ish. Its icon has a silvery wrench over a dark-gray-and-organe background, and the caption is also "Copy To". You then use the X-plore file tree UI to choose where to write the file.
This was all reported based on behaviors on my own phone, which is currently a MI 9 SE.
Upvotes: 1 <issue_comment>username_2: Yes, this is definitely possible!
My recommended tool to accomplish this is [Solid Explorer File Manager by NeatBytes](https://play.google.com/store/apps/details?id=pl.solidexplorer2).
In addition to being a great file manager, it also creates a ***Share target*** named `"Save to..."` for saving any content as a file in your storage. I've personally used it for this purpose hundreds of times, and it works quite well.
Another tool that may interest you is the wonderful [ShareListener by Red Apps LTD](https://play.google.com/store/apps/details?id=com.laurencedawson.sharelistener). It's a simple tool without any UI of it's own that is:
>
> A simple app that registers itself as a Browser. When opened, the link is then shared and can be opened with any apps that listen for the share intent.
>
>
> Useful for apps that don't have a share functionality but allow users to click on links.
>
>
>
*Source: Google Play store description.*
Since it needs no primary UI of its own, here is how it looks to the user:
[](https://i.stack.imgur.com/5l4zk.jpg)
*Source: Google Play store screenshot.*
The magic of ShareListener is that when you try to share a link. Many apps will only allow you to open a browser. ShareListener will allow you to share links with non-browser apps, including Solid Explorer! When used in conjunction with Solid Explorer's ***Share target***, you can quickly save any link to storage instead of opening it in a browser.
Upvotes: 2 <issue_comment>username_3: [Send to SD card](https://play.google.com/store/apps/details?id=ru.gelin.android.sendtosd&hl=en&gl=US) is a very simply app that does exactly that. Not updated since 2015 unfortunately.
I also found [Share to File System](https://play.google.com/store/apps/details?id=com.boxhead.android.sharetofilesystem&hl=en&gl=US) which I haven't tried and has only 1k downloads and last updated 2018.
Upvotes: 1 |
2018/04/25 | 937 | 3,540 | <issue_start>username_0: My brand new out of the box Moto G6 won't send or receive SMS. I'm using the official SMS app which has SMS permissions (triple checked this) and is the default SMS app.
I tried everything: cleaning cache, reinstalling, updating, rebooting, turning off both SIM cards, rebooting the radio through phone commands, etc. Nothing worked.
How to fix this?<issue_comment>username_1: There are at least two such apps/sharing providers that I am aware of.
The first and less universally-relevant is available on newer Xiaomi phones; it is the File Manager application (or one closely related to it); in the "Share..." options, it appears as a yellowish folder, with the caption "Copy To". When chosen, it lets you select among the internal storage, (possibly) any SD card, and some remote options which are irrelevant to this question. After having navigated to a relevant folder, you press the Paste button available at the bottom of your screen.
The more universally-relevant option is an application called [X-plore](https://www.lonelycatgames.com/apps/xplore/), by [Lonely Cat Games](https://www.lonelycatgames.com/). It's also a kind of file manager app, which feels a bit more Norton-Commander-ish with a single pane than Windows-Explorer-ish. Its icon has a silvery wrench over a dark-gray-and-organe background, and the caption is also "Copy To". You then use the X-plore file tree UI to choose where to write the file.
This was all reported based on behaviors on my own phone, which is currently a MI 9 SE.
Upvotes: 1 <issue_comment>username_2: Yes, this is definitely possible!
My recommended tool to accomplish this is [Solid Explorer File Manager by NeatBytes](https://play.google.com/store/apps/details?id=pl.solidexplorer2).
In addition to being a great file manager, it also creates a ***Share target*** named `"Save to..."` for saving any content as a file in your storage. I've personally used it for this purpose hundreds of times, and it works quite well.
Another tool that may interest you is the wonderful [ShareListener by Red Apps LTD](https://play.google.com/store/apps/details?id=com.laurencedawson.sharelistener). It's a simple tool without any UI of it's own that is:
>
> A simple app that registers itself as a Browser. When opened, the link is then shared and can be opened with any apps that listen for the share intent.
>
>
> Useful for apps that don't have a share functionality but allow users to click on links.
>
>
>
*Source: Google Play store description.*
Since it needs no primary UI of its own, here is how it looks to the user:
[](https://i.stack.imgur.com/5l4zk.jpg)
*Source: Google Play store screenshot.*
The magic of ShareListener is that when you try to share a link. Many apps will only allow you to open a browser. ShareListener will allow you to share links with non-browser apps, including Solid Explorer! When used in conjunction with Solid Explorer's ***Share target***, you can quickly save any link to storage instead of opening it in a browser.
Upvotes: 2 <issue_comment>username_3: [Send to SD card](https://play.google.com/store/apps/details?id=ru.gelin.android.sendtosd&hl=en&gl=US) is a very simply app that does exactly that. Not updated since 2015 unfortunately.
I also found [Share to File System](https://play.google.com/store/apps/details?id=com.boxhead.android.sharetofilesystem&hl=en&gl=US) which I haven't tried and has only 1k downloads and last updated 2018.
Upvotes: 1 |
2018/04/25 | 657 | 2,652 | <issue_start>username_0: I'm using an [app](https://play.google.com/store/apps/details?id=com.yousician.yousician) that allows the user to sign up for a subscription. Doing that in the app the user is asked to type in their credit card information.

Is that allowed for a Play Store app? In [Play Store terms](https://developer.android.com/google/play/billing/billing_subscriptions.html#payment) it's stated that:
>
> In general, the terms of Google Play allow you to sell in-app subscriptions only through the standard payment processor, Google payments.
>
>
>
I asked the app developer about this, but they replied with instructions for doing a subscription on iTunes (without having to type in credit card info).<issue_comment>username_1: Looking at the screenshot, that is not Google Play Payments (and therefore should not be trusted). Try sending an email to the developer that read something similar to this:
* I would like to buy a subscription for your Android app (app name), but it does not use the standard Google Play payments system. I do not trust Android purchasing systems other then the Google Play purchasing system. If your do not switch your payment system, I will have your app flagged for using a 3rd party payments system.
According to the Google Play Developer contract, if they do not reply after 72 hours and/or do not change to the Google Play payment system, file a complaint against their app [here](https://support.google.com/googleplay/android-developer/contact/takedown) and select "Third-party Payment" as the takedown reason.
Upvotes: -1 <issue_comment>username_2: It's not clear from your question or the app description exactly what a premium subscription gets you, so I don't know if this applies to you, but there's an exception to the rule you quote. Purchases of goods or content that isn't just accessible through the app **don't** have to go through the in-app purchase system or Google Pay.
Quoting [Google's *Developer Policy Center*](https://play.google.com/about/monetization-ads/):
>
> * Developers offering products within another category of app [other than games] downloaded on Google Play must use Google Play In-app Billing as the method of payment, except for the following cases:
>
>
> + Payment is solely for physical products
> + Payment is for digital content that may be consumed outside of the app itself (e.g. songs that can be played on other music players).
>
>
>
If the subscription this app offers is for videos or music, or it's also available through their website, they don't have to use Google Pay.
Upvotes: 1 |
2018/04/26 | 471 | 1,714 | <issue_start>username_0: Is there an option or app where I can set that my phone only vibrates for notificaciones if I haven't used my phone in the last 5 or 10 minutes, but if not just be silent.
I don't to miss my notifications but when I'm with the phone I don't want that it vibrates meaningless.
I'm running Nougat.<issue_comment>username_1: upto my knowledge, there is no app is available in the market.
It can be done by creating one application using Accelerometer sensor functionality, which was an inbuild sensor in many of our mobile phones.
Upvotes: -1 <issue_comment>username_2: The [comment made by @Izzy](https://android.stackexchange.com/questions/195176/vibrate-only-when-im-away#comment251261_195176) is correct; you can accomplish it with automation. I am using [MacroDroid](https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid) to demonstrate it.
**Assumptions:** The screen is off (when the screen is on, you are using the phone).
1. In the Trigger tab, in the Device Events section, select Notification, then Notification Received. Choose `Any Application`, on the next screen, click OK.
2. In the Action tab, in the MacroDroid Specific section, select "Wait Before Next Action", then set it to 5 minutes (or any appropriate time length).
3. In the Constraints tab, in the Device State section, select Device Locked/Unlocked, then choose Device Locked.
4. Give the macro a name and save it. It will look like the image below.
When the phone receives a notification from any app when the screen is off, it will wait for the amount of time set then vibrates.
[](https://i.stack.imgur.com/z3mV3.png)
Upvotes: 2 [selected_answer] |
2018/04/26 | 730 | 2,921 | <issue_start>username_0: I am wondering is there a way to completly delete all data on the phone(including system, kernel...) and reinstalling clean system, something that would be equivalent to formating hard drive and reinstalling system on PC.<issue_comment>username_1: Yes and no. I'll explain:
TL;DR *Simple method at end of post*
Using your example...
Formatting a hard drive on a desktop computer (depending on quick or full format) effectively writes 0s to all (or at least enough) memory addresses to where the drive will assume it's been wiped clean. Any data recovery specialist will claim otherwise though, since data can *most* always be recovered.
If your goal is complete eradication of all data on your phone (though I'd wonder why lol), then you absolutely have to have root permissions, and I'd recommend a full partition map for your device. Then just open up an ADB terminal on the device and issue the following command as root:
WARNING, DO NOT ATTEMPT THIS COMMAND UNLESS YOU KNOW ABSOLUTELY WHAT IT MEANS
`dd if=/dev/null of=/dev/block/mmcblk0`
This command will assuredly destroy all data on the phone and prevent all but the most technically savvy recovery specialist from being able to find any usable data.
TL;DR
But if all your looking to do is to start fresh with a clean OS and you're not concerned about data recovery then you can simply do a factory reset via settings menu (remove Google account first!), via recovery menu (remove Google account first!), or if you have/are able to have an unlocked bootloader then you can manually flash the stock firmware via fastboot.
Upvotes: 2 [selected_answer]<issue_comment>username_2: First, for reinstalling you'll need a ROM specifically matching your device (there's no such thing as a "generic installer" for Android, see e.g. [Can I install a ROM made for a different device](/q/35925/16575) and [Why are there not generic phone OS installers?](/q/63630/16575))
Second, for a "clean start", it is possible to "wipe" all mentioned partitions – but usually not with the stock features of Android devices. You will need a custom recovery such as [twrp](/questions/tagged/twrp "show questions tagged 'twrp'") or [clockworkmod-recovery](/questions/tagged/clockworkmod-recovery "show questions tagged 'clockworkmod-recovery'"), where you can explicitly select which partitions to "wipe" (including `/system`).
Note: As [username_1 correctly pointed out](/a/195178/16575), those "wipes" wont really destroy all data (forensic experts will still be able to recover) – but I guess you won't need that anyway: as soon as you install the "fresh Android" (i.e. flash the ROM), most of the data will be overwritten anyway. And if you're really concerned about remaining data blocks being recoverable by experts: encrypt your device before wiping. That's safer than the `dd` approach (in terms of not accidentally destroying things).
Upvotes: 2 |
2018/04/30 | 543 | 1,926 | <issue_start>username_0: I am trying to remove the Facebook and Messenger apps from my Asus Zenphone Laser 2.
Unfortunately, in both cases, I seem to be unable to find the option to fully delete them from the device. I have disabled them, but the app management screen now shows the following:


How can I fully delete/uninstall them?<issue_comment>username_1: You cannot uninstall them as they are system apps. But if you can root your device then you can permanently uninstall them and all other bloatwares.
You can root your device by installing Magisk ([Magisk-XDA-portal](https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445))
remember to read the post thoroughly before installing it!
Upvotes: 2 <issue_comment>username_2: You can't remove those apps from firmware without root but you can uninstall any system app for current user or any user using ADB.
Assuming ADB is installed and PATH is set if not you can do it with a simple internet search.
Steps:
1. Obtain package name for app you want to remove.
2. Open Terminal/Command Prompt
3. Make sure device is connected by running `adb devices -l`
4. Run `adb shell pm uninstall --user 0`
5. Done
Package Name
Facebook: `com.facebook.katana`
Messenger: `com.facebook.orca`
---
Proof of Concept
----------------
After some discussion in the comments I'm adding an example here that worked for me. I have uninstall Google Keyboard from my device for current user using command `adb shell pm uninstall --user 0 com.google.android.inputmethod.latin`
[](https://i.stack.imgur.com/pYgoJ.png)
[](https://i.stack.imgur.com/4w5cP.png)
Before and after uninstalling (click images to enlarge)
Upvotes: 2 |
2018/04/30 | 1,872 | 7,499 | <issue_start>username_0: I moved from my Redmi to Mi Mix 2 now and used the Mi Mover app but unfortunately, the words in my used keyboard Gboard weren't restored. Neither does the internal synchronization work, it says something like "sync is not available for devices with G suite accounts or Android for work profile".
Couldn't yet find a working solution for this issue, so I'm thinking about re-adding all words but don't want to do this one by one. I have a wordlist as a text file that would cover at least 80% of my custom words. Any way of adding this at once to Gboard dictionary?
Apart from Gboard dictionary, there seems to be a common Central Android custom word dictionary. Is Gboard also considering words from there? In case it is, maybe there's some API/interface to this Central place so I could add those words at least there, so they could be used by Gboard (and also by other keyboard apps should I ever decide to switch).
I don't mind which way to go in case at least one of both could be achieved.<issue_comment>username_1: The closest workaround I got perhaps is installing some third-party application (like [User Dictionary Plus](https://play.google.com/store/apps/details?id=com.paolinoalessandro.dictionaryplus&hl=en) by [<NAME>](https://play.google.com/store/apps/developer?id=Alessandro%20Paolino)).
This application essentially, lets you personalize your personal dictionary with words you usually use. It learns words you’ve used on Social Networks, Messaging Apps etc. to text files.
Some of its feature include:
>
> * Backup/Restore your Personal Dictionary (Premium Feature). Premium Version will allow you to get Premium features and to import more
> words than the Free version.
>
>
>
User Dictionary Plus also allows importing of words from Text File but this is a premium feature:
[](https://i.stack.imgur.com/dfQlD.png)
*Note from author: The App works correctly with keyboards that access to Android User Dictionary (for example: GBoard from Google).*
Upvotes: 0 <issue_comment>username_2: I updated Gboard to a test version and I noticed that there is now an import/export option when you press the three dots on the top right next to the plus button to add a word to the dictionary. This might have been there before as well. Unfortunately, you will have to import every language separately and the "all languages" separately as well.
The easiest way is to export from the app of your old device and then import the same zip file/s to your new device. However, if you want to go the hard way or if you don't have the old phone any more, you can also just see how the text file in the zip file is structured and use that structure, then zip the text file and you can import that as well.
Upvotes: 0 <issue_comment>username_3: I totally forgot probably The most important detail to accomplish this import successfully.
The file encoding MUST be ASCII text.
If for any reason you still cannot manage to import a dictionary via the Gboard app please feel free to contact me.
### Step 1 - Pay attention to the format
Format your `personal-dictionary.txt` file following the provided sample/template. Copy and paste if you need to. The only thing(s) you are changing is adding one tab after each category, or 4 spaces. But don't mix tabs with spaces and visa versa.
Format is as follows:
`word_shortcut your_word`
Example of EXACTLY how the file format should look.
```
# Gboard Dictionary version:1
drug Degarelix en-US
ruski Ruskinaya en-US
den dendog1 en-US
motha motha#@*$# en-US
nigh night en-US
til tiller en-US
```
### Step 2 - Compress your document
**Do not use any other zip format other than the universal basic `.zip` format.**
Gboard will not recognize any other archive type e.g. .7zip, .tar.gz, etc. Also, Gboard will not recognize *any* type of file format.
So, put your newly created and made-up word-list in a blank folder. The only file that should be in that folder is the .txt file. Compress the folder. Name the folder and the file whatever you like. You can even use one of those made-up words you made up.
Til: Do not compress the .txt file first and then compress the folder on top of that. Either just compress the file (a folder gets created automatically)
### Step 3 - Import the file
Open Gboard > Personal dictionary > Import > find your .zip file > tap/click one time > Gboard will do the rest.
Upvotes: 0 <issue_comment>username_4: I have just managed to move my Swype dictionary to Gboard and would like to share my technique. Please bear in mind that I am not able to program, so this technique is aimed at novices like myself. I used Android 9 on a Samsung Note 8.
I know it looks like a long and complicated process, but that's just because I've broken it down into small steps: if you have less than a thousand personal words in your vocabulary the whole thing shouldn't take more than about half an hour. At the end of the process, I uninstalled the two apps which I had installed, but that of course is up to you.
1. Open Swype and go to Edit My Dictionary.
2. Install and open Universal Copy: I found it on the notification bar
3. Tap the top-right icon which is a dotted square surrounding a solid rectangle. This will select everything on the screen. Then press the Copy icon which is two overlapping rectangles
4. Because I have Word on Android, I opened a new Word document and pasted into it the words that Universal Copy had copied. (It would probably have been quicker to use ES File Explorer to create a plain-text .txt file, but I did not think of this until too late).
5. Press Enter after the last word pasted so the cursor will be on a new line
6. Go back to Edit My Dictionary and scroll up until the words you have already copied have disappeared at the top of the screen
7. Go back to Universal Copy, which means going back to the notification bar at the top of the screen, and repeat steps 3 to 6 however many times you need to copy all the words from your Swype dictionary. (I have more than 700)
8. Optionally, go through the Word or .txt document you have just created, cutting out all the repetitions of "Personal Dictionary" which Universal Copy has faithfully copied each time it saw it on the screen. Also, remove any unwanted words on that list.
9. If you created a .txt document, call it `wordlist.txt`. If you created a Word document, you will need to Save As `wordlist.txt`. I had to do this and the next step on the PC but I'm sure it's possible to do it on the phone.
10. Whichever way you created this `wordlist.txt` file, move it to the root of the SD card
11. Install and open User Dictionary Manager to import this file into your Android Personal Dictionary.
12. The most difficult part for me was finding the path to the root of my SD card. In the end, I found it on a Google app called Files, by selecting the file and then tapping the Information icon on the drop-down menu. My path was `/storage/14B5–E887/wordlist.txt`. Obviously your SD card will not be called `14B5–E887`, and depending on your version of Android and your phone, you may have a different path altogether.
13. The most satisfying part was checking this had worked by going TG board, choosing Settings, Dictionary Personal Dictionary, English (UK) and seeing all your Swype words appear… For some reason in duplicate :-( but this does not seem to matter.
Upvotes: 3 [selected_answer] |
2018/04/30 | 281 | 1,163 | <issue_start>username_0: Can a group admin remove the group creator on WhatsApp? If i add a person as creator then make them admin.. can they remove me from my own group?<issue_comment>username_1: Yes, it is bad but true. An admin can remove anyone including creator and other admins.
Upvotes: 0 <issue_comment>username_2: Yes they can. Practically, there is no difference between the creator and just another admin.
Upvotes: -1 <issue_comment>username_3: Whatever who the admin add or remove, no one, include the creator, can stop him.
Therefore, think carefully, befor promote someone as a admin.
Upvotes: 0 <issue_comment>username_4: The way WhatsApp works is whenever a group is created by user he is himself an admin by default and can add other people as admins. And all admins have the same privileges so basically, an admin can remove anyone from the group but the creator can not be removed unless he himself exits the group.

Upvotes: 2 <issue_comment>username_5: No Admin can remove the creator. It will show (can't remove creator's name) because they created this group.
Upvotes: 1 |
2018/05/01 | 5,959 | 19,912 | <issue_start>username_0: I've looked around but found nothing on this subject.
I have an Android phone with a public IP given by sprint. Tethering on Android uses NAT, so if I want to access any of the devices behind the phone I have to use port forwarding (Which I'd really rather not do). Is it possible to set tethering to bridged (Disable NAT), so the device behind the phone will be given the public IP?<issue_comment>username_1: Have a look at [this thread about using open VPN](https://forum.xda-developers.com/note-4-sprint/help/how-change-nat-type-3-to-2-using-mobile-t3166621). Here you can give public IPs to devices using Open VPN, I think.
Or you could find another tethering app which supports this [such as PdaNet+](https://play.google.com/store/apps/details?id=com.pdanet) which may have more control.
Upvotes: 2 <issue_comment>username_2: Let's say `rmnet_data1` is your Mobile Data interface (on Qualcomm devices) and `wlan0` is WiFi interface. When you switch on Mobile Data, your ISP assigns `rmnet_data1` an IP address, possibly dynamic and not necessarily a public IP (see details in [this answer](https://android.stackexchange.com/a/205807/218526)), but let's assume it is a static public IP - say `172.16.17.32`. When you switch on tethering, `wlan0` is turned into AP mode and a static IP is assigned (used to be `192.168.43.1` but is randomized since Pie). A DHCP/DNS server (`dnsmasq`) is listening on this interface to assign dynamic IP addresses to any hosts which join the local network.
Now phone is essentially a router connecting two networks (different subnets) at gateways (`rmnet_data1` for external/public network i.e. WAN and `wlan0` for local/private network i.e. WLAN). Since only one IP is assigned by the ISP to your phone, phone is doing NAT (at OSI layer 3) to make internet accessible for all local clients. As in your case the only connected host (router) is assigned address, let's say, `192.168.43.10`. You'll have to do specific Port Forwarding or DMZ to access the router from internet.
BRIDGING ON LINUX / ANDROID:
----------------------------
What you want to do is assign address `172.16.17.32` to the router using Ethernet bridge as you stated in comment:
>
> I only want to connect one device behind the phone, and I want the phones public IP to be given to it.
>
>
>
If you want to retain current network configuration on device, Ethernet bridging - which is an alternative to NAT for [internet sharing](https://wiki.archlinux.org/index.php/Software_access_point#Network_configuration) - doesn't seem to be an option at all, unless you get a whole subnet (e.g. `/30`) from ISP instead of a single IP address. See **Appendix A** for reasons.
BRIDGING ON MODEM / ROUTER:
---------------------------
That said, what you are looking for is called **Half Bridge Mode**; a feature provided in many modem/router combo devices to avoid the problem of [double NAT](https://www.howtogeek.com/255206/). It's also called *IP Pass-through*, *IP Extension*, *DHCP Spoofing* or *True DMZ* by different manufacturers. Other operation modes on ISP provided combo devices are **NAT** and **Full Bridge**.
We can use some workaround to expose the public IP to connected host. It involves changing IP configurations and kernel routing policy/tables, so it breaks internet connectivity on Android device. That's not a problem on modems/routers, but on Android it is. So we have to use NAT for Android's internal traffic (see **Appendix B**).
HOW TO TURN ANDROID INTO HALF-BRIDGED MODEM / ROUTER?
-----------------------------------------------------
ISPs doing CGNAT usually create small subnets for connected clients, in case of public IP it could be even `/8`. In our case, let's say, the network ID is `1.2.3.8/30`, so `172.16.31.10` will be the ISP's gateway address. There are different approaches we can go with, see **Appendix C**.
Rest of the details are given in the following script which can be executed followed by `dhcp`, `static`, `arp` or `stop` argument:
```
#!/system/bin/sh
set -e
[ "$(id -u)" = 0 ] || { echo 'Not running as root!' >&2; exit 1; }
# internal filed separator
IFS=$' \t\n'
##########################
# define / get variables #
##########################
SSID=MyAP # set this to your desired string (avoid spaces and non-ascii characters)
PASSCODE=<PASSWORD> # set this to your desired string (8 to 63 characters)
PUB_IFACE=rmnet_data # set this according to your device (Qualcomm SoCs use 'rmne_data[N]')
WIFI_IFACE=wlan0 # set this according to your device (check with 'lshw' or 'ip link show')
AP_IFACE=${WIFI_IFACE}-AP # we'll create new WiFi interface for hotspot
DIR=/data/local/tmp/$AP_IFACE # where to put config files
LOCAL_SUBNET=192.168.1 # for public interface
PST_RT_CHN=my_chain # to define source NAT for local packets
DNS1=1.1.1.1
DNS2=1.0.0.1
# read public interface name, IP and mask
read -r PUB_IFACE PUB_IP MASK <<< \
$(ip -4 -o a | tr -s ' ' | awk -F'[ /]' '/'"$PUB_IFACE"'/ {print $2,$4,$5}')
# read ISP's default gateway
GW=$(ip r s t all | awk '/^default/ && /'"$PUB_IFACE"'/ {print $3}')
# ip for WiFi hotspot interface in public subnet
AP_IP=$GW/$MASK
############################
# start / stop bridge mode #
############################
STOP()
(
echo 'Cleaning up...'
# ignore errors
set +e
# don't print error messages
exec >/dev/null 2>&1
# hope there are no other instances of same daemons
pkill -15 hostapd
pkill -15 dnsmasq
# remove local IP from public interface
ip address del ${LOCAL_SUBNET}.1 dev $PUB_IFACE
# remove rule and clear RPDB cache
ip rule del lookup main
ip route flush cache
# flush main table
ip route flush table main
# disable forwarding
printf 0 >/proc/sys/net/ipv4/ip_forward
iptables -D FORWARD -i $AP_IFACE -o $PUB_IFACE -j ACCEPT
iptables -D FORWARD -o $AP_IFACE -i $PUB_IFACE -j ACCEPT
# stop listening on DHCP port
iptables -D INPUT -i $AP_IFACE -p udp -m udp --dport 67 -j ACCEPT
# stop local NAT
iptables -t nat -D POSTROUTING -j $PST_RT_CHN
iptables -t nat -F $PST_RT_CHN
iptables -t nat -X $PST_RT_CHN
# delete AP interface
iw $AP_IFACE del
# delete config directory
rm -rf $DIR
)
if [ "$1" = stop ]
then
STOP
exit
elif [ "$1" != dhcp -a "$1" != static -a "$1" != arp ]
then
echo 'Usage:' >&2
printf '\t%s\n' "$(basename "$0") dhcp|static|arp|stop" >&2
exit 1
fi
################
# basic checks #
################
if [ -z $PUB_IP ]
then
echo 'Turn on Mobile Data first.' >&2
exit 1
fi
if ! iw phy | grep -A10 'Supported interface modes:' | grep -q '\*[ ]*AP'
then
echo 'AP mode not supported.' >&2
exit 1
fi
if ! iw dev $WIFI_IFACE link | grep -q '^Not connected'
then
echo 'First disconnect form Wi-Fi.' >&2
exit 1
fi
##########################
# clear previous configs #
##########################
STOP
# clean up if error occurs
trap '[ $? = 0 ] || STOP' EXIT
#####################################
# create virtual wireless interface #
#####################################
if ! iw dev $WIFI_IFACE interface add $AP_IFACE type __ap
then
echo "Couldn't create AP interface." >&2
exit 1
fi
####################################
# configure interfaces and routing #
####################################
echo 'Configuring network...'
# add local IP to public interface and delete public IP
ip address add ${LOCAL_SUBNET}.1/30 dev $PUB_IFACE
ip address del $PUB_IP/$MASK dev $PUB_IFACE
# activate the WLAN interface
ip link set dev $AP_IFACE up
if [ "$1" = dhcp ]
then
# assign ip in public subnet to WiFi hotspot interface
ip address add $AP_IP dev $AP_IFACE
elif [ "$1" = static ]
then
# assign ip in local subnet to WiFi hostspot interface
ip address add ${LOCAL_SUBNET}.2/30 dev $AP_IFACE
else
# start proxying ARP queries both ways
printf 1 >/proc/sys/net/ipv4/conf/$AP_IFACE/proxy_arp
fi
# clear auto added routes and add new
ip route flush table main
ip route add $PUB_IP dev $AP_IFACE
ip route add default via $GW dev $PUB_IFACE
ip route flush cache
# Android doesn't look up into main table by default
ip rule add lookup main
# let packets be forwarded
printf 1 >/proc/sys/net/ipv4/ip_forward
iptables -I FORWARD -i $AP_IFACE -o $PUB_IFACE -j ACCEPT
iptables -I FORWARD -o $AP_IFACE -i $PUB_IFACE -j ACCEPT
# apply source NAT on internally generated packets
iptables -t nat -N $PST_RT_CHN
iptables -t nat -I POSTROUTING -j $PST_RT_CHN
iptables -t nat -I $PST_RT_CHN -o $PUB_IFACE ! -s $PUB_IP -j SNAT --to-source $PUB_IP
#######################
# access point daemon #
#######################
# create configuration file
mkdir -p $DIR
cat <<-HOSTAPD >$DIR/hostapd.conf
# network name
ssid=$SSID
# passphrase to use for protected access
wpa_passphrase=$<PASSWORD>CODE
# maximum STA clients allowed to connect
max_num_sta=1
# network interface to listen on
interface=$AP_IFACE
# wi-fi driver
driver=nl80211
# set operation mode, 'g' for 2.4GHz band
hw_mode=g
# WLAN frequency channel to use
channel=1
# key management protocol; use pre-share key
wpa_key_mgmt=WPA-PSK
# enforce WPA2
wpa=2
HOSTAPD
echo 'Starting hostapd...'
hostapd -B $DIR/hostapd.conf
##########################################
# IP assignment; manually or dynamically #
##########################################
if [ "$1" = dhcp ]
then
# create configuration file
cat <<-DNSMASQ >$DIR/dnsmasq.conf
# we dont want DNS server, only DHCP
port=0
# network interface to listen on
interface=$AP_IFACE
bind-interfaces
# nameservers to be sent to clients
dhcp-option=6,$DNS1,$DNS2
# range of IPs to make available to wlan devices and when to renew IP
dhcp-range=$PUB_IP,$PUB_IP,24h
# where to save leases
dhcp-leasefile=$DIR/dnsmasq.leases
# respond to requests from a different IP broadcast subnet
dhcp-authoritative
# log extra information about DHCP handshakes
log-dhcp
DNSMASQ
# open listening port for dnsmasq
iptables -I INPUT -i $AP_IFACE -p udp -m udp --dport 67 -j ACCEPT
echo 'Starting DHCP server...'
dnsmasq -C $DIR/dnsmasq.conf '
echo "ip a a $PUB_IP dev "
echo 'ip r f t main'
if [ "$1" = static ]
then
echo "ip r a ${LOCAL\_SUBNET}.2 dev "
echo "ip r a default via ${LOCAL\_SUBNET}.2 dev "
else
echo 'ip r a default dev '
echo 'ip n f dev '
fi
echo
fi
echo Done.
```
**NOTE:**
* All of the required binaries (`iw`,`ip`, `iptables`, `hostapd`, `dnsmasq`) are available on Android but `hostapd` doesn't work on command-line. I used a static built [binary](https://www.androidfilehost.com/?fid=6006931924117931168), tested on Pie.
* Based on the factors discussed [here](https://android.stackexchange.com/questions/47819), your ISP may figure out (and mind) that your traffic is not originating from Android device.
* After stopping half bridge mode, you need to turn Mobile Data OFF and ON to resume normal working because routes are cleared. Also on device boot you may need to switch on WiFi once so that `wlan0` interface is created.
* ISP's nameservers - if needed - (and default gateway) can also be obtained by:
```
~$ dumpsys connectivity | grep CONNECTED | grep -o 'Routes: .* DnsAddresses: [^ ]*'
Routes: [0.0.0.0/0 -> 172.16.31.10 rmnet_data1,172.16.31.10/30 -> 0.0.0.0 rmnet_data1,] DnsAddresses: [1.1.1.1,8.8.8.8,]
```
---
**VERIFICATION:**
Your configuration should look like this:
```
1. Routing
==========
~$ ip rule show
0: from all lookup local
9999: from all lookup main
~$ ip route show table main
default via 172.16.31.10 dev rmnet_data1
172.16.17.32 dev wlan0-AP
2. Forwarding
=============
~$ cat /proc/sys/net/ipv4/ip_forward
1
~# iptables -S
-A FORWARD -i rmnet_data1 -o wlan0-AP -j ACCEPT
-A FORWARD -i wlan0-AP -o rmnet_data1 -j ACCEPT
3. Source NAT
=============
~$ ip -4 -o address
rmnet_data1 inet 192.168.1.1/30
~# iptables -t nat -S
-A POSTROUTING -j my_chain
-A my_chain ! -s 172.16.17.32/32 -o rmnet_data1 -j SNAT --to-source 172.16.17.32
4. Access Point Daemon
======================
~# iw dev
Interface wlan0-AP
ssid MyAP
type AP
5 (a). DHCP Server
==================
~$ ip -4 -o address
wlan0-AP inet 172.16.31.10/30
~# netstat -lup
Proto Local Address Foreign Address PID/Program name
udp 172.16.31.10:67 0.0.0.0:* 23693/dnsmasq
~# iptables -S
-A INPUT -i wlan0-AP -p udp -m udp --dport 67 -j ACCEPT
5 (b). Static IP
================
~$ ip -4 -o address
wlan0-AP inet 192.168.1.2/30
5 (c). Proxy ARP
================
~$ cat /proc/sys/net/ipv4/conf/wlan0-AP/proxy_arp
1
```
---
APPENDIX A:
-----------
**Why Ethernet bridging isn't a straightforward option on Android:**
* There are at least two hosts on your local network; phone and router, but only one IP address is received from ISP. Two hosts on same network can't have same IP address.
* If you transparently bridge `rmnet_data1` and `wlan0`, both can have same IP address i.e. `172.16.17.32` but router still needs to be assigned another IP address, either statically or by DHCP server from ISP side. If you don't assign full bridge an IP, internet connectivity will break on Android which can't work (see Appendix B).
* Ethernet bridging (which operates at OSI L2) doesn't work for WiFi interfaces in [STA mode](https://wireless.wiki.kernel.org/en/users/documentation/modes#station_infrastructure_mode) without [WDS](https://wireless.wiki.kernel.org/en/users/documentation/modes#wireless_distribution_system_wds) / [4addr](https://wireless.wiki.kernel.org/en/users/documentation/iw#using_4-address_for_ap_and_client_mode) support (on both sides of WiFi) which isn't supported by all physical interfaces. In [AP mode](https://wireless.wiki.kernel.org/en/users/documentation/modes#accesspoint_ap_infrastructure_mode), however, WiFi interface supports bridging, but 3G/4G interfaces don't. A [recent patch](https://patchwork.ozlabs.org/patch/824620/) to `rmnet` adds bridging support only for interfaces which can send MAP data.
* An alternative to Ethernet bridging is proxy ARP (at OSI L3) or something like [wlan\_kabel](https://github.com/escitalopram/wlan_kabel) which can be applied to both interfaces. But again you need three or at least two IP addresses; one for phone and one for router.
APPENDIX B:
-----------
**Why NAT is required on device?**
Modems have their own processors - called baseband or communication processor (BP or CP) on Android devices - and they run their own minimal [RTOS](https://www.osnews.com/story/27416/the-second-operating-system-hiding-in-every-mobile-phone/). On small devices like phones they are integrated in SoCs. Communication with modem is done using a set of standard control protocol. AT commands is the traditional one used with PPP ([1](https://android.googlesource.com/kernel/common/+/refs/heads/android-4.19/Documentation/networking/ppp_generic.txt), [2](https://ppp.samba.org/README.html)), but manufacturers have developed [new methods](http://trac.gateworks.com/wiki/wireless/modem#ModemControl) (e.g. QMI ([3](https://projects.osmocom.org/projects/quectel-modems/wiki/QMI), [4](https://android.googlesource.com/kernel/msm/+/refs/tags/android-9.0.0_r0.114/Documentation/arm/msm/msm_qmi.txt), [5](https://forum.xda-developers.com/galaxy-s2/help/how-to-talk-to-modem-commands-t1471241)) / RmNet ([6](https://github.com/torvalds/linux/blob/v5.3/Documentation/networking/device_drivers/qualcomm/rmnet.txt), [7](https://android.googlesource.com/kernel/msm/+/refs/tags/android-9.0.0_r0.111/Documentation/usb/gadget_rmnet.txt)) on Qualcomm devices).
The closed source vendor specific control/data modem protocols used on Android devices are not (or at least well) documented. Vendors provide native RIL Daemon as a binary blob which [communicates with modem](https://source.android.com/devices/tech/connect/ril#ril-comm-scenarios) through `RILJ` and telephony framework in Java stack. When we turn on Mobile Data, these components work together to authenticate with MNO (by reading SIM data, APN settings etc.) and then configure the network stack (IP, DNS, route etc.) to make internet connectivity possible. So the modem is available to Android OS as in full bridge mode (no NAT involved on device).
Using methods explained above we assign public IP to connected host, so Android device itself loses internet connection. As soon as we make a change to the IP configuration, Android's telephony stack detects disconnections and sends a reset command to modem (through RILD) and whole network stack is refreshed with new (or same) IP settings received from MNO.
So to set Android device in Half Bridge mode, a more reliable approach is to take full control of communication with modem by altering the telephony framework (which isn't a simple task). As a workaround we do source NATing for internally generated packets on Android device so that it's not disconnected from internet. While the public IP is routed without any NAT to the only host connected to `wlan0` interface, so that it's accessible from internet.
APPENDIX C:
-----------
**Routing Methods for Half Bridge Mode on Android:**
* **DHCP:**
Assign `172.16.17.32` to your router using DHCP server, `172.16.31.10` to `wlan0` and `192.168.1.1/30` (or any other private IP) to `rmnet_data1`. It's also possible to create a hypothetical `192.168.3.11/X` network and assign random IP from that hypothetical network to `wlan0`. But public IP address must not conflict with subnet ID or broadcast address in the faked subnet. It becomes difficult to achieve if IP is assigned dynamically, particularly if IP class and subnet mask keep on changing from ISP.
In this way AP interface and router appear on same local network, and `wlan0` IP is set as default gateway (next hop) for router. Here we are faking an IP address (at OSI L3).
* **Static Route:**
Setting IP/DNS on router manually allows you to assign local IP address to AP interface instead of using pseudo IP address. Add AP's IP address as default gateway on router. However router might have problem using default gateway on different subnet.
* **ProxyARP:**
Another option when not using DHCP is ProxyARP ([8](https://www.practicalnetworking.net/series/arp/address-resolution-protocol/), [9](http://www.tcpipguide.com/free/t_ProxyARP.htm), [10](https://wiki.mikrotik.com/wiki/Manual:IP/ARP#Proxy_ARP)). If `wlan0` has no IP address, we need to add a static route without IP address as default gateway. So router can't query gateway's MAC address and thus keeps asking `wlan0` (in global broadcasts) where an internet address (next hop) is. It's because target of ARP queries is always the IP address, either of a local host or of default gateway (if destination IP is on another network).
Due to ProxyARP, `wlan0` provides its own MAC address for every ARP query received from connected host. ARP queries from `rmnet_data1` (for `1.2.3.10`'s MAC address) are forwarded/received by `wlan0` to/from connected host. `rmnet_data1` itself doesn't have a MAC address (like PPP). A side effect of this approach is that the connected router will pollute its ARP cache by associating every visited internet address to AP's MAC address. Here we are faking a MAC address (at OSI L2).
---
**CREDITS:**
* [Implementing PPPoE half-bridge/ip-passthrough to suit IPSec VPN firewall appliance with Linux](https://serverfault.com/questions/840395)
* [Half bridge with PPPoA](http://wiki.wlug.org.nz/Half%20bridge%20with%20PPPoA)
* [HALF-BRIDGE mode in Routertech 2.2/2.3](https://www.routertech.org/viewtopic.php?f=3&t=1189)
Upvotes: 3 |
2018/05/01 | 256 | 902 | <issue_start>username_0: Please let me know, without using any third party application, how to send whatsapp message without saving a number in contact?
Regards
Smith<issue_comment>username_1: You will need to do the following trick
<https://api.whatsapp.com/send?phone=xxxxxx>
Copy this and paste it on your browser, please replace "xxxxxx" with the phone number (with country code but without +. **Example= <https://api.whatsapp.com/send?phone=901234567890>**), then hit enter. This will redirect you to WhatsApp and you will begin to talk to contact without saving the phone.
Upvotes: 2 <issue_comment>username_2: Yes, download [SharkID](https://play.google.com/store/apps/details?id=com.sharkid) app and login.
From their Dialer Screen, type your numner and Swipe Left. You will see the 'WhatsApp' button, click on it. If WhatsApp is installed then, it goes directly to that number.
Upvotes: 0 |
2018/05/01 | 332 | 1,139 | <issue_start>username_0: This is on an S7 Edge. I do not have this phone in my possession. This is from a screen shot of a text they sent. This "fish" icon was in the notification bar at the top left. I have searched in reverse image and cannot get an app name. Does anyone recognize this icon?
Thank you
[](https://i.stack.imgur.com/W8gnJ.jpg)<issue_comment>username_1: You will need to do the following trick
<https://api.whatsapp.com/send?phone=xxxxxx>
Copy this and paste it on your browser, please replace "xxxxxx" with the phone number (with country code but without +. **Example= <https://api.whatsapp.com/send?phone=901234567890>**), then hit enter. This will redirect you to WhatsApp and you will begin to talk to contact without saving the phone.
Upvotes: 2 <issue_comment>username_2: Yes, download [SharkID](https://play.google.com/store/apps/details?id=com.sharkid) app and login.
From their Dialer Screen, type your numner and Swipe Left. You will see the 'WhatsApp' button, click on it. If WhatsApp is installed then, it goes directly to that number.
Upvotes: 0 |
2018/05/02 | 1,254 | 4,959 | <issue_start>username_0: Dose putting a micro SD card in your android phone allow the OS to mount the SD card and use the storage space the same way it would internal memory eg. photos taken on the phone would be saved to the micro SD card. Or does the android OS treat the micro SD card as an "external storage source" the same way a laptop treats an external USB flash thumb drive ?
The phone in question is a Samsung Galaxy J5 2016.
If its not possible to mount the external storage and use it like "internal storage" is it possible to set that all photos are to be stored on the external storage as this is whats taking up most of the room on the phone.<issue_comment>username_1: No, in Android Micro-SD is taken as an external device.
Also in the context of your question if you are talking about programming an Android App, Google doesn't recommend to use an external Device, because they are temporary storage. They Say:-
>
> Every Android device supports a shared "external storage" space that you can
> use to save files. This space is called external because
> it's not a guaranteed to be accessible—it is a storage space that
> users can mount to a computer as an external storage device, and it
> might even be physically removable (such as an SD card). Files saved
> to the external storage are world-readable and can be modified by the
> user when they enable USB mass storage to transfer files on a
> computer.
>
>
>
So before you attempt to access a file in external storage in your app, you should check for the availability of the external storage directories as well as the files you are trying to access, then perform your operation in it.
For more info, see [the official Android developer documentation on data storage](https://developer.android.com/guide/topics/data/data-storage).
Upvotes: 2 <issue_comment>username_2: Since Android 6.0 (Marshmellow), Android supports **Adoptable Storage**. However, many phone manufacturers, including Samsung, have disabled this feature on their phones.
How to use Adoptable Storage on supported devices:
==================================================
If you do have a phone that supports this feature, you can turn it on by following these instructions:
1. Put an SD card in your device.
2. Open "Settings", "Storage", the SD card, click the three vertical dots, and press "Storage Settings".
3. Tap "Format as Internal".
What it does:
=============
Here's how Adoptable Storage works, according to [source.android.com](https://source.android.com/devices/storage/adoptable):
>
> When external storage media is adopted, it’s formatted and encrypted to only work with a single Android device at a time. Because the media is strongly tied to the Android device that adopted it, it can safely store both apps and private data for all users.
>
>
> ...
>
>
> Apps can be placed on adopted storage media only when the developer has indicated support through the `android:installLocation` attribute. New installs of supported apps are automatically placed on the storage device with the most free space, and users can move supported apps between storage devices in the *Settings* app. Apps moved to adopted media are remembered while the media is ejected, and return when the media is reinserted.
>
>
>
So not only does the device have to support Adoptable Storage, but the apps have indicate support for it too to be able to be stored on the SD card.
Upvotes: 3 <issue_comment>username_3: Because you have a Samsung phone there is no easy (offical) way to format your sd-card as [Adoptable Storage](https://fossbytes.com/android-sd-card-internal-storage-adoptable-storage/) if it's that you are looking for.
---
However using `adb` it's still possible:
1. Connect your phone (with insert sd-card) to your computer and make sure USB-Debugging is allowed
2. Open adb-shell (How you do that it matters what OS are you using on your computer your phone is connected)
3. Type `sm list-disks` then it outputs the name/ value of your sd-card
4. Use `sm partition private` and put the disk-value in that it looks like: `sm partition disk:179 private`
5. Then restart using: `reboot`
6. Now it shares the internal-storage with the sd-card and when you install apps it fills up internal and sd-card in a relation 50:50
Notice that all of your data on the sd-card gets erased. I don't know if it's also erase your internal (it depents on device and android-version). Also your memory will not anymore be displayed correctly as you can see [here](https://fscl01.fonpit.de/userfiles/6473453/image/neues_format/internal-sd-move-data-2-w782.jpg). There is **no root** required but it won't work on every device. Some users say it works others say it doesn't. At least you can try it.
BTW. [here](https://www.xda-developers.com/install-adb-windows-macos-linux/) is a guide **how you install and open adb-shell** for every common OS, if you don't know how to do that!
Upvotes: 2 |
2018/05/02 | 1,459 | 5,541 | <issue_start>username_0: Only one device with Android (SM-G390F, Android 7.0, G390FXXU2ARA1, 3.18.14-12962328) at my home stopped connecting to Internet through my WiFi router with the message "internet may not be available" and an exclamation mark on the WiFi sign. (Whereas older non-updated Android devices, GNU/Linux and iOS devices work.)
If I examine the current network configuration with `ip a` in a Terminal in the device, it has got the correct IP address, but pinging the router (`ping 172.16.58.3`) looses all pings... (`ip ro` showed a route to this network, but no default route -- but that shouldn't have affected the pinging of the router anyway.)
The WiFi router is an ASUS one, and for this device, in the log, it prints several times (not more than 10; the repetition is only for this device):
```
udhcpd: sending OFFER of 192.168.1.8
```
and then:
```
udhcpd: sending ACK to 192.168.1.8
```
The DNS servers from the DHCP configuration seem to be working well (as tested from other connected devices).
Changing the advanced settings from DHCP to manual does not help. And it is quite strange that this device used to work with this WiFi router all the time before a couple of weeks ago... Nothing has been changed.<issue_comment>username_1: No, in Android Micro-SD is taken as an external device.
Also in the context of your question if you are talking about programming an Android App, Google doesn't recommend to use an external Device, because they are temporary storage. They Say:-
>
> Every Android device supports a shared "external storage" space that you can
> use to save files. This space is called external because
> it's not a guaranteed to be accessible—it is a storage space that
> users can mount to a computer as an external storage device, and it
> might even be physically removable (such as an SD card). Files saved
> to the external storage are world-readable and can be modified by the
> user when they enable USB mass storage to transfer files on a
> computer.
>
>
>
So before you attempt to access a file in external storage in your app, you should check for the availability of the external storage directories as well as the files you are trying to access, then perform your operation in it.
For more info, see [the official Android developer documentation on data storage](https://developer.android.com/guide/topics/data/data-storage).
Upvotes: 2 <issue_comment>username_2: Since Android 6.0 (Marshmellow), Android supports **Adoptable Storage**. However, many phone manufacturers, including Samsung, have disabled this feature on their phones.
How to use Adoptable Storage on supported devices:
==================================================
If you do have a phone that supports this feature, you can turn it on by following these instructions:
1. Put an SD card in your device.
2. Open "Settings", "Storage", the SD card, click the three vertical dots, and press "Storage Settings".
3. Tap "Format as Internal".
What it does:
=============
Here's how Adoptable Storage works, according to [source.android.com](https://source.android.com/devices/storage/adoptable):
>
> When external storage media is adopted, it’s formatted and encrypted to only work with a single Android device at a time. Because the media is strongly tied to the Android device that adopted it, it can safely store both apps and private data for all users.
>
>
> ...
>
>
> Apps can be placed on adopted storage media only when the developer has indicated support through the `android:installLocation` attribute. New installs of supported apps are automatically placed on the storage device with the most free space, and users can move supported apps between storage devices in the *Settings* app. Apps moved to adopted media are remembered while the media is ejected, and return when the media is reinserted.
>
>
>
So not only does the device have to support Adoptable Storage, but the apps have indicate support for it too to be able to be stored on the SD card.
Upvotes: 3 <issue_comment>username_3: Because you have a Samsung phone there is no easy (offical) way to format your sd-card as [Adoptable Storage](https://fossbytes.com/android-sd-card-internal-storage-adoptable-storage/) if it's that you are looking for.
---
However using `adb` it's still possible:
1. Connect your phone (with insert sd-card) to your computer and make sure USB-Debugging is allowed
2. Open adb-shell (How you do that it matters what OS are you using on your computer your phone is connected)
3. Type `sm list-disks` then it outputs the name/ value of your sd-card
4. Use `sm partition private` and put the disk-value in that it looks like: `sm partition disk:179 private`
5. Then restart using: `reboot`
6. Now it shares the internal-storage with the sd-card and when you install apps it fills up internal and sd-card in a relation 50:50
Notice that all of your data on the sd-card gets erased. I don't know if it's also erase your internal (it depents on device and android-version). Also your memory will not anymore be displayed correctly as you can see [here](https://fscl01.fonpit.de/userfiles/6473453/image/neues_format/internal-sd-move-data-2-w782.jpg). There is **no root** required but it won't work on every device. Some users say it works others say it doesn't. At least you can try it.
BTW. [here](https://www.xda-developers.com/install-adb-windows-macos-linux/) is a guide **how you install and open adb-shell** for every common OS, if you don't know how to do that!
Upvotes: 2 |
2018/05/02 | 528 | 2,118 | <issue_start>username_0: I have a Garmin Fenix 5 connected to a Pixel XL.
On the Fenix 5, the calendar widget shows a weather forecast as an all day event. This is redundant (there is already a weather widget on the Garmin), and unwelcome (it clutters the calendar view and makes it less useful). These Forecast "events" do not show up in the calendar app on my phone. Where are they coming from and how can I remove them?
*Context and what I have tried*:
I have two cloud accounts in android account manager with calendars: google account (personal) and office365/exchange account (work). I have tried hiding all calendars from the calendar app settings (including the "Holidays" and "Birthdays" under "Other" and "Events from Gmail"), the result was that *no* events are shown on the phone, and *only* the mysterious forecast events are seen on the watch. I have gone to each calendar on both google and office 365 via the web, there is no forecast events shown. I have explored for relevant settings for both via the web sites, and outlook for mac (for o365). In office365, there is an option to show a weather forecast event, but I have turned it off for all calendars, with no result. I also uninstalled the google "news and weather" app and do not have any other weather app installed except google assistant.
One last data point: the forcast is for a location I lived previously, before I even got my Garmin.
How can a calendar event to show on the smart watch but not the calendar app?<issue_comment>username_1: While not an answer per-say, I was able to see the calendar where the events where coming from by downloading the app Any.do and connecting to google calendar, even though it still did not show on Google Calendar app nor web.
After removing the google account totally from my phone (Android Settings->Accounts), and then re-adding it, this weather calendar did not reappear.
Upvotes: 1 [selected_answer]<issue_comment>username_2: If you stumble upon the same issue - here's a solution, that worked perfectly 4me:
<https://support.google.com/calendar/thread/6260804?msgid=22824877>
Upvotes: 1 |
2018/05/03 | 311 | 1,239 | <issue_start>username_0: I use YouTube a lot in my phone, and specific in what I watch. I control this mainly using 'subscribing' channels what I really wanted to watch.
Now the problem is YouTube app has it's own default page called 'Home' which I totally hate it since it pollutes the feed by adding their own 'suggested' videos and I'm lost into videos that I wouldn't have watched otherwise.
Is there a way/app to set 'Subscription' page as the default?
Or is it possible to create a deep-link into my desktop so that that page opens directly !?
Or what are the better alternate to the official YouTube app ?<issue_comment>username_1: While not an answer per-say, I was able to see the calendar where the events where coming from by downloading the app Any.do and connecting to google calendar, even though it still did not show on Google Calendar app nor web.
After removing the google account totally from my phone (Android Settings->Accounts), and then re-adding it, this weather calendar did not reappear.
Upvotes: 1 [selected_answer]<issue_comment>username_2: If you stumble upon the same issue - here's a solution, that worked perfectly 4me:
<https://support.google.com/calendar/thread/6260804?msgid=22824877>
Upvotes: 1 |
2018/05/03 | 1,795 | 7,607 | <issue_start>username_0: I would like to leave a tablet on my shelf and be able to video call into it while away and talk/hear/see my home without anyone necessarily being there, just to be able to check in. I have looked for auto-answer settings in Skype and Hangouts.
The situation is that I have a baby I'm going to leave in my home with her grandmother, and other sitters and relatives, and I don't want to have to teach them except to say that I'll check in via video sometimes. This way I shouldn't ever disturb the peace with phone ringtone sounds, nor have to wait for someone to pick up, nor have to wonder why they didn't pick up.
Skype has auto-answer, but it doesn't turn on video from the receiver. What else can I try? I haven't installed *everything* in the Play store…<issue_comment>username_1: Cloud camera solution
=====================
TL;DR *Use [**SeeCiTV**](https://play.google.com/store/apps/details?id=com.code.bluegeny.myhomeview) to use a second device as a remote camera.*
------------------------------------------------------------------------------------------------------------------------------------------------
*Assuming your device is always going to be plugged in and connected to the Internet...*
You can use the app [**SeeCiTV on the Play Store**](https://play.google.com/store/apps/details?id=com.code.bluegeny.myhomeview) in order to always be able to check on the camera on your device. There are several apps which accomplish this, but I recommend this app as its interface seems easy to use (unlike the IP Webcam solution posted below).
This method is secured using your Google account which should already be set up with your phones, with the addition of being able to add Trusted Users if you want to give other accounts access to that camera.
One potential downside to this is that you can only access your new "home camera" on another phone or tablet, as there is currently no way to view it from a PC (unless you have a mobile device emulator). While SeeCiTV is great in terms of security and efficiency (the device screen and camera is turned off until you want to monitor it), let's say you need to be able to access it from any device on the Internet, then you'd need a different app like the next solution...
TeamViewer solution
===================
TL;DR *Use [TeamViewer QuickSupport](https://play.google.com/store/apps/details?id=com.teamviewer.quicksupport.market)* to answer VoIP calls.
---------------------------------------------------------------------------------------------------------------------------------------------
This is another handy solution because you will not need to keep your remote screen on at all times (unlike the next few solutions). This supports most devices, but you can check the [supported manufacturers list](https://community.teamviewer.com/t5/Knowledge-Base/Supported-manufacturers-for-remotely-controlling-Android-devices/ta-p/4730) to make sure your device will be supported.
Download and install [**TeamViewer QuickSupport** on the Play Store](https://play.google.com/store/apps/details?id=com.teamviewer.quicksupport.market) and set up a TeamViewer account from the app. Now download the [TeamViewer control app on the Play Store](https://play.google.com/store/apps/details?id=com.teamviewer.teamviewer.market.mobile) on both the remote device (the device you will control) and the host device (the device from which you will he controlling your remote device).
Now you will need to install a manufacturer-specific add-in for QuickSupport, which the app should prompt you to install when you first open it. After you install the add-in, sign into your TeamViewer account on both devices. Then, add your remote device's ID (given by the QuickSupport app) to your list of account devices. Then, you'll be able to connect to that device any time and answer any incoming calls that you need (or you could start the call from the remote device).
IP Webcam solution
==================
TL;DR *Please use the Cloud camera solution unless you know what you're doing here.*
------------------------------------------------------------------------------------
If you *need* to have access to this device from a PC, and you can't use a mobile device or desktop emulator, then you can use an app like [**IP Webcam on the Play Store**](https://play.google.com/store/apps/details?id=com.pas.webcam) in order to constantly stream the camera data to the Internet.
You'd have to set up your remote network's ports and other settings to work with IP Webcam. The steps are walked through in the app, but
*Why do I recommend the **Cloud camera solution** instead of this one?*
For starters, it's potentially much less secure. SeeCiTV uses a Google account for authentication, but IP Webcam has its own form of authentication. Since you'd be connecting to your own remote IP, it's possible that your credentials, when you log in, will be transferred insecurely over the network. While IP Webcam may encrypt this information before transferring, you can avoid exchanging your camera stream and passwords over a non-SSL-secured connection if you use the Cloud camera solution instead. Even if you use a different password for this, it is much easier for attackers be able to gain access to your remote camera. *And, yes, they could watch your baby for you, but maybe you should leave that task to yourself and your family.*
It's also far less convenient to set up and to access the IP Webcam. IP Webcam will require your screen and camera to be active at all times (which will affect device life).
Skype solution
==============
TL;DR *If you need 2-way comms, use [Skype](https://play.google.com/store/apps/details?id=com.skype.raider)*
------------------------------------------------------------------------------------------------------------
If it's necessary to have two-way communication between your device and the remote device, you could set up a Skype group between 3 devices: the remote tablet, a PC or another old device, and the device you want to use to video call. First, you'll need to install Skype on all of the devices. You can use these installers: [Skype for Android](https://play.google.com/store/apps/details?id=com.skype.raider) or [Skype for desktop](https://www.skype.com/en/get-skype/). Start a Skype group between the devices, using a different Skype account for each device. Start a group call, and you will need to answer on the tablet and PC/device, then start the video on the remote tablet. Now you can connect to the group call whenever you want, from a third device. You can even share your own video feed from your third device. Just make sure your Internet is stable and that the call remains on at least 2 devices at all times.
Upvotes: 1 <issue_comment>username_2: Here is my proven/tested solution for the same/similar situation.
1. You need to have two devices - a) yr smart phone b) any standard tab
2. Have Skype setup in BOTH the devices.
3. Specifically setup "auto call receiving - ON" for the Skype on the tab.
Now you call whenever you want, the Skype on the tab (at your home with baby + Gramma) will *automatically* wake up and receive the call *without* any touch from anyone, after a few rings!
I used this method to connect (or rather self-appear) in front of my 88 year father who is battling with 2-3rd stage of dementia. The tab got to be on power ON mode (connected to a socket) 24 x 7. That is one little but important thing you got to keep it mind. And avoid longer video chats to keep the tab from over heating. Just a word of caution.
Upvotes: 0 |
2018/05/04 | 4,452 | 3,956 | <issue_start>username_0: I received a WhatsApp forward that reads:
>
> If you touch theblack point then your whatsapp will hang
>
>
> <⚫> ereh-hcuot-t
>
>
>
Surprisingly on touching the black dot, it crashes WhatsApp (The whole screen hangs and we have to wait till WhatsApp closes). Is there any reason for this crashing behaviour? (Attaching screenshots for reference)


This crashed on my Android (8.1) Phone. My friend who uses an iPhone claims that it doesn't crash on his phone. (I hope this is the right place to post the question)<issue_comment>username_1: that message have more than 2000 no displayable characters and for be that long message make a crash if you hit wait on the message it came back to normal just give it time to process the long long long string
Upvotes: 2 <issue_comment>username_2: The message have a lot of (about 2000) invisible characters called "left-to-right makr" (It is used to set the way adjacent characters are grouped with respect to text direction)
Upvotes: 1 <issue_comment>username_3: It just bunch of letters and numbers hidden behind that ball and bugged so someone who touches it, it will try to open the whole message but cant hence as a result it crashes the app..
Upvotes: 0 <issue_comment>username_4: As others said, there are ~2000 zero-width or 'invisible' unicode characters in that message. These characters are the ones which instruct the text renderer whether to display the text left-to-right or right-to-left. When you tap on the message, the text renderer tries to work out which character you are tapping on. As there are a lot of characters with conflicting instructions, the app hangs up until it can make a decision.
There is this very elegant and informative video by <NAME> on youtube that explains the problem better than I ever can: <https://youtu.be/jC4NNUYIIdM>
Upvotes: 4 [selected_answer] |
2018/05/04 | 1,317 | 4,658 | <issue_start>username_0: My UleFone Armor 2 has a 4700mAh battery and I would like to limit the charging to 60% to reduce battery aging. The batteries in most of the phones are not user-replaceable and I am worried that a factory/service battery replacement might affect water resistance negatively.
How can I limit the charging to 60%? (But not limiting charging speed. I love fast charging.)
Lenovo ThinkPads have a built-in feature that does this, called *“battery preservation mode”.*<issue_comment>username_1: [AccuBattery](https://play.google.com/store/apps/details?id=com.digibites.accubattery&hl=en) can notify you when the battery charge reaches a certain level. It won't stop the charging, unfortunately, but it's still worth a try. :)
Upvotes: 3 <issue_comment>username_2: Many ways - all of course, need
root. Without root, it's not possible and you can only be notified either by automation or using an app as suggested in Chang's answer
* [Battery Charge Limit](https://play.google.com/store/apps/details?id=com.slash.batterychargelimit) from Play Store. If it doesn't work directly, look for help in the [XDA app thread](https://forum.xda-developers.com/android/apps-games/root-battery-charge-limit-t3557002/). It doesn't trip safety net if you are using Magisk. ~~I use this app currently~~ (Bonus, it's open source)
* [Magisk Charging Switch](https://forum.xda-developers.com/apps/magisk/module-magic-charging-switch-cs-v2017-9-t3668427) Magisk module is also well spoken of.
* [My Charging Controller](https://forum.xda-developers.com/apps/magisk/mcs-charging-controller-t3739371) is another option. I recall seeing it as Magisk module but not listed now
Above modules not tried by me
* If none of these work or you want to automate it yourself, some pointers in my answer here [Automatically limit (stop) battery charging at a given percentage](https://android.stackexchange.com/q/167260/131553)
**Edit:** [Advanced Charging Control (acc) Magisk Module](https://forum.xda-developers.com/apps/magisk/module-magic-charging-switch-cs-v2017-9-t3668427) is a very versatile module with an associated front end app, which allows you to create profiles and even run profiles on schedule
It allows the phone to charge up to a certain point and then be powered by USB only. For example, you set the cut off at 80%,beyond 80% it doesn't charge the battery but draws a low current to keep the phone running. So when you disconnect charging, your phone is still at 80%! This feature requires to be supported by kernel though. I am using this currently on my One Plus 7 with Kirisakura kernel. For details see this [Don't charge the battery but use connected power to run the phone](https://android.stackexchange.com/q/223812/131553)
Upvotes: 4 <issue_comment>username_3: My solution is to just use a CountDowntimer on the power outlet, set at 1:20 for me. One hit on the CD button to start the power (ON), and after 1:20 it's OFF again which will be at about 80% charge.
I use this:
<https://www.clasohlson.com/se/Digitalt-kopplingsur/32-8618>
Today you can buy a smart power outlet controlled with an app. It shouldn't be long until that app can turn of the power outlet charging the cellphone when it reaches 60%.
Upvotes: 3 <issue_comment>username_4: There now is a hardware+app solution for that, it's called Chargie. <https://chargie.org>
Basically, Chargie is a Bluetooth switch that is linked to an app on your phone. You set the desired level of charging, the app runs in the background and stops the charge at the percentage you set.
\*disclosure: I am the CEO of Lighty Electronics, we have developed this solution and this isn't meant to be a spammy post with a link, but rather a very relevant solution to this issue. As far as I know, there are no other manufacturers of such devices.
Upvotes: 5 <issue_comment>username_5: If your phone is rooted, do prefer an opensource **Advanced Charging Controller** module to flash either from **Magisk** or **Twrp** or any root solution u have choose. [Here](https://github.com/Magisk-Modules-Repo/acc) is the Github link for all details.
My experience in this module is, I am using this on my **Oneplus 5** for about a year now, it doesn't disappoint me. It creates a charging loop. You can change it's default preference by typing **acc** commands. 80% is the default stopping point. And there is heating machining where its charge/discharge on & off if ur phone is expected to reach a peak point, which is a nice way to tackle the heating issue which is generally seen while charging.
*If any problem occurs u can ask him on telegram or create an issue on Github.*
Upvotes: 0 |
2018/05/05 | 1,346 | 4,844 | <issue_start>username_0: I'd like to start making scheduled backups to my rooted OnePlus 3T (Oxygen OS 5.0.1) in order to prevent the loss of data from any reason that could occur.
I want to save everything: the entire content of /sdcard and the apps+data. I know doing a Nandroid Backup with TWRP is the best way to make a complete backup of an Android device quickly, but i have a question:
Is it possible to recover data without the original device? If i had a totally new device, would it be possible to extract some specific data from the backup? (For example, read and extract the /sdcard/download directory from the backup, or also extract the data from a given app)<issue_comment>username_1: [AccuBattery](https://play.google.com/store/apps/details?id=com.digibites.accubattery&hl=en) can notify you when the battery charge reaches a certain level. It won't stop the charging, unfortunately, but it's still worth a try. :)
Upvotes: 3 <issue_comment>username_2: Many ways - all of course, need
root. Without root, it's not possible and you can only be notified either by automation or using an app as suggested in Chang's answer
* [Battery Charge Limit](https://play.google.com/store/apps/details?id=com.slash.batterychargelimit) from Play Store. If it doesn't work directly, look for help in the [XDA app thread](https://forum.xda-developers.com/android/apps-games/root-battery-charge-limit-t3557002/). It doesn't trip safety net if you are using Magisk. ~~I use this app currently~~ (Bonus, it's open source)
* [Magisk Charging Switch](https://forum.xda-developers.com/apps/magisk/module-magic-charging-switch-cs-v2017-9-t3668427) Magisk module is also well spoken of.
* [My Charging Controller](https://forum.xda-developers.com/apps/magisk/mcs-charging-controller-t3739371) is another option. I recall seeing it as Magisk module but not listed now
Above modules not tried by me
* If none of these work or you want to automate it yourself, some pointers in my answer here [Automatically limit (stop) battery charging at a given percentage](https://android.stackexchange.com/q/167260/131553)
**Edit:** [Advanced Charging Control (acc) Magisk Module](https://forum.xda-developers.com/apps/magisk/module-magic-charging-switch-cs-v2017-9-t3668427) is a very versatile module with an associated front end app, which allows you to create profiles and even run profiles on schedule
It allows the phone to charge up to a certain point and then be powered by USB only. For example, you set the cut off at 80%,beyond 80% it doesn't charge the battery but draws a low current to keep the phone running. So when you disconnect charging, your phone is still at 80%! This feature requires to be supported by kernel though. I am using this currently on my One Plus 7 with Kirisakura kernel. For details see this [Don't charge the battery but use connected power to run the phone](https://android.stackexchange.com/q/223812/131553)
Upvotes: 4 <issue_comment>username_3: My solution is to just use a CountDowntimer on the power outlet, set at 1:20 for me. One hit on the CD button to start the power (ON), and after 1:20 it's OFF again which will be at about 80% charge.
I use this:
<https://www.clasohlson.com/se/Digitalt-kopplingsur/32-8618>
Today you can buy a smart power outlet controlled with an app. It shouldn't be long until that app can turn of the power outlet charging the cellphone when it reaches 60%.
Upvotes: 3 <issue_comment>username_4: There now is a hardware+app solution for that, it's called Chargie. <https://chargie.org>
Basically, Chargie is a Bluetooth switch that is linked to an app on your phone. You set the desired level of charging, the app runs in the background and stops the charge at the percentage you set.
\*disclosure: I am the CEO of Lighty Electronics, we have developed this solution and this isn't meant to be a spammy post with a link, but rather a very relevant solution to this issue. As far as I know, there are no other manufacturers of such devices.
Upvotes: 5 <issue_comment>username_5: If your phone is rooted, do prefer an opensource **Advanced Charging Controller** module to flash either from **Magisk** or **Twrp** or any root solution u have choose. [Here](https://github.com/Magisk-Modules-Repo/acc) is the Github link for all details.
My experience in this module is, I am using this on my **Oneplus 5** for about a year now, it doesn't disappoint me. It creates a charging loop. You can change it's default preference by typing **acc** commands. 80% is the default stopping point. And there is heating machining where its charge/discharge on & off if ur phone is expected to reach a peak point, which is a nice way to tackle the heating issue which is generally seen while charging.
*If any problem occurs u can ask him on telegram or create an issue on Github.*
Upvotes: 0 |
2018/05/06 | 1,047 | 4,242 | <issue_start>username_0: How do I audit my android's apps to determine which apps are taking screenshots of my activity?
I recently installed & ran diskdigger to undelete an image I had accidentally deleted, but the image remnants that diskdigger found were shocking. There were dozens (maybe >100?) screenshots of my activity--ranging from innocuous shots of my home screen to images taken when I was inside my (encrypted) chat apps and bitcoin wallet.
Needless to say, I did not take or delete these screenshots.
My phone is a rooted Nexus 5X running Lineage OS 15-1 (Android 8.1.0). I'm using mostly software from fdroid, though I do have a few sideloaded from yalp (I don't have gapps installed), such as whatsapp and diskdigger.
How do I audit the apps that I have installed to determine what is responsible for taking (then deleting) these screenshots of my activity? To start, how do I:
1. List all of my apps, sorted by number of times the app has taken a
screenshot since installed
2. List all of my apps, sorted by number of times the app has written a
file to disk since installed
3. Generate a log and/or toast every time a screenshot is
taken--recording the timestamp, app responsible, and filename
4. Generate a log and/or toast every time an app writes a file to
disk--recording the timestamp, app responsible, and filename
5. Generate a log and/or toast every time an app deletes a file from
disk--recording the timestamp, app responsible, and filename
TIA!<issue_comment>username_1: Taking a screenshot requires root or system permissions (or an root exploit). I assume your ROM is a official Lineage release. Assuming further that their signing key has not leaked the app you are searching for should use root permissions is part of the OS. Therefore a first step would be revoke all allowances for apps to use root permissions.
>
> 1. List all of my apps, sorted by number of times the app has taken a
> screenshot since installed
>
>
>
Android is an OS optimized for Smartphones with flash memory. Flash memory degrades by writing to it, therefore Android is optimized to reduce write operations. Therefore Android does not create extensive log files. Only some small logs in RAM exists (e.g. logcat). Hence AFAIK there is no such thing like a log that records which app has created a screenshot.
>
> 2. List all of my apps, sorted by number of times the app has written a file to disk since installed
>
>
>
Again there is no such log. However if the app is still active you can monitor "disk" activity using the inotifywait-for-Android - a command-line application that can record read and/or write access to certain folder on your phone. It looks like you have to compile it yourself using NDK before using it - I did not found an pre-compiled version.
A similar API as used by inotifytools is available to Android apps, therefore there may be apps providing similar functionality.
>
> 3. Generate a log and/or toast every time a screenshot is taken--recording the timestamp, app responsible, and filename
>
>
>
If the screenshots you found were created using the `screencap` binary (the android tool for creating screenshots which is included in Android) you could try to replace this binary with some other binary.
However if the screenshots were created using a different way I don't see a way to detect or prevent this.
>
> 4. Generate a log and/or toast every time an app writes a file to disk--recording the timestamp, app responsible, and filename.
> 5. Generate a log and/or toast every time an app deletes a file from disk--recording the timestamp, app responsible, and filename
>
>
>
-> See what I wrote in (2.) about inotifytools
Upvotes: 3 [selected_answer]<issue_comment>username_2: You can also use selinux policy rules in permissive mode to audit an android application, but Google intentionally makes this extremely difficult.
In case anyone is interested, I ended up finding the source of the screenshot images: it is Android's built-in "recent apps" switcher. For more info, I documented my investigation process and findings on my blog
* <https://tech.michaelaltfield.net/2018/11/09/android-security-auditing-investigating-unauthorized-screenshots/>
Upvotes: 0 |
2018/05/06 | 198 | 802 | <issue_start>username_0: All search bars in Nova Launcher use Google. Can I change this?<issue_comment>username_1: Firstly, remove the Google Search bar. After that, hold anywhere in the homescreen where there ins't any icons. Click "Widgets". Then browse to the widget of the search bar of your choice.
Upvotes: 2 <issue_comment>username_2: Along with the other answer, there is another way to change Nova Launcher's default search engine to use (although it is not very ideal unless you want to keep the Nova search widget).
To do it, disable all your search apps besides the one you want to use, and try to use the Search bar again.
It should give you the search app that you want to use.
I used it to switch from my default Search app (`com.android.quicksearchbox`) to Google Search.
Upvotes: 0 |
2018/05/07 | 421 | 1,754 | <issue_start>username_0: I'll just clear up the basics before proceeding as previous comments have just been talking about things that really haven't helped me get any closer to fixing this.
**Have I checked out the broken screen tag wiki?**
Yes, filled with circumstantial answers that didn't really make any sense to me, every answer required something I couldn't do.
**Use a USB-OTG cable?**
Unfortunately the screen is untouchable. I can't see what I'm doing so I wouldn't be able to direct a mouse even if I could get one connected.
Basically, I have a Samsung Galaxy with a broken screen, touch screen also broke and USB debugging is disabled, can I still save this?
I just wanna be able to control it for a little before taking it to a store. I need to do some things, is this possible? Every answer I read just talks about circumstancials.
I actually might have USB debugging enabled, although my device isn't showing up when typing `adb devices` and simply prints `List of devices attached` with 2 blank lines after it.<issue_comment>username_1: Firstly, remove the Google Search bar. After that, hold anywhere in the homescreen where there ins't any icons. Click "Widgets". Then browse to the widget of the search bar of your choice.
Upvotes: 2 <issue_comment>username_2: Along with the other answer, there is another way to change Nova Launcher's default search engine to use (although it is not very ideal unless you want to keep the Nova search widget).
To do it, disable all your search apps besides the one you want to use, and try to use the Search bar again.
It should give you the search app that you want to use.
I used it to switch from my default Search app (`com.android.quicksearchbox`) to Google Search.
Upvotes: 0 |
2018/05/07 | 847 | 3,358 | <issue_start>username_0: My little kids (less than 3 yo) like to view photos on my Samsung A5 cell phone. That's great, and they are allowed to do so. I can even [pin the screen](https://support.google.com/nexus/answer/6118421?hl=en) to make sure they can't leave the gallery app and start deleting e-mails, which is good.
Unfortunately, both the built-in Samsung Gallery app as well as the pre-installed Google Photos app allow them to (accidentally) edit and delete images, which is bad.
**Can I somehow make those image viewers "child-safe" and turn off all editing features?**
I also tried looking for alternatives, but, apparently, all highly-rated gallery apps have lots of "useful" features (like renaming and deleting files). There are also "kids mode" apps available, but they don't give access to all photos taken on the device and would require me to select the ones I want to show my kids (I want them to see them all).<issue_comment>username_1: Looking for a gallery app with Trash/Recycle Bin feature I came across [Foto Gallery](https://play.google.com/store/apps/details?id=kr.co.ladybugs.fourto). If you delete a pic using trash icon, the pic is moved into trash (which itself is an album in this app). Within trash album you don't get the trash icon at all.
For your kid to delete a pic permanently, they would have to swipe leftwards from right edge, choose Delete now, and confirm to the dialog. I think that's tedious and provides enough safeguards from accidental deletion.
Furthermore, while the app does provide editing effects, the modifications are saved into the copy of an image, so the original remains intact.
Alternatively
-------------
You can continue with your default/favorite Gallery app as long as your device is running Android 5.1 or above. Simply fire up [adb](/questions/tagged/adb "show questions tagged 'adb'") and issue these commands:
```
adb shell appops set PKG_NAME WRITE_EXTERNAL_STORAGE deny
adb shell am force-stop PKG_NAME
```
Replace PKG\_NAME with package name of your Gallery app. To know how to find out package see [View app's full package name?](https://android.stackexchange.com/q/28767/96277)
The first command denies your app the permission to write the external storage (also includes inbuilt internal storage), which means tapping onto the trash icon or using image effects would either do nothing or crash the app, depending upon how the developer programmed the app to handle such a situation. The other command force-stops the app so that new permission set applies afresh.
To reverse the changes, simply replace *deny* with *allow* in the first command.
Upvotes: 1 <issue_comment>username_2: **Create a New User and Share to that User.**
I'm going to assume that you use Google Photos.
1. Create a new generic 'family' Gmail/Google account.
2. Create a new user on your phone using the 'family' Gmail account.
3. Share your photos from Google photos as 'Read Only/View Only' to that account.
4. When handing off your phone to kids, switch to 'family' account. This will also prevent them accessing other apps that you
use, as the account is separate.
The disadvantage are that:
* you'll have to switch to and from the account when giving the device to your kids
* the new profile will take up space on your device
* you'll have to use cloud sharing photo service.
Upvotes: 0 |
2018/05/08 | 468 | 1,952 | <issue_start>username_0: My WileyFox Swift phone's battery somehow emptied itself overnight and now the phone won't turn on at all.
Battery is 68% full. When I plug the charger cable in/out the phone vibrates and the Wileyfox logo appears as well as the battery icon but no other reaction whether connected or not. I always download the latest Android updates and regularly delete photos/videos to free up storage space. I don't drop it often, screen is not broken or anything and I didn't dowload anything dodgy.
Any idea what's going wrong there and how to fix it?
What I tried without success:
* long pressing power button to provoke a restart/boot
* long-pressing power button while phone both connected and disconnected to USB charger cable - nothing.
* removed battery, microSD and SIM as well as SIM2 and put them back several times – no change.
when charging, the LED light is on, so something must be working right?
I tweeted support for help. I have limited knowledge on all things phone and so I haven't tried anything else.
Please help. This is the best phone I've had and I love it. I don't have any back-up phone so I'd appreciate if this could be troubleshooted online!
Thank you.<issue_comment>username_1: Probably too late for you, but in case others stumble across this page while seeking help, like I did.....
I had a similar problem and contacted them via their chat function on their website. I was advised to hold both the power and the volume down buttons for 30 seconds. This brought up the android recovery screen - I followed the instructions and the phone is now working fine.
Upvotes: 2 <issue_comment>username_2: My phone kept restarting because of empty battery. The red light was flashing but it didn't charging. I pressed volume down and power button ant it opened recovery mode. I left phone around 10 minutes and when I came back, battery charge level was18%. Then I restart phone and it worked.
Upvotes: 0 |
2018/05/08 | 339 | 1,414 | <issue_start>username_0: I am trying to understand the rooting procedure in general.
I see that 1st stage involves what it termed as
"unlock bootloader".
It is described as a method which makes the bootloader capable for using non-manufacture images.
If I understand correctly the bootloader, shall not **boot** non-manufacture kernel/ROM unless it is unlocked.
Yet, many rooting are done by just programming the recovery image.
But the bootloader is not the recovery image.
So, how can it be that root is gained with just the recover if 1st stage is unlocking bootrom ?
Thanks,
ranran<issue_comment>username_1: Unlocking the Bootloader is required in some process including unofficial ROM, Kernel,Recovery, etc to avoid Hardbrick or Softbrick caused by non-manufacturer file or data (not integrated with bootloader default information)
It is required if you want to Root your phone by unlocking the OEM in the Developer Settings
Upvotes: 1 <issue_comment>username_2: From what I understand, unlocking the bootloader allows to boot another image, for instance a recovery tool.
From that recovery tool, it is then possible to mount the `/system` partition in read/write mode (it is normally only available in read mode).
With `/system` now writeable, the "`su`" (= "switch user") utility can be installed in it. This utility is used to switch to root user, who has write access to all partitions.
Upvotes: 0 |
2018/05/09 | 491 | 1,914 | <issue_start>username_0: You can find out everything you need to know about [Android App Bundles here](https://developer.android.com/guide/app-bundle/). As this is a new way to deliver apk's I am very interested in how it works.
When taking a look at the explanatory video provided on the [linked site](https://developer.android.com/guide/app-bundle/) you will understand that the App Bundle will only send the appropriate *language resource files* on download from **Google Play**.
*Now, what happens* when I change the system language **after installation**? Will the application not translate even if in the original *App Bundle* there was my language packaged?<issue_comment>username_1: According to a [Google I/O '18](https://youtu.be/0raqVydJmNE?t=12m52s) talk *Google Play* will download all "*typically used languages*" and retrieve others on demand.
>
> In the rare case, where a user switches to a new language that we weren't aware of before, Play will dynamically deliver relevant splits to their device. (<https://youtu.be/0raqVydJmNE?t=13m9s>)
>
>
>
Upvotes: 4 [selected_answer]<issue_comment>username_2: Suppose your app supports two languages English And Spanish.
***Case 1*** :
You are uploading **APK** both languages will be shipped it is upto user to select what they want to use.
***Case 2***:
You know that certain user will always use Spanish so rather than whole package apk you can send **Bundle** with spanish support only.
If you have shipped app with Spanish but user wants English google will dynamically ship those split apks for English.
But if user opts for French it won't be supported since your app have English and Spanish support only user can use third party if they want to translate.
**Answer** :
Yes , if you're app has support for that language google will ship it even if it is not in bundle.
No , if you don't have support for selected language.
Upvotes: 0 |
2018/05/10 | 556 | 2,161 | <issue_start>username_0: Yesterday I was showing a video to a friend of mine and something weird happened. As he went to grab my phone while I was holding it he had a few fingers on the screen and something flashed up and flashed away in the time span of about half a second so I wasn't able to exactly read what popped up. Although, since that happened it seems all my video and audio is being played at a high playback speed, I'd say around x2 the normal playback speed.
This isn't just limited to one app either. This occurred in an app called BuzzVideo, but the playback speed is global, in the YouTube app, YouTube Red, etc. I tried a combination of gestures on the screen while on that BuzzVideo app, but nothing seems to change the playback speed.
Do you have any suggestions?
What I've tried:
* Restarting the phone
* Rebooting the phone
* Resetting the data & cache for the app that caused the issue<issue_comment>username_1: According to a [Google I/O '18](https://youtu.be/0raqVydJmNE?t=12m52s) talk *Google Play* will download all "*typically used languages*" and retrieve others on demand.
>
> In the rare case, where a user switches to a new language that we weren't aware of before, Play will dynamically deliver relevant splits to their device. (<https://youtu.be/0raqVydJmNE?t=13m9s>)
>
>
>
Upvotes: 4 [selected_answer]<issue_comment>username_2: Suppose your app supports two languages English And Spanish.
***Case 1*** :
You are uploading **APK** both languages will be shipped it is upto user to select what they want to use.
***Case 2***:
You know that certain user will always use Spanish so rather than whole package apk you can send **Bundle** with spanish support only.
If you have shipped app with Spanish but user wants English google will dynamically ship those split apks for English.
But if user opts for French it won't be supported since your app have English and Spanish support only user can use third party if they want to translate.
**Answer** :
Yes , if you're app has support for that language google will ship it even if it is not in bundle.
No , if you don't have support for selected language.
Upvotes: 0 |
2018/05/11 | 446 | 1,614 | <issue_start>username_0: My phone does not connecting to the Internet – it's saying "connected,no internet":
[](https://i.stack.imgur.com/NvpH7.png)
When I open a web browser, all I get is the same message ("no connection").
Can some one help me please I am begging. I have tried so many things and nothing work.<issue_comment>username_1: According to a [Google I/O '18](https://youtu.be/0raqVydJmNE?t=12m52s) talk *Google Play* will download all "*typically used languages*" and retrieve others on demand.
>
> In the rare case, where a user switches to a new language that we weren't aware of before, Play will dynamically deliver relevant splits to their device. (<https://youtu.be/0raqVydJmNE?t=13m9s>)
>
>
>
Upvotes: 4 [selected_answer]<issue_comment>username_2: Suppose your app supports two languages English And Spanish.
***Case 1*** :
You are uploading **APK** both languages will be shipped it is upto user to select what they want to use.
***Case 2***:
You know that certain user will always use Spanish so rather than whole package apk you can send **Bundle** with spanish support only.
If you have shipped app with Spanish but user wants English google will dynamically ship those split apks for English.
But if user opts for French it won't be supported since your app have English and Spanish support only user can use third party if they want to translate.
**Answer** :
Yes , if you're app has support for that language google will ship it even if it is not in bundle.
No , if you don't have support for selected language.
Upvotes: 0 |
2018/05/11 | 287 | 1,119 | <issue_start>username_0: I want to install custom recovery in intex aqua y2 pro without pc to avoid accidents. i have downloaded the cwm (touch)custom recovery.img(4mb) and the stock recovery (6mb) can i flash it through mobile uncle tools without bricking it
Please Answer<issue_comment>username_1: You need to Root your Phone to Install Recovery without PC using this Following Apps :
- **Kingroot**
- **Kingoroot**
- **Towelroot**
- **Framaroot**
- **Iroot**
Choose the one that successfully Root your Phone
Then install Flashify and grant Root Permission, then select Costum Recovery and Select the recovery.img file and flash it
Upvotes: -1 <issue_comment>username_2: It is possible, but doing so could be **even more dangerous** than doing the traditional PC flashing way. Flashing it through **ADB is much easier and way less dangerous**. If you have not already tried flashing the phone, try using ADB. Also, **avoid apps like Kingoroot or Kingroot**, they are proven as spyware by the community.
Have fun flashing your phone!
It's **way easier than you think**
Good Luck,
username_2.
Upvotes: 0 |
2018/05/11 | 350 | 1,483 | <issue_start>username_0: I moved to a new gmail account. I have set it up on my Samsung S6. However, now when searching through text messages or contacts email addresses are being show next to the contact name. I have tried everything from unsyncing, restarting phone, removing the new gmail account and setting it back up. I have display only phone contacts which does not work since I have everything saved under the gmail. It is very annoying to see email addresses next to contact names when you're sending text. In general it is very annoying to see email address next to the persons name even under contacts. Any help is appreciated<issue_comment>username_1: You need to Root your Phone to Install Recovery without PC using this Following Apps :
- **Kingroot**
- **Kingoroot**
- **Towelroot**
- **Framaroot**
- **Iroot**
Choose the one that successfully Root your Phone
Then install Flashify and grant Root Permission, then select Costum Recovery and Select the recovery.img file and flash it
Upvotes: -1 <issue_comment>username_2: It is possible, but doing so could be **even more dangerous** than doing the traditional PC flashing way. Flashing it through **ADB is much easier and way less dangerous**. If you have not already tried flashing the phone, try using ADB. Also, **avoid apps like Kingoroot or Kingroot**, they are proven as spyware by the community.
Have fun flashing your phone!
It's **way easier than you think**
Good Luck,
username_2.
Upvotes: 0 |
2018/05/13 | 441 | 1,636 | <issue_start>username_0: On the [Alarm Clock Plus](https://play.google.com/store/apps/details?id=com.vp.alarmClockPlusDock) app, what does "Allow auto snooze/dismiss" mean? How do I use these features? Can they both be used on one alarm?<issue_comment>username_1: Snooze means delaying the alarm to a certain time. For example, I set an alarm at 7am and the snooze time is 5 minutes. After ringing for some time (dismissed you may call it), it will turn off and snoozes till 7:05am for the next ring.
Dismiss means the alarm is completely turned off. If you do not interact with your phone for a certain while the alarm is on, it will be automatically dismissed (turned off).
Upvotes: 0 <issue_comment>username_2: **Snooze** - Instead of shutting the alarm off, it would pause it allowing you to sleep for few more minutes. If you see your settings, you could notice the snooze minutes viz - 5, 10, 15 minutes and you can also keep custom minutes.
When the alarm rings and you feel like having a quick 5 min extended sleep, you hit the snooze option. This comes handy since you dont need to wakeup, set another alarm for next 5-10 minute and doze off.
**Dismiss** - This cancels/shuts the alarm down for that day & time.
You click on the dismiss option when you are ready to ware up!
**Auto Snooze**
That means if there isn't any action (if you don't hit the snooze options) system automatically snooze and again the alarm rings after the x minutes as per the snooze interval. If this auto snooze is not set, you would probably get a notification as "missed alarm". I just updated the answer aswell.
Hope that helps!
Upvotes: 1 |
2018/05/14 | 494 | 1,725 | <issue_start>username_0: Ever since Android 7.1.1 I am unable to find the page (activity screen) to set, on one screen, the volume for the various audio outputs, such as notificatios, media, etc. Is there such a screen inherent in Android 7, or do I need to find an app for that. Thanks for your help.<issue_comment>username_1: Yes this is found under *Settings → Sound* i.e
[](https://i.stack.imgur.com/oelWQm.png)
If for some reason you can't find it or is hidden, then just grab a third-party activity launcher application from playstore e.g Quick shortcut to access `com.android.settings/com.android.settings.Settings$NotificationSettingsActivity`
1. Install [Quickshortcutmaker](https://play.google.com/store/apps/details?com.sika524.android.quickshortcut) from Playstore
2. Select normal search - under input box type **sound** and click search
[](https://i.stack.imgur.com/KlQDRm.png)
3. In search results it will show Settings click it, and expand the list you will find "Sound & Notification" then click **try** (or create shortcut by pressing create).
[](https://i.stack.imgur.com/E1iAim.png) [](https://i.stack.imgur.com/auPMym.png)
Upvotes: 3 [selected_answer]<issue_comment>username_2: I had "Volume" under "Settings/Sounds", but it looked like a heading, so I never clicked it. Not smart I suppose, but now I can set the volumes for "Notifications", "Media", and "System". Great answer from @xavier\_fakerat. Thanks.
Upvotes: 0 |
2018/05/14 | 367 | 1,614 | <issue_start>username_0: I logged into gmail using Microsoft Edge and Google immediately sent an email saying that my device doesn't have the latest Google apps.
How did Google come to know which apps I have installed and if they are latest or an older version? It would make sense if i was using the gmail app. But in my case, I logged in using the browser.
Or is it just a generic notification because I am accessing gmail via browser and Google assumes that I don't have the latest apps?<issue_comment>username_1: The login to Gmail is the very same you use for Play Store – so in fact Google knows it's you. The browser sends a [user-agent](https://en.wikipedia.org/wiki/User_agent) string, by default identifying your device (brand and model). The history of your activities in Google Play Store tell which apps you've installed in what versions *on this device.*
So yes, that would be an easy thing to do for Google. I cannot say if that's really happening (or if your guess of not using the native app triggering such message is what's done) – but it's technically possible.
Upvotes: 3 [selected_answer]<issue_comment>username_2: You've most likely received the notification since you accessed a Google Service (Gmail) through a non-Google Service (Microsoft Edge).
They probably assumed you bought a new Microsoft Device and sent out a default notification to remind you to install Chrome instead of relying on their competitor's browser. This happens to me on occasion when I log in to a new device at work, usually when it's been set up out of the box and I try to sync my Google Account.
Upvotes: 0 |
2018/05/16 | 285 | 1,233 | <issue_start>username_0: I know dalvik vm use dalvik bytecode. does ART use dalvik bytecode or something else ?<issue_comment>username_1: The login to Gmail is the very same you use for Play Store – so in fact Google knows it's you. The browser sends a [user-agent](https://en.wikipedia.org/wiki/User_agent) string, by default identifying your device (brand and model). The history of your activities in Google Play Store tell which apps you've installed in what versions *on this device.*
So yes, that would be an easy thing to do for Google. I cannot say if that's really happening (or if your guess of not using the native app triggering such message is what's done) – but it's technically possible.
Upvotes: 3 [selected_answer]<issue_comment>username_2: You've most likely received the notification since you accessed a Google Service (Gmail) through a non-Google Service (Microsoft Edge).
They probably assumed you bought a new Microsoft Device and sent out a default notification to remind you to install Chrome instead of relying on their competitor's browser. This happens to me on occasion when I log in to a new device at work, usually when it's been set up out of the box and I try to sync my Google Account.
Upvotes: 0 |
2018/05/16 | 548 | 1,748 | <issue_start>username_0: I try to remove google apps from android x86 dowloaded from [here](http://www.android-x86.org/download) and I managed to make it run over virtualbox, afterwards in **installed** it to a virtual hard disk.
But I want on it to remove any google-based apps and run with free-software alternatives. So I installed via fdroid the `/system/app mover` but when I try to move any app I get the error:
>
> Could not remount /system
>
>
>
So using the onboard terminal I followed the [instructions](https://android.stackexchange.com/questions/110927/how-to-mount-system-rewritable-or-read-only-rw-ro#110928) provided.
I managed to become root and run the command:
```
mount -o rw,remount system
```
But I got the error:
```
'/dev/loop1' is read-only
```
How I can fix that.<issue_comment>username_1: My guess is that you installed the androidx86 using fast install from advanced options. Please reinstall the Android x84 and select the /system to get mounted as rw as you can see in the image bellow:

PS: Even if the image is rather old it still stays the same during installation.
Upvotes: 0 <issue_comment>username_2: I just had this, you just reinstall it on the same drive. Say do not format say skip to the GRUB question and then yes to making /system writable.
It will then reboot and everything will be as it was with a writable /system folder. I know the last guy said this but he/she didn't mention you won't lose your files :D
Posting here as I couldn't find this anywhere else.
Upvotes: 1 |
2018/05/16 | 460 | 1,621 | <issue_start>username_0: I bought 3.5 mm. dust plug jack and I'm using its buttons, but Android is considering it as a headphone and always routing the audio to it not the phone speakers nor the Bluetooth. I need to completely disable it as a media output. Please advise or guide where to ask. Stackoverflow, Super User, XDA, Android Central or Reddit. My phone is rooted and ready for any solution.<issue_comment>username_1: In android oreo, users can choose where to output the audio on the notification bar. Another way to do this is to destroy your phone audio jack by opening up your phone and unplugging the wires from the motherboard. There might be also root methods like xposed framework or something similar to map the audio output.
Hope it helps :)
Upvotes: 0 <issue_comment>username_2: <https://plus.google.com/100255718384858554176/posts/Bqp8GtkQY9x> Mr <NAME> had posted a solution to be done by tasker and Lesser audio manager.
Edit for in case the link was changed.
You need to send Lesser AudioSwitch intents and it'll switch between headphones and speaker..
By Tasker.
LAIH (232)
A1: Send Intent [ Action:com.nordskog.LesserAudioSwitch.HEADPHONES Cat:None Mime Type: Data: Extra: Extra: Extra: Package:com.nordskog.LesserAudioSwitch Class:com.nordskog.LesserAudioSwitch.SoundBroadcastReceiver Target:Broadcast Receiver ]
LAIS (233)
A1: Send Intent [ Action:com.nordskog.LesserAudioSwitch.SPEAKER Cat:None Mime Type: Data: Extra: Extra: Extra: Package:com.nordskog.LesserAudioSwitch Class:com.nordskog.LesserAudioSwitch.SoundBroadcastReceiver Target:Broadcast Receiver ]
Edited for
Upvotes: 1 |
2018/05/17 | 816 | 3,286 | <issue_start>username_0: I am an Android user running Android 7.0 (Nougat) on a Wiko Sunny 2 Plus device with 4GB internal storage, most of which is taken up by pictures and WhatsApp data. I have purchased this device because I was tired of mobile phones breaking down at home due to carelessness and am now stuck with this cheap model meaning that I now cannot run several nifty apps I had purchased.
However my home computer has about 300GB internal hard drive and I was thinking that even though I cannot carry my computer around the same way as a mobile phone or use touch screen since touch is missing from the screen not use GPS or a back camera nor use the cellular network for phone and messages as it does not have a sim card, I could still download some apps such as edutainment and dictionary apps and use them there.
So, I was wondering, as a nondeveloper, what is the easiest way to download the latest Android OS to your computer, in my case Windows 7 64-bit, and run an Android emulator or full screen tablet app on my computer, so that I can still make use of my purchased apps and what not?
Also, will I be able to use the same Google account name on the emulator without running into problems of conflict with my main smartphone?
Is there an easy emulator setup for nondevelopers, app testers for instance, that does not require a download of all the tools involved?
Thanks.<issue_comment>username_1: Yes, [Bluestacks](https://www.bluestacks.com) is the best option for your needs. Particularly suitable for game players, you can run any app on it. No need to download any extra; after downloading Bluestacks on your PC, just log in with your Play Store account and you'll find all of your apps listed.
Upvotes: 2 <issue_comment>username_2: You may also wish to try [MEmu - Android emulator](http://www.memuplay.com)
It is highly customizable, yet lightweight with elegant features:
Rich Features:
* Full Android experience with an elegant desktop
* Flexible customization (CPU, memory, resolution, device model, root mode, etc.)
>
> * Mapping the keyboard/joystick to screen touch for much better game experience
> * Passing through sensor data (e.g. accelerator) to Android, like Microsoft Surface.
> * GPS location simulation, show up wherever you want
> * File sharing between Windows and Android
> * One click to create/clone Android instances
>
>
>
You can setup your Google account just like any other device.
System Requirements:
* Windows Vista/Windows 7 SP1/Windows 8.1/Windows 10
* Intel or AMD CPU (with Virtualization Technology support preferred)
* GPU with OpenGL 2.0+ support
* At least 1 GB free system memory
* At least 2 GB of free disk space under installation path
...and by the way it's absolutely FREE
Upvotes: 0 <issue_comment>username_3: For non-commercial uses [Genymotion](https://www.genymotion.com/) is a great candidate. It is free for personal usage. It supports GApps (Google apps i.e Playstore, Gmail etc). It is also quite faster than the Google's stock emulator which comes with Android studio. For genymotion you need to
1. Make a Genymotion account
2. Download Genymotion for Windows
3. Sign in
4. Download an android OS image
5. Configure the device if you want else run it directly after downloading
Upvotes: 1 |
2018/05/17 | 291 | 1,225 | <issue_start>username_0: I use fingerprint to unlock my phone (Nokia 6 TA1033, upgraded to Oreo 8.1, not rooted). Sometimes it doesn't let me use fingerprint and asks for a password instead "for better security". I can't predict when this happens. Is there a way to prevent this? Like maybe unlock with a password on every nth wake-up so that I don't have to type the password in an uncomfortable situation?
Sometimes it is just really inconvenient to type the password, especially when your password is long. Also I believe in public places it is better to unlock with a fingerprint because then no one can see what you type.<issue_comment>username_1: In Android 8.1, password input in required when the phone is rebooted or is locked by administrator (e.g. a screen locker app). You may use a pin-code instead to ease the unlock process. Face recognition is also a good way to unlock your phone.
Upvotes: 1 <issue_comment>username_2: On stock Android, a backup authentication method is required after 5 failed attempts, or 48 hours since the last time that backup authentication method is used.
Using a screen off app will trigger this immediately, as that's how they trigger the screen off.
Upvotes: 3 [selected_answer] |
2018/05/17 | 523 | 2,288 | <issue_start>username_0: Under many of the contacts on my phone I have pages full of the same phone number and/or email address. Is there an automated method to remove them?
*Please note,* I'm not talking about duplicate contact records. I'm talking about one contact record having multiple phone number entries with the same number filling multiple pages. I could press the "-" button dozens of times to remove them, but this issue is happening on many of my contacts.
Googling this issue only returns results regarding "duplicate contacts" with suggestions of merging. I'm not looking to merge contacts. I'm looking to remove duplicate numbers that are listed under a single named contact.
When I went to Gmail's website to look up the contact for the person in the image I attached, Gmail only lists their email address (once) with no phone number. I'm not sure where the other numbers are coming from or if there is a way to organize the contacts outside of my phone. I'm interested in hearing options you may suggest. I'm a developer and not afraid of an export/cleanup/import scenario if that is viable.
[](https://i.stack.imgur.com/WXkbl.png)
I have a Galaxy S7 with Android 7.0.<issue_comment>username_1: You may use apps like Contacts Optimizer (available on google play) to link contacts with same phone numbers into one. There should also a similar feature built-in in the contacts app on your phone.
Upvotes: 2 [selected_answer]<issue_comment>username_2: I tried **Contacts Optimizer**. In the first pass it only addressed duplicate contact records. I wrote to the authors and was told that the free version should support removing duplicate numbers within one contact so I ran it a second time. After that the duplicate phone numbers were gone. This solved my issue.
Upvotes: 0 <issue_comment>username_3: It is highly recommended to use the ''Google Contacts App'' on your browser instead of the third party apps.
You can find the Google Contacts within your Gmail account as well. Else, you can just search Google contacts.
The feature allows to remove the duplicate entries of the contacts in your Google Contacts. Also, it prompts you to merge the contacts with the same name.
Upvotes: 1 |
2018/05/17 | 445 | 1,450 | <issue_start>username_0: When on vacation I use my smartphone (Android 7.1.1 Nougat) as a modem for my laptop (Windows 10 Home) and tablet (Android 6.0 Marshmallow), tethering to the laptop with USB and the tablet with Bluetooth. This works fine and the speed is acceptable, but every time I disconnect/go out of BT range I have to re-establish the connection. With WiFi tethering this problem does not occur, but WiFi uses a lot more battery power.
Is there any way to make USB and/or BT re-connection automatic?
@Ce4's answer to [this question](https://android.stackexchange.com/questions/48240/tethering-options-for-the-laptop-and-the-phone) (jun 2013) mentions an app for permanent BT tethering but the link is broken.<issue_comment>username_1: [This topic](https://android.stackexchange.com/questions/127930/automatically-tether-usb) shows an answer using [Automate app](https://play.google.com/store/apps/details?id=com.llamalab.automate). Note that, according to that topic, it requires root access.
[](https://i.stack.imgur.com/08CWWl.png)
Upvotes: 0 <issue_comment>username_2: There are several apps available which can do this (even without root), for example [Hot Spot Starter](https://play.google.com/store/apps/details?id=de.thjunge11.autohotspotfree&hl=en) or [Hotspot Automatik](https://play.google.com/store/apps/details?id=de.christian_heinisch.hotspot.enablehotspot).
Upvotes: 1 |
2018/05/18 | 518 | 2,058 | <issue_start>username_0: I'm facing this issue:
When I delete a big folder, it's not deleted, but moved in "system data" instead, I remove the card, I plug it in my pc and my pc says that the device has to be checked for errors, it runs the check and then creates a folder named found.000, if I delete this, the free space is regained! I've already formatted my SD card, same issue happened!
The strange thing is that this happens only with large/huge files and folders, if I delete some megabytes, not a byte is added in system data! so I think I need to think why could this be happening with large data
I've got a similar 1 gb of data in internal too but this should be the mi cloud backup?
is it stored locally?
how can I delete it?
(I'm root)<issue_comment>username_1: Connect your SD card to PC/laptop and perform a `chkdsk` repair
Upvotes: 0 <issue_comment>username_2: For anyone using ES File Explorer, when you 'delete' from the SD Card the data doesn't delete, it gets moved into a folder called .estrongs (you have put the sd card into PC and in Windows File Explorer under View Tab check the box for 'show hidden files')...checking the box for showing 'hidden files' in ES Explorer is not reliable.....Then in just delete the files from .estrongs in Windows File Explorer to free up space
Upvotes: 1 <issue_comment>username_3: I think a **Cold Restart** (*Turning the device completely off and then back on.*) Should fix this issue.
In some rare cases you may need to remove the card when the device is off and put it back before restarting.
Then when you start back up you should see your actual available space on the SD card/Micro SD card.
Upvotes: 0 <issue_comment>username_4: To add to @username_2 's answer - on Mac OS, you can press 'Shift' + 'Command' + '.' on the keyboard to enable hidden files view, and from there you can check the SD card to determine if there's a hidden folder or trash folder where the deleted files gets moved to. In my case for a SANDISK Extreme pro it was moved to a hidden Trash folder. HTH.
Upvotes: 0 |
2018/05/18 | 334 | 1,157 | <issue_start>username_0: Hope you can see the images. Need to know what app these notifications belong to please.
[](https://i.stack.imgur.com/TvBlJ.png) [](https://i.stack.imgur.com/nNEjQ.png) [](https://i.stack.imgur.com/EuVHU.png)
Screenshots (click images for larger variants)<issue_comment>username_1: It's an google voice assistant daily jokes. See the notification icon in the first screenshot, and compare it with the icon next to the full notification in the second:
[](https://i.stack.imgur.com/MIndl.jpg) [](https://i.stack.imgur.com/uFZOJ.jpg)
Upvotes: 0 <issue_comment>username_2: To know which notification belongs to which app what you need to do is just long press that notification (after opening notification panel) and it'll reveal the app name or at least it will give you the option to see "App info" which essentially will take you to that app's settings.
Upvotes: 1 |
2018/05/19 | 551 | 1,980 | <issue_start>username_0: There is someone that I doubt that he uses my stolen phone so I want to make sure that the phone that he uses is mine or not by knowing the Wifi mac address of phone – to see if it's mine or not.
I have used [iplogger](http://iplogger.org) before but all what it shows is ip address- Android version - browser - phone model-etc. I just wanna make sure before telling telling the police about this person.
I have already done tracking report, but they did nothing.
What can I do ?? The phone uses Android 5.
[](https://i.stack.imgur.com/81xYm.png)<issue_comment>username_1: An IP logger captures the IP address and the browser user agent string, the browser user agent only contains information like phone model and browser, no uniquely identifying information like MAC addresses.
So no, this iplogger (or any other that uses similar techniques) cannot determine if the phone is actually your's, only if it is the same model, but thousands of that model are sold so that is not considered evidence.
Upvotes: 2 [selected_answer]<issue_comment>username_2: What you'd need for that is something that also supports [ARP](https://en.wikipedia.org/wiki/Address_Resolution_Protocol). You could try a tool like [Fing](https://play.google.com/store/apps/details?id=com.overlook.android.fing), which does that:
[](https://i.stack.imgur.com/dM4vr.png) [](https://i.stack.imgur.com/h0PZz.png)
Fing (source: [Google Play](https://play.google.com/store/apps/details?id=com.overlook.android.fing); click images for larger variants)
As you can see in the second screenshot, *Fing* is able to tell the MAC address (at least of nearby devices). Some alternative apps [can be found in my corresponding list](https://android.izzysoft.de/applists/category/named/network_admin_diagnosis#group_374).
Upvotes: 0 |
2018/05/20 | 759 | 2,647 | <issue_start>username_0: There is a good app "Termux" which can provide a powerful shell environment without gaining root permission. However, the touch-screen keyboard doesn't include the "Control" and "Alt" buttons. But some interactive programs (for example, nano, emacs) require these buttons.
Is there any way to add this button or use some other way to replace this button?<issue_comment>username_1: You will want to use *Hackers Keyboard* (available [on Play Store](https://play.google.com/store/apps/details?id=org.pocketworkstation.pckeyboard) as well as [on F-Droid](https://f-droid.org/packages/org.pocketworkstation.pckeyboard/)) for that, which was explicitly written for such purpose:
[](https://i.stack.imgur.com/CmI7C.png)
Hacker's Keyboard (source: [Google Play](https://play.google.com/store/apps/details?id=org.pocketworkstation.pckeyboard); click image for larger variant)
That would be the most convenient approach – though the app hasn't been updated lately. But if you don't want that, just take a look at [the corresponding Termux help page](https://termux.com/touch-keyboard.html) (or the matching [Termux Wiki page](https://wiki.termux.com/wiki/Touch_Keyboard)): *Termux* utilizes the volume keys for "special combos". You can also have the most common keys shown on the screen to be "tap ready":
[](https://i.stack.imgur.com/YeAtw.png)
The docu writes: *To enable the extra keys view you have to long tap on the keyboard button in the left drawer menu. You can also press Volume Up+Q.*
Or, as [Death Mask Salesman](/users/152843/death-mask-salesman) stated in a now deleted comment: "`Volume Down` equals Control, while `Volume Up` is the same as Alt."
Upvotes: 3 [selected_answer]<issue_comment>username_2: You can use Volume Down + C to get the same job.
Upvotes: -1 <issue_comment>username_3: When you slide on the left-hand side of the screen, you get two options:
1. Keyboard
2. New session
Click and hold on the keyboard and all the essential keys will appear on your keyboard. That's all you have to do.
Upvotes: 1 <issue_comment>username_4: Press VOLUME UP+Q to enable and VOLUME UP+K to disable extra keys in termux.
To edit extra keys and shortcuts in termux
```
nano ~/.termux/termux.properties
```
and add save
```
extra-keys = [['ESC','/','-','HOME','UP','END','PGUP'],['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN']]
```
You can include shortcuts you like by changing termux.properties.
Reference [link](https://mobile-coding-hub.github.io/termux/customisation/extra_keys/)
Upvotes: 0 |
2018/05/23 | 216 | 887 | <issue_start>username_0: My phone was bricked, so I decided to flash my phone LYF f1s with the stock ROM through QFIL, but after after successful flashing it won't start !! Nothing happens, no matter which combination of volume and power buttons I press, only the charging light blinks or keep flashing when I connect it to my charger or laptop. Please help !!<issue_comment>username_1: Looks like some of the images are incorrect for your phone?
or maybe you can try to remove the battery, then put it back and try again.
Upvotes: 0 <issue_comment>username_2: You can take the battery out, plug in the charger, ad see if the phone can at least give an unable to charge error.
Upvotes: 0 <issue_comment>username_3: Just unplug your battery and wait for 5 to 10 min until phone get back to its normal temperature. Then plug the battery as it was earlier and start your phone.
Upvotes: -1 |
2018/05/23 | 162 | 634 | <issue_start>username_0: it seems that I've got 1,5gb of data in internal (system data) - how can I delete?<issue_comment>username_1: Looks like some of the images are incorrect for your phone?
or maybe you can try to remove the battery, then put it back and try again.
Upvotes: 0 <issue_comment>username_2: You can take the battery out, plug in the charger, ad see if the phone can at least give an unable to charge error.
Upvotes: 0 <issue_comment>username_3: Just unplug your battery and wait for 5 to 10 min until phone get back to its normal temperature. Then plug the battery as it was earlier and start your phone.
Upvotes: -1 |
2018/05/24 | 459 | 2,004 | <issue_start>username_0: Why does Google Play Services require so many permissions. Access to my phone, contacts, text messages, camera, microphone, and even body sensors cannot be turned off without constant push notices saying they must be turned on for it to work properly. I didn't know my phone had "body sensors". It is the only app in my phone with such a request. I find all these demands for access to every aspect of my phone way too invasive into my personal information. No possible permission is excluded. Do I have to keep this app running or can I disable it?<issue_comment>username_1: It is because new android >6.0 ask for permissions on any app ,even on system apps. Don't be scared. Allow them, because it is services for all google apps. Without that youtube ,gmail, chrome won't work. It's neccesary. And because it is neccesary it request a lot. Google wants from you to doenload all their apps to use.
And it request contacts and dialing because he want to backup your contact to google servers in case of losing data.
Upvotes: -1 <issue_comment>username_2: *Google Play Services* is kind of a "service provider" for other apps on your device. A look into our [google-play-services tag-wiki](/tags/google-play-services/info) will give you some details and explain *some* of the permissions this app requires. For example it requires access to your location as it offers location services to other apps.
If you'd disable this, several of your apps will probably no longer function the way they did before. Some apps won't care. But especially other Google Apps will complain (Gmail and Google Maps definitely will). As the Settings app is not affected, you can try that out (if the effect is too strong, you can always revert your change).
On the other had, you could also try revoking some permissions from the *Google Play Services* app, if your Android lets you (it's a system app, so depending on your device and Android version you might not be able to do that).
Upvotes: 2 |
2018/05/25 | 459 | 1,265 | <issue_start>username_0: I'm having a problem where every time I boot a rom on an SM-P600, I get a boot halt. I would like to know how to verify which version I have. LineageOS has a build for,
* [n1awifi](https://wiki.lineageos.org/devices/n1awifi/)
* [lt03lte](https://wiki.lineageos.org/devices/lt03lte)<issue_comment>username_1: SM-P600 is the WiFi variant. From the device codenames you can easily see that `n1awifi` is for the WiFi variant (SM-P600) and `lt03lte` is for the LTE variant (SM-P605, SM-P607T).
Upvotes: 1 <issue_comment>username_2: The numbers should be correct, per @username_1's answer, but you can validate that that by checking `/proc/cpuinfo` via `adb shell`,
From TWRP, I can `cat /proc/cpuinfo` and I get
```
Processor : ARMv7 Processor rev 3 (v7l)
processor : 0
BogoMIPS : 1590.88
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 3
Hardware : UNIVERSAL5420
Revision : 0005
Serial : b8c9c00b4300448b
```
UNIVERSAL5420 is the hardware name for the Exynos 5420 which is in the SM-P600 model, but that doesn't matter anyway so long as the architecture hardware is the same.
Upvotes: 0 |
2018/05/26 | 545 | 1,736 | <issue_start>username_0: I accidentally agreed to the annoying TWRP application (me.twrp.twrpapp: the android application that keeps TWRP Recovery up to date.). Is it possible to remove this application from the install? Is there an uninstaller? The "App Info" screen only gives me the option to Disable and Force Stop.
When I try to remove it with `pm uninstall`, I get an error,
```
$ pm uninstall me.twrp.twrpapp
Failure [DELETE_FAILED_INTERNAL_ERROR]
```
The device is rooted, and uninstalling as root didn't seem to help
```
$ adb root
restarting adbd as root
$ adb shell
n1awifi:/ # pm uninstall me.twrp.twrpapp
Failure [DELETE_FAILED_INTERNAL_ERROR]
```<issue_comment>username_1: SM-P600 is the WiFi variant. From the device codenames you can easily see that `n1awifi` is for the WiFi variant (SM-P600) and `lt03lte` is for the LTE variant (SM-P605, SM-P607T).
Upvotes: 1 <issue_comment>username_2: The numbers should be correct, per @username_1's answer, but you can validate that that by checking `/proc/cpuinfo` via `adb shell`,
From TWRP, I can `cat /proc/cpuinfo` and I get
```
Processor : ARMv7 Processor rev 3 (v7l)
processor : 0
BogoMIPS : 1590.88
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 3
Hardware : UNIVERSAL5420
Revision : 0005
Serial : b8c9c00b4300448b
```
UNIVERSAL5420 is the hardware name for the Exynos 5420 which is in the SM-P600 model, but that doesn't matter anyway so long as the architecture hardware is the same.
Upvotes: 0 |
2018/05/27 | 186 | 690 | <issue_start>username_0: My Lenovo IdeaTab S6000H tablet running on Android 4.2.2 Jelly Bean had worked fine before yesterday when suddenly it turned off, and after a restart, it has shown this message periodically:
>
> Unfortunately, DMG has stopped working
>
>
>
I also did a factory reset, but after turning it on, the same error message has been showing again.
How to fix this error?<issue_comment>username_1: You should check the mounting state of sdcard, maybe it’s broken. Suggest to call the customer service phone for examining further.
Upvotes: -1 <issue_comment>username_2: Its an malware app. Go to settings >apps>all apps>DMG>force stop>disable or uninstall
Upvotes: -1 |
2018/05/28 | 907 | 3,493 | <issue_start>username_0: Android supports both Chromium-based and Firefox-based browsers since long now.
While those browsers have full support for HTTP/SOCKS proxies under all other OSes (Linux, OSX and even Windows), they are lacking it completely under Android. There's no setting at all to configure one.
I can easily configure a SOCKSv5 proxy on my Android device with, say, `ssh -D` to be used over whatever connections I have (wifi, ethernet, mobile data...), but I cannot use it with my browsers.
There's some system-wide support when you configure wifi, but that's not what I talk about. **I mean the good ol' *application-level* proxy support**. I don't want to send **all** traffic through a proxy, but just that for a specific browser on demand.
For the curious, I am asking this because I need and can compare results on my landline Internet link, but I cannot do the same on my mobile one.
Please, **forget about VPNs** which are also system-wide solutions like wifi proxies. I need to configure a proxy on a *per-browser* basis, just like I can do on a PC, and not a VPN.
So, why this lack?<issue_comment>username_1: There's no apparent "technical" reason for that lack. I suspect it'd be something related to the "Android Program Policy" (or whatever else it's called).
In my opinion it looks like an intentional choice as the system-level proxy you can normally configure could be leaking information for some reason or bug.
Anyway, we can configure the SOCKSv5 proxy for [Firefox for Android prior to version 68.11](https://www.mozilla.org/it/firefox/channel/android/#beta), but there seems to be no way to do the same for Chrome/Chromium.
Provided that you already established such a proxy, for example with a suitable SSH client (`-D` option).
1. In Firefox address bar type: `about:config`. A page full of settings will pop up.
2. In the search box type `network.proxy` to reduce the settings to those we are interested in.
3. For a SOCKv5 proxy you can set:
4. `network.proxy.socks` to the proxy IP address
5. `network.proxy.socks_port` to the proxy TCP port
6. `network.proxy.type` to `1` for *manual proxy configuration*
7. (optional) `network.proxy.no_proxies_on` to address that need not to be proxied (or clean it up to reach remote loopback addresses)
8. For a "*regular*" HTTP proxy, any other proxy type or even any other setting that's not available in the setting menu, please refer to the above settings page and to the [official online documentation](http://kb.mozillazine.org/Knowledge_Base).
**N.B.** Starting with **v68.11** Firefox for Android doesn't provide anymore access to settings via the `about:config` pseudo-page, even if it's listed in `about:about` pseudo-page. This is not mentioned within the [release notes](https://www.mozilla.org/en-US/firefox/android/68.11.0/releasenotes/) and means that there's no way anymore to use a proxy within a browser.
However [Firefox Nightly releases still allow users to access about:config](https://support.mozilla.org/lt/questions/1300502), you can install theses builds to use a proxy.
Upvotes: 3 [selected_answer]<issue_comment>username_2: There is actually a plugin to Firefox on Android called Foxyproxy <https://addons.mozilla.org/en-US/android/addon/foxyproxy-standard/> that handles the proxy settings for Firefox
Upvotes: -1 <issue_comment>username_3: For now you can use [Bromite](https://www.bromite.org/). Bromite is a Chromium fork with ad blocking and privacy enhancements
Upvotes: 0 |
2018/05/28 | 791 | 3,006 | <issue_start>username_0: So I recently lent my phone to my father. He broke its display and took it to a service center for repairs, all unbeknownst to me. I am kinda freaking out now because, only a few months ago, I had various nude photos of me and my girlfriend saved on its **internal memory**. Even though I deleted them before handing it over to my father, I am pretty sure they can be recovered using appropriate software. Is there anyway to check if such an attempt was made?
**Model : Samsung Galaxy J1(2016) (pre-knox firmware)**
**Status : "unrooted" (checked immediately on deliver from the service center)**<issue_comment>username_1: There's no apparent "technical" reason for that lack. I suspect it'd be something related to the "Android Program Policy" (or whatever else it's called).
In my opinion it looks like an intentional choice as the system-level proxy you can normally configure could be leaking information for some reason or bug.
Anyway, we can configure the SOCKSv5 proxy for [Firefox for Android prior to version 68.11](https://www.mozilla.org/it/firefox/channel/android/#beta), but there seems to be no way to do the same for Chrome/Chromium.
Provided that you already established such a proxy, for example with a suitable SSH client (`-D` option).
1. In Firefox address bar type: `about:config`. A page full of settings will pop up.
2. In the search box type `network.proxy` to reduce the settings to those we are interested in.
3. For a SOCKv5 proxy you can set:
4. `network.proxy.socks` to the proxy IP address
5. `network.proxy.socks_port` to the proxy TCP port
6. `network.proxy.type` to `1` for *manual proxy configuration*
7. (optional) `network.proxy.no_proxies_on` to address that need not to be proxied (or clean it up to reach remote loopback addresses)
8. For a "*regular*" HTTP proxy, any other proxy type or even any other setting that's not available in the setting menu, please refer to the above settings page and to the [official online documentation](http://kb.mozillazine.org/Knowledge_Base).
**N.B.** Starting with **v68.11** Firefox for Android doesn't provide anymore access to settings via the `about:config` pseudo-page, even if it's listed in `about:about` pseudo-page. This is not mentioned within the [release notes](https://www.mozilla.org/en-US/firefox/android/68.11.0/releasenotes/) and means that there's no way anymore to use a proxy within a browser.
However [Firefox Nightly releases still allow users to access about:config](https://support.mozilla.org/lt/questions/1300502), you can install theses builds to use a proxy.
Upvotes: 3 [selected_answer]<issue_comment>username_2: There is actually a plugin to Firefox on Android called Foxyproxy <https://addons.mozilla.org/en-US/android/addon/foxyproxy-standard/> that handles the proxy settings for Firefox
Upvotes: -1 <issue_comment>username_3: For now you can use [Bromite](https://www.bromite.org/). Bromite is a Chromium fork with ad blocking and privacy enhancements
Upvotes: 0 |
2018/05/29 | 837 | 2,621 | <issue_start>username_0: I'm unable to install Express in Android Termux. I have the latest Node.js installed.
It is working perfectly when I use Private storage, but I'm using `cd /storage/sdcard0/NodeJS/Test/` and getting a **permission denied** error. I saw the word **symlink** repeatedly in the terminal's error message.
Here's what I saw after commanding `npm install express --save`:
```
$ npm install express --save
npm WARN test-lab@1.0.0 No description
npm WARN test-lab@1.0.0 No repository field.
npm ERR! path ../mime/cli.js
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall symlink
npm ERR! Error: EACCES: permission denied, symlink '../mime/cli.js' -> '/storage/sdcard0/NodeJS/Test/3/node_modules/.bin/mime'
npm ERR! { Error: EACCES: permission denied, symlink '../mime/cli.js' -> '/storage/sdcard0/NodeJS/Test/3/node_modules/.bin/mime'
npm ERR! cause:
npm ERR! { Error: EACCES: permission denied, symlink '../mime/cli.js' -> '/storage/sdcard0/NodeJS/Test/3/node_modules/.bin/mime'
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'symlink',
npm ERR! path: '../mime/cli.js',
npm ERR! dest: '/storage/sdcard0/NodeJS/Test/3/node_modules/.bin/mime' },
npm ERR! stack: 'Error: EACCES: permission denied, symlink \'../mime/cli.js\' -> \'/storage/sdcard0/NodeJS/Test/3/node_modules/.bin/mime\'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'symlink',
npm ERR! path: '../mime/cli.js',
npm ERR! dest: '/storage/sdcard0/NodeJS/Test/3/node_modules/.bin/mime',
npm ERR! parent: 'test-lab' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /data/data/com.termux/files/home/.npm/_logs/2018-05-29T13_09_20_748Z-debug.log
```
Is it really possible to install Express while current storage is something like `/storage/sdcard0/...`?<issue_comment>username_1: Unfortunately, the answer is **No**, not even with root.
Android uses FUSE (Filesystem in USErspace), which has symbolic links **disabled**. Since Node needs to setup symlinks, it's impossible to install it onto the SD card (or whatever internal storage where you store your photos, downloads, etc.). You can only install it into Termux's directory, which is `/data/data/com.termux/files`.
Upvotes: 3 [selected_answer]<issue_comment>username_2: I fix it with this:
1. Install Termux:API ([Play Store](https://play.google.com/store/apps/details?id=com.termux.api)).
2. In Termux shell: `apt install termux-api`
That's all. <https://www.npmjs.com/package/termux>
Upvotes: 0 |
2018/05/30 | 527 | 2,040 | <issue_start>username_0: This is the same to this question:
[Can't delete file in download folder](https://android.stackexchange.com/questions/57844/cant-delete-file-in-download-folder)
But for me, the answer is not clear, as per the OP's answer 'he turned on the SD Maid app' but did not state what option in SD Maid resolved the issue. The OP stated as well 'he deleted the whole directory' but not specified if using SD Maid or PC.
We have the same scenario where I redownloaded the same file, and after copying it to the exact location where I'm having an issue, it made two identical files and what I tried so far:
1. Highlighted both items and deleted them using SD Maid, it says success but after a refresh, it retains the other file with 0 bytes.
2. Connected my phone to PC as MTP and tried to delete it from there. What I noticed is it only shows one file, unlike looking in any Android file manager. It says success but checking it again on the phone it retains still the file with 0 bytes.
3. Tried apps in Play Store that says secure delete that uses a different algorithm but still, after it says yes, the same scenario occurs above.
4. Perform wipe cache partition in the stock recovery.
5. Clear data and cache of stock file manager.
I know my last resort would be a complete factory reset, but is there any other way?<issue_comment>username_1: Unfortunately, the answer is **No**, not even with root.
Android uses FUSE (Filesystem in USErspace), which has symbolic links **disabled**. Since Node needs to setup symlinks, it's impossible to install it onto the SD card (or whatever internal storage where you store your photos, downloads, etc.). You can only install it into Termux's directory, which is `/data/data/com.termux/files`.
Upvotes: 3 [selected_answer]<issue_comment>username_2: I fix it with this:
1. Install Termux:API ([Play Store](https://play.google.com/store/apps/details?id=com.termux.api)).
2. In Termux shell: `apt install termux-api`
That's all. <https://www.npmjs.com/package/termux>
Upvotes: 0 |
2018/05/30 | 322 | 1,228 | <issue_start>username_0: When I open <https://web.whatsapp.com> on Android phones, there's no QR code to be scanned nor it shows any messages, but instead, it automatically redirects to <https://www.whatsapp.com>.

How to make WhatsApp Web shows the QR code on Android phones?<issue_comment>username_1: <https://web.whatsapp.com/> website is only for laptop or desktop users so that they can use WhatsApp on their laptop or desktop. If you visit this website from your smartphone, it will redirect you to their official website of WhatsApp.
Upvotes: 2 <issue_comment>username_2: To use WhatsApp Web on Android (which is very handy and widely used):
close all Chrome tabs, open a new incognito window, check the Desktop site version from the menu if not checked, open <https://web.whatsapp.com/>, et voila: the QR code.
The important thing is to open a *new* tab when you exit from incognito, Chrome deletes all of the cookies! And at the base, there is a problem with cookies.
Upvotes: 1 <issue_comment>username_3: I use Firefox Browser with User Agent Switcher extension when opening <https://web.whatsapp.com/>. Furthermore, I select "Request Desktop site" and it works.
Upvotes: 0 |
2018/05/30 | 504 | 2,040 | <issue_start>username_0: I would like to install an app called entrust (from the play store) and be able to use it. My last try was to use an emulator called "Genymotion", but the app can detect that the app is being run on an emulator because I get this error:
"Error: Manual Activation is not supported on an unsecured device."
[](https://i.stack.imgur.com/GP4Sa.png)
which I don't get if I'm running the app on a real device. Are there any ideas about how can I bypass this check and be able to run it using an emulator?
Thank you!<issue_comment>username_1: In general there are three ways to bypass an emulator check:
1. Modify the app and remove the emulator check.
2. Modify the emulator so that it pretends to be a real device.
3. Modify the system calls the app does for detecting it is running on an emulator
As you can see all three ways are not that simple, however the third way may be the easiest as there are some tools that can help you.
Back to **option 1** - it requires a lot of development skills to decompile the app (e.g. using `apktool` to decompile it to Smali code), identify the emulator checks (and to bypass app integrity checks that may exist).
**Option 2** is even harder as it requires you to patch and recompile the Android emulator (which is available as source code).
Therefore from my point of view only **option 3** is realistic for you. However it still may require some Java development.
You can install the XPosed framework onto your emulator. It allows to modify system calls the app uses for identifying that it is running on an emulator.
There are a some existing XPosed modules for hiding that a device is rooted or that it is running on an emulator. If you are luck there is an existing module working out-of-the box, letting you run your app on an emulator.
Upvotes: 2 <issue_comment>username_2: The app needs a closed boot loader and doesn't allow root. The app doesn't know anything about the emulator.
Upvotes: 0 |
2018/05/31 | 428 | 1,766 | <issue_start>username_0: When I am installing my apps from Playstore its not getting installed and the previous apps which are already installed or not getting updated I brought a new mobile from a store recently but I am facing this issue:
[](https://i.stack.imgur.com/hvlP4l.jpg)<issue_comment>username_1: In general there are three ways to bypass an emulator check:
1. Modify the app and remove the emulator check.
2. Modify the emulator so that it pretends to be a real device.
3. Modify the system calls the app does for detecting it is running on an emulator
As you can see all three ways are not that simple, however the third way may be the easiest as there are some tools that can help you.
Back to **option 1** - it requires a lot of development skills to decompile the app (e.g. using `apktool` to decompile it to Smali code), identify the emulator checks (and to bypass app integrity checks that may exist).
**Option 2** is even harder as it requires you to patch and recompile the Android emulator (which is available as source code).
Therefore from my point of view only **option 3** is realistic for you. However it still may require some Java development.
You can install the XPosed framework onto your emulator. It allows to modify system calls the app uses for identifying that it is running on an emulator.
There are a some existing XPosed modules for hiding that a device is rooted or that it is running on an emulator. If you are luck there is an existing module working out-of-the box, letting you run your app on an emulator.
Upvotes: 2 <issue_comment>username_2: The app needs a closed boot loader and doesn't allow root. The app doesn't know anything about the emulator.
Upvotes: 0 |
2018/06/02 | 435 | 1,746 | <issue_start>username_0: For many apps on Google play such as Facebook I would like to install them, but I would not provide all the access they require while installing. For instance, I would not like to provide the access to Contacts. Is this possible?
I am targeting the Android versions 6 and later.
I know how to revoke the permissions later time, but installation time, Facebook prompts me with the big accept list, that at that time I cannot disable.
The `needs access to` dialog pops just after I press the install button.
[](https://i.stack.imgur.com/7ZRhd.jpg)
[](https://i.stack.imgur.com/wcNpQ.jpg)<issue_comment>username_1: no that is not possible at that time because they are preset conditions in the android manifest which need to be fulfilled before downloading the app on your device
Upvotes: 0 <issue_comment>username_2: If an app targets Android 6 or higher, most of the permissions listed in your screenshot will have to be approved (or denied) by the user at runtime – i.e. when you're using the app. There are several permissions not falling into this category, as Google defined them as "normal" (and only "dangerous" permissions are considered worthwhile to be presented to the user). So you e.g. will never be asked for Internet access (if you denied, Google couldn't show ads).
---
OTOH one of course could argue: if you're concerned about your privacy, Facebook is the wrong place to go in general :) And of course again, if you don't trust an app, watch out for alternatives. Best at [F-Droid](https://f-droid.org) where you can trust every app.
Upvotes: 3 [selected_answer] |
2018/06/03 | 952 | 2,990 | <issue_start>username_0: I am trying to flash the latest 6.0.1 build onto my Nexus 7 tab.
I picked MOB30X build from [here](https://developers.google.com/android/images#razor)
```
naveen@gandalf:~$ fastboot devices
015d2a4ffd181016 fastboot
```
But, when I do
```
naveen@gandalf:~$ fastboot flashall -w
error: neither -p product specified nor ANDROID_PRODUCT_OUT set
```
What is this product about?
Further,
Looking like the build comes with a nice installation file **flash-all.sh**
While running
```
fastboot -w update image-razor-mob30x.zip
```
I'm again hitting this error
>
> checking product...
>
> FAILED
>
>
>
Here's the complete log [file](https://www.writeurl.com/text/cywsk5vsp955bu3mdbtn/sde6c1hoj0551yeqytg9)
```
naveen@gandalf:~/Playground/android/razor-mob30x$ sudo fastboot -w update image-razor-mob30x.zip
[sudo] password for naveen:
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
archive does not contain 'vendor.img'
Creating filesystem with parameters:
Size: 30550261760
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 7458560
Block groups: 228
Reserved block group size: 1024
Created filesystem with 11/1867776 inodes and 161260/7458560 blocks
Creating filesystem with parameters:
Size: 464519168
Block size: 4096
Blocks per group: 32768
Inodes per group: 7088
Inode size: 256
Journal blocks: 1772
Label:
Blocks: 113408
Block groups: 4
Reserved block group size: 31
Created filesystem with 11/28352 inodes and 3654/113408 blocks
--------------------------------------------
Bootloader Version...: 4.23
Baseband Version.....: N/A
Serial Number........: 015d2a4ffd181016
--------------------------------------------
checking product...
FAILED
Device product is 'grouper'.
Update requires 'flo'.
finished. total time: 0.157s
```<issue_comment>username_1: no that is not possible at that time because they are preset conditions in the android manifest which need to be fulfilled before downloading the app on your device
Upvotes: 0 <issue_comment>username_2: If an app targets Android 6 or higher, most of the permissions listed in your screenshot will have to be approved (or denied) by the user at runtime – i.e. when you're using the app. There are several permissions not falling into this category, as Google defined them as "normal" (and only "dangerous" permissions are considered worthwhile to be presented to the user). So you e.g. will never be asked for Internet access (if you denied, Google couldn't show ads).
---
OTOH one of course could argue: if you're concerned about your privacy, Facebook is the wrong place to go in general :) And of course again, if you don't trust an app, watch out for alternatives. Best at [F-Droid](https://f-droid.org) where you can trust every app.
Upvotes: 3 [selected_answer] |
2018/06/03 | 296 | 1,056 | <issue_start>username_0: I have Mi band 2 from *Xiaomi,* always connected to my Android device for fitness activity tracking. In the notification drawer, there is always a persistent(unclearable notification) - "Mi Band is/isn't connected - which is annoying. Is there any way I could make it disappear and receive other notifications from the Mi Fit App, if any?<issue_comment>username_1: As I remember, in Mi Fit application at the Profile -> My Devices -> Mi Band 2 exist special option for this notification.
Unfortunatelly, right now I'm using Mi Fit at IOS and cannot check it, but earlier I switched this notification off, if I am not mistaken.
Upvotes: 0 <issue_comment>username_2: **Profile -> Settings -> Show Status in Notification Shade**
* August 2018
* Android version 8.0
* MiFit App version 3.4.4
---
[](https://i.stack.imgur.com/dH3ST.png)
[](https://i.stack.imgur.com/PoScX.png)
Upvotes: 5 |
2018/06/04 | 446 | 1,765 | <issue_start>username_0: Other people are remotely controlling my phone. How do I stop them and get my life back?
Sometimes I will see the screen being navigated when I am not even touching the phone. Swiping motions, back button presses and menu selections happening automatically without my finger even touching the phone or my voice interacting with Google Assistant.<issue_comment>username_1: It's a *really* broad question but this could solve any remote control issues.
1. (try this method first):
* Force power off your phone (hold down the power button until the screen does black)
* Turn off your Wi-Fi, and remove any SIM cards.
* Power on the phone.
* Look in the Downloaded folder for any suspicious software (such as com.google.daemon or "Service of Google Play") and remove it (if there is only an "Uninstall updates" button, then it is real system software).
* Power it off, turn on your Wi-Fi, insert your SIM card(s), and tun it back on.
2. (only try if #1 didn't work):
* Turn your phone off, and put it in recovery mode (can't say exactly how without your phone model). Navigate to `wipe data/factory reset` > `Yes - erase all data` (WARNING: you will lose all data on the phone).
* Turn it back on. It should be fixed unless the R.A.T (stands for Remote Administration Tool or Remote Access Trojan) is a system app.
Upvotes: 2 <issue_comment>username_2: these ghost touches are a well known hardware failure of touch screen. replace the digitizer or whole screen
Upvotes: 0 <issue_comment>username_3: Download an app calldd 0permission and verify your kernel module is correct.
Exposing a bootloaderand rooting is in the past.
People like to expose your initrd
(initial ramdisk) and backdoor their shell command off that
Upvotes: 1 |
2018/06/05 | 1,056 | 4,386 | <issue_start>username_0: Simple question, but I couldn’t find the answer anywhere…
I need to send encrypted e‑mails through using s/mime (talking about security, even most of metadata should be unknown). The problem is I’m not part of Google app organization (and I don’t need it since it’s not free).
How do I configure Gmail or the Samsung e-mail app to use the CA trusted certificate (which only contains public key) I installed on the device for sending enciphered e‑mails through s/mime ?
I also need to manually select the certificate which will be used for encryption (The company generate the paid certificate for me so it match my e-mail address and not company one).<issue_comment>username_1: You need to use a mail app that supports, S/MIME. Check out Blackberry Hub app, K9 Mail, or others.
You can set up your gmail account as imap so that you send and receive using your gmail account.
Upvotes: -1 <issue_comment>username_2: First you need an S/MIME certificate including private key for your selected E-Mail address.
If you don't have this you don't have to look for apps. AFAIK there is no "Let's Encrypt" for S/MIME therefore you have to [buy the certificate for your e-mail address](http://kb.mozillazine.org/Getting_an_SMIME_certificate).
If you want to use your GMail account you have to [enable IMAP](https://support.google.com/mail/answer/7126229?hl=en) on it.
Now you need an Android app that supports S/MIME signing and verifying. AFAIK the Google for enterprise apps are different form the regular apps, therefore the Gmail app won't work. As far as I know the following two apps should fully support S/MIME:
* [R2Mail2](https://play.google.com/store/apps/details?id=at.rundquadrat.android.r2mail2)
* [MailDroid](https://play.google.com/store/apps/details?id=com.maildroid) (not sure if S/MIME is supported in the free version)
Upvotes: -1 <issue_comment>username_3: For the Samsung email app (on my Galaxy Tab A anyway) you need the following
▪An exchange activesync account - for some reason s/mime is not enabled for any other email type
▪Your public and private keys for your exchange account as a PKCS#12 cert uploaded to your tablet already or in your download directory ( root/sdcard/Download directory ) ready for import.
Go to the email settings > exchange account > security options screen and select the encryption certificate option then import. It should show you the PKCS#12 file and let you select it, enter any needed password and import it to your keystore with a friendly name of your choice. Repeat for the signing key - typicallly this is the same PKCS#12 file.
Set it to sign all outgoing mail if you wish - that'll help distribute your public key and maybe raises peoples awareness of s/mime.
It's probably not worth encrypting all outgoing messages by default as you'll get a warning for each recipient that you don't have their public key.
Send yourself test signed and then encrypted emails to prove this is working - preferably using a second device to test thoroughly. The three-dot menu on the send email will let you pick security options to sign and encrypt for individual messges.
The next stage is to try to exchange signed email with other real contacts - if you've defaulted to sign all this should just happen and they should be able to validate the signature.
The last stage is to send them an encrypted email, for that you need their public key / cert. If you've been exchanging signed email you should have it - hopefully you're also using exchange contacts and their record has their key else you'll need to add it from a received email.
Slightly concerning that you say the recipient has a copy of your private key - this should never happen as your private key should always remain private to you. Officially you should revoke you key and get a new one. The practical upshot is things will get very confusing as to what's going on if you've got keys mixed up between public and private and sender and recipient. Good luck.
I don't think Samsung mail lets you easily swap your certs either - you can go into settings and change them but unless youre doing something interesting you should only have one email address on your exchange account.If you're trying to use encrypted group email I don't think Samsung email is going to help, and I don't know of any other mail client that can either.
Upvotes: 2 |
2018/06/06 | 3,571 | 10,745 | <issue_start>username_0: How do you upgrade the [Sony Xperia Z3 Compact (D5803)](https://support.sonymobile.com/ca-en/xperiaz3compact/supportDocumentation/) to Android 8.1?
There are a number of web pages that attempt to answer this question, but none of them provide every step along the way. These include:
* <https://forum.xda-developers.com/z3-compact/general/z3-compact-marshmallow-to-oreo-step-step-t3720857>
* <https://www.getdroidtips.com/omnirom-xperia-z3-compact-8-1-oreo/>
* <https://rootmygalaxy.net/install-android-8-1-oreo-on-sony-xperia-z3-with-carbonrom-cr-6-1/>
* <https://arnowelzel.de/en/carbonrom-on-the-sony-xperia-z3-compact>
* <https://www.kbloghub.com/2018/02/root-install-twrp-recovery-on-sony-xperia-z3-compact.html>
* <https://www.reddit.com/r/SonyXperia/comments/5vt6cs/flashing_marshmallow_concept_rom_on_a_sony_xperia/>
They all skip steps or are missing key pieces of information that someone who is unfamiliar with the process would prevent from completing. A comprehensive, step-by-step guide for a complete novice would be helpful.<issue_comment>username_1: Upgrade Sony Xperia Z3 Compact to Android 8.1
=============================================
These instructions describe how to upgrade the Sony Xperia Z3 Compact (D5803) smart phone. These instructions do not include backup instructions, so be sure to save any important information and then proceed at your own risk.
Requirements
------------
* Laptop or Desktop - Windows 7
* Xperia - Stock Build Number 23.5.A.1.291 ([revert](http://www.xperiablog.net/2016/03/12/install-xperia-marshmallow-using-flashtool-and-xperifirm-guide/) if necessary)
* Xperia - Fully charged (100% recommended)
* [Xperia Companion](https://www.sony.ca/en/electronics/support/articles/00236877)
* TWRP
Disclaimer
----------
These instructions could brick your phone, rendering it a paperweight. *Read all the instructions thoroughly at least once **before you begin.***
Unlocking the bootloader erases Sony's DRM-protected functionality, such as X-Reality Engine and Miracast. Unless you make a backup of a specific partition, the functionality will be permanently lost.
Enable Developer Mode
---------------------
Enable developer mode on the phone as follows:
1. Power on the phone
2. Open **Settings**
3. Tap **About phone**
4. Scroll down to **Build number**
5. Tap **Build number** at least 7 times in succession
6. Enable developer mode
Developer mode is enabled.
Install Device Drivers
----------------------
On the laptop or desktop computer, perform the following steps:
1. Disconnect Phone from USB, if not already disconnected
2. Download [Flashtool](http://www.flashtool.net/downloads.php) v0.9.24.4 for Windows
* Hint: Use [BitPort.io](https://bitport.io/) and a [throw away email](https://www.mailinator.com/) service to download torrent (fast download)
3. Install into `C:\Flashtool`
4. Plug phone into laptop or desktop USB port
5. Run `C:\Flashtool\drivers\Flashtool-drivers.exe`
6. Check **Flashboot Drivers**
7. Scroll down
8. Check **Xperia Z3 Compact Device Driver**
9. Click **Install**
10. Accept any warnings that appear
The device drivers are installed.
Install Platform Tools
----------------------
Download and install the Android Debug Bridge (ADB) as follows:
1. Download [ADB platform tools](https://adb.clockworkmod.com/)
2. Unzip into `C:\Program Files\platform-tools`
3. Open a [command prompt](https://conemu.github.io/)
4. Type: `cd C:\Program Files\platform-tools`
5. Type: `adb devices`
6. Authorize the connection on the phone.
The phone is listed and the ADB platform tools are installed.
Unblock the Bootloader
----------------------
Advanced users can use Flashtool to unlock the bootloader, which is not described herein.
Unblock the phone's bootloader as follows:
1. Follow along with [Sony's Guide](https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/how-to-unlock-bootloader/#bootloader_guide)
2. Complete Step 1: **Check if the bootloader can be unlocked on your device**
3. Skip Step 2: **installing devices drivers and platform tools**
4. Unplug the USB cable
5. Complete Step 3: **Connect to Fastboot**
6. Complete Step 4: **Enter unlock key**
7. Type: `fastboot -i 0x0fce oem unlock 0x{UNLOCK CODE}`
* Replace `{UNLOCK CODE}` with the unlock code from Sony
The console shows:
```
...
OKAY [ 1.544s]
finished. total time: 1.560s
```
The bootloader is unlocked.
Reboot
------
After the bootloader is unlocked, reboot the phone as follows:
1. Type: `fastboot reboot`
2. Wait for the reboot cycle to complete
The phone is rebooted with an unlocked bootloader.
TWRP
----
TWRP is a tool for writing custom software on mobile phones. Install TWRP as follows:
1. On the phone, visit <https://twrp.me/sony/sonyxperiaz3compact.html>
2. Install the Official TWRP App from the Play Store.
3. Download image into `C:\Program Files\platform-tools`:
* [twrp\_z3c\_O\_2018-10-27.img](https://releases.nailyk.fr/twrp/twrp_z3c_O_2018-10-27.img)
4. Power off phone
5. Unplug USB cable
6. Press and hold volume down
7. Plug in USB cable
8. Wait for blue indicator light in top left (may have to re-plug in)
* Or run: `adb reboot bootloader`
9. Type: `fastboot flash FOTAKernel twrp_z3c_O_2018-05-09.img`
The output resembles:
```
target didn't report max-download-size
sending 'FOTAKernel' (10730 KB)...
OKAY [ 0.345s]
writing 'FOTAKernel'...
OKAY [ 0.722s]
finished. total time: 1.075s
```
TWRP recovery mode application is installed, to assist flashing ROM.
ROM
---
A handful of ROMs exist. When choosing a ROM, also find the version of GApps that is suitable for the selected ROM. The Sony Xperia Z3 Compact uses a [Snapdragon 801 Processor](https://www.qualcomm.com/products/snapdragon/processors/801), which has a [32-bit architecture](https://en.wikipedia.org/wiki/Qualcomm_Snapdragon#Snapdragon_801).
Note: These instructions have only been successfully accomplished using CarbonROM and MindTheGapps.
### CarbonROM 6.1
Download [CarbonROM](https://get.carbonrom.org/device-z3c.html) from:
* <https://mirrorbits.carbonrom.org/z3c/CARBON-CR-6.1-NOCT-RELEASE-z3c-20200323-0711.zip>
Download the ARM architecture version of [MindTheGapps](https://www.getdroidtips.com/mindthegapps-8-1-0/) from:
* <http://downloads.codefi.re/jdcteam/javelinanddart/gapps>
Alternatively, download the 32-bit ARM architecture version of [Open GApps](https://opengapps.org/) for Android version 8.1 from:
* <https://opengapps.org/?api=8.1&variant=nano>
The version of Open GApps must match the Android version of CarbonROM.
Skip to the **General ROM Installation** section.
### LineageOS 15.1
Download [LineageOS](https://www.lineageos.org/) from ([forum post](https://translate.google.com/translate?hl=en&sl=ru&u=http://lineage-os.ru/%3Fd%3Dsony-xperia-z3-compact)):
* <https://rapidgator.net/file/1f8a3bdde3cd7ef6a19e9d87c314007b/lineage-15.1-20171103-UNOFFICIAL.zip.html>
Skip to the **General ROM Installation** section.
### OmniROM Oreo 8.1
Download [OmniROM Oreo](https://www.omnirom.org/) from either of the following sites ([forum post](https://forum.xda-developers.com/z3-compact/orig-development/oreo-unofficial-omnirom-t3696536/post74338146#post74338146)):
* <https://releases.nailyk.fr/omni/z3c/omni-8.1.0-20180320-z3c-nailyk.zip>
* <https://drive.google.com/open?id=15COhmKqMBMiVeSLONSs38DaKymH2TWsv>
Continue to the **General ROM Installation** section.
### General ROM Installation
The ROM filename will differ, depending on the ROM that was downloaded, such as:
* CarbonROM: CARBON-CR-6.1-NOCT-WEEKLY-z3c-20180605-0603.zip
* OmniROM: omni-8.1.0-20180320-z3c-nailyk.zip
* LineageOS: lineage-15.1-20171103-UNOFFICIAL.zip
The steps to flash a given ROM are as follows:
1. Reboot the phone using: `fastboot reboot`
2. Start Xperia Companion
3. Click **Browse Xperia**
4. Copy both the ROM and the Gapps files into the phones download directory (e.g., `Computer\Xperia Z3 Compact\Internal storage\Download\`)
[](https://i.stack.imgur.com/91Tsz.png)
5. Power off phone
6. Unplug phone
7. Press and hold the volume down button
8. Press and hold the power button
9. Wait for a slight vibration before releasing both buttons
10. Wait for recovery application to load
11. Swipe to allow modifications
12. Select **WIPE**
13. Select **Advanced**
14. Check the following:
* **Dalvik / ART cache**
* **System**
* **Cache**
* **Data**
15. Swipe to confirm wipe
16. Tap **Home** icon
17. Tap **Install**
18. Browse to and select the OS ROM file
19. Tap **Add more Zips**
20. Browse to and select the GApps file
21. Swipe to confirm Flash
22. Tap **Reboot System**
23. Wait for the boot to complete
Android and the GApps are installed using the specified ROM.
Upvotes: 4 [selected_answer]<issue_comment>username_2: A small note to [username_1' answer](https://android.stackexchange.com/a/196723/44325):
I almost gave up, just getting adb/fastboot talking to the device.
Turned out to be a Windows 10 problem, because it refused without notice (?) to install drivers. The flashtool64 did complain however that it failed 2 of 3 in one of its windows, but I assumed (wrongly) that it was okay. I followed [this guide](https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-disable-driver-signature-enforcement-win/a53ec7ca-bdd3-4f39-a3af-3bd92336d248) to disable driver signature enforcement:
>
> Please check if you have performed these steps to disable the driver signature enforcement in Windows 10 Technical Preview.
>
>
> 1. Press the **Win + C** and click on **PC settings.**
> 2. Switch over to the “**Update & recovery**” section.
> 3. Then click on the **Recovery option** on the left hand side.
> 4. Once selected, you will see an advanced startup section appear on the right hand side. You will need to click on the “**Restart now**” button.
> 5. Once your Computer has rebooted you will need to choose the **Troubleshoot** option.
> 6. Then head into **Advanced options**.
> 7. Then **Startup Settings**.
> 8. Since we are modifying boot time configuration settings, restart your computer once more.
> 9. Here you will be given a list of startup settings that you can change. The one we are looking for is “**Disable driver signature enforcement**”. To choose the setting, you will need to press **F7**.
>
>
>
Once this was done, the drivers were installed from guide links and with flashtool64, and then I got a message that the `adb` "was too old", so they were updated as well.
Note: If you follow [the guide](https://android.stackexchange.com/a/196723/264246), you *will* have new `adb` drivers. I assumed wrong (again) that my present ones would suffice.
Upvotes: 1 |
2018/06/06 | 292 | 928 | <issue_start>username_0: I got an LG Stylo 3 on Cricket last month, and already I seem to have a problem. Randomly, it will disconnect from Wi-Fi. When I go into the settings, it'll say that the network is disabled.
Any idea what could cause this?<issue_comment>username_1: I had the same problems, did all advice given, but this one thing I did helped.
1. Go to Settings
2. Click on Wi-Fi
3. Click on Wi-Fi Manager
4. Click on box if checkmark on
Now it connects and stays connected, at home and everywhere else.
Upvotes: 1 <issue_comment>username_2: From [OP's (now deleted) comment](https://android.stackexchange.com/questions/196737/lg-stylo-3-wi-fi-randomly-disconnecting#comment281692_196737),
>
> The problem got solved. I turned off Cricket Wi-Fi Manager as [Jess in the replies](https://android.stackexchange.com/a/199908/44325) said, then in Advanced Wi-Fi, turned off "Switch to mobile data."
>
>
>
Upvotes: 0 |
2018/06/07 | 342 | 1,082 | <issue_start>username_0: I'm using Samsung J7Max recently I updated MY AIRTEL app and try to uninstall it app uninstalled but leaves an duplicate MY AIRTEL app which tell me download MY AIRTEL app from playstore. I can't remove it or disable it. Don't know what to do. Here is snapshot of duplicate Airtel app.
[](https://i.stack.imgur.com/yfEX6.jpg)<issue_comment>username_1: I had the same problems, did all advice given, but this one thing I did helped.
1. Go to Settings
2. Click on Wi-Fi
3. Click on Wi-Fi Manager
4. Click on box if checkmark on
Now it connects and stays connected, at home and everywhere else.
Upvotes: 1 <issue_comment>username_2: From [OP's (now deleted) comment](https://android.stackexchange.com/questions/196737/lg-stylo-3-wi-fi-randomly-disconnecting#comment281692_196737),
>
> The problem got solved. I turned off Cricket Wi-Fi Manager as [Jess in the replies](https://android.stackexchange.com/a/199908/44325) said, then in Advanced Wi-Fi, turned off "Switch to mobile data."
>
>
>
Upvotes: 0 |
2018/06/07 | 264 | 1,060 | <issue_start>username_0: I have an Xperia XZs with Android 8. Lately I'm having problems while calling. When I start a call, the screen goes black immediately, and won't come back anymore during the call. The result is that when I'm in a menu where I need to chose a number, I can't, because the screen is black. I can't even hang up. Well, I can pull out the sim card, and that will end the call, but that means a restart.
I've installed a new dialer, and that seems to help a little, but the problem is still there.
**Is there any way I can get my dialer back to normal? Is this a new bug? I updated recently.**<issue_comment>username_1: The proximity sensor take charge of your screen when making a call
Factory reset your phone or change to custom ROM. If the problem still exists, you've to change the proximity sensor on your phone.
Upvotes: 0 <issue_comment>username_2: The screen protector has an opening for the proximity sensor. This opening collects dirt along the edges. After removing the dirt, the problem is gone.
Upvotes: 2 [selected_answer] |
2018/06/07 | 858 | 3,308 | <issue_start>username_0: I just got a Samsung Galaxy S9 last week and since day 1 it has been applying a blue light filter even though I turned blue light filter off in the settings (Blue Light Filter turned off and also schedule turned off under Settings/Display/Blue light filter).
The blue light filter's behavior is strange. The filter turns on around 6:56 every evening and turns off around 5:56 in the morning. Sometimes when I unlock my phone the filter isn't applied and a split second later I see it get applied. Even less often I see it applied in blocks quickly filling the screen. If I turn blue light filtering on in Display settings, the affect is additive.
When I got the phone all of the applications from my previous phone, a OnePlus 3, were installed, so I supposed it could have been one of those. I went into application permissions and turned off overlay permission (Settings/Apps/Special Access/Apps that can appear on top) to everything I thought might be affecting the screen color.
What else can I look into? Is there a way to check every process that's running to see what is changing the screen color?<issue_comment>username_1: So I did a bit of digging and found two related threads describing your problem:
**User Friendly Solution**
As you've described you had transferred over your settings from a different device and the 'Night Light' settings were hidden by the Samsung software.
The most user friendly way is from Reddit:
[PSA: Night Light and Blue Light Filter Overlap](https://www.reddit.com/r/GalaxyS9/comments/85blz5/psa_night_light_and_blue_light_filter_overlap/)
where the solution is use Nova Launcher and to create a Night Light shortcut from Nova Launcher:
>
> Easy fix is through Nova Launcher / Activities. Press somewhere on the home screen so you can select widgets. From there select Activities>Settings>Night Light. Open Night Light from your home screen and turn it off - and the scheduling, too, of course... Unless you'd rather use Night Light.
>
>
>
Reddit author made a video for visual aid: <https://youtu.be/J9J1B2Q8Eu4>
**Alternate ADB solution**
In my research I also found a different way, and while it didn't help you perhaps it may help someone else:
[Weird Night Mode type issue](https://forum.xda-developers.com/galaxy-s9-plus/help/weird-night-mode-type-issue-t3764161)
The XDA one lists `adb` commands to try:
Using `adb` to list out device settings
```
adb shell 'settings list secure
```
and then attempting to clear the appropriate ones:
```
adb shell 'settings put secure night_display_activated 0'
adb shell 'settings put secure night_display_auto_mode 0'
```
Upvotes: 3 [selected_answer]<issue_comment>username_2: I landed on this question + answer for a similar problem on a Motorola Moto G6 instead of a Samsung: the screen takes a slightly red-ish tint in the evening until the morning.
For the Motorola phone, there is an independent set of screen settings which includes a night mode (it's a blue screen filter with a schedule, not a black and white mode).
To access it, open the "Moto" application, head to "Features" ("Fonctionnalités" en français), expand the "Moto Screen" settings ("Écran Moto" en français), then enable, disable or configure the "Night screen" (Écran nuit" en français).
Upvotes: 0 |
2018/06/08 | 202 | 887 | <issue_start>username_0: Sometimes I get a notification in the notification bar, I pull it down, and then I want to take a screenshot. I press the power button to make the screenshot, a menu appears to either shutdown, restart or make a screenshot. When this popup menu appears, the pulldown menu disappears. I've tried another screenshot app, but that didn't work either.
**How can I take a screenshot of the notification pulldown menu?**<issue_comment>username_1: You just have press and hold volume down and home key for some time
Upvotes: 2 <issue_comment>username_2: I don't think you can, but there's a workaround I came up with. Using the screen recorder, make a short video where you scroll down the notifications bar. Once the notification you want to screencap is in frame, end the recording, play the video, pause it, and then take a screenshot.
Upvotes: 2 [selected_answer] |
2018/06/08 | 307 | 1,245 | <issue_start>username_0: I have a Sony Bravia TV with Android.
When trying to install a new app from the Play store it says I have to free up some space, as my storage is full.
When checking storage in the settings, it says the cca 5.5GB are in the `Downloads` folder.
But I have no option to delete it, as there is nothing like a file manager.
I also cannot download any file manager, or cleaner etc. as it won't install anything, cause the storage is full.
Any ideas how to solve this?<issue_comment>username_1: Navigate to settings -> Storage then clear the cache it may give you save space to install any of the file manager and delete the files which are not needed.
Upvotes: 0 <issue_comment>username_2: Although there seemed to be enough space (0.9GB) to install a small file manager app (about 30MB), I had to:
- clear caches from several apps
- deleting stored data from several apps
- uninstall some default app updates
After that I got about 1.6GB of free space, and just then it allowed me to install a File manager, where I was able to browse to the Download folder and remove unnecessary data.
I don't think this is a real solution, there must be another way, but this was the way that worked for me.
Upvotes: 2 [selected_answer] |
2018/06/08 | 4,168 | 13,125 | <issue_start>username_0: I can download the JPGs from my DCIM folder in my Pixel 2 and I know that the video is encoded inside the JPG, but I don't know what image viewer I can use to see the motion.
I usually use Irfanview, but I haven't yet been able to find out how to make it show the motion. And I haven't found anyone talking about how to do it.
Does anyone know?<issue_comment>username_1: I haven't seen any software to view them other than on the Google Photos website. I was curious about this so started pulling apart one of the photos from my phone, and here's what I found:
1. The image file appears to be a standard JPEG image, but continues on after the [End of Image segment](https://en.wikipedia.org/wiki/JPEG_File_Interchange_Format#File_format_structure) (`0xFF 0xD9`).
2. [`exiftool`](https://www.sno.phy.queensu.ca/~phil/exiftool/) reports unrecognised MakerNotes. I suspect this custom metadata identifies the file as a motion photo.
3. If transfer all the data after the EOI segment to a separate file, you'll have a standard MPEG-4 container. I got a GStreamer crash when trying to play it, but ffmpeg seems to be able to handle it and displayed the following metadata:
```
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'foo.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2018-07-07T20:37:57.000000Z
com.android.version: 8.1.0
Duration: 00:00:01.87, start: 0.000000, bitrate: 20283 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, smpte170m/smpte170m/unknown), 1024x768, 20161 kb/s, SAR 1:1 DAR 4:3, 30.01 fps, 30 tbr, 90k tbn, 180k tbc (default)
Metadata:
creation_time : 2018-07-07T20:37:57.000000Z
handler_name : VideoHandle
Stream #0:1(eng): Data: none (mett / 0x7474656D), 108 kb/s (default)
Metadata:
creation_time : 2018-07-07T20:37:57.000000Z
handler_name : MetadHandle
Stream #0:2(eng): Data: none (mett / 0x7474656D), 0 kb/s (default)
Metadata:
creation_time : 2018-07-07T20:37:57.000000Z
handler_name : MetadHandle
Unsupported codec with id 0 for input stream 1
Unsupported codec with id 0 for input stream 2
```
So, that's a 1.87 second H.264 video with resolution 1024x768, which seems to roughly match up with what I see from Google's apps/website (a drop in resolution and change in aspect ratio).
I know it isn't a complete solution, but it might be enough to get started on a tool to extract the videos.
Upvotes: 3 <issue_comment>username_2: I did some experimenting based on [the answer by username_1](https://android.stackexchange.com/a/199239/44325) and came up with a simple PHP script that successfully split every Google Camera's motion photo I threw at it.
**2022-01-24 - Code has been updated. See the edit at the bottom of this post. I'm leaving the old code here to avoid any confusion.**
```
php
$src_arg = $argv[1];
$src_dir = realpath(pathinfo($src_arg, PATHINFO_DIRNAME));
echo "Scanning for files...\n";
foreach (glob($src_arg) as $src) {
$file = realpath($src);
if (!is_dir($file) && in_array(strtoupper(pathinfo($file, PATHINFO_EXTENSION)), ["JPEG", "JPG"])) {
echo "\tProcessing: " . $file . "\n";
$filesize = filesize($file);
echo "\t\tFile size: " . $filesize . "\n";
$handle = fopen($file, "rb");
$data = fread($handle, $filesize);
fclose($handle);
$eoi_pos = strpos($data, "\xFF\xD9\x00\x00\x00\x18");
echo "\t\tEOI segment position: " . $eoi_pos . "\n";
if ($eoi_pos !== FALSE) {
$output_base = $src_dir . DIRECTORY_SEPARATOR . pathinfo($file, PATHINFO_FILENAME);
echo "\t\tSaving photo...\n";
file_put_contents($output_base . "_photo.jpg", substr($data, 0, $eoi_pos + 2));
echo "\t\tSaving video...\n";
file_put_contents($output_base . "_video.mp4", substr($data, $eoi_pos + 2));
} else {
echo "\t\tSKIPPING - File does not appear to be a Google motion photo.\n";
}
}
}
echo "Done.\n";
?
```
It should work on Windows and Linux. You just pass a path as the first argument and it will split any files that it believes are motion photos. You can use wildcards. It's non-destructive - the source file(s) are not deleted.
Some example uses:
```
php google_motion_photo_splitter.php c:\test\file.jpg
php google_motion_photo_splitter.php c:\test\*.jpg
php google_motion_photo_splitter.php c:\test\*
```
**2022-01-24**
As [username_4 mentioned in their answer](https://android.stackexchange.com/a/237349/44325), at some point, Google decided to add debug data between the JPG and MP4 in some cases. At the end of 2021, I also began seeing other variations (MP4s with varying start bytes - ex: 0000001C instead of 00000018, extra JPG EOI segments earlier in the image near XMP tags, etc). Anyway, I modified the code to search for the MP4 header first and then work backward to find the JPG EOI segment. It's worked on all variations I encountered. Here is the updated code:
```
php
$src_arg = $argv[1];
$src_dir = realpath(pathinfo($src_arg, PATHINFO_DIRNAME));
echo "Scanning for files...\n";
foreach (glob($src_arg) as $src) {
$file = realpath($src);
if (!is_dir($file) && in_array(strtoupper(pathinfo($file, PATHINFO_EXTENSION)), ["JPEG", "JPG"])) {
echo "\tProcessing: " . $file . "\n";
$filesize = filesize($file);
echo "\t\tFile size: " . $filesize . "\n";
$handle = fopen($file, "rb");
$data = fread($handle, $filesize);
fclose($handle);
$mp4_start_pos = strpos($data, "ftyp");
if ($mp4_start_pos !== FALSE) {
$mp4_start_pos -= 4; # the real beginning of the mp4 starts 4 bytes before "ftyp"
$jpg_end_pos = strrpos(substr($data, 0, $mp4_start_pos), "\xFF\xD9");
if ($jpg_end_pos !== FALSE) {
$jpg_end_pos += 2; # account for the length of the search string
$output_base = $src_dir . DIRECTORY_SEPARATOR . pathinfo($file, PATHINFO_FILENAME);
echo "\t\tSaving photo...\n";
file_put_contents($output_base . "_photo.jpg", substr($data, 0, $jpg_end_pos));
echo "\t\tSaving video...\n";
file_put_contents($output_base . "_video.mp4", substr($data, $mp4_start_pos));
} else {
echo "\t\tSKIPPING - File appears to contain an MP4 but the no valid JPG EOI segment could be found.\n";
}
} else {
echo "\t\tSKIPPING - File does not appear to be a Google motion photo.\n";
}
}
}
echo "Done.\n";
?
```
Upvotes: 3 <issue_comment>username_3: Although the question is for Windows, I think it's appropriate to post my script to play it from command line on Linux here:
<https://gist.github.com/vi/5de17bb8d4ea91b8c28e79e0bac6c3cb>
```
#!/bin/bash
if [[ -z "$1" || "$1" == --help || "$1" == "-?" ]]; then
echo "Usage: mvimg_play MVIMG_20190806_183324.jpg [other files]"
echo "Plays Google's Motion Photo using mpv. Depends on exiftool, mktemp, bash and mpv."
exit 0
fi
FOUND=0
ARGS=()
TORM=()
TOKILL=()
function cleanup() {
for i in "${TORM[@]}"; do
rm -f "$i"
done
for p in ${TOKILL[@]}; do
wait $p
done
}
trap "cleanup" EXIT
for i in "$@"; do
O=$(exiftool -t $i | grep -F 'Micro Video Offset' | cut -f 2-2)
if [[ -z "$O" ]]; then
# wrong file? Just appending to playlist as is
ARGS+=($i)
else
FOUND=1
S=$(find $i -printf '%s')
T=`mktemp`
ARGS+=("$T")
dd if="$i" skip=$((S-O)) iflag=skip_bytes of="$T" 2> /dev/null &
TOKILL+=($!)
TORM+=("$T")
fi
done
if [[ $FOUND == 0 ]]; then
echo "EXIF tag wasn't detected in specified files. Maybe exiftool does not work?" >&2
fi
mpv "${ARGS[@]}"
```
Maybe it can be used on Windows as well, with enough Mingw/Cygwin hackery.
Upvotes: 2 <issue_comment>username_4: I tried out [the answer from username_2](https://android.stackexchange.com/a/203898/44325) - thanks username_2. Since my Pixel 4a 5G adds a significant amount of debug info between the jpg and the mp4, my extracted mp4's didn't play.
So I had to add a little bit of extra functionality to username_2's solution
```
php
/** execute like php motionPhotoSplitter.php "Camera Roll/*.MP.jpg" < */
const MP4_TYPES = ["avc1", "iso2", "isom", "mmp4", "mp41", "mp42", "mp71", "msnv", "ndas", "ndsc", "ndsh", "ndsm", "ndsp", "ndss", "ndxc", "ndxh", "ndxm", "ndxp", "ndxs"];
$src_arg = $argv[1];
$src_dir = realpath(pathinfo($src_arg, PATHINFO_DIRNAME));
echo "Scanning for files...\n";
foreach (glob($src_arg) as $src) {
$file = realpath($src);
if (!is_dir($file) && in_array(strtoupper(pathinfo($file, PATHINFO_EXTENSION)), ["JPEG", "JPG"])) {
echo "\tProcessing: " . $file . "\n";
$filesize = filesize($file);
echo "\t\tFile size: " . $filesize . "\n";
$handle = fopen($file, "rb"); // binary read
$data = fread($handle, $filesize);
fclose($handle);
$eoi_pos = strpos($data, "\xFF\xD9"); // end of image in a jpeg file: #FFD9
echo "\t\tEOI segment position: " . $eoi_pos . "\n";
if ($eoi_pos !== FALSE) {
$output_base = $src_dir . DIRECTORY_SEPARATOR . pathinfo($file, PATHINFO_FILENAME);
echo "\t\tSaving photo...\n";
file_put_contents($output_base . "_photo.jpg", substr($data, 0, $eoi_pos + 2));
/** an mp4 block starts with 4 bytes for length, then "ftyp", then a valid mp4-type as defined in the array MP4_TYPES */
$mp4Pos = strpos($data, "ftyp", $eoi_pos);
if ($mp4Pos && in_array(substr($data, $mp4Pos + 4, 4), MP4_TYPES)) {
echo "\t\tSaving video...\n";
file_put_contents($output_base . "_video.mp4", substr($data, $mp4Pos - 4));
}
} else {
echo "\t\tSKIPPING - File does not appear to be a Google motion photo.\n";
}
}
}
echo "Done.\n";
?>
```
Upvotes: 1 <issue_comment>username_5: There's also [Motion-Photo-Viewer](https://github.com/dj0001/Motion-Photo-Viewer). Can either be self hosted or used online to play a single `*.MP.jpg` (and extract the mp4 through `right-click-save-as`.
You do not need a Web Server, so cloning the project and opening `index.html` will suffice.
Upvotes: 1 <issue_comment>username_6: If you have already downloaded the jpg and MP files to your PC, all you need to do is edit the extension. Change it from filename.MP to filename.MP4 or .MPG and play with any media player like VLC, or import into any video editor like Premiere or EDIUS
Upvotes: 0 <issue_comment>username_7: I am not a fan of the solutions I have found so far, so I created my own Motion Photo Utility /exporter. <https://www.3d-i.com/motionphotoutility/> it is free, closed source (for now), in alpha, and works on most platforms. It does a lot more validation, meta reading, update meta tags and detects some malformations… See website for more.
All the solutions I have looked at so far seem to follow the pattern of read whole motion photo jpeg file ~3,000,000 bytes long and look for EOI marker of jpeg anywhere in the file aka 0xffd9. Take a hacksaw and chop it there, and assume all is okay. You might get lucky and the corrupt info can be read by some robust software.
**Warning the following is a verbose explanation, it may put some of you to sleep!**
These new jpeg files are complex. Old jpeg version has 11 tags describe everything: <https://docs.fileformat.com/image/jpeg/>
The simplest jpeg parsers generally read to tag/marker, read *var =* *bytes[length]* associated with tag. Then consume the next *var* length of bytes in some defined manner. At the end of that data block a tag is EXPECTED 0xFFXX, if it is not there then throw an exception…. But that is also not enough.
Today jpeg file format continues to undergo changes adding meta data Exif, XMP… In the last few decades, every camera company has had some say in putting all kinds of interesting data into these files. From shoving thumbnails, videos, gps , orientation …, often for good reason. Exif meta data has several hundred tags, when that was not enough XMP was added, which has unrestricted length for describing imbedded data.
Some of these programs completely violate the rules, forgetting to represent tags etc, or have incorrect information.
Those poor software engineers that write your media players etc (vlc/browser), over the last decades, have to navigate around the changes and display what they can. The problem is they don’t know what the intent for a lot of the imbedded meta/data, and it is often just dropped. Case in point, open up a copy of an android motion photo on windows, click the favorite icon (heart). Observe the file size before and after, it is about half the size. Windows will delete content (including video), add some of its own meta tags and largely keep existing meta that describe the very data that was deleted. Aka it makes a mess. In my test VLC player (which is incredibly robust) will play motion photo as a video, but only render a still image.
Upvotes: 0 |
2018/06/09 | 977 | 3,463 | <issue_start>username_0: So, I'm in my 3rd month of ownership of my first (**and last**) Huawei smartphone and I have discovered yet another strange family of issues.
I have a 20GB monthly data limit from work so I rarely check my data usage. But I had a few extra charges on my last bill so I decided to check it out. (First time on this phone)
The first shock was that there was no Sum of the usage, just a graph with the daily peaks and that's it. So if it was say the 30th, then you would have to add-up 30 days worth of data to find out how much you have left. What a joke:
[](https://i.stack.imgur.com/tI8Ni.png)
Anyway, so I figure that I should add a data limit and maybe that will Sum-up my usage. So I tap on the `gear` icon on the top right, then on `Monthly Data Limit` and enter **18GB**. Voila, my total appeared:
[](https://i.stack.imgur.com/zUPrk.png)
From here on, the story gets even stranger.
I tapped on the pencil icon and for some strange, inexplicable reason, you can actually edit your usage. What exactly is the point of that??? So I enter a number and tap on OK to see what happens, and now the Used total becomes whatever amount I entered:
[](https://i.stack.imgur.com/Vu01t.png)
So I decided to revert to the ACTUAL total usage and I was confronted with yet another trademarked Huawei irritation. You cannot clear your own usage, you have to enter something in that box, otherwise `Save` stays disabled:
[](https://i.stack.imgur.com/dqTWR.png)
So as a last resort I thought that I should clear my data limit and be done with all this mess. Sadly I discovered that there is no way of doing that. It seems that once you enable the data limit, you're stuck with one. You can only change the number of `MBs` or `GBs` and again like above, you **have** to enter something in that box otherwise `OK` is disabled:
[](https://i.stack.imgur.com/YHfPQ.png)
I tried `Network settings reset` but all that does is **delete** your stored Wi-Fi networks (thanks Huawei) and Bluetooth devices (thanks again !)
Any ideas?<issue_comment>username_1: Clear "phone manager" app data, it will return limit to "not set"
Works on all huawei phones.
Upvotes: 2 [selected_answer]<issue_comment>username_2: You can reset the settings app. Find Settings app in the apps list and clear data.
To check what’s using your data, go to data usage ranking.
It doesn’t let you see a total unless you set a limit.
Upvotes: 1 <issue_comment>username_3: Go to settings → apps and notifications → phone manager → storage → clear data
After clear data it will go back to 'not set'
Upvotes: 1 <issue_comment>username_4: Just clear the Phone Manager's cache and it will go bat to 'not set' if you don't want to clear its data, Setting → Apps and Notifications → Phone Manager → Storage → Clear Cache.
Upvotes: 2 <issue_comment>username_5: On my P20 Pro it was "Optimizer" instead of Phone Manager.
Settings -> Apps -> Optimizer -> Storage -> Clear Cache
Upvotes: 0 <issue_comment>username_6: How to reset back Monthly Data Limit to "Not set"
1st Optimizer from the home screen, Optimize it
2nd Go to Settings -> Apps -> Optimizer -> Storage -> Clear Cache & Clear Data, then restart the mobile
Upvotes: 0 |
2018/06/10 | 1,460 | 4,517 | <issue_start>username_0: After following the following steps:
* rooting a motorola g3,
* installing TWRP
* wiping the phone (without micro-sd present) with TWRP
* installing lineageOS
* wiping the phone (without micro-sd present) with TWRP
* Installing SlimOS
* wiping the phone (without micro-sd present) with TWRP
* Installing LineageOS
* Installing Root checker basic
* Finding it does not have proper root acces
* Rebooting to fastboot>recovery>TWRP>Install
* Installing <http://forum.xda-developers.com/attachment.php?attachmentid=3655401&d=1456122222> (as linked specifically for the Moto G 3 2015 generation here: <https://motog5.net/unlock-bootloader-install-twrp-root-moto-g3/>)\*
* Rebooting,
* checking Root checker basic
* Finding it does not have proper root access
* Noticing this explanation: <https://duckduckgo.com/?q=root+lineage&atb=v119-6&iax=videos&ia=videos&iai=L8rwPV5ZhhA>
* enabling in debugging mode:
* Root access for ADB and All apps
* checking Root checker basic
* Finding it does not have proper root access
* Reboot in fastmode>TWRP>Install the supersu file
* Reboot check in Root check basic whether root has been obtained, root has not been obtained.
* Root access for ADB and All apps
* checking Root checker basic
* Finding it does not have proper root access
* Reboot in fastmode>TWRP>Install the supersu file
* It does not give a red error bar but it reads:
>
> Boot image patcher
>
>
>
>
> ---
>
>
> * Finding boot image
> --- Boot image:/ /dev/block/mmcblk0p31
> * Extracting ramdisk
> * Decrompressing ramdisk
> * Checking Patch status
> * Creating Backup
> * Patching sepolicy
> --- Failure, aborting
>
>
>
> ---
>
>
> Important notice
>
>
>
>
> ---
>
>
> If TWRP offers to install SuperSU do *NOT* Let it!
>
>
>
>
> ---
>
>
>
I thought perhaps the supersu file needs to be changed since now it is for a LineageOS in stead of for the MOTO G3 2015 edition stock android, so I tried the following 3 files as well:
From:
<https://www.lineageosrom.com/2016/12/how-to-enable-root-in-lineage-os-using.html>
TO:
<https://www.lineageosrom.com/2017/01/download-supersuzp-and-su-removalzip.html>
To:
<https://download.lineageos.org/extras>
1. <https://mirrorbits.lineageos.org/su/addonsu-15.1-arm-signed.zip>
2. <https://mirrorbits.lineageos.org/su/addonsu-15.1-arm64-signed.zip>
3. <https://mirrorbits.lineageos.org/su/addonsu-15.1-x86-signed.zip>
Only the 3d did not give a red error.
So as much of a trivial challenge it may appear to be, I was curious if anyone can point out which mistake I am making in trying to give the device root-access again. Other suggestions are welcome as well!
\*Note, this was also the file that allowed me to root it the first time.<issue_comment>username_1: As you've already found out, LineageOS has its own, built-in, lightweight SU solution (`addonsu`), which is the only one supported officially (the team does not adore Magisk/SuperSU).
Note that officially LOS only provides [14.1 builds](http://download.lineageos.org/osprey) for your device. Assuming that's the version you're running, using the addonsu for 15.1 you will naturally bump into problems. As indicated in the [source](https://github.com/LineageOS/android_device_motorola_msm8916-common/blob/cm-14.1/BoardConfigCommon.mk#L34), your device is an `arm` one, so use [addonsu-14.1-arm-signed.zip](https://mirrorbits.lineageos.org/su/addonsu-14.1-arm-signed.zip) instead.
Magisk/SuperSU are reported by other users to work well enough, but you will need newer packages that work with higher Android versions, and the one you initially used (SuperSU 2.62) isn't enough.
Upvotes: 3 [selected_answer]<issue_comment>username_2: It seems that you had Lineage (im on 14.1 right now & i love this rom), but you wanted, instead, the excitement, unreliability, the Wonder, of 3rd-party root management.
Yeah, I used to smoke a lotta that, too. JK. CM/LOS's su is way more stable, predictable, user-friendly, and PRIVATE than most other root-solutions. Seems you weren't aware of the add-on at first, but in the future, Google everything about your device before flashing every file that comes in a zip-format. Knowing your architecture is kinda a big deal in the root/modding communities (im curious how the x86 add-on was the least error-throwing on your arm device). You're lucky that root access was the only issue you were fighting. I can laugh at you because I've been there, done that. You did right by asking, though. Live and learn.
Upvotes: 1 |
2018/06/10 | 427 | 1,598 | <issue_start>username_0: I am trying to flash twrp onto my unlocked Moto G4 Play so I can install a new version of Android but, I keep on getting this error. I have recently factory reset my phone and I am not sure if it is related.
```
C:\adb>fastboot flash recovery twrp.img
target reported max download size of 268435456 bytes
sending 'recovery' (8296 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 5.013s
```
Any suggestions?<issue_comment>username_1: The FAILED (data transfer failure (Unknown error)) error can happen for a few reason. It happens when there is issues with communication transferring data. To trouble shoot the cause start by:
* Trying different usb ports
* Trying different usb cables
* Update fastboot.exe
* Download another .img file and verify the md5.
* Double check the Bootloader is unlock
Upvotes: 2 [selected_answer]<issue_comment>username_2: Regarding *only* the quality of USB cables, the **QooPow qualMeter** (<http://www.qoopow.com/>) allows you to check which of your USB (and Ethernet) cables are the best.
It might looks pricey, but it may save you lots of trial-and-error time and stress, especially if you routinely encounter cable quality-related issues.
Upvotes: 0 <issue_comment>username_3: If you're running it from a computer with a AMD chipset, that might be your problem. I am having the same issues when I am trying to use fastboot or literally anything close to a android tool on my ryzen 5 5200 processor and it won't work. as soon as I tried using said tools on mac or a intel chipset, they work. smh
Upvotes: 0 |
2018/06/10 | 394 | 1,436 | <issue_start>username_0: I have `Google Play 10.3.12-all [0] [PR] 198814133` on Xiaomi Redmi Note 4 (with MIUI 9.5) and earlier I had the new layout of Store, but now I see that the old one came back.
Is this related to uncertified/rooted device?
I searched internet but I didn't find any answers.<issue_comment>username_1: The FAILED (data transfer failure (Unknown error)) error can happen for a few reason. It happens when there is issues with communication transferring data. To trouble shoot the cause start by:
* Trying different usb ports
* Trying different usb cables
* Update fastboot.exe
* Download another .img file and verify the md5.
* Double check the Bootloader is unlock
Upvotes: 2 [selected_answer]<issue_comment>username_2: Regarding *only* the quality of USB cables, the **QooPow qualMeter** (<http://www.qoopow.com/>) allows you to check which of your USB (and Ethernet) cables are the best.
It might looks pricey, but it may save you lots of trial-and-error time and stress, especially if you routinely encounter cable quality-related issues.
Upvotes: 0 <issue_comment>username_3: If you're running it from a computer with a AMD chipset, that might be your problem. I am having the same issues when I am trying to use fastboot or literally anything close to a android tool on my ryzen 5 5200 processor and it won't work. as soon as I tried using said tools on mac or a intel chipset, they work. smh
Upvotes: 0 |
2018/06/10 | 413 | 1,615 | <issue_start>username_0: [](https://i.stack.imgur.com/s5PtC.png)
I can go to the sharefolder on my PC, but not in the ESfile of bluestacks<issue_comment>username_1: Check whether the actual shared folder exists on Windows. Either this folder is missing or corrupted, recreating the folder may solve this issue.
* Navigate to this path: `(Drive):\ProgramData\BlueStacks\Engine\UserData\SharedFolder` (Enable "view hidden files" in folder options).
* This shared folder normally has following files Data.vdi and SDcard.vdi (and another folder which typically appears on android device as the shared folder)
* IF you have the above files only, then simply create another folder, which will be the shared folder - give it any name.
* When done use the file explorer and navigate to `/storage/sdcard/bstsharedfolder/BstSharedFolder` (its automatically created) open this folder and you will see the new sharedfolder that you created earlier.
Upvotes: 0 <issue_comment>username_2: Shared folders between Windows 10 and Bluestacks 3N
BLUESTACKS :
/storage/sdcard/windows/BstSharedFolder/
WINDOWS 10 :
C:\ProgramData\BlueStacks\Engine\UserData\SharedFolder
To look for files in windows, use Voidtools Everything. I use it for years and there's nothing that comes close to its efficiency. Even with terabytes of small files.
Cheers.
Upvotes: 0 <issue_comment>username_3: I finally found the solution on another site. In Bluestacks under My Apps click on Settings, then Storage then Explore and from there you can access all the folders.
Upvotes: 1 |
2018/06/11 | 662 | 2,556 | <issue_start>username_0: * I got my new Android phone.
* I added my personal GMail account to the Gmail app which synced my ~100 personal contacts from Google.
* I installed WhatsApp.
* I installed Outlook for Android.
* I added my work mail account and did not uncheck "sync contacts" before first sync.
* Only after I saw the ~100k work contacts in my phone I disabled "sync contacts" for my work email and as far as I see, all work contacts were correctly removed from the Android contact list.
* However, in WhatsApp some of them (presumably those with a mobile number and WhatsApp) are still visible.
* [I tried the "Refresh list" option in WhatsApp, but they are still visible.](https://android.stackexchange.com/questions/57447/contact-still-visible-in-whatsapp-after-deleting-out-of-my-contactlist-from-my-p)
* Also, there are no chats with these "contacts", since the contacts only got onto my phone by accident and they don't have my mobile number.
* [It seems I am not the only one](https://android.stackexchange.com/questions/181543/whatsapp-wont-delete-a-contact).
Why are they still visible in WhatsApp and how can I get rid of them?<issue_comment>username_1: Check whether the actual shared folder exists on Windows. Either this folder is missing or corrupted, recreating the folder may solve this issue.
* Navigate to this path: `(Drive):\ProgramData\BlueStacks\Engine\UserData\SharedFolder` (Enable "view hidden files" in folder options).
* This shared folder normally has following files Data.vdi and SDcard.vdi (and another folder which typically appears on android device as the shared folder)
* IF you have the above files only, then simply create another folder, which will be the shared folder - give it any name.
* When done use the file explorer and navigate to `/storage/sdcard/bstsharedfolder/BstSharedFolder` (its automatically created) open this folder and you will see the new sharedfolder that you created earlier.
Upvotes: 0 <issue_comment>username_2: Shared folders between Windows 10 and Bluestacks 3N
BLUESTACKS :
/storage/sdcard/windows/BstSharedFolder/
WINDOWS 10 :
C:\ProgramData\BlueStacks\Engine\UserData\SharedFolder
To look for files in windows, use Voidtools Everything. I use it for years and there's nothing that comes close to its efficiency. Even with terabytes of small files.
Cheers.
Upvotes: 0 <issue_comment>username_3: I finally found the solution on another site. In Bluestacks under My Apps click on Settings, then Storage then Explore and from there you can access all the folders.
Upvotes: 1 |
2018/06/11 | 505 | 2,064 | <issue_start>username_0: I tried factory resetting a Samsung Galaxy S6. To my surprise, it left Android 7.0 on it, and didn't reset it to Android 5, which is what was originally installed from the factory.
Is this normal? Is there a way to make factory reset force the phone to return to the original factory ROM?
UPDATE
------
For those curious as to why I would want to return to the original factory ROM, it's because when I take photos (even after a Factory Reset), I sometimes get a "Server Error". I'm thinking that perhaps a bad ROM update is causing this issue, as I've already had the camera replaced by Samsung.
So I was interested in returning to the original factory ROM, and then upgrading it again to the latest version.<issue_comment>username_1: Factory reset only delete user data (userdata partition) and restore settings to the default values, meaning every settings will be restored to the factory state. This doesn't apply to the system, (firmware/ROM) which remains untouched.
By original factory ROM, do you mean the one the phone came with? This can be done by downgrading the phone firmware: flashing lower version firmware (with a lower android version).
Not all device support downgrading though, since earlier versions can have bugs, security holes, etc... Many device makers such as HTC, Huawei, Motorola (Lenovo)... don't allow downgrading.
Upvotes: 2 <issue_comment>username_2: >
> Is this normal
>
>
>
Yes. See answers here and the linked dupe question [Upgraded my phone from 1.6 to 2.2 Android version, if I restore "Factory Settings", which version it will be?](https://android.stackexchange.com/q/33901)
>
> Is there a way to make factory reset force the phone to return to the original factory ROM?
>
>
>
No. You would need to downgrade manually which may not always be possible as bootloaders are designed to prevent downgrading by OEMs (including Samsung). Cursory search shows it's possible for your device from Nougat to Marshmallow but you ate looking at Lollipop which makes it more unlikely
Upvotes: 2 |
2018/06/12 | 797 | 3,047 | <issue_start>username_0: I see lots of questions about recovering data from corrupted SD card formatted as internal storage, that's not my case.
I want to FORMAT this SD card to be able to use elsewhere.
For some reasons the card become read-only so it is impossible for me to make any changes.
While on the phone I tried to switch the card from internal memory to external. It didn't work.
The only option I had was to forget the card, and so I did.
Now even with gparted on linux, I'm not able to format the card.
I tried also to change the permits with
`sudo chmod -R 777 /dev/sdb`
and other different commands like
`sudo mount -o remount,rw /dev/sdb`
all without luck.
What else can I do? It seems impossible to reset this card.
Ps. the lock on the SD adapter is in the correct position
edit1: I've used `sudo badblocks -wsv /dev/sdb` no errors found, but not luck, the partitions are still there (here how to use badblocks <https://wiki.archlinux.org/index.php/badblocks>). The process took around 10 hours for a 64Gb card.
edit2: after asking help to bunsenlabs.org these things came out. At the moment I can't try them because I don't have the hardware required but my gut and my common sense tell me that it's the right path.
links:
<https://github.com/Nephiel/sdlocker-tiny>
<https://github.com/BertoldVdb/sdtool><issue_comment>username_1: That sounds as if the FAT might have some kind of error. The card automatically gets mounted read-only, and no matter how many times you go into settings and try to unmount/remount the card, it is to no avail.
In Windows, you can just insert the card into PC, right click on its Properties/Tools/Check and check it against possible errors and automatically fix them. Or you can also use any file system checking tool of your choice.
Upvotes: 0 <issue_comment>username_2: It sounds like the other answer of the FAT being corrupt is likely, I would try "zeroing out" the card...
First, verify the device. It will be something like /dev/sdX or similar, **make absolutely sure you know this device is correct**. Then, in Linux open terminal and enter the following command:
```
$ sudo dd if=/dev/zero of=/dev/sdX bs=8192
```
Substituting the correct device name for /dev/sdX.
***DO NOT** interrupt this process or it could possibly brick the SD card.*
Once it has completed, eject and remove the card.
Wait a few seconds then reinsert the card in the card reader. After this, open `gparted` (or your partition manager of choice) and create a new FAT and partition.
In gparted, this is accomplished by selecting Device, then Create Partition Table from the toolbar menu, I would recommend using `msdos` as the partition type. Then after that process completes, select Partition - New, and change the File System to fat32 (or whatever is appropriate for your card) and click Add. Then Apply (the "return" arrow in the menu bar).
Once this has been completed, remove the card and reinsert it, it should be readable in Linux, Windows, and most other operating systems.
Upvotes: 1 |
2018/06/12 | 407 | 1,731 | <issue_start>username_0: I recently started learning android ROMs. I have heard system apps with some special (not root) permissions.
Is there a difference between system apps and pre-installed app when we build a ROM? I those two concepts?<issue_comment>username_1: I think I might have been found the difference. According to [this link](https://stackoverflow.com/a/38891506/5506167) :
>
> If an app is signed with System Signature, then its not allowed to
> Disable that app.Also , not all preloaded apps have system signature.
>
>
>
So among the apps within /system/app directory, we have two types of pre-installed apps. System signed with more privileges and normal apps.
Upvotes: 2 <issue_comment>username_2: Yes and no.
**Just Preinstalled apps**
There are some apps your manufacturer might ship that are installed by default on your phone but can be uninstalled just like regular apps. They work technically just like any app you would install usually. All other system apps are obviously also pre-installed, but treated differently:
**System apps**
A couple of the apps shipped with the device may be installed as system apps. That can only be done by the manufacturer (on non-rooted phones) because they need to be signed from them, and the apps can not be uninstalled, just disabled. Otherwise, they behave the same as other apps.
**System apps with elevated privileges**
Can also just be installed by the manufacturer, and only disabled. But these apps have the internal detail of having advanced "system" privileges, which makes them much more powerful. These should usually just be critical system components that need this much access, but some manufacturers still use it for their own apps.
Upvotes: 1 |
2018/06/13 | 582 | 2,474 | <issue_start>username_0: My old phone just died on me yesterday. It used to back up the WhatsApp chat history to my main Google account, which I also used to register the device.
Now I have a new phone, and I registered it to the same Google account. After installing WhatsApp, I tried to restore the Google Drive backup to the new installation. However, when I try to enter my Google account, it tells me "This account already exists on your device"
Somehow after switching apps, WhatsApp assumed I don't want to restore a backup, and now I'm stuck with no history.
Also, when I try to set up the Google Drive backup on my new device, it gives me the same error when I try to enter my Google account; "This account already exists on your device". I can't figure out what I am doing wrong.
Is it just impossible to backup WhatsApp to an account already registered to the same device?<issue_comment>username_1: Did you already add that Google account while setting up the phone? Please check Settings > Users & accounts if that account is already added.
If it is, then try removing it and adding it again.
**P.S:** It may be called *Accounts* in older Android versions.
Upvotes: 1 <issue_comment>username_2: After several unsuccessful attempts to get Whatsapp to use my main google account, I just left it as it was. After a few weeks, Whatsapp notified me by itself that I should set up a backup plan. At that time, it *did* allow me to select the account I wanted to use, without a hassle.
Looks like the problem fixed itself over time.
Upvotes: 1 <issue_comment>username_3: I just encountered the same problem on Android 13.
I fixed the problem by deleting the Google account and then in the application settings Google Play Service > Permissions.
Make sure there are no more denied permissions.
I deleted all WhatsApp data and then made sure there were no more denied permissions.
Then restarted the application.
I was able to add a Google account and find my backup !
Upvotes: 2 <issue_comment>username_4: Not deliberately wanting to comment on a necro'd thread, BUT ... I literally just had exactly this issue, following a message from WhatsApp itself. However, the solution was quite simple:-
I forced a complete restart of the app by using the Android STOP option on the WhatsApp application; and Restarting it using the icon on the main screen.
Once that was done, it allowed me to setup the backup frequency on my existing Google account.
Upvotes: 0 |
2018/06/14 | 525 | 2,047 | <issue_start>username_0: I want to flash TWRP & SuperSU to take a backup, but I read that if you flash TWRP with a locked bootloader it would brick my device & wipe my data, now that would just defeat the purpose. How do I determine if my device bootloader is locked or not?
I have enabled developer options, enabled USB Debugging, there is a option in the menu 'OEM Unlock', what does it do? Does it wipe data?
Device - Samsung Galaxy-J700F<issue_comment>username_1: to just answer your question, and without needing any software, you can start your phone (or tablet) in bootloader mode by holding the volume key and the power key from an OFF state. the software will then tell you the info you want.
Upvotes: 1 <issue_comment>username_2: I'm not sure if this directly answers your question. However, here's what I can add:
1. Android phones should display a warning at bootup, informing you that your device's bootloader is unlocked and that it cannot be trusted. This is the default behavior for all modern Android phones. If you do not see any such warning, then your device is most likely still locked.
2. The OEM unlock setting in developer options should fade off (and get disabled) when the bootloader is unlocked. Here's a screenshot of how it looks on my phone:
[](https://i.stack.imgur.com/LPJqd.png)
So, since both of the above show that your device is not unlocked, I will go with it.
And AFAIK, trying to flash TWRP on a locked bootloader would actually fail, instead of bricking the device. That's all the purpose of a locked bootloader - to avoid tampering of the system.
You will actually have to look for a way to backup your data without the bootloader unlock. Since, if you decide to unlock it now, all data will be erased. I believe XDA-Developers forum will be a good place to look for information.
**Edit:** Try if you can boot the TWRP, instead of flashing. And then flash SuperSU from TWRP. Things like these were possible on older devices.
Upvotes: 2 |
2018/06/14 | 583 | 2,334 | <issue_start>username_0: I recently decided to try out gesture navigation on Android (with the navigation bar turned off), and I liked it so much I decided to do away with my navigation bar for good.
Aside from English, I type Mandarin on my phone every day, and need to switch keyboards repeatedly during the day or even the span of a few minutes. Unfortunately, I used to use the keyboard button on the nav bar to switch keyboards, and now Ihave to drag down the notification bar, tap change keyboards, and then choose keyboard.
Is there a gesture I can use to do the same thing instead? Haven't been able to find any reference to what gesture might, if any, have replaced the nav button.
I'm on a Oneplus 5t, Android 8.1.0<issue_comment>username_1: to just answer your question, and without needing any software, you can start your phone (or tablet) in bootloader mode by holding the volume key and the power key from an OFF state. the software will then tell you the info you want.
Upvotes: 1 <issue_comment>username_2: I'm not sure if this directly answers your question. However, here's what I can add:
1. Android phones should display a warning at bootup, informing you that your device's bootloader is unlocked and that it cannot be trusted. This is the default behavior for all modern Android phones. If you do not see any such warning, then your device is most likely still locked.
2. The OEM unlock setting in developer options should fade off (and get disabled) when the bootloader is unlocked. Here's a screenshot of how it looks on my phone:
[](https://i.stack.imgur.com/LPJqd.png)
So, since both of the above show that your device is not unlocked, I will go with it.
And AFAIK, trying to flash TWRP on a locked bootloader would actually fail, instead of bricking the device. That's all the purpose of a locked bootloader - to avoid tampering of the system.
You will actually have to look for a way to backup your data without the bootloader unlock. Since, if you decide to unlock it now, all data will be erased. I believe XDA-Developers forum will be a good place to look for information.
**Edit:** Try if you can boot the TWRP, instead of flashing. And then flash SuperSU from TWRP. Things like these were possible on older devices.
Upvotes: 2 |
2018/06/14 | 686 | 2,722 | <issue_start>username_0: Play Store downloads successfully first chosen app, but it get stuck on downloading the second one. There is no error message. Only activity I see is notification of content waiting to be downloaded. Solution is to reboot the phone.
Here is a screenshot that shows kind of notification I am writing about, since I am unable to provide an actual one. No error messages, just a continuous progress bar:
[](https://i.stack.imgur.com/waWXL.jpg)
I tried clearing cache, then all data and then data in Google Play Services app, but it didn't help. The phone is Oukitel U11 Plus, using Android 8.
I have visited [wiki page of google-play-store tag](https://android.stackexchange.com/tags/google-play-store/info) and didn't found any reasonable advice in regard of this situation.
---
On the side note, one other frustrating thing is happening, too. When searching in Chrome it redirects to local .rs domain, but it then prints out `err_tunnel_connection_failed`. I got around it buy using *no redirect* link to force it to go main .com domain.<issue_comment>username_1: to just answer your question, and without needing any software, you can start your phone (or tablet) in bootloader mode by holding the volume key and the power key from an OFF state. the software will then tell you the info you want.
Upvotes: 1 <issue_comment>username_2: I'm not sure if this directly answers your question. However, here's what I can add:
1. Android phones should display a warning at bootup, informing you that your device's bootloader is unlocked and that it cannot be trusted. This is the default behavior for all modern Android phones. If you do not see any such warning, then your device is most likely still locked.
2. The OEM unlock setting in developer options should fade off (and get disabled) when the bootloader is unlocked. Here's a screenshot of how it looks on my phone:
[](https://i.stack.imgur.com/LPJqd.png)
So, since both of the above show that your device is not unlocked, I will go with it.
And AFAIK, trying to flash TWRP on a locked bootloader would actually fail, instead of bricking the device. That's all the purpose of a locked bootloader - to avoid tampering of the system.
You will actually have to look for a way to backup your data without the bootloader unlock. Since, if you decide to unlock it now, all data will be erased. I believe XDA-Developers forum will be a good place to look for information.
**Edit:** Try if you can boot the TWRP, instead of flashing. And then flash SuperSU from TWRP. Things like these were possible on older devices.
Upvotes: 2 |