text:
How to display Python script output on screen, similarly to Conky
I use Conky as a desktop monitoring software. I also use it to monitor stock prices and portfolio net worth through a Python script.
Basically, I fetch the stock prices from Yahoo Finance using curl.

$ curl -s 'http://download.finance.yahoo.com/d/quotes.csv?s=vwrl.as&f=l1'

Then I input that to a python script that returns a float.

$ python /yada/yada/myunoriginalscript.py
42.0

Conky handles this quite easily and displays it on screen. I know that curl can be made available for Android and I've ran Python scripts in the past.
Is there any widget/app/technique to display the output of said python script on screen continuously and not only on the terminal, whenever I run it manually?

How so? I want to display some data on my android phone. Which SE site should I post this question then?

Still: recommendations like Is there an app for X are off-topic here (see What topics can I ask about here? for details). For where your question might fit better, you might want to look into Where can I ask questions that aren't Android Enthusiast questions?. With the correct phrasing and details provided, you might try your luck at SR. The other half is a development issue, and also off-topic. There's nothing built-in for that.

Well, I was hoping no need for apps, looking for some built-in software feature to display whatever the script returns on the status bar next to the clock or similar... I guess I might look for it on Stack Overflow. I will keep the question open just in case has some insight to offer and remove it afterwards if there is none. Thanks for pointing me in the right direction.

I'm afraid there is no built-in feature for that (after all, there's not even built-in Python support). That's why I recommended checking with Software Recommendations (make sure to read their guidelines before posting there). I know there are several apps for Python support; some might come with widget stuff (though I've never heard of them either).

In the end, I installed SL4a and used one of the the GUI functions that appeared on the 'test.py' sample script to display the information. I like the terminal, but this way is quite nicer.

That's exactly what Blighty does https://github.com/P403n1x87/blighty.
Here is the documentation https://p403n1x87.github.io/blighty/

What is your connection to this app? This post seems promotional. Are you the developer, company owner, other? Is there a conflict disclaimer needed here? Please see Help about promotional statements made here.

I am the developer


text:
How to use GPS to remind me to shop for something?
In my town I have to do a lot of shopping in a lot of different places. Sometimes I find myself wanting to remember to buy some things when I'm passing by a certain place.
Is there some easy and free way to achieve this with an Android phone?

I have often been wanting an application like that. But I would primarily want location to be decided based on WiFi SSID rather than GPS coordinates, since most of the time I have WiFi enabled and GPS disabled. I also find it easier to remember the SSID than GPS coordinates.

@kasperd Android will use whatever location services you have enabled.  I don't think any of the answers are restricted to GPS.

Lots of choices here for Location based reminders :)

Google Keep is a free application that allows you to take notes, and create location or temporal reminders that will trigger the notes.

Google Inbox also has this feature built-in.

I have used Keep with good results when I gave it a precise address, but once I set a location reminder "When I'm at CityName", and I didn't get the notification until several weeks later, when I just HAPPENED to be very near the center of the city.  I absolutely LOVE Google Keep, but this was disappointing.  :-\  Maybe they have improved it in the mean time, but I'm still a bit leery of trusting location reminders myself.

Google Now also has this feature (location-based reminders)

You can do this via Google Now or even via browser. Just say "Remind me to buy ice cream the next time I am at Fry's" and the next time you're at Fry's, it will remind you to get ice cream.
Most of the Google Now features are available via any browser as well. Just search Google for that same statement and it will offer to "Set a reminder" above real results.
Real handy and should be available on any phone running Jelly Bean (4.1) or higher, so likely most phones released in the last 3 years or so.

This is the most straightforward and convenient way, but I have found that it's not always accurate - sometimes I haven't been reminded until after I had left.

@StephenAngelico Yeah, I've tried it a few times over the last day and I've had the same issue. It's a bit disappointing

Shifu is a free android application available on Google Play Store that lets you create reminders in most flexible ways. Apart from location based reminders that you require, you can also set reminders on Calls, Wi-Fi connectivity etc.
It has other interesting features too, check it out.

Tasker was designed for this type of thing, but I'm not sure I'd call it simple.
I use it to prevent the phone ringing (auto hangup) when maps and USB power is on the phone... when I'm driving.

If possible, explain the steps to fulfill OP's question. You don't need to describe in many words, just a simple "Tap , select " should be enough.

source: Stack Exchange

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

authors: Алексей Кирюхин

sort: votes


text:
What is an android ROM?
I know this question is answered all over the web however I don't understand why its called a custom ROM.
Isn't the android OS partition stored in read/write memory? but just classed as read only memory by android so you cannot modify it with regular user permissions.
If so, a custom rom isn't actually modifying read only memory, so why isn't this referred to as flashing a custom os?

possible duplicate of What is the difference between: Rooting, Jailbreak, ROM, Mod, etc.?. Also see https://android.stackexchange.com/questions/97528/rom-on-android-phones-isnt-really-read-only-right?rq=1

As mentioned on Android Police,

By the way, the word ROM means Read Only Memory, but has migrated in the modding community to mean an actual custom OS image that you install into the ROM area of your phone.

For me, the reason I still use the word ROM is that the image you flash contains the entire contents of the read-only system partition which would be called the ROM.

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


text:
How to hard brick an android phone (Galaxy Nexus)?
I'm trying to figure out whether or not I managed to brick my android phone, a Galaxy Nexus*.
Using ClockworkMod Recovery, I pretty much erased everything I could find (/data, /cache, /factory, /system, /boot, /sbl, /xloader). If I reboot now, will I still be able to boot into ClockworkMod? Specifically, /recovery is not on said list.
I am trying to find information on how the boot process works, but it is very hard to discover around the web among all the end-user specific noise. As far as I understand it, there is a stage-one bootloader in an actual ROM (emphasis on read-only), but I do not know whether the fastboot-functionality is contained in it.
Hypothetically speaking, if I were (able) to zero every block of the internal SD-card sans the read-only ROM, would that brick the device?
To my knowledge, as long as I can still get into fastboot, the device is not bricked? If all this fails, can I use special hardware to restore it?
*: I should note it is currently powered on and has loaded the ClockworkMod Recovery. I believe I could get it back to working order, but I really want to find the minimum amount of software I can get away with.

....... Why? Alright, you said why, but still..... I have never heard of intentional bricking. If you can't restore it, what are you going to do?

As it says in the text, I'm not intentionally bricking it; I just erased a bunch of things and am now wondering whether or not that did actually brick it. -- The whole "can I brick it?" question is just me trying to figure out things from the other end.

Ok, but (assuming you do brick it) this is an intentional brick. Have you tried rebooting it?

@DanB I have not rebooted it yet, since I am still inside the RecoveryMod, where it should be fairly easy to fix things. If it does turn out to be a brick, rebooting would close my door back in, so to speak.

Fair point, but it would be the only way to check :( I just looked at my recovery, and found I had stopped the wipe of anything :)

Hello , "hard bricking" describes a completly unfunctional phone. If you can still power it on then it is not hard bricked. Hardbricking a phone is rare these days but when android modding was started it was a real fear. Like you said, if you can access the fastboot, the device is not bricked. Users often use the term "hard bricked" when their device is not booting up to android anymore. But as long as they can access the recovery or the fastboot option the correct term to use is softbrick. I Don't think that these partitions you have erased will brick your device, but I never had a nexus.

Hi, i was just curious about what you're working on. If your block/patition layout is like my device then dd if=/dev/zero of=/dev/block/mmcblk0 will brick your device hard in a few minutes.

"all the end-user specific noise": Uh-oh. I hope you are aware that this here is a site dedicated to those "noisy end-users" :) Taking a look into our boot tag-wiki will lead you to Can somebody explain the boot process of an Android device?. Isn't that what you are looking for? It should be pretty obvious that by wiping /boot the device no longer "boots" (not even to recovery). The fastboot mode might still work (fail-safe for re-flashing), though.

As far as I know, your device is not that hard bricked, that you can't boot into the bootloader (fastboot mode). so at every time you should be able to install a custom recovery via fastboot flash recovery recovery.img. if you are in recovery mode with a working recovery, you can do a factory reset (reflash the system, root,... partitions from a protected image) and reboot your device. alternatively you can do a factory reset in fastboot mode.
note: if you erased everything, your recovery will freeze like if you pull off the hard drive from a running Linux. also there are partitions, you are never able to flash, as example the RADIO partition, fastboot or the one, containing the factory reset data. (RADIO partitions contains fine tuned configuration and management of the gprs, lte,... modem)

What's most interesting to me now is, if I powered off now without loading another image, would I still be able to boot into ClockworkMod? From how I understand your answer that should be possible. Also, is it impossible to ruin fastboot?

as I said, it should not be possible to ruin fastboot (if you unlocked the device via the proprietary way, the way, the hardware provider expected from you).

Alright, I rebooted and had to take out the battery afterwards (stuck with the Google Logo). Holding down VolUp+VolDown while powering on got me into the menu to select Recovery and my ClockwordMod is working.


text:
How to set default file opening application on Android 5?
I have Aldiko Premium ebook reader application and it's a nice app for reading epub ebooks.
I can't set it to be the default application for reading epub ebooks stored as files on my micro SD card.
Every time I open a epub from File Commander, I am asked which app to choose to open the epub. I also have Moon Reader, so that's in the list as well as Google Book and an option to Install UB Reader.
When I go into settings for the Aldiko app, there is no button to Set Defaults.
So how can I not be prompted to choose the app each time I open and epub.
Android 5.0.2, Sony Compact Z1.

Thanks Firelord for answering and for corroborating my findings. Appreciate your time certainly.
I'm not using FileCommander anymore for reasons as explained the underhanded approach to forcing users to use their reader.
I've found a solution I am happy with: I use Speed Software's Explorer Android App: nice app, nice design in combination with FBReader epub book reader. This combination works well, I can browse books I've organised in my own folder structure on my microSD card and click on them to open in FBReader by default. Also, I like it that FBReader doesn't import the books into its own library (i.e. make copies) that is not necessary, as I already have the file in my own folder organisation.

I'm using Android 5.0.2 as well and installed File Commander to know how it provides options to choose a default app. It uses Android's default way. I don't have an E-book reader but the solution should work for your issue.
When you tap a file having multiple apps registered to open it and none set as default, you possibly would be shown options like:
(Click an image to enlarge it)

