5,594,805 Members 37,320 Now Online
XDA Developers Android and Mobile Development Forum

[obsolete - use ALLinONE tool] 'rescure-backdoor', ota-autodownloader v1.1

Tip us?
 
condi
Old
(Last edited by condi; 29th February 2012 at 10:16 PM.)
#1  
Senior Member - OP
Thanks Meter 873
Posts: 680
Join Date: Feb 2007

 
DONATE TO ME
Angry [obsolete - use ALLinONE tool] 'rescure-backdoor', ota-autodownloader v1.1

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

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

Hi again


As I wrote recently - I was working on automatic tool for Sony Tab community,
to get 'rescue-backoor' (in case of bootloop), and get proper OTA update zips.
It took me a lot of effort to get everything to work as it should,

...but I think that it was worth it..... you tell me


OK... let's get to the point - MULTI-TOOL, it has 3 main functions:
  1. build.prop modification - bootloop protection
  2. ota zip autodownloader
  3. disable/enable ota updates and notifications

It does all the things which was described in [GUIDE-IMPORTANT!] "rescue-backdoor" thread.
ALL THE THINGS GOES FULLY AUTOMATIC !!!!!!!!!!!
ROOT and ADB are required.


What exactly does the tool step by step?
  • [part1: build.prop modification - bootloop protection]
  • makes backup of current build.prop (to /data/local/tmp/ and PC /backups/)
  • gets value of sony.build.incremental
  • reduces sony.build.incremental value by 1
  • dynamicaly modifies build.prop to correct value(-1)
  • makes backup of new build.prop (to /data/local/tmp/ and PC /backups/)
  • reboots and checks if modification is correct
  • [part2: ota zip autodownloader]
  • waits for user to click "Download" on ota notification
  • waits till ota update is fully downloaded
  • automatically recognizes newly downloaded ota update zip
  • makes backup of new ota (to /sdcard/ota-updates/ and PC /backups/)
  • [part3: disable/enable ota updates and notifications]
  • [optional] it asks if user want to disable ota system updates and notifications
  • to enable it back just rerun tool - it will ask in the begining of work


Any questions, suggestions - just ask !
Please post results, all the info is much appreciated!


br
condi
Sony Tablet S/P/Xperia:
S.onyXT.S v1.0 [UNBRICKER] - Xperia Tab S auto unbrick tool!
S.onyTablet.S v6.5 [ALLinONE] - root for ICS, JB!
S.onyTablet.S v3.0 [FLASHER]
[FW R5A WIFI/3G] NEW! custom preROOTed newest stock nbx03 R5A with R1A's recovery!

Files mirror - My Google Drive

If u found this post useful, click on the 'thanks' button...
Like my work? Feel free to buy a pack of pampers for my baby
The Following 8 Users Say Thank You to condi For This Useful Post: [ Click to Expand ]
 
Judah001
Old
#2  
Judah001's Avatar
Senior Member
Thanks Meter 17
Posts: 116
Join Date: Dec 2011
Quote:
Originally Posted by condi View Post
Hi again


As I wrote recently - I was working on automatic tool for Sony Tab community,
to get 'rescue-backoor' (in case of bootloop), and get proper OTA update zips.
It took me a lot of effort to get everything to work as it should,

...but I think that it was worth it..... you tell me


OK... let's get to the point - MULTI-TOOL, it has 3 main functions:
  1. build.prop modification - bootloop protection
  2. ota zip autodownloader
  3. disable/enable ota updates and notifications

It does all the things which was described in [GUIDE-IMPORTANT!] "rescue-backdoor" thread.
ALL THE THINGS GOES FULLY AUTOMATIC !!!!!!!!!!!
ROOT and ADB are required.


What exactly does the tool step by step?
  • [part1: build.prop modification - bootloop protection]
  • makes backup of current build.prop (to /data/local/tmp/ and PC /backups/)
  • gets value of sony.build.incremental
  • reduces sony.build.incremental value by 1
  • dynamicaly modifies build.prop to correct value(-1)
  • makes backup of new build.prop (to /data/local/tmp/ and PC /backups/)
  • reboots and checks if modification is correct
  • [part2: ota zip autodownloader]
  • waits for user to click "Download" on ota notification
  • waits till ota update is fully downloaded
  • automatically recognizes newly downloaded ota update zip
  • makes backup of new ota (to /sdcard/ota-updates/ and PC /backups/)
  • [part3: disable/enable ota updates and notifications]
  • [optional] it asks if user want to disable ota system updates and notifications
  • to enable it back just rerun tool - it will ask in the begining of work


Any questions, suggestions - just ask !
Please post results, all the info is much appreciated!


br
condi

Nice! Condi comes through again simplifying the process. I have already made a backup with the manual method but I want to give this a try when I get home so I can turn off the update part. Once I have created this new backup file should I discard the old file because of possible install issues with build.prop? I guess what I am getting at is that since I have already lowered the build.prop once this will lower it again making my download from the manual backup no good? Sorry for the long question. Thanks again!
Samsung Epic 4G Touch Rooted!

