Monday, September 30, 2019

rooting - How to root my LG Escape?


I haven't been able to find any information on how to do this. The only thing I found was this, which seems a little shady and isn't even for the Escape, it's just a generic tool. I've also seen this question but there are no LG phones listed & I'd rather not try a 'generic one-click' tool unless I know it's going to work.


Also, I'd like to be able to do it from Ubuntu. I CAN do it from Windows if I need to, but I'd much rather not.





applications - How to circumvent the market compatibility check?


Sometimes I would like to install some App on my Notion Ink Adam but the Android Market says that my device is not compatible with the App. ATM I simply google for the specific App and search some file hoster where I can download the apk, but this has several disadvantages (you never know if it is a hacked version, you don't receive updates, etc).


Therefore I would like to simply tell the market that I know about the incompatibility, but I want to simply install the App anyway. Does someone of you know a solution?




locale - Override language setting for some apps?


Is there a way to override the locale for some apps? My Android is set to German but I want, for example, all apps that don't have a proper translation to be in English - reading Google-translated stuff is horrible.


I know there's no native way, but maybe there's an app for it which I just couldn't find...


My device is running 4.1 and is rooted.





What are the security disadvantages of rooting an Android phone?


I know there was a discussion previously BUT they didn't talk about security. E.g.: if I root my phone will all my apps run with root permission?

Related: Are there any risks to rooting a device?



Answer



The answer is no: not all application will have root permission. Not all the apps require root and the apps requiring root will not have it unless you give them permission to do so. At least that's what I can tell after using z4root and superoneclick to root a few phones. You get a superuser app that will get requests from apps needing the root account and you'll have the option to enable that or not. Risks connected to rooting a device are, more or less, the risks connected to using an administrative user on any kind of Unix-like system.


Ever tried a rm -R (a command to delete all files) on GNU/Linux? It's like putting in the recycle bin your Windows folder and empty it just because you're a root user and you can do it.


Superpowers always involve super responsibilities and super attentions :)


Said that I have to say that in my everyday use (with a little brain turned on) I can't see a real way to get any kind of harm. But if you install strange scripts coming from al quaeda and tons of pirated apps and poor not certified code... Well. Bad things could happen.


Install a recovery and do a nandroid backup. After that play happily with your phone :)


2.2 froyo - How do I turn off the shutter sound for the Android camera?




Possible Duplicate:
How do I disable the 'click' sound on the camera app?



If the phone isn't in silent mode, taking a picture using the stock camera application always plays a "shutter" sound. Is there a way to turn the sound off?


I'm using stock Android 2.2 on a Nexus One.




rooting - How Can I Root my Sony Ericsson Xperia Tipo Dual?



How can I root my Sony Ericsson Xperia Tipo Dual?




Sunday, September 29, 2019

6.0 marshmallow - Permission system changes with Android 6.0: What are the implications for us users?


With Android 6.0, a bunch of permissions and permission groups have been removed:


Groups gone


While on a first glance this doesn't seem important (isn't it rather a way to organize permissions?) – thinking twice reveals a major importance here: Starting with Android 6 (and with the Playstore even before that), if an app update requests a permission from a group where it already held one from in a previous installed version, this "new permission" is not brought to the awareness of the user. With Android 6, it is even granted automatically then. Also keep in mind that the user (with "native Android capabilities") can only revoke access to entire groups, not to single permissions – so fewer groups mean less flexibility, up to a uselessness of the entire feature.


According to the link mentioned above, the following groups have been removed:


ACCOUNTS, AFFECTS_BATTERY, COST_MONEY, DISPLAY, MESSAGES, NETWORK, PERSONAL_INFO, PHONE_CALLS, SCREENLOCK, SOCIAL_INFO, SYSTEM_CLOCK, SYSTEM_TOOLS, USER_DICTIONARY, WALLPAPER


Permissions gone


Less permissions covering more ways to access personal data mean a nightmare for privacy. Concerning accounts, I've raised this question already: Android 6+ and account permissions: where have they gone to? As we found out there, what before was dealt with by the no longer existing USE_CREDENTIALS permission, now got moved to contacts (not sure whether read or write): so if you wish to "login with Google" (or any other account holder), you need to give the app full access to your contact list! The popup on the screenshot there ("Allow Stack Exchange to access your contacts?") popped up immediately on tapping the "Login with Google" button.



So next to most account permissions (except for GET_ACCOUNTS, all of them are gone), which are dealt with in my other question already linked, the following permissions have been removed:


ACCESS_MOCK_LOCATION (now one has to configure a single app handling the MOCK_LOCATION I've seen mentioned?), CLEAR_APP_USER_DATA, GET_TOP_ACTIVITY_INFO, HARDWARE_CONTROLS, HARDWARE_TEST, INJECT_EVENTS, INTERNAL_SYSTEM_WINDOW, READ_HISTORY_BOOKMARKS, READ_PROFILE, READ_SOCIAL_STREAM, READ_USER_DICTIONARY, SET_ACTIVITY_WATCHER, SET_ORIENTATION, SET_POINTER_SPEED, STATUS_BAR, SUBSCRIBED_FEEDS_READ, SUBSCRIBED_FEEDS_WRITE, VOICEMAIL, WRITE_HISTORY_BOOKMARKS, WRITE_PROFILE, WRITE_SMS, WRITE_SOCIAL_STREAM


What does that mean for users and their privacy?


This is my main concern here. Unfortunately (one could almost say "as expected"), there was no official statement made on that – or I had already been aware of those changes a while ago. I hope some of our members who happen to be developers as well have deeper insight, and can help us out with some explanations and advice:



  • have those groups/permissions simply be removed (or did some simply got renamed/replaced by others)?

  • how is the data previously covered by them protected now?

  • what are the implications for users and their privacy, and what can we do about it?

    • concerning the "do about it": sure there's root, XPosed and Xprivacy (how does the latter cope with those changes?) – but I also mean "the average user" without root here.







Saturday, September 28, 2019

wi fi - Switching profiles based on networks availability


While there are plenty of apps to switch profiles based on various triggers (time, position, ...), Llama being an excellent one for instance -- I did not manage to find any which would from time to time switch a network device on (Wifi, Bluetooth) and check whether a previously configured network is available, then connect if it is available. Should the network not be available, or not be available anymore, the device would be switched off. Until the next check.


This would be extremely useful for someone who is neither very much "time organized" (ie. I do not know what I will be doing a Tuesday at 10:00), nor "place organized" (I spend some time in the neighborhood of my WiFi access point, without the access point being close enough to be connected to, but close enough for cell/GPS based location to think I am in its direct vicinity).


Would someone know of such an application (or a combo - one for WiFi, one for Bluetooth)?


Thank you!



Answer




As usual: try with Tasker. Tasker can react on "network near" (check for WiFi SSID), you also can check signal levels and react depending on that. This way you could not even check whether a certain WiFi network is in reach, but also how strong its signal is -- which might prove helpful e.g. in an office building with multiple WiFi networks to determine which room you are in.


remote access - I want to remotely control my Android device from my PC without rooting it. Is this possible?


Looking for something to remote control my Droid without having to root. To be clear, I am looking for full control over the computer (view on monitor, use mouse and keyboard for input).




multiple devices - Centrally managing large number of android tablets




I'm involved in a project that will deploy approximately 400 android tablets. All the devices are on the same network. Is there an easy way to centrally manage the following:


Creating and updating policies to restrict users from launching apps or updates Update a custom written application Set device into kiosk mode and auto start an app


Any help would be appreciated.




4.3 jelly bean - Install/Update Apps gives "Insufficient Storage Available" error, although I already cleared the cache and other data


Whenever I update some app(listed below), I am getting this Error.


Insufficient Storage available. I have a Sony Xperia ZR. I have about 3.46 GB free. And the application I am trying to updates are in MBs. I have 4.3 Jellybeans installed I tried



  1. I installed App Cache Cleaner App, and cleaned all the cache. Didn't help.

  2. I deleted the app data for all those apps, whose updates weren't getting installed.

  3. I connected my device to computer. I deleted all the data in Android/data folder. Didn't help


  4. I uninstalled all the big apps, didn't help

  5. I unistalled whatsapp(which was one app in the list), and tried to reinstall it couldn't reinstall it.


I have not rooted my phone, which I don't want to do, as I my phone is still under warranty. But I very troubled. Please help


The list of apps I am not able to get updates for


Google Chrome, Google Search Google Drive, Facebook, Youtube, Whatsapp, Xperia Link




rooting - What do "root," "flash," and "ROM" mean?




Possible Duplicate:
What is the meaning of “flashing a custom ROM”?



I have been looking for some good explanations of some words that have been frequently used the android developer communities like the XDA forums.


Some words I've seen but do not understand are:


root - (as far as I know it's the way of getting the super user access)



flash - don't know what this is


ROM - don't know either


I need a more descriptive explanation about these words and the related tools, mechanisms, etc.



Answer



Looking around the site will give you lots of answers.


Rooting:



ROMs and Flashing:



Friday, September 27, 2019

samsung galaxy 5 - Problem with my thumbnails in gallery


I have a problem with images in my gallery. The thumbnails of my photos are not the actual images when I view the image. The thumbnails are the photos which I have deleted or my other images in my phone. What might be the problem why the thumbnails are not the actual images? Is it messing with my caches?



Answer




A comparable issue happened to me twice. The first time my audio files database was empty after a synchronization that went wrong. The second time my pictures application was never able to load the thumbnails. Each time the solution has been the same: clear the multimedia database.


To do so, go in "Settings" -> "Applications" -> "Manage applications". Then make sure you set the filter to see all applications. Find "Media Storage" in the list and then press "clear data". After that, you will need to wait a little bit for the database to regenerate, you may even have to reboot the phone to trigger the database generation.


This should correct your issue, and many more issues related to the multimedia database under Android.


screen - How to change Android default-natural orientation?


I have my device running android Jellybean 4.2.2 with Landscape as the default/natural orientation.


How can I change the default/natural orientation of the same to portrait?


Here is what I have tried till now,


1) Added setprop ro.sf.hwrotation 90 to build.prop and it did nothing.


2) changed user_rotation value in /data/data/com.android.providers.settings/databases/settings.db and it changed the orientation of apps only. the orientation of Home screen and launcher are still landscape.


