Saturday, June 30, 2018

How to totally block internet access (data) on an Android?


I use Android 4.1.2 dual SIM, so I often switch SIM cards and restart the cell phone.


My plan allows me internet connection, but it's pay by the day, so even if I mistakenly sent one byte, it would charge me fully for that day. Which I want to avoid!



Each time I restart the phone after I switched SIM cards, it starts connecting over the internet, although before the restart all the settings were to disable internet.


Is there a reliable way to disable internet access on Android, that will last between replacing SIM cards and reboots?


PS I do want to be able to use Wifi. But not data over my cellular provider's network.


You may suggest to call my cellular provider and ask them to disable data. It's not a good solution:



  1. Their customer service agents don't like to do it.

  2. Their settings seem to be reset each time I move their SIM card to a different cell phone.

  3. Sometimes I do need data in an emergency.




backup - Switch ROMs, still seamlessly use Apps and its data


I am presently using a rooted LG P500 running stock 2.3.3. I am very fond of trying various ROMs and recently got hooked to unofficial CM10 Android 4.1.1 (JellyBean).


Working with such unofficials or even official nightly builds has a problem of receiving frequent update. When ever such update comes I have to wrap up all my app and its data using Titanium Backup (TB) and for safety backup my present ROM completely using CWM recovery.


After installing the new ROM, I will download TB alone and restore all my apps. Though the TB has batch mode for "Restoring all missing apps and its data", TB asks for confirmation before installing every app and prompt for "Done/Open" after installing every app. This kills the purpose of running a batch.


Now my questions:



  1. Is there any way I can switch between ROMs but keep the apps (with its data) installed in a common location for all ROMs

  2. Automate the restore option (in new ROM) such that with one click and a wait of few minutes should get my phone back with all apps and data intact?



My dream use case with either question will be like: While I am in 2.3.3 ROM I would simply backup the present apps and its data to SD card and install the new ROM. When the new ROM is installed, I would like to have the apps that where backed up in my 2.3.3 ROM to come back with its data by doing something that is not daunting, but ready to wait for a while.


Any suggestions?



Answer



The pro version of Titanium Backup supports batch restore without user interaction. It's worth it.


I can't receive SMS when I have low storage


From the time the "low storage" warning appears no synchronization is done at all, including receiving SMS.


Can I do anything about it? Can I "force" my Motorola Milestone Froyo to receive SMS somehow?


This is really annoying. Especially because the user doesn't informed in detail. I missed a lot of SMS... I hope that gets fixed in Froyo.



Answer



http://code.google.com/p/android/issues/detail?id=4991


This is bug. You must always make sure you have free space in Android, otherwise the bug might happened.


touchscreen - Broken screen/glass, turned off, pc-controll? HELP?




I was wondering if there is any ways for me to controll my phone (Sony Xperia V) with my computer? Half of the glass/screen is broken, so i cant write anything on the lower part of the screen! The phone is not rooted, and has also been turned off, so im kinda stuck.


So, my question is: Is there any ways for me to controll my non-rooted, turned off, screenbroken phone with my computer?


Cheers!




Friday, June 29, 2018

What's the difference between a service and a broadcast receiver?


I keep hearing about services and broadcast receivers. What's the difference between them, and how do they affect the operation of my Android phone from my point of view?




Answer



Android applications have three kinds of components. In general, users don't need to know about them: they're a way for app authors to program particular behaviours into their apps. But if you're watching your apps' behaviour closely such as with a task manager, or if you are automating things with an app like Tasker, it's helpful to understand how they fit together within the system.


An activity is the most familiar type of component: it's a window you can see: either full-screen or dialog-sized. An activity only runs while it's displayed on the screen. Once you leave the activity, Android will keep that app in memory ready to be started again, but the activity won't run, meaning it won't use battery or network. An app starts an activity using an intent. The intent can specify explicitly which activity to start, or it can specify an action to perform (such as opening a particular file). If more than one activity can "handle" the intent, you see the dialog asking you to choose one.


A service is another application component. Once another component (maybe an activity, or another service) has started a service, it runs in the background until it stops itself. This means that a service could be keeping your phone awake (using a wake lock), running down the battery, or using lots of network data, without anything showing on the screen.


Apps can use services to do long-running processes in the background, such as downloading files from a server, or checking for email, or checking your location. Although services don't show up or interact with you directly, they still show up in the "Running apps" list. From the Settings app, choose Apps or Applications manager, and then Running. You can stop a service that way, but it's not usually necessary. Because services aren't directly visible, Android considers them less important than activities, so they'll be the first to be killed when your phone needs more memory.


Broadcast receivers are the third kind of component. Like services, they only exist in the background and don't interact with you directly. But unlike services, they can't stay running or perform long tasks: they exist to respond to events. And unlike activities and services, more than one broadcast receiver can be started in one go.


A component broadcasts an intent, possibly to one app, but more often without specifying a particular app. In this case, the intent usually represents an event that's happened, such as the battery running low. The system finds all the broadcast receivers that have registered an interest (using an intent filter), and runs each in turn. Each broadcast receiver can react straight away, for example by creating a notification, or it can start a service or an activity to take further action. As soon as the broadcast receiver has handled the event, it is stopped and will not run again until another similar event is broadcast.


An example of all three components working together is when you download an app from Google Play. First, the Google Play activity provides the visual interface for you to choose the content to download. The list of apps might be one activity; clicking the "install" button starts another activity to show the confirmation or payment dialog. When you confirm, the dialog activity starts a service. The service will continue to download the content even when the activity has finished and is no longer running.


But perhaps the phone loses Internet connection while the new app is downloading. If this happens, Google Play's download service will register a broadcast receiver, with an intent filter to say that it's interested in network connectivity changes, and then the service will stop itself. When the phone connects to the Internet, the system broadcasts an event. Android will start the broadcast receiver the Google Play service registered, along with any other broadcast receiver waiting for that event. In this case, the broadcast receiver will start the download service again. The service will create notifications as the download proceeds, and when it finishes, it will send its own broadcast to inform other apps that the new package has been installed, and will then stop itself. In turn, this will start broadcast receivers from other apps, to update the list of apps in the launcher, etc.


In summary:-




  • An activity represents a window on the screen; a service performs a possibly long-running background task; a broadcast receiver runs for a short time, to handle an event.

  • All three are started using intents, but using a different mechanism. The launching app has to state explicitly which type of component to start (by calling a different method in each case).

  • When an app starts an activity using an intent, it only starts one activity (possibly showing the "Complete action using..." dialog to let you choose which), and the same goes for services, but broadcasting an intent may start several broadcast receivers, possibly from different apps.

  • As a user, you interact with activities directly; you don't interact with services, but they can slow down the phone and consume resources; you don't interact with broadcast receivers, and because they're short-lived you don't need to worry about managing them.


How to disable warning about listening at high volume for a long time



I use an ambient sound app through headphones while I sleep. This usually works quite well, except for the occasional night where i get woken up because Android has decided to drop the volume and display a message to the effect of "Listening at high volume for a long time can damage your hearing." I haven't managed to transcribe the exact wording yet because I'm usually grumpy and attempting to get back to sleep when it happens. I'm fairly certain that it can be displayed more than once per reboot cycle, as it was displayed last night despite my having used the phone this way numerous nights over the past couple weeks. (uptime currently shows 13 days.)


FWIW, I'm probably risking permanent hearing damage by doing this, but that seems a better bet than the certain negative effects (acuity, mood, cancer) of not getting a decent sleep.


Is there a way to disable this "feature", with or without root?




privacy - How to use Adblock AND a VPN


I'm using Private Internet Access's VPN via its App and now I'd also like to additionally use Adblock Plus.
The problem however is that I apparently can only use either VPN or Adblock Plus - but not both in combination.
Is it possible to use both by changing some setting in either of the Apps or of my phone ?


It says it couldn't change the proxy settings of my phone so I should do it manually. But as all traffic is routed through the VPN changing the proxy-name to "localhost" and the proxy-port to "2020" didn't help. It keeps on waiting for traffic on Port 2020. I guess it comes down to routing the VPN traffic through the proxy. But maybe there's also another solution to it (like another Adblock App that works differently for example).




My phone:
Samsung Galaxy Ace 2, I8160
Firmware 4.1.2

Rooted


The Error Message (roughly translated):
"Seemingly no traffic was routed through adblock plus. Adblock Plus couldn't change the proxy settings of your device. Please configure them manually."



