yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] nospamboz:
That was it! For some reason the regular CM13 browser app only downloads 5 KB, but when I downloaded using the Firefox app, it was 7MB. The real IMG installed fine. Thanks!

(With slow internet I probably would have noticed the too-quick download, but these days 7MB is quick.)

Now the question is why the CM13 browser only downloads 5 KB...
[Galaxy S II Android Development] ssandyji:
I think its permission problem to save the sd card please checked or off the permission and than re-permission again. and try.
[Galaxy S II Android Development] TriboDoP:
Great if you have new twrp aswell!

btw i tried different browsers and different phones and tablets. Download from these mobile devices (some stock-roms some custom-roms) always was only 5,10 KB
[Galaxy S II Android Development] arnab:
TWRP -3.0.2-1

Here.
[Galaxy S II Android Development] TriboDoP:
Sorry i do not exactly understand what you mean.

but i tried many devices like my asus tablet on stock 4.2.2

which got nothing to do with permissions.

Still downloaded only 5,10 KB
[Galaxy S II Android Development] nospamboz:
Well, the Firefox app from the Play Store on my i9100 downloaded the full 7MB. So did Opera Classic. But Webkit browsers like new Opera, Naked Browser, and the CM13 browser all download 5.1K.

Interestingly, if you look at the 5.1K in a text editor, it looks like the download page HTML. Is there a server-side problem at TWRP.ME whereby it transmits the wrong file for certain browsers? That would be embarrassing.
[Galaxy S II Android Development] TriboDoP:
Good thinking!

This could well be the explanation for the 5,1 KB !
[Galaxy S II Android Development] ajislav:
I don' t want to sound like a smartass, but checking the file size, or whether the ZIP can be extracted, is the least you can do. Better is to check the MD5, of course.
[Galaxy S II Android Development] arnab:
Download from the GDrive link

http://xdaforums.com/showpost.php?p=66622360&postcount=328
[Galaxy S II Android Development] :
Just an update for anyone struggling to read/flash from ext. sd card.

I have found on both 3.0.2.0 and 3.0.2.1 that formatting sd card with vfat or ext4 filesystem doesn't work. I then re-formatted with exFAT and the recovery reads the card. It may work on others. So TWRP on this device going back even to 2.8.7.0 is very restricted in reading and mounting an ext. sd card.

To be clear, I had it formatted with vfat since I started using it and it could be used in every rom I used and all recoveries(TWRP 2.7.1.0 and CWM/Philz/StanTRC 6.0.4.x+) except very early CWM/Philz(6.0.3.x) and these later TWRP.

Anyway the main problem I had with it is solved. Thanks again for your work on the S2 [MENTION=414800]arnab[/MENTION]. Greatly appreciated
[Galaxy S II Android Development] TriboDoP:
The problem was not in checking file sizes etc.

The question was:

Why do some browsers download only 5,1 K while others downloaded 7 M?

If you know the answer, please let us know.

Thanks
[Galaxy S II Android Development] Spyr0s:
no need to reboot :p
[Galaxy S II Android Development] LeBourrin:
Already answered question. Use search function.

It's a know bug from TWRP web site. Lanchon send them a bug report but the Team don't fixed it.
[Galaxy S II Android Development] Morph3R:
Hi, can you please add twrp-3.0.2-1-i9100.zip in downloads section?

Thx
[Galaxy S II Android Development] :
You don't need a .zip file. Just download the .img from either twrp website or the google drive mirror arnab posted recently and flash it with an older version of twrp.
[Galaxy S II Android Development] Morph3R:
I don't have TWRP recovery. Using IsoRec CM.
[Galaxy S II Android Development] Acid0057:
Flash the 2.8.7 zip and then use it to update to the newest
[Galaxy S II Android Development] R4B4:
Hello all. Is there any possibility to set that whenever a USB connection to a PC has always been the automatic choice,, file transfer MTP "? Thank you.
[Galaxy S II Android Development] arnab:
Its already there.
[Galaxy S II Android Development] R4B4:
I'm sorry, I was wrong, it belonged to another thread. :o
[Galaxy S II Android Development] C.Z.O:
How to flash twrp in stock jellybean rom
[Galaxy S II Android Development] the.gangster:
Not at all.

