text:
Freennode Weechat Android Protocol error and Failed to connect error
I'm using weechat-android that I installed using f-droid and trying to connect to freenode in order to join an irc server. I am able to connect freenode on my Windows 10 PC using mIRC as expected. Not able to do so on Android after following this doc https://freenode.net/kb/answer/chat.
This is the exact setup I used when I get the protocol error.

This is the exact setup I used when I get the failed to connect error.

Where do you got the information about the server `freenode.net:8001 from? When I search for freenode I only get irc.freenode.net:8001 or chat.freenode.net:6697 for the SASL connection.

I must have mixed those up I got some of that information from this kb article about connecting to freenode, but wasn't sure about the ports.

When I set my relay password, relay port to 8001 and host to irc.freenode.net:8001 I still get a Error: Protocol error message.

I assume you have to use one of the TLS ports, not the insecure plain text ports.

I'm not sure what ports where used. I used both mIRC and compiled Weechat from source on Ubuntu, both abstracted the ports I believe.

Have you executed the commands form the manual I have linked in my first comment?

The one from Configuring SASL for WeeChat right? Would I need to root my phone to run these commands?

What makes you think so? Root is never mentioned anywhere you should just type in the commends into your chat program.

The chat program is running on my Android phone. How would type these commands in on my Android phone?

It is a chat program. Type the commands into the chat.

This is the program I am using https://f-droid.org/packages/com.ubergeek42.WeechatAndroid

Have you read the Quickstart info about the relay server? See also my edited answer.

I have, I think my blocking issue is I am having trouble getting this to work with my Android app, but all of the guidance assumes I have access to a CLI where I can run these commands. Which I don't have access to in Android unless I'm root.

You have to execute these commands in the Weechat program on your PC/server.

Okay I think I see now, I misunderstood. I run these commands on my desktop from your answer. Then the Android app connects to Weechat through the ports I expose on my local network?

Seems to be the way this app works.

Let us continue this discussion in chat.

Note: According to the Quickstart guide Weechat-Android is not a chat-program, it is only a UI for a chat program running on your server:

Weechat-Android is a relay client, that is it's not a standalone
client, but one that connects to your copy of WeeChat running on your
server. You can connect the two in a number of ways, listed below.

Therefore if you just install the app on your phone it is not usable. You still need an own server on the Internet where your Weechat program is executed.

You can connect to freenode by pointing your IRC client at
chat.freenode.net on ports 6665-6667 and 8000-8002 for plain-text
connections, or ports 6697, 7000 and 7070 for TLS-encrypted
connections.
Connect to chat.freenode.net

https://freenode.net/kb/answer/chat
Alternatively there is a Weechat how-to for setting the correct server: https://freenode.net/kb/answer/weechat
/server add freenode chat.freenode.net/6697 -ssl
/set irc.server.freenode.sasl_mechanism PLAIN
/set irc.server.freenode.sasl_username <nickname>
/set irc.server.freenode.sasl_password <password>
/save


text:
Network stack broken after uninstalling AFWall?
Since uninstalling AFWall and rebooting, I "connect" to LTE/3G/2G and wifi but there is always a little X on the icon and never any network access (can't actually access anything with browsers or apps). GSM voice and SMS works normally.
No connectivity problems via LTE and wifi prior to today. I was messing around with AFWall, applied some rules and enabled/disabled it a couple times. Rebooted once or twice and decided the firewall wasn't blocking/allowing traffic reliably and wasn't logging and showing notifications accurately so uninstalled AFWall and rebooted.
I've had this phone (Zuk Z1) since 2015 and it has been solid. It has been running LOS 16 android 9 for the past 2+ years or so without issue. I've had this same SIM card and provider for over 2 years also.
Troubleshooting already tried:
SIM in other phones works fine
cleared dalvik
cleared SIM tools cache and data
rebooted a couple times
reset APNs
Questions:
Am I missing something obvious? Any suggestions welcome.
Is there an equivalent to "netsh int ip reset" (in windows) for android?
Can I somehow reset iptables to LOS "factory"?
Should I try re-installing AFWall? (if yes, then what?)
I will flash another ROM if necessary, but I'd like to try all other  options first
Thanks for reading!

AFWall+ only sets firewall rules which aren't persistent across reboots. You can also use iptables command to clear all of the firewall chains/rules. Network troubleshooting is almost alike on all OSes. Use ip to check routing tables, use dig to troubleshoot DNS, and so on. Perform a factory reset if the issue is in Java stack of Android framework.

RESOLVED: I'm not sure whether to post an answer to my own question or not. I'm not clear on exactly what happened. Resetting iptables (as root) didn't work the first time. I reinstalled AFWall (3.4.0-19450) and rebooted. Then ran "iptables -F && iptables -P INPUT ACCEPT && iptables -P OUTPUT ACCEPT && iptables -P FORWARD ACCEPT" (as root) and uninstalled AFWall and rebooted. There appears to have been a bad interaction between AFWall and an EdXposed module as well. (I don't know exactly what happened, sorry)

@bumblingfool as long as it solves the issue, feel free to post a self-answer!

Something must be intermittently applying iptable rules at boot because the problem keeps re-occurring sometimes after I restart the phone. I'm still working on it.

I wanted to mention that there also exists an option in the reset portion of the settings menu to reset the wireless adapter.
I would have been curious to know if that made a difference.

Good idea, thanks. I tried it but it didn't make a difference. The issue is with iptable rules intermittently re-applying themselves at reboot it appears...

source: Stack Exchange

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

sort: votes


text:
How to disable SmartLock Hints?
The docs explain that an app can ask the API to ask the user to choose an email address to use:

I am always thrown off by that thing popping up after I started typing my email address (in some apps) and in others I still prefer typing it manually to choosing in that huge list (because google adds every address without asking once it is set up in gmail).
How can I make my device act as if I pressed "None of the above" whenever that dialog would pop up?
I am running LineageOS 17 (Android 10), rooted with Magisk.

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


text:
Go launcher Ex (german) not opening anymore
I am using Go Launcher Ex (or go launcher Z), german version, on my sgs5 and since the update last night (today is the first of march) I cannot access it anymore.
As soon as I press the home button or access it through google play --> open a message appears in the taskbar, saying that an unexpected error happened. Clicking on this message allows me to send a log to the Dev team, which I did.
But I hope that maybe this website is faster in answering because it's now been over 12 hours without any un-automated response. I understand that it's difficult to manage an app with so many users, but with SUCH a bug...
Anyways, I hope you have Ideas what I can do. I tried:
- clearing Go Launchers Cache
- stopping Go Launcher and restarting it by pressing home again
- search for the last stable apk on google, which I didn't find (also, the version displayed in the app details is Go Launcher Z version 1.0.0 ...)
I did not try to restart the phone because in that case, I might not have access to google play anymore which I use right now to start the apps I need to.
EDIT: There is an update available, but it only fixed the Problem for me until I rebooted - now nothing works anymore
Also, uninstalling go launcher through adb didn't help at all for me
EDIT 2: Some people reported in the go Launcher comments in play store that they could start the phone in safe mode and reinstall go launcher. (safe mode is usually pressing volume down while booting) Other people found that reinstalling brought the same error but at least the uninstall worked. For me, uninstalling didn't help but maybe it'll work for you
EDIT 3: after a not working update, they finally created a working update. I used a hard reset to fix the boot problem but I guess using Safe mode to reinstall Go Launcher should work too (Volume down and booting)

Hi lucidbrot, if you found an answer please add it as answer, don't edit it into your question, it's perfectly fine to answer own questions.

I can't - somebody put a min. 10 reputation barrier on this to prevent useless "me too" answers. Could you maybe answer it? :)

Well i don't have more info so maybe let's wait for somebody else

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


text:
Does "How will you use this SD card?" wipe data?
There is a notification almost every time after boot saying "Issue with SD card" "Tap to Fix".
What happens when I then choose "Use as portable storage"?
I don't want any formatting to happen and it is not clear if it will format or not. ( My SD card works fine from recovery and I can mount and view it in the terminal without problem. Not sure what the notification is about. )

Yes it reformats.

I have now backed up my contents and am able to try this out.

The popup indeed makes it clear that data will be lost.

Process
If, like me, you don't believe the system that your card is broken, you can try running fsck like @alecxs advised me to. Use the -y flag to avoid manually confirming every fix.
I used mount/blkid to see what filesystemtype my SDcard uses and what its block device id is. And then I ran fsck.exfat /dev/block/mmcblk0p1 which told me
1|beryllium:/ # fsck.exfat -V /dev/block/mmcblk0p1
exfatfsck 1.2.2
Copyright (C) 2011-2015  Andrew Nayenko
beryllium:/ # fsck.exfat /dev/block/mmcblk0p1
exfatfsck 1.2.2
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
WARN: volume was not unmounted cleanly.
Checking file system on /dev/block/mmcblk0p1.
File system version           1.0
Sector size                 512 bytes
Cluster size                128 KB
Volume size                 463 GB
Used space                  211 GB
Available space             252 GB
ERROR: unknown entry type 0x89.

ERROR: unexpected continuation (0).
Totally 5536 directories and 64646 files.
File system checking finished. ERRORS FOUND: 2.

whoops, I should have unmounted it first!!
Running it again (this time from boot instead of recovery (shouldn't matter), and not mounted) I get the option to actually fix it. Note that I did this as su:
beryllium:/ # fsck.exfat /dev/block/mmcblk0p1
exfatfsck 1.3.0
Checking file system on /dev/block/mmcblk0p1.
File system version           1.0
Sector size                 512 bytes
Cluster size                128 KB
Volume size                 463 GB
Used space                  211 GB
Available space             252 GB
ERROR: unknown entry type 0xc0.
Fix (Y/N)? Y
ERROR: unknown entry type 0xc1.
Fix (Y/N)? Y
ERROR: unknown entry type 0xc1.
Fix (Y/N)? Y
Totally 5537 directories and 64860 files.
File system checking finished. ERRORS FOUND: 3, FIXED: 3.
reboot

The reboot was fairly quick, the login afterwards took a bit of time, and now... the sd card warning is gone! This also answers a question I was already typing but haven't submitted yet: How to fix the SD card without data loss!
I shall publish that question as well soon, so that it's easier to find this solution.

@alecxs thank you! Thought I'd let you know that this helped!


text:
Is there a facebook app that does not read your location?
I've looked at a number of facebook apps, and it seems that they require permission to read my precise location. This includes Stream, Fast, Friendcaster, and the official facebook app. Can anyone recommend a Facebook app that does not require permission to read my location data?

http://m.facebook.com (of course they could only get your vague location if ever they do)

Disable the location service prior to launching the app?

These apps read your location for post location tagging, and there no apps that I no of that do not have the location permissions. There are some workarounds however:
Mobile Site
You could use http://m.facebook.com, which would only be able to gather IP based location, unless you allow it to access your location via the browser (this is easily denied, and an option will be displayed when it first attempts to access location - you can just select deny. This is in the Android browser).
Disable Location Services
Another alternative, is to just disable all location services in your settings menu prior to launching the app - the app can still get your location, but it would be very course (to about town level).
Deny Location Permissions to App(s)
If you're rooted, you can use an app such as permissions denied (paid app) to deny the apps the permission to access your location - be aware that the app may force close if it tries to do something it doesn't have permission to do.

There is an xda developer who created just such an application after becoming frustrated by facebook's blatant disregard for users privacy.
http://forum.xda-developers.com/showthread.php?t=2049360

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


text:
Videos are directly streaming onto my default player. Want to open in Opera so I can download it
I have been using Android for the last week.
I have Opera for browsing. I  download videos from a website directly thru Opera. While downloading it asks me whether to open the video in Opera or default video player of my mobile.
Accidentally I once clicked on the "make it default" option and it was directly streamed to the video player. After this it never open in my Opera to download.
Because of this I can't download videos into my mobile. If I try to search the name of the video player I cant find it. And please help to restore as it was before.

You shouldn't need to uninstall anything. You just need to clear the default.
Go into your settings and the app manager. Find the default video player. (You'll probably have to change your view from "Downloaded" to "All" in order to find it. I expect it's called "Video" or similar.) In the settings for the app should be a button labeled "Clear defaults". Tap that and remove the existing default settings for the app.
Now when you go back into Opera and click a link it should prompt you again. Be careful about that "make it the default" button.

If all the other answers look too complicated, or are not suiting you for other reasons: There are apps available helping you to Manage Default Apps. Two examples of that are Clear Defaults and Default App Manager:

The former simply lets you clear the default for an action type, while the letter also lets you chose which app should be the default, which might come in handy – though it's not strictly required, as Android would ask you the next time anyway if there is no default set.

Trying uninstalling the Opera browser:
 Settings > Applications > Manage applications

and then reinstalling it.
Alternatively download a new web browser (e.g., Dolphin) and once that is installed, launch your video and it should give you the option of selecting Opera as your default.

No need to uninstall -- any update (of the default app) will do, as will the installation of any other app handling that special content-type (Mime), which must not be a web browser (see Al's answer: A video player app is much more likely to solve the issue).

@Izzy - Thx, I've already read his answer

Just install another Video Player app.
As this adds a new possible choice, it will reset the "default" setting as a side-effect – and save you the work of finding the app currently set as default.

This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. - From Review

@AndrewT. actually, it does. It just misses the background of why it would work: it would reset the "default action" as a side-effect of adding a "new option". And it would save you the hassle of finding out which app currently bears the default ;)

authors: Алексей Кареев


text:
Downloaded music plays on PC and transfers to phone, but some files don't show up in phone library after transfer
My music - which is in MP3 format - plays normally on my PC. When I transfer some of my music to my device, my computer says the transfer was complete, however I cannot see some of the music on my device. Why are some songs not appearing in my phone's music library?

I thank you for your help I will check the format again on these songs it may be one not supported

Please reboot your device.
Once you have rebooted, the music will show up in your music app.
When you boot, Android searched all SD Cards for media, and then adds it to the media database, so that media apps can use it.
Please reboot, and the music will then show in your music player.
If you have already rebooted, then please clear the data for the following apps:

Media Storage
Music (or Music Player, or Media Player)

If that still doesn't work, then copy the music direct to the music folder of the SD Card that is in your device.
Final thing - Android doesn't support ALL music formats. If the file is in a format Android doesn't support, then it won't show in the Music app.

MP3 files and when I rebooted they still did not show up

@donnybrookit MP3

@donnybrookit MP3 files are definitely supported. Please follow the steps above to reset the media apps. If that doesn't work, I suggest you use a file manager app to see if they transferred to your device or not.

@ LiamW WILL DO


text:
Custom Rom installation for defy
I have been trying to customize my current ROM in my Defy which runs 2.2 froyo currently as stock.
I'm confused which how I can customize my ROM, such that my stock ROM is backed up and if I don't like my new ROM I can restore the backup.
Another question is how can I install my new ROM?
I found couple of videos on Youtube that says installing ROM via 2ndinit after Rooting and then go recovery menu wipe cache, dalvik, etc and then install from SD card. Is this a valid procedure?
Refer to this video.
Is this a valid way of installing?

So late to answer a question like this, still:
For all non-advanced users who want to root their Defy and install custom ROMS, first refer this article.
It says all about you want to know about Defy before torturing it :D But don't worry, it is almost impossible to brick the mighty Defy, so feel free to experiment.

Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference (please [edit] your question and do so). Otherwise your question ceases to be helpful in case the link dies.


text:
Contact names not showing for the calls and messages
My Galaxy S3 was working great until I installed a firmware update on 26/11/12. Immediately after, the names dropped off the calls and messages and it is now showing phone numbers only. When I dial somebody or receive an incoming call, only the numbers are displayed not the contact name.
Please help....

could you please make sure your contacts data are still there?

I agree with the sentiments of @ss1271, it seems like perhaps your phone is no longer associated with your google account that most likely contains all of your contacts.

Had the same problem with GF's phone. The problem was caused by an update. There are talks of a possible fix on Vodafone.com.au forum via upgrade but the simplest solution, instead of waiting for fix (which may never come to all carriers), is to do a factory reset.
Make sure to make a backup of your phone before doing it because everything will be gone.
Step-by-step for factory reset is available here.


text:
SD card not recognized by Acer A500
I just bought a used Acer A500 16 GB tablet yesterday. Everything works great — except it doesn't recognize my 16 GB microSD card for storage, but says there is no external SD storage or it is emulated.
I don't know a lot about rooting and such; the guy just told me it was rooted and is running JellyBean 4.1, which works great.
Does anyone know how to get my SD card recognized again?

@Izzy Make sure to get the title when you edit ;)

Oh... I didn't figure anything wrong with it -- but true, now it's much clearer. I will watch out better next time :)

Please ensue that the device supports SDHC microSD cards.
Also ensure that the sd card is fat16 formatted.

Try, running scandisk on your card after connecting it with your computer...it should work


text:
Activate face recognition in the new Google Photos
I'm living in Europe and the new Google Photos app does not group the people in my photos in the search menu. I did some research and found out that this function is only available in USA.
Any idea how to activate it in other countries?
As mentioned in the comments, the reason for the absence of this feature is legal issues, so you are responsible for using this work around ;-)

Some background: there are legal issues for that feature not being (officially) available in Europe ;)

I just found the solution to this. All you need to do is:

Connect to a USA server via a VPN
Clear the data and cache of the Google Photos app.
Open the app again and activate the "Group similar faces" in the settings
Check back the search menu after a couple of minutes and the faces would be there. Google already did the recognition for you, but kept it for itself.
Disconnect from the VPN.

"Connect to a USA server..." - hmm, which server do you mean?

Just a vpn server which is located in united states!  There are many free Vpn service providers with servers in usa,  like cyberghost for example

thanks for the info it works like charm ,, and just for someone else there is another great free VPN provider for your android or IOS phone,, just search for TUNNELBEAR :)


text:
Cyanogenmod custom recovery can't backup, restore or apply an update!
I just installed Cyanogenmod. It's my understanding Cyanogenmod is a ROM so I was bit suprised when my TWRP custom recovery was replaced by Cyanogenmod's own recovery. Why is this?
Cyanogenmod's recovery can't do anything; it has no backup or restore options and each time I try to apply an update it says-

signature verification failed.

Is it possible to get back to CWM or TWRP or somehow get Cyanogenmod's recovery to work?

I can't flash a new custom recovery from the phone since Cyanogenmod's recovery fails at flashing, and I tried using fastboot from the computer and it appears to flash TWRP but then it just goes by to Cyanogenmod's recovery.

I once read that TWRP/CWM only work with stock kernel and Cyanogenmod has it's own kernel so they won't work. Is this true?

I don't think it's relevant to the question but my phone is Xperia Z2 D6503 and the CM is 12 (Lollipop)

I have no idea about the answer to this, but, could you specify your device model and number? After all, you should know to do so, I mean, look at your reputation. Come on.
By the way, CyanogenMod doesn't come with its own recovery. I have installed official builds of various devices, and it has shown no such replacement of the sort.

@rjt.rockx hmm device model/number are irrelevant. You don't understand the question. It's do they make custom recoveries so they need a specific kernel? and does Cyanogenmod count as a custom kernel (it has mod in it's name, people call it a ROM, so I don't know). You clearly don't know what your talking about as cyanogenmod does come with it's own recovery and that's the whole point of the question. You say you have never used it so why would you know?

@Celeritas :- There is this option in Developer Option menu that I must mention. While I do not understand the reason for such, in Cyanogenmod's Developer Menu, you might find an option like Update CM Recovery. As long as it remained checked, no matter how hard I tried I couldn't replace my recovery through fastboot. Fastboot showed me no error but rebooting the phone to recovery didn't booted into new one. I unchecked and it worked.

@Celeritas :- There is another thing that I never understood. I've OnePlus One and the first time when I tried to replace the recovery with fastboot, it didn't worked. No error in fastboot command but didn't booted into new one too. All I had to do was factory reset and after that it worked. I know it makes no sense that how could or why should be it working out this way but I thought I should convey my point here.

@Celeritas:- However, you didn't mention that whether you tried flashing TWRP/CWM recovery from inside the Android like through Flashr app.

@Celeritas :- About this I once red that TWRP/CWM only work with stock kernel and Cyanogenmod has it's own kernel so they won't work, is this true? No it is not true. If you doubt my words then please consider heading over OnePlus forums here. Folks there run Stock Kernel that came with device and loaded with Cyanogenmod runs TWRP/CWM recovery. But those using other kernels like some AK Kernel also uses the said recoveries with no issues.

CM is virtually always used with a custom recovery.

@Celeritas , I have never said that I have never used CyanogenMod recoveries. I have flashed various builds of CyanogenMod (both official and unofficial) to many devices, and then I have installed a custom recovery (usually CWM or CWM-based) on top of it. I have had no such issues, so I mentioned that I have no idea about this topic.
I know what I'm talking about. Please don't start an argument here. I don't wish to argue with you. If you don't want me to continue this conversation, then I don't see any reason to object against your decision.

What I meant to say was that whenever I installed a custom recovery, it would never get replaced again by CyanogenMod's own recovery.
If it was with a specific device model and CyanogenMod version, then I could have tried to emulate the same thing and find out what the problem was, in order to find a correct solution. So, I asked for your device model and number. Hope you understand .

@rjt.rockx What I meant to say was that whenever I installed a custom recovery, it would never get replaced again by CyanogenMod's own recovery so you've successfully flashed a custom recovery after flashing CM? I can't do that. It's CM12 with Xperia Z2.

@MatthewRead in what sense do you mean that? I certainly had a good custom recovery before I flashed CM but then CM replaced it with its own crappy recovery.

@Celeritas , Yep, many times. CyanogenMod12 is doubtful, because I have only tried it out once, and it worked (on Micromax Canvas A1 (Android One - India)) I had the ThunderZap kernel and PhilZ touch recovery running on it, and it wasn't refusing the installation of a newer version of CWM recovery. I dunno about other devices, but it has always worked out fine for me.

I got it working. I used the app Rashr to install the custom recovery TWRP and it worked.

From xda thread: CyanogenMod recovery is basic, so you have to flash another one. The easiest way is to use rashr app and it worked for me perfectly

I tried this without success on Android 5.1. It said flashing is done, but it starts the Cyanogen Recovery after that again. Fashify (https://play.google.com/store/apps/details?id=com.cgollner.flashify&hl=en) worked for me, though.

In case you are having this problem with a galaxy s2 and cyanogenmod 12.1, then the solution is to flash the original developers alternative stock kernel with TWRP installed. It is signed and thus can be flashed with the cyanogenmod recovery.
For details and further links see my answer on this question:
How can I backup and restore Cyanogenmod 12.1 rom installed on my Samsung Galaxy 2 i9100?

Especially for Galaxy S2. I stuck with Cyanogen Recovery for a couple of days. Neither Rashr nor Flashify worked for me. In the end, reflashing a TWRP kernel (Apollo 9 light) with Flash Gordon did the trick.

for Galaxy S2 I9100,  recovery image with IsoRec support (like recent TWRP 3.0.2+) will allow you to keep using TWRP instead of CM Recovery - see https://twrp.me/devices/samsunggalaxys2i9100.html. You need recent CM too (like cm-12.1-20160203-NIGHTLY-i9100.zip; cm-12.1-20151116-SNAPSHOT-YOG7DAO1JN-i9100.zip won't work as it lacks IsoRec support)


text:
How do I root my Azpen A727 tablet?
How do I root my Azpen A727 tablet?

I learned how to do this from here
I did this from a Linux PC with ADB installed.  It may be possible from a Windows PC with ADB installed but I could never get the tablet to connect as an installer over USB on Windows.

Turns out it was dead simple, really, it came rooted. Here’s how I
  installed Superuser on it so I can use apps that use root.

Download superuser.zip
Unzip superuser.zip
adb root (to run adb as root user on the tablet)
adb remount
adb push Superuser.apk /system/app/
adb push armeabi/su /system/xbin/su
adb shell chmod 6755 /system/xbin/su
adb shell ln -s /system/xbin/su /system/bin/su
wget https://github.com/koush/Superuser/raw/master/init.superuser.rc
adb push init.superuser.rc /

This worked for me, host is an Ubuntu 16.04 installation. I had to do everything as root though, ADB would not see the A727 as a user.

I just finished rooting my Azpen A727. It was super easy.
I used 'Kingo Android ROOT' (https://www.kingoapp.com/android-root.htm) for Windows; It was literally as easy as one click and took all of 60 seconds.

Cool! I could never get mine to connect to a Windows PC.


text:
New keyboard app not listed in Language & input settings page
I downloaded and imported Android SDK's Softkeyboard example (an app) to Android studio and installed it into my Sony xPeria Z3 running Android 5.1.1. That said, I do not see the app name in Language & input settings page.
I checked the list of installed apps on my phone and I see that SoftKeyboard is installed and in Android Studio, there is no error.
Can you show me a way to fix this problem?

Eray, see this: http://developer.android.com/reference/android/provider/Settings.html#ACTION_INPUT_METHOD_SETTINGS I can call that particular input method enabling activity using adb shell am start -a android.settings.INPUT_METHOD_SETTINGS or adb shell "am start 'intent:#Intent;action=android.settings.INPUT_METHOD_SETTINGS;end'". I believe this may not be hard, for that command to be converted into a code.

Note: the commands in this solution requires adb setup in PC and the solution is tested on Android 4.2.1, 5.0.2 and 5.1.1.

Whenever an app equipped with an IME service is installed in the system, in order to connect its IME to the system, the device's owner must explicitly allow the app to become part of enabled input methods.
So how does it happen? We know that we can use command-line but that's not what ordinary users do.
It happens this way. When you launch that app, you're or would be asked to enable its keyboard. You  are then redirected to a sub-activity of Settings app. In ROMs close to stock Android, a user can access that sub-activity from Settings → Language & input → Current Keyboard → Choose Keyboards. This is how it looks like in some devices:
(Click image to enlarge; image courtesy of OP)

You can use command-line as an alternative to show that sub-activity
adb shell am start -a android.settings.INPUT_METHOD_SETTINGS
adb shell "am start 'intent:#Intent;action=android.settings.INPUT_METHOD_SETTINGS;end'"  # alternative to above command

For an app, the moment you turn the slider towards right in that sub-activity, its IME's id is appended into the value of enabled_input_methods - a secure setting. The app then gets listed under Settings → Language & input, among those already enabled as input methods.
Since only one IME can remain as a default IME in system, the app then shows you a dialog to select a keyboard app as default. That dialog can be accessed from Settings → Language & input → Current Keyboard. Whatever entry you choose there becomes the default keyboard in the device.
Now that you know the details, you can now easily add a keyboard into enabled input methods, including your example keyboard app.

Enabling keyboard using command-line
There's an another way too. All the enabled input methods can be listed by this command:
adb shell ime list -s

Example output
com.android.inputmethod.latin/.LatinIME
net.zhdev.ctrlvkeyboard/.CtrlVKeyboard

All the available (enabled or not) IME services can be listed through
adb shell ime list -a

Example output

com.android.inputmethod.latin/.LatinIME:
  mId=com.android.inputmethod.latin/.LatinIME mSettingsActivityName=com.android.inputmethod.latin.settings.SettingsActivity
  mIsDefaultResId=0x7f070000
  Service:
    priority=0 preferredOrder=0 match=0x108000 specificIndex=-1 isDefault=false
    ServiceInfo:
      name=com.android.inputmethod.latin.LatinIME
      packageName=com.android.inputmethod.latin
      labelRes=0x7f08003a nonLocalizedLabel=null icon=0x0 banner=0x0
      enabled=true exported=true processName=com.android.inputmethod.latin
      permission=android.permission.BIND_INPUT_METHOD
      flags=0x0
net.zhdev.ctrlvkeyboard/.CtrlVKeyboard:
  mId=net.zhdev.ctrlvkeyboard/.CtrlVKeyboard mSettingsActivityName=null
  mIsDefaultResId=0x0
  Service:
    priority=0 preferredOrder=0 match=0x108000 specificIndex=-1 isDefault=false
    ServiceInfo:
      name=net.zhdev.ctrlvkeyboard.CtrlVKeyboard
      packageName=net.zhdev.ctrlvkeyboard
      labelRes=0x7f0b0015 nonLocalizedLabel=null icon=0x0 banner=0x0
      enabled=true exported=true processName=net.zhdev.ctrlvkeyboard
      permission=android.permission.BIND_INPUT_METHOD
      flags=0x0
com.touchtype.swiftkey/com.touchtype.KeyboardService:
  mId=com.touchtype.swiftkey/com.touchtype.KeyboardService mSettingsActivityName=com.touchtype.settings.TouchTypeKeyboardSettings
  mIsDefaultResId=0x0
  Service:
    priority=0 preferredOrder=0 match=0x108000 specificIndex=-1 isDefault=false
    ServiceInfo:
      name=com.touchtype.KeyboardService
      packageName=com.touchtype.swiftkey
      enabled=true exported=true processName=com.touchtype.swiftkey
      permission=android.permission.BIND_INPUT_METHOD
      flags=0x0

The highlighted strings next to mId= are the IDs of the keyboard apps available in my system.
In any ID, the string before / is the package name of the keyboard app. Example: for Swiftkey keyboard, the mId is:
com.touchtype.swiftkey/com.touchtype.KeyboardService

The string com.touchtype.swiftkey is the package name of Swiftkey app. Package name is what will help you to find the appropriate mID that you should use to enable a particular keyboard app.
To know the package name of an app, follow View app's full package name?
In order to add or remove an IME into enabled input methods, do
# replace ID with mId of the keyboard app which you want to add or remove

adb shell ime enable ID
adb shell ime disable ID

To make an IME the default IME of the system, do
# Note that it doesn't matter whether the IME is added into enabled input methods or not. Consider this a direct override.

adb shell settings put secure default_input_method "ID"
adb shell content update --uri content://settings/secure --bind value:s:"ID"  --where "name='default_input_method'"  # alternative to above command

Sorry, I don't code so I can't provide an example (programmatic way) to launch that activity. This is all that can help an end-user.

authors: Иван Неделько


text:
How to map hard key combinations to keys in Motorola Photon Q XT897?
I have a rooted XT897 (Motorola Photon Q) running Android 4.1.2, although this should apply to any phone with a physical keyboard. The keyboard on the phone is sorely lacking keys such as <,>,{,},,[,],`,\,|, and ~. It does have a "sym" button that sometimes pulls up a little window in which I can select which symbol not on the keyboard that I would like to type.
Most of the time, it does absolutely nothing. I am aware of Android's key layout files, and I have already modified mine such that the useless  Caps Lock key  to be a CTRL key instead. However, these do not allow for mapping combinations of keys to other, single keys (as far as I can tell). What I'd like is something like xmodmap, where I could map SYM + P to ] and do that for all the keys.
Is there any way I can do this? The page on the key layout files mentions that it maps linux keycodes to Android keycodes, perhaps I can edit the linux key mapping file. Where would that be? Would that even work?

