Recovery issue - Galaxy S II Q&A, Help & Troubleshooting

Hey guys, did anyone encounter some problems when trying to wipe data/do a factory reset using the Cyanogen Recovery? After I updated from CM 12 to CM 12.1 I wanted to do a factory reset. Selecting "Wipe data" got me an error. Upon accessing "logs", I could find that it couldn't mount or find the volume /misc. Oh, and BTW, I can flash CM Updates just fine. I flashed some CM 12.1 compatible Gapps, but they are not working (Google Play Services/Store is not working). That's why I wanted to do a factory reset and then flash Gapps. What can I do now, in order to make it work again?

Anyone?

bv31top said:
Hey guys, did anyone encounter some problems when trying to wipe data/do a factory reset using the Cyanogen Recovery? After I updated from CM 12 to CM 12.1 I wanted to do a factory reset. Selecting "Wipe data" got me an error. Upon accessing "logs", I could find that it couldn't mount or find the volume /misc. Oh, and BTW, I can flash CM Updates just fine. I flashed some CM 12.1 compatible Gapps, but they are not working (Google Play Services/Store is not working). That's why I wanted to do a factory reset and then flash Gapps. What can I do now, in order to make it work again?
Click to expand...
Click to collapse
1. First from CM recovery, flash the recovery from HERE
2. Then reboot to recovery
3. Do the factory reset/wipes from the new recovery
4. Flash the new CM12.1 and gapps
The problem is with the new CM recovery, which doesn't work properly with our device. We can only hope the CM devs will sort it out in time
Let me know how you go

noppy22 said:
1. First from CM recovery, flash the recovery from HERE
2. Then reboot to recovery
3. Do the factory reset/wipes from the new recovery
4. Flash the new CM12.1 and gapps
The problem is with the new CM recovery, which doesn't work properly with our device. We can only hope the CM devs will sort it out in time
Let me know how you go
Click to expand...
Click to collapse
Is it possible to flash a new recovery via recovery? Never heard of this before.

bv31top said:
Is it possible to flash a new recovery via recovery? Never heard of this before.
Click to expand...
Click to collapse
You will actually be flashing an incompatible kernel, but because the kernel and recovery reside in the same partition in the S2, you are actually using just the recovery. If you try to reboot into the system, you will end up with a bootloop. So just flash the "kernel", reboot straight back to the new recovery, then flash what you need from this new recovery, then reboot to the new rom

noppy22 said:
You will actually be flashing an incompatible kernel, but because the kernel and recovery reside in the same partition in the S2, you are actually using just the recovery. If you try to reboot into the system, you will end up with a bootloop. So just flash the "kernel", reboot straight back to the new recovery, then flash what you need from this new recovery, then reboot to the new rom
Click to expand...
Click to collapse
Ok, I got it now. Partially. ) So, you're telling me that this "PhilZ recovery" is like a "temporary" one? I use it just to do the factory reset, flash the CM 12.1 and then flash Gapps?

bv31top said:
Ok, I got it now. Partially. ) So, you're telling me that this "PhilZ recovery" is like a "temporary" one? I use it just to do the factory reset, flash the CM 12.1 and then flash Gapps?
Click to expand...
Click to collapse
Yes thats right. Use it as a tool to flash what you need. Once you flash CM12.1 you will overwrite philz with the CM recovery/kernel that is included in the .zip file you flash. Hopefully this won't be needed in the future

noppy22 said:
Yes thats right. Use it as a tool to flash what you need. Once you flash CM12.1 you will overwrite philz with the CM recovery/kernel that is included in the .zip file you flash. Hopefully this won't be needed in the future
Click to expand...
Click to collapse
Ok, I'll try it and let you know how it went.

So, I followed your steps and everything went smooth as butter, but I can't flash the Gapps zip. I tried the recommended zip from CyanogenMod website and it outed this:
set_perm: some changes failed
E: Failed to install /sideload/package.zip" error in recovery.

bv31top said:
So, I followed your steps and everything went smooth as butter, but I can't flash the Gapps zip. I tried the recommended zip from CyanogenMod website and it outed this:
set_perm: some changes failed
E: Failed to install /sideload/package.zip" error in recovery.
Click to expand...
Click to collapse
try a diff gapps pkg like 'Pico gapps' and see

