text:
Facebook app not compatible on Android 4.3
Facebook was crashing on Huawei Y530-U00 on Android 4.3, so I wiped it and tried to install it again. Play Store says that "Your device isn't compatible with this version".
I tried what is being said in the Facebook support: https://www.facebook.com/help/instagram/231705083624002
but it didn't work.
What can I do?

Well, the app simply is not compatible with your device, I don't see a direct fix for that but as workarounds, there might be a couple of tries.

Download the older version which is the latest version that supports the phone in question. Disable the auto-update if you went with this approach. The problem with this approach is that you'll have to find an older version APK source, but such APK sources are not official usually, so beware and use the APK carefully.

Use a normal browser like Google Chrome and bookmark the Facebook page as an icon on the home screen like an application. In Chrome, this could be done by opening the menu on any loaded page and clicking on "Add to home screen".

Notice that the second approach that I recommend and got some advantages over the app anyway. For example,

Using the browser is much less power wasting compared to the app due to my experience.
Also the browser is the full site so all features and options are there especially the new ones immediately when they're added.
Also, I sometimes need to see the site like a desktop user's view, and that is possible via Chrome and some other browsers as well like Firefox and UC. Even built-in browsers support such features.
As a disadvantage (noted by @iBug), a browser uses more data on cellular so more fees. Although I never experienced this and I browse Facebook a lot but it makes sense.

A browser uses more data on cellular → Less views and more fees

Makes sense. But less views ? last time I checked, there are some options available in the browser based FB which were not in the app. I added the point you mentioned about the fees.

As existing answers have mentioned about installing manually from the APK, the latest Facebook version that still supports Android 4.3 is v281.0.0.36.124 (APKMirror), which was released in August 2020 and has a variant for Android 4.1+.
Further version after that, v282.0.0.40.117 already upgraded the minimum requirement to Android 4.4+ instead.
However, there's no guarantee that the app will still work if there's a breaking change on the server-side, which the end-users can't do anything about it.


text:
S8+ stock always on display not showing notifications
I recently got myself an S8+ running Android 7.0.
One of the most (arguably) shallow reasons for getting this nice new phone was for the always on display it offered, where it would show the clock, your battery and the date.
It also promised to show me my notifications, and for about a week or two, that's exactly what it did.
It would show everything, from missed calls, to applications from the store, to weather updates. It showed every notification I had from any application without doubt or question. And I loved it.
Recently however it's just stopped. It doesn't show anything except the time, the battery and the date. No notifications. No missed calls. No new texts. No nothing.
I have my always on display checked as "on", run a default theme that came with the phone (although I have tried others). I have it set to show "Home button and clock or information" (which is the default) and have "Show always" on too.
I'm not that much of a power-user and I haven't tampered with the phone's services or anything, so I don't really know what else I can tell you about the problem. If I'm leaving out some key information please tell me.
How can I go about bringing my notifications back to the always on display?
The only thing that is not an option is resetting the phone.

Make sure in Settings - Notifications - Advanced in upper-right - "Always on Display" is set to "Allowed".  Back out of here back to Settings, then Lock screen and security - Other security settings - Notification access - make sure "Always On Display" it turned On.

Sorry mate, both of those settings were already in the state you described :(

I have noticed that my S8+ seems to get stuck.  Most recently my fingerprint stopped working as if I didn't have the setting turned on.  I did a full power off and back on and it started working again.  I wonder if there are problems with the system trying to do too much and it looses settings.

There are possible reasons why these notifications no longer show:

Type  of Always on Display (AOD) mode you are using (Clock/Calender)

It has been noted that if you're using the calendar AOD mode then you won't see any notifications, just the clock, calendar, and battery %.

I could not get any notifications when using the calender AOD, but I do get messages and missed calls when using just the clock options in AOD. Nothing on emails in either, and I'm using the stock email app for an exchange work account. I could not get any notifications when using the calender AOD, but I do get messages and missed calls when using just the clock options in AOD.

Email client incompatibility

Sometimes there's some incompatibity or bug in the stock email application causing this. Check your email clients and if possible try switching to Gmail client. It somehow worked for one user.

I switched my email accounts from the Samsung email app to the Gmail app (both email accounts are non-Gmail types).  Now my notifications are working fine.  I'll assume there is some problem with the Samsung email app regarding notifications going to the Always On Screen.

New changes introduced in AOD updates

It could be that new updates in the AOD features have brought some changes with it, for example the most notable change was the requirement of screen lock option.

You must use one of the screen lock options for notifications icons to appear when phone is in AOD mode. Before the update this was not necessary.
I picked the Swipe in the lock screen options and my notifications came back. It was working before that last update

Possible solutions
In addition to the above you may additionally try the following to resolve the AOD issue:

Clearing app data

Do a clear data for Always On Display. Go your device’s Settings >> Applications >> Application Manager >> Always On Display > Storage > Clear data

Fine tuning miscellaneous notifications

Make sure notifications are allowed for Messages. In the device’s Settings >> Notifications, make sure the switch next to Messages is turned on.

Switch to another Always On Display layout

Other workarounds

Install alternative  Always On AMOLED – BETA from Google Playstore

References

No notifications in Always On Display mode
S8 Always On Screen Notifications Intermittant
No more missed call and message notifications on Always-on-Display Galaxy S7 Edge
Customize-samsung-galaxy-s8-always-on-display

Clearing the app data worked for me! Thank you!

Thats great ! Anytime :)

source: Stack Exchange

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

sort: votes


text:
Extra icon by share button
I was playing around with Android's "share" feature and now I've got this extra icon which I really don't like and I can't figure out how to make it go away.
The icon is to the right of the share button and has the icon of the app that I was sharing to. In the screenshot below it shows as the Gmail icon.
http://i1383.photobucket.com/albums/ah291/Micheal98/Screenshot_2015-04-01-11-17-14_zpskm0lit2i.png

Upload an image imgur or any other image upload sites and share link here.

I've added a screenshot.

Did you last share to Gmail? Looks to me like it's a "shortcut" to the last app shared to. Sharing to any other app will probably replace it by that app's icon. And most likely the only way to completely get rid of it is a reboot.

Yes I was trying it with Gmail. But I don't want to replace it with another icon; I want to get rid of it completely. And rebooting the phone didn't get rid of it.

I got rid of it by going to the app's "App Info" page and tapping the "Clear Data" button. Obviously that won't work if you want to keep any of the app's other data but in my case I was willing to sacrifice the thumbnail cache to get rid of the extra icon.
The strange thing is that I remember trying that before I asked this question but I guess not.

Unfortunately, I cannot use the comment system yet, but I know what you're referring to.  Once you access the "share" feature, it automatically provides a "shortcut" to the last app you tried to "share" with.  I actually find it a pretty convenient feature.  I don't think you can get rid of it (unless you find a custom gallery or something).  If you share your photos with anybody, I'd use the most-oft used app to share with, and just leave it there. i.e. messaging / facebook / etc.

I don't use the sharing feature. I was just messing around, but I want to get rid of the extra icon because it looks ugly. I use the gallery app a lot and I don't want that icon there every time I use it.

I've been unable to find anything that would help you get rid of it.  The only thing I can think of would be to reset your phone to default (which I'm sure you don't want) and never touch the share option again.

That sounds kind of ridiculous - you would think there would be some kind of "clear data" or "clear cache" or "clear history" option that would remove that.

What version of android are you using?

@MichealJohnson as Dithanial said which version you are using as in 5.0 its not there.

I'm using Android version 4.1.

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


text:
Contacts suddenly changed colour
I'm using Android Lollipop 5.0.2 with the stock Contacts app on my Moto E. I can't remember what I was doing when this happened, but all of the contacts suddenly changed colour! And what's really annoying is that I liked the colours that had previously been chosen for them, but the new colours are really ugly.
What caused this, and is there any way to reverse it?

Please tell us which device and contacts app you are using.

Edited the question as appropriate.


text:
How to connect to multiple devices at the same time using adb?
Things I'm using:

PC: MacBook Pro (Late 2013), OS X Yosemite version 10.10.4
USB: ORICO H7928-U2/U3 USB 3.0
Smartphones: LG G4, Samsung Galaxy Note 2
ADB version: 1.0.32

I'm trying to connect multiple devices and run at the same time under Eclipse IDE by using ADB, but when I connect two devices, one device status is offline or not listed.

Connection status:
pc right usb port ---------- usb hub ---------------- LG G4
                            └--------------------- galgaxy note2
Command line in terminal:
nice7285@SJLIMsMacBook13:/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools$ ./adb devices
adb server is out of date.  killing...
* daemon started successfully *
List of devices attached
LGxxxxxxxxxxxxxx    device

Output when disconnecting all devices from USB hub and reconnecting them:
nice7285@SJLIMsMacBook13:/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools$ ./adb kill-server
nice7285@SJLIMsMacBook13:/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools$ ./adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
Galaxyxxxxxxxxxxx    device

or
nice7285@SJLIMsMacBook13:/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools$ ./adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
LGxxxxxxxxxxxxxx    offline
Galaxyxxxxxxxxxx    offline

What is best way to connect to multiple devices simultaneously?

okay check this out, http://android.stackexchange.com/questions/26130/4-android-devices-on-a-usb-hub

This is one example, you have to make the split, it's doesn't seem to be an option,
root@kali:# adb devices
List of devices attached
4fddcdd8054fc421        device
5cf4b0890675d95c        device

root@kali:# export DEVA=4fddcdd8054fc421 && export DEVB=5cf4b0890675d95c

root@kali:# adb -s $DEVA shell uname -a && adb -s $DEVB shell uname -a

Linux localhost 3.4.0-Mina-my-love-53x--gae7828f #1 SMP PREEMPT Sun May 31 00:41:26 EDT 2015 armv7l GNU/Linux
Linux kali 3.4.0-Mina-my-love-33x--gdba1771-dirty #1 SMP PREEMPT Thu Aug 6 18:05:16 EDT 2015 armv7l GNU/Linux
root@kali:#

Export a variable for each device serial.
adb -s $VAR1 shell <command> <options> && adb -s $VAR2 shell <command> <options>

Note this is done without a hub. It might be the hub throwing things off?
Also apparently you dont need to && when exporting/echoing variables
root@kali:# export DEVA=4fddcdd8054fc421 DEVB=5cf4b0890675d95c
root@kali:# echo $DEVA $DEVB
4fddcdd8054fc421 5cf4b0890675d95c