You would've noticed that there are two options with low visibility viz.  "Just Once", "Always". Tap on your app entry once and choose "Always" to set as default option.
If you somehow cannot make it work like the way I mentioned, then you may consider ES File Explorer which would give you the option to choose default in the following way:

I get no "Just Once", "Always" links, only the apps to choose from. Not even in faint coloured text. Thank you for taking the time so far to help with an answer.

Hmm, I should've asked for a screenshot first than, my bad! Could you share a screenshot than?

When I try to screenshot, the "Open with" menu disappears, so I can't share it with you. It looks like yours but without the "Just Once", "Always" links.

OK, so are you open to any app based solution, like ES File Explorer I suggested?

Certainly, I'll take a look...

That works with a separate issue now. If I already had an ebook on the Aldiko 'bookshelf' then when I open that book through ES File Explorer, Aldiko says I already have it on my bookshelf with a button to dismiss. Well FFS can't Aldiko just ignore the fact that I have and let me still go through, perhaps with an advisory message. As For File Commander, I guess makers of File Commander, MobiSystems have disabled the Just Once, Always options to encourage people to install their UB Reader.

I see the issue now. You were right that File Commander has tweaked those options, and what's more, Aldiko doesn't accept the epub even  when I tried three different file managers, and made it default app for .epub file using this app. In that case, you would have to explicitly launch Aldiko to import the files by scanning the storage (pretty horrible coding design I would say).

+1 upvoted your answer and last comment - thanks for your time, I'll have a think and see what I want to do next and try to follow up here.

Let us continue this discussion in chat.


text:
Disabling "Storage space running out" notification in Status Bar?
Is there any way to disable the "Storage space running out" notification on Cyanogenmod 10.1.3 [Android 4.2.2], through ADB or otherwise ?

To permanently disable storage notifications, try long-pressing on the notification, go to App Info and uncheck Show notifications. You must do it through long-pressing.
If it is un-checkable, hit Force Stop and confirm.
This is a known method to get rid of Verizon's persistent Wifi notification: Similar Guide
Hope this helps,

Forcing stopping Android System got rid of the Storage notification, however the Show notifications checkbox is still not operable.

Yeah, according to many other posts on here, there's no permanent way to disable it. I'm surprised no-one has created an Xposed module for it yet. I'm going to plan on making one when I have free time.

Since the device is rooted you can install a compatible Xposed Framework1 and then the Xposed module NotifyClean. The app's description notes:

You could configure which apps are allowed to create notifications in the top left area, the notification area. If an app creates a notification it will be collected and added to the list.
You could deny all notifications of an app or only specific messages - if it's not a customized notification. So I used it to hide "waiting for connection", but not "you are connected".

Install the module, activate it in Xposed Installer app, reboot the device, wait for the "Storage space running out" notification, long press the notification → App info/details → note the app's label causing that notification. It may possibly be Android System.
Now, launch NotifyClean → tap the entry of the app whose label you noted → select the notification you want to hide (it would turn red). Reboot and the notification would remain hidden.

1 Xposed Framework: Android 4.x, Android 5.x and 6.x

I've not tested on that particular notification but I don't suppose the app would fail for that notification.


text:
Skype is denied to use camera
My Skype on my Android 4.4.4 used to work fine, until about 2 hours ago, when it simply refuses to use my camera, flashing a message (AKA toast) that reads:

Skype is denied to use camera

What gives?
I didn't change or touch anything in any settings that could possibly cause this. Is this a bug?
What could have triggered it?
How do I restore my Skype-on-Android's capability of using the camera?
Thank you.

Some devices with Kitkat can be found with Permission manager in Settings. If it is enabled and an app asks for a permission that the manager is required to scrutinize, you might have inadvertently blocked it, or could be default block for certain apps. Have you made certain this isn't your case?

@Firelord No, I have not made certain this isn't the case. I could swear I saw such permissions manager icon somewhere but I can no longer find it. In the apps manager there is a Permission Control app (236KB), it shows as running, it is NOT disabled, but I cannot find any way to show it or invoke it. I rebooted the phone, but that didn't help. What do I do now? Thank you.

Go to Settings -> Security -> App permission. It its enabled, it could be causing it. If its not, more troubleshooting is needed.

@Firelord Thank you! I found it. And enabled it. Turns out Skype was on Always deny. I have no idea how that happened. Interestingly, App Permissions in Security was grayed out while ON! I had to turn it off first, which got me a security warning that I am going to lose manual control over apps. I proceeded with Yes anyway, then turned it ON again, and only then I received the familiar list of permissions to control. Please post this as answer so that I can accept. Thank you.

Done posting the answer. :-)

Some devices with Kitkat can be found with Permission manager in Settings. If it is enabled and an app asks for a permission that the manager is required to scrutinize, you might have inadvertently blocked it, or could be default block for certain apps.
To ascertain that Skype is denied the Camera permission or not, go to Settings -> Security -> App permission. Your device might have another name for it but possibly should be at similar location. See if its enabled or not. The situation might also be similar to questioner's:

Turns out Skype was on Always deny... Interestingly, App Permissions in Security was grayed out while ON! I had to turn it off first, which got me a security warning that I am going to lose manual control over apps. I proceeded with Yes anyway, then turned it ON again, and only then I received the familiar list of permissions to control.

It its enabled or similar to the one mentioned above, then either disable it or find your app into it and change the camera permissions.

Thank you. I don't have enough points to upvote your answer, otherwise I would.


text:
ADB sideload and fastboot uses. What's the difference?
1) If i want to flash a stock rom what should I use adb sideload or fastboot. I have seen on youtube people using both of these. Are both of these similar or different. Sorry if this sounds stupid but I'm a noob and I'm very confused.
2) Do i have to unlock bootloader for flashing stock rom.
3) Does fastboot oem lock/unlock command works on every android device.

Folks consider adb sideload <ZIP> when they have a ready to flash .zip file. The command is mostly used when booted into Recovery mode.
Fastboot on the other hand often deals with per partition flashing at a time. E.g. fastboot flash  recovery <IMG> -- only flashes Recovery partition and not all the relevant partitions for ROM installation. ADB sideload <ZIP> usually does full ROM installation in one go.

You unlock the bootloader only if it is locked. Google Nexus devices comes with locked bootloaders while some Chinese Mediatek devices comes unlocked. You've to search web for your model.

No, the command doesn't work on every Android device. The reason is 2.

So can i achieve full rom installation like "adb sideload" with any specific fastboot command.

@ANURAGBHASKAR As long as you have all the related files (must be flashable via fastboot like .img, .bin) you can flash them using fastboot, and Stock or whatsoever ROM to which they belong would be installed. E.g. This zip has files that can only by flashed through fastboot, while this zip can be flashed using adb sideload or via "install zip" of Recovery. Both would achieve the same result (installation of Stock ROM) in this case.

@Firelord "the reason is 2": yes, sometimes. But sometimes it's 4: device is locked, but manufacturer took precautions to disable unlocking. Sad but true. +1 nevertheless :)

fastboot help | grep zip ;
update                         Reflash device from update.zip.

@user1133275 care explainining what you mean  by that comment, and why the downvote, if that's yours?

ADB sideloading can be used to push a ROM into you device via you PC. Fastboot can flash a ROM (Most likely stock) by installing each parts one by one.

I have edited and removed the spammy link. See https://android.stackexchange.com/help/promotion

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


text:
What does the command `adb sideload FILE` do?
I am reading a tutorial on the sideload command at link.
It contains the steps of rebooting into recovery mode and using adb sideload [file].zip.
My question is that what does sideload actually do with that zip file ? In the past I have compiled AOSP and flashed a device using

adb reboot-bootloader
adb fastboot flashall -w

Is sideload trying to achieve something similar to the above ?
Edit:
I think my confusion relating to sideload stems from my lack of understanding of how Android's memory is structured. I found two links.
First is a link that explains Android partitions : partitions
Second is a SO answer, that explains Android's memory: memory
Now my understanding so far is this :
Android has RAM and ROM. ROM is divided into several partitions, namely, /system, /data, /boot, /recovery, /cache, /misc and /sdcard.
Now the link relating to sideload states that this command installs a zip file.
What I don't understand still is that, is this zip file, going to replace the entire ROM in Android ? Namely, will it have to have the right partitions as in the list above ?
This also makes me confused about a similar command 'fastboot flashall'. I know when I run it, the terminal goes by saying its writing to several of the partitions. So my questions boil down to these :
1) Is sideload replacing entire ROM ?
2) Is the related command 'fastboot flashall' also replacing entire ROM ?
3) Are there ways to replace select partitions ?
Thanks.

Adb sideload command just loads a zip file from the computer to the phone. The creator of the zip controls what it does (the recovery just uploads it from the computer and looks at a specific file).
You can do a lot with it, but it's not a full rom, it's cannot replace a rom.
Here is an example of an update.zip I once wrote and sideloaded it to a phone:
mount("yaffs2", "MTD", "userdata", "/data");
delete("/data/system/gesture.key");
delete("/data/system/password.key");
ui_print("Done!");