3) Modified PhoneWindowManager.java similar to the one given in link : changing phonewindowmanager to change natural orientation


The third option works. But it still shows the bootanimation in landscape and after the animation is finished, the display rotates(with rotate animation) to portrait. How can I avoid this rotation and change the default/natural orientation before boot animation?


Is it something related to SurfaceFlinger? I would also like to point to this article in android website. pre rotation in hardware composer




Thursday, September 26, 2019

cyanogenmod - Lollipop Easter Egg (AKA Flappy bird) is unplayable when using Arabic language


I have LG G2 on CyanogenMod 5.0, and I set it to Arabic language. When I tried to play the hidden easter egg (Flappy bird), the flying robot is not shown when using Arabic language.


How to solve this issue?



Answer



It's a confirmed bug related to RtL (Right-to-Left) feature on Lollipop.



The bug is to start the easter egg hidden in Google Lollipop, Flappy Droid or Lollipop Land depending on how you want to call, quit the game after a few seconds, enter "Developer options", check the "Force RTL layout direction", and then return to the easter egg.




(slight modification to correct the menu name)


Based on existing data, it seems it's still exist on Lollipop 5.0.2 (OP's case), but it's fixed on Lollipop 5.1 (based from my testing).


The fix is to update to Lollipop 5.1 if it's possible. As for the workaround, simply change the language to the one that is not RtL (e.g. English).


Internet is working over Wi-Fi but Google Play Store says "reconnect" after few minutes


I have a problem connecting to Google Play Store with some Wi-Fi. My Wi-Fi at home works fine and I don't see any problem with other sites. But whenever I go to Google Play Store, it just keeps me waiting for a couple of minutes and says "reconnect".


I tried connecting to another Wi-Fi and it works. Then I tried using other phone on my Wi-Fi and it works fine.



It seems only my Zenfone 2 doesn't work on my Wi-Fi. I tried some simple steps I've read on forums like changing time, sync, toggle Wi-Fi and Airplane mode but nothing worked.


How do I fix the issue?




settings - What is the difference between GSM and WCDMA when switching to manual Network Mode?


I was reading this answer and I need to comprehend this better:


What is the technical difference between "selecting GSM" and "selecting WCDMA" in Network Mode settings menu? To save battery life, I'm planning to switch from the automatic to the manual mode, and I want to know what happens if I stick to GSM or WCDMA.


I am on HTC HD2 with Android 2.2 FroyoStone.



Answer




What the phone's essentially asking you here is, do you want to use only 2G data networks, only 3G data networks, or automatically switch between them depending which is best?


The GSM setting will give you access to 2G (and 2.5G) data networks using GPRS or EDGE data standards and speeds.


WCDMA will give you access to 3G networks (using either normal 3G or HSDPA standards and speeds).


The normal setting would be Auto, which lets the phone automatically select the best (normally fastest) data network that it can pick up in the area that you're currently in, but as this involves using all the 2G and 3G chips and antennae this uses more power than forcing the phone to always use one or the other.


The downside to picking GSM is that it will stop your phone connecting to high speed 3G data networks, but will save power as the 3G (WCDMA) chips and antenna won't be used.


