yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] post-mortem:
Since apps are able to check the value of the flash counter, shouldn't it be possible to make an Xposed module to intercept such checks & return a value of zero? It seems that there are so many people who want to use TriangleAway on any old ROM & kernel, all because they want to run a certain app.
[Galaxy S II Original Android Development] danlo:
I too would like to see if someone posts 2.90. I'm in the same boat - v3 apparently doesn't work well with the civ kernel.
[Galaxy S II Original Android Development] apeiron6:
http://db.tt/ik2vRn5S
[Galaxy S II Original Android Development] Waughy:
Just purchased from the play store after flashing unbranded XSA rom to my Australian Telstra S4, which I rooted with CF-auto root. Both worked fantastically, thanks heaps for your efforts Chainfire.
[Galaxy S II Original Android Development] ToddlerTN:
Does NOT work with Sprint Samsung S4 running the latest software version (MF9). :(
[Galaxy S II Original Android Development] sasha007:
Any news for i9500 support ? :angel:
[Galaxy S II Original Android Development] Brian_SGW_CM9:
worked flawlessly on my samsung galaxy s2 plus NFC version!
[Galaxy S II Original Android Development] mrmrmrmr:
On my note 8 , v2.90 does not work.

It just starts and complains about not being able to find the header.

so, [MENTION=3986004]civato[/MENTION] how did you manage to make it work ?

[MENTION=283181]danlo[/MENTION], did it work for you ?
[Galaxy S II Original Android Development] danlo:
I was able to run v2.90 with civ's 2.0 kernel. I understand 2.9 doesn't work with the Note8 stock kernel. However, allshare still doesn't work. I think I would have to literally go completely stock for that to happen.
[Galaxy S II Original Android Development] mrmrmrmr:
Ok; I could only make v2.90 run with civato's kernel.

But with that kernel and v2.90, when I click reset counter, the device does not boot and says it has resetted .

However, when I reopen the app, or go into download mode, I still see counter as 2.

so this combination does not work at all.

To sum up;

1. if I use v2.90 with stock kernel and recovery; it complains about missing magic header.

2. if I use v2.90 with cwm and civato's kernel, the app does not go in tp boot mode, says it has resetted but when I open the app again, see it has not changed.

How does it work for you guys ?

Please help me...
[Galaxy S II Original Android Development] ahmadkamalrmc:
It worked, it worked flawlessly!
[Galaxy S II Original Android Development] goes_like_hell:
Hi,

i have one short question,

does triangleaway 3.0 work on S4 Duos GT-I9502 to reset flashcounter ?

Second question (dont know if its offtopic here): Ist there a fie in the Galaxy S4-Models where the flashcounter is limited to five

and after five attemps it deletes CWM and blocks usb-connection ?

Thats why i am asking to reset.

Thanks for advice,

goes like hell
[Galaxy S II Original Android Development] maranello69:
this sounds like a workable solution, any updates, chainfire?
[Galaxy S II Original Android Development] SlimMan:
I have used this on the Samsung Galaxy Centura. Works like a dream!

Thanks, Slim!
[Galaxy S II Original Android Development] civato:
My custom kernel and in triangle away I use the option, reset at boot, this way on every reboot it stays at 0.
[Galaxy S II Original Android Development] krzych:
GT-i9505 international after patching says in download mode "official" and "samsung official" (or something like this, so it's correct), BUT when you go to the settings "about->status" it says "CUSTOM" (after it scans something).

What to do about this?
[Galaxy S II Original Android Development] fugitiv3:
Firstt THANKS for this it works perfect on my I9505 :D

hello mate.. I have encountered the same thing and solved it... just open Triangle Away and tick "Allow tracker to run" click OK it will reboot and you are going to get official in device status if you are lucky :D hehe
[Galaxy S II Original Android Development] krzych:
Ok, but wwhat does it do? Runs a service which corrects the situation or modifies something to permanently correct the situation?

What that status means exactly? Triangle Away itself shows binary="custom" (just noticed)

What should I do to have device ready to be flashed by stock rom if I will have to get to the Samsung for possible repair? Do I really have to modify anything but the "flash counter"?

I'm new to Samsung and I've chosen to root it by cf-aut-root by ChainFire as he usually maakes good programs, but now I'm not convinced that there isn't better method for example without touching Odin (because it seems that only when you use Odin the flash counter increases... - when I just remount /system rw and write something, no flash counters increases, so exploit+simple write would be perfect...?)

Sorry for me being a lame in this topic, but HTC had it much simpler and I'm quite lost here...

PS. "Allow tracker to run" DOES NOT help :(.
[Galaxy S II Original Android Development] fugitiv3:
hehe hope so someone answers to your questions because I am new also to Samsung... I was an iphone user before... I dont know what exactly does but it does the job... :D
[Galaxy S II Original Android Development] XtremeMaC:
I have SGS3 official DLK3 AT&T Rom 4.1.1

I have unrooted and unlocked it with Chainfire.

I had used the earlier versions of this software when I was on 4.0.4 or something and it had worked perfectly.

For a while I did not pay attention to the OTA or the system status. but now I want to use triangle away to get the system to Normal.

Even though the counter says 0 and triangleAway says binary:official, system status is modified.

Now I tried the other options in version 3.00 but i'm not getting any luck.

can someone tell me how to get the system to show normal? again the counter is 0.

TIA!
[Galaxy S II Original Android Development] ToddlerTN:
I don't think version 3.00 works, at least it doesn't on my phone but previously it did. I'm using Sprint SPH-L720 on MF9 rooted, and Triangle Away 3.00 is completely baffled by it.
[Galaxy S II Original Android Development] el_kwas:
Which Firmware and CSC do U have?

Jaki soft, region CSC jaki masz ustawiony?
[Galaxy S II Original Android Development] thienbrand:
Chainfire, just to remember, we love your works, we love you and we are still waiting for I9500 support.
[Galaxy S II Original Android Development] Chainfire:
Does it give you a message about not doing it, or does it not allow you to press the button, or does it simply not do anything ? What exactly happens ?

You'd still get the modified status.
[Galaxy S II Original Android Development] farhanito:
I'll try to answer on behalf of [MENTION=3986004]civato[/MENTION],

On v2.90 + custom kernel w/ triangle away support :

Our devices detected correctly as GT-N51XX,

Current Status read correctly.

When Reset flash counter tapped, the app tries to reset, success message and quit.

Re-open the app, Current Status shows Counter : 0, Binary : Official.

On later version,

Reset successful, but still, Counter : 1
[Galaxy S II Original Android Development] krzych:
Don't know where to check CSC - any advices (in build.prop or something)? Below all that I know:

Model number: GT-I9505

Baseband version: I9505XXUAMDE

Kernel: 3.4.0-431985

se.infra@SEP-106 #1

Fri Apr 12 17:00:35 KST 2013

Build number JDQ39.I9505XXUAMDE

You mean it is a scan which somehow checks the md5 or similar to detect the changes? So any way of rooting will have custom status? Or I'm again lost? Please, explain what's happening here.

And I asked about what if I would flash right now an original stock rom - would it be "not custom" then with flash counter reset to "samsung official"? I mean, am I safe to reflash stock and return to the warranty service?
[Galaxy S II Original Android Development] skatlyup:
Does anyone know if it works with the JellyMOD? (http://xdaforums.com/showthread.php?t=2170925)
[Galaxy S II Original Android Development] Chainfire:
Where are you checking that counter ? In download mode ? Or in the app ? Did you restart the app after resetting ?

For the "system" state: yes, that's pretty much what happens.

On some devices the latest Triangle Away seems to consistently keep the status on Official, but as I have stated many times before, that are many subtle differences between phones regarding this mechanism.
[Galaxy S II Original Android Development] farhanito:
Actually (on my device) the app kills itself after resetting. Relaunched the app and Counter still showing 1. So does in Download mode.

Unlike 2.90 version.

Mind you, this happens with custom kernel with triangle away support. With stock kernel, it works flawlessly.

Thanks
[Galaxy S II Original Android Development] el_kwas:
Try to CSC Changer and tell me which region (in 3 letters) U are using. AFIK XEH region (for non brand service) if not that's the problem i think.

BTW. Even if u reset the counter on stock settings U will allways see the yellow triangle in bootloader anyway :(
[Galaxy S II Original Android Development] krzych:
No way! The app threatens me that it will erase my phone (factory reset!) ;).

Here:

SW_Configuration.xml: <CSCName>I9505PRT</CSCName>

SW_Configuration.xml: <CSCVersion>AMD8</CSCVersion>

csc/customer.xml: <CSCEdition>ED008</CSCEdition>

Is it enough or should I dig deeper?
[Galaxy S II Original Android Development] blessingme:
This is for ChainFire!

i attached the zip ... FOR THE ERROR: Sent from my GT-I9500. But Triangle Away is not working !!

I HOPE YOU CAN HELP.
[Galaxy S II Original Android Development] thienbrand:
This is for you Chainfire, i9500 XXV MG1 :)
[Galaxy S II Original Android Development] el_kwas:
This happen only when U hit instal button. To check the CSC it's safe ;)

The CSC seems to be tru (PLAY brand with the newest firmware) so that's not the problem :(
[Galaxy S II Original Android Development] urayy1:
Galaxy Note 8

I've rooted and installed TriangleAway. The counter is set at 1 and when I ran TriangleAway, it said that the device wasn't supported. So it created a dump file.

I've attached a copy of the dump. If you could look at it, much appreciated Chainfire.
[Galaxy S II Original Android Development] Lucas_Skyline:
Guys,

I have a GS3 (I9300) and I will sell it, because I bought an GS4. To sell it, I will return everything to stock. My GS3 has now a custom 4.2.1 Rom (Omega 46.1, based on a leaked from Samsung). I was reading about the triangle away and I read that it works better on a stock firmware.

This way, is it better to flash the stock, root, use triangle away and flash stock again OR use the triangle away in the custom and just flash the stock?

I'm using the stock Kernel and the PhilZ recovery, so my question is: will triangle away work on this custom OR is it better to return to stock before doing it?

Thank you!
[Galaxy S II Original Android Development] graco2213:
Flash fully stock firmware, root, install triangle away, reset count etc, uninstall triangle away, enter superSU app, click totally unroot, Done, You can sell Your phone

Wysłane z mojego GT-N7100 za pomocą Tapatalk 2
[Galaxy S II Original Android Development] soulkyo:
Hi, first of all thanks CF for this great tool. Managed to reset the counter on my I9300, now it shows Custom Binary Download: NO, Current Binary: Samsung Official and System Status: Official.

Will I be able to update to 4.2.2 once officially released? Thanks!
[Galaxy S II Original Android Development] Narenji89:
My i9500 doesn't show counter in download mode. Can I root it and revert stock whenever I needed a guarantee service?

&

Is there a way to find out whether the device is rooted before?

Sent from my GT-I9500
[Galaxy S II Original Android Development] mrmrmrmr:
[MENTION=631273]Chainfire[/MENTION]

I have a different result on my Note 8 , but my device is N5105 (instead of a N5100). This is a special device only sold in Turkey.

It's hardware is exactly N5100 but the software lacks the phone app. (and phone features)

Its bootloader is also different (it says N5105 when booting)

My result is;

with v2.90 on Custom kernel , it reads the status and shows flash counter 2. when I press reset, it says reset!. But when I re-open app, it still shows fc 2.

with v3.00 on custom kernel, same result

with v3.00 on stock kernel, stock recovery , it doesn't read status of the device. When I press reset, it goes into a special mode like recovery. does the reset but there is no affect of reset.

I believe this difference comes from my bootloader. Would it be possible to fix this ?

Would it be a good idea to change or fake bootloader ?
[Galaxy S II Original Android Development] GDT:
I've got paid 3.00 version and successfully used it on my Note II. Now I bought a Note 10.1 and tried to use again.

Installed, asked me for model confirmation, downloaded something at startup and crashed. So I started again, resetted counter but it keeps on asking for model confirmation at startup and can't determine current status.

What can I do?
[Galaxy S II Original Android Development] sarsarhos:
just waiting galaxy s4 i9500 :)
[Galaxy S II Original Android Development] kcrudup:
It's happening to me, too. The versions 2.99 and later report the flash count, then you hit "Reset Flash Counter" to reset it, it then toasts "Flash Counter Reset" for a second before TA exits- but the counter hasn't been touched (viewable by either re-running TA or going into Download mode).

If I revert the commit in my kernel that exposes the EMMC "boot[01]" partitions you need to access, then TA (of any version, of course) won't see them and it points out upon an attempt to reset it that it needs to boot into its special mode to reset the count- and that special boot mode still worked in at least 2.99 .
[Galaxy S II Original Android Development] gallous_boy:
Will this work on andyx roms? and how do you install/flash the triangle programme? is it through cwm?
[Galaxy S II Original Android Development] :
If it is ICS based roms then yeah and no install like a normal apk.
[Galaxy S II Original Android Development] gallous_boy:
tried this but says installation aborted on cwm with an explanation mark
[Galaxy S II Original Android Development] :
do not flash it through cwm.. just install like a normal apk. so just tap on the icon and press install and that should be it
[Galaxy S II Original Android Development] gallous_boy:
tried this also, saying no application can perform this action.

does the file need to be extracted before?
[Galaxy S II Original Android Development] ephraim:
If it is in zip format rename it to .apk
[Galaxy S II Original Android Development] dadoc04:
worked perfectly...thanks CF
[Galaxy S II Original Android Development] Princeomi:
Does this work with LPQ release, just asking to be sure, as to not brick my phone.

Edit: Got my warranty back! Thanks CF
[Galaxy S II Original Android Development] endursa:
i just tried it, and it worked :)
[Galaxy S II Original Android Development] Bl@ck:
Successfully reset'd my flash counter and yellow triangle, thank you Chainfire :)

I ran the tool on latest CM9 nightly, with old bootloader.
[Galaxy S II Original Android Development] d2k12:
I'm getting an error when running the app on LPQ > "Could not read flash data"

Any ideas? Thank you
[Galaxy S II Original Android Development] vitalij92:
Root Permissions?
[Galaxy S II Original Android Development] d2k12:
I have CWMR Touch v.5.5.0.4 in recovery so my phone is rooted.

Edit: I did not have superuser installed. It's all good now. Thank you
[Galaxy S II Original Android Development] haidari:
works like a charm on Samsung I9100 Galaxy S II.

thanks in advance !!
[Galaxy S II Original Android Development] redzion:
tnx.. LPQ - working..
[Galaxy S II Original Android Development] vichimp:
Work like a magic on every ICS rom i tried and now i can confirm that is fully working on LPQ...
[Galaxy S II Original Android Development] thibault1403:
Very good....

works like a charm on XXLPJ...

Thanks Chainfire
[Galaxy S II Original Android Development] Ciceroripi:
25 to 0 in one touch! Wow!

Tks! Great work!
[Galaxy S II Original Android Development] Lycoss:
Parse error

on my samsung galaxy sII i9100 with android 2.3.5 i can't install this application, it says: Parse error - There is a problem parsing the package.

Does anyone know why and how to install this apk?

Do i need to have ICS 4.0.3 installed in order for this apk to work?
[Galaxy S II Original Android Development] crusher1908:
How can i know if it's compatible with my bootloader? i have an i9100 from telcel in Mexico, with 1.2 hardware version, i'm about to install lpq firmware on my device, thanks.
[Galaxy S II Original Android Development] winpeace:
waiting galaxy s4 i9500.

Any time for this?
[Galaxy S II Original Android Development] post-mortem:
Just to let you know, it is considered rude to ask developers for ETAs (Estimated Time of Arrival) of their work.

I believe others have already posted dumps from their S4s, so we just have to wait.
[Galaxy S II Original Android Development] bahtsiz_bedevi:
Just freezing SysScope.apk doesn't help us too much. It just prevents the database trigger to become "Modified" at the Bootloader screen.

Apparently Samsung is aware of us and trying to make SysScope mechanism less breakable by users.

Following apks' also have SysScope code

BCService.apk

FactoryTest.apk

SecSettings.apk

SyncmlDM.apk

Wiping SysScope data doesn't work if you have a root required app running in the background. SysScope periodically checks process list in /proc whether they are in the approved list (white list)

public final com.sec.android.app.sysscope.service.f a(Bundle paramBundle)
{
int i = 0;
com.sec.android.app.sysscope.service.f localf1 = com.sec.android.app.sysscope.service.f.a;
while (true)
{
int j;
int k;
try
{
File localFile1 = new File("/proc");
if (!localFile1.exists())
throw new FileNotFoundException(localFile1 + " is missing (man 5 proc)");
localArrayList = new ArrayList();
arrayOfFile = localFile1.listFiles();
if ((arrayOfFile != null) && (arrayOfFile.length > 0))
{
j = arrayOfFile.length;
k = 0;
break label322;
}
if (localArrayList.size() > 0)
{
localf3 = com.sec.android.app.sysscope.service.f.d;
localObject = "";
}
}
catch (FileNotFoundException localFileNotFoundException1)
{
try
{
ArrayList localArrayList;
File[] arrayOfFile;
if (i >= localArrayList.size())
{
a((String)localObject);
return localf3;
File localFile2 = arrayOfFile[k];
int m;
if ((localFile2.isDirectory()) && (Pattern.matches("\\d+", localFile2.getName())))
{
m = 1;
if ((m != 0) && (checkIsApprivedProcess("/proc/" + localFile2.getName()) < 0))
{
n = 1;
if (n != 0)
{
Log.b("SysScopeRootScanner", "isUnapprovedRootProcess returns true: " + localFile2.getName());
localArrayList.add(localFile2);
}
k++;
break label322;
}
}
else
{
m = 0;
continue;
}
int n = 0;
continue;
}
String str = localObject + a((File)localArrayList.get(i)) + " ";
i++;
Object localObject = str;
continue;
localFileNotFoundException1 = localFileNotFoundException1;
return localf1;
}
catch (FileNotFoundException localFileNotFoundException2)
{
return localf3;
}
catch (f localf4)
{
com.sec.android.app.sysscope.service.f localf3;
return localf3;
}
}
catch (f localf2)
{
}
return localf1;
label322: if (k < j);
}
}
[Galaxy S II Original Android Development] Chainfire:
Have you tested with an earlier version (after using 2.99) to make sure its not a new bootloader thing? If not, we'll have to chat and test in person - you can find me on IRC.

Lately the entire core of TA has been rewritten, it's possible a bug got in there somewhere. There's no intentional remove of support from custom kernels as implied by some.

I9500 can currently only be reset after manually flashing an engineering bootloader. There's at least one hack for it out there, but the owner of said hack left XDA in a ragequit, and now refuses to give up the hack because I'm a moderator here, and thus associated with XDA, and thus I must be evil.
[Galaxy S II Original Android Development] Maceee:
Just found a way how to get official system and 0 flash counter with custom rom and kernel. After flashing a new rom press reboot but don't let it to boot to rom but boot straight to recovery and flash kernel and then boot. And you'll have all official.
[Galaxy S II Original Android Development] sasha007:
Are you sure he had that hack actually ? Or was he just bluffing ?

Anyways you were discussing with sorg about the possible option to make an automated process to flash the engineering bootloader right ? :confused:
[Galaxy S II Original Android Development] Chainfire:
100% sure? No. But previous claims of new hacks by this guy have always turned out to be true. I have no reason to doubt the claim itself.

Yes, the bootloader flashing method that worked on various other models, and was though to work on the i9500, actually didn't.
[Galaxy S II Original Android Development] sasha007:
Okay . Now since his hack won't be available anymore , do you have any other hack to reset the counter ?

Since flashing the engineering bootloader isn't found to work ? :confused:

Any hope ? :confused:
[Galaxy S II Original Android Development] kcrudup:
Yeah, which is why I'm not sweating the FC too much- I really only care 'cause I'd like to make the AllShare Cast Dongle work, and it looks like that ain't going to happen with my custom kernels. I hope someone's working on getting the ASCD to work regardless of "official" status,. though.
[Galaxy S II Original Android Development] nabil alami:
Will this work on the Galaxy S 4 I9500? Please Reply
[Galaxy S II Original Android Development] post-mortem:
I previously suggested that an Xposed might possibly solve this. Anybody know if that would work?

Your answer is here:
[Galaxy S II Original Android Development] nabil alami:
so...no and what should i do if i want to reset the binary counter?
[Galaxy S II Original Android Development] kcrudup:
I've tried it, and I don't know why it didn't, but it didn't work for me.
[Galaxy S II Original Android Development] amin885:
Dumb file is shared for LG p715 ??
[Galaxy S II Original Android Development] SnackoDog:
Q:

Is this app (Triangle Away) supposed to make that Triangle go away?

I have been trying to reset my flash counter to 0 all day, and I think I finally have it. But I am not sure.. It had been setting it to 1 all day, and I tried something different just now. And when I booted into download mode, I still got that fist WARNING screen with the yellow Triangle! And the Download screen looks like this:

ODIN MODE

PRODUCT NAME: SGH-I317

CUSTOM BINARY DOWNLOAD: No

CURRENT BINARY: Samsung Official

SYSTEM STATUS: Official

Is this what a stock/un-flashed screen should look like?

Why is the Triangle still there?

Thanks.
[Galaxy S II Original Android Development] cesardrgn:
quick question. Sprint Galaxy S4 updated to MF9 then CF-Auto-Rooted. TA gives me a message saying "can not find triangle away and counter files. have to hold volume down to reboots. will this be fix with an update or what do I have to do to have the phone show as Official? since right now the binary is at custom
[Galaxy S II Original Android Development] husen4u:
After Installing Triangle Away On My Samsung Galaxy S Duos. When Going To Download Mode My PC Is Not Detecting My Mobiles. In Device Manager It Shows

SAMSUNG USB CDC COMPOSITE DEVICE DRIVER is Not properly Installed... I Tried Every thing But It Didnt WOrk.
[Galaxy S II Original Android Development] Ram121:
On which device did you tried this?

---------- Post added at 02:37 PM ---------- Previous post was at 02:34 PM ----------

You were successful in using TA3.0 on Note II? Can you please tell which ROM and kernel you were using. I am asking this because TA3.0 doesn't worked on my note 2 with stock ROM and it corrupted recovery.
[Galaxy S II Original Android Development] GDT:
I am on wanam rom and perseus kernel, worked with Adam kernel too.