It deletes a couple of files, and prints a successful result.
2.The command fastboot flash all can replace an entire rom, because it does a bunch of operations like format a partition and install a new rom. But you can flash other files that don't do those things (but often this command do exactly that.)
3.You can do a lot of things in the adb command line, like delete a partition a flash or just copy something else to it. What exactly do you want to do? On which partition?
Hope this is helpful, and check out the android developers page on adb ( http://developer.android.com/tools/help/adb.html ).

That page has no mention of sideloading.

@Nir Thanks for the example of the zip file. Do you have a list of commands that can be used in the zip file for sideload ?

@ChromoZonX sideloade is relatively new command. Here is another article with for 10 basic adb commends: http://www.androidcentral.com/android-201-10-basic-terminal-commands-you-should-know

@Jake you need to write the commends in a file named 'updater-script' inside the update.zip file (in the path META-INF/com/google/android/). Here are some of the commends that you can write in the 'updater-script': http://forum.xda-developers.com/showthread.php?t=936175 and http://forum.xda-developers.com/showthread.php?t=1669489 and i think this can help you too: http://androidforums.com/galaxy-prevail-all-things-root/557602-edify-script-language-reference-updater-script.html

It allows you to flash new firmware or install apps you have developed with the Android SDK.
This is discussed in my question here:
Alldaymall A88s popping up a bunch of junk from PornClub. I have it rooted. Now what?


text:
What's the name of the manufacturer of my really cheap Chinese tablet?
I recently got into high school. I've received a really cheap Chinese tablet as a gift. I can conclude this because it's Box just says "Android Tablet PC". No model name, No manufacturer name, NO NOTHING...!!
As the latest need of new generation and 21'st century, it is really dumb, 'cause it stuck with stock Android 4.1.1 ... It won't even upgrade to Android Jelly Bean(4.2.2).
As the new Android Kitkat (4.4.4) is in the market, I really want to upgrade to that android.
It specs(Personally-made)..
Supports Wi-Fi, GPS, but no Bluetooth.
Has 1 GB internal storage, NAND Flash of 5.32 GB and it even supports a SD card.
It's RAM is 1 GB
It's Model Number is AM818RC
It's Kernal Version is 3.0.8+
It's Build Number is rk30sdk-eng4.1.1 JRO03H 20121228.140006 release-keys...

It's not possible to guess the "name of the manufacturer", as they have not even provided that information on tablet itself.
If you want to use Android Kitkat on the tablet, you can TRY some custom ROMs such as CyanogenMod, with any available binary image for a tablet with almost all specifications same as your's, including processor, RAM, NAND etc.
And I'm not sure whether this will work or not. So make sure to have a complete backup.

I have an extra 8 GB SD card on which i can backup...By the way.. HOW TO DO BACKUP YOUR APPS + APPS CACHE (e.g = Your record of subway surfers....Your points in HILL CLIMB RACING...etc.)
could you also tell me how to download and use CYANOGENMOD.
I could also give you my email to send me a detailed process of downloading and using it to upgrade to android 4.4..Regards

CyanogenMod is a custom ROM.  You have to find the right version yourself: http://download.cyanogenmod.org/    And use Titanium Backup or MyBackup Root to backup data.  You have to be rooted.

According to a quick Google search based on the model number you provided, this might be Oracom Korea's AM 818 8" tablet.

As KeshavaGN has said CyanogenMod is a safe option(provided you have read the risks associated with it) to root your phone to Android 4.4.4(Kit-Kat) but a small note of precaution is that the kit-Kat OS occupies a min of 3 GB space so later you will not have enough storage on board.
(As given by your specs you  will have only 2 GB free of storage space for your own use to download other apps)

great then why didn't you include it in your question that you can expand up to 16 GB.

I wrote "it even supports a SD card"

Dear Atta "it even supports a SD card" doesn't specify how much GB space your device can support.If you end up having an SD Card more then its limitations then the device starts to lag a lot.So for best answers plz write the complete details of hardware/software.

Thanks 4 d Tip....
I have an extra 8 GB SD card on which i can backup...By the way.. HOW TO DO BACKUP YOUR APPS + APPS CACHE (e.g = Your record of subway surfers....Your points in HILL CLIMB RACING...etc.) could you also tell me how to download and use CYANOGENMOD. I could also give you my email to send me a detailed process of downloading and using it to upgrade to android 4.4..Regards

ANd 1 thing more... it has smthing "rock chip'in it.. i dunt know whether its a processor or a rom...


text:
What missing libraries would cause ADW and Launcher 3 to fail to start?
I'm trying to install ADW or Launcher3(or really any other launcher) on a device
Whenever I start ADW or Laucncher3 from am it just keeps looping back to 'Complete action using' regardless if you say just this once or to save the default.
The only way anything happens is if you select the OEM launcher again.
It seems like maybe I'm missing some core libraries.
What missing .so or apk or jar etc might cause this? How can I get an alternate launcher to work? I have tried adding Velvet.apk and a gcore.apk but it seems maybe it is more low level
Logcat shows a null pointer error and then the launchers force closing and also:

E/AndroidRuntime(  928): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.launcher3/com.android.launcher3.Launcher}: java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x12
I/dalvikvm(  928): Could not find method android.appwidget.AppWidgetManager.bindAppWidgetIdIfAllowed, referenced from method com.android.launcher3.Launcher.a

What device are you using?

it is a rockchip 3066 based device and it runs arbitrary Apks(provided the dependencies are met) such as open intents file manager

On xda someone has a set of tools/instructions to determine the dependencies:
http://forum.xda-developers.com/showthread.php?t=1476797

The manufacturer of this device doesn't claim that it's an Android device, and the error you're seeing indicates that standard parts of the API framework have been omitted. It looks like they're using a heavily cut-down version of AOSP. Unless you can find or port a full Android ROM to this device, you won't be able to get these apps working. You might have better luck with apps written for older Android versions which don't use so much of the framework: in particular, the missing function in this case was added in Android 4.1, so a launcher older than that might work.

I guess I'm looking at this as a step towards the rom process, I was really hoping for the direction as to WHICH api I might need to implement or find--more than what I already know that it's missing something

That really changes the nature of your question. If you want help along those lines, you should [edit] your question to give the full details of what you're trying to achieve. Saying it "has a fairly customized launcher" really isn't enough information to start.

I don't think it really matters what the existing launcher is as much as what dependencies that ADW and or Launcher3 has right? I do indicate that I think I'm missing core libraries in the question, but maybe I should clarify

Exactly. The launcher is a red herring: your question is really, "I have a device running a cut-down hacked Android, is there a way I can get real Android on it."


text:
How can I disable the low-battery sound in Cyanogenmod?
I have a rooted Samsung Galaxy S3 running Cyanogenmod 11 (20140804-SNAPSHOT-M9-i9300). When the battery hits ~15% or 5%, an alert appears with a warning sound. How can I disable this warning sound (without removing the popup alert)?
I've tried removing /system/media/audio/ui/LowBattery.ogg; this did not prevent an alert sound, but the sound did change, perhaps to a fallback. I also tried installing "Suppress Low Battery Sound" (aka "Disable Low Battery Beep" via the web browser), but this had no effect either. I tried installing Sound Manager, and turning the system sound down, but this also had no effect.

As per advice from Narayanan, I replaced /system/media/audio/ui/LowBattery.ogg with another .ogg file. The next time it was triggered, the new file played.
I then tried placing an empty file at /system/media/audio/ui/LowBattery.ogg, but this did not work.
Finally, I downloaded a slient .ogg from here, placing it at /system/media/audio/ui/LowBattery.ogg. This worked perfectly.

I see Sparhawk wants to disable the warning sound alone and not the popup. I stumbled on an xposed module which will disable both. I just keep this posted just in case if Sparhawk wants to slightly compromise on the requirement and also probably will help others who read this post.
Text from the post:

Disable the Low Battery Alert with Xposed POSTED OCTOBER 13, 2013 AT
12:30 AM BY WILL VERDUZCODIFFICULTY:1
Disable the Low Battery Alert
with Xposed There are plenty of Xposed modules out there. Their
purposes range widely from adding previously device-specific
functionality to patching bugs, and everything in between. This is, of
course, all made possible by XDA Recognized Developer rovo89‘s
fantastic Xposed Framework (thread) . The framework allows developers
to create a module APK that is able to make a modification at runtime,
while leaving original files intact. Both a boost in ease-of-use and
user safety, Xposed makes device modification into a click and reboot
affair.
A new Xposed module from XDA Senior Member defim has appeared, and its
purpose is to remove that annoying low battery popup alert that you
are given when running low on juice. Yes, being notified that your
battery is running low is generally useful. However, for those of us
who actively look at the battery meter in our status bars, it’s a bit
redundant. Furthermore, if you happen to be in a call when you receive
this alert, it will generally turn on your screen, thus reactivating
the touch sensor. For yours truly, this has resulted in accidentally
ended phone calls, unintentional muting, and more.
The module will work on any ICS+ device with Xposed Framework
installed. Simply install the module, activate it, and reboot. To tame
your low battery alert, head over to the module thread.

The exposed module is available in this XDA thread.
Update:
I happen to notice that with GravityBox You get an option to disable sound alone. The screenshot of that option is as below:

Thanks for the link. I did come across this in my searches, but as you acknowledge, it doesn't exactly solve my problem. I do like the popup, just not the sound. In fact, if forced to make a choice, I'd prefer to keep both rather than lose both. Cheers anyway.

Your advice in the comments of the other answer led me to the solution. I started editing the information into this answer, so that I could accept it, but I thought that such a large edit would be rejected. Perhaps you want to edit my answer in, or copy-paste into a new one so I can accept and upvote? Cheers.

GravityBox is not recommended with Cyanogenmod because of the heavy customization of the latter.

Well, I am not going to take credit of this answer, I just googled out the answer of this question.
Head over to the /system/media/audio/ui it will have LowBattery.ogg file rename it to something different like LowBattery.ogg.bak or something else. It will not bother you.
PS: You need to be a rooted user to do that and yes removing the LowBattery.ogg try renaming and let me know about it !

How does renaming it differ from removing it? They are essentially the same. In any case, I "removed" it by moving it to another location, which is equivalent to renaming it in Linux terms.

Well, at least I think you can give it a try ! Who know if it may solve your issue !

I am just wondering why sound is heard even when the OGG file is removed. My guess is probably it fall back to some other file or a hard coded value. Instead of removing try replacing it with a known sound file. If this works, you can generate an OGG file with silence and replace.

@PeterCarlos Well, perhaps post up your reference at least. Also, I'm quite familiar with Linux, and I cannot imagine how this could work. Perhaps the inode of the file would be consistent, if it were moved in a particular way, but even then, I cannot imagine how this would be relevant, since we want the absence of a file, not the presence.

@Narayanan I think your guess might be correct, although it's a very strange way to code it. I double-checked the file I moved, and it's the same sound. I tried putting in a different sound, and we'll see what happens. Another possibility is that it's cached somewhere, and I need to delete this file, or refresh the cache.

@Sparhawk In that case I can't comment more over it as it looks like I just ran out of options. I would say maybe you should wait a bit more while and see if someone else over the community can come up with some new ideas.


