Sunday, January 31, 2016

sony xperia j - Play Store updates downloaded on 3G network by ignoring settings


On my Xperia J phone Google Play Store setting of automatic updates is set to: Wi-fi only.


To my greatest surprise, yesterday it started to download 50MBs of updates when I was on 3G and my 200MB package was almost exceeded.


I checked the Data usage of Google Play Store on my 3G network and on Wifi: Wifi has 432 MB traffic, 3G has 82 MB (with wifi-only settings).


My question is: what settings should I use to prevent the abuse of my 3G package? Have you experienced similar behavior?




Google+ Auto Backup failed


When looking at my photos in the Google+ app, at the bottom is a footer that says "Backup failed" with a retry button. The backup still fails when I click Retry.


Is there a way to find out why Auto Backup is failing so I can correct the problem?



Answer




Taking advice from this post: http://productforums.google.com/d/msg/google-plus-discuss/d3s4VKI3yWo/bq39QiqknWoJ



Another solution that worked for me was turning off Standard size in the Auto Backup settings altogether. When taking a new 8MP jpg using my camera and when Photo Size was set to Full Size in Google+, all the photos seem to be successfully uploading without error. This further confirms that the error is arising when Google+ is trying to convert larger jpgs to standard size.



I tried taking pictures at different resolutions, from 1.9MP to 8MP. 3.8MP and below uploaded without a problem. Anything with a higher resolution still failed.


So, the solution for now seems to be:



  1. take pictures at a lower resolution


or




  1. Change the Photo Size setting in Auto Backup from "Standard size" to "Full size"


Saturday, January 30, 2016

Does Google Play balance expire?



I have a credit on Google Play that is from a gift card and not a promotion. Do I have to use it by a certain date?




4.1 jelly bean - APN doesn't save in Tablet AOC Breeze


I have a tablet AOC Breeze model MW0712 with Android 4.1.1.



When I want to save an APN I do: Settings -> Mobile networks -> Access Point Names -> New APN


But after editing the APN settings, there are no button to save the changes.


The only proven way I have to save an APN is typing in the fields:



  • Name

  • APN

  • Username

  • Password


and leaving blank the MCC, MNC, Authentification Type and APN Type fields. With this way the APN is saved but doesn't work. If I edit the APN I've saved and I put the values for these fields, the APN disappears.



With Root Explorer I open the apns-conf.xml file (readonly) and I see full of different APNs, but APN selection screen (Settings -> Mobile networks -> Access Point Names) is empty.


I haven't rooted the tablet.




Friday, January 29, 2016

home screen shortcuts - How to create link to app that does not appear in the apps menu?


I just purchased a Galaxy Note 3 and was surprised that the Voice Recorder app is not included on the screen with the rest of the apps. However, the Voice Recognition feature opens the Voice Recorder app when I say "Open voice recorder". Thus, obviously the app is installed. How can I the app to either the list of apps or even better yet, to one of the "home screens"?


Note that my device in not in English, so I'm not sure of the English names of all the windows. However, to open the app I do say in English "Open voice recorder" so I know that is the name of the app.


Previous Samsung devices, such as the S3, had this app on the screen with all the other apps.



Answer



It turns out that on the Galaxy Note 3 that the Voice Recorder app is hidden away inside a folder called, simply, "Samsung". There is no visual distinction between a folder and between an app, so I had no reason to suspect that there was anything of value or interest to be had by clicking the icon named Samsung.


Thursday, January 28, 2016

adb - How to take full image backup of partitions or eMMC?


I have an Archos 55 Platinum here. There is also a unofficial TWRP, if this might help. I would like to make a backup of the storage of the phone, like dd for any partition, so I can inspect the content later.


Also, I don't want to root or flash anything, nor install apps.


Is there a way that allows me to run TWRP via fastboot instead of flashing? Any ideas how I can proceed?



Answer



Yes you can boot in TWRP if bootloader is unlocked:


fastboot boot /path/to/twrp.img


Then you can simply dd whole eMMC or individual partitions. You need some extra memory (on external SD card) to backup whole eMMC or /data partition. Smaller partitions (including the biggest one: system) can be backed up to internal memory i.e. data partition.


For Qualcomm SoC:
(for MTK devices, path is slightly different)


dd if=/dev/block/(bootdevice/)mmcblk0 of=/path/to/external-sd/emmc-backup  

For single partition:


dd if=/dev/block/bootdevice/by-name/userdata of=/path/to/external-sd/data-backup

In order to come up with shortage of space, instead of using SD Card you may save backup files directly to PC using adb shell or exec-out. Thanks to @Izzy:



adb exec-out dd if=/dev/block/(bootdevice/)mmcblk0 > emmc-backup.img  

Make sure your adb binary (on Windows or Linux) supports exec-out. Also take care that unwanted non-printing terminal characters don't get included in output.


There are also other methods like adb pull, UMS or streaming over network. For details see How to recover a deleted file from /data partition?


PS:


Another way to save space and to speed up backup process is to backup only the contents of mountable filesystems instead of whole partition image. Particularly userdata and system are larger partitions but they aren't usually completely filled. Mount them and create backup archive using tar so that zeroed out portion of these partitions isn't backed up.


Make sure to preserve all file permissions and attributes (whatever applicable depending on filesystem etc.) including classic UNIX file mode and owner, ACLs, XATTRs and SELinux contexts. These options are supported by tar. Otherwise things might get messed up. See more details in How to stream an encrypted backup of the entire device to remote host?




RELATED:




usb - Any success with external microphones for Android phones or tablets?


What's the best way to record a video with high quality audio? Specifically, this is for a presentation where a microphone could be placed by the speaker. I know that an app that records with the right codec is necessary, but what about the microphone?


I'd prefer to use a USB mic but, even though Android 3.1+ supports USB host mode, it doesn't appear that this is easy to accomplish. What about a 3.5mm microphone - would that yield acceptable results, or would it be better to stick with the built-in microphone? Are any of the video-recording apps capable of handling the microphone?



Answer



It's not a USB mic, but I have found a solution for external mic via 3.5 mm jack.


Look at my answer on this question: How do I use an external microphone with my Galaxy Nexus?



rom flashing - What Android parts do these terms describe?


Android users frequently use a lot of words with unclear meanings. In particular, they use these words a lot:



  • Framework / framework-res.apk: What purpose does this structure serve?

  • Flashing: What does this refer to?

  • ROM: What does this refer to?

  • Firmware: What does this refer to?


  • update.zip: This is an update package replaces files on your filesystem. What parts of the system can update.zip change?

  • Kernel: The kernels they talk about seem to persist across 'flashing' and 'resets' of the device.

  • Android Release: When someone talks about Android 'KitKat,' or 'Gingerbread' or '4.2.2,' what parts of the whole system are they referring to?

  • Custom ROM: What parts of the system do 'CyanogenMod' and other 'Custom ROMs' replace?

  • Titanium Backup: What parts of the system does Titanium Backup back up?

  • Factory Reset: If I wiped the internal storage (say, dd if=/dev/null of=), what can it reset to!?