Stock ROM wouldn't check the Recovery partition at all. So no IsoRec-Recoveries for Stock JellyBean.
[Galaxy S II Android Development] PacoRabanne2k:
Flash a previous TWRP zip (I hope CM recovery can do that), reboot in TWRP recovery, and then flash latest TWRP img.
[Galaxy S II Android Development] C.Z.O:
Can some one give me link of twrp for stock jellybean
[Galaxy S II Android Development] TriboDoP:
Did you read Post #346 ?
[Galaxy S II Android Development] Skyline:
You should try isorec twrp with Dorimanx Kernel by [MENTION=4354573]chhapil[/MENTION] for 4.1.2 it have isorec support
[Galaxy S II Android Development] 5upercats:
[deleted]
[Galaxy S II Android Development] SRplatin:
open recovery script

where can I find "the open recovery script" location :confused:

thanks in advance:)
[Galaxy S II Android Development] pravingasva:
[MENTION=414800]arnab[/MENTION], can we have a shortcut button for the "Main Menu" after flashing and wiping procedures?? We need to press the back button several times.. I would really help.. Thanks.. :)
[Galaxy S II Android Development] cherryb8844:
Yes it exist just enable navigation then you can able to go home directly

In middle key is home
[Galaxy S II Android Development] arnab:
It's already there...the twrp logo on topmost left corner.
[Galaxy S II Android Development] nospamboz:
Some more data. The new Gello browser downloads 7MB, but the stock CM13 browser still only 5.1K.
[Galaxy S II Android Development] TriboDoP:
Hi!

Yes we both had and still have his problem.

[MENTION=2453512]LeBourrin[/MENTION] said in his post # 337 (page 34):

"It is a known bug on the twrp-site ...."
[Galaxy S II Android Development] javiwz:
Hi [MENTION=414800]arnab[/MENTION]! I can't found the zip file of TWRP in downlod seccion . There are only img files,where can I found them?
[Galaxy S II Android Development] :
Install the TWRP 2.8.7.0 from HERE, then reboot to this recovery and install the .img from there. You need an isorec supported kernel
[Galaxy S II Android Development] TriboDoP:
Hi

I gave you the requested informations in the thread Guide Noobfriendly increase system partition size by [MENTION=5811506]gsstudios[/MENTION]

Look on page 30 Post 4

ciao

---------- Post added at 10:38 AM ---------- Previous post was at 10:37 AM ----------

it is on page 30 but post 294

---------- Post added at 11:18 AM ---------- Previous post was at 10:38 AM ----------

[MENTION=7446720]javiwz[/MENTION]

at the beginning of the twrp-thread there is a black line.

in this black line is written (from left to right):

Discussion Downloads Reviews Feature Requests

Just tick on Downloads an there you will find twrp 3.0.2-0
[Galaxy S II Android Development] mirhl:
Two things I found:

adb sideload isn't actually exposing any adb, but instead creates a "usb storage" device

when files are copy-pasted via MTP, last modified date is changed
[Galaxy S II Android Development] shoulders:
Can a note be added to the 1st post for:

1) ODIN - if odin can be used, these are the instructions, or ODIN cannot be used because it does not support IMG files

2) heimdall - seems to have a lot of problems getting to work and the instructions on the frontage 1st post dont account for that. new ways of flashing should be added (i) install and old version of TWRP and then the new one. You can falsh the old version any way you want and here are the links. (2) the adb push method.

The reason for this is most people will come to this thread to prep their galaxy S2 for re-pitting so they can installl cm13 and GAPPS.

I am still struggling with this how it should be done. I am use to using odin but it has been a while.

thanks
[Galaxy S II Android Development] TriboDoP:
Hi