text:
CyanogenMod HTC One X+ can't boot
What I did so far
Today I'm trying to get CyanogenMod on my HTC One X+, however I'm stuck now.
I successfully unlocked my phone and the phone rebooted and everything was fine so far.
Now I wanted to put "cm-10.2.1-enrc2b.zip" on my HTC, which I got from:
http://download.cyanogenmod.org/?type=stable&device=enrc2b
and I followed this guide: http://wiki.cyanogenmod.org/w/Install_CM_for_enrc2b. However if I booted into recovery mode I still don't boot in ClockworkMod. I also can't select recovery, because then I will get a red exclamation mark (so I don't have a ROM backup, smart of me...). So I saw the note at the bottom of the tutorial which said "fastboot flash boot boot.img", which I did, however the only thing that has changed is that if I normally start my phone it gets stuck in showing the HTC ONE logo and just freezes there. My question is: How do I get CyanogenMod working on my phone?
Summary problems

Normal booting device stays stuck at HTC ONE logo
I don't have ClockworkMod working
I flashed kernel through "fastboot flash boot boot.img" (can't start phone normally anymore)
Not sure if "cm-10.2.1-enrc2b.zip" (enrc2b is HTC One X+) is in right location of phone.
In recovery mode I cannot select recovery (get red exclamation mark)
I can still get into recovery mode and fastboot. I'm still able to send commands through cmd (Windows)

ClockworkMod
HTC One X+ is not in the list of ClockworkMod: clockworkmod(dot)com/rommanager (Can only have 2 links)
flash boot
It seems I have to rename the /system/recovery-from-boot.p (to /system/recovery-from-boot.p-bak): android.stackexchange(dot)com/questions/18932/why-isnt-clockworkmod-recovery-sticking ,
but I cannot use an app like Root Explorer anymore, because the device doesn't boot...
cm-10.2.1-enrc2b.zip
How do I get this file on the right location on the phone by using cmd commands? I already copied manually to the phone storage directly in the first folder when you open your phone. Not sure if this is okay?
Thanks
Thanks for reading this and I really hope anyone can help me. How do I get CyanogenMod on my HTC One X+? I'm a bit desperate in what to do next now. Thanks in advance!

As for the lack of CWM, you might wish to take a look at its competitor, twrp, which seems to be available for the HTC One X+. Having a working custom recovery (the link is for enrc2b) should bring you a big step closer to solving your issue.

Thanks Izzy! I got TWRP working by using WinDroid Universal HTC Toolkit v1.1, but I don't know how to properly put cm-10.2.1-enrc2b.zip on my phone so I can flash the ROM. From my current understanding the only things I should do know is first flash the ROM and then flash the Kernel.

I'm not familiar with the device. But if it has an external SDCard, simply put the cm-10.2.1-enrc2b.zip in its root, then boot into recovery, chose to "flash ZIP from SDCard", navigate to and select the zip, and that should be it. Everything needed should be contained within the ZIP. To make sure, read the instructions on the corresponding CM wiki / download page again, but that's as it usually works.

It does not have an external SDCard, but it still has a folder which acts like an external SDCard. The problem is however, how do I put the zip in that folder? As I can not access it by HTC Sync manager. I can't boot my Android at all. What code (in cmd) do I need to push the zip in that folder?

In Windows command prompt try adb push [path-to-zip] /sdcard/

I figured out that adb doesn't see my device (cmd: adb devices), so somehow adb is not installed correctly (although installing it again says it already exist). So I'm trying to find the solution to that. I will post back when I finished solving this.

Glad combined sources managed to solve your issue – congrats!

Got it fixed :D with thanks to Izzy and Chahk
I did a lot of things so I'm not sure if I write down every step I took, but I hope it will help other users someday. This is what I did.
Restore manger
Install a restore manager (TWRP/ClockworkMod). I used TWRP which I installed by using WinDroid Universal HTC Toolkit: http://forum.xda-developers.com/showthread.php?t=2499926
(If you still have a working ROM, backup this now by booting in recovery mode)
Flash ROM
Check in cmd if your device is recognized with "adb devices". If not try "adb kill-server" followed by "adb usb". Check again with "adb devices". If recognized use "adb push cm-10.2.1-enrc2b.zip /sdcard/" (or your own ROM-name.zip)
Flash Kernel
Now you should flash your kernel, not like how I did it at the beginning. "fastboot flash boot boot.img" in cmd. (Check first if your device is visible with "fastboot devices".
Extra Tip
Install playstore with Gapps or manually by moving "GmsCore.apk + GoogleLoginService.apk" + "GoogleServicesFramework.apk" to /system/app/ and run a playstore.apk (in my case "com.android.vending-4.6.16.apk")

I was a bit too hasty about the extra tip about the app store. It runs that way, but still crashes when you try to download an app/update play store (settings --> build version). So I opened a new threat for this: https://android.stackexchange.com/questions/69018/minimal-apks-for-play-store

Gabriele did you find a solution? Sorry I wouldn't know either. I have something like 1 in the 20 boots this problem, but then I just try again. I don't know what the cause is either :/

@GabrieleBertolucci, although just now I failed to upgrade to CM11, I'm pretty confident that your problem is related to Gapps. See: https://forums.oneplus.net/threads/guide-cm11s-cm12-nightlies.231709/


text:
How to prevent phone operator from opening spam popups?
My phone operator, Movistar Argentina, is sending a lot of spam. I managed to block most of the SMS, however it has now also started opening ad popups on my phone (see below).

I've looked at How do I block this (carrier) advertisement dialog? but I cannot find the "SIM Toolkit" app anywhere on my phone to disable it. Is there any other way to block this?

Desactivate: adb shell pm disable-user com.android.stk
To activate again:  adb shell pm enable com.android.stk

On a Dual SIM phone I additionally had to use adb shell pm disable-user com.android.stk2 to disable both. By the way, the advice works and the SIM Toolkit applications do not reappear after phone restart.

If that can help someone, the app I needed to disable was /system/app/Stk.apk and it was called "Services SFR v4.1.2-LL__zg".

Sorry, I didn't understand. What do you mean by 'it was called "Services SFR v4.1.2-LL__zg"'? Isn't it just Stk.apk?

@LuisA.Florit, I guess it's a custom service by the phone operator (SFR), so it would be called differently on a different phone.

You mean the process/service, or the APK? How did you discover the actual name? I just renamed Stk.apk, but not sure if that will do it. La RPTMQLP a las operadoras de telefonia!!

@LuisA.Florit, to discover it I think I've used "Root App Delete". In there, you can open "System apps" and view all the apps, including those that are normally hidden. You can then search and disable the app from there.

Removed the APK  and disabled cell broadcasts. No more spams!

Stk is probably shorthand for SIM Toolkit

I closed it but looks like it opens again.

This generally seems to be done as a 'value added service' in the Andriod SIM Toolkit, as per  this question here.
However, in this case it may be a Cell Broadcast.

Cell Broadcast is designed for simultaneous delivery to multiple users in a specified area. Whereas the Short Message Service-Point to Point (SMS-PP) is a one-to-one and one-to-a-few service (requires multiple SMS messages, as each message can only carry one phone number), Cell Broadcast is a one-to-many geographically focused messaging service. Cell Broadcast messaging is also supported by UMTS.

If you go to your SMS app and go SMS > Settings > Cell Broadcast and disable it, this should stop this popup.

Unless your are root-ed, you won't be able to uninstall it. It is bundled with your SIM (damn modern world...) and you can only "force stop" STK services for current session: go to your Settings-Apps-All and stop "SIM Toolkit" and "Cell Broadcasts".
They will restart on next boot.

In my case it restarts right after disabling it (damn modern world)

Try turning off 'Cell broadcasts' under the SMS app's settings menu. (it was there in my Samsung TW ROM)

Try looking in Settings -> Apps -> swipe to the right until you get to the "all" tab, and then scroll down until you see "SIM Toolkit", at which point you should be able to tap on it, force stop it and disable it.

"SIM Toolkit" is not on my list. There is one with my Cell company name instead, but it does not allow to be turned off.

As it looks it may be a operator service (here in india called flash services/flash messages) you can disable it by contacting with your service operator or can be disabled by sending a message (methods can very from operator to operator)
or either it can be a cell broadcast
you can disable it by going to sms settings (cell broadcast in android version upto oreo )(wireless alerts on android pie)

This is a very obnoxious thing to get rid of, and never could get rid of it. I could surely freeze/force uninstall the app as root, but I ended up being unable to place or receive any calls, and ultimately got my phone soft bricked (if you reboot with it uninstalled). I did try to contact the carrier, they said they disabled it, but after some months the popups came back. Even as root, it's difficult to get rid of it, but I am sure there IS a way (at least as root).

authors: Божидара Дончева


text:
Plug physical keyboard to Samsung Galaxy SII

Possible Duplicates:
External hardware keyboards
Can I connect an Android phone to an external monitor, keyboard and mouse?
Bluetooth keyboard with Android?

Is there a way to plug a physical keyboard to my Samsung Galaxy SII? Ideally they would connect via Bluetooth.
I wonder if it is possible at all to do some advance text editing, something like programming on the phone, and I clearly feel that the virtual keyboard is a bit limited.

There are free apps that enable Bluetooth connectivity of keyboards like BlueKeyboard JP, Bluetooth Keyboard Easyconnect. There is also a paid app Bluetooth (Null) Keyboard. Try one of these for connecting your keyboard with your phone.


text:
Just enabled 2-factor authentication for gmail, now on my Android phone I get "Sign-in error" to my google account

Possible Duplicate:
Google's 2-step verification

As per today's Stackexchange Podcast I took Jeff's advice and enabled 2-factor authentication for my gmail account. However now when my android phone is complaining with a notification in the top bar saying:

Sign in error for XXXX@gmail.com

I assume this is a failure in my phone trying to sync my account.
Of course I try to enter in my password (unchanged after enabling 2-factor auth) and it fails. Is there something I need to do to get 2-factor authentication to work correctly with my android device? I looked through the gmail app settings and didn't see anything obvious.

Apparently I needed to generate an application-specific password for my Android phone. When logged into google on a web browser, go under "Account Settings". Then Select "Authorizing application & sites". Once there create a new application specific password under "Generate new application-specific password". The password will be displayed once. Enter it into the Android phone's password prompt, and you should be successfully authenticated. You don't need to remember this password, its only intended to be typed in once and "remembered" locally on your phone. Note you can go to the same screen to revoke the credentials you just gave your android phone.
This is covered by this video:
http://www.youtube.com/watch?feature=player_embedded&v=zMabEyrtPRg

I can't find any "Account Settings" after I login to google on mobile browser. I'm assuming you're talking about login to google.com (aka search). Can you explain where you find that link? Do you request for desktop version of the webpage?

@PedroLoureiro I accessed the page through my PC, not through my phone. I suggest watching the full video.

Thanks, I didn't have audio at that moment. I was trying to use this to resolve another problem but this won't make it. Thanks anyway


text:
How do I force stop an application downloading from Android Market?
As I posted Some of the applications are getting downloaded more than once ... I need to stop the downloading an application from the Market. Its really waste of time and waste of data(I use 2GB data plan for my mobile).
I restarted the phone, killed the Market app from Task Manager, but still no help. It still continues to download. After complete downloading its going to start download again. For this reason I wanted to stop the Download.
(Android 2.1)

Did you try clearing the data for the Market app?

@MatthewRead - No I haven't tried it. How to do that ?

Settings -> Applications -> Manage applications -> Market -> Clear data + Clear cache

@MatthewRead - There is no Clear Data. But Clear Cache is there and it shows 0.0kB.

Does "Clear Data" show up if you hit "Force Kill"?

Still no help. I tried to force kill. But it is not getting stopped.

Go to Settings... Applications...  Select Filter Options (contains All, Running, Downloaded).
This option can be chosen by clicking left/right option depends upon handset model.
Choose 'All'...so that you can see all applications. Select Download Manager; there you can click 'Clear data' button. It will stop all downloading applications.
Just now I analyzed and found it out.

In Setting > App > Running app > Download manager, click the Clear cache button. The download process will stop.

Not sure about the downvote, this answer seems worth a try.

Here's a random guess work on fixing your problem, at times I find myself facing this "bug". What I do is connect to wifi and just let it do its thing (download until it stops) then I disconnect and reboot. After that, I don't encounter it anymore. Well, I encountered it twice but that was it.
This is coming from an ICS user btw.

The fix is quite simple actually .You need to erase the downloadmanager's data.
Goto the download manager in Settings->Apps and clear DownloadManager's app data.

The application downloading continuously again and again Is quite annoying and quite common whether you are  using a Data plan(Mobile Data) or Wireless(Wi-Fi). I  had faced the same problem when updating the TrueCaller app on my Android device(4.1.2).The app had installed almost 4-5 times and all the time it installed only 65-70% and also wasted a lot of mobile data.My suggestion is the internet configuration is not proper or there is low network in your area.
Concept:-
For the problem to understand there's a small concept of data transfer in the internet.
In the internet there is two basic steps of data transfer
1)Uplink (up arrow) .
2)Downlink(the down arrow).
First the request will be sent to the server through an uplink. Next the server responds by sending the data through the downlink(in the form of packets).
You can see this when you are browsing the net there is alternative downlink and uplink of data and packets are transferred internally(you cannot see which packet is transferred and when but only confirm if all are received through a successful login or complete download).For this you will require a good network around you
If any one packet is lost/missing ( during downlink or uplink) then the play store keeps trying to update the app until you reach 100% of installation and you cannot stop the update until and unless you boot your device or click stop(Sometime even stop does not function) or even close your mobile data.
Solution:-

