how can i flash cm11 for my s2 - Galaxy S II Q&A, Help & Troubleshooting

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

Related

4.2.2 and above.

Is there a known issue that some of the GT-9100 S2 phones are unable to boot and 4.2.2 and above ROMs? I never seem to get them to work.
Rooting and flashing base ROMs like those using 4.1.2 such as Neat ROM are possible, but whereas 4.2.2 or 4.3 such as CM never get to work on my device. They just boot forever.
Can you tell me what steps you follow when you try to install custom roms? Booting forever probably means you flashed something wrong or forgot to wipe.
Dakura said:
Can you tell me what steps you follow when you try to install custom roms? Booting forever probably means you flashed something wrong or forgot to wipe.
Click to expand...
Click to collapse
I do the same for both Base ROMs and the other Newer ROMs.
Copy files on to SD Card
Reboot into Recovery
Factory reset
Install ROM and Gapps if needed
Factory reset again
Reboot
Boots forever for any 4.2.2 ROM and above / Success for Base ROMs
Do this
Format in mounts and storage these things.
Data
System
Cache
Then in advanced wipe dalvik cache
Then flash rom and the right gapps and reboot when flash is done.
Don't wipe SD or emmc and also make sure you have the right gapps for 4.2.2 roms.
imadiu said:
Is there a known issue that some of the GT-9100 S2 phones are unable to boot and 4.2.2 and above ROMs? I never seem to get them to work.
Rooting and flashing base ROMs like those using 4.1.2 such as Neat ROM are possible, but whereas 4.2.2 or 4.3 such as CM never get to work on my device. They just boot forever.
Click to expand...
Click to collapse
It definitely should work cause my phone is running the latest carbon rom (4.3.1) and i never had any problems except of some crashes ....
Sent from my GT-i9100 using xda app-developers app
Make sure you have I9100 and not any other variant,
Put your custom rom in internal sd card,
Go to recovery and use hawkerpauls wipe script before flashing: http://forum.xda-developers.com/showthread.php?t=2100558 ,
Make sure you are using the correct gapps, u can skip installing gapps and after installing custom rom and see if that is the problem, if its the problem use another gapps package.

[Q] i9300t flashing problem

Hey guys i recently posted a question about whether my i9300t would be able to safely run cyanogenmod 11, the answers i received said that i would not have a problem, i had already flashed the S4 revolution rom successfully, aswell as cyanogenmod 10.2, but when attempting to flash CM11 and AOKP (4.4.2) it just came up with a red 'FAILED!' sign for both of them.. im using the latest TWRP
Any ideas? much appreciated, thanks Guys
smiley118118 said:
Hey guys i recently posted a question about whether my i9300t would be able to safely run cyanogenmod 11, the answers i received said that i would not have a problem, i had already flashed the S4 revolution rom successfully, aswell as cyanogenmod 10.2, but when attempting to flash CM11 and AOKP (4.4.2) it just came up with a red 'FAILED!' sign for both of them.. im using the latest TWRP
Any ideas? much appreciated, thanks Guys
Click to expand...
Click to collapse
not sure if it is also valid for CM, but most rom devs recommend not to use TWRP for flashing a 4.4 rom. Maybe try Philz?
Format System, data, preload and sd card (internal memory) while on TWRP, aswell factory reset wipe all data and dalvik cache and then flash those ROMs
ShltHappens said:
Format System, data, preload and sd card (internal memory) while on TWRP, aswell factory reset wipe all data and dalvik cache and then flash those ROMs
Click to expand...
Click to collapse
yeah i did everything the way youre supposed to.. it just comes up with some error..
will it be safe for me to simply flash the clockworkmod .zip file in TWRP?? will it simply just replace it?
smiley118118 said:
will it be safe for me to simply flash the clockworkmod .zip file in TWRP?? will it simply just replace it?
Click to expand...
Click to collapse
If you want to switch to a cwm based try philz. You can flash it in recovery and simply reboot recovery
Sent from my Nexus 7 (2013)

(Q) phone stuck in bootloop after flashing. Download and recovery mode working.

