[GUIDE-IMPORTANT!] "rescue-backdoor" - regarding bootloop, do it before change in sys

Search This thread

condi

Senior Member
Feb 13, 2007
744
989
Ostrów Wielkopolski
condiecu.pl
[GUIDE-IMPORTANT!] "rescue-backdoor" - regarding bootloop, do it before change in sys

UPDATE: THIS IS OBSOLETE.
USE S.onyTablet.S [ALLinONE] tool :)
Below guide/tool use as 'description' ;)

-------------------------------------------------------------------------

Hi guys,



We've got now ROOT. We can do a lot of things, which we couldn't do before.
But before you begin to make changes in system files, first you need to know few things.

Few users experienced "bootloop". Its brick state. There is no access to shell, no adb.
Damaged device.

How to avoid that?

Yes, there is a solution. We need to get proper update zip for our device.
We also need to fool device, that it is a newer file, than the firmware in device.

How to, step by step:

  1. Of course, ROOT is required.
  2. To get proper ota-update-zip for your device you have to edit /build.prop:
    - easiest way is via "Root Explorer", or directly via "build.prop Editor" (in market, free),
    - do not use "File Manager HD" or other filemanager, which doesn't support root operations (thx kryddan),
    - always make backup of files, which you are modifying,
    - change value of "ro.sony.build.incremental" to lower one to fake firmware version,
    - for example on my device newest firmware has: "ro.sony.build.incremental=111201022" - decrease that value,
    in my case to 111201021.
  3. Reboot device.
  4. OTA update notification will appear - click on "Download" button.
  5. Wait until download finishes, but don't click "Update"!!!
    I repeat - DON'T CLICK UPDATE! It will reflash firmware,
    and you will have to make everything from the beginning (inc. root).
  6. Update zip is located in /cache/ota/signed-nbx03_.......zip - make a copy to safe place - external sd and/or in pc.
  7. Leave build.prop modified. IMPORTANT. Don't revert back changes.

To enter RECOVERY-MODE - power off device,
hold vol-down + power button.

When you want to flash your device, Sony Tablet is checking few things:
  • is update zip proper one - signed one,
  • is the update zip - for your region - SKU value,
  • is the update zip is newer one than firmware in device - equal and higher will not update,
    only lower - thats what we're faking.

If you will revert back build.prop = update will fail,
if you will try to update with other region update zip = update fail.

So if we stay with modified build.prop = we can just enter recovery,
and update from external sd card, to our downloaded update zip :)

Remember, that after reflash in recovery, your build.prop will be updated back
to higher value, then to be safe you need to reapply modification!


I have tested that "rescue-backdoor" on my own device,
deleted some system framework file - of course bootloop, without adb access.
Flashed through recovery - voila, device fixed :)

Of course, everything what you do with your device, you are doing at your own
risk. I'm sure that in 99% cases with "rescue-backdoor" you will fix your device,
always could be that other 0,01% case.

One condition for sure = build.prop file has to be correct.


[OPTIONAL]
You can disable ota update notification - which appears on every reboot.
To do this use "Titanium Backup" app, look for "System Update" app on list,
and use "Freeze" option :)



Any questions, suggestions - just ask :)

PS. I'm thining about writing auto-script for that... ;)


br
condi
 
Last edited:

Judah001

Senior Member
Dec 19, 2011
116
17
Hi guys,



We've got now ROOT. We can do a lot of things, which we couldn't do before.
But before you begin to make changes in system files, first you need to know few things.

Few users experienced "bootloop". Its brick state. There is no access to shell, no adb.
Damaged device.

How to avoid that?

Yes, there is a solution. We need to get proper update zip for our device.
We also need to fool device, that it is a newer file, than the firmware in device.

How to, step by step:

  1. Of course, ROOT is required.
  2. To get proper ota-update-zip for your device you have to edit /build.prop:
    - easiest way is via "Root Explorer", or directly via "build.prop Editor" (in market, free),
    - always make backup of files, which you are modifying,
    - change value of "ro.sony.build.incremental" to lower one to fake firmware version,
    - for example on my device newest firmware has: "ro.sony.build.incremental=111201022" - decrease that value,
    in my case to 111201021.
  3. Reboot device.
  4. OTA update notification will appear - click on "Download" button.
  5. Wait until download finishes, but don't click "Update"!!!
    I repeat - DON'T CLICK UPDATE! It will reflash firmware,
    and you will have to make everything from the beginning (inc. root).
  6. Update zip is located in /cache/ota/signed-nbx03_.......zip - make a copy to safe place - external sd and/or in pc.
  7. Leave build.prop modified. IMPORTANT. Don't revert back changes.

