text:
Can't ping Windows 7 from Android phone and vice versa in the same network, but other machines can
I have an Android phone and a notebook running Windows 7, both are Wi-Fi enabled. Both devices are on the same network and they can't see each other (I can't ping phone from notebook and vice versa). But, to make it more weird, let me show you my network structure.
      Name  -       OS  -   IPv4 Address
----------------------------------------
    Router  -           -    192.168.1.1
ComputerXP  -    WinXP  -  192.168.1.103
ComputerW7  -     Win7  -  192.168.1.104
NotebookW7  -     Win7  -  192.168.1.106
 Telephone  - Android4  -  192.168.1.109

Now, ComputerXP and ComputerW7 can ping all devices in given network. NotebookW7 and Telephone can both ping Router, ComputerXP and ComputerW7. The only connection that does not work is Notebook7 <--> Telephone.
I have previously had this problem, I tried restarting NotebookW7, Telephone and Router, disabling and re-enabling Wi-Fi connection and firewall, pinging anywhere and nothing was working. Later on when my dad came home, I wanted to show him this situation, but suddenly I was able to connect to NotebookW7 from my Telephone like magic. I was happy that the issue got fixed. I stopped using this connection for a while and now I wanted to establish it again and guess what, it's again not working. I have no idea what is going on.
I used ping on Windowss and Ping & DNS on Android to test ping.
EDIT 1: For some reason, I was not able to ping ComputerW7 using my Telephone for a while. So in my Telephone I started external software for managing files. I added new network place with IP Address of ComputerW7 (192.168.1.104) and pressed test connection. It was doing something for a while and then it printed "Test successful". I went back to Ping & DNS, and re-pinged same IP Address and it started working for some reason. I did same thing with my NotebookW7, but I got "Test not successful" in my file manager.
EDIT 2: Little bit more weirdness. I added one more Android Phone (lets call it just Phone) to the network and checked all possible pings from outside to the Phone. Nothing worked. Then I tried to connect to VLC Player at ComputerXP using Phone and it worked. After that I was able to ping Phone from ComputerXP. Not really sure how this works. Only difference is that Phone has Android 4.2.2, but Telephone has 4.1.2.
EDIT 3: New thing I tried was to create Wi-Fi Router from Telephone and connecting to it using NotebookW7, it worked. However, I still was not able to ping it.

Good analysis so far (+1 for that). Though I have no real solution to your issue, something that might prove helpful is an app for network diagnosis (the link goes to a listing of relevant apps). Such an app might at least help you figure the phone → laptop part. Good luck!

@Izzy: I downloaded Fing app, and when I started it, it scanned network and found devices I can ping to (Router, ComputerXP and ComputerW7). However, I am not sure if this is the right app to perform this kind of diagnostics.

I have not used any of them either, was just providing a pointer I hoped proving helpful.

Android might not respond to pings in power-saving mode. Have you tried disabling WiFi sleep? Alternatively, have you tried pinging your computer from your phone?

@Huey Android phone was not in power-saving mode and even has WiFi sleep turned off. I tried pinging computer from phone and it didnt get any respond.

What's the IP address of Phone? Could there possibly be an IP conflict?

@Huey Not likely, every network machine has deffinitely unique address. It gets it from DHCP and there is no address (range) reserved for certain MACs.

On Telephone, does pinging localhost work?

Zereges hi check this out on windows 7 firewall and ip rules for ping
http://www.sysprobs.com/enable-ping-reply-windows-7
If this applies, killing and restarting your firewall without setting the rules for pinging would leave you where you started. A quote from the page "Reasons: By default ICMP echo requests, used for ping command is blocked in Windows 7 firewall default settings."

@moonbutt74 Ping was not the only protocol I tested. I mainly tested this because of VLC remote control.

Ok, if you are having network problems then install zanti, a network diagnosis tool which will let you connect to open ports to a machine on the same network. Test it and se if it connects via this and then will get some info about the problem.

@Hunter The problem with my problem is, that it sometimes work. For example now it is working in both directions, but who knows what will happen in few days.

Thats why asking to use zanti, as it will tell you many things about your network and drvices. If you have a laptop then just create a hotspot on your phone or laptop and connect it to the other device and then see if it pings or not.

Are you using a Samsung Android running Lolipop? It is actually locked down and some Chinese hackers actually created the PINGPONG root to enable pinging from a Samsung Android.
http://forum.xda-developers.com/galaxy-s6/general/root-pingpongroot-s6-root-tool-t3103016


text:
In Ubuntu Desktop my Arduino Uno shows up as /dev/ttyACM0 .... where is it in android?
When I connect an Arduino Uno via USB to my Linux Ubuntu Desktop 14.04, the arduino shows up as /dev/ttyACM0 .... When I connect it via usb to an android phone the device is powered and recognized in Android apps, but I can't seem to find it when i look in a terminal emulator at the /dev folder. When I browse android's directory structure using terminal, where can I find the analogous device?
Further elaboration:
On the desktop I can access the USB arduino device with no trouble, using
screen /dev/ttyACM0
or I can even pipe characters to it directly such as:
echo -n w > /dev/ttyACM0
On the android device, there are no tty* devices in that folder at all.
Someone I know recommended I install a full linux distro on top of android, GNUroot Debian, and maybe it would be there. I did this on both an LG Nexus 5 with android 6.0 as well as a Moto Droid 4 with Android 4.1.2, in hopes that those familiar devices /dev/ttyACM would show up, but they didn't.
Is there any similiar thing to /dev/ttyACM0 in android?
Thank you!
android-controlled-robot

Both devices don't natively support OTG, so naturally no USB device will be powered on or recognized.

thank you for your comment! sorry if i didn't clarify, with the Nexus 5 the arduino does successfully get power from the micro usb, and in various usb apps like droidterm, a hyperterminal android app, i can control the arduino from the app.   so that part is solved, at least on the nexus. accessing it from the bash terminal is the thing i can't seem to figure out.  for the droid 4, i suppose i should look at somehow how to add otg?

source: Stack Exchange

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

sort: votes


text:
Question regarding Google Play app compatibility check, x86 vs. ARM architectures, etc
This is more of a hardware question than anything, but it has to do with Android.
I saw on this question, somebody saying that Android apps were architecture independent, and should run on ARM/ARM64/x86 platforms.  Another reply was saying that the APK files can have architecture-dependent libraries, but not code themselves.
Now, here's where my question comes in.
I was looking inside the contents of an APK file, and I noticed that the only "lib" folder was for armeabi (32-bit ARM).  But, my phone has a 64-bit ARM processor (aarch64, with the arm64-v8a instruction set), and the app runs fine.  Hmm... how does that work?
So I thought I would try a few other things.
I installed Android-x86 in a virtual machine, logged into a Google account, and downloaded a few games.  The one in question, which only has the "armeabi" folder, showed up as being compatible (as in, the install button was there) - but it immediately crashed after opening.  I know there are some games that fake-crash on rooted devices (and Android-x86 comes pre-rooted), but the one in question is not one of them.  I've used it on CyanogenMod on a real phone and it doesn't care.
But something else I noticed: at least one other game I was looking for did not show up - the game Super Mario Run from Nintendo.  See my screenshot here:

Notice under "Library" there's no option to install it, and if you look at apps published by Nintendo, it's just not in that list (which means the Play Store is deciding my hardware is incompatible, and basically hiding it).  But, it DID seem to think my Android-x86 VM was compatible with the OTHER games, which just crash immediately.
So I decided to try something else.  I picked up a cheap Intel Atom-based processor (one of the Insignia brand ones at Best Buy, as it's all you can get these days that's carried in stores).  Run CPU-Z on there, you can confirm it's x86 and not ARM.  Super Mario Run shows up, however, and works fine - so do the other games with only "armeabi" libraries!
What piqued my curiosity is that, according to the specifications of the Intel Atom x3 processors, they actually have "ARM" GPUs.  (Specifically the PowerVR 6500 series)
CPU-Z shows this too, where it says the CPU is x86 but the GPU is ARM.  I found some other press releases from 2015, when they introduced the Atom x3 line, about the two being combined.
So in this case, is the tablet only able to run these games because its GPU is ARM? If so, what's the actual significance of the CPU portion being x86? I'm completely confused at that.
I was considering tracking down a used older tablet with an Intel Atom, that still used the "Intel HD Graphics", and was not a hybrid ARM chipset.  Something like a Toshiba Excite Go.  But this is really just to find out if it would act the same as Android-x86, or if those apps would work.  I'm curious what the incompatibilities/crashes are - is it just because Android-x86 is a hackjob and not official? Or do the apps with only "armeabi" libraries truly only work on ARM processors and somehow the Insignia can run them because of its hybrid chip?
(As far as my phone having ARM64, it might have some sort of compatibility layer much like x86-64 for running 64-bit PCs? I don't know much about ARM but I know in the case of AMD64, it's an extension on top of the traditional x86 architecture so you can natively run both x86 and x64 programs - also why they won over Itanium, which was not like this.)
Lastly, as far as the Play store recognizing whether an app is compatible or not - I would assume the developer doesn't have an actual whitelist of all devices the app can run on, that would be incredibly stupid and any time a new Android device came out, it would cause issues.  So how exactly does that work? Do they provide minimum required RAM/CPU/resolution, things like that? Based on architecture as well?  I know I've seen some apps that show as being incompatible with a larger-resolution tablet (like the Samsung View) that do work on phones, and always thought that was strange.
Edit: One of the suggested threads from this one was actually about how the Play Store knows an app is incompatible, based on the app's manifest.  And as much as it might make sense that it would be incompatible if it requires GPS and your device doesn't have GPS, or Bluetooth, etc., that doesn't really explain why an app would install fine on a 7" tablet but not a Samsung View.  That isn't the fastest processor in the world, but it's better than some of the older 7 or 10" ones...

Regarding Nintendo games on Android, it does seem that N likes to restrict its software, allowing it to run on SafetyNet-compliant devices only.

