yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] HamidHelal:
I get nothing change at thread 2. No new things or update added to fix the ROM.

What you updated ?

Hamid
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
I'm not sure what are you asking. I usually announce in my threads when a new build is posted. Did I miss something?

Post 2 was changed; I added a link to an AOSP keyboard patch for gesture typing.

Correct, no ROM update yet. I have had minimal feedback on the last version I posted. Normally, no news is good news, but I saw one person had lag, with no logs or details. :confused:

Uhhh, fix what? What is not working?

Please follow the instructions posted for reporting issues if you are having problems. I don't own a Hercules, so I need folks to provide good feedback, the requested logs, and details regarding issues, otherwise I will end up dropping Hercules support...
[T-Mobile Samsung Galaxy S II SGH-T989] stunt111:
I just want to say this has been working very well for me. One random reboot that's the only "problem" i came across in a week. Thank you for this Dan. :good:
[T-Mobile Samsung Galaxy S II SGH-T989] radoo7701:
I also got it up and running on my recently acquired Herc. Took a few tries to get everything to flash properly. Thanks for keeping my flash addiction fueled!
[T-Mobile Samsung Galaxy S II SGH-T989] chuggybeer:
Everything went fine except after flashing, it just sits at the boot animation. Any thoughts?
[T-Mobile Samsung Galaxy S II SGH-T989] radoo7701:
I went thru the process a few times before everything stuck. Final time I left phone alone for a while and forgot about it and it was booted when I came back.
[T-Mobile Samsung Galaxy S II SGH-T989] WillySteve:
I have 2- T989's which I've installed this Rom on.....1 is working fine with the exception of not being able to get rid of the lock screen, the other is bootlooping!

I've wiped Cache, Davlic Cache, re wiped system and reinstalled twice and still in a bootloop?

I'm installing the zip files from an external SD.
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
It can take 15 minutes or more to fully boot the first time. Make sure you are following the installation directions exactly, and have flashed my special recovery which needs to be used for flashing this ROM.

1. Not sure what you mean about "not being able to get rid of the lock screen".

2. Remove your External SD and try booting then. If that works to get boot, then copy the files off the card to your PC, reformat the card as vFAT or FAT, and then insert it in your device and boot again. Android M should prompt you to use it as Portable Storage (highly recommended) or Internal Storage (which is encrypted and NOT recommended).

Most, if not all of the newest Nexus AOSP devices have no External SD, so the support for External cards is patched in by ROM teams. There are known issues with External SDs formatted as Internal Storage, and you will not be able to use the card in ANY other device after this (it gets encrypted). It basically makes the card invisible to the OS, file browsers, etc, and treats it as an extension of the internal.

You can try what you like there but I've read horror stories with Internal Storage External SD card use, and do not recommend it.
[T-Mobile Samsung Galaxy S II SGH-T989] crazydude10:
Hi there,

I have a problem following the last statement above - Once I hit reboot to (your) recovery, the device stays blank after reboot. It neither boots into recovery nor am I able to reboot to installed OS (if I skipped formatting the partitions in the earlier step).