i always install isorec recovery twrp 3.0.2-1 .img using the isorec recovery twrp 3.0.2-0

(this 3.0.2-0.zip file can be found in this thread (at the beginning of thread is a black line - in this black line tick on "Downloads")

how to install 3.0.2-1.img:

download twrp.img file

in twrp 3.0.2-0 select img.file

select recovery under partition selection menu

swipe to start flash

reboot

(according to instructions in OP)

note: you can only install isorec recovery.zip on isorec kernel.

all latest cm 12.1 and cm13 have this kernel included.

So if you install any 6.0.1 rom together with isorec recovery twrp 3.0.2-0.zip you will be fine and then you can update to 3.0.2-1.img as above mentioned.

In case you are going to install cm13 or similar:

It is very important to read the thread guide noob friendly "want to update to cm13 ...." by [MENTION=5811506]gsstudios[/MENTION]

(otherwise you could run into a lot of troubles)

if you need some help let me know
[Galaxy S II Android Development] shoulders:
[MENTION=7031250]TriboDoP[/MENTION]

Thanks for the info, which very very clear. Even though I looked, I did not see the downloads bar (Black Line). There is not normally a sub menu in a forum thread.

I got a older version of TWRP from this thread somewhere recovery-Lanchon-IsoRec-TWRP-2.8.7.0-20160113-i9100-(by-arnab).zip and used that. I wish I had seen the Black Line earlier.

So I have now successfully installed TWRP v3.0.2-1-i9100 IsoRec Compatible Recovery and CM13 on my Samsung S2 which I have also re-partitioned so I could fit GApps on.

I wrote up what I did on my website just incase it might help anyone: http://quantumwarp.com/kb/articles/...cm13-0-insufficient-space-on-system-partition

Thanks
[Galaxy S II Android Development] Somewhat:
Pardon the silly question but is this compatible with i9100G just the same?

Thanks
[Galaxy S II Android Development] arnab:
Why India is black listed...wtf :-s
[Galaxy S II Android Development] GreekDragon:
Hopefully my poor country is not black listed.
[Galaxy S II Android Development] shoulders:
Fixed,

India was blocked because I was getting probed/hack attempts from India (a lot of them).

Greece is Ok
[Galaxy S II Android Development] Rebelpriest:
Followed the instructions but i'm still on Stock recovery.

Currently using the Ress Remix M via Greekdragon.

Please help out
[Galaxy S II Android Development] PacoRabanne2k:
Try to use FlashFire https://play.google.com/store/apps/details?id=eu.chainfire.flash or Flashify https://play.google.com/store/apps/details?id=com.cgollner.flashify

I've succesfully used the second to flash a TWRP recovery on a device with an unusable stock recovery. Yt has a menu dedicated to flash recovery.

Of course I'm not responsible of bricking your device!!!

Anyway, you're a Senior member, you should be skilled enough to find the right way ;) !

I followed the steps exactly as stated on OP, and haven't any problem.
[Galaxy S II Android Development] vali_ics:
I tried today to install with Heimdall and I get an error when i try to flash the recovery file...something with mount problem...

Any others guide to install cm13 ?
[Galaxy S II Android Development] :
http://xdaforums.com/galaxy-s2/development-derivatives/guide-want-to-update-to-cm13-read-t3313978
[Galaxy S II Android Development] vali_ics:
I know that but I'm on stock now and I don't know just which recovery to flash first...after I know.

It's like this = cm - apps - recovery isorec (don't know what version should I flash first)
[Galaxy S II Android Development] :
OK, you'll need flash TWRP 2.8.7.0 from HERE then update later to 3.0.2-1 .img using this recovery.

But first you need to have a compatible recovery/kernel to flash the rom, gapps and isorec recovery from stock, as the isorec recovery will only be usable after you do all this
[Galaxy S II Android Development] vali_ics:
I'm on CM12.1 with CM Recovery. What's the next step should I follow ? Working to get TWRP Isorec on phone.
[Galaxy S II Android Development] charansai:
That Banner Is Made By Me o_O
[Galaxy S II Android Development] playitlouder:
[MENTION=414800]arnab[/MENTION]

