date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/06/15 | 249 | 1,090 | <issue_start>username_0: I was wondering who is in charge of the locking of bootloaders.
I recently chatted with a representative from LG-UK enquiring about the unlocking of bootloaders. I was told that I need to speak to Google about why the bootloader is locked. I suspect this information to be false but just to be sure I wanted to ask on here if anyone knows who is actually responsible for the locking of bootloaders?<issue_comment>username_1: The OEMs (Original Equipment Manufacturer) or Carriers like verizon, AT&T, etc Lock Bootloaders, Google Devices Like Pixel come with unlockable bootloaders via Fastboot.
Upvotes: 1 <issue_comment>username_2: I think the LG rep was just trying to get rid of you. Bootloader locking is an important security feature. It prevents a thief getting past the lockscreen by just flashing a custom ROM to circumvent the PIN or password. It's a core part of Android but the phone manufacturer has to make it work by signing their system images with their private key and storing the public key in the phone's bootloader.
Upvotes: 1 [selected_answer] |
2018/06/15 | 298 | 1,110 | <issue_start>username_0: With a Galaxy Note 8, Android version 8, latest of Facebook Messenger. I am trying to use my Keyboard K780 in Messenger and the focus is lost constantly after typing one letter.
The only way I got it working is by putting focus in the textbox on Android, switch to another computer (F1), switch back to Android (F2) then the focus stays in the box.
Not quite the best experience to start typing on Android. Any clues? settings?<issue_comment>username_1: When the text box is at the bottom of the screen press and hold in the text box until "Auto Fill" appears. You can then enter text from the keyboard.
Upvotes: 0 <issue_comment>username_2: 1. Settings
2. General Management
3. Language and Input
4. Physical Keyboard
5. TURN OFF -> Show on-screen keyboard
Show the on-screen keyboard while a physical keyboard is being used.