Sun90 said:
try a diff gapps pkg like 'Pico gapps' and see
Click to expand...
Click to collapse
I tried like, 7 Gapps packages (Pico and nano ones) and still, won't work. On some I get the "footer" error, for example. What can I do? Should I use the PhilZ recovery and do a "Full factory reset for flashing a new ROM?

bv31top said:
I tried like, 7 Gapps packages (Pico and nano ones) and still, won't work. On some I get the "footer" error, for example. What can I do? Should I use the PhilZ recovery and do a "Full factory reset for flashing a new ROM?
Click to expand...
Click to collapse
Yes, U can try that and see

noppy22 said:
1. First from CM recovery, flash the recovery from HERE
2. Then reboot to recovery
3. Do the factory reset/wipes from the new recovery
4. Flash the new CM12.1 and gapps
The problem is with the new CM recovery, which doesn't work properly with our device. We can only hope the CM devs will sort it out in time
Let me know how you go
Click to expand...
Click to collapse
Hello
GS2 already installed with cyanogenmod 10 + clockworkmod recovery 6.0.2.9, I wanted to install last cyanogenmod :
- cm-12.1-20150817-NIGHTLY-i9100.zip
- gapps-5.1-arm-2015-07-17-13-29.zip
Starting recovery, wipe data / factory reset , install cm zip, install gapps, reboot. --> getting endless cyanogenmod animated logo, the one which comes at boot.
After poweroff+ boot into recovery again, I was surprised to get the cyanogenmod recovery instead of clockworkmod.
I started a new wipe + cm install, but without gapps + reboot : success !!
After that, trying to install gapps from cyanogedmod recovery failed each time with following message :
finding update package
opening update package
verifying update package
installing update...
installing gapps
set_perm : some changes failed
E: failed to install /sideload/package.zip
E: please take note of all the above lines
installation aborded
was clockworkmod recovery 6.0.2.9 to old to proper install the last cyanogen ?

@sksbir
Yes you need to use a newer recovery. Try flashing one of the newer kernels for this device, reboot back to recovery, then flash rom and gapps
Sent from my GT-I9100 using XDA Free mobile app

