Going form stock 4.1.2 to cm13 - Galaxy S II Q&A, Help & Troubleshooting

My mother uses the stock i9100, form the french provider buygues, kernel 3.0.31, and want the update android 6 for this phone. I do not know much about android, and all the information here is in english so it is even harder to figure what files to download.
I went to the official thread for cm13, but they do not say how to start from stock. they say that I need some stock rom+root, like the closed thread here, but the files are deleted by a moderator,
http://forum.xda-developers.com/galaxy-s2/help/guide-26-12-flash-stock-firmware-rom-t2365701
I downloaded odin and the samsung drivers, then the latest official cm13. i work on windows 8.1
So where do I get the files to root the phone on android 4.1.2, then I guess the recovery twrp in order to install cm13 ?

I won't give you detailed infos because i just don't remember them well anymore.
But the basic workflow AFAIR is to root the phone, have a custom kernel which support your rom AND iso rec twrp (i think Dorimanx should do).
Then you need to repartition your phone using Lanchon method, but to do so you need to flash iso rec twrp. Then you flash the Lanchon script for increasing the system partition to 1gb.YOU MUST KEEP THE PRELOAD PARTITION as cm13 need it.
Then flash cm13 and pico gapps in one go.
Don't reboot but reflash the iso rec twrp (not sure if really needed) and reboot recovery.
Reboot system and wait (1st boot can take up to 20 minutes)
As you see it is a long go and I advise to read a lot here before trying this.
In particular check the iso rec twrp thread and the Lanchon repit thread here on xda (just google them)
Good luck

Yeah I managed to install Cm13 with twrp up to date. I had to use odin, install cm12.1 and
the file kernel-Lanchon-TRIM-IsoRec-20160111-cm-12.1-i9100-for-ODIN
then recovery-the.gangster-IsoRec-TWRP-3.0.2-1-i9100-WITH-PRELOAD-SUPPORT
then lanchon-repit-20160406-system=1.0-data=same-sdcard=max-preload=min+wipe-i9100

Ok, great and nice to know preload set as min works.

blue whale said:
Yeah I managed to install Cm13 with twrp up to date. I had to use odin, install cm12.1 and
the file kernel-Lanchon-TRIM-IsoRec-20160111-cm-12.1-i9100-for-ODIN
then recovery-the.gangster-IsoRec-TWRP-3.0.2-1-i9100-WITH-PRELOAD-SUPPORT
then lanchon-repit-20160406-system=1.0-data=same-sdcard=max-preload=min+wipe-i9100
Click to expand...
Click to collapse
You succeeded which is fine. But just a comment:
you wouldn't have needed the recovery-the.gangster-IsoRec-TWRP-3.0.2-1-i9100-WITH-PRELOAD-SUPPORT.zip, if you use the lanchon-repit-xxxxxxxx-i9100.zip for repartitioning, as this tool will always take care of the formatting anyway (either keeping or wipeing it). I made that "special" recovery to allow the formatting for ODIN-with-pitfile-users in a gui. So the official unmodded TWRP would have done it as well for your described way.
And actually I would have a second comment:
There are also ways to do all that without ODIN, just in case you don't like the yellow triangle. Maybe I'll put the information on that together one day, as I find it much more comfortable not to depend on an USB-connection (with a possible slack joint) and to run everything right on the phone.

blue whale said:
Yeah I managed to install Cm13 with twrp up to date. I had to use odin, install cm12.1 and
the file kernel-Lanchon-TRIM-IsoRec-20160111-cm-12.1-i9100-for-ODIN
then recovery-the.gangster-IsoRec-TWRP-3.0.2-1-i9100-WITH-PRELOAD-SUPPORT
then lanchon-repit-20160406-system=1.0-data=same-sdcard=max-preload=min+wipe-i9100
Click to expand...
Click to collapse
I managed to install CM 12.1, stable version on my galaxy S2. Now I have standard CyanogenMod Recovery.
I wanted to install CM13 but I wasn't able to do it. I don't know how to install, TWRP recovery. I've downloaded all the necessary files, flashed the file "kernel-Lanchon-TRIM-IsoRec-20160111-cm-12.1-i9100-for-ODIN" using Odin 3.07 and then my phone entered in a bootloop. Now I reflashed stock rom because i didn't know what to do.
Please, can you, or someone make an explicit step by step, NOOB STYLE, guide to upgrade from CM 12.1 to CM13?
I followed many tutorials and I`m still stuck at replacing CWM recovery with TWRP. Please Help!

andrei.bg said:
Please, can you, or someone make an explicit step by step, NOOB STYLE, guide to upgrade from CM 12.1 to CM13?
Click to expand...
Click to collapse
Exactly for that, there is the most comprehensive one here already:
[GUIDE][NOOB-FRIENDLY]Want to update to CM13? Read this first!
If you read its first three posts and you don't manage to do it, no guide will make you do it...

andrei.bg said:
I managed to install CM 12.1, stable version on my galaxy S2. Now I have standard CyanogenMod Recovery.
I wanted to install CM13 but I wasn't able to do it. I don't know how to install, TWRP recovery. I've downloaded all the necessary files, flashed the file "kernel-Lanchon-TRIM-IsoRec-20160111-cm-12.1-i9100-for-ODIN" using Odin 3.07 and then my phone entered in a bootloop. Now I reflashed stock rom because i didn't know what to do.
Please, can you, or someone make an explicit step by step, NOOB STYLE, guide to upgrade from CM 12.1 to CM13?
I followed many tutorials and I`m still stuck at replacing CWM recovery with TWRP. Please Help!
Click to expand...
Click to collapse
I remember installing ''recovery-the.gangster-IsoRec-TWRP-3.0.2-1-i9100-WITH-PRELOAD-SUPPORT'' with odin 3.07 (section pda??), after I installed cm 12.1 from
http://galaxys2update.com/
then do not forget to install the zip file,
lanchon-repit-20160406-system=1.0-data=same-sdcard=max-preload=min+wipe-i9100
from within TWRP, to resize your partition and it takes a while
then install CM13, then ''erase davik cache'' and pico gapps and erase ''davik cache''

