[Q] Low memory : can't uninstall app and can't connect through adb - Galaxy S II Q&A, Help & Troubleshooting

Hi all,
Since a few days I have a very frustating problem with my Galaxy S2 (i9100) after I installed some new apps. At first all seemed good, but then the low space warning came. Fair enough, let's delete some apps. But the main problem is that, with the low space warning coming, all apps (system ones also) started crashing. The result is that even if I can go into the application management menu and delete some apps (it says uninstall successful and the apps disappear from the menu), in fact the apps don't seem to be uninstalled. When I reboot the phone, the apps are still here and the status is the same (low space and apps crashing). I also tried to wipe the dalvik cache through recovery but that didn't change anything.
I wanted to uninstall some apps through adb but when I choose the USB debugging option and plug the phone, nothing seems to happen, I can't see the device listed through adb devices. My guess here is that, as system apps are crashing, although the usb debugging appears as set, I can't in fact set it.
Next step was to reboot in recovery mode and try to access the phone through adb, but it seems the stock recovery mode (3e) doesn't allow adb connection.
Then next step is to try to install CWM (which supports adb if I'm not wrong). I can boot the phone in download mode, so I should be able to do the installation through Odin but I have some questions concerning CWM version. In most of the tutorials I saw, they're talking of JB and ICS version for GS2, but my phone is still in gingerbread (2.3.3). The CWM site isn't very clear about the versions (only talking of Recovery and Touch Recovery). From reading some blogs on Internet, it would seem that the 4.0.1.5 shoud be working with Gingerbread but nobody seems affirmative about that.
Dear community, this is why I come seeking your help. My goals here would be (in the following order) :
a) Get my phone fully operational to be able backup everything (sms, app list, data, ...) and continue to use it as-is (on the short term, time to install some kitkat rom)
b) Get an adb connection to backup everything (you can backup nearly anything through adb (sms, ...) ?
c) Get a way to at least backup the data
So :
1) Have you ever encountered this behaviour ?
2) Were you able to solve it ? If yes how ?
I have a few other questions :
3) Can you confirm that the stock recovery mode indeed doesn't support adb connections ?
4) Does CWM indeed support adb connections ?
5) What version of CWM would work with my phone ?
6) What are the risks of using another CWM version (if none work with gingerbread) ?
Thanks in advance for any assistance you could provide.

By the way, forgot to add that I also tried the *#9900# code to delete the logs but nothing happened (I suppose the process crash before deleting anything).
For the moment, I see only 2 options :
Install a custom recovery with adb support
Try to reflash the ROM
For the moment I'm investigating the first option, as I'm not really sure the second would do any good in my case. While doing this I discovered PhilZ-CWM which is a very nice CWM mod !

Related

Deleted apps appear after reboot

Greetings.
Sorry for my grammar, I'm not a native english speaker, still learning.
I've got an unexplainable trouble, kind of frustraiting.
Phone: Galaxy Tab 10.1 P-5100 model.
Android: ver. 4.0.4
Stock ROM: official russian P5100XXLF2
The problem is, when I turn off and then turn on my device (or simply restart it) system is restored to some earlier state, this include:
1. Apps I've deleted are still installed.
2. Widgets or app shortcuts on 'home' pages are still on their old place though I've rearranged them.
3. Same with wallpapers.
4. Same with settings.
What I've tried:
1. Factory reset + cache clean. Even though it is supposed to be a full system wipe, it doesn't work.
2. Reinstalling Stock ROM via ODIN. Doesn't work either. Weird thing is, when I've done it before, it was done in about 5 minutes, but this time I've waited for about 1 hour.
Also there is a notice in android recovery, which states:
did not match sized '/system/csc/common/system/csc/feature.xml' (no data available)
Device wasn't rooted (whatever it is, at least I haven't done anything).
Yeah, I've used google search, It's a known issue but nothing useful was found.
Would appreciate any ideas how to fix it.
Added: also
1. I connect my device to pc via usb
2. I remove my music from device via PC OS
3. I disconnect the usb cord.
4. I reboot the device
5. Voila, music is still there.
did you fix this problem i have the same issue

[Q] internal storage : corrupted or writting problem ?