Could you please add /preload to the advanced wipe list?

Had to setup the partition type via adb shell because my old pit file didn't set the partition type of mmcblk0p12. CM11 didn't care, CM13 did not boot at all.

Tank you!

//Sorry for double posting, posted it in the old thread first.
[Galaxy S II Android Development] wiekixs4:
can i flash this using cyanogenmod recovery?
[Galaxy S II Android Development] C.Z.O:
Yes
[Galaxy S II Android Development] amir.vahidi:
I get MSVCP110.dll missing ...error when i want use heimdall suite

Update download link

Cant extract drivers folder include zadig.exe
[Galaxy S II Android Development] Syaani:
Works for me. I'll test more and report back.
[Galaxy S II Android Development] the.divergent:
Installation went fine, flashing zips works fine. I'll test more and report back.

Regards
[Galaxy S II Android Development] Tacio:
Tried to install it over DU 9.8 rom, but after flashing it still shows old recovery. What I did wrong?
[Galaxy S II Android Development] arnab:
DU 9.8 kernel not supported...Il add support on final DU L release.
[Galaxy S II Android Development] henrryxda:
good job

Thanks
[Galaxy S II Android Development] Lanchon:
my recommended workaround for this: use ext4 for /cache! there's no reason to use f2fs for cache AT ALL!!

---------- Post added at 05:40 PM ---------- Previous post was at 05:39 PM ----------

do you want help adding isorec to DU? if so where's the init script?
[Galaxy S II Android Development] Drhedphuk:
Superb, working well with AICP, thank you.
[Galaxy S II Android Development] arnab:
[MENTION=4141005]Lanchon[/MENTION] Will u be able to make a special pit for me with 105 mb cache....According to twrp devs...standard f2fs formatting tools doesnt work with partitions less than 100 mb..Our cache is 98mb...So can u plzz make a pit file with 105mb cache, 1gb system and 4gb data...rest is for internal storage.
[Galaxy S II Android Development] Spyr0s:
awesome !

how do you avoid typing again the same command in terminal? arrows are not working.
[Galaxy S II Android Development] arnab:
Ya ya..am gonna do that myself within a couple of days...I was so busy fixing twrp and making it smooth like jelly that I almost overlooked it..Il add isorec support to my kernel soon.
[Galaxy S II Android Development] arnab:
[MENTION=4141005]Lanchon[/MENTION] if u can make a modified pit for testing...plz let me know. [MENTION=5811506]gsstudios[/MENTION] If u can also help me plzz let me know...thanks.
[Galaxy S II Android Development] arnab:
Guys plz read this.
[Galaxy S II Android Development] the.divergent:
So is it better to switch to newest build of cm13 with autotrim and change to f2fs or to stay on older trimmed build with ext4 instead?
[Galaxy S II Android Development] arnab:
Read this.
[Galaxy S II Android Development] the.gangster:
[MENTION=6022607]Ojdanic[/MENTION]

Really, how should I formulate that now without sounding offensive? It's really not meant to be, but:

Why don't you guys simply start using your own brain?

You read that cache partition is not used, but you want to convert it to f2fs...

You read that F2FS needs hugh space just for the management, leaving 2MB usable space on a 100MB partition, but you want to convert it to f2fs...

After knowing these two things, do you really need to post such a question?

Why don't you simply keep /cacha on ext4 and /data on F2FS (if you like it that much) AND use newest build of CM13 with autotrim?

There is no need to have /cache and /data running with the same filesystem type. Choose what's best for each.

:)
[Galaxy S II Android Development] Lanchon:
i don't know how safe that is. cache is separated from the "pool" of safe partitions by the modem partition. so in order to PIT a different cache size, you need to relocate modem and then reflash its contents.