Possible - as I know Pokémon Go uses SafetyNet (though that isn't Nintendo themselves), but Pokémon Go is installable from Google Play on Android-x86 - you just obviously won't be able to use it.  Miitomo is the same way as Mario Run, it will just crash right away on a rooted device - but Miitomo does show as installable on Android-x86 while Mario Run does not.  That's why I'm curious.

Maybe Mario Run does enforce mandatory use of the touchscreen? No clue, otherwise.

Ah, good point.  I mean, you do need the touchscreen for the game to work since it's controlled by tapping ... but with Android-x86 emulating a tablet, your mouse and keyboard work anyway, and left-clicking the mouse is (I thought) equivalent to tapping.

If my guess holds, I would say that the Play Store can discern between a real touchscreen and an emulated one. It may be that the game specifies a certain property inside its AndroidManifest.xml (a XML file describing an app, found in any APK), and that the Play Store doesn't allow the installation because of this (again, it could be, but mine is speculation).

Right, right, I totally get you.  What's strange is, I was trying some of those "hardware info" apps, and one of them shows my Android-x86 VM as having both x86 and armeabi v7 instruction sets ... um, what? How?! Perhaps that's why it let me install some of the other Nintendo games that just immediately crashed, as the one I was experimenting with, inside the APK, only has armeabi libs.

I'm afraid I don't have a decent answer to your question. Still, I'll upvote it, as the topic you brought up is quite charming.

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


text:
Is there a way to get this version of Hackenbush on an Android device?
The game Hackenbush is a fun, two-player game from combinatorial game theory, an area of mathematics.
I am aware of this app; it scratches an itch. But I'm after more.
The following programme was written for Mac and Windows:
http://geometer.org/hackenbush/index.html
I wonder whether it could be adapted to an Android device.
Context:
I don't know where to start. I had some success here with a different mathematical software though. See here. I know next to nothing about programming outside the very niche software GAP, based on C.
I hope that's enough context.

Please help :)

Looks like that program is not open-sourced, so I'm afraid there's no way to adapt it from the source other than trying to reverse-engineer it (development question is off-topic here though). The alternative is Emulating a Windows environment and Can Android run .exe file? which doesn't look promising either (or it's outdated).

I'd accept an answer that details how to run Hackenbush in an emulated Windows environment, @AndrewT.

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


text:
How to install the mathematical GAP-software on an Android phone?
This was posted on MSE originally.
Please note that my only training in programming of any kind is in the context of mathematics, specifically group theory. Thus, please use minimal technical language.
The Problem:

I'm trying to get GAP on my Android phone.