Sony Tablet S1 Rooted!


If I actually managed to help and not confuse the hell out of you donít forget to hit the thanks button
 
condi
Old
#3  
Senior Member - OP
Thanks Meter 873
Posts: 680
Join Date: Feb 2007

 
DONATE TO ME
Quote:
Originally Posted by Judah001 View Post
Nice! Condi comes through again simplifying the process. I have already made a backup with the manual method but I want to give this a try when I get home so I can turn off the update part. Once I have created this new backup file should I discard the old file because of possible install issues with build.prop? I guess what I am getting at is that since I have already lowered the build.prop once this will lower it again making my download from the manual backup no good? Sorry for the long question. Thanks again!
Hi, your 'old copy of ota zip' will work just fine. The tool will decrease your build.prop value by 1, it will work without any issues
Both update zips will have higher value, than one in your device = both will work!
Don't forget to post results
Sony Tablet S/P/Xperia:
S.onyXT.S v1.0 [UNBRICKER] - Xperia Tab S auto unbrick tool!
S.onyTablet.S v6.5 [ALLinONE] - root for ICS, JB!
S.onyTablet.S v3.0 [FLASHER]
[FW R5A WIFI/3G] NEW! custom preROOTed newest stock nbx03 R5A with R1A's recovery!

Files mirror - My Google Drive

If u found this post useful, click on the 'thanks' button...
Like my work? Feel free to buy a pack of pampers for my baby
 
Judah001
Old
#4  
Judah001's Avatar
Senior Member
Thanks Meter 17
Posts: 116
Join Date: Dec 2011
Quote:
Originally Posted by condi View Post
Hi, your 'old copy of ota zip' will work just fine. The tool will decrease your build.prop value by 1, it will work without any issues
Both update zips will have higher value, than one in your device = both will work!
Don't forget to post results
Ok perfect thank you. When I get home tonight I will give it a shot and post my results. I will just edit this post to keep the clutter down in this thread.
Samsung Epic 4G Touch Rooted!

Sony Tablet S1 Rooted!


If I actually managed to help and not confuse the hell out of you donít forget to hit the thanks button
 
condi
Old
#5  
Senior Member - OP
Thanks Meter 873
Posts: 680
Join Date: Feb 2007

 
DONATE TO ME
Quote:
Originally Posted by Judah001 View Post
Ok perfect thank you. When I get home tonight I will give it a shot and post my results. I will just edit this post to keep the clutter down in this thread.
There was small typo - bad syntax in 1.0, it will make no harm, but will exit when will arrive ota download. Just redownload - v1.1
Sony Tablet S/P/Xperia:
S.onyXT.S v1.0 [UNBRICKER] - Xperia Tab S auto unbrick tool!
S.onyTablet.S v6.5 [ALLinONE] - root for ICS, JB!
S.onyTablet.S v3.0 [FLASHER]
[FW R5A WIFI/3G] NEW! custom preROOTed newest stock nbx03 R5A with R1A's recovery!

Files mirror - My Google Drive

If u found this post useful, click on the 'thanks' button...
Like my work? Feel free to buy a pack of pampers for my baby
 
zaynal
Old
#6  
zaynal's Avatar
Senior Member
Thanks Meter 72
Posts: 184
Join Date: Apr 2011
Awesome, condi~! No more worries to root my STS. Gonna try root and install this tonight.


The Following User Says Thank You to zaynal For This Useful Post: [ Click to Expand ]
 
Judah001
Old
(Last edited by Judah001; 23rd February 2012 at 04:12 AM.)
#7  
Judah001's Avatar
Senior Member
Thanks Meter 17
Posts: 116
Join Date: Dec 2011
I ran two separate tests. Both times build.prop was lowered by one with successful reboot. The issue I had both times was with my wifi after reboot. It stated that my wifi was connected but when checking my browser I was unable to pull up a page. So I disconnected and then reconnected to my wifi. I have been having this issue since rooting already on reboot so I don’t believe it was an issue with Multi-Tool. Once wifi connection was established the first test did not auto populate there was an update so I manually went to system updates to downloaded it. The second test did auto populate after a minute or two. After the update downloaded the script ran and copied all files to both of the correct locations each time. Both the first and second time the updates were successfully turned off. When plugging in on the second test I was prompted to turn the updates back on and it did so with no issues proceeding to download the update. If anyone else is having issues with wifi please let me know. Thanks again Condi for all your hard work!
Samsung Epic 4G Touch Rooted!

Sony Tablet S1 Rooted!


If I actually managed to help and not confuse the hell out of you donít forget to hit the thanks button
The Following User Says Thank You to Judah001 For This Useful Post: [ Click to Expand ]
 
