Options to recover data from bootlooping S2? - Galaxy S II Q&A, Help & Troubleshooting

Hello,
Unfortunately, my stock S2 is stuck in a bootloop and I would like to retrieve as much of the data (photos, recorded audio and contacts) as possible - no, it wasn't backed up well enough...I have learnt this the hard way
Reading through the forums I have a couple of options but not sure if they'll work as expected...
1. I can access the factory reset: Will it only wipe the system data??
2. Can I flash the siyah kernel (as described elsewhere) via ODIN without any phone auto-formatting/reset? If so, will all the data still be there upon restart assuming this corrects the bootloop? Is that a correct assumption?
My thinking is I can try option 2 first, and then fall back to option 1.
Any confirmation and support from your experience will be greatly appreciated! I really hope I can rescue my data!!!
Thanks!!

Hi @Snato,
If you use the factory reset option, this will wipe all user data. You don't want to do that.
Flashing a custom kernel like siyah (or philz) will not touch your data. If you can flash one of these and replace the stock recovery with a custom one, then you should be able to mount the internal memory and retrieve your data from there. The only doubt I have is why is it bootlooping? You may run into unexpected problems if there is a hardware issue, but try that first.....

You can follow my tutorial to do so : https://forum.xda-developers.com/galaxy-s2/help/guide-tutorial-samsung-galaxy-s2-i9100-t3538601
At step 3), once in TWRP, you can use TWRP recovery to connect to PC before reformating.
Go to Mount -> Mount the partitions you want and Mount USb storage.
Keep in touch. Don't go beyond step 3 without having stored your data !

Related

[Q] Cant seem to factory/data reset -remove encryption

I am a noob looking to try out the touchwiz rom,
My 10.1 is encrypted and trying to remove the encryption using the menu option in settings- factory data reset - it just reboots like nothing happened and asks for the password (I wanted to turn off/get rid of the encryption). I get a box open and android icon for a brief moment at reboot.
Using ClockworkMod Recovery v4.0.0.4 the wipe/factory reset option selected and it errors on the mounting /data. Can't mount or format /data too.
This 10.1 retail has a locked bootloader and is rooted.
Anybody? So far not bricked, ,
got it
I used odin and followed instructions here- http://forum.xda-developers.com/showthread.php?t=1119492
I lost clockworkmod and it did not recognize my password on reboot, but it did let me wipe everything.
You might have to wipe user data to get rid of the encryption. But you will loose all ur data
<bump>
I'm having the same trouble - and no amount of flashing various stock or CWM recovery gets me to a point where I can actually format / remove the encrypted partition.
The device had been rooted - and then encrypted - and it wasn't until I attempted to reboot into recovery with CWM (hoping to perform a factory reset) that I got into a boot loop.
Days, and countless flashing later - I'm no closer. The one thing I find interesting: when I flash particular (CWM) recovery / images, and reboot - I actually get the 'pre-boot authentication' page, which still accepts my encryption passphrase. It's after this point - that I'm just staring at a black screen.
Perhaps nvflash might be the right tool for the job - so off to learn about THAT. Every day, a new adventure - and another twist down the rabbit hole.
Thanks in advance to anyone with some insight / links / tips to share.
encryption owns me
SnoWake4Me said:
<bump>
I'm having the same trouble - and no amount of flashing various stock or CWM recovery gets me to a point where I can actually format / remove the encrypted partition.
The device had been rooted - and then encrypted - and it wasn't until I attempted to reboot into recovery with CWM (hoping to perform a factory reset) that I got into a boot loop.
Days, and countless flashing later - I'm no closer. The one thing I find interesting: when I flash particular (CWM) recovery / images, and reboot - I actually get the 'pre-boot authentication' page, which still accepts my encryption passphrase. It's after this point - that I'm just staring at a black screen.
Perhaps nvflash might be the right tool for the job - so off to learn about THAT. Every day, a new adventure - and another twist down the rabbit hole.
Thanks in advance to anyone with some insight / links / tips to share.
Click to expand...
Click to collapse
I'm facing what I think is a similar problem on an AT&T Galaxy s3 i747 with Paranoid Android. I had to encrypt for work email, and ever since then it regularly reboots whenever I try to do something (~25 second effort)... when I do the factory reset, or try reflashing a ROM, it seems to reboot before the action completes... Can you advise how I might solve this?
I've already tried CWM to redo everything... Factory reset does not complete as it always asks for the encryption password once started again... I just want to get back to unencrypted please. Any ideas? Maybe ODIN CWM then try a new install? formatting my SD card? Thanks in advance...
Hi, I had the same problem as above.
I was unable to factory reset with CWM recovery as it couldn't flash the data partition or sd card and couldn't mount them.
However, using the stock recovery, the factory reset and formatting worked fine returning back to an unencrypted device.

