diff options
author | Sebastian Mauer <sebastian@n-unity.de> | 2011-11-30 01:48:23 +0100 |
---|---|---|
committer | Sebastian Mauer <sebastian@n-unity.de> | 2011-11-30 01:48:23 +0100 |
commit | 790841fdcd5822837d039e23647ea78c516b0a7f (patch) | |
tree | 029a639a6e4dbbbedbcb91bdbd72d3f675322135 /releasetools | |
parent | e488ba75ed5b72568cbeb248742dede2e2105a5c (diff) | |
download | device_samsung_n7000-790841fdcd5822837d039e23647ea78c516b0a7f.zip device_samsung_n7000-790841fdcd5822837d039e23647ea78c516b0a7f.tar.gz device_samsung_n7000-790841fdcd5822837d039e23647ea78c516b0a7f.tar.bz2 |
Fixed release tools.
Diffstat (limited to 'releasetools')
-rwxr-xr-x | releasetools/galaxynote_ota_from_target_files | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/releasetools/galaxynote_ota_from_target_files b/releasetools/galaxynote_ota_from_target_files index 7cde673..4b6150f 100755 --- a/releasetools/galaxynote_ota_from_target_files +++ b/releasetools/galaxynote_ota_from_target_files @@ -73,9 +73,14 @@ def WriteFullOTAPackage(input_zip, output_zip): script.UnpackPackageDir("recovery", "/system") script.UnpackPackageDir("system", "/system") - symlinks = CopySystemFiles(input_zip, output_zip) + (symlinks, retouch_files) = CopySystemFiles(input_zip, output_zip) script.MakeSymlinks(symlinks) + if OPTIONS.aslr_mode: + script.RetouchBinaries(retouch_files) + else: + script.UndoRetouchBinaries(retouch_files) + CopyBootFiles(input_zip, output_zip) Item.GetMetadata(input_zip) @@ -83,11 +88,11 @@ def WriteFullOTAPackage(input_zip, output_zip): script.ShowProgress(0.2, 0) - if OPTIONS.backuptool: - script.ShowProgress(0.2, 10) - script.RunBackup("restore") +# if OPTIONS.backuptool: +# script.ShowProgress(0.2, 10) +# script.RunBackup("restore") - script.RunVerifyCachePartitionSize() +# script.RunVerifyCachePartitionSize() script.ShowProgress(0.2, 10) script.EMMCWriteRawImage("/dev/block/mmcblk0p5", "boot.img") |