Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[INFO][RESEARCH] JB Flash Counter, Triangle Away

OP DocHoliday77

23rd November 2012, 11:33 PM   |  #1  
DocHoliday77's Avatar
OP Recognized Contributor
Flag HuntsVegas!!!
Thanks Meter: 6,487
 
9,195 posts
Join Date:Joined: May 2011
Donate to Me
More


Please go to POST 56 for updated information. I will update the OP over the weekend. Thanks!


As many of you already know, with our recent official Jelly Bean release came a new, updated flash counter. With ICS we were able to either just root via the root66 method and not trip the counter, or we could just use Chainfire's Triangle Away app to reset it. This is no longer the case. Now, with JB, unless our firmware meets a very strict set of conditions, it will trip the counter every time you reboot the device. If you simply just flash the root66 firmware, and do nothing else beyond that, you will not raise your count. But then, whats the point of rooting???

DON'T PANIC!

We can still zero it out for Warranty returns! The biggest issues arise when you want to utilize certain apps and/or services such as All Share Cast, Media Hub and other Samsung apps. For example, if you have purchased the $100 equipment, the All Share Cast Hub, it will not work! Additionally, DRM protected content may not play anymore. (Probably just applies to DRM protected media you got from Samsung, but this needs verification). For example, if you got to download the Avengers a couple of months ago, it will not play, even though it is perfectly legal to do so!

So are we able to get around this? Yes and No, for the moment. There are at least 2 separate detections going on. One is done post-boot, using the SysScope app. If you remove this from /system/app/ you will be able to install a custom recovery, and probably also a kernel and another modem without tripping the counter! I have yet to see any negative side effects from removing this app, so until I find more info proving otherwise, I suggest backing it up and deleting it. Hopefully Chainfire will decide to update Triangle Away to counter the updated detection. He may not though. Please read what he has to say about it here.

This does not solve the whole problem though. There is still another method Samsung coded in to detect if your system has been modified. I am not sure yet what is responsible fot this. But if you were to simply deodex your rom, it will begin tripping the counter at boot again! (It may not be the deodexing that is trigging it though, I believe it is also scanning for any processes that are running with root privledges that should not be there, and it may also have to do with busybox). Either way, if you are running pretty much any kind of custom rom, it will retrip the counter at bootup. This method is different in that it happens during boot, not after, and it does not look at recovery, and probably not at kernel or modem either. It appears to look specifically at the system partition for anything not stock. I am trying to narrow this down.

Because the other 2nd part seems to happen during bootup, I think that Chainfire's paid version may be able to help here. If you purchase it on the Play Store, it will have enabled the ability to Auto run at boot. Since SysScope is now removed, I dont think any detections are running post-boot anymore, meaning Auto run from Triangle Away should work. I do not have the paid version to test with right now. But I will try and test this soon.

I am fairly certain that the rest of the detection process is running either from the kernel, or from a completely separate partition. It is going to require quite a few flashes and test to narrow it down for sure. So if you guys will report your experiences with it, particularly on different kernels, I would be greatly appreciative.

As I find and/or remember more about this, I will update it here. If anyone has any other information about this, please do post it here! Any help, tips, info, etc that you can provide can be very helpful!

I hope this all made sense to you guys! I will go back and clarify some stuff a little later, but Ive got a 6 year old kid going stir crazy waiting on me to be done with this! I wanted to go ahead and get something up though to get the conversation started! I will also post some links to some information later on.

In the meantime, you can Odin back to ICS build UVALJ4, and then flash your roms from there...yes even the JB ones! I hate saying that after suggesting to Odin flash the JB update, but if you have anything not working because of this, it may be your best option temporarily.
Otherwise, delete SysScope from /system/app! And keep Triangle Away handy!

I will continue doing a lot of testing and trying to investigate this problem. But I do appreciate any help that you guys can give!
Hopefully, with a little luck we can figure this out!
Last edited by DocHoliday77; 29th November 2012 at 09:09 PM.
The Following 29 Users Say Thank You to DocHoliday77 For This Useful Post: [ View ]
24th November 2012, 12:26 AM   |  #2  
scifan's Avatar
Senior Member
Thanks Meter: 182
 
1,070 posts
Join Date:Joined: Dec 2008
More
I think that pretty much covers it...

I know that if you triangle away, and reboot to download mode, the counter's zero... if you boot into recovery and then boot into download mode the counter's still zero...

It gets triggered when you boot into the actual rom... I wonder if you odin to JB... then actually flash down to an ICS rom, does the counter get reset on boot?
24th November 2012, 12:52 AM   |  #3  
DocHoliday77's Avatar
OP Recognized Contributor
Flag HuntsVegas!!!
Thanks Meter: 6,487
 
9,195 posts
Join Date:Joined: May 2011
Donate to Me
More
Quote:
Originally Posted by scifan

I think that pretty much covers it...