For this  switch off the connection(Mobile Data/Wi-Fi) for a while .
Make sure all the settings are correctly configured.(Plan is active,
having appropriate balance ,good network reach etc.)
Then switch on Mobile Data wait for the connection to be
established and check for an app whether it is installing or not. If yes then you can update you app which was getting re-installed every time.
If you still face the problem then in the app page scroll to the bottom where you will find a support mail id and contact them with your problem as well as a screen shot.
Once the app is updated then you shall not face any
problem regarding constant re-install in the.

authors: Светльо и Димка


text:
Why / When do I have to log in to Google?
Installed MyDocs, I can select my Google-account and see listings of my documents, but to edit something I need to enter a password.
Why is this?  When does it happen?
(I am constantly logged in to GMail)
I use Android because all this Google stuff is supposed to be integrated!

Edit: How can i know if an app is really integrated, and won't require separate authentication.

From the reviews on that app, it sounds like they're doing part of it in their app, and part of it by sending you to the website. This may well be two separate authentications.
The official Google Docs app is now part of Google Drive, have you tried that to see if it works more how you'd want? It doesn't ask me for any authentication when I use it.


text:
How can I delete backed up Google+ photos off of the phone?
How can I delete backed up Google+ photos off of the phone? I know Flikr has support for this, and I don't think there is a way to do this natively with Google+, so is there a 3rd party app or utility?

Using the Photos app, tap the hamburger menu (the three bars in the upper left corner), scroll down and choose On Device. You should be able to delete these without touching the backup. If you are prompted Delete Everywhere, select cancel, you are in the wrong place.
You could also use a file explorer app, such as ES File Explorer. Your photos are stored in DCIM>Camera. You should be able to select all and delete.
But if you are asking for something that will auto-delete them as you go, there doesn't seem to be a way to do this with Google Photos. Since they have recently been integrated with Google Drive, a new solution may arise soon.

You need to go to Google+ app and delete your photos from there.


text:
Why does Orbot need root for transparent proxying but OpenVPN doesn't?
Orbot requires a rooted device for transparently providing proxying to all applications, but if I understand correctly, the application OpenVPN doesn't.
I understand those two applications do different thing, but it seems to me that if OpenVPN can route all your traffic through a VPN without root, then Orbot should also be able to dispense with it.

AFAIK Orbot allows transparent proxying (specifically VPN) without root, but app-specific settings (inclusion and exclusion lists) are only possible with root permission because of the need to alter ip-tables.

No it doesn't. Transparent proxying with Orbot requires root

Well, I never used Orbot without root because of the specific lists where I can enable Orbot for some apps only and not for all. Transparent proxying hides the fact, that you are using a VPN/proxy, maybe that needs root.

This probably just boils down to the fact that Tor is not a VPN. Android has an API for apps to set up VPNs, but Orbot presumably can't leverage them. I'd guess it's working more akin to something like Wireshark, in that it intercepts packets system-wide and modifies them. Android does not have an API for that (AFAIK). I don't know the underpinnings of Orbot well enough to know if that's actually the case, though.

That API would have to be basically implementing the VPN layer. As long as an app gets to act as a network bridge, it should be able to route through Tor.

In fact, apparently this exists
https://github.com/guardianproject/OrbotVPN

Note my phrasing a bit more closely: the API allows an app to set up a VPN, not act as a VPN. As in, it allows applications to add new VPN entries to the system settings, just as a user could by hand, then enable and disable the connection and send/receive data though the system's tunnel. The app itself is not acting as a network bridge or anything of the sort in that scenario, it's just creating a configuration entry and flipping it on so it can talk to it. The OS is still doing all of the network routing. I don't know if Orbot needs deeper access to packets, but it sounds like it might.

@eldarerathis That looks like an answer to me – especially outlining the differences between "setting up" and "acting as". At least it makes a better "answer candidate" than the one answer currently existing here :)

Definitely, will gladly accept it as such

The problem here is that Orbot is built as a network proxy, rather than a VPN service, and Android does not expose any APIs for raw proxying of network packets.
Per the Orbot description on F-Droid:

Orbot allows access to Tor by accessing a local SOCKS or HTTP proxy. On a rooted device, the proxying can be completely transparent i.e. the app that accesses the network need not be aware of the proxy's existence.

The important distinction here is that Orbot is acting as a proxy, not a VPN. Therefore, it has two options for routing application traffic:

Work on an app-by-app basis, with the user setting up proxy settings on each app they want to run through Orbot. No root needed for that, since each app will appropriately route its own traffic to Orbot.
Work system-wide by re-routing all network traffic.

Android doesn't provide any APIs for accessing or re-routing arbitrary network traffic because this would of course be insecure. Therefore, Orbot must resort to using iptables firewall rules instead, which requires root access. A VPN app, on the other hand, is able to leverage the VpnService API to construct a VPN connection.
The main difference here is that the system is deeply involved in the creation and management of a VPN connection, even when it is initialized by a third-party application. The user must still approve the connection and the system provides a notification and information dialogs that (in theory, anyway) cannot be hidden or tampered with. The system is also responsible for setting up the virtual network interface that's used for the tunnel.
I am not entirely privy to the Tor protocol, so it could be that acting as a proxy is the only feasible solution at this time. If that is the case, then they simply cannot avoid the root requirement for system-wide routing.


text:
How can I get the refresh rate via ADB?
How can I use ADB to get the refresh rate of a device's screen?
For context: I'm working on a python script that is going to display how many dropped frames occurred while it was measuring. In order to calculate that, I need to know the expected refresh rate of the device's screen.

You can get the refresh rate through this command:
adb shell dumpsys display | grep -i mphys | cut -d ',' -f 2

Note that dumpsys display mentions refresh rate at other places too.
Derived from chr0m4k3y's answer on Stack Overflow.


text:
Check hardware performance S5 series
Is there an App that can be used to check the status of the hardware? I want to know the processor and memory performance.

Any of the top benchmarks on Google Play will do the job and give you results you can compare to other devices: https://play.google.com/store/search?q=benchmark&c=apps&docType=1&sp=CAFiCwoJYmVuY2htYXJregIYAIoBAggB:S:ANO1ljIgzRg

there is many methods like overclock,
it means you can check the performance or check the Power of Android hardwares.but, this is dangerous for users and then you can check the performance of this hardwares (as GiantTree said) ;
for example :
The best App (AnTuTu Benchmark - Google Play)
but, excuse us.there is one community for Suggested apps.you need to ASK this question on :
http://softwarerecs.stackexchange.com/questions


text:
Malware adding code to ga.js opens up random ads/websites?
A friend of mine just handed me his tablet saying that everytime he open a webpage the browser redirects to several advertisement page (or, it "adds" advertisements on the page).
This happens both on Chrome and the stock browser.
I used USB debugging to look at the browser request and I think I found the culprit. When the browser loads http://www.google-analytics.com/ga.js the actual code is different. See this screenshot (the green line is where ga.js should
terminate):

