Microphone stopped working after making a WhatsApp call? I have a Samsung Galaxy SII HD LTE with a Cyanogenmod custom ROM. After WhatsApp inroduced the calling feature I updated the app and asked a friend to call me. I answered the call and disconnected it. Afterwards my microphone doesn't seem to be working when I'm taking calls, not in speakerphone mode either and not even if I plug in a hands-free. But the voice recorder seems fine. The issue is there only when I make calls, regular and WhatsApp both. Then I factory resetted the phone and microphone started working! The problem happened again when I made a call through WhatsApp after resetting. How can I resolve this issue and make WhatsApp calling work??

Try disabling Ok Google search. Worked for me.


Can adb start my android device that shows up as "offline"? I can see my device in adb devices. It shows up as "offline".
When it is "ready":

$ adb shell
$ su
# reboot

This would reboot my device.
The exact problem is that my cellphone has been turning off on its own with no specific reason, so I was wondering if I could check the logcat to see the problem. I cannot start my device, I have to remove the battery and then start it, and when I do the log is empty...
But my questions here are:

If adb can detect my device why can't it reboot it?
Why can't I turn on my android device from adb when I can reboot it?
What does offline mean: is it turned on or not? (when it isn't usually it doesn't even show in adb devices)

I only encountered device shown via ADB as offline in two cases:

Device not authorized (ADB security features)
No proper udev rules setup

As the first case is most likely not your problem as these security features were not implemented in android when you asked this question. Your problem is most likely that you dont have proper udev rules.

You can fix this temporary bei starting adb on your computer as root:

adb kill-server; sudo $(which adb) start-server

or permanently by adding proper udev rules for your desired device vendor:

See https://wiki.cyanogenmod.org/w/UDEV for a collection of well-known vendors. if your vendor is not part of this you can add it by yourself. Plug the device via USB to your computer and check the output of: lsusb get the right vendorID of your device and add it to the udev rules file.

Also useful: http://developer.android.com/tools/device.html


How do I set a lock screen wallpaper on the OnePlus One with the latest Android Update? Okay so previously on the home screen ,I'd press the menu button- wallpapers- lock screen wallpaper and select my image to set as the lockscreen wallpaper.I can't do that anymore after the lollipop update. And also battery has been draining out like crazy after I updated it. This needs to be fixed.

Note: This is a partial answer and is meant to solve the Lock-screen wallpaper issue only.

One way of changing the lock-screen wallpaper in CM 12 (the update for OnePlus) is:

Go to Settings → Themes →tap the wrench icon in your current theme → scroll down to Lockscreen Wallpaper → Pick Image (choose the image) → tap Back button/key once and tap right icon to apply the custom theme. Done.


What is the size of the Android System app? On my phone the Android System app is zero in size.
Is this normal or have I been hacked?

Thanks, J

Android System App is only there to represent the Android Framework. If your device is working, you don't have a reason to worry about that.

If that "App" was really of zero size your phone would not even work up until the point that you could actually see its size (= Android would not boot)

Whether you have been hacked is quite a different story, we can't determine that just out of knowing that it shows zero size for you on Android System.


How to use Gmail app without any browsers installed? I had rooted my Android phone, and after uninstalling all browsers, I am unable to use the Gmail app on my phone. While I still get notification of Gmail in the notification bar, it closes as soon as I open the app.
I had tried some other apps (other than Android built-in apps for mail) like Microsoft Outlook, but the problem remains the same. On reinstalling the browser (like Chrome), my mail apps work properly.
Is it possible to use the Gmail app without browsers installed? Any solution including any third-party app is okay.

Android apps can make use of a WebView (web browser that runs inside the app).
Depending on the Android version Google preferred used Chrome webbrowser app to provide this WebView or the Chrome based WebView app.
Any other WebView capable web browser can also be used.
Go to Settings -> System -> Developer options -> WebView implementation to see and select the app that provide the WebView to all apps.

In your case the WebView app may be the best to install because it can't be used as stand-alone web browser but once installed GMail app should work again as it provides the necessary WebView component.


New Television icon appeared in my Android desktop I have noticed a new Television icon appeared in my Android desktop. I have not clicked the icon thinking it could be a virus or spam. Never installed any Television application and I dont know how it appeared there. I have also Avast mobile antivirus installed.
Just saw this thread, it could be the same issue but wanted to be sure before deleting the icon:
Who is creating icons?

I looked in installed programs with Link2SD and with Android Task manager, and took a look to all programs and services one by one, but there is nothing installed with that name or icon.

Trying to guess what is it, dragged and dropped the icon to the information place in ADW Launcher desktop and it shows: "Android System" running process, which is a core Android process.

I remember having run "free GPSFix" some days ago, which is one of the applications which creates spam with red star messages at the top bar, but not sure if it could be also the application which created the icon.

This is the picture:

*Deleted data and cache, and uninstalled with Link2SD the free applications GPSFix and Dados applications, they could be the reason of spam icons:
GPSfix
Dados (dices)

The GPSFix app is known for this kind of spam (see its comments on the Playstore), even AntiVirus/AntiMalware apps classify it as adware (taken from those comments, again).

Hence, my recommendation is:

optionally post a comment on the playstore to warn other users
uninstall that app
delete that icon (do not "start" it, as you cannot know where it takes you -- it might introduce more problems)

These kind of trouble-makers are no unknowns. Please see the questions tagged malware to find similar reports.

The playstore has enough replacement apps not offering those "unwanted side-effects" (take e.g. a look at GPS Status & Toolbox). So no need to shed any crocodile tears over that one app :)


Viber deleted, but my account is still shown on my friends' Viber contacts! I have deleted Viber app from my phone, but my account is still shown on my friends mobiles as a Viber user.

Is it a bug? What do I have to do to remove my account from my friends mobiles?

Uninstalling the app won't deactivate your Viber ID. If you want to deactivate your Viber ID, you have to reinstall Viber and do the following procedure:

  Open Viber.
  Enter the More Options menu.
  Select Settings.
  Select Privacy .
  Select Deactivate Account.

more information


Rooting GT-i9100G under linux What is the safest method to root a Samsung Galaxy S 2 i9100 G under a GNU/Linux system? (ArchLinux).

I am a programmer (without android programming experience, only desktop and web), it does not need to be "one click away", but the method has to be safe and you've tried it and it works.

I have adb installed and it works, if rooting the phone involves using it too.

Android version: 2.3.6
Baseband version: i9100gxxkl4
Build number: gingerbread.xxlb1

This should get you started. Please, carefully check your versions to make sure the files you use are intended for your phone.


Will a Xiaomi Redmi Note 9 (international version) work reliably in the United States (comparable to a domestic phone)? I'm buying a new phone, upgrading from an LG Q7+, and so far the best phone I've seen is the Xiaomi Redmi Note 9. The only con to this is that the Note 9 is only available in International version, and I live in the USA. I've heard that Metro by T-Mobile (my service provider) is good for international phones, but I don't know if it will be comparable to buying a domestic phone. That is, I don't want to get a really good phone but sacrifice all of my connection speed. If it's a little slower, I'm fine with it, but if it will be a major difference, I'll shop domestic.
One thing I've noticed is that, according to this site https://www.gsmarena.com/compare.php3?idPhone1=9206&idPhone2=10192 , the Note 9 actually has more 4G connectivity than my current Q7+ (11 bands compared to 9). Does this mean that it will be more reliable than my current phone, or does this mean nothing since it's international? (Note that I'm not very tech savvy. I know next to nothing about these complicated specs, so I don't actually understand the numbers)
The bottom line is, I want to buy a new phone, but I want to be sure that the new model I'm considering will have comparable connectivity speed to a domestic phone. I know that T-Mobile will support international phones, but I want to be sure that the support is good compared to their domestic support. If anyone reading this owns a Xiaomi in the US, I'd love to hear from you, but anyone who knows about this sort of topic would be extremely useful to hear from. Thank you to anyone who has read this far. I appreciate the help!
EDIT: I've found this site https://www.kimovil.com/en/frequency-checker/US/xiaomi-redmi-note-9 which suggests that it will work on US networks, but I have no idea what the numbers and technical terms mean. I'd like to know what exactly this says about the network reliability in the US. Thanks for putting up with my lack of tech knowledge!

I was going to try and leave a comment instead but my reputation is not high enough.
A useful site that breaks down frequency bands is
https://www.frequencycheck.com/compatibility/Jxq7inG/xiaomi-redmi-note-9-global-dual-sim-td-lte-64gb-xiaomi-merlin/united-states
This will show you the bands of each network in the US and will state whether the phone supports it or not.
I can see that it is stating that only 2 of 5 LTE bands are supported on T Mobile for this phone. So it is likely you may experience some issues with 4g mobile signal depending on the bands available at the location you are at.


Can a Samsung Galaxy 3 tablet be charged safely using a universal travel charger? My daughter is in Thailand and she has been using a solar device to charge her Samsung Galaxy3 tablet (7 in.) This method is no longer charging the tablet sufficiently for use. She has a universal travel charger with a 5v output and short cirucuit protection so I was wondering if she could use that to charge her tablet safely? Samsung advised purchasing a Samsung travel charger over there but there are none available where she is.

Yes.  Any USB charger can be used for it.  It's all standard 5V USB.

The only thing you need to pay attention to is the current rating of the charger, especially with a tablet.  If the charger can't supply enough current, the device will charge slower than it should, if it will even be able to charge at all with the device on.

I'm not sure about the 7" tablets, but the 10" tablets will charge at up to 2.5 amps, whereas a typical smartphone charger will only put out 1 amp or so, meaning it will take at least 2.5x as long to charge on the latter.


Prestigio PAP 7500 rooting recently I bought Prestigio 7500 for testing reasons and what is stopping me from doing it is that I can't root it (I want to install custom rom such as CM or Ubuntu touch). I was searching CWM (ClockworkMod) - there is none , other alternative mods and I found also nothing. I was also searching for any forums related to this device ,I found some in Czech and Slovak (had to use translator) but how I understood they didnt succeed also and this situation really frustrates me because I found almost nothing about this device.. Maybe some of you were sucessfull rooting this device or know where to find any explantion or how-to or any forum ? Any suggestions is really appreciated.