(I'm using a ZTE Blade V8. I doubt that matters.
Update: I'm using a Samsung Galaxy A40 these days.)
What I have so far:
I found on the GAP forum that someone called Matan Ziv-Av compiled a version of GAP for Android that can be found here (and more specifically here).
This explains something I don't understand.
I have downloaded the latest file, last updated in 2015 (so it's gap4r6), but, upon opening it with RAR, I have been unable thus far to run the programme.
Here is a screenshot of the file I think I need to click on to get started:
(Click image to enlarge it)

I can't seem to get it working.
Please help :)
Edit:
Using Termux with the file in the screenshot above, I got this:
(Click image to enlarge it)

The original MSE question.

Have you tried installing Terminal Emulator for Android or Termux? Based on the announcement link you should be able to install either and get a Linux like environment to run your package. Of course perhaps a required step is to understand how to get around in Linux/Unix, your level of ability on that point is unclear.

@MorrisonChang I've tried the former, no luck there - uninstalled. I'm downloading the latter now.

I'm not familiar with Linux in the slightest.

Sorry don't know Termux, but this seems related: Where is the folder that Termux defaults to?. Another path could be to install your 'GAP' software on a regular PC running Linux and use an Android SSH client to remote into it, you'll need to have a network connection to make that work. Either way you'll need to have an understanding of Linux command line even if you got GAP on Android working.

@Grimler Yes. I've just tried reinstalling Termux now and, unfortunately, it made no difference. As for GAP, it's not really "installed," it's just sort of downloaded and then you run (the equivalent of) an exe file, and the same is true on a computer; so deleting it then downloading again is unlikely to work.

@Grimler I shared them.

Still no luck, @Grimler, although a different output is produced. I'm quite busy at the moment but, once I have time, I'll include a screenshot of what I get in the question.

2023-08 Update
Only use Termux from F-Droid or the github repository as the version from Google Play store is no longer supported.
Be aware that Termux may be unstable on Android 12+, as Android OS will kill any (phantom) processes greater than 32 (limit is for all apps combined) and also kill any processes using excessive CPU. See README section for details and links to workarounds
0. Uninstall Google Play Store Termux

If Termux was installed from Google Play Store, save important data off of device. (If you don't have any important data, skip this step).
Delete the Google Play Store version of Termux

1. Install F-Droid
When Termux updates, it will be easier to manage from F-Droid so first install F-Droid

In your mobile browser go to https://f-droid.org/
Click on "Download F-Droid"
Install F-Droid by clicking on the downloaded package. Note if Android prompts you to "Open with", choose 'Package installer'

If you are having difficulty installing F-Droid, follow Step 2 to see if your browser is enabled to "Install Unknown Apps" and allow.
2. Give Install permission to F-Droid

Go into Settings -> Search (magnifying glass icon)
In search bar type in "Install Unknown Apps"
Tap on "Install unknown apps Apps > Special app access"
On the "Special access" / "Special app access" screen scroll down to "Install unknown apps" and click
On the "Install unknown apps" screen look for F-Droid and click
For the "F-Droid" app, enable "Allow from this source"

3. Install Termux from F-Droid

Open F-Droid
Tap the green search action button in the lower right.
Type in "Termux"
Tap on the one that reads "Termux Terminal emulator with packages" Note on the app store page there should be 'Versions' expandable which should have 0.118.0 or higher.
Install Termux

You should now have Termux in your list of available apps.
4. Launching and upgrading Termux packages

Launch Termux

Linux distributions support package management so the easiest way to install is via a package manager. Termux uses one as well which is documented in the wiki.
Following the wiki use the command highlighted in grey:

$pkg upgrade

Answer with 'Yes' to upgrades unless there is a known conflict with an existing installed package.
4a. Check if the software package already exists
As building from source takes storage space and knowledge it is best to check if what you are looking for already exists as a package.
Running the command in Termux:

$pkg search gap

Listed out

gap/stable 4.12.2 aarch64
Gap is a system for computational discrete algebra, with particular emphasis on Computational Group Theory
gap-packages/stable 4.12.2 all
Packages for gap
gap-static/stable 4.12.2 aarch64
Static libraries for gap

5. Install software package
Run the command

$pkg install gap

and enter 'Yes' you want to install. Should install gap at a cost of around 204 MB.
6. Run software package
Run gap as in other Linux/Unix-like environments

$gap

7. Leave Termux
Termux when you swipe away will maintain the session and have a status bar notification telling the user that it is still running to keep its state.
Removing the notification requires stopping Termux from running. To end Termux just execute

$exit

Notes
Termux behaves similar to a Linux/Unix-like system but out of the box you are limited to storing things within Termux app itself.
Do check the Termux Wiki to get familiar. If needed there are other Development environments available for Termux.

This is how I got it to run.
I'm using the download from here GAP for Android
Preparations:
In termux type termux-setup-storage when prompted to give termux storage permission select allow. This is to give access to the sdcard in termux.

Make sure your connected to the internet.
In termux, type pkg install wget press enter.
Now to download the file type wget my.svgalib.org/android/gap4r5-1.tar.gz then hit enter.
Extract the file type tar -zxf gap4r5-1.tar.gz hit enter.
Type cd gap4r5 hit enter.
Now we need to make a couple of changes to the script for it to run on termux. We will copy it to the sdcard Download file to be able to edit it. type cp gap.sh /storage/emulated/0/Download/ hit enter.
Now open the file gap.sh in a text editor, I used Notepad++ for Android. This file is in your Download folder.
Edit line #1 to look like this #!/data/data/com.termux/files/usr/bin/bash
Edit line #23 to look like this GAP_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" Its very important on this line to have the spaces exactly where they are and nowhere else. then save the file. (Thanks for this line goes to Dave Dopson at this post Getting the source directory of a Bash script from within
)
Go back to termux and type cp /storage/emulated/0/Download/gap.sh . (the period at the end is important) and hit enter.
Now you are ready to start using the program. to run the program make sure you are in the folder gap4r5 and type ./gap.sh. (To get to this folder when you start termux type cd gap4r5 or wherever you are in termux type cd hit enter and type cd gap4r5 and hit enter).

Good Luck!

I couldn't do step 6. My phone denied Termux the permission to execute the demand.

Did you run termux-setup-storage and give termux the permission?

I did, and I've tried it multiple times since that. It hasn't worked, I'm afraid. See this image where I get stuck on part 4. I'm sorry that this is taking me so long. (In my defence, I haven't been trying this out much over the last few weeks.)

From the error message it seems there may be something wrong with the tar file. Can you try re-downloading the file (step #3) again.

@Shaun Check the MD5 hash of the file and make sure it matches this "12CC0203386FB891D9DDCA86222797FD". If not try re-downloading the file (step #3) again.

Okay, it works now up until I try to run it. See this image.

@Shaun It seems you are denied access to the file. Do you have root access on your device? If yes then you can try running is as root. If it works you should change the user of the file so you can run it as a regular user.

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


text:
Is it possible to wipe Samsung S5 finger print scanner data from recovery
I heard Samsung S5 has finger print scanner to unlock screen. How reliable is this? If I perform a data wipe or factory reset via recovery will the finger print lock still works?

The purpose of the lockscreen is to prevent someone from accessing your data, which would be erased by performing a factory reset. A fingerprint scanner is not more secure than a password, it's only more convenient. A few cases where it falls short as a password are:

You leave your fingerprints everywhere
Its easier to obtain your fingerprints by force, than a password
Its harder to change your fingerprints than a password

And Fingerprint lock in Samsung Galaxy 5 easily defeated by whitehat hackers


text:
How to make symlinks work inside /storage/emulated in 4.4.4
I created a symlink from /storage/sdcard1/somefolder to /data/media/0/somefolder, but apps treat the symlink as a file and not a folder (and crash because they are hardcoded to look for files inside a folder at this path).
Root apps that access the symlink from /data/media/0/somefolder works and treat it as a folder, non root apps use fused mount point at /storage/emulated/0/somefolder instead because they don't have the permission to look inside /data/media.
It is not possible to symlink to the fused point directly (cross device link error). Symlink's point permission on fused point are 770 for a app_ID:1028 instead of 777 for root:root like it is from /data/media, it's not possible to change permissions using root on the fused point. /storage/sdcard1/somefolder is 777.
debuggerd exploit is to be avoided as long as possible and mount points won't be visible system wide.
What need to be changed to make the symlink working from the fused point? How will it affect the rest of the system?

Android guards mount points since Android 4.2 came out. You already mentioned the debuggerd hack, so I assume you know about this restiction.
This might seem obvious, but you should first check if the file system that is used on the emulated external storage and on the real external storage both support symlinks. If your SD-card is formatted as FAT32, which doesn't support symlinks, nothing will happen and you'll need to format the external storage to something like ext2/3/4 or yaffs.
The 'cross device link' error might be fixed by using ln -s /data/media/0/somefolder /storage/sdcard1/somefolder instead of ln /data/media/0/somefolder /storage/sdcard1/somefolder. This will create a symbolic link instead of a hard link, so it can span across file systems and storage devices. You need to do this as root or else it won't work.
If permissions are a problem you might need to fix the 'external sdcard problem'. This problem causes the real external SD-card to be read-only on versions of Kitkat. The details are on this page. It comes down to editing /system/etc/permissions/platform.xml so that apps with the WRITE_EXTERNAL_STORAGE permission can also write to the 'real' external storage. This can be done by installing this app or by doing the following:

Launch your favorite file manager with enabled root access rights.
  You can use any app you prefer which can run elevated on your device.
  For example, the 'Root Explorer' app or 'Total Commander' or 'File Manager' from CyanogenMod will do.
Navigate to the following file:

/system/etc/permissions/platform.xml

Find android.permission.WRITE_EXTERNAL_STORAGE and android.permission.WRITE_MEDIA_STORAGE lines. These are XML sections. You need to make them look exactly like the strings below:

<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
<permission name="android.permission.WRITE_MEDIA_STORAGE" >
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>

Save the platform.xml file. It’s necessary to set the file permissions to  644 (rw-/r–/r–) before mobile restarting. Now reboot your Android device.

Credits go to poolmaker@XDA

Sorry but I didn't get you well but if you mean that you want to free up more space on internal memory by creating symlinks Why don't you try Link2SD now it can to link even the private data of any app to external SD card without causing any problem in addition to but DON'T LINK ANY SYSTEM APPS TO external SD card as it will cause bad effects to your phone. It's so recommendable to have an SD card with high speed writing and reading

Link2SD cheat on debuggerd and doesn't allow arbitrary linking, from the last tests i did with it, could you show me an exemple on how to arbitrarly move /sdcard/arbitrary_folder to /storage/sdcard1/arbitrary_folder with Link2SD with files on this folder remaining available on both location for apps hardcoded to read on this unconventional path? How will link2sd allow me to make symlinks work on the fused mount point?

authors: เสริมศักดิ์ หวังทรัพย์


text:
Is it possible to run fastboot in a recovery mode shell (without connecting to PC)?
I have a method for unlocking the bootLoader of my HP SlateBook x2 running Android v4.3 consisting of:

Booting into recovery.
Connecting to PC via USB cable.
Sending the command fastboot -i 0x03F0 oem unlock to the Android device.

But this device has an incredible problem: it sells without USB cable (LOL), so I have no USB cable at all.
But I have installed TWRP recovery, that includes a root command-line shell. So, as long as I can not connect via ADB bridge by using USB cable nor ADB via Wireless (the recovery mode does not detect the Wi-Fi card), I was wondering if it would be possible to use this shell to send the fastboot command from recovery mode in the stand-alone device (without any connection to PC, as long as it is not possible).
Any ideas, please?

I've edited your question to not mention ADB, since fastboot is not an ADB command and doesn't use ADB.

Fastboot commands are for the bootloader, not recovery, so even if you send the commands from recovery, it would do no good since you would be in recovery, not the bootloader.
According to all the information I could find about this "tablet," including information from HP, indicates that there is no way to access fastboot since there is no USB port and HP doesn't make a dock-port to USB cable for the tablet. Edit: apparently HP does have a cable for it, but it may be difficult to find and isn't cheap.

Here ( http://forum.xda-developers.com/showpost.php?p=51682931&postcount=8 ) is the method of rooting the SlateBook by using the Micro-USB dedicated cable (HP spare part number 728141-001, sold separately). It involves the use of several fastboot commands.

@SopalajodeArrierez that is what you need then. There is no way to access fastboot except from another PC.

Well, thanks for your opinion. I suggest for you to correct your post, since there is some USB cable (expensive, but it exists) for this tablet and there is a way to access fastboot for this tablet.

@SopalajodeArrierez thanks. It is funny that HP doesn't even list this cable anywhere in their support docs. I am glad there is a way, but it is a very poor design by HP.

I know I'm late with this answer, but for the future readers, you can unlock your bootloader on-the-fly with an app. Assuming you have root access and a standard unlockable bootloader (fastboot oem unlock), you can use Trickster MOD. You can see its XDA thread for more info.
Look under the "Tool" sub-menu and toggle "Bootloader Lock State". If you're even still keeping up with this post, how do you have TWRP with a locked bootloader?

XDA Thread: http://forum.xda-developers.com/showthread.php?t=1768315
Link to app on the Play Store: https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod&hl=en

No, there's no way to send a fastboot command from the device itself. When the device is in fastboot mode, it's a very dumb device and can't even give you a shell or turn on the Wi-Fi. The fastboot program is the only way to send it the command to unlock the bootloader.


text:
How to do connectionless UDP broadcast using Wi-Fi?
I'm hoping to broadcast UDP packets using the Wi-Fi antenna to everyone else (running the same application) in range. I'd like to do this without having to establish a connection. Is this possible?
I'm able to establish a P2P Wi-Fi connection and then send a multicast message, but that's not quite what I want.

Yes, it's possible, but you must learn IEE802.11 Datagram very well. There are two ways, the first provides two-way data exchange, the second only broadcasts to receivers:

use the beacon frame and Probe request/response frame to send data from AP to clients without connection

Broadcasting Information in Variably Dense Environment Using Connectionless Data Exchange (CoLDE)

use the length field in the data frame to broadcast only. You should develop a communication protocol with the encoded length. The receiver should:

enter Promiscuous Model
switch channels
Provide a 100ms timer interrupt at least.

No, this isn't how Wi-Fi works. You have to join the same Wi-Fi network first before sending any kind of IP datagrams.


text:
My OS Loads, but no Recovery

Handset: Huawei Honor Holly
Root: Yes

I am trying to install CWM recovery on this phone. I tried it using Flashify after reading guidelines from a website. Now, my stock recovery is gone. Also, fastboot commands wont work.
fastboot erase recovery
erasing 'recovery'... // And stops here. No progress for hours

When I try adb reboot recovery, my phone restarts again after displaying a black screen.
How do I install CWM, or TWRP, or get back to Stock Recovery?

This device has mt6582 chipset which is supported by SP Flash Tool. You can use this tool to flash your recovery rather easily. See Method #2 in my answer here for know-how of this tool, if you need it.

Try to flash twrp or CWM via fastboot without the use of the fastboot erase recovery as that got rid of it. Fastboot should just overwrite it anyway. Download links are in the blog post :
CWM/TWRP Recovery Club
but instead just use fastboot flash recovery <your_recovery_image_file_here> and it should work.
Edit: A nice guide is up on the XDA Forums and tells you all the tools you need

fastboot flash recovery recovery.img
sending 'recovery' (6370 KB)...
OKAY [  0.204s]
writing 'recovery'...
FAILED (remote:
partition 'recovery' not support flash)
finished. total time: 0.220s

@KarthikVU See this answer for your commented error.


text:
How to resize Prestigio PAP4044Duo's partitions?
I have a Prestigio PAP4044Duo with 4.1.1 Android on it. It has a Internal Memory of 786MB + Internal Memory Card of 1.77 GB. Since all the applications are stored in the Internal Memory I'm running fast out of space on it. I have read through forums and most topics are referring to SD cards, and all the applications I've found to moving Apps from the Internal Memory are also referring to SD cards.
So, is it possible to repartition the size of the internal memory and the internal memory card to get the following size:

Internal Memory - 1.7GB
Internal Memory Card - 700MB

If it is possible, where should I start, and are there any step by step tutorials that someone with not much experience could follow?

Is it possible to resize partitions?
Yes, it is theoretically possible, but it may not work on your device. If you're ready to take a risk with your device (if something goes wrong, it may be bricked until you find what's wrong with it), go ahead. Also, this modification isn't recommended for beginners. Also notice that by this you will factory reset your device (all app data will be gone). You'll need:

A rooted device with custom recovery
Basic knowledge of how ADB works
Basic knowledge of how partitions and partiton tables work
Patience and time since this could (and will) probably have some obstacles since you're a beginner and these tutorials aren't made for your specific device.

I successfully resized my partition using this tutorial on XDA, however, I skipped some steps in the way, since they were directed at different devices (Xperia phones), therefore, not all steps are compatible.
This tutorial may not support your device, so proceed with caution
I will try to briefly summarize what is going on that tutorial.
What will we do:

We will back up all the files present on the internal SD card (this is optional)
We will delete /sdcardpartition (that's internal, emulated "SD card"), and we will delete /datapartition (that's where your phone data, including apps, is stored)
We will then create new /sdcard and /datapartitions, but this time, they will be resized so that you'd have more space for apps.
If we backed up SD card earlier, we will now restore the original content of the internal SD

I assume you have worked with ADB and that you have a custom recovery present on your device (if you don't fulfil these requirements, get familiar with those before proceeding)
Okay, before we start, you'll need to download fs-utils.zip from this XDA page. These are file system utilities which we'll use later. Unzip this file and place it a folder, somewhere on the external SD card (e.g. /sdcard/fs-utils)
Also, enable "USB debugging" on your phone, located in "Developer Options" on more recent devices, or "Applications" on older devices.
Backing up files from Internal SD card (optional)
Okay, this one's pretty simple, you copy the files from internal memory to anywhere you want (i.e. PC, external SD card).
Editing the partition table
This is where it becomes tricky, so be sure that everything is working before starting this, and make sure that your phone has enough battery (just in case).

Enter the recovery on your phone.
Connect to ADB
Execute following commands
umount /storage
parted /dev/block/mmcblk0
print

This should print out the partition table, like:
Number  Start   End     Size    File system  Name        Flags
1      131kB   2228kB  2097kB               TA
2      2228kB  3801kB  1573kB               Boot
3      3801kB  5374kB  1573kB               Boot2
4      6291kB  27.3MB  21.0MB               Kernel
5      27.3MB  28.3MB  1049kB               TZ
6      29.4MB  32.5MB  3146kB               modemst1
7      33.6MB  36.7MB  3146kB               modemst2
8      37.7MB  40.9MB  3146kB               fsg
9      40.9MB  46.1MB  5243kB               ramdump
10      46.1MB  54.5MB  8389kB  ext4         apps_log
11      54.5MB  71.3MB  16.8MB               FOTAKernel
12      71.3MB  2120MB  2049MB  ext4         System
13      2120MB  2620MB  500MB   ext4         Cache
14      2620MB  5692MB  3072MB  ext4         Userdata
15      5692MB  15.6GB  9942MB  ext4         SDCard

In this example, Userdata partition is on the 14th place, and SDCard is in the 15th. Notice how the Userdata starts at 2620MB, and ends at 5692MB, and SDCard begins where Userdata ends, and finishes at 15.6GB. Mark these numbers, as we'll use them when we create the new partitions.
Following this example, we will remove these partitions:
rm 14
rm 15

Now, we calculate new sizes of the new partitions. Notice: You need to have emulated SD Card on your system, don't completely remove it, it is hardcoded into the system, and removing could break the functionality of the device.
For example, if we want to increase the size of the Userdata to 6000MB, we simply add 6000MB to 2620MB (where the partition starts), to get the position where the partition ends. In that case, it would end at 8620MB. SDCard follows after the Userdata, so it begins at 8620MB and ends at 15.6GB.
So, after calculating the sizes, we enter:
mkpartfs logical ext2 2620 8620 (change the numbers for your device)
name 14 Userdata
mkpartfs logical ext2 8620 15.6GB (again, change the numbers)
name 15 SDCard
quit

Now, the space is allocated for these new partitions, but they aren't correctly formatted yet. So, in your recovery, format your internal SD card (sdcard0 or whatever it's called).
Now, in ADB, navigate to the folder on the external SD card, where the fs-utils are located:
cd /sdcard/fs-utils (change as appropriate)

After that, enter these commands, one by one:
tune2fs -j /dev/block/mmcblk0p14
tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p14
e2fsck -fpDC0 /dev/block/mmcblk0p14

Now, the partitions are formatted.
You can reboot the phone now.
Try to write something to the SDCard, just to check do you have write permissions on it, and if you don't, enter (via ADB):
su
chown -R 2800:2800 /mnt/media_rw/sdcard0

That should fix the problem.
After this, you can restore the backed up files to your SDCard.
Since this is my first community post, I encourage users to edit and expand this post as needed.


text:
No GPS reception on Asus Slider SL101
I am the owner of an ASUS SL101 tablet, runing Android 4.0 (ICS). Using the "GPS Test" app,  I cannot get any GPS signals, even when standing outside for extended periods of time. I have a standalone GPS that has no problems getting GPS signals under the smae conditions. Is this a harware or software issue, and is there any way to get any reception on the tblet? One of the tablet's primary purposes was to be a GPS, and at the moment the function is completely useless. Help is much appreciated.

Could you possibly post up the system log from the phone when you're trying to connect to the GPS?

@Peanut How do I find the system log?

http://stackoverflow.com/questions/2882253/how-do-i-get-the-logfile-from-an-android-device so set up the PC and device and then turn on the GPS when you're outside/near a window/somewhere where you can get GPS, then plug the phone back into the PC and take the log off it. Or there's this application: https://play.google.com/store/apps/details?id=com.xtralogic.android.logcollector&hl=en but the reviews for it are mixed.

Unfortunately, I would say you probably have a hardware issue here. I have had two phones do similar things, one did not connect at all, the other would connect only for a moment before basically shutting the GPS down. Both of these ended up being hardware issues resulting in me returning the devices. My best advice would be to try multiple apps to test GPS signal, ( I use GPS Status or Tricorder), and if you get no GPS reception from any of them, contact your manufacturer, or the people you purchased it from. Usually resellers will refund or replace products that malfunction without provocation.
If you do get signal with any of them or you get partial GPS signal sometimes, I'd still contact your reseller or manufacturer with the issues, while continuing to test it in different places alongside other (Android 4.0, if possible) devices.

I used GPS Test, I will try the two apps you listed. I am reluctant to return it, as I have done so three times already.

That's rotten luck :/ I feel the GPS malfunctioning is far too common of an issue. As I said, I've had two do it, and it kills a lot of things I would like to use my phone for.

So this is the manufacturer's fault and not Android's, correct?

It was in both of my cases.

What do you mean by that? What did android do wrong?

I meant the hardware was the issue in both my cases, not Android


text:
False "Internal memory space is low" on tPAD - need a root access
A friend of mine has a chinese Teclast tPAD with Android 2.3.1. After some time of usage we start to get system notification "Internal memory space is low". Yet there are tons of free space in all types of memory: 14 Gb in SD, 5 Gb in NAND flash, 400 Mb in internal memory, 156 Mb RAM. Apparently something is wrong with the system because we can't install most of programs - installation typically finishes with a notification about insufficient memory.
From what I have read here, this can be caused by overflown hidden system folders, such as /data and /cache. So the question is, how can I get root access for tPAD, or how the cleanup can be done without root access?
This brand is not well supported worldwide, so it's very hard to find drivers and apps applicable. For example, I can't plug the device into a PC's USB in developer mode (if it could help) though the appropriate option is enabled.

You can use Kingroot. License is Chinese, but when you accept it, app changes to English. And you don't need a computer.
Then install ZArchiver. It can get to the system folders, if the device is rooted.

ZArchiver is not a suggested app for use as a root explorer. Other viable options include ES File Explorer and Root Explorer. Please link the apps mentioned in your answer.


text:
How do I unlock my bootloader with Omnius?
I want to unlock the bootloader of my Carrier Locked O2-UK Xperia Play. When I go into the service menu and check if my bootloader can be unlocked it says "allowed:no". After further research I found out that there are multiple ways of unlocking it; one of them being Omnius. Which one of the licences do I have to buy to do one unlock? Some of them say "No Xperia" and thats why I am confused.


text:
How to fix bad sector on NAND Flash Memory
A week ago, I flashed my Nexus S 4g with a custom kernel (Matrix) and ROM (CWM9). On reboot, my NS4G always bootloops, stuck on bootloader loading screen, and never gets to the Android System. It had the same result when I tried to flash it back to a stock ROM.
I removed the battery, put it again and tried to boot into recovery to use adb to check my SD card content with parted (I think there was a problem on partition). In parted I can reformat it using adb or recovery, but its content couldn't be changed. I think there was a problem with NAND flash.
Is there any way that I could Reformat NAND flash to fresh state?

Can you try restoring stock firmware & see if the problem persists? If so, turn the phone in for warranty. If not, it's an issue with the ROM.

since I dont bought it on my country, they wouldn't check/fix my phone. :(
no, I can't restoring stock firmware... :(

Stock firmware is available from Google: https://developers.google.com/android/nexus/images

also, make sure you wipe the cache and system between flashing ROMS.

it's been a while. Since I dont know what happen here, I sold it to a friend. Case Closed... :)


text:
Physical (USB) keyboard keeps waking Android ICS tablet from sleep
With (or without) my USB keyboard attached... my tablet will sleep after 1 minute of no activity, or if I manually make it sleep by tapping the power button. However, with my keyboard attached it will wake the tablet again after 30+ seconds. And it will continue to do this sleep..wake..sleep..wake.. until I disconnect the keyboard.
Is there any way to prevent the keyboard from waking the device?
Just to add... if the tablet was already sleeping when I connect the USB keyboard, then the tablet will still wake up after a short period of time. (It is not just when the tablet sleeps having been using the keyboard.) The lights on the keyboard flash just before the tablet wakes up, as if the tablet has sent the signal to 'wake up'?
The only related setting I can find is "Stay awake - Screen will never sleep while charging" (not selected) under Developer options.
EDIT: The tablet is a DGM T-703 7inch - a very generic/vanilla tablet AFAIK. The keyboard is an Afunta(TM) Artificial Leather Keyboard Case, but I have tried another standard USB keyboard and the same thing happens.

What tablet and keyboard are you using?

The tablet is a DGM T-703 7inch - a very generic/vanilla tablet AFAIK. The keyboard is an Afunta(TM) Artificial Leather Keyboard Case, but I have tried another standard USB keyboard and the same thing happens.

Does the tablet support any other USB devices? I'm not really familiar with USB support on Android as I've never used it. If it does support other USB devices, does it have the same behavior if those other USB devices are plugged in or only the keyboard?

I can connect a USB memory stick, but this is OK (it allows the device to go to sleep and it stays asleep). I can also connect it to another PC to transfer files, which also charges the device, but again this is OK. Only the keyboard seems to be an issue.

Here is a solution! You need to enable screen PIN/password lock. It will disable the physical keyboard in sleep mode. :)

This is not an answer to the question. If you have the same problem, please wait for an answer. If not, create a new question, if you do not find any answer by doing a search.

OK so I did find a solution! You need to enable screen PIN/password lock. It will disable the physical keyboard in sleep mode. :)

You can always edit your own answer, by the way (that's in fact the intended way to improve the quality here) :-)

I now have the same issue using a 7" Sumvison Astro+ after updating the firmware to the manufactures latest ICS listed version. From what i can tell this issue has been introduced as it wasn't present when i first received the tablet with the original firmware.
The details the device lists are
Android version 4.0.3
build version 9F2-D1-H2-H01-2102.20120515
baseband version 1.1
Kernel version 3.0.8+
The release notes list nothing but stability improvements so no clues as to what has been tinkered with. Generally the update was successful a Wi-fi issue i had with streaming music has been cleared and the devices has had it's default CPU speed bumped up which makes it feel snappier, if this keyboard issue wasn't there it would be perfect.

Thanks for the feedback. I'm not alone! My tablet (7" DGM T-703) would seem to be very similar spec to yours, and the version numbers all match (build number is slightly different... 97F2-R1-H1-H01-1899.20120401).


text:
Internal SD periodically becomes inaccessible
I'm having an issue with my Samsung Galaxy S. My phone has trouble reading my internal SD card. When the problem occurs, I cannot take pictures, or even access the "My Files" folder.
When I check the settings in the SD card and phone storage area, everything is unavailable or greyed out. The phone is not USB mounted when this happens. A battery pull fixes the problem, but this seems unconventional. Also Kies does not work as well with my device.

That sounds much more like a hardware issue to me, personally. Have you taken it in to where you bought it and asked them to look at it?

not yet..before I take it to the store I wanted to know what you think guys?

Any results so far? It's almost a year gone. Maybe meanwhile you can answer the question yourself?

(for Izzy)If you want you can close this - I replace my phone.

I had the problem with my Ainol Novo 7 Crystal Quad Core and the solution was simple but took hours of research.
The internal SD partition that goes beyond the memory reserved for the OS and some apps may have become corrupted.
Go to the backup/reset tab in "settings" and click the erase SD card.
You will be told that you will lose all the information on it but you will only lose that which you cannot access anyway.
Erase the card.
Once it is erased, you will be able to mount it when you go to "storage" and you push the remount button.
Hope this of help and use to you. It worked for me.


text:
How to root but not root Samsung Galaxy Player 5.0
Recently my family signed up for an offer from Google called Screenwise Select. As a part of the deal we got a smartphone used to connect to our TV and monitor TV shows that we watch. The phone is a Samsung Galaxy Player 5.0. However, evidently the Screenwise app is more than an app; it's taken over the phone. When I turn it on, the "swipe to unlock" appears for a split-second, then it flips over to this app. I can't get out if it. I suspect the system has been somehow modified so that the phone can only be used with the app.
So, my question is - is there a way to "root" but "not root" the phone - that is, to get the system back to normal with the app running like a regular app?
I think the app is in the AppStore so the other option is to factory reset the device and then install the app, but I don't want to do that without confirmation from the Screenwise people.
Any ideas?

You can't do it....don't do it unless you want to get booted from the Screenwise panel and also be billed for the device (currently over $200 retail).
It's running a skin over the top of the device, similar to how Samsung runs their own TouchWiz interface over the top of Android OS. It's not just an app that's running on top (although there is a separate and completely different Screenwise app on the Android Market that is used with this panel, it's not the same thing).

I'd say it's a custom launcher, not a skin...

I recently got 3 of these devices and discovered that they are already rooted (superuser is installed) and all you have to do is install a launcher. Since you can't access anything other than the Screenwise app (yes, its just an app), you will need to sideload it via adb.
What I did was connect to my computer, let windows get all the drivers installed, and downloaded a gingerbread launcher apk file. Then I used the adb command 'adb install launcher.apk' where launcher.apk was the file I downloaded and put into the root of the adb folder.
Hope this helps!


text:
"Failed to detect compatible download-mode device" on Mac Lion with Samsung Galaxy S2
Hi I'm using the cyanmodgen wiki to install it. but I'm stuck on the first step.
Whenever i do sudo heimdall flash --kernel zImage
I get :
Initialising connection...
Detecting device...
Failed to detect compatible download-mode device.

The device is booted in download mode, and everything else is exatly like the wiki
except that my s2 is still on android 2.3 and not ICS.
Thank you for any help or hint.

I had the same problem. Looking at the source of heimdal revealed that this message is send when no USB device is attached.
And this was in fact the case. lsusb showed that the kernel is not aware of any USB device related to the Galaxy S:
flo@flo-pc ~/data/cm9-sgs $ lsusb
Bus 002 Device 004: ID 046d:0990 Logitech, Inc. QuickCam Pro 9000
Bus 003 Device 069: ID 1a40:0101 TERMINUS TECHNOLOGY INC. USB-2.0 4-Port HUB
Bus 006 Device 002: ID 046a:0023 Cherry GmbH CyMotion Master Linux Keyboard
Bus 007 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 007 Device 004: ID 046d:c521 Logitech, Inc. Cordless Mouse Receiver

After I used a different USB cable and a different USB port, my Galaxy S appeared on lsusb while it's in download mode:
flo@flo-pc ~/data/cm9-sgs $ lsusb
Bus 001 Device 016: ID 04e8:6601 Samsung Electronics Co., Ltd Mobile Phone
Bus 002 Device 004: ID 046d:0990 Logitech, Inc. QuickCam Pro 9000
....

And heimdall was able to flash a new kernel!
So I have two suggestions:

try another USB cable, I suspect the original Samsung USB cable to be of low quality
try another USB port, ideally without a USB hub between the devices

I have the same problem as the OP, but do in fact have my device show up when I type lsusb.


text:
Can I put an HTC flip clock on the lock screen?
I have an HTC One X and it has the typical HTC flip-clock/weather widget loud and proud on the home screen.
I don't really want it there because it's a bit bulky but it would be nice on the lock screen for when I'm just taking my phone out my pocket to check the time?  Is this possible?  I can find setting to customise the clock on the lock screen but, for some reason, the only clock that list doesn't include is the flip-clock I'm after!

Install WidgetLocker Lockscreen. It allows to add homescreen widgets on lockscreen.
Update:
HTC widgets can't be added to WidgetLocker, but third-party general widgets can be. So, install Beautiful Widgets app, first. It has exact HTC flip-clock alternative.

Thanks for your answer Sachin.  I'm new to Android.  Perhaps you can explain to me the difference between the clocks it does allow me to add and the one it doesn't.  Are these not all widgets?

@thehouse I am unable to understand what you are asking.. WidgetLocker Lockscreen allows you to add homescreen widgets on lockscreen. Flip-clock/weather widget is a homescreen widget. ICS (Android 4.0) has introduced drawer widgets which can't be used by WidgetLocker Lockscreen.

Default lockscreen of HTC sense doesn't allows you to add homescreen widgets. So that I am suggesting to replace it with WidgetLocker Lockscreen.

So it turns out WidgetLocker doesn't solve the problem.  I can put widgets on the lock screen but still not the HTC flip clock one

@thehouse Updated the answer.


text:
Galaxy S3 cell standby is eating my battery
My battery on my new S3 seems to be being eaten up by the cell standby using more than 50%.
I appear to get a decent signal on the phone. Does anyone have any idea why this figure would be so high?

See also: What is Cell standby and how can I keep it from eating my battery?

That is terrible! Drains to 50% only in stanby!
Maybe the apps are not really shut off. You can use the free apps - JuiceDefender to save your power. Packed with smart functions, it automatically and transparently manages the most battery draining components, like 3G/4G connectivity and WiFi.
Or you may need to have a external battery to backup. This one sugegsted:
Small and portable design, Powerful and giant inside. Will be helpful!

XDA recogined contributer bala_gamer has explained and fixed this issue. Check this xda-developers thread and this news item.

It would seem that the issue comes from an error in framework-res.apk.
  XDA Recognized Contributor bala_gamer explains that the power drain
  value setting for Cell standby is erroneouslyset to 34 mA (practically
  impossible) instead of a more reasonable value of 3.4 mA in
  power_profile.xml within framework-res.apk. He then put together a
  corrected power_profile.xml, and provided a quick step-by-step guide
  to pushing the change. Those not excited about messing directly with
  framework-res.apk can thank Senior Member ausdim for providing a
  recovery-flashable update.zip.

Don't forget to read the warning and FAQ if any.


text:
What are correct file permissions?
My phone is a Sony Ericsson Xperia X8, and I'm using CyanogenMod. There is an app called ROM Manager included in CyanogenMod, and I found an option 'Fix permission' there. I shouldn't have used this: I had no problems before but I have some now. During the fixing process I got a lot Force close dialogs, and after next reboot the phone had reset to the default CyanogenMod home screen configuration, default options for many programs, and default network parameter. I also got some more Force close dialogs.
I have a backup done a week ago, but I really installed a lot during the week, so I don't want to lose it all. I hope there's a way to recover current situation.
I tried this through adb shell:
chmod -R 755 /data/data
chmod -R 744 /system/app

but it didn't help.
I even tried this stupid idea:
chmod -R 777 /

but it made even worse: after reboot, my phone forgot even my Google account and offered to reconfigure it as if it was the first time I switch the phone after buying it.
Can somebody tell me which file/directory permissions could ROM Manager change and how should I restore them to make everything work? Currently I have a backup made immediately after I discovered the problem.
UPDATE: This fix_permissions.sh didn't work for me.

I have «CWM-based Recovery v5.0.2.7» on «nAa kernel», and it doesn't have anything about permissions in the menu.

I'm sure, it's not there. In Advanced, I have only «Reboot Recovery», «Wipe Dalvik Cache», «Wipe Battery Stats», «Report Error», «Key Test», «Show log», and nothing else. Hmm, should I reinstall/replace this recovery with another one?

It asked me to confirm phone model. There was only one option — E15i (that's Xperia X8), I selected it, and it wrote «E15i does not have an officially supported ClockwordMod Recovery yet. Have you installed a ClockworkMod based recovery manually?»

I don't remember where did I got my current recovery.


text:
Can the Samsung search key be remapped without rooting?
I'd like to be able to change my search quick-key from Google, probably to DuckDuckGo, as it has some great shortcuts, and has a short, readable privacy policy. However some cursory research suggests that to do this, one has to have a rooted phone. Can this be done without rooting?
I am running a Samsung Galaxy Europa with Android 2.2, though I'd expect the answer will apply to any Android device. I should think I'll be rooting my device anyway, but it would be good to give non-rooted phone owners a choice of search facility, if it is possible!

Hmm, despite a solid prior search, I think my question may have been tackled before. To be fair, that Q doesn't tackle how to do it on a rooted phone, yet my research does show that's possible.

The official DuckDuckGo app has its own search widget that can replace Android's built-in Google search widget. Have you tried that?

Thanks for the reply. Indeed I have tried it - that's the app I'd like to launch when I press the search quick-key (see the button featuring a magnifier icon on the right hand side here). I can't seem to see settings for that either in the DDG app, or in the phone's general settings - I'm currently taking the view that it is not possible to change without root access.

Aha! I've just found in Google Search, one can do: menu -> Search Settings -> Searchable Items -> untick everything, tick DuckDuckGo (of course this needs the DDG app installed). This seems to work, insofar as a DDG search can be done via the quick key. However it isn't the full solution imo - unless I can find evidence that the search terms don't go to Google. Launching DDG, rather than Google>DDG, would solve that :)

(Side note - I will be rooting the phone and installing DroidWall at some point anyway. So I'll be able to analyse the Google search app and see what searches cause it to phone home, though of course this will only be true for the version I test).

sorry it's been a couple of years since I had an Android phone that had an actual Search button, had forgotten that some phones have them.

No worries. It's not a big deal to create a desktop shortcut to DDG, so I've done that for the time being; I'll explore further options once the device is rooted :).


text:
Flash_image clockworkmod recovery for Samsung Fascinate
I have a Samsung Fascinate for a while that I've wanted to flash a new rom to, but the USB port simply will not work on any PC. I've tried it on 6 different PC's with a mixture of XP / 7 along with numerous installations and reinstallations of the Fascinate drivers. It charges but will not be recognized by the Windows, Odin or Heimdall, so I've given up in that respect.
However, the phone IS rooted. I know this because I can give su permissions and I'm seeing the # in the terminal emulator. So I would like to know if I can get clockworkmod recovery onto it through the "flash_image" command - I've seen tutorials for other phones that are able to do this.
However another problem is that I can find no .img Clockwork recovery files for the Fascinate anywhere. I can find the .zip that's provided on Rom Manager's website (and also the .zip downloaded by Rom Manager itself), but I'm not sure if that's the same thing as a .img.
So my question is, can I flash a .zip as a recovery image? If not, is there some kind of directory of official Clockworkmod recovery .img files, or at least one for the Fascinate somewhere? If not, can I take a .tar or a .bin and somehow mess with those files on the Fascinate without having to utilize Odin / Heimdall?
Thanks a ton!

Does ROM Manager not provide the option to flash it for you? I know it does on other devices, but I've never tried on a Fascinate.

Flashing a .zip is easier than flashing a .img unless Koush simplified the process for the latter.  Try XDA if you want a Fascinate-specific version of CWM, I think the official one deals with the internal/external SD improperly due to the way Samsung mounts it.  That's the case with my Vibrant, anyways.


text:
How do I disable data on my ics xoom LTE?
I have a xoom LTE from Verizon but do not currently have a data plan.
After getting the ics update I went into settings and unchecked mobile data.
I have no reason to believe that I am using Verizon's network, but I am surprised that there is a network strength icon in my notification area that is constantly updated.
Is there a way to turn off signal strength checking for the phone network since I do not even have a contract with Verizon? Will it just always be there now that I have ics on the xoom?

Are you simply bothered by the icon being there, or would you prefer that it stops scanning for signal strength? The latter could be accomplished by leaving it in airplane mode, but then the airplane icon will be in the bar instead. AFAIK you can't hide it, though, unless you perhaps physically remove the icons from your ROM (although then you'd get a blank area, I think).

@eldarerathis I guess I'd like it to stop scanning.  I've disabled mobile data, why should it be scanning?   When I disable wifi it doesn't scan for wifi.  I guess it is just a disconnect between my expectations and the behavior of disabling "mobile data".

It is pretty weird, but I do see the same thing on my Xoom w/o a data plan, so my assumption has always been that it's by design. Definitely a rather counterintuitive design, though...

Disabling mobile data just says "don't transfer anything". I'd think of the icon as kinda "ad", saying "hey, you've got excellent signal strength -- wanna play a bit?" On a phone, signal strength would also apply to the ability of making phone calls, so I guess that's why it's still shown. Some "switcher apps" like e.g. Dazzle Configurable Switcher would allow you to turn the radio off completely (without switching to airplane mode), maybe you want to test that.


text:
is there a way to schedule a turn-on-wifi-sync-turn-off-wifi scheduled task for every day at 8am?
I have no 3G.
I use my android phone mostly via wifi home network and read emails and podcasts later offline.
Is there a way to make a scheduled task which will turn on wifi, force sync (or wait for it) and turn off wifi after for example after 20 min?
Force sync is optional. I will just hope that during the 20 min it will occur somehow.
Is there an app which will do this or some smart hack?

Of course there are tons of it. Many of them just supports what you are asking but I'd recommend you llama or tasker. Tasker is paid app but llama is free and uses your cell tower to determine your location to make location based tasks as well. For eg, not only it can do what you have asked but also only when you are at your home.

AutomateIt is also a nice free app...


text:
Why custom roms are .zip filed than made as .ftf
I am asking about Sony Xperia devices and I dont know this suites other brands or not. The custom roms provided by the ROM cooks were .zip files where we need to flash the kernel and then the rom zip to install. Why the roms were not made as a .ftf file so that it can be flashed easily via flashtool?

.ftf are more suited for the older line of Xperia devices and is proprietary format, the trend with newer Sony devices is .elf instead. The custom ROM's you're referring to is more of a "universal generic" method, some manufacturers are free to deviate and use their own method of how its done.

Can a rom developer create custom rom using .ftf or .elf ?

.ftf / .elf are more of kernel images specific to Sony, IIRC, FlashTool can combine them into that image specifically for this case, there's a script lying around somewhere on Sony's OpenSource portal to do that for you.

then why they are made in .zip rather than the .ftf/.elf

Hang on, .ftf/.elf are kernel images (read that sentence above!). If you compile your own kernel, special handling is required to convert the kernel image into a .ftf/.elf. If you're talking about ROMs as a whole, that is contained in a zip, ready for flashing via CWM or TWRP. The kernel needs to be manually flashed first before flashing the ROM itself. Look at LegacyXperia and follow their corresponding threads. What part of this do you not understand?

Thanks now I get it. Thanks for explaining with patience.

Can you combine that and make as an answer

.ftf are more suited for the older line of Xperia devices and is proprietary format, the trend with newer Sony devices is .elf instead.
Their layout of kernel image is non-standard, this requires a special script to run against the freshly built kernel image to convert it and add extra special markers to make it compatible for the Xperia to enable booting.
Without the markers, the flash will fail, Androxyde's Flashtool has the capability to generate the .ftf, .elf by concatenating the kernel image (usually gzipped raw flat binary) with a header called .sin which has some proprietary encoded binary that fixes up the bootloader's address from which to boot up under. The script can be found on Sony's Opensource portal website, that contains a blog entry highlighting how to create a flashable kernel for Xperia S model.
The custom ROM's that the OP is referring to is more of a "universal generic" method, which contains the kernel and the files that composes of the ROM, that is made suitable by the likes of ClockworkMod (CWM) and TeamWin Recovery (TWRP)  to use them.
Some manufacturers are free to deviate on how their kernels are created and if necessary, applicable handling to convert it to a form suitable for flashing, such as Sony's own format, rather than using mkbootimg which is a more generic form of creating a flashable kernel (this combines the kernel image and auxiliary supporting files), that is compatible with most, if not, all devices with some exceptions, like Sony.
As case in point, the kernel has to flashed separately first before flashing the ROM. For others, CWM/TWRP can directly flash the newly built boot image file created via mkbootimg first behind the scenes then write out the files into the /system partition.

hey one more I have to ask, I can find all the generic .ftf files of an Xperia phone. Is this released by Sony or someone who got the update extracted it?

More than likely, yes, there's a few that comes with Flashtool buried in their respective folders. Use the wrong ftf for your device could result in a fine mess, so beware. Each of them are Sony model specific, for example, using Xperia Mini's ftf on a Xperia Sola model will have consequences.


text:
Is there any way to check the phone before buying a new device
My friend is buying xperia Z1. The actual price of the phone is around 40000 INR but he is getting it around 25000 INR. It has 1 year seller warranty with all accessories.He said the phone is imported. I dont understand why the price is so low.
The software bug can be fixed. But I am concerned about the hardware issues. Any idea on how to check whether the chipsets were original.
I planned to run a benchmark tool after he gets the phone. Also to check the service menu. Any other ideas to check?
Also I have the doubt on benchmark tool. Will it read the hardware correctly or it just read the phone name and based on it, it will produce the specs from the database?
What i fear is the clone models. I heard about them but I didnt get any chance to see them. Is it difficult to separate clone from the original.
Thanks in advance.

To start with, I don't think it's possible to somehow change chip on a phone. It would stop working because of incompatible drivers.
Price of the imported phone can be lower, for example Nexus devices are 1/2 more expensive in my country than in the US and it could be used too. Anyways you should check, if it'll work on your carrier if it's imported.
Finally, there are many benchmarks to choose from. I suggest using AnTuTu. It's been here a long time and is still one of the best. It really tests your device, cause I've used it on different ROMs on one device and I had different results.

Is there any way that these phones were failed during factory test and it been packed and sold for low price?

I think maybe some employee of the company could carry out some faulty devices but I never heard about something like that. Company itself wouldn't do that.


text:
Why is the FEATURED TABLET APPS tab in the Android market not present on my PC?
As an answer to my question about applications for bigger Android screens, Daniel answered whether I noticed the FEATURED TABLET APPS tab in the PC version of the Android market.

However, on my screen, this tab is not present :

Does anyone know why this tab is not present on my version of the Android market ?
I am logged in to my market account, I have a Samsung Galaxy S and a Archos 101 tablet. Daniel has no tablet, so that can't be the reason.
I am living in Europe, so maybe it's a territorial thing ?

I'm also a European (who doesn't own a tablet) and I can't see that tab whether I'm logged in or not.

Edit: As per Lie's comment below, it looks to be US-only. The proxy site I use apparently changed to hosting in the UK :P

I'm in Canada, and also tried from a US UK (my bad) proxy.  It doesn't show up.
A quick Google search shows that the URL for the page with the tablet apps should be https://market.android.com/details?id=apps_tablet_featured.  Using this link directly doesn't work either, whereas https://market.android.com/details?id=apps_featured (the regular featured apps) does.
So I think Google just had it up temporarily and took it down.  Or, if Daniel can still see it, they're doing what Google normally does: rolling out new features slowly, to only some users at a time.

I'm on Australia, and can't see the tablet tab; but when I tried using a proxy (purportedly claiming to be a US-based one, double checked by whatismyip.com and ip2geolocation.com), the tablet tab do shows up although the site's javascript are broken.

@Lie I see it via that proxy too. Edited


text:
Nexus 5 stuck on black screen
Nexus 5 showing black screen
1.Can access fastboot mode
2.Cannot access recovery mode from fastboot : shows google logo and black screen (no inverted android)
3.When selecting Start from fastboot : only google logo appears and then black screen (not even the marshmallow boot animation)
Things Tried :
1.Phone was able to ring from android device manager. Tried erase from there. No response
2.Tried flashing the stock rom still no response.
What might be the issue ? Is the internal memory corrupted ?
UPDATE
The phone boots up able to hear screen shot sound but still black screen
UPDATE 2
The phone had hardware issue, the flex cable was damaged. Replaced the flex cable and phone is working again.

If your problem is solved now, please post an answer and then "accept" it as the correct answer. That way, your question will show up as "answered" for other visitors.

The phone had hardware issue, the flex cable was damaged. Replaced the flex cable and phone is working again.

Since Recovery won't start up, you can clear the cache by powering off your phone and holding down Power + Volume Down for 20-30 seconds.  Then you will be able to enter recovery once you restart where you should clear the Dalvik cache and cache again.  I had the same problem and this worked for me.

Go to menu >>setting's >>apps>>all
Tap on the top 3 doted line's and  tap on the "Reset app preference"

How is your solution related to OP's problem? How could he have done as you suggested on a black screen? In any case, OP clarified that this was a hardware issue and has been fixed by replacing flex cable


text:
Number not display while incoming call
I have a Htc Desire SV Dual SIM mobile. Today when I got call then I surprised that it is not showing name or number on display.
I tried changing settings, changed the wallpaper but still this problem persist.
You can see in the below screenshot which I captured at the time of incoming call. Here only two button option is there Decline and Accept.


text:
Can Google use location information based on Photos landmarks with Location set to off?
I recently updated Google Photos in my Nexus 5 (with Android 5) and I was surprised to see that Photo Assistant has created location-based stories with titles like "A Sunday Morning in X Mountain" (with Google maps attached!) while I had GPS, WiFi and Location setting set to OFF during and arround the time those stories were recorded.
I have made a little research and found here that:

Scroll down below the faces in that same search screen, and you'll
  find a list of locations in which your photos have been taken. What's
  particularly remarkable about this is that it works even if you don't
  have location reporting activated, as is the case for me.
How? Google says its technology is able to recognize known
  geographical landmarks from photos and then use logic (and the laws of
  physics) to infer your location in other nearby photos. If you took a
  snapshot of the Eiffel Tower on February 9th at 2 p.m., for instance,
  Google can safely assume you were still in Paris in that selfie you
  took in front of a bakery 45 minutes later. The accuracy and level of
  detail may surprise you.

Is that true? Is there any Google doc about this feature?
If yes how can I disable features like this? I am not interested in any case having my location data, whichever those are, processed by Google.

It doesnt look like they can do it if your GPS is shut off in your settings.
"If you turn off location completely for your device, it means that apps (both Google and non-Google apps) can’t use your device location and many useful features will be turned off."
As to them checking it in app. Seems like that is something they are trying to accomplish. What i have found to disable it is if you go to Settings->Google Location Settings and uncheck Access Location then they can't access your location even if your GPS is on from that app. That solved that problem for me.
I have found some information for you in the below links.
Google Landmark Recognition.pdf
Turn location on or off for your device

What it is implied is that they process the photos that you have selected to backup with Google Photos and based on the landmarks patterns they find in those photos they find your location. The question is: Should they do this if I have Location=off always - which means that I do want to share my location? Can I disable this behaviour?

Based on the documentation from the aforementioned link. If location is always off, then they shouldn't try to find your location based off of the landmark patterns in photos you have selected to backup with Google Photos. However there is not a specific setting for disabling this behavior to my knowledge.

authors: Фариз Аббасов


text:
Fast Video Compression on Android
I want to upload video files to server and compress before uploading. I'm using ffmpeg libx264. I have seen viber can upload 30 second video file of size 32MB within a minute [reduce it's down to 2.3MB]. I want to know how do they do it so fast?
What I have tried so far -
FFMPEG version :  n2.4.2
Built with gcc 4.8

Build Configuraiton : --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=

Command:
ffmpeg -y -i /storage/emulated/0/main.mp4 -s 480x320 -r 20 -c:v libx264 -preset ultrafast -c:a copy -me_method zero -tune fastdecode -tune zerolatency -strict -2 -b:v 1000k -pix_fmt yuv420p /storage/emulated/0/output.mp4

The result so far is, a 30second 78MB file gets compressed to 4.3MB which takes around 1min 28seconds. Here is the console dump - http://pastebin.com/rn81acGx . I mainly want to reduce the time it takes to compress. How can I achieve this?
Thanks in advance.

Use SiliCompressor, a library on android that gives you the possibility to easily compress while maintaining the quality of your video and images.

Its not working for me. I got this issue when using SiliCompressor.

This library has too many bugs. Like

The actual video size is 10 and after compress video size is 14MB or 15MB.
At video compress time take too much time.


text:
Android 4.3.1 : Touchscreen not responding on return from sleep / or after call's end
My phone has Android 4.3.1.
Sometimes, when it returns from sleep, or at the end of a phone call, the touchscreen does not respond. I have to press the power button several times to make the touch screen responsive. In the worst case, I have to remove the battery and turn it on again.
What can I do to resolve this issue?
Thank you!

Which device is this? Do you see a black screen when trying to return it from sleep or after ending a call, or you see the screen as it usually appears but it doesn't respond? The former is a case I've heard of, so I'm asking for confirmation.

No , the screen is as usually , just doesn't respond

Yes !.... woke my nexus 7 after being in sleep mode all night and it fired up perfectly with no dodgy touch screen issues at all.
Could it be that simple that Chrome browser was causing the problems all along ?
another bonus is using Opera Browser.... after being a die-hard fan of Chrome for many years on my desktop PC, it was a very slight learning curve to master Opera.
It's running so smooth and quick !

Please post multiple answers only when the content differs widely. That is not the case here. Note that you can always edit your own post. Consider deleting this one and edit the earlier one.


text:
Lins2SD app error: could not load library libsigchain.so. What does it mean?
I've a Lenovo A 7000 (64-bit) Android mobile.  While using Link2SD app on my rooted mobile, I observed an error after trying to move an app to SD. It says:

WARNING: linker: could not load library "libsigchain.so" from LD_PRELOAD for "/system/bin/sh";  caused by "libsigchain.so" is 32-bit instead of 64-bit  CANNOT LINK EXECUTABLE:....

What does this error mean?

PM the app developers and tell them to add this to their app:
export LD_LIBRARY_PATH=/system/lib64:/system/lib

The Link2Sd dev fixed this in the latest beta (Link2SD-release-4.0.12.beta5).

It basically means that some binary code cannot be executed on your phone. It appears the Link2SD app you use comes with a piece of 32bit software, but your phone is 64bit so it cannot execute the code.
LD_PRELOAD is a system variable which basically tells Android what code libraries should be loaded/executed when starting any process or app. It appears libsigchain.so was added to this variable, possibly by the Link2SD app itself. When the app tries to execute the system program /system/bin/sh, it tries to load the libsigchain.so file but fails, apparently because libsigchain.so is 32bit.
Another possible cause is that /system/bin/sh is 64bit but ligsigchain.so is 32bit. Because 32bit and 64bit software operate in a different way, the two can not be combined and the /system/bin/sh process cannot start and produces an error.
Either way, not being able to execute sh is a mayor problem for most apps working with root permissions as sh is used to execute scripts on your device. If you see such an error in other root-apps as well, this might be a problem with your Android ROM.
The solution to this might be either a software update from Lenovo or from a new version of the app. Try reporting the issue to the app developer, maybe he/she can give you the exact details.


text:
How to remove screen lock previously set using Android Device Manager?
I placed a password on my phone from the online android device manager. I was just testing it out, and now I can't remove it. I keep reading go to settings > security > screen lock but that is not an option on my phone. I can remove android device manager from my device administrators, and under the password section the only option is to make passwords visible. I have always had a password on my phone but I do not want this type of password on my phone. Please help!

Can't you just disable it from Android Device Manager?

I had the exact same issue. Totally frustrating! I finally figured out the solution. Go to "Settings." Find the tab or section that shows your lock screen options. Mine was found under the "Display" tab. Choose "lock screen." Type in the password used in Android Device Manager. You should now be asked what Screen Security option you want to use. After selecting this option, you will be free from Android Device Manager's grip!


text:
Internet is working over Wi-Fi but Google Play Store says "reconnect" after few minutes
I have a problem connecting to Google Play Store with some Wi-Fi.
My Wi-Fi at home works fine and I don't see any problem with other sites. But whenever I go to Google Play Store, it just keeps me waiting for a couple of minutes and says "reconnect".
I tried connecting to another Wi-Fi and it works. Then I tried using other phone on my Wi-Fi and it works fine.
It seems only my Zenfone 2 doesn't work on my Wi-Fi. I tried some simple steps I've read on forums like changing time, sync, toggle Wi-Fi and Airplane mode but nothing worked.
How do I fix the issue?

Try going to Google Play's apps settings (the details will depend on what version of Android you're using) and tap the Clear Cache button. Do the same for Google Play Services.

