title: How to "fetch v8" on Android phone?

text:
# Question
Title: How to "fetch v8" on Android phone?
I have installed `Termux` on my phone(Android 7), then I installed `git` then `git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git`, then `export PATH=$PATH:/data/data/com.termux/files/home/depot_tools` But when I try `fetch v8` it says:

```
bash: /data/data/com.termux/files/home/depot_tools/fetch: /usr/bin/env: bad interpreter: No such file or directory

```

# Answer
> 1 votes
There is no such thing as `/usr/bin` on Android. Those scripts are obviously intended to run on Linux/Unix systems – but Android uses a different directory structure (e.g. `env` can be found in `/system/bin/env`).

You could try adjusting those scripts – but it seems quite likely this will not be the only thing failing, so be prepared for having to adjust a lot …

# Answer
> 0 votes
This file /data/data/com.termux/files/home/depot\_tools/fetch is not available or check for uppercase and undercase sense. File referencing is case sensitive or the for responsible for executing that has an error i mean the files at /usr/bin/env

---
Tags: terminal
---


# Question
Title: Choose which Exchange contact folder(s) to sync to phone
On Office 365, my folder structure is this:

My Contacts \[container, not a folder itself\] \- LinkedIn \- Contacts \- Contacts2 \- Skype for Business Contacts -...

I want only contacts from my "Contacts" folder to sync to my phone, and not from the other folders.

Is there a way to achieve this?

I don't mind installing a sync app, but don't want to install the Outlook app.

I have seen a hacks using Categories to only show selected contacts in the Contacts app on the phone, but this has 2 problems:

1. I would have to add a Category to every new contact I make in my Contacts folder to get it to sync, which is very error-prone.
2. I think it still syncs all of the contacts from every folder, using phone space and sync bandwidth.

Any help is much appreciated.

Versions:

* Android 8.0.0 on Google/LG Nexus 5X
* Stock GMail (NOT the Outlook app)

# Answer
I ended up making a Shared User account on Office 365 and putting all non-essential contacts in the Contacts folder of that shared user so they don't appear on my account.

I had to then remove my Exchange account from GMail, reboot, and add the Exchange account again.
> 0 votes

# Answer
Well, if you don't want to install autlook app then I guess you'll have to install syncing app. I can recommend you https://www.akruto.com/ for this purpose.
> 0 votes

---
Tags: contacts, exchange, active-sync, ms-office
---


title: Motorola g3 and unreadable SD Card