I know that if you triangle away, and reboot to download mode, the counter's zero... if you boot into recovery and then boot into download mode the counter's still zero...

It gets triggered when you boot into the actual rom... I wonder if you odin to JB... then actually flash down to an ICS rom, does the counter get reset on boot?

That's SysScope running after booting up. Flashing an ics rom over a fully updated JB will most likely also trip the counter due to the 2nd part of the device check which runs during boot. Worth trying though.

Sent from my SGH-T999 using xda app-developers app
24th November 2012, 12:54 AM   |  #4  
DocHoliday77's Avatar
OP Recognized Contributor
Flag HuntsVegas!!!
Thanks Meter: 6,487
 
9,195 posts
Join Date:Joined: May 2011
Donate to Me
More
Also need to find out if its the deodexing that triggers it, or something like busybox.

Sent from my SGH-T999 using xda app-developers app
24th November 2012, 03:00 AM   |  #5  
1Shotwonder's Avatar
Senior Member
Flag Kissimmee
Thanks Meter: 29
 
157 posts
Join Date:Joined: Jul 2009
More
Good info. And nice write up so your saying if we odin root66 ics we are ok to say flash gs3r7.zip to jb and the new custom rom detection wont be present?

Sent from my SGH-T999 using xda app-developers app
24th November 2012, 03:22 AM   |  #6  
wideasleep1's Avatar
Senior Member
Thanks Meter: 503
 
1,515 posts
Join Date:Joined: Jun 2006
There's also a manual way I used to reset, back when my touchscreen died (and therefore could not even use TriangleAway) that we should 'throw into the mix' and test against JB...lemme see if I can dig up that thread...

Okay, here was the progenitor post, that may give clues if the old (ICS) way no longer works:
http://forum.xda-developers.com/show...0&postcount=67

and the resultant manual method, which I verified worked on TMO (ICS):
http://forum.xda-developers.com/show....php?t=1781471
Last edited by wideasleep1; 24th November 2012 at 03:30 AM.
The Following 2 Users Say Thank You to wideasleep1 For This Useful Post: [ View ]
24th November 2012, 03:31 AM   |  #7  
DocHoliday77's Avatar
OP Recognized Contributor
Flag HuntsVegas!!!
Thanks Meter: 6,487
 
9,195 posts
Join Date:Joined: May 2011
Donate to Me
More
Quote:
Originally Posted by 1Shotwonder

Good info. And nice write up so your saying if we odin root66 ics we are ok to say flash gs3r7.zip to jb and the new custom rom detection wont be present?

Sent from my SGH-T999 using xda app-developers app

Thanks!
Yes that is correct. I cannot guarantee you wont have any other bugs. Doing it this way you are essentially running half ics half jb. If you have no need of samsung services like media hub or all share cast, id go full jb. Otherwise id go with the ics UVALJ4 firmware and a jb rom.





Quote:
Originally Posted by wideasleep1

There's also a manual way I used to reset, back when my touchscreen died (and therefore could not even use TriangleAway) that we should 'throw into the mix' and test against JB...lemme see if I can dig up that thread...

That would be great! Thanks!

Sent from my SGH-T999 using xda app-developers app
24th November 2012, 03:53 AM   |  #8  
MikHaiL_08's Avatar
Senior Member
Brooklyn
Thanks Meter: 557
 
329 posts
Join Date:Joined: Oct 2012
More
Good job Doc... :thumbup::thumbup::thumbup:

Sent from my SGH-T999 using Tapatalk 2
24th November 2012, 04:12 AM   |  #9  
Woody's Avatar
Moderator & RC/RT Committees - Particle Physics Gives me a Hadron
Flag Immersed in Dark Matter
Thanks Meter: 9,673
 
6,928 posts
Join Date:Joined: Nov 2010
Doc, I'd be more than happy to help out with this. Just shoot me a PM about where you are heading and I can see what I can do. I'm not adverse to getting in deep, so that is a non-issue.

My initial thoughts are to take a pretty simple approach and, for lack of a better few words, do a side-by-side of the new JB and the recent leaks and see what is different. Obviously it is a bit harder than than but we could breakdown the /system/apps, then move on the each partition scheme and see what the differences are and why they are different. Then start crossing off things like apps, 2boot check, something buried in on of the other partitions, ....
The Following 3 Users Say Thank You to Woody For This Useful Post: [ View ]
24th November 2012, 05:44 AM   |  #10  
elesbb's Avatar
Senior Member
Thanks Meter: 4,439
 
6,894 posts
Join Date:Joined: Jun 2010
Donate to Me
More
Really Samsung? God this crap is really starting to piss me off. Love how manufacturers don't want be enjoying my device.

On a more positive note, can't Samsung deny claims for just the CPU?

Sent from my SGH-T999 using Tapatalk 2

Post Reply Subscribe to Thread

Tags
binary counter, counter increases at boot, flash counter, triangle away
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes