FORUMS
Remove All Ads from XDA

[RECOVERY][OFFICIAL] TWRP 3.3.1-0 [I9100]

2,686 posts
Thanks Meter: 4,229
 
By ripee, Recognized Developer / Recognized Contributor on 25th January 2018, 06:49 PM
Post Reply Email Thread
Announcement from ripee: Instructions revised with many more details about flashing and errors!
https://img.xda-cdn.com/o_TqTetKlqCCLrVp5saYnMW-Xlw=/https%3A%2F%2Fwww1-lw.xda-cdn.com%2Ffiles%2F2016%2F12%2Fteamwin-recovery-project-twrp-logo.jpg

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

Code:
 * Your warranty is now void.
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or your getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
This phone does not have a separate recovery partition, only a virtual recovery partition in the boot (kernel) partition. After flashing an IsoRec kernel and recovery, you will then be able to flash all non-IsoRec kernels and recoveries (such as this official TWRP) without any problems (see instructions below).
More information about IsoRec can be found in the [MOD] IsoRec: Isolated Recovery for the Galaxy S2 Family thread, courtesy of Lanchon.

FREQUENTLY ASKED QUESTIONS
(Please read them BEFORE posting anything in the thread!)

Q: Whenever I try flashing any ROM, I get a Fail to map file error.
A: This error appears whenever you try to flash a rom zip file without first flashing the boot.img file from the rom zip file before attempting to flash the rom itself (see instructions below).

Q: How do I flash anything if TWRP displays an error that it cannot mount any partition?
A: This error appears after re-PITing your phone's internal storage but without re-formatting the partitions:
1. In the main menu, tap "Wipe" then "Advanced Wipe".
2. Perform the following steps for each of these partitions individually one by one: System, Internal Storage, Data:
a) Tap "Repair or Change File System".
b) Tap "ext4".
c) Move the slider to the right to format.
3. Follow the flashing instructions below.

Heimdall
- Glass Echidna

Bootloader and modem
- I9100UHMSA_I9100XXMS2.tar

TWRP for Samsung Galaxy S II (International)


How to flash the latest official TWRP when coming from stock or another custom recovery

1. Flash an IsoRec recovery and kernel, which can be found here.
2. Extract the boot.img file (kernel) from the zip file of the ROM you wish to flash.
3. Copy both the boot.img file and the latest official TWRP onto your phone or SD card.
3. Boot into the IsoRec TWRP, regardless of which version it is.
4. In the main menu, tap on "Install" then "Install Image".
5. Flash the boot.img file by selecting the "Boot" radio button.
6. Flash the latest official TWRP by selecting the "Recovery" radio button.
7. Reboot into Recovery. You should now be on the latest official TWRP.
8. Proceed with flashing the ROM and GApps package, either clean or dirty.

You will ONLY need to follow the above steps when flashing the official TWRP when you are coming from stock or another custom recovery!


Changelog
- See post #2.

Bugs
- You tell me!

Credits
- arnab, Lanchon, the.gangster, rINanDO, and every other open source developer and user who contributes directly or indirectly to the TWRP community in the development of and in providing feedback for the i9100.

Sources
- arnab
- Lanchon
- rINanDO
- i9100 repository
- TWRP repository

XDA:DevDB Information
TWRP 3.3.1-0, ROM for the Samsung Galaxy S II

Contributors
ripee
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.0.x

Version Information
Status: Stable
Current Stable Version: 3.3.1-0
Stable Release Date: 2019-05-22

Created 2018-01-25
Last Updated 2019-05-23
The Following 21 Users Say Thank You to ripee For This Useful Post: [ View ]
25th January 2018, 06:49 PM |#2  
ripee's Avatar
OP Recognized Developer / Recognized Contributor
Thanks Meter: 4,229
 
Donate to Me
More
Reserved
CHANGELOG

3.2.1-1
* MTP and ADB work
* Restored compatibility with SD cards formatted in FAT32, exFAT, and NTFS

3.2.1-2
* Fixed proper internal storage mounting in MTP
The Following 3 Users Say Thank You to ripee For This Useful Post: [ View ]
26th January 2018, 11:12 AM |#4  
al5911's Avatar
Senior Member
Thanks Meter: 30
 
More
Tried to install latest RR 20171229 and got failed to map file "sdcard0/RR-II-v5.8.5-20171229-I9100-Final.zip". And I have 2 internal storage showing in this twrp. Any explanation?
26th January 2018, 05:04 PM |#5  
ripee's Avatar
OP Recognized Developer / Recognized Contributor
Thanks Meter: 4,229
 
Donate to Me
More
Quote:
Originally Posted by al5911

Tried to install latest RR 20171229 and got failed to map file "sdcard0/RR-II-v5.8.5-20171229-I9100-Final.zip". And I have 2 internal storage showing in this twrp. Any explanation?

I may have overlooked a few permissions entries related to the partitions. Are both of those 2 internal storages labelled as sdcard0 or sdcard1 by any chance? Did you try flashing RR from an SD card or internal memory?

I will run another build in the next couple of hours and let you know when it's available.

In the meantime, on an unrelated matter, please consider flashing the latest bootloader and modem in my BL_CP folder. I know, both the BL and CP are relatively old even for this old phone, but I mixed and matched the most recent ones and put them in a single .tar file.

Edit: Updated files are up. I'd also suggest you re-flash the latest IsoRec-TWRP then this updated 3.2.1-0 version.
The Following User Says Thank You to ripee For This Useful Post: [ View ]
28th January 2018, 12:35 PM |#6  
al5911's Avatar
Senior Member
Thanks Meter: 30
 
More
Nand write failed when trying to update bootloader and modem - I9100UHMSA_I9100XXMS2.tar with odin. I put the tar file in CP. Even tried putting the file in AP...sorry I'm just the end user here
28th January 2018, 04:20 PM |#7  
ripee's Avatar
OP Recognized Developer / Recognized Contributor
Thanks Meter: 4,229
 
Donate to Me
More
Quote:
Originally Posted by al5911

Nand write failed when trying to update bootloader and modem - I9100UHMSA_I9100XXMS2.tar with odin. I put the tar file in CP. Even tried putting the file in AP...sorry I'm just the end user here

It's my mistake to have linked the latest version of Odin in the OP The S2 is an old enough device that only older versions such as 3.07 are able to successfully flash anything. I've updated the link in the OP.
The Following User Says Thank You to ripee For This Useful Post: [ View ]
29th January 2018, 02:59 PM |#8  
ripee's Avatar
OP Recognized Developer / Recognized Contributor
Thanks Meter: 4,229
 
Donate to Me
More
Since there has been no other feedback, does that mean the build under the link in the OP works?
29th January 2018, 10:48 PM |#9  
linusdan's Avatar
Senior Member
Flag Salvador, BA
Thanks Meter: 999
 
More
Quote:
Originally Posted by ripee

Since there has been no other feedback, does that mean the build under the link in the OP works?

I'm going to test android oreo with this version and give feedback in a few hours
The Following 2 Users Say Thank You to linusdan For This Useful Post: [ View ] Gift linusdan Ad-Free
30th January 2018, 09:45 PM |#10  
linusdan's Avatar
Senior Member
Flag Salvador, BA
Thanks Meter: 999
 
More
@ripee, I tried installing on the two methods explained, but it did not work. Would you like to create the zip image for installation or tar with zImage?
30th January 2018, 10:03 PM |#11  
ripee's Avatar
OP Recognized Developer / Recognized Contributor
Thanks Meter: 4,229
 
Donate to Me
More
Quote:
Originally Posted by linusdan

@ripee, I tried installing on the two methods explained, but it did not work. Would you like to create the zip image for installation or tar with zImage?

I added the flashable zip to the OP. If this doesn't help, I'll try building with zImage.

Edit: Actually, I think I know the cause I just have to build the kernel with CONFIG_RD_LZMA=y, as described here.

I'll let you know when the new build is available, I'll upload an img, tar, and zip.
The Following User Says Thank You to ripee For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes