> Attention!

New threads need to be created only inroot partition! In the future, they will be processed by moderators.

If you posted a new version of the program, please notify the moderator by clicking the "Complaint" button on your message.

Catalog of Android programs


38 pagesV  1 2 3 4 5 6 > »  
 
REPLY
> Update Script Generate | The program for creating updater-script (update.zip) based on boot.img
blackeangel
Message#1
25.07.17, 22:04
Nothing Is Impossible! Never
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2075
Check in: 12.12.14
Xiaomi Redmi 4 Prime

Reputation:-  731  +

Update Script Generate (USG) download


version: 18a

Last update of the program in the header:04.12.2017

Attached Image


Screenshots
Attached Image


Short description:
The program for creating updater-script (update.zip) based on boot.img and system.img for any processor that has the ability to flash system images in img format (ext2, ext3, ext4)

Description:
The program for creating updater-script (update.zip) based on boot.img and system.img with just one click!
The program is absolutely free. Without advertising.
Opportunities:
- Create updater-script in edifi language based on file_contexts + system_statfile.txt
- Create firmware in edifi language based on boot.img + system.img
- Creating firmware in edifi language based on boot.img + system.new.dat + system.transfer.list
- Creating firmware for edifi language based on TWRP backup
- Getting a map of MT67xx processor blocks
- Convert file_contexts.bin to text format and back
- Calculator rights
- Get file_contexts.bin / file_contexts from boot.img
- Create patches with installation via Aroma Installer
- Generate a script for installing deodex firmware over odex firmware

Supported Android version: 4.2-8
Interface: Russian / English
OS: Windows, Linux 64bit
Recovery: TWRP

Developer: blackeangel

Changes:
beta:
- support system.new.dat (requires system.transfer.list file)
- now the result is packed in the flash.zip archive
(it remains to throw the binary, boot.img, the system folder, in META-INF, decompose busybox and supersu.zip)
- now you do not need to add anything to the finished script
beta2:
- rewritten to VB6
- fixes in script creation
beta 3:
- Added block generator for MTK67xx based on scattert file
beta4:
- fix run-as
beta 5:
- optimization
beta 6:
- small fixes
beta 7:
- Added converter from file_contexts.bin to file_contexts
- batch file removed, now the program itself does everything
- some bugs fixed
beta 8:
- fixed bugs
- sdat2img from 11/23/16
beta 13:
- fixed bugs
- support for android 4.2
- now you put into the bin folder busybox (archive or binary), gapps, supersu, xposedinstaller
- 7z instead of the packager built into the Windows
Beta14:
- fixed bugs forgotten in beta13
beta15:
- fixed bugs
beta16:
1. autodetection of language and switching to English / rus
2. fix long names in symlinks
3. fix some capabilities for MIUI8 firmware
4. test version of the script generator in unix script
5. test version of the script generator from the folder, not based on the image
6. optimization of code
7. added donate
8. changed interface
9. Added help in Russian
beta17:
1. Probably fixed error 6, try and unsubscribe
2. Added logging of program errors to make it easier to work with you.
beta17.4 (07/29/17):
1. Corrected capability for android 7, 7.1, 8
2. Updated components
USG 1.8 alfa 07/07/17:
* Completely rewritten prog on Java 1.8.
+ Added the ability to create the Aroma installer for firmware (While the installation of zip and sh mods via Aroma is supported)
+ rights calculator
+ create deodex script blanks for installing deodex on top of coke
+ convert rights in any text file from RWX into numbers
+ getting system_statfile.txt from TWRP backup
+ script generation by TWRP backup
+ sign the archive with a test key
+ Linux x64 support
+ added by Aroma generator (11/07/17)
+ added explanations to the fields (11/07/17)
+ unified generator

still the buttons "generate by system folder" and "generate Unix-Shell script" test,
because no testers, so they are blocked


Linux requirements:
0. Extract to home folder
1. Python 3.4+ (although in Ubuntu it’s all preinstalled)
2. Run in terminal (Ubuntu):
sudo su
sudo -s echo "ALL ALL = (ALL: ALL) NOPASSWD: ALL">>/ etc / sudoers