@JoeSewell that won't help when the device is working fine on a different network (neither won't changing time). // Carlo: when you're logged-in to your home WiFi, can you reach Google Play using a web-browser (i.e. is it just the playstore app that cannot)? Could it be some "firewall"/"parental controls" on the router blocking the site for this device (it could be setup device/IP specific)?

If you are using a Wi-Fi router with your existing network modem:

Turn DHCP mode to none in your Wi-Fi router

Login to your router configuration panel from computer
Turn DHCP mode to none in Local Network settings

Connect your incoming network cable (from modem) to LAN port instead of WAN port of the Wi-Fi router (we are going to bridge the network; reboot router if necessary)

You should know the DHCP IP address range in your modem (usually 192.168.1.2 to 192.168.1.254)
Use one IP address from that range (say 192.168.1.2) for your Wi-Fi LAN interface IP address (Wi-Fi router configuration IP address will be changed to the new one you have opted for)
Save changes and reboot your modem

This fixed my connection problem.


text:
SIM card not recognized in Galaxy Tab S
I have sent my tablet back to Samsung 3 times.  It is currently back with support.  After the first time, I began to have problems with the SIM card not being read.  It was intermittent in the first few days but then constant.  The device would not recognize that a SIM card was in the device.
I went to Verizon and had the SIM card replaced.  It was fine for  few hours, but then intermittent issues occurred until finally unable to recognize the SIM card.
Samsung could not find any issue for this, sent it back to me but still the problems persists.  I went through the same thing, replaced the SIM, dealt with using the device without the Verizon service I had been paying for, but sent it back.
I received an email from Samsung tech support that they can not find anything wrong with the device. I called in because I do not want the device sent back to me without replacing the SIM slot.  I spoke with one call center employee, he agreed and sent me on to another person.  This person I spoke to insisted that if their tests didn't find anything at fault, they would just send it back to me, doesn't matter how many times I send it in, and suggested I had a virus.
I did some research. I can't find anything on Android viruses that describes the issue I am having.  Can someone give me some advice on what I might be able to look into in case Samsung does nothing but send my device back?
Thanks!


