yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] Faffendecker:
TWRP 3.2.3.0

Hi all.

I have recently upgraded from ICS to TWRP 3.1.0.0 / Nougat 14.1. (it's an old spare phone) and all was well. I thought I'd try TWRP 3.2.3.0 / Oreo 15.1.

This is where I'm now really stuck. I had to flash the 15.1 zip first, go back and flash TWRP 3.2.3.0. I then flash 15.1 again and get a

"failed to map file'/sdcard1/ lineage-15" and "Error installing zip file" etc.

I then tried flashing the rom boot image via TWRP which in itself was successful, the install still brought up the same error.

I then tried reverting to 14.1 via TWRP 3.2.3.0 and the failed map error happened again.

Has anyone else come across this and found a solution?

Many thanks

Faff
[Galaxy S II Original Android Development] Faffendecker:
Flashed TWRP down to 3.2.1.0 and 15.1 flashes and boots 1st time. :D
[Galaxy S II Original Android Development] guest4711:
To quote the developer of LOS15.1: "I'm currently using TWRP 3.0.2 on my dev-phone to install the ROM. Other versions of TWRP I haven't tried." https://xdaforums.com/galaxy-s2/development-derivatives/rom-lineageos-15-0-t3674567/post73830198

It's always a good idea to read the op carefully...
[Galaxy S II Original Android Development] Faffendecker:
Thanks for the advice guest4711. I have seen seen this advice many times in other posts but I had read "you need TWRP 3.2.3.0 for Oreo 15.1 install" somewhere and it must have stuck in my mind.

Faff:good:
[Galaxy S II Original Android Development] Lister Of Smeg:
Hi [MENTION=9528959]Faffendecker[/MENTION],

You are not alone, I've read that too... But there appears to be little to no info, backing this statement up? So I guess TWRP 3.2.3 isn't needed after all?? Norr is it clear, if it supersedes all previous, or if older versions are still required??

As much as I am grateful for the continued development of TWRP and all things... I think I'll stick to the older version, until I hear otherwise....

Cheers, Lister
[Galaxy S II Original Android Development] Faffendecker:
Hi Lister.

Agreed there is very little inf on what versions of TWRP cover which OSes. Also, it is all to easy to become misinformed when trying to find out.

A good reason not to use the web when you have health worries!

Faff.
[Galaxy S II Original Android Development] forfriends:
3.2.1, 3.2.2 and 3.2.3 don't work. 3.1.0 is the latest working version.
[Galaxy S II Original Android Development] ripee:
You have to flash an IsoRec compatible kernel image separately, ie. boot.img, then all versions above 3.1 will work.
[Galaxy S II Original Android Development] forfriends:
I have LOS 14.1 installed. Should this be enough to allow 3.2.3 to work?

For reference I had CM13.0 installed and that didn't let me use >=3.2.1.
[Galaxy S II Original Android Development] ripee:
14.1's kernel is enough for twrp 3.2.3-0 to install properly, and 14.1 will work with 3.2.3-0, ie. flashing, backing up, restoring, etc.
[Galaxy S II Original Android Development] oppato:
anyone please help me, is there a TWRP recovery for my samsung galaxy s2 I9100G?

If so can anyone send link or guide me plsss
[Galaxy S II Original Android Development] ProfNuke:
can not boot into twrp recovery. followed the instructions on wiki lineageos

download mode,

installed zadiag.exe driver

using heimdall for flashing twrp

"heimdall flash --RECOVERY twrp-x.x.x-x-i9100.img --no-reboot"

"Recovery upload successful" ending session

after that i boot into recovery mode by pressing "button up" "power" "home"

It boots into recovery, BUT there is NO twrp. It is the standard android recovery?????

Any help?
[Galaxy S II Original Android Development] ripee:
First flash one of the older IsoRec twrps, then the boot.img of your rom, then the official twrp. You only need to jump through all these hoops once, then you can update twrp and your rom normally.
[Galaxy S II Original Android Development] [Oxydeme]:
Hi Ripee got one question, theorically there should be a way to keep an isorec recovery on it, while flashing 16.1,

Two days ago I needed to move files from external to internal storage, but on cell it's called gti9100 or smthg like that, on twrp was called ... dunno,

Didn't really know where i could copy my files,

Gone flashing a twrp updated img and same prob as some others,

Ended up with Los Unnof 16.1 on i9100 and an old recovery.

I could just adb push a recovery with Heimdall Suite,

But i dunno if internal will be accessible.

I remember you or smeone else saying there was a specific twrp available.

So one question:

Is there such a recovery somewhere?

Maybe on AndroidHost?

Edit : Will just follow your advice, thanks :)

Oxydeme
[Galaxy S II Original Android Development] ProfNuke:
Thank you.

Is there a step by step tutorial for dummies?

Because otherwise i would have a lot of questions :-/

(which isorec, where to get it, how to Flash it (which program, what to type, click), where to get boot.img, how to Flash it. how to save the original Rom file before?)
[Galaxy S II Original Android Development] ripee:
Can you please read the first post in this thread. Click on the link in the sentence mentioning IsoRec and read that thread as well.
[Galaxy S II Original Android Development] fblack69:
Hey [MENTION=6005084]ripee[/MENTION] my friend, thanks for the excellent tutorial ... I have saved my old S2 and updated it to Android 6 MM.

A big hug from La Coruña.
[Galaxy S II Original Android Development] JaLoou:
Hello.

Sorry, I'm not an IT specialist and I do not have a PC. I'm just Galaxy S2 user for a long time.

How I can install any working version of TWRP recovery to my i9100 remaining with the latest original Samsung's firmware, which I use currently because it is the reliable firmware?

Please, if it is possible then provide detailed step by step instruction.

I have rooted my smartphone. I can use Mobile Odin on it. I even got TWRP 3.1.0 on it via Philz recovery but after that I can reboot the device into TWRP recovery only but with TWRP 3.1.0 it does not reboot to normal functioning as a smartphone with Samsung's latest firmware Android 4.1.2.

What can I do?

Please, help.

May if I upload here the official Samsung's firmware, which I use, then someone can modify it adding there TWRP support and then I will be flashing it via Mobile Odin for get TWRP with original Samsung's firmware?
[Galaxy S II Original Android Development] JaLoou:
I recommend to install easy Philz touch recovery v4.88 and do a custom backup of everything on your smartphone via it to an external microSD. It will take about 30 minutes.

When you will want go back then just easy install same Philz again, choose 'Restore from custom backups', select your backup file and restore.

This easy old way did saved my device few times already and I recommend it to everyone.
[Galaxy S II Original Android Development] camp0s:
I've one question, regarding the first post: I'm still using TWRP 3.0.2-1 and installing a generic 7.1.2 ROM, it works.

As soon as I update TWRP (in the past, at least) the ROM failed to install. Sadly, I don't remember the error, I only know that regressing the TWRP version I did finally found a working version.

Does it have something to do with the first post, that I have to install the boot.img separately, before installing the new ROM?

Tnx for the great work! (y)
[Galaxy S II Original Android Development] Monsterstep:
Hi,

Flashed twrp and installed the lineageos with gapps. However it rebooted and is now stuck on teamwin recovery project 3.5.2_9-0 I have Flashed previous twrp too but still justs boot looping to that splash screen.

how can I get this fixed so it boots back to the os?

I have tried putting it in fastboot. I'm using Odin3 as adb does not seem to work on my T580.

Thank you in advance.
[Galaxy S II Original Android Development] ol1ver:
Hey @ripee, I noticed that the last two builds are a little too big. I suppose this is because of automated pipeline builds.

All 2021 builds are more then 8MiB, which won't fit into the recovery partition anymore, causing isorec to fail. The last 2020 builds work just fine.

The way I see it, there's 3 options, but want to start a dialog before running off and doing things :)

a) see what files can be dropped to decrease the size. I see a lot of files in terminfo that could potentially go?

b) modify isorec into supporting xz (and while changing it) supporting squashfs.

b.1) Recompress the archive with xz -9 reduces the size to about 5 MiB, much much better

b.2) Recompress the archive into squashfs, if using the xz compression, the file is about 6.5MiB, but could be mounted instead of decompressing and un-cpioing.

I think b.2 is the best option, but does require a little bit more passas in the isorec/init script in that it would mount + chroot (not that hard and quite common to be fair); I think recovery boot times would be somewhat faster (no more decompressing and de-cpio-ing :)
[Galaxy S II Original Android Development] 2331151796:
Same here, I could not get any TWRP version above 3.1.0 to work. I don't know how people are getting v3.5.x to work. Also theming does not work and I cannot put a password lock with the older version.
[Galaxy S II Original Android Development] ale5000:
If you look here: https://xdaforums.com/t/rom-unofficial-12-1-0-r7-i9100-lineageos-19-1-alpha.4380641/

there are files to repartion the device (needed to support new recoveries) and there is also TWRP 3.6.1.
[Galaxy S II Original Android Development] Destragon:
Hi, so I've taken my trusty ol' Samsung Galaxy S2 and I wanted to install LineageOS 14.1, mainly using this youtube video as guide:

Basically I flashed a new kernel, installed TWRP 2.8.7.0, flashed a pit file, did a factory reset in TWRP, but then the first error message appeared saying "unable to mount storage" and "unable to mount /emmc". This didn't stop me though and I managed to install LOS 14.1 without problem and am able to boot into it. However, I can't access the internal storage of the device, meaning for example if I click on the "gallery" app, it just throws a "no storage" error and closes the app.

In TWRP I tried the "fix permissions" button, but that didn't help. I looked at all the partitions in TWRP and almost all seem to be correct with what you would expect from the pit file that I used. Data for example has 6047mb size and the "ext4" file system. However the problem seems to be the "eMMC" partition, which I assume is the internal storage. This partition says "0mb" on all its stats and it says its file system is "vfat".

So now I've still got a couple options, but I just wanna be extra careful, which is why I'm writing this post.

My TWRP 2.8.7.0 version doesn't have a proper "format" button, but it does have a button to change the file system of a partition.

Should I change my "eMMC" partition to the "ext4" file system, like the OP kinda says to do?

Should I update my TWRP to a newer version like 3.1 and try the "format" button there? Would I be able to install this newer TWRP without problem or would I need another new kernel?

Should I do something else that I forgot about?

Thanks for reading.

Edit:

Okay, I have flashed the TWRP 3.1 zip, but it looks like this version of TWRP doesn't have that "format" button either that I was expecting to find. The only thing that has changed so far is that the "eMMC" partition has been renamed to "internal storage" and I now get a "failed to mount /sdcard0 (invalid argument)" error instead of the "/emmc" one that I got before.

I figure that all I might have to do now is select the internal storage/ sdcard0 partition and change its file system from vfat to either ext4 or f2fs, but I'm a little worried of pressing any buttons.

Edit 2:

Aaaalright, I have finally pressed the button to change the file system to ext4 and now it does appear to be working perfectly. It seems to be fine, but I might give it one more factory reset for good measure.
[Galaxy S II Original Android Development] Ezzyy007:
Hi all, so excited to see there is so much info on this old phone!

So here's my predicament, my husband has an old s2 gt-i9100T with all his teenage memories on it. And I said to him you'd better back that thing up to a pc before it dies. So he boots it up and google asks him to sign in so he does. Next thing it freezes. So we pull the battery and restart.

Here's where the fun begins, on restart its stuck on boot screen.

Okay fine I'll do a soft reset. Hmmm still stuck on boot screen. No worries I'll enter recovery and wipe the cache that will surely fix it.

Holding down the recovery keys doesnt work, it still just goes straight to boot screen logo and stays there.

Wow now I'm sweating, and he's looking super worried.

So now I'm looking into ways to recover the user partition data via twrp, and that leads me here.

I'm pretty tech savvy but I'm still a little confused Wether this method is able to be dirty flashed? My goal here is to recover the photos locked in this little white handset, can twrp be of any use to me on this occasion? I'm about to get Odin and reflash the original stock rom over the top, as I've read that may fix the boot issue? As I am able to enter download mode on the handset. Thanks heaps to whoever reads this, I'm desperate! ♥
[Galaxy S II Original Android Development] ale5000:
Just:

- Enable MTP in TWRP

- Connect phone to a PC with an USB cable

- Copy your file to the PC (yes it works also if the phone is in recovery)

- Then you can wipe data and do everything to recover the phone without worries
[Galaxy S II Original Android Development] Ezzyy007:
Hey Ale, thanks for your reply! That sounds great, but the question is am i able to install twrp on my galaxy s2 without messing with the partitions? or deleting any data? thanks
[Galaxy S II Original Android Development] ale5000:
I thought you already had it.

I don't know the GT-I9100T, but in the GT-I9100 (without T) with the stock ROM the separated recovery partition isn't used at all; so to make it working you need to place a modified kernel that add support for recovery and then flash a recovery.

I can't help too much with this, maybe there are other people in this forum with better knowledge.
[Galaxy S II Original Android Development] sirozan:
If i remember right there used to be PhilZ recovery which you could just flash from stock recovery or odin on a stock phone, would give you root and nandroid backups without breaking anything.