The downside to picking WCDMA is that it will stop your phone from using 2G networks at all (so if you're in an area with no 3G support, then your phone will have no data signal) but if you're in an area that you know has good 3G signal, then selecting this will save power.


Wednesday, September 25, 2019

samsung galaxy s 2 - SGS2 screen gets more and more dark blue, possibly after overheated charging


My phone screen is gradually becoming dark blue and then black--see photo. Started with a single light blueish edge, and growing during the last hours to what can be seen on photo.


photo


The only serious reason that I could think of is that the phone has recently overheated while charging: it stayed for several hours under the pillow, and it was very hot when I took it away from there. Another guess is a recent drop on the floor, but in its 2-years lifetime it dropped dozens of time, frequently much harder than today.


What could be the reason, and how it can be fixed, ideally DIY or at all?



It's Samsung Galaxy S II GT-I9100.



Answer



Looks like a damaged LCD that's slowly "leaking out." Overheating could definitely be the culprit, as could the drop. Although damage from the drop is usually accompanied with a visible crack. Most likely it was the combination of the two. The fact that the phone booted up and is (sort-of) functional leads me to believe that replacing the LCD assembly would fix it.


There are plenty of replacements to be had on eBay for up to USD$100. I would go for the LDC+digitizer combination, even though the glass itself looks intact. There are simply too many issues with properly separating LCD from the glass that could cause you to break both and spend even more money. It is definitely doable on your own, provided you have some basic tools. There are videos on YouTube with great walkthoughs to help you along the way: probably most detailed (even though it's not on GT-I9100, but on other modification of SGS2); some others specifically on GT-I9100. A guide at iFixIt can be also helpful.


app2sd - How to move apps from internal to external storage?


I'm trying to move with Lucky Patcher (also with app2sd and Samsung stock app) some apps from internal to external storage, but everytime with every apps movable I got this message:


java.lang.IllegalArgumentException: New installs into ASEC containers no longer supported


I have a Samsung Galaxy S7 with Android 8.0 and root.


Do you now why this happens? Maybe, Android 8.0 doesn't allow anymore this?



Answer



Up to Lollipop, native app2sd moved .apk files as encrypted .asec files (1) to .android_secure folder in /mnt/sdcard/ or /storage/sdcard[0|1]/. On every boot these encrypted files were decrypted and placed in a temporary filesystem mounted at /mnt/asec/ (2) by vold, to which the symlinks from app directories in /data/app/ and possibly from library directories in /data/data/ were pointing.


Starting with Marshmallow, the native method of moving apps to external SD card works only if SD card is formatted as Adoptable Storage (3, 4):



ASEC containers have been deprecated since MNC, which is when we introduced the "adoptable storage" feature. Adoptable storage is a much better user experience, since we move both the APK and private app data together as a single unit.



* MNC is Macadamia Nut Cookie; code name for Android Marshmallow (6.x).

And:



new installs into ASEC containers are no longer supported; use adoptable storage instead.



Adoptable Storage is a Full Disk Encrypted SD card, completely managed by vold, not visible to user as external SD card. See here how it differs from traditional Portable Storage. You can format SD card as partially Adoptable and partially Portable too.


Like the pre-Marshmallow app2sd phenomenon (5), apps only with installLocation set to preferExternal or auto in app's manifest are moveable:



Apps can be placed on adopted storage media only when the developer has indicated support through the android:installLocation attribute.



For apps with install location auto, default install location (set using pm set-install-location) decides where app will be installed. See this answer for details.



If you want to move all apps, use a third party solution like Apps2SD or Link2SD.


PS:
An even better approach is to move /data/media instead of apps. Create an extra partition on external SD card and on post-fs-data mount it to /data/media using an init.d script or Android's init service. Other bigger directories /data/app or /data/data can also be moved in the same way.


If you want to keep files encrypted on external SD card, this can be achieved through native methods dm-crypt (Android's FDE) for block device encryption, ecryptfs for stacked filesystem encryption, or third party solution like EncFS for stacked encryption. New native method of filesystem encryption fscrypt (Android's FBE) may also work, but I haven't tried. See details in this answer.




RELATED:



security - I changed my sim card - how do I find which app is sending sms messages to my old number?


I recently traveled to another country and I'm using a local prepaid sim card on my Galaxy S2.


My prepaid credit was depleted rather quickly, and when I checked the phone record I found out my phone was sending two sms messages each day, about one minute apart from each other - one to my old number and one to my wife's number (as far as I can tell the only thing special about my wife's number is that with my old sim card I used to call it a lot).


These two numbers are in my home country, so the sms messages were very expensive, and that is why my prepaid credit was depleted so quickly. Of course I didn't send any messages myself, nor is there any record of them in the outgoing messages.


Now that my credit is depleted I still sometimes get a message from the mobile carrier saying they can't deliver a message I was supposedly trying to send (though really I wasn't) because I have no credit - so my phone is still trying to send these messages. Specifically this also happens after I restart.



So I'm stuck with no credit, and I don't want to recharge my card because my phone keeps trying to send these messages and it will deplete my credit again.


Obviously some application is sending these messages, and to find out which application (after reading this question) I installed RL Permissions, and here are all the applications listed as having the permission to send sms messages:


apps that have sms sending permission


Now as far as I can tell all these apps came preinstalled by Google or Samsung, and therefore supposed to be trusted.
The only exception is WhatsApp, but this is a widely used app and I think is also trusted. It does make me wonder though, why WhatsApp needs permission to send sms messages in the first place - it's supposed to send messages only by using the internet connection isn't it?


So can anyone help me find which app is the culprit?



Answer



I am such an idiot.


A picture is worth a thousand words:


enter image description here



When I bought my device, about a year ago, I turned on the feature "SIM change alert - Send SMS when SIM card is changed". I completely forgot about it later, and it only came back to me today. Of course the recipients I defined were my own number and my wife's.


The lead I followed was @roxan's comment, which raised the suspicion about the mobile tracker app. A Google search led me to this forum post that describes this security feature, and when I read it I recalled that I turned it on.


Despite this incident, I actually still think this is an excellent feature that can really help in case my device will be stolen, but I just have to remember to turn it off before I change the SIM card myself...


4.0 ice cream sandwich - How to unlock device when I forgot my password?


I've read Recovering from forgotten lock pattern which states that there is an option to disable the lock using my Google account information. However I did not noticed such an option when I entered my password five times wrong. (Although there was also a 20s or 30s delay to complicate brute force attacks.) I use Android 4.0.3 on a Asus Transformer Prime TF201.


Would factory reset work?




Tuesday, September 24, 2019

samsung galaxy s - Kies: Firmware can not be upgraded?




Possible Duplicate:

Samsung Kies: 'This version of the device can not be updated'. Never?



Have Galaxy SL (GT I9003). Had given mobile to Samsung service center for upgrade to Android 2.3, stupids installed Android 2.2 (Froyo) again. And now my Kies, give message that


"This Firmware can not be updated". Is it because of wrong Kies version or the issue is with OS install itself?


Any solutions to this?




nexus 7 - Unable to Install Certificate


I am trying to install this certificate on a Google Nexus 7 tablet.


I have copied the certificate file (from Win7x64) onto its internal storage and opened it in a file manager to install it. This procedure worked for the previous (now expired) version of the certificate (which I have removed on the device before attempting to install the new one).


However, for this new certificate, the following message appears:



Couldn't install because the certificate file couldn't be read.



The same file could be installed flawlessly into various certificate stores on the computer that I connected the tablet to (hence, the downloaded file is not corrupted). I copied the file several times to the tablet and tried again, always with the same result (hence, the copied file is most probably not corrupted, either).


The tablet had Android 4.4.4 at first, then I upgraded to Android 5.0.2. I am getting the same error message on both systems.



The administrators reponsible for providing the certificate had not received any such reports so far, and the certificate seemed to install flawlessly for other people on Android devices of different types.


I could not find many related issues on the web; googling for the error message quickly led to the localization resource files that specify that message (usually a bad sign with respect to frequency of users out there to encounter an error message). The most promising links still seem to be dead-ends:



  • The error message is mentioned in a Forum post, but the only reaction to it seems to be hmm...not really sure what that is. I'll look into it though (from December 2013). I couldn't find any follow-up to that issue, and the rest of the thread appears to be unrelated chatter.

  • There is an open SO question citing the same message (though referring to something called "Android Moto G") from March 2014, but no-one has provided an answer so far.


Hence, my questions are:



  • What issue does the error message actually point to?

  • How can I install the certificate file?



EDIT: Here is the log output of what happens when I try to open the certificate in a file manager app on the device:


