yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] DaveX2012:
The first one CM 12.1 download link take me to cm 13. Can only find one CM 12.1 that's snapshot version. Can't also flash TWRP .
[Galaxy S II Original Android Development] Lanchon:
please read the messages the.gangster sent you once again, you obviously need to. and please discuss CM in a CM thread, not here.

i know we all want to help, but there are many people subscribed to this thread that are now getting notifications of something they don't care about. not to mention that looking for relevant info about isorec becomes harder for future users. spoon feeding does not help anyone in the long run, it's better to just say 'this is OT here' than to answer. please keep it on topic. :)
[Galaxy S II Original Android Development] DaveX2012:
Well i don't need to spoon feeding MR. [MENTION=4141005]Lanchon[/MENTION]. I just ask where to find the thread. why are you are not happy about ?
[Galaxy S II Original Android Development] the.gangster:
[MENTION=4715058]DaveX2012[/MENTION]

Because this is totally off-topic here. Search and post in the CM12.1 forum instead! (I was already about to answere that when Lanchon did)

Once more: You will find everything there. Not in its OP but in the thread. For latest current unofficial link just read backwards a few post back from the end and for latest official snapshot backup links search for "cm-12.1-20160203-NIGHTLY-i9100.zip". And I agree, this is spoon feeding.

It's sad this needs to be explained to someone who already has a postcount of 1300+.
[Galaxy S II Original Android Development] McConnor:
Because that Thread is easy to find If you care to search in the i9100 development Thread. You are demanding a busy Dev is doing the work for you...

Gesendet von meinem SM-G930F mit Tapatalk
[Galaxy S II Original Android Development] themacmaniac:
Flashing TWRP3 no adb-connection?

Hi there

I've got a problem with a Samsung Galaxy S2 I got from a friend. It's from january 25 2013, so I suppose it comes with android ICS. I already was searching the forums and hope this is the right place to put my question as I ended up with this thread.

I tried to flash the TWRP-Recovery twrp-3.0.2-1-i9100.img as described at CyanogenMod-Website with Heimdall on Linux. Ever since, the GT-I9100 won't boot, but stucks at the yellow triangle. It won't boot into recovery mode neither.

I then found out about isoRec, and that CyanogenMod 12.1 Kernel is isoRec-compatible as well as TWRP3 in this thread here.

So I tried out flashing TWRP with adb to /dev/block/mmcblk0p6. But adb-connection is not working, and I can't enable usb-debugging as the phone won't boot into Android.

I already flashed Samsung S1 and S5, but now with S2 I'm completely stuck. Anyone got an idea what I have to do? Maybe just push me into the right direction.

I really appreciate any help.
[Galaxy S II Original Android Development] franticfreddy:
Hello, in short words:

1) check if you can get your s2 into download mode odin (volumedown+home+power)

2. if yes then use *windows* pc system with odin programm to flash latest stock rom

3. if stock rom flash is working and your s2 is back to life then read this forum about

repit the device (*important*) before doing anything else (or wrong maybe).

4. if you did repit your device you could install cm kernel and then additionally the iso-rec

twrp version

5. when succeed then you can enter the isorec twrp and install your cm of your choice..

Edit: I really highly recommend *not to use Heimdall* in any version for Linux or Windows. Especially for novice users.

It can really badly screw up your phone when you did anything wrong with it.

Always use a good windows pc system with its recent (samsung&adb-)drivers.
[Galaxy S II Original Android Development] themacmaniac:
Flashing kernel?

First thanks for your quick answer. I was able to install stock firmware with Odin and bring the phone back to work - even though I was unable to find a good windows system ;) Found out the phone runs Jelly Bean btw.

Concerning the next steps, I need some clarification:

I actually didn't find an isolated CM 12.1 kernel, but will try Lanchon's kernel version kernel-Lanchon-TRIM-IsoRec-20160112-cm-11-i9100.zip (from androidfilehost.com/?w=files&flid=47607).

But first I will have to repit, as I understood it's "just" repartitioning the device (as partition-sizes are not optimal). The repit-thread in the forum is dead, but one can find information on github (github.com/Lanchon/REPIT). What I don't understand: you tell me to repit, but on github it says that it will work with TWRP only!