Here are some relevant terms that are publicly well-documented and known:





  • BIOS. When the system is powered on the BIOS initializes and does sanity checks on the computer's hardware and peripherals. The BIOS is 'firmware' and exists outside of the computer's normal storage. Even if the system was started with no mass storage, the BIOS would still be there. The BIOS runs a piece of software in the system's storage called the bootloader.




  • Bootloader. The bootloader uses and is itself a set of files on the filesystem, sometimes in the /boot directory. The bootloader (depending on the case) presents a list of options for how you want to proceed in starting the system.




  • Each option (usually) corresponds to starting a kernel with specific boot parameters. The kernel is a binary contained in a package file called vmlinuz (or similar) that resides somewhere on the filesystem (like the /boot directory). The kernel creates abstractions between hardware and software, like the hardware interfaces, filesystem abstraction, processes and threads.





  • Sometimes vmlinuz also contains some utilities that are put into folders like /sbin. Things that are in vmlinuz cannot be modified without repackaging a new vmlinuz file, and replacing the old one.




  • The kernel loads kernel modules which do various things and are sometimes drivers. Some kernel modules are built into the kernel's binary file and some are separate files on the filesystem, sometimes in the /usr/lib/modules directory.




  • The kernel also starts a program called init which is in a location that is sometimes specified in the boot parameters. init mounts mass storage devices to directories and starts a bunch of programs. These programs are on the filesystem and usually have all their files in /usr. They are called the system's userland.




  • In Android, there is a Java-like virtual machine called Dalvik which is started by init, which is what most programs run within.





  • Rooting: Rooting a device allows users to grant themselves root permissions.




  • To simplify managing all the software on the system, a system usually has a special program called the package manager which can manage, update and install sets of related files as `packages' corresponding to individual development projects. Android's interface to its package manager is the Application Manager in settings. Applications are available for download via the Play Store




  • Home Folder: Users have a directory in /home where all their files are stored (including local configuration settings for applications).





  • Recovery: a separate userland which the bootloader launches that only does system related tasks. You get to it by restarting your device while doing a special dance with the buttons.






Wednesday, January 27, 2016

How can I change my phone's resolution?


I would like to change the resolution of my s4 1080x1920 to 720x1280 not the dpi but the resolution. I have root access and am on android 6.0.1. How can I do this.


I want to do this to see how much battery I can save. Usually my phone last 3 days (normal use) on my custom 7800mah battery without charing but I don't really have much use for an UHD screen so I want to see if it can last longer by lowering the resolution.




Answer




Use the command adb shell wm size 720x1280



Download any Terminal app, such as this one. Type the command su to enter superuser mode, and then type wm size 720x1280 into the terminal.


Source: http://www.theandroidsoul.com/change-screen-resolution-adb-android/


samsung galaxy s - Odin not allowing firmware to be flashed


I'm following the instructions here to try and upgrade the firmware to I9000XWJS8: http://forum.xda-developers.com/showthread.php?t=846913


As soon as I hit start it does nothing, as you can see in the message window it says it's failed. It does this with JS8 or with the Gingerbread download, in Odin 1.7 and 1.3.


What's going wrong? Also, should the phone be in USB debugging mode or regular? I've tried both to no effect.


enter image description here



Answer



The phone should be in Download mode:




  1. Take out the battery

  2. Plug into USB (apparently skip this if you have an i9000 -- see comments)

  3. While holding both volume buttons (Note, you may need to hold Home+VolDown instead)

    1. Insert the battery

    2. Click the power button



  4. Phone should go into Download mode after a few seconds:



Download mode


You may need to disconnect from and reconnect it to the computer after this for Odin to see it.


Tuesday, January 26, 2016

wi fi - Can I program Tasker-like programs to do stuff if specific WiFi network is in range?


I'd like to try out Tasker, Llama or some such automated program.


However, I do NOT want to program events based on GPS or other location information (for a variety of reasons not germane to this question).


Is there a way to trigger tasks in Tasker or some equivalent program based on the fact that a WiFi network with a specific SSID (or other signature) is in range or goes out of range?


To clarify: one of the main tasks is to turn on/off my WiFi when I float in/out of the range of known networks. Therefore, merely being in range should be the trigger, NOT connected to the network.



Answer




  1. In Tasker create a new State based context and choose Net as state category. enter image description here enter image description here



  2. Then choose Wifi Near as net action:


    enter image description here enter image description here




This will bring a screen where you can input data about the WiFi access point you are interested in. If you are near the desired WiFi access point then you could just press the scan button (the button with lens symbol at left end of the text SSID).


enter image description here


This scans the near by access points and lists its details. Simply select the one which you are interested in. Now you are good to go to add an entry task and exit task to whatever you want.


rooting - Is it necessary to have an unlocked bootloader to root a device?




My LG Stylo 2 Sprint Version running on Android 7 Nougat has a locked bootloader. LG made sure that the bootloader can't be unlocked.


This article states that it's possible to root with a locked bootloader.



When the boot loader is locked, and the manufacturer doesn’t provide a legitimate method to unlock it, you usually need to find a flaw in the device that will serve as an entry point for rooting it.


First you need to identify which type of boot loader lock you have; it can vary depending on the manufacturer, carrier, device variant, or software version within the same device. Sometimes, fastboot access is forbidden but you can still flash using the manufacturer’s proprietary flashing protocol, such as Motorola SBF or Samsung ODIN. Sometimes signature checks on the same device are enforced differently when using fastboot instead of the manufacturer’s proprietary download mode. Signature checking can happen at boot time, at flashing time, or both.


Some locked boot loaders only enforce signature verification on selected partitions; a typical example is having locked boot and recovery partitions. In this case booting a custom kernel or a modified recovery image is not allowed, but you can still modify the system partition. In this scenario, you can perform rooting by editing the system partition of a stock image as described in the “Rooting with an Unlocked Boot Loader” section.


On some devices, where the boot partition is locked and booting a custom kernel is forbidden, it is possible to flash a custom boot image in the recovery partition and boot the system with the custom kernel by booting in recovery mode when powering on the phone. In this case, it is possible to get root access through adb shell by modifying the default.prop file of the custom boot image initrd, as you’ll see in the “Abusing adbd to Get Root” section. On some devices, the stock recovery image allows applying updates signed with the default Android test key. This key is a generic key for packages that do not otherwise specify a key. It is included in the build/target/product/security directory in the AOSP source tree. You can root by applying a custom update package containing the su binary. It is unknown whether the manufacturer has left this on purpose or not, but this is known to work on some Samsung devices with Android 4.0 and stock recovery 3e.


In the worst-case scenario, boot loader restrictions won’t allow you to boot with a partition that fails signature verification. In this case, you have to use other techniques to achieve root access.




This seems counterintuitive, but is it necessary to have an unlocked bootloader to root a device? Otherwise, do any of the methods mentioned in the article work?




samsung galaxy ace - Application to switch among multiple running applications


I have Samsung galaxy ace with android 2.2 mobile.


Is there any way or any application so i can run many applications simultaneously and i can switch among them?


Why do i need this.




  1. When i surf facebook(or any other application), and i click on a link. I am suppose to wait until the page gets opened then i read it pess back button to reach on previous button. If i press previous button in between i'll lost page which was being loaded.

  2. If i read some sms, and i have to search the meaning of a word in dictionary, i would have to exit from sms box.



Answer



Case #1: You can get back to recently used apps by holding down the home key until a menu appears, and then selecting the app you want to return to.


Case #2: Press the home button and open your dictionary app, and then use the method in #1 to return to messaging.


This works if you don't have too many apps open, since the memory is limited and if you open too many apps, android will close them from the background.


The important distinction is that the home key does not quit the app but exists to the launcher, and the back button exits the app.


charging - My phone doesn't always charge at full speed, even with certain 2-amp chargers. What are the necessary conditions for it to charge at full speed?


I've noticed that my Samsung Galaxy S4 doesn't always charge at its maximum rate of charge, even when it seemingly should. For example, car DC adapters that claim to provide up to 2.0A current only provides 500mA. I've also tried connecting the OEM AC adapter to a car inverter**, with the same result of a ~500mA charge rate. On the other hand, when connected to an AC outlet through the same charger, the device draws 1200mA*.


I previously owned an Galaxy S3 which I think started having similar issues at some point, possibly after a system update.


What conditions are required for Android devices to draw greater than the 500mA current provided by a USB 2 data connection? Have these conditions changed with successive versions of the Android OS?


*: Measurements of current draw made by Ampere


**: I asked this question a few days ago and it has attracted very little attention, so I'm now asking a more general question.



Answer



I would recommend you to change the USB wire and replace it with a good USB wire.


I have seen that over time the wire gives lower charging value and it's unable to give output as of newer cable. There is no issue with the charger in this case ( 2A or 1A charger).




  • just change the USB wire

  • connect it to phone and charger.

  • check the values of the current flow in application like galaxy charging


I am sure that you would get desired output if you follow these step


This same method worked for me. And also make sure that you give full cycle to the battery when charging.


Monday, January 25, 2016

unrooting - Will un-rooting return stock apps


I've recently rooted my phone - mainly to remove a bunch of the stock apps that I never use, e.g:



  • Google+

  • Google NewStand

  • FM Radio

  • Google Books


I'm wondering, can I now un-root my phone, and if so will this leave these off my device? Or will un-rooting return them back to my phone?




Answer



Yes.


You can unroot your phone. Use the method that GUI app (SuperSU, Superuser etc.) you use offer you to do it.


No.


It won't bring those apps back. Rooting is just a process of adding a binary in the /system partition that will let the apps approved by the GUI app execute commands as the root user, a user that is not an object to the standard rules other users are. This process is completely unrelated to the presence of the stock apps (assuming what you mean by it are the apps sit in /system/app directory of the phone) If these apps are deleted then the only way to get them back is to install them again. If you want them to be stock apps again you need to move them (or install them in the first place) to /system/app directory.


Are there any solutions other than flashing Gapps, to have Google accounts on CyanogenMod?


I've flashed CyanogenMod, nightly, and it is working perfectly. When I flash Gapps, then battery is drained fast, and the device is getting overheated. So, are there any solutions other than flashing Gapps, to have Google accounts on CyanogenMod?


P.S. I extracted the Gapps.zip, there was a folder named "apps" there, none of which could be installed. I tested installation using "adb", and got error related to certificate. I think by having ONLY Google Play Store, other apps can be installed, if I'm wrong, then please tell me what else is needed.


Thanks in advance




How to enter USB debugging mode in Cyanogenmod


I just installed Cyanogenmod 11 on an HTC One, and now I'm completely unable to connect to it via USB from my Linux PC, so I'm unable to transfer any more ROM or applications.


How do I enable USB access, similar to the "USB debugging mode" seen in the stock Android ROM? I've looked through the settings, but there's nothing labeled USB.



Answer




Go into settings > about phone

Toward the bottom of the list, you'll see an entry for "Build Number"

Tap it 5 times and you'll see toast pop-up letting you know that the Developer Options have been enabled.

Go back to the main options menu and tap Developer Options and you'll see a tick box for USB Debugging about halfway down the list.


Sunday, January 24, 2016

wi fi - Change the server that Android uses for an internet connectivity check?



As far as I am aware, Android checks internet connectivity by connecting to connectivitycheck.android.com.


On one of the WiFi networks I regularly connect to, they use web filtering, and block the android website. This means I can use the internet, but when I move around the campus and my device has to connect to the next access point automatically (with the same SSID etc.), it refuses, as it could not previously get an internet connection. Provided I am rooted, can I change this server to, say, www.google.co.uk?


I am running Cyanogen Mod 12.1 on a C1905.


P.S. There is very little chance that I can get these guys to unblock the android website. :(



Answer



Just execute su then settings put global captive_portal_server SERVER_YOU_WANT_TO_USE in a terminal emulator app or ADB shell. I'm in China so I do this for every device I own when I set them up (i.e. clean flash - this persists through dirty flashing), and I use g.cn (shorthand for Google.cn). Google.com.hk should have the same function though I can't be sure.


I wonder why this didn't get a proper answer for this long...


Performance comparison between internal and external memory



What are the performance differences between phone's internal memory, the internal SD card, and the external SD card? I wonder if that counts when deciding where to store apps. What technologies are used for building a phone's internal memory? How about the internal SD card, if it is not really an SD card at all? How do they compare, in general, to SD card speed classes 4, 6 and 10?


Note that I am not asking about the filesystems, as a deleted answer focused on, since performance comparison on this aspect would be totally ruined by just switching the SD card from FAT32 to something better (which I think the industry should have done since a long time anyway).




Sudden loss of contacts on my Samsung Galaxy S - running Gingerbread



I have recently experienced that all my phone contacts suddenly disappeared from my internal phone memory.


I could still see the 2 contacts that were on my SIM-card, and I have no contacts on my external SD-card.


I have looked through the different contact display options under settings, and they were all on.


The contacts disappeared without me installing or deleting anything, or any other provocation. And while I was browsing through my call log, I could see the contact names being replaced by the underlying phone no, like a slow delete, very frustrating.


I tried to Google it, and found that this has happened to many other Android users (and not just Samsung phones), but I couldn't find a suitable solution to the problem anywhere.


It's not catastrophic since I have all my contacts synchronized with Outlook, although, I will be losing the contacts added after my last sync.


But I would really like to avoid to have this happen again in the future, and if possible recover my lost contacts.


Does anyone have an idea of what has happened, what to do about it and how to avoid it in the future...?




Saturday, January 23, 2016

rooting - How to root a Huawei G330D (U8825D) phone?



The Huawei U8825D is on Android 4.0.4, and my computer is on Mac OS X 10.6.8.




2.3 gingerbread - Insufficient Storage Available During Update


Preface (TL;DR)



I know the issue of insufficient space has been discussed in various contexts but I have not found anything that specifically addresses the circumstances and issues that I am facing, so I am hoping to get some feedback that would help me better understand what is going on.


I have an HTC EVO 4g from Sprint running Android 2.3.5 (Gingerbread) which has been unlocked using the Dev patch provided by HTC. Although it is rooted and I can apply a custom ROM to it, I have not done so yet for several reasons I won't get into but my issue should be independent of that. This phone is by far (in my humble opinion) one of the best and most stable piece of hardware that HTC has produced to date and I couldn't be happier with the phone, hence why I have not upgraded to a newer device. I know the older OS is a turn off to many and I agree that I wish I was running a higher version but most of them don't honor the latest drivers available which means you lose 4G functionality among other things. So I have stuck with it for now until such time as an updated drivers are released (doubtful but one can hope).


I have an 8 GB SD card (7.39 GB usable) and 4.05 GB free - since I move anything that has the option to run off the SD card to external storage. I have 500 MB internal storage (427 MB usable) and a little over 60 MB free. I have never had issues updating anything since the space present has always been enough to install or update before moving stuff to free more space.


The problem


Recently when updating apps it often gives me the insufficient storage available message – but it makes no sense to me.


Storage facts:



  • external SD with 8 GB (4 GB free)

  • internal storage with 500 MB (60 MB free)

  • example problematic app: apk size ~6 MB / installed size 11.46 MB



Detailed problem (again: TL;DR)


Specifically the app that is giving the problem recently is Lookout Security & Antivirus which has never been an issue and is only 6 MB and change but it will download it and when attempting to install pops that error. I don't get how a 6 MB file that has never had issue updating on less than 40 MB space is now giving me problems with over 60 MB free? The baffling part is that occasionally it WILL actually update just fine without issue and I have checked my cache and stuff, nothing there, no other apps running that would hog space or anything, so what's wrong? How can I mitigate this? Another bizarre thing that started to happen is that internal apps like Facebook which are bloated on there whether I like it or not and I use rarely are giving me problems too by issuing the invalid page file error. I mean what?


So what's going on here? What is wrong or what can I do to make it right so it stops being stupid like this? As I said, NEVER had a single issue with this phone, EVER, but in the past month it has driven me absolutely NUTS. I have even uninstalled applications that don't provide the move to SD option to free up nominal space and it stabilizes for like 2 days and then bam, back to square one even though it has more space now. I am at my wits end and I would appreciate the help; especially not being a novice this is even more mind boggling to me.


UPDATE: 10/26/13 @7:45 AM The application updated normally without giving the error and it did so while the internal storage had only 43 MB (as opposed to the 60 MB when it failed numerously). This lends itself to even more confusion as to what is going on. The ONLY thing that was done in the meantime was that I rebooted the phone (actually more like I was low on power, shut it down and when I connected it to the charger, turned it on)




rom - Reinstall OS on Nexus 7


I had unlocked my Nexus 7 and everything was great for months. I came home from work and it was stuck in a boot loop. I somehow managed to delete the OS while trying to fix it. I have access to the Team Win Recovery Project v2.2.1 but nothing else. What's the best way to reload the OS?




networking - How to SSH into Android which is a hotspot?


I am using Wi-Fi hotspot on Android. Can I SSH into it from my laptop which is connected to hotspot? How would I do this?



Answer




You need to run an SSH server on your Android phone. There are apps available, but simple solution is to go for Termux. Install app, then install packages openssh and termux-auth. Set password and start server:


~$ pkg install openssh termux-auth
~$ passwd
~$ sshd

If you want to use key authentication instead of password, create key pair on client with ssh-keygen and copy the contents of ~/.ssh/id_rsa.pub to phone in ~/.ssh/authorized_keys (where Termux's $HOME is /data/data/com.termux/files/home), and restart server:


~$ pkill sshd
~$ sshd

Now on client:



~$ ssh  -p 8022

No username is required as Termux is the only user which can be logged into. If you want default port (22) or a username or multiple user setup, visit the link given below.


RELATED:



Friday, January 22, 2016

How to use a logical disk partition as an SD card in Android-x86


Android-x86 4.0.4 (ICS) runs beautifully on my netbook and it can even mount USB sticks as SD cards, but now I would like to use an available hard disk space (logical partition, /dev/sda7) as a permanent SD card.


Is this possible?




hardware - How to detect a malicious USB charger?


My phone is rooted and has USB debugging enabled, because I do some development on it. In a moment of pre-caffeinated mental weakness, I plugged it into a cheap Chinese power bank.


The phone promptly stopped responding to touch input until I hard-rebooted. This reminded me that malicious chargers are apparently a thing. My google-fu hasn't shown any in the wild, I have no other symptoms, and MalwareBytes is giving me the all clear... so I'm not particularly worried.


Generally speaking though, how would you go about detecting a malicious charger?




google maps - Navigation app lost after updating phone


I lost the Navagation app that came with my phone after updating the phone's system. None of the free apps on Google Play work well for me. Any clues on how to get it back? It is not on Google Play.




security - Can Hike messenger steal our whatsapp data


As per new update of Hike messenger, giving reward upto ₹10000 for making your friend join Hike. To do this Hike asks accessbility permission. And when you refer a friend or a group, all messeges starts showing in Hike. So now I guess Hike can read our all whatsapp text messages and media shared.


But the problem is that after getting accessibility permission, it can read all the notification, even OTPs of our transaction. So how can I assure my security and privecy.



Is it a big concern or am I missing something with their terms and condition?



Answer



"The problem is that after getting accessibility permission, it can read all the notification, even OTPs of our transaction. So how can I assure my security and privacy?"


Turn off SMS, NOTIFICATION ACCESS permissions to that app.


IMG:


Kindly add more details about your smartphone so I can answer better.


Thursday, January 21, 2016

Tethering options for the laptop and the phone


I have a rooted Samsung Galaxy S3.


I am about to go abroad and will need to connect my laptop to the Internet without having someone come and install a DSL or cable router (as the waiting time to install these is quite long I would be gone before the internet technicians drop by).


So what I have decided is to purchase a SIM card and connect my laptop to my android phone to do internet browsing. My understanding is that with tethering I can transform this phone into a router or wireless hotspot.




  1. What are tethering options (settings or apps) for this phone?

  2. Is it better to connect the PC to the phone wirelessly, via a USB cable to use tethering, or via Bluetooth tethering? In terms of speed, I guess Wi-Fi tethering would be superior here.



Answer



In my experience, bluetooth tethering (using Bluetooth Garden) has been problematic. It disconnects too often, or can't open certain sites.


USB tethering (via ClockworkMod Tether) was OK. This way, my phone would be charging while providing internet to my laptop. Downside is I needed to install a program (not an issue, because the program is safe) on my laptop. Another downside is I couldn't tether another device (like a tablet) to the phone.


Turning my phone into a hotspot, was a better choice. I could surf with little issues. I could connect my tablet or laptop to the phone via WiFi. However, this drained my battery quickly. I'd occasionally fix this by plugging my phone to an outlet with a charger.


sd card - Is it safe to manually delete the contents of the .Trash-1000 folder on my SDCard?


Can anyone please provide an explanation (or a good resource) of how the folder /mnt/sdcard/.Trash-1000 functions and whether or not it was safe to manually delete its contents? Based on the name and the way it seemingly acts it would be logical to assume that it's a garbage folder, but you know what happens when you assume...


In case it matters I'm running CyanogenMod 6.2.1 (based on Android 2.2.1) on my Motorola Droid.



Answer



.Trash-1000 is a metafolder like Windows's Recycle Bin, normally created by Ubuntu (and perhaps other Linux variants). Have you deleted anything on your SD card from your PC? That would explain it. You can safely delete it. See also: https://superuser.com/questions/169980/what-is-trash-and-trash-1000


Wednesday, January 20, 2016

5.0 lollipop - Where does music downloaded from Google Play go on my phone?



New Nexus 6 with Lollipop. I downloaded some music from Google Play, but cannot for the life of me find where it is on the phone. I've searched through the entire thing using Astro, and can't find my music. (The Play app sees it, but I want to make one of my songs a ringtone, and apparently with Lollipop, you need to copy your file into a certain location for it to be available.)




wi fi - How to enable dual networking in Android shell?


I have a rooted HR933 tablet running Android 4.4.2, and an embedded device with a Wi-Fi access point but no Internet access. I need the tablet's browser to be able to reach the device's web server via Wi-Fi, and also connect to the Internet via mobile data at the same time.


Super Download (see How do I connect to a wifi ap and 3g network simultaneously?) will not work because I need to browse, not just download files.



I'm trying to enable the Wi-Fi and mobile network adapters simultaneously as described here:


# enable dual-networking:
pkill dhcpcd
svc wifi disable
svc data enable
netcfg wlan0 up
cd /data/misc/wifi/.
wpa_supplicant -B -Dnl80211 -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
dhcpcd wlan0
ip route add x.x.x.x via x.x.x.y # add any desired local route


The problem is that as soon as I do svc wifi disable, the wlan0 adapter disappears. The script above implies wlan0 is still available after disabling Wi-Fi, but on this tablet it isn't:


netcfg
tunl0 DOWN
lo UP
ifb1 DOWN
ifb0 DOWN
sit0 DOWN
ccmni1 DOWN
ccmni0 UP

ccmni2 DOWN
ip6tnl0 DOWN

So when I try netcfg wlan0 up, I get action 'up' failed (No such device).


EDIT:


After additional trial and error I've found that I can briefly get the dual network setup to work before the tablet disconnects itself from the embedded device's access point:



  1. svc data prefer makes the mobile connection data preferred.

  2. Manually enable wlan0 with netcfg wlan0 up.

  3. Connect to the device's AP via the Wi-Fi UI on the tablet.



I then have about 90 seconds where I can browse the embedded device's web server and pull up Internet websites in separate Chrome tabs at the same time. After that time the tablet disconnects from the device's Wi-Fi and wlan0 is shown as down with netcfg. My logcat output includes this:


D/WifiStateTracker(  682): New state:CONNECTING, mLastState:CONNECTING
D/ConnectivityService( 682): ConnectivityChange for WIFI: CONNECTING/CAPTIVE_PORTAL_CHECK
D/WifiWatchdogStateMachine( 682): Network state change CAPTIVE_PORTAL_CHECK
D/ConnectivityService( 682): Captive portal check NetworkInfo: type: WIFI[], state: CONNECTING/CAPTIVE_PORTAL_CHECK, reason: (unspecified), extra: "EMBEDDED_DEVICE", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false, simId: 0
D/ConnectivityService( 682): Tear down low priority net WIFI

"EMBEDDED_DEVICE" is substituted for the actual SSID. That last line would seem to indicate it's a "low priority" network, but there doesn't seem to be a way to change its priority; it's also the only "known" network on the tablet.




contacts - HTC People Widget: Changing Pictures


Is there any way to change or set the source for the pictures on the People Widget when you have linked contacts?


Example: I have my wife as one of my contacts. I have her Facebook/Twitter accounts linked to my entries for my GMail and Exchange contacts. I've added a picture taken by the on phone camera to the Exchange contact entry but the widget uses her Facebook profile picture as the display picture.


Any way to override this behavior?




Answer



Yes. From the widget, select the contact name (not image). This brings you to the contact info. Select the chain link in the upper right hand corner (it should say Linked in your specific example). Finally, select the image in the upper left corner. You can select the image source from there. I tested it on the HTC incredible.


EDIT: I was originally referring to the Favorites Widget but basically, the Favorites Widget is just an example of the People widget which can be the any-group-at-all widget.


(I apologize if this is obvious, caffeine has not fully sunk in yet.)


2.1 eclair - Clear Android Market Search History?


Any thoughts on how one might clear the Android Marketplace search history? For instance, if I recently searched for an android app in the marketplace, the marketplace search maintains a history list of which apps/keywords that I have recently looked for.



Thanks in advance!



Answer



From the home screen go to Settings > Applications > Manage applications > All > Market then choose "Clear data."


This will erase your market search history. When you go back into the market it'll be like your first time. They will ask you to agree to the terms and condition again and then it'll be just like it was before without your search history. Your app Downloads and Purchases list will still be there because that list is stored online in your Google account.


Tuesday, January 19, 2016

rom flashing - Is it possible to unlock the bootloader without root access?


Is it possible to unlock the bootloader without root access? If so, is there another way to unlock the bootloader without using the command...


fastboot oem unlock 

Now, for the background stuff that might be helpful to understand my question. My particular device does not seem to support fastboot so I am wondering if there is a way to do it using


adb shell


This is the behavior when I try to use fastboot.


build@build-VirtualBox:~$ lsusb
Bus 001 Device 009: ID 2207:0010
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

build@build-VirtualBox:~$ adb devices
List of devices attached
OUGRYBWWCM device


build@build-VirtualBox:~$ adb reboot bootloader #<--- Tablet enters bootloader mode

build@build-VirtualBox:~$ fastboot devices #<--- Empty results, no fastboot commands will work

build@build-VirtualBox:~$ lsusb
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


# Bus 001 Device 009: ID 2207:0010 --> missing from lsusb command

The device is based on Rockchip's RK3066 processor.



Answer



Short answer is yes you can. Long answer is below but basically it depends on your device, your bootloader and if someone has figured out an exploid to unlock the yet.


More information:


From this link you can see the difference:



What is bootloader and why unlock it?


In literal terms, bootloader is code that is executed before any Operating System starts to run. Bootloaders basically package the instructions to boot operating system kernel and most of them also have their own debugging or modification environment. As the bootloader kicks off before any piece of software on your device, it makes it extremely processor specific and every motherboard has it’s own bootloader. Every Android phone has a bootloader that instructs the operating system kernel to boot normally.



Why is it locked?


A bootloader is usually locked on an Android device because although it’s an open source OS, still the manufacturers want you to stick to their Android OS version specifically designed for the device. In order to apply this concept, manufacturers lock the bootloader. With a locked bootloader on Android devices, it is virtually impossible to flash a Custom ROM and forced attempts void warranty as well as usually end up in bricks.


Why should I unlock?


The explanation to this question is really simple. If you want root, you’d be wanting to flash Custom ROM post-root, and if you want to install a Custom ROM, you’d need to have your stock bootloader unlocked. In simple terms Unlocking the bootloader allows you to install custom Firmware on your Android phone Warning: Unlocking your phone’s bootloader voids its warranty. It also completely wipes (formats) your Android phone’s internal memory including applications, contacts, SMS and MMS messages etc.



Just a quick note…. Root can be achieved without unlocking the bootloader but that requires an exploit that is discovered by a developer.


This quick note is the important part really. It has to be discovered by a developer, so it depends on the device and if someone has figured out the exploit and released tools for you to do it. HTC let you unlock your bootloader through HTC Dev Site but others will not give you an inch on this.


Monday, January 18, 2016

5.0 lollipop - How notifications work with multiple users?


When there are multiple users in an Android device, how the notifications work?



  • The notifications are simultaneous for all users?

  • There are only notifications for the active user and notifications for other users are disabled until the other users log in?



Answer






  • Notifications appear for all accounts of a single user at once.




  • Notifications for other users do not appear until they are active.




Source: Supporting Multiple Users


Sunday, January 17, 2016

gmail - Sending email to multiple recipients



I need to use my Note 10.1 to send an email to multiple recipients in the cc or bcc field. But it seems I cannot copy and paste the contacts which are automatically put into the 'to' field. Gmail in android also seems to allow only 250 contacts to be emailed at the same time.


Is there a way to copy and paste the contacts from the 'to' field into the 'cc' field? And send more than 250 emails at the same time? Thanks.




recovery mode - A way to automate the creation of flashable ZIPs


So, my question is: is there a way to automate the creation of flashable ZIP archives, in order to avoid having to write the updater-script and update-binary by myself each and every time I want a ZIP to be done?


Furthermore, the only feature the ZIP archives are required to do, is to install an application as system app. How could I perform such task, preferably without the aid of an external app?





Saturday, January 16, 2016

gps - Enable Location Services via Remote Control


I always disable (Google) Location Services on my phone because they are always drain a lot battery (probably because my mobile Internet is very slow). But in case I lose my phone I can't use any Phone-Lost tools, because they need it...


Is there a way to enable the location Services remotely? Any better alternatives for me?




rom - What is the difference between Samsung 4 files(Repairing firmware) and Single firmware file for flashing?


I was flashing a Samsung device with a single file (tar.md5 format) and i saw some people are working with 4 files(Repairing firmware) to fixing the most and actually, Any problems with those 4 files and i've heard that they says, it should fix any(Software) problems after flashing it on the device but i couldn't actually figured out ;


What is the exactly difference between these two which the 4 files containts four files such as ;




  • Bootloader file

  • CODE file,

  • Modem file

  • and CSC file


And the single one has the Modem file and the others which we'd introduce it in PDA section?


Or, which one should be the best option for updating a device?


Also, i've seen an application which it could convert the Single firmware to four files and that was more interesting about the question too!



Answer






  • The single file which you can flash (I presume you are using Odin) contains all the files required for your firmware upgrade- which you place in PDA option of Odin




  • If you want to upgrade the firmware selectively, you would use one of the four files mentioned:




    • Bootloader file- not normally done for stock, mostly used for compatibility issues in version upgrade in flashing custom ROM. Example : MJ5 bootloader for flashing Note 4 ROM on Note 2





    • Code File is typically the ROM




    • Modem File is the radio component of ROM- you may want to replace a ROM meant for use in a different region and change the modem to get better performance by flashing modem file of your region. List of modems for your device can be searched on XDA forums. Example- Note 2 modems




    • CSC (variously referred to as Country/Carrier/Consumer Specific Code) File is the file you would want to use to change if you bought the phone in a different region and want to use it in your region (Samsung ROMs incorporate region specific features ) . Example








What is the exactly difference between these two?



I had overlooked this main question and realised I never probed this aspect. Googling leads me to the conclusion that the key difference is is it Odin ready (to be flashed as a single file or not?. While Odin and Kies are both Samsung proprietary, formats required for using them differ. using a Kies format and adapting to Odin requires extraction of files required.




  • Samsung firmware upgrade comes as a single file having the necessary files required for upgrade (Odin ready)





  • Samsung firmware is available on many sites, Sammobile is considered to be the most reliable out there. This site and other sites sometimes host upgrades/beta/test mode in Field Upgrade Serviceable (FUS) files which are not standard Odin flash ready files. But they can be flashed using Kies. Reason cited here for not being able to use directly on Odin is header file corruption. These need to be downloaded using apps like FUS downloader and then split into required files to be upgraded using Odin.You put these CSC, modem,bootloader files in the corresponding sections of Odin




Linked site(s) explain (Warning: Don't use PIT file which is available on splitting till you understand what it is for)



  • To summarise, key difference lies in packaging of firmware (Odin Vs Kies), others being type of firmware (beta/ test/ tested/ leaked) and possible end use (complete or selective upgrade)



which one should be the best option for updating a device?




It depends on what you want to do-there is no specific answer, as for instance of flashing a modem only explained above. Or if your source upgrade file is Odin ready or not a explained above


If you are using Linux the method varies (not tried by me) and you can pretty much use either methods as outlined here


Samsung has a pretty confusing (till you get hang of it) of breaking down these components and labelling them. You can read here and here for starters.


And if you want to get deep into sources, see my answer Samsung firmware modifying


root access - Enter recovery mode from command line


Does anyone know if there's a way to get an Android phone to reboot into recovery mode, from the Android command line?


Note:


I do NOT have adb access.



I do NOT know the magic power-on sequence to do it from the boot loader. I've tried the common things and nothing works.


I DO have root. (And can enter commands directly on the device using a terminal emulator.)


I know it's possible, somehow, because applications like ROM Manager do it. But how?



Answer



Generally, reboot binary provides a recovery switch. After switching to root, execute this command:


/system/bin/reboot recovery


This may not work if your manufacturer doesn't support it. ROM Manager type apps uses API of Android which you can't access via Terminal Emulator directly.


external sd - 64gb SDXC Cards in Galaxy S2, or 64gb SDXC cards where only 32gb supported


I spent hours looking for a solution to my issues with my 64gb Micro SDXC card that my girlfriend purchased me for my birthday.


From what I understand only capacities up to 32gb are officially supported. But thread after thread informed me that users of my phone had successfully used one. When I first plugged in my SD my phone said "Preparing SD card" and then, after a brief pause, "SD Card safe to remove". The card wasn't mounting.


I tried inserting it into my SD adapter and formatting in NTFS on my laptop. Side note - whoever designed SD adapters and ports can go straight to hell. I was terrified of damaging my expensive new card since it got stuck in the adapter, and the adapter left 1mm of space outside my laptop. Holy crap.


After formatting in NTFS the phone informed me it'd have to reformat the SD card. Progress, I thought, until after the formatting message I had the same issue.


I thought maybe my firmware was the issue and spent a couple hours trying to figure out how to jailbreak. Long story short I gave up.



Answer



The Solution: Thanks to the guys on This Thread I figured it out. I also used the same tool they described, Minitool Partition Wizard, though I'm sure you could use any partition tool.



In windows on an SDXC card you can only format in ExFAT and NTFS. With a third party tool, you can make the card a FAT partition. Once you do this, the card is recognized in my S2 with no issues. I assume this will work with other phones that have "grey" support for large capacity SDXC cards.


Hope this helped y'all!


Friday, January 15, 2016

Does Froyo fix Samsung Galaxy S I9000's GPS problem?


There have been reports that Samsung Galaxy S has problems with its GPS that render the GPS almost unusable. Does the Android 2.2 update fix that?



Answer



Personally, I didn't find anything wrong with the GPS on mine (AT&T Captivate). You didn't say which version of the Galaxy you have (Captivate, Fascinate, etc.), but I know that before Froyo even, AT&T did push a separate update to their customers which supposedly was to fix the GPS (I don't know if it did though, since as I said I wasn't having issues before the update).


screencast - Is it possible record videos of my screen?


Suppose that I would like to record some video sessions of Angry Birds on my phone.


Are there any apps that I can use? I have root permissions.



Answer



I just read a review of Screen Cast & Screen Recorder that's pretty compelling. It requires root, like any on-device solution I'm aware of, but can record decent quality video at up to 30 FPS. The review has example captures from various games and the videos are good enough for most anything you'd want, unless you need HD video for some reason. The app has a free trial so I definitely recommend trying it out.


tablet - What to do if my samsung tab keeps on resetting itself?


My Samsung Tab keeps on resetting itself upon powering on, it goes to home screen and after a while (about 10 seconds) restarts itself. This keeps on and on until i shutdown the Tab.


My Tablet has been drained of battery charge due to excessive playing of games of my nephews. So I Charged my Tablet for a while and left to get something in the kitchen. I Didn't see that one of my nephews immediately turned it on upon Minutes after I plugged it on the charger and this is what happened next, my other nephew accidentally unplugged the charger of my tablet. I saw what happened as I was returning in the living room. I heard 3 beeps and the tablet shut itself down immediately after.



I tried to charge it again and tried to open and this is what happened it keeps on restarting and restarting. I have not taken my tablet to a technician yet. What should I do?



Answer



We also had this problem with our Samsung Tablet. Leaving it charging for over 48 hours untouched seemed to make it stop restarting.


Try leaving the device charging for a long time and see what happens. Eventually the device should have enough charge to prevent it from restarting.


Thursday, January 14, 2016

titanium backup - Convert installed app to system app



I used Link2SD and Titanium too. Both of them failed. I want to convert a GPS Spoofer to system app. I tried to move it manually, but in all 3 cases, the app is completely removed from the drawer. Is there any method?


I am on Samsung J200G rooted with TWRP flashing.



Answer



SuperSU version v2.73 installed by you is systemless as confirmed by you using methods mentioned here How to find that I am rooted with Systemless


Systemless root does not permit changes to be made by you to /system by default. See Systemless Root for details. This is most likely the reason that you are unable to convert installed apps to system apps


To enable this, you have two options:




  1. Follow instructions here Enable /system write in TWRP - Systemless root to make /system writable and then try to install. This should solve the problem (I am also on systemless root but made it writable following this). If this doesn't work, next option below





  2. Revert to traditional root - see Switch over from systemless root to system (traditional) root




Advanced searching in Play app store?


It is not easy to find good apps. Is it possible with some other app website to only search within apps (list apps) that have at least 500k downloads and at least 10k reviews?


Something like make the Play store a database of app names with columns for reviewcount and downloadcount and do SQL commands with where clauses?



Answer



I created this.


It's an advanced Google Play search engine, I wanted to create that a long time ago. Now, it's done 😀


Since Google doesn't have an API for Play search, I use an open source scraper.


Almost all app specs can be filtered and sorted.


I hope you'll like it, and please let me know if you find any bug or have any feature request.



It's open source : KPlaysearch


4.2 jelly bean - How do you configure a Nexus 7/10 for family use


I'm considering getting one of the Nexus tablets for my family. I think the multi-user support is a great way to separate my apps from the kids games. But what I've read about the implementation of multiple users seems lacking. Without a device to experiment on I am left to ask here how this works.


What I would like to do is setup myself as owner, with my Google email address and Play Store credentials. Next I'd like to add users for my wife and my kids. Setting up a profile for my wife is easy as she has her own android phone and I can use her Google account for that. It's adding a user profile for each of my kids that I'm uncertain about.





  1. My kids are young and don't have email addresses. Nor do I want them to yet. Do I have to create an address for each of them? What are my alternatives?




  2. Can I configure the Play store for the kids user profiles to use my Play store sign-on / credentials? On my phone I have the option of doing this, though I don't know what effect it would have there either (does it uninstall the apps from the first sign on and sync down those from the second)?




Obviously I don't want to pay multiple times for apps for my kids. It's one thing for adults to buy their own apps, but does Google really expect each kid to have an associated credit card and to buy their own apps?


Any assistance in the correct way to configure the tablet would be appreciated.




Answer



Set up a child account on the device, this is pretty simple, there's an overview of that process here. You don't to sign the child in using a Google account, it lets you skip these steps.




Assuming you want your kids to be able to download any apps you've already paid for, or want to be able to download any apps you buy them, sign into the Play Store on the child account using your main account's credentials, it's probably worth also choosing not to sync all of the main account's emails/contacts/etc. across at this point. You can then add a PIN to the Play Store so that they can't buy anything with your details and also choose the maturity rating of the content they see, this won't affect the settings of the main account's Play Store on the device despite the fact you're using the same Google account on the store.


From this your kids can access all your already paid for applications but thanks to the PIN won't be spending any of your money, at least not without your knowledge, and you haven't had to sign them up for a Google account.


Any apps that they download also aren't automatically put into your main accounts app list so you don't have to worry about them downloading a load of games and it filling your home screen a la iPad/iPhone style.


The downside to this approach is that your kids will be able to read your GMail, see your calender and contacts etc. A good solution to this is an app locker which restricts them from using these applications. I tested APP Lock and it seemed to do the job well.




If you don't mind your kids not being able to download apps you've already paid for on your account and aren't bothered about not being able to access any games you buy them then I think it would be worth signing up for a new main Google account and adding your credit card details to this. You could then sign onto the child's Play Store using this new account, set up the PIN same and maturity in the same way as the last approach but this time you won't have to worry about them seeing your emails or any other information that is linked to your main account.





For both of these approaches if you download an application on the child's account with your main account selected in the Store but have added the child's email as well and then switched back to this on the Store after the download the app will remain on the device and still be usable.


If you want any more information, clarification or screenshots just say in the comments and I'll add it or test it out if I haven't already.


Whats the use case of proximity sensor?


Can anyone explain to me what is the purpose of the proximity sensor, on my phone. What if my phone's proximity sensor stops working or gets damaged. What problems will I face?


PS: I am just curious to know.



Answer



The proximity sensor on most smart-phones with touchscreen exists to disable accidental touch events. The most common scenario is the ear coming in contact with the screen and generating touch events, while on a call.



Wednesday, January 13, 2016

lineageos - Difference between Lineage OS and Cyanogenmod : how does it affect current users?



Cyanogen said it plans to cease developing its open-source version of Android and will shutter its services by the end of the month. The company's blog mentions,



As part of the ongoing consolidation of Cyanogen, all services and Cyanogen-supported nightly builds will be discontinued no later than [December 31].





  1. Do users get new update as OTA while using CyanogenMod, or do they have to completely erase and flash a new ROM? (That requires flashing new firmware, ROM, recovery etc.)

  2. What will happen, if users are continue using CyanogenMod after December 31, 2016?

  3. What about bugs, security, stability?



Answer



Here are some answer, but as I'm not Cyanogen representative, they only engage me.





  1. Users will not receive OTA updates as soon as they stop maintaining their software stack. You keep on using your last Cyanogen ROM and hence receiving no more security updates, or you can change the ROM you install. For changing, you could use an entirely new one and try to wait some guys start a fork of the project (this will, for sure, occur: perhaps you'll be one of them). With a fork it is possible they will choose to support upgrade from the last Cyanogen.




  2. Nothing, you just will not receive updates and you will risk more and more because of missing security updates.




  3. As you will not be able to update, your phone will keep the same software stack as it is. Bugs, security and stability will stay as it is in your last Cyanogen. For bugs & stability, you don't care but for security it is a pain (as security will go down as time goes on).




wi fi - Video streaming among Android devices using Wi-Fi without Internet


I am looking for a way to stream online video between 2 or more Android devices over Wifi network created by hotspot tethering.


I found one that can stream audio online.


Is there something similar but for videos?



Answer



Your best bet would probably be using a DLNA server app (This one, for example, though there are lots of others) on one device and an appropriate player (example) on the other devices. Not sure if it would work over a hotspot tether though, but there are free apps available for both ends, so it can't really hurt to try.


EDIT: Oh, misunderstood the question. That's about as easy. There are several apps on the store for running a camera server, like this one, for example. You then can use any compatible player to connect and view the camera feed


Tuesday, January 12, 2016

mp3 - Is there an Android PMP equivalent of the iPod Touch?




Possible Duplicate:
Are there any devices that are like an iPod Touch, but run Android?



In other words, is there a piece of dedicated hardware designed (or shipped with) Android that is meant as a media player, so that I wouldn't have to pay for a phone, and just not use the phone features?



Answer



There's also the Archos 28 which is a little smaller and a little cheaper than the Archos 32. Again, they're both referred to as tablets but the Archos site (links previously) both say "Excellent multimedia player".



Also, MP4Nation may have some Android PMPs.


app2sd - What is internal and external storage?


My phone said that the Golf 2 app is moved to the SD card.


In the app info section I have the following choices:




  • Force stop

  • Uninstall

  • Move to internal storage


Is internal storage the SD?




4.0 ice cream sandwich - I've deleted Google Play Store. How can I reinstall it?


I've been having an issue with my apps where an error "Package file is invalid" keeps appearing. I read a tutorial somewhere which told me to "uninstall updates" for the Google Play Store application. I was told doing this would uninstall the application, and then the device would automatically reinstall Google Play Store.


I did this, restarted my phone, but the application never reappeared.


I think tried downloading an .apk file to install this manually, but on install the application wouldn't load.


Has anyone done this before? How can I reinstall this application? I believe I need it for all future downloads and updates to my applications.


For the record, my phone is not rooted.



Answer



I nearly did everything offered in all google searches. nothing works successfully for google play to work in HCL ME U1. Installing Android SDK and running ADB shell etc. also sometime does not allow files to be copied to the /system/app folder and it's very tedious thing if you are not familiar with java and linux commands.


There seems to be some restriction by HCL in startup for disabling google play. Following is the option which worked for me and very easy and using which so far I have installed about 100 applications from google play and using my HCL ME U1 without any problem.





  1. Install JDK in PC. You may also require HCL ME connect for drivers of HCL U1.




  2. Install Android commander (PC program. download and install from net)




  3. Using android commander Copy android apk file in /system/app folder. Also copy the same apk to SD card folder.





  4. Now when you restart the tab it read as 'android upgrading', but soon you will get message "Unfortunately google play stopped working". Then try open Google Play it will show an error "unfortunately google stopped working" again.




  5. Now go to you SD card where you have the Google Play .apk




  6. Double tap on that and install Google Play. It will give a message that you are replacing main application etc. Say ok.




  7. Now Google Play will work/download/install any application from marketplace. Now Google Play will work like anything.





  8. The moment you shutdown or reboot your tab you will start getting "Unfortunately google play stopped working" message again.




  9. So whenever you want to use google play double tap and install Google Play from sd card. For that time being it will work until you reboot or shutdown and start.




So use that way it hardly takes 5-6 seconds to install Google Play .apk from sdcard whenever you start the tab.


PLEASE NOTE it is very important that to have the android .apk in root of /system/app folder. Without that it will not work.



--- What I feel is that HCL has made some restriction by disabling something in startup. Anyway it takes only 5 seconds to install Google Play .apk from sdcard. And for that time it works just pefect. I tried all other way but this is the only way it works.


file system - Please explain the android partition structure to me?



I've tried finding the answer myself, but everything that I am able to see seems to miss out the really basic first steps.


Here's my logic: FIRST Look at the phone's specification. Lets say Samsung galaxy S series. There are three elements: Memory (e.g. 1Gb); Storage (e.g. 16Gb); and removable storage which may or may not be present (e.g. upto 32Gb - I have 8Gb.)


SECOND Now the systems settings of Android 4+, there is an "Apps" item which shows at the bottom of the screen a label "Internal Storage". In my case it will say 1.4Gb used and 627Mb free. That's 2Gb.


If I swipe right, will will say "SD Card storage" 4.6Gb Used and 6.9Gb free. That's 13Gb or so.


THIRD If I use an app like "Hardware info" it says: System RAM 790Mb Internal Storage 2Gb External Storage: 11.7Gb


So, my question is how do I correlate these? 1. On which physical storage does "Memory" sit. 2. On which physical storage does "Internal storage" sit 3. External storage is easy - that's the removable card.



Answer




1) On which physical storage does "Memory" sit




When the specs say "Memory", it's referring to the RAM that the device has. This is not persistent storage, it is "volatile" storage, which loses its information when unpowered (after a brief discharge time). RAM is memory the system and apps use to function, for things like storing the state of an application (variables, functions, etc), graphics buffers, and the like. Most mobile systems on a chip will have the RAM attached directly to the CPU die to make it as fast as possible.


As per the specs: the device has 1 GB of RAM available to the system and running apps. It reports less than this because the system reserves some for things like the cellular radio and the graphics chip, which it will not give to user processes. The hardware info app is reporting the amount of RAM available to user processes.



2) On which physical storage does "Internal storage" sit



In this case, "internal storage" and "SD storage" refer to the same physical storage area. This is persistent storage, generally flash or eMMC based, that is soldered onto the motherboard. The storage chip is partitioned into two pieces, which you can visualize roughly like so:


                         Total Storage
+-----------------------------------------------------------------+
| Internal Storage | SD Storage |
+-----------------------------------------------------------------+


Internal storage is where apps and their private data are stored; e.g. it is the /data partition. SD storage is accessible via USB when attached to a computer, and is where media (music, photos, videos, etc), downloads, and any non-private app data will be stored. Again, looking at your specs, you can see that:



  1. The device has 16 GB of storage. That is, it has a 16 GB storage chip embedded in it.

  2. Of that, 2 GB is partitioned as "internal memory" for apps

  3. The remaining is partitioned for "SD storage" (13 GB, in your case, probably due to filesystem overhead and such; this is very common).


This partitioning scheme as become somewhat less common since Android migrated to Media Transfer Protocol for providing access to the storage from a PC. The reason the separate partitions were originally necessary is because Android used UMS in the earlier versions (anything <3.0), which requires block-level access to the storage space, meaning Android had to unmount the storage space that it provided to the PC. A consequence of this was that the entire partition could not be given to the PC because Android would basically cease to function until you unplugged your phone if it did.


The storage space and the RAM are unrelated to one another, and are not on the same physical chip. They serve entirely different purposes.


Monday, January 11, 2016

How to prevent apps and processes from launching in background and slowing my device


I recently installed GravityBox on my S3 mini. In one setting, I could change the physical button actions, so I decided that a Double Tap on Back would close the current app. It works fine. But it doesn't close it like when I do it manually - that is to say remove from recent apps - it just forces close so when I'm closing that way some apps like Geometry Dash or doesn't save my progress.


Actually it does more than that. I think it stops the most recently launched process since when I'm in some app and sometime I double tap back and it closes another app. And the big problem is that those apps slow drastically my phone. They prevent an action from being executed, they slow the navigation, they make games lag... They are named Google Play Services, Play Store, android.process.media, Messenger...


And oddly, when everything becomes slow and laggy, all I have to do is to double tap multiple time back button, and when every other app or process is closed everything is fast. But I often close the real current app by doing so. And when I'm in the launcher, I can tap a thousand times back, and there will always be a process called PageBuddyNotySvc the wouldn't close. Or it's LogProvider.



Answer




Naming Gavity box running on your device implicates it is rooted, so you could use the full powers of Greenify. Greenify "temporarily freezes" apps which are running in background (of course only those the user specified). Other than with "deactivating" or "freezing" apps using e.g. Titanium Backup, such apps stay available in all places (including the app-drawer) and, in most cases, even can receive notifications (GCM etc.). It's more "putting them to sleep" than "freezing them".


Greenify can be used on non-rooted devices as well, but its full powers are unleashed with root (and the donation package plus the corresponding Xposed-module). Definitely worth a look.


rooting - Root EVO 4G stock ROM?



I've got a Sprint HTC EVO 4G Wimax. I want to get rid of the Sprint Apps to free up some space on the internal storage, but otherwise leave the phone stock for now.


I followed the instructions at the HTCdev website to unlock my bootloader and I installed Superuser from the Play Store. If I can get an su binary installed, I can give root to Titanium backup and remove the Sprint Apps. There is a zip file at androidsu.com that I think I can flash, but that's the bit I haven't figured out yet.


Since I've got an unlocked, but otherwise stock phone, I guess I don't have a recovery image, since if I boot into recovery mode, I get a red triangle with an exclaimation point.


What are my options for recovery images? Is there anything besides ClockworkMod or Amon Ra? If I go with either one, how do I get it installed?


Or is there a better way to get this done?


Update:


I Installed Amon Ra and used it to flash the su zip file. I removed the apps that I could without breaking anything. I didn't free up any space I could use at the moment, but I'm happy to have them gone.



Answer




What are my options for recovery images? Is there anything besides ClockworkMod or Amon Ra?




A third popular option is TeamWin Recovery Project, usually referred to as TWRP.



If I go with either one, how do I get it installed?



Since your bootloader is unlocked, you can use fastboot to install a recovery if you download it in .img format. You do this by downloading the recovery image to your computer, plugging in your phone, and executing:


fastboot flash recovery /path/to/recovery.img

from a PC command prompt while your device is booted into fastboot mode.


Alternatively, ClockworkMod and TWRP can both be installed from apps on rooted devices. For ClockworkMod you can use ROM Manager and select the "Flash ClockworkMod Recovery" menu option. TWRP can be installed using GooManager by selecting the "Install OpenRecoveryScript" option in the app's settings menu.



A third option is to get a copy of the recovery you want in a bootloader-flashable zip file. For the EVO it will be a file named PC36IMG.zip. You put it on the root of your phone's SD card and then reboot into your bootloader and it should flash it for you. I know that Amon Ra has been distributed in this format, but I'm not sure about the others.


How do I update Android on my device?



This Community Wiki question is designed to be the "canonical question" for questions asking how to upgrade one's device to a new Android version.



I want to get a newer version of the OS for my Android device. How can I do that?


See also: Where can I find stock or custom ROMs for my Android device?



Answer




This is a Community Wiki post. If you see a way to improve it, please go right ahead and edit it.




There are multiple factors that go into the answer in your particular case.



  1. Is there an official update from the carrier/manufacturer? Then use the official method.

  2. Is there no official update, but has someone created a ROM that you could install on your rooted device? Then you need to look for how to update unofficially.

  3. If you have a little programming knowledge, and you know about Linux device drivers, you could try to make a custom ROM for the device. Start with an existing ROM project such as Cyanogenmod and port it to your hardware. This will take a lot of effort, there's a risk of bricking your phone, and it might not even be possible for your device (because of lack of drivers). If you still think it's worth a try, ask the developers of the ROM you're starting with where to start. (Note that questions about writing custom ROMs are off-topic on this site.)

  4. If there is neither an official update nor a custom ROM, and you don't have the knowledge or free time to port one yourself, then your only other option is to buy a new device.


Official


First, check to see that there is an official update for your device.




For most devices, you simply go to Settings | About phone | System updates. If the update is ready for your particular device, it will tell you so. If you're lucky, you won't even need to go that far, as there will be a notification telling you that an update is ready.


Note that it takes time for carriers and manufacturers to add their customizations to the OS. Just because a new version has been announced doesn't mean it's immediately available for your device. Even when a particular OS update is announced for your device, it is almost always a phased rollout, meaning that it could be days or weeks from the official release for it to be available for you. (Very often the update file is made available for savvy users to update manually.)


Some device manufacturers/carriers have slightly, or grossly, different ways of distributing updates. Samsung, for instance, is notorious for requiring users to use their Kies software.



Unofficial


If there is no official update for your device, you either need to wait for one (if one will be made) or install a custom ROM. There is a vibrant mod community that works very hard to make new OS updates available for old devices and devices where the manufacturer/carrier is very slow to do their customizations.


Rooting and flashing ROMs to your device is too large a topic to be covered in this post. Please refer to these other questions for that:



samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...