I/ActivityManager(  540): START u0 {act=android.intent.action.VIEW dat=file:///storage/emulated/0/Download/infcacert.crt typ=application/x-x509-ca-cert flg=0x10000000 cmp=com.android.certinstaller/.CertInstallerMain} from uid 10083 on display 0

E/ActivityManager( 540): Invalid thumbnail dimensions: 720x720

I/ActivityManager( 540): Start proc com.android.certinstaller for activity com.android.certinstaller/.CertInstallerMain: pid=11644 uid=10008 gids={50008, 9997} abi=armeabi-v7a

E/CertInstaller(11644): Failed to read certificate: java.io.FileNotFoundException: /storage/emulated/0/Download/infcacert.crt: open failed: EACCES (Permission denied)


D/OpenGLRenderer(11644): Render dirty regions requested: true

D/Atlas (11644): Validating map...

I/Adreno-EGL(11644): : QUALCOMM Build: 10/28/14, c33033c, Ia6306ec328

I/OpenGLRenderer(11644): Initialized EGL, version 1.4

D/OpenGLRenderer(11644): Enabling debug mode 0


I/ActivityManager( 540): Displayed com.android.certinstaller/.CertInstallerMain: +362ms (total +453ms)

V/RenderScript(11644): Application requested CPU execution

V/RenderScript(11644): 0xa330c400 Launching thread(s), CPUs 4

D/TaskPersister( 540): removeObsoleteFile: deleting file=7_task.xml

D/TaskPersister( 540): removeObsoleteFile: deleting file=7_task_thumbnail.png


The crucial part of which seems to be java.io.FileNotFoundException: /storage/emulated/0/Download/infcacert.crt: open failed: EACCES (Permission denied). I do not understand this message - I have successfully copied and opened other files to the device the very same way as I did now with the certificate file. Moreover, how would I even set these file permissions appropriately when copying them to the device via Windows Explorer?



Answer



Just had the same issue.


Go to Settings > Security > Install from storage.
Locate your certificate file and install it.


Edit:
If instead of Install from storage preference you have Install from SD card (this is what being displayed when you use API-19 emulator for example), then one extra step required. Because in this case the activity shows only Recent and Downloads menus without simple way to pick the certificate from the sdcard.
The workaround for me was to put the certificate on my desktop's local web server (mongoose for example). Then (on emulator) I used the stock browser to open the web directory, tapped on certificate (see below) and selected Save link. The file will be downloaded and shown in Downloads view and you will be able to pick it successfully.


save link screenshot


rooting - Root GT-I9305 running Android 4.4.4 Build Version KTU84P.I9305XXUFNI3


I want to root Samsung Galaxy S3 LTE GT-I9305 running Android 4.4.4 Build Version KTU84P.I9305XXUFNI3.Can you please help




Monday, September 23, 2019

wi fi - Enable VPN on airplane mode, before connecting



I want to set the VPN (in my case vpnunlimitedapp) so it connects through the VPN the second I enable WIFI or 4G. Currently, I have to go online for a moment and then I'm allowed to enable the VPN. How can I remedy this so no bit of information get exposed?




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.


Sunday, September 22, 2019

applications - Can an app run code if you don't open it?


Can an app run code if you don't open it?


As part of this question, the topic of an app downloading data without ever being explicitly opened by the user was mentioned briefly.


It got me thinking: is it trivial for an app to run code without ever being opened by the user?


Obviously, an app could just be set to launch on boot, causing it to run on the next power cycle. But even easier, couldn't an app just have a receiver for a very common function (such as turning the screen on), thus running itself without the user being aware?


Is it even possible for an app to act as a receiver to an alarm timer so that it automatically gets run every minute?


Many people run App Ops right after installing an app to limit exposure. But it seems like it would be almost trivial for an app to run code immediately after being installed.


Is this correct, or are there safeguards to prevent this?




email - Why does Exchange ActiveSync not keep more than 'x' days of mail?


I have a HTC Desire X. I have set Exchange ActiveSync to download past 3 days. However, why does it not keep older mails which are already downloaded? i.e. on Friday, I can see mails from Tuesday on. On Saturdays, I can only from Wednesday on. The Tuesday email which was already downloaded and read is no longer visible?


Is there a way to make not delete the local copy of older emails?



There is an earlier question which is similar - Why does stock email app only keep 25 latest emails?


However I don't think the accepted answer there is relevant here. From that answer



to prevent large transfers of data that end up using the device communication thus leading to a faster battery drain;



Why would keeping older mails cause large transfer of data? The older mails are already downloaded and are there on your phone.



to preserve memory consumption that in turn would leave your device slow and inefficient.



Just because the older mails are there on disk, it will not increase memory consumption. A better way to program it would be display '3' days but have a way to show older ones on demand - since the app would read it from disk only on demand, it wouldn't increase memory consumption.



My phone runs Android 4.0.4.




applications - Is there any way to remove the 10 recipents limit from the SMS app?


Can you actually do this? I know that there are some apps where you can send SMS to a unlimited number of recipients, but I would prefer to remove the limit of the built-in SMS app. My phone is a Samsung Galaxy Note II (rooted).



Answer



Since your phone is rooted you can use Wanam Xposed


Note that the framework itself doesn't add any functionality, but once installed you can download (via the framework itself) modules that have custom functionality. Wanam Xposed module has many tweaks for stock Samsung Touchwiz ROMs, GravityBox has many for morer 'stock' type ROMs. You can change the SMS limit through either, in the default SMS application.



Please read the XDA Thread on this module as it has a lot of detail, and clarifications. XDA Thread


How to turn off screen without affecting anything else?


When I press power button, it not just turns off the screen, but also locks the screen. I use WidgetLocker Lockscreen which is somewhat heavy. So, many apps stop working. For example, an in-app download is stopped after screen lock. The heavy foreground apps are unloaded from memory after screen lock.


When I need to run such apps for long, I make screen timeout period infinite. But, it consumes a lot of battery juice. So, I want to turn off screen and only screen. How to do this?


Please, don't suggest me to ditch WidgetLocker Lockscreen.


My device is Galaxy S which is rooted (ICS).



Answer



Depending on your kernel it might be possible to turn the brightness off your screen to 0 via t he appropriate sysfs file.


On a Sony Xperia Acro S currently running a custom AOSP-Based 4.2.2 ROM (SlimBean 6.2) i found the following:



130|shell@android:/ # find /sys/ -name brightness
...
/sys/devices/i2c-3/3-0040/leds/lcd-backlight/brightness
...

the following command turns my screen off but keeps the apps running:


echo 0 > /sys/devices/i2c-3/3-0040/leds/lcd-backlight/brightness

if you combine this with an app which keeps the wakelock for your device, you should be fine.


Saturday, September 21, 2019

applications - How often does Android have to decompress an app's APK and OBB files?



According to one of great answers to this question, Android has to decompress each application's APK and OBB files before the app can be run.


Is this decompression performed each and every time an app is run, assuming it has been pushed out of Android's process cache?




launcher - Moto X app screen suddenly scrolls vertically


My Moto X, for as long as I've had it, has had the classic panes of apps in the all apps section (where you can just swipe horizontally to browse through the apps).



However, now I have a vertical sliding system with the four recently used apps at the top of the screen.


Is there any way to get back to the old way that stock android had been displaying all apps?



Answer



Moto X (2014) by default uses Google Now Launcher as the default launcher.


The Google quicksearchbox was recently updated to give a peek into upcoming Android 6.0 Marshmallow app drawer layout which has vertical scrolling for apps and widgets.


So Uninstalling the updates for app named Google with package-name com.google.android.googlequicksearchbox (either in Play-store or in App settings) should bring back the old feature.


User reviews dated 24th, 25th September on Google play-store gave me insight on this that the app named Google caused this behavior.


samsung galaxy s - Disable Display Standby when in Developer Mode missing in Android 2.3



I'm a little bit confused about the missing Option to deactivate the Display Standby in Developer Mode.


In 2.2 there was a switch in Application --> Development. But in 2.3.3 this switch is vanished and it is really annoying if the Phone gets black every 10 minutes.


So my Question, how can I override the Display Timeout in Developer Mode, is the switch at another Place or is it outpatched?


Phone is a Samsung Galaxy I9000.


Thanks.



Answer



Try this app: StayAwake, worked for my stock I9000 (now running a custom rom, still works most of the time but a bit buggy).


boot loop - Samsung Galaxy Nexus Bootloop. Cannot format or write data


Model: GSM Galaxy Nexus I9250 Takju Maguro
ROM: CyanogenMod 11 Kitkat
Recovery: Clock Mod
OS: Android 4.4


Basically, my phone has been working fine for the last 2 years. I had only one issue of phone getting slow down. That I fixed by rooting and installing Lagfix. I've been using this CyanogenMod 11 ROM for the last 6 month and it was working fine. Suddenly though, I got the error, "Unfortunately, the process com.google.process.gapps has stopped". Then the phone went into boot loop


I've tried rebooting into recovery, formatting data, wiping cache, davlik cache, system, internal storage. I did the factory reset. When I reboot, nothing seems wiped or erased. I tried using the android toolkit and installing the stock JWR66Y boot image from fastboot mode. When I restart, nothing has changed . No apps or data deleted.



I have pulled all my data via adb pull. It seems i can read data but cannot delete or write data.


I also tried Flash stock + unroot from NEXUS ROOT TOOLKIT 1.8.8. But even though it shows everything completed. All the data is intact in the phone and no new data is written.


I tried locking back the bootloader. Its showed Lock Status: LOCKED after locking. But after a reboot it is again showing Lock Status: UNLOCKED.


It seems I can't write any data at all.


Here is the log after Flash stock + unroot from NEXUS ROOT TOOLKIT 1.8.8


--------------------------------------------
Bootloader Version...: PRIMEMD04
Baseband Version.....: I9250XXLJ1
Serial Number........: 0149C2DC16009006
--------------------------------------------

checking product...
OKAY [ 0.011s]
checking version-bootloader...
OKAY [ 0.200s]
checking version-baseband...
OKAY [ 0.013s]
sending 'boot' (4376 KB)...
OKAY [ 0.454s]
writing 'boot'...
OKAY [ 2.551s]

sending 'recovery' (4924 KB)...
OKAY [ 0.514s]
writing 'recovery'...
OKAY [ 4.537s]
erasing 'system'...
OKAY [ 0.017s]
sending 'system' (474180 KB)...
OKAY [ 47.790s]
writing 'system'...
OKAY [1611.793s]

erasing 'userdata'...
OKAY [ 0.040s]
sending 'userdata' (137559 KB)...
OKAY [ 14.088s]
writing 'userdata'...
OKAY [243.999s]
erasing 'cache'...
OKAY [ 0.016s]
sending 'cache' (8832 KB)...
OKAY [ 0.922s]

writing 'cache'...
OKAY [ 14.482s]
rebooting...

finished. total time: 1941.733s



Booting up your freshly flashed stock device...
------------------------------------------------------------------


Wait for your device to finish booting up...

- It may appear to be boot looping; just wait...

- It could take 5-10 minutes; please be patient...

When its finally booted back up, please remember
to re-enable USB debugging if you plan on using
the toolkit to perform other operations.


NOTE: If this process was too quick and your device
is still in bootloader mode, then flashing stock may
have failed or been incomplete. Simply check the
log above: if you notice it skipped steps because it
didn't meet certain requirements, like the bootloader
or baseband version, then consider enabling 'Force Flash'
mode in the toolkits options menu and trying the
'Flash Stock + Unroot' processs again. Cheers.




Press any key to exit...

Anyone knows how to pretty much reset my phone because it seems as if I can't even erase data?
Is there any way to fix this issue?
Is my internal memory dead?
Is there any way to replace the internal memory?



Answer



So after searching lots of forum, chatting with experts in XDA, I found out that:




Samsung used a cheap substandard emmc.



I have tried everything from adb, Odin to jtag. The emmc just died,no way to fix it.


First there was this awful lag issue : Galaxy Nexus GSM bad eMMC chip type V3U00M phone is almost unusable


Later within 2 years, emmc will die and you will stuck with bootloop issue :
Galaxy Nexus GT-I9250 with hardlocked NAND ?!? need help !
Galaxy Nexus S (i9250) stuck in reboot loop - gets to OS loading and restarts


Almost all of us with V3U00M chip and other defective mmc chips would have now got there emmc fried.




What to say, on my side I'm blacklisting Samsung, this phone has been a joke for me since the beginning (the fstrim bug has been a nightmare), if you dare you can try to replace the board.



Friday, September 20, 2019

How to restore a Helium backup?


I am transfering to a new phone, and I backed up my stuff using helium to Dropbox. Later I copied that folder to carbon folder on my sdcard, but helium doesnt seem to detect it. Any idea how I can restore that? It looks like the format is different.. Regular backup seems to be carbon/com.appname/files but in my dropbox backup, its only files, no folders at all.




charging - How to make screen stay turned off when plugging charger?


When I plug charger into my phone with screen off, it always turns the screen back on. This is slightly annoying at night. Is it possible to configure android so that the screen stays off and charging is only indicated via charging led? I have an HTC Desire.



Answer



SnooZy Charger (also in the Play Store) takes care of this. The free app (as in beer and speech) that lets you manage behavior during charger connection and disconnection.


It requires no permissions, but does require you giving it device admin permissions. These permissions are only used for to control device locking, as verifiable in its source-code. From quickly going through the app’s source-code, it looks totally harmless and benign.



If the app does not behave as you want, make sure to go through the Settings. For example, “Turn off screen only when locked” is enabled by default. This means that the app will not kick into effect if you have an on/off-button-press-lock delay or other related settings.


It works perfectly for my on a wireless charging pad and with micro-USB cable using a LG Nexus 4 device. I am very satisfied.


Update: I documented additional issues here.


Thursday, September 19, 2019

kiosk mode - Is there an empty/clean version of Android for tablets?


All I want is a tablet that only runs one application (developed by me) on startup. Is there a "clean" version of Android that I can use for this? By clean or empty I mean an OS without all the unwanted features.


Basically, my app needs to connect to the Internet, access the camera within my app, and send and receive data from sensors and other external devices.




Answer



You can install Cyanogenmod or any number of custom roms, but it sounds like you'll need to develop a specific rom for your situation.


If you only want the user to run a single app, I would imagine you'd have to develop an app that declares itself as a Home Screen/Launcher, and have your ROM only include that app as the main Launcher.


This is basically how Barnes & Noble made the Nook Simple Touch. Their own Launcher is very limited and doesn't let you install apps or see anything that looks like Android. As soon as you get root via an exploit, you can easily install your own launcher that gives you access to the standard android interface and turns the Nook Simple Touch into a fully fledged (if limited) tablet.


A specific implementation is outside the focus of this stackexchange site, but you can get programming advice at stackoverflow.com


crashes - Google Play Services crashing constantly


My wife has a Samsung Galaxy Note 4, she didn't install any new apps on the phone today or yesterday, but now her Google Play services is crashing constantly (like every 5-10 seconds).


We tried the obvious stuff:



  • Uninstall a bunch of apps she's not using


  • Close all the apps

  • Reboot lots of times


enter image description here


So my next step was to enable USB Debugging and Connect with ADB. This gave me this clue when the error dialog shows up:


07-17 19:14:05.078 18130-18130/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.google.android.gms.persistent, PID: 18130
java.lang.RuntimeException: Unable to create service com.google.android.location.internal.server.GoogleLocationService: java.lang.SecurityException: !@Too many alarms (500) registered from pid 3620 uid 10015
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3817)
at android.app.ActivityThread.access$2100(ActivityThread.java:221)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1882)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7225)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Caused by: java.lang.SecurityException: !@Too many alarms (500) registered from pid 3620 uid 10015
at android.os.Parcel.readException(Parcel.java:1620)
at android.os.Parcel.readException(Parcel.java:1573)