Thanks moonbutt74 for your answer, but I 'd like to connect muti devices by using the hub and I think that problem can be solved without export command.

I have tested multi connection with another device (Samsung Galaxy Note4), then it works... :d
I think that the solution may be compatibility between devices or device connection sequence.


text:
Using multiple Google accounts in device but don't want some of them to show up anywhere in Hangouts app's menu
I have five different Google accounts (my personal Gmail account used as the primary account and others for different Google Apps for Business email addresses), Gmail, Hangouts, and more, all work fine for each account. However, I don't use Hangouts on three of the accounts, and I'd prefer that I not even see these accounts in the Hangouts app.
While I can sign out of the unused accounts they still show up in the menu in the Hangouts app. Is there anyway to disable the Hangouts app entirely for specific Google accounts?

No, there is not. The Google Account system in Android is an all-or-nothing setup. If the account is configured on your device, and a Google app supports it, then it will be listed as an available option, even if you turn off syncing of that component in the settings.

Thanks, figured as much, good to know I wasn't missing something.

This answer is incorrect. Signing out is possible, see e.g. Leonardo's answer below (tested with Hangouts v10.0, last updated 8 June 2016).

That wasn't the case when this answer was written. Signing out didn't remove it from the list.

Yes you can. Just open Hangouts> tap the three horizontal bars on the top left> tap the Settings option> select the account you'd like to remove> scroll down and select Sign out.
This will sign the account of Hangouts only. You will continue to receive emails and everything else for that account as usual.


text:
CyanogenMod install failed on Samsung Galaxy S II, phone now shows boot screen and then a black screen
I was trying to install CyanogenMod on my un-rooted  Samsung Galaxy S II using this installer.

I installed the app on the phone and the PC;
downloaded the data for the program;
plugged the phone and it started downloading;

I followed the instructions thoroughly and the phone restarted and started installing the ROM. First, it showed the "Downloading" with the green Android then showed the blue CyanogenMod man for a long while, then the app on the PC said it failed and I should try to restart my PC or disable the antivirus (already did).
So I restarted my PC. Now it said "If you tried all these things, it's safe to restart the phone". So I turned off the phone and now when I try to turn it on it shows the splash "Samsung Galaxy" then shows a black screen (not off).
I tried booting in Download mode ("Vol. Down" + "Home" + "Power" button) but the result is the same as turning it on.
Resuming the install process fails every time.
How can I revert back to the stock Android or continue the installation?

System info (before the attempt):

Model number: GT-I9100P
OS : Android 2.3.6
Baseband version : I9100P
Kernel version 2.6.53.7-I9100PXXKL1-CL761356 root@DELL131 #2

Can it go to recovery mode and download mode??

@Jasser no, everything just shows a black screen

Note: Keep in mind, Samsung Galaxy S2 has infamous Superbrick bug. Every flash can result in permanent brick (only board changing or maybe JTAG unit can recover device). You can learn more about it here.
Note2 : Last resort to enter Download mode is to get USB JIG. There is plenty of this on Internet and it's very cheap. Also there is tutorials on Internet to make it yourself, if you can't get it shipped in your country.

You can try to:

return to stock ROM
install custom recovery, wipe data/cache/dalvik/system partition and reflash custom ROM

Steps for returning to stock ROM:

Download ODIN.

Download Stock ROM from Sammobile site.

You will probably get zip file with one dll and one tar.md5 file. You need to unpack only tar.md5 as it is the file you need to flash.

Put your device in download mode - Pull off battery, insert it again, push "Vol Down" + "Home" + "Power" button.
Now connect it into PC using USB cable (check if you have install Samsung USB driver, search on Google for it)

Only check auto-reboot and F. Reset time! Repartition must stay unchecked.

Put unpacked tar.md5 in PDA section (if you downloaded Odin v3.07, can be different on other versions).

Click Start. Do not unplug your phone or it will result in a brick.

Phone will reboot and if everything went OK it will finally boot.

Steps for recovery solution:

Download ODIN.
Search XDA-Developers for CWM flashable file (I will try to post it in a comment, I cant post links anymore - reputation) and download it.
Search for Recovery-flashable file of CM that you need - usually just zip file. You will need to put it on External SD-card and insert that SD-card in the phone.
Put mobile in download mode, make sure you have Samsung USB drivers, and that in ODIN you have only checked Auto-Reboot and F. Reset Time. (Also connect your phone into PC).
Put recovery tar.md5 in PDA section and click Start.
Now pull off battery, insert it again and press "Vol Up" + "Home" + "Power".
Wipe /data,/system,/dalvik,/cache.
Go to flash and select zip file that you downloaded from SD-card.
Flash it.
Reboot device, and check whether it works.

Note3 : Be aware that following anything involves flashing can result in permanent brick of the device. Maybe it is even smarter to take in to service so they can better fix it.
Also, I or others (including this website) shall not be held responsible for any damage that may be caused to your device by using the aforesaid instructions.

Hi! (forgot to do it before :), I edited your answer because the formatting was messed up. You may take a look at formatting-help such as 1. instead of 1) would give a numbered list automatically. Similarly, to highlight something or put stress, simply use (no overuse) Bold format rather than ALL CAPS.

@AndroidNotSoPowerUser - you may want to include the steps for wiping the device cache and data files after ODIN has done it's job in your steps for "Returning to Stock ROM". If he installed Cyanogenmod those are probably wiped anyways, but not clearing those caches may prevent the device from getting past the logo screen.

But op says everything is black..... even the download mode then how can he flash his phone

Well... I started writing this post before that comment was added/didn't see that he said what happens before edit so I didn't noticed this. Maybe OP can still get in recovery using USB JIG if he can get it. It is cheap if he can get it shipped/or even make it himself

Then edit your answer so as to include the info to use USB JIG.... and enter into download mode.

Why do you recommend Odin? Heimdall is a better alternative.

In Heimdall you have to take care about PIT files and partitions, in Odin you usually just have to put tar.md5 in PDA and Start the process. On the Internet, you usually find tar.md5 files, while to flash in Heimdall you need .img files and to know on what partition to flash (usually Kernel2). Second problem is flashing Stock ROM from Sammobile is not that easy with Heimdall. Also, almost 99% of tutorials on web are with Odin, so it is much easier to find more about process. Not all users here, have Android experience, so I think Odin is much better choice for new users/users with less exp

I tried to install the stock ROM and it worked. THANKS A MILLION!!! The stock version i installed was of 4.1.2.

You might want to check the Samsung web site. I found a tool called "Simple Download Tool" or there is also "Simple Upload Tool." As soon as I loaded the correct driver and my device was recognized, then a few clicks and the tool did all the work.

Can you provide a link to the page?


text:
Android phone keeps rebooting, how can I save my data?
I hope this question fits this site, as in my opinion the problem is caused by Android.
My problem is that my phone froze all of the sudden while browsing settings, and ever since the first freeze it reboots all the time. It boots just fine, but after a short period it freezes then reboots again, in a loop.
I tried to leave my phone until the battery drains, then take it out for a day, but the issue is still present. I wiped the cache partition from recovery mode, the reboot is still occurs even in safe mode.
UPDATE: Safe mode seems to be working, at least I can browse my phone without it freezing. However it freezes in safe mode if I go to the "Application manager" in settings, thus I can't uninstall any applications.
I've read that a hard (factory) reset would probably solve the problem, however I have important information on my phone (contacts, messages, pictures) which I don't want to lose.
Since I assume that the hard reset would solve my problem, my question is, how can I save my data from the phone? Is there any utility that allows me to directly copy from the phone?

Phone: Samsung Galaxy Ace 2 (i8160)
Android version: 4.1.2
Kernel version:  3.0.31-1106830

The phone is not rooted or tinkered with in any way.
I know there are already similar question on this site, however they did not receive a working answer, and I feel like my situation might be a different issue.

Data cable and grab files to PC?

Does not work, because the phone will reboot shortly after boot. Kies does not even recognize the device under this short time it's turned on.

I'm sorry, but at this point your only hope is a factory reset.
The symptoms sound like the data for one of the system apps has become corrupted. If you had any way to stop the reboot cycle, you'd have a shot at saving the data. Since even safe mode doesn't give you that, there's not much you can do.
I will suggest, for the future, saving all of your contacts, messages, phone logs, et al., to external servers, such as Google Contacts. That will also help when you upgrade your phone. There are several apps in the Google Play store to save text messages, phone logs, photos, videos, and the like to a remote server.

Please read my update, it won't reboot in safe mode, only if unlock the screen.

I saw that. In order to be able to save any of the data, though, you'll have to unlock your screen.


text:
Htc desire 628 bootloop in recovery mode after flashing TWRP
I flashed my phone with twrp, tried to enter recovery mode through the bootloader, but now it's on endless boot, how can I fix that?
In download mode:
hTC download mode

*** UNLOCKED ***
htc_v36bml_uhl PVT S-ON
LK-1.01.0000
RADIO-UNKNOWN
OpenDSP-UNKNOWN
OS-1.16.401.1
Aug  2 2016, 19:11:15(788931)

[options here]

Detecting smart card...
Reboot to ftm mode failed due to NOT_FIND_SMART_IO

In bootloader:
*** Software status: Modified ***
*** Unlocked ***
HTC_V36BML 128 SHIP S-ON

CID-HTC__A07
LK-1.01.0000
OS-1.16.401.1

When i select to boot to recovery mode, appears message, which says 'This build is for development purposes only', after that's boot freezes. OEM and bootloader unlocked, USB debugging enabled

'This build is for development purposes only is shown by the bootloader. It is simply a notification that the bootloader has been unlocked and thus the system may be modified/compromised. This warning is important for people you buy a used phone.

flash working twrp (1, 2) and reboot straightforward into recovery right after flashing, otherwise your custom recovery will be replaced with stock recovery