blue whale said:
I remember installing ''recovery-the.gangster-IsoRec-TWRP-3.0.2-1-i9100-WITH-PRELOAD-SUPPORT'' with odin 3.07 (section pda??), after I installed cm 12.1 from
http://galaxys2update.com/
then do not forget to install the zip file,
lanchon-repit-20160406-system=1.0-data=same-sdcard=max-preload=min+wipe-i9100
from within TWRP, to resize your partition and it takes a while
then install CM13, then ''erase davik cache'' and pico gapps and erase ''davik cache''
Click to expand...
Click to collapse
No need to install twrp with preload as the @the.gangster provided also a twrp 3.0.2-1.zip. without preload support.
And: zip files can be flashed in Recovery and not with Odin (only as tar-file e.g. xxx recovery.tar in PDA)
And when flashing the lanchon latest zip file i would also recommend to increase data (1.0GB system and 4.0GB data).
And as the.gangster said before he has to read the recommended Guide.
It doesn't make sense to flash all sort of things without knowing how to .....
Sent from my ME173X using XDA-Developers mobile app

Here is what you are looking for, suis mon tuto :
https://forum.xda-developers.com/galaxy-s2/help/guide-tutorial-samsung-galaxy-s2-i9100-t3538601
Without Odin, flash Recovery, Kernel, Re-partiton and flash CM13

Hello again, and thank you all for the great community xda has become.
I managed to install CM 13 on my S2 a few months ago.
I find it kinda slow....
anyway.... taking in mind that for cm 13 we had to repit to gain extra space...what are the steps for going back to stock?
Thank you!

andrei.bg said:
Hello again, and thank you all for the great community xda has become.
I managed to install CM 13 on my S2 a few months ago.
I find it kinda slow....
anyway.... taking in mind that for cm 13 we had to repit to gain extra space...what are the steps for going back to stock?
Thank you!
Click to expand...
Click to collapse
You have to repit again with the original pit file or a pit that includes a 512mb preload partition, choose your desired pit from this zip but it must have preload 512mb in its name,
1.5GB PIT Files
, the zip includes one pit with 1.5gb system and a very small preload partition, this one is useless for your condition, the other pits are also 1.5gb system but all with 512mb preload partition, except for one pit that is the STOCK pit that sets the partitions to its original state, i recommend using one of the 1.5gb system with 512mb preload, because it's suitable for the stock rom and any other rom even cm13 and LineageOS 14.1, you may change your mind after all, there are plenty of roms to try
Regards Migo

Related

[GUIDE]/[Q] Stock i9100 to CM11 M11