Hi,
I have a problem on my smartphone. (For info, it's a motorola atrix, running a Gingerbread stock version (no rooted, no operator specific version)
The problem is : all modifications done after a specific date (new photos, installed apps, send/received messages, preferences changes) disappear after a reboot. Same thing if I delete photos that were on the phone before that date, they seem to be deleted, but after a reboot they come back.
I tried to format, but nothing happened, the memory used stays the same, format is not done though no error message is thrown
The last test will be a factory reset ...
So I was wondering:
- is my memory storage corrupted ? is there any diagnostic app ?
- or is there any "read only" option in Gingerbread that I didn't notice ?
And jost for knowing, what is happening ? Do all the changes are saved in cache, so after reboot the cache is lost and I get back to the last "persisted" state ? Or is there a reset to the state at the specific date done at each reboot ?
Thanx for your help
Ok, I come back here because i need help with my problem, i don't have any idea ...
1) I have tried a factory reset (both mode, via menu, and external reset) : nothing happens, well it tells me it wipes data, reboot, and everything is like before
2) I tried to root the phone, with :
- Gingerbreak
- SuperOneClick
- Pete's Motorola Root Tools
- Unlock Root
Gingerbreak never ends, last time running but keep as it ... so failed
SuperOneClick and PMRT seem to do something, the phone reboot, but rootchecker tell me i'm not rooted
UnlockRoot i faild making it work
3) I check apps, installed avg (just to try, no more idea) but it saw nothing special ... I uninstalled some apps...
The result is same, after rebooting, all the modifications are lost (installed/removed apps, added/deleted files, system parameters, ...)
The only way I image now is flashing the bootloader & install a new rom ...
BUT it's a system, I should be able to see what is happening, which application is messing it up ? Is there an app that reset the phone state after reboot ? I don't understand ...
An help would be appreciated,
thanx a lot
quentasil said:
Hi,
I have a problem on my smartphone. (For info, it's a motorola atrix, running a Gingerbread stock version (no rooted, no operator specific version)
The problem is : all modifications done after a specific date (new photos, installed apps, send/received messages, preferences changes) disappear after a reboot. Same thing if I delete photos that were on the phone before that date, they seem to be deleted, but after a reboot they come back.
I tried to format, but nothing happened, the memory used stays the same, format is not done though no error message is thrown
The last test will be a factory reset ...
So I was wondering:
- is my memory storage corrupted ? is there any diagnostic app ?
- or is there any "read only" option in Gingerbread that I didn't notice ?
And jost for knowing, what is happening ? Do all the changes are saved in cache, so after reboot the cache is lost and I get back to the last "persisted" state ? Or is there a reset to the state at the specific date done at each reboot ?
Thanx for your help
Click to expand...
Click to collapse
I have the same issue, I tried a lot of things, but nothing. anyone?

[Q] HELP! Installed a currupt theme, now can't remove it!

Hi Guys
Been having a problem for the last one week. I'm on CM11 snapshot m7. I installed the One plus one theme, which seemed to run very well until my battery drained completely. Now when I boot my phone, it gives me an error message "unfortunately com.android.systemui has stopped working."
I figured it must be a corrupt theme so I just need to uninstall it. But I can't access settings, as even if I hit "OK" on the error message, the msg keeps reappearing, not allowing me to do anything with my phone.
The last solution I have, of course, is to do a factory reset and flash a working ROM. But then I'll lose all my app data. I tried the following solutions, but in vain. Please let me know if you guys can think of anything else, so as to save my app data! My last Titanium backup was a few months ago!
1. Tried to uninstall the app via adb, but my USB debugging is off, adb doesn't detect my device (and I can't access settings to turn it back on)
2. Tried to boot my phone in safe mode and uninstall the app but even in safe mode it shows the same error message and doesn't allow me to do anything.
3. Tried installing the ROM and Gapps hoping it would replace the filed modified by the theme, and my default theme would be back on.
4. Found an apk for the default (holosense) theme, converted it to .zip and tried flashing it through CWM.
5. Tried flashing the apk via sideload in CWM, but again my USB debugging being off, adb did not detect my phone.
When I had my system ui failure, I was still able to open quick settings drawer and access settings through there even though system ui was constantly crashing...
hawaiisteve said:
When I had my system ui failure, I was still able to open quick settings drawer and access settings through there even though system ui was constantly crashing...
Click to expand...
Click to collapse
Oh! I can't even open the notifications panel
omikhandekar13 said:
Hi Guys
Been having a problem for the last one week. I'm on CM11 snapshot m7. I installed the One plus one theme, which seemed to run very well until my battery drained completely. Now when I boot my phone, it gives me an error message "unfortunately com.android.systemui has stopped working."
I figured it must be a corrupt theme so I just need to uninstall it. But I can't access settings, as even if I hit "OK" on the error message, the msg keeps reappearing, not allowing me to do anything with my phone.
The last solution I have, of course, is to do a factory reset and flash a working ROM. But then I'll lose all my app data. I tried the following solutions, but in vain. Please let me know if you guys can think of anything else, so as to save my app data! My last Titanium backup was a few months ago!
1. Tried to uninstall the app via adb, but my USB debugging is off, adb doesn't detect my device (and I can't access settings to turn it back on)
2. Tried to boot my phone in safe mode and uninstall the app but even in safe mode it shows the same error message and doesn't allow me to do anything.
3. Tried installing the ROM and Gapps hoping it would replace the filed modified by the theme, and my default theme would be back on.
4. Found an apk for the default (holosense) theme, converted it to .zip and tried flashing it through CWM.
5. Tried flashing the apk via sideload in CWM, but again my USB debugging being off, adb did not detect my phone.
Click to expand...
Click to collapse
try formatting cache and dalvik and try rebooting
if it doesnt work do a clean wipe and flash your rom it should do the trick
possibly no other go
for preserving your data
do a nandroid backup first and then do a clean wipe
this way you can extract app+data from nandroid via titanium backup later
hope it helps mate

