Reboot every time I connect USB and use mass storage - Galaxy S II Q&A, Help & Troubleshooting

Every single time I connect my S2 to USB and want to mount the storages my phone will do a reset. 3 seconds after I I hit the button the bootlogo immidiatly appears and after that I see lockscreen like a normal boot but I also don't have to enter the sim password and the phone doesn't seem as busy as it is when I do a real reboot.
I'm using PA 2.52 Rom with latest Siyah kernel and this problem never occured before. I didn't flash anything or did any significant changes except installing some apps that don't even require root.
I also get those reboots sometimes (but rarely) when I try to install or uninstall an app. Any explenation for this? Could my internal storage be corrupted?
Not that this really bothers me, as I can also transfer data with wifi and also right after the reboot the USB works, but it's still bugging me what could cause this. Also tried reflash rom/kernel, wiping cache, dalvik, fixing permissions but it didn't help.
Also the system uptime does not reset so I guess this isn't even a real reboot?

have you tried to go into recovery mode to fix permissions?
dont know if it will help, but it might be worth a shot.
and have you toggled the setting to force usb mass storage in the sTweaks app?
if all others fail i have had good experience with qtAdb when i have struggled, it comes with a useable filemanager so you dont have to adb push and adb pull.
Good luck Champ!

Related

[Q] Factory reset out of no where

Hi there guys, I haven't rooted my device and its still on the original OS since the day I got it in 2011. The strange thing was that I was using google maps one day and the player randomly turned off and kept replaying the Samsung animation over and over again until I took out the battery. It did a factory reset on its own.
I've experienced many times where the device just restarted on its own. But now all my apps are giving me an error where they can't be opened and my google accounts will not sync and update.
I did a factory restore and used a stock ROM. Internal SD won't format even if factory reset, can't install or uninstall anything.
What should I do to fix this?
Edit: one other thing. When I connect to PC via usb and try to add or delete anything from the internal storage, after I disconnect from USB everything I added wont be there and everything I delete will reappear.

[Q] Low memory : can't uninstall app and can't connect through adb

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 !

[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

Problem with phone storage access after recovery reinstall

My phone is a (cheap) Wiko Ozzy. I know it's not the greatest machine ever but it does the job for my mobile needs (being able to quick search the internet everywhere and communications), it was only 80€ new and it comes with no bloatware but google's. Also to root it a simple framaroot run does the job.
I have the phone customized alot, many xposed tweaks, automate, nova laucher, gravity box. The rom is the stock 4.2.2
One day I was messing up with android tweaker 2 and changed the dalvik heap size. When I reboot it the did not boot... It had that vibration key feedback problem. lol....
I went into recovery mode and made a backup... Yes, I did not had one and made it after the boot problem.
For my luck Wiko has a website with the roms they put on phones for download. With a simple program you can reinstall the rom very easily. I did it and my phone booted. I then tried to restore the backup I had previously done and for my surprise it boot with all my customizations but root access and busybox that I had to reinstall.
So what is the problem you ask?
Well I lost access to the phone storage and now It says Im out of space when I try to install apps
I used to have SDcard, Internal Storage and Phone Storage.
And I used to have the option to default install on sdcard and phone storage. The phone storage option disappeared but on the bottom of the page there is a mount option for it that just wont work.
I also tried to access it on windows and even after formatting the phone storage drive (windows was prompting for it and since the phone worked all fine without access to it I did it) the problem persisted...
Can you help me please?
I wanted to make the apps install on phone storage without having to make a real factory reset so I dont end without all my tweaks...
No one have any ideas?
I dont know what more can I add...
The phone is working fine... the only thing missing is one of the three partitions I had before the reinstall...
The weirdest to me is that in the storage settings I have the option to mount the "Phone Storage" but it fails.
I click it and the bars for type of files appears and disappears a few seconds later with the notification: you can safely remove phone storage....
Now I cant even install Adobe Air to try .swf viewer because it says it is out of space... It's like it ignores the sdcard default install option (the only one I have now and that is selected).

Categories

Resources