@alecxs, tried to boot right after flashing, same thing:
Writing 'recovery'                                 (bootloader) HOSD CL#788931
(bootloader) start@1
(bootloader) recovery@100%
(bootloader) Update partition OK
(bootloader) end@Done
OKAY [  2.585s]
Finished. Total time: 3.067s
Sending 'boot.img' (11924 KB)                      OKAY [  1.477s]
Booting      <---- on this step boot freezes```

there is also downgrade protection S-ON must be S-OFF. try revolutionary, rumrunner or firewater

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


text:
How to reflash Htc Desire 628 properly?
I tried to reflash my Htc Desire 628 using fastboot, but got following log:
PS D:\platform-tools> fastboot oem rebootRUU
OKAY [  0.042s]
Finished. Total time: 0.043s
PS D:\platform-tools> fastboot flash zip firm.zip
Invalid sparse file format at header magic
error: write_sparse_skip_chunk: don't care size 915918919 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 115920967 is not a multiple of the block size 4096
Sending sparse 'zip' 1/3 (781249 KB)               error: write_sparse_skip_chunk: don't care size 915918919 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 915918919 is not a multiple of the block size 4096
OKAY [ 36.254s]
Writing 'zip'                                      (bootloader) HOSD CL#788931
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_U
(bootloader) aJ4Bc
(bootloader) ERR [SD_UPDATE_ERR] update_fb_ZIP_buf: can not find ZIP hea
(bootloader) der
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 22
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) end@Done
FAILED (remote: '22: fail to flash via downloadzip')
fastboot: error: Command failed
PS D:\platform-tools> fastboot reboot
Rebooting                                          OKAY [  0.001s]
Finished. Total time: 0.008s

I took 2PVGIMG_V36BML_UHL_L51_DESIRE_SENSE70_HTC_Europe_1.16.401.1_Radio_0.1524V28P45.0504.0422_1_release_483251_signed_2_4_masud.zip
firmware from there:
http://forum.gsmdevelopers.com/htc-firmware-unified/11239-htc-desire-628-2pvgimg-v36bml-official-stock-roms-18-03-2017-updated.html
in download mode:
*** UNLOCKED ***
htc_v36bml_uhl PVT S-ON
LK-1.01.0000
RADIO-UNKNOWN
OpenDSP-UNKNOWN
OS-1.16.401.1
Aug  2 2016, 19:11:15(788931)

bootloader and OEM unlocked, usb debugging enabled, is there something else missing or it is a matter of firmware?
Update:
adb log:
PS D:\platform-tools> adb sideload firm.zip
Total xfer: 0.00x
PS D:\platform-tools>

in twrp:
Updating partition details...
...done
Full SELinux support is present.
MTP Enabled
Starting ADB sideload feature...
Installing zip file '/sideload/package.zip'
Invalid zip file format!

Update 2:
Updating partition details...
...done
Full SELinux support is present.
MTP Enabled
Installing zip file '/sdcard/firm.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
Zip file is corrupt!
Error installing zip file '/sdcard/firm.zip'
Updating partition details...
...done

Update 3:
handle_cota_install: install cwpkg to /ota/cwpg.zip
handle_cota_install: install cwprop to cota/cw.prop
Write host_mode error
handle_cota_install: Can't mount /sdcar, 1 times
handle_cota_install: Can't mount /sdcar, 2 times

Comments are not for extended discussion; this conversation has been moved to chat.

HTC update.zip is encrypted and does not respect the standard file layout. META-INF is missing, content is:
info.bin
zip_0.zip
zip_1.zip
zip_2.zip
zip_3.zip
zip_4.zip
zip_5.zip
zip_6.zip

Therefore this file can only flashed from stock recovery.

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


text:
Export Chrome for Android's history
Is there a way to export the entire browser history from Chrome under Android, in any file format (CSV, XML, whatever)?
I have Chrome 42.0.2311.111 under Android 4.2.2.

Desktop-based Chrome allows for the installation of an addon that handles this. Its name is Export History. It does not seem to be available for Android; nor is there a comparable item. See the Chrome Web Store for further information.

@wbogacz Is there an extension or a program that you think can export the whole SQLite database into a CSV or XML file? I've written an answer below which can export the database but not into the said extensions.

@Firelord - check this query on stackoverflow: http://stackoverflow.com/search?q=sqlite+csv+export+is%3Aquestion

You can use Google Takeout to download a JSON file of your Android Chrome history.
You can also download your bookmarks, along with a lot of other Google data.

Chrome doesn't allow backup using ADB and there are no extensions available for mobile version so you should have root access before you proceed further.

Grab the History file from the location /data/data/com.android.chrome/app_chrome/Default/ into PC. A Root Explorer may help.

Install an SQLite manager such as SQLiteman or DB Browser for SQLite in PC.
Both has the option under menu bar to export the database into an SQL file or a particular table into CSV file.

Well at least you now know where the history is stored, so you may find a relevant software to directly export the database into a CSV or XML file.

If the tabs are still open you may find the following useful, via dev.to - When you never close tabs on your mobile Chrome browser. Not quite a solution here, but was what I was looking for when I came across this question.
Export open tabs
Chrome's remote debugging has a remote-debugging-legacy mode that allows you to view tabs on a connected computer via adb.
Set up adb

First, install the Android Command Line Tools from Android Studio.
Enable developer mode on your phone by going to Settings > About Phone > Build Number and tapping 7 times
Enable USB debug mode from Settings > Developer options or Settings > System > Advanced > Developer options. This menu will only be visible after the previous step.
Connect to laptop and verify with ./adb devices -l. You may need to configure adb and grant permission from your phone.

Connect to chrome remote devtools
Once your phone is set up with adb you can:
# Connect to Chrome Android's legacy debugging API
./adb forward tcp:9222 localabstract:chrome_devtools_remote

# Visit http://localhost:9222 to verify, then
curl http://localhost:9222/json/list > mobile-tabs.json

You should be able to export ALL your history from ALL devices under your Google Account on practically any browser. It's generally easiest to do it from your desktop, however.

Touch the 3 dots on right top of screen.
choose "history"
when it loads, again touch 3 dots and choose "print"
Give new filename to save to
then scroll to bottom of history and choose "older".
after the page loads, repeat the above.
A hassle, but it works for me...
Later you can use various apps to combine the created .pdf files.
Oh, if this works for you, then..
"You're welcome".


text:
Why do I have an SD card but still no storage space?
I have a textbook Android tablet and an SD card, but when I try to download apps like Viber and other apps, they say I have insufficient space and my tablet is saying "Storage space is running out. Some system functions may not work".

How to save files to external SD card on a non-rooted Android? - How to move apps from internal to external storage?

The storage used to store apps is internal storage. Android doesn't allow apps to be installed on the SD card so no matter how big your SD card is. Your tablet will install apps in the tablet's internal storage.
You can move apps to an SD card using App2SD or in the phone settings, but only apps that allow moving to SD will be movable. If the app doesn't allow App2SD, you can't move it.
There is some advanced workaround to use an ext4 partition on your SD card as a /data partition, but it needs to be enabled at the kernel level.

What I did was enable the Developers in settings, then scrolled down to enable the setting that says to override apps that don't allow transfer to SD card.
Every single app I have, including internal or the ones that came with my Samsung Galaxy J7 2017 (well, most) are on my SD. My internal storage still says it's halfway full. But I believe that is Samsung in itself.
After enabling that setting, you will need to go into app info after installing the said app, then manually transfer from the device or internal storage to external or SD storage.

Android versions less than 6.0 don't natively support using an external SD card to 'extend' the internal SD card, therefore, only data can be moved to the SD card if it has been allowed by the app author.
To move this data to the SD card, you can go to Settings > Apps and select the app which you want to move to the SD card, and press 'Move to SD'. If the option is greyed out, it means the author has not allowed 'moving to the SD card'. You can move the data back by pressing 'Move to phone'.

Hmmm... are you sure?  On at least some KitKat devices, when you move an app without any data to the external card using the method you describe, the internal storage is increased significantly.


text:
How to edit the number before calling on Android?
I want to edit a contact before calling. Let's say I dialed a number by mistake: I don't add 0 for an out-of-state number.
In earlier basic non-smartphones, you had an option in the call history where you could edit the number before calling. So I would just use that it would show me the entire number to edit then I add the zero of change the number if I have typed it wrong.
I just can't find this feature in Android I am searching for this on Google and it seems only those on Windows phones are missing this feature and have posted it in Android forums.
How to edit the number before calling on Android?

Related: http://android.stackexchange.com/questions/84286/is-it-possible-to-prevent-numbers-in-text-from-being-dialled - numbers can't be edited.

Community bump prevention: this question was closed because the question seems to have been abandoned (OP hasn't visited the site after posting the question, and no answers have score above 0). If anyone can evaluate the existing answers, feel free to vote accordingly and reopen the question (or mod-flag the question requesting for reopening). For anyone else having the same issue, please post a new question and refer to this question as additional context.

One way is you can copy the number, paste it into the dialer, and edit it.
To copy, click on the photo of the particular contact and you will see the number. Long press on it and select copy to clipboard.

An alternative app as an answer that features the desired option.

In addition to the answer by Sameer, you may use an app like Truedialer and follow these instructions:
Install and launch this app → tap contacts icon at the bottom (extreme left) → hold the contact entry you want to edit before call → tap Edit number before call → now you can edit and call.


text:
How to control page refresh on Android browsers?
I like to read the news when I take the subway. The problem is that there is no internet connection on the subway, and thus my strategy is to preload in different Chrome tabs all the articles that I'd like to read, and then cross my fingers that when I access the tab in Chrome, it won't try to stupidly refresh the page and then give me a "no connection found" page instead of just keeping the pre-loaded page (this is what I call very dumb; it seems to me that a properly designed software would not just kill the content of a page when trying to refresh and there is no connection). Sometimes it does not try to refresh the page, sometimes it does -- I have not succeeded to figure out the pattern. Note that I have a Samsung Galaxy S5 mini with 1.5 GB RAM and so I don't think it is a RAM issue (it also does that even if I just rebooted the phone and have only 2-3 tabs open in Chrome).
In any case, is there any tweak, plug-in, or whatever, I can do in Chrome to be able to prevent it to refresh pages when I don't want to? If not, is there any other Android browser that implements this feature (a "do not refresh any page" button or something like that would do)?

I don't know about Chrome, but UC Browser is definitely an answer to your question. You can preload the pages and then even if the data connection is off, you can read the articles (in your case). Just make sure you don't kill the app itself.


text:
Key symbol in notification bar when swiped once on Xperia with Lollipop
I've recently upgraded to Android 5.0 in my Xperia C3. I don't seem to find the user profiles symbol on my notification or any sign of it anywhere. I also see a key symbol on my notification bar near to the battery indicator. What does it mean? And why don't I have the user profile options?

Are you able to access users via Settings>Users>add user?

On Nexus devices, the user profile is on the very top-right of the quick settings. As for a key symbol, I'm not really sure as I never see that on Nexus devices. Probably an exclusive to Xperia phones.

@Thomas Martin : no sir. I dont seem to find it.

@Andrew.T : I think it's a bug in xperia phones. My phone is not performing good after the update. Also the front camera is very bad. It produces low brightness dull photos. I'm waiting for an update from xperia. Thank you for your reply.

The key symbol indicates that you're connected to a VPN

Yes, the key symbol means, your network is being monitored. If you run "Mobiwol" (a non-root firewall), it creates a VPN.


text:
Set Russian language on Alcatel Pop S7 (Android 4.1.2)
I am not able to configure the device to Russian language, although assumed that all Android supports it.
Question: What are the chances to enable Russian UI after I root the device? Worth trying or just will not be supported?
Note: I can install Russian language keyboard, but I am looking for Russian UI on the phone itself.

Just for confirmation, have you checked it on Settings > Language & input > Language?

Yes...CHecked there multiple times and even after factory reset- no RUssian

MoreLocale 2 from the Play Store might be worth a shot.
Taken from the app listing:

You can select more locales via this app.
  If your locale doesn't appear, please use custom locale function in menu.

So if you don't see your preferred language in the app, you might have luck specifying something like ru-RU in the app's custom locale wizard.


text:
What are the various technical specs of a fast charging cable?
What technical specs do I need to look for to know a cable will be compatible with my phone?
I just bought a new Motorola G7 supra and none of my existing USB type C cables work with it. I plug it in and nothing happens, no data connection and no power connection.
I don't know if it is USB speed, amperage rating / wire gauge or something else.
Also I want to know all the the technical specs so that when I buy a spare cable I can get one at least as good as the one that came with it.
This information is helpful yet does not seem to answer my question.
How does fast charging work? Here’s every single standard compared
https://www.digitaltrends.com/mobile/how-does-fast-charging-work/

Modern USB-C chargers use USB power delivery (USB-PD). For fast charging higher ampere and higher voltage levels are possible. What levels you need depends on what the Smartphone supports.

Tech specs, simply speaking is that the cable supports fast charging. But it's not as easy as that, it depends on many factors, see a selection of answers that address

You can compare the specs. Best is to check in Lenovo forums


text:
How do we verify that a phone call is going through WiFi?
How do we verify that a phone call is going through WiFi?
I am hoping that there is some special little icon like this one:

Cricket wireless is my provider and my phone is a Motorola moto g7 SUPRA.
My carrier does support WiFi calling. I spent an hour on the phone with them trying to answer the question the above question. The device also supports WiFi calling and reports that WiFi calling has been correctly activated
Our local cell towers went down today so I wanted to have another way to make phone calls that did not depend on an active cell tower. I set up WiFi calling on my phone and it confirmed that it was set up correctly and enabled. The WiFi also indicated that it was connected. It is a very strong connection because it is only ten feet way and direct line-of-sight.
After I did this I still experienced the same issues that I had because of the bad cell tower. This would seem to indicate that the phone calls were not going through WiFi.

Most phones will actually say "WiFi Call" or something similar on the dialer screen while in call, I know my Pixel does.

@beeshyams Yes my carrier supports this I spent an hour on the phone with them trying to answer the question the above question. The device supports this and the device reports that WiFi calling has been correctly activated.

You can test whether Wi-Fi calling is working by activating Airplane
mode, then turning just Wi-Fi back on, and connecting to your home
Wi-Fi network. The icon should appear in your notification bar and
you’ll be able to make or receive calls. Testing WiFi Phone
Calling

I tried this and it worked. I turned my WiFi router off and because I was still in airplane mode phone calls did not work. This proves that the above advice is correct.

This test fails on my eOS (Android-derived) phone. I'm connected to wifi and have wifi calling activated, but trying to make a call in airplane mode gives an error, "Turn off airplane mode or connect to a wireless network to make a call."

Get wi-fi phone calling working then turn off your router and see if it still works. You have to make an actual phone call in wi-fi.

That's blocked, as noted above.

@DanielR.Collins you do it when it is unblocked and it works. Then you do it blocked and it does not work. That proves it was a wifi call.

That process cannot be done, as noted above.

I'm using a Pixel 3 XL, I've not "seen" any top menu icon or place to know if my phone is using 802.11 protocols for a call.
The only way I know to easily force a TCP/IP 802.11 protocol is to use Google Hangouts. You can dial any phone number from there for free.
I have 2 "Google Phone Numbers" but I've not seen/dug for the information on how to receive calls on those numbers.


text:
Xiaomi stuck in fastbot mode while bootloader is locked
I've found my Xiaomi redmi note 4 stuck in fastboot mode after the battery had died. I tried different ways to unbrick it but nothing helps. The list of ways I tried:

platform tools fastboot binary. fastboot reboot bootloader - still
rebooting to fastboot.
 Also, adb binary doesn't recognize my device.
I can't use mi unlock tool because it doesn't see my phone.
Miflash doesn't recognize the device also.

Are there any other ways to unbrick it?
Edit: It's Mediatek Helio X20

If your device is in bootloader/fastboot mode then adb does not work that is by design: https://android.stackexchange.com/a/225159/2241

first i would try is, in fastboot mode keep holding Volume Up while fastboot reboot and release button when in recovery mode. there you can wipe cache

@alecxs still rebooting to fastboot. Do you know if there any mac os drivers from the examples above?

flash boot recovery system from SP Flash Tool. make sure you have the right scatter file. always flash with golden rules: "Download Only" + never flash preloader

The problem was not in fastboot mode. The reason was that my volume button was shortening and was always pressed. Fixing the button solved the issue.


text:
Possible to recover app data from .asec file (SD card in Samsung) and move to new device (OnePlus)?
I have been using an Android app since 2014. Recently, I switched to a new device (OnePlus) and realized that the data backup was only till 2018. It was narrowed down to the data being stored in the old device's (Samsung) SD card. That is a challenge as the new device doesn't have an SD card slot. Now, I got a memory card reader, connected with my laptop, and transferred all the data but this.
New challenge:

There is no ".pc" file (default extension for the backup file) in the SD card's folder. This folder is empty and I couldn't identify any hidden files - \Android\data\com.popularapp.appName.
In .android_secure folder, we have this ".asec" file, which may or may not be useful.

Here are my questions:

W.r.t. #1 above, am I missing something? Should I look for the backup/data somewhere else ?
W.r.t. #2 above, since it is .asec file and the app needs .pc file for the backup (otherwise it throws error code 2116), is there a way to use this file to get the data for the missing time period ?

The app name is Period Tracker (https://play.google.com/store/apps/details?id=com.popularapp.periodcalendar)
If this is not the correct platform to ask the question, please direct me to the right one.
Any help would be appreciated. Let me know if further information is required. Thanks!

.pc file is not known android backup. asec containers are just apps, no backup

How do you know that the backup has been written to the external sdcard? Unfortunately for historical reasons the internal section also have an directory called sdcard but that is located in device flash chip.

@alecxs, all the backup files for this app have an extension .pc.

If the old device still works, and that app allows it, you could utilize adb backup and adb restore to transfer the app including its data. For use on-device, there's an app called Helium Backup using that mechanism, no root needed. Check our backup tag wiki for details.

only .pc files i know are pkgconfig_files if you ask for a specific app you should edit your question

@Robert, here is the scenario, let me know if you could tell me a way out - My old device's screen broke and I can't see anything. It switches on and off but I believe the USB debugging is not on so I can't access what's in there. At one point in time, the device was running out of the memory and I moved the app to the SD card. The bug and feedback team suggested that the backup could be in the SD card.

@Izzy, does it require USB debugging to be on? I tried adb along with Vysor (I guess). That requires USB debugging to be on. Plus, I cannot see anything on the screen. Doesn't even unlock.

there is no backup in asec container, its just the apk itself but not the app data https://android.stackexchange.com/q/221453

the files you are looking for are stored at folder PeriodCalendar/Backup on /sdcard

@alecxs, is that in Internal storage? If yes, is there a way to access that ( considering I can't see anything on the screen) ?

yes it is possible to flash modified system with adb enabled and init.d script which does copy RSA-key

update your question with phone model number and android version, maybe i can tell you solution then

@Namandeep_Kaur yes, it makes use of that. And you even need it once initially to activate the app if the device isn't rooted.

@Izzy fully hands-off method exist for old samsung devices, i have done this on SM-T113 with broken display (see Place your adb keys, configure USB debugging)

That looks interesting @alecxs – but sems no longer maintained (last release 2016, though last commit 2019). And not clear what devices are supported. But yes, if it works, no USB needed initially as the config can be flashed via recovery, if I understood correctly.

@Izzy limited to devices supported by cf-auto-root


text:
automatically power on android when charge is 20% or 10%
I know its duplicate on Power on when charging but only when battery level is greater than 20%
but it seems that question has no answer and also android version has changes a lot , I am on Android 10 , need to start my phone when charged to at-least 10 or 20 %  automatically as I am using it for some automation .
Any other way other than physically pressing the power button would be really helpful
Device Redmi Note 5 Pro and its not rooted

Is your device rooted and which device is it? Please include in question

With root acess you can run an init service in charging mode which is watching charge level. When it reaches the threshold, device can be powered on as explained in this answer of mine: https://android.stackexchange.com/a/221384/218526

fastboot oem off-mode-charge 0  , there is risk of boot loop I read somehwere , if phone is too discharged and on plugged in try to start immediately ?


text:
LG V40 completely unresponsive.. Won't charge after I was playing with the partitions and 9008 mode.. Any options?
I have an LG V40 through sprint.. Its won't respond to any button combos or cords /cables.. Anyone think they could help me out


text:
Banking apps not working after flashing OxygenOS
Today I clean flashed OxygenOS OB16 Crocus V2 (Android 10) using OrangeFox Recovery in my Redmi Note 5 pro (whyred).
And before this, i was using Pixel Experience Plus (Android 10) and before that stock MIUI
I never rooted my device as only unlocked bootloader was sufficient for flashing PE and OxygenOS.
And I never flashed Magisk or SuperSU.
All my banking apps were working fine in Pixel Experience but after flashing OxygenOS today 3 apps (U-mobile, DigiLocker, UBI rewardz) are telling me "This app does not support rooted/jailbroken devices"..... 1 (PayTM) displayed this message but let me in on my own risk while 1 (GooglePay) doesn't show anything.
What I already tried :
I tried different apps from playstore to check for root access and SafetyNet check....but every single one of them told me I didn't have root and passed SafetyNet check.
I don't know why they're not working in OxygenOS while all 5 worked in Pixel Experience !!
Any solution/suggestions are welcomed.

Are you sure your device passes both SafetyNet attestation tests (basicIntegrity + ctsProfile)? By installing a custom ROM even without root the ctsProfile test should always fail because the system is different and the open bootloader.

Yes, I've used the most reputable apps in playstore. Root Checker by joeykrim and SafetyNet Test by Free Android Tools. Btw, never had a problem running these banking apps in Pixel Experience....which is a custom rom too.

Edit : I've added images for proof.

The correct way to proceed would be to contact the banks and open an issue for that problem. Unfortunately from a bank perspective a custom ROM is the same as a rooted device (it is not stock and hence manipulated). Therefore this way is most likely a waste of time. There must be something on this ROM that is common for rooted devices. Try what happens if there is an su binary or an app installed that has a package name similar to a root related app.


text:
Port to port routing in rooted android device locally
I want to route the incoming TCP packets of one specific IP.
Packet can arrive on any port on android. Packet needs to be forwarded to one specific port on the same device, Without using middleware server (router etc) .
Can SSH server or firewall be used? Or is there any other solution to this problem?

Solutions suggested here should work for on-device forwarding as well: https://android.stackexchange.com/a/207342/218526


text:
Add a built-in app to Fire Kids profile?
I have a bunch of Fire tablets for my kids and we are using the FreeTime locked profiles for them. I can download 3rd-party apps and then share them on my kids profiles. But I can't do this with the built-in apps, like Clock. Do you know how I can do this?
I've chatted with Amazon support and they were no help. Here are the Amazon instructions for more details on how this works for 3rd-party apps: https://www.amazon.com/gp/help/customer/display.html?nodeId=202119930

At least as a substitute for the Clock app, this app seems to be good, allowing multiple alarms. Plus it is Fire compatible and free:
https://www.amazon.com/MacroPinch-Alarm-Clock/dp/B00EPG51Z4


text:
sd card keeps getting unmounted when htc sensation is being charged
i have an htc sensation and it keeps saying that the sd card has been removed when its still in the phone. it will also say that the sd card has unmounted when it is charging  What is going on?

Are you charging it through the computer? Or through a power outlet?

Does this happen only when on charging or at random? Please edit the question with more details also mention Android version / ROM that you are running so that folks will be able to help you better.

When you first plug into a computer you are often given a choice about how to connect to the computer. Charge only, mount as storage, etc.. You then also often have a choice of making your choice the default from then on. So the behavior you describe can occur when you have chose to mount the phone as storage for the computer by default whenever it is plugged in. You can change these settings in the phone settings.


text:
Can SIP be restricted to certain Networks?
The default android telephony app allows the configuration of SIP accounts. At home, I want to use my android phone as a softphone with my local router (an AVM fritzbox). However I frequently use other Wifi networks. As far as I understand, with a SIP account setup to accept incoming calls, the phone will now try to connect to my home router whatever network it is connected to, even using mobile internet services, using up bandwidth. I know that this can be restricted using dedicated SIP apps (like the one AVM provides itself). But it is it also possible to only search for the SIP server when connected to a given network using just the native telephony app?

You didn't specify the Android version of your device. With 4.0+, you might want to check with your data monitor whether you can find the native app, and if so, set the background data limit to 0 for it. That should prevent it from looking for the SIP server at least when running on mobile data.


text:
First time with Android, need help with adding media
For Christmas this year I am getting a 16GB (really 10.6 GB) Galaxy Note II, which will be my first Android device after having a slew of iDevices. I have ~12 GB of music in iTunes and Google Music, and am looking for a way to sync it to my SD card (it doesn't fit in internal memory).
So far what I've looked at:
-dragging folders from my mac's Finder into the phone's raw file system
This would work, but when I get new songs it seems cumbersome to have to go back into the filesystem to sync them
-Google Music
This is what I was planning on using, until I found out that it only can save to internal memory (there's bad coverage where I live, so I can't rely on streaming)
-DoubleTwist
From what I've seen, DoubleTwist is an iTunes replacement, and doesn't sync from the iTunes application (so if I get new songs I would have to add them to iTunes then DoubleTwist)
Is there some amazing solution that I'm missing, or do I have to make do with one of these (and if so, which one would you recommend)?

I guess since no one else answered, I'll post what I ended up doing as an answer.
The solution that worked best for me was iSyncr. It's a Mac/PC app that acts as a middleman between iTunes and your device, so you can sync all your iTunes music, playlists, and song data.
It wasn't perfect or free, but it was what worked the best for me.


text:
Remove "Recent files" from My Files app in Samsung Galaxy Core Prime
As you can see the "Recent files" in the picture, it's really annoying - it remembers every image which I just opened, thus violating my privacy.
Note that "Recent files" even remembers and shows my hidden images (which Images or Gallery won't scan and show).
I can make the "Recent files" forget about my recent images by going to Settings -> Application manager -> All -> My Files -> Clear data (check the second image), but that's just exhausted.
Is there anyway to completely remove this annoying "Recent files"?
In the past, I used Samsung Galaxy V and it doesn't have this  "Recent files", then why my Samsung Galaxy Core Prime has?
(Click image to enlarge)

Ugh, no but you can use other file explorers like es explorer, it doesn't has recent file.

How is it violating your privacy? It's only showing your files on your phone to you. The only way it could hurt your privacy is if you choose to let someone else look at that list on your phone.

@DanHulme Imagine you give your phone to your 8 year-old nephew to keep him busy, and you have some sensitive photos...

That's not a privacy violation, that's just you sharing some stuff you shouldn't.

The solution is Clearing data in App info of My Files, After a few years using this phone, I think this is the only solution.
Slow way: Settings -> Application manager -> All -> My Files -> Clear data.

Quick way: you can quickly open App info of My Files by holding the My Files app then drag it into the App info

Disable "Recent File"
1 Long route:
Settings -> Application manager (or Apps) -> All -> My Files -> App Info -> "the Gear" (immediately below the three dots bar) -> Customize My files home -> Disable "Recent files"
=> in this route, the three dots bar leads to "Uninstall updates".
2 Shorter route  (You don't see the "Gear", because you clicked directly on "My Files"):
My Files -> The three dots bar -> Settings -> My files settings  -> Customize My files home -> Disable "Recent files"
3 You have better eyes than I do:
Settings -> Application manager (or Apps) -> All -> My Files ->  "the Gear" (located on the right of the name) -> Customize My files home -> Disable "Recent files"
4 The final stage (this is where you should arrive)

Samsung just added this feature, my old phone doesn't have this Disable Recent File feature, maybe some of Samsung dev read this question, lol :D, Thanks for sharing anyway.

I'm using an LG Q7 to delete the files I went into file manager pushed the  three dotted settings button, and selected show hidden. and searched through internal storage, found most of the thumbnails and cache in the pictures. A little digging as well in Android and DCIM was looking for anything that had a period in the beginning.

Go to Files
select the 3 dots on the upper right
Pick Settings and you'll see the screen below
Turn off Show recent files

Just open your files and tap the 3 dots in right upper corner, and select settings, then turn Show recent files off.

Don't know about that, but I never saw that option on my phone. Can you post the image?

In fact it is possible to do so. You just need to remove the cache files from Gallery and My Files then it removes recently added folders from Gallery and recent files from My Files.

Actually, the solution is already in the question: Settings -> Application manager -> All -> My Files -> Clear data.
Note: that you can do it quickly with Holding the "My Files" app, drag it into the "App info" (I don't remember the exactly word is App info or not), then the app info page appear, in this page you can: Turn off the app, clear the app cache, data,... Thus you can Clear the app data in this page.

Welcome to Android Enthusiasts! This post does not contain enough information to be considered an answer. How did it solve the issue? Where to find it? What are the steps to perform?


text:
How can I sort applications by cache size?
How can I sort applications by cache size?
I can sort applications by data size in Settings → Apps storage, but it doesn't take into account the cache size, which can sometimes be significant.

I use Android 6.0 with an LG 4.

Elixir 2 offers this feature. Install and launch that app, go to Applications, click the four horizontal line at the top, and choose Cache size under Sort By.

Note: tapping on Cache Size causes my device to get stuck on "Please Wait", so this may or may not work with your device.

On Samsung Galaxy S23 Ultra running Android 13:
Settings > Battery and device care > Storage > App cache:


text:
How do I enable Airplane mode using Tasker on Android 4.2.2?
How do I enable airplane mode automatically at 01:00 AM using Tasker on Android 4.2.2?
The Airplane mode setting inside Tasker under Action -> Net -> Airplane mode cannot be activated:

Airplane mode is not available in Android 4.2+, try the Secure Settings plugin and a rooted device.

My device is rooted. How do I properly use the Secure Settings plugin to enable Airplane mode automatically at the said time?

Have you already installed Secure Settings? What have you tried to activate Airplane Mode? According to the graphs in my Tasker Graphs section, you should be able to use it via Plugin › Secure Settings, finding it there under Actions › Airplane Mode.

@Izzy Seems that the plugin has shifted the option after the last time you checked its latest version, and the new location is System+ Actions -> Airplane Mode. :)

@Firelord makes sense, given that it now requires root. You know: each new Android version since 2.2 brought a new restriction. This one was AFAIR introduced with 4.2. So it looks like I need to update that graph. As you've just played with SecureSettings: did you spot any other deviation I should consider? E.g. "Airplane Mode Radios", did it move as well? // Ouch, PS: Position of menu items seems to depend on Android version. On my device with 4.1.2, Airplane Mode is still listed in "Actions".

Notes:

The answer is tested on a rooted Android 4.2.1 running Tasker  v4.6u3m and Secure Settings v1.3.6.
Secure Settings may needs to be installed as a System app (it has the provision under SYSTEM+ in its GUI).

Since you're already aware of making profiles, tasks, and actions, I would come to point:

Make a profile having time as the context, and create a new task in it.
Under that Task, the action would be Plugin → Secure Settings → Configuration (pencil icon) →  System+ Actions → Airplane Mode → On → Save (floppy icon), and save your action under the task.

Now whenever the time would come Tasker would execute Airplane mode, and everyone would be happy!
You can automatically disable the Airplane Mode as well, by choosing Off or Toggle over On in the aforesaid step.

For Readers: If you don't happen to have Secure Settings or it's not working somehow, then you can use the following action as an alternative. (Credits to Andrew T. and DavisNT for their answer)
Action: Code → Run Shell, and enter these details:

Command: settings put global airplane_mode_on 1; am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true
Check Use Root

That would execute the Airplane mode based on your profile.
To automatically disable the said mode, create an another action in a different profile and copy the aforesaid action with exception of 0 over 1 and false over true.
You're good to go now!

Oh, did I mention that the alternative can actually be used on a non-rooted phone as well (hint: ADB running wirelessly, and  use adb connect in loopback), perhaps not on 4.2 but 4.4 and 5.0 can do the job.

authors: จีรวัฒน์ เจริญรัมย์


text:
Nexus 7 2012 is almost unusable after upgrading to the latest Lollipop. What should I do?
I have a Nexus 7 2012 wifi. With the latest version of Lollipop it has really become unusable, freezing for a minute or more, or even rebooting while loading a page in Chrome.
I did a system reset, but that did not change much past the few first minutes.
What is the recommended version to have again a usable tablet? Is anyone having a "runbook for dummies" to install Android 4.x (or CM or whatever works fine) ?
Most of the tutorials I found on the Internet are for geeks wishing to experiment. I just want a running system with minimal fuss/risk.

Found this thead that seems to recommend Android 4.4.4or CM11. I'd love to have some confirmations...

I second the 4.4.4 downgrade - it was the last version that had no horrible usability challenges with that old Tegra 4 processor, and it's one that I've personally downgraded to on my device.

What "versions" of Lollipop are you using? I use MultiROM and have  6 different ROMs installed. 2 are Lollipop, 5.0.2 and 5.1. Both run without incidence. Have you tried wiping cache and dalvik-cache from recovery? A better question would be : are you sure your installing the device correct ROM? (There are 2 different 2012's - WiFi only (grouper) and the 3g/WiFi (tilapia)). They will install to each other but will cause corruptions and compatibility issues. I mention this, because Lollipop works really nice on this device.

@HasH_BrowN I never "tweaked" it.  It got  its 5.1.1 OTA. For me this is a consumer device,  it should just work, without requiring me to spend time studying  what's under the hood. I did wipe the cache, but I have no clue what's the dalvik cache.

You would have to go into recovery and wipe the dalvik cache there. Most of the time after installing a ROM, even an OTA, the cache and dalvik cache need to be wiped otherwise the issues you been having arise. Do you have a custom recovery installed (CWM or TWRP)? Your accepted answer deals with a custom ROM, which needs a recovery to install.

I didn't install the SDK to have Wugfresh usable. The program is all inclusive with the exception of the ROM you want installed. It allows for unlocking the boot loader, installing a recovery, side loading apps, fastboot commands, adb commands, and flashing of ROMs; plus a lot more. The Nexus 7 happens to be the easiest device I've ever seen for rooting/ROM'ing. Just have some patience, you'll see.

Try 'JimTDI's Guide - Tuning the Nexus 7 with Android 5 Lollipop for Maximum Performance!' here https://goo.gl/X0HwAu
The discussion for this post is here https://goo.gl/wqjv76

very usefull, this helped me understand a few things and helped making the machine more usable. I also installed Nova launcher, which made it faster (my feeling), without spending half a day doing risky things I don't master.

The official Google Developers site has the full instructions and image repository on how to install a factory image for any Nexus device, including your "nakasi" Nexus 7 2012. I recommend 4.4.4, but you are free to go back as far as you want until you're comfortable with it's use.
Cyanogenmod also has a stable 10.2 version (Android 4.3) - you can download the image file here. You can re-use the instructions found on the Google Developers site to install this as well (just target your CM unzip location instead).
BE AWARE: This will wipe your device, and this is all done under your own volition. Flashing a device - regardless of source or instruction - always comes with risk of damaging or rendering the device useless. We are not responsible for it!

Old question, but this is my beloved Nexus 7 3g (2012), "tilapia". Please note that WiFi only version is named "grouper"
First step, install TWRP recovery; the official guides forgot to mention that you have to disable the fastboot lock too, command: fastboot oem unlock (and then select Yes on the confirmation screen, on tablet)
Nexus 2012 TWRP installation details here
Then I have installed on my Nexus the Android AOSP (vanilla 7.1.2. andorid) with tilapia/grouper support released by AndDiSa on XDA forums.
Main thread is here.
Now it works really fast, I can use the web browser, play and see movies with no hiccups.
I quote my "success story" form XDA forum:

I have successfully installed the
  aosp_tilapia-7.1.2-ota-eng-20181112.ds.zip on my Asus Nexus 3g 2012
  (tilapia), I also installed open_gapps-arm-7.1-pico and Magisk v17.3.
  I installed your Android release, by using TWRP-3.2.3-0-tilapia, over
  the Asus original fully updated Lollipop. In fact the most tricky part
  was installing TWRP
During installation the initial OS configuration failed, multiple
  times (I tried with reboots), just during the user account selection.
  Using the suggested SetupWizardFixCrDroidNexus7.zip fix, fixed the
  problem, and I was able to complete the device configuration.
Finally: My Nexus is back to life, is very responsive, browsing and
  playing movies are very fast... I have not tried all the functions
  (not tried camera yet).
With official Lollipop my Nexus was simply unusable, u-n-u-s-a-b-l-e,
  I used to think that my beloved Nexus was simply too old for the new
  applications. I think now that Asus(or Google, is a Nexus) released
  defective OS versions for manufacturer-planned-obsolescence

Interesting. I still have that tablet (unused). I might give your solution a try. Is it feasible for a non specialist ?

It depends, there are passages (TWRP installation) for sure where technical experience helps to not get stucked. i.e., you need fastboot and adb commands,  -> so you have to install Android-SDK -> to invoke its adb/fastboot commands perhaps you have to  invoke them from command prompt from the right path, I have no Windows OS but Linux, you must certainly try and try again, more times. And for sure you need 1)Patience 2)Method. I think that with no mistakes an expert guy needs about an hour to make the job done. But I cannot say exactly what the minimum level is.. I'm sorry.

Added my TWRP guide link, https://thegoodcodeinn.blogspot.com/2018/11/install-twrp-on-asus-nexus-7-3g-2012.html

I try: I think that an average programmer can make the job done.

What I did to improve performance on My Nexus 7 2012 (Nakasi) was to Unlock Bootloader then flashed TWRP v3.3.0, then flashed Lineage OS 14.1 (Android 7.1.2 Nougat) via TWRP,  Recommended GAPPS are "opengapps pico" (arm) and to root it I flashed Magisk v18 and now it took life. Performance improve like 90% now is pretty much usable. (it's April 16 2019) so belive me when I say it is usable and performance wise is awesome.

interesting, thanks. Could you eventually the necessary links ? Thx !

I recently got my Nexus 7 2012 usable and fast after 2 years resting in a drawer with rooted Lollipop using suggestions from this site (in Spanish) like disable all gestures at Language Input/Gboard and disable graphic animations in Developer mode.

Looks interesting, thx. I'll give it a try


text:
Connect LG G3 Android phone to Linux PC
I just want to access the files on my Verizon LG G3 phone from my Linux PC.
I have adb installed and I followed this ArchLinux tutorial but adb devices outputs the following:
[grease-lightning]/home/lucas$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached

I also followed this xda-developers tutorial but the MTP tool does not seem to detect my device properly.
I have usb debug on, and MTP mode on, (via Settings > Storage > usb/pc connection > "MTP" (default was PTP) on my Android phone).
I also tried running the commands mtp-detect with this output and mtp-connect with this output, but I cannot seem to access the file system. Most notably, it seems that the vender and product id are not detected, as quoted here from the mtp-detect output:
Device 0 (VID=1004 and PID=627f) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
   Found 1 device(s):
   1004:627f @ bus 3, dev 25

As instructed in the xda tutorial, here are the contents of my udev file:
[my-pc]/home/lucas$ cat /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb",ATTR{idVendor}=="1004",ATTR{Product}=="627f",MODE="0666"

and here is the lsusb info for clarification:
[grease-lightning]/home/lucas$ lsusb | grep LG
Bus 003 Device 039: ID 1004:627f LG Electronics, Inc.

So, after trying these tutorials using the mtp and adb approaches, how can I connect to the files/media on my Android phone? Any suggestions?
I am using ArchLinux if that matters, and I would prefer a simple CLI approach to accessing the files on my phone.

If the goal is to only copy files to-and-fro the device then consider this answer which will need hotspot on your device or USB tethering enabled or internet access, and then using an app to host an FTP server on your device. You can then access it from PC locally. You can use curlftpfs on Linux to mount FTP server on your PC and then access anything from CLI.

And sometimes, it happens with people that using root account on Linux and then connecting you device with Linux results in access to ADB and MTP on the device. I use root for it and never had to use udev rules or something.


text:
How can I figure out, if my phone recognises my headset correctly?
Phone: HTC Desire 510
Headset: Samsung EO-HS1303
Problem: Phone refuses to output stereo sound on that headset.
Some exceptions: Occasionally after reboot and on first start of a few apps like bandcamp, there will be stereo sound. But only during the first track played.
Apparently the phone assumes to be connected to a monaural headset. How to find out why and how to fix it?
Update:
Phone is not rooted. Headset connected via 3.5 mm Jack. Headset works fine on Samsung Phone (one could expect that).

Rooted or not ?

Are you connecting it using the 3.5mm jack or Bluetooth ?

3.5mm jack, not rooted.


text:
Why doesn't BOINC use the CPU power fully on my Huawei P9 lite?
I installed BOINC on my Huawei P9 lite.

model VNS-L31
build VNS-L31C432B414
Android 7.0 (stock)
CPU Kirin 650
RAM 3 GiB

I want the phone to run BOINC applications, when fully charged and connected to a wall outlet or PC. However it seems, that BOINC has no means to acquire all computing resources on that device. Antutu Benchmark shows no more than 68% CPU load and when inspecting the actual CPU load only four of the 8 cores are showing full CPU load the others exhibit half load and lower CPU clocking.
Battery temperature doesn't exceed 29°C, which is fairly low. (I'm not living in Siberia)
Computing performance seems to be low, too, when compared to an old Samsung Galaxy S5 with lineageOS installed. I tried to find all settings concerning power usage and so on, but there are virtually none execept power saving mode and ultra power saving mode.
When I start the stress test of AnTuTu Benchmark, the battery temperature rises to 37°C, soon. All cores show nearly full load then.
Now what bugs me is:

Is the CPU usage for background processes limited by some means?
Is it possible that BOINC applications are so inefficiently programmed, that they can't acquire enough computing resources to create full CPU load?
Can this be circumvented by rooting the phone and/or installing third party apps / non-stock ROM?

Don't get me wrong, I don't want to wear down my phone intentionally (in fact, on my old phones I don't give a s*** on that). But I want to have control over what I do on my devices.
Update
Did a test run with CPU-Z. It clearly shows, that the overall CPU-load is just 30% while Boinc running in the background. So the device must be throttled somehow.

** Update **
I added the thermal measurements from CPU-Z.
[
It is rather obvious, that the temperatures can't be the cause for the throttled CPU. Anyone more clues why and how BOINC is kept from using the resources and how I can influence that behaviour?

Yes it is true, the Huawei P9 lite has a Octa core CPU, however not all 8 cores are the same. Instead it follows the ARM BIG-little concept:
The 4 "BIG" cores (2.0GHz) are dedicated for maximum CPU speed. They are optimized for maximum performance (at cost of power consumption).
The 4 "little" cores (1.7GHz) are optimized for minimum power consumption. They are pretty slow compared to the BIG cpu cores (more than the 15% the cpu speed comparison indicates) as they are mostly used when the phone is in stand-by mode and does not have to compute much.
Therefore it is not unusual that only 4 of 8 cores are used. You should use a system info app that displays the current (not the maximum) CPU clock speed of all 8 cores. You should see that 4 cores work at 2.0 GHz - so the BIG cores are used.
For my device the app CPU-Z works and displays the clock speed (the refresh speed is not very high so you have to wait some seconds).

Hello, did a test run with CPU-Z, showing that even the strong cores are throttled.

@Ariser Throttling is a different thing, likely caused by thermal restrictions.

@AndyYan I don't think it is a thermal issue, because all temperatures are around 30°C +-3° according to CPU-Z. If thermal throttling was active in this region, the device would be unusable in a lot of regions around the globe.


text:
LineageOS/OpenGApps refuse to install on SM-G901F
Very annoying.
I'm trying to install LineageOS on Samsung Galaxy S5 Plus (SM-G901F), which used to run with stock OS before.

I successfully installed TWRP
I backed up my partitions and wiped them
Downloaded Lineageos (lineage-16.0-20200416-nightly-kccat6-signed)
Downloaded Addonsu (addonsu-16.0-arm-signed)
Downloaded OpenGApps
Installation of all packages in one run seems to finish without problems.
When I start the system it takes half an hour to boot but eventually resets and boots into recovery. I never get to see more than the moving bubbles.

I tried the following OpenGApps-packages:

open_gapps-arm-9.0-aroma-20200418 (wouldn't even install)
open_gapps-arm-9.0-super-20200418
open_gapps-arm-9.0-stock-20200418

outcome is the same for all. I also tried without addonsu, but outcome was the same. Now, what are the next steps? Or what did I miss?

Is the storage of my phone too small?
Did I select wrong OS version?
does the opengapps version not match that of the OS?
Should I try without opengapps?

Update
Using nightly build 20200423 with opengapps-nano worked. But not with addonsu. Can I install addonsu later? Or does it suffer the same problem as opengapps that it can't be installed in a second run?

Just to make sure, are you following the official guide and tried 'nano' for OpenGApps instead?

Yes, followed official guide, tried also nano now. Same result.

If something does not work fall back to the bare minimum (LineageOS without su and GApps). You are using a nightly version - those versions can work but does not have to. Try a newer or older version (several days). Make sure you also wipe the data partition.

Ha! Installing the latest lineageos-version w/o additional stuff worked. I'm going to inch  forward. Thanks so far, I'm doing more tests and update either my question or report success.

Update: Installing with lineageos and opengapps w/o addonsu worked. I'll add that to the question.


text:
Supersu complains about needed update
I have successfully installed TWRP 3.1.1 on my HTC Desire 510. I have rooted the phone with a modified ROM (so I think).
But supersu keeps complaining: "Die SU-Binary muss aktualisiert werden. Fortfahren?" (i.e. super-su binary must be updated. continue?)
If I continue, I can choose between "normal" installation and "using TWRP/CWM" for installation. Neither works.

"Normal installation" yields "SU update unsuccessful" and leaves me a reboot or a link to some tutorials.
"Installation using TWRM TWRP manages to boot directly into TWRM TWRP (yeah!), but does not change anything. super-SU comes up with the same message after reboot.
I also downloaded the last super-SU zip and installed it from TWRM TWRP, but with the same outcome.

I have some suspicions.

the phone might not be rooted properly? I unlocked its bootloader according to the HTC standard process (fastboot and token generation on HTC's website). This at least allowed me to install TWRM TWRP and a modified ROM. I checked root access with two different root checkers and they told me, my phone was properly rooted
supersu is somehow broken?

Sorry that was a typo. I corrected it transparently. TWRP makes more sense, doesn't it? I'll look up the supersu version I used later, as I can't look it up now, but I downloaded it last friday, and I think it was supposed to be the latest.

How do I identify v2.79 version 3? I found "SuperSU-v2.79-201612051815" for download. Is that the right version?

Ok, downloaded it, installed via TWRP, but the superSU app keeps complanining, that I "must" update the binary. Perhaps I just should ignore that?

Let us continue this discussion in chat.


text:
Waydroid network interface in bridged mode possible?
Original Problem: I got my repaired phone back. In the meantime I had used waydroid to do all stuff. Now I want to transfer everything from waydroid to the phone by using the google method. However google on waydroid can't see the phone in the network. I assume this is because waydroid is accessing the LAN via NAT.
Could I solve this issue by putting the interface into bridge mode, and if so, how can I do that?
addendum
When I wrote google method I refer to this:
When I start up my repaired and blank phone it asks me if I want to migrate from another phone. I say yes and it tells me to open google app on the old phone, enter „mein Gerät einrichten“ in the search field of the google app. (maybe it's "setup my device" in English). The old phone should then find the new phone within the LAN or WLAN and connect to it.

Sorry but what do you mean by "google method"? Backup and restore via GDrive? But for restore via GDrive the local network topology doesn't matter, just internet access is required.

@Robert I enhanced my question accordingly.

Doesn't Way Droid support bridged networking mode instead of NAT? That should make it possible to be in the same network with a physical Android phone. The other options would be USB or Bluetooth which both most likely will not work. But don't expect too much from this data migration system, when I used it, most apps weren't migrated with data.

@Robert as it is somehow a full grown container system I think it must support bridging somehow, mustn't it? But I'm still searching documentation. However documentation seems sparse to me.


text:
Set Open DNS in Android 5.0.1
Just updated my Oneplus One to Android 5.0.1, and I can't change the DNS when I select the "Static IP" option in Wi-Fi settings. Basically I can put the values in, there is just no way to press OK and accept the changes.
It was possible in Android 4.4.2. Has anyone bumped into this issue?

This is one silly issue in Lollipop update (CM12) for OnePlus. I'm assuming you're running Cyanogen OS 12, and I found (on Reddit) and tested this solution some time ago.
Unlike Kitkat, you can't change only the DNS in Wifi settings as "Save"/"OK" is always greyed out if you do, i.e. you need to provide every single detail which includes:

IP address
Gateway
Network prefix length
DNS 1
DNS 2

As soon as you fill the first four entries, the option will appear to save the settings.
A brief description of each field is given here.


text:
"There was a problem while playing. Touch to retry" when trying to play offline video
I encounter problems when I play videos downloaded from Youtube. I've downloaded 5 videos. Those videos are added to disk. The downloads were all completed successfully, but when I try to play them, it says

There was a problem while playing. Touch to retry

May I know the reason and how to fix it?

are you playing those files by the default media player on your device ? have you tried using a different player ?

Those videos are added to disk.

How do you know that they are added to disk? and what is mean by disk here? Do you mean external store such as SD card?
If you mean SD card, then that is unlikely as YouTube Offline feature save all downloaded videos on internal storage (and not on disk/SD card), something like below location:
Internal storage/Android/data/com.google.android.youtube/files/Offline/(system generated folder name)/streams

You can check this question for more details on storage of YouTube Offline video location.

downloads were all completed successfully

Again, how did you verify this?
The important point is anything you save will be accessible for 48 hours in the offline section on the left-hand sliding menu, of YouTube App. Even if the file is there, YouTube won't list it if it's already expired. The permission is controlled on their server per account basis, to access those downloaded files.
You can try below quick steps to see if you Offline feature is working:

Download at least 1 video and as soon as you finish download Turn-off Internet (3G/4G/Wi-Fi).
Open YouTube App, and go to offline section on the left-hand sliding menu, of YouTube App.
You should now see this recently downloaded video there, just try to play it. YouTube should immediately start play (remember, we turned off internet in step-1, still app should play video as it is offline and already downloaded on your phone)

Caution: You will lose all Downloaded Offline YouTube videos, when you "Uninstall Updates" of YouTube App.


text:
Lock screen doesn't show notification on Android Lollipop
After my Samsung S5 has been updated to Lollipop (5.0.1), notifications re. new mail, text, facebook, etc. don't show on my lock screen. The only thing showed is my network operator.
Now I have to unlock every time to see why my phone made a beep/sound. Any way to bring the info back?

Go into settings and then into Sounds and notifications. There should be an option called "While locked". Tap into that option and select from the list to show notifications on the lock screen.

That middle option is not available on my nexus 5 and choosing "show all content" just doesn't work. I'm on android 6.

@Startec - See my answer below.

I am using Android 6.0.1, so this may not work for some.
I used it for WhatsApp, see comment below.
Go to
Settings -> Notifications -> ADVANCED (at the top right) -> (Choose the app you want) -> (tap the little info icon at the top right) -> Notifications -> More settings -> Popup notification -> Always show popup
(see image below).
I tested that this setting is what makes the difference, since setting Only when screen "on" did not show notifications in locked screen.
But this is a setting from WhatsApp, as I could access it from within WhatsApp as well.
I could not find a setting from Android for doing this (neither on a per-app basis or as a global setting), so I wonder whether it is up to each app to have a setting like this. This makes this post partly an answer and partly a question!
Note: In Android 6, settings for Sounds is separate from Notifications.


text:
What happens to CPU frequency when Android downloads a large file with screen off?
For example, I start downloading system update file and hit the power button to dim my screen.
What happens to CPU? Does it lowers its frequency or change its governor to powersave? Or does CPU frequency stay the same when I had screen on?

Some cases:

If it's downloading 1 file from 1 site - barely works: it's offloaded to modem.
If it's downloading via torrent - might work harder; decrypting, hashing, etc.

Basically, downloading takes little CPU.
I assume the reason you're asking this is because "Why does downloading eat my battery so hard?"
If that is the case, then think of your Cell (3G, 4G, etc) and WiFi as giant flashlights that you can't see (technically, sort of what a transmitter is). Network connections at high speed need:

High power
High frequencies
Many other math'thy thingers I shall spare you

There are free apps in Google Play like Trepn Profiler that show you exactly what happens to the CPU frequencies of all cores during a file download. This data is captured in the background so the screen can be off. They also show the CPU load and actual power consumption in mA or mW.
I've found that downloading a large file over WiFi uses more power than you would expect. Downloading a 100MB file over WiFi with the screen off consumed an average of 997mW on my phone. The idle power of the same phone with the screen off was only 27.8mW. That's a huge difference.
This test was done on a Samsung Galaxy Note 3 using a Monsoon Power Monitor. Airplane mode on. All unused apps and services closed.
Disclosure: I’m part of the team who produced Trepn Profiler.

Could you mention the link of the app? I would like to see this app.

Sure. He is the link: https://play.google.com/store/apps/details?id=com.quicinc.trepn&hl=en

Here's how I profile in the background without overlays onscreen: https://developer.qualcomm.com/forum/qdn-forums/increase-app-performance/trepn-profiler/28721 You don't have to do this, but it consumes more CPU cycles if you do not. After you finish, profiling save as .db. Then select 'Analyse Run' and you'll see a graph showing all of the core freqs. I should mention that I'm on the team who created this app. It's one of several apps in Google Play that can do this.


text:
How can I run touch screen games in non-touch Android PC?
I have installed Android ×86 KitKat a few days ago on my Lenovo G580 model-20157 PC. Everything works just fine, but when I installed a game, I could not play it since it was meant for touch screen and my PC doesn't support touch.

You can play it with a trackpad or mouse most of the time.


text:
Holding power button doesn't work on Nexus 4
My Nexus 4's power button's hold function is not working. I can lock my screen, but anything which involves me having to hold the power button isn't working.
I'm scared to even wait for my phone to drain all the battery and shut down because I have to hold the power button for it to start. I'm stuck.
Is this a hardware break or a software bug?


text:
Failed updating and uninstalling app with ADB
I installed Better Battery Stats (BBS) v2 from XDA and quickly realized that the actual required version is 2.1. So I tried to uninstall BBS via ADB but that failed because BBS is a system app.
Now when I try to install the new version, I got:
bash-3.2$ adb install BetterBatteryStats_xdaedition_2.1.0.0_B4.apk
3925 KB/s (3671858 bytes in 0.913s)
        pkg: /data/local/tmp/BetterBatteryStats_xdaedition_2.1.0.0_B4.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]

And when I try to uninstall it, I got:
bash-3.2$ adb uninstall com.asksven.betterbatterystats_xdaedition
Failure [DELETE_FAILED_INTERNAL_ERROR]

Can anyone point out how can I resolve this issue? I just want BBS 2.1 Beta. I am using a Nexus 4 running stock 5.1.1 (rooted).

Did you try using a system uninstaller app to see what happens? // Somebody somewhere suggested to use pm uninstall <pkg> and see what happens. Someone else said that having multiple accounts results in this. Don't know the reasoning but it kinda helped them. // May be you can try deleting the apk from /system manually and the associated data of it.

Can you run adb as sudo? sudo adb install BetterBatteryStats_xdaedition_2.1.0.0_B4.apk  You may need to give full path when you do so though.

Type the following:
adb shell //open adb shell
su //get root permissions
pm uninstall your.package.name //uninstall the app

Hope my answer helps!

Try Adb shell uninstall -k --user 0 packagename

please don't post untested solutions


text:
What is the best way to root a 2012 Nexus 7 running 5.1.1 Lollipop?
I have had my N7 for about 5 or 6 months now, and I am considering rooting it. I would like to know the best one click rooting methods to use. I've heard of kingoroot, but I don't know if it roots 5.1.1 yet. Thank you

Use the Nexus Root Toolkit. It is the easiest method, and will walk you through all the steps (setting up drivers, etc.)
Here's a link: http://www.wugfresh.com/


text:
Set Timezone to UTC-12
How can I set the timezone to UTC-12?
I searched the regions and timezones supplied, but didn't find any TZ with UTC-12. Is there any possibility to set it by fiddling with configuration files?
Baker Island and Howard Island are in this TZ but they don't show up in the list.
Update:
Android Version 10
Build SHIFT6MQ.SOS.3.8.G.20220824

Fiddling with system files requires root access, e.g. How to add timezone to world clock when you don't know the city?, How to update timezone data?

I am putting the solution here instead of the comments as previously done.

Go to Settings -> System -> Date & time.
Set Automatic time zone to off.
Press on Select time zone
Press the 3-dot,
Press Select by UTC offset. GMT-12:00 will be listed. Select it.


text:
Is it normal to see ClassNotFoundException when opening Google Plus app?
I recently have my first Android phone.  It is a Samsung Galaxy Grand Prime (KitKat).  It is not rooted yet and all apps are from Google Play.
Every time I launched Google Plus or Google Photo, I see the following Exception in logcat:
E/Parcel: Class not found when unmarshalling: itw
java.lang.ClassNotFoundException: itw
   at java.lang.Class.classForName(Native method)
   ...
Caused by: java.lang.ClassNotFoundException: Didn't find class "itw" on path: DexPathList[[directory "."],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
   at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)

com.google.android.talk also have the following single error message without stack trace (these errors are from the same process id):
E/dalvikvm: Could not find class 'av', referenced from method f.a
E/dalvikvm: Could not find class 'ax', referenced from method f.a
E/dalvikvm: Could not find class 'android.app.RemoteInput[]', referenced from method f.a
E/Babel: canonicalizeMccMnc: invalid mccmnc
E/Babel: canonicalizeMccMnc: inavlid mcccmnc nullnull
E/dalvikvm: Could not find class 'com.google.android.libraries.hangouts.video.ScreenCaptureVideoSource$2', referenced from method com.google.android.libraries.hangouts.video.ScreenCaptureVideoSource.<init>`