However, are you sure you can use i9100 stuff on your i9100t...?
[Galaxy S II Original Android Development] ze7zez:
In this case, it doesn't matter, because any ROM by rINanDO for the i9100 can be flash on the GT-I9100, GT-I9100M, GT-I9100P, GT-I9100T, SC-02C.
[Galaxy S 5 Android Development (Exynos)] budsixz:
You develop too? Lol nice work bro

Does this have themes?
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
No this is odexed. Point of this is stability and smoothness.
[Galaxy S 5 Android Development (Exynos)] Dantonypm:
Is it debloated?
[Galaxy S 5 Android Development (Exynos)] Beast Bumblebee:
Is this stock ROM
[Galaxy S 5 Android Development (Exynos)] Dantonypm:
Can the duki kernel be placed?
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
Yes you can flash any kernel which compatible with stock based and s7 port roms
[Galaxy S 5 Android Development (Exynos)] Dantonypm:
Could you put the modem and bootloader of the rom?
[Galaxy S 5 Android Development (Exynos)] Beast Bumblebee:
sot??
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
No need to flash them. Already in rom. It is flashable zip despite odexed
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
I get 4-4.5 hours max but couldnt measure completely yet and my battery is broken. Waiting SOT from you users. Be sure you will get better than stock odin rom and stock deodexed roms. This is odexed and debloated
[Galaxy S 5 Android Development (Exynos)] Beast Bumblebee:
Can u share antutu benchmark please
[Galaxy S 5 Android Development (Exynos)] Dantonypm:
Are you sure ?, is that I'm using xtrestolite lollipop version
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
Oh no then. You should flash any g900h marshmallow bootloader via odin

SM-G900H cihazımdan Tapatalk kullanılarak gönderildi
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
I couldnt see the rank of devices there is only my device at rank. I dont know how to see
[Galaxy S 5 Android Development (Exynos)] budsixz:
That's with stock kernel?
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
Yes I havent touch anything. Only cleared ram with smart manager then did the test
[Galaxy S 5 Android Development (Exynos)] budsixz:
Gonna download and give it a try tomorrow probably
[Galaxy S 5 Android Development (Exynos)] fonnExX:
its so good i love it but can you please add samsung cloud to it?
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
Flash via twrp ;)
[Galaxy S 5 Android Development (Exynos)] fonnExX:
Thank you for replying! i flashed it but when i went to settings it says work in progress... then unable to open cloud settings please try again later
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
It ought to work ?
[Galaxy S 5 Android Development (Exynos)] ismael730:
Status bar gray, power saving

hello you could upload the UI system that you modified but with the power saving without the gray status bar, thanks

sorry my english is not very good, greetings from Argentina :good:
[Galaxy S 5 Android Development (Exynos)] fonnExX:
lol i installed samsung cloud app from sammobile after flashing the zip everything works fine
[Galaxy S 5 Android Development (Exynos)] madmax654321:
Bro any one working on oreo rom
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
Wrong place, furthermore wrong device.
[Galaxy S 5 Android Development (Exynos)] dixmer1998:
no viperforandroid works, and tried with the officers of your page as well as those of magisk and none of them work.
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
Flash this for viper.

Couldnt understand the other problem mate if you explain I can help better
[Galaxy S 5 Android Development (Exynos)] madmax654321:
Your rom is best bro.can u tell me any other good rom based on battery
[Galaxy S 5 Android Development (Exynos)] beardedfly:
try disabling soundalive
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
Try a3 port by amtra and wanted ultima.
[Galaxy S 5 Android Development (Exynos)] madmax654321:
Duki kernal not working in a3
[Galaxy S 5 Android Development (Exynos)] madmax654321:
Can u give the synapse setting for duki kernal
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
I dont use synapse as pro. So I only increase led brightness and charging rate. I dont change others
[Galaxy S 5 Android Development (Exynos)] Haqq98:
Can i dirtyflash v5 from v4 ???or i must cleanflash ? ,
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
No you cant. Never try
[Galaxy S 5 Android Development (Exynos)] erfan_sezar:
plz upload ur rom on another center like afh or mega
[Galaxy S 5 Android Development (Exynos)] dixmer1998:
How??
[Galaxy S 5 Android Development (Exynos)] beardedfly:
Go to aplications...find soundalive....deactivate
[Galaxy S 5 Android Development (Exynos)] dixmer1998:
Only see package adapt sound
[Galaxy S 5 Android Development (Exynos)] dixmer1998:
already solve it, just install another player and you're done
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
M&C ROM X Link:

https://mega.nz/#!qMAzXY6S!Sy22gqSfVEV8Ucd5OIoFsOIB5lOvYsE2ho6P8pqcFpE