Upvotes: 1 <issue_comment>username_3: Make sure your keyboard is ON and paired.
Go to
* SETTINGS
* GENERAL MANAGEMENT
* PHYSICAL KEYBOARD K780 KEYBOARD
* Turn OFF the SHOW THE ON-SCREEN KEYBOARD option
Upvotes: 1 |
2018/06/15 | 1,021 | 3,497 | <issue_start>username_0: I have a DualBand WiFi router, and a DualBand WiFi repeater. Both use the same SSID, both have 2.4GHz and 5GHz bands enabled. But my Android devices mostly connect the 2.4GHz band – even if I stand next to the router or repeater, and thus the 5GHz signal is quite strong.
I want them to prefer the 5GHz band if available (and strong enough), but use the 2.4GHz otherwise.
* using different SSIDs for each band is not an option
* fixing the device to 5GHz is out of question, as then they'd never use 2.4GHz even it its the only one available. Furthermore, not all devices have that option (usually found in *Settings › WiFi › (tap the 3-dot overflow menu) › Advanced* if available).
Router as well as repeater have "band steering" enabled, so it doesn't look like there's something to force it from that end¹.
So is there anything that could be done on the Android devices? Most of them are rooted (and the one that's not is using 5GHz most of the time), Xposed is available as well if it helps. Modifying `wpa_supplicant` is acceptable though not the preferred way, as is using a 3rd party app².
So any suggestions?
---
¹ in case it's relevant: Fritz!Box 7390 and a Fritz repeater 1160
² which then preferably comes via F-Droid. Apps with Google dependencies (Firebase, Analytics, License check etc.) are not acceptable.<issue_comment>username_1: You can take advantage of the experimental "prefer 5 GHz" feature from [WiFi band](https://play.google.com/store/apps/details?id=com.igorlazunna.android.wifiband) – or [Smart WiFi Selector](https://play.google.com/store/apps/details?id=com.tartar.strongestwifitrial), which offers that as well:
[](https://i.stack.imgur.com/xahCZ.png) [](https://i.stack.imgur.com/4f9wB.png)
*WiFi Band* / *Smart WiFi Selector* (source: Google Play; click images for larger variants)
Unfortunately, *WiFi Band* comes with AdMob and Firebase, thus not fully meeting the requirements.
---
Disclaimer ahead!
I haven't really tested all these applications, so I'm not sure if they fall into the acceptable criteria (firebase, google dependencies etc) besides my device comes with this feature already:
*Acknowledgements: [How to change from 5GHZ to 2.5GHZ frequency on Android N](https://productforums.google.com/forum/#!msg/nexus/YdGckq4Qa1E/023mRZ-wBQAJ)*
---
In terms of potential 3rd party apps, the closest I have come across is [WIFi 5](https://apkpure.com/wifi-5/de.dzitrone.wifi.five), which is dated , but offers such functionality. It specifies the signal level to switch to a 5Ghz access point and displays a notification showing the available bands.
[](https://i.stack.imgur.com/38tgNl.jpg)
*WiFi 5* was last update 2012, unlisted from Playstore in 12/2017, and thus is only available via ApkPure currently. Not sure whether to trust that site.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Increase beacon interval (at least double it) in your router settings for 2.4 GHz network and all your dual band devices will discover and, as a result, connect to 5 GHz network. 'Beacon interval' defines how often (in milliseconds) the beacon is broadcast by the router and used by clients to discover access points. It will have no negative impact on speed or stability, it only makes your 2.4 GHz access point discovered later than 5 GHz.
Upvotes: 3 |
2018/06/18 | 712 | 3,138 | <issue_start>username_0: I'm thinking that with the way we typically use Android phones, run a single app at a time, fewer faster CPU cores are better than many smaller (slower) cores.
Does Android really benefit that much from the current octa-core phones? How long before we see 16-core Android phones, and will that actually be useful in a phone?
I keep thinking that 4 fast cores, or 2 very fast cores, seem ideal for the kind of things we do with Android phones. Is it possible to determine some ideal number of cores, or at what point it simply does not make sense to add more cores?<issue_comment>username_1: I do not really see this coming forward and for a little while I do not think we will see high-end smartphones with more than 8 cores. Remember also that only 4 of them are used in the situation depending how heavy the task is. You cannot really determine how many cores you will need at a specific time. It all depends how the application is written. Does it do few concurrent tasks in the same time? The design that we can see currently in the smartphone world allows you to run multiple applications i the same time without loosing much performance.
Upvotes: 0 <issue_comment>username_2: Even though you think you're only running a single app at a time, that doesn't mean only a single thread is running. Getting the UI from that app onto the screen is actually done by a second process, called *Surface Flinger*. Even within that one app you're using, there are probably multiple threads: one drawing the UI and responding to your input, another communicating with a server, and perhaps another doing whatever slow computation the app needs to do. Having multiple threads allows the UI to remain responsive while performing these slow tasks. On top of that, other apps run in the background sometimes: WhatsApp is listening for new messages, Gmail is checking for new mail, Google Now is checking updated stock prices, Google Play is downloading an app update, etc.
All in all, there's no single ideal number of CPU cores that suits every situation. A lot of the drive towards increasing number of cores on phones is marketing, just like the clock speed wars on PCs 10 years ago. But there's an extra factor that makes it worthwhile having these huge numbers of cores: dark silicon.
The silicon area on the phone's system-on-chip that's taken up by a single CPU core has got smaller and smaller over the years. Most of the space is taken up by RAM, and even the GPU is several times larger than the whole CPU. It doesn't cost much to just put more CPU cores in the silicon. Most of the time, if your phone isn't doing very much, those extra cores can be turned off to save power. But then when you want to play a mobile game, or run a Snapchat filter, or anything compute-intensive that wants to run several threads, those extra cores can be powered up for a burst of speed.
So really, the ideal number of cores is lots. Even if some people never run the kind of workload that benefits from lots of cores, there's almost zero cost to having unused cores, and there's a huge benefit for some workloads.
Upvotes: 2 |
2018/06/18 | 589 | 2,292 | <issue_start>username_0: I'm trying to reduce space eaten by the whats-app application on my phone & PC
I see Multiple db.crypt12 databases in the whats-app Databases folder
This is probably due to me copying the app folders to my PC over the years for backup..
Is it possible to remove the least used once?
is it correct that whats-app is using only one of the databases?
[](https://i.stack.imgur.com/2KyXz.png)<issue_comment>username_1: These are just database backups. WhatsApp generates a backup and stores it to the WhatsApp folder on your storage. See [the WhatsApp FAQ:](https://faq.whatsapp.com/android/chats/how-to-restore-your-chat-history/)
>
> * Your phone will store up to the last seven days worth of local backup files.
> * Local backups will be automatically created every day at 2:00 AM and saved as a file in your phone.
>
>
>
Thereafter, if you have enabled backup to cloud, WhatsApp will also upload a copy of this backup to the Google Drive. If at some point you need to re-install WhatsApp, the app will restore your messages and data from these backup files.
Now coming to the list of databases that you see, notice the date in each of the database files, except the first. Every night when a new backup is generated, it is saved as *msgstore.db.crypt12*. The backup from the last day is renamed with a date in the name.
**WhatsApp keeps a backup of 7 days + the current main backup.** It keeps on deleting the older backup files as new ones are generated every night.
**You can delete them all and that will have no issues on the functionality of your WhatsApp app.** That said, *it is kinda useless to delete as new ones will again be generated every night* and within a week you'll once again have these 7 files saved in your phone's storage.
And as of now, WhatsApp does not give you an option to choose how many backup files to keep.
Upvotes: 5 [selected_answer]<issue_comment>username_2: You may have a maintenance applications that automatically deletes every night all those backup files.
I'm using Dropsync, which allows to specify well defined sync rules with Dropbox. I set one that uploads the backups to Dropbox, and then delete them from my phone. Saving ~1 Go.
Upvotes: 1 |
2018/06/19 | 765 | 3,026 | <issue_start>username_0: I've disable the built-in phone app but an a voice over IP app took its responsibilities, I killed that too, disabled notification and tweak everything I could find except for turning off the ringtone in the settings and the phone will still ring, except I can't answer because there's no app for phone calls!
When I receive a phone calls there's a lingering notif as usual I always delete it along with the millions other notifs Android gets nonstop--it's really annoying, I never tapped on it because it does nothing, I remembered however that this version of Android brings more stuff at the first tap. I spent the last two hours trying to remember my own phone number to call myself and bring up the notification, upon tapping it it let me to the system app Phone Call Management which is not blockable. I want to reinstall my VoIP app, it requires to have a ringtone so it can ring too; is there another way around this?
BTW, I also installed phone call blockers, but don't really help in here.
Thanks!
[](https://i.stack.imgur.com/XTy59.jpg) [](https://i.stack.imgur.com/7fTWp.jpg)<issue_comment>username_1: These are just database backups. WhatsApp generates a backup and stores it to the WhatsApp folder on your storage. See [the WhatsApp FAQ:](https://faq.whatsapp.com/android/chats/how-to-restore-your-chat-history/)
>
> * Your phone will store up to the last seven days worth of local backup files.
> * Local backups will be automatically created every day at 2:00 AM and saved as a file in your phone.
>
>
>
Thereafter, if you have enabled backup to cloud, WhatsApp will also upload a copy of this backup to the Google Drive. If at some point you need to re-install WhatsApp, the app will restore your messages and data from these backup files.
Now coming to the list of databases that you see, notice the date in each of the database files, except the first. Every night when a new backup is generated, it is saved as *msgstore.db.crypt12*. The backup from the last day is renamed with a date in the name.
**WhatsApp keeps a backup of 7 days + the current main backup.** It keeps on deleting the older backup files as new ones are generated every night.
**You can delete them all and that will have no issues on the functionality of your WhatsApp app.** That said, *it is kinda useless to delete as new ones will again be generated every night* and within a week you'll once again have these 7 files saved in your phone's storage.
And as of now, WhatsApp does not give you an option to choose how many backup files to keep.
Upvotes: 5 [selected_answer]<issue_comment>username_2: You may have a maintenance applications that automatically deletes every night all those backup files.
I'm using Dropsync, which allows to specify well defined sync rules with Dropbox. I set one that uploads the backups to Dropbox, and then delete them from my phone. Saving ~1 Go.
Upvotes: 1 |
2018/06/19 | 320 | 1,049 | <issue_start>username_0: I'm not sure if this is a problem with my unzip tool, or not but I'm looking into the APK file structure and I see a file called `AndroidManifest.xml`. Inside that file there is no XML? It actually looks like a binary dump,
What does this file do, and should it look like this.
I'm using the official VLC nightly, [I'm trying to troubleshoot this problem](https://android.stackexchange.com/q/197175/7425)
* <https://nightlies.videolan.org/build/android-armv7/VLC-Android-3.0.11-20180618-0249-ARMv7.apk><issue_comment>username_1: It seems AndroidManifest.XML is a binary xml file, here is a tool to extract [Binary XML](https://github.com/ytsutano/axmldec). You can confirm that by using `file`
```
$ file AndroidManifest.xml
AndroidManifest.xml: Android binary XML
```
Upvotes: 3 [selected_answer]<issue_comment>username_2: apktool can decode the binary XML format, and much more: <https://ibotpeaches.github.io/Apktool/>
It is available in many repositories, for instance on Ubuntu: `apt install apktool`
Upvotes: 1 |
2018/06/19 | 651 | 2,590 | <issue_start>username_0: I'm having a problem with Google Translate and downloading offline packages for any language. I tap the download button next to the language, it says "Starting download" and the indicator is spinning, but nothing happens and the language pack is not downloaded. The app **has** the permission to use the storage.
My setup: the latest version of Google Translate (v5.20.0.RC10.199570264), on an Xperia L1 with Android 7. I should stress that with previous versions this used to work.
What I have tried:
1) Clearing cache and data of both the app and Google play (also the
services).
2) Unistalling and reinstalling.
3) Rebooting.
4) Unistalling, rebooting and then reinstalling.
5) Moving the app to SD. Also the opposite.
6) Checking the permissions (everything is allowed).
7) All combinations of all of the above.
I'm about to try a factory reset, but before going nuclear I'd like to try some alternative.
Any hints/ideas are welcome!<issue_comment>username_1: The issue was solved by clearing the data of download manager as confirmed by OP .
Go to Settings → Applications → Download manager → Clear data.
The download should proceed as normal.
Upvotes: 4 [selected_answer]<issue_comment>username_2: Solved turning off VPN... Never thought about this been an issue here.
Thanks for suggestions!
Upvotes: 2 <issue_comment>username_3: 1. Uninstall Google Translation (with the memory card on your mobile).
2. Turn off the mobile.
3. Remove the memory card.
4. Turn on the mobile.
5. Install the Google Translation from PlayStore and give full permisions to application.
6. Install ALL the languages you want to use offline.
7. Turn off the mobile phone.
8. Insert the memory card.
9. Turn on the mobile.
10. Copy the entire folder from the internal memory Android\data\ com.google.android.apps.translate to the exact same location on the memory card (if prompted, replace the same files that the memory card holds in the same slot).
11. Restart the mobile.
12. Now everything in Google translation works well.
Upvotes: 1 <issue_comment>username_4: I had this problem too. I changed wifi to cellular data . It solved!! Google couldn't downlad via wifi
Upvotes: 0 <issue_comment>username_5: Google translate offline the audio doesn'twork when you're trying to imput using audio ....the microphones is blanked out
and also the output there no audio ...... input is English and the output is Vietnamese I downloaded the file no problem
You can try to import in and afterwards you can get audio on the input but not on the output
Upvotes: 0 |
2018/06/19 | 470 | 1,862 | <issue_start>username_0: I have a Sony-Ericsson Xperia Arc S with android 4.0,
the dev mode was activated by mistake by a non tech person.
( so now every touch/drag draws a line, and on the top it shows x,y coordinates )
I can't find how to disable it<issue_comment>username_1: The issue was solved by clearing the data of download manager as confirmed by OP .
Go to Settings → Applications → Download manager → Clear data.
The download should proceed as normal.
Upvotes: 4 [selected_answer]<issue_comment>username_2: Solved turning off VPN... Never thought about this been an issue here.
Thanks for suggestions!
Upvotes: 2 <issue_comment>username_3: 1. Uninstall Google Translation (with the memory card on your mobile).
2. Turn off the mobile.
3. Remove the memory card.
4. Turn on the mobile.
5. Install the Google Translation from PlayStore and give full permisions to application.
6. Install ALL the languages you want to use offline.
7. Turn off the mobile phone.
8. Insert the memory card.
9. Turn on the mobile.
10. Copy the entire folder from the internal memory Android\data\ com.google.android.apps.translate to the exact same location on the memory card (if prompted, replace the same files that the memory card holds in the same slot).
11. Restart the mobile.
12. Now everything in Google translation works well.
Upvotes: 1 <issue_comment>username_4: I had this problem too. I changed wifi to cellular data . It solved!! Google couldn't downlad via wifi
Upvotes: 0 <issue_comment>username_5: Google translate offline the audio doesn'twork when you're trying to imput using audio ....the microphones is blanked out
and also the output there no audio ...... input is English and the output is Vietnamese I downloaded the file no problem
You can try to import in and afterwards you can get audio on the input but not on the output
Upvotes: 0 |
2018/06/20 | 516 | 2,075 | <issue_start>username_0: So I lost my device today and it was a Samsung Galaxy Prime. I went onto Google's "Find my device" and there were only 2 options: "Start ringing" and "Enable Secure Erase."
I pressed the Secure Erase button, then I searched online for what that meant. It turns out that it will wipe all of my data away. I wanted to undo that option but it turns out I can't.
So will all of my data be erased and will I be able to get all of my data back?<issue_comment>username_1: The issue was solved by clearing the data of download manager as confirmed by OP .
Go to Settings → Applications → Download manager → Clear data.
The download should proceed as normal.
Upvotes: 4 [selected_answer]<issue_comment>username_2: Solved turning off VPN... Never thought about this been an issue here.
Thanks for suggestions!
Upvotes: 2 <issue_comment>username_3: 1. Uninstall Google Translation (with the memory card on your mobile).
2. Turn off the mobile.
3. Remove the memory card.
4. Turn on the mobile.
5. Install the Google Translation from PlayStore and give full permisions to application.
6. Install ALL the languages you want to use offline.
7. Turn off the mobile phone.
8. Insert the memory card.
9. Turn on the mobile.
10. Copy the entire folder from the internal memory Android\data\ com.google.android.apps.translate to the exact same location on the memory card (if prompted, replace the same files that the memory card holds in the same slot).
11. Restart the mobile.
12. Now everything in Google translation works well.
Upvotes: 1 <issue_comment>username_4: I had this problem too. I changed wifi to cellular data . It solved!! Google couldn't downlad via wifi
Upvotes: 0 <issue_comment>username_5: Google translate offline the audio doesn'twork when you're trying to imput using audio ....the microphones is blanked out
and also the output there no audio ...... input is English and the output is Vietnamese I downloaded the file no problem
You can try to import in and afterwards you can get audio on the input but not on the output
Upvotes: 0 |
2018/06/20 | 416 | 1,552 | <issue_start>username_0: I am having a problem connecting to my university Eduroam WiFi.
If I understand correctly, in `CA certificate` I am supposed to select `CA certificate` if it is there or `Use system certificate` and input my university domain.
But, I only have: `Select certificate` or `Don't validate`. And if I click `Select certificate`, nothing is changing, there is not a `Domain` field appearing like I think it should (and where I could the domain name) (see screenshot).
[](https://i.stack.imgur.com/vIuWD.png)
Can you help?<issue_comment>username_1: I solved this problem at my university (not Eduroam) by installing a CA certificate in Android (8). It then becomes a choice in the **CA Certificate** menu and you can sign in.
Hopefully, you can find out from the IT people where is the CA Certificate to download to your Android.
I think choosing "Don't validate" is unwise, and that's actually what many university IT web sites advise (Google finds the instructions easily).
Edit: for Eduroam, there's an [app](https://play.google.com/store/apps/details?id=uk.ac.swansea.eduroamcat&hl=en) that reportedly solves the problem for Android 8.
Upvotes: 2 <issue_comment>username_2: For Eduroam specifically, there seems to be a CA Certificate installer available for many operating systems to be found at [cat.eduroam.org](https://cat.eduroam.org/).
It is specific to your Institution and features Linux, Windows, Mac OS, Android, ChromeOS and iOS.
Upvotes: 1 |
2018/06/21 | 748 | 2,782 | <issue_start>username_0: My daughter has a Yuntab K17 tablet with Android OS 5.1, all of a sudden started popping the error message:
>
> Unfortunately, the process com.android.phone has stopped.
>
>
>
This tablet has a place to insert two SIM cards, however, we've never done that. It's strictly used by her for light gaming and watching videos on YouTube. She was watching a YouTube video when the error message first appeared. She hadn't installed anything new on the tablet in several days. As soon as you hit the "OK" button on the error message, it immediately reappears.
I've spent a combined 6 hours wading through countless articles on the web trying to find a solution and have yet to come across one that works:
* I wiped the cache partition
* I've done the factory reset multiple times after backing up all her files on an SD card. I'm assuming doing the factory reset would negate the need to clear caches and data of the various apps (phone, SIM toolkit, etc) which I've seen suggested
* I've turned off auto update timezone, and switched it to 24-hour time format
* I performed the root recovery check (before and after the factory reset) and it said (both times): "Error: found 1 modified files system check FAIL!!"
and done just about every other thing I've seen in multiple articles and help threads. As I said, ABSOLUTELY none of the suggestions I've read have worked.
I'll include the info below in case it is helpful somehow. I am admittedly an extreme novice when it comes to anything other than basic usage of the Android operating systems:
About Tablet info: Android version 5.1
Android security patch level: 2017-03-05
Baseband version: unknown
Kernel version: 3.1.72+ BUILDSERVER@BUILDSERVER6 #1 Tue Jul 11 18 18:04 CST 2017
Build number: k17 vkb0433\_20170711 Custom
Build version: vkb0433<issue_comment>username_1: I solved this problem at my university (not Eduroam) by installing a CA certificate in Android (8). It then becomes a choice in the **CA Certificate** menu and you can sign in.
Hopefully, you can find out from the IT people where is the CA Certificate to download to your Android.
I think choosing "Don't validate" is unwise, and that's actually what many university IT web sites advise (Google finds the instructions easily).
Edit: for Eduroam, there's an [app](https://play.google.com/store/apps/details?id=uk.ac.swansea.eduroamcat&hl=en) that reportedly solves the problem for Android 8.
Upvotes: 2 <issue_comment>username_2: For Eduroam specifically, there seems to be a CA Certificate installer available for many operating systems to be found at [cat.eduroam.org](https://cat.eduroam.org/).
It is specific to your Institution and features Linux, Windows, Mac OS, Android, ChromeOS and iOS.
Upvotes: 1 |
2018/06/22 | 792 | 3,306 | <issue_start>username_0: I haven't been able to find an answer for this so I figured I would ask here.
Is there an app or method I can use to create and run an Android Virtual Machine on my Android Phone?
I have a personal phone I want to put my work email on; however, my work email requires Microsoft Intune which requires that I give permission for my company to clear my phone at any time without warning. The reason they do this is in case I have company secrets on my phone and I if I become a risk they want to wipe my phone. I wanted to work around this by putting an android virtual machine on my phone. This way the company can clear my phone if they please but they will just wipe my VM not me actual personal phone.
I saw an article that VMWare was doing something like this but I couldn't find any documentation on it.
Does anyone know of a way to put a Android VM on an Android phone?<issue_comment>username_1: This does not seem to possible, I have looked for it for years and found nothing. This is probably because these points:
1. Android devices have a tiny amount of ram, which cannot be extended. With just 3 GB of RAM, you can forget to run pretty much any VM, as any normal OS needs at least 4 GB by now. A typical PC has 8 GB by now, or even 16. Virtualization is a field where extra ram is especially useful.
2. Pretty all Android devices are based on the ARM CPU architecture. ARM CPUs are very energy efficient, but at the same time pretty weak and feeble compared to full Desktop Grade CPUs from AMD and Intel (which burn a lot more electricity). They don't perform as well doing multitasking, which makes sense: You don't use multitasking much on mobile devices.
3. Virtual Machines are often not full emulation of another CPU, this means that you actually cannot run intel / AMD i386 code on an ARM CPU, so you would need a OS that is especially made for this, i.e. has been compiled for the ARM architecture, that cuts down the selection big time. Debian Linux prides itself on offering the distribution on many CPU architectures, but other manufacturers don't offer that. There is for example no standard full version of Windows 7 or 10 that supports ARM, and neither does Mac OS X.
4. VMs are more of a professional area, while mobile devices are oriented towards non-professional consumers.
5. Disk Storage is another problem: Most mobile devices have very little. A slim Linux can get by with just 4 GB, but a full fledge Linux needs around 10 GB, but a Windows needs around 20 GB just to get going. This is no issue on a laptop or desktop, where you will have 1 terabyte available (1000 GB), but an impossibility if you just have 32 GB.
All these things conspire together to make VMs on Android an impossibility
Upvotes: 4 [selected_answer]<issue_comment>username_2: Yes. Samsung phones have inbuilt shared folder called knox which is a secure android VM onside an android os.
Upvotes: 1 <issue_comment>username_3: There's a company called Hypori that already has a virtual android available for both Android and iOS. The only issue is that they only have this available for companies and not for consumer.
Upvotes: 2 <issue_comment>username_4: You can run Android emulator on an Android phone using [VMOS](https://www.vmos.com), exactly what you want.
Upvotes: 3 |
2018/06/23 | 1,210 | 4,122 | <issue_start>username_0: Something on my smartphone sends a message once a day, sometimes I see a tiny fast dark background popup on the bottom saying it is doing so.
Such application seems related to the SIM card, as the popup I receive is from my cell phone provider/carrier/operator.
One second later I receive this:
[](https://i.stack.imgur.com/8zgXT.jpg)
The app name is "Serviços TIM".
That app package name is "com.android.stk" (I found that using Brevent).
It is an OS App.
It has the exactly same version of "SIM ToolKit" (I guess .stk means that), but at apps list it is in an independent entry with it's own options.
The real huge problem is that, **when that popup shows and the screen is locked and remains like that for 8h+, the screen WILL NOT TURN OFF and will spend my battery from 100% to 40% or less** and I may depend on having the battery at that time! :(. I usually let it out of the charger, and without that popup it would only spend about 5-10% of the battery.
My smartphone J7 is not rooted, I wonder if that would be the only option?
---
**update**:
[](https://i.stack.imgur.com/MDdne.jpg)
This other app I think is the culprit from sending the message. It already had SMS disabled but not the phone permission! (I have other app to let me read/send SMS btw)
[](https://i.stack.imgur.com/VeS51.jpg)
also the SIM toolkit, I force stop it (and disabled all notifications now 2019):
[](https://i.stack.imgur.com/zIC2z.jpg)
---
**Final result is:** none of these actions above worked, the popup still happens :(<issue_comment>username_1: It seem to me like a flash message. These messages contain only two options- **Cancel** and **OK**. If you press **OK**, the plan mentioned in the message will get activated and it will cost you some money. This can be very irritating.
You can deactivate Flash messages but the process is different for different service providers
you can find the ways to stop flash messages in other operators [here](https://www.techtricksworld.com/how-to-stop-flash-messages/) and have an idea about your own service provider.
Upvotes: -1 <issue_comment>username_2: First get the stk and stk2 package name and path, then back them up with pull :
```
adb shell pm list packages | grep stk
adb shell pm path com.android.stk
adb pull /system/app/Stk/Stk.apk
adb shell pm path com.android.stk2
adb pull /system/app/Stk2/Stk2.apk
```
Next we uninstall both :
```
adb shell pm uninstall -k --user 0 com.android.stk
adb shell pm uninstall -k --user 0 com.android.stk2
```
---
Old answer (in case you fear trying the uninstall steps above):
I managed to minimize the problem by using the "do not disturb" feature.
By "minimize" I mean that if I am using the phone the popup will still show up, otherwise it wont mess it's battery (neither show up).
I can allow all exceptions least "reminders" apparently.
Obs.: "do not disturb" is not 100%, I think about 10% of the times it will still allow that abusive popup to keep the screen ON for many hours!
The simToolkit app package "com.android.stk" (which I found out using Brevent), is called "Serviços TIM" and seems to be a mirroed/dup (???) package from the default simToolkit.
My next step (as soon that popup annoys me enough) is to try to uninstall that package by using this tip by @Izzy, thx!
[How to remove the SIM Toolkit from my phone? (Without root or flashing any ROM)](https://android.stackexchange.com/a/206577/31723)
[adb uninstall failed](https://stackoverflow.com/questions/13534935/adb-uninstall-failed)
[Uninstall via adb without root](https://android.stackexchange.com/questions/141473/uninstall-via-adb-without-root)
[How to disable Google Apps in Mi Phones](https://android.stackexchange.com/questions/194539/how-to-disable-google-apps-in-mi-phones/194693#194693)
Upvotes: 3 [selected_answer] |
2018/06/24 | 796 | 2,742 | <issue_start>username_0: No problems to transfer files with some extensions like `.jpg` via bluetooth.
But for files with majority of other suffixes (e. g. `.avi`, `.apk`) I have first rename them, then transfer them and finally on the target device rename it back:
```
name.apk ---> name.jpg ----- bluetooth transfer ----> name.jpg ---> name.apk
```
Is there any more simple way to do it?
(For example from Adroid 5.0 to Android 2.2.)<issue_comment>username_1: It seem to me like a flash message. These messages contain only two options- **Cancel** and **OK**. If you press **OK**, the plan mentioned in the message will get activated and it will cost you some money. This can be very irritating.
You can deactivate Flash messages but the process is different for different service providers
you can find the ways to stop flash messages in other operators [here](https://www.techtricksworld.com/how-to-stop-flash-messages/) and have an idea about your own service provider.
Upvotes: -1 <issue_comment>username_2: First get the stk and stk2 package name and path, then back them up with pull :
```
adb shell pm list packages | grep stk
adb shell pm path com.android.stk
adb pull /system/app/Stk/Stk.apk
adb shell pm path com.android.stk2
adb pull /system/app/Stk2/Stk2.apk
```
Next we uninstall both :
```
adb shell pm uninstall -k --user 0 com.android.stk
adb shell pm uninstall -k --user 0 com.android.stk2
```
---
Old answer (in case you fear trying the uninstall steps above):
I managed to minimize the problem by using the "do not disturb" feature.
By "minimize" I mean that if I am using the phone the popup will still show up, otherwise it wont mess it's battery (neither show up).
I can allow all exceptions least "reminders" apparently.
Obs.: "do not disturb" is not 100%, I think about 10% of the times it will still allow that abusive popup to keep the screen ON for many hours!
The simToolkit app package "com.android.stk" (which I found out using Brevent), is called "Serviços TIM" and seems to be a mirroed/dup (???) package from the default simToolkit.
My next step (as soon that popup annoys me enough) is to try to uninstall that package by using this tip by @Izzy, thx!
[How to remove the SIM Toolkit from my phone? (Without root or flashing any ROM)](https://android.stackexchange.com/a/206577/31723)
[adb uninstall failed](https://stackoverflow.com/questions/13534935/adb-uninstall-failed)
[Uninstall via adb without root](https://android.stackexchange.com/questions/141473/uninstall-via-adb-without-root)
[How to disable Google Apps in Mi Phones](https://android.stackexchange.com/questions/194539/how-to-disable-google-apps-in-mi-phones/194693#194693)
Upvotes: 3 [selected_answer] |
2018/06/25 | 745 | 2,581 | <issue_start>username_0: Occasionally I'll find a simple word that's missing from my Samsung Galaxy S8's default keyboard. The most recent example was the word ***hops***. It kept changing it to ***hopes***.
Have I done something silly to make it forget these words in the past?<issue_comment>username_1: It seem to me like a flash message. These messages contain only two options- **Cancel** and **OK**. If you press **OK**, the plan mentioned in the message will get activated and it will cost you some money. This can be very irritating.
You can deactivate Flash messages but the process is different for different service providers
you can find the ways to stop flash messages in other operators [here](https://www.techtricksworld.com/how-to-stop-flash-messages/) and have an idea about your own service provider.
Upvotes: -1 <issue_comment>username_2: First get the stk and stk2 package name and path, then back them up with pull :
```
adb shell pm list packages | grep stk
adb shell pm path com.android.stk
adb pull /system/app/Stk/Stk.apk
adb shell pm path com.android.stk2
adb pull /system/app/Stk2/Stk2.apk
```
Next we uninstall both :
```
adb shell pm uninstall -k --user 0 com.android.stk
adb shell pm uninstall -k --user 0 com.android.stk2
```
---
Old answer (in case you fear trying the uninstall steps above):
I managed to minimize the problem by using the "do not disturb" feature.
By "minimize" I mean that if I am using the phone the popup will still show up, otherwise it wont mess it's battery (neither show up).
I can allow all exceptions least "reminders" apparently.
Obs.: "do not disturb" is not 100%, I think about 10% of the times it will still allow that abusive popup to keep the screen ON for many hours!
The simToolkit app package "com.android.stk" (which I found out using Brevent), is called "Serviços TIM" and seems to be a mirroed/dup (???) package from the default simToolkit.
My next step (as soon that popup annoys me enough) is to try to uninstall that package by using this tip by @Izzy, thx!
[How to remove the SIM Toolkit from my phone? (Without root or flashing any ROM)](https://android.stackexchange.com/a/206577/31723)
[adb uninstall failed](https://stackoverflow.com/questions/13534935/adb-uninstall-failed)
[Uninstall via adb without root](https://android.stackexchange.com/questions/141473/uninstall-via-adb-without-root)
[How to disable Google Apps in Mi Phones](https://android.stackexchange.com/questions/194539/how-to-disable-google-apps-in-mi-phones/194693#194693)
Upvotes: 3 [selected_answer] |
2018/06/26 | 454 | 1,758 | <issue_start>username_0: I am using phone with android 4.4.4 version. yesterday suddenly one white square appeared on my screen which looks like shortcuts for keys. It is very much annoying as it appears in all screens, no matter which application I am using. I want to remove/disable it as it permanently.
I searched a lot on internet and I tried to check in settings also but nothing worked out. please help me as this is too irritating. I wonder how google could make such bad feature. Please find the screenshots below.
Problem marked in red circle.
[](https://i.stack.imgur.com/iGBna.jpg)
When I click on square button
[](https://i.stack.imgur.com/Oy6iO.jpg)
Please note , There is no **mobility** tab under my **"settings>System>accessibility>"**<issue_comment>username_1: Go to settings > System > accessibility > turn off assistant menu under mobility
Hope this will help.
Upvotes: 0 <issue_comment>username_2: Since your phone is a Lenovo, as can be seen from your screenshots. The feature is called as **Wide Touch** which adds a floating button on your screen, allowing quick access to system functions.
You can disable Wide Touch in your device's settings. I cannot talk about the exact location of the setting, but for most Lenovo phones, it is in *Settings > Features > Wide Touch*.
The feature can be list item within settings or a separate tab. So, please look carefully through the settings.
Here is the link to Lenovo website explaining the feature for S90 smartphone. Your P70 might have it the same way or with minor changes.
<https://support.lenovo.com/in/en/solutions/ht102904>
Upvotes: 1 |
2018/06/26 | 373 | 1,494 | <issue_start>username_0: I have never had a phone before. Can phones do this?
I want an Android phone.
I want it to be able to download stuff from the Google Play store.
I would like it to be able to do this using my existing home internet router, without the need for a further monthly subscription to some phone-based data plan. (I only intend to use this phone from home. I am with Sky Broadband for my home router.)
I would like the phone to be as cheap as possible, about £50 or slightly above. (I want to make sure it is right for me before spending loads of cash.)
I would like it to be able to play simple games like checkers, chess etc.
I live in the UK, if that is important.<issue_comment>username_1: I bet your home router supports WiFi. It's the same wireless networking technology that laptops use to connect to the Internet. Android devices have WiFi too, you can enable it and connect to your router to use its Internet connection.
Upvotes: 2 <issue_comment>username_2: The simple answer is **yes**.
With no service contract, **or cellular service at all.**
Not only can you connect it to WiFi, (you usually need a **Gmail** account)
You can get free text messaging via Google voice or freedom pop from the play store.
And if you feel like getting frisky you could dabble with Asterisk and use the jabber/gtalk modules to make voice calls via VOIP through the Google voice service, or any other **VOIP** provider. (Using a SIP soft client such as csipsimple)
Upvotes: 0 |
2018/06/27 | 760 | 2,712 | <issue_start>username_0: I'm using Sony Xperia Z3 and used File Commander to browse and found that I kept running out of space because of a 4GB thumbnail/preview file/folder that grows rather quickly.
I tried deleting the folder, but after deleting the folder, I saw that no space was freed and it was still there. So I tried moving the folder to my SD card which resulted in 4GB of space taken up on my SD card and no space freed.
I don't think I can find the thumbnail preview folder anymore, but I think new files are building up because I'm running out of space again.
Does anyone know what's going on?.<issue_comment>username_1: Thumbnail folder is automatically created by android. It helps android to open pictures from gallery in a faster way. Even if you delete the folder, android keeps on recreating it.
Although there is a work around it. You can create a text file and save it with extension .thumbnail. Now replace .thumbnail folder with .thumbnail file.
Upvotes: 0 <issue_comment>username_2: The `.thumbnails` folder has a file of the format `.thumbdata4*` whose size is shown to be really big usually. But in reality, it's not a big file and it's size is shown as such is because it's not a normal file.
It's a [sparse file](https://en.wikipedia.org/wiki/Sparse_file) and its real size can be seen using `du` command from a terminal emulator. `ls` shows the file size from it's metadata like most tools do and it'll be a big number.
On my phone, it looks like this:
```
/storage/emulated/0/DCIM/.thumbnails $ du -h .thumbdata4--1967290299
172K .thumbdata4--1967290299
/storage/emulated/0/DCIM/.thumbnails $ ls -alh .thumbdata4--1967290299
-rw-rw---- 1 root sdcard_rw 11G 2020-07-30 19:18 .thumbdata4--1967290299
```
So it's actually a small file, and you don't have to worry about it's size.
See the size difference. `ls` shows size to be 11GB while `du` shows it to be only 172KB.
Upvotes: 2 <issue_comment>username_3: It should be a comment but It seems I have enough reputation yet.
I have no knowledge how the space is taken, but `echo -en > .thumbnailsX-xxx` (\*Anyone trying this should do it at your own risk. \*) DOES set the size to zero and total free partition space LOOKS increased, while simply deleting files can't.
An educated guess would be these files are located somewhere else in the filesystem tree and linked here but that is just a guess.
I came here looking for a way to locate the the deleted files and empty them, if my guess were true. If not true([say sparse file](https://android.stackexchange.com/a/71674/360498)), I would be grateful if anyone can explain in detail.
Upvotes: 0 |
2018/06/29 | 758 | 2,565 | <issue_start>username_0: How can I move applications from my internal storage on my Android 4.4.4 to my SD Card? I am trying to move Facebook to my SD Card so that I can update it.
Here is an image of the problem:
[](https://i.stack.imgur.com/yoXqG.jpg)
I have tried:
* Rebooting the phone.
* Removing the SD Card.
* Unmounting the SD Card.
I don't have access to a Computer and Laptop.<issue_comment>username_1: Thumbnail folder is automatically created by android. It helps android to open pictures from gallery in a faster way. Even if you delete the folder, android keeps on recreating it.
Although there is a work around it. You can create a text file and save it with extension .thumbnail. Now replace .thumbnail folder with .thumbnail file.
Upvotes: 0 <issue_comment>username_2: The `.thumbnails` folder has a file of the format `.thumbdata4*` whose size is shown to be really big usually. But in reality, it's not a big file and it's size is shown as such is because it's not a normal file.
It's a [sparse file](https://en.wikipedia.org/wiki/Sparse_file) and its real size can be seen using `du` command from a terminal emulator. `ls` shows the file size from it's metadata like most tools do and it'll be a big number.
On my phone, it looks like this:
```
/storage/emulated/0/DCIM/.thumbnails $ du -h .thumbdata4--1967290299
172K .thumbdata4--1967290299
/storage/emulated/0/DCIM/.thumbnails $ ls -alh .thumbdata4--1967290299
-rw-rw---- 1 root sdcard_rw 11G 2020-07-30 19:18 .thumbdata4--1967290299
```
So it's actually a small file, and you don't have to worry about it's size.
See the size difference. `ls` shows size to be 11GB while `du` shows it to be only 172KB.
Upvotes: 2 <issue_comment>username_3: It should be a comment but It seems I have enough reputation yet.
I have no knowledge how the space is taken, but `echo -en > .thumbnailsX-xxx` (\*Anyone trying this should do it at your own risk. \*) DOES set the size to zero and total free partition space LOOKS increased, while simply deleting files can't.
An educated guess would be these files are located somewhere else in the filesystem tree and linked here but that is just a guess.
I came here looking for a way to locate the the deleted files and empty them, if my guess were true. If not true([say sparse file](https://android.stackexchange.com/a/71674/360498)), I would be grateful if anyone can explain in detail.
Upvotes: 0 |
2018/07/01 | 435 | 1,685 | <issue_start>username_0: I have 2 phones with 2 different WhatsApp numbers. Both WhatsApp have their Google Drive backup enabled. However, the backup from one phone isn't visible from the other phone, I get the error of "no backup found for this account".
Can two phones with different WhatsApp numbers use the same Google Drive backup?<issue_comment>username_1: Yes you can do right now. Set your backup for the second phone number and make back up. After that when you go to [Google Drive Backup](https://drive.google.com/drive/backups) address you can see two back up for two Whatsapp accounts.
[](https://i.stack.imgur.com/59auH.png)
Upvotes: 3 <issue_comment>username_2: >
> Can two phones with different WhatsApp numbers use the same Google Drive backup?
>
>
>
Yes, and the backups will happily coexist.
My old phone had WhatsApp backing up daily to Google Drive. On the arrival of a new phone, I transferred the SIM into it, and activated a fresh SIM (with an as-yet unused number) in the old phone.
WhatsApp was installed on the new phone over Wi-Fi, and after going through the initial setup, restored the earlier chat backup from Google Drive. You can see the backup files online if you browse in [Google Drive](https://drive.google.com/) to **Storage > Backups**. They have the form **WhatsApp #telephone-number# backup**
In the old phone, WhatsApp detected the phone number was no longer valid. Having validated the new number, and going to **Settings > Chats** and clicking **Back up**, that created a new backup file in the list in Google Drive, which included the new telephone number.
Upvotes: 0 |
2018/07/02 | 859 | 3,591 | <issue_start>username_0: I always used to transfer files between my laptop and Nexus 5X phone. Upon connecting the USB cable, there used to be a notification thingy on my phone showing USB options, which was default on 'Charging' and then when changing that to File Transfer, I could transfer files.
I recently had to reset my phone and now that I have a new, freshly installed Oreo 8.1.0 environment, this USB notification does not appear anymore. And the device does not show up on my laptop at all.
While searching for a solution I came across these suggestions which I already tried:
* Enabling developer mode on Android (clicking 7x on Build number in About).
* In developer options, enable and disable USB debugging.
* Clearing the cache and data storage for the 'External storage' and 'Media storage' apps, and rebooting my phone, and wait for a while.
* In developer options, there is something called "Select USB configuration" which is on "MTP (Media Transfer Protocol)". Changed that to "Charging" or "PTP (Picture Transfer Protocol)" and back.
None of these helped, unfortunately. Any hints?
Note that the cable is fine. It works OK on other phones, and upon connecting my phone to my laptop, it does show the charging indicator in the battery icon. It's just the USB notification and file transfer related options that are no longer there.<issue_comment>username_1: Go to developer options> enable usb debugging > click Revoke USB debugging authorisations
Press and hold down power+volume up until phone vibrate and restart. After that the problem should be solved. But remember, this is not a permanent solution.
Upvotes: 0 <issue_comment>username_2: * Go to developer options
* Make sure using "USB Debugging" is disabled
* Set "Always Prompt when connecting to USB" to ON
* Make sure your phone is unlocked when you connect to the PC/Laptop
* Susername_7 "File Transfer" in the options.
I learned this from Huawei Support who were very easy to deal with from here in the UK.
Upvotes: 1 <issue_comment>username_3: Go into Developer options, scroll down to "Susername_7 USB Configuration" and susername_7 MTP ( Media Transfer Protocol ) even if it's already susername_7ed.
This solved the problem for me.
Upvotes: 3 <issue_comment>username_4: For Lineage OS you need to go to Developer options
* disable "USB Debugging"
* scroll down and between "Tethering hardware acceleration" and "Show bluetooth devices without name" you could find
* "Susername_7 USB Configuration" and press it.
That's it. but my phone showed me the Internal storage only after I picked up PTP first, tried to extract images (unsuccessfully) and when I returned back to MTP everything was OK .
Upvotes: 1 <issue_comment>username_5: The old menu which used to be available from the charge notification is now well buried (Moto G5) at:
System → Settings → Connected devices → USB → Transfer files.
Upvotes: 1 <issue_comment>username_6: Under settings did you go to Connected Devices and you will see USB listed there.
Also for the notification not showing anymore, under settings, go to Apps and notifications > Notifications > Notifications again and at the top right click the 3 dots menu and susername_7 "Reset App Preference"
This way any notifications won't be blocked from showing and when you attach the USB it should come up again
Upvotes: 0 <issue_comment>username_7: For me it was an hardware problem. The usb cable I was using was able to charge the phone but for some unknown reason it didn't work for the transfer.
I changed cable and suddendly it worked flawless..
Upvotes: 0 |
2018/07/03 | 417 | 1,578 | <issue_start>username_0: I want to block all outgoing calls regardless of who I'm calling since I have finished all my allowance.
I need a way to block all calls because I keep forgetting and I'll exceed my allowance. (I can use VoIP services instead).<issue_comment>username_1: The app shared by Mark above seems to not be available anymore. I found another alternative - [Block Outgoing Calls](https://play.google.com/store/apps/details?id=com.toolworld.callblocker.lite). This is also a paid app.
Upvotes: -1 <issue_comment>username_2: Inspired by DrZoo's idea in the comments, if you have a rooted device and using Macrodroid, you can block all outgoing calls by following the steps below:
1. Open Macrodroid, click on Add Macro.
2. On the Triggers section, select Call Outgoing follwed by the contact(s) you want to block.
3. On the Actions sections, select Air Plane Mode On/OFF then choose Air Plane Mode On (you can choose to keep Wifi and Bluetooth on). Add the Wait Before Next Action and set it to 1 second.
4. Add the Air Plane Mode On/OFF action, select Air Plane Mode OFF.
The image below illustrates the macro when completed. When you try to make a call, the air plane mode will be on, forcing the dialer app to stop the call because there is no connectivity. After 1 second wait, the air plane mode will be set to off, restoring connectivity.
***Disclaimer:*** I am not associated with Macrodroid developer(s), only a user.
[](https://i.stack.imgur.com/IDJe2.png)
Upvotes: 1 |
2018/07/04 | 421 | 1,420 | <issue_start>username_0: I am trying to **install python in my android device** but it fails. For references i have used scripting language for android and python for android apks from the below link:
>
> <https://github.com/damonkohler/sl4a>
>
>
> <https://awesomedetect.com/how-to-install-python-on-android-without-root-and-no-internet/>
>
>
>
I have installed these apks but still through adb shell when i try to access or run the python interpreter its showing me the following errors.
```
ASUS_Z010D:/data/user/0/com.googlecode.pythonforandroid/files/python/bin#
./python
CANNOT LINK EXECUTABLE "./python": library "libpython2.7.so" not found
Aborted
ASUS_Z010D:/data/user/0/com.googlecode.pythonforandroid/files/python/bin#
```
Kindly help me out with this issue..!
**I need to install python and run the .py script in my android device.**
Thanks in advance..!<issue_comment>username_1: Depending on what your script is trying to do you may find [QPython](https://play.google.com/store/apps/details?id=org.qpython.qpy3) sufficient for your needs.
It is available free from the play store and provides a python 3 environment but with some limitations on the libraries available.
Upvotes: 1 <issue_comment>username_2: You can install python in [Termux](https://play.google.com/store/apps/details?id=com.termux&hl=en) even without root. Run: `pkg install python` or python2.
Upvotes: 0 |
2018/07/05 | 378 | 1,556 | <issue_start>username_0: There are many claims that it’s possible to change Wi‑Fi ᴍᴀᴄ address temporarily, but each time there’s a permission error when running one of the commands.
How to temporarily change ᴍᴀᴄ address without rooting the phone ?<issue_comment>username_1: MAC address is always spoofed temporarily since it's a read-only number burned-in hardware and a part of it uniquely identifies the manufacturer. However many network interfaces allow setting a spoofed address. In order to make the change permanent the overriding process has to be repeated on every boot.
Secondly, configuring network interfaces requires at least Linux capability `NET_ADMIN` if not whole root. So, as you have observed, it's not possible to change MAC address or IP address or do other similar network configurations without the said capability or complete root access.
Upvotes: 1 <issue_comment>username_2: You need root to execute kernel commands to set non-default hardware addresses.
The MAC address can be spoofed with root, because you can force the kernel to mis-identify a network card.
Upvotes: 0 <issue_comment>username_3: For Android 10 and above randomized MAC address feature is available in Wifi settings of Settings app.
I have a Note 20 with Android 12 and this is how to randomize MAC address for a specific Wifi:
* Go to **Settings**
* Press on **Connections**
* Long press on **Wifi**
* Press the **Gear** on the selected Wifi Network
* Press on **View More**
* Scroll Up
* Press **MAC address type**
* Press **Randomised MAC**
Upvotes: 0 |
2018/07/06 | 354 | 1,322 | <issue_start>username_0: Applications
I updated my phone from Samsung s4 to Samsung a8. I transferred all my info with smart switch. Some app's appeared and the rest are "in progress". It has been several days now, why are the apps still in progress please help. Btw I do not have WiFi<issue_comment>username_1: So I believe you used a USB cable with a USB/microUSB adapter ?
If so, you may want to check the quality of your cable and/or use a better one (USB cables are NOT "all the same" : some are excellent, some are utter sh\*t).
Unfortunately, the only tool I know for that goal is the QooPow qualMeter : <http://www.qoopow.com/>. It's a physical tool (= not an app) and a bit pricey, but if you find yourself lost in your cables, it might be a good investment for the future (your friends may find it useful too. Why not pool some money to get one for the lot of you ?).
Upvotes: 0 <issue_comment>username_2: Use [ApowerManager](http://apowersoft.com/phone-manager) , not only the applications but also videos,
photos,contacts, messages, notes, books can be traferred from one phone to PC. Then import the files to your new phones. It gives you free choice to pick out the files you want.
[](https://i.stack.imgur.com/UztKd.jpg)
Upvotes: -1 |
2018/07/06 | 422 | 1,573 | <issue_start>username_0: So basically, I've flashed a rom onto my phone, specifically lineage 15.1, for the reasoning of I like Android 8.1. The problem, however, is that my gapps seem to not work. Google Play services stop respond legitimately every 5 seconds, and I've seen all the stuff about force stopping it and cleaning the cache, but those options are greyed out for me. My phone is a Galaxy Note 3, if that makes a difference. Also, it wants me to do the Pixel setup, but it checks for updates continuously forever. What to do?<issue_comment>username_1: So I believe you used a USB cable with a USB/microUSB adapter ?
If so, you may want to check the quality of your cable and/or use a better one (USB cables are NOT "all the same" : some are excellent, some are utter sh\*t).
Unfortunately, the only tool I know for that goal is the QooPow qualMeter : <http://www.qoopow.com/>. It's a physical tool (= not an app) and a bit pricey, but if you find yourself lost in your cables, it might be a good investment for the future (your friends may find it useful too. Why not pool some money to get one for the lot of you ?).
Upvotes: 0 <issue_comment>username_2: Use [ApowerManager](http://apowersoft.com/phone-manager) , not only the applications but also videos,
photos,contacts, messages, notes, books can be traferred from one phone to PC. Then import the files to your new phones. It gives you free choice to pick out the files you want.
[](https://i.stack.imgur.com/UztKd.jpg)
Upvotes: -1 |
2018/07/06 | 368 | 1,326 | <issue_start>username_0: Everytime I try to flash anything from TWRP it says "E: unable to mount /data". I have tried multiple wipes and entirely reflashing the os but everytime i finish setting up the phone after wiping it, it goes back to that error.
Phone is a Samsung J5 Prime (G570Y)<issue_comment>username_1: So I believe you used a USB cable with a USB/microUSB adapter ?
If so, you may want to check the quality of your cable and/or use a better one (USB cables are NOT "all the same" : some are excellent, some are utter sh\*t).
Unfortunately, the only tool I know for that goal is the QooPow qualMeter : <http://www.qoopow.com/>. It's a physical tool (= not an app) and a bit pricey, but if you find yourself lost in your cables, it might be a good investment for the future (your friends may find it useful too. Why not pool some money to get one for the lot of you ?).
Upvotes: 0 <issue_comment>username_2: Use [ApowerManager](http://apowersoft.com/phone-manager) , not only the applications but also videos,
photos,contacts, messages, notes, books can be traferred from one phone to PC. Then import the files to your new phones. It gives you free choice to pick out the files you want.
[](https://i.stack.imgur.com/UztKd.jpg)
Upvotes: -1 |
2018/07/07 | 599 | 2,295 | <issue_start>username_0: Quite recently, Android Messages (com.google.android.apps.messaging) started providing reply suggestions to SMS messages I receive. The suggestions are (usually) relevant to the content of the received message: e.g., somebody texts me with a "Can I call you tomorrow?" and Messages suggest things like "Sure" or "Sounds good".
How exactly does it do that? I would be surprised if this kind of AI system could run on my phone. But does that mean that the messages are processed somewhere else? If yes, where and how?
I'm wondering because I've never given any explicit authorisation for my messages to go anywhere, and in fact, I'm using AFWAll+ to prevent Messages (and many other apps) from accessing the Internet at all.
**UPDATE**: As a test, I used the firewall to also block anything Google Play-related from accessing the Internet, which was the following three entries:
* Google Play services, Google Services Framework, Google Account Manager, Google Backup Transport
* Google Play services for Instant Apps
* Google Play Store
Yet, the suggestions showed up again.
---
**System details**:
* Device: Samsung Galaxy S5 Duos (SM-G900FD)
* OS: LineageOS 14.1
* Android version: 7.1.2
* The phone is rooted with SuperSU.<issue_comment>username_1: So I believe you used a USB cable with a USB/microUSB adapter ?
If so, you may want to check the quality of your cable and/or use a better one (USB cables are NOT "all the same" : some are excellent, some are utter sh\*t).
Unfortunately, the only tool I know for that goal is the QooPow qualMeter : <http://www.qoopow.com/>. It's a physical tool (= not an app) and a bit pricey, but if you find yourself lost in your cables, it might be a good investment for the future (your friends may find it useful too. Why not pool some money to get one for the lot of you ?).
Upvotes: 0 <issue_comment>username_2: Use [ApowerManager](http://apowersoft.com/phone-manager) , not only the applications but also videos,
photos,contacts, messages, notes, books can be traferred from one phone to PC. Then import the files to your new phones. It gives you free choice to pick out the files you want.
[](https://i.stack.imgur.com/UztKd.jpg)
Upvotes: -1 |
2018/07/08 | 553 | 1,704 | <issue_start>username_0: connect the usb to your phone open the cmd and type:
```
adb devices
Huawie Mate 8 device
```
and it gives something like this. This is the device connected over usb.Now type
```
adb tcpip 5555
adb connect 192.168.43.1:5555
```
type adb devices again
adb devices
Huawie Mate 8 device
192.168.43.1:5555 device
and it works perfectly.
The problem is:
as soon as the usb is plugged out.
and after typing:
adb devices
List of attached devices
and the list is empty
try:
```
adb connect 192.168.43.1
unable to connect to 192.168.43.1:5555 cannot connect to `192.168.43.1:5555 : No connection could be made because the target machine actively refused it.(10061)`
```
I dont know what to do tried revoke usb from developer settings.<issue_comment>username_1: Hi if you have the same problem,It's probably the firewall on the computer or on the phone,Make sure first disable both and try again if worked get another firewall or adjust the ones you had to get them working.
Upvotes: 0 <issue_comment>username_2: I am not sure it may be this the case, or it may be helpful, but I got the same message, and it worked if I enable adb via WiFi with the command 'adb tcpip 5555' (from the PC) when the PC is connected to the phone hotspot but the phone is NOT connected to the internet (i.e., 3G is deactivated).
In short, I did the following:
1. Plug the device via USB
2. Restart the phone
3. Disable phone data
4. Enable phone hotspot
5. (adb usb)
6. adb tcpip 5555
7. Unplug the device
8. adb connect 192.168.43.1:5555
After that, I reactivated 3G on the phone, and I had both the internet hotspot and the adb connection, at the same time.
Upvotes: 1 |
2018/07/08 | 466 | 1,675 | <issue_start>username_0: I have a Galaxy J7 Prime, android version 7.0. I'm abroad for a week and as such, am not using data. I can only use WiFi intermittently when I'm near a free hotspot.
When I had an iPhone, I was able to view my location even when offline. This was very useful for directions, as I could download an offline Google Map and figure out where I was. Now I can't seem to do that with my Android-- even with Location enabled, the location dot stubbornly stays gray (unless I connect to WiFi).
I've enabled automatic date and time [as suggested by this question](https://android.stackexchange.com/questions/150125/google-maps-cant-get-my-location). I have high accuracy turned on.
Is there no way to view my location offline in Android?<issue_comment>username_1: Hi if you have the same problem,It's probably the firewall on the computer or on the phone,Make sure first disable both and try again if worked get another firewall or adjust the ones you had to get them working.
Upvotes: 0 <issue_comment>username_2: I am not sure it may be this the case, or it may be helpful, but I got the same message, and it worked if I enable adb via WiFi with the command 'adb tcpip 5555' (from the PC) when the PC is connected to the phone hotspot but the phone is NOT connected to the internet (i.e., 3G is deactivated).
In short, I did the following:
1. Plug the device via USB
2. Restart the phone
3. Disable phone data
4. Enable phone hotspot
5. (adb usb)
6. adb tcpip 5555
7. Unplug the device
8. adb connect 192.168.43.1:5555
After that, I reactivated 3G on the phone, and I had both the internet hotspot and the adb connection, at the same time.
Upvotes: 1 |
2018/07/08 | 765 | 2,944 | <issue_start>username_0: I have installed the same application on
* a device running Android 7.0 (**not rooted**) and
* on a tablet running Android 4.4 (**root**),
but nevetheless I noticed that the application data (databases/files etc) is stored in different locations on each device:
On the tablet device the files are located at: `/storage/sdcard0/Android/data/com.packagename` and can be easily manipulated (i.e copy, back up etc) but not on the smartphone which likely leaves the storage location being: `/data/data/com.packagename` which I have no access to.
---
I understand that it is usually stored on `/data/data` (*protected internal app storage*) or `/storage/sdcard0/Android/data` (*storage on user's internal storage partition*), else on a SD card if present. In addition, a related question has been asked here: [Where Android apps store data?](https://android.stackexchange.com/q/47924/209414)
My biggest surprise is **why is this happening on the same application** (same version - sideloaded)?
This [reference page](https://developer.android.com/guide/topics/data/install-location) also explains how a developer can configure the default location of application data. It would have been understandable if there were different versions of the application, but here I am only dealing with the same application (i.e `.apk` file). Is there something I am missing here or things have changed in recent versions of Android?
My concern is that I can't access these files on `/data/data` without root and since these are large files and I need to back them up just in case the app data is accidentally cleared (and I have already done that by mistake :(.
Most importantly I don't want to **continuously download** them over again.
Note: Both devices have **no** external storage attached.
From the look of things the biggest obstacle is not being able to access files on `/data/data` (device 1), hence no backup possible...(I would appreciate if there is **another reliable workaround to achieve this**)<issue_comment>username_1: Hi if you have the same problem,It's probably the firewall on the computer or on the phone,Make sure first disable both and try again if worked get another firewall or adjust the ones you had to get them working.
Upvotes: 0 <issue_comment>username_2: I am not sure it may be this the case, or it may be helpful, but I got the same message, and it worked if I enable adb via WiFi with the command 'adb tcpip 5555' (from the PC) when the PC is connected to the phone hotspot but the phone is NOT connected to the internet (i.e., 3G is deactivated).
In short, I did the following:
1. Plug the device via USB
2. Restart the phone
3. Disable phone data
4. Enable phone hotspot
5. (adb usb)
6. adb tcpip 5555
7. Unplug the device
8. adb connect 192.168.43.1:5555
After that, I reactivated 3G on the phone, and I had both the internet hotspot and the adb connection, at the same time.
Upvotes: 1 |
2018/07/08 | 429 | 1,597 | <issue_start>username_0: I upgraded to Oreo about a week ago and I've noticed that all my apps' alerts now sound like my SMS alert.
This means that I either get constantly bothered by unimportant notifications (It's your turn in a game!, etc.), or I miss important notifications like most SMSs, because now now unimportant and important notifications sound the same.
With the new notification channels I can set a custom sound manually, but the last thing I want to do is customise every single notification on my phone, and I also don't know where the sound files are for the original sounds. It's just too much work.
How can I get Oreo to behave like Nougat in this regard?<issue_comment>username_1: Hi if you have the same problem,It's probably the firewall on the computer or on the phone,Make sure first disable both and try again if worked get another firewall or adjust the ones you had to get them working.
Upvotes: 0 <issue_comment>username_2: I am not sure it may be this the case, or it may be helpful, but I got the same message, and it worked if I enable adb via WiFi with the command 'adb tcpip 5555' (from the PC) when the PC is connected to the phone hotspot but the phone is NOT connected to the internet (i.e., 3G is deactivated).
In short, I did the following:
1. Plug the device via USB
2. Restart the phone
3. Disable phone data
4. Enable phone hotspot
5. (adb usb)
6. adb tcpip 5555
7. Unplug the device
8. adb connect 192.168.43.1:5555
After that, I reactivated 3G on the phone, and I had both the internet hotspot and the adb connection, at the same time.
Upvotes: 1 |
2018/07/10 | 1,067 | 3,660 | <issue_start>username_0: I get "Internet may not be available" on my new Samsung J5 Prime around every 5 minutes.
This did not happen with other Android devices on the same Wi-Fi router.
What can be the problem?
Model `SM-G570M`
Android `7.0`
[](https://i.stack.imgur.com/CNvoc.png)<issue_comment>username_1: As strange as it seems, I now have come to an understanding that this issue may be related to an IP address conflict between the router and the connecting device or at least a faulty DHCP implementation (*as discussed in some Samsung forums but for slightly different models*).
It could perhaps a bug related the way the router handles 2.4GHz <=> 5GHz switching, causing an uncomplete handover (5GHz SSID to 2.4GHz or vice versa) (*but users complain its worse when dealing with 5GHz only*)
---
A probable workaround is setting static IP address for the wi-fi:
>
> * Go to your wifi connections, long tap on the connected wifi, until it gives you option to manage network setting,
> * Then choose advanced option, and put your IP type on static, then use a new ip address (for example, if it's `192.168.1.x` change it to
> `192.168.1.y` where y can be a value 2-100 for simplicity )
> * Make sure that ip is empty in your router and your *gateway* is your **router IP address**, *first DNS* your router IP address,
> *second one* Google DNS (`8.8.8.8` or `8.8.4.4`) and save it, turn your wi-fi off and on.
>
>
>
You may preferentially set the wi-fi SSID to use the 2.4GHz range.
---
Acknowledgements
1. [S9 wifi internet may not be available](https://eu.community.samsung.com/t5/Galaxy-S9-S9/S9-wifi-internet-may-not-be-available/td-p/487016)
2. [Galaxy S8 Wifi Issues](https://us.community.samsung.com/t5/Galaxy-S8-Questions-and-Answers/Galaxy-S8-Wifi-Issues/td-p/108952)
Upvotes: 1 <issue_comment>username_2: Just bought a new Samsung J9 phone which had the same problem. I unsuccessfully tried various fixes but finally (should have done this first!) looked at the IP settings. The Ip was set to a static value of 192.168.0.100. However, my home network has IPs 10.1.1.xxx. When I changed the IP setting from Static to DCHP and switched the phone on and off, the problem was solved.
Upvotes: 0 <issue_comment>username_3: I found the following step worked for me.
* Make sure you are connected to the wif-fi network on your Android mobile phone
* Modern routers have a WPS button, normally next to the LAN connections. Depress that button. You should see the wireless symbol on the wireless router blinking.
* Now on the Android mobile phone go to Settings -> Connections -> WiFi, press on the three vertical dots on the top right of the screen
* Choose "Advanced"
* Click on "View More"
* Click on "WPS push button
* The WPS setup screen will appear and it should connect with your wi-fi router
Once connected, restart you mobile and the now you should be able to connect to the internet via wi-fi
Upvotes: 0 <issue_comment>username_4: This is the stupidest darn thing ever but SOME ROUTERS like Freedom home internet (aka Shaw) & their wifi hotspots from phones using the same ISP(Freedom mobile) have a security setting somewhere that leaves your device as "The internet may not be available" if your device is set to the Wrong. Dang. Timezone.
I'm serious. We spent 3 hours trying to fix it, and it was Google Chrome's "your connection might be unsafe" page that suggested updating your system time.
Flicked on "automatically detect time", the clock switched from 21:05 to 20:05 and the internet just magically turned back on. Tah-dah!
Upvotes: 1 |
2018/07/10 | 311 | 1,250 | <issue_start>username_0: I activated the notification dots on my Moto G6 following this process: Settings > Apps & notifications > Notifications > Allow notification dots, but the dots are not appearing.
Did I do something wrong? How can I solve this?<issue_comment>username_1: I am also having this issue. Notification dots are enabled on all apps but don't work.
I do not have any 3rd-party notification apps.
I have cleared the cache and data from the "Moto App Launcher" application and restarted it. No difference.
I did, just now, download an application for notifications and it works. So annoying. Moto App Launcher obviously has some issues/flaws.


Upvotes: 0 <issue_comment>username_2: Go to Special App access -> Notification Access -> Enable Moto App launcher
Upvotes: -1 <issue_comment>username_3: Make sure you do not have Data Saver turned on. This will prevent the notifications from appearing and will also cause email delivery issues.
Upvotes: -1 <issue_comment>username_4: Scroll down from top of screen. If it says 'Notifications paused by do not disturb', then that's the issue. Probably activated it by an accidental swipe/touch.
Upvotes: 0 |
2018/07/11 | 322 | 1,246 | <issue_start>username_0: Today I notice my Lenovo Vibe p1m is running slow. It coudn't open Chrome without freezing. The whole UI is basically sluggish. It also couldn't open the flashlight.
I have tried removing the sdcard and restarting in safe mode. Same slowness. I didn't install anything new so it's baffling what could cause it. I also can't open the Update screen of Google play because it freezes. I check the running apps section, RAM usage is just 700MB out of 2GB.
Looks like the phone is basically screwed for no logical reason. The phone is only 1.5 years old.
Any ideas what could cause this and how/what else could I diagnose?<issue_comment>username_1: After deactivating playstore and relative apps + whatsapp the pproblem is solved.
I dont activate playsrre again for now until I get a "lenovo" reply
Upvotes: 0 <issue_comment>username_2: Exactly this happened to me today, at morning I was watching videos, then I use the mobile again, and i cant even load youtube! Ill try deactivating some apps as username_1 said.
Deactivating some apps and uninstalling some helped, but mobile is still very slow :/
So I decided to factory reset my phone and everything is like normal, I have no clue what was the issue :/
Upvotes: 1 |
2018/07/12 | 247 | 949 | <issue_start>username_0: Since quite some time now, the Whatsapp Messenger icon is not the proper icon, but the Android green trashcan icon. The app in itself is working properly, it just looks funny on the home screen.
Reinstalling is an obvious solution, but I would loose my chat history. Wouldn't I?
CAT B15Q, Android 4.4.2 (I know, ancient).<issue_comment>username_1: After deactivating playstore and relative apps + whatsapp the pproblem is solved.
I dont activate playsrre again for now until I get a "lenovo" reply
Upvotes: 0 <issue_comment>username_2: Exactly this happened to me today, at morning I was watching videos, then I use the mobile again, and i cant even load youtube! Ill try deactivating some apps as username_1 said.
Deactivating some apps and uninstalling some helped, but mobile is still very slow :/
So I decided to factory reset my phone and everything is like normal, I have no clue what was the issue :/
Upvotes: 1 |
2018/07/14 | 572 | 2,066 | <issue_start>username_0: Hello, I am trying to setup **Android Studio 3.1.3** in a windows 10 x64 pro **VM**. I have installed `Android 6.0` in AVD for `ARM EABI` architecture on a Pixel.
However, when I try to launch the emulator I get
```
Emulator: audio: Failed to create voice `goldfish_audio_in'
Emulator: qemu-system-armel.exe: warning: opening audio input failed
```
and the emulator is just a black screen that does not respond to anything.
I have everything enabled in Virtual Box regarding hardware acceleration.
I checked these posts:
[Is it possible to run Android Device Emulator (via Android Studio 2) on VMWare?](https://stackoverflow.com/questions/36729150/is-it-possible-to-run-android-device-emulator-via-android-studio-2-on-vmware)
[“emulator: warning: opening audio input failed” displayed in the console while AVD is launching](https://stackoverflow.com/questions/11682829/emulator-warning-opening-audio-input-failed-displayed-in-the-console-while-a/21564682)
[Android Emulator: Audio Input Failed](https://stackoverflow.com/questions/38234091/android-emulator-audio-input-failed?rq=1)
but doesnt seem to get me anywhere...
I have also tried to disable sound in `config.ini` or disable the microphone in windows 10 VM but didnt change anything.
**Am I missing something here?**
**Is it impossible to run android emulator for `ARM` architecture on a VM?**<issue_comment>username_1: Uninstall Intel x86 Emulator Accelerator from windows control panel. Then install it again in android studio.
Tools => Android => SDK manager => SDK tools => Intel x86 Emulator Accelerator (HAXM installer).
Then make sure that you plug a microphone or a line - in cable to the input socket of your pc.
This is how I got my own issue disappeared.
Upvotes: 2 <issue_comment>username_2: Try reinstalling Intel x86 emulator accelerator, you can find it on your control panel
That should work,in case it doesn't work try reinstalling the entire android studio because sometimes it fails to download some plugins which causes this error.
Upvotes: 0 |
2018/07/14 | 1,487 | 6,190 | <issue_start>username_0: ### Why does Samsung not keep producing the Galaxy Note 4 and Galaxy Note 3?
These devices, despite of their release date as flaghsip device in 2014 and 2013 still perform very well, and are solid mid-class phones today.
A great example: **Note 3 (2013)** versus **A7 2018 (2018)**:
The Galaxy Note 3 is equipped with:
* Air View hovering controls and tooltips
* Air Gesture controls
* Humidity sensor (hygrometer).
* Temperature sensor (thermometer).
* 2160p video recording (yes, the **Galaxy A7 2018 still [only has 1080p at 30fps‼](https://video.stackexchange.com/questions/24327/video-recording-framerate-limitation-causes-e-g-1080p-at-only-60fps-despite-s)**)
* 1080p@60fps smooth video caputuring capabilities,
* Infrared transmitter,
* Slightly larger battery
* User-replaceable battery (thus custom back covers and wireless charging cover)
* S-Pen, the highly functional stylus.
* Multi-window pop-up windows with small minimum window size.
* Dark user interface (as known from legacy TouchWiz versions) with more icons **in addition to** the text, also in context menus.
* More customizeable and ultimately vibrant camera application user interface.
* Homescreen with more options, page slider and more drag/drop shortcuts such as AppInfo.
### All of which the A7 2018 has nothing.
Of course, the Galaxy A7 2018 has some advantages such as quick-launching camera, but **why does Samsung not keep producing previous flagships that could be an excellent mid-range device today?**
And features such as the camera quick launcher can simply be implemented via software updates that hopefully do not have side effects such as the uglified Lollipop user interface after updating S4, Note 3 and S5.
There is no *mid-range Galaxy Note* (there is LG G Stylo however), except Note 3 Neo, which got sold **much longer than original Galaxy Note 3 despite being not as good as the original Note 3.**<issue_comment>username_1: Well, there's 2 parts to your question:
* **older model phones:** I currently use a Samsung Galaxy S4, and I agree with you 100% that older flagship smartphones are still excellent devices for today. Features like a removable battery are going extinct, and that's a deal-breaker for me. Some of these older flagship smartphones are still available for purchase new, just maybe not from where you'd expect.
* **why don't they do this:** Well, a lot of engineering work goes into designing a new device, so manufacturers need to meet certain sales volumes to recoup costs. Also, manufacturing older devices runs into the issue of taking up "resources" (assembly line time, warehouse space) that could be better spent on the newer model. Finally, older phones use different components than current phones. Some of these components may no longer be available, or the contract to supply them has expired, or new contracts for new suppliers for components of newer devices prevents them from entering contracts with older suppliers ("exclusive supply").
Upvotes: 2 [selected_answer]<issue_comment>username_2: There's a few factors at play here, some of them technical, some commercial. Don't forget that when Apple introduced this policy of introducing new generations of iPod with more features and completely discontinuing the old ones, people praised them for going counter to the tech industry norm of dropping the price of older models, which was seen as price-gouging of early adopters.
Costs don't work like that
--------------------------
The per-unit cost of making each phone doesn't decrease as the phone model gets older, because the components don't get any cheaper, so the margins would have to decrease in order to reduce the price point of the old models. Although the up-front cost of designing the phone has been paid off, there is an ongoing cost of porting new Android versions and/or backporting security fixes. People already get annoyed when their old phone doesn't get the latest Android version, and this would be even worse when their ex-flagship phone is already stuck on an old version out of the shop.
Can't always support new versions
---------------------------------
The Android version problem is even worse than it looks. Sometimes new features require new hardware components to support, for example NFC host emulation for Android Pay, or Bluetooth LE. Sometimes these components are mandatory for supporting a new Android version. The old flagship phone wouldn't be able to keep getting Android updates, while a new budget phone would.
Even when there's no new headline features, the phone OEM is also at the mercy of their component vendors, who have to supply drivers for parts like the GPU, video codec hardware, cellular modem. They don't want to support new Android versions on their old hardware either, because they have the same problem with decreasing margins. If OEMs demanded longer support, component vendors would have to increase their component prices, which would make even the flagship phones more expensive.
Software integration is a variable cost
---------------------------------------
We've already mentioned that the software integration is a large part of the up-front cost of developing a new model, but it's not the same cost for every model. Flagship phones, with their slick camera app, swanky box features, and performance optimisations, cost a lot more to develop than budget phones. This is part of why the budget phones can be cheap in comparison.
Branding
--------
One last commercial reason is that having a separate budget phone range allows the OEM to differentiate their products better. Samsung (to use your example) doesn't want the Note range tainted with the idea that it's old technology, and discontinuing old models allows them to avoid that. Keeping the budget range with a separate name allows it to be better associated with the price point it's targeted at.
Summary
=======
It wouldn't be possible to offer last year's flagship phone at the same price point as this year's budget phone, it would make it harder for the OEM's marketing, and the decision of when to stop support wouldn't be entirely under the OEM's control any more.
Upvotes: 2 |
2018/07/15 | 411 | 1,614 | <issue_start>username_0: Sorry if I am misusing 'instances'. What I mean is the following: I want to run an master OS. The 'only' thing that master OS does is let me boot/kill/switch between OS 1, OS 2, OS 3, etc. I want apps to believe they run on a normal Android phone. So if I run app X on two OS, namely 1 and 2. I want each instance of app X to believe it runs on a different machine. I understand you can do this with a dual boot. However I want both OS at the same time. I interact within OS 1 and switch to OS 2 to continue where I left.<issue_comment>username_1: Sounds like you want an Android virtual machine host, like VMWare on desktops/servers.
As far as I know, there are no Android OS virtual machine hosts that can host Android OS virtualized instances. (There are desktop/server hosts that can host Android OS guests though--think AVD, GenyMotion, etc.) I'm guessing an Android host isn't a common case, to want to virtualize multiple instance on a single embedded device. And because of the complexity in doing that, it would have to be pretty low level, maybe even tied to specific devices. So it is unlikely someone will create one any time soon. Sorry.
Upvotes: 1 <issue_comment>username_2: Dual boot even on computers usually only boot 1 at a time. There are dual boot setups for some android devices. What you are trying to do wouldn't work in a dual boot set up. Check out island [XDA Link](https://forum.xda-developers.com/android/apps-games/closed-beta-test-incoming-companion-app-t3366295), which allows the same app being run as two separate instances on the same device.
Upvotes: 0 |
2018/07/17 | 496 | 1,714 | <issue_start>username_0: I've tried everything I could find on the internet (mostly on *StackOverflow*).
These I've already tried without result:
1. [*Page not found - Stack Overflow*](https://stackoverflow.com/questions/51082608/is-it-possible-to-authorize-adb-on-my-android-phone-with-a-broken-screen)
2. [shell - How to solve ADB device unauthorized in Android ADB host device? - Stack Overflow](https://stackoverflow.com/questions/26213954/how-to-solve-adb-device-unauthorized-in-android-adb-host-device)
3. [android - running adb devices showing unauthorized device? - Stack Overflow](https://stackoverflow.com/questions/25236960/running-adb-devices-showing-unauthorized-device)
**Both screen AND touch are broken so I can't see nor touch a thing.** (So the OTG mouse option can't be used in my case.)
The device is a *Huawei Ascend P7 L10, Lollipop 5.1.1.*
* It's rooted.
* It has TWRP recovery.
* USB Debugging is enabled.
* I'm using the latest ADB version, updated from Android Studio.
I entered recovery mode, done `adb push adbkey.pub /data/misc/adb/adb_keys` and rebooted, after reboot adb keeps saying devices isn't authorized.
I entered recovery checked if the file copied on the device was still the same as the one in the *.android* folder, and it was the same key.
If anybody has any idea I'm all ears. Thanks in advance.<issue_comment>username_1: The only other thing I could find is for you to use *adb kill-server* and check again with *adb devices.* You seem to have done everything you can. :(
Upvotes: 0 <issue_comment>username_2: I think you should try SCRCPY module which will give you the access to your screen and you can do all the things from the PC
Which device??
Upvotes: -1 |
2018/07/19 | 203 | 805 | <issue_start>username_0: I have a Samsung FGalaxy 7 using Android version 8.0.0. I have an app that is on my list of apps to run (and it does run), but it does not show in Play Store so that I can uninstall it. I tried finding it within Play Store, thinking that reinstalling it would clean up the app listings so I could uninstall it, but it looks like the app is no longer on there.
How can apps be uninstalled outside of Play Store?<issue_comment>username_1: The only other thing I could find is for you to use *adb kill-server* and check again with *adb devices.* You seem to have done everything you can. :(
Upvotes: 0 <issue_comment>username_2: I think you should try SCRCPY module which will give you the access to your screen and you can do all the things from the PC
Which device??
Upvotes: -1 |
2018/07/20 | 367 | 1,351 | <issue_start>username_0: As far as I can tell from looking at the settings, all I can do is listen to the podcasts, and then the program will delete them. I'd prefer if it didn't download them unless I tell it to, and allow me to delete them when I'm done listening to them. I have a Lenovo TAB3 with Android 6.0 Marshmallow on it.<issue_comment>username_1: >
> I'd prefer if it didn't download them unless I tell it to...
>
>
>
Unless you click on the 3 dots (top right) to download, it won't. And you can remove downloads from same place
>
> .... allow me to delete them when I'm done listening to them
>
>
>
Settings → Disable *Delete Played episodes*
For more understanding on how the app works see this [YouTube Video](https://www.youtube.com/watch?v=iKUaFKl7B5I&feature=youtu.be)
Upvotes: 1 <issue_comment>username_2: Here is what you do:
1. Click the second icon from the left on the top that looks like a broadcast radio tower.
2. Down from that on the second toolbar from the top click "Downloads"
3. Click ""Downloaded"
4. Below there will be a list of podcasts that have been downloaded, select the one you want to delete, press your finger on it until a delete button is displayed in the center of the screen, and when you click that it will be deleted, it should free alot of space on the device.
Upvotes: 1 [selected_answer] |
2018/07/20 | 617 | 2,302 | <issue_start>username_0: How can I listen to Youtube with my screen off without a Youtube Premium subscription<issue_comment>username_1: A simple method is to use [Firefox for Android](https://play.google.com/store/apps/details?id=org.mozilla.firefox&hl=fr).
Once installed, install the extension [Video Background Play Fix](https://addons.mozilla.org/en-US/firefox/addon/video-background-play-fix/)
Go on youtube.com and enjoy your best video/podcast/music screen off.
You also can add [ublock Origin](https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/?src=search) to Firefox to block any advertisement as well.
Upvotes: 2 [selected_answer]<issue_comment>username_2: There is a solution,
if you want to listen YouTube song even when your android phone is locked. To do that you have to use chrome browser in android phone. Open YouTube in chrome browser and request as Desktop Site and search for the song which you want to listen then minimise it. The song will be paused then, from the notification you can tap on the play(▶). By doing this you will be able to listen YouTube videos in your phone even if it is locked.
I hope this will help you.
Upvotes: 2 <issue_comment>username_3: You can download: YouTube Vanced. I am using this app myself and it works like a charm. You can also turn off the screen and still hear the music playing.
Upvotes: 2 <issue_comment>username_4: [OGYoutube](https://ogyoutube.en.uptodown.com/android/download) can play with screen off.
But oddly it cannot play while minimized, which means you can only listen when not using the phone with other apps.
Upvotes: 0 <issue_comment>username_5: I think [HBTube](https://hbtube.online/#eluid39a8eda2) is the best answer for your case at the moment. You can see my question [here](https://android.stackexchange.com/questions/228725/how-to-download-video-from-youtube-framatube-media-ccc-or-mp3-from-soundcloud).
After few days used it, I want to share it to everyone. It allow to **download video from multi-channel like Youtube, FramaTube, Media CCC or audio from SoundCloud**.
You can do other tasks while watching videos on Youtube, learning on Media CCC or join conferences on Media CCC. Even it allows **play music with screen off**.
I hope this will solve your issue.
Best regards,
Lee
Upvotes: 0 |
2018/07/20 | 404 | 1,320 | <issue_start>username_0: i can't figure it out how to do this and all other tutorials are outdated and i have not some options they do (like a check box next to the time to set variable). so please don't mark this question as duplicate.
with that said; i have a profile which turn WiFi on when i unlock my phone. i want that to also ping Google DNS and if it get time out turn WiFi off if not keep the wifi connected.<issue_comment>username_1: You can create a task to ping Google DNS as follows:
Task → Code → Run Shell
Command: `ping -c 2 8.8.8.8` [Store Output In: `%stdout`] [Continue Task After Error: **checked**]
>
> `If` `%stdout` ~ *100% packet loss*
>
>
> google servers unreachable
>
>
> `Else`
>
>
> connectivity established
>
>
> `End If`
>
>
>
[](https://i.stack.imgur.com/qowjcl.png)
Add this to your main task with either keeps wi-fi conection or switches it off.
Credits
[Run shell 'ping' with tasker](https://groups.google.com/forum/#!topic/tasker/UziXuzUUZ_k)
Upvotes: 2 [selected_answer]<issue_comment>username_2: You don't need the complexity and performance hit of "shelling out", you can do this with Tasker native commands. Use command "http get", then check the HTTP return code in %HTTPRC (or sonething like that:-).
Upvotes: 0 |
2018/07/20 | 346 | 1,089 | <issue_start>username_0: I made a modification on a system app but it should be signed with the same certificate as the Firmware to work properly, is there any workaround to bypass this ?<issue_comment>username_1: You can create a task to ping Google DNS as follows:
Task → Code → Run Shell
Command: `ping -c 2 8.8.8.8` [Store Output In: `%stdout`] [Continue Task After Error: **checked**]
>
> `If` `%stdout` ~ *100% packet loss*
>
>
> google servers unreachable
>
>
> `Else`
>
>
> connectivity established
>
>
> `End If`
>
>
>
[](https://i.stack.imgur.com/qowjcl.png)
Add this to your main task with either keeps wi-fi conection or switches it off.
Credits
[Run shell 'ping' with tasker](https://groups.google.com/forum/#!topic/tasker/UziXuzUUZ_k)
Upvotes: 2 [selected_answer]<issue_comment>username_2: You don't need the complexity and performance hit of "shelling out", you can do this with Tasker native commands. Use command "http get", then check the HTTP return code in %HTTPRC (or sonething like that:-).
Upvotes: 0 |
2018/07/21 | 714 | 2,882 | <issue_start>username_0: When writing lists in Google Keep, sometimes infuriating Clippy-style auto suggestion popups appear, suggesting different things starting with the same word that another person might have wanted to write. These popup boxes are distracting and get in the way, usually overlapping the space I want to press to move to the next item in the list and obstruct seeing what I've written.
I want to turn this feature off. I've been through the settings and help, but there doesn't seem to be any option to turn it off. I've also sent feedback through the app asking for an option to turn it off to no avail.
Looking at the forums, I see people have been asking for a way to turn this off since 2016. There's a common old suggestion that it only turns on if something relating to "Shopping" is in the list title - but in 2018 I still get the popup plague even on lists with no title.
Is there any roundabout way to disable this which works?<issue_comment>username_1: There are some workable workarounds buried in [this forum thread](https://productforums.google.com/forum/#!topic/docs/3Q61nAY1pfo).
**The simple way (which makes writing lists take slightly longer):**
* Initially, create the list as a normal note with one line per item (not a checkbox list)
+ OR if it's already created as a checkbox list, press 'Hide checkboxes' under the three vertical dots in the top right. Unfortunately this causes Keep to forget which items were ticked.
* Finish writing or editing the list
* Press the '+' in the bottom left corner, then press 'Tick boxes' to turn it back into a check list
**The more involved way (which in theory, you can do once then forget about)**
* Install a url filter like an adblocker and add the URL for Google's "show some popups of things I didn't type" service to the list of banned addresses. I've not tried this, so I can't guarantee it works - in particular, I don't know if it requires rooting the device or not (please comment if you have tried something like this). Two suggestions from that post:
+ The app uBlock, then going to "Settings -> My Filters" and adding `https://taskassist-pa.clients6.google.com/v2/taskassist:suggest*`
+ AdBlock, then going to "Customize > Manually edit your filters" and adding `/v2/taskassist:suggest$domain=taskassist-pa.clients6.google.com`
Don't forget to also go to "Help & feedback" in the app and tell Google that you want a normal option to turn off auto suggestions.
Upvotes: 2 <issue_comment>username_2: I deleted the keyword, made a new keyword, and the old keyword suggestion was gone. I think it only started doing it when I made the first word say "breakfast" in capital letters.
Upvotes: 0 <issue_comment>username_3: Start each list item with a space. That way, you still get your keyboard's auto suggestions but you don't get the annoying Keep ones.
Upvotes: 2 [selected_answer] |
2018/07/21 | 497 | 1,900 | <issue_start>username_0: I get these types of full screen ads as soon as I charge my phone:
[](https://i.stack.imgur.com/7Ro6X.png)
I don't even have to unlock the screen, the ad sound starts playing as soon as I plug in my phone. In order to get rid of it, I installed a third party app called `Blokada` and it worked and if I see which all ads are popping up, the app says that the ads are:
1. app.adjust.com
2. mobile.pipe.aria.microsoft.com
So I guess these ads are responsible for those intrusive popups. I have tried multiple antivirus applications but none of them showed that I have any virus/malware. Is there anyway I can remove these adwares from my phone ?<issue_comment>username_1: It isn't a Virus. So, no anti-virus or malware scanner will catch this.
It is just an app which adds lockscreen ads to your device while charging. These ads are set so that they only appear while charging. Some apps even advertise that this makes the device charge faster.
Such ads are included with many free apps and you need to find out which app is showing them on your lockscreen. The most usual culprits are - Avast Anti-virus (Yes!), ES File explorer (the probably stopped now), UC Browser, Xender, Clean Master, and many other so called *device booster*, battery booster, CPU booster, memory booster type apps.
I'm sorry but you'll have to figure it on your own from this point. It is impossible to pin-point a particular app because there are just so many of then which do this.
Upvotes: 3 <issue_comment>username_2: I just found that "email all in one" was causing this problem on my Samsung android phone. I uninstalled it, unplugged the charger plugged it back in, and no ads popped up, nor the annoying "fast charge" option, which i never used, but the "Not now" box could not be selected because it was greyed out!
Upvotes: 0 |
2018/07/21 | 519 | 1,921 | <issue_start>username_0: In Android Oreo 8.1 (on a Motorola device), is it possible to create offline (aka "local" or "non-synced") contacts?
This was fairly easy on previous Android versions, but I'm not seeing a way to do it on Android Oreo 8.1.
On Oreo 8.1, everything seems to get synced to an account.<issue_comment>username_1: **Edit:**
It seems that Motorola's Contact app has no support to add offline contacts. I tried installing the APK of Contacts from Motorola and it doesn't show SIM or Phone as an option to save contacts.
However, it does show (in search and normal listing) the contacts which are already stored on the phone or SIM.
So, what you can do is to use a 3rd party contacts app to add contacts on your phone. Then you can continue to use the stock contacts app to access them and dial.
[Google contacts](https://play.google.com/store/apps/details?id=com.google.android.contacts) is a nice app which closely resembles Moto contacts, but does come with the ability to store contacts on the device.
**Original answer and mostly irrelevant:** Leaving just because there are comments related to it.
When creating a new contact, you will have the options to choose where to save the contact.
Simply choose *Phone* or *SIM* from the *Saving to* drop-down and you should be good to go. Here's how it looks on my Nokia 7. It is on Android 8.1 as well. I know the Motorola implementation will slightly vary, but it will be overall the same.
[](https://i.stack.imgur.com/RkWJDl.png)
Upvotes: 1 <issue_comment>username_2: On Android devices without an option to save contacts locally (either to the phone or the SIM), you can use FJ Software's [MyLocalAccount](https://play.google.com/store/apps/details?id=com.fjsoft.mylocalaccount) (which you can choose to sync to your Google account or not as you wish).
Upvotes: 2 |
2018/07/22 | 961 | 3,487 | <issue_start>username_0: I am complete novice on adb. When it comes to Android I could be classified as "dumb user" - trying however to get one level up, hence playing with adb:
```
$ ./adb shell
error: device not found
$ ./adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
```
Looks like adb cannot see the connected device.
How to rectify the problem?
For your info:
* the device is visible and I can copy files to/from it
* I went through the steps suggested below and still no luck
* I tried connecting the phone to different USB ports - my comp has 2 USB controllers - one USB 3.0 and one USB 2.0
Steps to enable USB debugging on my device with 7.0 Nougat Android:
1. Go to "**Configuration**"
2. Go to "**About Telephone / Android 7.0**"
3. Click several times "**Build Number**" until message "**You're now developer**" appears
4. Go back to "Configuration" - "**{} Developer options**" are now visible - go inside
5. A number of fabulous options appear - switch-on "**USB Debugging**"
I am using Linux and I would prefer to stay away from Windows.
Still no luck - device not found<issue_comment>username_1: Check `adb devices`. If no device shows up follow the steps below.
First, check to make sure USB Debugging is enabled. On most devices:
1. Go into 'About Phone', 'About Device', or 'About Tablet'
2. Find 'Build Number'. It's location varies from devices to device, but look for menus such as 'Software Information'
3. Tap 'Build Number' until you see a message saying 'You are now a developer'. If you see a message saying something along the lines of 'This option has been disabled by your administrator', I'm sorry to say you will need to reset your device to use ADB. You could also talk to your administrator.
4. Go back to the main settings page. At the bottom, you should now see 'Developer Options'. Tap it.
5. A warning may display. Read it carefully, and decide at your own risk.
6. Scroll until you find 'USB Debugging'. Tap it. You will see another warning. Read. Decide.
7. Connect your device to your computer. Run adb shell. A dialog box will pop up asking if you trust your computer. Tap yes.
Congrats! It should now work.
If that doesn't work, try different cables, phones, computers, and try to find what is the problem. Google is, as always, your friend.
Upvotes: 3 <issue_comment>username_2: OK, I did it. Apparently I was using some old adb binary that came with app I wanted to use. After I installed the one available in repo, as suggested by this [website](https://www.androidexplained.com/how-to-install-adb-and-fastboot-on-linux/), It now sees the device:
```
$ sudo add-apt-repository ppa:phablet-team/tools
[sudo] password for admin:
More info: https://launchpad.net/~phablet-team/+archive/ubuntu/tools
Press [ENTER] to continue or ctrl-c to cancel adding it
-- ciach
$ sudo apt-get update
Hit:1 http://pl.archive.ubuntu.com/ubuntu xenial InRelease
-- ciach
$ sudo apt-get install android-tools-adb android-tools-fastboot
Reading package lists... Done
Building dependency tree
Reading state information... Done
-- ciach
$ adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
$ adb devices
List of devices attached
0123456789ABCDEF unauthorized
-- click "Authorize" on the device
$ adb devices
List of devices attached
0123456789ABCDEF device
```
Upvotes: 1 [selected_answer] |
2018/07/22 | 355 | 1,289 | <issue_start>username_0: This was the most recent article I found on it:
<https://www.howtogeek.com/303489/how-to-disable-the-profanity-filter-in-google-assistant/>
Problem is that the triple dot dropdown menu isn't there. I have an icon that looks like a new email message and one that looks like a compass needle. I've searched the settings for "censor" and "block" and there are no results.
How do I stop it from turning "fuck" into "f\*\*\*" in Android 7? LG G5<issue_comment>username_1: On Android 7.1.2, I go to:
* Settings
* Language and Keyboard
* Keyboard and Input Methods / Google Voice Typing
"Block offensive words" is 2nd from the bottom. I've tried toggling it successfully. This works for me when I use Google Keep.
Upvotes: 0 <issue_comment>username_2: The LG rebel 3 running Android nougat 7.0 there are a couple of paths to the Block offensive words toggle.
First it spelled f\*\*\* missing the k but then I manually typed in the word. When I tried by voice after that it was spelled properly and fully.
The path's to the Block offensive words toggle are:
1. /Language & Keyboard --> Google voice typing --> Block Offensive words toggle.
2. /Google services --> Search, Assistant, Voice --> Voice --> Block offensive words toggle.
Upvotes: 2 [selected_answer] |
2018/07/22 | 417 | 1,688 | <issue_start>username_0: My Nokia 6 always made the Nokia theme tune when it was turned on from being completely off. However, for a short period, I had another user account on my phone and it didn't make the noise every time, but there were still a few instances where it did.
**I've Tried**
* Putting my phone in Do Not Disturb
* Using the Complete Silence DND option
* Having my phone on silent
* Aeroplane Mode
* Having my phone on charge and off charge makes no difference
* Looking for a setting that turns it off(suggested in a previous anwser)
All of these were done before I turned the phone completely off.
I've done some research on Nokia forums and other sites and most answers suggest one of the following above but none of the above have worked.
Now I have removed the other user and I am running the single user account with no guest user. It is making the noise more, but not every time as before I would say that it's roughly 40% of the time it makes the noise now.
Is the fact that I created the other user account linked to the noise stops, its the only thing I changed on my phone which is why I'm making that assumption.
Is there any way to stop the noise compleat as it can be annoying(and embarrassing) when turning my phone on in public?
I'm running Android 8.1.0<issue_comment>username_1: Some Android phones allow going into Settings > Sound and finding a option called something along the lines of 'Startup Ringtone'.
Upvotes: 1 <issue_comment>username_2: Just place your finger over the speaker on the bottom of the phone on the right, it completely blocks the sound and only takes a second. I use this method every time and it works 100%.
Upvotes: 0 |
2018/07/24 | 1,176 | 4,809 | <issue_start>username_0: is it possible to get location via a cellular network if the device doesnt have a data plan?
or does it need a data plan to be able to get location via a cellular network?
is a data plan needed to get location via a cellular network?<issue_comment>username_1: Yes, that is possible without a data connection by e.g. using **UnifiedNLP** and a corresponding [location provider](https://android.izzysoft.de/applists/category/named/travel_positioning_various#group_1017). I e.g. use the [LocalGsmNlpBackend](https://f-droid.org/packages/org.fitchfamily.android.gsmlocation/), which downloads a selection of the [OpenCellId](https://opencellid.org/) database (for the area I need) to the device for local usage. That database contains the positions of cell towers. As you are booked into at least one of those, your coarse location can be estimated. Add another location provider which is e.g. WiFi based for more accuracy if you wish. Apart from downloading the data (preferably while connected to your home WiFi), this works completely without a data connection.
Make sure you pick the correct UnifiedNLP package, depending on whether your device has the Google framework installed (stock ROM usually has this, or if you use a custom ROM but have GApps installed) or use a custom ROM without GApps.
For a more detailed description, please see my article [Android without Google: microG](https://android.izzysoft.de/articles/named/android-without-google-5a), which discusses the variant on a device without Google framework.
Upvotes: 1 <issue_comment>username_2: On Android, apps can be granted location via two types of permissions: `android.permission.ACCESS_COARSE_LOCATION` and/or `android.permission.ACCESS_FINE_LOCATION`
from <https://developers.google.com/maps/documentation/android-sdk/location#location_permissions>
>
> android.permission.ACCESS\_COARSE\_LOCATION – Allows the API to use WiFi or
> mobile cell data (or both) to determine the device's location. The API returns the location with an accuracy approximately equivalent to a city block.
>
>
> android.permission.ACCESS\_FINE\_LOCATION – Allows the API to determine as precise a location as possible from the available location providers, including the Global Positioning System (GPS) as well as WiFi and mobile cell data.
>
>
>
So if the app is giving you the weather, all the app needs `ACCESS_COARSE_LOCATION` which will give the user location good for a 10s of meters radius which is good enough to know where that person is for weather conditions. This level of accuracy can be done with WiFi or data via cellular towers.
If the app is a ride share app, then `ACCESS_FINE_LOCATION` is needed as will give the user location to a few meters. This will use GPS to get the location of the user.
So now we get to your question:
>
> is it possible to get location via a cellular network if the device doesnt have a data plan?
>
>
>
If the mobile device has no data plan via cellular network AND no data via WiFI then apps don't get `COARSE_LOCATION` without a distinct `Location Provider` (see @username_1 answer).
Note that at least in the United States carriers are required to support E911 which in an emergency is supposed to be able to provide location of the phone to emergency authorities.
If you are disconnected from any network Cellular, disconnected from WiFi and not using a specialized `Location Provider` then GPS will be able to get your location coordinates. Calculating those coordinates requires data which is provided in the signal from the satellites, but due to the low bandwidth will take many minutes. Coordinates alone doesn't make an app as any mapping app would need to pre-cache your map data (streets, landmarks, rivers, etc.) from when you did have data to when you don't have a data connection. Having a data connection will speed up the calculation for `FINE_LOCATION`.
Upvotes: 1 <issue_comment>username_3: There are two basic ways of geolocating a device:
1. Use a global navigation satellite system such as GPS, Glonass, Beidou, or Galileo. No data connection is required, but having one speeds up time to first fix.
2. Look for local radio transmitter IDs, and look these up in a database. The radio technology can be cellular, WiFi, or Bluetooth; the principle is the same.
If you do not carry the database on the device (the normal case), then you need a data connection of some sort. The data connection does not need to use the same set of transmitters used for the location lookup; you can look WiFi IDs using a cellular data connection, or you can lookup cellular IDs on a WiFi data connection.
If you carry the database on the device, you do not need a data connection. Lookup the ID on your local database, as in username_1's answer.
Upvotes: 0 |
2018/07/22 | 652 | 2,385 | <issue_start>username_0: I accidentally formatted my Android phone's storage partition while updating to Android Oreo today. When I tried to restore the backup I realized that the backup of the data partition had failed and basically is an empty file with 0 Bytes.
I would like to run PhotoRec over it but I'm somehow unable to get my phone into mass storage mode. It seams like Google has ditched it for MTP. I tried some apps from XDA but none of them really worked with my device. I was able to get the external SD mounted but not the internal storage. The custom recoveries that are available for my device only support MTP as well.
Does anyone have an idea how it could be possible to recover my files? I'm rooted and bootloader is unlocked.<issue_comment>username_1: You can't do that. Google has made MTP the default since version 3.0 and remove mass storage mode completely years ago in Android 4.0
* [No USB MASS STORAGE Support!!? Only MTP PTP?](https://forums.androidcentral.com/google-samsung-galaxy-nexus/134613-no-usb-mass-storage-support-only-mtp-ptp-4.html)
* [Enabling USB Mass Storage in Android Kitkat 4.4.2](https://groups.google.com/forum/#!topic/android-porting/mYv79PQ-Nig)
* [Any way to get USB Mass Storage instead of MTP?](https://forum.xda-developers.com/showthread.php?t=2023066)
* [Why Do New Versions Of Android Not Support USB Mass Storage Mode?](https://www.reddit.com/r/Android/comments/1aqjd0/why_do_new_versions_of_android_not_support_usb/)
If you want to do things directly on the data partition you have 2 ways
* Run command in adb shell
* Start in recovery mode (if you're using a custom ROM)
Since you're running a restore from backup, I assume you're on a custom ROM and still have the backup file with you, why don't just do the restoration again?
Upvotes: 1 <issue_comment>username_2: You can see my answer to [Why can't I see Android storage as a partition on PC?](https://android.stackexchange.com/questions/205251) for methods to enable UMS and make `/data` (`userdata`) appear as a partition on PC, which can be mounted on Linux.
Other options to access internal storage at block level are answered in [How to take full image backup of partitions or eMMC?](https://android.stackexchange.com/questions/203891) and [How to recover a deleted file from /data partition?](https://android.stackexchange.com/questions/208106).
Upvotes: 0 |
2018/07/25 | 1,053 | 3,524 | <issue_start>username_0: How can I enable immersive/fullscreen mode in Termux?
I want to hide the bars at the top and bottom of the screen so that the entire screen displays the terminal.
In summary, I'm looking for *either* a configuration option for enabling fullscreen mode in Termux, without reconfiguring (or rooting) my device and without connecting an external device, *or* an explanation of what happened to the fullscreen option mentioned in some parts of the documentation, if it has been removed.<issue_comment>username_1: I could have sworn immersive mode was a feature of Termux... You can still use immersive mode via ADB (or root, if you have that).
Hide both status and navigation bar: `adb shell settings put global policy_control immersive.full=com.termux`
Hide status bar only: `adb shell settings put global policy_control immersive.status=com.termux`
Hide navigation bar only: `adb shell settings put global policy_control immersive.navigation=com.termux`
Turn off immersive mode: `adb shell settings put global policy_control immersive.off=com.termux`
Upvotes: 2 <issue_comment>username_2: The fullscreen mode was removed in December 2017 due to the claim of complication with the multi-window and translucent status bar & navigation bar.
This was reported in [#507 - Fullscreen / immersive mode option is gone](https://github.com/termux/termux-app/issues/507)
>
> I have noticed that fullscreen option was missing, I have looked at recent commits and it looks that it was removed from sources.
>
>
> kracejic - Dec 14, 2017
>
>
>
---
>
> Since it hasn't been mentioned why it was removed, here's the [commit](https://github.com/termux/termux-app/commit/de4f334e24a0676aa21d577f229dfaa4f595f9a0)
>
>
>
> >
> > **Remove the fullscreen setting**
> >
> > Trying to use fullscreen doesn't work well in a multi-windowed world
> > and makes using translucent navigation and status bars more complicated.
> >
> >
> >
>
>
> [hyperpallium - Jul 28, 2018](https://github.com/termux/termux-app/issues/507#issuecomment-408579387)
>
>
>
Upvotes: 2 <issue_comment>username_3: Volume Up+K → variant to toggle extra keys view
Reference : <https://wiki.termux.com/wiki/Touch_Keyboard>
Upvotes: -1 <issue_comment>username_4: Since v0.107 (around Feb 2021), the fullscreen mode was added back with a fix to the Extra Keys issue. This should be configured manually through the property file.
From [Termux Wiki - Terminal Settings](https://wiki.termux.com/wiki/Terminal_Settings)
>
> The Termux terminal can be configured by creating the file `~/.termux/termux.properties`. This file uses a simple `key=value` property syntax and allows configuring the properties listed below.
>
>
> After changing the properties file the changes will take effect either by executing `termux-reload-settings` or by restarting the Termux app (closing all sessions and starting the app again).
>
>
> ### FullScreen Mode
>
>
> v0.107 added option to enable fullscreen mode by specifying:
>
>
>
> ```
> fullscreen = true
>
> ```
>
> Note: It is likely that with fullscreen enabled, the Extra Keys view may no longer be visible. To fix, enable this workaround:
>
>
>
> ```
> use-fullscreen-workaround = true
>
> ```
>
> *Fullscreen may not work well for all devices so consider it unstable for now.*
>
>
>
---
Related pull request and discussion: [#1911 - Implement full screen and add FullScreenWorkAround to fix ExtraKeysView](https://github.com/termux/termux-app/pull/1911)
Upvotes: 2 |
2018/07/28 | 1,033 | 3,330 | <issue_start>username_0: I have an Alcatel-4060A mobile and the internal storage is forever full. I only have two games and maybe 4 pics downloaded. Since I buy an 8 GB sd card. It only lets me download 4 apps on sd . Also says I'VE still got 7.28GB free on sd card. Won't let me download anymore apps. Please Help!<issue_comment>username_1: I could have sworn immersive mode was a feature of Termux... You can still use immersive mode via ADB (or root, if you have that).
Hide both status and navigation bar: `adb shell settings put global policy_control immersive.full=com.termux`
Hide status bar only: `adb shell settings put global policy_control immersive.status=com.termux`
Hide navigation bar only: `adb shell settings put global policy_control immersive.navigation=com.termux`
Turn off immersive mode: `adb shell settings put global policy_control immersive.off=com.termux`
Upvotes: 2 <issue_comment>username_2: The fullscreen mode was removed in December 2017 due to the claim of complication with the multi-window and translucent status bar & navigation bar.
This was reported in [#507 - Fullscreen / immersive mode option is gone](https://github.com/termux/termux-app/issues/507)
>
> I have noticed that fullscreen option was missing, I have looked at recent commits and it looks that it was removed from sources.
>
>
> kracejic - Dec 14, 2017
>
>
>
---
>
> Since it hasn't been mentioned why it was removed, here's the [commit](https://github.com/termux/termux-app/commit/de4f334e24a0676aa21d577f229dfaa4f595f9a0)
>
>
>
> >
> > **Remove the fullscreen setting**
> >
> > Trying to use fullscreen doesn't work well in a multi-windowed world
> > and makes using translucent navigation and status bars more complicated.
> >
> >
> >
>
>
> [hyperpallium - Jul 28, 2018](https://github.com/termux/termux-app/issues/507#issuecomment-408579387)
>
>
>
Upvotes: 2 <issue_comment>username_3: Volume Up+K → variant to toggle extra keys view
Reference : <https://wiki.termux.com/wiki/Touch_Keyboard>
Upvotes: -1 <issue_comment>username_4: Since v0.107 (around Feb 2021), the fullscreen mode was added back with a fix to the Extra Keys issue. This should be configured manually through the property file.
From [Termux Wiki - Terminal Settings](https://wiki.termux.com/wiki/Terminal_Settings)
>
> The Termux terminal can be configured by creating the file `~/.termux/termux.properties`. This file uses a simple `key=value` property syntax and allows configuring the properties listed below.
>
>
> After changing the properties file the changes will take effect either by executing `termux-reload-settings` or by restarting the Termux app (closing all sessions and starting the app again).
>
>
> ### FullScreen Mode
>
>
> v0.107 added option to enable fullscreen mode by specifying:
>
>
>
> ```
> fullscreen = true
>
> ```
>
> Note: It is likely that with fullscreen enabled, the Extra Keys view may no longer be visible. To fix, enable this workaround:
>
>
>
> ```
> use-fullscreen-workaround = true
>
> ```
>
> *Fullscreen may not work well for all devices so consider it unstable for now.*
>
>
>
---
Related pull request and discussion: [#1911 - Implement full screen and add FullScreenWorkAround to fix ExtraKeysView](https://github.com/termux/termux-app/pull/1911)
Upvotes: 2 |
2018/07/28 | 5,139 | 15,275 | <issue_start>username_0: I have had my Z2 Play for half a year, and soon after I got it I unlocked the bootloader with Motorola's official method, installed TWRP, rooted it with Magisk and installed Xposed Framework. I was on Nougat all the time and used it happily. A few months ago it started repeatedly asking to OTA update, but I just ignored the messages. Then one day, I must have accidentally pressed something, because I think it tried to update. I got a message that the update failed or something like that.
The phone gradually got worse after that, randomly rebooting into TWRP. I could somehow get it to boot Android by going to the bootloader and chosing "factory mode" but mostly the modem would not work at all and the phone would not be usable.
Trying to solve it, I decided to flash a whole ROM, hoping to remove all of the damage done by the botchered update. Since I already had unlocked my bootloader and TWRP, I decided to just flash a custom ROM, since I did not know if flashing stock would work with TWRP. I found some of the custom ROMs on XDA, and tried to flash them with TWRP. However, flashing would not work. I got some error code 255. I am attaching a screenshot of the error.
[](https://i.stack.imgur.com/osfLX.jpg)
I tried both flashing via the adb sideload method via my Mac and via USB OTG (flash drive) but I got the same result for both.
Having seen this, I decided to try to relock the bootloader and restore stock firmware. I tried following [this tutorial](https://forum.xda-developers.com/z2-play/how-to/stock-stock-firmware-t3630997). However, that did not seem to work. Here is my fastboot output:
```
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot devices
ZY224BLVMC fastboot
Pals-MacBook-Air:platform-tools Fiksdal$ ./fasboot oem lock begin
-bash: ./fasboot: No such file or directory
Pals-MacBook-Air:platform-tools Fiksdal$ fastboot oem lock begin
-bash: fastboot: command not found
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot oem lock begin
(bootloader) WARNING: This command erases all user data.
(bootloader) Please re-run this command to continue.
OKAY [ 0.003s]
Finished. Total time: 0.005s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot oem lock begin
(bootloader) Flash valid Android images now
(bootloader) Then re-run this command to lock
OKAY [ 0.018s]
Finished. Total time: 0.018s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash partition gpt.bin
(bootloader) has-slot:partition: not found
Sending 'partition' (45 KB) OKAY [ 0.008s]
Writing 'partition' (bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
Finished. Total time: 0.264s
Pals-MacBook-Air:platform-tools Fiksdal$ sudo fastboot flash partition gpt.bin
Password:
sudo: fastboot: command not found
Pals-MacBook-Air:platform-tools Fiksdal$ sudo ./fastboot flash partition gpt.bin
(bootloader) has-slot:partition: not found
Sending 'partition' (45 KB) OKAY [ 0.005s]
Writing 'partition' (bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
Finished. Total time: 0.259s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash bootloader bootloader.img
(bootloader) has-slot:bootloader: not found
Sending 'bootloader' (5115 KB) OKAY [ 0.209s]
Writing 'bootloader' (bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'
(bootloader) - flashing 'rpm.mbn' to 'rpm'
(bootloader) - flashing 'tz.mbn' to 'tz'
(bootloader) - flashing 'devcfg.mbn' to 'devcfg'
(bootloader) - flashing 'cmnlib.mbn' to 'cmnlib'
(bootloader) - flashing 'cmnlib64.mbn' to 'cmnlib64'
(bootloader) - flashing 'keymaster.mbn' to 'keymaster'
(bootloader) - flashing 'prov.mbn' to 'prov'
(bootloader) - flashing 'sbl1.mbn' to 'sbl1'
OKAY [ 0.548s]
Finished. Total time: 0.943s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash logo logo.bin
(bootloader) has-slot:logo: not found
Sending 'logo' (2192 KB) OKAY [ 0.093s]
Writing 'logo' OKAY [ 0.066s]
Finished. Total time: 0.344s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash recovery recovery.img
(bootloader) has-slot:recovery: not found
Sending 'recovery' (20580 KB) OKAY [ 0.838s]
Writing 'recovery' (bootloader) Security version downgrade
(bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 1.234s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash recovery recovery.img
(bootloader) has-slot:recovery: not found
Sending 'recovery' (20580 KB) OKAY [ 0.729s]
Writing 'recovery' (bootloader) Security version downgrade
(bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 1.125s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash dsp adspso.bin
(bootloader) has-slot:dsp: not found
Sending 'dsp' (16384 KB) OKAY [ 0.667s]
Writing 'dsp' OKAY [ 0.132s]
Finished. Total time: 0.984s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash oem oem.img
(bootloader) has-slot:oem: not found
Sending 'oem' (232923 KB) OKAY [ 10.302s]
Writing 'oem' (bootloader) Security version downgrade
(bootloader) Image o failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 10.554s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.0
(bootloader) has-slot:system: not found
Sending 'system' (517135 KB) OKAY [ 20.549s]
Writing 'system' (bootloader) Security version downgrade
(bootloader) Image s failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.1
(bootloader) has-slot:system: not found
Sending 'system' (522979 KB) OKAY [ 20.458s]
Writing 'system' (bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 20.674s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.2
(bootloader) has-slot:system: not found
Sending 'system' (524215 KB) OKAY [ 20.487s]
Writing 'system' (bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 20.704s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.3
(bootloader) has-slot:system: not found
Sending 'system' (521087 KB) OKAY [ 19.126s]
Writing 'system' (bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 19.330s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.4
(bootloader) has-slot:system: not found
Sending 'system' (518083 KB) OKAY [ 19.082s]
Writing 'system' (bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 19.295s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.5
(bootloader) has-slot:system: not found
Sending 'system' (515569 KB) OKAY [ 18.974s]
Writing 'system' (bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 19.192s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.6
(bootloader) has-slot:system: not found
Sending 'system' (250209 KB) OKAY [ 9.380s]
Writing 'system' (bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 9.579s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash system system.img_sparsechunk.7
(bootloader) has-slot:system: not found
fastboot: error: cannot load 'system.img_sparsechunk.7': No such file or directory
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash modem NON-HLOS.bin
(bootloader) has-slot:modem: not found
Sending 'modem' (75092 KB) OKAY [ 2.888s]
Writing 'modem' OKAY [ 1.878s]
Finished. Total time: 4.954s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase modemst1
(bootloader) has-slot:modemst1: not found
Erasing 'modemst1' OKAY [ 0.020s]
Finished. Total time: 0.210s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase modemst2
(bootloader) has-slot:modemst2: not found
Erasing 'modemst2' OKAY [ 0.020s]
Finished. Total time: 0.210s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot flash fsg fsg.mbn
(bootloader) has-slot:fsg: not found
Sending 'fsg' (2932 KB) OKAY [ 0.114s]
Writing 'fsg' OKAY [ 0.065s]
Finished. Total time: 0.364s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase cache
(bootloader) has-slot:cache: not found
Erasing 'cache' OKAY [ 0.016s]
Finished. Total time: 0.206s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase userdata
(bootloader) has-slot:userdata: not found
Erasing 'userdata' OKAY [ 2.252s]
Finished. Total time: 2.442s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase customize
(bootloader) has-slot:customize: not found
Erasing 'customize' (bootloader) Permission denied
FAILED (remote failure)
Finished. Total time: 0.194s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase customize
(bootloader) has-slot:customize: not found
Erasing 'customize' (bootloader) Permission denied
FAILED (remote failure)
Finished. Total time: 0.194s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot erase clogo
(bootloader) has-slot:clogo: not found
Erasing 'clogo' (bootloader) Permission denied
FAILED (remote failure)
Finished. Total time: 0.192s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot oem lock
(bootloader) Still require signed boot.img
OKAY [ 0.003s]
Finished. Total time: 0.003s
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot reboot
Rebooting
Finished. Total time: 0.005s
```
This seemed to do nothing to my device. I wondered if maybe the bootloader was in some sort of locked/unlocked limbo, so I tried to unlock the bootloader again using the key I got from Moto by email. That did not work either.
```
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot oem unlock THECODEFORMYDEVICE
(bootloader) invalid boot state
OKAY [ 0.005s]
Finished. Total time: 0.008s
```
So I seem to be getting nowhere. There has to be some way to totally wipe everything, to get a fresh start? I do not care if I have to restore stock firmware, stock bootloader, whatever. I just want to be able to at least use my phone somehow. Is my device totally bricked? Is there nothing I can do?
I used adb and fastboot on macOS High Sierra.
At the request of @acejavelin, I am posting some more information:
```
Pals-MacBook-Air:platform-tools Fiksdal$ ./fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8953-C0.C7
(bootloader) product: albus
(bootloader) board: albus
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: 3
(bootloader) storage-type: emmc
(bootloader) emmc: 64GB SKHYNIX HCG8a4 RV=08 PV=A2 FV=00000000000000A2
(bootloader) ram: 4GB SKHYNIX LP3 DIE=8Gb M5=06 M6=03 M7=00 M8=5F
(bootloader) cpu: MSM8953
(bootloader) serialno: ZY224BLVMC
(bootloader) cid: 0x0032
(bootloader) channelid: 0x40
(bootloader) uid: B5E66CBA00000000000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) verity-state: enforcing
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Last time flashing failed
(bootloader) imei: *****************
(bootloader) meid:
(bootloader) date: 07-29-2017
(bootloader) sku: XT1710-09
(bootloader) battid: SNN5983B
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Sat Jan 3 17:37:25 UTC 1970"
(bootloader) ro.build.fingerprint[0]: motorola/albus/albus:7.1.1/NPSS26.
(bootloader) ro.build.fingerprint[1]: 118-19-18/24:user/release-keys
(bootloader) poweroffalarm: 1
(bootloader) ro.build.version.full[0]: Blur_Version.26.261.24.albus.reta
(bootloader) ro.build.version.full[1]: il.en.US
(bootloader) ro.build.version.qcom: LA.UM.5.6.r1-03800-89xx.0
(bootloader) version-baseband: M8953P_23.33.07.34R ALBUS_EMEADSDS_CUST
(bootloader) kernel.version[0]: Linux version 3.18.31-perf-gf3fa6ef (hud
(bootloader) kernel.version[1]: soncm@ilclbld83) (gcc version 4.9 201501
(bootloader) kernel.version[2]: 23 (prerelease) (GCC) ) #1 SMP PREEMPT T
(bootloader) kernel.version[3]: ue Dec 5 00:03:05 CST 2017
(bootloader) sbl1.git: git=MBM-NG-VC0.C7-0-ge9cd975
(bootloader) rpm.git: git=5578f74
(bootloader) tz.git: git=MBM-NG-VC2.06-0-g82f94af-dirty
(bootloader) devcfg.git: git=MBM-NG-VC2.06-0-g82f94af-dirty
(bootloader) keymaster.git: git=MBM-NG-VC2.06-0-g82f94af-dirty
(bootloader) cmnlib.git: git=MBM-NG-VC2.06-0-g82f94af-dirty
(bootloader) cmnlib64.git: git=MBM-NG-VC2.06-0-g82f94af-dirty
(bootloader) prov.git: git=MBM-NG-VC2.06-0-g82f94af-dirty
(bootloader) aboot.git: git=MBM-NG-VC0.C7-0-gb6d4956
(bootloader) qe: qe 1/1
(bootloader) frp-state: no protection (77)
(bootloader) ro.carrier: reteu
all: listed above
Finished. Total time: 0.034s
```<issue_comment>username_1: It seems like your device has upgraded his android version and doesn't let you downgrade.
So, the TWRP error 255 it seems like you wanted to flash a 64bit rom on an 32bit recovery.
Try to find a stock Oreo image or flash the 64bit twrp.
If I find something I will edit this message.
P.S. No, your device isn't bricked, there is no OS installed :)
Upvotes: 1 <issue_comment>username_2: Use this <https://androidfilehost.com/?fid=1322778262904007189>
It really helped me with the problem
Upvotes: -1 |
2018/07/28 | 224 | 760 | <issue_start>username_0: There is a badge number setting on Android how to get it to show badge number for Outlook on the home screen.
I had assumed this would be pretty standard but does not appear to be.
Tesla Unread fails to work.<issue_comment>username_1: It seems like your device has upgraded his android version and doesn't let you downgrade.
So, the TWRP error 255 it seems like you wanted to flash a 64bit rom on an 32bit recovery.
Try to find a stock Oreo image or flash the 64bit twrp.
If I find something I will edit this message.
P.S. No, your device isn't bricked, there is no OS installed :)
Upvotes: 1 <issue_comment>username_2: Use this <https://androidfilehost.com/?fid=1322778262904007189>
It really helped me with the problem
Upvotes: -1 |
2018/07/30 | 262 | 932 | <issue_start>username_0: Starting a couple of weeks ago.. I can't access the file system from my PC on my Samsung tablet..
When connecting the tablet via USB to my PC I never get the dialog box where you choose whether or not the PC can have access to the file system
When connecting my Samsung phone on the same USB port and using the same USB cable it works fine!?
Have also tried to reset the tablet..<issue_comment>username_1: It seems like your device has upgraded his android version and doesn't let you downgrade.
So, the TWRP error 255 it seems like you wanted to flash a 64bit rom on an 32bit recovery.
Try to find a stock Oreo image or flash the 64bit twrp.
If I find something I will edit this message.
P.S. No, your device isn't bricked, there is no OS installed :)
Upvotes: 1 <issue_comment>username_2: Use this <https://androidfilehost.com/?fid=1322778262904007189>
It really helped me with the problem
Upvotes: -1 |
2018/07/31 | 654 | 2,575 | <issue_start>username_0: What is the number "2" in the button below that shows up on the home page?
[](https://i.stack.imgur.com/akBNfm.jpg)
Opening up the Play Store and looking around does not show anything obvious as to what that number means.
When this number shows up on the YouTube button, opening up the YouTube app shows that there are new videos in my feed, so I am extrapolating and assuming that other apps have new information for me to view. But that is not the case for Play Store.
If I knew what these things were called, I could easily do a web search to find out what they are and how to get rid of them for specific apps (presumably by viewing the new information that the app has to show).
I want to call these things 'notifications', but that is does not seem correct. I believe that 'notifications' are something that shows up in a tray in Android, not a number that is associated with some button on the home screen.
This is on a Samsung Galaxy Tab S3 tablet, model number SM-T820, running Android 8.0.0 with April 1st 2018 patch level.<issue_comment>username_1: It is called a **Notification Badge** which is a feature that became available in Android 8.0:
<https://developer.android.com/training/notify-user/badges>
[](https://i.stack.imgur.com/LgtNw.png)
You should be able to manage each app's notification behavior under
**Settings->Apps & Notification->[App Name]->App Notifications**
[](https://i.stack.imgur.com/nFhO3.png)
Upvotes: 3 [selected_answer]<issue_comment>username_2: Android 8 (Oreo) does have notification badges. But phone manufacturers and other launchers have supported badges even before that, and they work differently then the way Android 8 works. Here are the differences, that I can see:
* **Android 8 notification badges** count the number of notifications in your notification drawer. If you clear a notification, it will also disappear from the badge in your home launcher.
* **Other home launchers**, like the old version of Samsung's home launcher, will show badges on certain supported apps. For instance, on the WhatsApp icon, it will show a badge counting the number of unread messages. If you clear your notifications from the notification drawer, the badge will remain unchanged, because it is not tied to notifications. The badge will disappear once you have read all your messages in WhatsApp (in the case of that app).
Upvotes: 1 |
2018/08/01 | 500 | 1,953 | <issue_start>username_0: My YU Yureka is stuck at the Cyanogen logo. I was just using Chrome with very low battery when it suddenly restarted and got at stuck at the Cyanogen logo. I don't have any backups.
I've been trying to start the phone in safe mode but none of the methods I've tried have been working.
Kindly suggest a way to start my mobile. If you can't help me I'll take it to a service center, would they be able to recover all data completely without any losses?
Kindly suggest solutions/sites/videos that may be helpful to me.
Device model: AO5510
Cyanogen OS version: 12.1
Android version: 5.1.1<issue_comment>username_1: Try booting into TWRP if you have it installed, if you don't have TWRP installed on your device you can follow the instructions here: <https://twrp.me/yu/yuyureka.html>
In TWRP you should be able to back up your data onto a computer. When your data is safe you could either go to a service center and see if they can fix your phone or you could try flashing a new ROM and see if that fixes the problem. You can find many tutorials on how to flash a ROM with TWRP online.
Cyanogen download can be found here:
<https://cyanogenupdatetracker.com/downloads/>
Upvotes: 0 <issue_comment>username_2: This problem is cased due to your recently installed application.
Can solve this problem through remove that app.
first open your mobile in safe mode and then remove the app in settings -> app
Note: Open your mobile in safe mode by pressing the both Volume plus and minus button at a boot time.
Upvotes: -1 <issue_comment>username_3: Remove the battery and don't charge it for one day. next day try to connect with the charger
else
just try to remove battery and keep away for
3 hour
I hope issue will be solved...
This is happened because the yureka does not works properly with usb
Sometimes this happens because of overheating or hardbrick or old device not able to handle load or any bug
Upvotes: 0 |
2018/08/02 | 567 | 2,356 | <issue_start>username_0: System update shows "disable harmful app", but it keeps coming up. I have a Micromax Canvas Infinity HS2. What can I do?
[](https://i.stack.imgur.com/Ya4vR.png)<issue_comment>username_1: Uninstall it unless you know what you are doing, the app seems to contain adware/malware.
Upvotes: 0 <issue_comment>username_2: You should uninstall that app, unless it's integrated in system in that case you won't be able to uninstall it, but since it's prompting button to uninstall than it is probably uninstallable. It is probably Micromax bloatware.
Upvotes: 0 <issue_comment>username_3: Micromax was just finding ways to make more money from its phones. So, what it starting doing was to throw ads and auto-install certain apps without the user consent. This backfired with many users complaining against them.
All this was done using the application which also checks for and provides phone system updates. While system updates are important, it will be too much to expect from them.
All this app is doing now is to show ads on your phone's various areas. That Play Protect warning is straight to the point. You should uninstall it, but even in case you fail to, there will be a *disable* button. Just disable it and get rid of annoying ads and this notification as well.
Upvotes: 1 <issue_comment>username_4: If you buy phones of the grey market, these are the sort of pop ups one could expect to see.
I would recommend downloading the norootfirewall app. That may help perhaps with your issue.
Upvotes: 0 <issue_comment>username_5: System update / Updater application notifies only when an OTA update for the device is available. I have never seen such a message from stock system update app.
* Do you remember that, you have installed any third party app named system update? Or any bloatware app (eg: battery management like app).
* Some times opening a adware/bloatware website may have a chance to happen like this.
* Some devices have Security application that notifies to free-up space, uninstall unused apps, remove battery draining apps etc. But, those app definitely have name schemes with Security / Cleaner words in it.
* **Solution**: Please check all apps and uninstall apps which found to be unsecure. Install apps from a secure source like play store.
Upvotes: 0 |
2018/08/03 | 532 | 2,288 | <issue_start>username_0: When I am away from WiFi, I do not want to receive nor send messages or media on WhatsApp. Where on my Moto G can I make this setting? Thanks !!<issue_comment>username_1: Uninstall it unless you know what you are doing, the app seems to contain adware/malware.
Upvotes: 0 <issue_comment>username_2: You should uninstall that app, unless it's integrated in system in that case you won't be able to uninstall it, but since it's prompting button to uninstall than it is probably uninstallable. It is probably Micromax bloatware.
Upvotes: 0 <issue_comment>username_3: Micromax was just finding ways to make more money from its phones. So, what it starting doing was to throw ads and auto-install certain apps without the user consent. This backfired with many users complaining against them.
All this was done using the application which also checks for and provides phone system updates. While system updates are important, it will be too much to expect from them.
All this app is doing now is to show ads on your phone's various areas. That Play Protect warning is straight to the point. You should uninstall it, but even in case you fail to, there will be a *disable* button. Just disable it and get rid of annoying ads and this notification as well.
Upvotes: 1 <issue_comment>username_4: If you buy phones of the grey market, these are the sort of pop ups one could expect to see.
I would recommend downloading the norootfirewall app. That may help perhaps with your issue.
Upvotes: 0 <issue_comment>username_5: System update / Updater application notifies only when an OTA update for the device is available. I have never seen such a message from stock system update app.
* Do you remember that, you have installed any third party app named system update? Or any bloatware app (eg: battery management like app).
* Some times opening a adware/bloatware website may have a chance to happen like this.
* Some devices have Security application that notifies to free-up space, uninstall unused apps, remove battery draining apps etc. But, those app definitely have name schemes with Security / Cleaner words in it.
* **Solution**: Please check all apps and uninstall apps which found to be unsecure. Install apps from a secure source like play store.
Upvotes: 0 |
2018/08/04 | 822 | 3,266 | <issue_start>username_0: I have an LG G6 running Oreo and whenever media is playing and a notification sound comes through something briefly lowers (not fully muted) my media volume. How can I stop this? I don't want notification sounds to change my media volume.<issue_comment>username_1: **Updated Answer**
I first thought that the OP was asking about modifying the behavior of the sources of the notifications which can be done in with finer levels than before using Notification Categories in Android 8.0 Oreo.
However via the comments, it appears that the OP wants to stop **Audio Ducking**
from happening in the media player. Unfortunately this is a feature of the
media app playing the music itself and requires the developer of the app to configure. See
similar question: [Prevent music volume from being lowered when using turn-by-turn navigation](https://android.stackexchange.com/q/124876/3573)
**Original Answer**
In Android 8.0 Oreo the App can now have Notification Categories
Check the notification setting screen in:
**Settings->Apps & Notification->[App Name]->App Notifications**
[](https://i.stack.imgur.com/nFhO3.png)
For the App(s) that are interrupting see if you can either disable sound or adjust the priority to one which suits your needs.
Upvotes: 4 [selected_answer]<issue_comment>username_2: Rocket Player, is a music player that will let you choose between ducking and pausing, and will allow you to disable it completely, (The setting is under Settings->Sound->Audio Focus->Temp Focus Action)".
It does give the option to IGNORE all other apps. Just tested it: maps, camera shutter sound, notifications - all make sounds but no longer "duck" (more like stutter!) my music, listening via 3.5mm right now but should be same for BT.
Upvotes: 1 <issue_comment>username_3: If your device supports the ***Do Not Disturb*** mode, you can use it to achieve this effect system-wide for any music app as far as notifications are concerned. However, turn-by-turn navigation in *Google Maps* may still duck the audio. (I usually change it to *Alerts Only* and check the map visually for directions.)
By default, *Do Not Disturb* will suppress notification alerts completely, stacking the notifications up in the drawer silently. But depending on your phone model and ROM version, you may be able to fine tune the behavior to allow status bar icons and banner notifications.
Whether or not you allow the icons or banners, *Do Not Disturb* will always suppress the notification sounds. This will allow your music to continue playing uninterrupted even when notifications are getting added to the drawer or even popping up at the top of the screen.
Upvotes: 0 <issue_comment>username_4: To automate the *Do Not Disturb* toggle, you can use Tasker (<https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm&hl=en>).
1. Create a **task** that sets *Do Not Disturb* to "No Interruptions"
2. Create a **task** that sets \*Do Not Disburb" to "Allow All"
3. Create a **profile**
* Add trigger to the "No Interruptions" task when a specific application is launched (i.e. YouTube Music),
* link an Exit **task** that triggers "Allow all"
Upvotes: 1 |
2018/08/04 | 375 | 1,421 | <issue_start>username_0: Just like HDD/SSD act as the internal storage for a PC, what exactly acts as the internal storage for an android device?<issue_comment>username_1: It's a flash memory chip on the mainboard of the phone. Usually it has the same electronic interface as an MMC, just soldered onto the board instead of in a socket.
Upvotes: 2 <issue_comment>username_2: An android's or any other mobile or tablet has storage chip that's embedded on to its motherboard.
To better explain that a typical HDD or Hard disk stores the data on a magnetic tape (slow). RAM will have multiple storage chips where the data will be stored on a circuit so that the data can been accessed quickly. SSD is an upgraded version of RAM with increased storage size (fast) . A mobile device has a chip on its motherboard to store data the same as the chips on a RAM or an SSD.
Upvotes: 1 <issue_comment>username_3: It's using flash chips, similar to those you have in USB drives. Almost exactly the same.
The storage technology is called [EMMC](https://en.wikipedia.org/wiki/EMMC#eMMC). Linked wikipedia article has some pictures too.
[This](https://www.pine64.org/?product=64gb-emmc) is an example of a 64GB eMMC flash storage module, basically the exact same thing that is used in android phones/tablets too.
[](https://i.stack.imgur.com/w1uZ7.jpg)
Upvotes: 1 |
2018/08/05 | 370 | 1,111 | <issue_start>username_0: we can use ping shell command in tasker to see if a domain is online or not but can we get the ping time too?
like in pc when you ping that shows a "time=xx" can we somehow access to that in tasker?<issue_comment>username_1: ```
A1: Run Shell [ Command:ping -c 1 8.8.8.8 Timeout (Seconds):0 Use Root:Off Store Output In:%PING Store Errors In: Store Result In: Continue Task After Error:On ]
A2: Variable Section [ Name:%PING From:88 Length:11 Adapt To Fit:Off Store Result In:%TEST ]
A3: Flash [ Text:%TEST Long:On ]
```
Upvotes: 2 [selected_answer]<issue_comment>username_2: I get the response times like this:
`ping -qc1 google.com 2>&1 | awk -F'/' 'END{ print (/^rtt/? "OK "$5" ms":"FAIL") }'`
Example output: `OK 1.038 ms`
You could modify the output to get only the numeric value, so the output can be directly piped to a variable in tasker, eg:
`ping -qc1 google.com 2>&1 | awk -F'/' 'END{ print (/^rtt/? $5 : 0) }'`
Exmaple output: `1.038` or in case of a failure: `0`
\_\_
credits: <https://unix.stackexchange.com/questions/409203/ping-show-only-results>
Upvotes: 0 |
2018/08/06 | 1,051 | 3,680 | <issue_start>username_0: I have an android phone and an android tablet. Both not rooted. I want to use adb as host on the tablet and as client on the phone, using an USB-OTG adapter.
I downloaded [connectbot](https://f-droid.org/en/packages/org.connectbot/) as terminal emulator on the tablet. I also downloaded the [ARM binary for adb](https://github.com/bonnyfone/adb-arm/blob/master/adb-arm-binary) onto the tablet. However I'm getting the following error when I try to execute the binary:
```
user@tablet:/storage/sdcard0/download $ ./adb-arm-binary.bin devices
/system/bin/sh: ./adb-arm-binary.bin: can't execute: Permission denied
```
Is there anyway to get ADB as a host to run on an android 4.4.2 tablet without root?
OR: Is there any way to root said tablet without a PC?
The whole reason I need this is because I need to access `dumpsys` logs from the phone but I do not have a PC or laptop. A way to get `dumpsys` logs directly on the phone without root would suffice too, but AFAIK `dumpsys` is impossible to access for non-system application.<issue_comment>username_1: Alright, I got it to work, here is what I did:
1. Rooted the tablet
====================
I was able to use [kingroot](https://kingroot.net) to root the tablet.
2. Install adb on the tablet
============================
I basically followed [these](https://forum.xda-developers.com/showthread.php?t=2586472) instructions, however the files in the OP there are outdated and not downloadable anymore. So I used a file someone posted much later in that thread, this file seems outdated though, but I'm unsure about that and will open a new question about that.
1. Downloaded the `adb.bin` file on the tablet (in `/storage/sdcard0/Download`)
2. Downloaded `Connectbot` from f-droid and setup a local shell connection to the tablet
3. Ran the following commands (everything after (including) the `#` is just a comment)
```
su # gain root priviledges
cd /storage/sdcard0/Download # change working directory to download folder
mount -o remount,rw /system # re-mount /system partition so we can write on it
cp adb.bin /system/bin/adb # copy it to bin folder so it's accessible as a command
chmod 755 /system/bin/adb # make it executable
```
4. Rebooted tablet
3. Enjoy adb as host on android!
================================
This worked for me and got me an executable adb running. I still can't connect to my phone but since this is another issue [I opened a new question](https://android.stackexchange.com/questions/200262/adb-says-error-device-offline-everytime).
Upvotes: 3 [selected_answer]<issue_comment>username_2: Previously root may be the only option to use an Android device as an ADB host. However, there are applications that allow us to do this without root now.
You can achieve this through ADB through WebUSB.
Chrome (including Chrome Android) supports WebUSB, which is a protocol for websites to access USB devices.
Note: I'm not the creator of this platform.
Make sure you're using Chrome, if not this wouldn't work.
* Go to <https://webadb.com>
* Click "Start"
* Click "Add device" in the side menu
[](https://i.stack.imgur.com/W3xtY.jpg)
* Connect to your device
[](https://i.stack.imgur.com/yThdI.jpg)
* Press the "Connect" button next to the "Add device" button.
* Allow the ADB prompt on your client device
* Press interactive shell at the left sidebar.
[](https://i.stack.imgur.com/fQRyY.jpg)
Enjoy your ADB access!
Edit: I found an ad-free version here:
<https://yume-chan.github.io/ya-webadb/>
Upvotes: 0 |
2018/08/07 | 339 | 1,337 | <issue_start>username_0: I want to mirror the content from a Chrome desktop tab on my Android device.
Is it possible to cast a Chrome browser tab *from desktop* to an Android (OS 8.1) device?<issue_comment>username_1: As far as "Cast" goes, you can only cast to Chromecast devices or Android TV devices from cast-enabled devices. Not from other devices to your phone.
What you can do is use apps like Splashtop or TeamViewer, to "handle" or use your computer from the mobile device.
Upvotes: 1 <issue_comment>username_2: You can install [WebRTC Desktop Sharing](https://chrome.google.com/webstore/detail/webrtc-desktop-sharing/nkemblooioekjnpfekmjhpgkackcajhg?hl=en) extension on your Chrome browser for Desktop. Click on its icon → Chrome tab + Speakers → choose your tab to share → wait for the extension to give you a URL.
Use that URL into your Android device's browser. It will take few seconds to initialize everything and then you can have a real-time Chrome tab sharing from Desktop to anywhere.
Alternatively, if you are using Windows, enable Remote Desktop Sharing in it, setup a Remote Desktop connection and use [Chrome Remote Desktop](https://play.google.com/store/apps/details?id=com.google.chromeremotedesktop) app to share the whole screen with Android. I haven't tested this one though.
Upvotes: 3 [selected_answer] |
2018/08/07 | 717 | 2,660 | <issue_start>username_0: I've a rooted Sony reader PRS-T1 (based on Android 2.2) and usually when I need to copy files to it, I connect it to my laptop with a USB cable. However, sometimes I travel without my laptop and have only my phone/tablet.
I tried using an OTG cable, but my phone does not seem to be able to read the reader storage.
Is there a way of transfering files to my reader from my phone without using an external sd-card?
In the past I used to connect to Dropbox in the reader's browser to download files or send the files thorugh gmail, but the browser is very old and this is no longer possible.<issue_comment>username_1: Now there are plenty of ways to do this; perhaps the easiest method given that you have the OTG cable, is just to use a suitable file explorer (preferably [MiXplorer](https://labs.xda-developers.com/store/app/com.mixplorer) which has custom OTG drivers) in case your storage device is formatted in a different file system.
I wrote a guide on MiForum on how to achieve this: [Alternative easy way to mount Pendrive(NTFS FileSystem) via OTG without root](http://en.miui.com/thread-2841150-1-1.html) its not only limited to `ntfs` but can also use others like `exfat` etc.
* In your case you just need a USB Flash drive (**pendrive**) that you can insert on the OTG female port then,
* Simply open the app, tap on the three dot menu → More settings → Enable Custom driver for USB OTG (tick the box to enable).
* Done, now insert you OTG cable and place the pendrive on the port. The pendrive will be recognised without errors, and open the files you need and copy to and fro the tablet `<=>` phone as you wish.
---
Alternatively I have posted a related method here, showing how to do it using wi-fi (which is pretty much related to what you're trying to achieve):
1. [Android to Android file explorer using wifi direct](https://android.stackexchange.com/a/171663/209414)
Or
2. [File transfer with linux pc through mobile hotspot](https://android.stackexchange.com/a/171040/209414)
3. [Is there a way to access the phone filesystem from computer, wireless?](https://android.stackexchange.com/a/170986/209414)
(In above cases the target tablet will be the pc or "second android device" respectively)
Hope this helps
Upvotes: 1 <issue_comment>username_2: I found a working wireless solution using FTP. The reader has Total Commander installed and there's an FTP plugin you can install for it.
So on my phone, using Amaze File Manager, I created an FTP server (protected with username and password). Then on the reader I added the details of the server and I could copy the files to my reader with ease.
Upvotes: 0 |
2018/08/08 | 407 | 1,583 | <issue_start>username_0: I'm using Whatsapp on Nexus 5 (Android 6.0.1) and several folders used by Whatsapp are not visible when accessed from a Windows 10 PC (connected through USB in MTP, file transfer mode).
From my PC "Whatsapp/Media" shows: [](https://i.stack.imgur.com/lzF7t.png) while when accessed from the phone itself using my storage explorer I see 4 additional items:
* .Statuses
* Whatsapp Animated Gifs
* Whatsapp Audio
* Whatsapp Video
No .nomedia files inside those directories. Any suggestions?<issue_comment>username_1: Found the issue! It was a problem with "Google Photos" definition of media directories excluded from backup. All the missing folders were excluded from the backup definitions in Google Photos and when included (see image below) the directories became visible from the PC.
This seems to be a bug or some inconsistent situation, as removing them again from the backup definitions didn't cause the problem to return.

Upvotes: 0 <issue_comment>username_2: Settings -> Apps -> tap the 3 vertical dots in upper right -> Show System -> scroll down to Media Storage and tap it -> tap Storage -> tap Clear Data, and tap Clear Cache.
Then do a full power down reboot of your Nexus. After it comes up wait a few minutes before connecting to your PC to allow the file system to be re-indexed the file system.
please try this :- Whastapp path has changed, it's now Android -> media -> com.whatsapp -> whatsapp
Upvotes: 1 |
2018/08/10 | 311 | 1,257 | <issue_start>username_0: I rebooted my Samsung Galaxy S7 Edge this morning, however, upon restart any applications that are on the SD card and in a folder get the message "App Not Found" when trying to launch. These apps also have the grey SD card icon.
Moving the app out into the root tray allows the application to launch. However, moving the app to internal storage doesn't.
Uninstalling and reinstalling an app doesn't help. Neither does clearing system cache.
Is there a fix for this? The workaround is to move all apps out of folders, but this means I can't organise them as well.<issue_comment>username_1: 1) Try Restart.
2) Unmount sd card, then clicked on mount sd card.
3) Try Another Launcher
Upvotes: 0 <issue_comment>username_2: Solution appeared to be :
* settings
* apps
* show system apps on menu
* Samsung experience home
* clear cache
* force stop
Upvotes: 1 [selected_answer]<issue_comment>username_3: I did this. It didn't work. I then set about moving the apps I'd moved back to the internal memory starting with iPlayer. As soon as I had moved iPlayer the icons for the other apps I'd moved to the SD card regained their colour (they'd previously been greyed out) and started working...
This was on Galaxy Tab Active.
Upvotes: 1 |
2018/08/11 | 497 | 1,948 | <issue_start>username_0: I used to access the internet on my notebook by tethering it to my android mobile phone. However recently this stopped working. Even though the notebook was tethered to the phone there was no internet access. Changing phone settings did not help.<issue_comment>username_1: On googling I found that my mobile service provider recently disabled internet access over tethering. This can be fixed by the following the steps described [here](https://forums.oneplus.com/threads/no-internet-access-over-tethering-wifi.530209/).
1. Enable USB debugging on your android phone (Settings > Developer options > Enable USB debugging).
2. Download `adb.exe` from [here](https://dl.google.com/android/repository/platform-tools-latest-windows.zip) and follow the steps [here](https://www.xda-developers.com/install-adb-windows-macos-linux/).
3. Connect the phone to your computer using USB cable.
4. Open command window in the folder containing `adb.exe`.
5. Type: `adb devices -l` (this will list your device model).
6. Type: `adb shell` (to enter in your mobile's shell).
7. Type: `settings put global tether_dun_required 0`.
8. Reboot your phone and you're done!
Upvotes: 3 <issue_comment>username_2: After a lot of headache and trying everything, including username_1's answer (but I got no permissions error when I tried `settings...`), this solved the problem for me:
Go to `Configurations > Wireless & Networks > Mobile Networks > Access Point Names`, make a copy of the default selected APN (you probably need to input a copy all by hand after going to "New APN" in a menu), and then in the copy add `,dun` to APN type (if it was `default`, make it `default,dun`).
Upvotes: 2 <issue_comment>username_3: I have resolved this issue by changing the APN in mobile. Go to your cellular network -> choose new APN with the same configuration of your selected one or create new APN with the same configuration of current one.
Upvotes: 0 |
2018/08/12 | 288 | 1,127 | <issue_start>username_0: I think I have got a scam app in my device. I granted it root access and then whenever I open an app it,the scame app closes the app. Please help me I am stuck in here.
Aah my head is aching.<issue_comment>username_1: Open Settings. Then Apps. hit the top 3 dots on top screen to show system apps.
then scroll all the way to the bottom of the apps list ,you may or may not see a app you do not know or a weird app with no name, if so delete this app right away it is a virus.
Usually you have to do this is the app in question is not coming up in the normal app list.
Upvotes: -1 <issue_comment>username_2: Well, does the ADB shell have root access? If so, all you need to do is access the ADB shell via a computer (I assume, that you know how to do that already, since you asked that you'd like to solve it specifically through ADB) and type in the following command: `pm revoke *scamming apps package name here* android.permission.ACCESS_SUPERUSER` This will revoke the root permission of the app. You might wanna revoke more of it's permission if you want to easily uninstall it, though.
Upvotes: 0 |
2018/08/12 | 391 | 1,529 | <issue_start>username_0: I want to install Signal on my Android 4.4.2
I found countless of reports that it appearently works without it, I followed the documentation here <https://k7r.eu/testing-signal-without-google-account/>.
But still after the installation when I enter my phone number i get a prompt.
"Google Play-Dienste aktualisieren" "Signal wird nur ausgeführt wenn du die Google Play-Dienste aktualisierst."
Which roughly translates to
"update Google Play-Services" "Signal will only be run if you update the Google Play-services"
I tried installation with apks from both theire Website and Apk-Mirror.<issue_comment>username_1: Open Settings. Then Apps. hit the top 3 dots on top screen to show system apps.
then scroll all the way to the bottom of the apps list ,you may or may not see a app you do not know or a weird app with no name, if so delete this app right away it is a virus.
Usually you have to do this is the app in question is not coming up in the normal app list.
Upvotes: -1 <issue_comment>username_2: Well, does the ADB shell have root access? If so, all you need to do is access the ADB shell via a computer (I assume, that you know how to do that already, since you asked that you'd like to solve it specifically through ADB) and type in the following command: `pm revoke *scamming apps package name here* android.permission.ACCESS_SUPERUSER` This will revoke the root permission of the app. You might wanna revoke more of it's permission if you want to easily uninstall it, though.
Upvotes: 0 |
2018/08/13 | 506 | 1,709 | <issue_start>username_0: Every time I try to join an unencrypted wifi network that is protected by a web login (e.g. in a hotel), I get a popup message saying "Android System: Sign in to a Wi-Fi network ", I click on this message, and the result is:
```
CaptivePortalLogin has stopped
Open app again
```
I have tried also using Firefox or Chrome to find the portal by accessing a random HTTP page or the exact URL that my laptop is directed to to log in. Firefox returns "Server not found"; Chrome says "You are offline", `DNS_PROBE_FINISHED_NO_INTERNET`. My phone is set to not use mobile networks for data.
Is there any way to fix this or is there a workaround?
System information:
* Android 8.1.0 (security patch level 1 June 2018)
* Nokia 6.1, model TA-1050
* Kernel 4.4.78-perf+ (1/6/2018)
EDIT: I've tried a few apps as a workaround, such as [Wifi Web Auth](https://play.google.com/store/apps/details?id=es.hol.galvisoft.wifiwebauth) in case CaptivePortalLogin is the problem. This app errors with "Web page not available", `ERR_INTERNET_DISCONNECTED`, which seems like an odd complaint for an app designed to establish a connection. [Wifi Quick Login](https://play.google.com/store/apps/details?id=com.albionresearch.wifiquickconnect) fails as well.<issue_comment>username_1: Enter Chrome and write <http://192.168.0.1> or <http://192.168.0.0>. The authentication page should appear.
Upvotes: -1 <issue_comment>username_2: 1. Turn off mobile data
2. Connect to WiFi
3. Go to this page: <http://google.com/generate_204>
Upvotes: 0 <issue_comment>username_3: My android was doing same thing. I just did a battery pull. That resolved the issue. Mine had been doing this for a few weeks.
Upvotes: 0 |
2018/08/13 | 522 | 2,175 | <issue_start>username_0: When I was recently downloading files from a website, Chrome warned me, that website tries to download multiple files. I haven't seen that warning before and I guessed, that this may be security feature to prevent downloading unwanted .apk files, so I answered "no" (I disallow). Now I can download only one file at a time from that website and I have to reload whole page before downloading another. Really annoying.
Is there a way to undo my decision and allow downloading multiple files again? Or maybe disable this "feature" altogether?<issue_comment>username_1: Type in address bar `chrome://flags` and search for *parallel*. Change options for *parallel downloading* (Default / enabled / disabled)
Not tested but flags change the behavior and this is most likely what you want
Upvotes: 2 [selected_answer]<issue_comment>username_2: I fixed it by going into "Settings > Privacy > Clear browsing data". Under the "Advanced" tab select "Cookies and site data" and "Site settings". Tap on "Clear Data".
Upvotes: 0 <issue_comment>username_3: When this happened to me I clicked Google chrome Settings & under Advanced I chose Site Settings > Automatic Downloads then deleted the website link that was previously not allowed to perform multiple downloads under the "not allowed or block" section and copied the website link to the "allowed" section. If you don't want to be asked each time you're trying to download something turn off the "Ask first' button under Automatic Downloads sections.
Upvotes: 1 <issue_comment>username_4: I encountered this answer while trying to solve this on Brave desktop browser.
This is how I resolved it.
1. URL: [brave://settings/content/all](https://brave://settings/content/all)
2. Find the website you were on when you denied multiple downloads.
3. Click the trash can
4. Reload the site and click the download again.
Navigation:
* Select "Settings" from the top right Hamburger button (three
horizontal lines)
* Select "Privacy and security"
* Select "Cookies and other site data"
* Select "See all site data and permissions"
*Version 1.46.133 Chromium: 108.0.5359.71 (Official Build) (64-bit)*
Upvotes: 0 |
2018/08/13 | 192 | 758 | <issue_start>username_0: Is there an EASY way to get the Bluetooth settings without turning them off?
The new shortcut in Pie sucks because it an on/off button
The old design allowed you to click on the name under the icon to get to the settings to just disconnect one item if needed<issue_comment>username_1: Try long press on the shortcut icon, without lifting your finger until the new screen starts to appear.
On my Pixel 2, I was able to get to the Bluetooth Setting screen.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Yes hold your finger on it. It also works for Wi-Fi.
(BTW I find it really inconvenient since the screen on my new phone is so slippery, it's hard to hold my finger on one spot. But that's what it is...)
Upvotes: 1 |
2018/08/13 | 1,117 | 3,977 | <issue_start>username_0: I have a rooted Galaxy A3 2017 (SM-A320F) running Android 8.0.0. I'm trying to capture raw photos, but neither the stock Camera app nor Open Camera show any relevant options (I have enabled Camera2 API). This option wasn't present before rooting too. On another phone, unrooted Galaxy Note8, the option is present at least in Open Camera.
So I suppose the option is somehow disabled in my A3. Can it be re-enabled without switching to a completely different firmware? How?
Note that [another question](https://android.stackexchange.com/q/48880/121876) proposed as a duplicate is 1) asking about very old version of Android — 4.2.2, which doesn't have Camera2 API, and 2) asks simply whether there exist any apps with such functionality, which today is of course *yes*. So this one is not a duplicate. This question is about *how to re-enable the missing raw photo support* instead.<issue_comment>username_1: Camera2 API alone doesn't necessarily mean you can shoot RAW, though you can run the free app [Manual Camera Compatibility](https://play.google.com/store/apps/details?id=pl.vipek.camera2_compatibility_test). If it shows that your phone supports RAW, you should be able to shoot RAW with the [Manual Camera](https://play.google.com/store/apps/details?id=pl.vipek.camera2) app itself.
[Photoshop Lightroom](https://play.google.com/store/apps/details?id=com.adobe.lrmobile&hl=de) is another app capable of capturing and editing RAW, so maybe that's worth a shot aswell.
Upvotes: 1 <issue_comment>username_2: It appears to already be possible, with the stock firmware! I was about to try tracing an NDK-powered camera app (thanks to [Sisik's tutorial with a demo](https://sisik.eu/blog/android/ndk/camera)) with `strace` to see which API calls lead to which `ioctl`s to aid further searches, when, while trimming down the demo, I noticed that the native camera API exposes `AIMAGE_FORMAT_RAW16` with dimensions 4144×3106 on my Galaxy SM-A320F/DS. After I went ahead and tried capturing an image in this format, I indeed got a true 16-bit Bayer output, which after simplistic demosaicing and white-balancing resulted in a pretty decent raw image.
There's a small strangeness though: the bottom part of the image (pixels 2333 through 3106) is always filled with zeros. I'm not sure why this is so, but at least the upper 75% of the data are present and usable.
**How to get RAW support in OpenCamera**
Currently, OpenCamera detects whether a camera supports RAW by `REQUEST_AVAILABLE_CAPABILITIES_RAW`. If there's no such capability, the detection simply gives negative result. For SM-A320F this is incorrect, because it doesn't report this capability, but RAW16 format is among the supported output formats.
To work around this misdetection, we can apply the following patch to OpenCamera 1.47.3, and build our own APK. This patch will stub out the check for the capability, making OpenCamera search for the format desired regardless.
```
diff --git a/app/src/main/java/net/sourceforge/opencamera/cameracontroller/CameraController2.java b/app/src/main/java/net/sourceforge/opencamera/cameracontroller/CameraController2.java
index 2c6463c..939b00b 100644
--- a/app/src/main/java/net/sourceforge/opencamera/cameracontroller/CameraController2.java
+++ b/app/src/main/java/net/sourceforge/opencamera/cameracontroller/CameraController2.java
@@ -2062,7 +2062,7 @@ public class CameraController2 extends CameraController {
//camera_features.picture_sizes.get(0).supports_burst = false;
raw_size = null;
- if( capabilities_raw ) {
+ if( true || capabilities_raw ) {
android.util.Size [] raw_camera_picture_sizes = configs.getOutputSizes(ImageFormat.RAW_SENSOR);
if( raw_camera_picture_sizes == null ) {
if( MyDebug.LOG )
```
I've reported this at OpenCamera's issue tracker as [ticket 661](https://sourceforge.net/p/opencamera/tickets/661/).
Upvotes: 1 [selected_answer] |
2018/08/14 | 1,224 | 3,911 | <issue_start>username_0: I've searched around, and so I can ensure that this is not a duplicate.
* Smart Network Switch is off
* Keep Wifi on during sleep
* Wifi works excellent for other devices
* Wifi disconnects randomly even while the screen is open and device is in use
I opened up the Developer options, and turned on "Wi-Fi verbose logging" and when it disconnected, I saw these messages:
* NETWORK\_SELECTION\_PERMANENTLY\_DISABLED
* NETWORK\_SELECTION\_DISABLED\_BY\_WIFI\_MANAGER=2
Also in another occasion these:
* NETWORK\_SELECTION\_DISABLED\_BY\_ASSOCIATION\_REJECTION=1
* NETWORK\_SELECTION\_DISABLED\_BY\_WIFI\_MANAGER=1
The issue seems to be since installing an application, but I've uninstalled all recent applications on my phone, and it hasn't gotten better.
Safemode seemed to fix it, so there must be some kind of application interference, but the Wifi Control History only lists applications that turned on the wifi.
My only solution so far has been to disable wifi and re-enable it, or open up the wifi network manager in android, and tap the wifi connection. (presumably to override the 'network selection disabled')
---
Some logcat details:
```
[ 08-14 13:44:35.460 1364: 2509 E/WifiStateMachine ]
Did not find remoteAddress {10.100.5.1} in /proc/net/arp
```
and
```
I WifiHs20Service: Message received 5014
E WifiHs20Service: received HS20_UTILITY_ACTION_TYPE_HS20_CONFIGURATION_CHANGED
D WifiStateMachine: DisconnectedState !CMD_GET_CONFIGURED_NETWORKS uid=10225 rt=2982499/2982499 10225 0 num=40
D WifiStateMachine: ConnectModeState !CMD_GET_CONFIGURED_NETWORKS uid=10225 rt=2982500/2982500 10225 0 num=40
D WifiStateMachine: DisconnectedState !CMD_GET_CONFIGURED_NETWORKS uid=10225 rt=2982511/2982511 10225 0 num=40
D WifiStateMachine: ConnectModeState !CMD_GET_CONFIGURED_NETWORKS uid=10225 rt=2982511/2982511 10225 0 num=40
```
When turnnig wifi back on, I sometimes see:
```
WifiStateMachine: There are no configured ssid
```
followed by many SSIDs of wifis I've already used. The SSID in range is not listed. Perhaps because the SSID in range is marked 'permanently disabled' (see above)
---
Additional Edit, more info:
* I'm unable to reliably replicate this. It only disconnects when I'm assuming it'll work, and it doesn't seem to be crashing while I'm trying to use it.
* I got a disconnect while doing a beyondpod (podcast app) update: <https://pastebin.com/Edx7ADXZ> Things to note:
+ I could not duplicate it with just the podcast app
+ If you search in the log for beyondpod, you'll see more information about where the disconnect happens. Sometime before: "08-23 12:53:46.600"
---
Update 3:
I wiped my phone, and it was fine for a while, but it came back. The same error codes: `NETWORK_SELECTION_PERMANENTLY_DISABLED` and `NETWORK_SELECTION_DISABLED_BY_WIFI_MANAGER=2`
I guess wiping it was not sufficient.
Is there anything I can run to constantly reset my wifi (when the hardware switch is on) to effectively cancel out whatever is turning it off?<issue_comment>username_1: Android didn't indicate which applications where toggling the wifi status accurately, and the logs were unhelpful.
I later noticed that "[MyCricket](https://play.google.com/store/apps/details?id=com.mizmowireless.acctmgt&hl=en_US)", an application that helps pay for my Phone Service, had a setting titled: [Turning on Cricket Wi-Fi Manager](https://www.cricketwireless.com/support/apps-and-services/wi-fi-manager/customer/wi-fi-manager.html)
Turning off this setting fixed it. I wish the Android controls had been more helpful.
Upvotes: 2 [selected_answer]<issue_comment>username_2: Go to settings/display/screen saver & enable it. It seems to keep the wifi running. Hope I can help. I know it is an old thread but people still use this phone & this search is #2 on googling "s7 wifi keeps disconnecting" I hope I can help people like me.
Upvotes: 0 |
2018/08/14 | 355 | 1,508 | <issue_start>username_0: I have Samsung Galaxy Tab A and I put a pattern lock on it, but sometime later, I forgot the pattern.
I've looked it up and the only options to recover are to have the tablet off, but I can't turn the tablet off without the passcode.
How to recover access to it?<issue_comment>username_1: There's a simple way out.
Assuming your tablet is connected to the Internet and you have Google account signed in, just enter pattern several times till the screen shows **Forgot pattern**. Click it then enter your Google account credentials to gain access to your tablet.
Upvotes: 0 <issue_comment>username_2: Drain the battery down if you can't shut it down. Then, volume up and power for a few seconds (until it shows its doing something) from there, you can wipe the device
Upvotes: 0 <issue_comment>username_3: Hold down the power button. Wait for the power off and restart to appear on the screen. You should see a restart in safe mode. Restart and if everything is ok do a regular restart
I didn't forget my pattern but it wouldn't work. Just blanked the screen if I put in the correct pattern. And said incorrect pattern if I tried an incorrect pattern. I also noticed it was not counting down the incorrect attempts.
I did the above combo just by trying combos. It worked.
Good Luck
Upvotes: 0 <issue_comment>username_4: Push the down volume button and power button at the same time. It reset my tablet and I just reentered the pattern and it worked. I hope this helps.
Upvotes: 1 |
2018/08/15 | 1,726 | 5,358 | <issue_start>username_0: I am having trouble with my S6 Active. It has been stuck in a boot loop for a week now. It was running stock beforehand. I flashed a stock AT&T Nougat ROM with Odin. The AP, CP, and CSC all successfully flash but it is still stuck on the Samsung logo screen when it boots. Here is the log:
```
Added!!
Enter CS for MD5..
Check MD5.. Do not unplug the cable..
Please wait..
Checking MD5 finished Sucessfully..
Leave CS..
Enter CS for MD5..
Check MD5.. Do not unplug the cable..
Please wait..
Checking MD5 finished Sucessfully..
Leave CS..
Enter CS for MD5..
Check MD5.. Do not unplug the cable..
Please wait..
Checking MD5 finished Sucessfully..
Leave CS..
Odin engine v(ID:3.1301)..
File analysis..
Total Binary size: 4539 M
SetupConnection..
Initialzation..
Set PIT file..
DO NOT TURN OFF TARGET!!
Erase...
ERASE\_SECTOR: 1197824
Get PIT for mapping..
ERASE\_OK
Firmware update start..
NAND Write Start!!
SingleDownload.
boot.img
recovery.img
system.img
userdata.img
modem.bin
Transmission Complete..
Now Writing.. Please wait about 2 minutes
Receive Response from boot-loader
cache.img
RQT\_CLOSE !!
RES OK !!
Removed!!
Remain Port .... 0
All threads completed. (succeed 1 / failed 0)
```
If I try to flash the Bootloader, and it fails. I receive the following:
```
Added!!
Enter CS for MD5..
Check MD5.. Do not unplug the cable..
Please wait..
Checking MD5 finished Sucessfully..
Leave CS..
Odin engine v(ID:3.1301)..
File analysis..
Total Binary size: 4 M
SetupConnection..
Initialzation..
Erase...
ERASE\_SECTOR: 1197824
Get PIT for mapping..
ERASE\_OK
Firmware update start..
NAND Write Start!!
SingleDownload.
sboot.bin
FAIL!
Complete(Write) operation failed.
All threads completed. (succeed 0 / failed 1)
```
Is the bootloader the issue or is it just failing because it's bootloader locked? Is there anything I can try to get it to boot?
For reference, the ROM I am using is found [here](https://forum.xda-developers.com/galaxy-s6/galaxy-s6-active/g890a-stock-att-odin-nougat-7-0-firmware-t3611772):
```
AP_G890AUCU6DQD1_CL10950877_QB13102601_REV02_user_ low_ship_meta.tar
BL_G890AUCU6DQD1_CL10950877_QB13102601_REV02_user_ low_ship.tar
CP_G890AUCU6DQD1_CP6129305_CL10950877_QB13102601_R EV02_user_low_ship.tar
CSC_ATT_G890AATT6DQD1_CL10950877_QB13102601_REV02_ user_low_ship.tar
```
I purchased this phone secondhand. I do not know if the prior user flashed it.
**UPDATE**: I was able to flash the most current firmware onto the device.
```
Model: Samsung Galaxy S6 Active SM-G890A
OS Version: Android Nougat V7.0
PDA/AP Version: G890AUCS7DRF2
MODEM/CP Version: G890AUCS7DRF2
CSC Version: G890AATT7DRF2
Region: USA AT&T
Security Patch Level : 2018-07-03
```
I flashed the BL, AP, CP, CSC, and used the .pit file, and everything went smoothly:
```
Added!!
Enter CS for MD5..
Check MD5.. Do not unplug the cable..
Please wait..
Checking MD5 finished Sucessfully..
Leave CS..
Enter CS for MD5..
Check MD5.. Do not unplug the cable..
Please wait..
Checking MD5 finished Sucessfully..
Leave CS..
Enter CS for MD5..
Check MD5.. Do not unplug the cable..
Please wait..
Checking MD5 finished Sucessfully..
Leave CS..
Enter CS for MD5..
Check MD5.. Do not unplug the cable..
Please wait..
Checking MD5 finished Sucessfully..
Leave CS..
Odin engine v(ID:3.1301)..
File analysis..
Total Binary size: 4644 M
SetupConnection..
Initialzation..
Set PIT file..
DO NOT TURN OFF TARGET!!
Erase...
ERASE\_SECTOR: 1197824
Get PIT for mapping..
ERASE\_OK
Firmware update start..
NAND Write Start!!
SingleDownload.
sboot.bin
param.bin
cm.bin
boot.img
recovery.img
system.img
userdata.img
modem.bin
Transmission Complete..
Now Writing.. Please wait about 2 minutes
Receive Response from boot-loader
cache.img
RQT\_CLOSE !!
RES OK !!
Removed!!
Remain Port .... 0
All threads completed. (succeed 1 / failed 0
```
HOWEVER, the device is still stuck on the Samsung logo when it boots. I'm not sure what else I can do at this point. It's out of warranty and Samsung wants $70 to fix it.<issue_comment>username_1: There's a simple way out.
Assuming your tablet is connected to the Internet and you have Google account signed in, just enter pattern several times till the screen shows **Forgot pattern**. Click it then enter your Google account credentials to gain access to your tablet.
Upvotes: 0 <issue_comment>username_2: Drain the battery down if you can't shut it down. Then, volume up and power for a few seconds (until it shows its doing something) from there, you can wipe the device
Upvotes: 0 <issue_comment>username_3: Hold down the power button. Wait for the power off and restart to appear on the screen. You should see a restart in safe mode. Restart and if everything is ok do a regular restart
I didn't forget my pattern but it wouldn't work. Just blanked the screen if I put in the correct pattern. And said incorrect pattern if I tried an incorrect pattern. I also noticed it was not counting down the incorrect attempts.
I did the above combo just by trying combos. It worked.
Good Luck
Upvotes: 0 <issue_comment>username_4: Push the down volume button and power button at the same time. It reset my tablet and I just reentered the pattern and it worked. I hope this helps.
Upvotes: 1 |
2018/08/15 | 487 | 1,948 | <issue_start>username_0: I make extensive use of GROUPS in my Gmail account. For example, all medical contacts are stored in MEDICAL, restaurants in RESTAURANTS, etc. When doing this I specifically do not have the group entry appear in MY CONTACTS. This removes clutter from MY CONTACTS. I have 97 entries in MY CONTACTS, and 300 entries among the groups that do not appear in MY CONTACTS. Somewhere I COPIED my Gmail to my phone contacts and to my surprise all the group entries from Gmail now also appear in MY CONTACTS on the phone which results in 397 phone contacts (97 + 300). I would like the phone contacts to be exactly as they appear in the Gmail contacts.
I have tried Settings > More > Applications > Go right to all apps > scroll down to "Contacts Storage" Then clicked on contacts storage > Click Clear Data but that did not do the job.<issue_comment>username_1: It depend on your device model. You should check the setting of contact application. You can disable google contact to show in contact application. By the way, Go to [Google Contacts](https://contacts.google.com/). Export contact list to a csv file. Import this file on your device and check the groups.
Upvotes: 0 <issue_comment>username_2: If you only want a particular contact group to appear in the contacts app on your phone, then you can achieve it pretty easily by using the Contacts to display option in your Contacts app.
1. Open Contacts app.
2. Tap on the 3 dots at top right, choose Settings.
3. Select *Contacts to display* > customize.
4. Expand your Google account and uncheck all the other groups and keep only *My Contacts*.
[](https://i.stack.imgur.com/mR0Wt.jpg)
Do note that when performing a search within contacts, it will still search within all the available contacts. But under normal display it will only show your 97 contacts stored under *My Contacts* group.
Upvotes: 1 |
2018/08/16 | 736 | 2,746 | <issue_start>username_0: I have a OnePlus 6 that uses the A/B partition schema.
Previously with my OnePlus 5 with TWRP, I normally download the OTA package, reboot into TWRP to install it, and then TWRP img and Magisk ZIP afterwards. Then I have a fully updated system with TWRP and Magisk.
Now with A/B partition, the OTA gets installed immediately after downloading. I can only flash Magisk before rebooting, by manually extracting the boot image using command-line tools and Magisk's "Patch Boot Image" function, before flashing the patched boot image back. However, I see no option to install TWRP in this way (I'm currently not able to apply the ZIP using CLI tools). Any ideas?
Some good points for OnePlus over AOSP: OnePlus detects Magisk root and downloads full image instead of incremental OTA image, which saves the time for boot restoration, and also allows installing OTA even if `/system` is modified.
However, there's no "Disable Auto OTA Installation" in Developer Settings, so OTA installation may not be avoidable to some extents.<issue_comment>username_1: This answer is more applicable to AOSP and not One Plus 6 as I realized post edit by OP. Retaining for general info
---
**You can't** ATM
Welcome to the convenience and complications of A/B partitions
* Firstly, A/B devices don't have `/recovery` partition as recovery is included in the `/boot` partition. Which means everytime you update custom recovery is replaced by the stock recovery. For more details, see the second link in my answer here [`Wipe Cache` option in Google Pixel 2!](https://android.stackexchange.com/questions/199783/wipe-cache-option-in-google-pixel-2/199787#199787)
* For retaining root,that is Magisk, the developer has recommended a method for [OTA installation](https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md) which doesn't entail extracting / patching boot images
* For custom ROM's too Gapps don't survive OTA updates unless the Gapps are modified (as in the case of official Lineage OS for my device MiA1 as an example)
It may be possible if the custom recovery is also modded to survive OTA like Gapps. AFAIK, this is the current state for A/B devices which means you can't update OTA on the go and have custom recovery without having a PC (reason for me to delay OTA updates)
Upvotes: 1 <issue_comment>username_2: I just realized that [I self-answered this question](https://android.stackexchange.com/a/201506/205764) some time ago.
The answer is YES. After OTA, I use `dd` to pull out the new boot image, install TWRP in the way given above, and install Magisk over the TWRP-equipped boot image, and then `dd` it back. After rebooting, the after-OTA system has TWRP and Magisk ready.
Upvotes: 1 [selected_answer] |
2018/08/16 | 886 | 3,355 | <issue_start>username_0: I had a problem with [this app](https://i.stack.imgur.com/WvGcp.png) (I found on a package with the same name on [Google Play](https://play.google.com/store/apps/details?id=com.freshmenu), but I doubt it's the same thing) which kept getting installed all by itself again and again, and once istalled, it would start using my limited 3G internet traffic. My phone is not rooted and installing apps from unknown sources is forbidden. A scan with Malwarebytes doesn't detect anything.
From this I deduced that the offending app is somehow bundled by the manufacturer, so I won't be able to get rid of it without rooting (which I don't plan to do). Since uninstalling it didn't help as the app would get reinstalled, I figured I strip it of all permissions and forbid it to use background data. So far this solves my immediate problem with 3G traffic consumption.
However, I see that the app still gets started, consuming RAM (second entry in the list on a freshly booted phone, right after "Android OS") and creating storage data and cache objects. Is there anything I can do to prevent the app from getting started?
Edit: I have tried `adb shell pm uninstall --user 0 com.freshmenu` which indeed removes the package, but it gets reinstalled after a while. I have tried to search for `installer` in `adb shell pm list packages -i com.freshmenu`, and it's indeed set to `null`, so I could not discover the offender responsible for reinstalling. I have run `adb shell dumpsys package` to discover which apps have `REQUEST_INSTALL_PACKAGES` permission. There are 4 of them, and they don't look suspicious:
* com.whatsapp (installer=com.android.vending)
* android (installer=null)
* com.google.android.apps.docs (installer=com.android.vending)
* com.android.chrome (installer=com.android.vending)
There are 5 more apps having `INSTALL_PACKAGES` permission:
* com.android.vending (installer=com.android.vending)
* android (installer=null)
* com.mediatek.datatransfer (installer=null)
* com.google.android.packageinstaller (installer=null)
* com.android.managedprovisioning (installer=null)<issue_comment>username_1: After a rather long exchange in the comments, it was discovered that installing a dummy package with the same name as the bloatware helps, by making the bloatware installation silently fail.
@Firelord was nice enough to make a dummy package for me, future readers could make their own packages with [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm&hl=en) + [Tasker App Factory](https://play.google.com/store/apps/details?id=net.dinglisch.android.appfactory&hl=en) plugin. Those who don't need Tasker and don't want to pay for it should be able to grab a 7-day free trial [here](https://tasker.joaoapps.com/download.html).
Upvotes: 2 [selected_answer]<issue_comment>username_2: I'm of the never unlock an Android Device page.
I use the Applications tab, go in and disable as much of the bloatware I can. Clean/clear the cache. That strips them down to least objectionable. Some you can't disable, but you can reset to factory settings & uninstall all updates. It again saves some space.
I've had an 8gb phone, on Android 6.x. It sucked big time, & I could barely get the most needed Google Apps installed & updated. The HTC & US Cellular bloat-scheize was worthless!
Upvotes: 0 |
2018/08/16 | 494 | 1,823 | <issue_start>username_0: I have a new Moto Z2 Force, bought for the Qualcom Snapdragon 835 and the 6GB RAM, running Nougat 7.1.1. I also have a new Samsung 224GB U3 micro-SD card for it. That operates nicely as an exchangeable card.
I can't find a way to format the card as internal storage, or otherwise adopt it into the device's own storage. Searching for information about this, I'm finding a lot of postings on various forums that advise against adopting a card, because it often gives trouble.
Is adopting a large card as internal storage considered bad practice nowadays?<issue_comment>username_1: After a rather long exchange in the comments, it was discovered that installing a dummy package with the same name as the bloatware helps, by making the bloatware installation silently fail.
@Firelord was nice enough to make a dummy package for me, future readers could make their own packages with [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm&hl=en) + [Tasker App Factory](https://play.google.com/store/apps/details?id=net.dinglisch.android.appfactory&hl=en) plugin. Those who don't need Tasker and don't want to pay for it should be able to grab a 7-day free trial [here](https://tasker.joaoapps.com/download.html).
Upvotes: 2 [selected_answer]<issue_comment>username_2: I'm of the never unlock an Android Device page.
I use the Applications tab, go in and disable as much of the bloatware I can. Clean/clear the cache. That strips them down to least objectionable. Some you can't disable, but you can reset to factory settings & uninstall all updates. It again saves some space.
I've had an 8gb phone, on Android 6.x. It sucked big time, & I could barely get the most needed Google Apps installed & updated. The HTC & US Cellular bloat-scheize was worthless!
Upvotes: 0 |
2018/08/18 | 528 | 1,875 | <issue_start>username_0: I have a Samsung Galaxy Young. Yesterday it suddenly switched off and is turning on but stuck on a lopp. I can not boot into recovery mode it has stuck in some kind of loop. Please help me I have tried flashing the stock ROM but it does not help. Even when I plugin the charger it shows same loop. This is a video of the loop I have recorded:
[Video](https://drive.google.com/file/d/1t38NYXvawmxSiIK9gqRTLINoIvG158Vi6w/view?usp=drivesdk)
My phone is **samsung galaxy young GT-S6312**. It is running on android 4.1.2 Jellybean.
Please somebody tell me what is the problem and what probably is the solution.<issue_comment>username_1: After a rather long exchange in the comments, it was discovered that installing a dummy package with the same name as the bloatware helps, by making the bloatware installation silently fail.
@Firelord was nice enough to make a dummy package for me, future readers could make their own packages with [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm&hl=en) + [Tasker App Factory](https://play.google.com/store/apps/details?id=net.dinglisch.android.appfactory&hl=en) plugin. Those who don't need Tasker and don't want to pay for it should be able to grab a 7-day free trial [here](https://tasker.joaoapps.com/download.html).
Upvotes: 2 [selected_answer]<issue_comment>username_2: I'm of the never unlock an Android Device page.
I use the Applications tab, go in and disable as much of the bloatware I can. Clean/clear the cache. That strips them down to least objectionable. Some you can't disable, but you can reset to factory settings & uninstall all updates. It again saves some space.
I've had an 8gb phone, on Android 6.x. It sucked big time, & I could barely get the most needed Google Apps installed & updated. The HTC & US Cellular bloat-scheize was worthless!
Upvotes: 0 |
2018/08/18 | 404 | 1,451 | <issue_start>username_0: Can someone tell me how can I enable this permission that is being asked in the screenshot below?
[](https://i.stack.imgur.com/Q1cHv.png)<issue_comment>username_1: After a rather long exchange in the comments, it was discovered that installing a dummy package with the same name as the bloatware helps, by making the bloatware installation silently fail.
@Firelord was nice enough to make a dummy package for me, future readers could make their own packages with [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm&hl=en) + [Tasker App Factory](https://play.google.com/store/apps/details?id=net.dinglisch.android.appfactory&hl=en) plugin. Those who don't need Tasker and don't want to pay for it should be able to grab a 7-day free trial [here](https://tasker.joaoapps.com/download.html).
Upvotes: 2 [selected_answer]<issue_comment>username_2: I'm of the never unlock an Android Device page.
I use the Applications tab, go in and disable as much of the bloatware I can. Clean/clear the cache. That strips them down to least objectionable. Some you can't disable, but you can reset to factory settings & uninstall all updates. It again saves some space.
I've had an 8gb phone, on Android 6.x. It sucked big time, & I could barely get the most needed Google Apps installed & updated. The HTC & US Cellular bloat-scheize was worthless!
Upvotes: 0 |
2018/08/21 | 273 | 956 | <issue_start>username_0: I have a new Xiaomi Mi 5C ordered from AliExpress. When connected to the data network in Denmark, the internet is horribly sluggish. It seems to only be able to connect via Edge. Anybody knows a solution?
Note 1: that the same sim card in another phone provides 3G connectivity.
Note 2: all the settings are such that it should be using 3G when possible (e.g. Preferred Network Type = 3G)
Android Version: 7.1.2.<issue_comment>username_1: did you try changing the network model...is it stuck on edge..after changing the network model go to your network details and make shure your are on the selected network mode
Upvotes: 0 <issue_comment>username_2: Oki, what solved it for me were the following steps for enabling 4G on Xiaomi Mi5C:
1. dial \*#\*#1#\*#\*
2. in the menu select 'TEL\_Assistant'
3. select 'Telephony' and then 'Radio Access Tec'
4. choose the '5 MODE' and then 'Save'
5. reboot/restart the device
Upvotes: 1 |
2018/08/21 | 258 | 1,020 | <issue_start>username_0: I'm trying to delete 360 Security from my phone ( Samsung J 6 3 ), and it is activated as my device Administrator, when I go to deactivate the device administrative permission it shuts down my settings. How can i get rid of this app?<issue_comment>username_1: Try to repeat this step in safe mode. You can access safe mode by these steps.
>
> Power off your device by holding down the Power button and then tapping on Power off.
> Power on your device by holding down the Power button. As soon as the Samsung Logo pops up, press and hold down the Volume Down key until your device as rebooted.
> You will now be able to see Safe Mode down the near the bottom left of the screen.
> To exit safe mode just reboot the device.
>
>
>
Hope it helped.
Upvotes: 0 <issue_comment>username_2: Funny things happen .I updated the 360 security app and then went back and the device administrator was deactivated .don't ask me why but it seemed to help .Thanks everyone for you answers.
Upvotes: -1 |
2018/08/21 | 691 | 2,891 | <issue_start>username_0: Whenever I take a picture with the front camera on Snapchat on my Xiaomi Mi Max 2, it makes a loud fake camera shutter sound.
I have tried putting the phone on mute/do not disturb and having the ringer volume, alarm volume, and media volume off, and it still makes the sound. I have gone into the camera app settings and turned off the camera sounds, which works for my default camera app (I can take pictures on it with no sound) but it still makes the sound on Snapchat.
Does anyone know how to disable this sound? I'd be surprised if Snapchat made its own camera shutter sound which isn't mutable, surely it just uses the device's settings and sounds, right?<issue_comment>username_1: First of all, Snapchat will access your mobile camera application because it has the permission given by the developers, one thing you can stop this by the following statements.
Go to Setting - Apps - Snapchat - then click on the launch button - then go to running apps - then just choose Snapchat and select stop. By this, you can stop the service of this app.
Upvotes: -1 <issue_comment>username_2: If you have Snapchat alpha enabled, turning on flash or night mode will disable the shutter sound.
To enable Snapchat alpha right now in the new update, you have to open the Snapchat map and search Bermuda. You'll find a ghost that can enable alpha mode.
Upvotes: 0 <issue_comment>username_3: Easy solution - just press the moon icon on the top right corner of the screen on Snapchat to turn on Snapchat night mode and leave it on.
Upvotes: 0 <issue_comment>username_4: Go to your Camera app → open Settings, and turn off Camera sound. Because Snapchat uses the Xiaomi's Camera, it inherits this setting.
Upvotes: -1 <issue_comment>username_5: Snapchat doesn't directly use Xiaomi camera. It takes a screenshot of what happens on the screen through the camera. It doesn't actually take a 'photo'. I read it in an article. Try comparing Snapchat photos with camera photos with Xiaomi phone. The difference is absurd.
Snapchat doesn't want to make so many configurations for every Android phone that is getting pushed out on the market. Different resolutions, screen ratios, camera, etc., so they made a standard for probably all non-flagship phones I think. I got Mi Mix 1, this one is affected by this standard.
Upvotes: -1 <issue_comment>username_6: After a lot of struggle, I found a solution. It might not be a permanent one but for now it works. Just download an older version where the sound is not in the app yet.
Upvotes: 0 <issue_comment>username_7: It's because of the rear camera.
Switch it to the front camera on your phone so when your app opens, it shows you on the app screen. And now there's no more sound when you open or close your app, as long as you are using the front camera and always set it back to open the front camera on your phone.
Upvotes: -1 |
2018/08/21 | 302 | 1,197 | <issue_start>username_0: In the DND (Do Not Disturb) settings in Android 8.1 there is an option to allow "Priority Only" notifications through. You can set what types of things qualify for priority (e.g., someone calling twice in a 15 minute period).
One of the options there is "Messages" which you can set to anyone, contacts only, starred contacts only or none.
However, what "messages" does this apply to? Is it only from hangouts or the builting messaging app? Is it SMS messages?
For example, I'd like WhatsApp messages from certainly people to come through, but I doubt Android knows how to match up the sending of a message from a third-party messaging to my contacts list?<issue_comment>username_1: I checked this about an year ago when I had hangouts installed
All messages (including text) that use GCM were blocked. [WhatsApp doesn't use GCM](https://android.stackexchange.com/a/43974) so they will be received
Upvotes: 1 <issue_comment>username_2: If it's just phone contacts, then it's just phone contacts. If it's a Google thing, as long as you got contacts on your Google account, then that will still go through. Look at it like messenger and phone (SMS) messages.
Upvotes: 0 |
2018/08/22 | 543 | 1,930 | <issue_start>username_0: I recently updated my Chrome for Android (currently on v68) and noticed that tapping on the box icon (next to address bar) gives a tab list instead of SystemUI type overview that Chrome used to give. See the two images below for comparison.
I know that I can get that same view by swiping downwards from the address bar but I'm habitual of getting it from that box icon.
So what can I do to get back that view from that box **without reverting to a previous version of Chrome and without switching to an another browser (unless it is Chrome based)**?
[](https://i.stack.imgur.com/a7mXC.png)
[](https://i.stack.imgur.com/FKEpX.png)<issue_comment>username_1: Per beeshyams's [comment](https://android.stackexchange.com/questions/200676/how-to-revert-to-tabbed-overview-in-chrome/200677?noredirect=1#comment256631_200690)
the culprit appears to be the flag Accessibility Tab Switcher. However, I also did a fresh install to reproduce the issue with all flags untouched and it was ruled out with that.
Talking about Accessibility as he mentioned, I attempted Safe Mode and found that the issue was gone. Later, I tried to stop all accessibility services under Settings → Accessibility, and using trial and error, found [AutoInput](https://play.google.com/store/apps/details?id=com.joaomgcd.autoinput) to be the culprit causing the overview to flatten out. Stopping its service immediately solved the problem.
Upvotes: 2 <issue_comment>username_2: You just need to uncheck the "Simplified view for open tabs" box under Settings → Accessibility in Chrome app.
[](https://i.stack.imgur.com/k8Luq.jpg)
Upvotes: 3 [selected_answer]<issue_comment>username_3: I fixed the issue by going to chrome://flags and enabled "Enable horizontal tab switcher"...
Cheers
Upvotes: 0 |
2018/08/23 | 825 | 2,742 | <issue_start>username_0: It is known that TWRP does not back up `/data/media` as you can read
[here](https://android.stackexchange.com/a/176441/131553) and on other posts on this site, also on [TWRP FAQ](https://twrp.me/faq/datamedia.html)
**How can one bypass this?**<issue_comment>username_1: There's an app that's just been released (tested on Moto X Play) that bridges the gap between Nandroid and **full** backup and backs up photos, videos, game data etc, which wasn't possible earlier
[Tipatch](https://play.google.com/store/apps/details?id=com.kdrag0n.tipatch) (Play Store) and quoting from [developers XDA thread](https://forum.xda-developers.com/android/apps-games/app-twrp-tipatch-backup-internal-t3831217)
>
> Tipatch patches TWRP to backup contents of internal storage (emulated SD card) as part of Data, thus preventing data loss. Internal storage typically includes items such as photos, videos, downloads, game data, and other assorted files.
>
>
> A side effect is that wiping "Data" will also wipe internal storage. This cannot be fixed.
>
>
>
Programs (instead of using app) for all OS's available on [Github](https://github.com/kdrag0n/tipatch/releases)
I am not affiliated in any way with the app or developer and wanted to share a tip-off from a friend
Edit: Also now tracker free version [available in Izzy's F-droid repo](https://apt.izzysoft.de/fdroid/index/apk/com.kdrag0n.tipatch)
**Edit 2** User [username_3](https://android.stackexchange.com/users/170470/username_3) who is a regular contributor here has a universal bind mount enabler, for the same functionality. You can download it from [XDA](https://forum.xda-developers.com/android/software-hacking/recovery-fix-backup-internal-storage-t3941108). There is also a Magisk module "TWRP helper" that claims to do the same (not tested by me).
Upvotes: 3 [selected_answer]<issue_comment>username_2: I would follow the idea from <https://forum.xda-developers.com/android/general/tutorial-create-internal-storage-backup-t3389172> - that is
>
> Step 1- reboot in recovery
> Step 2-mount all partitions
> Step 3-now open file manager
> Step 4-go to path /data/media
> Step 5-now rename media folder name to xyz
> (now path name is /data/xyz)
> Step 6- now go to backup window
> Step 7- now refresh memory.... u notice that data partition memory is increase (data+internal storage)
>
>
>
and then back up to your preferred location, e.g. external SD card.
Upvotes: 1 <issue_comment>username_3: Starting from TWRP version 3.4.0+ we can now make backup of Internal Storage straight from menu without any modification
thanks to the developers who finally decided to include that option after a long period of such feature request :)
Upvotes: 1 |
2018/08/23 | 896 | 3,194 | <issue_start>username_0: I (Oneplus 3) and my girlfriend (iPhone) arrived in a hotel yesterday with open networks for us to use. So no splash screen or log in. The problem that I am facing is that I am able to connect to the network but I can't seem to use Google to search for things. It gives me "You're offline" without any additional information. However, I am able to receive WhatsApp messages and use some other apps like Facebook.
I have tried everything that I can think of and have been using mobile data to Google that problem for a few hours but no result. The weird thing is that when I connect to like a restaurant WiFi, everything works like it's supposed to. In the hotel, everyone can use WiFi except me.<issue_comment>username_1: There's an app that's just been released (tested on Moto X Play) that bridges the gap between Nandroid and **full** backup and backs up photos, videos, game data etc, which wasn't possible earlier
[Tipatch](https://play.google.com/store/apps/details?id=com.kdrag0n.tipatch) (Play Store) and quoting from [developers XDA thread](https://forum.xda-developers.com/android/apps-games/app-twrp-tipatch-backup-internal-t3831217)
>
> Tipatch patches TWRP to backup contents of internal storage (emulated SD card) as part of Data, thus preventing data loss. Internal storage typically includes items such as photos, videos, downloads, game data, and other assorted files.
>
>
> A side effect is that wiping "Data" will also wipe internal storage. This cannot be fixed.
>
>
>
Programs (instead of using app) for all OS's available on [Github](https://github.com/kdrag0n/tipatch/releases)
I am not affiliated in any way with the app or developer and wanted to share a tip-off from a friend
Edit: Also now tracker free version [available in Izzy's F-droid repo](https://apt.izzysoft.de/fdroid/index/apk/com.kdrag0n.tipatch)
**Edit 2** User [username_3](https://android.stackexchange.com/users/170470/username_3) who is a regular contributor here has a universal bind mount enabler, for the same functionality. You can download it from [XDA](https://forum.xda-developers.com/android/software-hacking/recovery-fix-backup-internal-storage-t3941108). There is also a Magisk module "TWRP helper" that claims to do the same (not tested by me).
Upvotes: 3 [selected_answer]<issue_comment>username_2: I would follow the idea from <https://forum.xda-developers.com/android/general/tutorial-create-internal-storage-backup-t3389172> - that is
>
> Step 1- reboot in recovery
> Step 2-mount all partitions
> Step 3-now open file manager
> Step 4-go to path /data/media
> Step 5-now rename media folder name to xyz
> (now path name is /data/xyz)
> Step 6- now go to backup window
> Step 7- now refresh memory.... u notice that data partition memory is increase (data+internal storage)
>
>
>
and then back up to your preferred location, e.g. external SD card.
Upvotes: 1 <issue_comment>username_3: Starting from TWRP version 3.4.0+ we can now make backup of Internal Storage straight from menu without any modification
thanks to the developers who finally decided to include that option after a long period of such feature request :)
Upvotes: 1 |
2018/08/24 | 306 | 1,192 | <issue_start>username_0: I installed Android P once it got released for Google Pixel phone. But they changed how you mute your phone. Now there is the option to put your device on vibrate/mute on the bar that appears when you change the volume and then there is the "do not disturb" option.
In Android 8 you had as option to change the "do not disturb" option to "total silence". How do you recreate this?
When you have "do not disturb" on stuff like YouTube, it still plays sounds; same for the Whatsapp message sound. Muting on that bar thingy still lets calls through and both together *seem* to work out but i cant be sure. I don't want my phone to go off in meetings so I hope someone can give me some insights.
Eric<issue_comment>username_1: When you hit the volume buttons you should see a bell icon, press it and it goes to vibrate, press it again and it's silent, at least that's what it does on my phone
Upvotes: 0 <issue_comment>username_2: Looks like Google has removed this feature in Android P. There is a feature request open here -> <https://issuetracker.google.com/issues/80089859>
You can go and Star that ticket to show your support for it.
Upvotes: 2 [selected_answer] |
2018/08/24 | 250 | 974 | <issue_start>username_0: I'm using 2 apps, "MacroDroid" and AutoInput", I set a command(Macro) that would turn on mobile data and location. But when I sent the text, it shows that mobile data and location are "on" but only location works.
And when I try to manually turn on data it won't work unless I restart my phone.
Why is this happening?
Edit : From comments. OP used [adb](/questions/tagged/adb "show questions tagged 'adb'") commands to give elevated privileges to an unrooted device for MacroDroid<issue_comment>username_1: When you hit the volume buttons you should see a bell icon, press it and it goes to vibrate, press it again and it's silent, at least that's what it does on my phone
Upvotes: 0 <issue_comment>username_2: Looks like Google has removed this feature in Android P. There is a feature request open here -> <https://issuetracker.google.com/issues/80089859>
You can go and Star that ticket to show your support for it.
Upvotes: 2 [selected_answer] |
2018/08/25 | 895 | 3,444 | <issue_start>username_0: I have a broken display which belongs to my friend. The mobile can power on but the display is still blank. I need to enable USB debugging to recover the data. While doing so there are these following .
**Problems:**
1. USB debugging is not enabled
2. Bootloader is locked
3. Mobile has a password (pin or character password)
4. Devevoper options may not be turned on (cant tell now)
5. Devices is not detected via ADB or Fastboot
6. Cant go into the recovery or Fastboot mode
7. Device is not rooted
8. Custom Recovery not installed
9. No SD Card slot
**Terminal Output:**
```
➜ ~ git:(master) ✗ adb devices
List of devices attached
➜ ~ git:(master) ✗ fastboot devices
➜ ~ git:(master) ✗
```
**What I have tried?**
1. Tried Odin and SP Flash tool (Mobile not detected)
2. Tried to enter the recovery and fastboot (No use)
3. Tried ADB in a variety of OS (Win 10, Manjaro, Backbox, Win 7)
So is there any way to enable USB debugging in that device? Or any way of recovering the data. Any small lead that can make this device accessible via a computer is really helpful.
**Note: How this differs from other similar questions:**
Those devices that have this similar problem atleast have USB debugging enabled in the first place. Some can still go to recovery where as I cant. Some have SD card support this phone lacks it.
**Device Description:**
* Manufacturer : *Micromax*
* Model No. : *A350*
* Root Status : *Not rooted*
* Bricked Status : *No*
* Boot Status : *Boots*
* Recovery : *Stock*
* USB debugging : *Not enabled*
* Bootloader : *Locked*
* Phone Lock : *Password or Pin*
* Display Status : *Blank black screen*
* USB OTG : *Supported*
* SD Card Support : *No*<issue_comment>username_1: I would suggest:
Connect keyboard via usb otg and enter password (buy usb otg if you don't have it).
Disconnect keyboard and connect PC, take a screenshot on your phone and load it in the PC. Swap between mouse and PC (mouse to move around some, PC to step by step check how to get there by the screenshots)
Upvotes: 2 <issue_comment>username_2: Connect your phone with USB to your laptop.
Then open the folder **DCIM –> Screenshots** of your phone with the laptop.
With your phone, open “Settings” and **take a screenshot with your phone physical keys (*e.g. Samsung on Android 10: press VOLUME DOWN + POWER BUTTON very shortly to take a screenshot*) every time you scroll the screen to find “About phone” and “Developer Options” –> USB-debugging**.
**If your screen is unresponsive**, plug an USB keyboard to your phone with an OTG adapter. Then, use the keyboard to open Settings (Android: press the Windows key on the USB-keyboard to activate Google speech recognition and say "settings") and scroll with the arrow keys to About Phone or Developer Options, while taking screenshots every time you scroll with the arrow keys.
**Look at the screenshots on your computer to find the right place to swipe and touch with your finger** (or if you are using OTG+USB keyboard: **find the right amount of arrow key & Enter key presses** to find USB debugging in Developer Options). Refresh the folder every time you take a new screenshot, a new screenshot should appear in the folder in around 5 seconds.
After USB debugging is turned on, connect your phone with USB to your computer and use **scrcpy** (<https://github.com/Genymobile/scrcpy>) to view your phone screen on your laptop computer.
Upvotes: 0 |
2018/08/25 | 645 | 2,240 | <issue_start>username_0: After reviewing [this](https://wiki.termux.com/wiki/Internal_and_external_storage), I used `termux-setup-storage` on my phone and Andy Android emulator.
After running the above command, I am able to view root directory with `ls`
on Andy emulator but not on phone.
**INFO:**
Android version 7.1.1
Xperia XZ
SoftBank locked the phone BIOS (or whatever it was) so I can't root it.
Storage permissions are granted.
What else can I try to use `ls` on root directory on my phone?<issue_comment>username_1: If you can't root your phone, you can't see root /
The termux-storage-storage allows you to access SD card storage and NOT root /
Note:
Andy emulator IS rooted by default
- Thanks l3l\_aze, iBug, Death Mask Salesman, username_2
Upvotes: 2 [selected_answer]<issue_comment>username_2: `termux-setup-storage` only grants [android.permission.WRITE\_EXTERNAL\_STORAGE](https://developer.android.com/reference/android/Manifest.permission.html#WRITE_EXTERNAL_STORAGE) that lets the app access internal SD card i.e. `/sdcard`.
Android's init creates rootfs `/` with permissions `0:0` (uid:gid) and `0755` (mode). So the root directory should be accessible to any non-root user.
However SELinux plays its role restricting unauthorized access to rootfs. You can view such policy denials by:
```
dmesg | grep 'avc: denied'
```
\* Most probably SELinux will deny this command too if run from non-root app
To view all SEPolicy rules, `sesearch` tool from [setools-android](https://github.com/xmikos/setools-android/releases) can be used.
To set SELinux permissive:
```
echo 0 >/sys/fs/selinux/enforce
# or
setenforce 0
```
Or add an exception to SELinux policy:
```
supolicy --live 'allow untrusted_app rootfs dir { read open }'
```
\* `supolicy` tool is provided by rooting solutions e.g. Magisk, SuperSu
This policy allows reading rootfs but still you may get errors because reading attributes of files/directories under rootfs isn't permitted by policy.
Also both solutions need root privileges and are nonpersistent i.e. need to be set after reboot.
So if you are running a non-rooted production build of Android (with enforcing SELinux), you won't be able to read rootfs `/`.
Upvotes: 2 |
2018/08/27 | 4,705 | 14,141 | <issue_start>username_0: I am trying to mount an NFS share on my Android phone.
I have already compiled and installed all the needed kernel modules. The NFS share mounts flawlessly but I can only mount as the `system` user.
This wouldn't be an issue if I could set the correct ownership for the mounted file system.
The problem is that the share is always mounted as user=`system` and group=`system`, making it inaccessible to regular apps.
**I would like to be able to specify the ownership of the mounted filesystem at mount time.**
This is how I mount the NFS share
```
su -c "busybox mount -o nosuid,nolock,nodev,rw,nofail,noatime,intr,tcp,actimeo=1800,context=u:object_r:rootfs:s0,user -t nfs $REMOTE_URI $LOCAL_DIRECTORY"
```
where *REMOTE\_URI* is the remote location and *LOCAL\_DIRECTORY* is the local directory. The above command is inside a script.
This is the relevant line of the `/etc/exports` file on the NFS server (a raspberry pi 3)
```
/media/neo/BLACKBOX XXX.XXX.XXX.XXX/0(rw,insecure,sync,no_root_squash,no_subtree_check,anonuid=1000,anongid=1000)
```
**System Specs:**
* LG V20 H990DS
* System - V10i-TWN (6th-Nov-17) 7.0 Stock, Rooted & Xposed
* Kernel - D.O.T.S. v1.4
* NFS version 4
**PS:** The UID and GID on the server are 1000 and 1000 respectively. In Android those are reserved for the system user and group. All my other computers have UID and GID 1000 and the same username `neo`. It would be much easier to just modify how Android mount the share. I would like to map `uid=neo(1000)->root(0)` and `guid=neo(1000)->sdcard_r(1028)` where `neo:neo` is the user on the server and `root:sdcard_r` is the user on the phone.<issue_comment>username_1: It seems that every distribution of Busybox that is on Google Play is not compatible with NFSv4 but only NFSv3. So I gave up the idea of using idmapd on Android.
* Instead, I changed the UID and GID on the NFS server to 4444 so that they don't correspond to the `system` user anymore.
* Then I created a new user on Busybox with the same name, UID, and GID as the server (In my Busybox distribution the `adduser` and `addgroup` utilities are included).
* I have purchased Tasker and downloaded [this](https://forum.xda-developers.com/galaxy-s3/themes-apps/app-nfsmounter-t2655242) set of tasks from the XDA forum.
* I have chosen the `/mnt/nfs` directory to mount the share.
I have no time to investigate which of the previous points is necessary and which is only irrelevant or optional. If you have any idea please write it in a comment.
Upvotes: 2 [selected_answer]<issue_comment>username_2: >
> I would like to map uid=neo(1000)->root(0) and guid=neo(1000)->sdcard\_r(1028) where neo:neo is the user on the server and root:sdcard\_r is the user on the phone.
>
>
>
Files ownership `root:sdcard_r (0:1028)` on Android won't work for apps. It should be `root:everybody (0:9997)` with mode `0770` for directories and `0660` for files.
HOW TO MAKE NFS WORK WITH ANDROID APPS?
---------------------------------------
**Traditional \*NIX DAC** (UIDs/GIDs) was designed to isolate human users, not programs. On Android devices - meant for one human user usually - apps need to be isolated and protected so that they can't access each other's data. So Android treats every app like a human user - with a unique UID/GID.
External storage (`/sdcard`) - whether physically external or internal - is meant to be shared by all apps i.e. multiple UIDs. If it's a traditional \*NIX filesystem (like `ext4`), every app would create files with its own UID/GID which makes it nearly impossible to share files among all apps with read/write access. To come up with a solution, Android opted emulated filesystem - based on FUSE or `sdcardfs` - with fixed ownership and mode. See details in [What is the “u#\_everybody” UID?](https://android.stackexchange.com/a/210159/218526)
These UIDs/GIDs and modes also control apps' access to files in `/sdcard`. So if we want to mount NFS to be accessible by all apps, we need to mitigate these permissions according to Android's storage design.
PLAIN UNIX SECURITY ON NFS:
---------------------------
`sec=sys` mode enforces UNIX permissions without any translation. As explained in previous section, files would be created with random ownership by different apps. So those have to be readable/writable by world (`o+rw`), otherwise apps won't be able to read/write. But there is no way to enforce [file creation mode](http://man7.org/linux/man-pages/man2/umask.2.html) globally, neither it's a good idea to share files with too open permissions. A possible solution is to use ID mapping and/or anonymous mode.
NFSv4 ID MAPPING:
-----------------
With NFSv4 it's possible to map different UIDs/GIDs between client and server. If a user with same name but different UIDs/GIDs exists on both sides, files on client look owned by the same user name, not same UID. [Linux key-management facility](http://man7.org/linux/man-pages/man7/keyrings.7.html) \* is used to store mappings of remote user IDs to local user IDs. A good explanation can be found [here](https://lists.debian.org/debian-user/2015/07/msg00966.html).
So the idea is to create user:group `neo:neo` on NFS server (`1000`:`1000`) and on Android (`0`:`9997`). For this, `rpc.idmapd` needs to be running on both server and client which queries user database (`/etc/{passwd,group}` in simplest case) through [NSS](https://en.wikipedia.org/wiki/Name_Service_Switch). *On more recent kernels the NFSv4 client instead uses [nfsidmap](http://man7.org/linux/man-pages/man5/nfsidmap.5.html), and only falls back to [`rpc.idmapd`](http://man7.org/linux/man-pages/man8/idmapd.8.html) if there was a problem running the `nfsidmap`*. Kernel calls [`/sbin/request-key`](https://android.googlesource.com/kernel/common/+/refs/heads/android-4.19/security/keys/request_key.c#95) binary in userspace which executes `nfsidmap` to query users database. So the kernel would map server's `neo` (`1000`:`1000`) to client's `neo` (`0`:`9997`).
In simple case, if UID/GID range 10000 to 19999 is not assigned to any user/group on NFS server and `Nobody-User = root`/`Nobody-Group = everybody` is defined in `/etc/idmapd.conf` on client, all files (created by Android apps) owned by non-existent users on server would be returned as owned by `0`:`9997` on client. But it doesn't resolve the problem of random ownership of files on server.
Running `rpc.idmapd` or providing `nfsidmap` on Android is a complicated task (static linking and all that). However - making use of [`keyutils`](https://www.androidfilehost.com/?fid=4349826312261651839) (`request-key` and `keyctl`) - we can trick kernel to show fixed ownership `0:9997` for all mappings regardless of what the actual ownership is:
**On NFS server:**
1. Run services:
```
~# mount -t nfsd nfsd /proc/fs/nfsd
~# rpc.mountd -g -N2 -N3 -N4 -N4.1 -N4.2 -p 4000
~# rpc.nfsd -N2 -N3 -N4 -N4.1 -N4.2 -U --p 2049 4
~# mkdir -p /run/rpc_pipefs
~# mount -t rpc_pipefs sunrpc /run/rpc_pipefs
~# rpc.idmapd -S -p /run/rpc_pipefs
~# echo -n N >/sys/module/nfsd/parameters/nfs4_disable_idmapping
~# exportfs -o rw,insecure,hide,no_subtree_check,sec=sys :/SHARED\_DIR
```
Or configure and run required `init` services. Also unblock ports though firewall on client and server.
**On Android:**
2. Create `/sbin/nfsidmap_pseudo` and `/etc/request-key.conf`:
```
#!/system/bin/sh
uid=0
gid=9997
case $2 in
uid:*)
printf '%s\0' "$uid" | /sbin/keyctl pinstantiate $1 0 ;;
gid:*)
printf '%s\0' "$gid" | /sbin/keyctl pinstantiate $1 0 ;;
*)
# won't do anything to "user" or "group" types
exit 1 ;;
esac
```
```
# /etc/request-key.conf
create id_resolver * * /sbin/nfsidmap_pseudo %k %d
```
3. Place files, set permissions and enable ID mapping::
```
~# chmod 0755 /sbin/request-key /sbin/nfsidmap_pseudo /sbin/keyctl
~# chmod 0644 /etc/request-key.conf
~# chown 0.0 /sbin/request-key /sbin/nfsidmap_pseudo /sbin/keyctl /etc/request-key.conf
~# chcon u:object_r:rootfs:s0 /sbin/request-key /sbin/nfsidmap_pseudo /sbin/keyctl
~# chcon u:object_r:system_file:s0 /etc/request-key.conf
~# echo -n N >/sys/module/nfs/parameters/nfs4_disable_idmapping
```
4. Since NFS isn't supported officially on Android, SELinux policy doesn't have required rules. You may need to set SELinux permissive or allow kernel to read/write keys, execute files in userspace and make connections:
```
~# supolicy --live 'allow kernel kernel key { search write view read }'
~# supolicy --live 'allow kernel kernel capability { net_raw net_bind_service sys_admin }'
~# supolicy --live 'allow kernel { rootfs shell_exec system_file } file { execute_no_trans execute open getattr }'
```
5. Mount:
```
~# mkdir -p /sdcard/NFS
~# busybox mount -v -t nfs4 -o vers=4.2,sec=sys,rw,tcp,port=2049,context=u:object_r:sdcardfs:s0 :/SHARED\_DIR /mnt/runtime/write/emulated/0/NFS
```
Unfortunately what we get from all this setup is that now apps apparently see files in `/sdcard/NFS` owned by `0:9997`. But **with `sec=sys` security, actual file access is not governed by NFSv4 UID Mapping** \*\*. Permissions are enforced by RPC mechanism which is not yet ready to work with ID mapping. So UID Mapping without `Kerberos` security works only if user/group name and number spaces are consistent between the client and server. It means that `neo` user on server should have UID/GID: `0`/`9997` (which nullifies the whole purpose of ID mapping). On the other hand Kerberos security (`sec=krb5`) is too [hectic](https://help.ubuntu.com/lts/serverguide/kerberos.html) to be tried on Android.
Similarly file locking on NFSv2/3 requires `portmapper` (`rpcbind`) and `rpc.statd` running on server and client both, which is not the case with Android client. So, we need to use `nolock` mount option. On NFSv4, however, locking is built-in NFS protocol, NLM isn't needed. So better is to not go for `UID Mapping` (on NFSv4, and `File Locking` on NFSv2/3). If you need all NFS features (including Kerberos) working on Android device, rather try a tiny Linux distro in `chroot`.
\* On kernel older than v4.6, `/proc/keys` is exposed if kernel is built with [`KEYS_DEBUG_PROC_KEYS`](https://github.com/torvalds/linux/commit/50d35015ff0c00a464e35b109231145d2beec1bd).
\*\* References: [1](https://www.freebsd.org/cgi/man.cgi?query=nfsv4&manpath=FreeBSD+11.2-RELEASE+and+Ports), [2](http://dfusion.com.au/wiki/tiki-index.php?page=Why%20NFSv4%20UID%20mapping%20breaks%20with%20AUTH_UNIX), [3](https://lists.debian.org/debian-kernel/2013/03/msg00136.html), [4](https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/966734), [5](https://help.ubuntu.com/community/NFSv4Howto#NFSv4_Client), [6](https://github.com/torvalds/linux/commit/074b1d12fe2500d7d453902f9266e6674b30d84c)
NFS ANONYMOUS ACCESS:
---------------------
One of NFS security flavors is **anonymous mode**. Every request from any UID/GID on client is treated as the anonymous UID/GID on server. Initially all files in shared directory must be owned by this UID/GID and all subsequently created files from client side would also have the same ownership:
Export share with `sec=none` on server:
```
~# exportfs -o rw,insecure,no_subtree_check,anonuid=1000,anongid=1000,sec=none,root_squash,all_squash :/SHARED\_DIR
~# chown -R 1000.1000 /SHARED\_DIR; chmod 0700 /SHARED\_SIR
```
\* For NFSv2/3 also run `rpcbind` (on default port 111)
Mount with `sec=none` On Android:
```
~# busybox mount -v -t nfs4 -o vers=4.2,sec=none,rw,tcp,port=2049,context=u:object_r:sdcardfs:s0 :/SHARED\_DIR /mnt/runtime/write/emulated/0/NFS
```
\* Use `-t` and `vers=` according to your kernel build configuration `CONFIG_NFS_V[2|3|4|4_1|4_2]`.
\* Use `-t nfs -o nolock` with `vers=3` or `vers=2`.
\* Make sure you are mounting from root mount namespace.
\* Mounting with `sec=none` [doesn't work](https://bugzilla.redhat.com/show_bug.cgi?id=187370) with NFSv3.
All apps on Android can now read and write to NFS directory and all files are created with single anonymous UID/GID on server, easy to manage by a user. However apparent ownership (if ID mapping not setup) and permission mode is not according to Android's flavor, so...
TRY IT THE ANDROID WAY...
-------------------------
Let's make use of FUSE or `sdcardfs` as Android does:
```
~# mkdir -p /mnt/NFS /sdcard/NFS
~# busybox mount -v -t nfs4 -o vers=4.2,sec=none,rw,tcp,port=2049,context=u:object_r:sdcardfs:s0 :/SHARED\_DIR /mnt/NFS
~# mount -t sdcardfs -o nosuid,nodev,noexec,noatime,mask=7,gid=9997 /mnt/NFS /mnt/runtime/write/emulated/0/NFS
```
If your device doesn't support `sdcardfs`, use `bindfs` and replace SELinux context `u:object_r:sdcardfs:s0` with `u:object_r:fuse:s0`:
```
~# bindfs -o nosuid,nodev,noexec,noatime,context=u:object_r:fuse:s0 -u 0 -g 9997 -p a-rwx,ug+rw,ugo+X --xattr-none --chown-ignore --chgrp-ignore --chmod-ignore /mnt/NFS /mnt/runtime/write/emulated/0/NFS
```
It leaves us with no remaining problems. For more details see [How to bind mount a folder inside /sdcard with correct permissions?](https://android.stackexchange.com/a/217936/218526)
GIVE CIFS A CHANCE...
---------------------
NFS being Linux's native filesystem (like `ext4`) is meant to enforce \*NIX permissions. Non-native filesystems like FAT and CIFS let fixed ownership and permissions be set across whole filesystem. So what you are looking for is relatively easy to achieve with **CIFS**:
```
~# mkdir -p /sdcard/CIFS
~# busybox mount -v -t cifs -o vers=3.0,nosuid,nodev,noexec,noatime,rw,hard,context=u:object_r:sdcardfs:s0,nounix,uid=0,gid=9997,file_mode=0660,dir_mode=0770,nouser_xattr,port=445,username=USERNAME,password=<PASSWORD> ///SHARED\_DIR /mnt/runtime/write/emulated/0/CIFS
```
\* Kernel must be built with `CONFIG_CIFS` and preferably `CONFIG_CIFS_SMB2`, use `vers=` accordingly.
\* For mount options detail see [mount.cifs(8)](https://linux.die.net/man/8/mount.cifs)
OTHER OPTIONS?
--------------
Other FUSE-based mountable filesystems are `sshfs` and `rclone`. Latter offers a large range of protocols and configurations while requiring a very simple setup.
Upvotes: 3 |
2018/08/29 | 379 | 1,542 | <issue_start>username_0: As it appeared, the on-screen keyboard for entering the unlock password is missing English layout, although it for sure was present when the password has been created.
Now the situation appears really bad:
* the phone (TP-LINK Neffos C9A, Android 8.1 NFUI 8.0) is locked,
* the password is not possible to enter because of missing keyboard layout,
* option for adding keyboard languages is not available,
* there is no option "Forgotten password" and
* Android Device Manager responds "Can't reach device" with either WiFi or 3G connection.
How to unlock the phone in such situation?<issue_comment>username_1: In case there is a problem with the on-screen keyboard most devices support to use an USB keyboard connected via USB On-The-Go (OTG) adapter to the phone - if the phone supports USB OTG at all.
The simpler an USB keyboard is the more likely it will work - keyboards with integrated USB hub and/or readers for smartcard or sd-card often cause problems and may not work.
Note that the USB keyboard works like a regular keyboard (not like the on-screen keyboard): key combinations like have be pressed at the same time, not one after another.
Upvotes: 3 [selected_answer]<issue_comment>username_2: For people seeking for other answers, there is a flashable Zip file which deletes any lock screens. However you'd need a device with a custom recovery such as TWRP.
Just flash [the Zip](https://forum.xda-developers.com/showthread.php?t=2780696) and your lock screen will be gone on next restart.
Upvotes: 0 |