I used TWRP 2.8.0.1 / 2.8.6 / modified 2.8.7.0 (https://androidfilehost.com/?fid=24421527759885826) to flash your recovery, with same results.

The only thing I can then do is go to download mode and re-flash the older recovery, and then I able to boot into the OS (Stock 4.1.2 - I had odined to stock before starting the instructions).

Am I doing something incorrectly or is there another compatible version of recovery I can use with your rom ?
[T-Mobile Samsung Galaxy S II SGH-T989] WillySteve01:
Sorry Dan, On the phone that's working nicely, there is no setting to NOT use, (or to disable), the lock screen, which I never use? Also on the phone that's working good, I find no way to set the Home Screen, I'm stuck on using the Far Left Screen for Home!

I'll try your advice on reformatting the sd and let you know!

Thanks Mucho....I LOVE the one that's working.......best Rom I've had out of about 10!!!

UPDATE on the Bootlooping phone! Still in a bootloop after trying your suggestions. I've also rewiped and reinstalled as per your instructions to no avail. for the 4th time?
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
Well, the recovery you linked is not "flashable". It's the TAR version of my recovery, which is intended for ODIN.

Use the ZIP version or the IMG version, or use that TAR version you linked within ODIN. You can choose in some more recent TWRP versions to flash an image vs. zip file.

Home screen? That is launcher-dependent. What launcher are you using?

Where did you get the devices, and what ROM versions were on them when you started? Could they have been modified by the previous owner? If you aren't sure, then I would definitely default the device to stock before proceeding with my instructions.

Not sure what you mean about the lock screen. Don't you have options under Settings > Security > Screen lock? You should be able to choose "None" in there... (see attachment)

Get me a Logcat and dmesg log of the boot loop if you still need help.
[T-Mobile Samsung Galaxy S II SGH-T989] sidkud:
This ROM is running really smooth, no RRs. I flashed opengapps latest (5 March) and the keyboard patch. I was already on twrp 3.0 which seems to go well with candy six. Thank you Nospamdan.
[T-Mobile Samsung Galaxy S II SGH-T989] yorch_300:
Where is the 03/04 update?

Sorry but in page one say Last Update 2016/03/04... Where is this? The zip file for download is 02/11... Where is 03/04?? :confused: :eek:

Or is Candy OTA update from the cell phone? I dont understand? :confused:
[T-Mobile Samsung Galaxy S II SGH-T989] WillySteve01:
Dan, BOTH devices were purchased new from T-Mobile-USA and have been rooted for 2 years!

I've changed the launcher to NOVA and all is well with #1 device and it's running fantastic!!!!!!

Now about #2 which is stuck in bootloop.

I've done everything the very same on it as I did on the #1 devise and I'm using your recovery, TWRP v2.8.7.0VP.

I'm having a terrible time getting you a log with it being stuck in bootloop. When I run the SDK cmd, "adb devices" I get no return of a listed device. I've tried during the bootloop and again while the device is in recovery but still can't create a txt log.

NOTE: Don't know if this has anything to do with it but when I wipe the system, it always shows:

Current File Syst: ext4

Size: 2017MB

Free: 1982MB

Used: 35MB

Backup Size: 35MB

I went back to recovery and mounted the MTP and will try again for a log!

15 min later: still no log but there is a "recovery.log" shown in the internal storage if that might help?
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
Good deal with the launcher on #1... :)

As for #2, the system size looks correct, but I would suspect it's something in /data or /data/media. You did the advanced formatting of /data/media (internal SD), correct?

If there is a SIM card in the device, try removing it and see if it boots.

If you can't connect via adb, it may be a driver issue, where you already have one device set up. You could possibly try another computer.

Boot to recovery, mount all listed partitions, and then on some computer, connect via adb. Once there, can you run the following commands, and post the resulting text back here?:

1) blkid

2) mount

3) cat /proc/emmc

If you haven't tried already, you might want to use ODIN to reset the device to a stock factory ROM and start over...

EDIT: If it truly is stuck in a bootloop, you can also try this:

Hold the buttons to get back to recovery, and see if you can mount /system and copy off /proc/last_kmsg and/or /proc/kmsg for upload to pastebin.com or hasteb.in and link them back here...
[T-Mobile Samsung Galaxy S II SGH-T989] WillySteve01:
Will this help? http://xdaforums.com/attachment.php?attachmentid=3672983&stc=1&d=1457300072

OH, BTW both phones are coming off of Candy5 as their last Roms!
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
That attachment is a mess with no line breaks...

These lines stand out to me:

<7>[ 0.150604] SELinux: Starting in permissive mode
<3>[ 1.923980] init: Warning! Service recovery needs a SELinux domain defined; please fix!
<6>[ 3.451782] SELinux: Context u:object_r:recovery_cache_file:s0 is not valid (left unmapped).

Wonder why SELinux is in permissive? My ROM should be in Enforcing. I would try reformatting ALL partitions you can in recovery, resize them and do the repair if possible. Wipe Advanced to get the /data/media/0 partition too. If that fails, then ODIN back to a factory ROM and start over. Something is off with your setup and it's not entirely obvious to me with this quick review.

Here's your log in better format:

https://hasteb.in/ziwelaguya.xml
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
I have always and will continue to post ROM update notices in the thread. You can't go by the last modified date of the OP... I fixed a broken image link. [emoji15]
[T-Mobile Samsung Galaxy S II SGH-T989] WillySteve01:
[IMG="Oden"]http://www.sardiscabins.com/img/Oden.jpg[/IMG]

I'm pullin out whiskerz now!!! After going back to stock Rom with Oden I ended up with the Sammy screen of death!!! Finally got Oden to take another file which got me back the stock recovery. I then installed your updated recovery, wiped all again and installed the CandySix Rom which got me right back to square 1 with the boot screen just setting there in animation and nothing else!

I'm still unable to connect the phone unless I'm in recovery?