(and the added code goes on...)
I initially thought that some malware changed the hosts file and assigned a different IP to the google-analytics website, but this is not the case since when I visit the above link directly I see the correct JS code.
How can I track which app is doing this?

Is there any app managing network traffic like a VPN or proxy? Also try to access the webpages via https (if possible)

Via HTTPS the problem seems to vanish but I'll make sure and reply

I confirm that via HTTPS the problem vanishes (I tried with reddit.com that allows both HTTP and HTTPS, and via HTTP the page gets redirected). Also, the tablet seems to be pretty clean because the owner tried to clean it before taking it to me: the only apps explicitly installed by him are "Moon+ Reader" and "Mobile Security & Antivirus" (by ESET)

Then there must be something misconfigured. Maybe a proxy that is able to intercept HTTP traffic.

Following this I can see that no proxy seem to be configured: http://stackoverflow.com/a/21069032/747654, also: the proxy setting seems to be network specific, and the owner had these problems also when connected to his own WiFi...

OK maybe I solved it. I noticed that when the browser asked for ga.js the server response visible from DevTools was actually 304 Not Modified so I thought that maybe when I visited the page directly I would get the right file (but not when asking for ga.js from another page). So I cleared the cache. Now the problem seems to be definitively gone...

Now I wonder: maybe it was a network-related issue (the owner's network fetches the "wrong" ga.js, that will already be cached when connected to my network). But he had tested with his Android cellphone and the issue was not showing. I'll ask him to look again.

Maybe some app before the cleanup. The cache isn't emptied when you uninstall an app.

I believe this is caused by DNSChanger malware. You might need to reset your router and clear Google Chrome's data and cache to fix it. Take a look at this thread on Google forums: https://productforums.google.com/forum/m/#!topic/chrome/qn1wgcqaFWI

To test whether you are infected, try running nslookup google-analytics.com from the infected computer (or Android device) and compare the results for the same command run from another computer that you know is clean. Check if both IP addresses are the same.

Thanks @Vinayak, I'll pass this information to the owner (by the way: your comments might be fit to be moved to an actual answer)

In the end I found out that the router was vulnerable to the rom-0 vulnerability (to test if your router is vulnerable, use this).
So, the issue was most likely caused by someone (or something) who had complete access to the admin interface of the router. I've now updated the firmware (and the test is now negative).

Where did you find the vulnerability check? How did you check its authenticity? How do you know that there isn't anything going on behind the scenes? There isn't any type of info on the website, except "press the button". A little fishy.

That checker is mentioned in the paper I cited in the answer (in the paper they explain how to check the vulnerability, and it's reasonable that you can do it with a single button press, since all you need is an IP address)

I've encountered the above situation yesterday.
After lots of digging, got to this thread, and it led me to the solution.
Apparently, that one of the computers on the network I've visit, was exposed to a malware that modified the router settings.
The router was a D-Link 2760U/E with default  Admin / Admin login details.
Using the above credentials, the above malware has changed the "static routing tables" adding their servers to be a man in the middle.
All non SSL traffic had passed through their service which injected js into the page.
I've found  a GitHub page who shows the modifications and additions.
It took me a while to understand that all the traffic is coming from a DNS change attack - I have checked and verified that the computer is totally clean and no unknown process / services are running before and while the test.
One of the things they have done is to redirect all google-analytics.com traffic to their server, keeping them under the radar.
So how to resolve it:
Quick way:
Reset you router to factory settings - note it will erase all existing settings.
Long way:

Login into the routers web UI
Remove all unknown entries from the static routing tables
Change your login password for the router
Reboot your router.

I hope this post will assist someone.
Regards,
Liron

This might be caused by DNSChanger malware but that's dead now so it's possible that it's caused by some other kind of malware that messes with a computer's (or router's) DNS settings. Or maybe the router was exposed to the web (see remote management) and someone was able to hijack it and change its DNS settings.
If the same problem affects all devices (PCs included) connected to the Wi-Fi network, then I guess a router reset is in order in addition to doing a malware scan on all PCs connected to the network. You may use Malwarebytes Anti-Malware for that.
On the Android device, clear Google Chrome's data and cache after the router has been reset and the malware scan is complete. This thread on Google Product Forums might be relevant to the issue.
To test whether or not this is indeed a DNS hijack problem, try running nslookup google-analytics.com from the infected computer (or Android device if BusyBox is installed) and compare the results for the same command run from another computer that you know is clean.
Check if they both return the same IP addresses or in the case of Google, IP addresses controlled by Google. You can verify whether a given IP is Google's or not by doing a WHOIS lookup here: http://whois.domaintools.com/X.X.X.X (x.x.x.x being the IP address)


text:
Need to reboot Android to see new files
After recording with Field Recorder, I connect my Lenovo S6000L via USB to my PC. However, the newly recorded audio files in WAV format are not visible until I reboot the tablet. Android version is 4.2.2.
Is that likely an OS or an app issue? Can I avoid the lengthy reboot?

It's a bug in the app. Android has a thing called the media-scanner, which scans newly added files for metadata, so they can be included in media players, photo albums, etc. It relies on the app that creates the file signalling the media scanner process to scan the new file. If the app doesn't do this, the new file won't be added/visible.
If you look at other questions with the media-scanner tag, you'll see some ways to force a full re-scan, at the cost of draining the battery somewhat.

I installed an app called Rescan Media, and that did the trick, without reboot.

Pfitzinger Voice Design, the maker of the app, now told me that this is a feature, not a bug: "If you just check the option "Settings--Rec--Media scan after new recordings" then the media scan runs automatically after each new recording. Default is unchecked because the scan takes time and battery and is only necessary in cases like yours."

I'd suggest them to think about the changes to the media-scanner API introduced with Kitkat (Android 4.4), which lets an app define what directory to scan (IMHO the "old method", i.e. triggering a full scan, is no longer possible for user-space apps anyway). That way they could limit the scan to the directory the current/last recording was stored into, saving time and juice for that specific task.

@Izzy There was always a method for an app to scan a single new file, and it doesn't use much battery. The KK changes were to prevent apps triggering a full rescan, which uses a lot of battery. If this option in the app causes a full scan, instead of just adding the new files individually, that's still a bug in the app.


text:
How can I root LG G3
What do I have to do to root my LG G3?
There are multiple variants of this device:

D855 : International Version
D850 : AT&T
D851 : T-Mobile
VS985 : Verizon
LS990 : Sprint / US Cellular

To add to the How do I root my Android Device

DISCLAIMER: ROOTING YOUR PHONE WILL PROBABLY VOID YOUR WARRANTY FROM BOTH THE CARRIER AND THE MANUFACTURER. IF YOU DO NOT WISH TO ACCEPT FAULT FOR ANY ADVERSE EFFECTS OF ROOTING, THEN DO NOT READ ANY FURTHER. HERE BE DRAGONS.

For more information, and other devices see How do I root my Android device.
PurpleDrake is a set of scripts that will root your LG G3 device and optionally install TWRP recovery by TeamWin.
It works with just about all variants of the LG G3. You can see the PurpleDrake supported devices in their spreadsheet on Google Docs.
TWRP will allow you to easily apply new ROMs to your device. Which is especially helpful, since it is recommended that after you root you should disable OTAs.

You will need the USB drivers if you are on Windows:

Verizon
All other models

Download PurpleDrake Scripts (currently R03)
Extract the files to a folder you can easily get to.
Open the folder
Run PurpleDrake

a. OSX: Doubleclick purpledrake_osx
b. Linux: In a terminal.

chmod +x purpledrake_linux.sh
./purpledrake_linux.sh

c. Windows: Doubleclick purpledrake_windows

Follow the instructions from within PurpleDrake.
After running PurpleDrake, you will still have to install an app like SuperSU, as PurpleDrake does not include one.
Disable OTA [Source]

You will probably want to disable the OTA's. From here on out, if you get an update Over-The-Air, you may lose root, or worse, your unlocked bootloader.
From Dialer: 3845#*851# [Replace 851 with your device model number, 850, 855, 990]
Go to WLAN Test => OTA Setting => OFF

If you install TWRP, then you must be aware, you may run in to issues if you do not disable OTAs.
Some "patches" that come down from the carrier will still notify you even if OTAs is disabled. DO NOT INSTALL OTAs IF YOU INSTALL TWRP, YOU WILL GET STUCK IN A RECOVERY LOOP.
If you get stuck in a Recovery Loop because of an OTA, do not panic, these things always have a fix.
From the TWRP recovery terminal commands enter the following:

dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
  PRESS ENTER, THEN TYPE
  dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
  PRESS ENTER
REBOOT


text:
"APN settings are not available for this user"
My phone is a stock Nexus 4 from Google with the 5.0.1 Lollipop image from Google.
I've mistakenly hit "reset APN settings". Instead of resetting them to defaults, it wiped them off and grayed out the "add access point" button. I don't know what to do to gain access to this back.
I've tried launching the "Settings" activity from the terminal with root access (using the "su" command), see this answer, but the "Settings" activity crashes right after its launch.
What can I do? There seems to be a user permission problem. I'm using the only user account configured on this phone, besides the "guest" user.

Would factory resetting the phone be a viable option for you (losing all data in the process)?

Rather not. And it wouldn't guarantee this not happening again anyway, because the phone was freshly reinstalled  when I lost this permission.

I've found the problem: I had bad permissions on various MMS-related files that I've copied from a backup, especially inside data/data/com.android.providers.telephony/databases/.
Files inside data/data/com.android.providers.telephony/ have to belong to the radio group and be owned by the radio user. CHMOD has to be at least 761.

So how did you fix the permissions problem ?

IIRC files inside data/data/com.android.providers.telephony/ have to belong to the radio group.

This didn't work for me. When I changed permissions in the telephony directory to 660 from 751 and rebooted I got non-stop com.android. phone error messages

Try 761, don't downgrade any permission

I encountered a different solution, as this didn't work for me. I wrote it up on this related post


text:
Problem with connection to home Wi-Fi - how to debug?
My Android device (GT-S5570 running 2.2.1) is having connection problems with my home Wi-Fi network (ZyXEL adsl P-660HW-D1). The device connects ok, gets an IP address, and sees all other computers on the network (using Overlook Fing). I have good signal strength, and there are no conflicting Wi-Fi networks around.
However, ping results are rather mixed. Depending on the attempt results come back with packet loss of anything from 100% to 0%, usually one or the other, but something around 20% or 60% happens quite often too. This happens with all the devices on network, including the gateway. Other devices can ping each other just fine, independent of connection type (Wi-Fi or Ethernet wire).
There are also some other wlan problems with one (but only one!) of the computers: 1) It has some random touble connecting to the wlan (authentication failure), but when it gets a connection it stays connected without connection issues. 2) Sometimes ping results show some random packets with weirdly long latency, and occasional lost packet (<2% if even that). This would point to trouble with the Wi-Fi settings. However, the packet loss doesn't appear parallel: The Android can get packet loss while the computer at the same time reports perfect ping.
The Android device always gets a connection, and stays connected to the Wi-Fi even when it's getting 100% packet loss. The Android device also works perfect in any other Wi-Fi I've tried. Also, any visiting computer I've tried connecting to my home Wi-Fi has had no trouble.
The router has the original (which is also the latest) firmware, and I haven't meddled with the settings it came with - I woudn't know which settings to meddle with.
How do I debug this further? What Wi-Fi settings could be causing this?
(This also seems oddly similar to the trouble described in this question.)
(Cross-posted to Super User since while the main problem is with the Android device, the problem itself appears wider.)

It does seem similar, so: Has this always occurred? Did the device come with the version of 2.2.1 you have?

@Matthew Yes, I just got the device last week and it came with the 2.2.1. (No updates to 2.3 available, officially.) Also, the other problems (with the laptop) have always been there as well.

My Android tablet also stopped connecting to my home wireless and reports connection out of range even when sitting in the same room as my access point (AP). I've looked everywhere for a solution doing everything from restarting my AP and tablet, changing the PW and even security mode (WEP, WPK, etc) with no success. My AP is an old router set to AP mode and uses a single broadcast channel. I went in and reset the channle from 13 to 11 and VOILA! Instant connection with my tablet.

Use the combination of these 2 tools, it could be that the neighbouring Wirelles is interfering if that is the case you can chage the channels.
2 nice tools to use:

inssider
Fing - Network Tools


text:
How to fix "unfortunately , the process com.android.systemui has stopped" error?
Recently, I flash cm-11-20140504-SNAPSHOT-M6-maguro.zip to my Galaxy Nexus GSM. And I flash PA gapps. And after that, I used Titanium backup to restore  all my applications. However, I met this unfortunately , the process com.android.systemui has stopped error sometimes. How can I fix it without doing a factory reset.
PS. If I enter the recovery and clear cache, it will be OK. However it is too annoying to do it each time. Is there other way to fix it. Or is it a bug in this version?
Refer:

Unfortunately, System UI has stopped
http://forum.xda-developers.com/galaxy-s2/help/process-com-android-systemui-stopped-t1110673

I have been experiencing this as well on the same build/phone.  A user on this thread claims that M5 may be much less error prone.
I haven't reverted to M5 yet myself.  When this error loop happens to me, I hold down the power button and try to select "reboot" between the times when I hit ok in the "Unfortunately... " box.

This may the related bug: https://jira.cyanogenmod.org/browse/CYAN-4047

After reading the bug thread a bit more, the change that caused the problem seems to have been reverted in the nightlies after may 17.  I am going to try this build tonight.  Good luck.

Thank you for your answer. I flashed back to M5. It is much better and I never meet this problem again.

flash back to early version


text:
Is it possible to repack an .apk to install it in an incompatible Android version? ('there is a problem parsing the package'/have 4.0.4-requires 4.1)
It's about an .apk (Inbox by Gmail) that requires Android 4.1 and up.
Trying to install it in my phone which has Android 4.0.4
it shows that "there is a problem parsing the package".
I have enabled installing .apk from sources that aren't from the Play Store on my phone.
As I've read this is caused because the .apk requires a different device API level than that of the phone.
Is there a way to convert/repack the .apk so that it can be installed to my phone?

It'd be easier to flash a new version of android than to make something work on an older OS.

Short answer: No.
Simple repacking cannot solve the compatibility problem. If an app requires "at least Android XX", that usually means it needs some conditions not met before it. There are new OS features introduced with each Android version, libraries get additional APIs/features, etc. – nothing of that can be solved by "repacking" the installation package. If the (required) functionality cannot be provided by the Android version your device is running, the app cannot work (correctly) – even if you were able to install it.

While this may be true for many applications, the "minimum Version"-Flag is a setting which can be set to any value by the developer. Many professional apps will try to target a wide audience and support as many Android-Versions as they can. But often supporting an old version leads to additional support cost and testing on these platforms, so they will simply set the flag to "4.0" even if the app would run perfectly fine under 3.X - so changing the flag is a viable option!

That's also true, @Falco (the developer is free to set min and max API level to what he wants, basically). But even then, simple repacking wouldn't do the trick. Please note the error the OP included: there is a problem parsing the package – definitely pointing to a "newer feature being addressed" which the currently used Android version doesn't know about (or, of course, a broken package – in which case "simple repacking" couldn't solve the issue either).

