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 each time I try.
Saturday, January 25, 2020
system error - "Unfortunately xxx has stopped"
My Symphony Xplorer W85 running JellyBean v.4.2.2 suddenly began showing the following errors, making the phone unusable:
- "unfortunately ikeyboard has stopped"
- "unfortunately systeminfo has stopped"
- "unfortunately adobe air has stopped"
- "unfortunately measure has stopped"
I first tried factory resetting the phone, then rooted and uninstalled Adobe Air, systeminfo, and ikeyboard using Kingroot but the phone still displays the errors. What might be causing this and what can I do to fix it?
Friday, January 24, 2020
stock browser - How can I determine the SD card's path?
I'm on a Thinkpad with Android 4.0.2 trying to open an HTML file on an SD card, using the default browser. Answers here have indicated you should access file:///mnt/sdcard, file:///mnt/sdcard-ext, file:///sdcard, and many other combinations, but none of them work for me: I just get "Webpage not available".
Apparently different machines mount the SD card to a different path. How can I find out which path my SD card is mounted to? Or if that's not the problem, what is?
Answer
adb shell 'echo ${SECONDARY_STORAGE%%:*}'
Thursday, January 23, 2020
app2sd - Unable to move few Apps to SD Card
I have apps such as Any.DO and AK Notepad installed in My Samsung Galaxy Y Android 2.3.6 phone. I have tried Titanium Backup and App 2 SD (move app to SD) but still not able to move these apps to the SD card at all. What's wrong? Can someone help me out here?
Answer
An app must explicitly support App2SD, or you cannot move it to the card. There are several reasons why an app might not support it:
- using widgets (both mentioned apps seem to fall into this category. AK Notepad: "Pin notes to your home screen"; Any.DO: "You can even add our widget to your homescreen")
- running a service
As the sdcard would be unaccessible when connecting to a computer, both things would "crash" (as they could no longer access their data etc.). Of course there's always the possibility the developer simply didn't care -- in which case you should contact him and ask.
cyanogenmod - How do I stop voice typing from muting/pausing other playing media?
I sometimes want voice typing to transcribe voice audio that is playing on my device. However, whenever voice typing is started, it stops all audio coming from my phone.
I have the xposed module app settings installed. This permits you to revoke individual permissions for an app. I tried revoking media_content_control and modify_audio_settings, but this didn't do anything.
keyboard - Inputting math symbols in Android
I need to input calculus and trigonometric notations in Android.
How to input math symbols in Android?
Wednesday, January 22, 2020
Is it possible to install a ROM from TWRP ADB shell?
Let's say I place a rom in /sdcard/. Can I install in the ADB shell through TWRP. For instance, if I
- Start up in recovery of TWRP
- Type in on the host
adb shell
Is there anyway to install /sdcard/rom.zip
Answer
The TWRP provides a command line utility called twrp and the official site has a guide to twrp's subcommands of which the command needed is simply install
install FILENAME :
install FILENAME zip file.
Usage: under adb shell environment, run
twrp install /path/to/rom.zip
How do I eliminate "labels" from the Gmail program running on my Nexus 7 Tablet / Android Version: 6.0.1?
The Gmail on my tablet has a bunch of old "labels" from past email traffic, and I wish to remove/delete those labels.
None of the old labels have any documents in them (they are empty), but they are still shown on the left side of the Gmail screen. They are listed under the headings: "Recent Labels" and "All Labels"
By the way, I did access another screen that has the following listings:
▪ delete labels
▪ remove labels
▪ label:Junk-E-mail-FRIENDS
▪ cancel labels
▪ discard labels
▪ labels
▪ remove account
▪ remove account withdrawal
▪ create labels
I tried all the above commands to eliminate the labels appearing, but with no luck. The message I get is ... Whoops! We didn't find anything for "xxxx labels"
How do I remove these old label listings from appearing on my screen?
samsung galaxy s - Update from app store stuck on "downloading.."
There are three apps that needs an update on my device, I've got an always-on 3G connection and it's working (I can use whatever app I need), but when trying to download the update from the app store the progress bar reach the end (100% downloaded, should have saved it entirely) but it won't install the new update and the page on the store keeps telling "Downloading..".
I tried clearing the store cache/data several times but didn't work, I tried clearing the app's cache too (the one that needs to be updated) but it wasn't useful.
How can I solve? I didn't do anything to my un-rooted semi-new phone (Galaxy S plus with gingerbread)
Answer
I solved this by reinstalling the store update (i.e. switching it back to the basic market app and let it update again)
remove locked by android device manager message
I have played with Android device manager and I have blocked my phone. I have deblocked but everytime my phone enters into standyby it apears me the message "locked by android device manager" and I have to enter the password again.
Do you know how to remove this message?
Tuesday, January 21, 2020
wi fi - What does the "Aggressive Wi-Fi to Cellular handover" option in Developer Settings do?
In Android Lollipop 5.0, I noticed that "Developer Options" features a checkbox for "Aggressive Wi-Fi to Cellular handover" that is unchecked by default. Does anybody know what this setting does and why it's disabled by default and hidden under developer options?
Answer
The code for shouldSwitchNetwork() best explains what it does. It just artificially reduces the WiFi RSSI (received signal strength indication) to encourage the WiFi state machine to decide to switch the connection from WiFi to cellular network. Around line 3559 of WifiStateMachine.java (line 4262 for Android 6.0.1_r10):
int rssi = mWifiInfo.getRssi() - 6 * mAggressiveHandover
+ (homeNetworkBoost ? WifiConfiguration.HOME_NETWORK_RSSI_BOOST : 0);
The variable mAggressiveHandover is an int that is set to 0 or 1 by the Developer Settings:
private void writeWifiAggressiveHandoverOptions() {
mWifiManager.enableAggressiveHandover(mWifiAggressiveHandover.isChecked() ? 1 : 0);
}
The rssi variable goes on to influence how the connection is classified: isBadRSSI, isLowRSSI, or isHighRSSI.
As to why it's hidden under the developer options, I'd say that is because it seems a little hackish, with a seemingly arbitrary scalar (6) that some dev came up with to nudge the behavior in the desired direction. Google is probably uncertain about the consequences of this setting and the optimal way to adjust rssi. If I'm wrong and this is somehow meaningful, I'm happy to admit it and explain here why.
Turning this setting off does NOT turn off cellular handover altogether. The WiFi connection still gets a score and is disabled if the score is too low. But hey, the initial score is set arbitrarily too.
applications - Cannot open my app it keeps saying app not installed
I transferred some of my app to my SD card using the cm cleaner app and it was working perfectly fine .but suddenly today I cannot open those app it keeps saying app not installed.I tried restarting,reinserting the memory card but nothing seems to work.
Monday, January 20, 2020
arm processors - Are APKs architecture-independent?
Android devices have different processors like ARM and Intel processors. Can Android apps run just the same regardless of which architecture the device has? Or are there apps that will only run on ARM-architecture, etc?
Answer
Yes, applications (APKs) are independent of the architecture.
Android is made up of 4 major levels. 
The apps you write is compiled into Dalvik EXecutable (DEX) code, which is finally converted into assembly code (according to the required architecture) by the kernel to send to the processor.
So, the kernel is the final one that's responsible to act according to the required architecture and it's compiled by the ROM developer accordingly.
The DEX code is always independent of the architecture, so that application developers needn't worry about the type of processor.
How to hide status bar notification icons?
I'd like to figure out how to hide the icons of the status bar that would appear in the left. Is there a way to control that? Some apps such as Weather.com don't have the option to hide that icon from the status bar.
Sunday, January 19, 2020
Have to clear google services framework on android ice cream sandwich
I recently had issue to sync with google as the following are affected:
- gmail app says no internet connection
- play store says no internet connection
- tablet is set to EPOCH (Jan 01, 1970, 00:00)
- I can surf the internet but I get tons of certificate warning whatever the website I am surfing.
I am using an android tablet (android 4.0 ice cream sandwich), wifi only. Looking around I found that I should clear data from google services framework and restart my tablet (see this post for example).
It works great, but the error keep coming back and I'm looking for a permanent fix. Should I wipe the tablet?
Thanks in advance for your help!
---- After test update -----
Thanks all for your comments and help (and sorry for my long silence). Here is the steps I've done:
- Delete and re-install accounts, Results: Error connecting server (tried with 2 different account)
- Done Factory Reset > No more issue to add account
- Install Gmail app (it took 3 or 4 trials where I reboot tablet before success). There every was fine.
- Restart tablet for testing: same issue as before :(
I guess either I never switch off my tablet or I return it
applications - Make Google Search app use Google.com.au
I purchased my HTC Desire (2.2 FroYo) from the UK and by default I guess the Google Search app uses Google.co.uk whenever I run a search through the app.
This is quite annoying as you could imagine since none of the local services/locations are show since it's searching on the UK domain.
Is there a way without rooting that this could be modified?
Answer
So I figured out a while back that it's my phones locale that is affecting this but never really thought I could change it.
This morning however as I was doing a Goolge search for "how to change Android locale" I though about trying to search for an app on the Market.
Sure enough there are a few that can. The one that I've gone with is made by inKa.

Saturday, January 18, 2020
geolocation - Using the GPS instead of Google Location Services in Chrome
I do not consent to Google collecting constant background information about my position at all times through their Google Location Service program. So I have got that option disabled.
I can get just about everything to work with just the GPS. Except for the Google Chrome browser. It keeps referring me back to enabling the Google Location Service option. Which does not make sense. The HTML5 GeoLocation API wants latitude and longitude, which the GPS is perfectly capable of providing on it’s own without involving Google’s servers. Is there a way around this?
Friday, January 17, 2020
ram - Keeping an app in memory
I once read about an init.d tweak to keep an app in memory. I'm unable to find that tweak now. Does anyone have the link? An alternate method would also be welcome.
Edit : I'm using cyanogenmod 10.
Answer
You can do it according to this post on XDA:
- Make a file called 99applock.txt
- Insert code below and put you messaging service in where it says PPID (that usually can be found in data/data if your using aftermakrket sms app) remove the .txt extension and put file in ect/init.d and just give it 777 permissions, it works for me.
#!/system/bin/sh
sleep 60
PPID=$(pidof com.your.app)
echo "-17" > /proc/$PPID/oom_adj
renice -18 $PPID
How do I get my GPS working in Android 4.1 Jelly Bean?
Recently I've been having all sorts of troubles with audio and GPS and the compass... I tried different ROMs, different kernels, different patches.
The short story is that after a long time spent messing around trying to get all features working at the same time, in the end I had to factory reset my phone and start anew.
Now, the current situation is that I have a rooted phone running Jelly Bean 4.1. It's freshly installed as of about an hour before writing this.
However, the GPS is unresponsive. Of course I want to fix this, but I don't want to go through the whole mess I just went through over the last few days.
So... how do I get my GPS working without playing feature whack-a-mole? I'm taking a breath, slowing down, and I'm looking for a reliable patch or process that I can execute with reasonable assurance and no guesswork.
Specifics are that I have a Samsung Galaxy S2, GT-I9100, issued in Japan. Android version 4.1.2, Kernel 3.0.15-CM (Siyah 5.0.1), Cyanogenmod 10-20121120-NIGHTLY.
Update: The compass issue I mentioned earlier was fixed when I used the build of Cyanogenmod available in this thread on the XDA forum. So I'm now just focused on fixing the GPS.
Answer
I found a solution in this answer in the XDA forum.
To generalize and hopefully be of use to others, the key point seems to be that even if you think you have the right ROM for the right device, it might be that your particular model has very slight differences.
In my case, if I understand correctly, I was using ROMs built for the GT-I9100 model of the Samsung Galaxy S2. However, the device issued in Japan, the SC-02C, has some very slight differences. So, I needed to get be more particular about which software I downloaded.
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 ...
-
There are several captive portal parameters one could apply to an Android device via settings put global – the most famous probably being ...
-
Is there a way to block (by a password/PIN code or what else) all kinds of software installation on an Android tablet/smart phone? I underst...
-
I am using Nexus 10 with android 5.0.1 I recently purchased a bluetooth keyboard to go along with the tablet. The keyboard I was using (soft...
-
As i'm working as a mobile software technician, alot of times i need to unpack some odin firmwares to add or remove some files, maybe ad...
-
Is there any combination of android applications which can connect to a POP3 account and: transfers emails to SMS (by phone number provided ...
-
Chainfire (the developer of SuperSU), has come up with a new style of rooting devices on Android 6.0 Marshmallow and above. This is " s...
-
I am using Samsung Galaxy S4 I9505 running on Android KitKat 4.4.4. If there are 5 apps to update, all the apps open automatically after the...