Answer



There are good reasons why you cannot use such a combination:



  • routing your VPN traffic via another proxy might compromise it, thus rendering your VPN useless

  • doing it the other way around won't work, as the Adblock proxy then would need to be behind the VPN one – which you cannot establish on your device


So what you need is, as you correctly pointed out, an ad-blocker working by different means. Examples include (without giving any recommendation here, just listing possibilities):




  • something working via the hosts file (i.e. routing all ad-requests "to /dev/null" (or rather to 127.0.0.1, which is your device itself, which doesn't have them → nothing returned to display)

  • something "nulling" the ad modules themselves (i.e. "disabling" them)


None of those are "to be found" at Google Play for obvious reasons (though there might be some which Google either didn't recognize yet, or which have the corresponding activity hidden from the UI itself by hiding it, or which are simply ignored as "not fit for international use").


I could name some of the latter two categories, e.g. LBE Security Master (which is only available in a Chinese version on Play (see XDA for a localized English version)). There are also several apps working with the hosts solution, which you can find on e.g. F-Droid or Aptoide (see my app-list on Ad-Blockers for examples).


Thursday, June 28, 2018

google play games - I uninstalled an app,but did not clear space


So i am using a Samsung Galaxy Tab 4 and i recently had this game called 'Bully:Scholarship Edition'(got tired a while of the GTAs) and i saw the app was having 5.30GB memory size I tapped uninstall and the app,the obb(2.5GB) and the data are gone from my device,but i keep having only 500MB free I do not have any cache to delete I did restart my device a couple times Nothing seems to work


Please help me if you can




How to disable shortcut to launch (Samsung's) S Voice *without* accepting its ToS?



By default, when you double-tap the home key, you'll launch straight into S Voice.



To disable that shortcut, one could



load S Voice, then press the menu key and hit "Settings." Next, uncheck "Open via the home key." That's it -- with the shortcut combo disabled, the home button should respond immediately as opposed to with a very slight delay.



However, this method seems viable only once Samsung's Terms of Service (ToS) have been accepted - only after which S Voice will launch fully. Any way to disable that key combo without having to accept ToS of a S I do not want?


Note that at this stage I do not (yet) want to uninstall S Voice. If you happen to know how to uninstall it, I'd appreciate a comment, though :-)





Wednesday, June 27, 2018

Moto G3 (android marshmallow) not detecting SD card anymore (solution?)


About a month ago the Moto G (3rdGen) of my wife was not able to recognize the SD-card 32GB Trancend premium 400x (which was formatted as adoptable storage) anymore. On this card were very important pictures and movies for us (of our new born baby). As of a certain Android version the adoptable storage is also encrypted and reading it on a PC or other phone is not possible without the encryption key. Since the phone was also not rooted it was also not possible to get the encryption key from the /data/...something directory... (see https://nelenkov.blogspot.ch/2015/06/decrypting-android-m-adopted-storage.html). So I almost gave up hope...


I bought the exact same type SD-card, also 32GB, only about a year later. Hoping that I would be able to make an exact clone of the card and I would be able to start some experiments with it without the risk of destroying something on the original card and losing all the data. When I mounted the original card under Linux it shows two partitions 17MB and about 31GB. Cloning the card with some Linux command line tools didn't gave me the same result. Next thing I tried was cloning it using HDDrawCopy, first write the entire card to an image on my harddrive. When I copied the data to my new 32GB card I noticed that the new card did not have the same capacity of the image file (image was 32.22GB, new card shows capacity of 31.11GB) so hmmmm that trick doesn't work... Luckily I also happen to have a 64GB SDcard (same type) which should have enough space for this test. So using HDDrawCopy I wrote the image to this card. Checked under Linux if I see the same partition as with the original card and this happens to be (of course it also shows about 32GB of free space not partitioned).


So I thought lets see if the Moto shows the same error with my new card in the phone and that I made an image on which I can start to try to hack the encryption off(now or in the future). To my surprise the Moto shows immediately that the transcend 32GB volume is mounted! I went to the gallery of the phone and IT SHOWS OUR PICTURES AND MOVIES again!!!


So in short when this happens buy a larger volume SD-Card (to make sure that there are enough data-block available). Use HDDrawCopy to make a bit-wise clone/image of the original card. Write the image to your new card and check if it can be read by your phone.


Never do the following or your data will be lost:



  • Format the card

  • Set your phone back to factory default (destroys your encryption key)

  • Make the phone to forget/unmount the storage location (also destroys encryption key)


  • upgrade to a newer version of Android (or any other major system update).


(of course make sure to make backups or cloud syncs to prevent this situation at all)


I hope this can help someone out there who might ended up in the same situation.




uninstallation - Uninstall apps locked by phone vendor



I'm using a Samsung I9000 and I have some annoying apps that came pre installed by the phone vendor, like a music store, a custom web browser and other memory leaking apps.


Those crappy apps can't be uninstalled neither by Manage applications tool, nor by editing the apps tiles in the front menu.


I guess I have to be a root user or something to get rid of those apps, but I don't know how.



Answer



Yes, you have to be rooted. To get rooted, see this question: How do I root my Android device?


One of the easiest ways to uninstall system apps after rooting is to use Titanium Backup. You can just click an app and choose Uninstall.


Note: Be careful what you remove! You might want to use Titanium to back them up before you remove them, in case it makes your phone unstable or stop working.


Also note that the bootloader may restore system apps on reboot. If possible, unlock your bootloader; you may also need to install a custom ROM that's deodexed, or to edit the image that is restored by the bootloader. That depends on your particular device, but with the SGS you should have no bootloader-related problems.


Tuesday, June 26, 2018

rooting - How to root Samsung Galaxy S4 SCH-I545



I would like to root my Verizon Samsung Galaxy S4 SCH-I545.


It is currently running Android 4.2.2 and has Build number ending in VRUAME7.


How do I root my Galaxy S4?



Answer



There is a root method available for the VRUEMA7 Build that does not require you to wipe your device or flash ROMs, but it does not have an unlocked boot loader (source & credit to: http://forum.xda-developers.com/showthread.php?t=2380325)


STEP 1: Download all three files from the first step from the source above and install/extract as necessary.


STEP 2: Insert a microSD card (exFAT format REQUIRED) into your device and connect it to your computer as a media device.


STEP 3: Move the extracted files and folder from the Root Exploit package onto the root of your microSD card. Do not put them in ANY folder.


STEP 4: Open the Android Terminal Emulator App on your device and run the following commands hitting return after each line:


cd /mnt/extSdCard

./pwn
./script.sh

After the second command you should see the '$' change to a '#' indicating root access. The third command will make root access permanent.


STEP 5: After the above commands have run, you can download and open SuperSU and check for binary updates. At this point you should be done and you can open an app that will request root access to test this.


wi fi - Locking applications to wifi only data connections


So I've switched to a tiered data plan. Is there a way to lock certain applications from using 3g/4g and instead only use connected wifi.




cyanogenmod - Pressing volume keys causes songs to skip


Device: Motorola Defy (MB525), running Android ICS (4.0.4), CyanogenMod 9-20121116-NIGHTLY-jordan


Issue: Whenever I'm listening to songs on any song app, If I press either volume up or down keys when the screen is on, it works fine. However, if the screen is turned off and I press volume keys, it either returns to the beginning of the song (on vol down) or skips to the next song (on vol up).


Apps affected: This behaviour is verified on Google Play Music, Doods Music Streamer, and pretty much any app that has support for skipping songs while the screen is locked.



Answer



This is a feature of CyanogenMod. Pressing and briefly holding one of the volume buttons when the screen is off will cause the music player to skip forward (volume up) or backward (volume down). The intention is that this allows you to skip tracks and whatnot without having to unlock the device.



If you find it annoying then you can disable it completely in your settings: simply uncheck the option at Settings -> Sound -> Volume rocker music controls. Alternatively, try to use short presses of the volume buttons when the screen is off and it should adjust the volume rather than skipping.


sync - How can I specify a default contact for merged contacts?


I have some contacts on my phone that appear in all or some of:



  • my phone

  • my google contacts

  • skype

  • facebook


Thankfully, Android allows me to link that contacts, so that I have only one entry in my phonebook with access to all the different sources. However, the names aren't always identical. For instance:




  • in some cases the name is in English, in others in Hebrew

  • some have the full name, others only the first name


Is there any way to select which of these is the default display name?



Answer



Edit the contact you want to be the default. Then press the menu button and join the additional contacts. This will keep the display name as the original contact you were editing.


Monday, June 25, 2018

apk - How to install system app on Lollipop as su doesn't exist


I want to install a system apk (its the Dialer.apk) on Lollipop and am following these instructions


How do I properly install a system app given its .apk?


However after doing adb shell I get an unfound error trying to run su:


/system/bin/sh: su: not found


What's the problem?


UPDATE ------ After a bit of googling I found something that says the SU binary isn't present in Lollipop. If that's the case then how can I install an apk to system?




dialer - Any way to dial international calling codes automatically based on my location?


I do a fair amount of international traveling (currently mostly between the U.S. and Mexico, but will be visiting Europe, Africa, and South America soon, too), and am looking for a dialing app that lets me set international dialing rules, so to speak, for each of my contacts.


This post describes pretty well what I'm looking for, and an app for PalmOS that apparently did it pretty well.


In short, I should be able to:




  • Specify a country for each contact phone number

  • Specify the country where I am located (either automatically by GPS location, or I can select my location, or a dialing profile, or whatever)

  • Then when I dial, it will automatically dial the appropriate country code before the number.


Example scenario:




  • I have a contact entry for Bob, who's phone number is 123-555-1234, and he is in the U.S.

  • When I am in the U.S., Bob is automatically dialed as 123-555-1234

  • When I am in Mexico, Bob is automatically dialed as 00-1-123-555-1234




or




  • I have a contact entry for Alice, who's phone number is 33-33-12-34-56, and she is in Mexico.

  • When I am in the U.S., Alice is automatically dialed as 011-52-33-33-12-34-56

  • When I am in Mexico, Alice is automatically dialed as 33-33-12-34-56




Please note this question is not about how to select the cheapest calling plan for each number, or making international calls with Skype or another VoIP service. It's simply about dialing the proper international exit codes when doing standard "direct-dial" with whichever mobile provider I'm using.



Answer



You can just save the numbers in international form. For example, Bob's would be +1-123-555-1234 and Alice's +52-33-33-12-34-56.


Sunday, June 24, 2018

How do I sync only "My Contacts" from Google on Samsung Galaxy S?


Is there any way that I can limit my Galaxy S to only download & sync contacts from the google account that are in "My Contacts"? Right now, it downloads everything, in particular, contacts in the "Other Contacts" group which has people that I've only emailed one time (or responded to). This takes my contact list from <200 up to 500+. On the other side, any way to use the groups that I've included in my google account?


I'm not opposed to using a separate application to manage these. It seems to me that Samsung's contact implementation is just poorly thought out, and I really hope that they make drastic changes to it for the 2.2 update.




samsung galaxy s - Can I install CWM without Odin or root?


I have an SGS with stock Gingerbread (2.3.3). Can I install CWM without Odin?


Will installing CWM also root the phone, or do I have to root it ahead of time?



Answer



You need Odin in order to install CWM without root (or conversely, you need root to install CWM without Odin). CWM does not root the phone.


You don't need root for ClockworkMod Recovery, though you do need root for the ROM Manager app.


Edit: You can't install unsigned packages with the "3E" recovery, which was part of some official update packages (most Froyo ones and presumably all Gingerbread ones). This prevents one from flashing a custom ROM, kernel, modem, or recovery through the stock recovery (since they aren't signed by the manufacturer).


The way to get around this is normally to use Odin to flash a custom ROM or kernel with a custom recovery. I'm not sure if flashing a signed update to an older official ROM, with the older recovery, would work; it might say it's older than your current version and fail, or it might just work. I've never been able to try it, and I'm familiar with Odin anyways.


cyanogenmod - Where has all my storage space gone?


This is actually starting to annoy me!


Every so often, I get the 'Storage space running out' notification. I go into my settings, and it says I have 60MB left.


The thing is, almost a month ago I erased the device because of the same thing - I have my 1.8GB available, and everything was fine and dandy, until now.


I haven't installed anything recently, however I suddenly only have 60MB left. I added up all the app sizes according to Android:


Chrome - 65.55MB
Can You Escape - 34.75MB
Facebook - 31.77MB (why does Facebook use so much?)
Gmail - 27.46MB
Skype - 24.04MB

Facebook Messenger - 19.74MB
Search - 18.98MB
Tapatalk - 17.50MB
Hangouts - 17.33MB
Maps - 13.49MB
Google Play Services - 13.49MB
Google Play Store - 10.91MB
Youtube - 10.80MB
System - 10.27MB
Google+ - 9.39MB

Shazam - 8.37MB
Titanium Backup - 8.30MB
Spotify - 6.93MB
Ingress - 6.70MB (I still have 3 invites if anyone is interested)
Media Storage - 4.50MB
3G Watchdog Pro - 4.05MB
Cerberus - 3.02MB
Secret Codes Revealer - 2.99MB
Email - 2.93MB
Contacts Storage - 2.62 MB

Super SU - 2.50MB
Screen Standby - 2.27MB
Settings - 2.20MB
Titanium Backup Key - 2.12MB
DeskSMS - 2.09MB
Exchange Services - 2.05MB
Browser - 2.05MB
Root Explorer - 2.03MB
TalkBack - 2.02MB
Beats Audio - 1.90MB

Google Services Framework- 1.86MB
Google Text-to-speech - 1.78MB
Gallery - 1.75MB
Spirit UL - 1.66MB
Contacts - 1.65MB
Spotify Community - 1.53MB
Sound Search for Google Play - 1.34MB
I then have ~80 apps < 1MB in size.

Add them all together, and I get 490.53MB - nowhere near the 1.9GB Android says I am using.



Why is Android reporting me using 1.9GB? What is using this memory? Why isn't it showing in the settings?


And above all, how can I fix it?


I am using a Samsung Galaxy SII with Android 4.2.2 Cyanogenmod 10.1


Output of df shell command:


Filesystem               Size     Used     Free   Blksize
/dev 395.3M 48K 395.3M 4096
/storage 395.3M 0K 395.3M 4096
/mnt/secure 395.3M 0K 395.3M 4096
/mnt/asec 395.3M 0K 395.3M 4096
/mnt/obb 395.3M 0K 395.3M 4096

/mnt/fuse 395.3M 0K 395.3M 4096
/system 503.9M 340M 164M 4096
/cache 98.4M 72M 26.4M 4096
/efs 19.7M 8.3M 11.4M 4096
/data 2G 1.9G 83.9M 4096
/preload 503.9M 204.3M 299.7M 4096
/mnt/asec/com.keramidas.TitaniumBackupPro-1 2M 100K 1.9M 4096
/storage/sdcard1 7.4G 126M 7.3G 4096
/storage/sdcard0 11.5G 4.6G 6.9G 4096
/mnt/secure/asec 11.5G 4.6G 6.9G 4096

/mnt/asec/com.thales.android.view-1 3M 1.1M 1.9M 4096
/mnt/asec/com.nianticproject.ingress-1 26M 24.4M 1.5M 4096
/mnt/asec/uk.co.nickfines.RealCalcPlus-1 2M 340K 1.7M 4096
/mnt/asec/com.mikersmicros.fm_unlock-2 3M 1004K 2M 4096
/mnt/asec/com.eclipsim.gpstoolbox.pro-1 2M 76K 1.9M 4096
/mnt/asec/com.eclipsim.gpsstatus2-1 2M 912K 1.1M 4096
/mnt/asec/com.farproc.wifi.analyzer-1 2M 1000K 1M 4096
/mnt/asec/com.shazam.encore.android-1 10M 7.8M 2.2M 4096
/mnt/asec/com.hutchison3g.planet3-2 5M 3.8M 1.2M 4096
/mnt/asec/com.google.android.apps.plus-1 20M 18.5M 1.5M 4096

/mnt/asec/eu.chainfire.supersu.pro-1 2M 64K 1.9M 4096
/mnt/asec/com.speedsoftware.rootexplorer-1 3M 1.4M 1.6M 4096

Answer



I use DiskUsage for situations like this. It graphs the directory structure for you in a very pedagogical way to show you what directories (and subdirectories) that are taking up the most space. It literally solves situations like this in 15 seconds for me, because I'll see a big square with the text "Movies" or something on it, realizing I completely forgot I put an entire season of Wonders of the Universe on my device or something — or I'll se a folder with a name of an app that has long since been deleted with a bunch of useless cache :)


Try it out, I'm not sure how well it works on non-rooted devices but I think it should work on those as well, I don't think it does anything else than list directories and add their content size up.


usb drivers - Do all Android devices have USB OTG support?



I am using celkon A98. The specification of my device says it does not have USB OTG support .. I tried OTG troubleshooter app... it says USB host is supported ... Do I have USB host functionality **or was that a bug in the **OTG troubleshooter app ? L




Saturday, June 23, 2018

wi fi - Wi-Fi tethering with HTC Magic


Will Wi-Fi tethering work in HTC Magic running Android 2.2?


I wonder also, is the 2.2 update for htc magic a official update or one of these custom ROMs?



Answer



Yes, you can do Wi-Fi tethering with the HTC Magic. However, it might require a custom ROM.


All versions of the HTC Magic except for the Dream/G1 have gotten an official 2.2 update, as far as I am aware. This includes the T-Mobile myTouch 3G and the Vodafone Magic.


Friday, June 22, 2018

Skipping Android Security Updates?


I am rooted on my Nexus 6P and I used Flashfire to install the March security update. I didn't install any of the previous updates and haven't installed any after the March one.


This has made me think of a few questions:


Does the March update contain all fixes from prior updates as well?


Do I have to install each incremental security update or can I just install the May one without installing April's?


Should I go back and install the previous patches and if yes, will this negatively affect anything?


I have noticed a lot of random reboots and the device running hotter than before, although I am not sure if this is because of the manual updates or a bad app.


Any insight is appreciated.




firewall - How to filter IP address in a hotspot/tether


For non rooted phone IP can be filtered/blocked by using a firewall like NoRoot firewall. Every apps in the pthone can be controlled this way. But when mobile data is shared with other devices (like tether to a PC, WiFi hotspot) they aren't under the control of the firewall. Applications, like software update, on the other devices are sucking the whole data which lead to exhaustion of mobile data.


So How to filter IP/domain from connection on a phone that act as a WiFi/USB hotspot. I have visited many hotspot manager apps but none of them seems to have a filter option. Does any hotspot manager support it? or any method? nonroot highly recommended.


**Update **


PLAN to identify spam IPs After creating the hotspot client devices are connected. Clients are requested wait for some time so that spam apps begin to update/download by connecting to their server. These IPs are noted and filtered by the hotspot manager.




security - Child-proofing an Android phone?


Is there a way (an app, or a special launcher, a set of apps with instructions) that allows turning an Android phone into a child-proof "only call parents" one?


Here are my main requirements (and some possible implementation ideas I was thinking of as bullet points):




  1. The phone's main purpose is to serve as an emergency way to contact parents etc...



    Yes, I know there are special child proof phones like LG Milo - I am interested in how to turn an Android phone into that same functionality when not "unlocked".




  2. When "locked down", the only thing a child must be able to do would be to call one of several pre-defined phone #s.




    • Whitelisting #s in dialer app (requiring password for non-whitelist)




    • or, having a custom dialer that only has "call Mom" etc... buttons with no way to dial specific phone #s; and tuning off access to Android dialer app (see item #2)







  3. When "locked down", access to ALL non-whitelisted apps is restricted




    • Password protecting ALL apps not whitelisted (including of course Play Store and browser).





    • Or, custom Launcher that doesn't have anything but a widget for calling whitelisted #s and apps.




    • Or, if push comes to shove, I'm OK with ONLY phone functionality being whitelisted if no other apps can be to get this to work.






  4. Less importantly, it's a nice-to-have if the phone can be "unlocked", perhaps via "parent" password, to allow full Android functionality without having to re-flush/reinstall etc...





  5. This does NOT need to be genius-child-proof. E.g. if the way to unlock it is to reboot and launch Recovery mode, that's safe enough for me. The goal of locking down is mostly to cut down on accidental bad usage; and on temptation to do stuff that the phone isn't designated for in school (IOW, emergency contact method); if a child is smart enough to bypass lockdown, it's not the end of the world.




As far as what it takes to do this, I'm extremely comfortable with rooting, somewhat comfortable with flashing as a process (but less comfortable with flashing a random ROM of questionably stability, for obvious reasons); very comfortable with generic Unix commmand line; shell, Perl and C programming; but not Java or Android development. Basically, the sky's the limit technically as long as I don't have to actually write a genuine Android program



Answer





  1. Activate Fixed Dialing Numbers feature from Call Settings (and, add numbers there to allow). You may need to contact your carrier. This is supported by even classic Nokia phones, so all ROMs should support it.





  2. Kiosk lockdown the device and allow only Phone/Dialer app in Kiosk Mode. For Kiosk Mode, try searching "Kiosk" in Play Store. SureLock Kiosk Lockdown app looks great to me.




Don't forget to allow kid apps other than phone in Kiosk Mode. Happy Parenting!


Sync Telegram Contact with Phone Contact


I have Nexus 5x with android 7 and recently my telegram contacts are not sync with my phone contacts, and my sync option for telegram is on. what should I do to aync my telegram contacts with my phone contacts





Thursday, June 21, 2018

applications - Possible to turn on Airplane mode with WiFi on only?


I know the definition of Airplane mode is all communications and radio signals are blocked. But is it possible to turn off the "calling/receiving" part of the phone so your phone is not connecting to a cell tower and only allow Wifi? I've looked into a couple of apps in Google Play but they're either not working or out of date with newer versions of Android.


I know there is strong opinions on both sides of the issue but I'm worried about radiation from my phone since i use it a lot in bed and I hold the phone close to my head and face. At night I'm not worried about receiving calls, so I just want to turn off the phone part and use WiFi. Is there a way? Or am i just crazy and paranoid?




Wednesday, June 20, 2018

4.1 jelly bean - How to root LG Optimus L7 II - P713


I've just bought an LG Optimus L7 II - P713 in Vietnam. It runs Android 4.1.2 and now I would like to root it. I just searched Google but still didn't find out how to root it.


Can I root this phone? If yes, how do I do it?




external sd - How to record More than 4GB Video on exFAT?


I have a Galaxy S4 4G (I9505) with a 32GB external micro-SD card formatted as exFAT. I use this to record some seminars that takes often 0.5-1.0 hour. The video seems to stop after 30-45 minutes based on the video resolution, but always when the file size reaches 4GB.


I know that ex-FAT allows more than this. My device reads it fine and everything, but the camera app still enforces the limit. I'm using the stock app, on a non-rooted Android 4.2.2 (OTA update), the Samsung version not the Play one. It's also usually not a battery problem (battery is often above %50 after recording, and sometime it's in charger from laptop or power plug).


If I understand correctly, Android API allows overriding this limit and maybe making it unlimited, but I can't find any video recording application that does have this limit disabled. Can you suggest any?


Otherwise, if there is another custom ROM or whatever that I may install to get a modified stock app without the limit, I'd take that as an option, although obviously just recommending a 3rd party video recording app that overrides the limit sounds like a much less hassle (even for someone familiar with rooting and flashing, from my old Galaxy S 1 days).




Tuesday, June 19, 2018

2.2 froyo - How do I download PDF documents from Gmail?


When I receive a PDF attachment, the Gmail app only gives the option to preview it, not download. It opens in the default PDF reader (I have Adobe's reader).


How can I save the PDF instead?



Answer



Attachment2SD will do the trick.


After you install it when you click on the PDF attachment in the Gmail app it'll pop-up the "Complete Action Using..." dialog. Choose Attachment2SD and it'll download to a directory on your SD card, where you can immediately open it or save it for later. This works with all kinds of files, not just PDF.



Monday, June 18, 2018

How to (cleanly) remove Gmail app from KitKat? I have fully moved over to Inbox


Hey I have a moto G (no SD card!) and so space is a premium.


I have 'removed all updates' and cleared data on Gmail but I would like that extra 40 MB back. Is it possible to remove Gmail completely?


Now I'm not so sure this was a good idea, as Inbox is a front-end for Gmail.


Inbox seems to be working fine...



Answer



Deleting the Gmail app wouldn't give you extra space, as it came pre-installed as system app. Those "system apps" live in a different partition (/system, which is why they are usually called "system apps"), which is mounted read-only – and not available to the user to be written.



However, Google Apps (including Gmail) are regularly updated via Google Play. Those updates are placed in user-space (inside /data), and thus consume space you could use otherwise. To claim back that space from system apps you don't need:



  • From the home screen, go to Settings › Apps

  • Select the "All" tab

  • Scroll to the app in question (here: Gmail), tap its entry

  • Now you see some details on that app, including some buttons you can press. Press:

    • Force Stop to "shut down" the app

    • Clear Cache to make it release its "temporary files"

    • Delete data to get rid of its configuration and stored user data (optional; if you think you might need this app later, skip this step)


    • Uninstall updates to get rid of the app-updates installed in user-space

    • Now that button gets renamed to Disable, hit it again (it should be renamed now a second time, and read Enable – so in case you need it at a later time, you can do so. Note it then would draw-in the latest updates again)




Now the app should no longer be visible in the app drawer, and also its shortcuts etc. on your home screen(s) should be gone. Storage claimed by the app's updates, caches, and (optionally) data is freed, and available to you to be used for other purposes.


Sunday, June 17, 2018

How can I get heads-up notifications for WhatsApp?


I really love the new heads-up notifications in Lollipop because they look much cleaner now, but it's really weird some apps use them or not.



I would really want them to work with WhatsApp, but I just don't find out how, or if it is possible.


Any suggestion?



Answer



Update: WhatsApp has implemented heads-up notification natively. However, users can still use the apps listed here to display heads-up notification for other apps. If the user is already using it, don't forget to disable WhatsApp's entry to prevent double heads-up notification.




At that time, it's impossible to do this directly from WhatsApp official app.


The heads-up notification is only shown when the notification is set to high-priority, max-priority, or full-screen notification by the developer. So, the "official" answer was to wait for them integrate the function.


However, there are 3rd-party apps that implement this feature for all apps:



  1. Heads-up notifications


  2. Heads Up! - notifications


You can control which apps are permitted to show the heads-up notification (I recommend you to do that before they flood the screen), and the customization is also pretty extensive.


Do custom ROMs like CyanogenMod modify your bootloader?


Does a custom ROM like CyanogenMod come with their own bootloader or does it just overwrite the /boot kernel and /system? Does the bootloader take responsibility to lock your SIM card on a carrier?


Basically, I'm interested in SIM unlocking my Huawei U8180, and would like to know if CyanogenMod will unlock the device.




finger print scanner - Completely disable the fingerprint sensor


I don't really like all the hype about the fingerprint sensor, I'd rather like to have it killed down, so that it doesn't register any fingerprints.



On a desktop Linux I'd simply modprobe -r the relevant kernel module. Can I do something like that on Android? I don't want to simply disable it in the settings - then I have to trust the system that nothing really uses it.



Answer



On Linux (and Android) it is possible to disconnect a device from its driver[1]. The fingerprint driver (denoted as fpc) on my LG G5 has the name fpc1020. Searching in the /sys path gave me the folder /sys/bus/spi/drivers/fpc1020/. This folder has four files: bind, unbind, uevent AND spi8.1. What we do is to unbind the device spi8.1 from the driver fpc1020.


Now how to disable the sensor:




  1. we need to find the driver name:
    Try this command: find /sys/bus -name 'fpc*'
    For me it's: /sys/bus/spi/drivers/fpc1020/





  2. we need to find the device name:
    The device name is the fourth file in this folder.
    ls /sys/bus/spi/drivers/fpc1020/ (depends on your result from 1.)
    For me it's: spi8.1




  3. unbind this device:
    echo spi8.1 > /sys/bus/spi/drivers/fpc1020/unbind (depends on your result from 1. & 2.)
    Now you are not able to use the fingerprint sensor until the next restart.





  4. unbind on every system boot:
    We want/need to execute this command on every boot. Currently I'm not sure what's the best way to do it.




Requirements:



  • Root Access

  • Terminal App (or adb shell from PC)



References:
1. https://lwn.net/Articles/143397/


Android browser's about:debug, what do those settings do?


I have just found this hidden setting:



  1. Open Stock browser (Not Chrome on ICS. about:debug doesn't work in Chrome. Use remote debugging instead.)

  2. In the address bar, type about:debug, nothing should happen, there will be no confirmation screen or flashing green box telling you that you've done anything.

  3. However, there should now be a few new options in the browser's Settings page.



enter image description here
(Click image to enlarge)


In Menu > More > Settings:


enter image description here
(Click image to enlarge)


In Menu > More, there is also:


enter image description here
(Click image to enlarge)


probably there are other new menus showing up that I haven't noted and the menus are very likely to be version specific.


While, I understand some of these settings, there are many of these settings that I don't understand, like where can I find the Javascript Console, what is being traced, what light touch and nav cache dump does, where do the dump files being saved to, what are the valid JS (Javascript?) flags, etc.



I find it difficult to Google what these setting do. I'd like help from others to play/experiment/Google with about:debug and write up what these settings do. Any bits of info you can gather is helpful.


Please have one answer per setting, unless you're describing interrelated settings.




Saturday, June 16, 2018

outlook - How can I get exchange email subfolders on my Samsung Galaxy S3?


Does anyone know how I can access exchange email subfolders on my Samsung Galaxy S3?


I have set my Samsung Galaxy S3 up with my corporate exchange 2010 server and it syncs all the inbox emails, calender appointments, and contacts without problem but I cant access any of my email subfolders.


This device is running Android 4.0.4.



Answer



It's there all along!


Open up the email app and press the menu button.


Go to View>Folders



You now need to tap the folder icon next to Inbox and it will 'expand' and display all the subfolders under it.


This MUST be the icon and not the text. It wont work if you press the text so you must press the icon.


I have to say this is pretty poor UI design, as it is not obvious to end users.


I'll try and add a screenshot when I next get the s3.


security - WhatsApp: How to isolate contacts and photos - Privacy concerns


Whatsapp is ubiquitous and is commonly used despite the long scary list of permissions it seeks ( see Help understanding Whatsapp's permissions )


Privacy and security conscious people would like to avoid it and use alternate means like Telegram but there are a huge bunch of people who are blind to the concerns and merrily use it


I am forced to use it, since I have a friends and relatives who are comfortable with this and won't consider switching - some got introduced to smartphones using this, for some others it is convenience of usage and the most common refrain is I have nothing to hide :-(


So my question boils down to How do I use Whatsapp without exposing my contacts and private photos to Whatsapp (read Facebook)?



This is a self answered question sharing one way and you are welcome to post other ways if you find




root access - Modifying hosts file does not have any effect


Since I spend too much time on websites such as 9gag.com and the like, I decided to try and block them by modifying the hosts file on my rooted Nexus 5.


So I created a new hosts file using notepad++, which looks like this :


127.0.0.1 board.4chan.org
127.0.0.1 4chan.org
127.0.0.1 9gag.com
127.0.0.1 www.9gag.com
127.0.0.1 www.4chan.org


etc., saved it as a file without extension, and replaced the original "hosts" file found in system/etc with the new file. However, it does not have any effect and I can still access all those websites as easily as before. I'm using Chrome as my browser.


I checked that the new lines are LF and not CR+LF (read somewhere that it could make the hosts file work not properly) and that the file has no extension (File Explorer shows it as a "file", that's all). When I try to edit the hosts file with an app called Hosts Editor, it looks like everything is good and like my device should redirect the websites I'm trying to reach to localhost.


So my question is : why is this not working? What have I done wrong?


Thanks a lot!



Answer



The answer for anyone interested: after seing that I could not access the blocked websites when in incognito mode, I deleted all of Chrome's data (by going to the Application details and hitting "Clear all data" - I supposed that's how it's said in English but I'm not quite sure). Now, the websites are blocked, so everything is fine. I don't know if I'm supposed to delete this question now that I've solved it but maybe it will be useful to someone if they stumble upon it.


samsung galaxy s 2 - Is there a way/app to block outgoing international calls, without activating the network provider's International Call Barring?


I 'accidentally' dial international numbers a lot - don't ask why, long story :). Is there an app that would restrict me from calling international numbers, or warn me before connecting the call?


I can put in a request for International Call Barring with my network provider, but that disables calling premium UK numbers as well (I'm with O2 in the UK). Plus I'd like to make the odd intentional overseas call.



Answer



there seems to be a range of apps that may do what you are trying to accomplish.


here are a couple that look like they have potential.



How do I perform a full pre-rooting backup of an Android phone?


The question arises because the best-rated backup application (Titanium Backup) requires root. So what would one use instead when getting a really complete backup is essential? Is there a file manager-type application available that enables copying the whole file system on the phone somewhere (to SD-card, online or wirelessly - doesn't matter which?)


(Samsung Galaxy S9000)




Friday, June 15, 2018

usb on the go - LG Nexus 4's Internal Storage Dilemma & its Apparent Lack of Support for USB OTG Connectivity?


As my contract on my current android phone is soon ending, I am considering purchasing the LG Nexus 4 (if it ever becomes available again on the Google Play Store) as my next phone, as it supposedly is in the top league but "without the price tag" so i'm informed.


I am aware that many people are disappointed that a microSD card slot is unavailable on these devices (I believe the same to be true of the Nexus 7 & 10, if I am not mistaken), and this may detract them from buying such a device.



From what I understand Google's reason for not including microSD support (unlike other manufacturers) is that they want people to know exactly what is on the internal memory of the phone, as many people "get confused" between what is on the internal memory and the microSD card, and therefore people can choose the required storage space ie 8 or 16GB (and therefore they know exactly what they have beforehand and accommodate their apps etc accordingly). Another reason is that Google want people to move away from internal storage & use Cloud storage more and more (and integrate with its other "services" eg Google Music) - a clever ploy on Google's part


This put me off from buying the device until a few weeks ago when I heard about USB OTG (On The Go) Cables, which are essentially USB Cables having a micro usb connector at one end which fits into the Nexus 4 and a USB connector at othe other (which opens up a whole world of opportunities - more so for tablets rather than smartphones I think).


This being the case I thought joy, storage is no longer a "problem". However I have heard reports that USB OTG connectivity despite apparently being supported cannot be enabled on the device.


Is this the case, have people therefore found a solution like rooting the device and flashing with a Custom ROM ie CyanogenMOD Jellybean 4.1 to achieve USB OTG Connectivity ?


Have people been unable to get hold of the phone in the first instance to comment or have Nexus 7 or 10 owners experienced USB OTG connectivity issues ?


If this is unachieveable i'm sure it is premature as Google are bound to provide an update at a future date (that is of course if they can supply the phone, or was the LG Nexus 4 simply a one time purchase wonder, when it hit the Play Store a few weeks ago)


Excuse the long(ish) post, but I believe the relevance of it



Answer



USB OTG compatibility is more dependent on the kernel than the actual operating system.


If the stock kernel doesn't support it, then it will (most likely) only be a matter of time until a custom kernel is released that has this functionality.



If you were to purchase it, remember that the tablet can only give 5V of power to the device - this stops you from using things such as portable hard drives with the device, which require a large power input.


You would be best asking on a dedicated ROM'ing forum such as XDA-Developers to find out if the stock kernel supports USB OTG, and if not, a custom kernel can be made to support it.


Please be aware, that you will need an app that allows you to use the USB OTG support.


htc one - Android dies at 20% battery?


It all started about three months ago when my HTC One (M8)'s USB charging port died. At first the port would sometimes not work, you just have to move the cable around a bit for it to charge, then you had to hold the cable down to make it keep charging, and finally device wouldn't charge at all.


The same exact thing happened to my HTC Vivid. When I got the Vivid fixed, the technician said it was water damage.


Anyway, after the local phone repair shop successfully installed the new USB port on my One phone, failing on the first try as it was still in the same condition, everything was fine. For a few weeks. Then the phone started shutting down as if it had no battery left, at 20%. I immediately plugged it into a charger, turned it back on, and the phone read 1%.


Its been doing that ever since. Some days it goes down to 0%, some days it goes down to 20% or 25% and dies.


Here's a screen shot of what is going on. enter image description here


Under device settings, it says that the battery condition is good.


So I'm just wondering why my phone may be doing this, and what do you think the best option is to fix this.


I tried recalibrating the battery, clearing the cache, and installing a new ROM. None of the above worked.




Thursday, June 14, 2018

htc dream - G1 Misbehaving -- can I (should I?) reinstall donut?


I have an unlocked G1 (b/c I am stuck with an AT&T contract) that recently started to do a lot of weird things all at once. Most notably, it rings but does not show the caller or allow me to pickup. The home key no longer does anything, and when I hold down the power key I see only the "power off" option -- no airline mode or silent mode.


I can make calls just fine but this is obviously an issue.


I've managed to get root on the phone (via UniversalAndroot) and BusyBox and i've been reading this: http://gailly.net/android/android-tips.html but I'm not really sure where to start troubleshooting this. I think I need a development OS to actually run adb root. I'd like to at least try installing or upgrading my OS.


Am I barking up the wrong tree? This is my only phone.



Answer



I'd actually recommend upgrading past Donut, since there is a great custom ROM community for the G1. For example, this looks like the best Froyo ROM for the G1, but you can look around XDA's Android Development forum (specifically the ROM Bible thread) if you want to find out more first.



file system - Why do Android create "Shell Folders" automatically? Can I change the shell folders?


Android automatically creates these folders in primary storage:


Alarms
DCIM
Documents

Download
Movie
Music
Notifications
Pictures
Podcasts
Ringtones

They are the default "User Shell Folders" of Android (USF is a concept from Windows). There's hardly any documents or discussions on the internet. Most discussions are about MediaProvider (and Media Scanner).


Is there something like a "registry key" that controls these folders? Can I change the default location and name of them?




Answer



Registry key is a windows concept in android these locations are handled as following


/**
* Standard directory in which to place files that have been downloaded by
* the user. Note that this is primarily a convention for the top-level
* public directory, you are free to download files anywhere in your own
* private directories. Also note that though the constant here is
* named DIRECTORY_DOWNLOADS (plural), the actual file name is non-plural for
* backwards compatibility reasons.
*/

public static String DIRECTORY_DOWNLOADS = "Download";

This code snippet is extracted from android / platform / frameworks / base / android- / . / core / java / android / os / Environment.java


So as you can see this returns a hard coded static string and I could not find any function to change it in AOSP code. So you can not change this location for all applications unless you modify the source code and build your own custom rom. For your application obviously, you can download it in its private folder also.


But some OEM had provided this capability in their rom. See this.


A work around to do so for Download folder is to download a 3rd party download manager like ES file manager. It will prompt you to choose download location for the file.


Wednesday, June 13, 2018

Is it possible to get Tasker to play the next song in Spotify


In Tasker, there is a Media Control action which allows me to move to the next song however it only seems to work for the default Android player.


Is it there a way to hook Spotify up to do this?




cyanogenmod - Trouble on the instalation of the Cyanogen?


I'm trying to install Cyanogen on my Xperia L. I've done all the steps until here.



enter image description here



My problem is on step 5, I don't know what I'm supposed to do. On the sideload method, it says to select install zip > install zip from sideload, but on my phone there is not such option.


In the push and install method it says to navigate to the phone's mounts and storage. But there is also no such option on the phone. What appears in my phone is the following:




  • Reboot system now

  • Apply update

  • Wipe data/factory reset

  • Wipe cache partition

  • Reboot to bootloader

  • Power down

  • View recovery logs


Progress: I've uploaded the CM to my SD card. I've tried to run it using Apply update > from sdcard1. It runs for a while but it ends up in a screen that says:




Cyanogen



Install failed


Finding update package...


Opening update package...


Installing update...


This package is for device: C2105, C2014, C2105, C2104, taoshan


this device is .


E: Failed to install /sideload/package.zip



Please take note of all the above lines for reports


Installation aborted.



The problem here is that my device is an Xperia L C2104 (according to the box). I'm starting to think that I should upload it to /sdcard/0/.




Where are the downloads from the Amazon Appstore stored?




Possible Duplicate:
Amazon App Store - Location of the downloaded APK



I like to grab the free app of the day but space on my phone is too precious to go though with the install. But I can't stop the download when I do purchase. Where is that download stored and how can I get rid of it?




How can I write in a PDF with a tablet and a pen (a.k.a Is there a Xournal alternative for Android)?


There is already a similar question, which is about the Xoom and note taking. But I'd like to ask this in a more general way:


Given a tablet (and a pen), how can I write - not just adding notes and comments, more like one would write on paper - in a PDF?


The additional writing should be saved within the same PDF file and readable/showable by the most common PDF readers. Essentially I am looking for an Xournal alternative for Android.



Answer



So far the closest that I found to Xournal in Android is RepliGo Reader or ezPDF Reader. They both



  • Allow drawing of lines, curves, freehand, etc.

  • Save the annotations/drawings within the PDF file



But in my opinion both Apps do not use the full potential of what's possible with the Thinkpad Tablet and/or xournal. It may be subjective, but my colleguas who have Thinkpad tablet PC's running Linux with Xournal seem to have a better experience "writing into PDFs". I hope that there is more to come on Android.


Alternatives, suggestions are always welcome. :-)


Edit: I am going with ezPDF Reader. It's the best PDF reader for Android IMHO.


app icons - How to open Google PDF Viewer app?


I can't find Google PDF Viewer app icon even though I have installed it from Google Play Store. How can I open it?



Also, I'm unable to close display green light on top of display screen.




Tuesday, June 12, 2018

rom flashing - Can we uninstall Symbian and install Android?




Possible Duplicate:

Can I install Android on my non-Android device?



I have an Nokia 5233 mobile which has Symbian OS installed. I was wondering whether its possible to remove that Symbian OS and install Android OS? Something like we remove Windows OS and install Linux instead ???


Reason for change? 1) Symbian is giving me lot of problems including viruses, mobile getting hang frequently, applications not working.


2) Want to try Android OS




multi window - How do I run two programs at once in split-screen?


I have a Nexus 10. I want to split screen to do two things at the same time. Is that possible in Android? 3rd-party apps are acceptable too.




Answer



As of this writing, only a few Android devices offer multi-window functionality out-of-the-box. Samsung built this feature into 4.1.2 OS version for several of their Android tablets (Galaxy Note 10.1 and Galaxy Note 2, for example.)


There are some major drawbacks to this. First, it's a proprietary Samsung feature that only comes with their TouchWiz overlay, and therefore is not compatible with "vanilla" Android OS. Second, apps must be specifically written to support this feature.


samsung galaxy s 3 - Replacing stock dialer app


I've a rooted Samsung Galaxy S3 device, and I don't like the stock dialer app; can I replace (i.e. remove it totally) it with another dailer without breaking the phone functionality?





Monday, June 11, 2018

rooting - Backup/Restore Android




Possible Duplicate:
How do I perform a full pre-rooting backup of an Android phone?



I am considering rooting my Motorola Droid, and I am wondering if it is possible to revert back to the exact state that my phone is in right now (ie unrooted, with all my apps, settings, etc).


I know I can backup all the files on my SD card (in fact I have that job running right now). But how can I backup/restore the phone's internal memory?


Is this what SPRecovery does? All of the 'how-to-root-your-phone' tutorials say that you start by installing SPRecovery, but I can't find any details on what, exactly, SPRecovery does, and how to use it. I suspect it does more than what is necessary to load a rooted ROM, but I just can't find any details.




How to get rid of a malware app "Chromes"?


A few days ago I noticed a new app on my phone. It's called Chromes and it has a logo really similar to Chrome's logo. It was detected as Malware by my antivirus at first, but after a few hours I got a notification saying it's safe. I can delete it but it returns after a few hours. I tried reseting my phone, getting it back on factory settings but it keeps returning... What should I do?


enter image description here Double app




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


enter image description here



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?



Answer



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


4.1 jelly bean - Tasker double WiFi activation with 'or' statement


I have a Tasker app on my tablet, I want to make a profile which will trigger silent mode when 2 conditions are met: Connection with WiFi Network A is lost and either network B or C is connected. I want this profile to be turned off when network A is connected again. I assume that some sort of variable has to be used for the 'B or C' function.


How can I do this? Also can please walk me through how to assign variables if any.




Sunday, June 10, 2018

rooting - How to root Acer Iconia A100?


I am having trouble trying to root my Acer Iconia A100 with Android 4.0.3. I have tried several rooting methods and they always fail.


I have the USB debugging enabled, and all the adblock or antivirus apps are off.


I've tried all of these:




Am I just missing a step somewhere?


Here is the report from the SRSroot app:


---= SRS One-Click-Root v5.1 =---

11:29:11 AM - Starting ADB Server..
11:29:16 AM - Manufacturer: Acer
11:29:16 AM - Model: A100
11:29:16 AM - Android Version: 4.0.3
11:29:16 AM - Build ID: Acer_AV041_A100_1.049.00_PA_CUS1
11:29:16 AM - Board ID: vangogh

11:29:16 AM - Chipset Platform: tegra
11:29:16 AM - Getting OffSets.. : 0xd9f0 0xaf47 (True)
11:29:17 AM - Query Server for Best Method.. Found Rootkit: 4

----= Start Rooting Process.. Please Wait =----

11:29:17 AM [+] Testing exploit: root8 (please wait..)
11:29:39 AM [+] Executing root8 exploit Failed.

11:29:39 AM Auto Root Failed on this device. :(


11:29:39 AM Rebooting Device and try again...

On the Kingo, when I run the Windows application to root the Android it always says that rooting was successful, but when I try to do anything that requires root (like installing busybox) on the Android, it always fails. Then when I restart the android the rooting is gone.


So, I can root it with Kingo, and if I use SRSRoot after that, it says the android is, indeed rooted, but it doesn't persist. When I reboot the Android then run the SRSrootkit then it sees that the Android is not rooted (even though it seemed to be before reboot) and it cannot root it itself.


Using the unlockr method, I find that the batch file reports mkdir failed for /data/local/tools, permission denied with subsequent permissions errors. And so that method is not able to get root either.



Answer



Well, I think I found a viable solution: Full root for A10x and A5xx ICS. Simple method.


They have a link to a tablet driver for the Acer Iconia A100. I think that is what I needed all along. I installed that on my PC and ran the script and it worked just fine.


I rebooted the Android and ran the Root Checker application and it reports that the Android is, indeed, rooted.



The solution was simple and it persisted after a reboot!


applications - How does Startup Manager block startup apps?


I am using the market app Startup Manager on Android, but I am a little bit concerned in the way that it operates. Is it effectively runnning every time as a daemon and thusly keeping the apps from not starting or does it simply change the bootable flag in the apps, without running in the background?



Answer



It all very much depends on the "startup manager" used, and whether your device is rooted. As dotVezz answer assumes, there are some just de-activating the corresponding "listeners" (apps can be notified on events, and thus get started when they appear – the most famous event being boot_completed; but there are many more, like network changed, SDCard mounted, battery low... If you are interested in details, see e.g. What's the difference between a service and a broadcast receiver?). However, doing that requires "root powers".


Thus "startup managers" working without "root powers" basically do nothing other than task mangers: killing the app once it started on a given event. They also in most cases stick to the boot_completed event, and don't care about others.


Then there are those managers supporting both modi. Best one most likely is AutoRun Manager, my favorite I used for quite a while.


Now your question is specifically about Startup Manager. As you can see in its app description, and like I've written above, this app just cares for the boot_completed event: it does disable/enable startup items from system boot. Its permissions do not include SUPERUSER (aka root), so it cannot modify receivers/listeners. So it most likely just "kills" the apps when they start. Prove on that you again can find in the app's description: Note: For android 2.2 and higher OS non-rooted devices, some processes will restart themselves right after being disabled. They wouldn't do so if they were really disabled. But many apps do so when being killed.


AutoRun Manager, which I've mentioned before, supports both modi: If used in "Basic Mode" (which does not require root), it kills configured apps on start. In "Advanced Mode" (requires root) it "silences" their listeners, so they never receive the event broadcast and thus do not automatically start.



5.0 lollipop - See caller info without unlocking on Moto G 2nd gen


In my Moto G 2nd gen, when a call arrives I can hear the ringtone, but the screen is black. I can't see who's calling. In order to see that I had to unlock my mobile. Is there any fix to this?




external sd - Is the maximum size of the SD card for the S9+ really limited to 400 GB?


Note: while this is not an exact duplicate, this question is a duplicate in that it asks where the limitation is located (software/hardware ...). So I think marking this as a duplicate is warranted, even though my question was model-specific.


I have an S9+ from Samsung and I am considering to upgrade to 512 GB or even 1 TB as it would make space for Kiwix ZIM files.



However, Samsung marketing material suggests a limit of 400 GB (i.e. 400x1000x1000x1000 Byte). This sounds arbitrary (not the usual power of two and the discrepancy between GiB and GB which may be accounted for by reserved space - in case of corruption - doesn't change that). Now, perhaps there is a technical reason that I am unaware of, but from the OS side (Linux/Android) I can't understand why there would be a limitation to 400 GB. SDXC seems to be the supported standard and should support up to 2 TiB (i.e. 2x1024x1024x1024x1024 Byte).


Is this limit simply owed to what was available around the release of the S9+ or is it an artificial limitation imposed by Samsung customizations to Android, or is there perhaps no limitation?



Answer



I can now confirm that the S9+ supports a 1 TB μSD card just fine.


After a colleague had outfitted his phone with a 512 GB card, I decided to give it a try, because it was already above the limit Samsung claimed was supported but well below the limit one should expect for SDXC (see my question).


Proof of a 1 TB card working in the S9+


wi fi - Minimizing data usage for users with data caps


To reduce my phone bill, I recently switched from an unlimited plan to a prepaid plan which only has a 50 Mb data cap per month. I think that should be adequate for email, google voice, and navigation.


In order to avoid going over the data cap, I would like to disable all data heavy applications such Youtube, Application Update, etc. while the carrier's data connection is on, and enable them only when WiFi is on. Is there any easy way to achieve that?


In general, what settings do I need to change in order to minimize my data usage?



Answer



If your phone is rooted, I would highly recommend DroidWall. It's a firewall application that allows you to restrict access to Internet by application. It has separate permission settings for WiFi and Cell data, which allows you to restrict the data usage by the connection as well. Chances are though that you will also need to be running a custom ROM or kernel that has "iptables" module built-in.


In terms of minimizing data usage in general, there are several settings you can play with. I'd recommend going all manual by disabling "Auto-sync" and "Background data" options under Menu -> Settings -> Accounts & sync. Then take a look at interval update settings in all 3rd-party apps you use for services such as Twitter (Twidroid, Seesmic, etc.), Facebook, e-mail (K-9 Mail, E-mail, GMail, etc.), RSS feeders (NewsRob, FeedR, etc.), and others (widgets, weather apps, etc.) Most such apps let you configure the update interval via settings. Either make them all disabled/manual, or use the farthest update interval they allow. Also disable any notifications in these apps so that they use even less data.


You might also be able to use some apps/widgets that toggle the data connection (without affecting the cell signal) and only enable it when you need to use apps requiring data (retrieve e-mail, catch up on tweets, use browser, refresh weather status, etc.) and then toggle it back off when you're done.



Saturday, June 9, 2018

Do I need to reboot my HTC Desire periodically?


I've had my HTC Desire for a couple of months now and it is awesome! (A huge improvement to my previous phone... Nokia 3315)


Though recently, I've realised that the phone semi-freezes more and more often - ie. when swiping between homescreens it will either pause/freeze and I will have to re-swipe to get it to change screens. Or worse, it just won't respond to any further swipes and I have to lock the screen then unlock to get the phone back into action.


Got quite annoyed at this (was probably happening once or twice a day) so I thought it might help to turn it off and on again. So I did - not sure if it was a placebo effect but it seems to have helped a bit?


So given that this is my first smartphone, I was wondering if it is 'normal' to need to restart the phone every so often. If so, how often is 'normal'? If not, what can I do to diagnose/fix this problem?



Answer



In my experience, for some devices, it helps to reboot the device about once a week. I don't know the exact technical implications of this but rebooting seems to free up the device in some way and make it respond quicker. This will not always be the case though, right now on my EVO i'm at 391 hours (16 days) of uptime and I don't notice any freezing or slowness. On my Hero I would though so I rebooted every-so-often. If you haven't already you may want to look into rooting and flash a custom-rom on your phone as usually that will give you better performance and battery-life. I have found this to be true since with both my Android devices and my previous Windows Mobile phones.


And while I don't recommend it, you can look into ATK for Android or some other task killer and see if this helps. You can make your own decision if you want to use a task killer - some people think they're great while others think they don't help.



Edit - I went to find some links both for and against task killers and mostly I found against. Here are two that lean against them but also talk about ways to use them.


http://lifehacker.com/#!5650894


http://www.androidcentral.com/how-properly-set-and-use-task-killer-oh-yes-i-went-there


Is there a way to set app-specific volume?


I'm looking for a way to set the media volume depending on the app being used.


I generally keep my media volume down fairly low so as not to annoy my fellow humans overmuch; while playing Angry Birds, for instance.



When I go into Doggcatcher, though, I generally want to crank the media volume way up, because I'm listening through earbuds or my car speakers and need that volume way up.


Not such a big deal, but if later I go back to Angry Birds and I forgot to turn the volume back down it wakes up the whole house.


This is exacerbated by the fact that the media volume does not follow the "Sound off" setting (accessed by a long-press of the power button).


So, is there a way to do what I want?


(Android 4.0)




4.0 ice cream sandwich - Jelly Bean OTA Update failing on Nexus S ("assert failed")


I've got a Nexus S phone. It was never rooted or modified. It currently runs the most recent version of Ice Cream Sandwich (that was installed as an Over The Air update, without any issues).


Couple of days ago I received a notification from my phone about Jelly Bean upgrade being available. Unfortunately every time I try to install it there is a problem. The phone reboots and starts the upgrade process, but after about 30 seconds it stops and displays an image of a red triangle with an exclamation mark. When I press power+volume up to see what happened, this is the message it displays:



Finding update package...



Opening update package...


Verifying update package...


Verifying current system...


assert failed: apply_patch_check("/system/etc/gps.conf", "[random letters and numbers - probably a hash]", "[different combination of random letters and numbers]")


E:Error in /cache/9ZGgDXDi.zip


(Status 7)


Installation Aborted.



I tried "wipe data / factory reset" and "wipe cache partitions" options, but the issue persists.



Answer




Hurrey!


After quite a bit of research I am now able to answer my own question. I was able to clean install Jelly Bean (in opposite to the usual method of upgrading) using official images posted by Google. This obviously solved the issue.


Here are my instructions how to do this.


Friday, June 8, 2018

htc desire - Not enough storage on android device


When I download application from Market I obtain out of memory error.


In fact I have about 2Gb free storage on SD Card and it seems there is out of space of internal phone storage.


How to clear internal storage? E.g. remove some cache files or somewhat else?


How to obtain access to phone storage? (When I connect my android device to PC without SD card I even have no choice to connect as a disc)


I moved all application which can be moved to Android device with App2SD.


It is really annoying - I have memory of SD Card but in fact I can not use it.


My device is HTC Desire, Android 2.3.3


Thanks a lot!



Answer




Most probably your internal memory is too low.


You can't access it without rooting your device. And it won't be visible in your PC/desktop anyways with a USB connection. (it can't be mounted)


From what I understand your HTC Desire device has 512 MB of internal ROM which is used for both your stock firmware and user installed apps.


The 512 MB storage may be divided into several partitions. System partition holds your ROM (firmware) and may include apps which came per-installed when you purchased the device.


The data partition is where your apps are stored. To check, how much actual space you have for data partition-



Go to Settings -> Applications menu.



You should get a list of installed apps with available storage at bottom like this,


Applications Menu on Android 2.3



This will be the actual memory available to you. To increase this, you could try



  1. Moving apps to SD Card (which I believe you have already tried).

  2. Root your device and delete unwanted system apps (bloatware)

  3. Install a custom ROM, with app2sd/data2sd scripts, which enables you to use a ext3/ext4 partition on your SD card to use for installing apps. ( A 1GB partition would do fine.)


Although there is a alternative too, which can help you move some of the apps which are by default not enabled for moving to SD Card.



Requirements





  1. An Android Device (Obviously.. ) (Root not required)




  2. USB Cable




  3. A PC (Any OS will do Windows, Mac or Linux)





  4. Android SDK or replacement for ADB (Install android sdk from official site. Use drivers for your device)





Steps





  1. Run command prompt or terminal use command 'adb devices' (will show list of connected devices) (you should have android sdk's path/platform-tools in your classpath)





  2. use command 'adb shell' (will open a $ prompt)




  3. use command 'pm setInstallLocation 2' ( will set default install location to sd card )


    (0 for auto, 1 for internal, 2 for sd card )





Now whatever new apps you install will be installed to sd card. they will still take space on internal memory in data partition though for dalvik cache, app-cache, private-cache etc.



Note-> If you want to revert back to original use option 0 in step 4.


I have seen some weird behavior with this, apps which are set to install in SD Card by default (i.e. games like angry bird), are installed in internal. You could just move them to external though. My advice would be to use this command to enable moving to sd card and then revert back.


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