Galaxy S2 boot loop to turn it off and back on

I have a samsung galaxy S2 no reason to turn it off and back on I go into boot loop reaches the S and returns to the animation of the operator (Personal Argentina) I made the wipe cache partition remains the same. I need to urgently recover contacts and notes, is this possible? as? thank you very much
Carlos
Have you tried factory reset? There is a chance you could lose data though.
If you dont want to lose data then go into download mode and flash the official ROM via odin this should recover your ROM and you wont lose anything
The /data partition could be corrupted already. If you really need the data try do a Nandroid backup from CWM, wipe, and dig up the data later in PC.
Still, I cannot guarantee that it will work though.
Sent from my GT-I9100 using Tapatalk 2
I had this too, I made factory reset and it problem was solved, maybe it can help for you too.
Obagleyfreer said:
Have you tried factory reset? There is a chance you could lose data though.
If you dont want to lose data then go into download mode and flash the official ROM via odin this should recover your ROM and you wont lose anything
Click to expand...
Click to collapse
estimate, this phone does not turn, so I can not see the kernel version or install the nandroid. There are some generic rom to install? root was not, thank you very much
Well, I tell them I've got: I installed the ROM Unbranded from Argentina without achieving any progress, then install the kernel-CF-Root-v4.1-CWM4 SGS2_UH_MUL_KG7 without progress but I also discovered that the download menu (V +, home , power) was enabled nandroid!! thus perform a full system backup, wipe data / factory and Encendio!! Now I have to figure out how to unzip the backup on the PC nandroid to import contacts and notes mainly.
isettateam said:
estimate, this phone does not turn, so I can not see the kernel version or install the nandroid. There are some generic rom to install? root was not, thank you very much
Click to expand...
Click to collapse
You can download the CWM zip to temporarily load CWM with the stock recovery, then do nandroid backup from there
BEWARE THOUGH, if you are on 4.0.4 and using the stock kernel, it will cause brick. If you're not in 4.0.4, or have changed the kernel (if you don't know what a kernel is, then most probably you haven't changed kernel)
-So you just can download this http://download2.clockworkmod.com/recoveries/recovery-clockwork-touch-5.8.1.5-galaxys2.zip
-Put that on your sdcard
-Flash that zip from Stock Recovery, and it will boot CWM
-Do a nandroid backup
-Mount the phone as mass storage to PC, move the nandroid to PC
-Reboot to stock recovery
-Wipe data from there
But I'm not responsible if this doesn't work for you, or your phone failed turn on after following this steps
KcLKcL said:
You can download the CWM zip to temporarily load CWM with the stock recovery, then do nandroid backup from there
BEWARE THOUGH, if you are on 4.0.4 and using the stock kernel, it will cause brick. If you're not in 4.0.4, or have changed the kernel (if you don't know what a kernel is, then most probably you haven't changed kernel)
-So you just can download this
-Put that on your sdcard
-Flash that zip from Stock Recovery, and it will boot CWM
-Do a nandroid backup
-Mount the phone as mass storage to PC, move the nandroid to PC
-Reboot to stock recovery
-Wipe data from there
But I'm not responsible if this doesn't work for you, or your phone failed turn on after following this steps
Click to expand...
Click to collapse
Thank you very much for your information, now everything is working, just that I find how to read the files *.img nandroid generated because attempts to restore it with the same menu nandroid from the recovery of the S2 the phone back to stay in boot loop.
Now I have discovered a wonderful application called nandroid BROWSER with which I can "walk" img files but I do not encuentr nandroid genre folders / data / data / .... where supposedly contacts and notes are stored on different routes each course. but if I found a path .//app/contacts.apk other ./app/contacts.odex but I can not open or install. will be these? not meeting the equivalent of /data/data/com.sec.android.app.memo/files. Thanks
isettateam said:
Now I have discovered a wonderful application called nandroid BROWSER with which I can "walk" img files but I do not encuentr nandroid genre folders / data / data / .... where supposedly contacts and notes are stored on different routes each course. but if I found a path .//app/contacts.apk other ./app/contacts.odex but I can not open or install. will be these? not meeting the equivalent of /data/data/com.sec.android.app.memo/files. Thanks
Click to expand...
Click to collapse
There is a tool for that. Just follow the instruction. Easy.
http://forum.xda-developers.com/showthread.php?t=1370349
You cannot restore the /data because the partition has broken
Sent from my GT-I9100 using Tapatalk 2
KcLKcL said:
There is a tool for that. Just follow the instruction. Easy.
http://forum.xda-developers.com/showthread.php?t=1370349
You cannot restore the /data because the partition has broken
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
KcLKcL, thanks for your information, unfortunately I could not retrieve the information most important to that team who were the contacts and notes. I returned my computer because I use a lot for work, but not before teaching synchronize with KIES to have backup of all your information. A hug and thank you very much for the help.
can you help?
Obagleyfreer said:
Have you tried factory reset? There is a chance you could lose data though.
If you dont want to lose data then go into download mode and flash the official ROM via odin this should recover your ROM and you wont lose anything
Click to expand...
Click to collapse
Hi Obagleyfreer - sorry for being a total noob, but bewildered by the amount of data out their and having followed a load of threads related to my issue and not getting far, I turn to your seniority for support.
My galaxy s2 is stuck in a recurring error-message loop on startup leaving the phone (im pretty sure) innacessible. I can open download and reset modes though. about 20% of my dissertation data exists as photos on the phone hard-drive, and my thoughts are I might be able to recover it via rooting the phone (it currently is running gingerbread). Unfortunately the computer doesnt recognize the device when it is plugged in. You mention flashing odin - can this be done via 'update from SD' in the reset menu? I was under the impression I had to download CWM from the appstore before I could root and flash a rom, which I cant do.
I could provide many details (such as it being in airplane mode preventing me from installing apps on the phone from my pc) but i wont bore you with details if you cant help. but if you can I'd really appreciate it!