at android.app.IAlarmManager$Stub$Proxy.set(IAlarmManager.java:217)
at android.app.AlarmManager.setImpl(AlarmManager.java:484)
at android.app.AlarmManager.set(AlarmManager.java:466)
at irq.a(:com.google.android.gms:162)
at irq.a(:com.google.android.gms:210)
at irq.a(:com.google.android.gms:199)
at idq.e(:com.google.android.gms:457)
at idq.(:com.google.android.gms:164)
at com.google.android.location.internal.server.GoogleLocationChimeraService.a(:com.google.android.gms:107)
at com.google.android.location.internal.server.GoogleLocationChimeraService.onCreate(:com.google.android.gms:85)

at com.google.android.chimera.container.ServiceProxy.onCreate(:com.google.android.gms:151)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3807)
at android.app.ActivityThread.access$2100(ActivityThread.java:221)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1882)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7225)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)


I keyed in on this portion of the error:


Unable to create service com.google.android.location.internal.server.GoogleLocationService

So I revoked Location permissions from a few more applications, and changed the Location Mode from "High Accuracy" to GPS Only. At that point the error message became manageable when not in an application that needs it, but still comes up very frequently if I open Google Maps.


What else should I be trying to resolve this issue?




wi fi - Samsung S7, Wifi keeps disconnecting


