[Galaxy Note 3 Original Android Development] RavenY2K3:
[MENTION=2348906]designgears[/MENTION]

I set Echo to ON to see whats going on behind the scenes, as the problem persists with 0.2, are the "Double Back slashes" supposed to be there?

===============================================================================

This work is licensed under a Creative Commons
Attribution-NonCommercial-NoDerivs 3.0 United States License.

http://creativecommons.org/licenses/by-nc-nd/3.0/us

===============================================================================
Universal Root de la Vega v0.2 -- By DesignGears
Public Preview
===============================================================================

MODE: full
FILE TYPE: md5
FILENAME: N9005XXUBMJ3_N9005OXABMJ1_N9005XXUBMJ2_HOME.tar.md5

E:\tmp>ECHO Extracting Tar...
Extracting Tar...

E:\tmp>IF [md5] == [md5] SET FILENAME=!FILENAME:~0,-4!

E:\tmp>IF [full] == [full] (
"E:\\bin\7za.exe" e "E:\N9005XXUBMJ3_N9005OXABMJ1_N9005XXUBMJ2_HOME.tar.md5" cac
he* system* -aoa 1>nul
GOTO :hex
) ELSE (
"E:\\bin\7za.exe" e "E:\N9005XXUBMJ3_N9005OXABMJ1_N9005XXUBMJ2_HOME.tar.md5" cac
he* -aoa 1>nul
GOTO :package
)

E:\tmp>ECHO Hex Editing System Image...
Hex Editing System Image...

E:\tmp>FOR %f IN (system*) DO SET SYSTEM_FILE=%f

E:\tmp>SET SYSTEM_FILE=system.img.ext4

E:\tmp>"E:\\bin\sed.exe" -b -e 's|# Startup script for Secure Storage processes
#|sh /data/media/0/root_de_la_vega.sh #0000000000|g' system.img.ext4 1>system_v
ega

E:\tmp>ECHO Checking System Image Hook...
Checking System Image Hook...

E:\tmp>FOR /F "tokens=* delims=" %a IN ('"E:\\bin\grep.exe" -cim1 'vega.sh' syst
em_vega') do SET HOOKED=%a

E:\tmp>SET HOOKED=1

E:\tmp>IF [1] == [1] (
ECHO System Image Successfully Hooked
MOVE /Y system_vega system.img.ext4 1>nul
GOTO :package
) ELSE (
COLOR 4F
ECHO System Image Could Not Be Hooked
DEL system_vega 1>nul
GOTO :end
)
System Image Successfully Hooked

E:\tmp>ECHO Creating Odin Flashable Tar...
Creating Odin Flashable Tar...

E:\tmp>ECHO.

E:\tmp>IF [full] == [full] (
"E:\\bin\tar.exe" --group=1 -H ustar -c cache* system.img.ext4 1>"N9005XXUBMJ3_
N9005OXABMJ1_N9005XXUBMJ2_HOME_VEGA.tar"
"E:\\bin\md5sum.exe" -t "N9005XXUBMJ3_N9005OXABMJ1_N9005XXUBMJ2_HOME_VEGA.tar"
1>>"N9005XXUBMJ3_N9005OXABMJ1_N9005XXUBMJ2_HOME_VEGA.tar"
MOVE /Y "N9005XXUBMJ3_N9005OXABMJ1_N9005XXUBMJ2_HOME_VEGA.tar" "E:\\output\N900
5XXUBMJ3_N9005OXABMJ1_N9005XXUBMJ2_HOME_VEGA.tar.md5" 1>nul
ECHO ODIN FILE: N9005XXUBMJ3_N9005OXABMJ1_N9005XXUBMJ2_HOME_VEGA.tar
) ELSE (
"E:\\bin\tar.exe" --group=1 -H ustar -c cache* 1>"N9005XXUBMJ3_N9005OXABMJ1_N90
05XXUBMJ2_HOME_CSC.tar"
"E:\\bin\md5sum.exe" -t "N9005XXUBMJ3_N9005OXABMJ1_N9005XXUBMJ2_HOME_CSC.tar"
1>>"N9005XXUBMJ3_N9005OXABMJ1_N9005XXUBMJ2_HOME_CSC.tar"
MOVE /Y "N9005XXUBMJ3_N9005OXABMJ1_N9005XXUBMJ2_HOME_CSC.tar" "E:\\output\N9005
XXUBMJ3_N9005OXABMJ1_N9005XXUBMJ2_HOME_CSC.tar.md5" 1>nul
ECHO ODIN FILE: N9005XXUBMJ3_N9005OXABMJ1_N9005XXUBMJ2_HOME_CSC.tar
)
/usr/bin/tar: value 4294967295 out of uid_t range 0..2097151
/usr/bin/tar: value 4294967295 out of uid_t range 0..2097151
/usr/bin/tar: Exiting with failure status due to previous errors
ODIN FILE: N9005XXUBMJ3_N9005OXABMJ1_N9005XXUBMJ2_HOME_VEGA.tar

E:\tmp>C:\Windows\explorer.exe "E:\\output"

E:\tmp>ECHO.

E:\tmp>ECHO DO NOT DISTRIBUTE FILES CREATED WITH UNIVERSAL ROOT DE LA VEGA
DO NOT DISTRIBUTE FILES CREATED WITH UNIVERSAL ROOT DE LA VEGA

E:\tmp>ECHO DO NOT DISTRIBUTE FILES CREATED WITH UNIVERSAL ROOT DE LA VEGA
DO NOT DISTRIBUTE FILES CREATED WITH UNIVERSAL ROOT DE LA VEGA

E:\tmp>ECHO DO NOT DISTRIBUTE FILES CREATED WITH UNIVERSAL ROOT DE LA VEGA
DO NOT DISTRIBUTE FILES CREATED WITH UNIVERSAL ROOT DE LA VEGA

E:\tmp>ECHO DO NOT DISTRIBUTE FILES CREATED WITH UNIVERSAL ROOT DE LA VEGA
DO NOT DISTRIBUTE FILES CREATED WITH UNIVERSAL ROOT DE LA VEGA

E:\tmp>ECHO DO NOT DISTRIBUTE FILES CREATED WITH UNIVERSAL ROOT DE LA VEGA
DO NOT DISTRIBUTE FILES CREATED WITH UNIVERSAL ROOT DE LA VEGA

E:\tmp>ECHO DO NOT DISTRIBUTE FILES CREATED WITH UNIVERSAL ROOT DE LA VEGA
DO NOT DISTRIBUTE FILES CREATED WITH UNIVERSAL ROOT DE LA VEGA

E:\tmp>ECHO DO NOT DISTRIBUTE FILES CREATED WITH UNIVERSAL ROOT DE LA VEGA
DO NOT DISTRIBUTE FILES CREATED WITH UNIVERSAL ROOT DE LA VEGA

E:\tmp>ECHO DO NOT DISTRIBUTE FILES CREATED WITH UNIVERSAL ROOT DE LA VEGA
DO NOT DISTRIBUTE FILES CREATED WITH UNIVERSAL ROOT DE LA VEGA

E:\tmp>ECHO DO NOT DISTRIBUTE FILES CREATED WITH UNIVERSAL ROOT DE LA VEGA
DO NOT DISTRIBUTE FILES CREATED WITH UNIVERSAL ROOT DE LA VEGA

E:\tmp>CD ..

E:\>GOTO :end

E:\>EXIT /B

E:\>