Crash loop due to stuck text-to-speech download

Hello,
I'm trying to get an Alcatel Idol X (One Touch 6040D, no custom roms or modifications) out of a crash loop, but have been unsuccessful so far. The trouble started when the phone wanted to download and install text-to-speech voice data ("Female for English"). At some point this download/install crashes, causing the phone to reboot. When rebooting the phone hangs on the Alcatel screen with white background. I have to power it off then on again. Then it boots and starts the download/installation again, causing it to crash seconds after.
I've tried the following to no avail:
Clear cache partition from recovery menu.
Force stopping "Download Manager" and clearing cache & data. I have to be very quick to do this, otherwise the phone reboots. Unfortunately clicking the clear buttons has no effect. The used disk space stays the same (80.00KB data, 12.00KB cache). The phone will not reboot at this point, but many apps (Google Play, Settings,...) and processes are crashing repeatedly (android.process.acore, android.process.media and com.google.process.gapps). Eventually, so much has stopped working that the phone reboots.
There's a thread, I found almost a month ago on Androidcentral, about this very same problem. But what worked for the thread starter and other people, i.e. the clearing of cache and data of the "Download Manager" doesn't work for me. Probably because the cache/data clearing is not actually executed. So that might be something to look into further. See point two above. My replies in that thread haven't been responded too, unfortunately.
I'm aware that the cleanest solution is probably a factory reset from the recovery menu. However that would mean data loss of photos and app data, that haven't been backed up. My main goal is to get the phone into a state that a recovery/syncing of that data can be done. After, I don't mind doing a factory reset.
Any help is greatly appreciated!
Kind regards,
eXistenZ_69
P.S.: post copied from here as per recommendation of XDA Assistant
Hello,
this problem still could not be resolved unfortunately Does anybody have any idea why the "clean cache" doesn't appear to have any effect?
Cheers,
eXistenZ_69
Not too familiar with Alcatel as they aren't popular around where I live... I would think that there's an option to wipe cache in recovery however. If that doesn't help, I would try to quickly toggle airplane mode to stop the download process so you can backup what you need.
Hello es0tericcha0s,
thanks for your reply. The problem seems not to be related to Alcatel specifically. See Google Text-to-Speech Won't Stop Downloading for other brands of Android smartphones that had the same issue. Unfortunately, what helped others, i.e. clearing the cache, does absolutely nothing in my case I also already tried clearing the cache partition in the recovery menu. Disabling wifi is another thing I tried to no avail. The download manager still starts installing or trying to download the voice data and crashes. Any other suggestions?
Cheers,
eXistenZ_69
Are you rooted by any chance? What's going on with the Download Manager shouldn't affect your ability to backup your photos at least when you plug it into a computer. If you aren't rooted, you might look into trying to do an adb backup if your phone supports it. http://forum.xda-developers.com/showthread.php?t=2091047&highlight=4+4
No, the phone is not rooted. Never did any modifications of that sort.
I tried connecting to the pc before, but it's not possible to browse the phone content. The crashing services I mentioned in my first post are probably interfering. I will try it again on another pc... Will an adb backup work in that case? Or is it possible to do an adb backup without booting android fully?
Cheers,
eXistenZ_69
So I tried again plugging the phone into a computer. The computer plays the connection sound and shows the phone when clicking on the "Safely disconnect USB device" in the task bar, but unfortunately it's not possible to browse the phone contents using the file explorer :crying: There is a slowly moving progress bar shown in the file explorer location bar and eventually it just stops and nothing happens.
I couldn't try the ADB backup tool in the thread you suggested cause the site is down. It most likely won't work anyway given the fact that the USB connection cannot be established successfully.
*sigh* I'm starting to think I'm out of options. It's just so frustrating to know that the images and contact data are present on the device, but there is no practical way to get to them. I could do a reset to factory settings and hope to recover any images using a tool like Recuva, but that would definitely endanger them.
eXistenZ_69
Only other thing I could think of would be to root and hopefully you could freeze/disable the Download Manager in time before the crash to be able to recover stuff.
Adb still might work even though MTP isn't. Just have to hurry through the settings to enable it. If you don't have adb on your computer search : Minimal ADB and Fastboot here on xda.
Hello es0tericcha0s,
Today I had a major breakthrough. Using ADB I successfully copied over the /sdcard directory contents on the phone. This means all pictures have been recovered!! So happy about that Thank you so much for your help! :highfive: It didn't work right away after installing minimal adb & fastboot though, my phone was not listed when doing "adb devices". I then installed some software from Alcatel called "One Touch Center", which is used for managing phonebook, sms, ringtones, etc... that was not able to connect to the phone either. However I think it installed some driver, because after ADB was able to connect to the phone :good:
I'm currently trying to figure out how to root the phone so I can delete the download manager cache/data. From what I've read by now is that those should be present somewhere under /data/data/ . Those directories require root privileges unfortunately. I tried Kingo Root which lists the phone as supported, but that failed to acquire root.
Would be great to succeed in fixing the crash loop too, so I can sync contacts and other data too.
Thanks again!
Cheers,
eXistenZ_69