Have you heard of Hacker's Keyboard? This might not help if your aim is to learn to map and not its end result.

@Narayanan I have, and I use it. I still highly prefer a physical keyboard. My aim is absolutely the end goal of getting this phone to type the above mentioned keys via the physical keyboard.

There are two "layers" in the hardware keypress -> character to insert in textbox. The layer after key layout files is Key Character Map Files. They take the key (such as "A") and dictate what should result from various combinations of keys. For example:
key A {
  label: "A" # What to 'name' the key
  base: "a" # pressing this key with no modifiers
  shift, capslock: "A" # if either shift or capslock is on, do a capital a instead
  ctrl, alt, meta: none # do nothing if any other combinations are pressed
}

Backup, then edit the .kcm file corresponding to the hardware keyboard. You will need root.
If your file has any syntax errors then it will simply revert to the default keyboard mapping which is mostly but not fully correct. The only way to check for syntax errors besides putting the file in and rebooting the device is to compile the entirety of the android source code.


text:
How to mute notification sounds during a call on Samsung Galaxy 6 Edge?
While on a call, if I receive a text message, the notification sound for text message plays during the call. How do I mute the notification sounds for text messages while I'm on a phone call? My device is Samsung Galaxy 6 Edge.

This action in the Samsung Galaxy is controlled by the setting 'Alerts on call'.
It is set from within the default Phone app. After you have opened the Dialer, open Call Settings > Call Alerts > Alerts on call.
Deselect this setting to turn it off.