text:
# Question
Title: Motorola g3 and unreadable SD Card
A couple of days ago the SD card (which is the "expanded filesystem" from android 6.0) on my phone stopped working. The phone still boots and works, but all my data (especially photos and WhatsApp conversations - yes, I didn't make a backup, shame on me) are gone.

I removed the SD from the phone and put it in my PC, where Fedora recognizes the partitions but cannot mount them.

Here's the output of `fdisk -l`:

```
fdisk -l /dev/sdc
Disk /dev/sdc: 29 GiB, 31104958464 bytes, 60751872 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 938FFB3B-CA49-45D0-89B3-BE22ADAAD86E

Device     Start      End  Sectors Size Type
/dev/sdc1   2048    34815    32768  16M unknown
/dev/sdc2  34816 60751838 60717023  29G unknown

```

Whenever I try to mount one of those partitions, I get

```
mount /dev/sdc1 /mnt/test
mount: /mnt/test: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error.

```

Same result if I use the `-t` option with `auto`, `vfat` or `ntfs`.

If I open `gparted` and attempt the data rescue this is what it finds:

and when I click the "View" button it correctly recreates the Android filesystem, but with no file inside:

```
tree
.
├── Android
│   ├── data
│   │   ├── com.android.vending
│   │   │   └── files
│   │   ├── com.google.android.apps.maps
│   │   │   └── files
│   │   ├── com.google.android.gms
│   │   │   └── files
│   │   ├── com.google.android.googlequicksearchbox
│   │   │   └── files
│   │   │       ├── download_cache
│   │   │       └── pending_blobs
│   │   ├── com.google.android.music
│   │   │   ├── cache
│   │   │   └── files
│   │   ├── com.google.android.videos
│   │   │   └── files
│   │   │       └── Movies
│   │   ├── com.google.android.youtube
│   │   │   ├── cache
│   │   │   └── files
│   │   └── com.motorola.migrate
│   │       └── files
│   │           └── Pictures
│   └── media
│       ├── com.android.providers.media
│       ├── com.google.android.talk
│       └── com.motorola.MotGallery2
├── bluetooth
├── DCIM
│   └── Camera
├── Download
├── LOST.DIR
├── media
│   └── audio
│       └── notifications
├── Music
├── Ringtones
├── System Volume Information
│   └── IndexerVolumeGuid
└── WhatsApp
    └── Media
        ├── WhatsApp Audio
        ├── WhatsApp Images
        └── WhatsApp Video
44 directories, 1 file

```

Has anyone any idea?

# Answer
> 1 votes
The issue here is that Marshmallow and newer Android external storage is encrypted when it is adopted by the system as internal storage.

You need the crypto key from your device to mount the volume, does your phone have an unlocked bootloader and/or are you rooted? If not, you are not going to be able to access the key and decrypt the volume.

Similar questions which may be useful as reference: Moto G3 (android marshmallow) not detecting SD card anymore (solution?) and Recovering data from corrupted SD card formatted as internal storage (Marshmallow)

Remember that this is not unique to the Moto G 2015, most Android devices with Marshmallow and newer have this capability (and issues). Honestly, it best to not use adopted storage if at all possible.

---
Tags: 6.0-marshmallow, external-sd, motorola-moto-g3
---


# Question
Title: Why are some meetings in a frame, and others with a plain background?
Some meetings in Google Agenda, **coming from the same agenda**, are in a colored frame, while others are with a solid background:

What is the reason for the difference? Is there a way to fix this to have unified colors?

# Answer
> 4 votes
Google Calendar Help says

> **Invitation status**
>
> Events on your calendar look different depending on how you’ve responded:
>
> * If you’re attending an event, the event will be a solid color.
> * If you’ve answered maybe to an event, you’ll see diagonal lines across it.
> * If you haven’t replied yet, you’ll just see the event’s outline.
> * If you said no, you’ll only see the outline and the event will be crossed out.

So, I guess it's the outcome of how you responded to them

---
Tags: calendar
---


# Question
Title: How do I stop my Moto G from pestering me about Motorola ID related things?
I have a Moto G 4G (2nd gen?) running Android 5.1 Lollipop. I would like to disable or suppress the endless alerts I get from it about *"Sign in problem"*'s and *"Motorola ID unlinked"* related to Motorola services, none of which I wish to use.

I thought unlinking my "Motorola ID" might do this but it just complains even more i.e. the *"Motorola ID unlinked"* alert.

How do I do this?

# Answer
Seems we have to apply as back to 4.4 and do this: settings-\>security & screen lock-\>Device administrators and turn off "Motorola Device Policy". Next, settings-\>Motorola Device ID, tap the three dot menu control on the top right, and choose "unlink account". Restart (reboot) as a supplementary measure.
> 2 votes

# Answer
Long click the notification and you should be able to see what app is causing it; disable "device notification" from there or app settings.
> 1 votes

# Answer
I'm running Android 7 on a Moto G5, and a Moto 360 watch.

To disconnect the Motorola ID:

1. Open the Moto Connect app
2. Click "Change account"
3. Click the 3 vertical dots (top, right corner)
4. Click "Sign out".
5. You will be prompted with a checkbox to agree to the privacy policy. Uncheck this checkbox. You will get a message saying all data will be deleted. Accept.
6. Uninstall the app.
> 0 votes

---
Tags: motorola-moto-g, 5.1-lollipop, alerts
---


# Question
Title: Flashtool gives DOWNLOAD OK but the tablet is not booting anyway
I flashed the firmware with SP FLASH TOOL and it gived me DOWNLOAD OK, but I cannot boot the tablet anyway

Mediatek: MT8163

Android: 6.0

# Answer
If you downloaded even the preloader.bin your device is done with but if you never ticked preloader that's incompatibility issues between the ROM and the phone
> 0 votes

---
Tags: 6.0-marshmallow, rom-flashing, device-firmware, stock-rom, flashtool
---


# Question
Title: A way to enable data encryption by default (device to be encrypted on first boot)
I did some research on data security that Android has in it's implementation FDE and FBE. I have a clear picture on how both work, but I need something a little different.

What is the best way to enable data encryption whether it is for Marshmallow (FDE) or Nougat or Oreo (FBE) on first boot? By first boot I mean to burn images on the Android device, and then turn it on. I'm not working on any mobile phone or something that is on the market.

What I want is that Android does data encryption on its own, immediately on first boot, and that later user is not prompted with a password. To have something like default password (which I notice exists in AOSP).

One more question: From Android's CDD I didn't notice that FBE is mandatory. Does that mean that FDE can also be used on Nougat and Oreo?

Thanks in advance.

# Answer
> 0 votes
Concerning the asking of password. When resetting Marshmallow, if the stock recovery is in place, it decrypts the phone and on first boot it encrypts it but well obviously never ask you for a password to start android because these two fine are recreated which hold device password:

```
/data/security/password.key
/data/security/pattern.key

```

If you could have been using TWRP to factory reset and you had a pattern or device assigned to device and you've opted for require password to start device, seamlessly, on any ROM and even TWRP itself. The password will exist even after resetting. The stock recovery is the only one that deals with that pattern at first boot.

---
Tags: 6.0-marshmallow, security, encryption, 8.0-oreo, disk-encryption
---


title: Asphalt 8: Airbone

text:
# Question
Title: Asphalt 8: Airbone
I used Google Play Games to connect to Asphalt 8: Airbone. Is there any way to export my progress to the same game on Xbox (Mircosft account)?

# Answer
> 1 votes
There is nothing you can do cross-OS and cross-servers. You can only deal cross-OS on same servers and cross-servers but same OS but definitely in the later you're not gonna use the servers. You can only copy files if it's Android, for example, from:

```
/sdcard/Android/data/[package.name.of.app]/

```

and the game obb file from:

```
/sdcard/Android/obb/[package.name.of.app]/

```

to the other device. And other OS in a similar manner. On same server you just log in to your account and data restore happens automatically

---
Tags: google-account
---


# Question
Title: SignIn to Youtube (Android App) with Gmail but without adding Account
I want to Sign-In to YouTube Mobile App on Android phone with Gmail Account but without adding the Account to Phones Account list , cause if I add the Account to phone then the account also shows up in the Gmail App which I don't want. I have a separate Gmail Account for Email and Sync and I have a separate account for YouTube which I don't want to be listed anywhere in phone except in YouTube App.

Is there a way to to Sign-In to YouTube App using Gmail account but not adding the whole account to Phone.

# Answer
* You tube is Google owned and therefore, is closely related to the purchases you make, your viewing habits which are monitored by Google (read ad and revenue generation). So, the tight coupling is inevitable as answered here
* That leaves you with the option of signing out of Gmail (of the youtube related account) or use alternative approaches like FireFox addon or IMAP approach so that you have mail access as also youtube stand alone

It's a workaround
> 0 votes

---
Tags: applications, gmail, youtube
---


title: Can s7 Wall charger be used on s8?

text:
# Question
Title: Can s7 Wall charger be used on s8?
Can I use Samsung Galaxy s7 wall Charger on S8?

I'm concerned about damaging the s8. and could not find real solid specs online.

# Answer
> 4 votes
As a supplemental answer to what @beeshyams already wrote...

S7 comes with a EP-TA20 series charger, capable of QC 2.0, rated for 9V 1.67A or 5V 2A.

On the other hand, S8 comes with a EP-TA200 series charger, which is near identical to the former one, except that its USB port has been moved from the side to the top, and comes with a USB-C cable by default.

Safe to say that as long as you get the USB-C cable right, the two makes no difference.

(Pictures courtesy of chongdiantou.com, a Chinese forum dedicated to chargers and batteries)

# Answer
> 5 votes
Samsung says

> ....You can charge your phone using any **Samsung-approved wall charger**, but charging speeds may vary depending on the charger....

Further this reddit claims that S7 and S8 use the same charger

I am not sure what is the difference in charging speeds

In the absence of specs , it is not possible to say for sure, but I wouldn't hesitate since both chargers are Samsung and apparently similar as pointed in the reddit.

---
Tags: samsung, charging
---


# Question
Title: WhatsApp: deleting a member of a group and adding them back after data deletion
I was wondering. Suppose you are a member of a WhatsApp group. You may or may not have created that group. What happens if someone grabs your phone and maliciously deletes the messages or the group and you want the whole chat back?

If you are the group creator, can you simply request someone else that was part of the group to add you back by sending them a message to delete your name from the group and add you back?

Thanks.

P.S.: I only have one phone and one SIM card so I cannot try this out for myself as also I don't think my contacts would be bothered to go along and try this with me. Thank you for helping me figure this out. I hope that if someone answers this question it will be of help to others.

Thanks.

# Answer
> 2 votes
You will still be part of the group unless the one that deleted your messages also pressed "exit group". In that case all you have to do is ask the group admin to add you back, or use the group link to get back in.

The method you're suggesting to retrieve the messages is not going to work. Because when you join a WhatsApp group, wether you're new, or returning member, you do not get any messages that were previously posted in that group.

This is because WhatsApp doesn't store your messages in a cloud. It stores them on your phone, and it makes a backup to Google drive and into your phone, but those will not show up if you rejoin a group.

There are a few options to get your group message history back.

**Option 1**. The easiest would probably be to ask one of the members to email you the chat history.

The member would have to open the group chat, press on the three dots menu on the top right then press "more" -\> "email chat" enter your email address and send.

This will send you a PDF file of all the message, and you will not be able to see those messages in WhatsApp. (To have the message show up in your WhatsApp chat, go to option 2 or 3)

**Option 2**. Restore your Google drive backup.

First, check to make sure that no backup was made after you deleted the messages. To do that go to WhatsApp settings\>chats\>chat backup, now on the top left of your page, it will tell you the last time a Google drive backup was made. If the date is after you have lost the chats, then move to option 3.

(Using this option, you will lose the message you have written since the last backup)

Go to settings-\>apps -\> WhatsApp -\> storage -\> clear data.

Then, open WhatsApp and follow the regular registration process. When it asks if you want to retrieve your backups, press yes.

You will now have the messages that you have lost.

**Option 3** follow the instructions on the WhatsApp FAQ page, to restore messages from local storage.

---
Tags: whatsapp-messenger
---


title: How to open Google PDF Viewer app?

text:
# Question
Title: How to open Google PDF Viewer app?
I can't find Google PDF Viewer app icon even though I have installed it from Google Play Store. How can I open it?

Also, I'm unable to close display green light on top of display screen.

# Answer
Google PDF Viewer doesn't have app icon.

However, when you're trying to open a PDF file from other apps (e.g. Download, or any file manager like ES File Explorer), it will be listed as one of possible app inside App Chooser dialog.
> 2 votes

# Answer
Google PDF Viewer is a triggered app. The only way to open it is using automation app or use Nova launcher, add a shortcut to activity on home to launch main activity of the Google PDF Viewer
> 0 votes

---
Tags: app-icons
---


# Question
Title: Can the Whatsapp icon appear and disappear from someone's contact?
I have this problem of my boyfriend's whatsapp icon appearing and disappearing on his contact. It doesn't seem honest to me that he says that he doesn't have whatsapp when I clearly see that during his working hours or at times he is not with me the icon is not there but on the afternoons or on weekends the icon dissapears. Is this possible?

# Answer
Yeah the contact apps have contact accounts. You can click options button and select contacts to display. Unmark WhatsApp as a contact source and it won't show up in contacts. Tried for my CM13 on Wileyfox Spark and it works fine
> 1 votes

# Answer
The WhatsApp icon that appears in your contacts app when viewing his contact details, shows that he has WhatsApp.

This screenshot shows that the contact has WhatsApp, telegram, and the number is saved to my Google account.

There are two possibilities as to why this icon appears and disappears at times.

It's possible that he deletes his WhatsApp account and reactivates it every time (very unlikely that someone would go thru the pain every few days, but still possible)

The other possibility is that your WhatsApp app is a little unstable and therefore it's not sure if the number is still part of WhatsApp, or not.

I would suggest you simply press on the WhatsApp icon the next time you see it, and send him a WhatsApp message, that way you'll know for sure that he has it.
> 1 votes

---
Tags: whatsapp-messenger
---


title: Does WhatsApp duplicate media files?

text:
# Question
Title: Does WhatsApp duplicate media files?
Whenever I receive or send a media file via WhatsApp, it is stored in `WhatsApp/Media/`.

**Is it ever stored anywhere else as well? (perhaps depending on configuration of WhatsApp)**

I want each WhatsApp chat media file and document to be stored only once in the whole directory structure (for a cleaner administration, and to save space). I am not referring to the same file sent/received many times.

Following instructions in https://www.whatsapp.com/faq/en/android/30031687, I placed a `.nomedia` file in each of the directories in `WhatsApp/Media/` (`WhatsApp Images`, etc.), and in the respective `Sent` subdriectories. With that, they do not show up anymore in the Gallery, so this suggests that the answer to my question is No.

# Answer
> 1 votes
Whatsapp is using peer to peer networks and hence its duplicating files to ensure its availability even though its deleted for one user. But its a bad concept and it junks your mobile. A mapping method should be used to avoid duplication.

# Answer
> 0 votes
The way WhatsApp is programmed, you will create multiple files of the same media file every time you send it to a new user.

.nomedia file in android just makes sure that the folders (and it's subfolders) are not SEEN in the gallery app. Doesn't at all mean they aren't being created at all.

I am afraid there is nothing you can do to STOP multiple files of the same media from creating when you send the same media file to multiple people.

---
Tags: whatsapp-messenger, storage, media-files
---


# Question
Title: Galaxy note 8 battery drain with mobile data
I've confirmed that battery drain issue in my Note 8 is because of mobile data and hotspot. I have evidence.

Here is battery usage with mobile data and hotspot ON. AOD was OFF

As you can see it shows battery usage over 7 hours going from 100% to 35%.

Here is the usage of screen. As you can see it was only on for 2 hours. As I said always on screen is disabled. That leaves 7-2= 5 hours of screen being OFF

Now here is 4 hours battery usage going from 100% to 95%. Screen was on only for half hour but mobile data was also OFF. That means my mobile data is literally draining as near as display. That's a huge amount of battery getting wasted. Any ideas? What should I do?

My note 8 is only 2 weeks old but ive confirmed and its original. Only mobile data seems to be doing bad job (battery charges fast and seems good)

I mean even if LTE consumes high battery it should not consume as much as display.

What is the logic here?

# Answer
> 1 votes
To be fair, I think this should be the expected result considering the device is using **a lot of resources which are mostly power (CPU) hungry**.

* When using mobile data and additionally have mobile hotspot activated, you essentially utilising two communication radios (4g and WLAN) which themselves require considerable power.
* It is mostly like there are some services running in background when there is an active internet connection. (e.g sync, silent updates etc)
* This power we are talking about is coming from the battery hence it becomes very hot, just a symptom indicating it's "working very hard" to supply power to the device' resources and consequently a heavy battery drain is inevitable.
* Although screen is considered to cause a high battery drain when the device is idle, its certainly not the case the the device is active and using its other hardware.

You may want to further analyse the batter statistics with other third-party tools from playstore (e.g battery drain analyser)

Also try to regulate the up-time of your mobile hotspot, to minimise battery usage.

---
Tags: samsung, battery, battery-life, mobile-data, samsung-galaxy-note-8
---


# Question
Title: Shortcut to a specific folder using the "My Files" file manager
I have a non-rooted Samsung Galaxy A3 with Android 5. I have an app icon on the desktop for "My Files" app, but how is it possible to create a shortcut for `SD card\books\` on the desktop?

# Answer
> 3 votes
My bad, in fact the app My Files has this option already:

# Answer
> 2 votes
It's just a matter of your file manager allowing you to create shortcut to a folder.

~~Seems that the default file manager of Samsung(My Files) doesn't provide that feature.~~

Just go for another file manager such as MK Explorer. In the options next to a folder name, you can find `create shortcut`. That will do the job.

This shortcut will persist even if you uninstall the file manager that created it.

---
Tags: samsung, file-system, files, home-screen-shortcuts
---


title: HTTPS websites slow on Phone

text:
# Question
Title: HTTPS websites slow on Phone
I am trying to investigate why our Phones are experiencing slow browsing to HTTPS sites.

It happens only the first time after the phone in question has been locked for a couple of minutes or more. So when browsing to a https site after unlocking it, it takes over 1 minute. Then, suddenly everything works until the next time we lock the phone screen and leave it for a while.

We are on my company wifi, and it is only happening there it seems.

I have tried everything when it comes to the router, and it is not an ISP fault.

Tried to use packetcapture app while connecting to a https site after unlocking phone, seems to be port 443 used by the https websites.

If I open for example BBC.COM (which seems to use a non secure port 80) it works fast and normal.

Any ideas?

BTW: Traceroute and Pinging shows great results to the https sites, and download speeds are great as well. Happens only on browsers (Both chrome and Stock samsung browsers).

Thx

# Answer
You may need to update your device. If you have already updated your device, you may have downloaded a bad update. Unfortunately, this happened to me too. After i downloaded my update, my phone kept on freezing on the facebook market place. Sprint suggested that i just bring my device to the store. Hope this was helpful.
> 0 votes

---
Tags: networking, wi-fi, https
---


# Question
Title: Is there a way to enable Hotspot when connected to a specific Bluetooth source?
I'd like to enable hotspot when my phone connects to the bluetooth in my car (basically turn it on when I start my car).

It would be nice if there was a way to do this in Android 8.0 (Pixel XL), but i'll assume that isn't possible.

Couldn't find a way to do it in IFTTT. Is there another third party app that will let me do this?

I'm not against coding my own script to do this, but I get the feeling that attempting this on a non-rooted device will be quite difficult (if not impossible).

Any suggestions are appreciated!

# Answer
You can use Tasker to accomplish this

**Profile (or Trigger)**

Create a Profile which allows triggering of the Tasker upon bluetooth connection:

* Go to Profiles Tab and click the "+"
* State ➡ Net ➡ BT Connected \[Name : *Name of your car BT*, Address: *MAC of your Car BT*)
* Tap back to exit from this window

**Task**

You will notice as soon exit, you will be prompted to link this to a Task

* Scroll all the way up the Task list select "New Task + "
* You can name this Task *AutoTethering* or anything or leave optionally as anonymous task.
* Click "+" to add new Action
* Net ➡ WiFi Tether (Set On)

*Explanation: When Tasker detects the device is connected to another device(car) via bluetooth, it will run a task that activates wi-fi tether.*

This should work cheers.
> 3 votes

---
Tags: bluetooth, wifi-hotspot, 8.0-oreo
---


title: Contact sync with android Yahoo app

text:
# Question
Title: Contact sync with android Yahoo app
I have email contacts in my Yahoo mail app that were deleted from the web version (I haven't synced with the web version) If I do sync will I loose the contacts from my phone (I dont want to loose them)

# Answer
It really depends where the contacts are stored. If they are stored in your phone, then even if you sync, they will not get deleted, but if they are stored on your Yahoo account, then as soon as you sync, they will all disappear.

To check where they are stored, go into your regular contacts app and find a contact that also has an email address with Yahoo. If under the contact, where it says connected via, there is just the Yahoo logo, that means that the contact is there through the Yahoo account, and therefore it will be deleted as soon as you sync your contacts, but if it has a Sim card icon or a phone icon, then it means that it is saved in your phone/Sim and will not be deleted.

In this screenshot, in the place where you see the Sim card icon, that's where you should look for the Yahoo icon.
> 0 votes

---
Tags: yahoo-mail
---


title: lineage OS encrypt phone --> bootloop

text:
# Question
Title: lineage OS encrypt phone --> bootloop
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))?

# Answer
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).
> 3 votes

# Answer
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.
> 6 votes

# Answer
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
> 2 votes

# Answer
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.
> 0 votes

---
Tags: encryption, twrp, lineageos
---


# Question
Title: Show a dictionary when long-pressing a word
I have a Kindle app. My favorite thing about it is that I can long-press any word and a dictionary pops up for me.

I am wondering if there's an app that does that for my phone. So if I'm reading a research paper or something, I can use the same feature across all mediums of news and reading.

I've looked around and found lots of apps for dictionaries, but I want an interactive one.

Does anyone know if that exists?

# Answer
> 0 votes
There is an app-Flying Dictionary on the Play Store which does the same things that are your needs. It works similar to the Kindle feature. Go try it out!

---
Tags: dictionary
---


# Question
Title: How can I copy photo caption in Whatsapp?
How can I copy photo caption in Whatsapp?

I tried to copy photo caption but it not able to select text.

# Answer
> 5 votes
> Yes you can, but not forwarding but using sharing option.
>
> If you received a message with captions OR you sent an image with caption and you want to share/forward the same message with multiple contacts, then
>
> **Select the image with caption -\> Press Share (instead of forward) -\> Choose Contacts**
>
> Voila! You can now share image with captions :)

Source : How can I forward an image with captions in WhatsApp?

**UPDATE**

Follow these steps for sharing a media with captions.

1. Select the media with caption
2. Click on vertical triple dot icon on top right corner
3. It will open a menu and it will have a share menu item
4. Clicking on share menu item will show the list of apps
5. Select WhatsApp and then choose the contact to whom the media is to be set with caption (refer below given screenshot).

# Answer
> 1 votes
Universal Copy does that

> Copy text from any application: Facebook, Twitter, Instagram, Youtube, Tumblr, News Republic...

(also works with WhatsApp)

If you are on Marshmallow , make sure you give the app Priority notification access so that it shows in your notification bar and can be activated by tapping app icon

---
Tags: whatsapp-messenger
---


# Question
Title: How can I wipe my Samsung galaxy S5 completely before selling it?
I has a Samsung Galaxy S5 and now i want to sell it to others.This phone takes many my private information. How can i delete them all and ensure that no one can restore it?

# Answer
> 0 votes
You can try factory reset first, after that using some random data to over-written. If you worry about that it can be completely over-written. Try some eraser software, which will help users to clean up the exist data and the deleted data together.

---
Tags: samsung
---


title: Bootloop on Honor 8

text:
# Question
Title: Bootloop on Honor 8
I just installed TWRP and rooted my phone and tried installing Leanage OS on my Honor 8. Everything was working well after flashing TWRP and rooting the device and I could boot to the OS.

However, once I tried installing the custom ROM, everything locked and I got stuck in a boot loop. I'm sure I've done everything correctly as I have done this before on a Samsung device without problems. I tried doing an advanced wipe for everything and trying the OS again, I also tried downloading the stock ROM which didn't work because it was not the flashable zip and I'm having trouble finding one.

I tried Huawei's erecovery option but it didn't work because the recovery was unable to fetch the package (probably because Huawei moved the packages to a different link). While booting I see a warning saying that the device has been unlocked and can't be trusted and provides a link to visit (http://zh.ui.vmall.com/emotiondownload.php?mod=restore) but the link redirects me to emui.com with nothing helpful.

I have been unsuccessful in trying other ROMs because I cannot find any to download for the US version of my phone. Any ideas on what I could do?

# Answer
> 1 votes
Since you have a the stock ROM you should do this:

1. From TWRP press Advanced
2. Reboot bootloader
3. At Fastboot mode now
4. Connect to a Windows Computer. Assuming the computer has Minimal adb and fastboot and you already have the Universal USB drivers installed on it
5. On the computer extract the ROM to the folder, C:\ProgramFiles\Minimal ADB And Fastboot
6. Back to the App Minimal ADB that you have just installed and write these codes:

fastboot oem unlock
7. Authorize bootloader unlock from device then continue codes:

fastboot flash boot boot.img

fastboot flash system system.img

fastboot flash recovery recovery.img

fastboot flash cache cache.img

fastboot flash data user-data.img

fastboot reboot

The device will eventually come up again running stock ROM. But incase you want to use TWRP, Download another custom ROM and flash it via install option in TWRP after wiping the cache, data, dalvik-cache, system and it will boot running the ROM you downloaded. To me it seems the ROM you downloaded isn't compatible to your device.

Alternatively. If the device Supports SP Flash Tool. Read a guide on how to use it to flash stock ROM. Like here: I have two Stock US ROM's here based on your build number. Select one and I'll give you the link to it: This  located here and this  located here

Waiting to hear from you @Lucas

Some things you need to know though about a custom ROM, if really designed for your model, it must boot since it comes with it's own boot.img that prepares and boots the entire accompanied files. So non-booting is a sure sign of invalid ROM if you installed it the right way.

---
Tags: boot-loop, huawei, emui
---


# Question
Title: "device unauthorized" message when trying to use ADB, but can't boot device to confirm authorization
I managed to get stuck in a boot loop after installing the Chainfire 3D driver on a Samsung Galaxy Tab 3.

I can boot into the recovery mode (and download mode) but when I try to establish a connection using `adb shell`, it says:

> error: device unauthorized. Please check the confirmation dialog on your device.

Of course, I cannot boot my device to confirm authorization.

How can I use ADB without first being authorized?

# Answer
> 0 votes
Boot into recovery mode, and connect your device to your computer; then mount your device's internal memory/SD card and download the corresponding firmware for your device (ensuring that you have the **correct firmware, or you will brick your device!**).

After this, flash the firmware via the recovery, bearing in mind that it will wipe the current version of Android from the device. Samsung devices are usually very good, as they keep personal data such as music and photos separate from the system partition, and so your personal data should remain intact. With this in mind, **attempt to back-up your device first (your recovery function may have the ability to do this)**.

Try and establish a connection with ADB using the ramdump mode (usually Volume Down+Power+Home), and it may work. Otherwise, ADB requires a fully functioning device to work (for security reasons).

Before installing something that modifies the way your device works (such as Chainfire's mods, Beats' sound driver, etc), **always back-up your device first!** Only you can be blamed for not taking a backup before you installed the mod.

# Answer
> 0 votes
You can't authorize adb. But anyway from recovery only the type of adb available is adb sideload. Sideload official OTA package or Flash the phone using ODIN if you want to ever boot it again. And where was adb shell anyway? Since adb shell works on a totally boot device or without using computer while on TWRP Terminal?

# Answer
> -2 votes
boot into downloading mode connect with odin and install new rom from sammobile (find your firmware)

---
Tags: adb, samsung, boot-loop
---


# Question
Title: Is it possible to root my phone without installing a custom ROM?
I have a Samsung Galaxy Stellar on Verizon.

Whenever I hear anything about rooting a phone, people always say that you have to install a custom ROM. How do I just use my current stock ROM and root my phone?

# Answer
In theory - yes.

In practice, it varies from device to device - a very common way of an end-user obtaining root is to flash an insecure kernel. This can be a standalone kernel or a pre-rooted kernel + ROM combination. For certain devices, there are also available a number of 3rd party "one-click rooting" apps.

That being said, rooting *might* cause your device to be unusable (if not done correctly or something unexpected occurs), so read the instructions carefully before proceeding and ALWAYS backup your data to an external source like Dropbox or to your PC before you begin.

Here's a link (unverified) on how to root your Verizon Stellar.
> 5 votes

# Answer
## Short answer

That very much depends on your device, as the rooting process often is device specific. Following up to the rooting tag wiki will give you some basic info, and also provide a link to our rooting index, which might even already include a link for your device.

## TL;DR

Basically, rooting just means to push a binary (`su`) and a helper app (SuperUser/SuperUser or SuperSU) to the system partition. So as Compro01 wrote in his comment on your question, you're "customizing your ROM" somehow.

On most devices that's all you need, though how that's accomplished is a different thing, as it's a little chicken-and-egg: You want to gain root permissions on your device – and for that, you first have to push those two files to `/system`, which only can be done with root permissions. So in most cases, this requires some "hacking", which is what Sparx refers to in his answer *might cause your device to be unusable*. I rooted several devices already, and when sticking to the instructions the device should not become "unusable" (though I admit there might be *rare cases*). I had it once a device became *instable* (apps crashing, device rebooting itself multiple times a day), but that was easily cured by a factory reset.
> 7 votes

# Answer
The answer is YES .

It is not mandatory for you to install custom ROM for rooting your device. ROOTING process is a actually YOU ARE GETTING ALL THE PRIVILEGES of your phone . So it is not necessary to install Custom ROM

Steps to Do Rooting :

1. Find root files for your Android Device on the internet(Every phone has a different root file ). Place it in your SDCARD
2. Reboot your phone in the boot loader mode.
3. Select file from the boot menu
4. Hit install.

I can help you in your rooting process if you tell me which device you are using.

here is an Unverified way to do it (Samsung Steller).
> 4 votes

# Answer
Kingoroot \- you can download it to your phone and root with one touch or onto Windows and root via usb, it requires no flashing so is safe and takes up to two minutes. I used it on my Samsung Galaxy phone and it worked fine (may need to do a couple of tries). It even installs super user (a root access manager) app for you.
> 1 votes

# Answer
Mainstream phones are easier to root since their source is well adopted. Less familiar phones can be harder to root. Why? When you're rooting, you're adding one functionality to the phone which is initialized at boot; that is to run the `SuperSU Daemon` which utilizes the `su` binary in coordination with the Kernel to work in providing elevated permissions over Read Only File Systems like the `/system`. How is this achieved? The *Kernel* has to be patched to be able to do this since that's another third party services being added. If a phone has an unpatchable `boot.img`. All these things might require installing a third party `boot.img` which still support the current system to be able to root. Failure to find a way to develop a `boot.img` that will support the system will require you to install a full *Custom ROM* to be able to do this. Remember the `kernel` is in the `boot.img` together with something they call the `ramdisk` that's why you should talk about `boot.img` if you're taking about *Kernel* in Android. It is either possible to root without *Custom ROM* or Impossible depending on your device
> 1 votes

---
Tags: rooting, stock-rom, samsung-stellar
---


# Question
Title: Is "save to dictionary" option from keyboard removed in Android 6.0.1?
I have a stock android. When I was running Android Lollipop, I had an option to type a word, long press on it, and an option would pop up above the keyboard to add that word to the dictionary.

Now I am running Marshmallow 6.0.1, and I can't seem to get that option, when I do a long press on a word, I get `CUT`, `COPY`, `SHARE` and `triple dots`, On clicking `triple-dots` I get `back arrow` and `TRANSLATE`.

How do I add word to dictionary from keyboard? I do not want the long cut `Settings-> Language & Input ->Personal dictionary->For all languages -> +`

# Answer
> 1 votes
I'm using Galaxy S6 Edge+ from AT&T. Just upgraded to 6.0.1 and DO NOT have a "Save to Dictionary" option.

# Answer
> 1 votes
I have a Galaxy 7 Edge on Sprint, Android 6.0.1 Marshmallow and had same problem. My fix was to go into Samsung Keyboard (there are no other keyboard choices by default) under Language and Input, and enable Predictive Text, Auto Check Spelling, Auto Replace etc. by choosing English. No language was selected before and these features were disabled. Now a dictionary is being used, and I can remove words from it. To add custom words manually type them, they get added to the dictionary and you can later Swype them and they are used instead of being auto corrected.

# Answer
> 0 votes
I found a work-around for not having the Personal Dictionary in Marshmallow.

1: Go to Language and Input

2: Go to Virtual Keyboard

3: Select your keyboard (mine is Samsung Keyboard)

4: Click on Predictive Text, not the On/Off toggle but there is an actual menu if you click on the wording

5: Click on Text shortcuts. This is where you can add your own shortcuts which will come up when your typing.

Hope this helps!

---
Tags: 6.0-marshmallow, dictionary, gboard
---


title: Booting android using 'fastboot boot'

text:
# Question
Title: Booting android using 'fastboot boot'
With my android device attached over USB, I entered the following commands:

```
adb pull /dev/block/by-name/boot ./boot.img
adb reboot bootloader
sudo fastboot boot ./boot.img

```

and I received this output from fastboot:

```
downloading 'boot.img'...
OKAY [  0.782s]
booting...

```

After this, nothing happens. I would expect the stock android system to boot on the device. I don't know where the boot process could have failed, since neither the device, nor fastboot is giving any useful output. My end goal would obviously be to boot modified images, but right now I can't even seem to be able to boot the stock one.

**Is this supposed to work generally? If yes, what are some reasons it could have failed? Are there ways to obtain additional useful debugging information?**

*(My device is a low cost Allwinner A31s based tablet, so I don't expect to find any device specific help on the internet. I can't even find the website of the manufacturer. `ro.product.model= Navon_Predator_7, ro.product.device= fiber-wt7028, ro.product.name= fiber_wt7028` \[I used `getprop` in the adb shell to obtain these values.\])*

The boot image does look like it's in the android mkbootimg format (here are the first few bytes):

```
00000000: 414e 4452 4f49 4421 a49f 8600 0080 0040  ANDROID!.......@
00000010: 5663 0d00 0000 0041 0000 0000 0000 f040  Vc.....A.......@
00000020: 0001 0040 0008 0000 0000 0000 0000 0000  ...@............
00000030: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000040: 636f 6e73 6f6c 653d 7474 7953 302c 3131  console=ttyS0,11
00000050: 3532 3030 2072 7720 696e 6974 3d2f 696e  5200 rw init=/in
00000060: 6974 206c 6f67 6c65 7665 6c3d 3420 766d  it loglevel=4 vm
00000070: 616c 6c6f 633d 3338 344d 2069 6f6e 5f72  alloc=384M ion_r
00000080: 6573 6572 7665 3d31 3238 4d00 0000 0000  eserve=128M.....

```

# Answer
> 1 votes
This does not exactly answer the original question, but since I managed to brick my bootloader in the meantime, this is what I ended up doing, and it might be useful for someone else in the future:

Allwinner SOCs have a built in Boot ROM, and it supports various modes, so these devices are virtually unbrickable. In particular, it supports a so called *FEL* mode (http://linux-sunxi.org/FEL) which can be used to boot the device over USB. I nice open-source tool has been written that can communicate with the device in this special mode (http://linux-sunxi.org/Sunxi-tools#sunxi-fel). Using this, you can boot your own bootloader. (And with that, you can boot your own kernel, etc.) The linux-sunxi.org website has very detailed instructions regarding Allwinner SoC devices, so I recommend that you check out their other articles as well.

---
Tags: boot, fastboot
---


title: What is com.android.documentsui

text:
# Question
Title: What is com.android.documentsui
This shows in my Google web activity. Does anyone know what this does?

# Answer
> 1 votes
A simple Google search answers that: it's a "file picker" introduced with Kitkat (Android 4.4) and since Lollipop (Android 5) the recommended default interfact for apps wishing to access files outside of their own storage area (i.e. to save data to your SD card). It ships with the Android system itself – so no worries, it's nothing malicious.

---
Tags: applications
---


title: Mail app never syncs automatically

text:
# Question
Title: Mail app never syncs automatically
Despite setting a sync schedule for my my account in the mail app, it has never performed a sync automatically. New mail is only ever fetched when I open the app, and pull down to refresh. When I open the app, the "Last synced" note also shows the time I last synced it myself, which might be a whole day ago.

Using the stock mail app on a Galaxy A5 2017, though this also happened on my Galaxy S6.

The account is using IMAP. I've tried deleting and re-adding the account and it doesn't help.

# Answer
What version of your Android.? Marshmallow? Then my suspect is doze mode are intercept everything when screen off in favour to save some juice (battery) to last little longer.
> 0 votes

---
Tags: email, stock-email-app, imap
---


# Question
Title: How do I answer phone on Honor 8 when screen is locked?
I'm sure it's easy, but I have no idea how to answer my phone when the screen is locked. There is a circle in the middle and a green phone on the left and a red phone on the right. No matter what I press, it rejects the call.

# Answer
If it's something similar to what I have in the screenshot, then all you have to do is drag the middle circle to the green phone icon. To hang up, drag the middle circle to the red icon.
> 1 votes

---
Tags: hardware
---


# Question
Title: When I click a link on my S8 Chrome browser the link opens elsewhere?
How do I make my S8 Chrome browser open links clicked within it, to open in it & not the Samsung browser?

# Answer
Your Samsung browser must have become the default browser for certain links. And therefore it always redirects you to that browser.

To stop that from happening go into your phone settings -\> apps -\> Samsung browser -\> set as default -\> clear defaults.

Now, the next time you press on a similar link, it will ask you which app you want to open it in, select the chrome browser as the default.

Sometimes chrome will force you to open links in an external app, for example YouTube will always open in it's app. To avoid that, you can open the link as a new tab, by long pressing on the link and selecting "open in New tab"
> 0 votes

---
Tags: samsung-galaxy-s-8
---


# Question
Title: what to do for VOLTE in India's jio network?
Actually my friend bought me a mobile from UK , its SAMSUNG J3(2016). But now i now need to use VOLTE in India in **Jio 4g** network, which is not available in the foreign made by default. Which firmware i need to use? Also please tell me how to do this?

# Answer
If you want to flash a new ROM then you should collect essential information from XDA forums about your device. Flashing a new ROM is a risky task so you must create a backup or something to fix your handset.

If you don't want to risk anything then use Jio4GVoice https://play.google.com/store/apps/details?id=com.jio.join&hl=en . You can Call, SMS, etc without a VoLTE enabled handset.
> 0 votes

# Answer
There are multiple variants of J3 (2016) on the market - the one designated for India is SM-J320F, so if that's the model you have on hand right now, flashing an Indian stock firmware from the linked page should make the phone behave exactly like it's purchased from India directly.

Do note that the one on sale officially in UK is SM-J320FN (mainly sold in Europe) which, despite the similarities, won't allow you to flash a J320F stock firmware on it directly.
> 0 votes

---
Tags: device-firmware, odin, samsung-galaxy-j3
---


# Question
Title: Disable auto correct in smart typing apk - without settings
I have a samsung - android 6- with no settings in it (yes I deleted it) .is there any apk where I can control the smart typing or auto correction (ON/OFF)?

# Answer
> -2 votes
Though I deleted the settings - for some reason :)- I installed Gboard & I think may be Swiftkey will work too & it worked after several trials. Thank you all.

---
Tags: apk
---


# Question
Title: Need for Secondary Contact Storage Space accessible only for CallerId
The contacts storage in android is pretty much standardised and is unified among all apps, and accessible depending on the permission level.

However, I need a way to store some contacts which should not be in the standard contact storage space, because it is accessible by all the messaging apps and there is no way to hide contacts from selectively appearing in them, other that deleting the contact.

But, deleting them altogether makes it difficult to identify them during an incoming call.

**So, I want to have a way to save contacts that can be avoided from being accessed by all apps, but I should be able to identify them on an incoming call.**

How can this be done? Any app or storing in csv file... Any suggestion please?

***Please note that any caller identification apps which are cloud based, is not the option I am looking for. I want to accomplish this for contacts I know and have saved only.***

# Answer
I came up with a solution for this myself. Instead of writing a complete android app, I found out that **Automate** itself has SQLite function blocks. So I just wrote a flow to accomplish this and it can be found at

http://llamalab.com/automate/community/flows/17889

**Preview of that flow:**

Preview of that flow (click to enlarge)
> 5 votes

# Answer
You can store the contacts in .csv there's no problem by converting the default contact backup .vcf file or using applications like contacts to excel. But you know contacts are entities which need fast processing, they are buffered from the /cache partition. Simply because that is a fast memory than EMMC, FAT, exFAT etc. All apps read them from there. There's no algorithm that will ever read the contacts from your /sdcard partition where I'm sure your .csv file will exist. The Contacts app only views the contacts. Similarly how other apps are provided to them. One app called Contacts Provider is the one responsible for serving the stream of contacts from /cache. Since this is a system app it has app links and permissions systemwide. Unless you make it a user app by extracting it, its libraries and classes and recompile it to user app and set the app-links to apps you authorize but still it will be like denying contact access to other apps. So this is impossible.
> 1 votes

---
Tags: applications, contacts, permissions, instant-messaging
---


# Question
Title: What to do when you have low app space for Android 4.1 or up?
You may have already removed all possible apps that are not useful to you, But your Android phone still keeps saying **insufficient memory** and can't install anything because of low app space available. What will you do?

# Answer
> 1 votes
I will show you two methods to free up app's space. I personally like Method 2 more because, it gives more freedom in choosing what to delete and what not to.

**Method 1: Clear cached Data**

* Go to Settings \> Storage \> Clear cached data (for all)

**Method 2: Using Storage Analyzer & Disk Usage app (Requires Android 4.1 or up)**

1. If you can't install anything from the start, I suggest to first uninstall apps that doesn't necessarily contain essential app data--one that you don't mind losing data for when you uninstall it, e.g., Facebook and Messenger apps (uninstalling any of them is actually enough). The app is only about 4 MB in size.
2. Install Storage Analyzer & Disk Usage app
3. Open the app called **Drives** (this is the app's name in my phone).
4. Wait for it to finish its scanning.
5. Go to the **DEVICE'S STORAGES** tab.
6. Click **Applications**, then wait for it to finish it’s scan.
7. Go to **FILE CATEGORIES** tab and delete all deletable stuffs except stuffs of the same type of App data.
    * **App cache** is usually what you want to delete.
    * **App apk** is usually undeletable, but it's just all the app apks you downloaded from the first time you got the cellphone, so it would be good if you are able to delete this. (As an aside, you can also comment to this answer how will I be able to do that).
    * I repeat, DO NOT DELETE **App data** or other folders of the same type because they're your app data.
    * **Note:** If you are able to delete a folder or a file, that file will be immediately deleted, no questions asked. **So be careful.**
8. Reinstall the apps you installed in the first step.

---
Tags: internal-storage, insufficient-memory
---


# Question
Title: Android phone connects to Airties only when phone or Airties is newly booted
I just got a new ISP, and they set me up with AirTies as a wireless AP for my network (the actual router is some beast that lives behind a networking panel in my condo).

Problem is whenever I get home from work my phone refuses to connect to the network. It doesn't give an error message anywhere I can see (are their connection logs somewhere?) it looks like it tries to connect once (briefly says "connecting..." and the signal indicator suddenly reduces momentarily, before it returns to the simple non-connected state and the signal indicator is full again), and then it just stops and even though the network is listed with a strong connection in the wifi list it doesn't try to connect to it further. I have tried "forgetting" the network and reconnecting and it still fails in the same fashion (although it does ask for a password).

The REALLY strange thing is if I restart my phone it connects to the network briefly (gets through "connecting...", "authentication", "obtaining ip address...", and some other process that happens too fast), but is disconnected within 5-10 seconds. If I restart the AirTies I can connect to it for a while at least (I haven't tested this for an extended session, but at least an hour or two).

My phone has no issue connecting to another network (E.g., the one I have at work, connects with no issues and without prompting), and none of my other devices (currently only one) have trouble connecting to the wifi.

Any thoughts on how I can further diagnose this issue?

Running a Nexus 5 (2013) with the latest available android OS for it (6.0.1) and security patches.

# Answer
> 0 votes
So I happened to read about a long standing issue where I would need to reset my phone entirely in order to fix a similar networking issue.. however it was such a pain to move all my Google 2fa tokens over. I decided if I was going to commit I will just take this opportunity to get a new phone entirely.

Since my new phone I have had no issues with the airties.

In summary: Factory reset your phone or get a new phone. I love Android to bits but this really needs to be looked into.

---
Tags: wi-fi
---


title: Can Hike Messenger steal WhatsApp data?

text:
# Question
Title: Can Hike Messenger steal WhatsApp data?
As per the new update of Hike messenger, it gives a reward up to **₹10000** for making your friend join Hike. To do this, Hike asks for accessibility permission. And when you refer a friend or a group, all messages start showing in Hike. So now I guess Hike can read all WhatsApp text messages and media shared.

But the problem is that after getting accessibility permission, it can read all the notifications, even OTPs of our transaction. So how can I assure my security and privacy? Is it a big concern or am I missing something with their terms and condition?

# Answer
> 1 votes
> The problem is that after getting accessibility permission, it can read all the notifications, even OTPs of our transaction. So how can I assure my security and privacy?

Turn off **SMS, NOTIFICATION ACCESS** permissions to that app.

---
Tags: security, whatsapp-messenger, privacy, accessibility, hike-messenger
---


title: WhatsApp: incremental backup possible?

text:
# Question
Title: WhatsApp: incremental backup possible?
I share my phone at home and I know sometimes some of my WhatsApp messages are deleted from my chat history. Sometimes I end up dieting some videos from WhatsApp myself due to lack of space on the device. I would like to know whether it is possible to perform an incremental backup to Google Drive, so that I can restore a video or part of a chat from any date in case I decide to delete it locally and the standard WhatsApp backup to Google Drive deletes this part. Thanks.

# Answer
WhatsApp backup on Google Drive is *incremental* as you can read in WhatsApp FAQ

But you can't *restore a video or part of a chat from any date in case I decide to delete it locally.....*,that's not possible and you would need to restore in full not selectively by date or content
> 1 votes

---
Tags: whatsapp-messenger
---


# Question
Title: FASTBOOT commands don't work at all on my Samsung phone
I did every things. installing all USB driver. my phone driver. ADB driver. enabling USB debugging. every thing. but still i have problem with fastboot commands. like if i type : `fastboot devices`. it tell me waiting for any device . every thing is work perfectly in adb commands like `adb devices`, but not fastboot. i also installed SDK and google drivers.

I wanna install a custom recovery (twrp) to back up my EFS folder and then root it and then install custom rom :) . but at the first level i got stuck and i cant install the custom recovery. i can do any command like `adb reboot download` but in downloading mode i cant use fastboot command as `fastboot flash recovery`. after typing this fastboot command the next line it tells me that "waiting for any device".

# Answer
> 1 votes
Samsung devices have no fastboot mode. To install a custom recovery, flash a recovery image for your device with Odin/Heimdall.

Do note that although Odin can automatically reboot the phone after flashing, it will **not** automatically boot it into the recovery you just flashed. To boot into recovery, the moment Odin automatically reboots your phone, **immediately** hold the key combo to boot the device into recovery. On most Samsung devices it's VOL\_UP+HOME+POWER. You should see "recovery booting..." on the top-left of the screen, at which point you can release the keys. You will land in the custom recovery seconds after, from which you could proceed to backup `/efs` (using nandroid backup) or flash a custom ROM.

# Answer
> 0 votes
The only possible way to backup *EFS* partition on a non rooted *Samsung* is using *Odin* to flash *TWRP* which corresponds to your device and after that boot to recovery using key combo. *Power+Home+Volume^.* At recovery access *TWRP* *Terminal*. Copy the `/factory_init.rc` to `/sdcard`. Copy the file to your desktop and open it with *wordpad*. It should look something like this:

```
import /init.environ.rc
import init.fon.rc
import init.trustonic.rc
import init.nvdata.rc
import init.microtrust.rc
import factory_init.usb.rc

on early-init
    # Set init and its forked children's oom_adj.
    write /proc/1/oom_score_adj -1000

    # Set the security context of /adb_keys if present.
    restorecon /adb_keys

    start ueventd

    write /proc/bootprof "INIT: usr/eng build setting"

sysclktz 0

loglevel 5

# Backward compatibility
    symlink /system/etc /etc
    symlink /sys/kernel/debug /d

# Link /vendor to /system/vendor for devices without a vendor partition.
    symlink /system/vendor /vendor

# Create cgroup mount point for cpu accounting
    mkdir /acct
    mount cgroup none /acct cpuacct
    mkdir /acct/uid

    mkdir /system
    mkdir /data 0771 system system
    mkdir /cache 0770 system cache
    mkdir /config 0500 root root

# Mount staging areas for devices managed by vold
    # See storage config details at http://source.android.com/tech/storage/
    mkdir /mnt 0755 root system
    mount tmpfs tmpfs /mnt mode=0755,uid=0,gid=1000
    restorecon_recursive /mnt
    # Support legacy paths
    symlink /sdcard /mnt/sdcard

    mkdir /mnt/secure 0700 root root
    mkdir /mnt/secure/asec 0700 root root
    mkdir /mnt/asec 0755 root system
    mkdir /mnt/obb 0755 root system
    mkdir /mnt/media_rw 0750 root media_rw
    mkdir /mnt/user 0755 root root
    mkdir /mnt/user/0 0755 root root
    mkdir /mnt/expand 0771 system system

    # Storage views to support runtime permissions
    mkdir /storage 0755 root root
    mkdir /mnt/runtime 0700 root root
    mkdir /mnt/runtime/default 0755 root root
    mkdir /mnt/runtime/default/self 0755 root root
    mkdir /mnt/runtime/read 0755 root root
    mkdir /mnt/runtime/read/self 0755 root root
    mkdir /mnt/runtime/write 0755 root root
    mkdir /mnt/runtime/write/self 0755 root root

    # Symlink to keep legacy apps working in multi-user world
    symlink /storage/self/primary /sdcard
    symlink /mnt/user/0/primary /mnt/runtime/default/self/primary

    write /proc/sys/kernel/panic_on_oops 1
    write /proc/sys/kernel/hung_task_timeout_secs 0
    write /proc/cpu/alignment 4
    write /proc/sys/kernel/sched_latency_ns 10000000
    write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000
    write /proc/sys/kernel/sched_compat_yield 1
    write /proc/sys/kernel/sched_child_runs_first 0

#INTERNAL_START
# Temp Backward compatibility
    symlink /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/boot /dev/bootimg
    symlink /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/recovery /dev/recovery
    symlink /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/secro  /dev/sec_ro
    symlink /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/kb /dev/kb
    symlink /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/dkb /dev/dkb
    symlink /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/seccfg /dev/seccfg
    symlink /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/proinfo /dev/pro_info
    symlink /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/nvram /dev/nvram
    symlink /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/para /dev/misc
    symlink /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/logo /dev/logo
    #create mountpoint for persist partition
    mkdir /persist 0771 system system
#Create nvdata mount point
    mkdir /nvdata 0771 system system
#INTERNAL_END

    # Healthd can trigger a full boot from charger mode by signaling this
    # property when the power button is held.
    on property:sys.boot_from_charger_mode=1
    class_stop charger
    trigger late-init

    # Load properties from /system/ + /factory after fs mount.
    on load_all_props_action
    load_all_props

    # Mount filesystems and start core system services.
    on late-init
    trigger early-fs
    trigger fs
    trigger post-fs
    trigger post-fs-data

    # Load properties from /system/ + /factory after fs mount. Place
    # this in another action so that the load will be scheduled after the prior
    # issued fs triggers have completed.
    trigger load_all_props_action

    trigger early-boot
    trigger boot

on fs
#INTERNAL_START
    write /proc/bootprof "INIT:Mount_START"
    mount_all /fstab.mt6735
    write /proc/bootprof "INIT:Mount_END"
#INTERNAL_END

```

Take note of codes at Internal start. The blocks that hold system images. For example mine uses nvram for IMEI but if it could have been a Samsund device the EFS location could be here:

```
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/efs

```

And back to phone's terminal and write:

```
adb shell
su
dd if /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/efs of /sdcard/efs.img

```

Here you could have managed to backup the efs at /sdcard. Writing back the efs to phone will be the opposite.

```
dd if /sdcard/efs.img of /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/efs

```

But if it's a rooted device, just download terminal app and run the codes right away:

If it helped just never forget to let me know

---
Tags: samsung, fastboot
---


# Question
Title: How do I get Google Home Mini to play Apple Music?
My boyfriend recently got me a Google pixel 2 but all of our music is on Apple Music. I downloaded the Apple Music app onto my pixel and have been listening to our music through the app. The free Google home mini just arrived and I need help figuring out how to play Apple Music through the Google Mini. Eventually I will get my music on Google Play but I am teaching a yoga class tomorrow and don't have time to figure how to switch my playlist over.

# Answer
> 0 votes
I actually found a way! If I connect my phone and the mini solely using Bluetooth then it plays YouTube videos and Apple Music.

---
Tags: apple-music
---


# Question
Title: Boot animation upside down after new ROM
I have a **Wileyfox Spark**, for lovers of it, you surely know it comes with **CyanogenMod13** **OS** as it's stock. But you know very well how one might want a more decent **Nougat** or **Oreo** based **CM14** or **CM15** or even **AOSP7.x.x**. I have all the ROMs I need in the device and a ready **TWRP 3.2.0**, a full backup of the stock images from **boot.img** to **userdata.img**. Installing the new ROMs work fine despite the fact that on any **custom OS** I have tried, the device boot's up with the boot animation **180° rotated**. This continues to bootup and it only returns normal if I turn display off and on. Flashing the **stock boot.img** solves the issue of rotation but since the ROM isn't stock, it just **Bootloops** infinitely. I'm not a **Kernel developer** and neither do I have enough knowledge on how to do. I suggest somebody with a **workaround** for this issue. I don't like the **stock OS** which I'm forced to return to.

# Answer
If you can bear with having to turn screen off/on once the device had booted up, and just want the bootanimation to look normal, that's quite easy - just edit the bootanimation itself to make it upside-down.

* Grab and extract `/system/media/bootanimation.zip`.
* Rotate every extracted image by 180 degrees.
* Recompress the extracted files, keep the structure (compare with the original if necessary), and choose "storage" when asked about compression level (any actual compression will prevent Android from reading the file).
* Place the modified file back to where it was and set proper permissions.
> 1 votes

---
Tags: cyanogenmod, rom-flashing, custom-roms, bugs, debug
---


title: Can fastboot be used to backup device?

text:
# Question
Title: Can fastboot be used to backup device?
Many people say that `fastboot` can be used to flash an image on one of the partitions.

Is the reverse also possible, that is to take a binary snapshot and store it as a zip file containing the exact binary representation of the partition to be backed up?

*The reason I ask this is* backup has two steps.

1. Take an image/snapshot and store it in the backup location (backup), and
2. Replacing the image/snapshot with the one from the backup location (restore)

To me, it seems that fastboot is only doing (1), while being able to write to the Android's internal flash (in binary "`dd`"-style) seems it should also be able to read from the flash.

This way, nobody would need to organize and run another potentially not trustworthy ROM to do the reading job.

# Answer
> 30 votes
If you check with our tag-wiki, and follow up the link to the List of fastboot commands, you will see the answer is NO. Fastboot only has commands to *write to* the device. A few exceptions include:

* making sure there *is* a device at all, using `fastboot devices`
* some OEM specific commands to read configuration values (`fastboot oem <option>` – note that all those, except for `oem lock`/`oem unlock`, options start with `INFO`?)
* several bootloader specific commands
* rebooting the device after "work done" (`fastboot reboot` / `fastboot reboot-bootloader`)

From the CyanogenMod Fastboot Intro, emphasis mine:

> fastboot is a small tool that comes with the Android SDK (software developer kit) that can be used to re-flash partitions on your device. It is an alternative to the recovery mode ***for doing installations and updates.***

Wikipedia describes fastboot as *a diagnostic protocol included with the SDK package used primarily to **modify the flash filesystem** via a USB connection from host computer.* (again, emphasis mine).

No source speaks about backing up partitions (or data) *from* the device.

**Update:** newer SDKs added `fastboot fetch PARTITION OUT_FILE`, so backing up partitions should be possible. However, I didn't yet encounter a device supporting that – plus you'd need to know the names of partitions in advance (I didn't see any fastboot command to list existing partitions).

# Answer
> 24 votes
We can temporarily load a custom recovery

```
fastboot boot <kernel> [<ramdisk>]

```

then backup system partitions.

---
Tags: backup, fastboot
---


title: Path for bash in Android termux

text:
# Question
Title: Path for bash in Android termux
Regular paths for bash do not work in termux app. I tried: /usr/bin/bash and /bin/bash Also 'whereis' command gives the following output: $ whereis bash bash: /data/data/com.termux/files/usr/bin/bash But this path also is not correct. So, I have to run every bash script with the word 'bash' before it. And cannot run bash scripts without it.

# Answer
If `myscript.sh` is not in your `$PATH`, you need to run it by its path, not its basename. Assuming you're in the same directory as the script, run

```
./myscript.sh

```

Note the leading `./`
> 3 votes

# Answer
In September 2017 the maintainer of Termux released a package `termux-exec`, which wraps up `execve(2)` so that files that has a shebang line like `#!/bin/sh` or `#!/usr/bin/env` will run correctly in Termux. Just run

```
pkg install termux-exec

```

and restart Termux (or open a new session). You'll now be able to run `#!/bin/sh` scripts.

The previous solution was as following:

> Termux provides a handy utility
>
> ```
> termux-fix-shebang
>
> ```
>
> Whose description reads:
>
> > Rewrite shebangs in specified files for running under Termux, which is done by rewriting `#!*/bin/binary` to `#!$PREFIX/bin/binary`.
>
> Just apply it to the scripts you wish to run. It does what its name suggests: fix the shebang line `#!/xxx` of your script files. It can **also** fix other scripts like Perl or Python.

Also note that by default your working directory is not in `$PATH`, so you cannot directly type `myscript.sh`, but instead

```
./myscript.sh
^~

```

... or explicitly specify an interpreter shell (in which case you don't need the directory prefix):

```
bash myscript.sh
^~~~

```
> 3 votes

# Answer
Install `termux-exec`. It's a new utility that should resolve your $PATH issue. Termux-exec allows you to execute scripts with shebangs for traditional Unix file structures. See https://wiki.termux.com/wiki/Termux-exec for more information.
> 3 votes

---
Tags: termux
---


title: Termux write to SD card

text:
# Question
Title: Termux write to SD card
Android 5

Termux 0.54

Not rooted, no wish to

```
$ pwd
/storage/sdcard1
$ id
uid=10096(u0_a96) gid=10096(u0_a96) groups=1015(sdcard_rw),1028(sdcard_r),3003(inet),9997(everybody),50096(all_a96)
$ ls -l python
total 0
$ ls -dl python
drwxrwx---    2 root     sdcard_r     32768 Sep 23 22:10 python

```

So according to permissions, I should be able to write to the python folder. But creating a file gives permission denied.

I have seen the platform.xml solution but can't edit the file.

I would like to write to card then easy to move card and files between machines.

Regards John

# Answer
Use `termux-setup-storage` to setup your storage. See https://wiki.termux.com/wiki/Termux-setup-storage for instructions and more information. Write data will be enabled in the Termux private folder on external storage through `~/storage/external` which is a link to `Android/data/com.termux/files/` on your external SD card.
> 6 votes

---
Tags: sd-card, permissions, termux
---


# Question
Title: Termux - How do I create a directory of files accessible outside of Termux?
I discovered that the files and directory that are created in (default) Termux, are not accessible to other apps on non-rooted phones.

Where is the folder that Termux defaults to?

How do I set it to use a folder / filespace that I can access through an app like ES File Explorer?

Or perhaps slightly differently, how in Termus would I change to, let's say, the default "Download" folder?

Cheers.

# Answer
> 30 votes
From within Termux itself, you can change the current directory to the internal storage, by means of

```
cd /storage/emulated/0

```

or

```
cd /sdcard

```

followed by enter. After that, create a new directory by using

```
mkdir Directory

```

and replace `Directory` with a name of your choice. You'll then have a new directory in your device's internal storage, whose data you'll be able to access with any file manager.

---

## Notes concerning Marshmallow and above

If your device is running Android 6 or newer, you'll need to run the command

```
termux-setup-storage

```

from within Termux, and then accept the request to write to the storage, in order for Termux to be able to perform directory and file creation.

The `termux-setup-storage` command creates a new directory in your `$HOME` or `~/` directory named `storage`. This new directory contains a few symlinks to `/storage/emulated/0` listed below:

```
dcim -> /storage/emulated/0/DCIM
downloads -> /storage/emulated/0/Download
external-1 -> /storage/external_sd/Android/data/com.termux/files
movies -> /storage/emulated/0/Movies
music -> /storage/emulated/0/Music
pictures -> /storage/emulated/0/Pictures
shared -> /storage/emulated/0

```

Therefore, you can run the following commands to create `/storage/emulated/0/Directory` described above with a little less typing now:

```
cd ~/storage/shared
mkdir Directory

```

# Answer
> 1 votes
See https://wiki.termux.com/index.php?search=Storage for the newest information about using storage in Termux. https://wiki.termux.com/wiki/Termux-setup-storage is the prerequisite. Use it first. To share data see https://wiki.termux.com/wiki/Sharing\_Data for more information.

---
Tags: storage, terminal, termux
---


# Question
Title: Moving default folder Termux with content to downloads in Android 7
This is what I need; Termux - How do I create a directory of files accessible outside of Termux?

I have my Tiddlywiki running on node.js in Termux. My problem is that Termux stores all files in the default folder. This way I can not let Dropbox backup. Can someone help me moving the default folder (with content) to, for example, Downloads? Or what is the best directory in my case? I spent years working on my Wiki and I'm afraid of making mistakes.

Android 7 (Nougat)

I installed my Tiddlywiki to this example: http://tiddlywiki.com/static/Installing%2520TiddlyWiki%2520on%2520Node.js.html

# Answer
> 0 votes
See https://wiki.termux.com/index.php?search=Storage for the newest information about using storage in Termux. https://wiki.termux.com/wiki/Termux-setup-storage is the prerequisite. Use it first. To share data see https://wiki.termux.com/wiki/Sharing\_Data for more information. Save your data to external storage in `~/storage/external` which should be a link to `Android/data/com.termux/files` on your external SD card, and will be accessible from both Termux and Android.

---
Tags: samsung-galaxy-s7, termux
---


title: stop a previuos run of a task in tasker

text:
# Question
Title: stop a previuos run of a task in tasker
let's say i can a task called `my_task`. If i add a stop action and the beginning of the task:

```
stop my_task

```

`my_task` will stop inmediatly. What i want is, when `my_task` executes, it should check if it was already executing before, then stop that other instance of itself, and then continue with the rest of the task... Is it possible?

# Answer
> 2 votes
That's what Tasker offers by default: if a task is already running, either the new instance stops immediately (default IIRC) or the already running one gets stopped. Should be in the advanced setting of the task:

Tap the settings button (bottom right in the screenshot) to open this screen, then chose in the drop-down box for "Collision Handling":

* **Abort New Task:** The task won't be executed while another instance is already running
* **Abort Existing Task:** If there's already an instance running, abort that and run the new one
* **Run Both Together:** Let them collide, no matter how often

---
Tags: tasker
---


# Question
Title: Unable to re-install whatsapp on Asus mobile
While installing WhatsApp from Play Store, error message is displayed with error code 26.

# Answer
Here are some things to try:

**1.Restart your phone**

**2.Clear play store data:**

Go to *settings -\> apps -\> Google play store -\> storage -\> clear data.*

3.If that doesn't help, then **remove your Google account and then add it back again**

Go to settings -\> accounts -\> Google -\> example@Gmail.com -\> menu -\> remove account.

Then, add it back, and try installing the app. If you cannot remove the account, just add a new one instead
> 0 votes

---
Tags: installation, asus-zenfone-2
---


title: J5 2015 operating system

text:
# Question
Title: J5 2015 operating system
I had to factory reset my Samsung galaxy J5. While doing that it automatically upgraded my operating system/software.Can I restore old/previous one? Thanks

# Answer
> 0 votes
You can find your device firmware on XDA or SamMobile. Download it and flash via Odin. You'll find the tutorial in the source most likely

---
Tags: 4.4-kitkat
---


# Question
Title: Micro USB cables that only charge but no data, no mounting etc (Samsung Galaxy S)
Not all cables seem to be created equal but I've never got to the bottom of why so many (cheap) cables I try only charge - no data. Anyone know why? Certain pins not connecting?

I do know that longer cables or car to usb converters fail to transmit enough power for the phone to register and not charging but I'm getting the opposite. I don't think I am alone (same problem for Nexus One users here)

# Answer
> 10 votes
Broadly speaking, if you have a "USB" cable that only connects pins 1 & 4 then you will get power and no data (Best Buy was selling cables like that as Universal USB Charging Cables a while back, not sure if they still do). Likewise, if you have a cable with only 2 & 3, you will get data but no power. If you're curious, here's a Wikipedia page with the standard USB Pinout.

Note: Micro uses the same pinout as USB A.

# Answer
> 7 votes
As devnul3 says, a power-only cable is a USB cable where the data pins are not connected. The main reason they exist is because they can be made ever so slightly cheaper by virtue of only needing 2 connections instead of 4 (and also because you don't need to worry about preserving the quality of the very high frequency signals on the data lines).

This said, there are cases where a power-only cable is preferable to a "fully featured" USB cable: when you want to charge your device from some random USB connector somewhere. As is becoming more widely known, a USB connector can be used for many things besides the ones the user expects, so if you use a "normal" USB cable, you may end up unwittingly providing priviledged access to your device.

IOW when you're charging from a USB connector that you have no reason to trust, a power-only cable is not only ever-so-slightly cheaper, but it's also a bit safer.

# Answer
> 4 votes
Sorry to disagree with the other answers, but those assumptions are simply wrong:

1. To be compliant with Battery Charging Spec. or any other comparable charging mechanism, the data lines require certain voltages or a shortcut (e.g. BC with \<200 Ohms) to identify the charger type, i.e. the charger provides that signals - hence the data lines are required for the attached device to identify the charger.
2. Even if only data shall be transmitted, at least data lines and GND are required (see USB 2.0 Spec. Figure 7-19). Hence, is no good reason to keep the VCC line disconnected.
3. If the cable-connectors have the USB logo on them those cables HAVE to be compliant with USB standard, which in turn means that all pins have to be connected.

---
Tags: samsung-galaxy-s, usb, hardware, charging
---


# Question
Title: Disable Save As Pdf Option In Print Dialog
I would like to disable or remove the Save as PDF option on the following print screen, is it possible in anyway? A solution with MDM capabilities or programmatically is acceptable.

What i tried so far is,

* Checked for a solution on the Android Application Programming side but as far as i see it is not possible.
* Checked the list of applications installed on the device to identify if this feature comes with a "print-service" application such as Cannon's or HP's print service applications. But did not see an app something like "Save as PDF print service", also this feature is not listed in settings-\>print-settings-\>print-services.

# Answer
If you can get your hands on the source to rebuild the `/system/app/DocumentsUI/DocumentsUI.apk` and `/system/app/PrintSpooler/PrintSpooler.apk` since it relies on the first app, you can manage but any other way won't work for you
> 1 votes

---
Tags: pdf, printing
---


title: Menu from menu button disappeared?

text:
# Question
Title: Menu from menu button disappeared?
I would like to know why the menu button has been removed from Android in Android 6 and 7 mobile phones, hosting an apps button instead. Thanks.

(I remember long pressing the home button on Android 4 to get to the apps list.)

# Answer
Currently the recents panel rests there for easier multitasking. That's the aim of any computer developer since that makes it more productive
> 0 votes

---
Tags: menu
---


# Question
Title: app installed to /system/priv-app won't run
*Prerequisites*:

* a rooted Rockchip-based China tablet device running Android 6, patched to disable SystemUI
* own-developed app which declares LAUNCHER category and is intended to take full conrol of the device

*What am I trying to achieve:*

install the app as a system app to avoid handling SDK 23+ permissions

*What have I done so far:*

* installed the app regularly via Android Studio
* moved the app to /system/priv-app:

(root)

```
ls /data/app/my.package.name-1
 base.apk
 lib
 oat
mount -o rw,remount /system
mv /data/app/my.package.name-1 /system/priv-app/AppName
ls -la /system/priv-app/AppName
 -rw-r--r-- system   system    2464934 2017-12-08 11:32 base.apk
 drwxr-xr-x system   system            2017-12-08 11:32 lib
 drwxrwx--x system   install           2017-12-08 11:32 oat
reboot

```

*What is the problem?*

It seems the system is not aware the app exists: it does not run on boot (which it perfectly does when installed as a regular app) and I am unable to launch it manually:

```
root@rk312x:/ # am start -n my.package.name/.ui.MainActivity
Starting: Intent { cmp=my.package.name/.ui.MainActivity }
Error type 3
Error: Activity class {my.package.name/my.package.name.ui.MainActivity} does not exist.

```

What am I missing?

# Answer
> 3 votes
Changing the permissions to `-rw-r--r--` and owner as `root` followed by reboot should fix

But as OP pointed out signature issues need to be sorted out

# Answer
> 4 votes
Moving an application from one space to another on Marshmallow and more superior will almost always result in that. The best way use the `cp` command, after that delete the source. An application at data has it's own set permissions which persist to the system and though even if you change them, since there's no new instance of file creation, the system just doesn't take care to trigger preparation of the app. The best way is

```
cp /data/app/[package.name]-1/app-name.apk /system/app/[app-folder-name]/app-name.apk

```

Repeat this for the libs in the app folder to the app folder. The folder should look like:

APPNAME containing .apk and LIB folder LIB folder containing type of lib like ARM folder ARM folder with all libraries eg *libexample.so*

set permission of all folders to `chmod 0755` and all files to permission `chmod 0644`

They will work. To make life easier, stop using the shell commands. Look for a file manager to simplify your work but always remember of you're using TWRP or Terminal on a boot device always copy and delete source. Moving for many ROMs will actually lead to that

**NOTE: The *oat* folder in that folder at */data/app/package.name/* is of no use. Dalvik will create it's new *classes.dex* at */data/dalvik-cache* on install as system application**

---
Tags: 6.0-marshmallow, root-access, system-apps
---


# Question
Title: How can I lock my Gallery Vault on an external SD-card?
My Gallery Vault was saved on an external memory card. Now my phone is lost.

Can someone access my Gallery Vault which was on the external memory card?

# Answer
> 0 votes
Yes the files are in a hidden folder but a brilliant person can always get them by unhiding and renaming the photos to jpg. The app doesn't encrypt them. It just hides and renames... So there's nothing you can do to stop this other than hoping he formats the sd

---
Tags: external-sd, gallery-vault
---


# Question
Title: Samsung Galaxy Note 4 won't get out from recovery booting
I got a problem with my Samsung device and now I've no idea how to fix this, hope anyone want to help me in fixing this problem.

So this thing started yesterday when I just went in to Recovery Mode to "Wipe Partition Cache" and turn my phone off. 1)When I tried turning my phone on, it doesn't go to normal boot but it go to "recovery boot" I dont't know why, restarted, unplugged the battery and turned on my phone again but it won't make my phone get out from recovery boot.

2)Now I'm trying to flash my phone with Odin, when I tried to flash it says **"There is no PIT partition"**, **"There is no PIT Binary",** ***how to fix this ?*** I've tried to download and used the pit file but it didn't worked.

please help

# Answer
> 0 votes
You can only get out of this if you were on custom recovery where you shall look for the official boot.img of the phone and flash it into the recovery partition. There it will boot. If you're sure the boot partition is not damaged, you can use the dd command to extract it. In simple. Using TWRP Terminal:

```
dd if /dev/block/[msdcblockname]/by-name/boot of /sdcard/boot.img

```

This will dump boot.img at internalsd. Use it to flash the recovery partition. Note: the folder reffered to as *msdcblockname* above varies with device so research path to boot for your specific phone model.

But anyway if you're on stock recovery, either get a full OTA package that is made for full system update, not the incremental one ADHD flash it by apply update from sdcard or ensure the ROM you downloaded for Odin is specially for your device model and it has all items in it. Because Odin is the only hope you're left with

---
Tags: boot-loop, odin, samsung-galaxy-note-4
---


# Question
Title: Google Nexus 6P Stuck In Boot Mode on Google Screen
Is there a fix for the Google Nexus 6p Stuck In Boot Mode on Google Screen issue?

A couple days after I got an Android OTA update for Nougat from Google, the phone got switched off and it’s not switching on itself. When I try to start the phone, only the Google Logo appears for 5 seconds and then disappears and repeats the same.

The Google logo flashes as if to start up, going black and repeating. Have tried holding on/off for varying times – won’t turn on or off. Tried Reboot Reloader – starts flashing Google again Tried Recovery mode – starts flashing Google again. I have Taken the phone off the charger and I am Past the warranty period.

When I try:

* Turn off the phone
* Hold the volume down button and Power button simultaneously until the device switches on.
* You should see “Start” with an arrow
* Tap volume down twice and the power button to enter Recovery Mode
* Hold the power button then press and release the volume up button
* Use the volume buttons to select wipe data/factory reset
* Choose “Yes – erase all data” with the power button

I get an error

# Answer
The best way is to send it back for the repairs. Another alternative is to reinstall the OS although is a topic in itself (XDA Developers Forum is the best place to find an answer on how to do that for your version of OS).

I have the same issue with Nexus 5X which I sent for the repairs, less hassle.
> 1 votes

---
Tags: boot-loop, nexus-6p
---


# Question
Title: "Can't place call because this number is no longer registered on WhatsApp" when trying to call on WhatsApp
For the past several days, I can't make WhatsApp calls. When I try, I get a message saying:

> Can't place call because this number is no longer registered on WhatsApp

So, I go to my account settings, and in "Two step Verification" it says:

> For added security, enable two-step verification, which will require a PIN when registering your phone number with WhatsApp again.

So I guess I need to re-register my phone. But how? If I try "change number", it won't accept the same number, it has to be a different one. Except I don't have a different number to use. And I definitely do not want to delete my account.

What do I do?

Relevant Details:
**Phone:** Xiaomi Redmi 3S
**Android version:** 6.0.1 (MIUI build 8.5.4.0)
**WhatsApp version:** 2.17.427

# Answer
In the message:

> Can't place call because **this** number is no longer registered on WhatsApp

the word "this" means "the number you're trying to call", not "your own number".

Calling other numbers will work.

A belated thanks goes to @aBochur for drawing my attention in this direction.
> 1 votes

---
Tags: whatsapp-messenger
---


# Question
Title: Android LCD Broken, Screen Locked, Device Unauthorized
I have an Android device whose LCD is broken. The unit functions and receives call, messages and gives the usual audio notifications.

However, in order to synch back data, I need to access the main memory. However, the screen is locked via a pattern. ADB does see the device, but as unauthorised.

Also:

```
macbopr: adb shell rm /data/system/gesture.key
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.

```

How can I overcome this block?

# Answer
If you need to unlock the screen, you can use the `adb shell input` command.

This link is a script that you could modify. I haven't tried it myself, but it looks like it should work. You'll have to tweek it for your specific device, and enter in your password.
> 1 votes

---
Tags: lock-screens, broken-screen
---