[HOW-TO] Reset flash counter

Search This thread

antsm

Senior Member
Sep 9, 2010
141
430
Siberia
It's time to bring warranty back ;) Just flash attached file using CWM and here you are!

If you prefer a manual way then type the following line in terminal (or using adb shell):
Code:
dd if=/dev/zero of=/dev/block/mmcblk0 bs=1 count=1 seek=3145732
Be EXTREMELY careful if you're typing this manually. One mistake can brick your phone!

Confirmed to work with Gingerbread and JellyBean.
 

Attachments

  • i8160_reset_ANT.zip
    139.8 KB · Views: 11,237
Last edited:

arroyo

Senior Member
Mar 14, 2009
416
388
Bydgoszcz
Would this trick work in Gingerbread? Did you get Custom binary: NO?
I still have virgin counter, but I assume that many users may ask about his.

Antsm, once again you are the first one, who finds new areas in i8160 cracking (root, CWM and now Flash Counter). Good job! :good:
 
Last edited:

cbolumar

Senior Member
Nov 25, 2006
295
262
Works - Thank's

Before i had the counter in 34 , after 0 (NO) , is a good change.(CWM)
 
Last edited:

Sigint89

Senior Member
Jan 21, 2011
65
27
Same here, Error flashing zip with TWRP. But the command works great. Thanks mate.
 
Last edited:

antsm

Senior Member
Sep 9, 2010
141
430
Siberia
arroyo said:
Would this trick work in Gingerbread? Did you get Custom binary: NO?
Absolutely ;)
BTW, i had something like 145 before :)

Rikxzdjz
Sigint89,

Something in updater-script needs to be correct in order to use it with TWRP.
I'll check it ASAP (need to install TWRP kernel) or maybe someone will be more rapid :laugh:
However, it would be nice to look at recovery log.
 

kyrillos13

Inactive Recognized Developer
Sep 26, 2010
4,279
5,152
Athens
Wow thanks antsm. Works great!!

PS: Try the attached zip if you have TWRP. I am not sure if it works. I just changed the update-binary. (Works fine in CWM btw)

Edit: Attachment removed
 
Last edited:

avkiev

Member
Dec 10, 2012
29
7
Kiev
But we still have "Current binary: Custom", isn't it ?
I think we have to patch checksum too, not 300004 only
 

Sigint89

Senior Member
Jan 21, 2011
65
27
I don't know why TWRP won't save recovery log but i wrote it from screen:

http://pastebin.com/Ti5bGqQi

And i have "Current binary: Custom" after using terminal command, I'll try Kyrillos' zip in a moment and post results.
Results: Now it gives "Can't copy META-INF/com/google/android/..." error.
 
Last edited:

Der-Knuffi

Senior Member
Jul 23, 2012
958
213
OnePlus 3
Samsung Galaxy A71
As I do not have CWM or TWRP, I tried the console command with the "Shell Terminal Emulator" and it says "cannot open for write:permission denied".

It did not ask for admin rights or something ... what did I forget?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 87
    It's time to bring warranty back ;) Just flash attached file using CWM and here you are!

    If you prefer a manual way then type the following line in terminal (or using adb shell):
    Code:
    dd if=/dev/zero of=/dev/block/mmcblk0 bs=1 count=1 seek=3145732
    Be EXTREMELY careful if you're typing this manually. One mistake can brick your phone!

    Confirmed to work with Gingerbread and JellyBean.
    7
    Hi,
    I edit updater-script, now we can flash update.zip from CWM 6 recovery on Jelly Bean ;)

    DOWNLOAD
    5
    The amount of hatemail I've gotten from you guys and the community about this is absurd (posts, PMs, even email). Also very nice to come home to from vacation (thanks!).

    I've been accused of stifling development, abuse of power as XDA moderator, shouted at, cursed, etc.

    Let me make one thing very clear: I never asked nor told frapeti to remove the app.
    3
    Honestly told though...
    "Redistribution not allowed" - Really? Well that's a very open and friendly attitude coming from a recognized developer on opensource scene...
    2
    Antsm : the offset hasn't changed in JB. So this method should work for JB as well. No modifications required to the code..!!
    :)

    Sent from my GT-I9070 using xda premium