text:
"Set as contact" ruins images in editing pane
I just bought my girlfriend a Zenfone 2 500ML, and I have to say I am really impressed about it. There are only an issue I would like to know if it is a known problem or not.
When I want to set an image as a contact picture, I select a photo through Google Photos (because Gallery crashes every time, don't know why and if it is related), the photo editing app appears. App itself is ok, but the image is "damaged", because it has purple dots all over the photo (like in this sample)

If I move the photo, dots change place, so I think it is all related to a software bug on image resizing maybe, or thumbnail creation. However, once I accept my changes, photo is set correctly to the contact, and it is perfect with no issues. The only small problem is in contact thumbnail that seems damaged, but the photo itself is intact.
If I try to set it as lockscreen, or send it on Whatsapp, it works like a charm, even if I apply filters of any kind.
I would like to know if someone had this problem, and mainly know if it is purely a software bug (so I will wait for an update) or there is something more serious (and how to fix it, in case it is).


text:
Open Google Maps to location with NFC tag
I have an NFC tag containing only one record, in the format of geo: [latitude],[longitude], and when I tap it to my phone the 2 options are the Waze app and Google Maps. Waze opens up to those coordinates just fine, even preparing a route for me instantly, but Google maps just opens like normal, like I just tapped its icon on the launcher and there were never any coordinates.
Am I doing something wrong, or does Google Maps not support that functionality? I've heard of others mentioning this feature but I can't find anyone actually saying whether Google maps is supposed to be able to do this.

Google Maps won't show a pin at the location unless you tell it to:
geo:0,0?q=34.99,-106.61(Treasure)

Read more in the common Android intents documentation:
https://developer.android.com/guide/components/intents-common.html#Maps


text:
Restore WhatsApp messages after deleting the account
I deleted my WhatsApp account and I would like to restore the conversation I had. I didn't uninstall the app, or doing any reset.
When I checked the /databases folder, it's empty. Is it possible to find the last backup file somewhere?
If it's related, I've got LG G3.

How did you delete your Whatsapp account? Did you uninstalled the Whasapp application from your phone or you deleted the converstions alone? or Did u factory reset your phone?

i just pressed the delete account on whatsapp i didnt delete the app or reset anything

Your messages chat history can be found under Databases directory..if that is empty and you have'nt backuped your data previously before deleting your account..then restoring is not possible..

isnt it supposed to be backedapp automatically?

yes it will be automatic and the default path is under the Databases directory..there are also other third party apps to backup the messages that you have to manually backup..i saying here about the default backup..can you find any backups under that directory?

my database is empty for some reason and im sure i had a backup befre deleting the account

Have a look at this answer..Further reading on Whatsapp FAQ..Recovering messages in Whatsapp and info..

Go to SDcard or Internal SD (whichever available default). Find WhatsApp folder. The daily scheduled backups that occur at 4.00am is present in the databases folder.
To restore, fresh install WhatsApp. There will be a dialogue "Do you want to restore your chat history?". Click Restore.

when im looking at the folder i cant find any reminder of a backup file.. and i checked in my computer that i want to see system files and hidden files just in case

Is there a folder WhatsApp in your phone?(can be SD or internal). If yes check whether the backups folder is empty or not. If its not empty and has files msgstore*.cryp8 files then you can restore your backup after reinstalling whatsapp.

Unless you have some file recovery software to recover the deleted .crypt8 database files on your sdcard, you are out of luck.
Deleting your WhatsApp account will erase your message history from sdcard.
Deleting your account will do the following
- Delete your account from WhatsApp.
- Delete you from your friends' WhatsApp Contacts lists.
- Delete you from all WhatsApp groups.
- Erase your message history on your phone.
- Delete your WhatsApp service payment information.

Source


text:
Cannot connect Android phone to TP-Link router
I have a TP-Link TD-W8968 wireless router. I can connect my laptop to the router but not a phone for a few days.
I have been facing a problem for a week. When I turn Wi-Fi on on my Android device HTC Wildfire S and scan for Wi-Fi, the phone doesn't show my router in the scanned list. By the way, it shows other Wi-Fis in the list but not my one.
I guess there could be some problem with my router. How can I solve this?

Improvement on the previous answer:
Well, I do partially agree with Divin3' answer. The only slight glitch I found was: All new routers are fully backward compatible with older devices, hence a router built on Wireless-N will be fully compatible with devices capable of receiving only Wireless-G or older versions. The difference will be that while serving to a device with W-G, the router built on W-N will only be able to serve it at the max bandwidth which is the device W-G is capable of receiving. Read more details on a device manufacturer support site here.
My addon to the previous answer:
Now let's get back to the question, my very own personal experience has been a bit different in this case. Sometimes older devices aren't able to scan WiFi networks setup with newer security methods. I noticed this when I switched one of my router's security from WEP to WPA2. Few older devices which earlier used to stay latched to the same router, actually stopped identifying it.
So a little bit of workaround could help people facing issues related to this.

Problem: The PC was able to connect to WiFi but my mobile (Android 6.1) was not able to obtain the IP address from the TP-Link Router.
Solution: Disable 'Enable Short GI', which is used for a high data rate. However, the WiFi adapter in mobile is not able to obtain the IP address due to this short guard time.
How to do: To disable this option, go to
Router home page - Wireless Advanced - Disable 'Enable Short GI'.

From Microsoft Answers - Can see other SSID's on my Laptop, but I can't connect to mine,

This issue might occur if your router and the network adapter in your PC might not work together.
To work, the network adapter in your PC must use a wireless standard that is equal to or older than the router’s wireless standard. For example, if the network adapter in your PC uses the 802.11n wireless standard (also called Wireless-N) but your router uses 802.11g (also called Wireless-G), you won't be able to connect because the Wireless-G standard is an earlier version and doesn’t recognize Wireless-N. However, if the router uses Wireless-N but the adapter in your PC uses Wireless-G, you should be able to connect if the router is set to mixed mode.

In other words, try to set your router to mixed mode and your phone to 802.11b/g compatible. That should do the trick.

My TP-Link router is a dual band router (2.4 and 5.0).  If both bands have the same name, your phone may be confused. I gave each band (2.4 and 5) a different name.  My phone can see both bands. I can now setup access to either band.

The phone or tablet in use may not support the Wi-Fi channel number specified by that TP-Link router.
Try changing the channel number and see if it works.


text:
Transfer contacts with multiple numbers from Android to Windows Phone
I have transferred all contacts from the Android phone (Moto G) to the Windows Phone (Microsoft Lumia 540). I have multiple numbers for each contact in Android, but I can see only one number for a contact in my Windows phone.
For example, Sachine has two numbers: 999-999-9992 and 888-888-882.
In Windows, it shows Sachine: 999-999-9992 only.
Please help me out with this problem.

How did you trasfer or which tool have you used to backup/transfer them to you Windows PC.? Did you export them as .vcf format?

I took the .csv file from google contact and import this .csv file to my windows (outlook) account. Through which i can see my contact in windows phone.

Try to export them in vCard format (instead of CSV) from Google Contacts and import them into your Windows Phone.
If that doesn't work, then try to export contacts from your Contacts -> Export. This will be saved as .vcf file on your SD card. Transfer the file (via Bluetooth) and import this .vcf file into your Windows Phone.

If you're transfering contacts just to back them up, you could try adding your contacts to your Google account, where they are automatically backed up, and you can also view them online, on contacts.google.com

yes. it is back up in the google account. but i want to transfer all my contact to windows phone.

authors: Λεωνίδας Μαύρος


text:
Edit host file - Nvidia shield pro
I am trying to edit my host file in nvidia shield pro device. Its not rooted and I get read only error when I try to update the host file using adb push. I am a newbie in this. I need to do some url redirecting.
I am not trying to block anything. I have a local Apache server set up and want to redirect the traffic from the shield to my local server for some custom urls.

No root no hosts file editing. Asking for app recommendations is off-topic here. Please reformulate your question and describe what you want to achieve, especially what type to servers you want to block.

As @Robert has said without root, you won't be able to edit it. Asking for app is against the rules, but you should re-phrase your questions to allow others to assist you.

@ReddyLutonadio - Thanks for the tip. I am new here, wasn't aware of the app issue. Updated my question. Please review.

Answers from these questions might help you: https://android.stackexchange.com/questions/174515/how-to-edit-etc-hosts-file-in-non-rooted-phone/174520#174520 and https://android.stackexchange.com/questions/78320/how-to-set-up-a-host-to-ip-mapping-on-unrooted-android

In your case you only need to install a dns proxy on your server that also runs the Apache server. The DNS-proxy usually allows to specify additional entries or override existing entries so that you can map your server to a DNS name of your choice. On Android side you just need to configure the DNS server in your Wifi network to the IP of your server running the DNS-proxy (change the config to static IP address then you can set the DNS server).

@Robert -  Thank you so much for the response,  I am looking into that option as well, I don't feel comfortable messing around with the host files and especially rooting the device. I don't wana brick it.

@Robert - ok so I installed Acrylic DNS proxy on my server and added the server IP as DNS server on my laptop. But now I cant access internet on my laptop neither resolve the domain names. I have 127.0.0.1 set as localhost in my Acrylic host file, also my apache server up and running on the same port. I can resolve the names in my server and has internet connection though. What am I missing?

@yonikawa Looks like you are really an absolute beginner. Localhost aka 127.0.0.1 means "local to this host only". A service that runs on localhost is not accessible by any other host by definition! Hence run your web server on all interfaces and use the IP it gets assigned by your router to access it.

@Robert: yes this is  my first time working with DNS servers and the Acrylic proxy came with this settings and I didn't modify anything. My understanding was that you assign the server IP (that runs dns proxy) as DNS server on the client and then when the client makes the requests, it gets passed onto the dns proxy to resolve the address since the Server IP interface is configured to use 127.0.0.1 as its dns server. So the clients are not directly invoking the proxy but going through the server instead. Am I missing something?

I am sorry but we are more and more off-topic. Please post a new question on https://superuser.com for how to set-up a computer with web server and DNS proxy. Don't mention that you want to use it from Android because the people there just read "Android" and close the question without really reading it.

@Robert, it worked, I just had to configure the settings.


text:
does someone have a solution for "encryption unsuccessful" on redmi go?

operating system ONLY working - stock
TWRP doesn't decrypt /data/
this solution doesn't work : http://www.electricbreadcrumbs.com/2012/07/guide-to-fixing-encryption-unsuccessful.html
deleting cache and data does NOTHING
doing factory reset only reboots
all ideas allowed (by me ;) )
maybe provide a link to really working system? as i saw most are having problems with hardware...
... or a way ( with root ) to fully delete gApps - all apps and file managers can't do it...

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