So do you suggest installing the mentioned kernel, then TWRP and repit afterwards (if needed at all as I won't try out CM 13)?

Do I just put the Zip-File of the kernel in the PDA-section in Odin to install the kernel?

I rather ask again than maybe hardbrick the phone :o

Sorry for the URLs in text, I'm not allowed to link them.
[Galaxy S II Original Android Development] TriboDoP:
Hi @ themacmaniac

Do you want to stay on stock jelly bean? Then you could root the phone by flashing philz cwm6 recovery zip using your stock recovery.

For updating to other customrom like cm11 you have to flash kk compatible recovery first.

For cm 13 do repartitioning first.

You can do it with odin aswell: flash pitfile 1gb system_4gb together with gustavo kernel (format in revovery!!). Then clean install in recovery cm 13 zip + gapps zipp + twrp3.zip in one go.

For repartitioning look noob friendly guide " how to increase system partition" and for updating noob friendly guide " want to update to cm 13 ..." both by [MENTION=589051]gss[/MENTION]tudios
[Galaxy S II Original Android Development] themacmaniac:
Hi TriboDoP

Thanks for your answer.

I actually intended to flash a custom rom (CM12.1) as I did before with the galaxy S and S5.

Now I'm stuck with the isoRec-issue.

I plan to continue like this:

Flash the Lanchon-kernel kernel-Lanchon-TRIM-IsoRec-20160112-cm-11-i9100.zip (from androidfilehost.com/?w=files&flid=47607) with Odin. As I experienced, flashing a custom recovery such as TWRP won't work as the S2 won't boot the recovery partition.

Flash the recovery

Flash custom ROM.

What do you think, will this procedure be successful?

Or would flashing TWRP3 with Odin instead of Heimdall already be enough to solve the problem with the vestigial recovery partition?

Edit: Forgot to ask this: as the downloaded kernel is not a tar-file I could install it with the stock recovery? Read this here: http://xdaforums.com/showthread.php?t=1760517
[Galaxy S II Original Android Development] TriboDoP:
Hi [MENTION=7776728]themacmaniac[/MENTION]

Just to be sure: you are on stock jb and your device is rooted and on a custom-recovery? Only then you can continue to flash custom-roms.

And there is no need to flash isorec-kernel because all latest roms lp and mm (even some kk) have isorec-kernel. Just flash cm 12.1 + gapps + twrp 3....

One important thing: as lp and mm are large it is highly recommended to increase the space for it (increase system and data partition). Without you can install lp with smallest gapp-package and cm 13 with gapps cannot be installed at all and you get stuck on error.

Really think about it and let me know if you need help.
[Galaxy S II Original Android Development] Lanchon:
- (preload the following needed 3 files on the phone)

- flash isorec TWRP 2:

https://www.androidfilehost.com/?fid=24369303960684130

- flash my CM 13 kernel:

https://www.androidfilehost.com/?fid=24459283995313934

- reboot recovery, now you should be in TWRP 2

- use twrps "install image" button to install latest official twrp 3

- reboot recovery, now you should be on twrp 3

- now you can use MTP via USB to load files on the phone.

- use my latest REPIT to change to 1G system and 6G data, wiping all partition you don't need to keep with repit.

- download and flash any rom (i think cm13 is running fine)

- you may want to flash the modem, i attached one here.
[Galaxy S II Original Android Development] tayeb21:
Is there a video how to install Recovery Isolated
[Galaxy S II Original Android Development] ssanjy:
I haven't come across any such video so far.....Just follow the OP and you'll be getting it without any troubles...
[Galaxy S II Original Android Development] the.gangster:
Is there a video on how to read an opening post and how to follow three steps?

Or maybe three videos?

- one showing how to download the recovery

- one to show how to switch to adb root

- one showing someone typing the adb push commandline

;)
[Galaxy S II Original Android Development] octaviojss:
Hi, i followed the steps carefully either for heimdall suite and for adb push command and none worked, the phone runs ok and it is still with cm13 recovery. I tried flashing isorec TWRP zip file via cm recovery, it flashed, but when i reboot the cm13 recovery is there. im out of words.
[Galaxy S II Original Android Development] Lanchon:
jesus! and you want people to support you with that? what isorec TWRP zip file you flashed? via which recovery exactly and obtained where? what was the output? using what kernel? and what rom? on what device? etc etc
[Galaxy S II Original Android Development] davidvanwijk:
After flashing directly reboot into recovery.

Verstuurd vanaf mijn GT-I9505 met Tapatalk
[Galaxy S II Original Android Development] themacmaniac:
Thank you for your help. Great you provided the links to all the necessary files, as for instance i didn't find a isorec-TWRP2-File.