Here's an image of the oden that finally got back the stock recovery (but still would not boot),

plus a link to the only thing I can get from a cmd prompt!

G="Report#2"]http://pastebin.com/BygNG6MF[/IMG]

---------- Post added at 11:20 PM ---------- Previous post was at 11:14 PM ----------

Candy5 was working fine on both devices?

---------- Post added at 11:53 PM ---------- Previous post was at 11:20 PM ----------

Dang....what's with all the posts when I only clicked once?????
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
What version of Candy 5 were you running, normal or repartitioned?

Try pulling the battery for 5 minutes, then replace it and try again.

Please run the adb shell commands I asked for and pastebin the output.
[T-Mobile Samsung Galaxy S II SGH-T989] WillySteve01:
Last updates I saved were: candy5-release.v3.8-20151004-UNOFFICIAL-hercules, but pretty sure I did some updating from there.

Here's the url for pastebin: http://pastebin.com/0WGX9QXG
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
Thanks for the info. All partition information looks correct from your blkid and mount outputs. Not worried about /proc/emmc not working right now.

It has to be something in your /data partition stopping things. Try this:

Return to stock with ODIN

Let the stock ROM boot up (it may reboot once or twice on its own. If it gets stuck, hold the power button to reboot it)

Power off the device

Enter download mode (you know how to do this if you've used ODIN)

Flash a STOCK TWRP recovery version. If you have the reboot option selected, it will reboot the device after. Let it boot.

Unplug the device and shut down the phone with the power menu.

Boot into the STOCK TWRP recovery and mount/format ALL partitions except EFS, and your External SD card.

When done, flash my Virtual Partitioned TWRP zip file.

Reboot to recovery with the TWRP menu.

Follow the OP instructions to Wipe (format), resize and repair each partition.

IMPORTANT: Make sure you select Wipe from the main TWRP menu, and then Format Data. You'll have to type "yes" to acknowledge, and this will wipe and set up your Internal SD storage space.

#11 is what I suspect is the problem for your second device...

Also, can you confirm what modem you are using, for reference?
[T-Mobile Samsung Galaxy S II SGH-T989] WillySteve01:
Does this help? Not really sure on how to find the type of modem!

C:\Users\WillySteve\AppData\Local\Android\sdk\platform-tools>adb shell cat /proc

/tty/drivers

/dev/tty /dev/tty 5 0 system:/dev/tty

/dev/console /dev/console 5 1 system:console

/dev/ptmx /dev/ptmx 5 2 system

rfcomm /dev/rfcomm 216 0-255 serial

acm /dev/ttyACM 166 0-31 serial

msm_serial_hsl /dev/ttyHSL 244 0-2 serial

msm_serial_hs /dev/ttyHS 245 0-1 serial

pty_slave /dev/pts 136 0-1048575 pty:slave

pty_master /dev/ptm 128 0-1048575 pty:master

smd_tty_driver /dev/smd 253 0-36 serial
[T-Mobile Samsung Galaxy S II SGH-T989] yaseenarafath:
[MENTION=4435460]NoSpamDan[/MENTION] any update?

request new feature updater inside for new roms update
[T-Mobile Samsung Galaxy S II SGH-T989] WillySteve01:
Dan, I couldn't find a Stock Rom in my backups or online, so finally, between Odin and switching back and forth between Recoveries I flashed a zip back to Carbon_Hercules, 4.4.4 and it's up and running good.

Now if I can just get it to work with CandySix like the #1 device my World would be almost perfect again.......well at least if I added a few more wants in there!!!! lol

OH....I also had to reformat the cache back to F2FS with your updated recovery, then went back to Herc, 6.0.4.3 before the rom would install!
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
I would stick to ext4 for /cache and /data until everything works. My Virtual Partitioned TWRP will not flash normal ROMs, and neither will the Stock TWRP or CWM flash VP ROMs...

This is the page with stock firmware, but the download speeds may be quite slow:

http://www.sammobile.com/firmwares/download/10961/T989UVLI4_T989TMBLI4_TMB/

EDIT: I posted this to my AFH account: T989UVLI4_T989TMBLI4_TMB.zip
[T-Mobile Samsung Galaxy S II SGH-T989] junio07:
Great Rom!

this rom is one of the best. but i like the cm13 camera, is it possible to put that cm13 cam on this rom?
[T-Mobile Samsung Galaxy S II SGH-T989] yaseenarafath:
[MENTION=4435460]NoSpamDan[/MENTION]

when im using Titanuim backup and xposed this rom is becoming laggy..???? and

some times camera is not opening. (dismiss camera that dialogue appers).
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
Some lag on the device when using TiBu is to be expected. I also see it when restoring apps from the Play Store. I should soon have a build with more i/o schedulers to test.

Have you tried formatting the data partition to F2FS?

What Xposed modules are you using?

I need a Logcat and kernel dmesg for analysis
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
Make a nandroid and try it! What is the exact camera package name?
[T-Mobile Samsung Galaxy S II SGH-T989] junio07:
i don't know what the app is. my root explorer always fc whenevere i tried to open at cm13

but this is what the camera apps looks like at CM13...

Edit: the CM13 Camera App Name is... Snap, or CM13 Snap Camera. :)
[T-Mobile Samsung Galaxy S II SGH-T989] yaseenarafath:
[MENTION=4435460]NoSpamDan[/MENTION]