text:
error 255 when flashing zip
so yes: today i was trying to test my own zip (yes, twrp) but when i tried it thrown me error
updater process ended with ERROR:255
error installing zip file '/emmc/recovery.zip'
is it because i messed up that zip, i dont have many space on phone or another thing?
my device is lg l65 d280n and zip is there : https://drive.google.com/file/d/1GbHeXDbs1Dh9G-FPw82hNJY9kc03hOBb/view?usp=drivesdk .
PS: i know that here is a few similar questions but no, i dont have that second error "createtarfork()" but yes - i have cyanogenmod 14 which is nearby lineage, which is buggy as i heard.

error 255 itself is meaningless, probably related to C language return -1 it just tell you that something is wrong. could be failed to create file, file does not exist, library missing, can't execute, wrong arch, aborted, no disk space or any meaning, so only you can know the context

? Strange i uploaded this file... and okay, i’ll debug. Thanks.    Edit: reuploaded file, should work i think...


text:
How to set HTTP proxy and proxy authentication credentials in wifi?
I have set up wifi, I installed HTTP proxy and configured it, but where I put the proxy authentication credentials?

Use Drony, it sets up proxy for the whole system (with authentication), no root is required.

@YukioFukuzawa you should add that comment as an answer

According to this, you need an external app and you need to root the phone.
Some other solutions shared in a Google Code issue thread.
Update:
Using Gesture Search, I entered "proxy" and got to the Proxy settings on my Droid. Don't know how to get there otherwise, and don't know if it actually works, but there you go. (Someone else mentioned it in that Google thread.)