Your approach actually seems clear to me - but I'm still stuck :-/

The TWRP2-File I downloaded from your link is a zip-File. So I can't flash it with Odin, right (the AP-section only allows some images and tar)? As I also don't have a custom recovery and no rooted phone, I am unable to do it over recovery neither.

Is there a way to convert the file from zip to tar? Or is a flashing the zip-file over heimdall possible (and to what partition)? How would you flash it?
[Galaxy S II Original Android Development] TriboDoP:
Hi

First flash philz cwm 6 kernel/recovery (which has root) .tar - file .

Then you have root and a recovery which can flash .zip Files.
[Galaxy S II Original Android Development] Lanchon:
isorec recovery CANNOT be flashed via odin. you need to have some working recovery before starting to flash isorec TWRP 3.
[Galaxy S II Original Android Development] themacmaniac:
hi guys

I still don't get it...I thought because of the vestigial recovery partition it is not possible to have a custom recovery (as mentioned in the first post of this thread)?

Anyway, I tried to install philz_touch_6.48.4-i9100.tar.md5 via Odin3 v3.12.3. Firewall was down, Kies as well, I tried different cables and different USB-ports. The following error showed up every single time:

<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/006> Added!!
<ID:0/006> Odin engine v(ID:3.1203)..
<ID:0/006> File analysis..
<ID:0/006> SetupConnection..
<ID:0/006> Initialzation..
<ID:0/006> Get PIT for mapping..
<ID:0/006> Firmware update start..
<ID:0/006> SingleDownload.
<ID:0/006> recovery.img
<ID:0/006> FAIL!
<ID:0/006>
<ID:0/006> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)

I have no idea what the problem is here.

I tried with Rom Manager app too, but it didn't support S2.

How can I make a custom recovery work so that I can continue with the steps as Lanchon proposed?

I hope I'm not spamming too much, but it drives me crazy! Can't be that hard...

Appreciate your help and patience!
[Galaxy S II Original Android Development] TriboDoP:
hi

as i mentioned some posts before you need root and a custom-recovery to continue.

if you do not know how to do maybe you should search for this in the forum.

an easy and safe way is to flash philz-cwm 6 which can be flashed with odin as .tar-file or in stock-recovery as signed.zip-file.

you have to choose the recovery-version according to your build-number.

you can find all the information in the thread by phil3759 "PhilZ-cwm6 i9100 stock kernel ..........."
[Galaxy S II Original Android Development] Lanchon:
this thread is not a place to discuss rooting or how to flash a zip. please look for help on how to install your first non-isorec recovery elsewhere. the stock recovery on the S2 has a bug that allows flashing specially crafted zips that are not signed by Samsung. this means that you can install your first monolithic kernel+custom recovery (RECOMMENDED) by simply obtaining a so called "signed" zip and flashing it using the stock recovery. alternatively, you can root just as easily by flashing a root package in the same way. once rooted you can probably use Flashify to flash a custom kernel+recovery or flash an isorec kernel and an isorec recovery.

PLEASE DO NOT POST ON THIS THREAD ANYMORE UNLESS DIRECTLY RELATED TO FLASHING AN ISOREC RECOVERY.

if you do, i wont answer you.
[Galaxy S II Original Android Development] themacmaniac:
yeah, sorry, the whole thing got off topic.

thanks anyway!
[Galaxy S II Original Android Development] themacmaniac:
***problems solved***

hi guys

thanks to your help, I was able to put CyanogenMod on my S2.

[MENTION=4141005]Lanchon[/MENTION]: with your clue looking for a signed recovery and step-by-step guide, I finally was able to flash isorec-kernel and TWRP-recoveries and even managed to repit with your great tool. Thanks a lot!
[MENTION=7031250]TriboDoP[/MENTION]: you told me to install philz cwm, of which I've found a signatured zip which I could install through the custom recovery. Dankeschön!

Have a nice day!
[Galaxy S II Original Android Development] zetret:
Do I need CWM recovery to install isorec-TWRP?

Good Evening

I just flashed the Samsung Stock ROM firmware on i9100 and it is not rooted. The question that is not answered in this thread is, Can I go from Stock recovery to isorec-TWRP? If yes, how?

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.

Does this seem like the right thing to do? Or is there a way to skip step a) and go straight to TWRP from there.

I hope I have written in very clear easy English, and expect the replies to tell me clearly what to do. Hope you will.