OnePlus One, CM-13.1.2 stock room. Phone hangs every time after reboot

Hello,
For a long time I'm using my good old friend OnePlus One, it works great to me on stock AOSP CM-13.1.2 until yesterday. I fail in the name of good and terrible thing has happened xD.
I wanted to stop draining my battery by apps which all the time were using GPS service to track my location so I started to make some change in settings -> privacy guard settings -> Location permission.
I tried to change the permission to those apps from "Allowed" to "Always ask". I do mistake and change permission to Google Play Services. After that I restart my phone. Now every time my OnePlus One is stuck/freeze after booting screen and I see only black screen and popup window in center with requests to give Location permission to Google Play Service.
Touch screen not working when is press to Allow, It cant go ahead to lock screen.
My phone is not rooted, locked bootloader, no TWRP, only stock Cayanogen recovery with options:
Reboot system now
Apply update -> Apply from ADB->ADB Sideload
Factory reset -> Full factory reset or Wipe cache partition ( I dont want lose my data on phone)
Advanced-> Reboot recovery
Advanced-> Reboot to bootloader
I read on internet that I need to modify or delete /data/system/appops.xml file
What can I do now, how can I do this modification without losing data.
Can I do it from shell console ADB? and which option I have to choose in recovery to connect my laptop OS: win XP with OnePlus One?
I read that i can do it by TWRP recovery but i dont have it on OPO. Can I safely flash it to phone without losing data? Bootloader is locked.
Is there any tutorial how to do it safely? How to Delete or download, modiffy and replace file /data/system/appops.xml using ADB commands, backup my personal data to PC, connect with phone by ADB with computer.
Any help needed. Sorry for my bad english.
Best Regard
ArkadiSEA

Categories

Resources