Ok - I'm not familiar with the exact failure messages of the android installer. I thought the parsing error is a generic message for "something is wrong". - But even these features could sometimes be only relevant for certain parts of the application which the OP maybe doesn't even want to use, so extracting the APK, changing the Manifest/Configuration files and repacking it could be sufficient, which is of course not trivial and requires knowledge of the app and its features.

@Falco I can agree to that, yes. But this way you'll always risk having an "only partly working app" – you never can say what will work and what not. You risk force-closes and data loss as well. This is not something I'd recommend the "standard user" or even "novice" – though it might be a valid option for an "experienced user" to play with and, if it works out, offer the "reworked package" along with hints and warnings (what sometimes is done on XDA). Such an "experienced user" wouldn't ask this question, obviously – which is why I didn't include that with my answer :)

Note as well that "repacking" would void the package signature (you'd have to sign it with your own key), and thus not be "compatible" with a previously installed .apk (it would refuse update – you'd have to uninstall first) or with a later "official update" that might be available for your Android version (admitted, an unlikely update – but things happen). Again nothing a "novice" could easily handle (not if the data should be kept, at least).

Just for reference, I just used apktool to decode the apk,
then edited in the apktool.yml file the line minSdkVersion: '16' (Android 4.1) into minSdkVersion: '15' (Android 4.0.3/4.0.4)
and rebuild it using apktool.
Then I copied it back to the phone and tried to install it: No more there is a problem parsing the package". It begins the installation, but a few seconds later shows "Inbox  - X Application not installed".

Confirms my suspicions :)


text:
Do i have to reinstall gapps when flashing an rom update
So I'm currently running chroma rom on my nexus 5 and I wanted to know if I have to reinstall the gapps file when I flash it. I would also like to know if I have to also reinstall gapps when flashing a new rom. Help will be Really appreciated

It depends on the ROM you are installing. Most of the ROMs don't come with gapps integrated. So you have to install the correct version of gapps that matched android version and system of your android device. A fresh install of any new ROM always requires you to have gapps if you need them. Re-installs( dirty flashing) ROMs doesn't require re-install of gapps.

So when I update my rom I don't have to reinstall gapps? And thanks for the reply


text:
Recover soft-bricked wrongly mounted Galaxy S4 gti9506?
I just rooted my SG S4 Android 5.0.1 with auto root and (a friend's) Windows Odin. Everything worked fine (root complete and SU installed) till I think I gave a bad mount command in the root directory on the phone in terminal (i guess here it went wrong, not sure. Or perhaps during installation of bash or nano) when I was installing bash and nano. Since it rebooted, I lost the wifi and cannot adb shell into my phone anymore from mac.
However, everything except the wifi is still working. Adb and usb functions are still working. I can push and pull, however I just can't enter root directories through terminal anymore. I get the following error:
- exec '/system/bin/sh' failed: Permission denied (13) -
I think my phone is still recoverable, however I don't know what to do and don't want to risk making things worse. Which andoird wizard can help this poor wifiless  guy?
Ref: http://androidforums.com/threads/guide-full-bash-shell-with-nano-tab-completion-and-color-over-ssh.124506/
Download-File: http://66.197.42.222/bashnano.zip
Below here were my bash nano install commands:
./adb shell
su
mount -o remount,rw /system
cp -r /storage/extSdCard/bashnano/terminfo /system/etc
cp /storage/extSdCard/bashnano/profile /etc
cp /storage/extSdCard/bashnano/bash /data
cp /storage/extSdCard/bashnano/nano /data
chmod 755 /data/bash
chmod 755 /data/nano
cd /system/bin/
mv sh sh.old
ln -s /data/bash sh
ln -s /data/bash bash
ln -s /data/nano nano

export TERMINFO=/etc/terminfo
export TERM=linux

mount -o remount,ro /system

P.S. So I also performed a regular mount in root, which i think is what made things bad!

I assume since you rooted, you installed a custom recovery? Most of them have an option to fix permissions. Give that a shot and see what happens? Not sure what to do, to repair what you did if the fix permissions doesn't work. But worst case, You can download the factory image for your device and flash it via odin.

I can run ./adb reboot recovery. I get a menu with the options:

reboot system now
apply update from dab
apply update from external storage
reboot to bootloader
apply update from cache
wipe data/factory reset
power down
view recovery logs
Enable cp logging
Disable cp logging.

I guess from those options I should pick the factory reset, maybe?
I used the package from autoroot to root my phone. I'm not sure what kind of recovery it installs: https://autoroot.chainfire.eu

Or wait, is that custom recovery on my laptop. Because I just did the ./adb reboot recovery but that looks like a standard recovery. I have a recovery.img file in my platform-tools folder. Perhaps I should Odin flash that one?

Ok, I flashed clockworkmod recovery now. It allows for 'mount /system'. Now I'm able to ./adb shell again. So I got one step closer it seems. However I have totally no permissions, so I can't even cd or chmod anything yet. Anyone knows what to do know?

Hmm. I looked a little more and it seems that clockwork recovery removed the fix permissions awhile back. Apparently it was a placebo effect. Figured it might help. If you made a backup already. A factory reset couldn't hurt. Maybe it will undo what you did. Not 100% sure on that though. Have you asked over on the XDA forums yet?

Hey Jeremy, thanks for your help. I asked now on xda, I hope they can help me out. I will backup and try a data wipe factory reset tomorrow. I'll keep you updated. Man, what a relief it will be when I'll be able to recover from this ...

Any time. Sorry I couldn't of been more help. But hopefully I got ya going in the right direction.

I've done a factory reset now, but no difference. I guess I need to somehow reinstall the firmware I guess somehow. I also look into returning it to Samsung Service Center. I read that here in Holland they fix bricked phones for free.

Yeah, you could try going to the Samsung store. If you prefer to do it in house. Download the factory image and flash it via odin.

Ok fixed the problem by installing firmware from sammobile.com. The Odin flash failed at the hidden.img, but I could recover the thing by running the instructions here:
http://www.s4miniarchive.com/2014/07/solution-what-to-do-when-odin-fails-at-hidden.img.ext4.html
And I have my wifi back but lost root (but that's not a big deal).

Haha, and I'm really feeling to reroot that damn thing again now. At least now I know how to come back when things go wrong. And thanks for ur help Jer!


text:
Issues with cyanogenmod 11 on galaxy y
I tried to root my Galaxy Y. I installed cyanogenmod 11 on it. But the version of cyanogenmod I got had many bugs. Even the phone call is not working. How could I fix this situation. Please help

did you flash a stable version of cyanogenmod, or was it a nightly? build?

I took the rom from __http://www.galaxyyarchive.info/2014/06/cyanogenmod11-for-samsung-galaxy-y-gt.html

That's a nightly build. They often have bugs and aren't classed as stable, so that could be why the dialler didn't work. It would be worth checking with other users of the ROM to see if they have encountered the same issue.

Try re-flashing a suitable ROM from XDA.
Samsung Galaxy Y GT-S5360 ROMs [XDA]

i tried this one. but my phone is not getting recognized by odin, even after installing the Samsung Kies

That's an issue with your phone drivers being not installed properly.

Yes ! It was the problem with my Samsung Kies. The issue was fixed when I re-installed the drivers. Now I have the Sock ROM in my device. Let me root it once again with ROM from the XDA you shared ;) :)