To modify the proxy settings in Android 4 and Samsung Galaxy you should do this:
Go to Settings / Wifi. Long-click on your network and select Modify network. Scroll down to Show advanced options which should show you the proxy options.

The question was about using proxy authentication.  The proxy settings in Android don't allow entering authentication details.

My Samsung Galaxy S II has proxy settings enabled under
Settings > Wireless & Network > Wifi settings > Advanced
I can set a proxy address and a port number.
The proxy I'm sitting behind requires authentication tho and I'm having trouble finding these settings.

Note that you need to press Menu to see the Advanced option, it's not one options on the screen.

Try Proxy Settings, a free app that reveals the Proxy settings button available in most stock ROMs.

The question was about using proxy authentication.  The proxy settings in Android don't allow entering authentication details.

Right under where you put your proxy settings (Settings - > Wifi - > Long click your network -> Manage settings -> Advanced -> Proxy -> manual) you can put your username and password.

Keep in mind that some apps (e,g: chrome) do not recognize those settings and will ask you for credentials in the first time (as of oct 18)
This also imply you can use authenticated proxy in .pac file while using chrome.

Which version of Android was this screenshot taken? I'm running Android 9 and everything from "Authenticate server" on down is missing from my manual proxy settings.

Android 7 (on Galaxy 6), this is the latest I own.

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


text:
ZIP+4 ZIP codes in Contacts for Samsung Vibrant (Galaxy S)
I have a Samsung Vibrant (Galaxy S) running Android 2.1-update1.  I have ZIP Codes for many of my contacts in the ZIP+4 format (e.g. 99999-1234). However, the field for ZIP codes does not allow any character except numbers.  Without being able to add a dash it makes it difficult to read (e.g 999991234).
I would have thought that it would auto-format the number they way it does for phone numbers.  Is there anyway to have the default Contacts program accept ZIP+4 ZIP code format?  Are there any alternative Contacts programs that provide the correct formatting for ZIP+4?  Is the Contacts program standard across manufacturers (e.g. part of the OS)?

Not a direct answer, but if you create them on Google Contacts, you can enter the dash and it will show up correctly on the phone.  If you create them on the phone, you can edit them to have the dash on Google Contacts after they get synced there; on the next sync, they'll have the dash on the phone.

Well, at least that is a solution.  However, I would really like something that doesn't require syncing, editing, and re-syncing just to enter information that by default should be able to be correctly formatted when first entered.

It seems that entering ZIP Codes directly in the Contacts app in the ZIP+4 format under Android 2.1-update1 is not possible. However, I just updated to Froyo (2.2) (T959UVKA6).  Not only can the Contacts/ Storage app natively import and export contacts to and from the microSD card, but it also allows directly entering ZIP+4 with the dash in the ZIP Code field!

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


text:
How can I show two alphabets in my contact list?
I have a Galaxy S with an interface in Hebrew. Some of my contacts are in English and some are in Hebrew. However, I only have the option to scroll through the letters in Hebrew. The English alphabet is simply not there.
Is there any way to show the English alphabet as well so that I can scroll through the English letters too?

Are the contacts beginning with Arabic characters (English Alphabet) all grouped together or something, or are they not shown at all?

not a fix, but might help, if you press the search button, you can type the contact's name.

@Matthew: they're grouped together

I don't believe this is possible with the default Contacts app (and I don't know of any third-party ones).  Android's language/locale support is very basic -- for example, your date format cannot be changed independently unlike, say, Windows -- so I recommend filing a bug with Google, hopefully it will be fixed in the future.

Well, now it seems to do it when your display language is Hebrew, but not when it's English. Almost there.

You're saying that it wasn't working in 2011, but now (2014) it's partially working. Is that right?

yes. In 2011 it wasn't implemented. Today it implemented, but unfortunately not turned on. There Should be more configuration.


text:
Is there a READ_SMS type permission just for eSIM
I have an app that has READ_SMS permissions, but it doesn't "see" my eSIM, which is the one I want to READ_SMS.
Is there a special permission to see the incoming SMS for the eSIM?
[edit]
As per comments, if no special permission - then is there a variable/ parameter in the data of a new SMS object that has which SIM it was sent to?
Where is the new SMS object detailed, I can't find it on https://developer.android.com/
Thanks
My current phone
Pixel 6 Pro
Android v 13
Build TQ1A.230205.002

What device (especially it's Android version) do you use?

READ_SMS permission is required to get messages from Android's SMS database (which also includes SMS stored on SIM), whatever their source is. There is no special permission for eSIM. In fact Android won't let the apps directly interact with SIMs.

@Robert I have added the version :)

@IrfanLatif thanks - that is interesting - I am wondering if there is the "to" field in there then?
None of the Forward SMS apps seem to have it.

The standard columns are defined in Telephony.TextBasedSmsColumns.

@AndrewT. please use this as the answer, so I can mark it as the answer :)
That, plus some AI chat got me to the answer....
But I want you to have the credit.

@CraigLambie to be honest, I'm not sure what question I answered since I don't think it answered the title, and I don't know what you're really looking for. So, feel free to post a self-answer explaining the detail! :)

@AndrewT. The answer is your comment "The standard columns are defined in Telephony.TextBasedSmsColumns"


text:
App to connect camera to gallery image when scanning QR code
Sorry for the not so catchy subject, I don't know how to phrase the question more precisely.
My requirement is: I use an app scanning QR codes directly via camera for a specific purpose. Sometimes it would be good to scan a QR code from an image stored in the gallery instead, but unlike many other apps this one is lacking the capability to browse the gallery for that purpose. The only way to get this working would be to emulate the camera in a way making the app think it is scanning a live image, but actually the user can first select the target image from the gallery.
Is there an app which can do this? I am using A Samsung Galaxy S7 with Android 8 stock firmware, no jailbreak.
Attention: This question is not asking for QR code reader apps in general, please read thoroughly.

Update: The app GalleryCam serves a similar purpose but only works for apps opening the camera with a button where it can hook into in order to display a pop-up menu. My target app is different, it does not work in connection with GalleryCam.

Related: Creating 'fake' microphone and camera inputs on an Android mobile and How to emulate camera input in Android? (To activate Whatsapp Web) (no answers yet though)

Thank you. No answers means that the links are not helpful (yet) in any other way than giving me that warm fuzzy feeling of not being alone with my problem. I do appreciate your effort and your diligence, though.


text:
my phone cannot play stereo over 3.5mm headphone jack
recently I tried to run android games on my laptop in Gameloop emulator (shooter games in general). after playing a couple of minutes in PUBG Mobile with the same headphone on, I noticed that the audio direction and footstep sound are far more clear and accurate than what it sounds on my mobile

I have a non-rooted Xiaomi Mi 9T Pro with the latest MIUI 12 on it.
and a headphone I purchased from a local store.