[Q] Backup internal memory while device doesn't boot

Hi all
Dad's I9300 (international) started making problems booting up a week ago (sometimes it did and sometimes it didn't for a few hours). Begged him to bring it in for me to backup. Of course he didn't and today the device refused to boot permanently. It simply gets stuck on the logo screen.
When boot into recovery I got lots of E: failed to mount /cache. After wiping the cache and rebooting into recovery I now get only E: failed to mount /system (see attached image).
Download mode also seems to be working.
Device is 4.1.2 with stock ROM and stock recovery.
The main concern here is to recover all personal data. After that, I don't care if the device gets bricked. I searched the web and came up with two possible solutions:
1) Reflashing the same stock ROM I flashed a while ago (hoping that what I have stored on my PC is what is actually flashed on the device.....), and not wiping the data. As I understand, flashing a stock ROM without wiping data shouldn't cause the device not to boot.
2) Flash PhilZ Touch 6 Recovery using Odin and use Aroma file browsing to copy internal memory files (pics, mp3, WhatsApp data, etc.) to an external SD and then start messing around with the phone. (as described here)
What's my best option here? It sounds to me that the second one is better, but I'm not familiar with flashing a recovery and possible consequences.
Can someone kindly advise? I'll greatly appreciate any word of wisdom...
Solved.

Soft brick - stuck at boot logo; need suggestions