text:
Headphone Buttons and USB-C Adapters
I owe a which doesn't have a 3.5mm headphone jack. Instead, it use my headphones with a USB-C to 3.5mm adapter. While the speakers and the mic work, the buttons don't. They're assigned incorrect functions. Play/Pause works, but Vol+ decreases the volume and Vol- selects things on the screen.
I wanna change this behaviour. Using the app "KeyEvent Display", I figured out that

Vol+ triggers "linux key code number" 114
Vol-  triggers "linux key code number" 259
Play/Pause  triggers "linux key code number" 226

Using the android documentation, I figured out that the buttons are all managed by /system/usr/keylayout/Generic.kl. I could get the expected behaviour by changing the following lines:
key 114 VOLUME_UP
key 226 HEADSETHOOK
key 259 VOLUME_DOWN

However, this interfered with the function of other buttons of my phone!
That's why I want to create a device-specific config file. For this, I need either the device name or the vendor and product IDs. (As explained in the android documentation.) However, I don't know to get those. The app "USB Device Info" didn't show any connected device. This is the shortened output of cat /proc/bus/input/devices:
I: Bus=0000 Vendor=0000 Product=0003 Version=2061
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
I: Bus=0019 Vendor=0001 Product=0001 Version=0100
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
I: Bus=0000 Vendor=0000 Product=0000 Version=0000

