PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > Windows Mobile Development > ROM/Kitchen Development

Notices


Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-08-2010, 04:19 PM
raidzero's Avatar
N00b
Offline
Pocket PC: Moto Droid @ 1.1GHz
Carrier: VZW
Location: PPCG
 
Join Date: Dec 2008
Posts: 2,193
Reputation: 5220
raidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to raidzero
RZ rollup-sort, sort your da-G rollups painlessly!

So ever since da_g started posting rollups of ALL packages and ALL DPIs, ALL langs, all resolutions life has been kinda crappy for me. not anymore. Today I decided to do something about it, this is the result.

all you need to do is place this batch file where you want it, then simply drag your SYS rollup onto it. input the info it asks for and when it is done, you will see your new folder inside the rollup directory... you will still need to remove elements that do not apply to you manually, the script is cool, but not magic..
you still need to remove oemxipkernel., msxipkernel, wince.nls, etc as you see fit.


Now I will just wait for indagroove to tell me this has already been done >< lol


edit: oops, found a bug, will fix and reupload before anyone notices

edit 2: bugs fixed, I had one of those "wtf am I thinking" moments. found a much more efficient way to do this..

instead of

Code:
@ECHO OFF
Title Welcome to RZ's rollup sorter, making your life easier! :)
cd %~f1
set /P RESH="Please enter your RESH: "
set /P RESV="Please enter your RESV: "
set /P LANG="Please enter your LANG: "
set /P DPI="Please enter your  DPI: "
set localpath=%cd%
set sortedfolder=SORTED_Lang_%LANG%_DPI_%DPI%_RESH_%RESH%_RESV_%RESV%

if exist %sortedfolder% (
echo Removing existing sorted folder... 
rmdir /s /q %sortedfolder%
if not exist %sortedfolder% mkdir %sortedfolder%
ping 127.0.0.1 -n 4 > NUL
echo done
)
cls
echo              *****************************************************
echo            *                      rollup-sort                  *
echo           *                       raidzero                    *
echo              *                          :D                       *
echo          *****************************************************
echo.
echo.
echo.

echo Extracting Core only...
dir /A:D /B | find /v /i "dpi" | find /v /i "lang" > packages.txt
for /F "usebackq delims=" %%A in ("packages.txt") do (
echo D|xcopy /D /H /E /C /Y /Q %%A %sortedfolder%\%%A >NUL
)

echo Extracting DPI only...
dir /A:D /B | find /i "dpi_%DPI%" | find /v /i "lang" | find /v /i "resh" > packages_dpi.txt
for /F "usebackq delims=" %%A in ("packages_dpi.txt") do (
echo D|xcopy /D /H /E /C /Y /Q %%A %sortedfolder%\%%A >NUL

echo Extracting Lang only...
for /F "tokens=*" %%A in ('dir /A:D /B *_LANG_%LANG%') do echo D|xcopy /D /H /E /C /Y /Q %%A %sortedfolder%\%%A >NUL

echo Extracting Lang+DPI only...
for /F "tokens=*" %%A in ('dir /A:D /B *%LANG%_DPI_%DPI%') do echo D|xcopy /D /H /E /C /Y /Q %%A %sortedfolder%\%%A >NUL

echo Extracting Lang+DPI+RES only...
for /F "tokens=*" %%A in ('dir /A:D /B *%LANG%_DPI_%DPI%_RESH_%RESH%_RESV_%RESV%') do echo D|xcopy /D /H /E /C /Y /Q %%A %sortedfolder%\%%A >NUL

cls

del packages.txt
del packages_dpi.txt
echo All done!
echo.
echo You will still be responsible for removing items not relevant to your device/region!
echo.
echo opening new SYS directory...
echo.
explorer %localpath%\%sortedfolder%
pause
it is just

Code:
@ECHO OFF
Title Welcome to RZ's rollup sorter, making your life easier! :)
cd %~f1
set /P RESH="Please enter your RESH: "
set /P RESV="Please enter your RESV: "
set /P LANG="Please enter your LANG: "
set /P DPI="Please enter your  DPI: "
set localpath=%cd%
set sortedfolder=SORTED_Lang_%LANG%_DPI_%DPI%_RESH_%RESH%_RESV_%RESV%

if exist %sortedfolder% (
echo Removing existing sorted folder... 
rmdir /s /q %sortedfolder%
if not exist %sortedfolder% mkdir %sortedfolder%
ping 127.0.0.1 -n 4 > NUL
echo done
)
cls
echo              *****************************************************
echo            *                      rollup-sort                  *
echo           *                       raidzero                    *
echo              *                          :D                       *
echo          *****************************************************
echo.
echo.
echo.


dir /A:D /B | find /v /i "dpi" | find /v /i "lang" > packages.txt
dir /A:D /B | find /i "dpi_%DPI%" | find /v /i "lang" | find /v /i "resh" >> packages.txt
dir /A:D /B *_LANG_%LANG% >> packages.txt
dir /A:D /B *%LANG%_DPI_%DPI% >> packages.txt
dir /A:D /B *%LANG%_DPI_%DPI%_RESH_%RESH%_RESV_%RESV% >> packages.txt
type packages.txt | sort > packages_sorted.txt
echo Now extracting the following packages...

for /F "usebackq delims=" %%A in ("packages_sorted.txt") do (
echo D|xcopy /D /H /E /C /Y /Q %%A %sortedfolder%\%%A >NUL
echo %%A
)







cls

del packages.txt

echo All done!
echo.
echo You will still be responsible for removing items not relevant to your device/region!
echo.
echo opening new SYS directory...
echo.
explorer %localpath%\%sortedfolder%
pause
enjoy!
Attached Files
File Type: rar RZ_rollup_sort_revision1.rar (773 Bytes, 22 views) Click for barcode!
__________________

Last edited by raidzero; 01-08-2010 at 09:15 PM.
This post has been thanked 2 times.
  #2 (permalink)  
Old 01-08-2010, 09:53 PM
SBR_L3GION's Avatar
Livin' Dangerously
Offline
Pocket PC: Evo!/TOUCHPRO2/ ALSO TOUCH PRO
Carrier: PPCGEEKS SPRINT JUST HELPS ME CALL PEOPLE.
Location: Mustang Oklahoma
 
Join Date: Jan 2008
Posts: 2,284
Reputation: 4661
SBR_L3GION should be added to the payroll for their contributionsSBR_L3GION should be added to the payroll for their contributionsSBR_L3GION should be added to the payroll for their contributionsSBR_L3GION should be added to the payroll for their contributionsSBR_L3GION should be added to the payroll for their contributionsSBR_L3GION should be added to the payroll for their contributionsSBR_L3GION should be added to the payroll for their contributionsSBR_L3GION should be added to the payroll for their contributionsSBR_L3GION should be added to the payroll for their contributionsSBR_L3GION should be added to the payroll for their contributionsSBR_L3GION should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to SBR_L3GION Send a message via Yahoo to SBR_L3GION
Re: RZ rollup-sort, sort your da-G rollups painlessly!

thank you very much havent tested it yet but Im sure ill be putting it to use sometime this weekend.
__________________
IF SOMEONE HELPS YOU OR YOU THINK THEY DESERVE IT MAKE IT KNOWN BY CLICKING THE THANKS BUTTON.

If I have helped you out or you enjoy my work please feel free to donate.



Helpful ROM cooking Info

How To: Registry edit to .cab
  #3 (permalink)  
Old 01-09-2010, 03:48 AM
indagroove's Avatar
AWOL
Offline
Pocket PC: HTC TouchPro 2 and Samsung Moment
Carrier: Sprint
 
Join Date: Nov 2007
Posts: 3
Reputation: 120
indagroove is keeping up the good workindagroove is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: RZ rollup-sort, sort your da-G rollups painlessly!

Quote:
Originally Posted by raidzero View Post
S
Now I will just wait for indagroove to tell me this has already been done >< lol
It's already been done -- months ago..

Not quite drag and drop, but almost as easy, and it also deletes duplicate files inside modules from dumps, and other stuff and stuff:

http://www.everythingdiamond.info/showthread.php?t=527

http://forum.xda-developers.com/showthread.php?t=542081
  #4 (permalink)  
Old 01-09-2010, 11:00 AM
raidzero's Avatar
N00b
Offline
Pocket PC: Moto Droid @ 1.1GHz
Carrier: VZW
Threadstarter
Location: PPCG
 
Join Date: Dec 2008
Posts: 2,193
Reputation: 5220
raidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to raidzero
Re: RZ rollup-sort, sort your da-G rollups painlessly!

Quote:
Originally Posted by indagroove View Post
It's already been done -- months ago..

Not quite drag and drop, but almost as easy, and it also deletes duplicate files inside modules from dumps, and other stuff and stuff:

http://www.everythingdiamond.info/showthread.php?t=527

http://forum.xda-developers.com/showthread.php?t=542081

I looked at dumpsorter and I could not find it able to do this, it can create blank folder layouts but not actually copy packages when given a dpi, resh resv and lang value...
  #5 (permalink)  
Old 01-10-2010, 01:05 AM
indagroove's Avatar
AWOL
Offline
Pocket PC: HTC TouchPro 2 and Samsung Moment
Carrier: Sprint
 
Join Date: Nov 2007
Posts: 3
Reputation: 120
indagroove is keeping up the good workindagroove is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: RZ rollup-sort, sort your da-G rollups painlessly!

Maybe I'm missing something, but the dump sorter does sort rollups and dumped sys' into the VK layout. Then you can just delete the dpi folder you don't need if you don't want all the extra packages in your kitchen. Either way, it's always nice to have different tools to do things in different ways.
Closed Thread

  PPCGeeks > Windows Mobile > Windows Mobile Development > ROM/Kitchen Development

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 03:29 AM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com