Thanks.
[Galaxy S II Original Android Development] TriboDoP:
I already answered to this in your other thread.

Please avoid double-posting.

Regards
[Galaxy S II Original Android Development] zetret:
Well...

I posted this before I asked you this in the other thread.

You haven't been clear in answering this question. You have simply plugged an old Kernel without providing any good explanations on why things would work. You have also shown no understanding of what isorec means. Therefore, I believe, it is good to ask other people who may be more articulate on this subject.
[Galaxy S II Original Android Development] TriboDoP:
Hi

I explained exactly in your other thread (Look post #4) why i do it in this way.

There ist no need to be offensive and inpolite.

And yes i do know all about isorec since Lanchon had this great idea some time ago and have flashed successfully all mm and Nougat Roms on many devices.

So p!ease calm down because we are all here to help each other in a nice way.

If you can provide better help just do it but do not violate the forum rules with bad behavior.

Thanks!

---------- Post added at 10:34 PM ---------- Previous post was at 10:12 PM ----------

@Lanchon

Sorry for spamming your thread

Regards

TriboDoP
[Galaxy S II Original Android Development] Lanchon:
no, it will not work.

> The question that is not answered in this thread is, Can I go from Stock recovery to isorec-TWRP?

the supported ways to install isorec kernels and recoveries are covered in the relevant documentation of each item, not in this thread.
[Galaxy S II Original Android Development] zetret:
Why does it not work.

Thanks Lanchon... Can you please point me to why the isorec-twrp installation from CWM does not work? (It says successful, but takes you back to CWM again)

(The main problem seems to be that TWRP is releasing an IMAGE file and I can't flash it from CWM. Where do I get a TAR that I can flash from ODIN or a zip I can flash from CWM - I am very very confused by this)
[Galaxy S II Original Android Development] Lanchon:
no, that is not the problem.

the reason it doesnt work is explained in the OP of this thread. it says you require an isorec kernel. you dont have one.
[Galaxy S II Original Android Development] zetret:
Sorry, forgot to mention that I flashed "Siyah-s2-v6.0b5 Kernel +Recovery" on the i9100...

If you know if this is isorec compatible, please let me know.

P.S: If you know how to install the TWRP image from any other means other than ADB, please let me know too.

Thanks.

Regards
[Galaxy S II Original Android Development] :
Thread cleaned. Play nice people or we will start taking action against accounts

Regards

Sawdoctor
[Galaxy S II Original Android Development] bit032:
can I just copy the twrp.img to dev/block with root explorer?. I try with adb root but don´t work stuck always, I try adb shell too but say device not found or something, I try too convert the file recovery.img into recovery.tar.md5 but odin say setup connection and sometimes stuck on nand write. I try to change stock recovery with flashify and official twrp app say flash complete reboot but still with the same stock recovery.
[Galaxy S II Original Android Development] TriboDoP:
The most simple thing would be installing the twrp3.zip from [MENTION=6560258]the.gangster[/MENTION] with a recovery.....

---------- Post added at 09:41 PM ---------- Previous post was at 08:55 PM ----------

And:

You are on which rom/recovery?

You know the need of isorec-kernel?

you know the need of repitting system/data partitons for installing MM/Nougat roms + gapps?
[Galaxy S II Original Android Development] bit032:
Which zip?. Can I install twrp3.zip with stock recovery?. Im in stock rom android 4.1.2 yes I know how to repit the files but first I need to install custom recovery.

twrp3.zip works with my s2 i9100 phone?.
[Galaxy S II Original Android Development] TriboDoP:
You cannot install isorec twrp 3

on stock rom/recovery.

You have to root first and install a custom recovery.

Then using a kk compatible recovery install isorec kernel (or latest cm11 with isorec-kernel) together with isorec twrp3.zip from the.gangster.

In twrp 3 repit to 1gb system/4gb data by flashing lanchon repit tool (is a zip-file).

Now you can install any mm/nougat rom + gapps.
[Galaxy S II Original Android Development] bit032:
I have rooted phone but I can´t install custom recovery I try with flashify, twrp official team, mobile odin but nothing change, in mobile odin I can´t see the recovery option. I try delete the file install_recovery.sh but nothing change. Odin in pc gives me a lot of errors, stuck on setup connection, stuck on nand write, gives fail error..
[Galaxy S II Original Android Development] the.gangster:
You are one of those candidates who could really manage to brick their phone, wildly trying things without reading.

My advice: Read here or here and this one for background information.
[Galaxy S II Original Android Development] bit032:
Edited.
[Galaxy S II Original Android Development] Lanchon:
i want to float and fly into the sunset. what you want is irrelevant because you are bound by reality. so either do what people tell you or understand reality and start wanting achievable things. you CANNOT install a custom recovery without installing a custom kernel. i suggest you read until you know why. and also read on what the isorec trick is.
[Galaxy S II Original Android Development] Lanchon:
i am the OP. you called me by posting on my thread. good luck.
[Galaxy S II Original Android Development] Prinus:
Please read before reply...
[Galaxy S II Original Android Development] Prinus:
Like the graphics :good
[Galaxy S II Original Android Development] TriboDoP:
Yes, you should really read before posting and you should show more respect for [MENTION=4141005]Lanchon[/MENTION] who created isorec and supports the community in many ways!

---------- Post added at 09:52 PM ---------- Previous post was at 09:17 PM ----------

I do not know why this guy [MENTION=7654454]bit032[/MENTION] was torturing us how to install twrp 3 on stock rom while he is already on lineage OS14.1 (#984) .......?

Sorry for spamming
[Galaxy S II Original Android Development] Lanchon:
lol ok guys, fun's over!

please lets keep it on topic before moderators come and ban us all :)

bit032, sorry i had to call your attention somehow. people already told you stuff that you dismissed. had i just told you what to do, chances are you would have ignored me too.

so yes, you need a custom kernel. because only isorec-capable custom kernels can load and launch an isorec recovery. the whole point of this complication is filling the gap that samsung left us with: this platform cannot boot a alternate kernel/recovery bundle flashed to the recovery partition, like most standard android phones can. in fact, the recovery partition has never been used before isorec.

in the end is my fault. this thread was a development thread, but S2 noobs land here with the same old invalid assumptions carried to the S2 from other android platforms. i have to write an introduction in the OP for S2 noobs.
[Galaxy S II Original Android Development] octaviojss:
I had cm12.1 in gt-i9100, with cm default recovery, which, in all, it should be compatible with this recovery. (latest version 3.0.2-1 for the said model) But when I tried to flash, it simply wouldn't flash.
[Galaxy S II Original Android Development] Lanchon:
yes it flashed. why don't you read the OP? or at least read the message immediately previous to you own post???

you know, on XDA you are required to read before posting: at least the OP and the last couple of pages of the thread. by not doing this you are wasting everybody's time, including yours, and creating noise that nobody cares about.
[Galaxy S II Original Android Development] Prinus:
Thanx (to the Cleaners)
[Galaxy S II Original Android Development] octaviojss:
I finally made it, using this tutorial. Not Thx to the developers.

https://xdaforums.com/galaxy-s2/help/guide-tutorial-samsung-galaxy-s2-i9100-t3538601
[Galaxy S II Original Android Development] the.gangster:
N o c o m m e n t ...
[Galaxy S II Original Android Development] Droidriven:
That's the whole point that was made to you by another member here, learn to search and read, if you had done that from the beginning then your complaining would not have been necessary.
[Galaxy S II Original Android Development] Droidriven:
That's your opinion, but the point is the forum rules state to search BEFORE asking and to be respectful when posting, you didn't do either one of those things.
[Galaxy S II Original Android Development] :
Thread cleaned yet again. Will users start showing some respect to the OP, this is a DEVELOPMENT thread to discuss development try asking questions (certainly ones not related to the op) in the Q&A forum.

If we have to come back and clean up again then we will start taking action against accounts

Regards

Sawdoctor
[Galaxy S II Original Android Development] roozbeh158:
I need latest twrp recovery for rr 581.

Tnks
[Galaxy S II Original Android Development] paolone919191:
doesn't work

pushing via adb root doesn't work: no errors reported but if I reboot in recovery mode I can only go to cyanogenmod recovery.

Using linux adb on i9100 with CM13.1
[Galaxy S II Original Android Development] the.gangster:
[MENTION=2931389]paolone919191[/MENTION]

Please provide details on:

- which ROM-build and kernel you are using*

- the full commandline used for pushing

- which recovery-image you try to push (if not already obvious from the commandline requested above, eg. after renaming)

*) all of the official CM13 builds had IsoRec support from first release already, so either you use some unofficial ROM, a different kernel or push a non-IsoRec recovery-image. (You could also try to flash the ZIP linked in my signature.)