date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2017/03/17
540
2,072
<issue_start>username_0: I have an AT&T Samsung Note4 currently running Marshmallow 6.0.1. In the past it and all other Android phones used to prompt me for and app to open files or links with. The menu wold have a sellection of apps and 'Once' and 'Always' buttons. An app would only become default for a given link/file type by pressing 'Always'. Otherwise I would get prompted each time. Not too long ago this behavior changed. The 'Once' and 'Always' buttons are gone and apps automatically become default after the first choice. This is fine for some files/links but not others. There are many different kinds of things I want to do with some file types (eg pdfs) and I use different apps for each. Now I either have to unset the default each time or open the file in whatever the current default is and than 'share' it to the app I actually want. This is a pain and not all apps are equally good at sharing to other apps. **How can I get the old behaviour back?** Or at least select some file/link types to not have a default associated with them? I know how to unset default apps in settings; I am after a way to avoid needing to do that for files/links I open with multiple apps. I am not sure if this change is due to some update or if it is something I enabled unintentionally FWIW, I also have a Huawei running Android 4.4.4 that still has the old behavior --- This [question](https://android.stackexchange.com/questions/165798/keep-asking-for-apps-on-every-action-on-marshmallow) is about the same problem in a specific context, but i am after a solution to the general problem that none of the commants & answers there address.<issue_comment>username_1: On my S8 Settings>Apps>default apps>default app selection Upvotes: -1 <issue_comment>username_2: I'm having the same problem but it looks like it's corrected in later updates of marshmallow according to <https://www.greenbot.com/article/2991086/how-to-change-your-default-browser-and-phone-apps-in-android-marshmallow.html> So I'm going to try updating and hope it works for both of us. Upvotes: 0
2017/03/18
409
1,736
<issue_start>username_0: Recently my Huawei P9 somehow got updated to EMUI 5.0, and everything was going well except the updater setting and camera app was gone and the flashlight would not turn on. I decided to backup my data and perform a factory reset. However, the reset failed and when I turned it on the only keyboard installed was Google Voice Typing and I coudn't use it because I'm Asian and it woudn't recognize what I said. I tried skipping all the steps but it seemed to be stuck at "checking info". After countless times of resetting it i found out I could connect to wifi when I reset it from eRecovery. After doing so, I installed a keyboard using the built in SD card. I tried to use ADB but it only managed to connect once and I made a typo and I cound't connect again. I tried rolling it back but I simply coudn't get past the factory reset stage. Any help would be appreciated, thanks in advance. Edit: I forgot to mention that I unlocked the bootloader and flashed TWRP onto my device(though I'm not sure if the failed reset removed it).<issue_comment>username_1: Turns out I just had to skip the intermediate package and jump to the stock firmware. EDIT: On the official page, to downgrade, it states to flash an intermediate firmware. The fix was to simply skip it and flash the old one. Upvotes: 1 <issue_comment>username_2: Reflash the stock firmware. If you have a recovery installed then format the data and system partition and then flash the rom that you like. Or you can just make a **dload** folder in your sdcard ,put the stock firmware for your device and then boot by pressing all the keys of your device (**Volume Up + Volume Down + Power**). It will make your device do a forced update. Upvotes: 0
2017/03/19
500
1,842
<issue_start>username_0: When I try to use Google Translate offline, I get an error: > > Translation failed. Offline translation file not available. Please check SD card is inserted. > > > In Settings-> Storage I could see that the Translate app was stored in the phone's internal memory. I tried moving it to the SD card, and even after restarting the device, the same error was still there. Using a file browser, I am able to look at the SD card and see that `/storage/extSdCard/Android/data/com.google.android.apps.translate/files/olpv3/v5/25/r11` contains folders like `dict.en_pt_25`, `lang.en_pt`, and `lang.pt_en` where "pt" is also replaced by some other two-letter language codes. `.../r12` contains the files for French. How do I get Translate to work?<issue_comment>username_1: In the file browser, at e.g. `.../r11`, Select All and choose Move, and move them to the similar path on internal memory (which works out to be `/storage/emulated/0/Android/data/com.google.android.apps.translate/files/olpv3/v5/25/r11`) and also move the other revisions (e.g. `.../r12` on the SD card to `.../r12` on internal memory). The app itself can still be running on the SD card, but for some reason it can't find the offline translation files there. Upvotes: 1 <issue_comment>username_2: Try to de-install the app and then re-install it, incl. the offline language packs that you need. Make sure that all the time, the SD card is in the phone and mounted, otherwise it doesn't work. In my case, after re-installation, Android had created folders for the app in the phone's internal storage as well as on the external SD card. But all the offline language packs were placed automatically on the SD card only. Now offline translation works fine and the error message that you mention in your post doesn't show up any more. Upvotes: 0
2017/03/20
377
1,461
<issue_start>username_0: While travelling I put photos from the SD Card onto a networked drive. I can use ES File Explorer to view the photos. However there does not appear to be an option to delete the photos from the full screen view. Is there an app that allows deleting photos on a network drive from a **full view** of the photo? Appreciate your help. Android 6.01 on a Lenovo Yoga tab.<issue_comment>username_1: In the file browser, at e.g. `.../r11`, Select All and choose Move, and move them to the similar path on internal memory (which works out to be `/storage/emulated/0/Android/data/com.google.android.apps.translate/files/olpv3/v5/25/r11`) and also move the other revisions (e.g. `.../r12` on the SD card to `.../r12` on internal memory). The app itself can still be running on the SD card, but for some reason it can't find the offline translation files there. Upvotes: 1 <issue_comment>username_2: Try to de-install the app and then re-install it, incl. the offline language packs that you need. Make sure that all the time, the SD card is in the phone and mounted, otherwise it doesn't work. In my case, after re-installation, Android had created folders for the app in the phone's internal storage as well as on the external SD card. But all the offline language packs were placed automatically on the SD card only. Now offline translation works fine and the error message that you mention in your post doesn't show up any more. Upvotes: 0
2017/03/20
380
1,416
<issue_start>username_0: To track time on Android, I use Time Meter, which supports Tasker. But in the configuration screen of Time Meter plugin in Tasker, I don't know how to put the foreground app name to it. Do you know how to do this? [![enter image description here](https://i.stack.imgur.com/x08V9m.jpg)](https://i.stack.imgur.com/x08V9m.jpg)<issue_comment>username_1: In the file browser, at e.g. `.../r11`, Select All and choose Move, and move them to the similar path on internal memory (which works out to be `/storage/emulated/0/Android/data/com.google.android.apps.translate/files/olpv3/v5/25/r11`) and also move the other revisions (e.g. `.../r12` on the SD card to `.../r12` on internal memory). The app itself can still be running on the SD card, but for some reason it can't find the offline translation files there. Upvotes: 1 <issue_comment>username_2: Try to de-install the app and then re-install it, incl. the offline language packs that you need. Make sure that all the time, the SD card is in the phone and mounted, otherwise it doesn't work. In my case, after re-installation, Android had created folders for the app in the phone's internal storage as well as on the external SD card. But all the offline language packs were placed automatically on the SD card only. Now offline translation works fine and the error message that you mention in your post doesn't show up any more. Upvotes: 0
2017/03/20
858
3,639
<issue_start>username_0: Every time I restart my Xolo Era 4g, Android 5 Lollipop phone, it auto enables "allow installation of apps from unknown sources" option. I switch it off manually, then in a few seconds, a pop-up for an unknown app to install shows, and on the background, the "unknown sources" button automatically toggles. This keeps on going forever. I haven't rooted my phone and have factory reset it many times. I first installed an antimalware app, and when I run it, it found around 16 malware, of which I deleted 14 but there was no option to delete the last two. Then I installed the notification app. I restarted my phone. After that, the internet automatically started. I immediately switched it off. Then I went to settings and switched off to allow unknown apps installation. Then I opened the menu and slide it a few times and the malware attacked again. Opening the settings disclosed that an unknown app installation is switched on. Many apps are promoted for installation. After pressing cancel around 50 times, I went to the menu again and many new apps were installed. I have repeated this scenario two times once I switched the internet on. But with the internet off, I saw an app installation prompt too. I don't remember with the internet off whether the apps got actually installed or not. Now I opened the notification app and it showed one process having some text similar to *Andriod UI lolipop 5.0*, it had a lollipop icon to its left. On clicking on that, it further showed one process. The process was related to the notification app itself and had text "toaster" or maybe "toasted". Now I have factory reset my phone again and have uninstalled all default apps like Flipkart, Snapdeal, Paytm, UC browser, etc. Now if I'll again restart my phone, the virus will start again. Please tell a method to not allow any app to toggle the "unknown sources" options on without rooting the phone.<issue_comment>username_1: This also happened to my phone. Even after several flashes, the torrent of annoying self-install apps keeps happening. Malwarebytes I used can't touch the last infected file; the system settings itself. Even right after flashing the third time, apparently the settings app which is the backbone of everything has been compromised from the get go. My findings suggest that this was a known vulnerability issues and Google acknowledge it. Alas, there are still no solution nor updates to rectify it other than suggest user to stop using the phones that use 5.1 altogether. FML. So, out of rage, I took drastic measure. I delete the settings app with the help of Root Explorer. Of course, I've made certain preps before I did, since I'm fully aware the consequence once I did. Now, I can't even connect my phone to my PC via USB, nor I am able to log in a new Wi-Fi spot. A price I pay just to save my data cap from being drained by involuntary app download. Upvotes: 0 <issue_comment>username_2: Switch off make passwords visible button as well as unknown sources. This stops unknown sources opening by itself. Upvotes: -1 <issue_comment>username_3: Go to setting / security / Turn off unknown source. Allow installation of app from unknow source. Turn on App permission. Go to setting / security / Turn on app permission. check which app using more battery. Remove unwanted apps. Also turn off developer option. As your mobile is infected. You can use nortran, panda or Avast antivirus. You can connect mobile to computer and scan it. Take back up of mobile and restore it. Upvotes: 0 <issue_comment>username_4: Factory reset your phone. That will remove the malware. Upvotes: 0
2017/03/20
1,137
4,645
<issue_start>username_0: **Summary for the inpatient:** I want to run a new version of Android on an old smarphone (s3mini). (Sorry for bad English, I'm German. Feel free to correct my grammar in the comments) Hello Programmers and Android fans, as you might know, most Android smartphones only receive updates for a short amount of time until the hardware manufacturer stops supporting that smartphone. For example my smartphone (s3mini GT-I8200N) still has Android 4.2.2, which is obviously not ideal. Please correct me if I understand something wrong here, but AFAIK all data on the phone, including the drivers get deleted if I flash a custom ROM (eg. Stock Android 7.0 or LineageOS). Because the manufacturer (in this case Samsung) does not publish their drivers, the community has to write their own drivers for every smartphone (which are obviously not as good as drivers written by the manufacturer because they know the hardware better). It is possible to get a root shell on the smartphone / run my own program as root on the smartphone. Because a root process can read/write every file on the device except the kernel, and Android 7.0/LineageOS is publicly available it should be possible to write a program that updates every single android system file. Updating the kernel with root privileges shouldn't be a problem either since the linux kernel is signed. So that's the plan: Step 1: Download and compile Android 7.0/LineageOS Step 2: Copy CompiledAndroid7.0.tar and the program on the smartphone Step 3: Start the program with root rights Step 4: The program terminates every other process Step 5: The program deletes every file on the smartphone except drivers, the kernel, kernel modules, bootloader related files, the Program itself and CompiledAndroid7.0.tar Step 6: The program unpacks CompiledAndroid7.0.tar in the root dir (/) (The program has to be able to unpack a .tar file without any other software except the kernel. But this shouldn't be hard to do, just Copy+Paste from open source unpackaging software). Step 7: Install the new signed kernel (via syscall) and reboot. Now you have an old smartphone with Stock Android 7.0/LineageOS and the original drivers! Could this work in principle or did I understood something wrong about the way Android Smartphones work? One comment said that Step 4 could crash my phone. A nice work-around would be that the program replace init with a copy of itself and then runs "sudo reboot" Do old kernel modules/drivers work with new Linux versions? If not, why? **UPDATE** I want to thank all of you for your help. The idea from above won't work, so I have to get mad at google for not having good android update servers and not making sure old kernel modules work and get mad at Samsung because they do not publish driver source or updated drivers. If I find the time to do so, I will check if LineageOS supports my device and if not, write drivers.<issue_comment>username_1: This also happened to my phone. Even after several flashes, the torrent of annoying self-install apps keeps happening. Malwarebytes I used can't touch the last infected file; the system settings itself. Even right after flashing the third time, apparently the settings app which is the backbone of everything has been compromised from the get go. My findings suggest that this was a known vulnerability issues and Google acknowledge it. Alas, there are still no solution nor updates to rectify it other than suggest user to stop using the phones that use 5.1 altogether. FML. So, out of rage, I took drastic measure. I delete the settings app with the help of Root Explorer. Of course, I've made certain preps before I did, since I'm fully aware the consequence once I did. Now, I can't even connect my phone to my PC via USB, nor I am able to log in a new Wi-Fi spot. A price I pay just to save my data cap from being drained by involuntary app download. Upvotes: 0 <issue_comment>username_2: Switch off make passwords visible button as well as unknown sources. This stops unknown sources opening by itself. Upvotes: -1 <issue_comment>username_3: Go to setting / security / Turn off unknown source. Allow installation of app from unknow source. Turn on App permission. Go to setting / security / Turn on app permission. check which app using more battery. Remove unwanted apps. Also turn off developer option. As your mobile is infected. You can use nortran, panda or Avast antivirus. You can connect mobile to computer and scan it. Take back up of mobile and restore it. Upvotes: 0 <issue_comment>username_4: Factory reset your phone. That will remove the malware. Upvotes: 0
2017/03/20
306
1,067
<issue_start>username_0: I have an Android device which I don't have physical access to. But I can access it through ADB commands. I have Teamviewer host installed on it. But unfortunately it's not running. How can I start it using ADB commands? Below is the Teamviwer app that I am using. <https://play.google.com/store/apps/details?id=com.teamviewer.host.samsung&hl=en><issue_comment>username_1: You can launch apps with the `am start` command. Or if you don't know its launcher activity, use the [`monkey`](https://developer.android.com/studio/test/monkey) command. Try ``` adb shell monkey -p your.package.name -v 500 ``` where package name is the name of the app package – making the command, in your case: ``` monkey -p com.teamviewer.host.samsung -v 500 ``` Upvotes: 3 <issue_comment>username_2: A very simple solution to access a device could be SCRCPY <https://github.com/Genymobile/scrcpy> It runs over ADB and mirrors your device on your PC. You can click on all the elements on the devices screen and also type with your PC keyboard. Upvotes: 0
2017/03/21
464
1,783
<issue_start>username_0: [![enter image description here](https://i.stack.imgur.com/Xi68xm.jpg)](https://i.stack.imgur.com/Xi68xm.jpg) Even though I checked the box of Force RTL layout it seems it don't work properly and due to this many other problems are occurring in my HTC Desire 826 dual SIM, like , my screen is 1080 but YouTube is not showing option for 1080p quality --- These are some screenshots of Instagram and my bank's app. [![enter image description here](https://i.stack.imgur.com/JloHmm.jpg)](https://i.stack.imgur.com/JloHm.jpg) [![enter image description here](https://i.stack.imgur.com/Lyi4jm.jpg)](https://i.stack.imgur.com/Lyi4j.jpg)<issue_comment>username_1: Your screen is RTL enabled. The settings app is still LTR but check the status bar and the navigation bar it is RTL and that shouldn't affect the video quality please check any other videos in YouTube. Upvotes: 0 <issue_comment>username_2: The "force RTL" setting in the developer options only makes the locale a right-to-left locale if it wasn't already. That is, if your native language isn't right-to-left, this option makes it draw right-to-left anyway. It allows developers who can't read any right-to-left languages to test that their apps work in a right-to-left language. **The option can't make apps that don't support RTL support it.** The app author needs to update their app to support RTL, and obviously they're only going to do this if they're going to offer translations to RTL languages. An app that only supports English probably won't be written to support RTL. As a rule, it's a bad idea to start changing developer settings without understanding what they do. They're hidden behind this screen precisely because they can cause unexpected or undesirable behaviour. Upvotes: 1
2017/03/21
228
960
<issue_start>username_0: I lost my phone today and I tried to do the remote wipe several times because phone was off and I was impatient. Now google says there was suspicious activity with my account and I must my password. This is the dilemma for me now. If I change the password, I may not be able to get the remote wipe but there were 6 notification emails in my mailbox confirm remote wipe has been requested and then google locked me out. Please help. Thanks.<issue_comment>username_1: You'll need google account which have registered in your lost phone. Search android device manager and follow the instructions. Upvotes: -1 <issue_comment>username_2: Until your phone(lost one) is not connected with internet data willn't wipe or factory reset , if anyone found that and used internet on it then its data will certainly wiped out. Upvotes: -1 <issue_comment>username_3: Well, if the thief connected to the **internet**, it would surely work. Upvotes: 0
2017/03/21
496
2,128
<issue_start>username_0: I have bought Solid Explorer from the playstore. I've recently bought a LYF Flame 6, which doesn't support Google Play Services, but has playstore and works just as it is supposed to. But, still I if I download Solid Explorer, it shows that only the trial version is supported. I tried manually installing a pro apk, which doesn't give updates directly from the play store. I can't download the apk each and every time a new update is released. The app doesn't show in the list of "My apps". Is there anyway to force Playstore to show Solid Explorer in the list of my apps?<issue_comment>username_1: An app downloaded outside of the Play Store can't be updated using Google Play update mechanism, it won't appear in the downloaded list as well simply because not your Google account that downloaded it. An app downloaded from Google Play may not modify, replace or update its own APK binary code using any method other than Google Play's update mechanism. The paid version isn't showing up may be because the developer has put restrictions regarding your country or your Android version, etc. **Update:** Try downloading your apps from a third party market such as [Monogenie](http://m.mobogenie.com/) or [Aptoide](https://m.aptoide.com/), you'll be notified whenever an update is available. Upvotes: 2 <issue_comment>username_2: There are also other 3rd party applications which have the ability to update installed applications, regardless from source. For instance I use an official HiApp to get updates for installed applications (even though I initially got them from Google play store). XDA developers also made an APK updater which gets updates for installed applications. You may want to take a look here: [apk updater](https://forum.xda-developers.com/android/apps-games/app-apkupdater-t3444517). However I haven't checked if they do license verification or app purchases. If your goal is to get regular updates for your applications then it's worth a try. Update sources: At the moment three sources are supported: * APKMirror * APKPure * Google Play (Download from Evozi) Upvotes: 0
2017/03/21
1,448
4,283
<issue_start>username_0: I have been trying to start up and Android x86 (64-bit) on Hyper-V using the latest edition available from <http://www.android-x86.org/releases/releasenote-6-0-r2http> I have installed it with GRUB and created a bootable Partition during installation. Format drive to ext4. Every time I try to run the VM I am presented with the following image [![enter image description here](https://i.stack.imgur.com/FhqGg.png)](https://i.stack.imgur.com/FhqGg.png) and it doesn't proceed to boot to the android screen. Anyone have an idea how to fix? I would greatly appreciate it.<issue_comment>username_1: The default screen resolution /color depth is not work. Need to be changed. A guide could be find here: [How to Install Android x86 4.4 R2 on Hyper-V – Part 2: Configuration, Screen resolution and Network (Jan 2015)](http://luisrato.azurewebsites.net/2015/01/02/how-to-install-android-x86-4-4-r2-on-hyper-v-part-2-configuration-screen-resolution-and-network-jan-2015/) Upvotes: 3 [selected_answer]<issue_comment>username_2: > > I have extracted the guide below from the article which made reference > to remixos on hyper-v, however the procedure is the same for any > android x86 installation: > > > **Install Android x86 on Hyper-V virtual machine** Installation to Hyper-V virtual machine is a bit tricky, but achievable. * First of all, create Generation 1 VM with at least 6 Gb HDD. * After creation of VM do not power on it. * Connect created VHD disk to any windows machine (**Disk Management -> Right Click -> Attach VHD**) * **Initialize it as MBR disk**. * Format it in FAT32 file system. * Detach VHD. * Boot VM with Legacy ISO. **Do not choose Resident or Guest mode** **During boot up;** * Press TAB button. Edit your boot string to: `/kernel initrd=initrd.img root=/dev/ram0 androidboot.hardware=android_x86 androidboot.selinux=permissive quiet INSTALL=1 nomodeset vga=785` * You can replace 785 with any 16bit (or 24bit) color depth code. More codes can be found at <http://pierre.baudu.in/other/grub.vga.modes.html> * Chose sda1 partition (`vfat system`) * Do not format it. * Chose yes for GRUB installation. * Skip EFI GRUB2 installation. * Choose yes for making system directory read-write. * Choose yes for creating user data image. * Enter size of `data.img`. Maximum is 2047 because we formatted our dist to FAT32 file system. You can run you Android-x86. It’ll take a while, do not panic. * Configure it as you wish. **After completion;** * The last thing you need to do is eject ISO from VM and edit created GRUB entries. + Shutdown your VM and eject ISO. + Once again attach VHD to Windows machine. + Edit `\grub\menu.lst` You need to delete extra digits after kernel path, for example if you used `vga=785` previously you need to replace `kernel785` with `kernel` . Also you need to add desired vga mode again. So your menu.lst should look like: ``` default=0 timeout=6 splashimage=/grub/android-x86.xpm.gz root (hd0,0) title Android-x86 kernel /android-2016-01-14/kernel vga=785 quiet root=/dev/ram0 androidboot.hardware=android_x86 androidboot.selinux=permissive nomodeset SRC=/android-2016-01-14 initrd /android-2016-01-14/initrd.img title Android-x86 (Debug mode) kernel /android-2016-01-14/kernelvga=785 root=/dev/ram0 androidboot.hardware=android_x86 androidboot.selinux=permissive nomodeset DEBUG=2 SRC=/android-2016-01-14 initrd /android-2016-01-14/initrd.img title Android-x86 (Debug nomodeset) kernel /android-2016-01-14/kernel vga=785 nomodeset root=/dev/ram0 androidboot.hardware=android_x86 androidboot.selinux=permissive nomodeset DEBUG=2 SRC=/android-2016-01-14 initrd /android-2016-01-14/initrd.img title Android-x86 (Debug video=LVDS-1:d) kernel /android-2016-01-14/kernel vga=785 video=LVDS-1:d root=/dev/ram0 androidboot.hardware=android_x86 androidboot.selinux=permissive nomodeset DEBUG=2 SRC=/android-2016-01-14 initrd /android-2016-01-14/initrd.img ``` * Detach VHD and boot your VM. **You should now get past the screen android x86** (*Unfortunately couldn't upload images since I used RemixOS instead of androidx86*) Sincerest acknowledgements go to: [Install RemixOS on Hyper-V virtual machine](http://trukhanov.com/2016/01/install-remixos-on-hyper-v-virtual-machine/) Upvotes: 1
2017/03/21
580
2,188
<issue_start>username_0: My Galaxy j7 shows me notification messages when I turned on the phone (i.e. received messages, phone calls, apps updated, etc.) Is there a way to see those from the normal interface without having to turn the phone off and back on?<issue_comment>username_1: One way it is possible is by using an app - [Toaster](https://play.google.com/store/apps/details?id=org.mars3142.android.toaster) or [Notification History](https://play.google.com/store/apps/details?id=com.evanhe.nhfree) or [Notification Log History](https://play.google.com/store/apps/details?id=com.ikvaesolutions.notificationhistorylog) **Notification History** displays more information > > Notification History records USSD, Class 0 (Flash) SMS, popped dialog, app installation, toasts and notifications. This can be used to: > > > 1. Backup messages by apps and read them later > 2. Find out which app pushed annoying status bar advertisement, and uninstall it. > 3. Auto dismiss USSD and Class 0 dialog (pro version) > > > **Toaster** > > Records every toast message including the sender package. May be helpful if you get messages and don't know, which app sends it. > > > **Notification Log History:** It also let's you view deleted notifications! --- I don't want to install an app ============================== Go your widget drawer, find the settings app and drop it on your home screen and choose notification log as shortcut ([source](https://www.asoftclicks.com/notification-log-samsung/)). This is possible with recent Android versions and if your device doesn't support, you can try the same trick by using [Nova Launcher](https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher) but then you are adding another app, if Nova isn't your preferred launcher Upvotes: 3 <issue_comment>username_2: So it isn't clear to me exactly what you are looking for so I thought I would post what fixed this issue for me. [Recent Notification](https://play.google.com/store/apps/details?id=com.libin.notification) displays the recent notifications as if your phone is locked. It supports swiping to dismiss notifications, clear all, excluded apps, etc... Upvotes: 1
2017/03/22
593
2,200
<issue_start>username_0: Where is the "systemless hosts" file? I normally just replace the `hosts` file in `/etc/` since I have a customized list. With the systemless hosts, I don't know which file to replace. P.S., for the newer magisk, it is under `/system_root/etc`.<issue_comment>username_1: One way it is possible is by using an app - [Toaster](https://play.google.com/store/apps/details?id=org.mars3142.android.toaster) or [Notification History](https://play.google.com/store/apps/details?id=com.evanhe.nhfree) or [Notification Log History](https://play.google.com/store/apps/details?id=com.ikvaesolutions.notificationhistorylog) **Notification History** displays more information > > Notification History records USSD, Class 0 (Flash) SMS, popped dialog, app installation, toasts and notifications. This can be used to: > > > 1. Backup messages by apps and read them later > 2. Find out which app pushed annoying status bar advertisement, and uninstall it. > 3. Auto dismiss USSD and Class 0 dialog (pro version) > > > **Toaster** > > Records every toast message including the sender package. May be helpful if you get messages and don't know, which app sends it. > > > **Notification Log History:** It also let's you view deleted notifications! --- I don't want to install an app ============================== Go your widget drawer, find the settings app and drop it on your home screen and choose notification log as shortcut ([source](https://www.asoftclicks.com/notification-log-samsung/)). This is possible with recent Android versions and if your device doesn't support, you can try the same trick by using [Nova Launcher](https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher) but then you are adding another app, if Nova isn't your preferred launcher Upvotes: 3 <issue_comment>username_2: So it isn't clear to me exactly what you are looking for so I thought I would post what fixed this issue for me. [Recent Notification](https://play.google.com/store/apps/details?id=com.libin.notification) displays the recent notifications as if your phone is locked. It supports swiping to dismiss notifications, clear all, excluded apps, etc... Upvotes: 1
2017/03/22
354
1,490
<issue_start>username_0: I was reading on google that you can make a tablet recognize micro sd card as internal memory? How can this be done on a Samsung Galaxy Tab (Model Number SM-t350) running Android version 6.0.1. If it can be done what happens to the 16GB of internal storage currently being used. I would prefer not having to root my tablet due to the fact that I know nothing of rooting. All I want to accomplish is more memory for my tablet whether I download apps or put books on my tablet.<issue_comment>username_1: To use your microSD card as internal storage follow these steps: 1) Insert the SD card in your device 2) Click on the notification saying SD card detected 3) Select setup 4) Choose **Use as Internal storage** But please note that the microSD card needs to be formatted so as to use it as internal storage. So kindly back up files before doing so. Also note that, using microSD card as internal storage has some cons. 1) It might slow down your device. 2) You can switch from using it as internal memory to portable memory, but it takes time and needs formatting again. 3) Your device will expect the adopted SD card to be always present and it will misbehave it the SD card is removed. So, use your SD card as internal memory only if necessary. Upvotes: 1 <issue_comment>username_2: If you don't find any default options available over settings which username_1 posted, then you don't have any other option until you don't root your device. Upvotes: 2
2017/03/22
365
1,560
<issue_start>username_0: Is there a way to change messaging and phone call apps without the phone defaulting to stock on an unrooted Oppo R9s?<issue_comment>username_1: Follow these steps for changing the default app for messaging : 1. Go to **Settings** 2. Select **Apps** 3. Select **Configure Apps** (Top Right icon) 4. Select **Default Apps** under **Advanced** 5. Tap on your messaging app Now,the list of messaging apps will pop up which you have installed on your device. Select the one which you want to make default. Repeat the same for the Calling app. Hope this helps. Upvotes: -1 <issue_comment>username_2: Whatever settings you change for the messaging will not make any difference, the phone will always revert to the default app. I took this up directly with OPPO and had the following response: *"We decided not to allow customer to set 3rd party applications as default message application, for security of the devices cannot be guaranteed. We also want to let you experience our built-in application and to be spared from the malfunction like virus, bug or etc."* Not the response I wanted or expected! Upvotes: 2 <issue_comment>username_3: A simple way is to download an alternative app from the Play store and then replace it with the stock app in your app drawer. This way you will always open that app instead of the stock one. However this does not guarantee your incoming calls or messages will be received in that 3rd party app. You can try using Truecaller app though. It allows you to replace the stock app with it. Upvotes: 0
2017/03/22
515
2,164
<issue_start>username_0: If I set my phone to Vibrate or Silent modes, it's still making audible notifications for GMail, Hangouts, Waze, and maybe other things. It has worked as expected for years, and then started doing this in the last few weeks. I don't see any other setting anywhere that adjusts this. All 3 of the main volume controls are at zero. Is there somewhere else I should look? The loudness of the notifications matches the loudness of the notification slider when it's not muted. Like if I set it to high level and then go to silent mode, the notifications are still high level. If I set it to the lowest level and then go to silent mode, the notifications are at the lowest level. CM11, Android 4.4.4, Samsung Galaxy S Relay<issue_comment>username_1: Follow these steps for changing the default app for messaging : 1. Go to **Settings** 2. Select **Apps** 3. Select **Configure Apps** (Top Right icon) 4. Select **Default Apps** under **Advanced** 5. Tap on your messaging app Now,the list of messaging apps will pop up which you have installed on your device. Select the one which you want to make default. Repeat the same for the Calling app. Hope this helps. Upvotes: -1 <issue_comment>username_2: Whatever settings you change for the messaging will not make any difference, the phone will always revert to the default app. I took this up directly with OPPO and had the following response: *"We decided not to allow customer to set 3rd party applications as default message application, for security of the devices cannot be guaranteed. We also want to let you experience our built-in application and to be spared from the malfunction like virus, bug or etc."* Not the response I wanted or expected! Upvotes: 2 <issue_comment>username_3: A simple way is to download an alternative app from the Play store and then replace it with the stock app in your app drawer. This way you will always open that app instead of the stock one. However this does not guarantee your incoming calls or messages will be received in that 3rd party app. You can try using Truecaller app though. It allows you to replace the stock app with it. Upvotes: 0
2017/03/22
355
1,438
<issue_start>username_0: How to stop download in chrome download in Android.<issue_comment>username_1: Here is the short way TO solve this issue. Go to download FOLDER through Explore app or any files opening app. Inside you will find the (current) DOWNLOADING file with extension. .crdownload Now you try to open the file, it will ask for "open with" Then select any one to open the file. Finally wait for sometime, download notification will disappear and download will STOP. Upvotes: 0 <issue_comment>username_2: Goto to **Apps / App Manager** Select **Chrome** If Chrome is User Downloaded app You can Press **"Clear Data"** If Chrome if System app, You can press **"Manage Space"** Then, **Google Chrome Storage** will get opened, Then, Click on **Clear All Data.** Note : Please note your all data will be cleared. So Backup your Bookmarks if needed. Upvotes: -1 <issue_comment>username_3: To stop downloading some file in chrome you can do this: Simply press cancel or x on notification where it shows that file is downloading or it shows remaining time, or you can longpress on that notification (if you don't have cancel button there) and press 'app info' when it opens app in app manager just simply force stop it. Upvotes: 1 <issue_comment>username_4: I just simply "Restart" my phone. When you on data connection, the downloading will begin automatically and the "Cancel" and "pause" options will appear Upvotes: 0
2017/03/22
894
2,889
<issue_start>username_0: I have a Samsung Galaxy S2 GT-I9100 smartphone with LineageOS and TWRP. Every week I make a backup with the following command: ``` adb backup -f twrp-20170322.ab --twrp boot data system ``` I may optionally use the `--compress` option, too. Is there a way to extract the `twrp-20170322.ab` backup file with stardard GNU/Linux command line tools? I will also consider installing extra software if needed, but it must be free (as in freedom). Links: * <https://forum.xda-developers.com/android/help/extract-backup-adb-twrp-option-t3577903> * <https://github.com/TeamWin/Team-Win-Recovery-Project/issues/898><issue_comment>username_1: Provided you didn't protect it with a password: ``` dd if=$1 bs=24 skip=1 | openssl zlib -d >${1%%.ab}.tar ``` * `dd` is the "Disk Duplicator" (also known as "disk destroyer" in case you confuse its parameters ans switch `if` and `of` ;) * `bs=23` advises it to use a block size of 24 byte, which we need to… * `skip=1` skip 1 block of 24 byte (the "Backup header") * the output gets piped to `openssl` to process and unpack it * … and the output from that is redirected to a Tarball From there, you should know your way: simply "untar" (extract) what you want. Why it uses `$1`? Well, I copied this line from [`ab2tar`](https://github.com/username_1Soft/Adebar/blob/master/tools/ab2tar), which is included with my little tool [Adebar](https://github.com/username_1Soft/Adebar) you might be interested in as well: creates a nice device documentation, backup scripts and more, all via ADB using nothing but Bash So put that line in a tiny little shell script, and call it: ``` ab2tar twrp-20170322.ab ``` Then find a `twrp-20170322.tar` as result. Of course, this requires `openssl` to be installed on your Linux machine. Upvotes: 1 <issue_comment>username_2: I have found that TWRP-generated `.ab` files are different from the normal `adb backup` files, so the offset is different from normal `.ab` files. I was able to inspect and extract files using (for example to inspect) the following command: ``` dd if=backup.ab bs=512 skip=1 | tar ft - ``` Apparently, the header may be longer, but it should be aligned with 512-bytes boundaries, so just bump the `skip=` parameter if it can't find it at first. Note that the file format is defined in [twadbstream.h](https://github.com/omnirom/android_bootable_recovery/blob/android-7.1/adbbu/twadbstream.h), if you need to dig into this further. Upvotes: 2 <issue_comment>username_3: The problem with the naive dd-based approach is that there is metadata every so often in the file. This results in corruption for files of any significant length. I wrote an extraction tool utilizing twadbstream.h (thanks @username_2) that I have used to successfully recover large (~10GB) multi-filesystem TWRP ADB backups. [twrpabx](https://github.com/username_3/twrpabx) Upvotes: 2
2017/03/23
724
2,400
<issue_start>username_0: I'm using a Lenovo K3 Note running on Android 6.0 Marshmallow. I want to turn off the camera shutter sound. How to do it?<issue_comment>username_1: Provided you didn't protect it with a password: ``` dd if=$1 bs=24 skip=1 | openssl zlib -d >${1%%.ab}.tar ``` * `dd` is the "Disk Duplicator" (also known as "disk destroyer" in case you confuse its parameters ans switch `if` and `of` ;) * `bs=23` advises it to use a block size of 24 byte, which we need to… * `skip=1` skip 1 block of 24 byte (the "Backup header") * the output gets piped to `openssl` to process and unpack it * … and the output from that is redirected to a Tarball From there, you should know your way: simply "untar" (extract) what you want. Why it uses `$1`? Well, I copied this line from [`ab2tar`](https://github.com/username_1Soft/Adebar/blob/master/tools/ab2tar), which is included with my little tool [Adebar](https://github.com/username_1Soft/Adebar) you might be interested in as well: creates a nice device documentation, backup scripts and more, all via ADB using nothing but Bash So put that line in a tiny little shell script, and call it: ``` ab2tar twrp-20170322.ab ``` Then find a `twrp-20170322.tar` as result. Of course, this requires `openssl` to be installed on your Linux machine. Upvotes: 1 <issue_comment>username_2: I have found that TWRP-generated `.ab` files are different from the normal `adb backup` files, so the offset is different from normal `.ab` files. I was able to inspect and extract files using (for example to inspect) the following command: ``` dd if=backup.ab bs=512 skip=1 | tar ft - ``` Apparently, the header may be longer, but it should be aligned with 512-bytes boundaries, so just bump the `skip=` parameter if it can't find it at first. Note that the file format is defined in [twadbstream.h](https://github.com/omnirom/android_bootable_recovery/blob/android-7.1/adbbu/twadbstream.h), if you need to dig into this further. Upvotes: 2 <issue_comment>username_3: The problem with the naive dd-based approach is that there is metadata every so often in the file. This results in corruption for files of any significant length. I wrote an extraction tool utilizing twadbstream.h (thanks @username_2) that I have used to successfully recover large (~10GB) multi-filesystem TWRP ADB backups. [twrpabx](https://github.com/username_3/twrpabx) Upvotes: 2
2017/03/23
1,245
4,338
<issue_start>username_0: Is there a way to access files of an Android device from another Android device using Wi-Fi? I need something like a file explorer.<issue_comment>username_1: Generally, any good file explorer with FTP, SFTP, WebDAV, and SMB/CIFS capabilities can handle this task with ease or other Wi-Fi file-sharing applications. You can even browse through Play Store to get the right one, e.g. [Solid Explorer](https://play.google.com/store/apps/details?id=pl.solidexplorer2), [Total Commander](https://play.google.com/store/apps/details?id=com.ghisler.android.TotalCommander) etc. For starters, you can run through Izzy's list of [**Filetransfer between two Android devices**](https://android.izzysoft.de/applists/category/named/network_wifi_misc#group_433). For purposes of explanation, I chose [ES Explorer](https://play.google.com/store/apps/details?id=com.estrongs.android.pop&hl=en), it has a lot of functions including **remote browser**: **You can use the following procedure to access files in another device:** 1. Install ES Explorer on both devices if you haven't already done so. 2. Switch on a portable hotspot and allow both devices to connect. 3. Using phone A, open ES Explorer and go to remote manager and turn it on. See below: [![screen a](https://i.stack.imgur.com/WtimXm.jpg)](https://i.stack.imgur.com/WtimX.jpg) (click image for larger variant) 4. Copy the server details from phone A, you will need them in phone B. 5. Using phone B, open ES Explorer and navigate to Network → FTP. 6. Add a new server using the details you previously copied: [![Config](https://i.stack.imgur.com/4Ejrfl.png)](https://i.stack.imgur.com/4Ejrfl.png) 7. When setup is completed, you can now browse the files of phone A from phone B. [![Screen B](https://i.stack.imgur.com/TanGOl.png)](https://i.stack.imgur.com/TanGOl.png) See screens from both devices: [![A](https://i.stack.imgur.com/ZqflMb.png)](https://i.stack.imgur.com/ZqflM.png)[![B](https://i.stack.imgur.com/l4xF2b.png)](https://i.stack.imgur.com/l4xF2.png) (click images for larger variants) Upvotes: 1 <issue_comment>username_2: The best app I've found is [X-plore File Manager](https://play.google.com/store/apps/details?id=com.lonelycatgames.Xplore). It has a WiFi file server and can browse the SD card and internal card of another phone on the same WiFi. The best part is it works both on someone's hotspot and if *you* are the hotspot as well. Upvotes: 0 <issue_comment>username_3: Looking for a [WiFi Direct emulator](https://www.bing.com/search?q=wifi+direct+emulator&go=Submit+Query&qs=ds&form=QBLH), I visited this [YouTube video](https://www.youtube.com/watch?v=mzjB7ejem9I). Connect two Android devices without a router via Wifi Direct. From [Wi-Fi peer-to-peer overview | Android Developers](https://developer.android.com/guide/topics/connectivity/wifip2p), > > Wi-Fi peer-to-peer (P2P) allows Android 4.0 (API level 14) or later devices with the appropriate hardware to connect directly to each other via Wi-Fi without an intermediate access point (Android's Wi-Fi P2P framework complies with the Wi-Fi Alliance's Wi-Fi Direct™ certification program). > > > I watched the above video to reproduce the steps. Unfortunately, my 4.2.2 Android tablet shows no menu item for WiFi Direct. Asked my friend to check and his Samsung smartphone Android 5.0 shows a router option and none for WiFi Direct. All I can select from my tablet's Settings/WiFi/other is Hotspot for Internet access sharing/tethering. My interest is to stream videos from one Android Tablet to another Android Tablet over WiFi Direct. WiFi Direct specification and manual are about 180 pages long. Not sure how to enable WiFi Direct on my tablet. Anyway, I can still connect from my tablet to P2P (WiFi Direct) camera to watch live video feeds. So if both of your Android devices support WiFi Direct connection, the above video comes with a solution to your question. Upvotes: 0 <issue_comment>username_4: I searched for an app to transfer files from/to the laptop completely locally (= securely) without cable and without additional software (on the PC) and found nothing. So I developed an app myself ["wimly"](https://wimly.app/home) (for [Android](https://play.google.com/store/apps/details?id=ch.kuendig.wimly)). It's completely free without ads. Upvotes: 1
2017/03/23
1,673
6,463
<issue_start>username_0: KingRoot's Superuser, while effective at its main purpose, is throwing up adware lockscreens. I'd like to replace it with SuperSU but have had difficulty finding instructions detailed enough for my low level of knowledge. I tried just installing SuperSU from the play store but that failed. When googling, I see results for kingroot, kingoroot, and I don't even know if they are the same or not. The Superuser package on my device is com.kingouser.com version 2.1.6.8 (2168). The device is an Azpen A746, the world's 2nd cheapest tablet. Detailed information on replacing this SuperUser with SuperSu would be greatly appreciated.<issue_comment>username_1: TL;DR - skip to the STEPS section Kingroot and Kingoroot are two completely different apps, made by two completely different group of developers. ***Kingroot***, while it is probably the leading app for "1-Click-Root" solutions, also installs a ton of bloatware and annoying services that you may or may not know about. ***Kingoroot*** I can't really speak too much about, considering there have always been many other solutions to achieving root including Kingroot. Okay so I've used this method dozens of times and it works 99% of the time. The only time I haven't had it work was for a Verizon HTC One M8, since Kingroot only gives (at least at the time) temproot it took a few tries to get it working properly. I give all credit to w0lfdroid to finding it, and the original guide can be found here <http://www.w0lfdroid.com/2015/05/How-to-Remove-Replace-KingUser-KingRoot-with-SuperSU.html> **WARNING** This may leave your device in an unrooted state, if this happens then just run Kingroot again and it will fix itself. **STEPS** 1. Download the following three items: <https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en> --(Terminal Emulator App / Alternatively you can just use ADB shell)-- <http://tiny.cc/1a5lyx> --(Zip archive containing necessary files / v1)-- <http://tiny.cc/fo78zx> --(Zip archive containing necessary files / v2)-- 2. The two zip archives contain the same files, but if the steps don't return the desired result using the v1 files, then repeat the steps using the v2 files. 3. Extract the "mrw" folder from the zip archive and place it anywhere in "/sdcard". For convenience let's just say you're not using a computer and instead doing this all from the phone you're wishing to switch from Kingroot to SU. Downloading the files will put them inside /sdcard/Download. So navigate to there using the built-in file explorer (or Root Browser if you don't have one), extract "mrw" from the zip, and proceed to install Terminal Emulator. 4. Open Terminal Emulator and type the following commands: su sh /sdcard/Download/mrw/root.sh 5. This will return a ton of text and quite a few errors, don't worry about it, I've never had it *not* return some errors. When finished it will install SuperSU automatically and open the app, asking you if you'd like to install the necessary binaries. Tap "Yes" and choose the option that is **NOT** to install in recovery. 6. At this point it will go one of two ways: either the binary installation will fail, at which point you'll have to re-root with Kingroot and repeat the steps using the other zip files; or the binary installation will succeed and you'll need to reboot the device. Upon booting you will see Kingroot and all associated files have been removed, and replaced instead with SuperSU. If neither of these methods work there is a paid app in Play Store called Super-SuMe that's supposed to be specifically made for removing Kingroot and installing SuperSU, although despite purchasing it multiple times I have never once had anything happen besides either a reboot, force close, or the app hangs. Best of luck. Upvotes: 2 <issue_comment>username_2: I guess I was overthinking this. I just uninstalled Kingoroot's Superuser app through Apps, then downloaded and installed Super SU from the play store. Still have root. "All too easy" as a certain Sith Lord would say. The last straw was when Kingoroot Superuser installed an unwanted app without asking. It had to die after that. Upvotes: 2 [selected_answer]<issue_comment>username_3: Whether it is "Kingroot" or "Kingo Superuser" you are trying to swap to SuperSU, it will be best to use manual methods as most auto scripts out there doesn't work on all device. The simplest and most easiest way to do this does not even required any apps than a file manager. This can be done using ES File Explorer. I've once faced an issue with kingoroot. It starts displaying annoying ads and battery saver on my lock screen without any switch to disable it, which is very annoying and RAM consuming. After trying an auto-script app called "SuperSume" which unfortunately doesn't work, I later found out how to remove it and swap it with SuperSU manually. This method works for phones with Kingroot or Kingoroot Kingo superuser. I wrote a detailed guide on it including screenshots and all the process involved. It is posted [here](http://www.ccnworldtech.com/2017/03/how-to-replace-kinguserkingo-superuser.html). The only requirement is ES File Explorer. I use ES because it has root explorer built-in. Give it a try. Upvotes: 2 <issue_comment>username_4: Just going to add this on topr of [therealjavi's answer](https://android.stackexchange.com/a/171695/1465) in case there are other people like me who got pretty stuck. Finally got this right after a couple runs or so. If, after updating the binary according to the instruction given above, your phone prompts that you have two superuser apps now [instead of having the kinguser automatically removed], find a little time to unsinstall that little pesky app, [in my case, I used Link2SD which is available in the PlayStore,] then go back to the terminal emulator, and rerun the scripts again. Voila, you're done. I also had the problem of ending up installing SuperSu on my sdcard. To fix that [not sure if necessary or I'm just paranoid], I did the following: 1. Used native setting of android to move SuperSU to Internal Storage 2. Used Link2SD to convert SuperSU to system app 3. Reboot. Btw, I did this on Cloudfone Excite 501o (Android ver. 4.2.2 [KitKat]). I used iRoot (previously known as vRoot, but not sure how similar it is to VRoot which also exists now) to root the phone, and ended up getting a Chinese market app and lots of ads. Upvotes: -1
2017/03/23
403
1,449
<issue_start>username_0: I have removed Google Now in order to assign long press on home button to open another app. But recently it comes back with a different interface I'm familiar with. I guess the phone just has updated it. However I'm unable to disable or uninstall it. In Google Play I can't find which app has just been updated. In the setting of the app there is no option to disable it. These are some system Google apps that's under my suspicion: Google Services Framework, Google Partner Setup, Google One Time Init, Google Play Store and Google Play services. But I find no evidence to against them. [![screenshot](https://i.stack.imgur.com/QtTuIm.jpg)](https://i.stack.imgur.com/QtTuI.jpg) [![screenshot](https://i.stack.imgur.com/Eyo7hm.jpg)](https://i.stack.imgur.com/Eyo7h.jpg)<issue_comment>username_1: It turns out that it's actually from [Firefox](https://support.mozilla.org/t5/Basic-Browsing/Search-Firefox-instantly-on-your-Android-home-screen/ta-p/34579), not Google. To disable this, go to *Setting › Apps › Configure apps (the gear button) › Default Apps › Assist & voice input* and change to none: [![screenshot](https://i.stack.imgur.com/FXifUm.jpg)](https://i.stack.imgur.com/FXifU.jpg) Upvotes: 2 [selected_answer]<issue_comment>username_2: Try installing a launcher, like Nova. It gives you a vast amount of options for customisation of your device, including long press home. ***Hope this helps*** Upvotes: -1
2017/03/23
356
1,259
<issue_start>username_0: last night was installed Android 7 Nougat on my Galaxy S7edge, lot of my favourite applications doesn't work with it, so I have download official ROM of Android 6 Marshmallow and downgrade it using Odin (AP file only). Now come the problem, my phone don't vibrate, I hear only very quiet beeping at this moment (time when it should vibrate). I've already try both "wipes" in service mode, factory reset, other Marshmallow official ROM. No success. But it can't be hardware problem, because when I restart or power-on my phone, it shortly vibrate on startup. Thx for Your help. Luke<issue_comment>username_1: It turns out that it's actually from [Firefox](https://support.mozilla.org/t5/Basic-Browsing/Search-Firefox-instantly-on-your-Android-home-screen/ta-p/34579), not Google. To disable this, go to *Setting › Apps › Configure apps (the gear button) › Default Apps › Assist & voice input* and change to none: [![screenshot](https://i.stack.imgur.com/FXifUm.jpg)](https://i.stack.imgur.com/FXifU.jpg) Upvotes: 2 [selected_answer]<issue_comment>username_2: Try installing a launcher, like Nova. It gives you a vast amount of options for customisation of your device, including long press home. ***Hope this helps*** Upvotes: -1
2017/03/24
421
1,796
<issue_start>username_0: I have an unlocked Android 6.0.1 device, and I've installed a couple of banking apps. For obvious security and paper trail reasons, I'd like to take some screenshots of my interaction with my bank. However, somehow the low-volume+power buttons no longer takes any screenshots whilst in either of the banking apps. Why? How do I disable such a nuisance?<issue_comment>username_1: You can't take a screenshot in the regular way in such apps. Android allows foreground apps to prevent you from taking screenshots. However you can still 'force take' screenshots with 3rd party apps, most of which requires root. As for myself I don't recommend this, as 3rd party apps can lead to even greater security & privacy unless you have a trusted app. Upvotes: 0 <issue_comment>username_2: This is a result of [`FLAG_SECURE`](https://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_SECURE). The reason is obviously again security - other apps can either leverage the native screenshot API, or just read your captured results from storage to potentially obtain sensitive info. If you're already into Xposed framework, then there are a bunch of modules that will disable the check for the flag system-wide, such as [this one](http://repo.xposed.info/module/fi.veetipaananen.android.disableflagsecure). As @username_1 already pointed out, always exercise extreme caution when working around security measures, especially when a 3rd-party app is involved. Upvotes: 1 <issue_comment>username_3: As username_2 said, it is caused by FLAG\_SECURE that developer set as window attribute. Without root you can't take screenshot. But you can still take picture with camera on another phone ;-) Old school solution but it will definetely work. Upvotes: 0
2017/03/24
497
1,920
<issue_start>username_0: I tried to delete ES File Explorer from my Lollipop 5.1.1. I have a system root and the explorer was a system app. In Link2SD app, it said frozen, so I thought it might be useless to keep it.Anyways I preferred the default system app and root explorer. I tried to delete it and then all the system apps stopped working, and on rebooting my phone (SMJ 200G), I saw very few system apps, I could not install apks, and message app was also crashing. Also SuperSU was gone from launcher.All other installed apps were there. I factory resetted my phone with TWRP's default wipe; starting the phone now, I can not even log in. It asks me to select language, and then it says that Settings has stopped working. What is the problem? What do I do? Whatever the solution is, please provide a guide too.<issue_comment>username_1: The problem with root is that you remove all safety belts from you phone. At the moment it is hard to tell what exactly happened but my guess it that you deleted something else than you think you deleted. Rooting your phone is for very advanced users (I'm personally long term Android user and I never rooted my phone because I think it is not safe). My suggestion is: re-flash your phone with original firmware and stop using root. In 99.9% of use cases you don't need it. Upvotes: 1 <issue_comment>username_2: Flash your ROM, that will solve your problem. To determine the best ROM for you device check this [link](http://lifehacker.com/this-database-of-android-roms-helps-you-choose-the-best-1449794780) Follow these steps for flashing: 1) Reboot your phone into Recovery mode. 2) Head to the "Install" or "Install ZIP from SD Card" section of your recovery. 3) Navigate to the ZIP file you downloaded 4) If you're flashing a ROM different than the one you're currently running, you should wipe data and cache. So, better take a backup prior to this. Upvotes: 0
2017/03/24
1,331
4,046
<issue_start>username_0: I was going through this [link](http://www.xanh.co.uk/programmically-change-device-settings/). but I can't find a way to enable USB tethering through adb. Is there any other way I can do it?<issue_comment>username_1: Root is needed in order to execute these commands: > > The following commands call > `ConnectivityManager.setUsbTethering(boolean enable)` in Android 4.3: > > > `adb shell su -c service call connectivity 34 i32 1` turns on USB > tethering. > > > `adb shell su -c service call connectivity 34 i32 0` turns off USB > tethering. > > > For other Android versions replace `34` with the following > `setUsbTethering` calling codes per Android version: > > > > ``` > 4.4.4: 34 > 5.1.0: 30 > 6.0.1: 30 > 7.0.0: 33 > > ``` > > Credits [Is it possible to USB tether an android device using adb through the terminal](https://stackoverflow.com/q/20226924/7551330)? Upvotes: 1 <issue_comment>username_2: ``` adb shell am start -n com.android.settings/.TetherSettings && adb shell input keyevent 20 && adb shell input keyevent 20 && adb shell input keyevent KEYCODE_ENTER && sleep 2 && adb shell input keyevent 4 ``` Upvotes: 2 <issue_comment>username_3: The `service` method did not work for me on my Samsung device. I figured out how to do it by configuring the network interface directly, though. Here is a script that sets up a Linux machine and a USB-connected rooted Android device for USB tethering. This does not set up DNS or NAT masquerading, but is sufficient to make the device accessible at 192.168.42.129: ``` #!/bin/bash set -euo pipefail # Set up USB tethering for an Android device. # Usage: adb-usb-tether [USB-VENDOR USB-PRODUCT] # If USB vendor/product is unspecified, use first USB network interface. # On the Android side, tethering is enabled via adb shell. if [[ $# -eq 2 ]] then any=false vendor=$1 product=$2 else any=true fi function find_if() { local path if for path in /sys/class/net/* do if=$(basename "$path") if [[ "$(readlink "$path")" == */usb* ]] then local ifproduct ifvendor ifproduct=$(cat "$(realpath "$path")/../../../idProduct") ifvendor=$(cat "$(realpath "$path")/../../../idVendor") if $any || [[ "$ifproduct" == "$product" && "$ifvendor" == "$vendor" ]] then echo "Found interface: $if" 1>&2 echo "$if" return fi fi done } function adb_shell() { adb shell "$(printf " %q" "$@")" } function adb_su() { local quoted quoted="$(printf " %q" "$@")" adb shell su -c "$(printf %q "$quoted")" } if=$(find_if) if [[ -z "$if" ]] then echo "Requesting interface:" 1>&2 adb_su setprop sys.usb.config rndis,adb echo " >> OK" 1>&2 fi while [[ -z "$if" ]] do echo "Waiting for network device..." 1>&2 sleep 1 if=$(find_if) done while ! ( ip link | grep -qF "$if" ) do echo "Waiting for interface..." 1>&2 sleep 1 done function configure_net() { local name="$1" local if="$2" local ip="$3" local table="$4" local cmdq="$5" # Query command local cmdx="$6" # Configuration command if ! ( "$cmdq" ip addr show dev "$if" | grep -qF 192.168.42."$ip" ) then echo "Configuring $name interface address:" 1>&2 "$cmdx" ip addr add 192.168.42."$ip"/24 dev "$if" echo " >> OK" 1>&2 fi if ( "$cmdq" ip addr show dev "$if" | grep -qF 'state DOWN' ) then echo "Bringing $name interface up:" 1>&2 "$cmdx" ip link set dev "$if" up sleep 1 echo " >> OK" 1>&2 fi if ! ( "$cmdq" ip route show table "$table" | grep -qF "192.168.42.0/24 dev $if" ) then echo "Configuring $name route:" 1>&2 "$cmdx" ip route add table "$table" 192.168.42.0/24 dev "$if" echo " >> OK" 1>&2 fi } configure_net local "$if" 128 main command sudo configure_net device rndis0 129 local adb_shell adb_su ``` Upvotes: 0
2017/03/24
401
1,606
<issue_start>username_0: I'm using WhatsApp on my phone and desktop, and for some reason it has started booting me out of both unless I am in the phone application<issue_comment>username_1: This is the way it is meant to work. When it the app is minimised, it will run in background but won't show you as online. All messaging apps like allo, WhatsApp, hangouts do this. This is not a problem or a bug. Upvotes: 0 <issue_comment>username_2: Check whether you have activated restricted data usage in Settings -> Data usage depends on phone. Upvotes: -1 <issue_comment>username_3: Remove all Computer connected in your device and go through same process and now this time please check whether there is checkbox or not under QR Code Similar to This [![Similar to This](https://i.stack.imgur.com/NLgN7.png)](https://i.stack.imgur.com/NLgN7.png) Upvotes: 1 <issue_comment>username_4: You have a setting in your phone that kills any closed app instead of keeping it in the background. I don't remember exactly how to find it and it probably varies with different phones, but it certainly the issues and not something wrong in WhatsApp app itself. Upvotes: 0 <issue_comment>username_5: keep me sign in never make WA destop open. so make sure to make whatsapp on phone always on/ force app to stay open. so WA destop will always open too Upvotes: 0 <issue_comment>username_6: I had this problem on my Samsung. It seemed, interestingly, to be related to the fact that I didn't give it Phone and/or SMS permissions. Once I enabled those (Settings -> Apps -> WhatsApp -> Permissions) the issue went away. Upvotes: 0
2017/03/24
171
714
<issue_start>username_0: The top of my Note 5 was wet, I dried it off and placed the phone in rice. 2 days later it began working again, 2 days after that I received the error msg that charging is paused due to battery temp too low. What can I do?<issue_comment>username_1: It depends. If this is a phone where the temperature sensor is within the battery, the battery can simply be replaced, but that does not guarantee that this is the only issue. If the sensor is in the motherboard or another piece, the phone is likely permanently damaged and will need to be replaced. Upvotes: 1 <issue_comment>username_2: Try changing the charger port in service centers or try to keep the phone in normal temp. Upvotes: -1
2017/03/24
1,315
3,443
<issue_start>username_0: I have just installed `adb` and I am trying to retrieve information on the cellular tower which my phone is connected to. My phone is a Samsung Galaxy Trend Lite running Jelly Bean OS (4.1.2). I have rooted the phone and I am using the `adb shell` as super user. I tried to use `dumpsys telephony.registry` from the shell, which gave me a `cellInfo` parameter, but it's equal to `null`. I would like to retrieve a string with info like `MCC`, `MNC`, `LAC`, and `CID` possibly. Is this feasible? Is this the right way or is there a better one? **UPDATE 1** As suggested by **@xavier\_fakerat** I opened a terminal in ubuntu and I typed `adb logcat | grep -E 'MCC|MNC'`. However I received the following message which does not seem useful to me (maybe I'm wrong...) ``` I/SA ( 2688): [OR] onReceive log=[SA = 1.6.0125 V = 16 HWD = 800X480 1.5 dpi = 240 SIZE = 2 LOCALE = it_IT CSC = ITV MCC = 0 MNC 0 T = user DEVICE = kylevess P = kylevessxx I = JZO54K M = GT-S7390 OKLEFT false DIS JZO54K.S7390XXUAOI1 PSS = 3.979127307850313 ] ``` **UPDATE 2** I also tried the suggestion of **@Ali Said** and I was able to get the `cid`, although the output sometimes is equal to 0, sometimes is 68. I did the second option he proposed ``` adb logcat -b radio | grep "cid" ``` and received many rows like ``` D/RIL ( 1391): RIL:[AP][RPC EN] msgid=0x413a str=MSG_MS_GET_ELEMENT_REQ tid 472 cid 68 ``` or ``` D/RIL ( 1391): RIL:[AP][RPC DE] msgid=0x204 str=MSG_RSSI_IND tid 0 cid 0 ``` So now I think I am left with finding the `LAC` code only. Nevertheless, none of the solutions so far allowed me to retrieve all the info i was looking for at the same time. Also, option 1 of **@Ali Said** (`adb logcat -b radio | grep ": +CREG:"`) seems what I REALLY need, but it doesn't output anything. Maybe it's a matter of the `+CREG` command (if it is an AT command as far as I can understand), which is not supported by my phone. Just a guess, I went very far for my possibilities, but I am pretty sure I am approaching the solution... Finally, the output from `adb logcat -b radio | grep "MCC"` is `D/RIL ( 1391): GetSamsungPLMNname:: GetSamsungPLMNname :: deci MCC=222, MNC=88` while here is a [link](https://gist.github.com/umbe1987/cf8baa1f29207209d9476a9b331172e0) to the logcat from the cid info. Hope this could be of interest if someone wants to help me out.<issue_comment>username_1: You may need to use adb logcat and filter using grep. Try this ``` adb logcat | grep -E 'MCC|MNC' ``` Credits 1. [Getting cell id through adb](https://stackoverflow.com/questions/26473399/getting-cell-id-through-adb) Upvotes: 1 <issue_comment>username_2: Both of these worked for me: **Option1:** grep AT command for cell info ``` $> adb logcat -b radio | grep ": +CREG:" D/AT ( 873): +CREG: 2,1,"2444","0FA2A694",6 D/AT ( 873): +CREG: 2,1,"2444","0FA2A694",6 D/AT ( 873): +CREG: 2,1,"2444","0FA2A694",6 ``` [1] phone is registered with the network [2444] hex : Location Area Code (LAC) [0FA2A694] hex : Cell Id (cid). **Option 2** : you can grep "cid" from logact -b radio you should get it this. note it is decimal this time. ``` $> adb logcat -b radio | grep "cid" D/use-Rlog/RLOG-RIL( 9193): cid: 262317716 D/use-Rlog/RLOG-RIL( 9193): cid: 262317716 D/use-Rlog/RLOG-RIL( 9193): cid: 262317716 ``` --- Option1 is my personal preference. hope that helps. Upvotes: 3 [selected_answer]
2017/03/25
788
3,107
<issue_start>username_0: I exported a `contacts2.db` from a samsung s6 and try to import it to a Samsung S2 tab. both phones operate on android 6 and are rooted. What I've achieved so far: * I managed to copy the file from the source device with: ``` adb shell "su -c cat /path/to/contacts2.db" > contacts2.db ``` * I managed to restore the database by copying the file to the sdcard of the destination device and then via `adb shell` ``` su cd /data/data/com.android.contacts/databases/ mv contacts2.db contacts2.db.bak cp /sdcard/contacts2.db . chown u0_a4:u0_a4 contacts2.db chmod 600 contacts2.db cd .. restorecon -Rv databases kill $(ps | grep contacts | awk '{ print $2 }') ``` * Then I start contacts again via gui, rebooted, but the contacts do not show up. It does not seem to be a file permission error, but a database problem? The devices run the same samsung stock firmware. What did I miss here?<issue_comment>username_1: Contacts are stored in `data/data/com.android.providers.contacts/databases`. If you simply want to sync contacts in new phone, add same Google account on newer phone. It will automatically sync in background. You can also try Samsung SmartSwitch. Upvotes: 1 <issue_comment>username_2: The format of the database is likely slightly different on the 2 devices. As quoted from your own comment... > > ...a database version is part of the database, which prevents contacts from using an incorrect (too new/old) database layout. > > > Personally I've never had any sort of success moving that file around devices with somewhat different ROMs, but when they're flashed with the same ROM, just dropping the file in that location (without touching permissions, etc.) will do. Upvotes: 1 [selected_answer]<issue_comment>username_3: Here's some partial information that I was able to figure out. The `contacts2.db` database, like all SQLite3 databases, has a pragma (metadata) called `user_version` (which can be read with `PRAGMA user_version` in sqlite3) which is an integer typically used to store a database schema version number. This is used, in particular, by many Android databases and `contacts2.db` in particular, in running automatic migration code that will attempt to perform the required schema conversions when the database version does not match that expected by the code (here, the `com.android.providers.contacts` package): the migration code is in [`ContactsDatabaseHelper.java`](https://android.googlesource.com/platform/packages/providers/ContactsProvider/+/refs/heads/pie-release/src/com/android/providers/contacts/ContactsDatabaseHelper.java) in the Android code. Sadly, there are many things that can go wrong in this migration (and when it fails, it usually fails catastrophically, meaning all the contents are lost). Sometimes it helps to check the `user_version` on the database before migration, and possibly perform or repair migrations “by hand” (using sqlite3) following what the Java code attempts to do. I've been able to salvage my contacts database once in this way (but of course, it requires some knowledge of SQL). Upvotes: 0
2017/03/25
569
2,072
<issue_start>username_0: Rummaged through a bunch of articles in search of an answer to this question, but nothing helped. I ask for your help. Android 6, LG The contact book displays only a part of the numbers (124 contacts from applications such as Skype, Weiber, etc.), but in fact there should be much more contacts and they are in the phone (confirmation of that - when entering phone number +7 there are 449 numbers). How can I make these 449+ contacts appear in the contact book? In the display settings of contacts, it is possible to display contacts from all sources (phone memory, SIM, applications). I tried the sources one by one, too. ![only 124 contacts available](https://i.stack.imgur.com/3CDOim.png) ![found 449 contacts](https://i.stack.imgur.com/6Km7Rm.png)<issue_comment>username_1: You have 124 contacts saved to your phone. When you press +79, you get 449 in the dropdown. This 449 represents the number you have dialled (starting with +79) till date, from your device. Those may be the saved numbers or unsaved too. This is not a bug. Hope this satisfies you query. Update - adding the screenshots of my Lg 5.0.1. When I search for contacts starting with 7 in **Contacts** tab, 250 contacts are shown. ![Screenshot of contacts](https://i.stack.imgur.com/9sj6Am.jpg) While, when I type 7 in dialer, 396 contacts are found. ![Screenshot of dialer](https://i.stack.imgur.com/a0ayAl.png) That's what happens with every phone. It's not a bug. Upvotes: 2 <issue_comment>username_2: Touch **three vertical dots** at top right corner. It should let you change settings related to your contact book. Look for a setting named as - Contact Display or something similar. Make sure you have selected **All Contacts** Upvotes: 0 <issue_comment>username_3: In **Contacts** click the 3 vertical dots on the upper right, select **Filter** , and then in **Display contacts** section select only **Local**, in order the device displays only your locally stored contacts (phone numbers). This holds for Sony Xperia M4 Acqua Android 6.0.1 version. Upvotes: 0
2017/03/25
339
1,025
<issue_start>username_0: I run the following command to connect device over TCP ; ``` adb connect 192.168.56.102:5555 ``` I am not able now to disconnect it I even made two attempts : ``` adb disconnect 192.168.56.102:5555 ``` The second is , I reboot adb ``` adb reboot ``` Unfortunately, when I run `adb devices` , the connection is still there : ``` List of devices attached 192.168.56.102:5555 device ``` Brief, I am looking for the [opposite of this answer](https://android.stackexchange.com/a/49682/42566)<issue_comment>username_1: To kill the server currently running you need to type: `adb kill-server` in command prompt. This should stop the instance of a running server. Upvotes: 2 <issue_comment>username_2: I just use "adb disconnect" and it worked fine for me. See the photo below: [![enter image description here](https://i.stack.imgur.com/SJohX.png)](https://i.stack.imgur.com/SJohX.png) Upvotes: 5 [selected_answer]<issue_comment>username_3: Use `adb -s deviceName disconnect`. Upvotes: 2
2017/03/26
289
1,032
<issue_start>username_0: after i installed custom ROM on my phone(android 4.2.2), i rooted it and uninstalled hangouts(system app). [i think] hangouts was default sms app after installing ROM . now i **can't receive sms** with **android official sms app**. and when i send sms , it **always stay on sending status**. but i **haven't any problem with other sms apps**(go sms, hangouts[*after reinstall*],...) I'm need to send or receive sms with android official sms app.any ideas welcome. P.S: 1.i installed new ROM for my phone locked on bootloop 2.i not found any difference between old ROM and new ROM. 3.i checked sms center number.<issue_comment>username_1: Either stick to your other SMS app or try removing the default SMS app and reinstall it using an APK. Upvotes: -1 <issue_comment>username_2: i re-flashed my phone official ROM (without losing data by [this learn](http://www.gizbeat.com/7260/flash-rom-upgrade-firmware-without-losing-user-data-cache/)) and now this problem solved! Upvotes: 1 [selected_answer]
2017/03/27
367
1,161
<issue_start>username_0: The latest version of Firefox available for download is v50.0 but on Play Store v52.0 is available.. Why F-droid doesn't show latest version? Firefox (Browse the web) - <https://f-droid.org/app/org.mozilla.firefox> <https://f-droid.org/wiki/page/org.mozilla.firefox><issue_comment>username_1: F-Droid doesn't include Firefox anymore (\*) but some builds from Firefox code, such as Fennec and Icecat. (\*) It is due some privacy concerns, Tracking, UpstreamNonFree and Non-free Addons At the moment **Icecat 52.4.1** **Fennec 56.0** Version code: 560020,560010,560000 Current scheme: XYZAR, where X.Y.Z is upstream version, A is architecture (0 = ARMv7, 1 = x86, 2 = ARMv8), R is revision (if we need to re-release) Upvotes: 2 [selected_answer]<issue_comment>username_2: Fdroid hosts an application called [FFUpdater](https://f-droid.org/packages/de.marmaro.krt.ffupdater/), which automatically detects and downloads the latest version for your device. I have used it a few times and it works on most new devices. However, on old Android devices (4x), I found that the latest APK that it downloads is not installable. Upvotes: 0
2017/03/27
550
2,021
<issue_start>username_0: This icon [![Vo LTE icon](https://i.stack.imgur.com/QTasP.png)](https://i.stack.imgur.com/QTasP.png) started showing up in my Android notification bar last week. I think it was after I used the Google Drive app for the first time (I had never opened this app before and was just curious). Now the icon is there all the time, occupying valuable notification bar real estate – and not providing any useful information in return, as far as I can tell. What is this icon? What is it supposed to be telling me? Can I make it go away? If so, is there a reason not to? [![status bar with Vo LTE icon and freehand red circle](https://i.stack.imgur.com/zbEOm.png)](https://i.stack.imgur.com/zbEOm.png)<issue_comment>username_1: VoLTE means Voice over [LTE](https://en.wikipedia.org/wiki/LTE_(telecommunication)). The icon notifies you that you are now able to phone over LTE. This means, it's not necessary in order to make a phone call to switch back to 3G (You cannot phone over normal LTE). In short it's new and better. As far as I can tell you could disable VoLTE altogether, but I recommend you to simply live with it. Upvotes: 4 [selected_answer]<issue_comment>username_2: VoLTE stands for voice over LTE. It means you can make HD voice/video calls over your LTE network. Upvotes: 1 <issue_comment>username_3: VO-LTE is the next generation of VOIP. It indicates that VOLTE is enabled in your device and you will be able to call via LTE. It stands for Voice Over Long Term Evolution. It is a technology works with 4G/LTE. The VOLTE calls are highly secured and thus can't be taped Upvotes: 1 <issue_comment>username_4: it's describe your phone supported 4g Volte. and You can call without any third party app. EX jio4g voice. Upvotes: 0 <issue_comment>username_5: I also started seeing this icon very recently on my Samsung phone. You can switch it off by following the path on your Samsung Android phone: Settings > Connections > Mobile Networks > VoLTE calls (off or on) Upvotes: 1
2017/03/27
780
2,278
<issue_start>username_0: I'm running Android device on version 5.1 and my device doesn't have any buttons except power and volume. I want my volume up key to answer incoming calls. Is there any exposed or any other method to help facilitate the ask?<issue_comment>username_1: [automation](/questions/tagged/automation "show questions tagged 'automation'") is one option. Many apps are available. I prefer using [MacroDroid](https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid) , since it is free (upto 5 macros) and easy to learn. --- Using `Power key`- you can set how many times you want to toggle to answer, here it is 3 times [![enter image description here](https://i.stack.imgur.com/l7QeWm.jpg)](https://i.stack.imgur.com/l7QeWm.jpg) --- Using `Vol` [![enter image description here](https://i.stack.imgur.com/XYEHam.jpg)](https://i.stack.imgur.com/XYEHam.jpg) You can use either methods that suit you Upvotes: 0 <issue_comment>username_2: Alternatively with Tasker; **Now for the Task:** *Task 1 Answering the call* Create a named task : Action: Phone >> Take Call [![a](https://i.stack.imgur.com/RHGaem.png)](https://i.stack.imgur.com/RHGae.png) [![b](https://i.stack.imgur.com/bPMzum.png)](https://i.stack.imgur.com/bPMzu.png) (click images for larger variants) Exit out of the task. Task 2 *Ending the phone call* Create another named task: Acion: Action: Phone >> End Call [![a](https://i.stack.imgur.com/fm79jm.png)](https://i.stack.imgur.com/fm79j.png) [![b](https://i.stack.imgur.com/nbNrnm.png)](https://i.stack.imgur.com/nbNrn.png) **Create a new Profile** State >> Hardware >> Button [Next] (which is similar to volume up) Check Stop Event. [![a](https://i.stack.imgur.com/tDZQpm.png)](https://i.stack.imgur.com/tDZQp.png) [![b](https://i.stack.imgur.com/WzLxdm.png)](https://i.stack.imgur.com/WzLxd.png) [![c](https://i.stack.imgur.com/Otv0Mm.png)](https://i.stack.imgur.com/Otv0M.png) [![d](https://i.stack.imgur.com/dTHK5m.png)](https://i.stack.imgur.com/dTHK5.png) For the second profile the proccedure is the same but this time a media button used is "previous" instead of "next". [![a](https://i.stack.imgur.com/wtIEmm.png)](https://i.stack.imgur.com/wtIEm.png) Activate all profiles Thats all. Upvotes: 1
2017/03/28
194
792
<issue_start>username_0: I get frustrated with Android because I can't find all the special characters on it for passwords etc that I have on my windows 10 computer. Is there a trick to finding more special characters?<issue_comment>username_1: Yes there are. For example try holding letter F it will show $ € £ ¥ ¢ . Try other letters as well. Upvotes: 2 <issue_comment>username_2: All of the special characters are there in the default Google keyboard, but you may need to go two screens into the symbols in order to see them. You probably already know that you can get to the first symbol screen with the numbers by pressing the `?123` button. Once you are on that screen, you can get to the second one by pressing the key that used to be the Shift key, which now says `=\<`. Upvotes: 1
2017/03/28
197
773
<issue_start>username_0: I want to root my Xperia Z ultra . but not finding any safe method for it. I have heard of kingroot . is that safe ? please help me to find other safe ways to root my device.<issue_comment>username_1: Yes there are. For example try holding letter F it will show $ € £ ¥ ¢ . Try other letters as well. Upvotes: 2 <issue_comment>username_2: All of the special characters are there in the default Google keyboard, but you may need to go two screens into the symbols in order to see them. You probably already know that you can get to the first symbol screen with the numbers by pressing the `?123` button. Once you are on that screen, you can get to the second one by pressing the key that used to be the Shift key, which now says `=\<`. Upvotes: 1
2017/03/29
418
1,622
<issue_start>username_0: Is there a terminal emulator for Android which allows to use vi and php with mysql support? PS. Termux unfortunately doesn’t allow to connect php to the mysql.<issue_comment>username_1: In order to do this you will need to have su or root on your phone, Because in the Android OS each app runs under its own user, (not to mention selinux) which is why you need root to change a apps data manually (commonly known as "cracking" or "hacking"). You can easily find php/mysql binaries to install after you get root. Which should be moved under /system/bin Upvotes: 0 <issue_comment>username_2: What you want is more than a terminal emulator. The way PHP scripts connect to a database server is entirely outside the control of the terminal. There are a couple of "server pack" apps in the Play Store that include services like MySQL and SSH. I can't recommend a particular one, but if you search for MySQL on Play Store you'll get a lot of results. Upvotes: 0 <issue_comment>username_3: Late to the party, however, if I install the php package: ``` pkg install php ``` then navigate to my directory containing my php files, ``` cd storage// ``` I can then prefix commands with ‘php’. So, to run a file in my php directory: ``` php -f php_file.php ``` There is more information in the ‘man’ doc - “man php”. I use DroidEdit, which works well; I have not tried using vim, but I see no reason why it would not work, so long as your current directory is the one containing the php files. As to whether you can configure the application to use Lavarel, I’m sorry, but I do not know. Upvotes: 1
2017/03/29
1,627
5,853
<issue_start>username_0: Operating system partition can be wiped in order to reinstall a [broken ROM installation](https://android.stackexchange.com/questions/171989/oneplus-one-bootloop-not-related-to-flashing) for example, personal files will be left intact. What is the correct [partition](https://twrp.me/faq/whattowipe.html) to wipe? Partitions for OnePlus One in TWRP (excluding cache and USB OTG): * system * data * internal storage<issue_comment>username_1: > > Let’s start with a list of standard internal memory partitions on > Android phones and tablets. These are: > > > > ``` > /boot > /system > /recovery > /data > /cache > /misc > > ``` > > In addition, there are the SD card partitions. > > > > ``` > /sdcard > /sd-ext > > ``` > > Note that only /sdcard is found in all Android devices and the rest > are present only in selected devices. > > > Let’s now take a look at the purpose and contents of each of these > partitions. > > > `/boot` > > > This is the partition that enables the phone to boot, as the name > suggests. It includes the kernel and the ramdisk. Without this > partition, the device will simply not be able to boot. Wiping this > partition from recovery should only be done if absolutely required and > once done, the device must NOT be rebooted before installing a new > one, which can be done by installing a ROM that includes a /boot > partition. > > > `/system` > > > This partition basically contains the entire operating system, other > than the kernel and the ramdisk. This includes the Android user > interface as well as all the system applications that come > pre-installed on the device. Wiping this partition will remove Android > from the device without rendering it unbootable, and you will still be > able to put the phone into recovery or bootloader mode to install a > new ROM. > > > `/recovery` > > > The recovery partition can be considered as an alternative boot > partition that lets you boot the device into a recovery console for > performing advanced recovery and maintenance operations on it. > Example:Clockwork Mod, TWRP etc. > > > `/data` > > > Also called user data, the data partition contains the user’s data – > this is where your contacts, messages, settings and apps that you have > installed go. Wiping this partition essentially performs a factory > reset on your device, restoring it to the way it was when you first > booted it, or the way it was after the last official or custom ROM > installation. When you perform a wipe data/factory reset from > recovery, it is this partition that you are wiping. > > > `/cache` > > > This is the partition where Android stores frequently accessed data > and app components. Wiping the cache doesn’t effect your personal data > but simply gets rid of the existing data there, which gets > automatically rebuilt as you continue using the device. > > > `/misc` > > > This partition contains miscellaneous system settings in form of > on/off switches. These settings may include CID (Carrier or Region > ID), USB configuration and certain hardware settings etc. This is an > important partition and if it is corrupt or missing, several of the > device’s features will not function normally. > > > `/sdcard` > > > This is not a partition on the internal memory of the device but > rather the SD card. In terms of usage, this is your storage space to > use as you see fit, to store your media, documents, ROMs etc. on it. > Wiping it is perfectly safe as long as you backup all the data you > require from it, to your computer first. Though several user-installed > apps save their data and settings on the SD card and wiping this > partition will make you lose all that data. > > > On devices with both an internal and an external SD card – devices > like the Samsung Galaxy S and several tablets – the /sdcard partition > is always used to refer to the internal SD card. For the external SD > card – if present – an alternative partition is used, which differs > from device to device. In case of Samsung Galaxy S series devices, it > is /sdcard/sd while in many other devices, it is /sdcard2. Unlike > /sdcard, no system or app data whatsoever is stored automatically on > this external SD card and everything present on it has been added > there by the user. You can safely wipe it after backing up any data > from it that you need to save. > > > `/sd-ext` > > > This is not a standard Android partition, but has become popular in > the custom ROM scene. It is basically an additional partition on your > SD card that acts as the /data partition when used with certain ROMs > that have special features called APP2SD+ or data2ext enabled. It is > especially useful on devices with little internal memory allotted to > the /data partition. Thus, users who want to install more programs > than the internal memory allows can make this partition and use it > with a custom ROM that supports this feature, to get additional > storage for installing their apps. Wiping this partition is > essentially the same as wiping the /data partition – you lose your > contacts, SMS, market apps and settings. > > > [Source](http://www.addictivetips.com/mobile/android-partitions-explained-boot-system-recovery-data-cache-misc/) Note: Wiping /system means removing the android installation(ROM), and /data removes all apps (app+data), wiping internal storage means deletes every thing. If you want to install ROM only by wiping /system, then, the new ROM should be with same android version as that of old. Otherwise, it will crash. Upvotes: 4 [selected_answer]<issue_comment>username_2: You should go for advanced wipe and choose: -DalviK/ART Cache -System -Data -Cache And don`t format: -Internal Memory -Sdcard Upvotes: 0
2017/03/29
499
1,895
<issue_start>username_0: I have recently rooted my Xperia z ultra. and now i want to install custom ROM in it. I have searched internet. but i am not able to find any safe way to install custom rom. how can i do that?<issue_comment>username_1: Follow these steps for flashing. 1) [Download](https://theunlockr.com/roms/android-roms/) a ROM of your choice. 2) Connect your device to your PC using the USB cable. 3) Copy the Custom ROM.zip file from your Desktop over to the root of your SD card. 4) Turn OFF your device, and turn it back on by holding Volume Up and Power buttons together. 5) Your device should reboot into recovery mode(In the recovery mode, the Volume buttons are used for navigation and the Power button to make a selection) 6) Select Backup and Restore -> Backup. 7) Once done, head back to the main menu. 8) Select Wipe data/factory reset. 9) After this, head back to the main menu by selecting Back. 10) Select install zip from SD Card followed by choose zip from SD Card. 11) Choose the Custom ROM.zip file you copied earlier to be flashed on your device. 12) When the ROM has been flashed, reboot your device by selecting reboot system now, and you will be done. You can research more over [here](https://developer.sonymobile.com/open-devices/flash-tool/). Upvotes: -1 <issue_comment>username_2: Follow these steps for installing custom rom : 1.Unlock bootloader from [sony official](https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/) website instructions. 2.Install custom recovery like [TWRP](https://twrp.me/) or [CWM](https://www.clockworkmod.com/) recovery to ease your further process. 3.Download custom rom like [LineageOS](https://lineageos.org/) or Resurrection remix whichever you feel good. 4.Boot to your recovery , wipe System data and install custom rom with Gapps. 5.Reboot and enjoy. Upvotes: 1 [selected_answer]
2017/03/30
974
3,428
<issue_start>username_0: How to migrate a swype keyboard dictionary to another device (a new one for instance)? When I buy a new phablet I have to collect words over again.<issue_comment>username_1: From Swype [documentation](https://www.google.co.in/url?sa=t&source=web&rct=j&url=http://www.nuance.com/ucmprod/groups/mobile/%40web-enus/documents/collateral/nc_028051.pdf&ved=0ahUKEwjN6vOV4P3SAhXFS7wKHbJmBk8QFggjMAE&usg=AFQjCNEkEAiz4YAZTbX8Ab4I476DLEWTmQ&sig2=rvUc5GuJYFZVJ7-ACECAUA) Backup and Sync Demo: Register all Devices with Swype Connect • Download the latest build of Swype from the Google Play store > > • Open messaging application and long press on the Swype key to open Swype Settings > > > • Select “My Words”, then select “Register Now” to activate Backup and Sync > > > •In messaging application input names of friends a few times and select “Add word to Dictionary” > > > • Long press Swype key to open Swype Settings, select “My Words” and then select “Edit My Dictionary” and you can view your dictionary > > > •Multi-Device Dictionary Sync • > > > If using a brand new device without Swype previously installed > > • Go to “Android Settings”, “Applications”, “Swype”, and select “Clear Data” > > > • Open messaging application; walk through the Swype registration process with your device email > > > • Once activation is complete, go into “Swype Settings,” select “My Words,” and then select “Edit My Dictionary” and you will see that your dictionary has been completely restored > > > • Go through this process with all your Android devices if desired > > > Upvotes: 2 <issue_comment>username_2: Since Swype is EOL and no longer supported by its owner, but thankfully still functional, I have found the backup/registration/restore process unreliable. I was able to migrate the app from one device to another fairly easily, but found that the personal dictionary ("word list") is not included in that. The best solution I have come up with is this: * "Manually" capture the contents from the old host/source Swype personal dictionary as described here: [Bulk word import into Gboard](https://android.stackexchange.com/a/228574/127255). The Universal Copy tool mentioned there now supports a 'scroll mode' that allows you to capture more than the ~20 entries that fit on the screen at a time from the old list, but its still slow going. * Transfer the flat-text list to the new host. I used a Google Keep item to do this. * Bulk import the flat-text list to the new Swype installation as described here: [Where does swype store the user dictionary?](https://android.stackexchange.com/a/11451/127255). Caveat: the bulk import process only accepts about 35 entries at a time, so multiple import passes will have to be made, but it works! Upvotes: 2 <issue_comment>username_3: 2022 Swype-user here. The easiest (albeit still manual) solution allows you to transfer ~20 words at a time: 1. On your old phone, open your personal dictionary list on Swype 2. On your new phone, take a photo of your list of words 3. Using Google Lens (i.e. smart scanner) highlight the text in the photo 4. Copy and paste the words into any messaging app draft 5. Highlight all of the pasted words 6. Press the Swype key 7. Swype will prompt you to "Add all to dictionary" 8. Repeat until you've scrolled through your personal dictionary Not ideal, but it was mindlessly easy. Happy Swyping! Upvotes: 1
2017/03/30
982
3,482
<issue_start>username_0: We can remove data permanently from android flash memory, which is encrypted, after a factory reset. After doing this, do we need to decrypt the device for using it again or factory reset the device?<issue_comment>username_1: From Swype [documentation](https://www.google.co.in/url?sa=t&source=web&rct=j&url=http://www.nuance.com/ucmprod/groups/mobile/%40web-enus/documents/collateral/nc_028051.pdf&ved=0ahUKEwjN6vOV4P3SAhXFS7wKHbJmBk8QFggjMAE&usg=AFQjCNEkEAiz4YAZTbX8Ab4I476DLEWTmQ&sig2=rvUc5GuJYFZVJ7-ACECAUA) Backup and Sync Demo: Register all Devices with Swype Connect • Download the latest build of Swype from the Google Play store > > • Open messaging application and long press on the Swype key to open Swype Settings > > > • Select “My Words”, then select “Register Now” to activate Backup and Sync > > > •In messaging application input names of friends a few times and select “Add word to Dictionary” > > > • Long press Swype key to open Swype Settings, select “My Words” and then select “Edit My Dictionary” and you can view your dictionary > > > •Multi-Device Dictionary Sync • > > > If using a brand new device without Swype previously installed > > • Go to “Android Settings”, “Applications”, “Swype”, and select “Clear Data” > > > • Open messaging application; walk through the Swype registration process with your device email > > > • Once activation is complete, go into “Swype Settings,” select “My Words,” and then select “Edit My Dictionary” and you will see that your dictionary has been completely restored > > > • Go through this process with all your Android devices if desired > > > Upvotes: 2 <issue_comment>username_2: Since Swype is EOL and no longer supported by its owner, but thankfully still functional, I have found the backup/registration/restore process unreliable. I was able to migrate the app from one device to another fairly easily, but found that the personal dictionary ("word list") is not included in that. The best solution I have come up with is this: * "Manually" capture the contents from the old host/source Swype personal dictionary as described here: [Bulk word import into Gboard](https://android.stackexchange.com/a/228574/127255). The Universal Copy tool mentioned there now supports a 'scroll mode' that allows you to capture more than the ~20 entries that fit on the screen at a time from the old list, but its still slow going. * Transfer the flat-text list to the new host. I used a Google Keep item to do this. * Bulk import the flat-text list to the new Swype installation as described here: [Where does swype store the user dictionary?](https://android.stackexchange.com/a/11451/127255). Caveat: the bulk import process only accepts about 35 entries at a time, so multiple import passes will have to be made, but it works! Upvotes: 2 <issue_comment>username_3: 2022 Swype-user here. The easiest (albeit still manual) solution allows you to transfer ~20 words at a time: 1. On your old phone, open your personal dictionary list on Swype 2. On your new phone, take a photo of your list of words 3. Using Google Lens (i.e. smart scanner) highlight the text in the photo 4. Copy and paste the words into any messaging app draft 5. Highlight all of the pasted words 6. Press the Swype key 7. Swype will prompt you to "Add all to dictionary" 8. Repeat until you've scrolled through your personal dictionary Not ideal, but it was mindlessly easy. Happy Swyping! Upvotes: 1
2017/03/30
1,029
3,644
<issue_start>username_0: I need a way to block all calls from an area code, unless the number is in my contact list. Anyone know of a way to do that? I found plenty of apps that can block by area code, but they'll also block any of my contacts if they have that area code. I could add each of my contacts to a whitelist, but then I have to remember to do that each time I add a contact.<issue_comment>username_1: From Swype [documentation](https://www.google.co.in/url?sa=t&source=web&rct=j&url=http://www.nuance.com/ucmprod/groups/mobile/%40web-enus/documents/collateral/nc_028051.pdf&ved=0ahUKEwjN6vOV4P3SAhXFS7wKHbJmBk8QFggjMAE&usg=AFQjCNEkEAiz4YAZTbX8Ab4I476DLEWTmQ&sig2=rvUc5GuJYFZVJ7-ACECAUA) Backup and Sync Demo: Register all Devices with Swype Connect • Download the latest build of Swype from the Google Play store > > • Open messaging application and long press on the Swype key to open Swype Settings > > > • Select “My Words”, then select “Register Now” to activate Backup and Sync > > > •In messaging application input names of friends a few times and select “Add word to Dictionary” > > > • Long press Swype key to open Swype Settings, select “My Words” and then select “Edit My Dictionary” and you can view your dictionary > > > •Multi-Device Dictionary Sync • > > > If using a brand new device without Swype previously installed > > • Go to “Android Settings”, “Applications”, “Swype”, and select “Clear Data” > > > • Open messaging application; walk through the Swype registration process with your device email > > > • Once activation is complete, go into “Swype Settings,” select “My Words,” and then select “Edit My Dictionary” and you will see that your dictionary has been completely restored > > > • Go through this process with all your Android devices if desired > > > Upvotes: 2 <issue_comment>username_2: Since Swype is EOL and no longer supported by its owner, but thankfully still functional, I have found the backup/registration/restore process unreliable. I was able to migrate the app from one device to another fairly easily, but found that the personal dictionary ("word list") is not included in that. The best solution I have come up with is this: * "Manually" capture the contents from the old host/source Swype personal dictionary as described here: [Bulk word import into Gboard](https://android.stackexchange.com/a/228574/127255). The Universal Copy tool mentioned there now supports a 'scroll mode' that allows you to capture more than the ~20 entries that fit on the screen at a time from the old list, but its still slow going. * Transfer the flat-text list to the new host. I used a Google Keep item to do this. * Bulk import the flat-text list to the new Swype installation as described here: [Where does swype store the user dictionary?](https://android.stackexchange.com/a/11451/127255). Caveat: the bulk import process only accepts about 35 entries at a time, so multiple import passes will have to be made, but it works! Upvotes: 2 <issue_comment>username_3: 2022 Swype-user here. The easiest (albeit still manual) solution allows you to transfer ~20 words at a time: 1. On your old phone, open your personal dictionary list on Swype 2. On your new phone, take a photo of your list of words 3. Using Google Lens (i.e. smart scanner) highlight the text in the photo 4. Copy and paste the words into any messaging app draft 5. Highlight all of the pasted words 6. Press the Swype key 7. Swype will prompt you to "Add all to dictionary" 8. Repeat until you've scrolled through your personal dictionary Not ideal, but it was mindlessly easy. Happy Swyping! Upvotes: 1
2017/03/30
655
2,589
<issue_start>username_0: About two months ago (just over 60 days so they are no longer in Trash), I manually deleted thousands of photos off my Google Photos account due a problem I had with duplicate files. I had a back up of all the photos on SD cards which I needed to clear. I moved the photos to an external hard drive. Later, I discovered that Windows had somehow decided to not copy about 1600 of the files. The only trace I have left of the missing photos are the cached images on Google Photos on a broken android phone (LG G3) which I've turned on without any access to the internet. Even if they are low quality, I am desperate to recover these photos. Does anyone know how to access the cached photos (or thumb nails) of Google Photos? My plan, if I can access them, is to create a wifi hotspot with another android phone without access to the internet and use something like airdroid to move the images to a computer. I could also maybe put an SD card back in the phone and move the files there instead? The phone is not rooted. I've looked around using the file manager but have not been able to locate them. Does anyone have any suggestions?<issue_comment>username_1: I think you can Android Data Recovery software to scan your LG phone and find the deleted photos for you. This software can scan your phone and SD card deeply to find the deleted photos for you. You can preview them and then recover them from your LG phone to computer. Try to find the best Android Data Recovery software on google and download one of them. Good Luck! Upvotes: 0 <issue_comment>username_2: You're best option is to try recovery software such as [Recuva](https://www.piriform.com/recuva) or [EaseUS Data Recovery](http://www.easeus.com/datarecoverywizard/free-data-recovery-software.htm) on one on the SD cards which once contained the deleted photos. The chances of recovering your data this way are slim, as even just a *few missing kilobytes* can corrupt whole photos and videos. Android stores cached images in the following locations: > > /sdcard/DCIM/.thumbnails > > /data/data/com.google.android.apps.photos > > > If you're not rooted, then refer to [this guide](https://stackoverflow.com/questions/30592177/use-adb-pull-to-copy-apps-file-from-phone-not-rooted) on how to use `ADB` to pull the data from the Google Photos application. If all else fails, then your last two options would be to try *contacting* Google Support to see if they still have the files on their servers. Hardware data recovery could restore your photos at a price. Upvotes: 2 [selected_answer]
2017/03/31
1,106
4,303
<issue_start>username_0: Suppose I'm using an android phone running stock Android 6.0. Suppose further there are about 100 contacts and about 50 of them are with provider P and the rest is with provider G (as displayed by the default Google-Contacts app). Now what I want to do is to *move* all the remaining 50 contacts which are still with G to P so I have every contact once and stored and synced with provider P. **How can I do this, preferably using only my phone?** Now I'd do this manually using the Contacts-App but it won't allow me change the storage provider for an established contact. For clarification: the phone in question is a Nexus 5, provider G is obviously google using the device-default google account and provider P is posteo which is registered to Android as a "calendar service provider" via DAVDroid.<issue_comment>username_1: To do that natively only using your phone, you'd need to either manually enter all those 50 contacts to the new provider, then drop the old entries. You might also be able to export all your contacts to SD card (using the contacts/people app: *Menu › Export/Import › Export to SDCard*), edit the resulting file, and import it back again – but that might be error prone. An easier approach would be using a third party solution, like [Simpler Contacts Backup](https://play.google.com/store/apps/details?id=com.simpler.backup) – which directly lets you move contacts between accounts, according to the app's description. Upvotes: 3 [selected_answer]<issue_comment>username_2: What still works with the Android 11 Contacts app is the following: 1. go to Settings -> Export ... - just select the G contacts provider for export - take note of the filename - say - `contacts.vcf` 2. go to Settings -> Import ... - select P contacts provider as import destination and select the previously exported file `contacts.vcf` 3. in the main view, select just the G provider via the menu in the top right corner 4. Select all via the `⋮` (vertical elipsis) top right menu 5. Delete all via tapping the trash can symbol End result: all remaining G contacts are moved to the P contacts provider There is no need to edit the exported `.vcf` file, since you want to move *all* remaining G contacts. --- Editing would only be necessary if you want to split/filter/edit the exported contacts into multiple files before importing (only a subset of) them again. This isn't a big deal if you have a real text editor, since the format is relatively straight forward, as long as you just (re-)move complete `BEGIN:VCARD`/`END:VCARD` blocks, edit plainly encoded field values or completely remove fields. --- Note that it's advised to re-import the contacts via the same app that you've used to export them since many VCF implementations are known to have compatibility issues with each other. See also for example: > > Do not use the .vcf files exported by Android's Contacts app for any other > purpose than importing again to the same Android Contacts app! Those .vcf > files are using an ancient vCard format (vCard 2.1) and contain syntax > errors. There are good chances that contacts will be corrupt when you try to > import these .vcf files anywhere else. > > > [DAVx5 DAVcal/DAVcard Android provider app FAQ](https://www.davx5.com/faq/existing-contacts-are-not-synced) Upvotes: 2 <issue_comment>username_3: Another good app for older android versions is [MCBackup - My Contacts Backup](https://play.google.com/store/apps/details?id=com.globile.mycontactbackup). You can use this in conjunction with a file manager like [Total Commander - file manager](https://play.google.com/store/apps/details?id=com.ghisler.android.TotalCommander). This will allow you to save the contacts as `.vcf` on the local file system. From there you can transfer it by **SDcard** or `adb pull/push`. You can also **text**, **bluetooth transfer**, and **Email** the contacts to yourself. The backup directory is: ``` /data/user/0/com.globile.mycontactbackup/files/backups ``` A solution that works with Android 10 is [Super Backup & Restore](https://play.google.com/store/apps/details?id=com.idea.backup.smscontacts&hl=en_US&gl=US). Simply install the app on the backup phone, make a backup. Install the app on the new phone, and restore using the `.vcf`. Upvotes: 0
2017/03/31
185
741
<issue_start>username_0: pls is there a way to forbid the adb install to install apk into tablets unless there's a password? Android 5.0 - rooted devices? thank you<issue_comment>username_1: well simply, activate the developper options & then disable usb debugging then decativate the developper otions & delete the settings! Hope this will help others. Upvotes: -1 <issue_comment>username_2: The simplest solution is to turn off USB debugging. If you want to disable `adb install` from computer while enabling USB debugging, you can try [XInstaller](http://repo.xposed.info/module/com.pyler.xinstaller) (Requires Xposed Framework). In its settings you can disable "Auto Install" to prevent ALL kinds of silent installation. Upvotes: 0
2017/03/31
325
1,212
<issue_start>username_0: Today I attempted to root my galaxy s3 with iRoot for android. My phone restarted during the rooting process, but now it keeps looping over and over. I have tried resetting the cache and even factory resetting it (by booting it up in recovery mode), but after the reset the same reboot logo appears. Any help at this point would be great.<issue_comment>username_1: Did you install a custom recovery? If not, please install something like [TWRP](https://twrp.me/) or CWM. For Samsung phones, you can use the [ODIN](http://www.droidviews.com/download-odin-tool-for-samsung-galaxy-devices-all-versions/) tool. You will also need a custom or stock rom that you will be flashing. A high level guideline would be: 1. Using [ODIN](http://www.droidviews.com/download-odin-tool-for-samsung-galaxy-devices-all-versions/), install custom recovery. 2. Flash your ROM (factory or custom). [XDA Forum](https://forum.xda-developers.com/) is a good resource. Upvotes: -1 <issue_comment>username_2: if you don't install custom recovery Use [Odin Flash Tool](http://stockromfile.com/odin-flash-tool-download-version/) for custom recovery and you need Stock Rom or custom rom from any website Upvotes: 0
2017/04/01
442
1,699
<issue_start>username_0: I recently installed Android x86 through VirtualBox onto my PC. It runs mostly fine (except for some weirdness with the mouse, which isn't really an issue) but for the fact that apps cannot detect the internet connection. I can access the internet through the included browser just fine, so I know that the connection is actually getting to the VM, but apps cannot access it. From [Android on Virtualbox - Internet connection isn't available to all apps](https://android.stackexchange.com/questions/62371/), I read that it's because I am using NAT or virtual ethernet that some apps detect that there is no WiFi or cellular and refuse to work. Is there a way to fix and/or get around this? If it helps, my host OS is Windows 10 Educational and I will do my best to provide hardware specs if that would help solve the issue.<issue_comment>username_1: Did you install a custom recovery? If not, please install something like [TWRP](https://twrp.me/) or CWM. For Samsung phones, you can use the [ODIN](http://www.droidviews.com/download-odin-tool-for-samsung-galaxy-devices-all-versions/) tool. You will also need a custom or stock rom that you will be flashing. A high level guideline would be: 1. Using [ODIN](http://www.droidviews.com/download-odin-tool-for-samsung-galaxy-devices-all-versions/), install custom recovery. 2. Flash your ROM (factory or custom). [XDA Forum](https://forum.xda-developers.com/) is a good resource. Upvotes: -1 <issue_comment>username_2: if you don't install custom recovery Use [Odin Flash Tool](http://stockromfile.com/odin-flash-tool-download-version/) for custom recovery and you need Stock Rom or custom rom from any website Upvotes: 0
2017/04/01
411
1,555
<issue_start>username_0: Normally, if I have to install an apk(say from SD card), I need to enable “Unknown Sources” in my phone's settings. But when I transfer and install any APK from another phone using "ShareIt", no such permission is required by my phone. How is ShareIt able to bypass this permission?<issue_comment>username_1: If the apps are installed silently (i.e.without the usual installation dialog), presumably these apps directly call `pm`, i.e. `PackageManager`, which as a system app bears the permission [`android.permission.INSTALL_PACKAGES`](https://developer.android.com/reference/android/Manifest.permission.html#INSTALL_PACKAGES). The phone has to be rooted so the app could call `pm` in a root context, else you will be greeted with the message "Neither user xxxx nor current process has android.permission.INSTALL\_PACKAGES". EDIT: As @Izzy pointed out in the comment, `android.permission.INSTALL_PACKAGES` is also granted to apps installed to `/system`. See below comment and [this SO question](https://stackoverflow.com/questions/14348066/systemorsignature-protection-level) for more insight. Upvotes: 2 <issue_comment>username_2: I did a bit of digging and it is possible without System permissions from API 21 onwards <https://developer.android.com/reference/android/content/pm/PackageInstaller.html>. In fact, there is a code sample by Google which shows how to do it. <https://github.com/googlesamples/android-testdpc/blob/master/app/src/main/java/com/afwsamples/testdpc/cosu/CosuUtils.java> Upvotes: 4 [selected_answer]
2017/04/01
463
1,723
<issue_start>username_0: Please help me on this. My android phone started behaving weird these days. I have 32GB internal memory on the phone. earlier i had only 17% used. but one fine day it started showing 99% used even after deleting all the apps on the device. I cleared the cache, user data. it would come down to 97-98%, and that space is also consumed in no time. Cleared unwanted data, moved apps and media to SD card etc, still same issue. Thanks in advance! Madhuk<issue_comment>username_1: If the apps are installed silently (i.e.without the usual installation dialog), presumably these apps directly call `pm`, i.e. `PackageManager`, which as a system app bears the permission [`android.permission.INSTALL_PACKAGES`](https://developer.android.com/reference/android/Manifest.permission.html#INSTALL_PACKAGES). The phone has to be rooted so the app could call `pm` in a root context, else you will be greeted with the message "Neither user xxxx nor current process has android.permission.INSTALL\_PACKAGES". EDIT: As @Izzy pointed out in the comment, `android.permission.INSTALL_PACKAGES` is also granted to apps installed to `/system`. See below comment and [this SO question](https://stackoverflow.com/questions/14348066/systemorsignature-protection-level) for more insight. Upvotes: 2 <issue_comment>username_2: I did a bit of digging and it is possible without System permissions from API 21 onwards <https://developer.android.com/reference/android/content/pm/PackageInstaller.html>. In fact, there is a code sample by Google which shows how to do it. <https://github.com/googlesamples/android-testdpc/blob/master/app/src/main/java/com/afwsamples/testdpc/cosu/CosuUtils.java> Upvotes: 4 [selected_answer]
2017/04/02
713
2,560
<issue_start>username_0: Is there a way to navigate to locations using Ok Google? Similar functionality on the iPhone would be "Go Home."<issue_comment>username_1: Indeed there is. One of the key phrases you may be searching for is: > > "Ok, Google. Show me a map of [place name]." > > > You may need to press the microphone (voice search) button from Google Search or Maps if Google Now is not activated. For some reason this seems to do a poorer job of identifying contact addresses than > > "Show me a map of [name of place]." / "Get directions to [name of place]." > > > Many maps / navigation phrases are documented [here](https://support.google.com/maps/answer/6041199?hl=en). Upvotes: 1 <issue_comment>username_2: Make sure you have the latest **supported language pack**. (You can get in-app updates) Assuming you already have Google maps installed; **Set your custom address (e.g school)** 1. On your Android phone or tablet, open the Google Maps. 2. Tap Menu Menu and then Your places and then Labeled. 3. Choose Home or Work (school). 4. Enter the address. **Note: You must be signed in to set, edit, and see your home and work on the map** Use voice search and navigation commands 1. Open the Google Maps app 2. Say “Ok Google” or tap Speak. 3. Ask a question or tell Maps to do something e.g **"Ok, Google. "Get directions** to [school]." Alternatively, **"Navigate to school."** Edit ==== If someone's address is in your Google Contacts, you can find their address on the map by searching for their name. If you search for an address, you can see any contacts matching that address. If you wish to add or manage your google contacts, navigate to [Google contacts](https://www.google.com/contacts). **Adding an address to a Google contact** 1. Open the Google Maps app . 2. Search for an address. 3. At the bottom, tap the address. 4. Tap Label. 5. Enter the name of someone in your Google Contacts. To create a new contact, tap Create contact. 6. Choose an option: * Add home: Add the address as your contact's home address. * Add work: Add the address as your contact's work address. * Add custom label: Make a new label for your contact's address, like "Friend's house." **Note: Only people stored in your Google Contacts will show up as suggestions. You won't see contact info for people who are stored on your phone or tablet.** Credits 1. [Find, add, or hide your Google Contacts on the map](https://support.google.com/maps/answer/3131570?co=GENIE.Platform%3DAndroid&hl=en&oco=1) Upvotes: 4 [selected_answer]
2017/04/02
682
2,656
<issue_start>username_0: I recently changed handsets to a Samsung Galaxy S4 and started to restore my Whatsapp message but the restore was interrupted and has not continued the backup. How do I complete the Whatsapp backup restore?<issue_comment>username_1: You can contact WhatsApp support and explain your issue. They'll surely help you. However, it might have been because of interrupted data connection, or the thread might have been unexpectedly stopped. You can uninstall and reinstall the app. It should then work properly. Upvotes: 0 <issue_comment>username_2: You can manually back up by going to settings -> chats -> backups -> backup [Here](https://photos.app.goo.gl/cXZktux1WgXaBKaD6) is a video screen capture so you can see how to do this. If that doesn't work I agree with @BuddingPhysicist just uninstall and reinstall. Upvotes: 0 <issue_comment>username_3: To complete the backup restoration process, you can simply delete the WhatsApp storage data. This will bring it to the state just after a fresh WhatsApp install, and it will restart the phone number registration and backup restore process. So there is **no need to uninstall and reinstall**; instead you do this: 1. Open the "Settings" app. 2. Go to "Apps and notifications → WhatsApp → Storage and Cache" 3. Click on "Clear storage" and confirm. Restoring your messages might have failed if you used Google Drive as a source and the Internet connection was unstable. Here is **a solution that will restore messages from a local backup** found on SD card instead: 1. Copy the `/sdcard/WhatsApp/` folder from your old device to your new device by any means. 2. Install WhatsApp on the new device but do not start it yet. If you did start it already, do the "Settings → Apps and notifications → WhatsApp → Storage and Cache → Clear storage" step from above to let it think it never started. 3. If you use a custom ROM with enhanced privacy protection settings, such as LineageOS, you have to give WhatsApp storage access permissions before starting it. Otherwise it would recognize a backup but as "Created 1970-01-01, size 0B" and then fail to restore it ([source](https://forum.xda-developers.com/t/whatsapp-backup-dated-back-to-1970.3266227/post-82176577)). To enable storage access permissions, open the "Settings" app, go to "Privacy Permission Manager → Storage" and add WhatsApp to the allowed apps. 4. Start WhatsApp, register your number, and let it detect and restore the local backup. From here, this is just the [regular WhatsApp process to restore from a local backup](https://faq.whatsapp.com/android/chats/how-to-restore-your-chat-history/?lang=en). Upvotes: 1
2017/04/02
1,148
4,020
<issue_start>username_0: I just picked up a new Honor 8 (running EMUI 5/Android Nougat) and I'm having an odd problem when receiving SMS messages. Whenever I get a message, an odd string of text with a length of 16, starting with a tilde`~`, like `~l/Adk/ljAdADFWjlk`, is appended to it. This is regardless of my SMS app (I've tried the preinstalled one, Pulse, and Google's Android Messages). Here's an image of a conversation: [![screenshot](https://i.stack.imgur.com/PHb91m.png)](https://i.stack.imgur.com/PHb91.png) Screenshot (click to enlarge) How can I stop that random string of text from appearing after the intended message? --- **Edit:** For extra details, my carrier is **Project Fi** (reduced to just T-Mobile on the new GSM-only phone) and the issue occurs regardless of sender, be it an iPhone or Android phone.<issue_comment>username_1: It looks like there's something wrong in your carrier's SMS router. You should contact your carrier and ask for support. There's no encoding issues in this case, so I disagree with @beeshyams . The appended text is a stream of [base64](https://en.wikipedia.org/wiki/Base64)-encoded data, which after being decoded, resembles a stream of 11-byte data. According to my experience, it is very likely some metadata of the SMS message you received. You can safely ignore it. **Edit:** Merged information from comments. This is a general phenomenon of using Project Fi's service on a non-Fi phone. Discussions are [here](https://redd.it/5y35h4) and [here](https://redd.it/5q5tva). A solution is to use [Google Hangouts](https://play.google.com/store/apps/details?id=com.google.android.talk) for text messaging. Appendix: Decoded info from image (re-formatted manually) ``` $ base64 -d | hexdump -Cv q/Pj/QAHwY+Jhgg= : AB F3 E3 FD 00 07 C1 8F 89 86 08 jaT2JQAcd3EM7Ag= : 8D A4 F6 25 00 1C 77 71 0C EC 08 BMXciQANmWXBLQg= : 04 C5 DC 89 00 0D 99 65 C1 2D 08 ``` Upvotes: 3 [selected_answer]<issue_comment>username_2: In addition to the answer above, it looks like anything interfering with the Google Fi app can also cause the problem. This started happening on my kids' phones (Nexus 6P and Google Pixel) because I had blocked access to the Google Fi app using the Family Link app since I didn't see any reason why they needed to have access to it. To fix it, open the Family Link app on your parent device, open your child's management tile, tap "Manage Settings", then "Android Apps", then select the "Blocked" tab. If Google Fi is in the list, select it and allow access. Upvotes: 2 <issue_comment>username_3: Simply launching the Fi app, then rebooting the phone worked for me. (I had not blocked the app, so I think Fi was just having a problem). Upvotes: 1 <issue_comment>username_4: I started having this problem after switching from AT&T to Google Fi about a year ago. I found a few posts where people said to download the Google Messages app, tap the three dots to get into settings, select Chat Features and turn this off. I updated my apps from Play store, than I went back to the Google Messages app and at the bottom of the screen it was now asking if I wanted to enable advanced message features. I tapped yes, had to give it permission, had to agree to not limit the app's battery usage, and now I can access the Chat Features in Google Messages. Although this worked for me, it didn't for my fiance. My other solution is to install "Google Carrier Services" app. Installing it made Google Fi to show up with an update, so I updated it. These steps solved the problem for both me and my fiance. Upvotes: -1 <issue_comment>username_5: Solution for me (so far) on my Galaxy S20 was to disable 'Optimize Battery Usage' for the Google Fi app. (Setting,Apps, three vertial dots in the top right corner, Special Access, Optimize battery usage, Select All, Find Google Fi App and move the slider to the left). Had to do this as well for my Tesla App to open my car doors and Arlo App to get notifications from my home cameras. Upvotes: 0
2017/04/03
853
2,897
<issue_start>username_0: I've got AirDroid and SSHDroid installed on a ZTE Axon 7 running 7.1.1. The phone has a micro SD card in it, and it can access (read from) that card successfully. What I *can't* do is copy files onto it. I can log in via ssh and see the file system, but I can't touch it. I've had a Moto X Pure for the past year, and via SSHDroid and AirDroid I can readily copy files to the SD card. Is this just a "security" (ie, "pay somebody") thing in the more-proprietary OS on the ZTE phone? Obviously I can mount the micro SD card directly on the computer, but juggling those tiny cards is kind-of a pain. If there are other solutions, I'd be grateful. *edit* — I've tried MTP with the Axon. I plug in the phone and tell it I want to connect as a "media device" with MTP. I then run `mtpfs` (I'm running Linux on the laptop; Ubuntu 16.04) and I get: ``` Listing raw device(s) Device 0 (VID=19d2 and PID=0306) is a ZTE V790/Blade 3. Found 1 device(s): ZTE: V790/Blade 3 (19d2:0306) @ bus 2, dev 98 Attempting to connect device Android device detected, assigning default bug flags ``` Then it just sits there. (I've never had much luck with MTP.) *edit again* — ADB seems to work. I don't move files that much (mostly music and audiobooks) and while ADB is a pain it's easier than fiddling with the cards.<issue_comment>username_1: If you're not insisting on a wireless transfer, using an USB cable would give you at least two options: 1. Using [mtp](/questions/tagged/mtp "show questions tagged 'mtp'") 2. Using [adb](/questions/tagged/adb "show questions tagged 'adb'") With MTP, on connecting the device to your computer you should usually get the option to open it in some file explorer (does so on Windows and on Linux at least). For ADB, you could use `adb push` to push files to your SD card – or, for your convenience, use an ADB GUI (some [are listed here at my site](https://android.izzysoft.de/applists/category/named/network_admin_adb#group_947). For the latter, once connected via USB cable you could make it switch to TCP mode if you need it wireless. Without root, this must be repeated after each boot – with root, there are [ways to initiate it without a cable](https://android.izzysoft.de/applists/category/named/network_admin_adb#group_840). Details can be found e.g. via the corresponding tag-wikis: [adb](https://android.stackexchange.com/tags/adb/info) and [mtp](https://android.stackexchange.com/tags/mtp/info). Disclosure: The first two links lead to my Android website. Upvotes: 3 [selected_answer]<issue_comment>username_2: For those of you dealing with this problem on the **Mac**, install **[Android File Transfer](https://www.android.com/filetransfer/)**. This was by far the fastest and easiest way to get 30GB of data from my external SD card to my laptop. It can write to the card was well. This software is Mac only! Upvotes: 1
2017/04/04
1,266
4,827
<issue_start>username_0: So I have two apps that utilise Geofence. Nest (Auto-Away) and August (Auto-Unlock). Both made by very different companies, doing very different things. I have noticed that if the app is NOT open, neither of these functions will work. It is only when I open the app that something happens. For example, August send me a notification when it senses I leave the house. I left the house, and on the way back pulled out my phones, opened the August app, and THEN the notification appeared. I have tried selecting the apps as "Do Not Optimise" under Battery Optimisation settings but that didn't change anything. I have a nasty habit of closing all apps in the recent bar, but I am trying to see if leaving it open will fix, but I would really like a solution where I would not have to do that. I am running Android 7.1.1 on a Nexus5X. What can I do? EDIT: Noticed that IFTTT's Geofence works.<issue_comment>username_1: For you to keep the apps running in the ground the apps require a running service program. You can do this by: * Giving the apps a higher memory priority (so that they will not be killed when system memory is low) * Whitelisting the applications in phone's power saving features, task killers or hibernation programs * Enabling a persistent notification to keep the program's services running in the background. (Settings >> Notification Manager >> Always allow) See screenshot: [![ADM persistent notification](https://i.stack.imgur.com/MFT6bm.png)](https://i.stack.imgur.com/MFT6b.png) Screenshot (click image for larger variant) Also keep it running in background through phone manager: [![b](https://i.stack.imgur.com/0Upelm.png)](https://i.stack.imgur.com/0Upel.png) Screenshot (click image for larger variant) (I apologise to hide some apps names due to other reasons but I trust it wont affect the quality of the answer) Alternatively **when rooted** use this code on terminal at **every launch of the app**: ``` echo "-17" > /proc/`pidof com.package.name`/oom_adj ``` OR Some apps for rooted devices include: [RAM Manager/ Memory boost](https://i.stack.imgur.com/MFT6bm.png) What this app affects: * **OOM\_ADJ (Out of memory)** *Every process has value which gives the kernel a hint, which process it can kill in an OOM (out of memory) situation.* * **LMK (Low memory killer)** *Works with your applications in memory. It affects your multitasking and free memory. But Android works with memory differently than you may be accustomed. Android needs to have running applications in foreground because of fast switching between your applications. It means that it's not good if you have too much more free memory. Your system gives you so much memory as you need.* and [Memory Locker](https://android.stackexchange.com/questions/170737/how-to-schedule-downloads-in-advance-download-manager/170757#170757) *Memory Locker controls file in /data directory and also controls system files in root for setting oom\_adj for all running processes. All locked applications are automatically locked after each reboot, so you do not need to lock your applications again after each reboot.* Credits: 1. [Android -Keep app alive](https://i.stack.imgur.com/0Upelm.png) 2. [RAM Manager](https://i.stack.imgur.com/MFT6b.png) I had a similar issue with other apps automatically closing but this solved may problems. Hope it helps. Upvotes: 0 <issue_comment>username_2: For missing notifications, it sounds like both apps are not using [Google Cloud Messaging](https://developers.google.com/cloud-messaging/) (a.k.a. GCM) or its successor, [Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/). The only way for an app to keep running when you swipe it away from Recents menu, is if it's set to run in foreground. This also prevents the OS from destroying the app's service when the system is low on resources. Android requires any app that's running in foreground to place a permanent notification (the one that cannot be swiped away) in the status bar. This feature is perfect for continuous monitoring, such as geofencing. Once again, this is not something you as an end-user have control over, and a developer must implement this feature. I would send feedback to the developers of these apps asking to implement these features. Upvotes: 0 <issue_comment>username_3: I know I am answering my own question, but the best solution I found was this app: <https://play.google.com/store/apps/details?id=com.atasoglou.autostartandstay&rdid=com.atasoglou.autostartandstay> Basically it reopened August every time I tried to close it. Not very elegant, but it got the job done. @username_2 inspired this answer, once I knew that it just needed to be forced to run in the foreground, a simple Google search gave me the thing I needed. Upvotes: 1
2017/04/04
1,172
4,440
<issue_start>username_0: I have a Socks5 proxy and I need to configure it in my mobile so that all traffic of the apps goes through that proxy. How can I configure Socks5 proxy without rooting the mobile ? I have seen **'ProxyDroid'** on 'Google Play Store' but it needs the phone to be rooted. Tried Another app **'Drony'** but not able to successfully make the connection. I might be doing something wrong. Please suggest a solution . ``` Environment Android Version :: 5.1 Mobile :: MOTO E , Samsung J2 ```<issue_comment>username_1: For you to keep the apps running in the ground the apps require a running service program. You can do this by: * Giving the apps a higher memory priority (so that they will not be killed when system memory is low) * Whitelisting the applications in phone's power saving features, task killers or hibernation programs * Enabling a persistent notification to keep the program's services running in the background. (Settings >> Notification Manager >> Always allow) See screenshot: [![ADM persistent notification](https://i.stack.imgur.com/MFT6bm.png)](https://i.stack.imgur.com/MFT6b.png) Screenshot (click image for larger variant) Also keep it running in background through phone manager: [![b](https://i.stack.imgur.com/0Upelm.png)](https://i.stack.imgur.com/0Upel.png) Screenshot (click image for larger variant) (I apologise to hide some apps names due to other reasons but I trust it wont affect the quality of the answer) Alternatively **when rooted** use this code on terminal at **every launch of the app**: ``` echo "-17" > /proc/`pidof com.package.name`/oom_adj ``` OR Some apps for rooted devices include: [RAM Manager/ Memory boost](https://i.stack.imgur.com/MFT6bm.png) What this app affects: * **OOM\_ADJ (Out of memory)** *Every process has value which gives the kernel a hint, which process it can kill in an OOM (out of memory) situation.* * **LMK (Low memory killer)** *Works with your applications in memory. It affects your multitasking and free memory. But Android works with memory differently than you may be accustomed. Android needs to have running applications in foreground because of fast switching between your applications. It means that it's not good if you have too much more free memory. Your system gives you so much memory as you need.* and [Memory Locker](https://android.stackexchange.com/questions/170737/how-to-schedule-downloads-in-advance-download-manager/170757#170757) *Memory Locker controls file in /data directory and also controls system files in root for setting oom\_adj for all running processes. All locked applications are automatically locked after each reboot, so you do not need to lock your applications again after each reboot.* Credits: 1. [Android -Keep app alive](https://i.stack.imgur.com/0Upelm.png) 2. [RAM Manager](https://i.stack.imgur.com/MFT6b.png) I had a similar issue with other apps automatically closing but this solved may problems. Hope it helps. Upvotes: 0 <issue_comment>username_2: For missing notifications, it sounds like both apps are not using [Google Cloud Messaging](https://developers.google.com/cloud-messaging/) (a.k.a. GCM) or its successor, [Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/). The only way for an app to keep running when you swipe it away from Recents menu, is if it's set to run in foreground. This also prevents the OS from destroying the app's service when the system is low on resources. Android requires any app that's running in foreground to place a permanent notification (the one that cannot be swiped away) in the status bar. This feature is perfect for continuous monitoring, such as geofencing. Once again, this is not something you as an end-user have control over, and a developer must implement this feature. I would send feedback to the developers of these apps asking to implement these features. Upvotes: 0 <issue_comment>username_3: I know I am answering my own question, but the best solution I found was this app: <https://play.google.com/store/apps/details?id=com.atasoglou.autostartandstay&rdid=com.atasoglou.autostartandstay> Basically it reopened August every time I tried to close it. Not very elegant, but it got the job done. @username_2 inspired this answer, once I knew that it just needed to be forced to run in the foreground, a simple Google search gave me the thing I needed. Upvotes: 1
2017/04/04
419
1,736
<issue_start>username_0: I was watching videos on m.youtube.com and got this System UI error. Video kept playing, until I pressed ok and everything crashed and 5 seconds later i see the lock screen. I unlock with my fingerprint and anytime I put play it does the same. I tryed other videos and the same thing happens, restart fixed for 5 mintues then I re got the glitch and any other html5 video doesn't work anymore. Also sometimes the home, back and recent apps button and the top bars disappear after this glitch before the screen going black etc. Youtube app works fine though... P.S. This happened on a Wiko UFEEL Prime running the latest update (6.0.1 [21]) I don't think it can be the hardware because I have 4GB of RAM and a 1.3GhZ octa-core processor.<issue_comment>username_1: Experiencing the exact same problem on my UFeelPrime... Returning to factory settings without copying files from my back-up solved the issue in my case. However, it reappears as soon as you update Google play services. The problem must thus lie in the latest update of the latter OR one of the apps updated by play services. I have not found a more permanent solution yet, but for now a hard reset and not updating Google play services is a valid solution. Update: the problem lies in chrome for android itself: simply removing the updates and returning the chrome app to factory settings will do the trick untill a more permanent solution is found. Upvotes: 0 <issue_comment>username_2: I found a fix: also if @username_1 is correct i would let it be a last resort as i keep lots of important stuff on my phone. My fix: download another browser, like firefox, dolphin, etc. this worked for me. chrome sucks anyway Upvotes: 2 [selected_answer]
2017/04/05
515
1,962
<issue_start>username_0: I want to create keys that I can use to sign & encrypt files, and share the decryption keys so people can read the encrypted files and see my signature. I've successfully created an encryption/signing key in Alice device, and I'm able to encrypt messages and files with it that I can decrypt in Alice device. However when I try to share the keys I get an *.asc* file that when imported on Bob's device, has a orange ? icon, and when try to decrypt the encrypted file, I get "No encrypted data with known secret key found in stream!" Any idea what I might be doing wrong? [![importing .asc key](https://i.stack.imgur.com/CEqy6m.png)](https://i.stack.imgur.com/CEqy6.png) [![key has no valid signature](https://i.stack.imgur.com/GJxbim.png)](https://i.stack.imgur.com/GJxbi.png) [![imported key has no decryption powers](https://i.stack.imgur.com/5ra93m.png)](https://i.stack.imgur.com/5ra93.png) Screenshots (click images for larger variants)<issue_comment>username_1: With *OpenKeyChain* as with any PGP app, you always generate **key pairs:** one private and one public key. The private key can be used to decrypt data which was encrypted with its public counter-part. Now, when you *share* a key, you always share the *public* part – which can be used for *encryption*, but not for *decryption*. Hence, the message encrypted using Bob's key cannot be decrypted with Alice's key: on that device, only Alice's key pair and Bob's public key are present, so only Alice's private key is tried for decryption. Hence you get that error message. Upvotes: 1 <issue_comment>username_2: See [RSA Cryptography on Wikipedia](https://en.wikipedia.org/wiki/RSA_(cryptosystem)). You can simply share the encryption key and **force decrypt unencrypted data** with your decryption key. This works exactly the same as [Digital Signature](https://en.m.wikipedia.org/wiki/Digital_signature) - anyone can verify but only you can sign. Upvotes: 0
2017/04/05
291
1,108
<issue_start>username_0: I accidentally clicked the download button of a 1.2 GB (my WiFi speed is slow so it's a problem) file from the Chrome browser on Android 4.4.4 KitKat. Now I want to cancel this download package, but it seems impossible to me. I googled and found [this similar question](https://android.stackexchange.com/questions/82339/how-to-cancel-a-download-on-android-4-4-kitkat) but none of those answers helped me. * My device download manager doesn't show Chrome's current downloading. * When I close my WiFi, the download pause, but when I turn on WiFi, then the download resumes. * When I force-stop the Chrome app, the download stops, but when I open it again, the download starts again. My device is Xiaomi Mi Pad 1 (China version) running on MIUI. My device is not rooted.<issue_comment>username_1: Go to Settings - Apps - Download, and force stop the Download application and clear data. Upvotes: 0 <issue_comment>username_2: You can press on the file name which is downloading. After clicking it, you will get 2 options below that file: Cancel or Pause. Click on Cancel. Upvotes: 1
2017/04/06
190
731
<issue_start>username_0: My phone is sending out MMS messages without my consent to random unknown numbers and out of my contacts. The message that is sent out on my phone is as follows: > > You have received an MMS message. Read here. > > > Then there's an HTTP address I won't put it here, don't know what on earth it is. I've run an anti-virus app. Can someone help me please, do I need to do a factory reset?<issue_comment>username_1: Go to Settings - Apps - Download, and force stop the Download application and clear data. Upvotes: 0 <issue_comment>username_2: You can press on the file name which is downloading. After clicking it, you will get 2 options below that file: Cancel or Pause. Click on Cancel. Upvotes: 1
2017/04/06
701
2,547
<issue_start>username_0: My micromax canvas nitro A311 is stuck in boot loop.I have tried to solve the boot loop problem but couldn't succeed.The only solution seems to me is to format my phone.I am able to go to the recovery mode.It shows the following options:- 1. reboot system now 2. apply update from ADB 3. apply update from sdcard 4. apply update from cache 5. wipe data/factory reset 6. wipe cache partition 7. backup user data 8. restore user data When i select the "backup user data" option ,it shows "SD card did not have enough free space".It is reading my internal sdcard but not the external one.Is there any way I can back up data on an external sdcard or on my PC?My android phone is rooted.<issue_comment>username_1: With the option for update via ADB, you can likely use ADB commands while the phone is in recovery and connected to a computer. 1. First, you will need the ADB files: [found here](http://www.mediafire.com/download/6b3aw3dq8omefyw/mfastboot-v2.zip) 2. Unzip the contents to the computer. I recommend root of drive i.e. `C:\adb` 3. Next, you will need USB drivers to connect the phone to the computer and be able to execute commands: [found here](http://gsmusbdriver.com/micromax-a311) 4. Install drivers via usual Windows methods 5. Go to the folder where you extracted ADB files 6. Hold the Left Shift key and right-click mouse 7. Select "Open command window here" 8. Connect the phone to the computer and boot to recovery. Test connect: ``` adb devices ``` 9. You should get the output for the server starting and a line showing the phone's serial number if the connection is possible 10. Providing all is well: ``` adb pull /sdcard/. ``` This should pull all contents on the internal SD card to the current directory This will NOT retrieve data stored elsewhere such as phone logs or text messages or contacts. Unfortunately, those will be lost without the option to recover from the boot loop. It will only recover data saved on the data partition in phones, such as photos, music, and other misc info saved by apps. 11. Try wipe cache partition to see if that gets past boot loop. The only option I can think of. Or simply flash a custom recovery like TWRP that allows access to an external SD card: <https://forum.xda-developers.com/a310/orig-development/twrp-recovery-micromax-canvas-nitro-a311-t3066387> Upvotes: 1 <issue_comment>username_2: You can backup and restore with TWRP via: ``` adb backup --twrp adb restore --twrp ``` Source: <https://nerdschalk.com/twrp-backup-pc-adb/> Upvotes: 0
2017/04/06
316
1,138
<issue_start>username_0: I am on Moto G4+ with Android N, version 7.0. I am facing a weird issue where any incoming text message causes the phone to vibrate **even when I am in the middle of a phone call.** Is there a standard first party way to turn this behaviour off? This is really annoying.<issue_comment>username_1: I hope this works for you. Go to **Settings > Sound and vibration >** uncheck **Also vibrate for call** box. If that does not work, try just disabling the vibration at all (Which is not what you seem to want) Go to **Settings > SMS > Notifications > Vibrate off** Upvotes: 0 <issue_comment>username_1: Another way may be: Go to your dialer, then open **settings** and unselect the **notify during calls** options. Upvotes: 0 <issue_comment>username_2: If you use message+.. open up message+ like you're going to send a text, open the menu (the 3 lines in the upper left corner), touch settings, go to the bottom and touch advance, then uncheck 'notification during call' Upvotes: 0 <issue_comment>username_3: It's a [bug](https://issuetracker.google.com/issues/37117327) in 7.0. And very annoying. Upvotes: -1
2017/04/07
297
1,049
<issue_start>username_0: My Motorola g4 plus has turbo charger when I charge in that it takes to charge full about 4 to 6 hours.But in Moto specification it was given that it will charge to 80% in 30 minutes.<issue_comment>username_1: I hope this works for you. Go to **Settings > Sound and vibration >** uncheck **Also vibrate for call** box. If that does not work, try just disabling the vibration at all (Which is not what you seem to want) Go to **Settings > SMS > Notifications > Vibrate off** Upvotes: 0 <issue_comment>username_1: Another way may be: Go to your dialer, then open **settings** and unselect the **notify during calls** options. Upvotes: 0 <issue_comment>username_2: If you use message+.. open up message+ like you're going to send a text, open the menu (the 3 lines in the upper left corner), touch settings, go to the bottom and touch advance, then uncheck 'notification during call' Upvotes: 0 <issue_comment>username_3: It's a [bug](https://issuetracker.google.com/issues/37117327) in 7.0. And very annoying. Upvotes: -1
2017/04/08
1,007
3,599
<issue_start>username_0: I've come across a lot of news articles, like [this one](https://www.wired.com/2017/03/gear-vr-just-took-huge-leap-forward-thanks-oculus/) and [this one](https://uploadvr.com/major-gear-vr-updates-web-browser-new-home-70-games-way/), which say that the newly updated "Oculus Home" interface for the Samsung Gear VR headset comes with a built-in new web browser that's superior to the "Samsung Internet" browser which was the default way to browse the web in Gear VR until now. My question is, how do you access this built-in web browser? I have noticed other changes in the updated Oculus Home interface, like the ability to create Avatars and the "Hey Oculus" voice control feature. But I don't see a built-in Oculus web-browser anywhere. There's just the old "Samsung Internet" app. Is the Oculus browser something you need to install separately? EDIT: [Here](https://www.oculus.com/blog/mobile-vr-is-better-than-ever?ref=producthunt) is what Oculus itself says: > > **Navigate the Web in VR with the Oculus Browser** > > The Oculus Browser launches today on Gear VR. A fully native app that renders incredibly sharp video, images, and text in Gear VR, the new browser lets you search the web directly from Home. > > > Using the keyboard, navigate to your favorite sites like Facebook, Instagram, and YouTube just like you would on a desktop. The browser brings 2D and most 360 video content right into Oculus Home, with all the benefits of our newly built experience. > > > But I'm not sure where this "Oculus Browser" and "keyboard" are located.<issue_comment>username_1: Indeed, the new Oculus Browser is out, however no clear documentation has been given from Samsung support website, fortunately a few workarounds are available: Possible fixes for launching Oculus Browser: **1. Uninstalling and re installing the software.** Users have suggested to use the following order when uninstalling: (Gear VR service, Updates Gear setup, Gear VR video, Oculus, Oculus home and Oculus system activities) After that reinstalling the software to make sure all latest updates are received. Some instructions have been described here: [Samsung Internet](https://webvr.rocks/samsung_internet) * Search and install Samsung Internet browser from the Oculus Gear VR Store * launch the Samsung internet browser from your GearVR Library * Navigate to a WebVR-compatible site * Accept the option to enable WebVR. **2. 3rd party apps** You can try third party apps like [Launch Oculus browser 1.01](https://play.google.com/store/apps/details?id=com.machenmusik.launchoculusbrowser&hl=en) developed by *muchenmusik*. The authour claims it is capable of launching the new Oculus Browser on GearVR compatible phones **3. Tweaking the hardware setup** Some users described here: [How to fix Gear VR not launching when phone is plugged in?](https://forums.oculus.com/community/discussion/36104/how-to-fix-gear-vr-not-launching-when-phone-is-plugged-in) have complained of related issues with the browser especially when plugging in, and a simple fix was to remove the connector on the GearVR and then putting it back. Check if it works. Hope this helps References (some included in text) 1. [SOLVED - VR application closes "unexpectedly" whenever I put the headset on.](https://forums.oculus.com/vip/discussion/32120/solved-vr-application-closes-unexpectedly-whenever-i-put-the-headset-on) Upvotes: 2 [selected_answer]<issue_comment>username_2: In oculus home just look at the bottom of the main menu a tab says internet, click on that and that's it. Upvotes: 0
2017/04/09
645
2,421
<issue_start>username_0: Presently, I am using stock Message app(Lineage 14.1, System app). Now, I have installed and made Google Messenger as default app(installed from Play Store). When a message is received, a message notification is displayed(Google Messenger). I opened Google messenger app and deleted that message. But, while I opened stock message app, the deleted message still visible. Why is this so?<issue_comment>username_1: Indeed, the new Oculus Browser is out, however no clear documentation has been given from Samsung support website, fortunately a few workarounds are available: Possible fixes for launching Oculus Browser: **1. Uninstalling and re installing the software.** Users have suggested to use the following order when uninstalling: (Gear VR service, Updates Gear setup, Gear VR video, Oculus, Oculus home and Oculus system activities) After that reinstalling the software to make sure all latest updates are received. Some instructions have been described here: [Samsung Internet](https://webvr.rocks/samsung_internet) * Search and install Samsung Internet browser from the Oculus Gear VR Store * launch the Samsung internet browser from your GearVR Library * Navigate to a WebVR-compatible site * Accept the option to enable WebVR. **2. 3rd party apps** You can try third party apps like [Launch Oculus browser 1.01](https://play.google.com/store/apps/details?id=com.machenmusik.launchoculusbrowser&hl=en) developed by *muchenmusik*. The authour claims it is capable of launching the new Oculus Browser on GearVR compatible phones **3. Tweaking the hardware setup** Some users described here: [How to fix Gear VR not launching when phone is plugged in?](https://forums.oculus.com/community/discussion/36104/how-to-fix-gear-vr-not-launching-when-phone-is-plugged-in) have complained of related issues with the browser especially when plugging in, and a simple fix was to remove the connector on the GearVR and then putting it back. Check if it works. Hope this helps References (some included in text) 1. [SOLVED - VR application closes "unexpectedly" whenever I put the headset on.](https://forums.oculus.com/vip/discussion/32120/solved-vr-application-closes-unexpectedly-whenever-i-put-the-headset-on) Upvotes: 2 [selected_answer]<issue_comment>username_2: In oculus home just look at the bottom of the main menu a tab says internet, click on that and that's it. Upvotes: 0
2017/04/09
999
3,925
<issue_start>username_0: Using the built-in Memo app on a Samsung Galaxy Avant, I've created several memo files, and they are saved on the device and synced with my Samsung account. How can I export the memos as text files, or some other readable file format that lets me get the text into another program (e.g. Google Keep)?<issue_comment>username_1: Depending on your model, Samsung memos usually exist with the following file extensions: `.smm`, `.spd` They exist in the the following folder: `/storage/emulated/0/.ActionMemo` or `SNote Data` folder A suitable workaround will be to convert Samsung memos to a text file or anything similar then extract data as plain text files either from a PC or do it from the smart phone itself. The following workarounds can extract the plain text from the memo: **1. Method 1 Extracting text from memo** * open the memo that you need to convert and tap it so that you see the cursor. * click-and-hold the cursor (or somewhere where there is text) and choose Select All. * click-and-hold on the selected text and choose Copy * open your word processor (in my case Kingsoft Word) and paste the text. * Save and then export to Google keep as plain text. **2. Method 2 Saving by exporting** * open up your Memos, click on more (top right hand corner on my phone) and then select **share**. * You then select (one at a time) the memo you want to save/read/open, etc., and a screen will pop up asking you where you want to send the memo. * You can share to your email, or other sharing options e.g (google drive) * You can then extract them from mail e.g outlook Upvotes: 1 <issue_comment>username_2: *The following applies to Memo app version 1.0.4517634 on Android 4.4.2.* The memo files are located in `/mnt/shell/emulated/0/BeamMemo` and have a `.memo` extension. Each `.memo` file is a `zip` archive that contains a `media` folder and a `memo_content.xml` file. The text of the memo is in the `/contents/content` node of the `xml` document. I was able to find the files using `adb`, with the command: ``` adb shell 'ls -Ra 2>/dev/null | grep -i memo' ``` Upvotes: 2 <issue_comment>username_3: Here, in my opinion, is the best solution for this delemma. I looked everywhere for an answer to no avail. Tried several 3rd party apps for notes, including Evernote, which I didn't like. Get a free Google Drive account if you don't already have one. Then you can go into each Memo, and one by one share your notes (click on three dots) to Google Drive. This goes pretty fast actually. Some Memos you will just want to delete. Google Drive will preserve Memo's formatting (sentence returns) at least, instead of running every line together into one big glob of text (as Evernote will do). And after I did a few of them, it even started saving the Title too, as the name of the note. Now at least you will have access to your notes after you shut your Android down and switch to the iPhone. Then you can copy and paste the most important ones back into your iPhone later — I haven't got to that point yet. I had 95 Memos and was pretty pissed that after all these years, no one at Samsung has figured out how to transfer Memos to an iPhone??? Hope this helps someone. Upvotes: 3 <issue_comment>username_4: I was looking for an option to open .memo files transferred from my android based samsung mobile. Transferring was easy since I had only around 25 notes and did that one by one using the bluetooth facility of mobile and laptop. After getting the files into pc, opening was an issue. Researched a bit and found that each .memo is basically a .zip file, which contains an .xml file as well as a folder for media. Hence, renamed the extension of these .memo to .zip and then unzipped to obtain these resultant files. Out of this, opened the .xml file to read in readable format the contents of my .memo file. Thanks for sharing the info which helped me solve this. Upvotes: 2
2017/04/09
486
1,818
<issue_start>username_0: I have Moto G4+ and I was playing around with `*#*#4636#*#*` and accidentally set the radio band to USA Band. Now there's no way of changing it back, so now I can't even connect to a network, let alone use data. I've searched for this issue and it appears that there were other people with the problem, but all of them didn't have answers. The only possible answer was to flash the ROM again, but there was no confirmation of it having worked. And anyway my phone isn't rooted, and I don't want to root, since it is new, as well as the fact that it's not easy for the Moto G4+.<issue_comment>username_1: I guess, you have three options here: 1. Bring the phone to service center if your warranty is active. This is the most harmless way. 2. Flash the stock radio or complete stock image. 3. Hard reset the phone with ##786# code. However, you need MSL (master security lock) which you should obtain from seller/carrier, which makes this way a bit cumbersome. More on this [here](https://androidforums.com/threads/accidentally-set-radio-to-usa-band.368870/#post-3399643). Upvotes: 0 <issue_comment>username_2: Just flash the Moto G4 QCN file using QPST Tool and it will be ok. Neither your warranty will be void as you have to change your baseband as your older baseband has by default take USA band, so it won't be possible to rectify it without changing its baseband by flashing the proper QCN file of Moto G4. Remember, if your phone is in Nougat, then you have to manually downgrade it to Marshmallow and then again upgrade with OTA. The process is a bit tricky as QCN will change your IMEI number and you have to write your original IMEI with a hex editor in the QCN file which you have saved, and you have to reflash it to restore the original IMEI and SIM functionality. Upvotes: -1
2017/04/10
359
1,327
<issue_start>username_0: I can't delete, or disable, the app YGPS, on my Android tablet; and I didn't install it.<issue_comment>username_1: I guess, you have three options here: 1. Bring the phone to service center if your warranty is active. This is the most harmless way. 2. Flash the stock radio or complete stock image. 3. Hard reset the phone with ##786# code. However, you need MSL (master security lock) which you should obtain from seller/carrier, which makes this way a bit cumbersome. More on this [here](https://androidforums.com/threads/accidentally-set-radio-to-usa-band.368870/#post-3399643). Upvotes: 0 <issue_comment>username_2: Just flash the Moto G4 QCN file using QPST Tool and it will be ok. Neither your warranty will be void as you have to change your baseband as your older baseband has by default take USA band, so it won't be possible to rectify it without changing its baseband by flashing the proper QCN file of Moto G4. Remember, if your phone is in Nougat, then you have to manually downgrade it to Marshmallow and then again upgrade with OTA. The process is a bit tricky as QCN will change your IMEI number and you have to write your original IMEI with a hex editor in the QCN file which you have saved, and you have to reflash it to restore the original IMEI and SIM functionality. Upvotes: -1
2017/04/10
578
2,013
<issue_start>username_0: I found this product ([check the product here](http://www.amazon.in/detector-voltmeter-ammeter-capacity-voltage/dp/B06XJGDCBN?tag=googinhydr18418-21&tag=googinkenshoo-21&ascsubtag=065f9406-95d9-4e30-bdb6-7baa5c10a194)) on Amazon. Can this product be able to calculate the power of my phone's battery if connected to the USB port of my phone? I want to check the original capacity apart from what the manufacturer or any file on Android says. Will the phone's USB port output the required power for this function? I tried 3C Battery Monitor, the app says it's 1580mAh, but its 2100mAh in websites and on the battery (it's a phone by a well-known manufacturer, but I don't want to say it here because I don't want the answers to be focussed to the phone make or the model).<issue_comment>username_1: I guess, you have three options here: 1. Bring the phone to service center if your warranty is active. This is the most harmless way. 2. Flash the stock radio or complete stock image. 3. Hard reset the phone with ##786# code. However, you need MSL (master security lock) which you should obtain from seller/carrier, which makes this way a bit cumbersome. More on this [here](https://androidforums.com/threads/accidentally-set-radio-to-usa-band.368870/#post-3399643). Upvotes: 0 <issue_comment>username_2: Just flash the Moto G4 QCN file using QPST Tool and it will be ok. Neither your warranty will be void as you have to change your baseband as your older baseband has by default take USA band, so it won't be possible to rectify it without changing its baseband by flashing the proper QCN file of Moto G4. Remember, if your phone is in Nougat, then you have to manually downgrade it to Marshmallow and then again upgrade with OTA. The process is a bit tricky as QCN will change your IMEI number and you have to write your original IMEI with a hex editor in the QCN file which you have saved, and you have to reflash it to restore the original IMEI and SIM functionality. Upvotes: -1
2017/04/10
457
1,735
<issue_start>username_0: there's one app on my phone that i need to know exactly what Uri it uses to connect to it's server. is there a way to find out how? tl:dr - i'm not trying to hack or damage, and actually the app is developed by the company i started work for, and the guy before me wrote the Uri, but as he removed the source code when he left. Now my boss has only said to me "find it", and now as i'm extremely new to server stuff, i see no other way to recover it other than finding out what uri the app uses.<issue_comment>username_1: I guess, you have three options here: 1. Bring the phone to service center if your warranty is active. This is the most harmless way. 2. Flash the stock radio or complete stock image. 3. Hard reset the phone with ##786# code. However, you need MSL (master security lock) which you should obtain from seller/carrier, which makes this way a bit cumbersome. More on this [here](https://androidforums.com/threads/accidentally-set-radio-to-usa-band.368870/#post-3399643). Upvotes: 0 <issue_comment>username_2: Just flash the Moto G4 QCN file using QPST Tool and it will be ok. Neither your warranty will be void as you have to change your baseband as your older baseband has by default take USA band, so it won't be possible to rectify it without changing its baseband by flashing the proper QCN file of Moto G4. Remember, if your phone is in Nougat, then you have to manually downgrade it to Marshmallow and then again upgrade with OTA. The process is a bit tricky as QCN will change your IMEI number and you have to write your original IMEI with a hex editor in the QCN file which you have saved, and you have to reflash it to restore the original IMEI and SIM functionality. Upvotes: -1
2017/04/10
335
1,133
<issue_start>username_0: Heres a set of pictures depicting the problem. [![This paer is of the volume button](https://i.stack.imgur.com/0cxkl.jpg)](https://i.stack.imgur.com/0cxkl.jpg) [![A side view](https://i.stack.imgur.com/nUBdC.jpg)](https://i.stack.imgur.com/nUBdC.jpg) ***Any form of help will be much appreciated !!!***<issue_comment>username_1: Your best option is to **take the phone to an** [**Authorised Motorola Service Center**](https://www.google.com/search?q=motorola%20repair%20centre) to get it repaired, but it may be possible to *attempt it yourself.* As there are no iFixIt guides available currently, your only other option would be to refer to videos a video on YouTube, where the screws on the bottom of the phone are removed to access the internals (and volume button) [**https://www.youtube.com/watch?v=9CmvQPpTgfc**](https://www.youtube.com/watch?v=9CmvQPpTgfc) Upvotes: 1 <issue_comment>username_2: I suggest you don't try to fix user self-take it to the service center and make it be fixed because if you fix it won't be the longer best way is to take it to the customer service center. Upvotes: 0
2017/04/10
1,528
5,261
<issue_start>username_0: This has been asked for [a](https://android.stackexchange.com/questions/46649/how-to-get-the-information-of-users-connected-to-a-wi-fi-hotspot) [few](https://android.stackexchange.com/questions/18529/how-do-i-check-who-is-connecting-to-my-hotspot?noredirect=1&lq=1) [times](https://android.stackexchange.com/questions/169548/how-can-an-android-phone-acting-as-a-local-hotspot-show-how-many-people-are-conn) before, but none recently or with the Pixel/Nougat specifically that I was able to find. Root is unavailable, so I need a way to do this as a regular user. I really just want to see what IP my Raspberry Pi got assigned by the Android DHCP. Also, if there's a way to set DHCP reservations to avoid having to look it up every time, I would love to know how to do that as well.<issue_comment>username_1: On the stock HTC tethering app, there is a view called "Manage users" which lets you see a list of connected devices listed be resolved hostname. Touching each device reveals its hardware address and currently assigned IP address. ![HTC tethering app - manage users](https://i.stack.imgur.com/CCsasl.jpg) As far as I can recall it is the same for the stock Samsung Galaxy S2 (at least in this region - Northern Europe). Upvotes: 3 <issue_comment>username_2: You can use [Fing - Network Tools](https://play.google.com/store/apps/details?id=com.overlook.android.fing). It's a clean way for your task. Upvotes: 2 <issue_comment>username_3: Take a look at [Network Discovery1](https://www.appbrain.com/app/info.lamatricexiste.network) -- it lists all devices within the same network, together with some details on them, as e.g. IP, MAC address, available services: [![Network Discovery](https://i.stack.imgur.com/DQTIb.jpg)](https://lh5.ggpht.com/m3Y1pUOCkJY9LHH3WeeePh0ZC-pFXtY_IB-OvokXkL_gOpIv8YR4JqXKqjVX9YFMcw) [![Network Discovery](https://i.stack.imgur.com/yLaTW.jpg)](https://lh3.ggpht.com/K-UNx8KIxAVSXF1OqZ5OjwyC6uZbI_DE6Dp0-vNk7B_tGuPchQ1zc26cJeEJjQ1hyX83) Network Discovery (source: Google Play; click images for larger variants) Other port scanners will do as well. --- 1: This app is no longer available on Play Store. Upvotes: 3 <issue_comment>username_4: Another alternative is [Wifi Watch](https://play.google.com/store/apps/details?id=com.riverdevs.whosinmywifi). Upvotes: 1 <issue_comment>username_5: If you've got access to a terminal on your phone (I guess that requires being rooted), then you can also run `ip neigh show dev wlan0` to see what's in the ARP tables. That should tell you the MAC addresses and IP addresses of everything connected. Upvotes: 3 <issue_comment>username_6: Most of the solutions known to me require root (as I noted in comments). However there is a third-party application that seems to be able to handle this task as well. [Hotspot manager1](https://www.appbrain.com/app/com.etustudio.android.hotspotmanager) claims to be able to monitor all connected clients on the hotspot. It gives the **MAC Address** as well as **IP address** of connected clients Some other features include: * Managing multiple WiFi hotspots for different scenarios. * Monitoring all connected clients to your device. * WiFi auto recovery: WiFi state will be recovered if the hotspot is turned off (assuming either widget or the app to toggle). See screenshots: ![](https://i.stack.imgur.com/f6I9p.png) ![](https://i.stack.imgur.com/mcaho.png) --- 1: This app is no longer available on Play Store. Upvotes: 4 [selected_answer]<issue_comment>username_6: Another "uglier" workaround involves using terminal , but it has an advantage if you already have terminal installed in your device. Simply type `ip neigh` in terminal and you should see an output showing connected devices' **ip addresses** as well as **mac address** (but it looks a bit cluttered though) See screenshot: [![enter image description here](https://i.stack.imgur.com/lR8Qxm.png)](https://i.stack.imgur.com/lR8Qxl.png) Screenshot (click image for larger variant) The information in the terminal output includes : * **IP address** of connected client * **MAC address** (obscured in screenshot) * interface (`wlan0`) * state of connection (i.e STALE, REACHABLE etc) Note: This **does not need** root permissions Upvotes: 5 <issue_comment>username_7: Use [Ksiri tool](http://karthiksiriapps.blogspot.com/p/ksiri-android-tools.html) to list devices connected to your hotspot. [![IMG: ](https://i.stack.imgur.com/lCsTT.jpg)](https://i.stack.imgur.com/lCsTT.jpg) Updated information on request: I was facing same issue on my Android Oreo, some tools on net available is filled with ads or asking for unnecessary permissions. Just for this simple listing of which devices are connected, ads and special permissions, both were not necessary, so I have created this app, which will not ask for any permissions and neither shows any ads. This is the first step of "Ksiri Tools" that I have created, further if any tooling things comes up, I will add same app. I have not released any of my apps on play store, as I feel it's unnecessary to pay Google. You can download apk file and install. While installing you will be clearly shown by Android that this app doesn't require any permissions. So safe to use. Upvotes: 1
2017/04/10
778
2,945
<issue_start>username_0: My phone has two sims both with large data caps that I'd like to use. I use my phone as a wireless access point for my laptop. To switch between SIM 1/2 for data, I have to go to ``` settings-->wireless networks --> more-->mobile networks ``` and then set the network mode. The one which I wish to use for internet goes to GSM/WCDMA/LTE auto and the other 'just phone calls' I switch to GSM only. I then go to ``` settings-->wireless networks --> dual sim cards --> data network ``` and set "Sim card to use" to sim 1 or 2. This seems to work fine for access data on the phone. However, when I'm connected on my laptop via the hotspot, I only get internet access on SIM 2. With SIM 1, the computer wifi connects but says "no internet access". When I run the windows troubleshooting wizard, it says "failed to find DNS". I set my DNS to 8.8.8.8... but no joy. I've also tried to connect via macs and Linux boxes with the same result. I think that the issue is in the droid. Any suggestions? Thanks in advance :-)<issue_comment>username_1: Solution 1: In laptop please modify wifi settings as follows: Open Network and Sharing Center-->Change Adapter Settings-->Right click on "Wireless Network Connection"-->Properties-->Select "Internet Protocol Version 4(TCP/IPv4)"-->Select Radio Button for 1)Obtain an IP address automatically, 2)Obtain an DNS Server automatically --> Ok NB:Please make a note of values currently in "Internet Protocol Version 4(TCP/IPv4)".[![Attaching Screen shot of Selection](https://i.stack.imgur.com/LhzL1.png)](https://i.stack.imgur.com/LhzL1.png) Best Regards Upvotes: 0 <issue_comment>username_1: Solution 2: Please Run "**ipconfig**" command in your **Command Prompt**. After running command you can find information's like "IPv4 Address", "Default Gateway", Subnet Mask, etc. Use those values in respective fields of : Open Network and Sharing Center-->Change Adapter Settings-->Right click on "Wireless Network Connection"-->Properties-->Select "Internet Protocol Version 4(TCP/IPv4)"-->Select Radio Button for 1)Use the following IP Address, 2)Use the following DNS Server automatically --> and finally "Ok" Field to be filled: 1)IP Address 2)Subnet Mask 3)Default Gateway 4)Preferred DNS Server NB:"Default Gateway" need to given as "Preferred DNS Server" Best Regards Upvotes: 1 <issue_comment>username_2: I have the same issue. My phone is now three years old and the problem remains even after upgrading from kitkat to lolipop. From allbthe tests I did it's an Android issue. If I remove the SIM where hotspot is working and reboot the phone I can switch the hotspot to the other SIM. Upvotes: 1 <issue_comment>username_3: It's an android problem and there is an easy fix. Connect to the 2nd sim start the hotspot then you will be connected but without internet. Now let the hotspot running and switch off data and on again....Voila... worked for me Upvotes: 1
2017/04/11
601
2,329
<issue_start>username_0: I am using android Marshmallow. I want to know about a shortcut method to power off my phone without power button. Without using any external emulators as explained [here](https://android.stackexchange.com/questions/36329/how-to-reboot-an-android-device-without-using-power-button). I searched it for many hours couldn't find any solution. I like to use a solution without any app using. Thanks in advance.<issue_comment>username_1: Solution 1: In laptop please modify wifi settings as follows: Open Network and Sharing Center-->Change Adapter Settings-->Right click on "Wireless Network Connection"-->Properties-->Select "Internet Protocol Version 4(TCP/IPv4)"-->Select Radio Button for 1)Obtain an IP address automatically, 2)Obtain an DNS Server automatically --> Ok NB:Please make a note of values currently in "Internet Protocol Version 4(TCP/IPv4)".[![Attaching Screen shot of Selection](https://i.stack.imgur.com/LhzL1.png)](https://i.stack.imgur.com/LhzL1.png) Best Regards Upvotes: 0 <issue_comment>username_1: Solution 2: Please Run "**ipconfig**" command in your **Command Prompt**. After running command you can find information's like "IPv4 Address", "Default Gateway", Subnet Mask, etc. Use those values in respective fields of : Open Network and Sharing Center-->Change Adapter Settings-->Right click on "Wireless Network Connection"-->Properties-->Select "Internet Protocol Version 4(TCP/IPv4)"-->Select Radio Button for 1)Use the following IP Address, 2)Use the following DNS Server automatically --> and finally "Ok" Field to be filled: 1)IP Address 2)Subnet Mask 3)Default Gateway 4)Preferred DNS Server NB:"Default Gateway" need to given as "Preferred DNS Server" Best Regards Upvotes: 1 <issue_comment>username_2: I have the same issue. My phone is now three years old and the problem remains even after upgrading from kitkat to lolipop. From allbthe tests I did it's an Android issue. If I remove the SIM where hotspot is working and reboot the phone I can switch the hotspot to the other SIM. Upvotes: 1 <issue_comment>username_3: It's an android problem and there is an easy fix. Connect to the 2nd sim start the hotspot then you will be connected but without internet. Now let the hotspot running and switch off data and on again....Voila... worked for me Upvotes: 1
2017/04/11
520
2,010
<issue_start>username_0: I have an LG H440 (Spirit) and I have restored it to factory settings because it was in a "bootloop". Upon restarting the device there is an error message that is titled "Get Google Play services" the body of the text then says "Hangouts won't run without Google Play services,which are missing from your phone". The phone still reboots from time to time when I open a couple apps and my playstore still will not open. I'm not an advanced user and my attempts of rooting the phone have failed mostly because the phone restarts before the process is complete. Please advise on a resolution.<issue_comment>username_1: After factory reset the core Google Play Services application needs to be updated, which is most probably you are getting the "Google Play Services missing error" Try this to resolve the problem: * Go to Settings → Applications → Google Play Services → Clear cache/data. * Go to Settings → Applications → Google play store → Clear cache/data. * Go to Settings → Applications → Google Services Framework → Clear cache /data. The next step needs an active internet connection.. * Now open any Google application (e.g Gmail, Google+ or Google maps) this prompts to update Google Play Services and be sure to update. * You also need to update Google playstore Reboot device. Alternatively if you can't update with your device, then I suggest you get the .apk file from [apkmirror](https://www.apkmirror.com/apk/google-inc/google-play-services/) or webinterface (via [apkleecher.com](http://www.apkleecher.com) / [evozi.com)](https://apps.evozi.com/apk-downloader/) , and install it. Upvotes: 2 <issue_comment>username_2: Simply click this link below it will redirect you to "google play services" in play store. There can be options: 1. To update(you need to update in this case), or 2. To deactive(nothing needed, it is already up-to-date). Link: <https://play.google.com/store/apps/details?id=com.google.android.gms&showAllReviews=true> Enjoy! Upvotes: 3
2017/04/11
206
857
<issue_start>username_0: There should be at least a console accessible since Android uses the Linux kernel. Why is there no terminal emulator or console **installed by default** in Android OS? Is there a particular reason?<issue_comment>username_1: Terminal emulators are developer-level apps, and thus not easily usable app for general users. Consequently, there is no obvious public desire for mobile manufactures to load this app at the time of manufacturing. Even most users of desktop Linux distributions tent to be inept at terminal usage. Upvotes: 2 <issue_comment>username_2: Use the Android Debug Bridge (<https://developer.android.com/studio/command-line/adb.html>) It's on the PC and you need to connect it. I think it's not necessary to have a "Terminal APP". For tasks wich need root privilegues, you also need to root the phone. Upvotes: -1
2017/04/11
336
1,159
<issue_start>username_0: In previous versions of Android, when my phone battery was going down quickly I could open an app like [OS Monitor](https://play.google.com/store/apps/details?id=com.eolwral.osmonitor&hl=en), see what process is using a lot CPU (often it was Evernote or Maps.me), and then kill that process. However, OS Monitor and similar apps aren't working with Android 7 anymore, I guess due to some change in the system. So I'm wondering, is there a way that would allow me to see what's consuming CPU in the latest version of Android?<issue_comment>username_1: (Edited - confirmed also not working on 7.1.1 unrooted.) This should work on any Android version, but you might find the output a bit unfriendly: 1. Install and launch [Termux](https://termux.com) ([Google Play](https://play.google.com/store/apps/details?id=com.termux)) 2. Open Termux and run `apt install top` 3. Run `top` Upvotes: 2 <issue_comment>username_2: You [can use](https://stackoverflow.com/questions/40186347/dumpsys-cpuinfo-in-android-interpreting-the-results-of-this-command) `adb shell /system/bin/dumpsys cpuinfo`. This should also work with Oreo. Upvotes: 3
2017/04/11
283
975
<issue_start>username_0: I have connected an Android cellphone to the PC through a MTP connection. it brings a folder under Portable Devices section in My Computer. I want to get the location of this folder. how can I do that? I right-click and choose properties and it says the Location as: Computer/Mo A.Z But I want to access it through C drive. is it possible?!<issue_comment>username_1: (Edited - confirmed also not working on 7.1.1 unrooted.) This should work on any Android version, but you might find the output a bit unfriendly: 1. Install and launch [Termux](https://termux.com) ([Google Play](https://play.google.com/store/apps/details?id=com.termux)) 2. Open Termux and run `apt install top` 3. Run `top` Upvotes: 2 <issue_comment>username_2: You [can use](https://stackoverflow.com/questions/40186347/dumpsys-cpuinfo-in-android-interpreting-the-results-of-this-command) `adb shell /system/bin/dumpsys cpuinfo`. This should also work with Oreo. Upvotes: 3
2017/04/11
636
1,988
<issue_start>username_0: Since "Motorola Software Update" decided to download Nougat OTA without asking my opinion, I declared a war. But the weapons I use are broken. Withot `su`: ``` shell@athene:/ $ pm disable com.motorola.ccc.ota Error: java.lang.SecurityException: Permission Denial: attempt to change component state from pid=22598, uid=2000, package uid=10009 ``` With `su`: ``` 1|shell@athene:/ $ su root@athene:/ # pm disble com.motorola.ccc.ota Error: Could not access the Package Manager. Is the system running? ``` How can I disable this app? I wouldn't like to `rm` the app entirely (if possible), have everything system-less so far. If relevant, I am using Moto G4 with Marshmallow.<issue_comment>username_1: To stop OTA updates (and notifications) on Moto devices, you don't use Package Manager, you will need to "freeze" the service... Google Play Store has many apps that will allow you to 'freeze' the OTA Update service. [Titanium Backup](https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackup) is a common example. Alternatively, with a 'root access' file explorer, you can delete or rename the following files: /system/etc/security/otacerts.zip /system/priv-app/3c\_ota/3c\_ota.apk These additional files can be removed or renamed: (If you still get an OTA Update notification) /system/priv-app/3c\_checkin/3c\_checkin.apk /system/priv-app/3c\_devicemanagement/3c\_devicemanagement.apk /system/priv-app/3c\_notification/3c\_notification.apk [Reference](https://forum.xda-developers.com/showpost.php?p=71770306&postcount=2001) Upvotes: 3 [selected_answer]<issue_comment>username_2: Looking at > > With su: > > > > ``` > 1|shell@athene:/ $ su > root@athene:/ # pm disble com.motorola.ccc.ota > Error: Could not access the Package Manager. Is the system running? > > ``` > > I've noticed that there is a spelling error in the "disable" The original statement says "disble". This message is just FYI. Upvotes: 1
2017/04/12
862
2,845
<issue_start>username_0: iOS takes a screenshot of an app every time it is sent to the background (maybe to show as a thumbnail when viewing recent apps. Details are available on [this Stack Overflow question](https://stackoverflow.com/questions/27265957/ios-takes-a-screenshot-of-app-every-time-it-is-sent-to-the-background-how-woul)). I did a little research and came to understand that the same feature is used by Android also. [This Stack Overflow question](https://stackoverflow.com/questions/9822076/how-do-i-prevent-android-taking-a-screenshot-when-my-app-goes-to-the-background) deals with it. This is a security issue if these snapshots are being stored somewhere in the device and are accessible to other apps. I wanted to test this feature for my app, but I have no idea where Android stores these snapshots. I did some Googling but found nothing about the storage location. Where are these snapshots located? Is this accessible to users other than root?<issue_comment>username_1: If what are you asking for is the location of the thumbnails displayed by Android when switching apps, then (on my LineageOS 13) they are stored inside **/data/system/recent\_images** as PNG files called **x\_task\_thumbnail.png** (**x** being a possibly random number). Since the thumbnails are owned by user **system** and group **system**, and their octal permissions are **600**, you do need root to access them in whatsoever way. Upvotes: 2 <issue_comment>username_2: As a follow-up to [<NAME>'s answer](https://android.stackexchange.com/a/172921), [<NAME>'s comment](https://android.stackexchange.com/questions/172913/where-does-android-store-the-snapshots-used-on-the-recent-apps#comment282252_218950), and also based on a self-experiment on Nexus 5 running Lineage OS 14.1 (Android 7.1) and self-research, The directory is where * `SYSTEM_DIR`: + Default: **/data/system/** + On device that supports [file-based encryption (FBE)](https://source.android.com/security/encryption/file-based): **/data/system\_ce/`/`** * `IMAGES_DIRNAME`: common values are **recent\_images** and **snapshots**, but might be customized by vendors/ROM makers. The snapshots filename format is where: * `TASK_ID`: task ID (arbitrary increasing number). * `TASK_THUMBNAIL_SUFFIX`: default is **\_task\_thumbnail** * `IMAGE_EXTENSION`: default is **.png** Accessing these directories and their images **needs root access**. --- Sources: * [XDA Developers Forum](https://forum.xda-developers.com/oneplus-3/help/op3-logging-user-activity-screenshots-t3731452) * Related commits on Android Source Code: [1](https://android.googlesource.com/platform/frameworks/base/+/ef73ee1dd98acfc4a19561367cfc3e4d8bbe06ea), [2](https://android.googlesource.com/platform/frameworks/base/+/f9084ecae2e0f042730ab32b9c94204a0e21bb2a%5E%21/#F5) Upvotes: 2
2017/04/13
755
2,465
<issue_start>username_0: I've just got my first Android phone (Galaxy S7) and so am still learning the ropes. Occasionally, when I am using the phone, it will vibrate quickly twice, like I am receiving an SMS. However, there's is no visual information along with the vibration. I thought it might be reminding me of unread messages, but this happens regardless. This also does not happen when the phone is locked, but does happen whilst I'm using other applications, like games, am on the home screen, or immediately after I unlock. Would anyone know what my phone is trying to tell me?<issue_comment>username_1: If what are you asking for is the location of the thumbnails displayed by Android when switching apps, then (on my LineageOS 13) they are stored inside **/data/system/recent\_images** as PNG files called **x\_task\_thumbnail.png** (**x** being a possibly random number). Since the thumbnails are owned by user **system** and group **system**, and their octal permissions are **600**, you do need root to access them in whatsoever way. Upvotes: 2 <issue_comment>username_2: As a follow-up to [<NAME>'s answer](https://android.stackexchange.com/a/172921), [<NAME>'s comment](https://android.stackexchange.com/questions/172913/where-does-android-store-the-snapshots-used-on-the-recent-apps#comment282252_218950), and also based on a self-experiment on Nexus 5 running Lineage OS 14.1 (Android 7.1) and self-research, The directory is where * `SYSTEM_DIR`: + Default: **/data/system/** + On device that supports [file-based encryption (FBE)](https://source.android.com/security/encryption/file-based): **/data/system\_ce/`/`** * `IMAGES_DIRNAME`: common values are **recent\_images** and **snapshots**, but might be customized by vendors/ROM makers. The snapshots filename format is where: * `TASK_ID`: task ID (arbitrary increasing number). * `TASK_THUMBNAIL_SUFFIX`: default is **\_task\_thumbnail** * `IMAGE_EXTENSION`: default is **.png** Accessing these directories and their images **needs root access**. --- Sources: * [XDA Developers Forum](https://forum.xda-developers.com/oneplus-3/help/op3-logging-user-activity-screenshots-t3731452) * Related commits on Android Source Code: [1](https://android.googlesource.com/platform/frameworks/base/+/ef73ee1dd98acfc4a19561367cfc3e4d8bbe06ea), [2](https://android.googlesource.com/platform/frameworks/base/+/f9084ecae2e0f042730ab32b9c94204a0e21bb2a%5E%21/#F5) Upvotes: 2
2017/04/13
424
1,720
<issue_start>username_0: Anbox doesn't come with Google Services as Google Services can't be installed on an unregistered device / firmware, but there are ways to achieve that in Custom ROMs or even emulators. If you want to use Android to its fullest then Google Play Services is a must. **What have I tried so far?** I've tried to install Google Play Services x86 apk, which successfully got installed and also appears in *Settings* -> *Apps*. I've also tried to install Google Play Store which also got successfully installed and appears in the App Drawer of Anbox (also in GNOME), but it doesn't work as expected. For example, the YouTube app loads content but can't play videos and Google Play Store doesn't even load content, I think maybe because Google Play Services isn't installed as system app or maybe because there are some other Google apps that these things depend on which I'm missing.<issue_comment>username_1: I'm not really sure about Anbox, but I've made and modified several Android distros, that are *unregistered*, as you had said. What I had done on these devices was: 1. Either go to [Open GApps](http://opengapps.org/) and then download the app. Then run it, choose the package and wait for it to download. Use a superuser, to grant GApps permission, and allow it to install all Google apps (as per your package selection). 2. The second thing you can do is, use flashify, to flash a zip that you can download from [Open GApps](http://opengapps.org/) again. Upvotes: 0 <issue_comment>username_2: Run these commands: ``` snap install --devmode --beta anbox wget -O - https://raw.githubusercontent.com/geeks-r-us/anbox-playstore-installer/master/install-playstore.sh | bash ``` Upvotes: 1
2017/04/13
269
1,020
<issue_start>username_0: If I recall correctly, with Cyanogenmod from the update screen I could click on a future download and see the change log. Is there anyway to restore that behavior with Lineage OS?<issue_comment>username_1: I'm not really sure about Anbox, but I've made and modified several Android distros, that are *unregistered*, as you had said. What I had done on these devices was: 1. Either go to [Open GApps](http://opengapps.org/) and then download the app. Then run it, choose the package and wait for it to download. Use a superuser, to grant GApps permission, and allow it to install all Google apps (as per your package selection). 2. The second thing you can do is, use flashify, to flash a zip that you can download from [Open GApps](http://opengapps.org/) again. Upvotes: 0 <issue_comment>username_2: Run these commands: ``` snap install --devmode --beta anbox wget -O - https://raw.githubusercontent.com/geeks-r-us/anbox-playstore-installer/master/install-playstore.sh | bash ``` Upvotes: 1
2017/04/13
519
1,983
<issue_start>username_0: Surfing net and pop-up said "Galaxy -Your system heavily damaged by four virus!" Address on top said, "us-philospohizing693lo.win/..." Says if I don't remove now will cause severe damage to Sim card. Already damaged 28%. Click ok to download fix. I am afraid this is a malware or something bad like that. Don't know what to do. Please help. Not backed up now and 20k photos etc. I have Samsung Galaxy Note 5. I hit ok and stopped and did not hit "Repair fast now" Am I messed up. Afraid to do anything because this looks like scam, but also looks kind of official. Don't think I have an virus protection on phone unless it came with it. About a year old. DESPARATE, PLEASE HELP. Pop-up saying from Google said I have 4 viruses that already caused 28% damage to sim card. Wants me to install Applock for free on Google Play and click ok to start. Sent from >us.philosophizing693lo.win/...< Is this legit or malware or something bad and what do I do now? Scared and Afraid. Second question, sent 40 minutes ago but forgot the Applock from google play part.<issue_comment>username_1: There's a contradiction in terms: a popup ***from Google*** would never speak of *viruses* on Android, as there are none (i.e. no Android viruses, though there's enough of Android malware). That looks more like malvertizing, especially as it asks you to "install some app". Do ***not*** follow that advice, do ***not*** install that app. The appearance you describe is a known malvertizing pattern, caused by malicious Javascript in one of the websites you've visited – which in addition means, avoid those websites as well. Upvotes: 2 <issue_comment>username_2: Got the same popup some years ago. It is surely a scam since Google doesn't provide antivirus services. Do not press anything and just close the browser or press the back button. Just to be safe you can download an antivirus app like Avast or AVG and scan your mobile phone. I wouldn't worry though. Upvotes: 0
2017/04/13
481
1,532
<issue_start>username_0: Hardware damage caused by USB Type-C cables by drawing too much power has been widely reported: * <https://www.howtogeek.com/240777/watch-out-how-to-buy-a-usb-type-c-cable-that-wont-damage-your-devices/> * <http://www.theverge.com/2016/2/4/10916264/usb-c-russian-roulette-power-cords> * <http://www.pcworld.com/article/3002064/computers-accessories/beware-bad-usb-c-cables-google-engineer-warnswhile-naming-names.html> * <http://gizmodo.com/cheap-usb-c-cables-could-kill-your-phone-or-laptop-1757115350> * <http://www.androidcentral.com/usb-c-problem-isnt-going-away-anytime-soon> Is Micro-USB affected?<issue_comment>username_1: There's a contradiction in terms: a popup ***from Google*** would never speak of *viruses* on Android, as there are none (i.e. no Android viruses, though there's enough of Android malware). That looks more like malvertizing, especially as it asks you to "install some app". Do ***not*** follow that advice, do ***not*** install that app. The appearance you describe is a known malvertizing pattern, caused by malicious Javascript in one of the websites you've visited – which in addition means, avoid those websites as well. Upvotes: 2 <issue_comment>username_2: Got the same popup some years ago. It is surely a scam since Google doesn't provide antivirus services. Do not press anything and just close the browser or press the back button. Just to be safe you can download an antivirus app like Avast or AVG and scan your mobile phone. I wouldn't worry though. Upvotes: 0
2017/04/13
327
1,350
<issue_start>username_0: The screen of my samsung S6edge is showing black but the rest of the lights work if i push the hardware buttons. I don't seem to be able to get my touch screen to respond at all. The autobackup wasn't able to work while I was away because it never had access to WiFi. Is there any way that i can pull my photos off it? I have a mac with dual boot windows and am happy to add a linux boot if that will make my life easier.<issue_comment>username_1: There's a contradiction in terms: a popup ***from Google*** would never speak of *viruses* on Android, as there are none (i.e. no Android viruses, though there's enough of Android malware). That looks more like malvertizing, especially as it asks you to "install some app". Do ***not*** follow that advice, do ***not*** install that app. The appearance you describe is a known malvertizing pattern, caused by malicious Javascript in one of the websites you've visited – which in addition means, avoid those websites as well. Upvotes: 2 <issue_comment>username_2: Got the same popup some years ago. It is surely a scam since Google doesn't provide antivirus services. Do not press anything and just close the browser or press the back button. Just to be safe you can download an antivirus app like Avast or AVG and scan your mobile phone. I wouldn't worry though. Upvotes: 0
2017/04/13
465
1,368
<issue_start>username_0: i try to install "mount" with apt, but i can't locate it, or a package that contains "mount". i've tried: * just to run mount: > > no command 'mount' found > > > * apt update && apt upgrade * apt install mount busybox toybox > > busybox is already the latest versuib; mount and toybox do not exist. > > > * apt -s mount > > option not understood > > > * apt search mount > > proot ... > > > * apt install proot * mount > > not found... > > > * google, locate mount, ls -lR. GOT YOU<issue_comment>username_1: While `which mount` yields nix, any of the following should produce output in Termux on Android, Chromebook and Fire OS. `/system/bin/toybox mount` `/system/bin/toolbox mount` `/system/bin/mount` [![image](https://i.stack.imgur.com/SzOIKm.png)](https://i.stack.imgur.com/SzOIK.png) Upvotes: 1 <issue_comment>username_2: Either type ``` /system/bin/mount ``` manually or create a shortcut by ``` ln -s /system/bin/mount $PREFIX/bin/mount ``` so that you can access it more easily later. Don't bother with `toolbox` or `toybox`. Whichever contains the mount command will be symlinked to by `/system/bin/mount`. Upvotes: 2 <issue_comment>username_3: The mount command is part of the util-linux package. <https://en.wikipedia.org/wiki/Util-linux> Try `apt install util-linux` Upvotes: 1 [selected_answer]
2017/04/13
930
3,382
<issue_start>username_0: I upgraded CM13 to LineageOS14.1 on a Xiaomi Note 3 (kenzo), setup everything, and decided to encrypt the phone (from settings/encrypt phone). It asked for a pattern, and then rebooted. I never got to see a timer as seems to be expected from reading around. The phone got into a boot loop (vibrate, show MI logo, show lineage mascot for about a second, then reboot, over and over again). I left it doing this for about 40 minutes when I decided something was wrong. I can now boot into TWRP 3.1.0-0, but any attempt to boot normally results in the above. How can I get my phone to boot again? (if possible without losing data, I have backups, but if I can spare the hassle of reinstalling everything...). The device was rooted, and I installed nightly lineage lineage-14.1-20170405-nightly-kenzo, along with gapps and lineage su package. "Longer term", how do I encrypt the phone without breaking everything? Is there a bug in lineageOS (I've not seen anything on the bugtracker, except for another device (athene))?<issue_comment>username_1: If you are able to boot into TWRP format and wipe the device (dont loose your backups) and restore your backups. After that everything should be back to normal (without encryption). Upvotes: 3 [selected_answer]<issue_comment>username_2: For future reference, choosing repair for /data in TWRP seems to solve bootloops right after encryption. The device stays encrypted. This worked on two of my devices and I didn't notice any data loss. Upvotes: 3 <issue_comment>username_3: If you can boot in TWRP and the device does not look encrypted, and you tried already to flash lineage again without success and you always get bootloops, try in TWRP to go to wipe, select "format data". Attention, this seems different than just "wipe data". When I selected format data, a dialog asked me to type "yes" to continue, it even showed that it would unencrypt the partition. Upvotes: 0 <issue_comment>username_4: Here's a really convoluted workaround if anyone's still having trouble. I was unable to solve it with the comment above about using the repair option. There are multiple bug reports for this on different devices in the lineage os Jira. One commenter suggests a workaround (once you get out of boot loop): 1. Fresh install CM13 (Note that for my device, HTC One M9 I had to modify a line in the flashable zip due to a firmware upgrade. See This commenters post on how to do that: <https://jira.lineageos.org/browse/BUGBASH-457?focusedCommentId=14507&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14507>) 2. Boot into CM13, Run though setup 3. Set a pin or pattern (IMPORTANT) 4. Run encrypt phone 5. Once phone is encrypted and booting, reboot to TWRP (twrp will need your pin or pattern) 6. Go to TWRP settings be sure the rm -rf setting is checked 7. Go to wipe and wipe the data partition (this shouldn't reformat it) 8. Go to install and Flash LOS 9. Boot to LOS, you'll be asked for your pattern/pin from earlier 10. You'll need to set a pin/pattern for lineage itself, but it works. More detailed instructions from that comment: <https://jira.lineageos.org/browse/BUGBASH-457?focusedCommentId=14354&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14354> CM13 archive: <https://archive.org/download/cmarchive_nighlies> Upvotes: 2
2017/04/14
911
3,367
<issue_start>username_0: Off late, I have been observing some unwanted apps getting downloaded and installed on my Android device without my knowledge. Upon noticing I uninstalled those apps. However, the next time I switch on my data or connect to Wi-Fi, in no time does it re-install those apps. Is there a way in which I can troubelshoot this ? Below are the couple of apps that are getting installed (please not none of these are available on Play Store): * Content Visual * VedioZone * UC News * WhatsApp (This is not the original WhatsApp with a slightly different icon) I tried doing a Factory Reset with no success I also tried resetting the device by going into the recovery mode with no success. I disabled allowing apps to installed from unknown sources. The Quick Heal anti-virus does not detect any threats. Edit 1: I could see multiple instances of the above listed app as shown in below image: [![Settings --> Processes --> Running](https://i.stack.imgur.com/7bog6m.png)](https://i.stack.imgur.com/7bog6.png)<issue_comment>username_1: If you are able to boot into TWRP format and wipe the device (dont loose your backups) and restore your backups. After that everything should be back to normal (without encryption). Upvotes: 3 [selected_answer]<issue_comment>username_2: For future reference, choosing repair for /data in TWRP seems to solve bootloops right after encryption. The device stays encrypted. This worked on two of my devices and I didn't notice any data loss. Upvotes: 3 <issue_comment>username_3: If you can boot in TWRP and the device does not look encrypted, and you tried already to flash lineage again without success and you always get bootloops, try in TWRP to go to wipe, select "format data". Attention, this seems different than just "wipe data". When I selected format data, a dialog asked me to type "yes" to continue, it even showed that it would unencrypt the partition. Upvotes: 0 <issue_comment>username_4: Here's a really convoluted workaround if anyone's still having trouble. I was unable to solve it with the comment above about using the repair option. There are multiple bug reports for this on different devices in the lineage os Jira. One commenter suggests a workaround (once you get out of boot loop): 1. Fresh install CM13 (Note that for my device, HTC One M9 I had to modify a line in the flashable zip due to a firmware upgrade. See This commenters post on how to do that: <https://jira.lineageos.org/browse/BUGBASH-457?focusedCommentId=14507&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14507>) 2. Boot into CM13, Run though setup 3. Set a pin or pattern (IMPORTANT) 4. Run encrypt phone 5. Once phone is encrypted and booting, reboot to TWRP (twrp will need your pin or pattern) 6. Go to TWRP settings be sure the rm -rf setting is checked 7. Go to wipe and wipe the data partition (this shouldn't reformat it) 8. Go to install and Flash LOS 9. Boot to LOS, you'll be asked for your pattern/pin from earlier 10. You'll need to set a pin/pattern for lineage itself, but it works. More detailed instructions from that comment: <https://jira.lineageos.org/browse/BUGBASH-457?focusedCommentId=14354&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14354> CM13 archive: <https://archive.org/download/cmarchive_nighlies> Upvotes: 2
2017/04/14
1,012
3,988
<issue_start>username_0: My phone (Moto X Pure 2015, a.k.a. Clark) hates me. It's a refurb that I doubt was properly fixed, which was a replacement for my last one that had a bad USB port, but the issues didn't start until post-warranty (both original and 90 day for refurb). My wife decided to get an iPhone, so now I have hers, which is also a refurb, but it still works correctly for the most part. I would like to migrate everything from my phone to hers...including the 64GB Micro SD card formatted as adopted storage...without formatting the card. Is this possible? Are there any options that don't include extra memory cards, usb sticks, or computers? I know I can move everything to an intermediary storage device, or to a new card in the new phone, but if there's a way to do it without that extra step, that would be nice to know. I'm rooted and running nearly the latest Lineage OS nightly (4/3), if that makes a difference, and I'm open to things like key extraction if I can get a good guide on what I actually need to do.<issue_comment>username_1: Tag wiki of the [adoptable-storage](/questions/tagged/adoptable-storage "show questions tagged 'adoptable-storage'") which you used is a good start point : * When you adopted the external SD card, it is encrypted with a key that is unique - hardware key that is specific to your device ( not common to model). This means you cannot read the SD card on another device, even if same model.**According to the [Android documentation][1] :** > > .. Keys are associated with adopted devices based on the adopted partition GUID. > **..** > Because the contents of an adopted storage device are strongly tied to the > Android device that adopted it, the encryption keys should not be extractable > from the parent device, and **therefore the storage device can't be mounted elsewhere.** > > > * In other words, you cannot separate the device and external SD card as separate entities to access memory - ( except when device is connected to a laptop ) * Technically, it is possible to retrieve the information contained in the card by recovering the key , in the absence of device. Foot note in the wiki offers a couple of methods but you would need access to a computer , which you do not wish to use * There may be another catch - Samsung encryption may be proprietary and [details are not made public](https://android.stackexchange.com/questions/95168/how-does-samsung-implement-sd-card-encryption#comment158452_95168) To sum it up, your best bet would be to transfer contents to a laptop, and transfer them to the external SD on your new device **Edit:** If both devices are rooted there may be a way, which I am not aware of ( seeing username_2's comment) Upvotes: 1 <issue_comment>username_2: Though you did not (yet) confirm both devices are rooted, this solution might be of interest for those where they are: Following up to our [adoptable-storage tag-wiki](https://android.stackexchange.com/tags/adoptable-storage/info), you will find a link to [How to decrypt adopted storage?](http://android.stackexchange.com/q/145443/16575) Based on that, the following approach seems feasible: 1. From the original device, extract the encryption key file located in `/data/misc/vold` 2. Copy this file to the new device There's a missing step, though: As the file has no fixed name, I assume this must be stored in some settings database. So that database entry must be found and added to the new device. On the other hand, the name might as well be derived from the label of the SD card it belongs to. So basically, this answer might be incomplete – but the approach worth a try. If someone can provide the missing step, please do so in the comments and I'll integrate it here (with credits given, of course). Upvotes: 3 [selected_answer]<issue_comment>username_3: I'm sure a TWRP /data backup and restore to new device could do the trick as well if I'm not mistaken. Would be much simpler in my opinion. Upvotes: 0
2017/04/14
779
3,135
<issue_start>username_0: Is it possible to first automatically open an application and then automatically click on a few buttons within that app ? Is creating such a profile possible?<issue_comment>username_1: Tag wiki of the [adoptable-storage](/questions/tagged/adoptable-storage "show questions tagged 'adoptable-storage'") which you used is a good start point : * When you adopted the external SD card, it is encrypted with a key that is unique - hardware key that is specific to your device ( not common to model). This means you cannot read the SD card on another device, even if same model.**According to the [Android documentation][1] :** > > .. Keys are associated with adopted devices based on the adopted partition GUID. > **..** > Because the contents of an adopted storage device are strongly tied to the > Android device that adopted it, the encryption keys should not be extractable > from the parent device, and **therefore the storage device can't be mounted elsewhere.** > > > * In other words, you cannot separate the device and external SD card as separate entities to access memory - ( except when device is connected to a laptop ) * Technically, it is possible to retrieve the information contained in the card by recovering the key , in the absence of device. Foot note in the wiki offers a couple of methods but you would need access to a computer , which you do not wish to use * There may be another catch - Samsung encryption may be proprietary and [details are not made public](https://android.stackexchange.com/questions/95168/how-does-samsung-implement-sd-card-encryption#comment158452_95168) To sum it up, your best bet would be to transfer contents to a laptop, and transfer them to the external SD on your new device **Edit:** If both devices are rooted there may be a way, which I am not aware of ( seeing username_2's comment) Upvotes: 1 <issue_comment>username_2: Though you did not (yet) confirm both devices are rooted, this solution might be of interest for those where they are: Following up to our [adoptable-storage tag-wiki](https://android.stackexchange.com/tags/adoptable-storage/info), you will find a link to [How to decrypt adopted storage?](http://android.stackexchange.com/q/145443/16575) Based on that, the following approach seems feasible: 1. From the original device, extract the encryption key file located in `/data/misc/vold` 2. Copy this file to the new device There's a missing step, though: As the file has no fixed name, I assume this must be stored in some settings database. So that database entry must be found and added to the new device. On the other hand, the name might as well be derived from the label of the SD card it belongs to. So basically, this answer might be incomplete – but the approach worth a try. If someone can provide the missing step, please do so in the comments and I'll integrate it here (with credits given, of course). Upvotes: 3 [selected_answer]<issue_comment>username_3: I'm sure a TWRP /data backup and restore to new device could do the trick as well if I'm not mistaken. Would be much simpler in my opinion. Upvotes: 0
2017/04/14
161
641
<issue_start>username_0: I have a BQ Aquaris U, which I have upgraded to Android 7.1.1, but now when I call somebody, my number is private. I cannot find where the related setting is moved. Thanks for the help!<issue_comment>username_1: After hours of searching among the settings: Phone -> More options (three dots) -> Settings -> Calling Accounts -> SIM -> Additional Settings and voila, there it is :). Upvotes: 1 <issue_comment>username_2: Go to the phone dialling pad screen. Then go into the 3 little dots top right of screen. Select 'Settings', then 'More Settings' and in there you'll find the setting you're looking for. Upvotes: 0
2017/04/15
143
607
<issue_start>username_0: Deleted a file, with the option to delete permanently unchecked. Tried to retrieve it then, only to find out that Android has no visible recycle bin...<issue_comment>username_1: After hours of searching among the settings: Phone -> More options (three dots) -> Settings -> Calling Accounts -> SIM -> Additional Settings and voila, there it is :). Upvotes: 1 <issue_comment>username_2: Go to the phone dialling pad screen. Then go into the 3 little dots top right of screen. Select 'Settings', then 'More Settings' and in there you'll find the setting you're looking for. Upvotes: 0
2017/04/16
1,012
3,400
<issue_start>username_0: Recently my phone shows "Android is starting Optimizing App 1 of 1" at every boot. I intercepted this and found it running `dex2oat` in this way ``` /system/bin/dex2oat --runtime-arg -classpath --runtime-arg /system/framework/XposedBridge.jar --instruction-set=arm64 --instruction-set-features=default --runtime-arg -Xnorelocate --boot-image=/system/framework/boot.art --dex-file=**/data/data/com.google.android.gms/app\_fb/f.apk** --oat-fd=45 --oat-location=/data/data/com.google.android.gms/app_fb/f.dex --runtime-arg -Xms64m --runtime-arg -Xmx512m ``` I also managed to grab a copy of the APK. The original APK and DEX *disappears* after `dex2oat` is done. Its package ID is `com.google.ccc.abuse.droidguard.droidguasso` and it's only 6.5KB in size. There's not even a `META-INF` folder in the APK. Google shows no exact result about it. I'm afraid whether it's a malware but I can't find out anything more. Can anyone help me? I have the intercepted APK uploaded to [Dropbox](https://www.dropbox.com/s/f2zifniw1qyzhuc/data%40data%40com.google.android.gms%40app_fb%40f.apk?dl=0). Edit: Got rid of it by creating a blank *file* at `/data/data/com.google.android.gms/app_fb`. But I still wonder about its malice (if so).<issue_comment>username_1: Disclaimer ---------- This APK's code is obfuscated, hence it's difficult to ascertain its purpose. For those who have doubts concerning my analysis — and I encourage you to —, feel free to download the decompiled APK from my [MEGA account](https://mega.nz/#!GxJjmAKR!S2Or3wJ5XKOeL5yhfEpGEh0Qh9JdqHXLJqAwaYxNDDQ). --- Analysis -------- First and foremost, I'd like to state that there are five characteristics of this code that made me think: 1. the code is obfuscated; 2. no permissions are ever declared inside the **AndroidManifest.xml**; 3. even if the code itself is obfuscated, there are strings which mention **EGL**, **shaders** and **rendering**; 4. a method in the code probes the device's **graphic card**; 5. this APK is **not signed**. As for point 1, I often decompiled Google's apps, and they do like to obfuscate their code. Point 2 greatly limits the potential nefarious actions an app can perform, **as long as the app doesn't inherit its permissions by another app**. Points 3 and 4 seems to hint at a software which is devoted to draw on the display. Point 5 is fascinating, as Android's package installer **doesn't normally allow installing unsigned packages**. --- Guess ----- My guess is that this is a piece of software **developed from Google, by Google**. The APK is unsigned, but it might theoretically be installed by a system app, thus **bypassing the signature restriction**. Upvotes: 3 [selected_answer]<issue_comment>username_2: I have reason to believe that `com.google.ccc.abuse.droidguard.droidguasso` is Droidguard (a Google safety tool). There's minimal information about it on the web, and the best source for SafetyNet information (which is related to Droidguard) has explicitly said that he would not publish information on it as [it would only be useful to attackers](https://koz.io/inside-safetynet/#comment-3218277336). Touching on the other answer, SafetyNet is not an obfuscated package, and just contains the `classes.dex` file. As Droidguard is indeed obfuscated whereas SafetyNet isn't, my guess is that Droidguard evolves slower than SafetyNet. Upvotes: 1
2017/04/16
361
1,313
<issue_start>username_0: [![Screen Shot](https://i.stack.imgur.com/EXpa0.jpg)](https://i.stack.imgur.com/EXpa0.jpg) in google play when i am installing something it is showing two devices associated with my gmail id.How can i remove another device?I think Its some kind of hacking.<issue_comment>username_1: If a device you no longer use is listed (or if you don't recognize the device), you can remove it from your account. To remove devices from your account: 1. Use your phone's browser to go to [myaccount.google.com](https://myaccount.google.com). 2. In the "Sign-in & security" section, touch **[Device activity & notification](https://myaccount.google.com/security?pli=1#activity)**. 3. In the "Recently used devices" section, touch **[Review devices](https://myaccount.google.com/device-activity)**. 4. Touch the device you want to remove > **Remove**. Source: [Google Support](https://support.google.com/accounts/answer/6264236?hl=en) Upvotes: 2 <issue_comment>username_2: I would like to add to the above answer: If you fear about security of your playstore Gmail account you can go for [Google two step verification](https://www.google.com/landing/2step/) Everytime you sign in from any device or anywhere you will be asked for OTP. It gives another layer of security to your account. Upvotes: 0
2017/04/16
901
3,340
<issue_start>username_0: I have added a few words to the personal dictionary in Gboard settings and they aren't working. Trying to create shortcuts for things like my email address, but when I type the shortcut into Gboard, nothing happens. I've scoured the web for answers to this and have yet to find a solution. I've tried uninstalling and reinstalling Gboard. I emptied the Gboard cache. I'm currently using a Samsung Galaxy S5 and it's on Android 6.0.1, all software is up-to-date. Nothing helps. How to fix this?<issue_comment>username_1: It would seem that Gboard has a hard time with shortcuts containing punctuation. Ampersands and colons did not work for me, but shortcuts without these characters work fine. A little digging on the web would imply that punctuation in shortcuts used to work in previous versions. I'm not sure if this applies to your situation or not, though. Gboard 6.2.34 Version = 20170404 Upvotes: 1 <issue_comment>username_2: As noted, special characters may be a problem, but if others have this issue with all shortcuts, clearing Gboard's data (in system settings -> applications -> Gboard) fixed the issue for me. Upvotes: 2 <issue_comment>username_3: The solution to the problem is as follows. 1. Visit [APK Mirror - Android Keyboard (AOSP) 8.1.0](https://www.apkmirror.com/apk/lineageos/android-keyboard-aosp-2/android-keyboard-aosp-2-8-1-0-release/android-keyboard-aosp-8-1-0-android-apk-download/). 2. Download the AOSP keyboard and install it on your phone. 3. Enable the AOSP keyboard from the virtual keyboard section in the languages ​​and input section. 4. Do not set the AOSP keyboard by default. We will use Gboard. 5. Now go to your personal dictionary in the Languages ​​section. You will see two of your own language. For example: For all languages, Turkish, and Turkish (Turkey). Select Turkish and enter your words here and shortcuts are now running, not Turkish (Turkey). An error occurs when you enter your words and shortcuts in the dictionary where the language and region are together. Upvotes: 0 <issue_comment>username_4: My Gboard shortcuts weren't expanding because I had unknowingly been adding a space at the end. I thought I'd added "foo", but I'd added "foo ": that space was the problem. Any time I'd enter "foo " in an app—notice the space—the question to ask yourself is, "which of the following took precedence:" 1. the confirmation of the end of a word1 2. or the OS's having confirmed the recognition of my desired shortcut? (1) had been winning out, trumping (2) and—correctly, unfortunately—winning out over (2) and never allowing (2)'s replacement to happen. As soon as I got rid of the trailing space in my personal dictionary's shortcut replacement string, it worked. It makes sense. Incidentally, in one of my user-defined dictionary shortcuts, I have the octothorpe, or hashtag, "#" working, too, so it appears that some special characters are also working and now *not* causing problems. So if this is not new news, please don't shoot the messenger! 1 An additional wrinkle I can't unravel is "is it the app or the OS doing the detection and identification in (1)?" I can't tell—I think I'd have to be able to trace a single step through the kernel to be able to answer that one. (-; Gboard 12.6.02.491625702-release-arm64-v8a102451622 Upvotes: 0
2017/04/16
262
1,100
<issue_start>username_0: I have been on the security manager page and although the device is there, there is no option to remove it or deauthorise it. I have changed my password but am unsure if they can still gain access without needing a password as I have just clicked on my phone to gmail and it opened without needing a password. I'm not good with computers so don't know what else to do. Help would be appreciated x<issue_comment>username_1: If you changed your password, your account is signed out everywhere and requires the password to log in again. All is safe. Upvotes: 2 <issue_comment>username_2: Ethan's answer is correct, but for peace of mind: You can also log in to Gmail on your PC, hit "Details" at the very bottom-right of the page, and choose "Sign out all other sessions". Upvotes: 0 <issue_comment>username_3: If you are really worried about security you can go for [Google two step verification](https://www.google.com/landing/2step/) Everytime you sign in from any device or anywhere you will be asked for OTP. It gives another layer of security to your account. Upvotes: 0
2017/04/17
224
826
<issue_start>username_0: I have a rooted Lolipop 5.1 phone and I was wondering if uninstalling built in apps safe like Lookout, Hangout or Google+.<issue_comment>username_1: You can use a app like **[System app remover](https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp&hl=en)** for that. And most of the apps are safe to remove, as the mentioned app shows if the app to be removed is a core component. Upvotes: 0 <issue_comment>username_2: Yes you can. You can manually delete them from the `/system/app` or `/system/priv-app` directory, or maybe using an system remover app. Also, not all apps can be removed safely, for example, there are some core phone apps like `framework-res`, `SystemUI`. **Do not delete them!** If you're unsure, I suggest you to get information about it first. Upvotes: 2