When you want to flash your device, Sony Tablet is checking few things:
  • is update zip proper one - signed one,
  • is the update zip - for your region - SKU value,
  • is the update zip is newer one than firmware in device - equal and higher will not update,
    only lower - thats what we're faking.

If you will revert back build.prop = update will fail,
if you will try to update with other region update zip = update fail.

So if we stay with modified build.prop = we can just enter recovery,
and update from external sd card, to our downloaded update zip :)

I have tested that "rescue-backdoor" on my own device,
deleted some system framework file - of course bootloop, without adb access.
Flashed through recovery - voila, device fixed :)

Of course, everything what you do with your device, you are doing at your own
risk. I'm sure that in 99% cases with "rescue-backdoor" you will fix your device,
always could be that other 0,01% case.

One condition for sure = build.prop file has to be correct.


[OPTIONAL]
You can disable ota update notification - which appears on every reboot.
To do this use "Titanium Backup" app, look for "System Update" app on list,
and use "Freeze" option :)



Any questions, suggestions - just ask :)

PS. I'm thining about writing auto-script for that... ;)


br
condi

Thanks Condi! Download worked great but under my cache there is nothing. Could the file be located elsewhere?
 

Judah001

Senior Member
Dec 19, 2011
116
17
Be sure that ota has been download, check again /cache/ota.
If still no zip, then run 'adb shell' then:
Code:
su
find -name *signed*
or
Code:
find -name *.zip

If your ota update will be in different location, then please post it.

br
condi

ok I will try once I am home through adb. So far there is nothing under my cache folder. I am using file manager HD but it should pick up a zip file.
 

kryddan

Senior Member
Apr 25, 2011
215
38
Trollhättan
ok I will try once I am home through adb. So far there is nothing under my cache folder. I am using file manager HD but it should pick up a zip file.

Just a little tip. I'd suggest you use Root Explorer instead of File Manager HD.
You see, File Manager HD does not show the files in /cache. (mine didn't)

I tried File Manager HD on my tablet and found nothing inside /cache
But with Root Explorer I found three different directories. There among OTA.
 
  • Like
Reactions: Judah001 and condi

Judah001

Senior Member
Dec 19, 2011
116
17
Just a little tip. I'd suggest you use Root Explorer instead of File Manager HD.
You see, File Manager HD does not show the files in /cache. (mine didn't)

I tried File Manager HD on my tablet and found nothing inside /cache
But with Root Explorer I found three different directories. There among OTA.

That did the trick. I used the root browser in rom tool box and copied the zip to my sd card. Thank you for the help guys.
 

obicom

Senior Member
Nov 9, 2010
283
81
Cologne
Good advice kyddan ... same on my tab with file manager HD.
I work normally with Root Explorer or File Expert.
Both show the folders and files in /cache .. File Manager HD do not.
 

condi

Senior Member
Feb 13, 2007
744
989
Ostrów Wielkopolski
condiecu.pl
hahahahah I just had brick... I'm working on auto-install script for "rescue-backdoor", and accidentally I've pushed empty 0bytes build.prop - after reboot - sony logo, then black screen.... and guess what...

recovery reads incremental value (which doesnt exists..) as "0" zero ;)
so i've got lower value, and reflash done.

after reboot my tab started correctly, but.. after reboot again brick - black screen.
fortunatelly - after few min with black screen i've got adb access.
but for first - i can't get root access.. 'su' not works.
but... '/system/xbin/su' works :) root :) lets check - build.prop still empty,
remounted system as rw, pushed correct build.prop - ahhh again working !! :)

that was good experience hahah.


-------------edit:
i've got auto-install tool ready... need to make one more full test with my device and will publish it.
full automatic !!!!! :)
 
Last edited:

ase3000

Member
Mar 24, 2009
34
6
This is driving me crazy. why everyone is getting update message when changing the incremental value while my dumass tablet keeps saying that my system is up to date :confused:
 