I've searched around, and so I can ensure that this is not a duplicate.



  • Smart Network Switch is off

  • Keep Wifi on during sleep

  • Wifi works excellent for other devices

  • Wifi disconnects randomly even while the screen is open and device is in use



I opened up the Developer options, and turned on "Wi-Fi verbose logging" and when it disconnected, I saw these messages:



  • NETWORK_SELECTION_PERMANENTLY_DISABLED

  • NETWORK_SELECTION_DISABLED_BY_WIFI_MANAGER=2


Also in another occasion these:



  • NETWORK_SELECTION_DISABLED_BY_ASSOCIATION_REJECTION=1

  • NETWORK_SELECTION_DISABLED_BY_WIFI_MANAGER=1



The issue seems to be since installing an application, but I've uninstalled all recent applications on my phone, and it hasn't gotten better.


Safemode seemed to fix it, so there must be some kind of application interference, but the Wifi Control History only lists applications that turned on the wifi.


My only solution so far has been to disable wifi and re-enable it, or open up the wifi network manager in android, and tap the wifi connection. (presumably to override the 'network selection disabled')




Some logcat details:


[ 08-14 13:44:35.460  1364: 2509 E/WifiStateMachine ]
Did not find remoteAddress {10.100.5.1} in /proc/net/arp

and



I WifiHs20Service: Message received 5014
E WifiHs20Service: received HS20_UTILITY_ACTION_TYPE_HS20_CONFIGURATION_CHANGED
D WifiStateMachine: DisconnectedState !CMD_GET_CONFIGURED_NETWORKS uid=10225 rt=2982499/2982499 10225 0 num=40
D WifiStateMachine: ConnectModeState !CMD_GET_CONFIGURED_NETWORKS uid=10225 rt=2982500/2982500 10225 0 num=40
D WifiStateMachine: DisconnectedState !CMD_GET_CONFIGURED_NETWORKS uid=10225 rt=2982511/2982511 10225 0 num=40
D WifiStateMachine: ConnectModeState !CMD_GET_CONFIGURED_NETWORKS uid=10225 rt=2982511/2982511 10225 0 num=40

When turnnig wifi back on, I sometimes see:


WifiStateMachine: There are no configured ssid


followed by many SSIDs of wifis I've already used. The SSID in range is not listed. Perhaps because the SSID in range is marked 'permanently disabled' (see above)




Additional Edit, more info:



  • I'm unable to reliably replicate this. It only disconnects when I'm assuming it'll work, and it doesn't seem to be crashing while I'm trying to use it.

  • I got a disconnect while doing a beyondpod (podcast app) update: https://pastebin.com/Edx7ADXZ Things to note:

    • I could not duplicate it with just the podcast app

    • If you search in the log for beyondpod, you'll see more information about where the disconnect happens. Sometime before: "08-23 12:53:46.600"







Update 3:


I wiped my phone, and it was fine for a while, but it came back. The same error codes: NETWORK_SELECTION_PERMANENTLY_DISABLED and NETWORK_SELECTION_DISABLED_BY_WIFI_MANAGER=2


I guess wiping it was not sufficient.


Is there anything I can run to constantly reset my wifi (when the hardware switch is on) to effectively cancel out whatever is turning it off?



Answer



Android didn't indicate which applications where toggling the wifi status accurately, and the logs were unhelpful.


I later noticed that "MyCricket", an application that helps pay for my Phone Service, had a setting titled: Turning on Cricket Wi-Fi Manager



Turning off this setting fixed it. I wish the Android controls had been more helpful.


images - Only one thumbnail for all photos


I downloaded the million moments app which basically makes a cool album from the photos you choose. The problem is in the import screen when I choose photos, all the photos just have the thumbnail of one of my photos. Now this is a headache because I can't pick the photos I like and I have to resort to picking the whole folder. I just discovered today that even the Flickr app has this problem. Now I think I'm sure my phone is at fault, my question is how do I fix this? Even with the media rescans the thumbnails still aren't correct and just shows 1 of my photos. Quickpic and the stock gallery don't have this problem though. Any ideas what's wrong?




gps - Battery drains even when plugged in while using Nav app on long road trips


I have a Nexus S running Android 4.0.3 and Google Maps 6.8.1.


When I use the Google Maps navigation app, the battery slowly drains, even when plugged into my car charger. After 5-6 hours, the phone will shut down due to loss of power.


I have already tried:




  • Using only 2G mode

  • Configured all of my (configurable) apps not to check for updates, fetch mail, etc, except when I tell it to.

  • Reduced CPU speed, changed CPU governor, etc


I've had limited success reducing the CPU speed too much, as it makes the nav app unresponsive when I set it too low.


I have not tried dimming the screen much, as I can already barely see it when driving with sun glasses on.


Is this normal behavior, or is my phone faulty (or misconfigured)?


What else can I do?




  • Perhaps there's a better way to charge my phone (different charger/USB cable?)

  • Perhaps there's some way to automatically disable the screen except when within a certain distance of a turn? I.e. if the screen auto-blanked after 5 minutes, then would re-activate whenever there were spoken instructions, that would be fine with me.

  • Perhaps there's another nav app that's more friendly on the battery?


EDIT Even in my car, I use an A/C charger with a DC/AC inverter, rather than one of the round cigarette-lighter style chargers.




Wednesday, September 18, 2019

rom flashing - How to take Motorola Photon 4g out of the grave?


Recently I ordered Motorola 4g from US.... It was with stock Sprint Sunfire OS.


OS       : Sunfire-2.3.5
Baseband : 4.5.1A (I am not sure about this whether its baseband or revision)
Build : 1_SUN-254_4

NOW ITS DEAD.... running in RSD Mode


So what I did, I was trying to install custom rom on that. Steps I had taken





  1. Rooted phone via installing SuperUser and various rooting methods like ClickOnce, Photon -Torpedo but no one seems successful , while executing I got errors everytime. But after day or two I came to know about that my phone is rooted. As I was getting SuperUser popups on root operations. Then I installed CWM and tried to install the ROM from there but everytime I got stucked at Yellow Triangular icon (recovery mode).




  2. Repeated step on rooting process and unlocking the bootloader by applying pudding.rar and fastboot commands and every time i got the error and Starting RSD Screens, but anyhow my phone recovers itself to its original boot state afetr pulling out battery and manually restrating.




  3. Finally one day I use some other Recovery Tool , i am unable to recall the name. It installed and rebooted successfully in the recovery mode. I then wipe the dalvik cache, wipe factory reset and then tried to installl the custom rom that MIUI 2.68 i think . I was happy to see some designer screens on my phone and then it said rom installed successfully.





  4. I then reboot my phone and found it in the Failed To Start2 , Starting RSD mode




I tried various way to restore...



  1. Installing pudding.rar using RSD lite but everytime I got sec_exception : sec_exception : b655, eddc,eb

  2. I then tried reinstalling SBF : 1FF-sunfire-user-2.3.4-4.5.1A-1_SUN-198_7-CM-release-keys-signed-Sprint-US.sbf and sunfire-2.3.5-4.5.1A-1_SUN-254_4 but while enumerating phone I got error sec_exception febe 4e 4e


I have also tried nopudding4u.sbf but the same result.



Please,, help me and my phone out .. as its going to be more than a week... i feel handicaaped...


Please guide me through the step by step , which file and when and please do provide the links of the files to download.


**Update OTA with 2.3.5 before murdering.....**

Answer



I got it back. For answer check the XDA Forum with same question.. ANybody in same condition .. please visit the link..


What are the features that TouchWiz has that vanilla Android does not have?


What are the features that TouchWiz has that vanilla Android does not have?


This question is similar to What are the features that HTC Sense has that vanilla Android does not have? but for Samsung TouchWiz.



Answer