noppy22 said:
@sksbir
Yes you need to use a newer recovery. Try flashing one of the newer kernels for this device, reboot back to recovery, then flash rom and gapps
Sent from my GT-I9100 using XDA Free mobile app
Click to expand...
Click to collapse
Thank's for your quick answer.
So let me resume the situation:
- my clockworkmod was too old, and CM 12 recovery have some problems.
- once CM12.1 is installed, recovery is overwritten with CM recovery.
- so each time you need to do a wipe/factory reset once CM12 is installed, you first have to
> boot to CM recovery
> install a "good" recovery like philz's one to overwrite CM recovery
> reboot again to recovery ( the philz's one )
> install CM12 from recovery
> install Gapps from recovery
> reboot
[Edit] done. Installation is now complete, ( with cm-12.1-20150819-NIGHTLY-i9100.zip and gapps-5.1-arm-2015-07-17-13-29.zip, using "install a new rom" within wipe/factory reset option of Philz recovery ) but I'm not sure it is successfull :
- stuck in startup wizard after signing up with google account. I had to ignore the step to complete the wizard
- no Google Playstore app . Other google applications are here.
I tryed to install the playstore from an apk extracted from my LG G2 ( with same gapps installed ), but once installed, crash immediately at launch.
- no bluetooth : crash the control panel. bug report sent to CM.
Maybe it's because I did not install properly the whole, maybe it's because the firm is still new and it's a nighty, although the same version run well on my LG G2.
If someone have an clue ? I will soon revert to an older CM if there is no issues. Previous installed CM (V10 snapshot, android 4.4 ) ran well.
[edit] : I will first replay the whole installation , but with [GAPPS][2015-04-04] Google Apps Minimal Edition for Android 5.0.x & 5.1.x instead of full Gapps.

Related

[Q] ROM Flashing Problem

Hello,
I'm a relative NEWB with a 16GB Nook Tablet. I have been installing CM ROMs successfully for several months now. I always follow the same process. It suddenly started failing to install the ROM which I download with ROM Manager. Here's the process and the failure:
wipe data/factory reset
wipe cache partition
wipe Dalvik Cache
install zip from sdcard
choose zip from sdcard
[For example, choose:] - cm-10.2-20130824-NIGHTLY-acclaim.zip
-- Installing: /sdcard/cm-10.2-20130824-NIGHTLY-acclaim.zip
Finding update package ...
Verifying update package ...
Installing update ...
E:Error in /sdcard/cm-10.2-20130824-NIGHTLY-acclaim.zip
(Status 0)
Installation aborted.
It does not matter which ROM I try to flash, the result is always the same. However, I can install a gapps zip package. I don't have a clue what is going on. Can anyone offer some advice?
Thanks
What version of Recovery and ROM Manager are you using?
You might consider using SD-based Recovery to flash the ROM updates (e.g., http://forum.xda-developers.com/showpost.php?p=43326042&postcount=123).
Also, you do not need to do "wipe /data & factory reset" when updating between build versions based on the same Android OS release version.
ROM Flashing Problem
digixmax said:
What version of Recovery and ROM Manager are you using?
You might consider using SD-based Recovery to flash the ROM updates (e.g., http://forum.xda-developers.com/showpost.php?p=43326042&postcount=123).
Also, you do not need to do "wipe /data & factory reset" when updating between build versions based on the same Android OS release version.
Click to expand...
Click to collapse
Thanks for the reply. CWM Recovery is 5.5.0.4. ROM Manager is 5.5.3.0. I will try your suggestion of an SD-based Recovery.
BTW, I tried installing CM 10.1.3-RC2. It failed with CWM with the same error. Then I tried TWRP 2.6.1.0 and the ROM appears to have flashed OK. However, after the flash, TWRP reports: E:Unable to mount '/bootdata'. Not sure what that is all about. If I do "df" the partition seems to look right.
cafalstrom said:
Thanks for the reply. CWM Recovery is 5.5.0.4. ROM Manager is 5.5.3.0. I will try your suggestion of an SD-based Recovery.
...
Click to expand...
Click to collapse
To flash CM10, you need a CWM version newer than what you have -- i.e.,versions 6.x.y.z. which can be found at http://forum.xda-developers.com/showthread.php?t=1640958 or http://goo.im/devs/succulent/acclaim/recovery (note that there are different CWM images for emmc vs. sd recovery).
ROM Flashing Problem
digixmax said:
To flash CM10, you need a CWM version newer than what you have -- i.e.,versions 6.x.y.z. which can be found at http://forum.xda-developers.com/showthread.php?t=1640958 or http://goo.im/devs/succulent/acclaim/recovery (note that there are different CWM images for emmc vs. sd recovery).
Click to expand...
Click to collapse
You are the man! Upgraded CM Recovery to 6.0.2.9 and voila! I am able to flash the latest nightly build with no problems at all. Even the "unable to mount /bootdata" went away.:victory:

how can i flash cm11 for my s2

i have samsung s2 GT-I9100, version of 4.2.2, I9100XXMS2, im using Omega v13 rom, i want to change it to cm11 kitkat version, i dont know the steps, i cant just flash it using cwm 6.4, always says aborted, cant open the zip file of cm11 pls help TIA
yrragarry said:
i have samsung s2 GT-I9100, version of 4.2.2, I9100XXMS2, im using Omega v13 rom, i want to change it to cm11 kitkat version, i dont know the steps, i cant just flash it using cwm 6.4, always says aborted, cant open the zip file of cm11 pls help TIA
Click to expand...
Click to collapse
First make a rom backup of your 4.2.2 incase if something goes wrong and you want to restore back.
Then download the latest recovery version, twrp or cyanogenmod
Download cm11
Flash the newest recovery,
Reboot into recovery
Format data/factory reset
Wipe /system
Wipe /dalvik-cache
Flash cm11
Flash kitkat gapps
Reboot.
Enjoy cm11.
The reason why you need latest recovery is because cm11(kitkat) needs selinux enabled recoveries, else it will say something like aborted, set_metadata_recursive failed.
Goodluck with flashingcm11!
wulsic said:
First make a rom backup of your 4.2.2 incase if something goes wrong and you want to restore back.
Then download the latest recovery version, twrp or cyanogenmod
Download cm11
Flash the newest recovery,
Reboot into recovery
Format data/factory reset
Wipe /system
Wipe /dalvik-cache
Flash cm11
Flash kitkat gapps
Reboot.
Enjoy cm11.
The reason why you need latest recovery is because cm11(kitkat) needs selinux enabled recoveries, else it will say something like aborted, set_metadata_recursive failed.
Goodluck with flashingcm11!
Click to expand...
Click to collapse
tnx for the reply sir, but i already tried this way for many times, the file cm11 nightly always aborted,not continuing the updating, is there any ways or steps?
yrragarry said:
tnx for the reply sir, but i already tried this way for many times, the file cm11 nightly always aborted,not continuing the updating, is there any ways or steps?
Click to expand...
Click to collapse
Is it corrupt maybe?
Did you downloaded cyanogenmod for the right device?(Probably you have but just in case)
Are you really using the latest recovery?
Better way, what error does it shows, why does it aborts.
yrragarry said:
tnx for the reply sir, but i already tried this way for many times, the file cm11 nightly always aborted,not continuing the updating, is there any ways or steps?
Click to expand...
Click to collapse
YOu need to first install Kitkat compatible cwm recovery to install kitkat rom in i9100 .. So first download i9100kitkat compatable recovery (google the same to find it) flash it via odin or normal and reboot recovery now .. Now you can full wipe, wipe cache data partitions format system and flash the laest cm11 + gapps with out any problems

GT-i9505 - CyanogenMod 13.0 - cant get google apps to work

Hi;
So i recently installed CyanogenMod 13.0 on to my Samsung S4 GT-I9505 using the first download link on:
https://download.cyanogenmod.org/?device=jfltexx --> cm-13.0-20160102-NIGHTLY-jfltexx.zip
That all installed fine, but i wanted to get the Google apps installed aswell, which is where i am having some issues.
I have been trying to install the following package:
http://opengapps.org/?api=6.0&variant=nano
but have also tried to install quite a few others as well, and all have exactly the same issue. Basically after the apps have been installed and i boot the device up, i get various error messages like:
unfortunately, Setup Wizard has stopped
unfortunately, google play services has stopped
Any help on fixing this would be much appreciated, as nothing seems to download from the play store thats included in Cyanogen, they just say "your download will begin shortly" but never does.
Thanks in advance
I am a total noob, but I had exactly this problem. The issue appears to be that you have to flash gapps *before* rebooting after flashing CM. In my case since I had already flashed CM before I flashed gapps I had to put the gapps file on the phone (I did this by push with adb, you might find an easier way), re-flash CM, wipe cache/dalvik, flash gapps, wipe cache/dalvik, reboot. It worked.
The easiest guide I found was on androiding.how, called "how to install cm13 (cyanogenmod13)." (The forum won't let me post a link, just google it, it should come up).
Hope that helps. I'm on a galaxy s5 and used twrp recovery if that matters.
audacityandrouge said:
I am a total noob, but I had exactly this problem. The issue appears to be that you have to flash gapps *before* rebooting after flashing CM. In my case since I had already flashed CM before I flashed gapps I had to put the gapps file on the phone (I did this by push with adb, you might find an easier way), re-flash CM, wipe cache/dalvik, flash gapps, wipe cache/dalvik, reboot. It worked.
The easiest guide I found was on androiding.how, called "how to install cm13 (cyanogenmod13)." (The forum won't let me post a link, just google it, it should come up).
Hope that helps. I'm on a galaxy s5 and used twrp recovery if that matters.
Click to expand...
Click to collapse
Thanks for the reply, i gave that a try and it seems to be stuck on a loop now with "installing app # of 22" . it completes the installation and then reboots, after about 5 minutes on the Cyanogen boot screen, it goes back to installing apps again.
Hm, did you do a factory reset in your recovery before re-flashing CM and gapps? If not, that might be necessary.
audacityandrouge said:
Hm, did you do a factory reset in your recovery before re-flashing CM and gapps? If not, that might be necessary.
Click to expand...
Click to collapse
Yeah, i did. Tried it multiple times now
That's about the limit of my ability right there, hopefully someone with more experience than me can point you in the right direction. Good luck.
Boot to recovery (preferably TWRP)
Wipe cache / dalvik cache / data / system
Flash CM13 and the gapps you were trying first
Reboot
Profit!
Since you keep flashing different gapps on top of the system, this is probably causing some issues. Once you fully wipe and reflash everything, it should work.
es0tericcha0s said:
Boot to recovery (preferably TWRP)
Wipe cache / dalvik cache / data / system
Flash CM13 and the gapps you were trying first
Reboot
Profit!
Since you keep flashing different gapps on top of the system, this is probably causing some issues. Once you fully wipe and reflash everything, it should work.
Click to expand...
Click to collapse
Ive tried that multiple times using twrp (i always wipe everything before i flash CM13 and gapps), i still get the exact same issue. The second the phone boots, i get all these "unfortunately ******** has stopped".
Perhaps try installing 12.1 with gapps, get it all updated then upgrade to 13. I did the accidental upgrade to 13 but have had no issues whatsoever.

Samsung Galaxy S II (GT-19100) Cyanogenmod 12.1 Issues

yea so I am running before in cyanogenmod 10.1 with jellybean and I downloaded Cyanogenmod 12.1 from rom manager. I also downloaded gapps downloader from playstore to find gapps there.
I flashed Cyanogenmod 12.1 successful. I installed Gapps successful, too
I am now running in android 5.1.1 but when the phone starts, ALL THE GOOGLE APPS I INSTALLED STOPS. Even in the startup, all the google applications forces closes and the apps is not installed. When I looked in the settings>apps>all
the google apps is there but it is in my sd, it also shows com.google......etc and it is not installed in my device.
The android Keyboard (AOSP) also closes again and again so I cannot type when the phone asks me to input password in my WIFI. SO I AM ****ING STUCK!!!!!!!!!!!!! ****ING STUCK
I wanted to try to flash it back to jellybean, but the Recovery my phone is running is the Cyanogenmod Recovery and there is no back up and restore option.
I want to fix this issue, I mean I still want to run my device on Lollipop. How can I fix this? How to make gapps work and the keyboard,
Take a backup of all your stuff in internal storage.
Download these files onto your SD card.
Kernel- https://www.androidfilehost.com/?fid=24407100847293132
TWRP- https://www.androidfilehost.com/?fid=24369303960684130
Download the proper Pico gapps from this thread.
After that,
1) Boot into recovery
2) Install the recovery
3) Reboot your device again into recovery. If it does not boot into TWRP recovery then it means you're on an older version of CM 12.1., so flash the kernel first, then the recovery, and try to reboot your device into recovery) If it booted into TWRP then you do not need to flash the kernel.
In TWRP, select 'Wipe', and do a factory reset, after that's done, select install in TWRP and flash Pico Gapps.
thanks for the reply!
but do you think this would work?
do you think the cm recovery would accept this zip files, because I tried to flash my backup applications such as games, and other stuff and it showed err signature verification failed.
Kevin3014 said:
Take a backup of all your stuff in internal storage.
Download these files onto your SD card.
Kernel- https://www.androidfilehost.com/?fid=24407100847293132
TWRP- https://www.androidfilehost.com/?fid=24369303960684130
Download the proper Pico gapps from this thread.
After that,
1) Boot into recovery
2) Install the recovery
3) Reboot your device again into recovery. If it does not boot into TWRP recovery then it means you're on an older version of CM 12.1., so flash the kernel first, then the recovery, and try to reboot your device into recovery) If it booted into TWRP then you do not need to flash the kernel.
In TWRP, select 'Wipe', and do a factory reset, after that's done, select install in TWRP and flash Pico Gapps.
Click to expand...
Click to collapse
Man, I have successfully done that.I have flashed TWRP recovery and flashed kernel.
But i cant install gapps..
I tried installing gapps for Android 4.2.1 and it worked AHAHAHAHAHA. But when I rebooted it, com.google...etc stil, all of the closes. (unfortunately com.google,etc. has stopped) even the AOSP the android keyboard isnt working.
I have some gapps working now, THE ONLY PROBLEM I HAVE NOW IS THAT THIS ****ASS AOSP KEYBOARD UNFORTUNATELY STOPPED MESSAGE EVERY 2 secs AND I CANT TYPE,
What error does it show when you try to install gapps?
And by gapps I mean the one for android 5.1.
Kevin3014 said:
What error does it show when you try to install gapps?
And by gapps I mean the one for android 5.1.
Click to expand...
Click to collapse
there is no error anymore. i installed 3rd party keyboard. thanks mate )
i mean the gapps are working but when I sync my google acc, it syncing error. they are working but after for about 5 mins or later, com.google.process.gapps unfortunately stops so i cant use it and more error stuff comes out. I think I am having issues with GApps, basically. how the hell i can fix this. I tried so many gapps from the xda thread, youtube, and other forums for 5.1.x. still, they unfortunately stop.
Take a backup of your stuff.
Download GApps (ARM/5.1/pico) from this link.
http://opengapps.org/
Copy paste the .zip file into your SD Card.
Boot into recovery (TWRP) and wipe /data, /cache, /dalvik cache
After that is done, install the open_gapps-arm-5.1-pico-xxxxxxxx.zip
Reboot your phone.
Now the unfortunately stopped error will be fixed.
that is what I have downloaded. I wiped data, cache and dalvik cache. and installed gapps
it says Insufficient storage space available in system partition. you may want to use a smaller Open GApps package or consider removing some apps using gapps-config.
NO changes were made to your device
Error Code: 70
E: Error executing updater binary in zip
Are you sure you used the pico version of gapps?
Kevin3014 said:
Are you sure you used the pico version of gapps?
Click to expand...
Click to collapse
yeahh.
what solutions can I do about this situation. I messed up :crying:
That's weird. Download Diskinfo from Playstore and post a screenshot of it. I'd like to know the space free in /system partition of your device.
Man, this is what I did
And yea, I figured it out.
1. Factory reset
2. Flash Rom
3. Flash Gapps
5. Wipe Cache / Dalvik Cache
6. Reboot
THANKS FOR SOME HELP!!!!!!!!!!!!!
Crazyevilbeef said:
Man, this is what I did
And yea, I figured it out.
1. Factory reset
2. Flash Rom
3. Flash Gapps
5. Wipe Cache / Dalvik Cache
6. Reboot
THANKS FOR SOME HELP!!!!!!!!!!!!!
Click to expand...
Click to collapse
Isn't that what I posted yesterday?
Kevin3014 said:
Isn't that what I posted yesterday?
Click to expand...
Click to collapse
I made a mistake. I forgot to put the 2nd step. it should be "Wipe system partition" and yea it worked.