i'm not absolutely sure the bootloader likes to boot with a corrupt modem. most probably yes... but if not, then this is very unsafe. and said flashing would need to be done in a single operation, or else... BRICK! (i know, very improbable, but i really don't know.)

i don't do PITs, but i did REPIT (google lanchon repit). i'm thinking of adding support for cache resizing and of course automatically moving modem and its contents.

the problem is this:

i don't know if...

a) the bootloader boots the modem partition into the radio CPU,

or b) it's the kernel that loads the data and passes it to the radio CPU,

or c) the radio CPU has its own bootloader that accesses the eMMC by some low-level method (highly unlikely).

in case b), then REPIT would work: repit modifies the GPT (but not the PIT). but the kernel only reads the GPT (ie: the partition table), so it would find the contents of the relocated modem partition and pass it on for booting.

in cases a) and c), the bootloaders might ignore the GPT and read the PIT instead, in which case after repit the bootloader would still look for the modem partition contents in the original place (now invalid). so repit wouldn't be able to resize cache because it wouldnt be able to actually move the modem partition as specified in the PIT data structure.

so to recap:

-repit moves data around and updates the GPT but not the PIT

-the bootloaders MIGHT read the PIT instead of the GPT

-this means that repit MIGHT not be able to move the modem partition around (and thus, no cache resizing).

-to know one would need to test

-but the phone MIGHT brick if you boot it without the modem correctly flashed! (maybe there's info on this?) so this test is dangerous.

-the only way to resize cache MIGHT be though a real, actual PIT flash.

-moving the modem MIGHT be really dangerous (though PIT or repit), because the bootloaders MIGHT fail on a corrupt modem. then the PIT and the modem would need to be flashed in the same operation, or else...

so there are too many unkowns here.

1) i'd recommend NOT resizing cache under any circumstance before we know FOR SURE that the BLs boot without a valid modem. (do we know this? i don't have info.) there is a small chance of this being VERY DANGEROUS.

2) i'd recommend not resizing cache and not turn it into F2FS because there is absolutely no reason for this. only partitions heavily written to make sene to convert to F2FS, and cache has been -as far as i know- completely unused since android 2 (except in recovery). so IMHO it makes ZERO sense to run these risks.

but...

i would still like to add support for cache resizing to repit. so if there's any info anyone can point me to, please do so.

right now, unless there is certainty that that these phones boot without modems, i wont implement anything touching modem in repit for obvious reasons.
[Galaxy S II Android Development] the.divergent:
I really believe that is came to misunderstanding. I even didn't wanted to convert cache partition to f2fs, honestly I don't even care will it be in f2fs or any other type. I was asking about data and system, what is better to have on your phone? Sorry for not being clear enough.[emoji18]
[Galaxy S II Android Development] arnab:
Oh k...mkfs.f2fs is responsible for formatting..so other way is to add a valid patch like cm has which disables the 100mb limitation...it must be done on external/f2fs-tools.
[Galaxy S II Android Development] arnab:
I know the booting sequence..but had less idea about the samsung partition layout bcoz i never sat down and went thru so deeply like lanchon did on the GUID partition layout...So assuming what ur saying is true..I wont recommend it then.
[Galaxy S II Android Development] the.divergent:
Just to re-formulate 'couse I see I wasn't clear enough. Is it better to have /data and /system on ext4 with older build and to trim it manually or to have /data and /system on F2FS on newest build? Is there some noticable difference? That was my question.
[Galaxy S II Android Development] kamal.rana:
I am on resurrection remix rom 6.0... I flashed the TWRP zip file and now have the same as recovery... I wanted to know is it the same as ISOREC and of permanent nature or my recovery would change when I flash rom again?
[Galaxy S II Android Development] PacoRabanne2k:
If the next rom you flash is "isorec" compatible, you keep TWRP.

Am I wrong?
[Galaxy S II Android Development] Acid0057:
Nope you're not wrong. As long as it's "isorec" compatible
[Galaxy S II Android Development] sylvasster68:
After updating the phone does not start.