I saw this question on this site, and if I'm not wrong, it says that I cannot play more than 2 channel audio on a 3.5mm headphone jack! But since I was able to hear more accurately on my pc with the same 3.5mm audio jack(aux), I am thinking that the android was the problem.
Is there something I can change on my phone to make it output sounds like my pc, or even make it a little more accurate?
PS: another thing I want to mention is, my mobile doesn't even split left or right channel while playing surround videos on youtube. I cannot tell if the sound is completely from the left channel or right because both sides of the headphone play the same sound.
thanks for your suggestions.

I found a quick fix for this issue, I think that every Xiaomi phone that's on MIUI12 can do the same step, the steps are:
on your phone go to...

Settings ->   Additional Settings ->   Accessibility-> [scroll down] Mono Audio(turn off this)

on my phone, Mono Audio was (ON) by default, and that is the reason that your phone will get ridiculously loud (both on your headphone and speakers) and not accurate for sound direction while gaming or watching movies, notice if you Disable Mono Audio your over-all Sounds volume will decrease a by half, and AFAIK this is because your Audio volume will combine while on Mono.
hope that helps. thanks


text:
Screensavers for 200 tablets - accessed centrally from one computer - Is this possible?
Hi I'm involved in a project to deploy 200 tablets. All devices will be on different networks in various locations around Australia.
I would like all devices to access the one set of screen savers and be able to update them all on demand. Is there an easy way to do this?
Currently I am thinking of logging into all devices from one gmail account and assigning the screensavers to google photos, and changing the photos from this one location.
I understand that google may not allow to 200 devices to sign into from one account.
Does anybody have any better ideas?  Many thanks, Anthony

Look at Android for Work/Enterprise. While for developers, the guide document does cover the supported scenarios.

there are 3rd party MDM solutions example


text:
How to install new font on Android 10 and set it as default monospaced?
I'd like to change the default monospaced font on my rooted Android phone. This is because of things like this, where characters don't render correctly:

The rectangle is supposed to be the "ɒ" character. I know that it works with Deja Vu Sans Mono, so I'd like to change the monospaced font to that.
I've seen methods that change the system default font, but not specifically the default monospaced one.
Some more information:

Android 10, rooted
Oneplus 7


text:
Android Studio emulator: Failed to start monitoring emulator-5554
I am forking this app and trying to make some changes to it and run it. I've managed to do so on my laptop but it's painfully slow, so I am trying to set up the whole thing on my PC but I get the following error:
Failed to start monitoring emulator-5554

the emulator started and it showed the Google logo but then it closed.
This is happening on a device called: Pixel 3a API 30 x86.
I have another device (Pixel XL API 29) set up but there the emulator doesn't even show up and there are no errors in Android Studio.
The only resources I found matching my question is this and I've tried restarting my computer several times but it didn't work. And this one but my android emulator seems to be the latest version.
All this is happening on Ubuntu 18.04.
Android Studio version is 4.1.1.
Any ideas appreciated!
EDIT 1:
Currently, I am trying to run the emulator from the command line. At first, it was complaining of another instance already running even after restarting my PC. So, I found some multinstance.lock files and deleted them. Then, it complained about permissions in the particular AVD folder so I did chmod -R 777 the whole avd folder. Now, it complains that it cannot create a vulkan instance or something similar and that it doesn't have access to a particular file in the user's home folder, I couldn't copy the whole output cuz my PC got stuck and I had to restart it. This happened several times.

Start the emulator from command-line and check if there are any error messages.

I get the following error: ERROR: Another emulator instance is running. Please close it or run all emulators with -read-only flag. - even after restarting my computer. Very weird.

Does this answer your question: Android Studio : emulator is already running

I saw that one but I couldn't find any .lock files in the emulator directory.

AVD uses lock directories not files. They should be located in ~/.android/avd/<avdname>.avd/.

I found some multiinstance.lock directories/files which I removed but I get some permission errors from the emulator now.

I've added more info in my question.


text:
How can I remove Amazon Prime Video from my Android device using the Android Debugging Bridge (ADB)?
I'm following this guide to remove bloatware on my Android device. So far I was able to remove the apps that I didn't want on my phone, but whenever I try to uninstall Amazon Prime Video using ADB I keep getting thrown this error:

Failure [not installed for 0]

The command that caused this error to appear was:

pm uninstall -k --user 0 com.amazon.avod.thirdpartycilent

Why am I getting this error and how can I remove Amazon Prime Video from my phone? I can see that the app is installed for me (see below) but it shows up as if it isn't installed whenever I try to uninstall it using ADB.

My phone's model is an LG G8 ThinQ and it runs Android 10.

Can you provide the output of the command adb shell pm list packages --user 0 amazon? Also, if you deem an app as bloatware I don't think you should be keeping its data lying around, in which case omit -k in the uninstall command.

Do you mean in the post or in a comment?

In the question would be good


text:
How can I install keyboard for android 4.0.4 on android 5.1.1?
My phone with android 4.0.4 is rooted and I got the SamsungIME apk and odex files, moved them to the phone with android 5.1.1, but when I try to install, it simply says "App not installed". I didn't expect it to be so simple...
I've searched everywhere, but I know both phones are too old and any forum or link I found was dead. But hey, I'm old school
I can see the apk's information but I guess it's in "machine language" because it just looks like letters and symbols. I wouldn't know what to do with it anyway
Here's some info if it's of any help:

The phone from which I want to get the keyboard is a Galaxy Pocket, android version 4.0.4 Ice Cream Sandwich, kernel version 3.0.15-1222370, keyboard version 1.0
The phone to where I want to move the keyboard is a Galaxy J1 Ace, android version 5.1.1 Lollipop, kernel version 3.10.65-12300964, keyboard version 4.0

If you need any more information, of course let me know, and thanks in avance, if you can figure it out I'll buy you an ice cream

you need to deodex it

https://theground.jimdofree.com/android/was-ist-odex-deodex-erklärung


text:
Can't authorise android lenovo tablet in USB debugging mode
I have Lenovo YOGA Tablet 2 830LC X86.
Rescue and Smart Assistant tool is a software to work with this tablet.
When i activate USB-Debugging in tablet i face the error below in Rescue and Smart Assistant tool.

Unauthorized is because after activating USB-Debugging mode in tablet and connecting my tablet to PC, there is no popup asking me if i want to trust this PC, which i have to agree (permanently).
By deleting the adbkey file found in C:\Users\[Username]\.android folder the permission dialog did n't appear on my device.
What should i do to fix this issue?

Edit after comment :

I am using USB charging cable.
I have windows 7
USB OEM driver for Lenovo > When i connect
lenovo tablet to pc a pop up shows up on pc to install usb driver.
So i installed it & after that i can see tablet folders.
But i did n't install any other things.
Have you reset the USB authorization on
the device too (usually inside Developer options) > Is this your
mean revoke USB debugging authorization? If yes i did it several times.
Is the device detected by ADB (call adb devices on command prompt)
I found a adb.exe in this path : C:\MagicPlusMini\app
After enter adb devices command it founds : Baytrail6F284E37 offline
I found another adb.exe
Here is the command prompt :
C:\Program Files (x86)\Rescue and Smart Assistant>adb devices
List of devices attached adb server is out of date. killing...
daemon started successfully
Baytrail6F284E37 unauthorized

I would delete all those old adb versions and use the one from Android SDK. Multiple adb versions in one computer only make problems or replace those versions with the one from Android SDK.

Resolution
Possible solutions if adb devices shows a device as unauthorized:

C:\Users\JohnDoo>adb devices
List of devices attached
17310D821D  > unauthorized

Disconnect USB between PC and device
Stop adb server by entering adb kill-server in command window
On device use Revoke USB debugging authorizations in Developer Options
On PC delete adbkey file in user directory, for example C:\Users\JohnDoo\.android
Reconnect the device to the PC
Open a command window and enter adb devices. Watch the device's screen for any Authorization message and allow the connection.

The device should now show as device:

C:\Users\JohnDoo>adb devices
List of devices attached
17310D821D  > device

If the above does not help, re-installing adb and or USB drivers may help.


text:
Obtain log of when audio starts and stops
In Android 11, at least in the version Google uses for their phones, all audio apps can be controlled with media buttons you see if you pull down the notifications/top/task/whatever bar.
My question is: How can I get a log of when I stop and start audio from the top bar media buttons?
The log needs to include timestamps, so I can see how long something has played for. It would preferably also include some information about what was being played, such as the title of the track or podcast. It also need to always go at least one week back in time, which seemingly rules out using logcat the standard way.
Any way of doing it would be okay. For example:

An app that can monitor audio plackback on the phone.
Getting system logs through ADB.
"System traces"?

As far as I can tell, Android destroys logs from before that last reboot, but I might be wrong about this. The log I get by running adb logcat gives me the information I need. It seems I am only able to get logs since the last reboot though. If I can access old logs, that would be a solution to the problem and you would get the bounty for helping me achieve this.
If there is a way to know when I start and stop playing audio from within an app, I would also accept an answer that lets me get this information. I don't mind if the information comes from the media buttons or not, I just want to know when audio starts and stops playing on the device.

Try this https://android.stackexchange.com/a/232252/131553

Thanks for the reply. I think this app does something different from what I want though. It looks like it just records screen time. I usually don't start the app but control the playback through the media controls in the notification bar. And of course I don't have my screen on while listening to a podcast.

If "audio player" is an app, I think AppOps can be used to achieve what you want. But it requires elevated privileges, root or at least ADB.

I edited the question to clarify what I meant by AudioPlayer. I checked out AppOps but it seems to only have to do with permissions.

Based on Android Developers, the media controls on Android 11's notification is using MediaSession and MediaRouter2 APIs, though I haven't tested if using such API will create a log in the logcat or not.

Those "media control notification" that include the buttons belong to the app that plays the music. Therefore on an unrooted device other apps don't have options to access or monitor the buttons and the music state. Therefore you have to use an player app that internally writes the log you want or you have to modify your favorite music player in a way that it creates the desired log. For unrooted devices I don't see other options.

@user.S the first line here: "App-ops are used for two purposes: Access control and tracking". This does exactly what you are looking for. I don't know of an app but it's not impossible to make one. But again, it requires elevated privileges.

