CyanogenMod update for s2 without lose data - Galaxy S II Q&A, Help & Troubleshooting

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.

Related

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

Recovery issue

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.

Google Play services stopped | CM13 for GT-i9300

I had Unofficial 5.1.1 installed on my Samsung Galaxy S3 GT-i9300. I updated my device via CM Updater to CM13 6.0.1 Marshmallow. After updating, I am getting an error Google Play services has stopped, unfortunately. I cannot access any Google App.
I've flashed the GApps through OpenGapps. But after flashing GApps, phone stucks on Bootloop. I've tried many variants (pico, nano, stock) but none of them worked. I am still stucked at boot screen.
HELP!
zackygaurav said:
I had Unofficial 5.1.1 installed on my Samsung Galaxy S3 GT-i9300. I updated my device via CM Updater to CM13 6.0.1 Marshmallow. After updating, I am getting an error Google Play services has stopped, unfortunately. I cannot access any Google App.
I've flashed the GApps through OpenGapps. But after flashing GApps, phone stucks on Bootloop. I've tried many variants (pico, nano, stock) but none of them worked. I am still stucked at boot screen.
HELP!
Click to expand...
Click to collapse
Definitely Gapps problem.
1) Backup your data.
2) clean install Marshmallow rom (wipe data/ factory reset & install)
3) look for the correct Gapps (slim zero Gapps work for me)
You might know, but just telling - make sure the Gapps is for Android 6.0
P.S: don't panic and flash several things at once. Maybe you haven't clean flashed the CM 13, that might be the reason.
Clean flash 13.0 and don't boot yet after and go back to recovery, instead flash gapps immediately after flashing the rom. If you dont then you're going to have a bad time. Hope I helped
Done. Flash CWM and Boom
Thank You @sashankps. Slim Zero Gapps worked for me.
What I did?
1. Installed CWM Recovery.
2. Wiped everything.
3. Installed CM 13 (6.0.1)
4. Flashed Slim Zero Gapps.
5. Done.
PS: For future readers, please note that do not wipe cache/data after installing Gapps. After finishing above steps directly Reboot your system.
zackygaurav said:
Thank You @sashankps. Slim Zero Gapps worked for me.
What I did?
1. Installed CWM Recovery.
2. Wiped everything.
3. Installed CM 13 (6.0.1)
4. Flashed Slim Zero Gapps.
5. Done.
PS: For future readers, please note that do not wipe cache/data after installing Gapps. After finishing above steps directly Reboot your system.
Click to expand...
Click to collapse
Glad it helped.
I was a CWM recovery user myself, but the development is static, I would suggest you move on to TWRP - chances of you encountering flashing problems is less.
Next Time.
sashankps said:
Glad it helped.
I was a CWM recovery user myself, but the development is static, I would suggest you move on to TWRP - chances of you encountering flashing problems is less.
Click to expand...
Click to collapse
I don't like the UI of TWRP but Next time I'll surely try TWRP. Maybe while flashing Android N
Thanks a lot! Reply via Samsung Galaxy S3 running 6.0.1

How to wipe /system

Hi,
i updated my S2 from CM 12 to CM 13.
This works perfectly.
But i cant install the gapps.
It say's not enough Space in System.
So CM install's his own Recovery: Cyanogen Recovery.
But with this i can't wipe also the /system.
So how can i wipe this now?
Greets
xtreme10 said:
Hi,
i updated my S2 from CM 12 to CM 13.
This works perfectly.
But i cant install the gapps.
It say's not enough Space in System.
So CM install's his own Recovery: Cyanogen Recovery.
But with this i can't wipe also the /system.
So how can i wipe this now?
Greets
Click to expand...
Click to collapse
Hi,
Here is for your reference:
Boot your phone into download mode. Connect your phone to PC. Use ODIN to flash TWRP .tar kernel onto your phone, go into recovery, wipe>advanced, wipe system.
However, I believe the real problem you are facing is your system partition is too small. Use my increase system partition size guide to increase system partition.
gsstudios
Thanks for your Answer.
But where can i download the newest TWRP Version for the S2?
Sorry.
xtreme10 said:
Thanks for your Answer.
But where can i download the newest TWRP Version for the S2?
Sorry.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=57974756&postcount=4
CM12.1 TWRP is the one you want. Either one is fine, the older tar is what I usually recommend. Since you didn't keep isorec recovery, you can't flash Isorec TWRP this way. You will need to reflash ROM to get back to CM13.
gsstudios

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.

Categories

Resources