Wysłano z GT-I9100 AICP M
[Galaxy S II Android Development] kole_anba:
very good work
[Galaxy S II Android Development] Ham1do:
KERNEL.TAR

[MENTION=414800]arnab[/MENTION] Can i create twrp.tar for odin from twrp.zip As shown THIS thread :

http://xdaforums.com/showthread.php?t=1644240
[Galaxy S II Android Development] arnab:
Wont work.
[Galaxy S II Android Development] ishmai01:
plzzzz help me

i don't know How do I install the recovery on my phone i9100 ... plzzzzz help me
[Galaxy S II Android Development] ssanjy:
To make it clear first, this is IsoRec compatible recovery and not a standalone recovery.... You need IsoRec compatible ROM/kernel to make it work else it won't work.... first read about IsoRec in the concerned thread... You'll then have good idea on how to flash it... After you have IsoRec, boot into recovery. If you chose TWRP as recovery then just flash the IMG file of the latest TWRP, if you chose cwm then first flash TWRP. Zip and then update using there IMG file from the official TWRP site
[Galaxy S II Android Development] Ole Ingvar:
Folk, what do you think - will 3.0.2 fits for Samsung GT-P5200? Stock, 4.4.2. Already have 3.0.0.
[Galaxy S II Android Development] jamu08:
I have got isorec 3.0.2-1 installed in i9100 running RR 6.0.1 after repit 1GB /4GB partition. Can i flash any type of rom/kernel irrespective of isorec compatibility? or i have to careful choosing rom/kernel. In some thread there is a discussion on isorec disabler. When and what circumstances one should disable isorec. Is isorec is only for TWRP? or CWM also support isorec. which one to consider Isorec TWRP or isorec CWM. How to confirm that i have got isorec installed. Please clear the doubt
[Galaxy S II Android Development] ssanjy:
Most of the MM ROMs support IsoRec... You may check in the OP of your ROM or ask the developer... with respect to compatibility, only the IsoRec patched ROM and kernels can boot into IsoRec recovery so you need to check the support for this feature... IsoRec disabler is used if you intend to use the default/bundled recovery of the ROM/kernel you haver flashed..... IsoRec supports both TWRP and cwm and you may find IsoRec cwm recovery in the OP of IsoRec's thread... However since cwm's development has halted whereas TWRP is in continuous development it's better to go for TWRP...
[Galaxy S II Android Development] jamu08:
thnx....for clearing the doubt. But can you tell me what exactly the material benefit of isorec recovery.
[Galaxy S II Android Development] fubo73:
Search is the key. Read here.
[Galaxy S II Android Development] Gent':
Guys i cant update to the latest twrp 3.0.2.1 img,tried to flash it over 3.0.0 and 2.8.7.0 but when i reboot it shows me cyanogen recovery.Helpp!?
[Galaxy S II Android Development] ssanjy:
Please mention your ROM also. I suppose you know TWRP needs IsoRec supported ROM and/or kernel to work. But even if you are in Cyanogen Recovery then may be you can refer to 1st post of this thread in the section regarding "Stock Cyanogen Recovery"

Good luck
[Galaxy S II Android Development] Gent':
I was using cm13 with the twrp 2.8.7.0 or so ,couldn't update to the latest one.Neither did on other roms like Xosp,Aicp,RR,Du.

Btw. currently im using twrp 3.0.0
[Galaxy S II Android Development] arnab:
Its not twrps fault I think.
[Galaxy S II Android Development] fireburner-de:
So what do you think, could be the problem, as I never had that problem with TWRP 2.8.7.0.
[Galaxy S II Android Development] KickerTom:
I have seen something similar after e.g. using mtp and mounting/unmounting partitions. Check all important partitions are mounted (esp. system) before selecting install. [MENTION=414800]arnab[/MENTION] Maybe the mount before install should be automated? Or at least warning shown?