@ AndrewT., @Robert, thanks, it annoyed me that I wasn't sure what the thing I'm talking about is. I know that I can get a lot of information from logcat so if I can keep the log from getting destroyed, that's enough. The log exists, my only problem is that it is cut off at the last reboot.
This is for personal use so the method doesn't have to be perfect and requiring root is okay even if not my preferred solution. I can find what log messages are associated with pressing play and pause by myself. It is okay even if it comes from the apps themselves.

@IrfanLatif, okay, well that sounds more useful. I found a couple of apps that deal with AppOps but one is unavailable for my device and the other's tracking functionality wasn't working.

@user.S Unfortunately logcat is totally out of scope for your use case. See this question on details how logcat works. Depending on the device, the logcat buffer size and the logcat traffic frequency it can happen that logcat overwrites events just a few seconds old.

@IrfanLatif App-ops looks interesting but by the description it seems to track only permission relevant actions such as RECORD_AUDIO. Other audio related events are not mentioned. Do you have practical experience with that part of Android? From my perspective this seems to be the predecessor of the current "dynamic permission request" system of Android.

@Robert there are also PLAY_AUDIO and TAKE_AUDIO_FOCUS ops: https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-11.0.0_r1/core/java/android/app/AppOpsManager.java#887. Might be one of them or some other op is necessarily invoked when an app plays media. But I'm not sure about it. I do have experience with Access Control part (PMX is based on it) but not much with the Tracking part.

@Robert, Ah okay, a few seconds won't be enough. I've tried a few apps that claim to capture system logs and save them to a file but none of them seem to work. The optimal thing might be an app that monitors the logs and saves lines that match a pattern.

@user.S Logcat access from within an app was removed in Android 4.4 (or 4.2 - not 100% sure about the version). Since that time you need root permissions to access logcat.

I know it's restricted but the apps claim that I can work around that with adb. This one for example: https://f-droid.org/packages/com.tortel.syslog/


text:
twrp failed to sideload
I tried flashing a custom rom using ADB Sideload in TWRP 3.3.0.0. Now I am unsure how to proceed. I did my preparations:

Bootloader is unlocked
USB debugging is enabled

However when the sideload froze, after 20-30min I unplugged usb. When I inserted the usb-cable again I tried the following things:

when I type adb devices I see my device-id and the status is recovery
fastboot devices is not returning my device
adb push returns me a couldn't read from device
ADB Sideload in TWRP wont work
when I trype adb rootI get a msg saying that I already am root

Now I am wondering what to do. When I go into twrp reboot menu I have the options System, Power Off, Recovery and Bootloader. In addition I have the option slot A and slot B. It also tells me that currently I am in Slot B. Here are my questions:

How do I reboot TWRP from TWRP? My current guess is to reboot Slot B

I also noticed in previous installations that TWRP seems to reboot automatically if no System has been installed.

What is the difference between rebooting Slot B and Recovery? Would both reboot in TWRP?
Does it make sense to reboot into Bootloader?

Do I then need to flash TWRP from fastboot again? Because I am unsure if this would work, as currently my fastboot doesn't find my device

Update:
I am using a temporary TWRP booted using fastboot flash boot <twrp-image.img>

sideload is broken, and obviously you are unsing inofficial build where adb is not proper enabled. fix it in default.prop with AIK

according to stackoverflow this could also be usb connection issue, but only broad suggestions like changing cable, port, re-installing drivers, use latest platform-tools etc. no really fix

Got me! I am using an unofficial build. Didnt know that they sometimes dont support adb.

well, it's just always the maintainer who forgot to edit default.prop when porting from stock recovery. but in your case it's different issue as you edited your question

maybe adb doesnt work with temporary TWRP. However my devices TWRP-Site suggests to adb push the twrp image if twrp is only installed momentarily. I just read: While in sideload mode, regular ADB commands will not work. Based on this I think the reason why I am stuck is that I exited the ADB sideload in TWRP by just pulling the usb cable.

yes, adb push won't work in sideload. according to your edit you permanently flashed recovery into boot partition, a simple reboot will restart recovery (and adbd)

I'm going to vote to close this because you're asking multiple questions on this site in one questions and that's not how this site works. Please make your questions atomic. Some of them are duplicates.  https://android.stackexchange.com/a/217707/7425 You can reboot to Bootloader from TWRP. Using either the Reboot menu and clicking on Bootloader; Or from adb shell when TWRP is running using twrp reboot bootloader

Does this answer your question? Is it possible to boot into a different recovery from TWRP?

Not sure this counts as an answer. But I prefer to summarise what I learnt from the long comment thread. Note these are lessons learnt from flashing 4 Android Phones in the last 3 months:

Check your usb-cable before starting. If it doesn't connect to the laptop where your adb is installed, get a new one!
If you install want to unofficial builds, try to have at least another alternative ready for installation. Best try to have at least one alternative stable build ready for installation.
Unofficial builds may not support ADB as @alecxs pointed out in the comments
Have an OTG cable ready! I didnt have one ready, but ordered one and left the phone in TWRP for the days until it arrived. With the OTG I managed to install without issues

If 1-4 do not work for you, then I suggest rebooting into bootloader. Thanks @Evan Carroll for the link: Is it possible to boot into a different recovery from TWRP?


text:
Android 10 ADB Cheat Sheet
All of the adb cheat sheets I've found are woefully out of date.
examples of "cheat sheets" with outdated info (for the snarky response about this not being a game or that there aren't any cheat sheets):
https://www.automatetheplanet.com/adb-cheat-sheet/
https://technastic.com/adb-commands-list-adb-cheat-sheet/
https://fazlerabbi37.github.io/blogs/adb_cheat_sheet.html
Does anyone have something as recent as Android 10 or 11 they'd suggest?

This is not a video game. There is no cheat sheet. Anyone can compile a couple of their favorite commands and call it a Cheat sheet. What problem are you really trying to solve?

responses like this are the reason I'm reticent to ask for help.

Hi, while I understand what you want, Firelord's comment also makes sense that: 1) we don't know what you consider as a "cheat sheet", especially if it also includes adb shell which is basically as broad as the Android system itself (moreover if the device is rooted), and 2) answers that only mention external links are susceptible to be dead in the future. Please browse existing [tag:adb] questions to know how it can be used for many things more than these cheat sheets listed.

Hello ClueLeftInside. ADB is the official open-source protocol available to communicate between Android devices and a host like PC. It's well documented in official documentation as well as the source code. There are no hidden features or commands which may require reverse engineering the protocol/program and develop a cheat sheet. Usually adb --help is enough to get started.

You may also check my old thread on this: https://forum.xda-developers.com/t/adb-fastboot-linux-commands-bootloader-kernel-recovery-rom-root-backup.3597181. Community members will be able to help you in better way if you explain what actually you want to do with ADB.

@IrfanLatif do you want to post your comment as an answer? I will reopen the question and slightly modify the question to make it on-topic.

@Firelord I don't think I can add anything new to what's already available in documentation and the existing answers here unless the OP needs help with some specific task.


text:
How to choose which tools to download in android studio?
For personal reasons, I have limited internet. :(, that is why I want to choose only the necessary tools to compile APKs, I only give it download, for example: plarform-tools and android studio shows me the complete list of what I am downloading:
Chosen option:
      platform-tools

What android studio wants to download:
    plarform-tools // I want to download.

    Android emulator // I do not want to download it,  because it is not necessary (since I have an android device) and it weighs a painful 300MGb.

    etc ... // All the other tools I need to compile APKs (I think), but not chosen either.

The problem is that I swear I must download the android emulator, how can I not download the android emulator or choose to download in android studio?

Do you have a traffic limit (? GB per month) or is it just the time you want to save? If it is the first be aware that for Android development the required tools to be downloaded is way longer. Android studio uses gradle and Android development plugin (each another few hundred MB), and then all the required Java libraries for compiling and gradle. Consider about at least another 1-2GB before your first project is built.

@Robert 0_0. Goodbye android . Not only is it a game, I have the java virtual machine (I have no problem with this) and with the compilation I imagine that it does not require that much (because I had a mobile app that compiled APKs and it weighed about 120MGB).

Games usually contain a lot of graphics, 3d models, audio, video... An 120MB Android game app is nothing unusual, and comparing it with the iOS eco system 120MB is small, an iOS app (not game) is typically 50-200MB large.

@Robert I dont understand, the App is a IDE and compiler of APKs no a game, but yes it runs on an android phone.


text:
Is it possible to get finer volume control (steps) on a rooted Lenovo M8 tab (HTC Sense UI)?
There's  a popular mod to get finer volume control on a device by adding the property ro.config.media_vol_steps to /system/etc/prop.default (android 10) and assigning your prefered steps value, ie '= 30' but on my device this results in multiple volume ranges divisible by 15.
Apparently this affects the HTC UI sense as well.
For example if I assign the value 37 to the above property (I do get 37 steps) but when I test by playing something on spotify and increase volume using the buttons I get:
step 0 =  mute
step 15 = max volume
step 16 = mute
step 30 = max volume
step 31 = mute
step 37 = volume 6
Anything below 15 works as expected.
The same happens if you've rooted with Magisk and do it via prop editor or any other editor.
I've been trying to find a solution for this for months with no success hence up the creek with no paddle.
I have coding abilities but for me X86 assembly is easier than than understanding the various tool chains / libraries / compilers required to debug an Android device.
I would like to at least know where in the architecture I should be focusing on.

Is it vendor or system related?

A persistent  setting?

Is the setting pre compiled so would need custom ROM ie a library file change (.so)
I beleive it must be solvable just hoped I could get at least a hypothetical view of the problem from someone more familiar with the source of Android!

You can get fine volume control from the GUI (swipe down) how can this be mapped to Volume up / Volume down?
PS: I should mention I don't have TWRP as it's  not available for this device.
I can now add that installing EdXposed framework along with GravityBox (version Q) also results in the same problem! The modded code above is not found in the prop.default file even tho I have the same problematic functionality, same with magisk modules.
Seems Xposed / gravityBox / magisk are the most powerful tools available to developers for stock software. Im sure there are experts out there that could build a custom software with a simple volume control patch for this device so guess we'll just have to wait. Thanks
Just an update, been a while since this post and the volume control issue is  still unsolved. Im so lucky as Im apparently the only person on the NET who finds this a problem, woohoo! Samsung it is then (will have to mount it portrait)

Thanks thats already thrown up some interesting reading - vanilla android ! - which sugests the typical 15 vol steps is google's standard and has been since android started god knows why they can't write source code that makes it easy to change, -will post back any useful findings.

Gravitybox allows up to 50 steps. I just checked as I have it installed

I  really thought I was on a winner with GravityBox. Installed it ok [version Q] adjusted volume steps to 33, rebooted and same f**!%^g problem. Just a point, did you actually test your 50 steps to see if they work, ie play some music? Regards. Also what device / android version so you have?

Sorry to hear that. You can ask developer on the XDA thread. In my case I have been using GravityBox volume control for the last five years - Note 2, Honor6, Moto X Play, OnePlus 7 (Android 10)and now on Pixel 4a Android 11 and it always works as advertised //I am very particular on fine volume controls with volume keys // All the best

EdXposed Whitelist functionality turned off in EdXposed Manager to make GravityBox work properly

Thanks for your input.


text:
At what level of the android architecture can I find a devices audio configuration files?
I would like to change the granulation of volume steps on an android 10 device. The limited mods on xda don't work on my device (lenovo m8 fhd) What level in the android architecture should I focus on when searching for a configuration file and what file types typically exist for this purpose?

Is it possible this setting would be device specific? I remember reading somewhere that there is only ever 75 volume steps possible on any device and these are usually devided by a factor of 5 giving 15 steps. This may have originally been defined in C code and compiled so its possible the file Im interested in is a binary file on my device, possibly an .so file making it very difficult to change unless translated to assembly (hopefully well commented)?
If this question is not for stackechange Ill remove after 5 downvotes. Can anyone suggest a forum that may help (not xda)?


text:
Can't move any applications to SD Card- "Couldn't Move App" error
I'm trying to move any application that I install to my SD card (Nexus S, so its technically internal storage) and regardless of what I choose, I get a
"Couldn't Move App"

error. I fired up logcat and got the following output:
 I/DefContainer( 1273): Copied data/app/de.joergjahnke.gameboy.android.free-1.apk to /mnt/asec/de.joergjahnke.gameboy.android.free-1/pkg.apk
 D/VoldCmdListener(   81): asec finalize de.joergjahnke.gameboy.android.free-1
 E/Vold    (   81): Failed to chmod /mnt/asec/de.joergjahnke.gameboy.android.free-1 (Read-only file system)
 E/Vold    (   81): ASEC finalize mount failed (Read-only file system)
 W/Vold    (   81): Returning OperationFailed - no handler for errno 30
 I/PackageHelper( 1273): Failed to finalize container  e.joergjahnke.gameboy.android.free-1
 I/PackageHelper( 1273): Forcibly destroying container de.joergjahnke.gameboy.android.free-1
 D/dalvikvm(  250): WAIT_FOR_CONCURRENT_GC blocked 0ms
 E/DefContainer( 1273): Failed to finalize de.joergjahnke.gameboy.android.free-1 at path /mnt/asec/de.joergjahnke.gameboy.android.free-1
 D/dalvikvm(  250): GC_EXPLICIT freed 48K, 26% free 14596K/19591K, paused 4ms+5ms, total 64ms
 D/VoldCmdListener(   81): asec destroy de.joergjahnke.gameboy.android.free-1 force
 I/PackageHelper(  250): Forcibly destroying container de.joergjahnke.gameboy.android.free-1
 D/dalvikvm(  250): WAIT_FOR_CONCURRENT_GC blocked 0ms
 W/ActivityManager(  250): No content provider found for permission revoke: file:///data/app/de.joergjahnke.gameboy.android.free-1.apk
 D/dalvikvm(  250): GC_EXPLICIT freed 13K, 26% free 14595K/19591K, paused 3ms+6ms, total 63ms
 D/VoldCmdListener(   81): asec destroy de.joergjahnke.gameboy.android.free-1 force
 E/Vold    (   81): Couldn't find ASEC de.joergjahnke.gameboy.android.free-1
 I/PackageHelper(  250): Failed to destroy container de.joergjahnke.gameboy.android.free-1
 I/PackageHelper(  250): Forcibly destroying container de.joergjahnke.gameboy.android.free-1
 D/dalvikvm(  250): WAIT_FOR_CONCURRENT_GC blocked 0ms
 D/dalvikvm(  250): GC_EXPLICIT freed 8K, 26% free 14594K/19591K, paused 3ms+8ms, total 69ms
 I/PackageHelper(  250): Failed to destroy container de.joergjahnke.gameboy.android.free-1
 D/VoldCmdListener(   81): asec destroy de.joergjahnke.gameboy.android.free-1 force
 E/Vold    (   81): Couldn't find ASEC de.joergjahnke.gameboy.android.free-1

It seems to be a permissions issue of some kind. I've tried booting into CWM and resetting permissions, but that doesn't seem to do anything. Even re-formatting the storage doesn't seem to do anything. If anyone has any advice, I'd greatly appreciate it!

4.1 hides paid pps by default using some app2sd technology, maybe some of this broke your current app2sd program. Which are you using? Internal, 3rd party,...?

What do you mean? I'm using 3rd party apps to test this (ones downloaded from the marketplace). I'm not trying to migrate any internal apps, only ones that claim that they can be moved.

I was just wondering if that 3rd party app is broken on JB


text:
Phone log shows numbers not Contact Names after installing Samsung S3 Security Update
My Galaxy S3 was working great until I installed a security update yesterday (26/11/12).  Immediately after, the names dropped off the calls list and it is now showing phone numbers only.

Contacted the customer support and they told to hard reboot the mobile. It worked for me. Please backup all your apps, contacts etc using Kies before doing a hard reboot as it will restore the mobile to it's factory settings. It is a pain but had to do it to get my phone back working.

I believe you mean "hard reset" or "factory reset" right?
In an Android context, hard "reboot" generally means holding a specific set of buttons or pulling the battery to force the phone to reboot


text:
Push notifications to my Droid on local network
I am looking for either an app or a way to allow my 3 Ubuntu server's running in my house on my local network to send a notification to my Android phone when a task is done.
Every hour or so one of the 3 servers finishes what they are doing, I need for them to be able to send short text notifications to my Droid phone when it's locally on the network. Of course it's IP on my local network never changes, so that will always be the same.
Is there anything for this? And how do I get it up and running?

There are several ways to accomplish things like this:
Using Atomics to kill the chicken
You could e.g. setup one of your Ubuntu machines as a Nagios server (or any similar service). There are several clients available for Android, like e.g. aNag and uNagi Nagios client on android (the latter even has plugins for Locale/Tasker for more flexibility: Locale uNagi Notifier Plug-in and Locale uNagi Settings Plug-in, so you even can setup automatic actions on your device based on the notifications).
Plenty more of similar solutions available, e.g. with Cacti...
The simplicistic approach
At the end of your scripts, you could place a line to have them send you a mail to e.g. your GMail address. This can e.g. be done using the mailx command:
mailx -s "[WooFoo] script finished" johndoe@example.com

(of course, replace johndoe@example.com with your real address). As soon as that mail arrives, GMail (or any other mail client you use on your Android device) would trigger a notification.
Enhancing the simple approach
Tasker can react on incoming mail for the GMail app or K-9 Mail. That's why I put the [WooFoo] in front of the subject: replace that by any specific keyword which should trigger your Tasker action. Tasker then can "eat" the mail (so it doesn't stick in your account for manual clean-up) and perform a desired action: play a specific tune, vibrate your phone using a specific pattern, generate a pop-up message, even execute specific JavaScript code (see the Actions section of the Tasker UserGuide for additional ideas).

That's kind of cool but I wasn't looking for server monitoring, I was looking for simple notifications. I don't need to monitor Server load and RAM and processes running and such. I just need that when a script is done running for it to send a notification to my Droid. This is a cool system but from what I read from the wiki it is a server/network monitoring software, not what I need.

You don't need to setup everything. AFAIK you can define yourself what Nagios is monitoring. But admitted, it might be a bit overload. If it's just about a short notification: why not using the command-line mail client (sendmail, mailx) on Ubuntu to send a message to your gmail address? Again, Tasker then could be used to trigger almost any action when such a mail arrives on your Android device. If that's an option you like better, I'll update my answer accordingly if you wish :)

Well, didn't want to wait -- hope this update better fits your requirements :)

Thanks for the write up, but this requires tasker, which costs $6. If I'm going to pay $6 I would use www.notifymyandroid.com since it's only $4 and does exactly what I need. I just don't like using someone else's service, I would love to find a notifier that uses push and lets me install my own push service on my own server :(

The push by mail doesn't require anybody else's service -- so the Tasker part was just an additional idea. There might even be other automation (or notification) apps which can do this for cheaper or even for free. If a plain "text notification" is good for you, the mailx part would do that already.

Why re-invent the wheel? Could you not just re-use an existing service for your notifications, the simplest would just be to use email or Twitter. There are many, many existing ways to hook servers up to send email or Twitter messages, and many clients on Android that will notify you when these arrive, and can prioritise and do different notifications depending on the message.
My server at home has its own Gmail account, it mails me about anything I need to know, and I have rules and prioritisations in my Gmail to sort the messages on their importance, and star them when necessary, and the Android client notifies me.
Big bonus to doing it this way is that you're not tied to checking these notifications on your phone, but have many ways to view and check them on many different platforms.


text:
Can an LG G3 ROM be used for LG G3 Vigor?
Can an LG G3 ROM be used on LG G3 Vigor? I would like to know if it will work because my friend would like to flash a ROM on his phone.

Most of the time, the answer is it depends on which ROM are you talking about. Most ROMs comes with a speficic set of devices in mind (due to the need and support of partition layout, hardware-specific drivers, etc), so it really depends on the developer.
In most cases, a really similar hardware, would indicate that it should be usable to some extent.


text:
mdnsd drains a lot of battery power in Xiaomi Redmi Note 4G. How do I find out which app calls it to run?
I have a Xiaomi Redmi Note 4G, and for few days my battery drains as hell. I checked the running processes, and found that the cause is mdnsd.
Is there a way to find which app calls this process to run?
(Click image to enlarge)

Not permament solution, but so far the best solution.
On rooted phone :

use ES File Explorer (or any File Explorer with Root access)
go to device/system/bin
select the mdnsd file
open properties
open permissions
uncheck the execute permissions

În my case it was Xiaomi's Uniplay Service, which I've frozen, rebooted and the simptom went away. You have to be rooted to be able to disable or uninstall Xiaomi apps and services.

not in my case...