data partition to F2FS?? i dont know how to do this...havn't try.

i use amplify,deep sleep battery saver, gravity box [marshmallow], lucky patcher ,

sure i will provide u logs for that issues

and what about the bug for camera???? "dismiss"dialogue appers.

and last one more thing i have to take a reboot for that issue of camera...but when i reboot the phone stuck on boot and its taking much time to complete the process...
[T-Mobile Samsung Galaxy S II SGH-T989] skramz:
Helping out a friend on his T-Mobile Galaxy S2

Following the instructions from thread #1:

When I select Internal Storage, I'm getting this error "invalid partition selection" so I can't change the required file system to EXT4...

Any advise?
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
I don't know about all those Xposed modules, or what you are trying to do with them... For what do you need lucky patcher?

These things could be working against you. Get rid of all that crap, at least for testing.

I have already asked you to for logs, but don't see any links to them... ?

See where things are at without all that Xposed business. Test the camera with the ROM only, no GApps, and get me a LOGCAT showing the crash.

I need logs when **** isn't working like I've asked for. Not more complaining on G+ too. Seriously, dude.

Try to reboot back into recovery, and try again. Make sure you are using my VP version of TWRP.

If the problem happens again, export the recovery log, post it on pastebin, and share the link it here.
[T-Mobile Samsung Galaxy S II SGH-T989] WillySteve01:
Haven't messed with this in several days however today I got back into it. I flashed the stock rom you linked to, did everything again as stated and still, it just sit there with the 4 little squirrlies flashing and blinking and never finishes the boot.

SO, I wiped clean again, went back to the TWRP 2.5 open recovery, Wiped again and installed UVMC6_HERCULES_TETHER_-IQ - 4.1.

Booted just fine and ran it abit, wiped again, shut down, installed the VP recovery and then the 6.0 rom.

Same exact thing, it boots to the 4 animated dots and stays there!

I'm thinking this phone just needs to run on the old Candy5 which it was doing fine with!

---------- Post added at 01:15 AM ---------- Previous post was at 01:07 AM ----------

BTW. the other G900T is still doing great!!!
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
Full wiped and reformatted ALL partitions, then shut down, installed VP recovery, rebooted back into the VP recovery, and then reformatted all partitions and Internal Storage AGAIN with the new recovery, BEFORE installing CandySiX, right?

I have done this several times, and clearly you had success with one device, but I can't for the life of me tell what you did or didn't do during setup. Something wasn't done properly is all I can say at this point.

I still need a TWRP log from your wipes and install attempt using my VP recovery

to try to piece together what you did. Without that, I'm completely blind to help you. :confused:

Uhhh, what is a G900T, you don't mean SM-G900T Galaxy S5, do you? Hopefully you know this is a ROM only for the SGH-T989 Hercules... (praying for a typo here) :eek: ;)
[T-Mobile Samsung Galaxy S II SGH-T989] WillySteve01:
Yes, it's a typo as I have another device, (sm-g900t) running on cm13.....sorry!!

We ARE working on a T-Mobile SGH-T989 :D

I will get you a log later today, I have all day fishing clients today so will be busy!

Thanks, and Cheers!!!
[T-Mobile Samsung Galaxy S II SGH-T989] psnherath:
dear friend how to format Internal Storage as EXT4 or F2FS
[T-Mobile Samsung Galaxy S II SGH-T989] WillySteve01:
SEE page #1!
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
New build is up in Post #2

CandySiX-1.1-hercules-OFFICIAL-0315.zip is available in Post #2. Make a nandroid backup!

