yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II SGH-I777] AnotherFreakinNoob:
Pretty sure lollipop was the last official build we had. CNBLACK is the only one running builds now. His MM ROM operated fine just had lots of lag. So far I've not had much luck with this one. No sim detection and haven't been able to install root. Probably due to the fact I don't have a 3.0. TWRP recovery for my 959g and flashing with 2.8. Maybe I should try and build a recovery instead of trying to build my own ROM lol. Would love to get this guy running smoothly on Nougat.
[AT&T Samsung Galaxy S II SGH-I777] dimoochka:
I found TWRP to be relatively easy to build for this device actually. Not nearly as complicated as building a ROM. It's pretty streamlined so I only had to make a few settings changes. Found a couple of bugs while building it too but they were minor
[AT&T Samsung Galaxy S II SGH-I777] Grrinder69:
I have gone through all the steps. When phone boots up it gets stuck on the lineage boot animation. Let it sit overnight and it was still on the animation. I did notice the bootloader changed from twrp to cyanogen. Gets stuck on boot animation. Any ideas ?
[AT&T Samsung Galaxy S II SGH-I777] AnotherFreakinNoob:
I might give it go. Curious I noticed in your 2.8 thread you mentioned that recovery flashes to a different partition than the i777. I don't guess there is any chance you remember what device tree and such you used for the 959g and reckon the work for the 3.0 version of TWRP?
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
Next Build Planned on 2017.04.12

I try to edit kernel source about mic to fix calling issues.

But I can't test it now, so I'll upload test build to check it.
[AT&T Samsung Galaxy S II SGH-I777] AnotherFreakinNoob:
Man if I could thank this post 10x I would. Really appreciate it. Gonna see what I can do with. :svetius:
[AT&T Samsung Galaxy S II SGH-I777] dimoochka:
Good luck! Let me know if you have any questions putting it together - happy to help out....