Thank you very much for the information :) Now its really working. Just one more this is there a way to get a stable  cyanogenmod 11 for samsung Galaxy Y GT-S5360 ?

Check it here : www.cyanogenmod.org


text:
How to uninstall preinstalled apps on Gingerbread?

Possible Duplicate:
How can I uninstall applications that are locked by phone vendor?

I have Samsung Galaxy Note running Android Gingerbread. I have several apps like Crayon Physics that don't show up in the list of installed apps in the market.
How to get rid of them?

See the accepted answer to this previous question, the Manage Applications section: How do I uninstall an application

Yes, Crayon Physics was pre-installed.

Also should have mentioned, this is Gingerbread.

If Crayon Physics was a pre-installed bloatware application then you must root to delete it. Ice Cream Sandwich lets you "freeze" the app though that may not be what you are looking for.
If you side-loaded the application then I have seen times when an application won't show under the Market application because it doesn't have a signature the Market recognizes; that is, you didn't get it from the Market.
If you installed the application go to Settings->Applications->Manage Applications. Under the 'Downloaded' tab you should be able to find it. Again, if it was pre-installed then you didn't 'download' it so it won't show up here but you should see it here even if you side-loaded it.
Good luck (:

Thanks - that's helpful although it doesn't help with this particular app. I did have a strange situation with another app that I downloaded ("animating touch" or something), where it didn't show up in the list of installed apps in the market app. In that case, I was able to search for it, install an update, then uninstall it.

Anyway, yes, it looks like I need to root - and that sounds riskier than I want just to get rid of a silly app. I guess I'll just bury it in a folder somewhere.

"Risk" is an assessment that should be based on your needs. I'm not going to go into a diatribe on why you should root to gain control of the hardware you own. I would only say, "POWER TO THE PEOPLE!!!"

Well, it's like this. Potential gain: "crayon physics doesn't appear in my apps list". Potential loss: unusable phone which I just spent my life savings on. (Might I add that I'm extremely grateful for people who are willing to take such risks and keep vendors honest.)

@andrew-t what was the point of that edit? This answer was correct at the time of publishing. What benefit did your edit add other than to boost your own numbers?


text:
Upgrading from Android 1.6 to 2.2

Possible Duplicate:
When will my phone get the Android 2.2 update (FroYo)?

I'm having issues to upgrade my tablet to the 2.2 system. It's a generic tablet, from Kaser, I'm using it to develop a specific application. Now the specs changed, and I need it to run on 2.2. I had a look at their website and there is no info about the upgrading. Is it possible?
Thier page

Honestly, this seems like a pretty obscure device. You might have better luck just contacting the manufacturer.

Yeh I did this and I was able to get the instructions and the drivers to upgrade my android. Thank you very much =]

If you have complete kernel sources for your device from the manufacturer, then compile your own kernel and AOSP and flash the device.. I guess this is the only approach if you don't have any alternate solutions

Thank you for your helpful answer. I managed to get the instructions and the drivers to upgrade my android.


text:
Can I link between android devices

Possible Duplicate:
2.1 as a secure access point?

I use huawei 8600 phone android 2.1 to use internet for cdma 800 evdo network.
I want to use glaxy tab 7" for internet using with wifi linking together.

Knew there were previous similar questions, but couldn't find one before! See also http://android.stackexchange.com/questions/43/how-do-i-share-my-wifi-with-my-ipod-or-netbook

Potential duplicates: 2.1 as a secure access point, How to share internet among 2 android devices?


text:
What determines which application acts to a bluetooth AVRCP command?
Background: I have a A2DP/AVRCP bluetooth headset (Nokia BH-505) which I use actively to listen to both podcasts and music. Of course, I listen to these with different apps. The bluetooth headset has some "command" (AVRCP) buttons, relevant to audio - in specific: "next track", "previous track" and "play/pause"
Currently whenever I press any of the commands, one of the music players I have installed (Meridian) always gets the command - even when it's not active. So when I click "play/pause" intending to pause a podcast (DoggCatcher), instead Meridian is activated and starts playing music along with the podcast.
Both players are set to be using the headset: DoggCatcher has "Bind to headset" turned on, and Meridian has "Headset Buttons" turned on. I'm currently using unrooted stock Android 2.2.1 on GT-S5570 but may be rooting and upgrading to 2.3 CyanogenMod (or such), in future.
Ignoring the specifics, my question about this is more general:

How does Android determine which app gets to react to these commands? I'm interested even in a very techincal answer.

On the practical side I'm interested in:

Do I have to fiddle with each applications settings to determine which application takes the commands, or is there some general way of determining this?
Is there a way to configure this so that the application that's actually active would automatically always get the priority? (as was asked partly in another question)

How this question differs from similar questions:

"How to Set 'Play' Button Behavior on Bluetooth Remote" - only practical, different focus, so far has no answers, and I'm also interested in answers that would require rooting or custom firmware (especially CyanogenMod).
Change default application for handling headset controls - an exact issue that got fixed, the but not in a way that would answer my questions, though it does gives some hints as to how things work.
How can I make the button on my headphones control something other than the stock music player? - partly similar question on practical side, but no focus on explaining how it actually works, and the only answer is focused on the part I'm not asking about (making only one app receive the commands).
why do all sound apps get bluetooth button events, all at once - very similar, but asking about a specific issue (all of the media players getting the AVRCP command)

I did manage to find some good information related to this from an Android developer blog - discussing the proper way that this should be implemented by applications in 2.2: "Allowing applications to play nice(r) with each other: Handling remote control buttons"

In 2016 this is still a problem -.- Moving from iOS this might be the most irritating part of android for me so far :/

They finally added a section to answer this exact question: https://developer.android.com/guide/topics/media-apps/mediabuttons.html

Related? https://android.stackexchange.com/q/218823/693

media-button-router, already mentioned in one of your linked questions, tries to figure out what app is currently playing music and to dispatch the AVRCP events to it. In addition, it lists all apps installed, that declare to listen to AVRCP events.
What makes AVRCP complicated: Some apps, like Sony's Music Unlimited, seem not to declare android.intent.action.MEDIA_BUTTON in their manifest. For this (or maybe some other) reason they can't be controlled via media-button-router. I know that e.g. Music Unlimited can be controlled via AVRCP since I read it in a user comment and also I was able to get it running once but unfortunately it's not reproducable. So in those cases it seems that we have to wait for an app's update with a clean implementation of AVRCP event handling.
According to media-button-router's wiki "Media Button Intent handling is done through ordered broadcasts, and each app sets it's own priority for receiving." So maybe it could be possible to write an app that displays theese priorities and, in effect, would allow you to determine what application will start. However, I don't know about such an app.

It is not a problem with your BT device. When paired with you phone, Bluetooth Headset plays active A2DP stream initiated from Mobile Phone. If it is some standard media player on your phone, It can react to all AVRCP control commands like play pause skip, fw etc. Now when you play something on the web or some other player which does not implement all such controls over AVRCP, for BT Headset it is still an active A2DP stream coming. It will dispatch AVRCP Control messages to your phone. It is now your phone which is supposed to route these commands to the respective app in most cases to the active A2DP streaming source or in your case your phone is still forwarding AVRCP commands to the default music player.
Your best bet would be to try configure your mobile provided the source you are playing does support AVRCP control. If it does not then anyway you can't do anything. If it does, then definitivly Mobile should allow these AVRCP commands to be handled by your active A2DP streaming source.

Perhaps this will help a bit:
Samsung S5 --> Bluetooth receiver + In Ear phone plugs
I am using Samsung S5, first with 7digital app to download and play music. Then I changed and used Cloudplayer. But every time while Clouplayer is playing and I press the pause/play button on my Bluetooth receiver my 7digital app will start to play music. I could not change any setting to change the bluetooth play/pause towards Cloudplayer. I then deleted all my 7digital downloaded music and tried again. Problem solved! Play / pause is somehow linked to Cloudplayer now.

This app would be "Media Button Router"
https://play.google.com/store/apps/details?id=com.harleensahni.android.mbr