Home Screen



  • Up to 7 Home screens, with the ability to add and remove screens at will, and drag them around to change the order (pinch zoom the home screen)

  • Customizable dock area at the bottom of the home screen, allowing you to add/remove up to 4 apps.


Apps List



  • 'Screen at a time' sideways scrolling apps list

  • Rounded square backgrounds added to all app icons in the app list (see here)

  • Pre-installed apps (or apps present during the last OS upgrade) are in alphabetical order, new apps are added at the end in the order they're installed.



Home Button



  • Holding the Home button brings up a list of 6 recently used apps, along with a Task Manager button

  • Holding the Back button and tapping the Home button takes a screenshot on the Galaxy S, for the Galaxy SII use Power+Home


Samsung Widgets


These are home screen widgets that Samsung include, and are in a separate Samsung Widgets category pre-Gingerbread, post-Gingerbread they are in the main Android Widgets list with the word "Samsung" under them instead of "Android". Exact widget selection varies depending on OS version and network.



  • AccuWeather Clock


  • Buddies Now (messaging shortcuts for nominated contacts)

  • Calendar Clock

  • Daily Briefing (News, weather, stocks, social media updates)

  • Days (create new entries in the Diary app)

  • Dual Clock

  • Feeds and Updates

  • Program Monitor

  • Y! Finance Clock