Full output: here.
Relevant output of "Under the Hood": pastebin.com/kDeBNS0H
I made a file containing the above code and tried giving it the following file names (rebooting every time): Vendor_0000_Product_0003.kl, Vendor_0000_Product_0000.kl, Vendor_0001_Product_0001.kl, but nothing worked.
Can anyone help me?

Is the converter active (digital), or passive (analog)? If you don't know, the price might be a hint.

I think it's passive.

Using the keytest app, I found out that the device ID of the headphones     (2) differed from the device ID of the regular volume buttons (7 and 3).
Now, I only had to find out the device name corresponding to the device ID. This I did using a terminal emulator:
$ su
$ getevent
add device 1: /dev/input/event7
name: "msm8976-skun-snd-card Headset Jack"
add device 2: /dev/input/event6
name: "msm8976-skun-snd-card Button Jack"
add device 3: /dev/input/event4
name: "qpnp_pon"
add device 4: /dev/input/event3
name: "qwerty"
could not get driver version for /dev/input/mouse1, Not a typewriter
add device 5: /dev/input/event2
name: "hbtp_vm"
add device 6: /dev/input/event1
name: "input_mt_wrapper"
could not get driver version for /dev/input/mice, Not a typewriter
add device 7: /dev/input/event5
name: "gpio-keys"
could not get driver version for /dev/input/mouse0, Not a typewriter
add device 8: /dev/input/event0
name: "synaptics_dsx_s2"