Amiga4ever123

Senior Member
Mar 29, 2012
75
3
Great :) Just remember one thing - after reflash in recovery, your build.prop will be updated to higher value - then to be safe you need to reapply modification!

--- my 100th post ! :D


I bricked my XTS playuing with build.prop. Shame I didn't see this post before. For future - how can I edit build.prop in a safe way? I changed file permission then I forgot to restore default. After restart brick. Do I need to change permission to edit build.prop then do i NEED to restore proper permission back? I'm still confused with it
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    [GUIDE-IMPORTANT!] "rescue-backdoor" - regarding bootloop, do it before change in sys

    UPDATE: THIS IS OBSOLETE.
    USE S.onyTablet.S [ALLinONE] tool :)
    Below guide/tool use as 'description' ;)

    -------------------------------------------------------------------------

    Hi guys,



    We've got now ROOT. We can do a lot of things, which we couldn't do before.
    But before you begin to make changes in system files, first you need to know few things.

    Few users experienced "bootloop". Its brick state. There is no access to shell, no adb.
    Damaged device.

    How to avoid that?

    Yes, there is a solution. We need to get proper update zip for our device.
    We also need to fool device, that it is a newer file, than the firmware in device.

    How to, step by step:

    1. Of course, ROOT is required.
    2. To get proper ota-update-zip for your device you have to edit /build.prop:
      - easiest way is via "Root Explorer", or directly via "build.prop Editor" (in market, free),
      - do not use "File Manager HD" or other filemanager, which doesn't support root operations (thx kryddan),
      - always make backup of files, which you are modifying,
      - change value of "ro.sony.build.incremental" to lower one to fake firmware version,
      - for example on my device newest firmware has: "ro.sony.build.incremental=111201022" - decrease that value,
      in my case to 111201021.
    3. Reboot device.
    4. OTA update notification will appear - click on "Download" button.
    5. Wait until download finishes, but don't click "Update"!!!
      I repeat - DON'T CLICK UPDATE! It will reflash firmware,
      and you will have to make everything from the beginning (inc. root).
    6. Update zip is located in /cache/ota/signed-nbx03_.......zip - make a copy to safe place - external sd and/or in pc.
    7. Leave build.prop modified. IMPORTANT. Don't revert back changes.

    To enter RECOVERY-MODE - power off device,
    hold vol-down + power button.

    When you want to flash your device, Sony Tablet is checking few things:
    • is update zip proper one - signed one,
    • is the update zip - for your region - SKU value,
    • is the update zip is newer one than firmware in device - equal and higher will not update,
      only lower - thats what we're faking.

    If you will revert back build.prop = update will fail,
    if you will try to update with other region update zip = update fail.

    So if we stay with modified build.prop = we can just enter recovery,
    and update from external sd card, to our downloaded update zip :)

    Remember, that after reflash in recovery, your build.prop will be updated back
    to higher value, then to be safe you need to reapply modification!


    I have tested that "rescue-backdoor" on my own device,
    deleted some system framework file - of course bootloop, without adb access.
    Flashed through recovery - voila, device fixed :)

    Of course, everything what you do with your device, you are doing at your own
    risk. I'm sure that in 99% cases with "rescue-backdoor" you will fix your device,
    always could be that other 0,01% case.

    One condition for sure = build.prop file has to be correct.


    [OPTIONAL]
    You can disable ota update notification - which appears on every reboot.
    To do this use "Titanium Backup" app, look for "System Update" app on list,
    and use "Freeze" option :)



    Any questions, suggestions - just ask :)

    PS. I'm thining about writing auto-script for that... ;)


    br
    condi
    2
    ok I will try once I am home through adb. So far there is nothing under my cache folder. I am using file manager HD but it should pick up a zip file.

    Just a little tip. I'd suggest you use Root Explorer instead of File Manager HD.
    You see, File Manager HD does not show the files in /cache. (mine didn't)

    I tried File Manager HD on my tablet and found nothing inside /cache
    But with Root Explorer I found three different directories. There among OTA.
    1
    great guide, thank you

    I think an automated-script would be much appreciated :)
    1
    It should be under '/cache/ota' ... nowhere else ..
    1
    Thank you condi... The instructions worked perfectly!!