Rooting is the easiest part, but it still may be impossible. Some of the methods I would try:

You can try to log in through ADB, see if you're already logged in as root.
You can also try universal root exploits, one of them may work.
Also you can try to obtain an original ROM for the device, root it on the PC and flash it on the device.

What is very hard (handfuls of experienced developers are spending months with each device) is porting custom ROMs (CM, Ubuntu Touch) to a previously unsupported device. Since you've found no existing recovery for it, let alone a ROM, you will have to do the porting yourself which will take a lot of time and if you aren't careful, you can easily brick your device.


Android not writing files in sd card I am not getting why inspite of having a 16 GB SD card in my android the apps from play store are not getting directly stored in SD card by default. Due to this its becoming hard for me to use the device as every time I have to flush lots of data from the device memory to install some new app.

Some ROMS have an option Default Write Disk (or something similar) under Storage settings, change that to External memory.


Android app installation displays error message -insufficient storage- though still 10 GB free space I use an acer liquid z 4 and a 16 GB SD card as main storage. While trying to install a small cheat sheet for emacs, I got the error message "Error while downloading. There is insufficient space on the device". However under Settings SD card still has 10 GB of free space.

There are a number of memory areas and Android tries to download the new apps in a particular one.

One good option is to clean out the logs: press phone and select keypad, punch *#9900#. A new menu appears. press the second one down "Delete dumpstate/logcat". And you are good to go download a few more apps.


What is "GPUwatch Interceptor app" I was going through my settings today and I clicked on privacy then checked my special access and noticed something I've never seen before. An app called watch GPU interceptor it had full access permissions with no description. I turned it off went back to the main menu a few minutes later I went back to special access and it was still there and set to on, full access. I searched everywhere I could on my phone went through apps permissions I couldn't find it as an app. I found GPU watch which was in developer options, I turned off developer options then went back to special access and had to turn off ""GPU watch Interceptor "" again. I cannot find that exact phrase in Google search. I'd like to know if this was something that I turned on in developer options or if it was some sort of Hack / malware.
I'm using a Samsung S10 Plus, with Android 10 on Verizon and home Wi-Fi
I have added a screen capture of what I saw

Thank you

No, It doesn't a malware.

GPUWatch aids developers in their monitoring and measurement of performance between Vulkan and OpenGL ES. It’s now packed with new features, such as overlaid measurement results and real-time information on-screen – all made possible without separate installation or PC connection. Samsung NewsRoom

How is showed in the smartphone screen :

image retired from link GDC19

For to deepen in GPUWatch I recommend to you two Youtube videos:
GDC19:  A talk of HyoKeun Lee addressing about why use that tool.
GDC18:  HyoKeun again, showing how to use GPUWatch.


Does Android have a formal release cycle? I have been tasked with documenting Google/Android's release plan so that our company has a policy of advanced testing our software on new mobile operating systems.

It seems like Apple/iOS has a fairly routine plan where several rounds of betas are available to developers.

The most detailed report I found was this: http://reecewagner.com/post/21956240240
but it is a little lacking in official sources, and is less relevant for application developers.

I would like to know when they offer the SDK/emulator with new OS image compared to when phones ship/platform updates roll out.

This quotes Andy Rubin in saying that they will move from a twice a year release schedule to a yearly cycle. But I don't know of an actual "official" publication. Also, this "yearly" cycle probably only means "major" releases, but there will still probably be "minor" updates through out the year like they have done in the past.
The Quote:

So we launched it, and from our internal 0.8, we got to 1.0 pretty quickly, and we went through this iteration cycle. You’ve noticed, probably, that that’s slowed down a little bit. Our product cycle is now, basically twice a year, and it will probably end up being once a year when things start settling down, because a platform that’s moving — it’s hard for developers to keep up. I want developers to basically leverage the innovation. I don’t want developers to have to predict the innovation.

ANDY RUBIN VP of Engineering for Android at Google


How to know if an keyboard/input related app is safe to use I am Vietnamese and I cannot type my language on my Android phone i.e. Samsung Galaxy S4

So I look for apps that help me to input Vietnamese. My issue is that I'm affraid the apps will bug me and know everything sensitive that I type.

How can I know if one such app is safe to use?

p.s. I add a sample of such apps as below - Laban Key; with the required permission(s)

You can't. A keyboard, by nature, is required to know everything you type, including your account credentials. Your best bet is to select keyboard coming from top developers.

My favorite? Multiling Keyboard, supports multiple languages (including Vietnamese), highly customizable, the only keyboard I know of that doesn't require Internet permission (so the keyboard can't send what you are typing on the fly).

Some other popular keyboard that support Vietnamese includes Swiftkey (free), Swype (paid).

As for Vietnamese products, Laban is fine (comes from Vinagame I think), Gotiengviet also was used by hundreds of thousands users without any incident.


ADB: device unauthorized on device without screen I have special device, that have no screen at all. Only 3 buttons: volumes and power. So the problem that I've used hard reset option and after that on all my computers I got error:

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

The problem, that I can't check that dialog - no screen or input methods. I've tried to connect from recovery mode, but from it the same.

What can I do in that situation?

In Android 4.2.2, Google implemented Secure USB Debugging, aimed to prevent adb from being connected to malicious computers. The user has to authorize a computer before it can connect with adb.

The intended design of secure USB debugging, is that the user needs to manually to authorize new adb hosts. If the user attempts to use adb without authorizing the host, it will throw the following the mentioned error.

However, there is a bug on Android 4.2.2, fixed in Android 4.3.3, it was discovered that by navigating to either the emergency dialer or the lock screen camera,  it was possible to trigger confirmation dialog.

All of this implies physical interaction with the device. So I'm not sure this could be possible without confirming the host. Try connecting it in a computer where you already confirmed the device.


how to mount internal NTFS I have a Chuwi hi10 plus.  It is a dual boot windows 10 / android 5.0 tablet that I put on TWRP 3.0.2 rooted it and a custom Lineage OS  Marshmallow 6.0.1 ROM on from Konstakang.com

Chuwi tablets have a funky inability to boot from USB because have a UEFI boot system....  I need to change the Windows password and there is a sticky keys method to copy cmd.exe over sethc.exe and then use the net user command once the command prompt is opened.

I have installed termux and updated the packages and installed tsu for true root access to the filesystem.  But . . . the termux mount does not produce a string of its version from mount -V and while mount -t ntfs /dev/block /mnt/xxx command does not give an error - where I have done a mkdir /mnt/xxx it does claim "no such device". I have used the exact device I know is the windows partition which is ntfs from a "cat /proc/partitions" command

"ntfs-3g" does  not recognize as a command at all, and I even tried the mount_nfsd_fuse setup from https://forum.xda-developers.com/android/general/guide-mount-internal-windows-partition-t2978679  It must need a touch or something because the file is in /system/xbin but says command not found even invoked as root from that directory

The kernel was compiled from source for the ROM by Konstakang so I do not know if ntfs support is in it ... is there a way to check and / or does anyone have a suggestion how to get that partition mounted rw as ntfs internally ???

The Paragon Ntfs rw mounter that is supposed to work with Total Commander has not appeared to operate as pics show it or once did

I gave up on the mount_nfsd_fuse driver because the ntfs-3g driver uses fuse also and has proprietary kernel hooks in it.  It comes installed from I believe the Ntfs ULB mounter

this is a permission and file issue between two different mount files not in the path when the termux tsu command is the root super user command invoked.  termux is screwing the pooch And the help text of the driver is wrong also

Despite what the help text of the tuxera driver says the format is mount.ntfs /dev/block/xxx /mnt/xxx Not ntfs-3g

so after mounting I get "unsupported reparse point" errors but it does mount the partition as rw

see https://bugzilla.redhat.com/show_bug.cgi?id=1377049 and then https://jp-andre.pagesperso-orange.fr/advanced-ntfs-3g.html

See https://groups.google.com/forum/#!topic/android-x86/HyPx8fr_kwc

here is the working one . . .
|root@chuwi_vi10plus:/ # which mount

/system/bin/mount

does work as mount.ntfs

root@chuwi_vi10plus:/ # exit

whereas this below does not work from the termux mount file

$ tsu

which mount

/data/data/com.termux/files/usr/bin/mount

exit

exit
$

which mount
/data/data/com.termux/files/usr/bin/mount

does not work

see again for how I figured this out https://groups.google.com/d/msg/android-x86/HyPx8fr_kwc/k1LDJ9jwBgAJ

Here is how you know it's working but the usage instructions are wrong   OH JOY

oot@chuwi_vi10plus:/mnt/hold/Windows/System32 # mount.ntfs
ntfs-3g: No device is specified.

ntfs-3g 2015.3.14 external FUSE 29 - Third Generation NTFS Driver
                Configuration type 1, XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2015 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage:    ntfs-3g [-o option[,...]]

Options:  ro (read-only mount), windows_names, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=.
          Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

News, support and information:  http://tuxera.com

Correct Example IS

Example: mount.ntfs /dev/sda1 /mnt/windows


A better music control on lock screen I am new to the android world, used to be an iphone user.
I would like to know how can I get a better music control player on my lock screen?
Is there anyway to add more options, like the trackbar to move forward within the song, repeat and random buttons etc?

thanks

I'm using Rocket Music Player. It has all the features and option you asked in your question like Prev, Next, Random, Forward-Rewind(Track bar control), Repeat.

Additional Options:

You can even access the player's Playlist, Go to Album, Go to Artist, Add to Playlist, Delete, Ringtone from the lock screen itself by clicking the three dots at the bottom right of the display.

For this to appear in your lock screen you need to, Install Rocket Player and open the music player's and go-to

Settings > Operation > Lock Options > Rocket Player.

Take a look at the screenshots for enabling this,

Screenshots (Click to enlarge images)

To unlock the screen you need to just swipe the Blue Arrow to the right side blue dot.

Hope its useful. Enjoy Music!!!


Stuck on the Gmail inbox When I click on Gmail app, it takes me directly to my inbox. I cannot get out of it. I also cannot find my contacts, or the sign-in or sign-out page. I tried to uninstall it, but it would not let me.

Can you help me?

The Gmail app for Android is not the same as the gmail.com website.  You don't have to sign in when you open the app, because you already signed into your Google account as part of the initial setup procedure, when you first turned on your phone or tablet.

It's normal and expected for the Gmail app to take you directly to your inbox.  If you want to see other folders (such as your sent messages), tap where it says "Inbox" at the top of the screen — it's a drop-down menu.

Contacts are a separate app.  Look for "Contacts" or "People" in your list of app icons.


How to delete gReader stored RSS feeds from Phone memory manually I was just fiddling with gReader when I noticed that by default the application saves the feeds to the phone memory. So I immediately changed that to SD card memory. However, on doing this all the existing feeds were lost and I had to do a resync. I have a feeling the app didn't delete the existing feeds from the phone memory. Any idea how I can delete those feeds from Phone memory manually?

From your Home Screen go to Menu -> Settings -> Applications -> Manage Applications and find gReader.  Then click the Clear Cache and Clear Data button.  This may lead to you having to sign back in but it will synch with your feeds so you won't really lose anything.


What is the recommended way to synchronize music on an Android phone? I have a server which is on all the time, on a network share I store my music collection. I would like to synchronize this with my phone. If I add new album on my server it should pop up on my phone and vice-versa

What software would I need to support the following requirements to synchronize music to my phone?

Should run on Android 2.3
Should run on Windows 7
Can synchronize over wifi
Should work in the United Kingdom
Two-way sychronization from pc - phone and phone - pc

I'm sure the list is long, but i'll mention what I've found after a brief investigation and from other answers
Syncness

http://www.clayworldsoftware.com/index.php/syncness/

Sync with multiple shares on your home or work network
Sync with mutilple Dropbox accounts
Two way file deletions
Sync when wifi network is detected! - thats very cool
Scheduled sync

Pros

Syncing on detecting the wifi network
Doesn't require a server application running on a PC
Quite cheap $1.99

Cons

Doesn't do media conversion Missing sync does

Google Music

http://music.google.com/music/
Pros
Cons
Only available to users in the United States
Winamp
http://www.winamp.com/android

Seems possible to sync over wifi using both a winamp client on the phone and pc
http://blog.winamp.com/2010/11/30/wirelessly-sync-music-to-your-android-phone/
Pros
Free!
Missing Sync
http://www.markspace.com/products/missing-sync-family.html

Pros
Seems to have quite a comprehensive set of two-way synchronization features. Supports wifi and multiple devices, quite handy as I have an iphone as well
Cons
Cost $39.95


How to configure Amazon Cloud Player (Amazon MP3) to ignore podcasts in list of on-device music? Amazon Cloud Player (aka Amazon MP3) displays all mp3 files, even those that are podcasts (which I use the DoggCatcher to listen to).  Is there some way to tell the Cloud Player to ignore podcasts so that my list of downloaded music is only music?

Haven't tried it as the cloud player's not available in my country yet, but does the trick that makes the normal music player ignore folders work?

Try creating a file called .nomedia in the folder that your podcasts are saved into, and see if that makes the Amazon player ignore them.


Error - Insufficient storage - Nexus 7 Device: Nexus 7 (2013 WIFI)
ROM: AOKP_FLO_KITKAT_NIGHTLY_2014-07-31
Rooted: Yes
Recovery: TWRP (Not sure if this is needed)

I am posting this because I recently started getting "insufficient storage" error on my device. I've had this before and I knew exactly had to fix it because I had come back from a vacation then and there were a lot of pictures on the device; So it was a simple matter of moving all the pictures and videos off the device for it to start working again.

This time however it is a little confusing for me. I will start with some pictures:

Settings > Storage / ES File Explorer > Top_left menu > Tools drop-down > SD Card Analyst (click images for larger variants)

So far everything looks fine, I seem to have a lot of space left to install one measly app right? Just to confirm, I used Clean Master to try to move some apps to device storage:

Clean Master > App Manager > Move

No gimmicks here, Clean Master sees that I only have one storage medium on my device. So why do I get these errors?

Google play (Trying to install an app that is less than 1MB in size) / AIDE (Trying to run an app)

I'm just confused about the whole thing. Everything else seems to be saying I have enough space, but apps are not being installed because I don't have enough. What can I do here?

EDIT: Even more weirdness, it won't let me install the 300Kb file with the image I posted above, but it lets me install a 3Mb file from the playstore. Basically I can install some apps but not others and it doesn't matter the size, my device just wants to make me crazy no problem. Ex. This app (2.6M) installed fine, but this one (2.1M) didn't due to "Not enough space".

What I have tried:

http://forum.xda-developers.com/showthread.php?t=1834105
Installing and running DiskUsage and here is a screnshot:

Couple observations:

--> It let me install this App and still not letting me install the other apps I have tried with the insufficient memory message still showing

--> The above pic shows that I have enough space left on the /data partition to install atleast A LOT of apps!

Output of running the df command:

Note I have tried the solution posted at the "Possible Duplicate" link and it did not work nor did I expect it to. The problem here is not that I have insufficient space to install apps because as you can see, I have a lot of space and I am able to install some apps. The problem is deeper than that and probably has to do with the way files are installed on my tablet

You might have needed to wipe the user cache, which I think happens automatically over time (hence the umpteen reboots solving the problem).


Are wakelocks only when screen is off? If so, can I block all third-party app wakelocks since I want the apps to run only when my screen is on?

I understand that this would break some functionality like receiving whatsapp messages when screen is off, but I am fine with it.

Are wakelocks only when screen is off?

No

Quoting from Android Developers

PowerManager.WakeLock defines wakelock

  A wake lock is a mechanism to indicate that your application needs to have the device stay on

PowerManager defines various types of wakelocks

  The following wake lock levels are defined, with varying effects on system power. These levels are mutually exclusive - you may only specify one of them.

As you can see from the picture partial wakelocks will continue to run irrespective of state of screen.

  I want the apps to run only when my screen is on?

This should be possible using automation but I haven't tried. Another alternative is using a task killer like [root] Servicely to choose and selectively kill apps when the screen is on.

Note: Task killers are not recommended for reasons mentioned here Do I really need to install a task manager? and various other answers in task-management tag

For further reading: Wakelocks: Detect No-Sleep Issues in Android* Applications


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).


Is it possible to use android phone as bluetooth headset for ps3? Does anyone know how to use the android phone as a bluetooth headset so that i can use it as a mic while playing several games (COD) for example.

I'm using Ice Cream Sandwich and i have a Galaxy Vibrant. I don't want to buy a bluetooth headset so i'm simply looking to use my phone as an intermediate adapter. I can connect my wired headphones which has a mic attached to it.

Thanks to an app that turns an Android phone into a more universal Bluetooth device, it is possible to control a PS3 with your Android phone as though it were a Bluetooth remote control. The connection allows the phone to be used as a virtual keyboard for entering text, and it even has a touchscreen trackpad for moving the cursor in the PS3's web browser.

The app, BlueputDroid, is in beta form right now, and is still a bit tricky to use, as the list of supported Android phones is not exhaustive, some of the phones require custom firmware and once you get the app installed, there are technical hoops to work through. A list of believed supported and unsupported devices can be found on XDA-developers.com, where the app was introduced. It also has details on how to download the app for those who own a compatible Android handset.

The independent developer has tested it out on the Nexus One, HTC Wildfire, and LG Optimus One - all with rooted firmwares. He was not able to get it working on the Optimus One.

BlueputDroid is the first app to allow a smartphone to pair up with the PS3 as an input device. There have been other Bluetooth apps for Android that more flexibility in syncing the phone to a computer, but this is the first working app for PS3 connectivity. If the dev can further refine the process and expand compatibility, we'll welcome the chance to use our phones to input PSN info or type in URLs - beats having a real keyboard tethered to your system, hm?

source: http://www.gamesradar.com/how-to-use-your-android-phone-as-a-ps3-bluetooth-keyboard/


ADB has stopped working for me; *** LOCKED *** is at the top of the fastboot screen I'm trying to root my phone (with a view to putting DebianKit onto it), and have had several attempts, each time getting a little further before stopping to look more stuff up.  But now I seem to have gone back a step; in the past, "adb devices" has worked (with the phone displaying the fastboot screen), and I've been able to use "adb backup", but now, "adb devices" doesn't find anything, and "adb backup" can't see anything to backup from, when in the fastboot state.  However, to my surprise, when the phone is running normally (i.e. Android is fully running --- I hadn't tried adb with it running before), "adb devices" does see the phone, and "adb backup" asks me to unlock the phone.  There's no screen lock set, so it can't be referring to that.  "fastboot devices" can see the device just fine.

The change I suspect is that I set the phone up to talk to my employer's outlook/exchange server, and their security arrangements require the phone to have the PIN lock.  I've removed that account from my accounts list, so I could turn the PIN lock off for my next attempt at rooting;  however, at the top of the fastboot screen, the first line says "*** LOCKED ***" in white on a purple background, and I don't remember that being there before.

What I really want to do at this stage is ideally take a backup, or at least get my photos copied from the phone; I do have Dropbox, and can presumably ship the photos out via that if I have to; and then could do a factory reset; but I like to understand things, and would rather know what is stopping the device showing on adb, and what this LOCKED state is.

Device info: HTC One M8, and I'm accessing it from Debian Wheezy (with ratpoison window manager, so there's no Gnome to get in the way).  I'm using a motherboard USB 2.0 connection, so it's not the known problem with USB 3.0; and it has worked on that USB connection before.

You need to unlock your bootloader. You'll need to go to the HTC dev website and select your device in the menu on the right, and then follow the instructions it gives you. (Note that this might void your warranty)


Error message when upgrading Galaxy S to Froyo So I finaly got a copy of Windows and installed VMWare on OS X
After fidling with driver issues etc. etc. I got the Kies software to recognize the Gallaxy S

After Kies had downloaded the upgrade files and started (an image of the Android raking leaves on the phone screen) this message pops up

"failed to convert to upgrade mode"

Does anyone know what the problem is? and how to get around this?

The picture you got on your phone was upgrade mode (also called download mode).  The phone disconnects and then tries to reconnect when it goes into this mode.  My guess is that the reconnect failed; it happened to me when I tried upgrading through a virtual machine.  I suggest borrowing a friend's computer running Windows natively to do the upgrade.


Why can't I connect my Samsung Galaxy 3 to my PC after installing the z4root app? I have a problem connecting my Samsung i5800 Galaxy 3 to a PC. First, I could connect to the PC. I had installed the z4root app in order to root my phone and then after installing it, I could not connect to the PC any more.

The dialog to select how to connect to the PC does not appear, though the beep sounds when I connect the phone to the USB cabel. How do I fix this problem?

I had this problem too.  It was not related to any driver on the PC as it worked
and stopped working at some point.  The problem was on the Android phone which
for some reasons had some configuration problems.

To solve that, dial *#7284# on your phone so that it launches the PhoneUtil
application.  Then, switch to the USB -> PDA mode on the phone.  Connect the USB cable
(toggle USB -> Modem and then USB -> PDA modes if it does not work the first time)

The details are explained in:
How to repair the USB connection problem on Android Samsung phones


How do I script my phone? What I mostly want to do, is quickly alter settings, add alarms etc.

It is perhaps called something else?

This is from a Windows PC.
Language is not important, but I know Python and UNIX scripting.

How would this usually be done?

As you write you know Unix scripting, you might want to take a look at apps like SH Script Runner, Script Manager, Script Kitty, and similar. They all allow you to run shell scripts on your Android device.

Also, you could utilize Tasker: create a task to run a script, and then create a shortcut to that task on your homescreen. So you have easy access to your scripts directly from there.


Install specific versions of AOSP Calendar I would like to use an older version of AOSP Calendar. Namely a good version before the 2019 update that is described here as follows:

New events cannot be created and existing events cannot be edited or deleted.

There are many branches and tags here, but some of their titles are not clear, and I don't see APK files there. How exactly can I install specific versions?

The AOSP Calendar is in a repository tool (Google Git) that use Google with a lot of project.
Compile it by yourself
You could download it:
git clone https://android.googlesource.com/platform/packages/apps/Calendar

and you  could select the branch/tag that you want.
git fetch origin nameBranch/nameTag && git reset --hard FETCH_HEAD && git checkout nameBranch/nameTag

Of this way, you obtain the code of the Calendar AOSP but as you said, in this repository is not the package of the application, so, you should compile it. As it is part of the Android system is neccesary to compile it with the rest of AOSP, because, it has some dependences.
LOCAL_STATIC_JAVA_LIBRARIES := \
    android-common \
    libchips \
    colorpicker \
    android-opt-timezonepicker \
    androidx.legacy_legacy-support-v4 \
    calendar-common

Once you had it compiled, you don't have problems to install it, because althought it is a part of AOSP it is not a system application.
But, this is not a quickly way to obatin the APK file.
Obtain it of system.img
First, you need to obtain a AOSP or Lineage ROM system image before the 2019 (because, the commit that you don't want is in 2019). For this way, you need to use this tool. Once downloaded and installed:
mkdir system_lineage
simg2img system_lineage.img system_lineage.raw
sudo mount -t ext4 -o loop system_lineage.raw system_lineage
cd system_lineage

And you need to found it in this system directory (I think that it was in system/app/Calendar or something similar)
Try to obtain it in some mirror
It is possible that some mirror have this apk in the server. You could try to obtain it in apkmirror for example.


Lollipop update on Moto G XT1033 I check my Moto G XT1033 phone on daily basis hoping that one day I will get Android 5.0. But I didn't haven't got the update yet.

Is there any current expected date it will be released in India?

According to this post on 1/4/15:

  NEW DELHI: Motorola reveals that the Android 5.0 update is about to release for the Moto G and then a member of the XDA Developers said that they had got the update in India for their Moto G XT1033.

They said that the version number is 220.21.16.en.03 and this is the official version. So it looks as though India has been the first region to get the Moto G update. This makes the device one of the most affordable that has the latest OS. The update is already getting rolled out in other regions."

Looks like it will be any day now, no exact date can be given as these updates are rolled out in bunches and might hit your neighbor before you. Just keep checking.

Source


Termux (Terminal) tsu is adding "(unreachable)" to my current working path When I run tsu (which is Termux's version of su), my current working directory gets prefixed with "(unreachable)", as you can see from the transcript of my session.
[u0_a116 …/~]$ tsu
[root …/home]# pwd
(unreachable)/data/data/com.termux/files/home
[root …/home]#

I did some digging and found what seems to me is the culprit.
tsu is a script that sets up an environment for the root user and then runs su to give you root privilege with the new environment. This is what the command that tsu is running looks like after opening all the variables.
/sbin/su -c PATH=/sbin/.magisk/busybox env -i PATH=/data/data/com.termux/files/usr/bin:/data    /data/com.termux/files/usr/bin/applets:/system/bin:/system/xbin:/sbin:/sbin/bin     ANDROID_DATA=/data TMPDIR=/data/data/com.termux/files/home/.suroot/.tmp PREFIX=/    data/data/com.termux/files/usr TERM=xterm-256color LD_PRELOAD=/data/data/com.ter    mux/files/usr/lib/libtermux-exec.so ANDROID_ROOT=/system HOME=/data/data/com.ter    mux/files/home/.suroot /data/data/com.termux/files/usr/bin/bash
This causes a problem when I try to run a script that is using relative paths. (I'm running a script to setup a full linux distro with proot in Termux).
If I take out the 'env -i` from the command then I get the current working directory without the prefixed "(unreachable)". This does not setup the new environment, it leaves the old environment intact as if I would have selected --preserve option.

I have had the same problem. I resolved it with a work around. I added to the environment the following.
PWD=$(echo $PWD | cut -c 14-)
I added the following lines to the tsu script at line numbers 239 - 241
# Following line added to fix the problem of pwd starting with (unreachable)
ENV_BUILT+=" PWD=$(echo $PWD | cut -c 14-)"

Following is the the full code of the updated tsu script

#!/data/data/com.termux/files/usr/bin/bash

# Copyright (c) 2020, Cswl C. https://github.com/cswl
# This software is licensed under the ISC Liscense.
# https://github.com/cswl/tsu/blob/v8/LICENSE.md

### tsu
_TSU_VERSION="8.5.1"

log_DEBUG() { __debug_wrapper() { :; }; }

gather_debug_info() {
    echo "Environment: "
    env
    echo "============================"
    dpkg --print-architecture
    echo "Android version:"
    getprop ro.build.version.release
    echo "Android device:"
    getprop ro.product.manufacturer
    getprop ro.product.model
    uname -a

} >>"$LOG_FILE"

# Allow debugging with a long option
if [[ "$1" == '--dbg' ]]; then
    _TSU_DEBUG=true
    printf -v LOG_FILE "%(%Y%m%d)T"
    LOG_FILE="./tsu_debug_$LOG_FILE"
    gather_debug_info
    set -x
    shift
fi

## Support for busybox style calling convention.
## This works because we don't actually `readlink` the script location.
_TSU_CALL="${BASH_SOURCE[0]##*/}"
if [[ "$_TSU_CALL" == "sudo" ]]; then
    _TSU_AS_SUDO=true
fi

show_usage() {
    cat <<"EOF"
tsu A su interface wrapper for Termux

    Usage:
        tsu
        tsu [ -s SHELL ]  [-p|-a] [USER]
        tsu --dbg [ -s SHELL ] [-p|-a] [-E] [USER]
        tsu -h | --help | --version

    Options:
    --dbg        Enable debug output
    -s <shell>   Use an alternate specified shell.
    -p           Prepend system binaries to PATH
    -a           Append system binaries to PATH
    -h --help    Show this screen.

    This package also provides a minimal sudo which is enough to run most programs as root

        sudo command

    https://github.com/cswl/tsu

EOF
}

show_usage_sudo() {
    cat <<"EOF"
sudo - run commands as root or another user
  usage: sudo command
  usage: sudo [-E] [-u USER] command

    Options:
      -E          Preserve environment variables from the current shell.
      -u USER   Switch to USER instead of root..
EOF
}

# Defaults in Termux and Android
TERMUX_FS="/data/data/com.termux/files"
TERMUX_PREFIX="$TERMUX_FS/usr"
TERMUX_PATH="$TERMUX_PREFIX/bin:$TERMUX_PREFIX/bin/applets"
ROOT_HOME="$TERMUX_FS/home/.suroot"
ANDROID_SYSPATHS="/system/bin:/system/xbin"
EXTRA_SYSPATHS="/sbin:/sbin/bin"
#ANDROID_ASROOT_SYSPATHS="/bin:/xbin"

# Some constants that may change in future.
BB_MAGISK="/sbin/.magisk/busybox"

# Options parsing

# Loop through arguments and process them
log_DEBUG TSU_AS_SUDO
if [[ "$_TSU_AS_SUDO" == true ]]; then
    # Handle cases where people do `sudo su`
    if [[ "$1" == "su" ]]; then
        unset _TSU_AS_SUDO
    fi

    _is_pos() {
        for e in -u --user -E --preserve-enviroment; do [[ "$e" == "$1" ]] && return 1; done
        return 0
    }

    for arg in "$@"; do

        # It is important to break as soon as we see a positional argument
        # Otherwise `sudo id -u` or `sudo some_cmd -E` wont work as expected

        if _is_pos "$arg"; then break; fi

        case $arg in
        -u | --user)
            SWITCH_USER="$2"
            shift
            shift
            ;;
        -E | --preserve-enviroment)
            ENVIRONMENT_PRESERVE=true
            shift
            ;;
        esac
    done

fi

log_DEBUG _TSU_AS_SUDO
if [[ -z "$_TSU_AS_SUDO" ]]; then
    for arg in "$@"; do
        case $arg in
        -p | --syspre)
            PREPEND_SYSTEM_PATH=true
            shift
            ;;
        -a | --sysadd)
            APPEND_SYSTEM_PATH=true
            shift
            ;;
        -s | --shell)
            ALT_SHELL="$2"
            shift
            shift
            ;;
        --version)
            echo "tsu - $_TSU_VERSION"
            exit
            ;;
        -h | --help)
            show_usage
            exit
            ;;

        *)
            POS_ARGS+=("$1")
            shift
            ;;
        esac
    done

    SWITCH_USER="${POS_ARGS[0]}"
fi

declare -A EXP_ENV

env_path_helper() {

    # We will try to match the default behavior of normal linux su
    # Unless the user specifically asks to preserve the enviroment,
    # We create a fresh new one.
    log_DEBUG "${FUNCNAME[0]}"

    log_DEBUG SWITCH_USER
    if [[ -z "$SWITCH_USER" ]]; then
        ## By default we start a fresh root shell with HOME set to that of the root home

        # Creat root $HOME if it doesnt exsists yet
        [[ -d "$ROOT_HOME" ]] || mkdir "$ROOT_HOME"
        NEW_HOME="$ROOT_HOME"

        EXP_ENV[PREFIX]="$PREFIX"
        EXP_ENV[TMPDIR]="$ROOT_HOME/.tmp"
        EXP_ENV[LD_PRELOAD]="$LD_PRELOAD"

        log_DEBUG _TSU_AS_SUDO
        if [[ "$_TSU_AS_SUDO" == true ]]; then
            # sudo copies PATH variable, so most user binaries can run as root
            # tested with `sudo env` version 1.8.31p1
            NEW_PATH="$PATH"
            EXP_ENV[SUDO_GID]="$(id -g)"
            EXP_ENV[SUDO_USER]="$(id -un)"
            EXP_ENV[SUDO_USER]="$(id -u)"
        else
            NEW_PATH="$TERMUX_PATH"
        fi

        # Android versions prior to 7.0 will break if LD_LIBRARY_PATH is set
        log_DEBUG "LD_LIBRARY_PATH"
        if [[ -n "$LD_LIBRARY_PATH" ]]; then
            SYS_LIBS="/system/lib64"
            EXP_ENV[LD_LIBRARY_PATH]="$LD_LIBRARY_PATH:$SYS_LIBS"
        else
            ASP="${ANDROID_SYSPATHS}:${EXTRA_SYSPATHS}"
            # Should we add /system/* paths:
            # Some Android utilities work. but some break
            log_DEBUG "PREPEND_SYSTEM_PATH"
            if [[ -n "$PREPEND_SYSTEM_PATH" ]]; then
                NEW_PATH="$ASP:$NEW_PATH"
            else
                NEW_PATH="$NEW_PATH:$ASP"
            fi
        fi

    else
        # Other uid in the system cannot run Termux binaries
        NEW_HOME="/"
        NEW_PATH="$ANDROID_SYSPATHS"

    fi

    # We create a new environment cause the one on the
    # user Termux enviroment may be polluted with startup scripts
    EXP_ENV[PATH]="$NEW_PATH"
    EXP_ENV[HOME]="$NEW_HOME"
    EXP_ENV[TERM]="xterm-256color"

    [[ -z "$_TSU_DEBUG" ]] || set +x
    ## Android specific exports: Need more testing.
    EXP_ENV[ANDROID_ROOT]="$ANDROID_ROOT"
    EXP_ENV[ANDROID_DATA]="$ANDROID_DATA"

    ENV_BUILT=""

    for key in "${!EXP_ENV[@]}"; do
        ENV_BUILT="$ENV_BUILT $key=${EXP_ENV[$key]} "
    done

    # Following line added to fix the problem of pwd starting with (unreachable)
    ENV_BUILT+=" PWD=$(echo $PWD | cut -c 14-)"

    [[ -z "$_TSU_DEBUG" ]] || set -x

}

root_shell_helper() {
    log_DEBUG "${FUNCNAME[0]}"

    if [[ -n "$SWITCH_USER" ]]; then
        ROOT_SHELL="/system/bin/sh"
        return
    fi
    # Selection of shell, checked in this order.
    # user defined shell -> user's login shell
    # bash ->  sh
    log_DEBUG "ALT_SHELL"
    if [[ "$ALT_SHELL" == "system" ]]; then
        ROOT_SHELL="/system/bin/sh"
    elif [[ -n "$ALT_SHELL" ]]; then
        # Expand //usr/ to /usr/
        ALT_SHELL_EXPANDED="${ALT_SHELL/\/usr\//$TERMUX_PREFIX\/}"
        ROOT_SHELL="$ALT_SHELL_EXPANDED"
    elif [[ -x "$HOME/.termux/shell" ]]; then
        ROOT_SHELL="$(readlink -f -- "$HOME/.termux/shell")"
    elif [[ -x "$PREFIX/bin/bash" ]]; then
        ROOT_SHELL="$PREFIX/bin/bash"
    else
        ROOT_SHELL="$PREFIX/bin/sh"
    fi
}

log_DEBUG _TSU_AS_SUDO
if [[ "$_TSU_AS_SUDO" == true ]]; then
    if [[ -z "$1" ]]; then
        show_usage_sudo
        exit 1
    fi
    CMD_ARGS=$(printf '%q ' "$@")
    log_DEBUG ENVIRONMENT_PRESERVE
    [[ -n "$ENVIRONMENT_PRESERVE" ]] || env_path_helper

    STARTUP_SCRIPT="$CMD_ARGS"
else

    root_shell_helper
    env_path_helper

    STARTUP_SCRIPT="$ROOT_SHELL"
fi

SU_BINARY_SEARCH=("/system/xbin/su" "/system/bin/su")

# On some systems with other root methods `/sbin` is inacessible.
if [[ -x "/sbin" ]]; then
    SU_BINARY_SEARCH+=("/sbin/su" "/sbin/bin/su")
else
    SKIP_SBIN=1
fi

# Unset all Termux LD_* enviroment variables to prevent symbols missing , dlopen()ing of wrong libs.
unset LD_LIBRARY_PATH
unset LD_PRELOAD

### ----- MAGISKSU
# shellcheck disable=SC2117
if [[ -z "$SKIP_SBIN" && "$(/sbin/su -v)" == *"MAGISKSU" ]]; then
    # We are on Magisk su
    su_args=("/sbin/su")
    [[ -z "$SWITCH_USER" ]] || su_args+=("$SWITCH_USER")

    su_cmdline="PATH=$BB_MAGISK "
    if [[ -n "$ENVIRONMENT_PRESERVE" ]]; then
        su_args+=("--preserve-environment")
        su_cmdline+="$STARTUP_SCRIPT"
    else
        su_cmdline+="env -i $ENV_BUILT $STARTUP_SCRIPT"
    fi
    su_args+=("-c")
    exec "${su_args[@]}" "${su_cmdline}"
    ##### ----- END MAGISKSU
else
    ##### ----- OTHERS SU
    for SU_BINARY in "${SU_BINARY_SEARCH[@]}"; do
        if [[ -x "$SU_BINARY" ]]; then

            su_args=("$SU_BINARY")
            [[ -z "$SWITCH_USER" ]] || su_args+=("$SWITCH_USER")

            # Let's use the system toybox/toolbox for now
            su_cmdline="PATH=$ANDROID_SYSPATHS "
            if [[ -n "$ENVIRONMENT_PRESERVE" ]]; then
                su_args+=("--preserve-environment")
                su_cmdline+="$STARTUP_SCRIPT "
            else
                su_cmdline+="env -i $ENV_BUILT $STARTUP_SCRIPT"
            fi
            su_args+=("-c")
            exec "${su_args[@]}" "${su_cmdline}"
        fi
    done
fi
##### ----- END OTHERS SU

# We didnt find any su binary
set +x
printf -- "No superuser binary detected. \n"
printf -- "Are you rooted? \n"

if [[ -n "$_TSU_DEBUG" ]]; then
    echo "-------------------------------------"
    echo "tsu ran in debug mode."
    echo "Full log can be found in tsu_debug.log"
    echo "Report any issues to: https://github.com/cswl/tsu "
fi

exit 1


Error with rotation in Google Now Launcher I have a Google Nexus 10, 16GB, with Android KitKat, v4.4.2. Yesterday I installed Google Now Launcher and when the launcher is rotated the wallpaper does not fit the screen properly in portrait mode.

Here's the home screen when on landscape:

Click image for larger version

And here's the home screen when on portrait mode:

Click image for larger version

I have tried setting the wallpaper while in portrait, but it still looks the same.
What could be the problem with this?

Thank you in advance.

This is happening due to android trying to keep same aspect ratio of wallpaper when  your device is switching between portrait and landscape modes. What is the size of the wallpaper? For it to fit perfectly, it must be 3966x2560.


Read data on SD card which was formated as Internal storage of Android OS I have got Lenovo Vibe K5 Plus with Android OS 8.1.0, I pluged in new SD card (Kingston micro SDHC 32 GB) and this SD card was formated as Internal storage, so data on this SD card was accessable with connecting mobile phone to PC, but yesterday I removed SD card from mobile phone and I did a big mistake that I clicked something in Settings -> Storage, something like forget SD card. So now I have got SD card with my data (photos, music, etc.) which I can not read in PC with SD card reader...is there any chance to read my data from this SD card? I looked that in my phone is some data .nomedia
Thank you for you help

The "forget" option tells the Android system you no longer have the card. What it then "forgets" is the encryption key needed to encrypt/decrypt this specific card. So basically you've locked the safe and threw away the keys; without the keys, there's no reasonable way to open the safe again.
Thus, your data are lost. It might be possible to regain the key (e.g. if the device is rooted; you could create an image of all its file systems and use forensic methods to find and extract the deleted key). But not only would that require your device to be rooted, the effort to find and extract the key is not low, and chances are it's meanwhile overwritten. If your data are worth a 4-digit value (EUR or USD) to you, you could contact a forensics company to give it a try – but chances are rather low.
Permit me a note to one of your comments on your question:

I do not have any backups, because all worked properly.

That's exactly the point-in-time when one does perform a backup: you need the data intact. You cannot create good backups of a broken system – but at that point you'll need a backup to repair it, as we've just learned.
Also see: How to get Adoptable storage encryption key without root access after I “forget it” (answer: you can't).


How do I install the new Gmail app on Cyanogen? The same thing is happening with the new Gmail as happened with Voice Search. This again?

adb remount

adb shell rm /system/app/Gmail.apk

adb uninstall com.google.android.Gmail

I installed it simply by going to the market and updating to the new version. I know I have it installed correctly as it popped up a "What's New" dialog on first run.

I have a HTC Magic 32A with CM6.


Should the Data Saver Icon Look like Plus or a Pause? According to this page, the data saver icon should look like a pause button.
However, on my nexus 6P (using android nougat), I get a plus icon instead whenever I turn on data saver.

What does that mean? Am I understanding something wrong? Also, if I keep it on, does the data saver option (no background download, and limited app connectivity) when I am on an unmetered Wi-Fi?

It looks like Google changed it. According to a video on this page it should look like a plus sign.


how to monitor mobile data usage but exclude wi-fi I'm aware there are a large number of data monitoring apps for android but as far as I can see, they all include wi-fi usage in the total.

Since my wi-fi usage is unmetered, I only want to monitor 3g mobile data usage. is there an app that can do this?

Try My Data Manager.  It monitors network and Wi-Fi data.  If you have at least Android 4.0 it should also allow you to view the data use directly without having to install any additional apps.


How To Protect Mobile Internet Access? I want to know how to protect mobile data connection function in Android. I don't want somebody or me accidentally switching it on.

I need something like Smart AppLock but to protect basic phone functions that control mobile data internet communication.

Thanks.

Depending on your mobile network operator one solution could be to change the APN of your mobile network connection to an invalid value. On most mobile networks you don't get a data connection without a valid APN - however on some you always get a connection independently of the APN name.

There are plenty of tools that simplify APN setting/removing/changing - some examples:

APN On/Off
APN Manager
APNDroid


Why does HTC Incredible S turn Wi-Fi on by itself? Sometime after latest official update to Android 4.0 phone began to switch Wi-Fi on by itself when being in sleep mode (or maybe at other times).

Reproduction: turn off the Wi-Fi, leave it in a Wi-Fi enabled area (there are open networks, but no which I would like to use), and next time I look at phone it shows this notification "There are open networks" and has the Wi-Fi enabled.

The reason I'd like to disable this behavior is phone likes to connect to some saved public Wi-Fi's when I'm on the move and browsing via 3G, thus disrupting the loading of pages. So I usually turn Wi-Fi on and off manually.

I don't have a Incredible S but the steps should be similar:

Go to Settings->Wifi->Overflow Menu Button->Advanced->Keep Wifi on during sleep->Never.


An app on my phone has suddenly disappeared but when i look in play store,it is already installed and can be opened I just saw that an app which i had on my phone suddenly went missing. I thought I might have uninstalled it by mistake ,but when i looked for it on the play store, it was already installed and i could open it from there. But on my phone it is not there. What can i do.?

If you're using third party launchers like go launcher or apex launcher, it is possible to hide an app and make it invisible in the app drawer. If this is not the case, look for it in the apps section in your settings. Or simply re-install the app from the play store. And turn on "place the app on your home screen" in the play store settings before you reinstall just in case, so that you know the app icon is visible now.


using galaxy tab as a bluetooth device for mobile i've been trying to find a way to allow all my notifications and phone calls from my phone ( galaxy s3 or galaxy s5) to go through a galaxy tablet, as i'm wanting to replace my car stereo ( honda civic 2007)  with the tablet and i'm wanting to be able to control my phone from the tablet and stream music from the phone. the closest thing i can think of that does this is the galaxy gear watch so can we put the capabilities of the gear in the tab.

below is a list of things i wish to have.

Hands free
music sync or transfer
control music
allow the use of my data from my phone ( i know i can tether but i just thought i would mention it
make calls
view contacts from phone
use maps

I really do think this is possible, so if anyone has any thoughts if this is possible then please help me out.

You'll have to understand, that Bluetooth is based on a master-slave structure, and so are it's drivers and protocol stack.

Most of operations you have specified use existing Bluetooth protocols and profiles:

hands free => HFP
music streaming => A2DP
music control => AVRCP
tethering => BNEP
making calls = TCP
contact viewing => PBA

The problem is, the tablet can act as a master for these protocols, but is missing the stack and drivers for slave functionality. You can, for example, connect the tablet (master) to a headset (slave) over HFP, but you can't use the tablet as a headset.

Until someone develops a more complete Bluetooth stack for Android, which includes both master and slave profiles, you can't do this over Bluetooth.


Two-finger swipe 'breaks' heads-up notifications on Lollipop? I have a Nexus 7 (2013) and a Moto X (2014) running Lollipop. On both of these, if I get a heads-up notification (i.e., those that show up on top of the screen when the device is unlocked) and swipe down on it with 2 fingers, it 'breaks' further heads-up notifications:

I can't tap on them to open the responsible app
For, e.g., an incoming phone call with 'answer' and 'dismiss' buttons, tapping the buttons does nothing. I can't answer phone calls anymore!

I can still swipe to the side to dismiss the notifications, and they still disappear on their own after a few seconds. I haven't been able to find a way to get the correct behavior back aside from a restart.

Yeah, the obvious workaround is to not two-finger swipe on them, but it's second nature as that same gesture expands notifications in other contexts.

I'm guessing the problem is generic, but I've triggered it on Hangouts and Phone notifications.

Do others experience the same thing? Any known 'fixes' aside from restarting?

This is a bug, and it has been reported on AOSP Issue Tracker #79583.

As of current writing, the issue carries on to 5.0.1 Lollipop, reproduced on a Nexus 5. One claimed that the issue has gone on 5.0.1 (but didn't mention the device), and the rest still reported the same issue on it.

If you are interested in the follow-up, you might "star" the issue (I have done it myself).


unable to store whatsapp chat in new account I have just deleted my whatsapp account and now i want to reconfigure my account and i want my previous chats in new account, but the backup of previous chats are not retrieving.
I have also check my database folder it have the chats backup file but still the problem is coming

Can any one help me in this to restore my Chats backup in new account

Use the same phone number as used during the time of backup.
If that doesn't work reinstall Whatsapp.


Editing Android contacts on a pc I'm asking about editing Android contact files on Windows. What software can I use to edit and create them? Thank you in advance.

You can use VCF Manager for Windows from XDA Developers.


Uninstall app for all profiles On my tablet I have created restricted profiles for the kids. These restricted profiles have "app protection" enabled to prevent accidental uninstallation of apps.

Uninstalling an app that is enabled in the restricted profiles is quite cumbersome: I uninstall it in the owner profile. After this, it is still present in the restricted profiles. So I disable the app protection for all restricted profiles, then login into all the restricted profiles one after another, uninstall the app there, and finally I return to the owner profile and re-enable the app protection of the restricted profiles.

Is there a way to uninstall the app for all profiles in a single step?

I do not have root access on the device.

Note: Depending on your device and ROM, you may have to disable app protection before trying this (thanks to Andrew T.'s comment).

Try this:

Open the App Info screen for that app. You can access this from Settings > Apps. Note: Depending on your launcher, you may also be able to access it from your home screen. In the stock android Launcher and Cyanogenmod's Trebuchet (along with apps building on one or the other), you can press and hold the app icon in the drawer, as if you were going to place it on your home screen, but at the top,  there are two options: uninstall and app info. You would want to drop the app on app info.
There should be a button in the top right corner of the App Info screen, "More." After pressing that button, an option should be revealed to "Uninstall for all users." See below for picture.

You can read more about the UserManager at the UserManager API page.


How can I determine Max CPU speed at runtime? I'd like to know the max cpu speed for the processor on an Android system at runtime. I've seen at least a couple different techniques that result in the current cpu clockrate, but not the max.

Root privileges should not be required.

After digging through the source that roxan mentioned a bit, it looks like the following in /proc can tell you what cpu speeds are available and how much time has been spent in each:

/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state

However, it does give some other states that aren't appropriate. For example, on my Samsung Vibrant, I get:

1400000 0
1300000 0
1200000 0
1000000 214141
800000 40092
400000 25273
200000 6159308
100000 389

But the chip's standard clock is 1 GHz. So it looks like it should be fairly trivial to find the highest listed speed that has a non-zero time to it.

For my purposes, this should be very adequate.

Edit: I've observed that sometimes the order in which the frequencies is listed can vary, so you'll want to iterate through the whole list and find the fastest (as opposed to stopping at the first non-zero).

More Edit: Here's a function that works for me:

/**
 * Get max cpu rate.
 *
 * This works by examining the list of CPU frequencies in the pseudo file
 * "/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state" and how much time has been spent
 * in each. It finds the highest non-zero time and assumes that is the maximum frequency (note
 * that sometimes frequencies higher than that which was designed can be reported.) So it is not
 * impossible that this method will return an incorrect CPU frequency.
 *
 * Also note that (obviously) this will not reflect different CPU cores with different
 * maximum speeds.
 *
 * @return cpu frequency in MHz
 */
public static int getMaxCPUFreqMHz() {

    int maxFreq = -1;
    try {

        RandomAccessFile reader = new RandomAccessFile( "/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state", "r" );

        boolean done = false;
        while ( ! done ) {
            String line = reader.readLine();
            if ( null == line ) {
                done = true;
                break;
            }
            String[] splits = line.split( "\\s+" );
            assert ( splits.length == 2 );
            int timeInState = Integer.parseInt( splits[1] );
            if ( timeInState > 0 ) {
                int freq = Integer.parseInt( splits[0] ) / 1000;
                if ( freq > maxFreq ) {
                    maxFreq = freq;
                }
            }
        }

    } catch ( IOException ex ) {
        ex.printStackTrace();
    }

    return maxFreq;
}


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

stop my_task

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

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

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

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


Lenovo Tab 4 10 stuck on boot after factory reset with TWRP I wanted to root my Lenovo Tab 4 10 tablet, so I installed TWRP successfully but then my internal storage was showing up 0 Mb. So I use OTG (Pendrive) to flash SuperSU zip. Then it was stuck on mounting, so I switched my tab off. Then I even factory reset my tab via TWRP and recovery mode. But now it is stuck on the boot logo and doesn't boot up no matter how many times I reboot or factory reset it.
I even tried flashing the stock firmware. Still got no good results
I don't have access to USB debugging or TWRP now.

I had did this once on my Lenovo tab 4 10 So I installed the firmware of my tablet from here “https://firmwarefile.com/lenovo-tab-4-10-tb-x304l”
After downloading the firmware extract the files from the zip file and search for “recovery.img” in that folder and flash that recovery(your bootloader should be unlocked ) and then after that there will be system recovery installed on your device now go to fastboot and then to recovery mode and then reboot your device and you will see the Lenovo logo for atleast 2 mins and then your device is unlocked and then you can lock or keep the bootloader unlocked (I didn't use my PC I used this app called “Bugjaeger”


Xposed framework arose a new problem. Help! I know that the title of this question made you confuse but the question is also strange. I don't think it had happened to anyone before. I've googled my problem but nothing found. Also, no forums here and on xda. The problem is silly but complicated.

I've recently installed xposed for only one reason. To get tinted status bar. Tried flat style colored bars but doesn't worked. Then I downloaded application called tinted status bar which was not available on Google play. After that, as required, rebooted my phone. It worked like a charm. But when I tried to open Google play, it tells me no connection. I double checked my WiFi and it was working. I thought that it can be fixed by clearing cache but nope. Then, I came on a point where I disabled tinted status bar, rebooted and uninstalled it. After that, Google play worked. I don't know what happened. But can you tell me that is there any way to use both the above listed app without any error?
Please reply soon.

Device:- Micromax a064
ROM: on stock but rooted
Android version:- v4.4.2 (KitKat)

Thanx for your attention and if any other details is required, comment it.

Finally, found a complete answer.

What I've done to fix the problem-
1. Reinstalled Xposed with newer version and awaited for better network connection.
 2. After a day, the problem vanished!

What you should try if the problem persists-

  note: These fixes also work for other play store problems.

1. Stop it, wipe it and clear it- You can try going to settings>application>all>Play store and wipe it's data, cache after force stopping it. Also, try doing this for Google play services if problem persists.

2. Switch to a better connection-  A lot of apps won't install of your internet connection is sluggy. Try switching to Wi-Fi else.

3. Uninstall and reinstall the app-  For those with root access, you can try uninstalling Play store and reinstalling it from another source. (See last of the answer to find some websites.)

4. Refreshing your Google account-  The problem may occur due to some error in your account. Try removing your Google account and adding it again.

Other Google Play Store errors and fixes

Error 498: Phone's cache is full. Try wiping it.
Error 919: Phone's storage full. Try uninstalling apps.
Error 403: You're using two different accounts on your device.
Error 927: The play store is updating. Try again later.
Error 101: Too many apps installed. Remove a few.
Error 919 (second): Your APN settings aren't correct.

An xda thread which will guide you through various error codes-

  forum.xda-developers.com/show thread.php?t=2733038/

Also, if using any VPN app or adblocker, try removing them.

Why modifying android causes malfunction in Play Store?

While rooting or doing other things related to it, you are (directly or indirectly) modifying system files. Some alternations to system directory can cause play store  to stop functioning. A major cause is flashing custom ROMs.

There is an app for that
A great app by QuillApps, known as Android error code fixer can solve your problem. Try it and let everything on it.

If everything else fails

And, in case everything else fails, try other apps like mobogenie, f-droid, amazon and many more. They also contains apps that are unavailable on Play store.

Some trusted websites for Play Store apk:- Androidpit.com,   androidapksfree.com,  apkmirror.com and much more. Try googling it.

  Please do not down vote for anything above offtopic. As I'm new to this, I don't know what's offtopic.  :p
  Please appreciate the answer if helped. Before editing, please ask me.

                      Source- #MakeUseOf


How can I remove the recent apps part on Xiaomi mi A2 I am using android 10 on Xiaomi mi A2 and want to remove the recent apps part from my menu but there aren't the options shown above. Help will be appreciated.

share edit flag

"Recent apps" is a standard part of Android navigation and it cannot be removed. You should probably just stop swiping up that long from the bottom and you will never encounter the recent apps screen.


Reactivating a Phone Without Service I recently got an old HTC Droid Incredible 2 with Verizon, that doesn't have service anymore. I wanted to give the phone a "clean slate" so I did a factory reset. However, when I booted it up again, it said that it needed to make a phone call (through Verizon) in order to re-activate, and will not let me proceed without doing this. I have pretty much no idea what I should do now. I could try rooting it and installing CyanogenMod or something, and hope that it would work, but I'm not sure if an unactivated phone can do that. What should I do?

I finally figured out how to fix this. I don't know if this is the best way to do this, and if this is unique to just this phone, but here's what worked for me:

Rebooted the phone
Unlocked it at the lock screen that popped up
When I came to the activation setup pages, I pulled down the notifications shade
"Quick Settings" >> "All Settings" >> Home Button

I'm not sure how exactly this worked (glitch or bug, maybe?), but it did. Thanks for all the help!


Flashed my Android and now I can't display arabic, Hebrew I followed this tuto to flash a zip to my phone (S3 mini - Android 4.4.4 )  using flashfire to show the new emojis. All seems to work well though I noticed Arabic and many other languages are not displayed I only see boxes.

Is there any way to fix it knowing that I skipped the backup step.

I fixed the issue all you need is to flash the firmware ROM. I was using a custom ROM so I used CWM recovery to install it. Here's a link that could help but DON'T wipe data/reset factory, otherwise you will lose all your data.


What size of SD card can an HTC Desire accomodate? I have replaced my 2gb sd card with a 16gb one so i can store more music. Now I can't get the phone to play any music at all it says to make more space before opening app'. Any ideas?

It should be able to take up to 32 GB SDHC cards like almost all other devices.  Did you format the card?  Settings -> SD card and phone storage -> Unmount SD card and then Format SD card or similar, make sure to backup anything on it first if needed.


Automatically, seamlessly block Google-suspected spam calls The Google Phone app now reports when a suspected call is spam. Right now when I receive such a call, I have the choice to block that number. But what I'd like to do is pre-emptively set it up so that any such call is automatically blocked without my intervention.

I've investigated apps like Root Call Blocker Pro, and while they seem to do the silent, transparent blocking I'm after, it seems to require me actively maintaining a black list, entering the phone numbers I want to block. I'd like to rely on the Google's suspicions to block them. How can I set this up?

Alternately, might this be something my carrier can handle on a network-level? I'd be happy to pay for a relatively cheap app or work up a tasker/etc solution, but I'd rather not pay AT&T for a monthly service.

The phone app newly (as of July 13, 2018) allows a user to block calls from numbers Google suspects to be spam.

Under Phone > Settings > Caller ID & spam, toggle on both the Caller ID & spam and Filter suspected spam calls settings.

Reported here among other places; the article contains photos showing the steps I described above.


How to remove wifi hotspots from list I know the general procedure - hold the wifi network icon and select forget - but the icon still stays there! How can I remove it? (Using Android 6-0-1 on a Samsung Tab)

Can't get rid of icon, move out of range or switch the hotspot off. Can tell my tab to ignore them and not connect. Went to: https://android.gadgethacks.com/how-to/make-your-android-automatically-switch-strongest-wifi-network-0172651
Get the Cloudie WiFi Switcher and select the access points you want to use.


Automatically power on Android when the charger is connected Is it possible to automatically power on the device once the charger is connected given that the device is initially turned off?

The battery charging graphic is displayed by /system/bin/playlpm file on Samsung devices.

If you are root, you can edit this file to:

#!/system/bin/sh
/system/bin/reboot

And be sure to add those permissions to the file:

chmod 0755 /system/bin/playlpm
chown root.shell /system/bin/playlpm

Your device will now boot when plugged


How do you determine if you're using Wi-Fi or LTE? On Android, how do you tell if you're connected through Wi-Fi or some other type of connection like LTE or 3G?

If I'm sitting at a Starbucks and I sign-in to their Wi-Fi, my phone has both the Wi-Fi and LTE icons showing. How do I know which connection I'm using?

When I'm at a place that has Wi-Fi, I want to use Wi-Fi and not my data from my data plan. Is there a place in Android that specifically tells you?

There isn't a specific place that it shows, but the WiFi connection will take priority over the cellular data. If you wanted, you could perform a SpeedTest to check your service provider, but that shouldn't be necessary.

Also, if you're worried about updates and whatnot using your cellular, the downloads will initiate on WiFi (if you have that option) but they will continue on cellular if you lose the signal.


HTC Desire 516 dual sim ROOT FAILED (BRICKED?) I've tried to root my HTC Desire 516 dual sim by following this guide:

http://forum.xda-developers.com/android/help/bootloader-fastboot-recovery-htc-desire-t2845467/page8

But obviously, I did something wrong. Now, when I turn on my phone and unlock the screen, suddenly there is a message saying "Unfortunately, HTC Sense has stopped", and I didn't make a backup and now don't know what to do. Can someone help me to fix it? I cannot do anything on the homescreen or even to get in the app menu, only in settings menu.

Also, when I try to wipe cache or go for the factory reset it returns a string saying "E: failed to mount/sdcard (no such file or directory)"

I tried to find a stock ROM for this phone but seems that there's none on the internet.

I just did what you did , i was already ready to brick my phone.
I received the same error of HTC Sense Stopped.

you can still reach settings menu. just pull the menu from the top of screen , and enter settings. and stay away from home screen as much as possible. thats where htc sense stucks.

from your computer play.google.com and install google go launcher to your phone.

from settings->apps>find htc sense . enter inside do clear cache, data and app defaults.

Now press home button . it will ask which launcher do you want to use . choose google go launcher , ALWAYS!

there you go.


data/log folder causes "internal storage has run out of space" message So all of a sudden I'm seeing the dreaded "storage space running out" message. I'm running the nightlies of cyanogemod 10 on galaxy s2.

I looked into the storage manager and the numbers didn't add up.

Couldn't find any app that shows you content of internal storage (they all work on the SD), so I used the terminal emulator to view the files myself (requires super user permissions).

I found out that there is a directory data/log that takes a lot of memory, about 1 GB. From viewing the files in it it appears to have a lot of log files with names such as dumpstate_RESET_BY_CP_SILENTRESET...

What is this? Can I delete everything there?

EDIT:
found this http://forum.cyanogenmod.org/topic/71465-log-directory-full-of-dumpstate-files/

I just deleted it... it seems to be a bug with cyanogenmod. Will update if there are any problems.

Deletion was done through the terminal app. You type su to give it super user permissions, then you go to the path and use a linux command to delete the files.


Security, keylogging and accounts An in-app purchase requests password verification before the transaction. Thus, all the following input into the onscreen keyboard is the user's password.

Is handling keyboard events prevented at this stage so the app developer can't log individual strokes? Does it need to be a rooted device to log them?

Can't this then be matched with GET_ACCOUNTS or a similar function?

Thanks

In-app purchases with Google Play don't take place in the app you're purchasing in. The dialog to confirm your password and make your purchase is part of the Play Store app. There's no way for the calling app to see or intercept what you type into it. It's no different to any other app in that respect.

Be careful to only input your password into the real Play Store dialog. As always, the soft keyboard can see anything you type in any app, so you have to trust it not to abuse your password and other sensitive information.


How to tether an Android phone to a PC via Bluetooth? When wifi connecting to the internet via an Android mobile, how can I get access to this internet connection over Bluetooth from my computer?

Under Settings, Network & Internet, Hotspot & tethering enable Bluetooth tethering. Then, if you haven't already, pair your computer with your phone and connect.


Downloading certain apps on CM 12.1/13 causes it to bootloop I flashed Cyanogenmod 12.1 on my 1st Gen Motorola Moto G (aka. Falcon) successfully through TWRP. Afterwards, I flashed gapps on my device (from OpenGApps.org) successfully. I set up my google account on it and everything with no problems.

However, after I had started downloading WhatsApp on my device, it crashed and restarted. Instead of giving the the "Warning: Bootloader Unlocked" message, it cut straight to the Cyanogenmod logo and started bootlooping. This would stop if I went into TWRP's File Manager, and deleted the files for the app in /data (or if I did a factory reset, which would also delete those files).

This had happened to me multiple times with multiple apps with both versions 12.1 and 13 of Cyanogenmod. Is there a way for me to have these apps on my device without it bootlooping?

In my case (Nexus 4 (Mako)), I have it running only on CM 10. WhatsApp then started to cause the boot loop on CM >= 11. Since I need a custom ROM for 4.4+/KitKat or up, I ended up in flashing LineageOS 14.1 (Nougat) and so far it's been working fine for me. (ツ)


Unlocking Nexus One without pressing the power button The power button on my Nexus One doesnt work smoothly any more, sometimes taking nearly half a dozen attempts before the unlock screen appears on the phone. I was wondering is there is any other way to invoke the unlock screen on my phone, apart from pressing the power button. I have Gingerbread 2.3.4 on my phone.

Here is my comment as an answer xD

There are custom roms like CyanogenMod that allows you to unlock using your trackball, dont know if there on market is and app for that...

--some minutes ago...--

hey there is one at https://market.android.com/details?id=org.liberty.android.anyunlock&feature=search_result called AnyUnlock,

there are other apps like this.... --as you discovered xD --

pd: rate with 100 for the effort :p


Can Factory Reset delete a virus? In my Lenovo A536 phone a malicious app that is alarm controller and calendar service is unknowingly installed and it is creating a problem.

I am not able to uninstall the app as it is automatically stored in in-built app.

So can Factory Reset remove it?

If the app has installed itself as a system app, then no, factory reset will not remove it. It will just wipe it's data, but it will start installing again, after you boot your phone up.

You will need to flash your device with a stock firmware file, which does not have the virus installed.

You can follow this tutorial:

http://forum.xda-developers.com/android/general/tutorial-how-to-flash-lenovo-a536-stock-t3300818


How do I edit the urls of the speed dial buttons in Opera Mobile? How do I edit the urls of the speed dial buttons in Opera Mobile?

For example, I have a url  www.economist.com/printedition which redirects to a different url on different occasions. If I use the standard speed dial functionality, I will end up saving the redirected url instead of the printedition url.

Is there some file where these urls can be edited?

Touch and hold the icon. A "Remove" and "Edit" should pop up. Drag and Drop the icon on the "Edit".  Now do your editing.


How do I open about:config in Firefox on Android? A lot of settings on Firefox for Android need about:config, but I cannot open it by typing in the address bar.
Here is a screenshot 15 seconds after I typed about:config in the address bar and pressed enter.

Here is a screenshot showing the version of Firefox on my phone.

What am I doing wrong?

about:config is disabled in builds other than Nightly
From this answer:

You can access about:config in the Nightly build of Firefox for Android, available from the Google Play store .


How can I root the Samsung Galaxy Note 3 SM-N900V? I recently updated my phone to Android 5.0. I have been searching for a way to root this device for days and have tried every tool and technique out there including Cf-Auto-Root, Kingo Root, and Towelroot without success.

People say that Towelroot worked on Android versions prior to the latest updated version 5.0. They say that the bootloader is locked and no tool available currently works. Is there any way to get this device rooted or is it impossible to root it?

Guys at XDA again did the magic and finally found a way to root this infamous SM-N900V running lollipop 5.0. Here's the entire process in detail:

Follow the steps below to root your device:

Install the samsung mobile USB driver. Plug in your note 3 to a PC, a CD drive pops up for few seconds, open it, you'll find the driver for your device there.
Now enable developer mode and USB debugging on your device.
Download and open the ArabicToolApp.
Inside the tool, Select the baseband version of your device, you can find this information under ( Settings > About phone > Baseband version ) of your android device. Note the last 3 characters and select the Version in the Arabic Tool accordingly.
Click on Read Phone Info. Now, note the log messages in the Arabic Tool, you should only procced if no warnings are given there.
No press ROOT button.

The rooting process should not take more than 6 minutes. If it does, cancel the Arabic Tool and do the following and try again.
- Make sure you've restarted your computer after installing the USB drivers.
- Use USB 2.0 cable and port.

If during the process, your device gets stuck on the bootscreen, do the following:
- Turn off your device, Press (Home + Volume Up + Power) buttons to get into the recovery mode, reset the device from the menu and also clear the cache partition. Now, try restarting your device. If the bootloop still persists, follow the next step.

If the above step didn't fix the problem, you will have to reflash your firmware. To do this, download Odin and SM-N900v OF1 firmware from the link provided below.
Start Odin
Reboot phone in Download Mode by pressing (Home + Volume Down + Power) buttons.
Connect phone and wait for the blue sign in Odin.
Add the downloaded firmware file to AP/PDA
Click the start button and wait for it to show the "Pass" sign. This can take upto 10 minutes.

Once your device starts running normally, make sure you follow the rooting steps given above correctly and try again.

To confirm that your device is rooted, you can press the device info button in the Arabic Tool once again to see the root status or, you could also install RootChecker app from the playstore and see it there.

Once you've confirmed that your device is rooted, install SuperSu and follow the instructions in it to install required binaries.

Guys at XDA recently also found a way to unlock the bootloader of this device. Follow the XDA thread below for more information.
Note 3 Verizon Bootloader Unlock


Some secret codes not working after installing CyanogenMod I installed CyanogenMod on my Galaxy SIII I9300, There was a secret code that shows MAC address of the device: *#232338# that was working when original stock ROM was on my device. But it does not works now. Is the secret code list differs between original stock ROM and CyanogenMod? If yes, where I could find new secret code list?

Some "secret" codes are provided via hidden apps that the carrier and/or the device manufacturer installs in the phone's firmware. When you switch to a custom ROM such as Cyanogenmod, those apps are no longer present.

Nevertheless, for just about anything you might have wanted a "secret" code for, there is some way to get that information already, either through an existing menu item or a free app you can find on the Play Store.


How to 'Forget' Password to Google account on my Mobile? On my phone, when I go on the browser to the google homepage it asks you if you want to sign in and when you click sign in it doesn't ask me for my password, it just automatically remembers it now.

I don't really want it to do this, is there any way I can stop it?

I went into the browser setting and disabled "Remember form data" and "Remember passwords" but that still hasn't worked.

I'm usuing a Motorola Razr i

Settings › Privacy and Security › Remember Passwords.

Unchecking this option seems to do the trick.


Messed up "Google play services". How to reinstall them? I accidentally deleted my phone's Google Play Services app. So now, when I try to download apps on the Play Store, it says "No devices installed", and every time I try to install Google Play Services, it wont allow me to.

Can you help me? I've tried just about everything, and it still won't allow me to download anything. How would I get Google Play Services back working again?

If you are rooted with custom recovery installed, flash new Google-apps package from OpenGapps which would reinstall the entire Google apps with framework and Play Services.


Galaxy S2 keeps periodically showing "Refreshing SIM data" toast I have a rooted Samsung Galaxy S2 running the stock Samsung ROM (no custom ROMs ever).
Of late, I notice that every few minutes, a toast pops up saying 'Refreshing SIM data'. If the screen had been blanked earlier, it reactivates, and this is annoying, especially at night.
I don't know if this is relevant, but only recently I got 3G activated (Vodafone, Bangalore,India) and it didn't happen before.

Anyone seen this, and is there a workaround or fix?

Update - Have upgraded to 2.3.5 Gingerbread and with different kernels (Ninphetamine and DarkyROM SuperCore) but it makes no difference. I wonder if it's because of the service provider.

Could it be that the SIM contacts are corroded or bent slightly, so that the phone thinks it lost connection and then regained it? If this is the case, try cleaning the contacts with alcohol.


Automatically add installed app icon to first screen with space I have 5 home screen pages in my Note 5.

When a new app is installed, its icon is added to the last page and not the first one, even though there is space in the first page.

Anyone know how to fix that so the shortcut will appear on the first page (or in the nearest page which has empty spots)?

You have edited home pages of your launcher.
you can change sequence of ui that you will able to see apps on first screen


Factory reset not working in Samsung Tab 2 I want to factory reset my Samsung Galaxy Tab 2. I have tried to factory reset it through Settings and through hard reset but it again reboots with same account and applications. I have also tried to uninstall some applications but they reappear on reboot.

How can I factory reset my device?

Try resetting through Recovery mode. if you have installed a custom recovery like philz or CWM try wiping dalvik cache and user data before Factory Reset.it will prepare a clean ROM for you to proceed.

hope it helps.