M&C ROM X CHANGELOG:

- Much more debloated

- The final full rom (Update patches may continue)

- Fixed some lags by editing some files

- Updated all tweaks

- Continue to Feel the ODEX Rom experience :)

☆☆☆ I will always here to make something more. I will never leave android modding. I will share when I make new things as update ☆☆☆
[Galaxy S 5 Android Development (Exynos)] gergely999:
It doesent works for me in v5 :(

The app icon dont even apper in appdrawer or in Settings
[Galaxy S 5 Android Development (Exynos)] budsixz:
Oh i missed the latest version lol

Used all upto 5.0

Gonna download the new one soon
[Galaxy S 5 Android Development (Exynos)] titan2142:
please add wanted kernel.

duki battery consumes a lot.
[Galaxy S 5 Android Development (Exynos)] budsixz:
Duki takes lot of battery and has bad ram management

I personally feel greenapple is best
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
Yeah true about duki but it is be acceptable for me bcoz it has fast charge and led fading control so I love duki kernel. [MENTION=7361952]titan2142[/MENTION], dont use duki without synapse app. On synapse app there are many options to get the best battery also u can set charging rate up to 2200mA, u can set led light bright and animated, u can set volume control etc...
[Galaxy S 5 Android Development (Exynos)] dolly1979:
duki kernel cannot multitask?

i use m&c x rom with stock n greenapple kernel.

i can download using youtube downloader n browsing with opera mini at the same time.

now i try duki + synapse, everytime i leave youtube downloader to browsing with opera mini download at youtube always pause/stops.

i try change bfq, noop, zen in synapse but there's no change, still can not using opera mini + youtube downloader at the same time.

is there anyone who experience this?
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
Bro can you try to disable Adaptive LMK and report me please? It would be awesome if [MENTION=3441913]duki994[/MENTION] can come here and give us some tips about ram on duki
[Galaxy S 5 Android Development (Exynos)] dolly1979:
lmk adaptive doesn't matter

enable or disable lmk adaptive in synapse doesn't matter.

still can't use operamini + youtube downloader at the same time.

operamini + music player is ok though.
[Galaxy S 5 Android Development (Exynos)] budsixz:
So i started using the ROM

So far so good

Feels really smooth and actually I am using stock kernel for a change

When I started using the phone managed to run titanium backup restore, heavy online game and sound cloud together lol

So m gonna keep the settings and test more but for now really impressed. Ty for rom

Cheers bro good job
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
Thanks for reports, keep reporting and critisizing negative or positive. I hope I could come back to continue development soon ?
[Galaxy S 5 Android Development (Exynos)] Aadithyan:
Ur rom is one of the fastest roms i have ever used....im still on ur v2.5 (odexed) since months...truely love ur work...thanks for the rom...the rom is lightning fast?
[Galaxy S 5 Android Development (Exynos)] budsixz:
Used rom for 2 days and I got nothing to complain about :)

Everything works good very smooth for me. I have few questions though - 1. Is there a way to get 4way reboot and torch in notification bar for us? 2. Can we get theme support? 3. How to remove quick connect and s finder from notification?
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
Happy to hear that u enjoyed. 1- About 4way reboot,It needs an apktool work with Systemui but I think it looks ugly so I didnt do it I can do it for you I noted here. About torch in notif. panel it cant be without xposed on Android MM impossible but u can use toolbox from noti. panel to use torch easily. 2-Theme support need another launcher and it will support themes for only icons, no way for ui themes but U guys can request color choices for systemui, I can make new themed UIs. Also Im planning to make a romcontrol that contains all the theming but not a promise bcoz it needs a hardwork ?. 3- The same, need to be removed via apktool by editing dimens.xml of systemui. I can remove it when I touch apktool.
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
Use X version guys. Based on v2.5 and more enhanced.
[Galaxy S 5 Android Development (Exynos)] Aadithyan:
Bro it means its odexed right?
[Galaxy S 5 Android Development (Exynos)] cnkzlyr:
New Project WIP !
[Galaxy S 5 Android Development (Exynos)] dixmer1998:
Some advance of the project? please :D:victory::victory::victory::victory:
[Galaxy S 5 Android Development (Exynos)] Aadithyan:
Waiting to download
[Galaxy S 5 Android Development (Exynos)] Nyanners:
This is a very good ROM, I never cared for deodex, it has benefits but never really needed it as just want a decent daily driver with essential mods done properly.

Battery is EXCEPTIONALLY good!