condi
Old
#8  
Senior Member - OP
Thanks Meter 873
Posts: 680
Join Date: Feb 2007

 
DONATE TO ME
Quote:
Originally Posted by zaynal View Post
Awesome, condi~! No more worries to root my STS. Gonna try root and install this tonight.
Great happy to kick your worries out

Quote:
Originally Posted by Judah001 View Post
I ran two separate tests. Both times build.prop was lowered by one with successful reboot. The issue I had both times was with my wifi after reboot. It stated that my wifi was connected but when checking my browser I was unable to pull up a page. So I disconnected and then reconnected to my wifi. I have been having this issue since rooting already on reboot so I donít believe it was an issue with Multi-Tool. Once wifi connection was established the first test did not auto populate there was an update so I manually went to system updates to downloaded it. The second test did auto populate after a minute or two. After the update downloaded the script ran and copied all files to both of the correct locations each time. Both the first and second time the updates were successfully turned off. When plugging in on the second test I was prompted to turn the updates back on and it did so with no issues proceeding to download the update. If anyone else is having issues with wifi please let me know. Thanks again Condi for all your hard work!
So in summary:
  • everything works correctly,
  • WiFi issue IS NOT related to multitool.

Im glad
Sony Tablet S/P/Xperia:
S.onyXT.S v1.0 [UNBRICKER] - Xperia Tab S auto unbrick tool!
S.onyTablet.S v6.5 [ALLinONE] - root for ICS, JB!
S.onyTablet.S v3.0 [FLASHER]
[FW R5A WIFI/3G] NEW! custom preROOTed newest stock nbx03 R5A with R1A's recovery!

Files mirror - My Google Drive

If u found this post useful, click on the 'thanks' button...
Like my work? Feel free to buy a pack of pampers for my baby
 
obicom
Old
(Last edited by obicom; 23rd February 2012 at 09:49 AM.)
#9  
obicom's Avatar
Senior Member
Thanks Meter 79
Posts: 283
Join Date: Nov 2010
Location: Cologne
Hi Condi,

I guess a new issue comes up in Germany (only in Germany?).
I heard yesterday evening from a user that he bricked his Tablet S and re-installed his downloaded zip file (~ two weeks old downloaded version 3.2.1R2).

Now he got Kernel build#10 and is now not able to root his device.
(security hole is closed in this version)

Did you tried OTA RootKeeper and did it works after re-install firmware?
Otherwise we running in the risk to lose all opportunities to root the device after re-installation of latest firmware 3.2.1R2.

If OTA RootKeeper works well, we could implement the easy steps in your script for a "second chance for rooting".

Details on German Community:
http://www.android-hilfe.de/root-hac...ml#post2756883
Best regards, Obi
(Sony Tablet S rooted, Samsung Galaxy S II rooted)
The Following User Says Thank You to obicom For This Useful Post: [ Click to Expand ]
 
condi
Old
(Last edited by condi; 23rd February 2012 at 10:32 AM.)
#10  
Senior Member - OP
Thanks Meter 873
Posts: 680
Join Date: Feb 2007

 
DONATE TO ME
Quote:
Originally Posted by obicom View Post
Hi Condi,

I guess a new issue comes up in Germany (only in Germany?).
I heard yesterday evening from a user that he bricked his Tablet S and re-installed his downloaded zip file (~ two weeks old downloaded version 3.2.1R2).

Now he got Kernel build#10 and is now not able to root his device.
(security hole is closed in this version)

Did you tried OTA RootKeeper and did it works after re-install firmware?
Otherwise we running in the risk to lose all opportunities to root the device after re-installation of latest firmware 3.2.1R2.

If OTA RootKeeper works well, we could implement the easy steps in your script for a "second chance for rooting".

Details on German Community:
http://www.android-hilfe.de/root-hac...ml#post2756883
hi friend,

thanks for posting this info - its very important to stay rootable..
about OTA RootKeeper - i've got it installed and got 'protected root'.
Got to check if it works ok in details.
As far as I remember - it worked, but not from the beginning.
I've already reflashed with rootkeeper,
su-backup stays, after reflash you need to reinstall Superuser app.
Will try that when I get back home later evening.

BTW - I think I could get some other, 'extra rootkeeper' for us,
as far as I remember - with some proper permissions we could get
unwritable build.prop - then we could have opportunity to reflash
older 'rootable' zip, if another ota would lock the exploit vulnerability.
I had this one time - reflashed new ota, and build.prop remained untouched

br
condi
Sony Tablet S/P/Xperia:
S.onyXT.S v1.0 [UNBRICKER] - Xperia Tab S auto unbrick tool!
S.onyTablet.S v6.5 [ALLinONE] - root for ICS, JB!
S.onyTablet.S v3.0 [FLASHER]
[FW R5A WIFI/3G] NEW! custom preROOTed newest stock nbx03 R5A with R1A's recovery!

Files mirror - My Google Drive

If u found this post useful, click on the 'thanks' button...
Like my work? Feel free to buy a pack of pampers for my baby

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes