text:
Chrome browser closed after receving a call
I started an online transaction on Chrome (under Jelly Bean). In between, I had a phone call and the browser closed automatically. It disconnected from the web sites, and I had to start the transaction again.
Is there any way to keep Chrome running in background and keep all the connections open?
This is really a big problem for now. I fear starting any online transactions on my Jelly Bean device.
Is there any other browser which will keep the connections open?
Google must have come across this issue.

This is probably because of the amount of RAM on the device you are using. It sounds like the system gave the RAM that was being used by Chrome to the phone app. It saw that Chrome was no longer the active app and the phone app was requesting more RAM so in order to free up the RAM it had to close Chrome.
If Chrome was using a majority of the system RAM, and a new app requested access to the RAM, the system needed to free some up.
Since you did not specify what device you have though, this is really only a guess.

It could be a cause, but IMO his device will not have less than 512MB RAM. I had Sony Xperia Mini with same RAM and had ICS and I used Chrome for long time on it and never get this kind if issue due to RAM on my device.

@avirk, My Galaxy S Vibrant would do this all the time which has 512MB.

Android has two mechanisms that claim memory back from the applications that you run.
One mechanism is called OOM and is an integral part of linux.  It activates only when the memory is really needed for something else.  A phone call would normally NOT trigger this mechanism.  Playing a game would, or copying large amounts of files from internal storage to SDCARD.
The other mechanism is native to android, and closes applications that have not recently been used.  The exact defintion of "recently" is a moving target.  It changes with every release of android, and also with the specific modifications that the manufacturer has made to it.  Only the application that is currently visible is always recent enough to not be killed under this mechanism, on every version of android.
Apparently on your system and phonecall is enough to trigger that.
You can try two things to avoid this to happen.  One is to switch back to Chrome while you talk on the phone.  Use the multitasking functionality of your phone to do that.  Chrome will then be the most recent app and android should respect that even during long calls.  Note that your call wont be killed either under the same mechanism, because it handles audible interaction, which also makes it a currently used app even when not visible.
The other thing to try is an app that I made.  Its originally designed to solve this very same problem for the Opera Mobile browser (now called Opera Classic).  Its flexible enough to let you use it with Chrome.  However I dont know if it really helps, your mileage may vary.  You can download it for free here: http://forum.xda-developers.com/showthread.php?t=2269810
There is also another aspect to your problem, namely memory management inside Chrome (not android).  I vaguely recall that Chrome can evict tabs from memory when you look at other tabs.  If that is true, the above tricks might only help you to keep Chrome itself alive but the previously loaded content may still be gone.  In this case, only a new improved version of Chrome can solve your problem, or switching to other browsers.
I know that Opera Classic does not evict single tabs from memory, neither does Opera Mini.  They either stay 100% in memory, or they are killed 100% at once. If you dont like those two, you may want to test other browsers specifically for this property and then apply one of the mentioned tricks to keep them always in memory.


text:
Can't select date in calendar and Gmail not coming to phone
My question is 2 fold:
First, when I go into calendar monthly view and hit say the 15h of the month...it won't pull up the info that day.  When I do a battery pull, it will work for a few hours then do the not working bit again.
Second, I have two emails going to my phone.  My personal Gmail and my work email that also used Gmail.  I have the work one set up as Priority but it only recieves about 1/16 of the emails that I get.
Any help for these issues would be great!  (I had currently upgraded to the Galaxy S2 LTE and didn't have these problems before with the Galaxy Nexium or whatever it was that I had...)

source: Stack Exchange

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/3.0/

sort: votes


text:
Mirror the Android Tablet Browser to Windows Browser
Is there any way I could mirror the default browser on Android 4.0+ to a web browser/emulator on my Windows PC? When I developed apps on native Android, there was a way through the IDE.
Can I accomplish this with the web browser also?

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/3.0/


text:
galaxy tab 2 usb issues
My new Galaxy Tab 2 can't connect to my PC via USB. When I plug it in my PC, it plays a tone. It means some new hardware has been connected. It appears in Kies as GT-P3113. But when I mouse-over it, it says connecting... But it has completed the connection only 3 times (more or less). The rest of the time, it doesn't work. It also doesn't show up in my computer as an external storage, so I can't add files that way either.
Any help would be appreciated.

Please check my question Unable to connect Samsung Galaxy (Tab-2) GT-P3100 to Computer via USB and its answer too.
It is defiantly helpful to you...


text:
Restore deleted photos
I accidentally deleted the entire "downloaded" album full of pictures from my Samsung Galaxy S2 (SPH-D710) and am trying to use a recovery program I downloaded.
My phone will not show up as a remove-able storage device on my computer, or on the program. I have tried to change the USB settings on my phone but there is no USB settings when I go to Settings > Wireless and networks as most information instructs.
I found the setting for USB debugging by going to Settings > Developer options and can turn that on and off, but that is the only setting I can find relating to USB storage.
When I connect it to the USB cord it gives me MTP or PTP options but again no USB options.
Any advice??? Thank you!

try store your photos with app supporting cloud hosting, i.e. dropbox (every new photo is uploading on your account and you have 30day backup fore every deleted or losted file)

If your device is rooted, you can try Undelete for root users which claim to restore even from internal storage, which is boon as other PC based apps does not work well unless they have physical access.
The app Dumpster claims to work even for unrooted device. But I suspect this has to be installed before the event of deleting - not sure just give a try.
If either of the apps seems promising, I would advice you not to directly or indirectly use the internal storage as if the data blocks are overwritten (by you or by an app or by the system) your chances of recovery goes slim.

If the folder is on your external SD card: remove the card from the device, and connect it via a card reader. This way you ensure your computer will have the physical access to the card which is needed by most recovery programs for best results.
For further advice, also see Data Recovery - How to Restore Deleted / Formatted Files on HD Micro SD Card

yes, http://android.stackexchange.com/a/7072/14546 try photo rec, it's user friendly

Answer taken from an edit made by Christin taylor (Christin: Edits are for fixes/clarifications; alternative solutions should be presented in their own answers)

When photos deleted from android, the os removes the pointer to the files from the file allocation table and flags the deleted files as no longer needed. in order to recover the deleted photos, you need to avoid writing data to the card or internal storage, plug in your device and set the usb setting as mass storage so that both the sd card and built-in storage should be recognized and mounted as removable drive, scan the drive, then recover the deleted photos from android.

Remarks (by Izzy):

This only works as long as the Android device supports USB Mass storage.
The reason described just applies to FAT based file systems (which admittedly are used here in most cases).
It's always the safer method to use a dedicated card reader for such low-level operations – though, in absence of such, it should work.


text:
Is there a way to remove all other USB options except charging?
Is there a way to disable MTP/PTP and all other USB options except Charging option from the Android system?
I'm using LG G4 beat, Android 5.1.1 and i want to remove it for my new ROM that i working on
Rooted device
Thanks!

Can you give abit more information (device make/model, OS, is rooted, etc.)? Also, why do you want to remove these capabilities?

Additional to that: Do you really want to remove (title), or are you just annoyed by the "drive-found" popups everytime you connect your device? What have you already checked/tried then?

Related: Disabling MTP/PTP/all USB stuff except charging / Can I disable MTP mode and just have a regular USB connection? / “adb devices” gives “no permission” when on charge-only

If you really want to remove these modes, the easisest method would be to edit the boot.img's ramdisk, which has a file xxxxxxx.usb.rc and remove the modes. If you want to remove those options from settings, edit the Settings.apk using APKtool

There no action to disabling MTP mode, but you'll make remove all USB option is: connecting to electrical plug, not the PC.


text:
How to use android device as display or terminal?
I want to use an android phone as a USB terminal/display for a headless system.
The ideal user experiece would be:

Plug phone to the usb port.
System starts sending status info, phone displays it.

I prefer a solution without developer options/adb necessary.
Ideally the end user only has to install an app and open it up.
Does a solution exist?

Maybe via VNC?

Gave it a try. Since the purpose is info display only, having a desktop is a bit of overkill and requires extra scripting to auto-open an info display. Headless system will have no X11 anyway.... Effort for the user to set up a new phone is equal or greater to the partial solution I list below.

Enabling usb-tethering programmatically seems to be not possible.

Good points. If the device is rooted, auto-enabling USB tether should not be a big deal for e.g. Tasker with the Secure Settings Plugin, as my Tasker graphs reveal – just a matter of finding the right trigger-acction :)

Rooted devices are not an option. I want to be able to do a sanity check on the headless server using any device at hand.

Then I'm afraid chances are pretty low -- unless you find a 3rd party tethering app which auto-starts when detecting a specific device via USB, or something similar. If Tasker requires root to toggle that, there won't be an automated way without root.

My current partial solution:

android: Use usb-tethering to create rndis connection.
headless: bring up network device with a static ip
android: ssh to pc
headless: pipe output to connected pts with write(1)


text:
Rooting failed htc one x : adb server is out of date
Tried to root my mobile HTC One X AT&T Build number 1.73.502.1 710RD ATT US edition referring the following link.
Root HTC One X
Restarted twice but the phone was not rooted.
    adb server is out of date.  killing...
    * daemon started successfully *
    ** daemon still not runningerror: cannot connect to daemon

    DON'T TOUCH THE DEVICE OR UNPLUG WHILE ROOTING!
    PUSH FILES
    adb server is out of date.  killing...
    * daemon started successfully *
    3388 KB/s (2005736 bytes in 0.578s)
    adb server is out of date.  killing...
    * daemon started successfully *
    2874 KB/s (91980 bytes in 0.031s)
    adb server is out of date.  killing...
    * daemon started successfully *
    3240 KB/s (570342 bytes in 0.171s)
    adb server is out of date.  killing...
    * daemon started successfully *
    adb server is out of date.  killing...
    * daemon started successfully *
    adb server is out of date.  killing...
    * daemon started successfully *
    adb server is out of date.  killing...
    * daemon started successfully *
    adb server is out of date.  killing...
    * daemon started successfully *

    REBOOT
    adb server is out of date.  killing...
    * daemon started successfully *
    ** daemon still not runningerror: cannot connect to daemon
    adb server is out of date.  killing...
    * daemon started successfully *
    adb server is out of date.  killing...
    ADB server didn't ACK
    * failed to start daemon *
    error:
    AGAIN REBOOT
    adb server is out of date.  killing...
    * daemon started successfully *
    adb server is out of date.  killing...
    * daemon started successfully *

Does rooting require bootloader ?

The bug is probably fixed in your build. Try bin4ry's 'root many android!' exploit http://forum.xda-developers.com/showthread.php?t=1886460


