[TOOL] [Windows] S.U.R v1.3 - Simple Unpack & Repack Tool Deodexer [by JamFlux]

Status
Not open for further replies.
Search This thread

BabylonDroid1

Member
Oct 10, 2019
5
1

hello, im having some troubles to try and unpack my rom and repack.
the program works fine, show no errors. but after repack i try flash system.img and then my phone don't boot.
it's not bootloop, but the brand logo just stays on the screen forever and phone not booting.

im using umidigi a5 pro, runs android 9 (community.umidigi.com/forum.php?mod=viewthread&tid=189191) this is the rom

to test, i simply unpack and repack withoout modification, to check if i didnt make the mistake with modifications.
even with simply unpack and repack i had the same problem.

you know what could be problem?
thanks a lot :)
 

Randy19843559

New member
Nov 30, 2018
3
0
IDK

i dont get it, and i've been doing rom ports and pretty big rom ports for a while now, maybe........just maybe im the idiot but this tool is for one ONLY for 64bit computers, 2nd this tool has way too many errors, for one once i get it to actually semi- work it tells me to choose a rom in a totally different area of my computer lol, its absolutely BONKERS:confused: how have any of you guys got this to work the little that you all have? i would leave a link in this description of the recent port ive done, but xda will not allow me to, its weird but ive ported a version of cyanide rom that doesn't exist for (A0001 Oneplus one Bacon) the 6.0.1 detoxified rom and it works well, few bugs but , i cant even get this tool here to even go on properly:silly::silly::silly::silly::silly::silly::silly::silly::silly: lol maybe im th dope, i dont know but if you'd be so kind to answer back let me know if i have your permission to create same tool but one that works for win 32 users?????? thanks a bunch.
 

ernia66

Member
Sep 14, 2015
11
3
output format

Hello everyone. I tried unpack and repack a stock rom in payload.bin format, but in the output folder I find the 2 files system.img and boot.img. What should I do to get a payload.bin file that I can insert into the ROM? :confused:
 

JamFlux

Senior Member
May 14, 2014
266
1,097
Villavicencio
Hello everyone. I tried unpack and repack a stock rom in payload.bin format, but in the output folder I find the 2 files system.img and boot.img. What should I do to get a payload.bin file that I can insert into the ROM? :confused:

system.img can be flashed using fastboot method. This is because payload.bin cant be generated using this tool or another one.
 

squallho1

Member
Jul 13, 2007
45
34
Hello, I tried to use your tool to reduce the size of system.img (to flash the Global ROM on my Oppo Reno 10X China variant which has a smaller system size), and got an error:
"21 was unexpected at this time"

Can you please help? Thanks!
 

akkradet

New member
Mar 8, 2016
2
0
HTML:
Now android 10 notworking bootloop 
miui11 9.10.17 -work
miui11 9.11.14 -not work
miui11 9.11.21 -not work
miui11 9.11.28 -not work
 

JamFlux

Senior Member
May 14, 2014
266
1,097
Villavicencio
HTML:
Now android 10 notworking bootloop 
miui11 9.10.17 -work
miui11 9.11.14 -not work
miui11 9.11.21 -not work
miui11 9.11.28 -not work

True. I'm testing in my mi 8 lite with miui 11 based on android 10 and ROM did not boot up, hanging in Mi Logo.
Trouble is with make_ext4fs binary. Hope someone with experience can make a booteable make_ext4fs for android 10.

Hope @Ricky Divjakovski, @Xannytech, @anpaza can cooperate with this open source project. Thanks in advance.
 

necsynx

Member
Nov 18, 2019
49
9
True. I'm testing in my mi 8 lite with miui 11 based on android 10 and ROM did not boot up, hanging in Mi Logo.
Trouble is with make_ext4fs binary. Hope someone with experience can make a booteable make_ext4fs for android 10.

Hope @Ricky Divjakovski, @Xannytech, @anpaza can cooperate with this open source project. Thanks in advance.

Hello
I'm unpacking realme flash rom in zip
But unpack is ok, repack will shut down with no error code, what can I do?
Im windows 10 pro
 

I1V1A1N

Senior Member
Sep 12, 2016
223
40
github.com
True. I'm testing in my mi 8 lite with miui 11 based on android 10 and ROM did not boot up, hanging in Mi Logo.
Trouble is with make_ext4fs binary. Hope someone with experience can make a booteable make_ext4fs for android 10.

Hope @Ricky Divjakovski, @Xannytech, @anpaza can cooperate with this open source project. Thanks in advance.

Is it possible to make a program on Linux?It's just with binary files.
 

JamFlux

Senior Member
May 14, 2014
266
1,097
Villavicencio
Is it possible to make a program on Linux?It's just with binary files.

Yeah, it can be possible, only problem is I don't know enough bash for Linux, just a Windows user.
Binary files are present for Linux, see credits part:

https://sourceforge.net/projects/p7zip/
https://bintray.com/eustas/brotli/download_file?file_path=brotli-linux-2019-10-01.zip
https://github.com/anpaza/make_ext4fs/blob/master/deploy/x86_64/release-diet-linux/make_ext4fs

Above it's just an example that linux binaries are more frequent than executables for windows.

The main idea is to have a free tool capable of handling the challenges that Android development assumes.
@I1V1A1N do you know people that can upgrade make_ext4fs for supporting android 10?
 

I1V1A1N

Senior Member
Sep 12, 2016
223
40
github.com
Yeah, it can be possible, only problem is I don't know enough bash for Linux, just a Windows user.
Binary files are present for Linux, see credits part:

https://sourceforge.net/projects/p7zip/
https://bintray.com/eustas/brotli/download_file?file_path=brotli-linux-2019-10-01.zip
https://github.com/anpaza/make_ext4fs/blob/master/deploy/x86_64/release-diet-linux/make_ext4fs

Above it's just an example that linux binaries are more frequent than executables for windows.

The main idea is to have a free tool capable of handling the challenges that Android development assumes.

@I1V1A1N do you know people that can upgrade make_ext4fs for supporting android 10?
Now it's easy.The Project Treble is developing and the system.img images of android 10 are made there.You only need to replace them and there will be android 10.This is how the X96 A logic S905x box on android 10 started up thanks to the Amlogic tool v6.0 from Rycky Divjacovsky.Thanks to him.
 

I1V1A1N

Senior Member
Sep 12, 2016
223
40
github.com
I found a site for editing files .bat.I inserted a file there SUR.bat .I got the result:

$ shellcheck myscript

Line 10:
if exist *.txt del *.txt > nul
^-- SC1009: The mentioned syntax error was in this if expression.

Line 17:
IF "%PROCESSOR_ARCHITECTURE%" EQU "amd64" (
^-- SC1073: Couldn't parse this if expression. Fix to allow more checks.
^-- SC1081: Scripts are case sensitive. Use 'if', not 'IF'.
^-- SC1036: '(' is invalid here. Did you forget to escape it?
^-- SC1050: Expected 'then'.
^-- SC1072: Expected 'then'. Fix any mentioned problems and try again.

$
This site is here.
https://www.shellcheck.net/
Found a file conversion site .bat
https://batsh.org/#
 
Status
Not open for further replies.

Top Liked Posts