PS. I took xposed off my device and it sped up substantially - although still sluggish. You should spring for a more modern phone if you are able - difference in changing over to the nexus 5X was pretty dramatic (and they're cheaper these days).
[AT&T Samsung Galaxy S II SGH-I777] AnotherFreakinNoob:
Thanks for the kind offer. I understand almost everything you shared. I'll see what can do. Again thanks! :)
[AT&T Samsung Galaxy S II SGH-I777] TeutonJon78:
Yes, this device has the combo kernel/recovery. We got support for separate recovery with the ISOREC support, just like the i9100.
[AT&T Samsung Galaxy S II SGH-I777] ijlos:
i use twrp v2.8.7.0 for i777,and then flash to about 80% stopped so long long time. use another recovery like same result (lineage-14.1-20170129-UNOFFICIAL-u1att.zip lineage-14.1-20170305-UNOFFICIAL-u1att.zip):(
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
New build now launched.
[AT&T Samsung Galaxy S II SGH-I777] ijloss:
New build(lineage-14.1-20170416-UNOFFICIAL-u1att)4 wipe also about 80% stopped so long time in TWRP v2.8.7.0 for i777. My dirver is samsung i777.
[AT&T Samsung Galaxy S II SGH-I777] d_j_l:
Have you tried TWRP 3.0.2.0? Or do you have enough system partition as mentioned in OP?

https://www.androidfilehost.com/?w=files&flid=120636
[AT&T Samsung Galaxy S II SGH-I777] AnotherFreakinNoob:
PMed some messages about the recovery build. A few more nuggets I added after the message. I added the META_INF folder and recovery to a zip file using winwar, and flashed successfully with TWRP. Failed to boot though :/ Anyways if you get a chance to check it out I'd appreciate it.
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
Reserved
[AT&T Samsung Galaxy S II SGH-I777] d_j_l:
Mic works for incoming calls. Not sure about outgoing calls since my sim can only receive calls (no money left). Thanks.
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
Okay, Thanks for feedback. I think 20174016 build fixed that issues. Other developers set config CONFIG_SND_SOC_MC1N2_MIC_ADC_SWAP to i777, and I deleted that line.
[AT&T Samsung Galaxy S II SGH-I777] kingfiras:
Great work.. I can confirm Mic issue resolved incoming/outgoing.. Thanks bro :)
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
weekly build now started.

So, New build will be release on every sunday.

2017.04.30 Planned changelogs

* Fix mic on incalling / outcalling (u1att)

* build status now go to stable.
[AT&T Samsung Galaxy S II SGH-I777] d_j_l:
Outgoing calls still has the mic problem in my tests. I have to toggle the speak on and off to make it work. This mic bug has been with us for quite a while, since cm12.1.
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
Please tell me your carrier.

And plase flash Stock JB and retry to install LineageOS.

If you have same problems, please reply again.
[AT&T Samsung Galaxy S II SGH-I777] d_j_l:
My carrier is Mintsim (https://www.mintsim.com/) which uses t-mobile network.
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
That's sound weird. But I can't test it because I777 not support T-Mobile network. (Maybe It can use it because of baseband.).
[AT&T Samsung Galaxy S II SGH-I777] d_j_l:
I don't think it is the network issue because toggling speaker will make it work.

There was some discussion in other threads

https://xdaforums.com/galaxy-s2-att...mod-12-1-nightly-builds-t3149626/post69059613

https://xdaforums.com/galaxy-s2-att/development/cyanogenmod-12-unofficial-i777-call-t3211103
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
humm.. Okay, I try to download that fix files and check it why i777 have problems on outcalling.
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
Now, SGS2 Unofficial build go to stable.
[AT&T Samsung Galaxy S II SGH-I777] Grrinder69:
Hard Brick

Followed directions exactly. This ROM hard bricked my S2 I777 twice. Had to have it JTAG to fix it. Anyone actually have any success with this ROM ?
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
i777 users successful to install my ROM without any problems.

How to do that? I can't understand.
[AT&T Samsung Galaxy S II SGH-I777] d_j_l:
Yes. Installed without problem (dirty installation). However, "MPT Host has stopped" still pups up when opening app Files.
[AT&T Samsung Galaxy S II SGH-I777] AlmasSD:
Installation went quickly. Hanging on the download logo

Pit file used faithful, As well as twrp ...

doesnt flash addonsu it on recovery: arm and arm64:confused:
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
I think It is work.

I777 is armeabi-v7a (Not arm64).

Pelase re-install rom or flash unsu, and retry it.

Maybe it is work (I don't test su because I don't use su.)

or install magisk.
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
Reserved.
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
New release now updated.

This build is very important update. So, please install it to get more user experience!

Also, Don't forget to check main thread to find changelogs!
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
Now, I have i777 :)

Thanks for your support to my development progress, Mir!
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
Lastest News,

Now I try to testing SGS2 to make increase performance, and other things.

And Today, I successful to boot with Linaro GCC 6.3.1.

I checked my SGS2, It is little more smooth than before.

And finally, I try to compile my SGS2 ROM with Linaro GCC 7.1.1, If it is boot, I'll update my source code to apply Lastest linaro toolchain.
[AT&T Samsung Galaxy S II SGH-I777] TeutonJon78:
In reading I saw some posts about how there an attempt to switch to TWRP in the rom, but that it didn't go well. Does this rom still support the ISOREC TWRP method, or is it stuck to the Cyanogen->Lineage stock recover?
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
I try to find new solution about TWRP.

Also, I try to combine data partition and Internal storage partition.
[AT&T Samsung Galaxy S II SGH-I777] TeutonJon78:
So, I'm confused....does this ROM support ISOREC or not? CM12.1 did. Then it doesn't matter what version is included in the actual lineage ROM and it can just be left at the default one.
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
I don't use ISOREC. I just build Lineage with TWRP (Default Recovery).
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
Recently development of virtual repartition :

Not working:

* MTP crash (But It is work)

Working:

without not working (everythings work perfectly).

* When I get this work? *

- Maybe 2 weeks later. I need to fixes more things to use with stably.

* Important! *

If you want to apply this repartition, you need to use resize pit (1GB system, 2GB data). Because I optimized to 1GB system and 2GB data partition size.
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
Weekly 2017-07-23 released.
[AT&T Samsung Galaxy S II SGH-I777] ZARuslan:
Hi! Sorry for my bd english.

I'am currently using SHOStock rom with CWM recovery. If i remember right, i can just wipe data/factory reset from CWM and then flash this rom. Am i right?

And 1 question about stability. Mic probel still here?

Thanks!
[AT&T Samsung Galaxy S II SGH-I777] torzod:
When I try this, the boot screen shows Sansung Galaxy SII GT-I9100. This rom is supposedly for the I777.
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
Maybe, you are installed i9100 ROM before or NOT.

I installed it my i777, but It not shown i9100 logo
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
I think your mean Mic problem in calling, maybe yes.

And You are try to install my rom in CWM, maybe I'm not recommand to use CWM.
[AT&T Samsung Galaxy S II SGH-I777] torzod:
I did some research, and it turns out to be an error on Samsung's part. Once the binary flash counter is incremented, the phone is supposed to have the same boot screen, with the addition of a yellow triangle with exclamation mark. Samsung took this boot screen from the GT-I9100 and forgot to remove the "GT-I9100" from the boot screen, leaving me confused for a bit.
[AT&T Samsung Galaxy S II SGH-I777] torzod:
After flashing through TWRP, the phone just bootloops without the ROM actually booting. Do you know why this happens?
[AT&T Samsung Galaxy S II SGH-I777] sazon goya:
I'm getting the same bootloop issues torzod is getting.

I installed the TWRP-3.1.1-0-u1att-ISOREC.zip and flashed lineage-14.1-20170723-UNOFFICIAL-u1att.zip and lineage-14.1-20170607-UNOFFICIAL-u1att.zip through the TWRP but I just end up in a bootloop with both.
[AT&T Samsung Galaxy S II SGH-I777] sazon goya:
I figured it out, don't know why I didn't try this since it's the suggested method when you're having ROM issues.

Boot into TWRP and hit wipe -> advanced. Clear out Data, Cache, Dalvik/Art Cache, and System. Install the latest CNBLACK LineageOS build (I also reinstalled his TWRP 3.1.0 after the ROM install just in case) and reboot.

It's actually pretty fast on such an old phone!
[AT&T Samsung Galaxy S II SGH-I777] userwaldo:
Thanks for the work. I hadn't really touched my old i777 In about 2 years.

Here is my notes I captured while trying to install this on my i777 from the 2015 Cynogen Mod 12.1 install.

After testing various approaches things here is what I finally figured out.

The Linage OS images in this thread assume that you have an updated PIT file from the provided link.

Specifically you need the 1G and 6GB DATA.

After getting them, I ran following heimdal command.

heimdall flash --pit I9100_1GB-System_6GB-Data_512MB-Preload.pit --repartition --FACTORYFS factoryfs.img --CACHE cache.img --KERNEL zImage --DATAFS data.img

This got me to the TWRP installer where I was able to install the Zip for LinageOS from the SD Card.

I downloaded the latest Arm PICO download of GAPPS from OpenGAPPS.

I also installed Linage ARM Su Addon for Root. (I tried Magisk but it doesn't work for i777.)

https://download.lineageos.org/extras

1. Advanced Wipe and selected all but External SD and OTG.

2. Install Linage OS Zip

3. Install SU Addon

4. Install GAPPS.
[AT&T Samsung Galaxy S II SGH-I777] torzod:
Thanks for the help. I was trying this out, and during install via TWRP, I get an error:

FATAL: partition #12: not found

[ERROR 1]

E:Error executing updater binary in zip '/sdcard/lanchon-repit-20170115-system=1G-data=same-sdcard=max-preload-min+wipe1777.zip
Error flashing zip /sdcard/lanchon-repit-20170115-system=1G-data=same-sdcard=max-preload-min+wipe1777.zip'
[AT&T Samsung Galaxy S II SGH-I777] userwaldo:
It looks like you might be trying to install the pit file from TWRP.

I used heimdall to install the PIT files. I also tried installing the OS, but I'm not sure it really worked.

When you repit the default seems to be no formatting for the partitions.

I just rebooted into TWRP and from there I used the Advanced Wipe option, and selected everything but the External SD Card. This allowed me to wipe and reformat all those partitions.

Once the were reformatted, I then walked through the steps of installing the Linage OS, followed by the SU and GAPPS.
[AT&T Samsung Galaxy S II SGH-I777] torzod:
AFAIK, Heimdall only accepts .pit files for PITs, this is in a zip format. I did do the advanced wipe in TWRP beforehand as well.
[AT&T Samsung Galaxy S II SGH-I777] userwaldo:
Yes I think you are correct, Heimdall only accepts .pit files.

I didn't get any errors like this when I was trying to install.

Used the TWRP version that was

For the i777 the recover is part of the kernel, so when installing the zImage from the latest LinageOS .tar file in this thread, via Heimdall that installed the latest version of TWRP.

The zip file I installed for LinageOS was also the latest version in this thread as well. Both were dated 7/23 builds.

I had tried a bunch of things before hand, but I kept getting unsuccessful installs. Maybe something I earlier was a necessary part of the install, but I'm not sure what it would have been.
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
Lastest bulid keep delayed.

Because I testing new virtual repartition solution, but It keep crashing MTP and com.android.media.

Maybe I think I development something wrong, and Now I try to fix this issues to release new build.

Please forgive me. :(

P.S.

Donation keep opened. If you donate to me, I'll eat food, drink coffee, buy new devices.
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
Developer Log Update

Okay, Now I found reason why SGS2 keep crash com.android.media when I try to apply Virtual Repartition.

First, When I development Virtual Repartition, I just tested it in my Korean SGS2.

But I can't check partition size for Other variant devices, So that result is crash.

And Today, I checked both partition size in my i777, I found reason.

So, yes. I found reason.

I'll fix it and release in this weekend!
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
Coming on 2017.10.01...

I'll be back in 2017.10.01 with amazing releases.. :)
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
2017-09-30 Release Now Updated.

NOTE: Don't miss to read first & second threads! This version applied virtual repartition!
[AT&T Samsung Galaxy S II SGH-I777] syarif agil:
please help me to get twrp version 3.1 to install rom cm14 which you have provided in xda ....
[AT&T Samsung Galaxy S II SGH-I777] kingfiras:
Hello CNBLack .. thanks for all of your hard work keeping our device alive .. I am stuck and not sure how to fix things .. I am running TWRP 3.1.1 and thought I followed the steps provided to the letter .. I flashed the img provided to the recovery (rather than boot) .. not sure if this what messed me up .. now I can still access TWRP but I cannot see any of the files on my external SDcard so no chance to to install the rom .. I reformatted it to FAT32 and added the files using my laptop to no avail .. not sure what I am missing .. any tips from those who succeeded will be greatly appreciated .. it is still too soon to retire my lovely i777 :P
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
It is symlink from Internal Storage, Maybe you can't use MicroSD well.

Please try to install it with Internal storage (Mount Data partition in TWRP, and Enable MTP)
[AT&T Samsung Galaxy S II SGH-I777] DrGirlfriend:
If we've already used REPIT by lanchon to gain larger /system partition, should we avoid 2017.09.30 with Virtual Repartition?

Thanks
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
I just optimized 09.30 build with Stock pit.

But, I don't test it from rePIT, So If you get some errors, I can't help you.
[AT&T Samsung Galaxy S II SGH-I777] pepe100:
Dev is mandatory increase the system partition to install this Rom ? I want install this Rom in my old but great i777 s2.
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
No, It changed data partition, internal storage partition mount flag.

Data partition -> go to System partition.

Internal storage partition -> Go to data partition.

System Partition -> Go to misc partition

Yep, So I changed partition flags to use Emulated SDCard.
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
Final Build now released.
[AT&T Samsung Galaxy S II SGH-I777] CHARDINSON1:
I can not flash ZIP files

I installed a ROM and I can not flash ZIP files. Does anyone help me?
[AT&T Samsung Galaxy S II SGH-I777] pepe100:
You must have TWRP installed for flashing zip.
[AT&T Samsung Galaxy S II SGH-I777] dh4645:
I'm on your 6.0.1 cyanogenmod 13 (https://xdaforums.com/galaxy-s2-att/development/rom-cyanogenmod-13-unofficial-builds-t3421514)

how do I make a backup before I go to this?

cyanogenmod recovery (which came with the ROM and replaced my twrp) does not have a backup option for some reason (that I can see).

I was used to cwm and now twrp, but this current recovery wont let me flash a trwp .zip.

Thanks for the help.
[AT&T Samsung Galaxy S II SGH-I777] pepe100:
Flash the twrp kernel combo compatible with your device with Odin then perform the backup.
[AT&T Samsung Galaxy S II SGH-I777] dh4645:
Thanks. Where would I find that for the s2?
[AT&T Samsung Galaxy S II SGH-I777] RipCityBassWorks:
Does anyone have a working link to the virtual repartition twrp?
[AT&T Samsung Galaxy S II SGH-I777] aipaloovik:
Seconded. Also, what about a recommendation for a GApps package? I keep getting not enough space errors and the seven I've tried so far, even Open GApps at pico is still too large.
[AT&T Samsung Galaxy S II SGH-I777] RipCityBassWorks:
You need to flash the lanchon repartition zip. I posted the full steps I used a few posts back. I used open GAPPs nano and it worked fine for me.
[AT&T Samsung Galaxy S II SGH-I777] challenger07:
Help Please. I have been trying to flash this ROM but after rooting the step to resize the partition seems to have me stuck. I used PC ODIN to flash a PIT file but then when I boot into recovery I get the following error: E:failed to mount /system (invalid argument). I can wipe cache and data/factory reset but when I tried to load the Lineage.ZIP file I get the same /system error. I tried another pit file but it was exactly the same. ODIN says the pit file was completed successfully. Any advice welcome, any new pit files that I can use? Thank you. I then tried the lanchon repartition zip. but same error cannot mount system.
[AT&T Samsung Galaxy S II SGH-I777] challenger07:
One step forward and one step backwards. I found a tar file for the i777 and flashed that at the same time as the pit file. Now the phone will boot and it does have the new larger storage. However the tar file was the original Android 2.3. I rooted the phone again and went into recovery but when you select the external SD card it shows an empty folder and so the 7..1.2 Rom that is ZIP'd on there I cannot flash. I need to do some more reading how to move forward from there. Any quick hints welcome, at least I've got rooting and resizing completed.
[AT&T Samsung Galaxy S II SGH-I777] challenger07:
I am still stuck. Does anyone have a link to a valid i777 tar file? The stock recovery won't see any files on the SD card. I tried internal storage but then it says there is an error checking the ZIP. I tried a few alternative ZIP files so I think the recovery is the issue. I can still get to ODIN so if I could find a more up to date tar file I can flash that way. ANYONE?
[AT&T Samsung Galaxy S II SGH-I777] jroq8400:
I went through multiple times trial and error. I still not sure the right order but finally got it to work

1. Use Odin 3.07 PDA slot

CWM-KitKatCompatible-i777 v6.0.4.5

USB connected +/- power for Download

USB disconnected +/- power for Recovery

2. Flash SGH-i777_TWRP_v2.8.7.0

3. ‎latest Omni install boot reboot recovery

omni-5.1.1.20150711-i777-HOMEMADE.zip

4. ‎install virtual repartition

5. lineage-14.1-20171008-UNOFFICIAL-u1att

6. reboot into recovery TWRP 3.1.1.0

7. Load recovery image and do the data format and partition wipes

8.. SD card no longer works so load files thru MTP

9. Boot lineage-14.1-20171008-UNOFFICIAL-u1att

let it boot and config before gapps

gapps mini fits but nano is good enough

disable animations

force gpu
[AT&T Samsung Galaxy S II SGH-I777] challenger07:
Thank you for the guidance. I have made some progress but cannot get this working. I have spent time googling and trying solutions but if you have any ideas I would appreciate it, my goal is to get Android 7 installed and WIFI working. My stretch goal is to getting it working with phone calls.

I used Framaroot 1.9.3 APK to root the phone.

I used ODIN 3.12.3 to load the i777_4GB data - 45mb preload - 1GB system.pit

I used ODIN to load CWM recovery which allowed me to load TWRP 2.8 (I cannot find TWRP I777 3.1.1.0)

Using this I can then wipe and load lineage-14.1-20171008-UNOFFICIAL-u1att.zip (I have also tried cm-13.0-20160927-UNOFFICIAL-u1att.zip and GalaxyS2Root.com_SGH-I777_UCLE5.zip)

I then wipe Cache, Davik etc and reboot

It hangs on the ROM logo and just stays there. (Ie gets past recovery)

Then I tried avatar-3.0-arion-1344-20130629-i777.zip which loads fine. I can load GAPPS for this and the phone appeared to work until I tried to load a SIM. Then I find there is no IMEI number in the system (IT is still physically printed on the phone). So with this Android 4 software and WIFI the phone seems to work fine.

Trying to get to Android 7 I reinstalled TWRP 2.8 and it says cannot mount /efs (In Avatar I can install root file manager and browse /efs so it only seems TWRP has this issue. )

I have tried GS2_repair apk but didn't resolve. I tried Chamelephon but it doesn't work on GS2.

The only other suggestion I read was to reinstall the stock android and that may recover EFS but I cannot find a stock I777 Android to download.

Thanks

PS Found a the EFS Professional Tool. This can repair NV Data File Permissions:

Checking device connection... Device is connected!

Detected EFS partition location: /dev/block/mmcblk0p1

Re-mounting ROOT file system... Okay.

Mounting EFS folder as read/write... Okay.

Repairing ownership of 'efs/nv_data.bin'... Okay.

Operation successful!

In the EFS folder I can see many files from 2014. Eg .nv_core.back; .nv_state; nv_data.bin etc but when I check in settings IMEI is still blank.
[AT&T Samsung Galaxy S II SGH-I777] jroq8400:
I think you are close. After you get to TWRP installed follow post #2 instructions
[AT&T Samsung Galaxy S II SGH-I777] goodjuju:
I want to install the ROM on my i777. But there seems to have been too many changes in the installation process since the beginning, ex. . Virtual repartition recovery TWRP and the Lanchon virtual recovery cannot be found. Would some one be kind enough to post the final step by step process in one post?

TIA
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
This project is EOL.

And also, I don't development SGS2 family anymore.

So, I can't support your problems.

Sorry.
[AT&T Samsung Galaxy S II SGH-I777] goodjuju:
Thanks OnyxClover.

Perhaps someone else who has already installed the ROM may be able to help PLEASE?
[AT&T Samsung Galaxy S II SGH-I777] Nevuly:
Please send me some PM. I'll close this thread.
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] robotnikman:
I tried installing TWRP using flashify, but when I try it fails to boot, giving a message saying "system software not authorized"

But I need TWRP to install custom ROM's like

http://xdaforums.com/verizon-galaxy-note-3/development/rom-temaseks-unofficial-build-t3364382

So how do I install TWRP properly?