text:
How do I make JB use my external sd card (/storage/extSdCard)
I have a Samsung Note2 with 4.1.1 on it. I have what appears to be a virtual sd card called /storage/sdcard0. It uses phone memory. When I installed my new 32gb sdcard it was mounted as /storage/extSdCard.
The OS only seems to use sdcard0 for SD-like storage (like apps). I know this because SuperBox is reporting apps on my SDCard and they are really on sdcard0. The only way I can use my external card is if I tell some application to use it for storage.
Since sdcard0 is just eating up precious phone RAM is there a way I can safely convince JB to start using /storage/extSdCard instead?

You are very funny: sdcard0 is just eating up precious phone RAM is a good joke! Sorry, but that is your sdcard (though the internal), but not RAM. See: Why did /sdcard/ turn into /sdcard/0/ with 4.2?

I do not have 4.2.  It really is based on RAM.  It cannot both be internal and an SD card.

sdcard0 is not using RAM, sdcard0, as @Izzy said is your internal storage that is available. /sdcard/ is just a symlink to /storage/sdcard0/. It IS considered "sdcard" because it is built in storage that acts just like sdcard, except it cannot be removed. You cannot use the internal storage for anything except what you would use a normal sdcard for.

It might be considered SD card, and the intention might be to use it like an sd card, but it isn't an SD card.  And the only place that it can come from is RAM.  That's the only storage available to it.  So again, I claim it is RAM.  And funnily enough, if you look at SuperBox, my Phone's RAM usage is tracking almost exactly with my /storage/sdcard0 usage.  I haven't found the fstab for it yet, but I bet if I do I'm going to find a RAM device mounted at location /storage/sdcard0 and then symlinked to /sdcard as well.

I think you confused RAM with internal flash storage (memory).

@Izzy, though OP confused RAM with internal storage, this is a very painful question. I'm facing the same right now with my GT-I9505 (AOSP 4.4.2). It uses emulated SD card instead of external and I have no idea on how to convince it to use the right one.

Umm... I knew we had this somewhere already. You might also wish to watch How do I make /sdcard link point to external SD Card?

@Izzy, yep, I started that =)

Ugh... nevermind. Shall we close one of the two as duplicate? #D

@Izzy, mine is about KitKat, so it's not quite a duplicate.

If you're rooted, a simple, though kinda brute force, solution is simply to swap the mount points around.  Root External 2 Internal will do this automatically at boot for you.  This app is strictly intended for the GS3, but reviews report success with the Note 2 also.


text:
fastboot not working on my Nexus 4
I'm trying to root my N4, and fastboot doesn't seem to work.  Running it on linux, and the fastboot binary seems to run.
'Fastboot devices' produces info on my device, but 'fastboot oem unlock' just echoes '...' and hangs.  I don't get the prompt on the phone about unlocking.  It just hangs there until I restart the bootloader, at which point fastboot echoes "FAILED (command write failed (Cannot send after transport endpoint shutdown)"
Other fastboot commands don't seem to work either.  'fastboot reboot' echoes 'rebooting...' but then nothing happens.
I've tried this with and without usb debugging enabled. Any ideas?
I'm beginning to think the USB port(s) on my machine may be blown.  This morning, the machine didn't recognize an iPod plugged in under Windows on either the front or back USB ports on my machine.  I'm working on the phone under Linux, and /var/adm/messages shows stuff happening when I plug the device in.  I'm guessing 'fastboot devices' doesn't acutally access the device - just looks at the device types detected by the OS when you plugged it in, no?  Is it possible I can read from the usb port but can't write to it?
Well, it looks like it was my USB ports.  I found an old laptop, booted it up to a Ubuntu live CD, and was able to root the phone from there.  Sorry for all the drama.  Odd that my USB ports died just at this moment, but come to think of it, they've been running slow recently - gPodder had been taking minutes to copy podcasts to my iPod.  I guess it was a gradual fail.

Try running fastboot as root (sudo fastboot devices)

Nope, sudo doesn't help.  For what it's worth, I did a tail -f on /var/log/messages when I started the bootloader.  Output below, ending with the SerialNumber, which matches what 'fastboot devices' prints.

The /var/log/messages stuff is too long to be input here.  But it basically tries and fails to detect it as a usb 3-5 device, then tries as usb 2-2 and succeeds.

localhost klogd: usb 2-2: new full speed USB device using ohci_hcd and address 6
localhost klogd: usb 2-2: New USB device found, idVendor=18d1, idProduct=4ee0
localhost klogd: usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
localhost klogd: usb 2-2: Product: Android
localhost klogd: usb 2-2: Manufacturer: Google
localhost klogd: usb 2-2: SerialNumber: 006ef4fae094444f

One more (odd?) thing.  I tried to select recovery from the bootloader, and it went to a frozen recovery screen with the message "no command found".  Is that scary?  From there I was able to get back to the bootloader again with the vol-down, power combo.

Is it the latest fastboot binary? Where did you get that fastboot executable from?

Hmmm... is it missing a udev rule for that?

I got the original fastboot from an xda dev nexus 4 rooting procedure site.  I also tried downloading the latest Android SDK, and the version in there behaves the same way.

I think my USB ports have died.  I was able to mount the phone in MTP mode when I first got it.  Now that doesn't work.  The mtpfs command hung for a long time, and finally the fs shows up in df, but ls /media/nexus is not doing anything.

... and when I switched the phone from MTP to camera, the hung ls command finally 'finished', and it listed out a Playlists directory.  USB seems to be sort of working, but super slow.  Time for a new computer?

But I just tried 'adb reboot-bootloader', and it worked.  Too weird.

The clue lies with the comment above But I just tried 'adb reboot bootloader', and it worked. which shows that adb is indeed recognizing the USB connection, but not in fast-boot mode which is where this answer comes in...
Sounds like the udev rule for the fast-boot is absent!
Do this: lsusb with the cable plugged in while the handset is in fast-boot mode.
Typical output should be one similar to this:

Bus 001 Device 012: ID 18d1:d00d Google Inc.
                     ^^^^ ^^^^

The numbers identifier 18d1:d00d corresponds to idVendor : idProduct respectively.
Make note of it, and check your udev rules found in /etc/udev/rules.d/51-android-rules. (Mileage will vary slightly with differing Linux distributions!)
If you do not have this file, then its recommended to create one using root, there may be a few rules that need to be added depending on the mode of the handset, i.e. normal, recovery and boot-loader modes.
Here's an example of mine, that has differing values respectively when handset is in one of these modes. Take this as a template and change the numbers as shown that matches up with idVendor and idProduct respectively to suit your make/model of handset.
SUBSYSTEMS=="usb", ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1354", MODE="0666" GROUP="androiddev", SYMLINK+="android%n"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1350", MODE="0666" GROUP="androiddev", SYMLINK+="android%n"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1351", MODE="0666" GROUP="androiddev", SYMLINK+="android%n"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="d00d", MODE="0666" GROUP="androiddev", SYMLINK+="android%n"

The user id is added to the androiddev group, which was created on previous occasion, in that way I do not have to sudo at all!
To create a group, using root

groupadd androiddev, this creates a group, then to add your
linux's user id to that group...
usermod -a -G androiddev your_user_id; replace your_user_id with your own user id used for logging in).

Then when in fast-boot mode, the fastboot binary should work (bonus! without the necessitating for sudo either!)


text:
How to modify the "systemless hosts” file under the newer Magisk?
It seems to be under /system_root/etc but the hosts file really is just a symbolic link to /system/etc/hosts.
How to modify the "systemless hosts” file under the newer Magisk?

It might look like that, but doesn't Magisk use an overlay file system here?

What does that mean and what can I do?

If you doubt Magisk is handling systemless root (and systemless hosts), either don't use it if you want to avoid it – or ask at the Magisk issue tracker to make sure.

@Izzy no no, I mean how can I manually modify systemless hosts with adb shell?

Ah. Well, as you would modify it else: vi /system/etc/hosts. The overlay is at file system level, so it should work via ADB as well.

@Izzy so I would just edit system files as if they were system files but Magisk takes care of the overlay for me?

That's how I understand it. After all, Magisk claims you can use e.g. AdAway this way – and there's no setting in AdAway for "systemless hosts" (at least there wasn't when I last looked). What's more: What do you guess where the Android system would look for the file? In the "original place" of course. So what sense would it make if that wouldn't resolve to the "systemless hosts" you edited?

In recent versions of Magisk and "Systemless Hosts" module you can no longer directly edit the file /system/etc/hosts.
Instead you have to modify the hosts file in the Magisk modules directory of the hosts module (the internal name of the "Systemless Hosts" module).

Open Magisk -> Settings -> touch Systemless hosts (this will create the necessary directory structure and the hosts file.

Use an editor of your choice and edit the file

/data/adb/modules/hosts/system/etc/hosts

Any change to that file will directly be visible in /system/etc/hosts respectively /etc/hosts.
The Magisk modules directory and it's file-system structure is explained here:
https://topjohnwu.github.io/Magisk/guides.html#magisk-modules

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
LG Stylo 3 on Cricket, Wi-Fi randomly disconnecting
I got an LG Stylo 3 on Cricket last month, and already I seem to have a problem. Randomly, it will disconnect from Wi-Fi. When I go into the settings, it'll say that the network is disabled.
Any idea what could cause this?

I had the same problems, did all advice given, but this one thing I did helped.

Go to Settings
Click on Wi-Fi
Click on Wi-Fi Manager
Click on box if checkmark on

Now it connects and stays connected, at home and everywhere else.

I followed your instructions and it still disconnects

From OP's (now deleted) comment,

The problem got solved. I turned off Cricket Wi-Fi Manager as Jess in the replies said, then in Advanced Wi-Fi, turned off "Switch to mobile data."

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
Can two phones with different WhatsApp numbers use the same Google Drive backup?
I have 2 phones with 2 different WhatsApp numbers. Both WhatsApp have their Google Drive backup enabled. However, the backup from one phone isn't visible from the other phone, I get the error of "no backup found for this account".
Can two phones with different WhatsApp numbers use the same Google Drive backup?

Yes you can do right now. Set your backup for the second phone number and make back up. After that when you go to Google Drive Backup address you can see two back up for two Whatsapp accounts.

This seems to contradict the statement on the What'sApp page "About Google Drive Backups" here https://faq.whatsapp.com/android/chats/about-google-drive-backups/?lang=en that says "Every time you create a Google Drive backup using the same Google account, the previous backup will be overwritten. There's no way to restore an older Google Drive backup." Could someone confirm that this works? I don't want to overwrite the backup I currently have.

As I add a screenshot above, you can have different backups for two different phone numbers. I have both of them. There is no overwrite. You can check backups from this page: https://drive.google.com/drive/backups

Thanks for responding. I tested it now myself, and I can confirm, that this works indeed. It seems like only backups for the same WhatsApp account (i.e. the same phone number) are overwritten. But it is possible to back-up two different WhatsApp accounts (two different phone numbers) on the same google drive, like described in the post. Thanks a lot for this solution!

Can two phones with different WhatsApp numbers use the same Google Drive backup?

Yes, and the backups will happily coexist.
My old phone had WhatsApp backing up daily to Google Drive. On the arrival of a new phone, I transferred the SIM into it, and activated a fresh SIM (with an as-yet unused number) in the old phone.
WhatsApp was installed on the new phone over Wi-Fi, and after going through the initial setup, restored the earlier chat backup from Google Drive. You can see the backup files online if you browse in Google Drive to Storage > Backups. They have the form WhatsApp #telephone-number# backup
In the old phone, WhatsApp detected the phone number was no longer valid. Having validated the new number, and going to Settings > Chats and clicking Back up, that created a new backup file in the list in Google Drive, which included the new telephone number.

You wrote "WhatsApp detected the phone number was no longer valid. Having validated the new number, " <-- So then it's not really two phones with different numbesr 'cos one of them became what you call "no longer valid". I'm talking about having two phones using whatsapp using the same backup.

@barlop WhatsApp detected that the phone number had changed after the fresh SIM had been inserted (unfortunately I didn't note the exact wording at the time). The scenario answers your question, albeit I may have expressed it poorly: two phones, two different phone numbers, one Google account.

Well i'm not talking about a scenario where a "phone number changed". I'm talking about  use of two phones each with a different phone number, sharing the same whatsaspp backup.  Not somebody saying a person no longer wants their old phone number. Or like with a laptop(Even with no SIM), that can use whatsapp even without a number.


text:
Getting "Unfortunately, the process com.android.phone has stopped" on Yuntab K17 tablet
My daughter has a Yuntab K17 tablet with Android OS 5.1, all of a sudden started popping the error message:

Unfortunately, the process com.android.phone has stopped.

This tablet has a place to insert two SIM cards, however, we've never done that. It's strictly used by her for light gaming and watching videos on YouTube. She was watching a YouTube video when the error message first appeared. She hadn't installed anything new on the tablet in several days. As soon as you hit the "OK" button on the error message, it immediately reappears.
I've spent a combined 6 hours wading through countless articles on the web trying to find a solution and have yet to come across one that works:

I wiped the cache partition
I've done the factory reset multiple times after backing up all her files on an SD card. I'm assuming doing the factory reset would negate the need to clear caches and data of the various apps (phone, SIM toolkit, etc) which I've seen suggested
I've turned off auto update timezone, and switched it to 24-hour time format
I performed the root recovery check (before and after the factory reset) and it said (both times): "Error: found 1 modified files system check FAIL!!"

and done just about every other thing I've seen in multiple articles and help threads. As I said, ABSOLUTELY none of the suggestions I've read have worked.
I'll include the info below in case it is helpful somehow. I am admittedly an extreme novice when it comes to anything other than basic usage of the Android operating systems:
About Tablet info: Android version 5.1
Android security patch level: 2017-03-05
Baseband version: unknown
Kernel version: 3.1.72+ BUILDSERVER@BUILDSERVER6 #1 Tue Jul 11 18 18:04 CST 2017
Build number: k17 vkb0433_20170711 Custom
Build version: vkb0433

First method involves clearing cache of Phone Dialer and Contacts app, then rebooting your tablet. This fixed the problem for me too. If this fails, try the second method which involves flashing the Stock ROM. You can find it through Google using your phone's model number, and you can also see tutorials on YouTube as to how to flash that ROM in your tablet, and XDA Developers gives you best solution.
If none of the method works, send your tablet to your OEM's service center but your tablet should not be rooted when sending to their service center because rooting voids the warranty and the personnel at the service center would be unable to flash or fix the problems.

Thank you for taking the time to make some suggestions. I'm currently trying to figure out how to flash the stock rom for this tablet. I'm not having much luck, but I've also not had a lot of time in the past few days to devote to messing with this issue.

An idea is to disable the current Phone app.
I'm supposing here you can handle ADB commands safely. If you have any queries, you can ask, don't end up bricking your device.

From the command prompt, type
adb shell
su

(not sure if your device is rooted, but it is required. Look up for rooting guides)
To confirm the package name, type
pm list packages  | grep 'phone'

which package:com.android.phone should appear
To disable it, type
pm disable package:com.android.phone

If it was a success, type
pm list packages d

and check if package:com.android.phone is listed
Reboot your device and install Google's Phone app from your favourite app store.

Let me know if there are any issues.


text:
How to set the notification dots on a Moto G6?
I activated the notification dots on my Moto G6 following this process: Settings > Apps & notifications > Notifications > Allow notification dots, but the dots are not appearing.
Did I do something wrong? How can I solve this?

If you're using stock moto launcher, then go to settings->moto app launcher->app notifications, then enable both 'On' and 'Allow notification dot'.

I am also having this issue.  Notification dots are enabled on all apps but don't work.
I do not have any 3rd-party notification apps.
I have cleared the cache and data from the "Moto App Launcher" application and restarted it.  No difference.
I did, just now, download an application for notifications and it works.  So annoying.  Moto App Launcher obviously has some issues/flaws.

Scroll down from top of screen.  If it says 'Notifications paused by do not disturb', then that's the issue.  Probably activated it by an accidental swipe/touch.

Go to Special App access -> Notification Access -> Enable Moto App launcher

Make sure you do not have Data Saver turned on. This will prevent the notifications from appearing and will also cause email delivery issues.

This doesn't seem to be the case here. OP didn't say he wasn't receiving notifications at all, but only the notifications dots.


text:
How to know when my smartphone is EOL?
Long story short, I have been under the impression that my Samsung Galaxy S5 had still been receiving security updates even though I was aware it wouldn't be getting any major Android updates. One Google search later, I found out that this is not the case. After some reading, I went on Samsung's page and found a list displaying what Samsung apparently plans to keep updates for.
What I don't understand is why I'm not being told that my phone is effectively a legacy device and is not being supported anymore. It's one thing to lose out on Android updates, but it's another thing to be missing critical security updates. All vendors should be sending out some kind of message to outdated/unsupported phones, otherwise everyone will be under the stupid impression that they can keep the same phone forever and still be secure.
Is there some way to find out when my particular smartphone vendor effectively stops pushing out updates for a particular phone? There's got to be something better than checking their crumby website every now and then. Any leads?

If you are in the United States, unfortunately you are stuck with checking vendor website occasionally. Any automated notification of 'EOL'  is at the discretion of the handset maker or carrier who don't want the added customer support expense when grandma sees the EOL  message. See Why is Android Update story so bad for details on updates.

Usually manufactureres/vendors stop supporting devices after max 18 month, some keep flagships updated for 2 to 3 years. It would be a very rare case where a device receives longer official support – so the user should rather expect to receive no more updates after ~2 years (warranty end). To keep it up-to-date afterwards, watching out for custom ROMs is the only way.

The only way easy way to have an Android phone with current software is to buy from one of the 4 companies (Google, Honor/Huawei, OnePlus, Xiaomi) that bother to keep older devices up to date (though all but Google tend to be a few months late);

XDA - Here's a list of Android devices updated with Project Treble support

so that the OS will notify you of updates when they are available.
You can double-check by cross-referencing the kernel version and Android security patch level with

The Linux Kernel Archives
Android Security Bulletins

LineageOS is a nice alternative for unsupported phones, but is not without issues;

LineageOS CVE Checklist

Google explicitly stated that they will only support their devices for at least 2 years (3 years for the recent Pixel 2 & 3), no guarantee after that.

@AndrewT A 3+ year promise is a lot better than the nothing from Samsung etc.

Note that the 4 year old Nexus 5X is still getting updates.

As of October 2023, some Google Nexus devices and all Google Pixel devices tell the user if their device is already EOL when they try to check for OS updates:
As documented in It's Time to Retire Your Unsupported Things,

[...] as of October 15, 2019, you might see a screen such as the following when checking for OS updates on some unsupported Google Nexus devices, such as the Nexus 5X:

On Pixel 3a:

Regular updates have ended for this device
Android version: 12
Android security update: May 5, 2022
 Your device will no longer receive regularly scheduled system updates and security updates.
Your Pixel 3a is running the last version of Android available on this device.
Learn more

As for other manufacturers, as mentioned in the previous link, there is not yet a notification or even a statement directly on the device.

I have been using a smartphone since 2011, and I can say that I've never been pushed a warning when the device software has reached EOL from the vendor. That goes for both Android [...]

I'm afraid users still have to check for external sources, e.g. official sites, aggregator info, 3rd-party apps, etc.


text:
Why setting a 1x1 pixel wallpaper fails on (a few) Android devices?
To set a black or solid color wallpaper on an Android device, one can use a tiny 1x1 pixel image with the pixel set to that color. This works on most Android devices (including Nexus devices and others that run stock Android). The system knows how to fill the entire screen with that one pixel, giving you a full solid color wallpaper.
However, there are some Android devices that give an error immediately after setting the 1x1 pixel image wallpaper:

Unfortunately, System UI has stopped.
Unfortunately, Home has stopped.

Trying slightly larger image sizes (2x2, 3x3, 4x4) also fails.
I just created an open source Android app to test this issue: Minimum Wallpaper. Its source code is available on GitHub.
So far I have a report with screenshot that on Allview P8 Energy the minimum wallpaper size that works is 32x32. From another project I'm involved in, I have some information that a 1x1 wallpaper also fails on devices such as:

LG: G5, Stylus 2
Meizu: m1 note, m2 note, MX5, Pro 6

My questions:

What could be a reasonable reason that (only) some devices are giving errors after setting a 1x1 pixel wallpaper?
What could be the minimum "safe" wallpaper size that should reasonable work on all Android devices?


text:
Can multiple androids be paired to work on the same task?
PlayStation 3 consoles were combined to make a super computer. Can the Android phones be modified in the same way? Could I use the processing power of 2 phones to play a movie that 1 would not.
https://www.engadget.com/2007/08/11/sonys-warhawk-server-farm-is-made-of-ps3s/

Yes, see https://android.stackexchange.com/questions/168142/using-phones-computing-power-to-assist-in-pcs-calculation/168146#168146

It depends on the workload but you absolutely could use Android phones as a cluster in much the same way they did with the PS3's.
You'd probably need some sort of server-client setup. With a server setup to manage the clients, assign work and manage the overall process and the clients setup to complete the work.
This is an interesting idea, for sure!


text:
Trying to boot into TWRP using fastboot gives the error FAILED (remote: unknown command)
Using Razer phone on Android version 7.1.1. Bootloader unlocked.
This is how I go:

Enter bootloader.
Type fastboot boot twrp.img
Get following error:

C:\Users\SSD\Desktop\PATH\platform-tools>fastboot boot twrp.img
Downloading 'boot.img'                             OKAY [  0.649s]
booting                                            FAILED (remote: unknown command)
Finished. Total time: 0.659s

From what I've seen on XDA and Reddit, it seems Razer indeed disabled "fastboot boot" altogether. No way round.

But it fastboot boot worked when I was using the android 8.1 image

So? With a major Android version upgrade most OEMs would also update the bootloader partition. I won't be surprised if certain BL commands were enabled/disabled in the process (though the reasoning behind which is out of my speculation).

I already tried the instructions at the twrp website (https://twrp.me/razer/razerphone.html). It gives a similar error, that "remote: partition not found" and refuses to switch to slot b even after saying the slot was successfully switched.


text:
Using WhatsApp without current SIM
Next week I will go on holiday to a foreign country and for this, I bought a prepaid SIM card because with my phone's current plan, I have little to no data in Roaming. My problem is that I will be using my phone with this new card, but I would still like to use my current WhatsApp account.
The only solution I have come up with is changing my number in my Whatsapp account's settings, but I wouldn't really want to do that because it notifies all my active conversations.
So, is there anything else I can do so that I should be able to still use my WhatsApp with this prepaid SIM card?

Yes, you are actually in the right direction. WhatsApp requires a SIM for installation and activation. But once activated, it doesn't matter if the SIM stays in the same phone or is tossed to a different phone, or even lost. Sure, in cases of lost SIM, re-installing WhatsApp with the same phone number will be impossible.
WhatsApp will keep on working on your phone, provided you have a data connection (no matter which SIM it comes from) or WiFi access.
So, yep, just toss in your prepaid SIM, turn on data connection and continue to use your old (current) WhatsApp. You do not have to make any changes in WhatsApp. Changing the number is also absolutely NOT NEEDED. It is only used when you are officially switching to a different number and would like to carry your chats along.


text:
Why does YouTube change my lock screen wallpaper and how do I prevent that?
When I'm watching YouTube videos on my phone, and then lock my phone, my wallpaper is replaced by the thumbnail of the video I was watching.
Removing YouTube from the recent applications screen does not change that. I don't get why that would be useful, and it certainly looks ugly.
Where can I disable that?

Never happened with me. Are you using the official YouTube app? Do you have premium subscription red/pro? What is your country? Is picture in picture mode enabled?

It's the official YouTube app on LineageOS. I don't have YouTube Red and AFAIK it's required for picture in picture mode. I live in Poland. @singhnsk

I have a one plus 5 and this is driving me up the wall. Even if I quit YouTube, and set my lock screen from settings, it persists. It might be when I watch videos through Chrome rather than YouTube itself.

I found that swiping away the YouTube mini player in the notifications area clears its picture on the lock screen.
The notification survives closing YouTube and swiping the app away from the apps list, but it can be swiped away itself.
But I wish it didn't happen at all.


text:
Android device doesn't support Google Play Services
I'm using Samsung Galaxy Trend 3 SM-G3502U on Android 4.2.2.
Since this is a Chinese device, so it was normal to be shipped without GApps. So, I tried to install the latest version among the versions which are compatible with Android 4.2.2 of the following apps from APKMirror:

Google Play Services
Google Play Services Framework
Google Calendar Sync
Google Contacts Sync
Google Account Manager

Still, no luck, since when I tried logging into Snapchat, a pop-up "popped" out, saying that Google Play Services is not supported by my device.
Also, when I installed and opened the latest version of Play Store among the compatible versions for Android 4.4.2 from APKMirror, it showed "Error retrieving information from server RH-01" which meant that I didn't have the compatible GApps installed.
Having all the apps listed above installed, I installed the "Device ID" app by Evozi. It couldn't show me the GSF. The space for that was left out empty instead.
Now, are there any more ways to try out for me so that my phone supports Google Services Framework, or I am left out with installing a custom ROM?

First, I wonder how those apps should work when installed as user apps, as several (if not all) of them require elevated permissions and thus must be installed as system apps. See e.g. How can I install the Google Apps Package (Play Store, …) on my Android device? OpenGApps might be worth a check as well, but make sure to read their FAQ.

I cannot find my android version on OpenGApps (4.2.2). So, will I have to install a custom rom?

Although I found one here: https://www.google.com/amp/s/boycracked.com/2017/05/24/official-gapps-for-android-4-2-2-jellybean-flashable-zip/amp/  it requires me to flash a custom recovery, for which I have to unlock the bootloader. But I'm not being able to find a suitable version of Odin for my device to do this. And also, some other tutorials do not guarantee their method for all samsung devices, like the one here:https://www.quora.com/How-do-I-unlock-bootloaders-on-Samsung-phones# . And most importantly, I cant find my device in the TWRP devices list

Sorry, but Android 4.2.2 (Jelly Bean) is ancient (2012/2013). The latest version is Android 8.1 currently, so you won't find much support for something that outdated (though you can check our google-apps tag-wiki for some viable alternatives – and indeed, TeamAndroid has some for 4.2). And yes, to flash 3rd party stuff (Custom ROM) you'll need a custom recovery, which needs an unlocked bootloader.

Jelly bean Android devices are still supported by Google Play Services https://en.m.wikipedia.org/wiki/Android_Jelly_Bean

If possible, check out the microg project https://microg.org/

The apks will not work without system libraries, and other frameworks that cannot be installed without root (or flushing from a recovery).


text:
How to send a text message from Skype on Android?
So, I just spent 30 minutes trying to find out where to send a text message (SMS) to a phone number using the latest version of Skype on Android.

Does anyone know if it's still possible to do this or has this feature been removed? Please make sure it applies to this rather new version of Skype for Android.

In the latest version of Skype, you need to follow these steps:

Go to the Calls tab.

Select the dial-pad icon

Type the number you want to send an SMS to.

Type your SMS and send.

The problem is my Skype app does not look like yours. Thanks for trying but that is not going to fly here. If anyone has a working solution for my version of the app (see my original screenshot) then please post an answer to this question.

Well, as you mentioned yours is latest version of skype. so, last I checked, the latest version is 8.24.0.2,which is my version as well and I have shared the screenshots of the same.what version are you using,if this is not what your Skype looks like.


text:
Read External SD card
I have a Xoom 2 media edition MZ608-32 3G, immediately after receiving it I upgraded it to ICS 4.0.4 and rooted it.
However the beast won't mount any SD card that is put in its external storage.
I have a 32G sd card that is formatted as fat32, it reads perfectly well on my p1000 and the PC. window's chkdsk also said disk is OK, so the problem is the xoom.
Does anyone know of a solution to make the xoom mount the card properly?


text:
Kindle Fire HD 7" runs very slowly after rooting
I recently rooted my Kindle Fire HD and it now runs very slowly. It was mentioned in the rooting instructions I was following that this would happen during the rooting process. I am wondering if this is a permanent consequence of rooting or if it is fixable. If it is something I can fix could you tell me how.
Thanks for the help!
Here are the steps I followed:

Download Root MANY ANDROID! to your desktop. Extract to your desktop. This package includes updated adb daemons.
Download Qemu automated root to your desktop. Extract to your desktop. This package includes updated adb daemons.

NOTE WINDOWS 7 USERS: You need to open a command prompt "as Administrator" when running the above utility batch files RunMe.bat and RootQemu.bat - otherwise Windows will respond with "Permission Denied".
Root Step 1: Run RunMe.bat from Root MANY ANDROID!. Choose option 1 Run Normal Method and ignore errors. Pay attention, you will need to answer "Restore" a dialogue box on the Kindle. Click on Restore. When the program has completed, the Kindle will Reboot.
Root Step 2: When the Kindle reboots it will react VERY slowly, this is normal - leave it alone. Immediatly proceed to Step 3.
Root Step 3: Run RootQemu.bat from Qemu automated root. Follow the instructions Step-by-Step allowing Windows to re-detect the Kindle between reboots (about 2 minutes). Let this utility complete to the end.
Root Step 4: Click on Superuser.apk under the Apps tab.

What steps did you follow?

When I rooted my Motorola Milestone 2, I afterwards also had lags and instabilities. For me it helped to do a factory reset. Keep in mind to make a god backup of your apps/data before, as a factory reset will wipe the device (not the sdcard, though). As you are rooted already, Titanium Backup will be very helpful :)

Does a factory reset unroot the device?

@connor No it doesn't. Rooting modifies partitions of the phone that are not object to factory reset.

The process of rooting your tablet shouldn't affect the performance.  However, any apps that are installed when rooting can affect the performance.  SuperUser is a very common and popular app that is used when rooting and I have not seen any performance impact when installing SU on Motorola and Samsung devices (100+ devices).
Based on the junk that the first link tried to get me to download and how my virus detection (AVG) went off after extraction of the Zip, I'm guessing that there could be an app that was installed when rooting the tablet that could cause some performance delays (adware, monitoring app, etc.).  It's an extremely large download to for just rooting a tablet and the fact that it has 2+ threats to security programs it's not a good sign.
You can look at apps that are taking up system resources by enabling Developer Options and then looking at "Process Stats" under Settings->Developer Options->Process Stats.  This will show you what apps are taking up a lot of CPU Cycles.  If there is something you don't recognize and it's not a Google service, it could be something that was installed when rooting and soaking up resources, slowing your system.
The .bat file in the second download (Qemu) looks legitimate and there is nothing malicious in the batch file.
You can try uninstalling Superuser.apk from your device and installing it from another source.  This could resolve the sluggishness you tablet is experiencing.
Before doing anything else, I would recommend doing a complete backup of your entire tablet so you have a restore point if anything else goes wrong.  I use TWRP on the devices I manage and I've had excellent experience with it.  It appears they have a version for the Kindle Fire XDA Link.  If you already have a way to backup everything from the system level, use that before installing/uninstalling anything else.


text:
Stuck on "verification fail" while Rooting Moto G 3rd gen
I am trying to root my moto g 3rd gen.
I am following this guide:
http://theunlockr.com/2015/09/09/how-to-root-the-motorola-moto-g-3rd-gen/
I am completely stuck on Step 7: installing SuperSu on the device.
What I did:

Unlock booting
Start via command adb reboot recovery
Get past no command screen
select zip browsing the file system
push the zip using the command: adb sideload C:\...etc\...zip

The Zip I am using is this one:
https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
The Result:
Finding update package...
Opening update package...
Verifying update package...
E: failed to verify whole-file signature
E: signature verification failed
Installation aborted

What can I do from here? Are there better ways to root this particular device? How do I get around this error?

I have TWRP, as described in the guide. Yes, reboot.

Alright, so first copy your SuperSU zip into phone. You can use adb push or MTP or anything that suits you. Then in TWRP, select Install -> locate the zip file you just moved and proceed with flash. Done.

That's what I did, but I get this verification error.

But you did adb sideload but I said something else. Okay, hold on.

I tried both. Selecting zip and after that failed sidemount via cmd.

Under Settings of TWRP, see if "Zip file Signature verification" is unchecked or not. If checked, uncheck it and then try.

I don't see any checkboxes, its all text based. Where do I find this checkbox?

When you boot into TWRP, you will see some boxes with shape of a SIM card and labels like Install, Wipe, Backup.. Among them is a box named Settings. Under it, you would see a list of options. There should be that option about verification.

I think I am failing at the previos step. Nowhere does it actually say TWERP.

It seems Moto G 3rd Gen is very tricky to root. I spent 2 days trying countless things and having countless problems every step of the way. I drove myself insane with it, however at the end, it worked and my Moto G 3rd Gen is rooted now.
For everyone else experiencing problems with rooting this device here is some info on what to do:
1. Bootloader Unlock
This first step of the process is already pretty tricky.
To achive it you need to closely follow the steps on this page:
https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
Keep in mind:
The instructions on this page are potentionally (perhaps intentionally) misleading as to trip up unexperienced users. Some things to keep in mind:

on Win CMD you don't actually need to type the $ chars displayed in the instructons on this page. Its best to read some basics about handling cmd before doing this, like how to navigate in cmd.
you need to install Android SDK and JAVA and than run the program ADB in CMD prompt using admin. This is the path: C:\Users\Username\AppData\Local\Android\sdk\platform-tools\adb
You need to install USB drivers. You can find Moto G 3rd Gen Drivers here: https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481
You need to enable Developer Options on your device by tapping 9 times on "about this phone" in settings.
You need to enable OEM unlocking in developer options.
You need to enable USB debugging in developer options.
You need to be logged in in Motorolla Care in order to get a key, you will need to unlock bootloader, otherwise the form returns a 500.
2. Installing TWRP

This step is what ultimately tripped me up. The trick here is, that after installation of TWRP the system restores the old recovery program you want to replace and you always return to square one.
In order to make this one work we need to apply a little bit of trickery.

Download TWRP img file and put it somewhere in your windows filesystem
Connect your Moto G with USB and start adb in cmd as admin
execute this command: adb reboot bootloader
When the phone reboots into bootloader mode, execute this: fastboot flash recovery recovery.img make sure to replace "recovery.img" with the path to your file and the right name of the file. After this one is done, the next step is crucial, otherwise all progress will be lost.
Remove your USB cable from the phone
Boot straight into recovery without any reboots. To do use the volume keys to select booting mode, select with power button.
You should boot into TWRP interface, which is a touch interface with rectangles to click on. If you land on "no command" screen or "system recovery" DOS style screen, you probably need to repeat the installation of TWRP and try to avoid it being automatically replaced / restored to default by the system (this seems to be happening on reboot).
In TWRP click Install. Choose SuperSu.zip from your phone file system and install it. Once this is all finished reboot your device, it should be rooted. Use root checker app to check your root status.

Useful tutorial:
http://theunlockr.com/2015/09/09/how-to-root-the-motorola-moto-g-3rd-gen/
Only problem with this tutorial is, it doesn't mention that TWRP will be deleted by the system if you reboot. So you need to adjust that part of the tutorial as described here.

+1 for mentioning that TWRP will be replaced upon reboot. This is also true on my Galaxy Note 4. I used ODIN (specific to Samsung) and disabled the 'auto-reboot' option. After booting right into recovery from there I finally managed to root my device. Thanks for the pointer!

I totally understand the situation here as I just faced it and came out from it.
The think is simple!
Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
This is the official twrp site which you should consider
Read the above link carefully. Note again that you must click the key combo before your android recovery boots, otherwise you have to install the recovery again and again.
Hope I cleared your doubt. Thanks all.


text:
When using TWRP, attempts to install ROM return error this package is for X; this is a ""
I have an old NVidia Shield Tablet (AFAIK, the "original" one, not K1 rebrand, not TV one) that I decided to dug out and find some use. Unlocked, loaded TWRP... but when I try to ADB Sideload a ROM from TWRP in Recovery Mode, even this stock one I found, I get the following error:
This package is for "shieldtablet" devices; this is a "".

Considering trying to Google for TWRP this is a "" is absurdly impossible, I'm reaching out for help here.
I'm not an expert in Android stuff, but this seems like TWRP in Recovery Mode hasn't correctly detected what device my Shield Tablet is and I was also unsuccesfull in attempts to search for a solution that way.
I'm able to attempt ADB sideloads, I'm able to ADB push files into the tablet. But no ROM I found so far seem to get through because of TWRP seeing the device as "".
When I push a ROM like https://download.lineageos.org/foster_tab and try to install from within TWRP, I instead get an "Updater process ended with ERROR: 255"
I'm also unable to flash Lineage's own recovery image. When I attempt to fastboot flash recovery lineage-18.1-20221212-recovery-foster_tab.img, it returns the error FAILED (remote: (InvalidSize))

Ok, looks like the problem is TWRP being "too updated". Version 3.7 wouldn't work, but following this advice on XDA forums, I installed TWRP 3.1.1 and could install Stock rom again.


text:
Syncing Android with (local) desktop Taskwarrior server on Ubuntu 16.04 on Windows 10
After installing the Taskwarrior and Taskwarrior server on Ubuntu 16.04 on Windows 10 and successfully synchronizing Taskwarrior with the Taskwarrior server on that laptop, I  am trying to synchronize the F-Droid Taskwarrior app on LineageOS 7.1.2 with the laptop:

either when they are locally on the same WiFi network, without a configurable router,
or through the internet, preferably without dependency on external
services.

So the question is, what taskd.server solution/value in the APK/app would allow me to connect to my local PC with a local static IP address: and public shared IP adress: ?^
^Whilst satisfying constraints:

Preferably without dependency on external services
Otherwise, a non-paid service that allows maintaining your own security/certificates.

Now I do not expect a simple answer, I would really appreciate confirmations of assumptions or explanations why my assumptions or reasonings are invalid/incomplete.
Information that describes the installation steps followed:

For simplification, all options are multiplied by applied twice, to alternate for the following setting:
ciphers=NORMAL
ciphers=SECURE256

As suggested here: https://bitbucket.org/kvorobyev/taskwarriorandroid/issues/2/provide-a-taskrcandroid-with-options-and

The certificates are copied from the folder in Ubuntu /home/a/.task folder to the C:/exportcertificates folder on the Windows 10 OS with the following command:
cp /home/a/.task/first.cert.pem /mnt/c/exportcertificates
cp /home/a/.task/first.key.pem /mnt/c/exportcertificates
cp /home/a/.task/ca.cert.pem /mnt/c/exportcertificates

Next, in Windows, ca.cert.pem is opened in Subliminal. All the text above -----BEGIN CERTIFICATE----- is deleted, to ensure the ca.cert.pem certificate starts with -----BEGIN CERTIFICATE----- and ends with -----END CERTIFICATE----- as suggested by the repo owner here: https://bitbucket.org/kvorobyev/taskwarriorandroid/issues/19/failed-sync-on-android-601-nexus-6
Next, these 3 certificates are copied to the internal storage of the Android phone with LineageOS, Android 7.1.2.

The location of the certificates storage is created manually in the internal storage of the phone as <uuid>:
/storage/self/primary/Android/data/kvj.taskw/files/<uuid>

Where <uuid> is the User Key in the original Ubuntu installation of Taskserver, as specified here: https://gitpitch.com/GothenburgBitFactory/taskserver-setup#/13/2. This adheres to the protocol according to: https://wiki.archlinux.org/index.php/Taskd
Next, a new account is created and the location accompanying that account is the previously created <uuid>.

There are n keys, and certificates produced, some might be based on the information in:
/var/taskd/vars file which contains the CN=localhost line.
If one of the 3 exported certificates, most likely ca.cert.pem is based on that CN=localhost line, it could produce an error since the "config file" of the Taskwarrior app needs to refer to a different/external host if it wants to connect to the localhost on that PC. As I think is implied here: https://gitpitch.com/GothenburgBitFactory/taskserver-setup#/9/2

The PC has local IP: 172.XX.YY.4 and all PC's on the whole building (200+ PCs) share the following external IP address: 89.AAA.BBB.4. So, the first thing I tried was accessing the building's router at the default gateway to set up a portforward. That was not possible, neither with https://github.com/kaklakariada/portmapper nor the system administrator indicated:

Routers are not supplied to the building, you on your individual LAN ports you are given through DHCP you are given a public IPv4 address. If you connect your PC to the LAN you don't need to portforward. If you want you can put a router between the wall socket and your PC to portforward.

That seems to suggest that without the portforward, it should directly connect to the localhost.
But I do not understand how I could tell it to go from public IP address 89.AAA.BBB.4  to local IP address 89.AAA.BBB.4 at port 53589.

I am currently working at brute forcing all attempts to connect to localhost on a different PC listed below. The list contains the settings for the Taskwarrior F-Droid app:"
If the following lines are not specified, they are added in the settings as either:
taskd.certificate=first.cert.pem
taskd.key=first.key.pem
taskd.ca=ca.cert.pem
taskd.credentials=<organisation>\/<username of taskwarrior>\/<User key>
ciphers=NORMAL

Or:
taskd.certificate=first.cert.pem
taskd.key=first.key.pem
taskd.ca=ca.cert.pem
taskd.credentials=<organisation>\/<username of taskwarrior>\/<User key>
ciphers=SECURE256

List of current attempts:
taskd.server=localhost:53589
taskd.server=127.0.0.1:53589
taskd.server=172.XX.YY.4:53589
taskd.server=89.AAA.BBB.4:53589

Then I tried tunneling an external host using ngrok (Source: https://dashboard.ngrok.com/get-started)
I downloaded and unpacked the ngrok.exe to c:/ngrok/
opened cmd>cd c:/ngrok and entered the following commands:
ngrok http 80

Which returned:
http://f59195a3.ngrok.io -> localhost:80
https://f59195a3.ngrok.io -> localhost:80

So the config file in the APK file was set to:
taskd.certificate=first.cert.pem
taskd.key=first.key.pem
taskd.ca=ca.cert.pem
taskd.server=http://f59195a3.ngrok.io
taskd.credentials=<organisation>\/<username of taskwarrior>\/<User key>
ciphers=NORMAL

And to:
taskd.certificate=first.cert.pem
taskd.key=first.key.pem
taskd.ca=ca.cert.pem
taskd.server=http://f59195a3.ngrok.io
taskd.credentials=<organisation>\/<username of taskwarrior>\/<User key>
ciphers=SECURE256

And to:
taskd.certificate=first.cert.pem
taskd.key=first.key.pem
taskd.ca=ca.cert.pem
taskd.server=https://f59195a3.ngrok.io
taskd.credentials=<organisation>\/<username of taskwarrior>\/<User key>
ciphers=NORMAL

And to:
taskd.certificate=first.cert.pem
taskd.key=first.key.pem
taskd.ca=ca.cert.pem
taskd.server=https://f59195a3.ngrok.io
taskd.credentials=<organisation>\/<username of taskwarrior>\/<User key>
ciphers=SECURE256

And to:
taskd.certificate=first.cert.pem
taskd.key=first.key.pem
taskd.ca=ca.cert.pem
taskd.server=f59195a3.ngrok.io
taskd.credentials=<organisation>\/<username of taskwarrior>\/<User key>
ciphers=NORMAL

And to:
taskd.certificate=first.cert.pem
taskd.key=first.key.pem
taskd.ca=ca.cert.pem
taskd.server=f59195a3.ngrok.io
taskd.credentials=<organisation>\/<username of taskwarrior>\/<User key>
ciphers=SECURE256

Without a port number specified at the end, e.g. taskd.server=https://f59195a3.ngrok.io, it immediately returns the following error:

Sync disabled: certificate load failure

With a port specified, e.g. taskd.server=f59195a3.ngrok.io:80 and taskd.server=f59195a3.ngrok.io:53589, the sync is configured successfully and it tries and fails after a few minutes with the error:

Failed to receive data: Unkown error -1 sync failed. Could not connect to the Taskserver.

This procedure is repeated with the different secure tunnel by ngrok using forward to port 53589 (which is set open in the Windows firewall. TODO: Present evidence that it is reachable from an external (not local WiFi) system).
ngrok http 53589
ngrok tcp 53589

Without a successful sync.
Next, a similar approach is used using https://localtunnel.github.io/www/. After installation, the following commands are used to set up a secure tunnel to the server on Windows 10.
lt --port 53589

returning:  https://ancient-octopus-100.localtunnel.me
Analogous to ng, the servers without the port specified immediately failed on the certificate error described above.
And the ones with port specifications tried, but they failed after a few minutes on the same error as specified above.
Next, there was the awesome site https://www.freecinc.com/ which provides a hosting service. However, it only allows one to use the keys that are generated by that service. As far as I understand, using that, you lose your security, which I do appreciate.
The other awesome equivalent is https://inthe.am/ which requires a Google account. Which I am trying to avoid.
The next option is to modify the cn=.. in the configuration file on the hosting server (my laptop) itself so that that matches the value of what eventually needs to be filled in in the Android Taskwarrior app. However, since I have not determined this value yet, and I assume the ca.cert.pert is dependent on the "cn=.." value in the config file, they need to be transferred every iteration, making it a rather convoluted process.
Against recommendations, I am trying to use a laptop as a hosting server, and I would be ecstatic if the Android phone and laptop could sync if they are on the same home WiFi network.
Here, it is suggested on https://gitpitch.com/GothenburgBitFactory/taskserver-setup#/10/1 to use "your full machine name for proper network addressability". hostname -f returns DESKTOP-2XXXXXT.localdomain, I do not think that is the "full machine name".

The short answer is classified by the Taskwarrior setup guide as "a bad idea". Source: https://taskwarrior.org/docs/taskserver/taskwarrior.html
Set the taskd.trust to ignore hostname with the following line:
sudo task config taskd.trust -- ignore hostname
This approach was combined with the solution suggested in this question that I found afterward: https://superuser.com/questions/1314916/when-listening-to-a-port-taskserver-should-the-local-address-be-localhost-or
It suggests one set the CN=localhost:portnr to CN=0.0.0.0:53589 in the /pki folder before generating the certificates. CN=0.0.0.0:53589 would mean only Taskwarrior instances that are on the same machine, e.g. VirtualBox Ubuntu with Taskwarrior or emulated Android with Taskwarrior F-Droid app would be able to access the server.
However, just setting CN=0.0.0.0:53589 did not allow the Taskwarrior server on Ubuntu on Windows 10 (through Windows Store) to sync with itself. That is why the ignore hostname a bad idea, was added to make it work.
That also meant the Taskwarrior F-Droid app was able to synchronize with it from a different WiFi network in the same building.
There are two moments where one needs to enter the host IP address and port name.

In the vars file in the pki folder in the line CN=...
After telling Taskserver where the freshly generated certificates are located, with the line: sudo taskd config --force server 0.0.0.0:53589 --data $TASKDDATA

I intend on testing the following setups to yield a definite answer.

Setting the static IP address of my laptop and seeing if I can sync the Taskserver on Ubuntu on Windows 10 and the Taskwarrior app with the server on the PC if I enter the static. With and without ignoring the hostname in taskd.trust

Setting CN=127.0.0.1:53589 and seeing if I can sync the Taskserver on Ubuntu on Windows 10 and the Taskwarrior app with the server on the PC if I enter the static. With and without ignoring the hostname in taskd.trust

Performing more thorough troubleshooting with CN=0.0.0.0:53589 to try and sync without ignoring hostname in taskd.trust.

Changing a character in every certificate (one at a time) in the F-Droid Taskwarrior app and checking if the successful synchronisation becomes unsuccessful due to an invalid certificate. From that, one could conclude that the answer I suggest, ignoring the hostname breaches the security of the hostname location, and not the complete certificate security check.


text:
Run Android RPI on Android emulator
I want to run the compiled images of the Android RPI 3 on an Android emulator. I have looked everywhere but I didn't find any way to emulate Raspberry PI and sideload the images.
Is it possible to run Raspberry PI Android image on an emulator or any image of another hardware on an emulator?

Given that emulator is supposed to 'emulate' a AOSP device, what do you mean by I want to run the Compiled images of the Android RPI 3 as there are no HAT or other specialized third part hardware to connect.

What i want to do is to run the compiled Images of RPI3 into android Emulator, how to costumize AVD to run customized rom of a device ?

The Android Emulator uses QEMU as the hypervisor.
While QEMU appears to emulate Raspberry Pi 2 you should read the documentation about ARM support to see if it fits your needs.
Update
Physical devices have different driver configuration than the emulator.
And if you want emulator to have any performance you'll have to use a different CPU architecture (x86 vs ARM). Please reach up on Adding a New Device in the AOSP documentation (note the layers).
I don't know if you could run a binary AOSP image on RPi on QEMU but it would be slow (and still need to configure fastboot etc.), this thread: https://www.raspberrypi.org/magpi/android-raspberry-pi/ leads me to believe that drivers will be the blocking point.
Another thing that is leading me to say what you want is very difficult is that it sounds like you want load almost arbitrary images. This article on XDA about EFIDroid shows what I think you want but is limited to a set of supported Qualcomm Snapdragon devices.

Here is basically what i am interested in, i want to customize QEMU or anrdoid emulator to run any other custom Rom ( system image, ramdisk, kernel...) not necessarily RPI3 but run any other images that i compile using AOSP

If you are already building new AOSP image what is wrong with Running emulator after building Android from source in which case this question is getting off-topic for Android Enthusiasts

i guess i haven't explain my needs very well, the question is basicaly, can i run different images and also load emulator with kernel different than goldfish for testing purpose. for example running LineageOS or other custom rom on the Emulator before flash it in your physical device

I've updated my answer, I'm leaning toward very difficult as you give the examples of (a) a different kernel (b) a different OS. If you want off the shelf solution, I don't believe there is one.

Ok, i have been looking around the the only thing i found is this which is very old: https://forum.xda-developers.com/showthread.php?t=1599005 , that's basically what i want to do or at least be able to do with different device ROM. in the XDA post they load SDK add-on of the Xperia X10 and then use it to load Xperia image and run it on emulator.

I believe it is using the ARM version of the emulator to run your 'image' so back in the Android 2.x days the hardware layout/kernel may have been similar enough.

OK i understand, i will keep looking around maybe i will find another solution.What about building an android emulator based on QEMU source code from the ground up and you can add support for your device ? is that something possible ?


text:
Downloaded photos from Samsung Galaxy S7 are corrupted on PC but viewed OK from Android Gallery after the internal storage got full
I have a Samsung Galaxy S7 Edge on Android 6.0. I usually take videos and photos and then get a message from the Camera app that I can't use the app anymore since my phone memory/RAM is full. I usually connect the phone to a PC and then download and delete the photos from the phone, and it's back running fine. The last time when it was full, I noticed it was going to take forever to transfer.
I checked the phone's DCIM Camera folder and noticed some 8GB JPEG images. Strange, and I thought they were created while I was "shooting video" and the phone may have been low on space already, and I was hitting that PHOTO button during video shooting to also get some photos during the video shooting.
Interestingly, in the Windows folder preview, I could even see a small "preview" of the actual JPEG image even though it was 8GB in size supposedly, but I could not "open it", may have complained of RAM or some other issue can't remember.
I also noticed there were some files that had corrupted file names like: 2018Ȱ620_160140, basically after the "2018", some kind of strange mark above O.
The issue/complaint is, well I can't really remember for "sure" if even the 8GB file photos displayed perfectly fine on my phone, but all the others that I at least know for sure looked all great on the phone but were corrupt if I tried to view them on my computer. It didn't matter if I viewed the version I copied to my computer, or if I viewed it on PC directly from my phone.
The phone does not use any SD card, only the built-in RAM/memory it came with, etc.
I just retried everything with a different USB cable, no difference. I had also rebooted the phone in case anyone wondered, made no difference.
Why are my photos all being corrupted when I transfer/copy them to my computer?

It seems an issue with the USB port on my computer corrupting the data.
I can see the photos just fine from another computer, and after I transferred/copied some over USB, I can also open them up fine on the computer.

Did you conclude this was the problem?  If so, can you mark your own answer as accepted?


text:
Copy all URLs of all tabs simultaneously
I have a Samsung mobile.
I am using Google Chrome on Android.
I have opened more than 20 tabs in past 20 days.
Now, I want to copy and store all the URLs (website links) of all the opened tabs in a text format in mobile (memo)  or email all the URLs combined before closing all the tabs.
How can I do it on mobile?

Dupe of How can I export the list of open Chrome tabs?. Note that there are only a few solutions (and need root access) for doing it from mobile directly.

Sync the open tabs in Chrome for Android with Chrome for PC. Once the sync is completed you would see the opened tabs of your Android under History section (click Tabs from Other Devices in left panel) in your Chrome for PC. Thereafter, click the three dots line in the upper right panel, choose Open all. Make sure to close other tabs in your Chrome for PC.
Next, install OneTab extension. Click its icon in toolbar, and it would reduce all the opened tabs into a single tab by providing hyperlinks to the recently closed tabs. You can export the URLs from Import/Export URL option in the right panel of that tab.

Sir , i want solution for Mobile Phone . I am using Chrome in Mobile Phone Samsung (not PC). I need a text file in mobile or email having all the opened tabs urls in it .

Yes, I have given a solution for the mobile phone. You would need a PC for that.


text:
Is GetApk Market application trustful?
Is "GetApk Market" application trustful or malicious? Will it affect one's smartphone or tablet?
I have checked via VirusTotal & it mostly detected as Android.Riskware.Downloader:

Can anyone please help me out by confirming that, is it malicious for the tablet or not? Should I install it on the tablet?

A "score" of 11/59 from an 9 years old apk file is not inspiring confidence. If you only want to get the APK files from installed apps there are numerous alternatives from apps with a better reputation.

Do you want a TOTAL STRANGER, someone you've never met, and cannot verify the trustworthiness of, to say "YES INSTALL IT" to make you feel safe? Sure, I'll do that for you. R-r-r-i-i-i-ght.

GetAPK seems to specialize in warez. It takes pride in hosting paid Apps from Play Store for free. Putting aside the blatant violation of intellectual property rights for the moment, paid Apps for free are infamously known to infiltrate the user's device as a malware.
It would be unwise to proceed installing such app even if Virustotal doesn't show anything suspicious. However, curiosity sometimes cannot be put to rest, so if you want to test this app, I suggest you try it in a virtual machine in a PC using Android-x86 or the likes of it.
You can also use a disposable Android device and see how well the app is behaving. Even than, that could only increase your confidence slightly. The risk would always linger as long as you continue to use such an app.
In short, if you plan to install paid Apps for free whether directly or via a market, be prepared to have your data (assume everything that rests or is loaded in the phone) misused and taken hostage.

What about those kinds of apps (from getapk market) which don't want extra permission ? If they don't want permission of storage or something, is there any possibility to be misused of data or taken as hostage ?

You seriously mis-understand the point here. GetAPK can itself compromise your system. It is best to avoid it at first place. It is not worth the risk.


text:
Whatsapp only lets me delete the profile picture [Solved]
Recently, I wanted to change my profile picture on whatsapp for another one, but when I tried to do that, only the option to delete it appeared. This also happens when I want to change the background of a chat or when I want to put a new profile picture for a group.
How can I solve it?
Miui 6.4.14
Whatsapp version: latest
Android Marshmallow
SOLVED
After a lot of tine of searching solutions, I found the what was happening: it is a bug that only appears in MiUi 6.4.14. This bug has not been solved yet.

If possible, could you mention the Android version? I don't know much about MIUI, but I guess you're using Android 6.x Marshmallow? If so, did you just upgrade from 5.0 Lollipop? If yes, could you check the permission of WhatsApp: Storage & Camera? Otherwise, I suggest to install another gallery/image picker, such as Google Photos and try it again. I guess there's a permission issue, or app utility issue (I remember your issue with image uploading on SE app, on Meta.SE)

@AndrewT. Oh, sorry for not posting the Android version

Would you please check if you've granted WhatsApp storage access in the permissions page?

@karanRajpal No, I discovered its a bug of MiUi.


text:
Sony Xperia M4 Start Screen almost black
After a reboot, my new xperia always starts with this screen:

I have the same problem in 'Safe Mode'.
What can I do? I want to fix this problem without a factory reset.
Edit:
I found more people with same problem on Sony's forum. I fixed reseting to factory using PC Companion: https://talk.sonymobile.com/t5/Xperia-M4-Aqua/M4-Aqua-won-t-start/m-p/1025996/thread-id/1311

When was the first time you encountered this issue? Do you remember what you were doing when the issue first appeared? Is the Android rooted? What is your Android version?

I'm using Sony's android 5.0. It's the first time i got this problem. Android isn't rooted.

I found more people with same problem on Sony's forum.
I fixed reseting to factory using PC Companion: https://talk.sonymobile.com/t5/Xperia-M4-Aqua/M4-Aqua-won-t-start/m-p/1025996/thread-id/1311


text:
couldn't sign in/there was a problem communicating with Google servers - Xiaomi Redmi 2 Pro
I have a new Redmi 2 Pro and I am unable to sign in to my google account.
I have Android 4.4.4 KTU84P version and MIUI 77.00.99.
I'v already tried to login with other google accounts, I disabled 2-step-verification and DisplayUnlockCaptcha. I Cleared data/cache of play store, account manager, service framework. All tries were unsuccessful.
I can login to my gmail through the browser on my phone.
The error message: Couldn't sign in/There was a problem communicating with Google servers/ Try again.
Apps used to sign in: Google Account Manager 4.4.4-1227136 and Google Play store version 5.4.12 (these apps are initially installed on the phone)
Steps to sign in on the phone:

Add google account -> Existing account -> user+password -> error message
Start Google Play Store -> Existing account -> user+password -> error message

UPDATE
After a long night search, I found out that the phone came with a vendor specific ROM, namely 77.00.99.00. The official version looks like 7.1.0.0. So, I'm thinking to flash the ROM. I have no idea what else is installed beside the official package.

Much better, thanks! There was no error number given along? (if you just missed that: our google-play-store tag-wiki holds a quite comprehensive list of those with links). All things I'd suggest you've already tried (clearing cache/data, checking network connection). Might still be a server-hickup curing itself within a few hours/days/years (oops). So I've got to leave this to someone else. Meanwhile, make sure to check the messages in the "related" section (to the right using a desktop browser).

Related: Cannot sign-in Google account on Samsung Galaxy S with 2-step authentication / Nexus 10 cannot sign into Google Accounts / There was a problem communicating with Google servers, try again later / Problem in setting up google account - “couldn't open connection to server.”

No  error number was given and if I hit next at the bottom it appears the same error message.  I'v been trying to login since yesterday...  do you know if my play store  version is all right or should I install an older one?

You can always try to "uninstall updates" (via Settings › Apps and its "All" tab). They'll re-install again soon, but this sometimes helps.

Actually the problem was with the ROM, Gearbest replaced the official one with a buggy one. I flashed the latest stable global ROM MIUI 7.1.1.0 with a little trick described by Bilhouse in the miui global forum here
The steps are as follows:

downloaded the Latest Stable Global ROM from here for Redmi 2 version 2014813
file: wt88047_global_images_V7.1.1.0.KHJMICK_20151209.0000.6_4.4_global
downloaded the China ROM for mobile version 2014811, I used the one mentioned in this post here. file name wt86047_images_5.4.3_4.4_cn_94aabfc129
from the China ROM I copied NON-HLOS.bin file and replaced the one in the Global ROM - if you don't do this than you wont have a functional network module and you wont be able to connect to any network.
Flashed the ROM with fastbool as described in my first link.
At my first try of flashing, I encountered an error massage: mismatching image and device in fastboot, which I solved by changing the name of the folder from wt88047... to wt86047... after this I was able to flash the ROM and tired again but this time the folder name should start as ti was originally wt88047...

Redmi 2 Pro is also called at some places Redmi 2 2GB RAM/16GB or Redmi 2 Enhanced.

1.- Root your device (of course)
2.- Editing the file
You will need a proper editor
On your device open your browser and go to: www.ghisler.com/android.htm
Download and Install Total Commander for Android... and open it
OR DOWNLOAD BELOW
3.- Browse with Total Commander to root/etc
(hint: on the right side of the screen there's a shortcut to system folder.. look for etc/ and you will find it)
Long tap on "hosts" > edit file > Totalcmd-Editor
Open etc/hosts and edit the file. Just put # before 74.125.93.113 android.clients.google.com.
4.- SAVED
Edited file should look like this:
127.0.0.1 localhost
74.125.93.113 android.clients.google.com
remember: based on my own observation it should be look like this:
127.0.0.1(just one space)localhost
74.125.93.113(just one space)android.clients.google.com
5.- Turn OFF your device.
6.- Got it on Recovery Mode
7.- Factory reset, wipe data.

Reboot your device.
Once the phone reboots, input your google account information when the phone asks for it.

10.- Sync to your account and contacts
METHOD 2:

Make sure you have a ROOT ACCESS on your Device.
Install Root Explorer, Run App, Grant SU Access.
Browse root / etc... at the top of your screen you will see mount R/O and mount R/W...

4.Tap mount R/W
5.Look for host file, long press it and open with text editor.

just Add # (pound sign) on the first number.

like this:
74.125.93.113(just one space)android.clients.google.com
SAVE IT and Reboot.

So, you also forgot to mention the source and give appropriate credit to author(s), right? Follow How to reference material written by others

I'v already seen this advice elsewhere, but I am not professional in Android but I'm using Linux, so I choose not to try yet. Please tell me what actually means this modification. # is commenting that line, if yes, why do I have to do that, is the given IP address wrong? I'm  a programmer, please take into consideration in your answer.

@Elod there is what we call rooting your phone link


text:
Enable 4G on dual SIMs simultaneously (Jio & Airtel) - Samsung Galaxy On Max
I have a Samsung Galaxy On Max and inserted two different carrier SIM cards, Jio4g and Airtel. It has been written that this device is dual SIM 4G. It was working fine till I was using Jio 4G as my LTE network and for mobile data as well, but when I recharged my Airtel SIM card and switched it to 4G, my Jio SIM was disabled (Jio doesn't have 3G/2G connectivity). So it means I can use only one SIM with 4G enabled.
On the basis of the device model, it supports 4G SIM on both slots but not at the same time. It means it does have an SoC that can handle LTE networks on both SIMs.
My concern is, can Samsung provide some update so that users can use both SIMs as 4G (LTE) simultaneously?

What you are looking for is something like DSDV i.e. Dual SIM Dual VoLTE. Unfortunately, your smartphone does not support it and it will not be possible for Samsung to push an OTA update to enable it.
The chipset itself is not capable of connecting both SIM cards to 4G networks at the same time. One has to fall-back to 3G/2G.

The problem is probably with Jio 4G and not with Samsung.
As observed, Vodafone Airtel or Airtel and Idea 4G SIMs work perfectly fine with dual SIM. Reliance Jio won't remain active if mobile data is taken from another SIM card on the device. You must access internet services from Jio 4G to keep it enabled.
If you want to use both of your SIM cards, then place JIO4G on SIM1 and Airtel on SIM2.


text:
android.database.sqlite.SQLiteException: Can't downgrade database from version X to Y when running an app
I have problem with TitaniumBackup. I had it installed on my Android tablet which is rooted and using Android 4.4.2. It was working fine, but I had to do factory reset and after that, if I try to launch TitaniumBackup, I get 'Unfortunately, Titanium Backup has stopped'.
This is the logcat with the lines that contain references to TitaniumBackup.
Line 111: E/AndroidRuntime(26306): Process: com.keramidas.TitaniumBackup, PID: 26306
Line 112: E/AndroidRuntime(26306): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.keramidas.TitaniumBackup/com.keramidas.TitaniumBackup.MainActivity}: android.database.sqlite.SQLiteException: Can't downgrade database from version 7 to 6
Line 131: E/AndroidRuntime(26306):        at com.keramidas.TitaniumBackup.MainActivity.onCreate(Source)

The error mentions

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.keramidas.TitaniumBackup/com.keramidas.TitaniumBackup.MainActivity}: android.database.sqlite.SQLiteException: Can't downgrade database from version 7 to 6

How to mitigate this issue?

Can't downgrade database from version 7 to 6: looks like the Titanium Backup you used before the factory reset is newer than the current one. Have you updated it?

No, i didn't update it.

Looks more that you downgraded your TitaniumBackup version. You have to use the same or newer version of TitaniumBackup you used for creating the backup.

I didn't downgraded but this shouldn't matter anyway. After factory reset everything is deleted, right? It should not be any traces of previous Titanium Backup versions.

You didn't mention the Android OS version, but on Android Marshmallow or later, app data can be backed up and automatically restored after doing factory reset/reinstall.

It's android 4.4.2.

[...] android.database.sqlite.SQLiteException: Can't downgrade database from version 7 to 6

This is caused when an app tries to downgrade an SQLite database from newer version, but failed since the code handle that is not implemented. (For more technical explanation: Can't downgrade database from version 2 to 1 even after fresh install and re-run).
This can also happen on Android Marshmallow (Android 6.x) or later when the data is backed up and restored after doing factory reset, leaving the data with newer version, but the app in older version.
What the user can do:

If the user wants to use the existing database: they have to find and use the version of the app that is using the current (7)/newer (>7) SQLite database version. Usually this means the user needs to update the app to the previous app's version (before the factory reset) or newer one (latest from the Play Store/developer's website).
If the user doesn't care about the existing database: depending on the database location, they can remove the database by e.g. deleting the file manually (probably need root access), cleaning the app data, etc. and let the app recreate a new database with older SQLite database version (big potential of data loss from the previous database).

Where is this database located?

I was able to manually downgrade the database version of an IceCatMobile database via sqlite3. Root is required.


text:
Change default Chrome built-in dictionary
I have Samsung Galaxy S7 on Android 8.0 Oreo. I have recently noticed that once I select a word in Chrome, I get an option "Dictionary" that would take me to this app. This is the icon of the app:

I can't uninstall this app, thus this means that this is an app by default/built-in.
I want to change the dictionary. By this, I mean when you select one word in a webpage, there is this popup that comes up with the last option dictionary. The built-in dictionary is quite poor for certain languages, and I'm using dictionaries quite a lot.
Ideally, I'd like to use GoldenDict, but any other dictionary would be fine.
Is there any way of using another dictionary from the contextual menu of a web page in Chrome?

I don't have this Dictionary option in Chrome, and I checked a couple of other Android devices too, and none offer it, so most probably it's an option offered by your OS manufacturer. You should probably specify your phone model and Android version in the question.

This app can integrate into Chrome as well and offers reasonably adequate set of words.

Download this.. https://play.google.com/store/apps/details?id=livio.pack.lang.en_US&hl=en_IN
And in default apps section check if there's any option of default dictionary(there usually isn't)
In chrome check if there's another option of dictionary..
Comment if you're have any doubt

I also do not like this built in dictionary. I don't think you can get rid of it, but you can add a better dictionary with pop up functionality, like OnTouch (cheap but good) or Oxford English Dictionary (more expensive)


text:
Increase multi-touch points on Android
Is it possible to change the number of touches in Android 6.0 without root? The default is 2, but I need 3 or 4.

Each phone's touch screen has a limited amount of touchpoints. As far as I know, nowadays all the smartphone has a maximum of 10 multi-touch points. Whereas, the older phones will give you almost 5 multi-touch points. I think there is a mistake in counting your multi-touch points. I hope your phone has a minimum of 5 multi-touch points.
Unfortunately, there's no way to increase or decrease multi-touch points no matter your phone is rooted or not. Nothing can help.
It's the hardware that has a limit and it's controlled by software. And software has to obey the instructions using the limited ability of hardware.


text:
Will "deleting" an icon from the home-screen only delete the icon, or also uninstall the app?
I want to remove the icon for McAfee Security, without uninstalling the application.

I long-press and drag the McAfee icon, but there's only "delete" option at the top of the screen:

Then, there's a prompt:

I am not getting separate options:

remove icon
uninstall app

I can't tell if its going to delete the icon/shortcut only, or also uninstall the application.
Will "deleting" an icon from the home-screen uninstall the associated app?

It's been a while, but it'd be better if you could also [edit] & mention the device model, Android version, and whether this is a stock/3rd-party home screen since Firelord's answer is a big possibility due to the "many flavors" of Android.

Deleting an icon usually only removes the icon, not the app itself. However, if your launcher's home screen is merged with app drawer of the launcher, then it is likely it would delete the app. In the former case, launchers know that it is just the icon that is to be removed, so no user approval in the form of dialog is required.
I suggest you try to find it out on your own what actually would happen. Install a fairly harmless app, such as this one, and try to remove its icon. You would have your answer right away.

The link was the first one that I found when looking for open source apps. One can install just about any app for the sake of testing.

If it is in home screen and you remove the icon, it won't uninstall the application. It is just a mere shortcut for the app. But if you delete the application then it will be uninstalled from your phone.

IF you look at the screen capture I posted you will see that there are not two options: remove and delete. After long-pressing the icon there is only ONE option, which is delete.


text:
Device confusing internal storage with external storage
Ok! I'm going to try my best to explain this but it will be hard because it's sort of confusing. It's confusing to me in the least so it's hard for me to explain.

Device: Proscan PLT1066
Andriod Version: 4.1 Jelly Bean

A few statements:

My device is showing two internal storages but there is only one.
My device is reading a SD card but I have no SD card mounted in the device.
When mounting my SD card into the device it reads it but it doesn't?

I have two Apps installed.

ES File Explorer
Google Play Games

My ES File Explorer shows only one SD card that is named sdcard0.
sdcard0 - 108.15 MB/4.79 GB

My Apps in my system settings show:

Downloaded - Internal Storage - 752 MB used - 130 MB free
ON SD CARD - SD card storage 108 MB Used - 4.7GB free

What I have posted above is all before I mount my 16GB SD card. After I mount my 16GB SD card it doesn't change much. It shows that the SD card is mounted and how much space it has but once I go back into my App settings it still says

ON SD CARD - SD card storage 108 MB Used - 4.7GB free.

Also when I go into my ES File Explorer it shows the SD card and it is named external_sdcard.

ES File shows: external_sdcard - 8.00 KB/14.71 GB

It's clearly able to read my SD card. Both the device and ES File Explorer can see the SD card perfectly and can read the amount of space I have on the SD card.
Except I can't use the SD card. When I'm try to install an app I get an error "Insufficient Storage". By the amount of space the device has and the amount of space my SD card has I'm pretty sure I have enough storage space to download just about any game. Yet, it won't let me download anything.

I guess to make it simple. There is one internal storage on my device but it's reading two and has mistaken one for the SD card. My device can read that there is a SD card mounted when there is not and when I actually mount one it won't use it.

Any help into solving this is greatly appreciated. If you need any more info feel free to ask and I'll answer as fast as I can.
Note: I would provide more images but I'm limited on how many I can post.

I've had what I think is the same problem with my tablet in KitKat.  I'm watching to see what if anything you get on this.

Sadly that is the way things are.  People started making phones without any external storage, but apps needed external storage so they split the internal storage and pretended some of it was external.  This then got replicated onto devices with real external storage so the manufacturer could ship the device with no SD card in it.  It's a mess.


text:
Missing many UI elements
In an attempt to clear device from tons of ads randomly opening and covering whole screen, I have uninstalled majority of preinstalled software (like TurboCleaner and MegaShop or something like that). After doing it there are no more ads covering whole screen, but also system UI is broken - there is no status bar (the top bar with notifications), software buttons are not present (device doesn't have hardware buttons), after installing app for software buttons I also discovered that showing all running apps (the square button) is not working (I think it was broken even before a restart, when status bar was still present). Tried installing Nova launcher in hope that it could fix the missing status bar, but even after toggling the option in settings it did nothing.
Any ideas? I would prefer not to do a factory reset - I think it will only bring back those full-screen ads displaying every few minutes, in lock screen and so on.
Device: Prestigio MultiPad Wize 3131 3G
OS: Android 6.0
The tablet is not rooted or modified in any similar way.

Most of the time these bloat-wares are included into the ROM itself and removing these can cause system issues, you are facing the same problem here.
I would suggest you to -

reinstall all the preloaded apps and check the result.

For preventing unwanted ads you could disable those apps or, use some sort of ad-blocker/ network firewall app.
Hope this helps.

Am confused with the answer, can you pls tell the answer.

Try to reinstall all apps you have uninstalled, it should work.