Hey all,
I've got a N7105 (Galaxy Note II LTE) running CM12.1 and TWRP which I was planning to change shortly as it's old and the USB port has issues (charges but doesn't pass data; luckily it has a microsd slot). As it happens, the other day I left it discharge fully and turning it back on left it stuck at Samsung logo (not boot animation, the splash screen before it) forever.
I am: not a noob, I've rooted and flashed plenty of devices before.
I tried: removing battery for a while, charging fully, removing microsd and sim, clearing Cache and Dalvik. Nothing works.
I can: get into ODIN mode (but it's useless as USB data is not working); get into TWRP recovery; explore the Data partition in TWRP
I cannot: mount the System partition in TWRP, not even manually. It just does not let me select it, and gives an error whenever it needs to access it (e.g. if I try to backup it is says Error: unable to mount System)
I want: if possible to solve the issue without formatting Data. I had a TB backup but kinda old, so I got a Nandroid of Data and Boot out from TWRP and I suppose I could then recover stuff extracting from Nandroid through TB, but I've never done it and would rather be able to get a fresh TB backup and move on from there.
A few questions I have: any idea on why I am not able to mount System in TWRP? Could it help to reflash Boot or System, and if so how do I go to do that considering what I have is the whole CM rom package? (I remember being able to fastboot flash single partitions on Nexus devices but that's because the stock rom comes packaged in separate images).
Any input would be greatly appreciated!
Lazer Bear said:
Hey all,
I've got a N7105 (Galaxy Note II LTE) running CM12.1 and TWRP which I was planning to change shortly as it's old and the USB port has issues (charges but doesn't pass data; luckily it has a microsd slot). As it happens, the other day I left it discharge fully and turning it back on left it stuck at Samsung logo (not boot animation, the splash screen before it) forever.
I am: not a noob, I've rooted and flashed plenty of devices before.
I tried: removing battery for a while, charging fully, removing microsd and sim, clearing Cache and Dalvik. Nothing works.
I can: get into ODIN mode (but it's useless as USB data is not working); get into TWRP recovery; explore the Data partition in TWRP
I cannot: mount the System partition in TWRP, not even manually. It just does not let me select it, and gives an error whenever it needs to access it (e.g. if I try to backup it is says Error: unable to mount System)
I want: if possible to solve the issue without formatting Data. I had a TB backup but kinda old, so I got a Nandroid of Data and Boot out from TWRP and I suppose I could then recover stuff extracting from Nandroid through TB, but I've never done it and would rather be able to get a fresh TB backup and move on from there.
A few questions I have: any idea on why I am not able to mount System in TWRP? Could it help to reflash Boot or System, and if so how do I go to do that considering what I have is the whole CM rom package? (I remember being able to fastboot flash single partitions on Nexus devices but that's because the stock rom comes packaged in separate images).
Any input would be greatly appreciated!
Click to expand...
Click to collapse
The note 2 has this issue that makes it unable to be recognized by PC, so this isn't your phone problem, the only way to solve it is replacing the usb socket in your phone, anyway i can recommend dirty flashing your rom first, just flash the rom in recovery and wipe cache and Dalvik cache only then reboot.
If that didn't work, I'm afraid you might have to...... clear data ?
MigoMujahid said:
The note 2 has this issue that makes it unable to be recognized by PC, so this isn't your phone problem, the only way to solve it is replacing the usb socket in your phone, anyway i can recommend dirty flashing your rom first, just flash the rom in recovery and wipe cache and Dalvik cache only then reboot.
If that didn't work, I'm afraid you might have to...... clear data
Click to expand...
Click to collapse
Thanks for the input, I was thinking something along those lines but I wasn't totally sure, I always avoided dirty flashing as I heard of people having issues. Happily, it worked! Weirdest think I saw in a while, it gave me a bunch of errors with System partition (unable to mount, unmount, find), then it gave a "proceeding to patch system partition unconditionally", then it completed. The whole thing took less than 20secs so I do not think it even actually flashed the ROM. Now I am just getting some Play Services error, likely need to reinstall gapps, but phone boots just fine!

[Q] soft brick with cyanogenmod recovery on i9100

Hi everyone,
apparently both my Galaxy S2 phones runnung CM were soft bricked when they ran into a bug while updating an app last thursday (see: jira<dot>lineageos<dot>org/browse/BUGBASH-1052)
I was able to fix one of them via securing my data and doing a factory reset + cache wipe via CMW.
Unfortately there is no CWM on the second one so I'm stuck with the much more basic Cyanogenmod Recovery which i'm not very familiar with.
There are quite a few pictures of my recent vacation on the device, which are unfortunately not yet backuped. I have tried retrieving my SDCard0 content via ADB, however I am unable to connect to the Phone via USB.
Does anyone know how the 'factory reset/cache wipe' option in CMRecovery behaves? CMW does not touch my SDCard0, however I would like to be sure the same holds for CMRecovery.
The other option I have in mind is installing CMW via an external sdcard (or possibly ODIN), but I'm not sure wether this leaves data on SDCard0 untouched. Can anyone enlighten me on this?
Any help is appreciated! Thanks a lot in advance.

Categories

Resources