Hi All,
I recently updated my stock i9100 to CM11 M11 and I want to check if I have done all the steps correctly or if I have missed any steps out.
I first copied these four files onto a micro sd card:
PhilZ-cwm6-XWLSW-XEU-5.06.1-signed.zip
If you are following these instructions then use the correct PhilZ kernel for your stock kernel version. This is explained in the linked post.
ClockWorkMod Recovery v6.0.5.1 - Recovery_CWM_6.0.4.7_I9100.zip
Cyanogen Mod 11 M11 - cm-11-20141008-SNAPSHOT-M11-i9100.zip
Google Apps (Small) - gapps-kk-20140105-signed.zip
Then I:
Boot into stock recovery (volume up+home+power)
Install PhilZ-cwm6-XWLSW-XEU-5.06.1-signed.zip
Reboot into Philz recovery
Do a full Backup including the Preload folder by using the Custom Backup feature
Install ClockWorkMod Recovery v6.0.5.1
Reboot into CWM
Wipe data/factory reset
Wipe cache partition
Advanced>Wipe dalvik cache
Mounts and Storage>Format /system, Format /cache, Format /storage/sdcard0, Format /boot
Install cm-11-20141008-SNAPSHOT-M11-i9100.zip
Install gapps-kk-20140105-signed.zip
Reboot and all done.
Optional Step: Flash a newer modem,
Download XXMS4 modem - modem_XXMS4.zip
Copy above zip file to SD Card
Boot into CWM Recovery and flash the modem zip file
Reboot
I found that the above newer modem slightly improved call quality and mobile download speed.
Note: Do not change RIL.
Have I done everything correctly? Have I missed anything?
I do have two issues,
When I tried - Mounts and Storage>Format /preload - it didn't work. I can't remember what the error was but it woudn't format the preload in CWMR
Memory only shows up as 791MB in About Phone.
Any advice would be greatly appreciated. Thank you very much!
You did well. More than enough.
No need to format partitions, so just ignore the error.
Memory reported is usable memory. It is ok.
Have fun with the new rom.
svbarbosa said:
You did well. More than enough.
No need to format partitions, so just ignore the error.
Memory reported is usable memory. It is ok.
Have fun with the new rom.
Click to expand...
Click to collapse
Thank you for the reply svbarbosa.
I had been putting off installing a custom rom and living with my laggy stock because I thought it would be tricky to install CM11, turned out it was quite simple one I figured out the correct instructions.
I'd advise anyone it give it a try!
When you have time give AOSP NeatRom a try. Is is based on Slim Rom and is the one I use.
Here is the link: [ROM][Sep 25][4.4.4] I9100 AOSP NeatROM.
Happy flashing...
Is it easier (and just as good) to use CyanogenMod Installer to install CM on the i9100?
I made a question yesterday, and would appreciate it if someone could help me:
http://forum.xda-developers.com/gal...import-sms-t2903491/post55985155#post55985155
Thank you guys.
@oldgalaxy hey, just got that i9100 device from my friend with all stock and laggy... ?
Your question was already an answer for me. I always prefer oldschool ways though they are harder. Followed your steps and... voila... Now I'm fast and stable. ??
But I was kinda curious whether it is really easier to install CM with their installer app. ?
Thanks man...
LeroViten said:
@oldgalaxy hey, just got that i9100 device from my friend with all stock and laggy... ?
Your question was already an answer for me. I always prefer oldschool ways though they are harder. Followed your steps and... voila... Now I'm fast and stable. ??
But I was kinda curious whether it is really easier to install CM with their installer app. ?
Thanks man...
Click to expand...
Click to collapse
Thank you @LeroViten, I'm glad that those steps also worked for you. Also now that you have confirmed that it worked for you I am also happy that I have done things correctly, so thank you for that!
Not too sure about the CM installer, but I didn't use it because I wanted to be sure of all the steps I am doing because of the i9100 kernel bug that can hard brick the phone.
oldgalaxy said:
Thank you @LeroViten, I'm glad that those steps also worked for you. Also now that you have confirmed that it worked for you I am also happy that I have done things correctly, so thank you for that!
Not too sure about the CM installer, but I didn't use it because I wanted to be sure of all the steps I am doing because of the i9100 kernel bug that can hard brick the phone.
Click to expand...
Click to collapse
Yep... That was the exact reason for me either. ✌?
Hi,
I also just got a laggy SGS2 from a friend of mine.
And I want to reset/flash the phone in order to give it to my mother, which ROM do recommend CM11 or any other ROM (MIUI ?) ?
I would prefer to have something stable.
For CM, I saw that the last stable img was for CM10.
Thanks in advance.
rayu94 said:
I would prefer to have something stable.
For CM, I saw that the last stable img was for CM10.
Click to expand...
Click to collapse
I've been using CM11 M11 for the last 3 days and have found it completely stable with a slight improvement in battery life over stock.
rayu94 said:
which ROM do recommend CM11 or any other ROM (MIUI ?) ?
Click to expand...
Click to collapse
I don't have experience of any other ROM, but I'd definitely recommend CM11 M11.
oldgalaxy said:
I've been using CM11 M11 for the last 3 days and have found it completely stable with a slight improvement in battery life over stock.
I don't have experience of any other ROM, but I'd definitely recommend CM11 M11.
Click to expand...
Click to collapse
Thanks I will try CM11 M11
hello
may i ask which version of CWM u installed? the thread you linked doesn't have 6.0.5.1 recovery..also your phone Android 4.1.2 before?
Hi, sorry for the late reply.
ghosty81d said:
may i ask which version of CWM u installed? the thread you linked doesn't have 6.0.5.1 recovery
Click to expand...
Click to collapse
It is the zip file, Recovery_CWM_6.0.4.7_I9100.zip, for some reason when you install it, it shows version number 6.0.5.1
ghosty81d said:
also your phone Android 4.1.2 before?
Click to expand...
Click to collapse
Yes, Android version 4.1.2
great!
hey thank you so much oldgalaxy, i updated my i9100 to M11 following your guide, u are the first person on XDA to post a guide for i9100. thank you so much..M11 is awesome! ,just a thought that you don't need flash cwm kitkat compatible over philz cwm? can flash the ROM zip directly from philz cwm? - also i didn't format system and sdcard, just factory reset and wiped cache patrition n dalvik cache. this rom is awesome, ty again
ghosty81d said:
hey thank you so much oldgalaxy, i updated my i9100 to M11 following your guide, u are the first person on XDA to post a guide for i9100. thank you so much..M11 is awesome! ,just a thought that you don't need flash cwm kitkat compatible over philz cwm? can flash the ROM zip directly from philz cwm? - also i didn't format system and sdcard, just factory reset and wiped cache patrition n dalvik cache. this rom is awesome, ty again
Click to expand...
Click to collapse
Thanks for the message @ghosty81d! Glad it worked well for you.
An additional optional step I recently did was to flash a newer modem (don't change the RIL).
I found this slightly improved call quality and mobile download speeds. The modem I flashed was XXMS4.
i have good signal and pretty ok call quality, however, it heats up moderately when using the internet..near the camera, i think i had this problem on stock rom also..signal is good full bars outside. but i wud give the modem a try n I'm completely noob on this topic..what is RIL and how do i flash this? can i flash using cwm? also can i back up my current modem? and changing modem cause any damage to phone? ty oldgalaxy, this m11 rom is good, no need pc, no need root to install it, perfectly fine procedure
WiFi always on on battery status
I'm new here and also decided to leave stock ROM how ever my battery is draining in 4 hours.... And I checkd battery status and WiFi is shwoing activity all the time but is of.... Can anyone help me?
Also if I turn the phone off and don't use the WiFi it doesn't show activity on battery status
Sorry for my english
Thanks
I am ready to install...
I downloaded all the required things to try your steps. I will try it tomorrow.
I just want to know if I need to upgrade the modem or leave it as it is? Kindly confirm.
Thanks,
Sadiq

isorec already installed?

Hi all,
I have. CM 11 20141115-SNAPSHOT-M12-i9100 installed.
Is there a way I can tell if isorec is already installed or not?
Thank you for your time reading this.
Regards,
nikits72.
nikits72 said:
Hi all,
I have. CM 11 20141115-SNAPSHOT-M12-i9100 installed.
Is there a way I can tell if isorec is already installed or not?
Thank you for your time reading this.
Regards,
nikits72.
Click to expand...
Click to collapse
Isorec is not installed by default on CM11. You need to flash DorimanX kernel. The build you want is DorimanX 10.50 v006.
gsstudios
Thank you gsstudios for your answer.
I have installed dorimanx kernel as you suggested.
I guess I have isorec recovery now . right?
The reason I am asking is because I want to repartition and then upgrade to cm 13 based to your tutorial here
Thank you for your time reading this.
Regards,
nikits72
nikits72 said:
I guess I have isorec recovery now . right?
The reason I am asking is because I want to repartition and then upgrade to cm 13 based to your tutorial here
Thank you for your time reading this.
Regards,
nikits72
Click to expand...
Click to collapse
If you flashed one of the isorec recoveries, then that is what should boot when you access recovery. The only way to tell is actually booting into recovery and see.....if you boot into StanTRC/CWM, then you haven't flashed a isorec recovery.
BTW, use the guide you linked by all means, there is all the info you need there, but you didn't need to have any particular recovery or isorec enabled to re-partition unless you use Lanchons re-pit tool(then you need TWRP)
Thank you noppy22 for you answer.
When i boot into recovery i see StanTRC/CWM recovery.So this means i am not in isorec?
But i flashed DorinmanX kernel as suggested above.
Anyway,when i thought i have to repartition i found (as you say) the Lanchons repit tool.
I read that CWM has been abandoned so i though i should use option 2 but my tries to replace CWM recovery with TWRP are failing. (I have not found a tutorial for this actually ,while everywhere there are tutorials to install TWRP from stock)
So from what i understan up to now i have to options:
1. Use another way to repartition (i have to find a good tutorial,if you have to suggest one you r welcome )
OR
2.Try to replace CWM recovery with TWRP and use Lanchon's repit way
Sorry if i ask easy questions but i am a confused noob.
Any suggestions will be wellcome.
Thank you for your time reading this.
Regards,
nikits72.
@nikits72
If you just want to re-partition and flash CM13, then you just need to follow the guide you linked.
If you have a pc and don't need to keep your data(you can also just back-up and restore later using this method), just use odin and flash a pit file with at least 1GB system(the file name will have I91001GB_xGB.pit) and at the same time flash a working kernel/recovery using this guide
OR use Lanchons tool for re-pitting. Just take your time and read the description from his github link. Essentially you need to download the .zip file and rename it to your needs. This method is arguably less new-user-friendly, but don't let that put you off trying it; just read until you understand it.
And make sure you flash a isorec recovery at some point too. As I said earlier you only need to do this once.
Is there is a possibility to install isorec img file via terminal instead of adb?
Background: in case of i9100G a zip version of isorec (by arnab) does not exist yet...only img version exists.

CM13 + IsoRec Problem

Hi all, first off. Thanks to all devs and the XDA team for providing an invaluable resource which has provided me with the information to successfully flash all of my phones over the years.
TL;DR : CM13 Flash > Repartition > Can't flash gapps using CMRecovery > Factory reset+cache wipe > Stuck in Bootloop > reflashed Lanchon TRIM IsoRec > Still stuck in Bootloop.
I've encountered a problem which I'll try to detail as best as possible.
I wanted to upgrade my S2 i1900 to the latest Cyanogenmod, going from v11 (4.4.4) to v13 (6.0.1). I did this successfully, however I neglected to repartition the device as instructed which left me without gapps.
So I went back and attempted to repartition the device using Odin. The partition was successful. I then attempted to flash gapps using the native CM Recovery. Suprise, surprise I was unable to, needing to instead use either CWM or TWRP.
Whilst in the CMRecovery I wiped cache and performed a factory reset. I am now stuck on the CM loading screen. I did wait and wait and wait as is custom for first boots but I find myself locked in the dreaded bootloop.
I reflashed the IsoRec Tar file for CM13 with no luck or change. I know I'm missing something, I just can't put my finger on it...
Thanks,
Reflashed to stock partition using Odin:
kernel-Lanchon-TRIM-IsoRec-20160207-cm-13.0-i9100-for-ODIN.tar
and
I9100_STOCK-System_2GB-Data_512MB-Preload.pit
Still stuck in bootloop/softbrick.
Hi,
You are using the wrong pit file, that's why gapps can't be flashed.
You need to use a pit file with 1GB system partition.
gsstudios
Hi, thanks for the reply.
The issue isn't with the gapps package, I was well aware before upgrading to CM13 that the 5XXmb (Stock) system partition .pits would not suffice if i wanted both CM13 and gapps. The issue is I have soft bricked my S2 with CM13 bootloop.
w0lf91 said:
Hi, thanks for the reply.
The issue isn't with the gapps package, I was well aware before upgrading to CM13 that the 5XXmb (Stock) system partition .pits would not suffice if i wanted both CM13 and gapps. The issue is I have soft bricked my S2 with CM13 bootloop.
Click to expand...
Click to collapse
I assume that you know that CM recovery in CM13 is broken?
You should be using TWRP for your recovery, making sure to wipe system, data and cache. (Backup as always).
Isorec kernel is not required on CM13. Just flash TWRP (see thread for more details).
There is also a CM13 upgrade guide I made that should help solve 99% of these issues.
gsstudios
I can't boot into recovery mode, not even after following your guide here: http://forum.xda-developers.com/gal...es/guide-want-to-update-to-cm13-read-t3313978
Which leads to: http://forum.xda-developers.com/showpost.php?p=57974756&postcount=4
Kernel which flashed successfully, but failed to boot was:
kernel-Lanchon-TRIM-FreezeFix-TWRP-20160111-cm-12.1-i9100-for-ODIN.tar
w0lf91 said:
I can't boot into recovery mode, not even after following your guide here: http://forum.xda-developers.com/gal...es/guide-want-to-update-to-cm13-read-t3313978
Which leads to: http://forum.xda-developers.com/showpost.php?p=57974756&postcount=4
Kernel which flashed successfully, but failed to boot was:
kernel-Lanchon-TRIM-FreezeFix-TWRP-20160111-cm-12.1-i9100-for-ODIN.tar
Click to expand...
Click to collapse
You are looking at the wrong thing.
Scroll down until you see " If you forgot to flash Isorec Recovery when upgrading, this is what you can do:"
Try the ADB Sideload method first. If that doesn't work, try the terminal method. If you are following the second method, you need to follow the flashing guide again, but making sure to flash TWRP here. You only need to flash the TWRP isorec recovery and not the kernel itself.
gsstudios
Sorry, but I don't think you've read any of my posts properly.
I can't do ADB Sideload as I can't get into CMRecovery, after following your guide that "fixes 99% of problems".
I can't do the terminal method either because I can't get into the ROM, as I'm softbricked; stuck on the CM13 bootloop.
The only thing I now have access to is the Download mode.
Out of frustration I kept spamming the recovery (vol up+home+power) and managed to boot into TWRP v2.8.7.0
If i follow your guide here: http://forum.xda-developers.com/gal...es/guide-want-to-update-to-cm13-read-t3313978
From "If you require to use Gapps, make sure to re-partition your phone now if you haven't done so! This can be done by following one of the guides linked in the Gapps section" onwards, I should be ok, correct?
w0lf91 said:
Sorry, but I don't think you've read any of my posts properly.
I can't do ADB Sideload as I can't get into CMRecovery, after following your guide that "fixes 99% of problems".
I can't do the terminal method either because I can't get into the ROM, as I'm softbricked; stuck on the CM13 bootloop.
The only thing I now have access to is the Download mode.
Out of frustration I kept spamming the recovery (vol up+home+power) and managed to boot into TWRP v2.8.7.0
If i follow your guide here: http://forum.xda-developers.com/gal...es/guide-want-to-update-to-cm13-read-t3313978
From "If you require to use Gapps, make sure to re-partition your phone now if you haven't done so! This can be done by following one of the guides linked in the Gapps section" onwards, I should be ok, correct?
Click to expand...
Click to collapse
Yep, you should be fine following that guide onwards.
Let me know if you encounter any other issues.
gsstudios
Ok, so I reflashed I9100_1GB-System_4GB-Data_512MB-Preload.pit, but now I can't get back into TWRP!! I did not flash a different/new kernel alongside it.
vol_up+home+power just keeps looping the battery icon.
Should I have flashed the kernel WITH the .pit?
Thanks for all your help thus far.
w0lf91 said:
Ok, so I reflashed I9100_1GB-System_4GB-Data_512MB-Preload.pit, but now I can't get back into TWRP!! I did not flash a different/new kernel alongside it.
vol_up+home+power just keeps looping the battery icon.
Should I have flashed the kernel WITH the .pit?
Thanks for all your help thus far.
Click to expand...
Click to collapse
Yep, it is required for you to flash kernel alongside the pit file.
gsstudios
gsstudios said:
Yep, it is required for you to flash kernel alongside the pit file.
gsstudios
Click to expand...
Click to collapse
I'm really stuck on what to do now >.<
Any ideas?
Edit: When I go into Download mode this info appears:
ODIN MODE
PRODUCT NAME: GT-i9100
CUSTOM BINARY DOWNLOAD: YES (8 counts)
CURRENT BINARY: CUSTOM
So I'm guessing that the "8 Counts" if from me flashing data and its getting piled on top of each other. I've tried using the "nand erase all" option but that fails as well.
(see attachment)
w0lf91 said:
I'm really stuck on what to do now >.<
Any ideas?
Edit: When I go into Download mode this info appears:
ODIN MODE
PRODUCT NAME: GT-i9100
CUSTOM BINARY DOWNLOAD: YES (8 counts)
CURRENT BINARY: CUSTOM
So I'm guessing that the "8 Counts" if from me flashing data and its getting piled on top of each other. I've tried using the "nand erase all" option but that fails as well.
(see attachment)
Click to expand...
Click to collapse
Try using this guide:
[GUIDE][Troubleshoot a failed Odin flash]
Usually write failures usually mean that your device has been bricked. However, it is necessary to test every other method before drawing this conclusion.
Maybe try stock pit file.
gsstudios
Success! Sort of...
I was able to recover the phone in its entirety using the section:
Another option for i9100
If you have an i9100, probably the best option to flash is to flash 4.1.2 JellyBean leak. Huge thanks to It_ler for providing the file after it was lost during the shutdown of hosting site hotfile.com and re-hosting on his dev-host, and for keithross39 for re-hosting the file on his storage. Download it here: (Android File Host link) or here: Mega link. This is a 3-part firmware. It will wipe your device as it flashes, and in many cases this extra wipe while flashing contributes to a successful flash. To set this file up in Odin (as it is 3 parts): PDA = CODE_I9100XXLSJ.tar, PHONE = MODEM_I9100XXLS6.tar, and CSC = CSC_HOME_OXX_I9100OXXLS1.tar. As usual, do not tick 'repartition'.
Click to expand...
Click to collapse
Thank you gsstudios for your time and patience, I'll reattempt the upgrade to CM13 when I have the patience again.
gsstudios said:
Try using this guide:
[GUIDE][Troubleshoot a failed Odin flash]
Usually write failures usually mean that your device has been bricked. However, it is necessary to test every other method before drawing this conclusion.
Maybe try stock pit file.
gsstudios
Click to expand...
Click to collapse
TL;DR 1 - Can't root Galaxy S2 gt-i9100? Use Siyah CWM Recovery.
TL;DR2 - Stock CM13 Recovery appears to be working.
Hi Gsstudios, thought you might like to know my progress.
I came across a problem with the JB firmware I used to recover my phone in that I couldn't gain root. I tried KingoRoot and the update.zip method from CWM and TWRP. But either root would only be temporary until I rebooted the phone, or the update.zip refused to flash entirely. I also could not find a ChainFire fix for my specific ROM. I ended up using Siyah's CWM recovery.
Whilst Siyah's CWM recovery granted me root apps like rootchecker would not recognise it. The warning triangle at launch said otherwise! So I risked it and followed your guide from that start. CM13 was flashed successfully, but again I forgot to flash gapps. On reboot to recovery I was greeted with CM13Recovery. I flashed gapps, reboot to OS and received a tonne of errors. Went back to CM13Recovery wiped everything, reflashed CM13 & gapps using CM13Recovery!!
And hey presto! Everything is working again and now on A-M6.0.1

help needed ...stuck in boot lopp after downgrading to 4.1.2 with odin from cm14

I downgraded gt-i9100 from cm14 to stock 4.1.2 by flashing stock firmware with odin.... no matter how many times i re flash it gets stuck in boot loop...but when i flash 4.0.4 firmware with odin it boot and works fine..... tried every way...but no success till now help me out guys
garry4rm.asr said:
I downgraded gt-i9100 from cm14 to stock 4.1.2 by flashing stock firmware with odin.... no matter how many times i re flash it gets stuck in boot loop...but when i flash 4.0.4 firmware with odin it boot and works fine..... tried every way...but no success till now help me out guys
Click to expand...
Click to collapse
Hi,
Make sure you are using stock partition sizes and that you have went to recovery and used factory reset.
Try using Siyah kernel or Apolo Kernel to get past bootloop.
Saber.
Saber said:
Hi,
Make sure you are using stock partition sizes and that you have went to recovery and used factory reset.
Try using Siyah kernel or Apolo Kernel to get past bootloop.
Saber.
Click to expand...
Click to collapse
do i have to select repartition while using odin............ when to flash kernels?... before first boot or when it is stuck?
garry4rm.asr said:
do i have to select repartition while using odin............ when to flash kernels?... before first boot or when it is stuck?
Click to expand...
Click to collapse
If you haven't repartitioned your device or never heard of it before, you have stock partition sizes. You should only tick repartition in ODIN if and only if you have a pit file to use with it otherwise it will hardbrick your device.
You can flash any of the kernels now if you want as the order doesn't matter.
Saber.
Saber said:
If you haven't repartitioned your device or never heard of it before, you have stock partition sizes. You should only tick repartition in ODIN if and only if you have a pit file to use with it otherwise it will hardbrick your device.
You can flash any of the kernels now if you want as the order doesn't matter.
Saber.
Click to expand...
Click to collapse
i followed the needed steps using lanchon-repit- when i flashed marshmallow.. i guess it had to increase size of partition...
garry4rm.asr said:
i followed the needed steps using lanchon-repit- when i flashed marshmallow.. i guess it had to increase size of partition...
Click to expand...
Click to collapse
That would mean you are running custom partition sizes.
In order to go back to stock, you must restore original partition sizes using either lanchon's repit tool again (in recovery) using the parameters for stock sizes or using the stock pit file contained in my repartition guide.
After you change partition sizes, it is required for you to flash your ROM again and do a factory reset.
Saber.
garry4rm.asr said:
I downgraded gt-i9100 from cm14 to stock 4.1.2 by flashing stock firmware with odin.... no matter how many times i re flash it gets stuck in boot loop...but when i flash 4.0.4 firmware with odin it boot and works fine..... tried every way...but no success till now help me out guys
Click to expand...
Click to collapse
Hi There,
If You are Looking To Return Back to the official rom you have to choose the repartition and install the rom from the offecial site http://www.sammobile.com/firmwares/database/GT-I9100/ using odin
Saber said:
That would mean you are running custom partition sizes.
In order to go back to stock, you must restore original partition sizes using either lanchon's repit tool again (in recovery) using the parameters for stock sizes or using the stock pit file contained in my repartition guide.
After you change partition sizes, it is required for you to flash your ROM again and do a factory reset.
Saber.
Click to expand...
Click to collapse
thanks a lot dear.... am back on 4.1.2..... pheeeewwww...:good:
Saber said:
If you haven't repartitioned your device or never heard of it before, you have stock partition sizes. You should only tick repartition in ODIN if and only if you have a pit file to use with it otherwise it will hardbrick your device.
You can flash any of the kernels now if you want as the order doesn't matter.
Saber.
Click to expand...
Click to collapse
hi there
recently uninstalled RR 7.1.1 and faced the same issue.
can you please tell me how i can do that step by step (complete beginner)
where do i get the pit file?
how do i install it with odin?
what else do i need to install the pit file?
bronx mantis said:
hi there
recently uninstalled RR 7.1.1 and faced the same issue.
can you please tell me how i can do that step by step (complete beginner)
where do i get the pit file?
how do i install it with odin?
what else do i need to install the pit file?
Click to expand...
Click to collapse
Hi there,
the current recommended method for repartition your device is using Lanchon's REPIT tool. Documentation is given in the github link, just follow the setup for stock sizes.
Also, ensure you have the latest TWRP before using the tool.
Too hard? You can try my guide here (pit files linked in guide as well)
Saber said:
Hi there,
the current recommended method for repartition your device is using Lanchon's REPIT tool. Documentation is given in the github link, just follow the setup for stock sizes.
Also, ensure you have the latest TWRP before using the tool.
Too hard? You can try my guide here (pit files linked in guide as well)
Click to expand...
Click to collapse
hie
so i tried to focus on doing this today but my brain is fried (huge day at work)
is there a video that i can follow to revert to stock partition?
another alternative i am willing to take is to install RR 5.8.2 on the phone and since i have the required partition for it, can u help me install twrp (i have those files) and then the RR rom? [currently running CWM-based recovery v6.0.1.2-Siyah
another issue i am facing is that i cant seem to install anything from the external SD card...
bronx mantis said:
hie
so i tried to focus on doing this today but my brain is fried (huge day at work)
is there a video that i can follow to revert to stock partition?
another alternative i am willing to take is to install RR 5.8.2 on the phone and since i have the required partition for it, can u help me install twrp (i have those files) and then the RR rom? [currently running CWM-based recovery v6.0.1.2-Siyah
another issue i am facing is that i cant seem to install anything from the external SD card...
Click to expand...
Click to collapse
Hi,
I don't know any video links that I trust, but there are many very detailed guides on XDA showing you how to update to Nougat (RR 5.8.2 included).
Perhaps try this guide
It is a little lengthy and the formatting of the text could have been done better, however it is very complete and basic enough that anyone should be able to follow.
The reason why nothing can be installed from your sd is because your recovery is too old. Android Lollipop+ requires at least CWM 6.0.4.7+ (outdated) or TWRP 2.7+ (recommended, current version: 3.x).
If you are unfamiliar with some of the terms used in any of the guides I provided, I suggest that you google them or at least do some research as the procedure could involve deleting everything from your device and etc.
ficxed
Saber said:
Hi,
I don't know any video links that I trust, but there are many very detailed guides on XDA showing you how to update to Nougat (RR 5.8.2 included).
Perhaps try this guide
It is a little lengthy and the formatting of the text could have been done better, however it is very complete and basic enough that anyone should be able to follow.
The reason why nothing can be installed from your sd is because your recovery is too old. Android Lollipop+ requires at least CWM 6.0.4.7+ (outdated) or TWRP 2.7+ (recommended, current version: 3.x).
If you are unfamiliar with some of the terms used in any of the guides I provided, I suggest that you google them or at least do some research as the procedure could involve deleting everything from your device and etc.
Click to expand...
Click to collapse
hi.
tried the guide you provided. however, i couldnt get past installing either of the cwm recoveries (cant install philz touch from ext sd card and Odin wont flash Kitkat compatible). fortunately i had it in internal storage but it wont install kernel lanchon .zip because that in the ext sd card. is there anyway around this?
bronx mantis said:
ficxed
hi.
tried the guide you provided. however, i couldnt get past installing either of the cwm recoveries (cant install philz touch from ext sd card and Odin wont flash Kitkat compatible). fortunately i had it in internal storage but it wont install kernel lanchon .zip because that in the ext sd card. is there anyway around this?
Click to expand...
Click to collapse
update: i fixed the issue. it worked. thanx.

How to install TWRP straight from Samsung's default Recovery option?

Hi,
I have the i9100 device. I just flashed Samsung's default Stock ROM on it, using ODIN and it is booting.
I want to know how to install root and then TWRP on this now?
The problem is, TWRP is only releasing an IMAGE file and not a zip or a tar file.
How do I flash this IMAGE into my recovery partition? What is the recommended way of doing it. None of these tutorials are explaining this to me.
Do I have to install CWM first? I am confused. If you can give me a step-by-step overview of what to do, that would be great.
Thanks
zetret said:
Hi,
I have the i9100 device. I just flashed Samsung's default Stock ROM on it, using ODIN and it is booting.
I want to know how to install root and then TWRP on this now?
The problem is, TWRP is only releasing an IMAGE file and not a zip or a tar file.
How do I flash this IMAGE into my recovery partition? What is the recommended way of doing it. None of these tutorials are explaining this to me.
Do I have to install CWM first? I am confused. If you can give me a step-by-step overview of what to do, that would be great.
Thanks
Click to expand...
Click to collapse
- Install in stock-recovery philz cwm 6 Kernel (root).zip (in apply Update)
- make a Backup
- update to kk compatible Recovery Like cwm 6.0.4.7.zip
- with kk compatible Flash latest unofficial cm 11 20161222.zip by zjq985063714 together with recovery-the.gangster-IsoRec-TWRP-3.0.2-1.zip.
- in twrp recovery Flash lanchons repit Tool which ist a zip-file. Use 1 GB vor System 4 GB for Data.
Now you are able to flash any rom up to Nougat.
If you would have searched enough you would have found all this in the Forum.
There are plenty of threads for everything you need.
Regards
Sent from my ME173X using XDA-Developers mobile app
Please clarify...
Hi,
What I am planning to do tomorrow is
a) Install CWM-SuperSU-v0.97.zip - this gives me root and CWM recovery
b) Then go into CWM recovery, and flash the IsoRec_TWRP_3.0.0-0_i9100.zip - Will this work?
c) Then I go to TWRP recovery, and then install REPIT, then CM ROM, and then Gapps-pico.
- How this deviates from your quote is;
a) Why do I need the philz cwm 6 Kernel (root).zip ? Is this a pre-req for CWM-SuperSU-v0.97.zip ?
b) Why flash the cm 11 20161222.zip if I am going with the latest CM 12+ later?
Please clarify... thanks.
TriboDoP said:
- Install in stock-recovery philz cwm 6 Kernel (root).zip (in apply Update)
- make a Backup
- update to kk compatible Recovery Like cwm 6.0.4.7.zip
- with kk compatible Flash latest unofficial cm 11 20161222.zip by zjq985063714 together with recovery-the.gangster-IsoRec-TWRP-3.0.2-1.zip.
- in twrp recovery Flash lanchons repit Tool which ist a zip-file. Use 1 GB vor System 4 GB for Data.
Now you are able to flash any rom up to Nougat.
If you would have searched enough you would have found all this in the Forum.
There are plenty of threads for everything you need.
Regards
Sent from my ME173X using XDA-Developers mobile app
Click to expand...
Click to collapse
Hi zetret
I prefer philz because it is a save kernel (can be done in many other ways like yours)
For flashing twrp3 you need isorec kernel otherwise twrp will not show up.
That's why I use cm11 which has isorec kernel.
And I can there also use triangle away ( doesn't work on latest builds).
and because large roms like cm 13/14 and I think cm12 with large gapps cannot be installed right away because installation will get stuck.
that's why I install cm11 as step in between to increase partitions first.
You do not have to boot cm11 - boot just twrp to continue.
There are many ways to do all this (could flash isorec kernel.....)
to me it's a simple and clean way without using pc
Sent from my GT-I9100 using XDA-Developers mobile app
Can you please provide me the download link of these file? I want to flash RR rom via root & recovery.
TriboDoP said:
- Install in stock-recovery philz cwm 6 Kernel (root).zip (in apply Update)
- make a Backup
- update to kk compatible Recovery Like cwm 6.0.4.7.zip
- with kk compatible Flash latest unofficial cm 11 20161222.zip by zjq985063714 together with recovery-the.gangster-IsoRec-TWRP-3.0.2-1.zip.
- in twrp recovery Flash lanchons repit Tool which ist a zip-file. Use 1 GB vor System 4 GB for Data.
Now you are able to flash any rom up to Nougat.
If you would have searched enough you would have found all this in the Forum.
There are plenty of threads for everything you need.
Regards
Sent from my ME173X using XDA-Developers mobile app
Click to expand...
Click to collapse
dhrubaz said:
Can you please provide me the download link of these file? I want to flash RR rom via root & recovery.
Click to expand...
Click to collapse
Hi dhrubaz
Please use google search as i mentioned the proper file-names for this purpose.
(I would also have to search).
For philz cwm6 i9100 stock kernel you have to look for the right version according to your buildnumber.
For exampel: PhilZ-cwm6-XWLSD-OXX-4.87-i9100.zip
Sent from my ME173X using XDA-Developers mobile app
Ignore this guy from Vienna
Just ignore the other guy. Most of the things he mentions are unnecessary or out of date. Just follow the three steps I mentioned in my post. That works.
dhrubaz said:
Can you please provide me the download link of these file? I want to flash RR rom via root & recovery.
Click to expand...
Click to collapse
zetret said:
Just ignore the other guy. He doesn't know what he's talking about. Most of the things he mentions are unnecessary or out of date. Just follow the three steps I mentioned in my post. That works.
Click to expand...
Click to collapse
hi
This is a very rude way to talk about me.
i help people here as much as i can and got many thanks because quite some people
are happy to have installed it properly.
so please stick to the forum rules and stay polite.
if you dont want my help dont use ist.
regards
zetret said:
Just ignore the other guy. He doesn't know what he's talking about. Most of the things he mentions are unnecessary or out of date. Just follow the three steps I mentioned in my post. That works.
Click to expand...
Click to collapse
You are giving people wrong advice. @Lanchon himself told you this will not work
Regards
TriboDoP
Sent from my ME173X using XDA-Developers mobile app
@zetret
I'm replying to you here because it is getting OT in the other threads
The best advise I can give(and one of the core rules of XDA) is start searching in XDA, searching on the internet for the answers to your questions. This site is not for spoon-feeding everyone who is new to this.
But to try to clear up a couple of things:
The original kernel partition in the S2(i9100) "housed" the kernel and recovery together. This is why when you install an older kernel(pre isorec) you are over-writing both the kernel and recovery. So if the kernel is not compatible with the rom, then you will get a bootloop if you try to boot into the system. You can still use this recovery however. You need to decide if you are flashing the kernel to use the kernel to boot the rom OR use the recovery even if the kernel is no good to you.
Isorec changed this. Instead of using the bundled recovery in the kernel(it is still there), you are using the new isorec recovery in the previously unused recovery partition(once you have flashed it there). Once you have flashed the isorec recovery it will stay there. No need to flash it again. An isorec kernel is needed to recognize and boot the isorec recovery, otherwise the bundled recovery will be used.
Please use the search function in future. This is only spoon-feeding I will give.
I apologize. These steps only work if there current Kernel you have is "isorec" compatible. For the Kernel that I had on one of my devices, I went to its thread, and searched for "isorec" and there was no mention of it - which apparently here means that it is not compatible.
If you don't have a Kernel that is isorec compatible, please follow the suggestion offered below, and get to an "isorec" compatible Kernel like 'Siyah-Dorimanx-V8.70-JB-SGII-PWR-CORE-DRAGON-TRIM". I will try this and update this thread later.
dhrubaz said:
Can you please provide me the download link of these file? I want to flash RR rom via root & recovery.
Click to expand...
Click to collapse
@zetret
so you still think it is not rude to say about me:
"Just ignore the other guy. He does not know what he is talking about"
(and you gave wrong advice at the same time)
and in Lanchon isorec thread you said also to me in post 546:
"........You have also shown no understanding of what isosrec means......"
So this is coming from you, a person who had at this time not even the basic knowledge about isorec
only by asking in lanchons thread NOW you found out about the need of isorec compatible kernel.
(which i already told you BEFORE in post 4).p
Now you keep in Lanchons thread complaining and blaiming others why you did not know and unterstand isorec.
You should really show some respect for people here like @the.gangster who is giving the community a lot of support and detailed knowledge in many posts.
For future...
To anyone reading in the future, this is just an overview of what to do.
#: Backup your contacts and photos to your laptop.
a) Install CWM-SuperSU-v0.97.zip - this gives you root and CWM recovery
b) Now, backup your current (Android 4.1.2+root) and reboot to recovery
- If at any point, anything fails, you can restore this and start again.
c) Wipe everything (Factory reset+cache)
d) Install CWM version (philz_touch_6.25.0-i9100.zip) for i9100 from here (https://mega.nz/#F!oZ1QDDbC!Ko20UNhowwIlXLVFjJsyKw!lR9AARIa)
- This upgrades your CWM and is apparently a step needed to get to TWRP.
e) Install any IsoRec compatible Android custom ROM and don't reboot
- Check this for more info: (https://forum.xda-developers.com/ga...nofficial-i9100-cyanogenmod-11-build-t3405634)
f) Install a compatible TWRP file that some people have packaged as a ZIP! If you go to the official downloads folder, you will ONLY find an IMAGE file and for new users, we don't know what to do with that.
- Search for something like recovery-the.gangster-IsoRec-TWRP-3.0.2-1-i9100.zip
g) Reboot to recovery
h) You should be able to see TWRP now!
i) Now, you can install Lanchon's REPIT. If you need more help - follow wonderful guides like this to get everything up and running -
__a) http://galaxys2root.com/galaxy-s2-r...0-1-marshmallow-rom-on-galaxy-s2-repartition/
__b) For ROM installation: http://highonandroid.com/android-ho...-marshmallow-rom-using-twrp-failproof-method/
j) Thanks! and if I missed some steps and made it difficult to understand, please correct me. I failed many times and wrote this from my memory and therefore, some things may be missing.
Also, the first three steps above may not be necessary. For some reason, Step 'd' failed for me initially from Stock Rom and I had to do step 'a', but this may not be the case for you. Having that backup in Step 'b' is worth it.
# Restore your contacts and photos from your laptop.
zetret said:
To anyone reading in the future, this is just an overview of what to do.
#: Backup your contacts and photos to your laptop.
a) Install CWM-SuperSU-v0.97.zip - this gives you root and CWM recovery
b) Now, backup your current (Android 4.1.2+root) and reboot to recovery
- If at any point, anything fails, you can restore this and start again.
c) Wipe everything (Factory reset+cache)
d) Install CWM version (philz_touch_6.25.0-i9100.zip) for i9100 from here (https://mega.nz/#F!oZ1QDDbC!Ko20UNhowwIlXLVFjJsyKw!lR9AARIa)
- This upgrades your CWM and is apparently a step needed to get to TWRP.
e) Install any IsoRec compatible Android custom ROM and don't reboot
- Check this for more info: (https://forum.xda-developers.com/ga...nofficial-i9100-cyanogenmod-11-build-t3405634)
f) Install a compatible TWRP file that some people have packaged as a ZIP! If you go to the official downloads folder, you will ONLY find an IMAGE file and for new users, we don't know what to do with that.
- Search for something like IsoRec_TWRP_3.0.0-0_i9100.zip
g) Reboot to recovery
h) You should be able to see TWRP now!
i) Now, you can install Lanchon's REPIT. If you need more help - follow wonderful guides like this to get everything up and running -
__a) http://galaxys2root.com/galaxy-s2-r...0-1-marshmallow-rom-on-galaxy-s2-repartition/
__b) For ROM installation: http://highonandroid.com/android-ho...-marshmallow-rom-using-twrp-failproof-method/
j) Thanks! and if I missed some steps and made it difficult to understand, please correct me. I failed many times and wrote this from my memory and therefore, some things may be missing.
Also, the first three steps above may not be necessary. For some reason, Step 'd' failed for me initially from Stock Rom and I had to do step 'a', but this may not be the case for you. Having that backup in Step 'b' is worth it.
# Restore your contacts and photos from your laptop.
Click to expand...
Click to collapse
could you please instruct simply and also provide download links for all the required files
right now on stock 4.1.2 and flashed CWM-SuperSU-v0.97.zip
that's it
now please provide required file links and instruct from here
thx...
Anyone...?
@hacker1911
I'd still recommend you to follow either post #2 or this one which is slightly outdated but still valid. Only syntax of repit.zip changed (needs units now) and the IsoRec-twrp in step 7 is meanwhile available as version 3.0.2-1. But if you read both, you should be able to succeed.
Hi, you cannot flash it straight,
so you can follow my step-by-step tutorial for flashing Recovery +/- ROM and +/- reformat.
Read more here : https://forum.xda-developers.com/galaxy-s2/help/guide-tutorial-samsung-galaxy-s2-i9100-t3538601
I figured this one out
To use Philz CWM 6, do I have to downgrade from 5.0.1 to 4.4.x? Or will it work with 5.0.1?

Categories

Resources