Samsung (and other) Bundled Apps




  • Samsung AllShare (DLNA)

  • FM Radio (for models with hardware FM radio)

  • Kies air (shares phone data, and allows control of some phone functions over wifi to a PC web browser, first pre-installed with Gingerbread, available in Samsung app store for older OSs)

  • Memo (notepad app)

  • Mini Diary (create diary pages with daily details, memos and photos)

  • My Files (file manager)

  • Samsung Apps (Samsung's own app store, currently only free content in there, but some of the apps are normally paid or ad-supported on the Android Market)

  • Social Hub (messaging app combining email, SMS and social networks)

  • Task Manager


  • ThinkFree Office


Modified Apps



  • Contacts (History and Activities tabs, linked to Social Hub and social network account updates, showing recent posts by contact and recent interactions with them)

  • Gallery (interface to select either scrolling wallpaper or static, portrait wallpaper)

  • Music (Disc View interface added, allowing sideways scroll through albums showing the artwork on a "CD" shape)

  • Videos (extra codec support DivX/Xvid in particular)


Region specific TouchWiz features




  • Throughout most of Europe and Asia, Samsung's Mobile Tracker feature is included in the Security settings allowing remote password setting, tracking and wiping of mobiles registered on the http://samsungdive.com website


Version specific TouchWiz features



  • Eclair (Android 2.1) - TouchWiz included Wifi tethering as a standard feature before it was brought to the main Android OS in v2.2.


(except where noted, all from TouchWiz 3 on a Gingerbread Galaxy S)


external sd - Maximum (micro) SD card speed class for HTC EVO?


What is the maximum class (e.g., 2,4,6,8,10) supported of microSD card supported by the HTC EVO?


I noticed an improvement in performance when upgrading from the Class 2 to a faster card on my Hero. I don't want to pay extra for performance that won't benefit my EVO.


HTC and Sprint have not included this information in their specs and I can't find it elsewhere. Either I'm not understading something fundamental about SD classes or it's not published where I'm searching.



Answer



It looks like someone sent HTC an email back in July and got the following response:



I understand you want to know which speed is the best for your device as far as SD card is concerned. We have tested the devices on a class 4 speed. I could not recommend anything higher than that. The phone may be capable of running a higher-class speed, but we have only tested it on a class 4.




You may also want to email HTC support and see what they officially say. From I've been reading, people have been using Class 6 just fine. Not sure about 8 or 10.


applications - What does the "Force stop" button mean?


When I go to Settings > Applications > Manage Applications > Downloaded I see an application list. If I select some applications I see button "Force stop" active, but some applications have this button dimmed.



What does it mean? What happens if I press this button?


This button can't mean application running, since the applications with this button are not listed in Running section.


Can I list just applications which have the Force stop button active and uninstall them?




Android version: 3.2




Tuesday, September 17, 2019

usb on the go - How to disable USB OTG on Android 6+?


I need to disable the OTG (USB) on Android 8. I already did it on Android 6 by disabling a permission on the file android.hardware.usb.host.xml but it is not working anymore on Android 8.1.




Answer



android.hardware.usb.host.xml file - located under /vendor/etc/permissions/ or /system/etc/permissions/ before Treble - contains feature name="android.hardware.usb.host" which indicates that the device can communicate with USB devices as the USB host. This feature is evaluated by PackageManager (along with other software / hardware features) and used by Google Play to filter (in)compatible apps based on the value in AndroidManifest.xml. See details here.


Also if the device doesn't support USB host mode, UsbHostManager service is not started, so apps like this which use USB host APIs cannot connect to USB devices. But any connected device is still detected by kernel and appears under /sys and /dev.


To confirm if the device supports USB host mode:


~$ pm list features | grep usb.host
feature:android.hardware.usb.host

~$ dumpsys usb | grep host_manager
host_manager={


These lines shouldn't appear after you delete android.hardware.usb.host.xml file.




However since Android 6 USB storage devices such as a USB stick are handled by vold, which doesn't depend on the feature discussed above. vold listens to kernel through a netlink socket for block device uevent (1) and matches that with some entry in fstab (2). Then it creates disk and partition nodes in /dev/block/vold/ (3), checks filesystem for errors and mounts in /mnt/media_rw/ (also emulates SD cards in /mnt/runtime/) (4). After that ExternalStorageProvider (a content provider) is triggered which grants apps URI access to OTG storage through SAF or Scoped Directory Access.


So in order to disable auto-mounting of USB storage devices by vold, you need to remove the corresponding entry from fstab as referenced here:


/devices/*/xhci-hcd.0.auto/usb*    auto    auto    defaults    voldmanaged=usb:auto

fstab is found under /odm/etc/ or /vendor/etc/. Before Treble it was in rootfs (/). See details in this answer.


4.2 jelly bean - How to customize the quick settings drop-down menu in android 4.2?


As of title, is there any way to customize the quick settings grid available in Android 4.2 ? This feature has potential, but in most cases it does not take advantage of the screen size.


The quick settings panel



Answer



Currently I can only find customization options through mods or other updates to the ROM. For example: http://forum.xda-developers.com/showthread.php?t=1999125


It would really be great if stock Android 4.2 would provide functionality to add tiles, re-order tiles or change the function of long/short taps on tiles. This issue has some of those feature enhancement requests: http://code.google.com/p/android/issues/detail?id=40285


How do I disable "Link Preview" in Chrome?


This feature magnifies links when it seems unsure of which you touched. This article talks about an "Enable Link Preview" setting as if you can turn it off.


Beyond its annoyance, as I have to click everything twice, this bubble seems to break several dropdowns, as the menus will not expand in the zoomed view because the zoomed view is just a glorified image.




What all does ADB backup and how do I restore part of it?


I am soon going to unlock bootloader and root my Nexus 5, but I didn't wanted to wipe all the data so I thought of using the ADB backup function to restore after rooting is done.


adb backup [-f ] [-apk|-noapk] [-shared|-noshared] [-all] [-system|nosystem] []


So, I made a full backup, with apk, with shared, all.


First of all, what all does this command backup? I suppose everything. Does it include the system, that is, Android files, like the main ROM files including kernel and stuff? Will the ROM get restored after I restore this backup?


Also, after I have rooted the device (which I have still not done), will I be able to restore just the apps, app data and shared storage from the backup? Or should I just backup the apk with shared data backup and that will do it?


Is it possible with a third-party app, root/non-root? (Titanium Backup, maybe?)


I need to know more.



Answer



For what ADB backup does, you might wish to see our tag-wiki. Basically, depending on the command line switches used, it backs up apps (.apk) and their data. For a full list of options see this.


As for the second part of your question, you might wish to see Is there a way to look inside and modify an adb backup created file? Yes, it's possible extracting parts of it, and yes, Titanium Backup is one of the apps capable of this. Other ways are described in the linked question.


Also worth a look:




uninstallation - Help Uninstalling Stubborn Application


I have the original Motorola Droid. I recently installed Lotus Notes Traveler on it (we use Lotus Notes at work). The application is giving some issues, so I was going to uninstall it and re-install it. Unfortunately, when I try to do that I get a message the message "Uninstall Not Succesful". Is there any way to uninstall an app that does not want to uninstall through "Manage Applications"?



Answer



Apparently the Lotus Notes Traveler app makes itself the Device Administrator on the phone. You need to disable this before uninstalling it. The following quote is from Lotus FAQ:



You should uninstall Lotus Notes Traveler by launching the Lotus® mobile installer application, then selecting the Lotus Notes Traveler application and choosing uninstall.



If you choose to uninstall manually and your device is running Android 2.2 or above, you must first disable the device administrator. To do so, select Menu > Settings > Location & Security > Select device Administrators. After you have disabled the Lotus Notes Traveler device administrator, you can use the operating system to remove Lotus Notes Traveler, by navigating to Menu > Settings > Applications > Manage Applications.


You can uninstall Lotus Mobile Installer using the normal method for uninstalling applications on your Android device.



Monday, September 16, 2019

How Google Play updates itself?


A few days go I launched my old phone with old version of Google Play. I launched it, but in few seconds application crashed. When I launched it again, a new version (this one that I have on my current phone) was shown infront of my eyes. I'm asking, how? I have a theory that Google Play checking content of server and when detect a new apk, it install it in the background. Am I reasoning it right?



Answer



When you're connected to Wi-Fi and Google Play Store is running, it will automatically download any updates for Play Store and Play Services. If you have something like a network monitor, you'll occasionally find Google Play Store occupying large bandwidth and stops after tens of MB.


Updates for Play Services will be installed immediately while updates for Play Store will be installed after you quit it (by pressing back multiple times or home). As noted by @Matthew Read, apps with system privileges do not require user intervention while installing or updating apps.



4.0 ice cream sandwich - Is it possible to use android phone as bluetooth headset for ps3?


Does anyone know how to use the android phone as a bluetooth headset so that i can use it as a mic while playing several games (COD) for example.


I'm using Ice Cream Sandwich and i have a Galaxy Vibrant. I don't want to buy a bluetooth headset so i'm simply looking to use my phone as an intermediate adapter. I can connect my wired headphones which has a mic attached to it.




Sunday, September 15, 2019

What is the length and breadth of ONLY the screen in the Nexus 7?


I'm not asking the diagonal values, but the length and breadth ones of the Nexus 7. And only of the LCD screen, not the entire hardware.



Answer



The screen size is 151mm * 94mm


http://forum.xda-developers.com/showthread.php?t=1760938


external sd - SD card gets different name at every format


Every time I format the SD card, or install new ROM., or move it to another phone, it comes with a different label


Something like 410E-1D17 or FEA7-1EF1 or BD05-14A1


How do I stop this mess and make it consistent ? Its screws up all apps that rely on the absolute path


Does it happen only on Xperia phones ?


Android M




4.2 jelly bean - How can I move application user data (user specific settings, savegames, ...) to a different user?



I have a tablet with Android 4.2 and would like to copy/move the application user data (savegames, ...) from one user to another. I have root. Which directory do I need to move/copy. And do I have to care about the permissions?




Saturday, September 14, 2019

can't use adb shell in recovery mode



I have a china tablet named Quest. I have accidentally repeated pattern lock more than 5 times. Now I have also forgotten the email address.


So for a factory-reset of my tablet I simply booted it into recovery mode. But it shows an Android bot lying with red exclamation mark. After a spending hours I found a shortcut i.e, vol + and power to access recovery menu. But my tablet doesn't go to recovery menu even when I pressed the keys.


So I simply connected my tablet to my pc via USB and installed drivers. In adb command prompt I typed adb devices. Now my tablet is listed as 20110301 recovery. I can simply use only adb pull, adb push, and reboot commands. But I cant access adb shell to unlock my tablet: it simply says exec '/system/bin/sh' failed: No such file or directory (2).


What can I do?




ADB full backup restore command stuck on restoring app Clean Master


I have a full backup file using adb backup command. When I try to restore the full backup file using adb restore command it always displays "Unfortunately Clean Master has stopped working" while restoring the package of Clean Master app com.cleanmaster.mguard.


adb logcat - (too long to paste it here)


How can I skip the clean master app package alone while restoring the full backup?




Answer



I removed the clean master app data from the backup and re-created the backup.ab file again using the Android Backup Extractor(ABE). It seems that the backed up file was corrupted and couldn't able to restore it properly. So I suggest to,




  • use the adb backup command atleast twice to make sure the backup is fully completed and compare both file are same sized ones


    ( OR )



  • extract the backup file using ABE as .tar export and make sure the extracted .tar file can be opened without any errors.


Since I also had app backups using Helium Backup(Carbon) app, I was able to restore my app data using the Helium app. And all the shared data folder contents I moved from the extracted .tar file to my device via an USB cable manually.



htc desire - No touchscreen response when charging


I have a new HTC Desire S in the UK unlocked from Amazon running Android 2.3.3 and HTC Sense 2.1.


When I charge the phone the touchscreen is non responsive. I have tried changing Settings > Applications > Development > Stay Awake (screen will never sleep whilst charging) but this makes no difference.


The touch screen does not respond, whether the phone is dark, lit up looking for my lock pattern, or unlocked and on the home page.


If it is charging and I press the power button the screen will wake up, but still the touchscreen is disabled completely.


Hopefully I have been clear that this is not solved by the "stay awake" function (seen elsewhere).


So, in summary, when charging the touchscreen is completely disabled and changing the "stay awake" checkbox makes no difference.



Any other ideas welcome.


THANKS IN ADVANCE.




Friday, September 13, 2019

google play store - Always seeing "No connection: Retry" in Android Market


I have an HTC Touch with Froyo installed that I use for app development. I haven't used it for a couple of months, and when I fired it up today I'm seeing the same error every time I launch the Market app: No connection and a Retry button. It doesn't matter how many times I hit Retry, I just end up back in the same place. The phone definitely has a solid Wi-Fi connection though and all other online apps (browser, Twitter, etc.) are working well.



I've tried force stopping the Market and restarting, clearing its data and uninstalling updates, all to no avail. What can be causing this error?



Answer



The answer is that the date/time settings were incorrect. The device had been off for so long that the clock had reset. Once I set the correct date and time the Market app ran normally.


usb host mode - Taking pictures using an external (USB) camera on a Samsung Galaxy S2


Question: How can we take a picture using an external, USB camera, on a Samsung Galaxy S2 (setup in host mode, using an OTG (On The Go) cable), running Android 4.0.3 (Ice Cream Sandwich).


Details: We are trying to build an app as part of a project, where the phone will be out of sight (e.g. in someone's pocket), but the external camera can take a picture (on demand) that our app can process. We have seen evidence of success using OTG and flash drives/mice/keyboards, but are unsure of what difficulties may arise (and how to approach them) for a USB webcam.


Given that we are trying to write an app (API level 15), other pointers (with regard to interfacing with the external camera) would be appreciated (as a starting point, we really would like to just prove that the camera CAN work - that is, using any existing app, take a picture using the external camera).


Beyond basic recognition and potential problems, we are concerned (perhaps needlessly) about the power that the phone can provide to the USB camera - is it likely that this will be sufficient to power the camera?



If it is not possible to use a USB webcam as an external camera on an Android phone, other suggestions as to how we can setup an external camera to work with the phone, would be appreciated.


Specifications: Android version: 4.0.3 - Ice Cream Sandwich API level 15 Device: Samsung Galaxy 2 Model GT-I9100M Build Number: IML74K.UGLD3




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