Looks like itw, ax, f.a, etc are obfuscated names.  I would like to know wether these errors are normal or not.
Added more information to question:
Google+ is a built-in application located in /system/app/PlusOne.apk.  As I don't have root access, I can't remove and reinstall it.  Based on process id, looks like /system/bin/tlc_server raised this exception.  I don't have any idea what is tlc_server.  If I use the original version without updates, exception is raised when I view any photo (java.lang.NoClassDefFoundError: hay) or opening G+ (java.lang.ClassNotFoundException: ejf).  After upgrading to the latest version of Google+, the following exception appears only for the first run:
java.io.InvalidClassException: eqb; Incompatible class (SUID): eqb: static final long serialVersionUID =8874316054258000122L; but expected eqb: static final long serialVersionUID =0L;
   at java.io.ObjectInputStream.verifyAndinit(ObjectInputStream.java:2343)
   ...
   at com.google.android.apps.plus.service.EsServie.d(PG:5584)
   ...
   at elj.a(PG:70)
   at bd.b(PG:425)
   at bd.a(PG:395)
   at dm.b(PG:104)
   at dh.a(PG:73)
   at iak.a(PG:120)
   at iak.b(PG:16)
   at dg.a(PG:61)
   at dt.b(PG:47)
   at dz.handleMessage(PG:474)
   at android.os.Handler.dispatchMessage(Handler.java:102)
   ...

