> 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


39 pagesV  « < 34 35 36 37 38 39 > »  
 
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 2088
Check in: 12.12.14
Xiaomi Redmi 4 Prime

Reputation:-  734  +

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
Hajldey
Message#702
08.02.19, 10:32
Lord of the Kernel and Zygote
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 3097
Check in: 21.09.10
Xiaomi Redmi 5 Plus 3/32

Reputation:-  886  +

* blackeangel
Greetings
I wanted to work with 8 buckets more precisely 8.1
Alpha version 18.6 does not work
Windows 10, in the application of the java environment is indicated (for some reason, java has been updated from bit 64 to 32 bit)
By clicking on USG.jar does not start, took a bow with 18a with it starts but does not work
Attached Image
Attached Image

Attached Image
Attached Image

18a works without problems, I run the EXE
stick your nose where to dig: sveta:


--------------------
past nickname frol_82
blackeangel
Message#703
08.02.19, 10:38
Nothing Is Impossible! Never
*********
[offline]

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

Reputation:-  734  +

* Hajldey, remove points and underscores from program paths


--------------------
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)
Hajldey
Message#704
08.02.19, 10:51
Lord of the Kernel and Zygote
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 3097
Check in: 21.09.10
Xiaomi Redmi 5 Plus 3/32

Reputation:-  886  +

* blackeangel
But it still does not start by clicking on USG.jar
Run through the bow
Attached Image
Attached Image

Thank


--------------------
past nickname frol_82
stamok
Message#705
13.02.19, 01:07
Visitor
**
[offline]

Group: Banned
Messages 14
Check in: 30.07.18
Star Note i9220

Reputation:-  3  +

Can anyone tell me? C generated stock firmware for TWRP
Immediately the binary did not fit, gave an error-4. Found a solution to replace it from the donor firmware. I went to the installation, everything started, but after installation IMEI flies
I put my native stock through FlashTool, IMEI is in place, reset to factory settings do not reset IMEI has become a nvram in place. What to do, where to dig?

Post has been editedstamok - 13.02.19, 01:09
stamok
Message#706
13.02.19, 05:35
Visitor
**
[offline]

Group: Banned
Messages 14
Check in: 30.07.18
Star Note i9220

Reputation:-  3  +

Stamok @ 02.13.19, 02:07*
Can anyone tell me?

Understood, the generator was outdated. Updated everything earned: blush:
shuchvadim
Message#707
13.02.19, 09:45
Banned
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 14201
Check in: 05.03.14
Xiaomi Redmi Note 5A 2/16

Reputation:-  1235  +

* blackeangelBut what if the firmware is in the image of payload.bin? I could disassemble this binary on system.img and boot.img but there is no file_contexts. There is no solution?
blackeangel
Message#708
13.02.19, 09:48
Nothing Is Impossible! Never
*********
[offline]

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

Reputation:-  734  +

* shuchvadim, the latest version of the program does not need either file_contexts or boot.img


--------------------
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)
shuchvadim
Message#709
13.02.19, 09:52
Banned
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 14201
Check in: 05.03.14
Xiaomi Redmi Note 5A 2/16

Reputation:-  1235  +

* blackeangel, OK . I will try . )
Delconte
Message#710
20.02.19, 22:17
changed from iNDrod to DelConte
*******
[offline]

Group: Curators
Messages 802
Check in: 22.11.17
Asus ZenFone Max Pro M1 ZB602KL 3/32

Reputation:-  54  +

Guys who can throw off oreo contexts convertor? what to convert from file contexts.bin to file contexts
on the xda forum broken links

Post has been editediNDrod - 20.02.19, 22:23


--------------------
kosmos2011
Message#711
02.03.19, 23:01
Veteran
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1958
Check in: 14.07.11
Xiaomi Redmi Note 5 3/32

Reputation:-  1822  +

* iNDrod,

Attached files

Attached filefile_context_converter.zip(271.26 KB)


--------------------
ingratitude kills enthusiasm
Samoono
Message#712
05.03.19, 18:20
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 129
Check in: 03.07.18
Lenovo Tab 4 10 Plus TB-X704L

Reputation:-  1  +

Hello!
I have such a problem, run usg18.jar and get the error: The bin folder was not found. I have win 10 x64.
Attached Image


Post has been editedSamoono - 05.03.19, 23:59


--------------------
Ordinary person: D
# GEKSON #
Message#713
08.03.19, 13:05
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 553
Check in: 20.03.14
Leagoo KIICAA Power

Reputation:-  91  +

When installing, it gives this error
Attached Image
oflarm
Message#714
08.03.19, 13:09
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 669
Check in: 03.01.13

Reputation:-  111  +

* # GEKSON #,
probably need to update tvrp on the body
Diman_3452
Message#715
08.03.19, 13:13
Help
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 3885
Check in: 26.02.13
Oukitel C4

Reputation:-  545  +

* # GEKSON #, in white and black it says that the archive is for one device, and you sew another
# GEKSON #
Message#716
08.03.19, 13:15
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 553
Check in: 20.03.14
Leagoo KIICAA Power

Reputation:-  91  +

* Diman_3452, but I took the files from the firmware for my phone
Diman_3452
Message#717
08.03.19, 13:17
Help
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 3885
Check in: 26.02.13
Oukitel C4

Reputation:-  545  +

* # GEKSON #I do not argue, but TWRP swears precisely on this difference
# GEKSON #
Message#718
08.03.19, 13:17
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 553
Check in: 20.03.14
Leagoo KIICAA Power

Reputation:-  91  +

* Diman_3452, and how to fix it?
Displax
Message#719
08.03.19, 13:34
Absolute
*********
[offline]

Group: Honorary Gameday
Messages 17238
Check in: 18.04.14
Xiaomi Mi A1 4/64

Reputation:-  5058  +

* # GEKSON #,
Remove device scan from updater-script in firmware. At one's own risk.
grisha2002
Message#720
13.03.19, 22:36
Old resident
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 808
Check in: 13.09.17
Lenovo Vibe B A2016

Reputation:-  10  +

* # GEKSON #, 1. which firmware you install, if 4.2. * - 4.4. *, Then after the wipes, you need to reboot the device, and install the firmware
2. It is better to throw the log from the recovery with an error and for one updater-script

Post has been editedgrisha2002 - 13.03.19, 22:37
s1a1g1e1r1t
Message#721
15.03.19, 17:07
Old resident
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 962
Check in: 11.09.15
ASSISTANT AP-101

Reputation:-  45  +

* blackeangel
From your sources in the program Intellij Idea, on ubuntu 18.04, I made a .jar file with a fast hand. This is only the first experience. But it was not possible to launch this file in ubuntu 18.04. In the terminal it writes
~ / ported $ ./project.jar
bash: ./project.jar: failed to execute binary file: Error related to executable file format
For fun, it's interesting. Just wondering what happened. But the file itself.
Attached fileproject.jar(42.19 MB)

39 pagesV  « < 34 35 36 37 38 39 > » 


 mobile version    Now: 05/18/19, 03:12