tetakpatak said:
Please quote my post and copy&paste whole text into some help thread for your phone, it is better idea as we are now getting off topic here. I'll try to help you there.
Format /system is done in recovery mode under "mount and storage" then after that you can restore your nandroid if it is done with the same recovery you use now. If you're on PhilZ 6, it usually can restore also CWM 6 backups.
Click to expand...
Click to collapse
What does format system do? And please help me load sentinel rom. That's the one I was gonna do.
Okay now for the question... I was running stock 4.1.2 with siyah kernel 6.0 b5. Then I decided to install philz kernel, but ended up in bootloop. Then I tried flashing dorimanx but still in bootloop. All the while I wiped everything before flashing.
Now im stuck as I can boot into recovery via any kernel but ultimately phone is stuck.
What to do?
And can anyone give me steps to install sentinel rom from this stage?
Sent from my Nexus 4 using xda app-developers app
AndroidReborn said:
What does format system do? And please help me load sentinel rom. That's the one I was gonna do.
Okay now for the question... I was running stock 4.1.2 with siyah kernel 6.0 b5. Then I decided to install philz kernel, but ended up in bootloop. Then I tried flashing dorimanx but still in bootloop. All the while I wiped everything before flashing.
Now im stuck as I can boot into recovery via any kernel but ultimately phone is stuck.
What to do?
And can anyone give me steps to install sentinel rom from this stage?
Click to expand...
Click to collapse
Mate, sorry for waiting, I was out of home. We will get your ROM back as soon as the phone boots again.
Don't worry, it doesn't sound serious so far. We have recovery and download mode (so topic name "nothing works" isn't really correct)
Formatting /system wipes all data from the system partition (so your system will be gone then) and it is important to do before installing new ROMs (essencially important for KitKat). It can't do any harm. As you have tried to install other kernels and didn't work we should check first what did you try to flash so far and it didn't boot? Is that what you wrote all what you have tried?
Now let me know please which recovery do you have now and is it the same version like when you have created your nandroid backup? If the recovery is the same, I would indeed try to restore nandroid backup right after wiping /system. Before you wipe the system just let me know: can you use ADB? If yes, check do you have ADB connection in the recovery mode?
tetakpatak said:
Mate, sorry for waiting, I was out of home. We will get your ROM back as soon as the phone boots again.
Don't worry, it doesn't sound serious so far. We have recovery and download mode (so topic name "nothing works" isn't really correct)
Formatting /system wipes all data from the system partition (so your system will be gone then) and it is important to do before installing new ROMs (essencially important for KitKat). It can't do any harm. As you have tried to install other kernels and didn't work we should check first what did you try to flash so far and it didn't boot? Is that what you wrote all what you have tried?
Now let me know please which recovery do you have now and is it the same version like when you have created your nandroid backup? If the recovery is the same, I would indeed try to restore nandroid backup right after wiping /system. Before you wipe the system just let me know: can you use ADB? If yes, check do you have ADB connection in the recovery mode?
Click to expand...
Click to collapse
Will it wipe the internal memory? Or the rom in the phone?
I have cwm based recovery v. 6.0.1.2. Yes I used it to make the backup.
Checking for adb.. How do I do it? .
Sent from my Nexus 4 using xda app-developers app
AndroidReborn said:
Will it wipe the internal memory? Or the rom in the phone?
I have cwm based recovery v. 6.0.1.2. Yes I used it to make the backup.
Checking for adb.. How do I do it?
Click to expand...
Click to collapse
Hi! Internal memory usually shouldn't get wiped by formatting /system, as it is "storage", not part of the system. I would give a try, wipe all: data/factory reset, cache, dalvik cache (advanced) and format /system (mounts and storage). Then back to the main menu --> backup & restore --> restore from (internal or external memory where your nandroid is saved) and choose your backup. It should reboot normally then.
tetakpatak said:
Hi! Internal memory usually shouldn't get wiped by formatting /system, as it is "storage", not part of the system. I would give a try, wipe all: data/factory reset, cache, dalvik cache (advanced) and format /system (mounts and storage). Then back to the main menu --> backup & restore --> restore from (internal or external memory where your nandroid is saved) and choose your backup. It should reboot normally then.
Click to expand...
Click to collapse
Thanks for helping, but I ended up downloading the stock rom and flashing it. Everything was normal. Then I installed cm10.2 so everything's great now. Thanks!
Sent from my Nexus 4 using xda app-developers app
Cool, @AndroidReborn! Now you can install your old ROM again and restore nandroid. Keep that stock FW saved on your PC, so if your phone gets ever again soft-bricked, no problem to revive it again.
I am wondering how nobody here responsed your help prompt, we have in i9000 help threads always handfull people of experience and skills who are ready to help in need. And there are double amount of the SGS2 units sold around the world.... strange.
tetakpatak said:
Cool, @AndroidReborn! Now you can install your old ROM again and restore nandroid. Keep that stock FW saved on your PC, so if your phone gets ever again soft-bricked, no problem to revive it again.
I am wondering how nobody here responsed your help prompt, we have in i9000 help threads always handfull people of experience and skills who are ready to help in need. And there are double amount of the SGS2 units sold around the world.... strange.
Click to expand...
Click to collapse
No idea. The people seem pretty 'busy'. Thanks for helping. Just one teeny tiny last question.. How do I install cm11 or any kitkat rom over this? Cwm is 6.0.4.5 so it's compatible...
Sent from my Nexus 4 using xda app-developers app
If you want to flash kitkat, the first thing you need to do is flash a kitkat compatible CWM (v6.0.4.7). If you try to flash KK with an 'older' CWM, you'll get 'installation aborted....error status 7' or something similar........
I'm currently running @infected_s KK build, and in the OP, you will find download links for the correct CWM, ROM and GApps files.......
Sent from my Infected KitKat bar.....
keithross39 said:
If you want to flash kitkat, the first thing you need to do is flash a kitkat compatible CWM (v6.0.4.7). If you try to flash KK with an 'older' CWM, you'll get 'installation aborted....error status 7' or something similar........
I'm currently running @infected_s KK build, and in the OP, you will find download links for the correct CWM, ROM and GApps files.......
Sent from my Infected KitKat bar.....
Click to expand...
Click to collapse
6.0.4.5 is compatible? I think so ......
Sent from my Nexus 4 using xda app-developers app
I've always read....not.....
In any case, probably best not to risk it......
6.0.4.7 is DEFINITELY KK compatible.... and it'd take a couple of seconds to flash.........
Sent from my Infected KitKat bar.....
AndroidReborn said:
No idea. The people seem pretty 'busy'. Thanks for helping. Just one teeny tiny last question.. How do I install cm11 or any kitkat rom over this? Cwm is 6.0.4.5 so it's compatible...
Click to expand...
Click to collapse
Yes, mate, CWM 6.0.4.5 is capable of flashing KitKat.
It is usually always the same:
download your ROM zip and compatible Gapps
check in the phone (or PC) if the zips are corrupted through download (if they open after clicking them, they are fine)
move the zips to the folder you will flash it from (if you use PC to flash zips with ADB sideload, put them in the sdk/platform-tools folder)
make nandroid backup of your presently used ROM
wipe data/factory reset
wipe cache
wipe dalvik cache (advanced)
format /system (under mount and storage)
flash ROM.zip
flash Gapps
reboot
It is in general always good to read in the development thread of the ROM you attend to flash in the opening post which Gapps are recommended, or if there is some unusual order of flashing (sometimes, developers recommend reboot system after flashing ROM, and after that going to recovery and flash Gapps zip.
Some KitKat ROMs struggle with root access by using Superuser, so SuperSU should be flashed. If SuperSU app from Play Store gives errors by updating binary, you should uninstall SuperSU app then, find in the Chainfire's thread the compatible UPDATE-SuperSu.zip (version for your phone), flash its zip in the recovery, install SuperSU app, update binary (either "normal" or "through CWM/TWRP")

[Q] Help! factory reseted and now no os? I boot into CWM recovery

Thank you for caring, I tried to get a custom rom such as Cyanogenmod but, now everything is not compattible with the kernel i have installed. Thinking factory reset will bring me back to stock os and now im so confused. I have Cyanogenmod on my sd card and Gapps, should i try to install those? BTW my phone is rooted and has jeboo kernel.\
Thanks for the help guys.
koolkyle said:
Thank you for caring, I tried to get a custom rom such as Cyanogenmod but, now everything is not compattible with the kernel i have installed. Thinking factory reset will bring me back to stock os and now im so confused. I have Cyanogenmod on my sd card and Gapps, should i try to install those? BTW my phone is rooted and has jeboo kernel.\
Thanks for the help guys.
Click to expand...
Click to collapse
Factory reset won't put back stock os. Did you do a factory reset, wipe cache partition, then install cyanogenmod? If you can't flash anything, update recovery by install philz recovery or a newer custom kernel.
gsstudios said:
Factory reset won't put back stock os. Did you do a factory reset, wipe cache partition, then install cyanogenmod? If you can't flash anything, update recovery by install philz recovery or a newer custom kernel.
Click to expand...
Click to collapse
I have done a factory reset, ill do wipe cahe, then ill try install cyanogenmod. Ill get back to u for latest news later.
Thanks for the help mate!
gsstudios said:
Factory reset won't put back stock os. Did you do a factory reset, wipe cache partition, then install cyanogenmod? If you can't flash anything, update recovery by install philz recovery or a newer custom kernel.
Click to expand...
Click to collapse
Ok installation for cyanogenmod was aborted? Could you please send a guide on how to do a new custom kernel, or instal philz recovery, sorry i am new to this kind of stuff Oh and do you think would work? flashing a stock rom using CWM?
koolkyle said:
Ok installation for cyanogenmod was aborted? Could you please send a guide on how to do a new custom kernel, or instal philz recovery, sorry i am new to this kind of stuff Oh and do you think would work? flashing a stock rom using CWM?
Click to expand...
Click to collapse
Look at my website and go to the other flashable files page. Scroll down until you see the kernel flashing guide.

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.

Categories

Resources