These errors are not normal, I don't have them.
For the google talk error, do you have hangouts installed?
And for the g+ error, have you tried reinstalling the app, or a full factory reset.

Yes, both G+ and Hangout are default apps that comes with this device (/system/app/PlusOne.apk and /system/app/Hangouts.apk).  This device even has line-4.3.0-release-20140428133612-MA_SAM.apk as prebuilt apps.  I can't remove them but I've tried to delete upgrades and caches for G+.  Exceptions still occur when viewing photo.  They seems to be raised by /system/bin/tlc_server.

Have you disabled any apps?


text:
How to reopen 1000 synced Opera Tabs from a different device?
Last time, I could simply copy the appstate.bin file to the new device, as described in this Q&A. But this time, either my backup is too old or something else changed. Copying that file has no visible effect.
However, I have synced my open tabs to Opera's servers. On my freshly reinstalled phone, I can still see the "tabs open on a different device" which is that same phone pre-reinstall. I can also view the list of open tabs on www.sync.opera.com/tabs.
How can I get all of them open on my phone again? I don't want to manually choose each one until the 1811 tabs are opened. It is also possible for me to view the same list in opera on desktop under opera://activity.
I have root access on my phone.

Seeing the number, I'm reconsidering whether I should even bother, since I will probably never look at most of those again. But I'm still curious if there is an easy way of restoring those.
The official opera forums don't sound like that feature exists.