This is likely the last build on the current AOSP-ish base we have, while we wait for our "pure" AOSPB bring-up... You may find a switch under the Buttons menu to disable the HW Keys, but beware you will need to enable the NavBar to have navigation controls if you do this.

*** The HW Key Lights switch is a WIP and does not currently work! You can use the ScreenFilter app from the Play Store to disable the lights for now if desired...
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
FYI [MENTION=5988908]yaseenarafath[/MENTION] you do realize that Gravity Box is for stock ROMs only, and you can have issues with Custom ROMs with it, right?

http://repo.xposed.info/module/com.ceco.marshmallow.gravitybox
[T-Mobile Samsung Galaxy S II SGH-T989] juni12:
Why don't you update the info of the version? I mean, the stable build stays in 2/11; so, the last update it's not stable yet? [MENTION=4435460]NoSpamDan[/MENTION]
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
That's the date stable builds began in this project. It was first ALPHA, then BETA....

If that's all you are concerned about, then I'm in good shape. :p
[T-Mobile Samsung Galaxy S II SGH-T989] yaseenarafath:
:good::good::good::good::good:

---------- Post added at 10:30 AM ---------- Previous post was at 10:27 AM ----------

yeah, i realize it later..and i unistall it. i totally unistall xposed and the rom is working great..got to flash this last build and see how it works.
[T-Mobile Samsung Galaxy S II SGH-T989] davebert0:
Tried to flash latest 0315 but getting a error complaining the /data partition is too small. I check to make sure and it shows /data is 4GB. I haven't had any problems flashing the previous 4 updates. Have not change any partitions on the phone and was able to flash back the previous 0211. Has anyone flashed the latest version successfully?
[T-Mobile Samsung Galaxy S II SGH-T989] NoSpamDan:
Yes, I have personally tested this, albeit on my Skyrocket, but the Hercules is identical with respect to everything but the rotation sensor...

Export the log from TWRP of your installation activities and pastebin or hasteb.in it, then post the link to it here so I can look at it.

Your /data partition should be about 12GB. Did you try to repair/resize it after? Silly question, but are you using my recovery?

Boot the device up into my VP TWRP recovery, mount ALL partitions in the Mount menu, then run each of the following commands (one at a time, followed by the Enter key) while the device is attached in an adb shell. Pastebin or use CODE tags here to provide the output:

blkid

cat /proc/mounts

df

Here's my sample output (run from recovery):

D:\Android Stuff\Dev\adb>adb shell
~ # ←[6nblkid
blkid
/dev/block/mmcblk1p1: UUID="7802-1F12" TYPE="vfat"
/dev/block/mmcblk0p28: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p27: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p26: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p25: LABEL="system" UUID="da594c53-9beb-f85c-85c5-cedf76546f7a" TYPE="ext4"
/dev/block/mmcblk0p24: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p21: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"
/dev/block/mmcblk0p17: UUID="29B2-ACBF" TYPE="vfat"
/dev/block/mmcblk0p13: UUID="29B2-ACBF" TYPE="vfat"
/dev/block/mmcblk0p1: UUID="35269bb5-efec-47aa-acd9-3e3e2f0fc75f" TYPE="ext2"

~ # ←[6ncat /proc/mounts
cat /proc/mounts
rootfs / rootfs rw,seclabel 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
tmpfs /tmp tmpfs rw,seclabel,relatime 0 0
/dev/block/mmcblk0p28 /data ext4 rw,seclabel,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p28 /sdcard ext4 rw,seclabel,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p24 /cache ext4 rw,seclabel,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk1p1 /external_sd vfat rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/block/mmcblk0p21 /efs ext4 rw,seclabel,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p25 /system ext4 rw,seclabel,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p27 /preload ext4 rw,seclabel,relatime,user_xattr,barrier=1,data=ordered 0 0

~ # ←[6ndf
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 429348 24 429324 0% /dev
tmpfs 429348 20 429328 0% /tmp
/dev/block/mmcblk0p28
11619316 6778604 4840712 58% /data
/dev/block/mmcblk0p28
11619316 6778604 4840712 58% /sdcard
/dev/block/mmcblk0p24
602708 10120 592588 2% /cache
/dev/block/mmcblk1p1 30648992 8264192 22384800 27% /external_sd
/dev/block/mmcblk0p21
10064 4336 5728 43% /efs
/dev/block/mmcblk0p25
2066172 836172 1230000 40% /system
/dev/block/mmcblk0p27
130024 4168 125856 3% /preload