CyanogenMod update for s2 without lose data

I have updated my galaxy s2 with cyanogenmod 13 and with gapps nano.
To install gapps without problems, I followed this steps:
1-reboot in philz recovery mode
2-Install cyanogen rom ( don't reboot)
3- Install gapps nano
4-Reboot
Now I would like to update cyanogen with nightly update without lose data. I tried to use cyandelta but some errors appear ( permission denied..)
I rebooted in recovery and now I have a clockwork recovery.
Can I install the nightly update with this recovery mode and without lose data and settings?
I have to install gapps nano another time to avoid problems?
Can you describe me step by step what I have to do?
Anyone update cyanogen?
pietrog80 said:
Anyone update cyanogen?
Click to expand...
Click to collapse
if not done yet i would recommend to increase partitions to 1 gb system and 4gb.
And I would install isorec recovery twrp 3.0.2-1 because cm recovery is not very useful.
Please read noob friendly guide "want update to cm13...." by Saber who made also one for "increase system partition.
Sent from my GT-I9100 using XDA-Developers Legacy app
pietrog80 said:
I have updated my galaxy s2 with cyanogenmod 13 and with gapps nano.
To install gapps without problems, I followed this steps:
1-reboot in philz recovery mode
2-Install cyanogen rom ( don't reboot)
3- Install gapps nano
4-Reboot
Now I would like to update cyanogen with nightly update without lose data. I tried to use cyandelta but some errors appear ( permission denied..)
I rebooted in recovery and now I have a clockwork recovery.
Can I install the nightly update with this recovery mode and without lose data and settings?
I have to install gapps nano another time to avoid problems?
Can you describe me step by step what I have to do?
Click to expand...
Click to collapse
If you use the official CM13, you can try the inbuilt update option. You can find it in Settings --> About Phone --> Cyanogenmod updates. There were bugs for a long time, but as far as I know everything has been fixed.
Or try out a dirty flash. Just flash the newer Nightly zip in recovery with wipe of /cache and /dalvik. Not sure if it is also necessary to reflash Gapps.
Edit: I ask myself if updating via settings still works since they switched to Lineage OS... If you try it please report here.

Categories

Resources