When I right-click > save as on the opera sync website, I get the full list in a single line of html (without newlines).
Each (I hope) entry is set up like this:

 Solved: Bluetooth volume defaults to maximum on each new connection | Android Development and Hacking
 https://forum.xda-developers.com/oneplus-5/help/bluetooth-volume-defaults-to-maximum-t3641676/amp/

So if we knew how to automatically open the tabs on the phone given the URLs, extracting them should not be too hard.


text:
How to diagnose bootloop?
My Sony Xperia Z5 sometimes heats up, starts lagging and crashes after a few minutes to end up in a boot loop. I have the teamwin recovery project 3.1.1-0 installed and the phone is rooted with magisk on Android 7.
Usually, it was enough to keep power and volume down pressed, enter the recovery, and choose "reboot" to get out of the bootloop. This time, it seems different, so I'm caring a bit more now.
What are steps to take for finding the reason of and/or getting out of the bootloop?
I have access to a terminal through the recovery.
I have used a script called mm that I had lying around on my sdcard and that I have used before when I had a bootloop due to a broken magisk module, to activate "Core Only Mode" which is supposed to deactivate the loading of any magisk modules. So I assume that the problem is actually not magisk.
Also, I haven't updated magisk, modules, or the system since at least a few months, so it would be weird if that were it.
Wiping the dalvik cache as adviced by the boot-loop tag wiki did not help either.
The tag wiki for logging sent me to android boot up messages for debugging which recommends a few things.  But /proc/last_kmsg is inexistent, dmesg is more output than I know what to do with, especially much recovery stuff which I don't care about, and adb logcat won't react because the device crashes before it is found.
The boot process crashes at the xperia logo - so before the animation

See [tag:logging] and [tag:logcat] wiki's and questions