and reboot.
Attention! After that, no password will be requested, so beware!
I recommend after using the program to roll back the command
sed -i "$ d" / etc / sudoers


Solving the problem of unpacking system.img through ImgExtractor.exe

Download:
1. Base(135 MB)Google drive

2. Updates:
Update 10/11/17:
Attached fileUSG_10.11.17.rar(192.57 KB)

Update from 12/04/17:
-correct signature error
-fixed bug when working with backup
Attached fileUSG_18a041217.rar(369.11 KB)

Update by replacing files in the database.

Alpha version 18.6Update Script Generate (Post by blackeangel # 75598425)
The list of changes can be found by reference.


Incomplete instruction
For complete instructions, see the program's help.
1. Download the archive of the database, then if there is, the latest update
2.We unpack everything in one folder on a disk with system. Paths should not contain Cyrillic, spaces, points, underscores.For example, "C: \ 1 \"
To generate a script:
3. Put the system.img (or system.new.dat + system.transfer.list) and boot.img in the project folder.
3.1. If you need SuperSu, Busybox or GAPPS or Xposed in the script, then we drop them into the Addon folder and rename it according to the blanks that are already there, and put the appropriate checkboxes
4. Run USG_start_win.exe for Windows or USG_start_lin.sh for Linux and click Generate
5. The program will notify you of the readiness to perform the operation.
6. All, Archive Flash.zip will appear in the output folder.
The script has a clear Data partition, without Data / media (internal memory of the phone), if you don’t have it, change the path to your own, otherwise everything on the internal memory will be deleted.
Or delete this part in the script and wipe manually

To get blocks:
3. Run USG_start_win.exe for Windows or USG_start_lin.sh for Linux, go to the Tools tab and click Blocks (MTK67xx)
4. Select the _Android_scattert_file.txt file
5. The finished file blocks.txt will be in the project folder.
To get file_contexts in text format:
3. Put file_contexts.bin in the project folder
4. Run USG_start_win.exe for Windows or USG_start_lin.sh for Linux, go to the Tools tab and click Convert file_contexts.bin to file_contexts txt file
5. The finished file_contexts will appear in the project folder.

Acknowledgments

Possible solutions to some errors
- If with the firmware it is hanging on the logo or bootanimation, repack the archive without compression
- if error 4, change the binary file
- for android 7 do not forget to patch the boot to verify verification
- just look at the solution of errorshere

Video instructions

Past versions
Attached fileUSGb17.4.rar(22.3 MB)

Attached fileUSG_b17.rar(20.49 MB)



All errors, suggestions and suggestions write to QMS. Due to this, the program will be developed.


Dedicated to porters: before porting we take the stock firmware of the port, feed it to the prog, get the script, and then port it. Otherwise, you can not create a script, because file permissions may change, etc. charms.
You also need to use RomHelper to collect one system image from many small ones.


Sources Update Script Generate (Post by blackeangel # 77798037)

Post has been editedblackeangel - 26.04.19, 06:45
MaxUNof
Message#2
29.07.17, 15:48
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 272
Check in: 26.03.15

Reputation:-  36  +

Help, when generating a script for the system folder, comes out Input past end of file, in the error.log file
Sample in line 0


--------------------
Second nickname -MaxUNof
Survivors ClubLast day on earthon4
AlexChez
Message#3
03.08.17, 22:16
Tummy
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 553
Check in: 21.11.13
Leagoo M8 Pro

Reputation:-  195  +

I did everything for 6.0.1 according to the instructions, the version of the program is the last, in the middle of the process an error and everything ... Even there is no log to see what kind of jamb.
Attached Image

PS:
I downloaded the previous USG_b17, everything worked perfectly!
Program to create updater-script

As it turned out, not just a script was made, but a complete archive of the firmware under custom recovery. I did not expect, however ....

Post has been editedAlexChez - 03.08.17, 22:41
blackeangel
Message#4
04.08.17, 10:38
Nothing Is Impossible! Never
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2075
Check in: 12.12.14
Xiaomi Redmi 4 Prime

Reputation:-  731  +

* AlexChez, all corrected, perezalil. Thanks for the find)


--------------------
Forget the pain, forget the fear - And only the wind in the sails!
Updater Script Generator (USG)(Program for creating updater-script (update.zip) based on boot.img and system.img)
isinkin
Message#5
04.08.17, 10:46
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 212
Check in: 06.04.17
Xiaomi Redmi 5A

Reputation:-  22  +

There is such a proposal.
Add device information from the build.prop file to updater-script.
Namely:
  • Android version
  • Device name
  • Processor type
blackeangel
Message#6
04.08.17, 11:51
Nothing Is Impossible! Never
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2075
Check in: 12.12.14
Xiaomi Redmi 4 Prime

Reputation:-  731  +

* isinkin, your offer will end up looking like this:
23
Lenovo Lenovo a600
msm8953


Post has been editedblackeangel - 04.08.17, 11:52


--------------------
Forget the pain, forget the fear - And only the wind in the sails!
Updater Script Generator (USG)(Program for creating updater-script (update.zip) based on boot.img and system.img)
isinkin
Message#7
04.08.17, 11:58
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 212
Check in: 06.04.17
Xiaomi Redmi 5A

Reputation:-  22  +

* blackeangel,
Well, you can do this:

print_ui ("Android: * ro.build.version.release *");
print_ui ("Device: * ro.product.model *");
print_ui ("CPU API: * ro.product.cpu.abi *");


Where between ** - take the value from build.prop
AlexChez
Message#8
04.08.17, 23:28
Tummy
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 553
Check in: 21.11.13
Leagoo M8 Pro

Reputation:-  195  +

blackeangel
Now this error:
Make_file_contexts in line 110 Path / File access error in Functions
Attached Image
Attached Image


Post has been editedAlexChez - 05.08.17, 00:10
Schumacherd
Message#9
05.08.17, 00:00
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 325
Check in: 24.11.14
Xiaomi Redmi Note 3 Pro Prime

Reputation:-  114  +

The program worked without errors. But with firmware, error 4. (If it gives error 4, change the binary file).What is a binary file? Where can I get it?I'll answer it myself from the ported firmware from the META-INF folder, update-binary and replace in the received Flash archive

Post has been editedSchumacherd - 05.08.17, 00:25
blackeangel
Message#10
05.08.17, 09:57
Nothing Is Impossible! Never
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2075
Check in: 12.12.14
Xiaomi Redmi 4 Prime

Reputation:-  731  +

* AlexChez, on the first screen everything is clearly and clearly written that there is no file. So you forgot to put boot.Img or FILE_contexts, or it is not in boot.img or your boot.img could not be unpacked. It is also possible error due to violation of the rules of the location of the program itself (see instruction)


--------------------
Forget the pain, forget the fear - And only the wind in the sails!
Updater Script Generator (USG)(Program for creating updater-script (update.zip) based on boot.img and system.img)
AlexChez
Message#11
05.08.17, 10:55
Tummy
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 553
Check in: 21.11.13
Leagoo M8 Pro

Reputation:-  195  +

Blackeangel @ 08/05/17, 09:57*
failed to unpack

What kind of mystery. What's the strangest thing, I used the same boot.img and system.img as the day before. And the folder is the same. Already on the old version is the same error. Files boot.img and system.img changed to new ones. Prog just stubbornly does not want to do their job.
Attached Image
cherva70
Message#12
05.08.17, 10:57
Guru
*********
[offline]

Group: Honorary Gameday
Messages 2994
Check in: 12.05.14
Xiaomi Mi Note 3 4/64

Reputation:-  1874  +

* AlexChez,
Delete system_statfile and try again.


--------------------
AlexChez
Message#13
05.08.17, 11:02
Tummy
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 553
Check in: 21.11.13
Leagoo M8 Pro

Reputation:-  195  +

cherva70 @ 08/05/17, 10:57*
system_statfile

It appears while the program is running.
Schumacherd
Message#14
05.08.17, 11:17
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 325
Check in: 24.11.14
Xiaomi Redmi Note 3 Pro Prime

Reputation:-  114  +

cherva70 @ 08/05/17, 10:57*
What kind of mystery. What's the strangest thing, I used the same boot.img and system.img as the day before. And the folder is the same. Already on the old version is the same error. Files boot.img and system.img changed to new ones. Prog just stubbornly does not want to do their job.

After the first conversion, the same thing happened to me. Just delete the folder with the program and throw in a new one. Then it works

Post has been editedSchumacherd - 05.08.17, 11:37
blackeangel
Message#15
05.08.17, 12:52
Nothing Is Impossible! Never
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2075
Check in: 12.12.14
Xiaomi Redmi 4 Prime

Reputation:-  731  +

I do not know how you do it. On my windows 7 / XP, everything works fine. The program is in the root of the disk with the system and on the desktop. Everything is working.


--------------------
Forget the pain, forget the fear - And only the wind in the sails!
Updater Script Generator (USG)(Program for creating updater-script (update.zip) based on boot.img and system.img)
isinkin
Message#16
05.08.17, 15:00
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 212
Check in: 06.04.17
Xiaomi Redmi 5A

Reputation:-  22  +

There is an error when you turn on the program.
Error screenshot
Attached Image

Content error.log
error.log
17:55:18 05.08.2017


With this, version 17 works.

Post has been editedisinkin - 05.08.17, 15:02
blackeangel
Message#17
05.08.17, 15:34
Nothing Is Impossible! Never
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2075
Check in: 12.12.14
Xiaomi Redmi 4 Prime

Reputation:-  731  +

* isinkin, office 2010 installed?


From where these errors only come from, I have no idea.
I also have testers and everything works without problems.


Post has been editedblackeangel - 05.08.17, 15:40


--------------------
Forget the pain, forget the fear - And only the wind in the sails!
Updater Script Generator (USG)(Program for creating updater-script (update.zip) based on boot.img and system.img)
isinkin
Message#18
05.08.17, 16:49
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 212
Check in: 06.04.17
Xiaomi Redmi 5A

Reputation:-  22  +

* blackeangel
No, did not install. Windows 10.
blackeangel
Message#19
05.08.17, 17:09
Nothing Is Impossible! Never
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2075
Check in: 12.12.14
Xiaomi Redmi 4 Prime

Reputation:-  731  +

* isinkin, it means you have to look for them and put them in a folder. I did a collection of such libraries, but I cannot find it. I will look at work on Monday.

Post has been editedblackeangel - 05.08.17, 17:10


--------------------
Forget the pain, forget the fear - And only the wind in the sails!
Updater Script Generator (USG)(Program for creating updater-script (update.zip) based on boot.img and system.img)
Dracula2000
Message#20
07.08.17, 19:17
Poo!
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2904
Check in: 03.02.10
Xiaomi Redmi 5 Plus 4/64

Reputation:-  343  +

TWRP 3.0.2 produced an error 127, while on the screen it is written that the installation was completed, the system did not boot at all, threw into doubt the fact that too quickly the installation itself went through,half a minute15 seconds, with a system folder size of almost 2 gig.
Attached Image


Post has been editedDracula2000 - 07.08.17, 19:23
blackeangel
Message#21
08.08.17, 06:11
Nothing Is Impossible! Never
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 2075
Check in: 12.12.14
Xiaomi Redmi 4 Prime

Reputation:-  731  +

* Dracula2000, log of the recovery looked what he wrote?


--------------------
Forget the pain, forget the fear - And only the wind in the sails!
Updater Script Generator (USG)(Program for creating updater-script (update.zip) based on boot.img and system.img)

38 pagesV  1 2 3 4 5 6 > » 


 mobile version    Now: 03/05/19, 03:26