According to the documentation, all characters other than 0-9, a-z, A-Z and - are replaced by _. Thus, I created a new file: /system/usr/keylayout/msm8976-skun-snd-card_Button_Jack.kl with the following content:
# Configuration file for LeEco Le 2 headphone buttons
key 114 VOLUME_UP
key 226 HEADSETHOOK
key 259 VOLUME_DOWN

After a reboot, I got the expected behaviour!


text:
Is there a way to filter “My Cards” in the Trello widget?
In the web version of Trello the "My Cards" page can be filtered to only show cards from specified boards. I use this to filter "My Cards" to show cards from personal boards and hide cards from work boards.
In the Trello widget for Android I can't find a similar filtering option. Is there one? If so how do I get to it?

I wan't able to find much either .


text:
Windows 8.1 drivers for low end device
I have a low end device I'm trying to connect to my Windows 8.1 laptop. The device has no markings and was purchased by a friend of a friend (I think it was one of those cheap Groupon buys) and I don't have the manufacturer info as of this time.
Currently in Windows Device Manager, it is showing up in Other Devices as Android. The device status says

The drivers for this device are not installed. (Code 28).

Windows couldn't automatically find an updated drive and the generic Google drivers didn't work either.
Does anybody know where else to go about finding drivers that  may work?
Here is the information that is available via Settings->About tablet:

Model number: MID
Android version: 4.0.4
Baseband version: 2.1rc
Kernel version: 3.0.8+
tt@tt-System-Product-Name #68
Mon Aug 5 13:36:51 CST 2013
Build number: nuclear_evb-eng 4.0.4 IMM76D 20130725 test-keys

It's very similar (looks the same, specs are a little diff) to this generic tablet

I was able to use a Samsung driver.

Go to Device Manager, find the Android device, and select Update Driver Software.
Select Browse my computer for driver software
Select Let me pick from a list of device drivers on my computer
Select ADB Interface from the list
Select SAMSUNG Android ADB Interface (this is a signed driver). If you get a warning, select Yes to continue.
Done!

For good measure, I ran adb kill-server and adb start-server. Then when I ran adb devices I finally saw a device listed so I fired up IntelliJ and all is good in the world again!


text:
Accessing temp files created by an application
I have an application that I know writes temp files to the data/data/app-package directory. Using a file browsing app or windows explorer it seems these directories are sufficiently protected.
Is there a way for a power-user to access these files? Any unusual methods welcome.
So far it sounds like: Step 1 - root. Step 2 - ?, Step 3 - profit!

The /data partition on most Android devices is usually inaccessible without [tag:rooting].  You would need to post your device's make and model number for us to recommend the best rooting methods.

I have a moto g and samsung tab 3. Do you have general steps to root? I'm not necessarily interested in a device specific process, but more the possibility/general process of this.


text:
Factory reset generic android device
I have a cheap generic Android tablet (a Groupon special) that won't boot. My theory is that the storage is full because this happened to two different tablets after installing apps. update: I learned how to use adb to remove apps and this problem persists.
It gets to a Android logo screen in the boot process and hangs there. The only hardware buttons available are the Power and Volume buttons. I have already tried holding down the Power + Vol Up + Vol Dn buttons, and that does not reset the device.
I tried adb reboot recovery, but that only reboots the device and then continues to hang at the same screen.
I tried adb shell recovery --wipe_data. This causes the screen to flicker a moment, and then I get a Segmentation fault.
I'm stuck. I'm not a big Android guy so all this is from searching online and I don't quite understand what all is happening. Any other tips are GREATLY appreciated!!

adb shell won't let you connect?

adb shell will let me connect, but if I call recovery --wipe_data I'm getting a seg fault.


text:
Zenfone 2 stuck on USB logo
I tried to flash Zenfone 2 but instead of writing droidboot.img I sent an .exe file. And now when I try to get into droidboot (Volume + Power button) the device gets stuck at USB logo.
Whatsoever I found online is related to Zenfone 4|5|6 and not Zenfone 2
How can I access droidboot again ?
(Click image to enlarge)

Wow, this sounds a little bit like a hard brick. Were you ever able to recover the phone?

Long press the power button. Phone will turn off. Then press power button and volume up button simultaneously, till the asus logo appears. Then you will enter the recovery mode. Reboot from there(press power button after navigating to reboot using volum up/down)

I already explained ,there is no recovery mode because I already erased it in a previous attempt7 to rewrite it, but i used a wrong file to rewrite, so the recovery mode is gone and the phone never enters in


text:
Loading from External SD / Saving to ExtSD
I rooted my device, an Android off-brand tablet, and finally found a way to get all my files onto my 32gb SD card instead of the internal SD. However, it says my apps aren't installed now when I click on their icons. Also, new apps install to the internal SD and not the external, despite changing set-install-location to SD. (Tried to change the set-install-location to ExtSD but wouldn't do it.)
The whole point of  buying that SD card was because the space was so insufficient. It boasted 8gb of space plus a MicroSD jack, but I can only use half that space since it's partitioned, so I'm not going to be moving any of the apps back. There simply isn't space, and I'm not uninstalling apps I need/use often. I'm confident there's a workaround somehow. (Sorry, anything I'm finding on Google is people replying with "move it all back"  basically, and I'm getting annoyed.)
I was thinking either I could have Android just use the 32gb instead of it's own storage, and use the internal storage as "SD", i.e. swapping storage. I don't plan on ever removing the Micro SD, as I said, it was bought for this purpose. If that's not possible, maybe there's something I can do to tell Android, "Hey, all the apps are here"?
Thanks, this is endlessly frustrating!
PS: Using Android 4.4.2


text:
how can I know which Gmail account was on my Android device?
I had a Gmail account active on my Samsung S3. I made backup of contacts , and I uploaded them on my Google Drive account. I later did factory reset on the device, and I can't recall which Gmail account was setup on my device!
Is there anyway that I can come to know which Gmail account was on my Android device?

Do you have many Google accounts?

2 only, but I'm not sure about the 2nd one..  I tried to retrieve the password, but I failed to do that!

Go to Android Device Manager on your PC and log in with every Google account you have and check what account has your phone in it.
In Android Device Manager just log in, check for the device, if not there, try with a different account.
Screenshot:

Android Device Manager: click here.
Hope my answer helps.


text:
Toast: MMS cannot be sent/received when mobile data is disabled -- shows up at every boot in Moto G XT1033 running Lollipop 5.0.2
Details: Moto G XT1033 with
Android Lollipop 5.0.2
Is there something wrong? Why would any app request this feature just exactly when I turn my cell phone on?

(Click image to see its larger variant.)

have you installed an app from unknown sources on your phone??
if you have, then you should install an anti-spyware app to find if there is a spyware in your phone.

This is normal.
What it's saying is "if you want to send/receive MMS, turn mobile/cellular data on".
I don't know how to disable this toast.