Jump to content


Photo

[TOOL] preBuildOS

* * * * * 2 votes

  • Please log in to reply
9 replies to this topic

#1
fardjad

fardjad

    Newbie

  • Members
  • Pip
  • 26 posts
  • Interests:Windows Mobile Development and Hacking.
  • Devices:HTC HD2
Description:

Many cookers use bepe's BuildOS to cook ROMs. As you know BuildOS fails if there are multiple files with same name in OEM or SYS packages:
Attached File  Screen_shot_1389_10_24_at_12.39.00_AM.png   17.87KB   171 downloads
This tool automatically finds and deletes redundant .rgu and .dsm files and also removes duplicate files by name according to packages priority (determined by their directory name).

How to use:

Simply put preBuildOS in a directory beside OEM and SYS folders and open it.

Attached File  Screen_shot_1389_10_24_at_12.56.38_AM.png   7.5KB   51 downloads

This will automatically perform cleanup

Attached File  Screen_shot_1389_10_24_at_12.59.28_AM.png   7.74KB   44 downloads

and move deleted files and folders to deleted_sys and deleted_oem:

Attached File  res.png   60.8KB   127 downloads

preBuildOS is a command-line tool. You can use it with --oem and --sys arguments:
prebuildos --sys=<path_to_sys_folder> --oem=<path_to_oem_folder>

Download:
Attached File  preBuildOS.exe   14KB   277 downloads

Edited by fardjad, 15 January 2011 - 12:13 PM.

  • 0

#2
Speedfrog

Speedfrog

    The Viking

  • Moderator Team
  • PipPipPipPipPipPip
  • 2,014 posts
  • Gender:Male
  • Location:Norway
  • Interests:football
  • Devices:Omnia II 16 GB
Thanks for the tool Fardjad ;)

Pinned

  • 0

#3
amdzero

amdzero

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,343 posts
  • Devices:i920 Omnia 2
Works like a charm! Thanks!

  • 0

#4
fardjad

fardjad

    Newbie

  • Members
  • Pip
  • 26 posts
  • Interests:Windows Mobile Development and Hacking.
  • Devices:HTC HD2
Honestly I was watching this thread for replies and feedbacks since I released the tool. I wanted to add more features and bug fixes to this utility to make it useful for cookers (I'm not interested in cooking ROMs. I was just playing with these things to learn more.)

I heard from many cookers that deleting duplicate files is really boring, so I made this utility and gave it to a few users before I post it here... And now there are only 38 downloads and 2 replies. So it seems there is no need to continue the development.

Also it's really strange that users in this community don't want to share their knowledge anyway; Before I make the tool public, one of the testers asked me not to release it! Well... I know there is competition between cookers but I personally prefer to share everything because I hope others do so. This way we gain knowledge and make our community better and better.

I have sent more than 5 PMs to a few experts here to ask them something (It was about the relocation problem with osKitchen O2 project) and almost no one answered. It seems everyone wants to publish their work just for the fame!

OK, I know this is somehow irrelevant to this topic, but I really became disappointed when I saw this state... I think there is no need to continue working on these projects.

Edited by fardjad, 24 January 2011 - 02:26 PM.

  • 0

#5
solmy

solmy

    Newbie

  • Members
  • Pip
  • 4 posts
  • Devices:imate jam 128 Rom
Thank you for a wonderful tool

  • 0

#6
Lancez

Lancez

    Hardcore

  • Moderator Team
  • PipPipPipPipPipPip
  • 3,093 posts
  • Gender:Male
  • Location:Los Angeles, California, U.S.A
  • Interests:My Devices:
    Galaxy Nexus
    Samsung I9100
    Samsung S8600 Bada
    Samsung I8000
    Samsung I900
    Sony Ericsson X10a
just right after i stopped cooking :lol: good job!

  • 0

#7
xlightwaverx

xlightwaverx

    Diehard

  • Members
  • PipPipPipPip
  • 413 posts
  • Gender:Male
  • Location:East Coast
  • Interests:Women, Linux, Computing - In that Order.
  • Devices:Razr Maxx
  • Twitter:@xlightwaverx

just right after i stopped cooking :( good job!


You just saved me about an hour of work waiting for buildOS to fail on 32 different files. I think it is wonderful that you created this tool. I would like, personally, if you could make it a priority thing where you get shown the duplicates and then you choose the priority of the packages, cause once you run this tool your kitchen gets ripped apart and you have to put everything back where it goes except the new project you are working on. A lot of duplicates can be taken care of by the option.xml file, where some things don't get "cooked" together.

Otherwise this is beautiful, but I don't use it on i8000.

X

  • 0

GTalk/Email: xlightwaverx[@]gmail.com | Android Development | CrackFlasher Downloads
Posted Image


#8
carion07

carion07

    Newbie

  • Members
  • Pip
  • 4 posts
  • Gender:Male
  • Location:Italy
  • Devices:samsung i900 e htc p3600

Honestly I was watching this thread for replies and feedbacks since I released the tool. I wanted to add more features and bug fixes to this utility to make it useful for cookers (I'm not interested in cooking ROMs. I was just playing with these things to learn more.)

I heard from many cookers that deleting duplicate files is really boring, so I made this utility and gave it to a few users before I post it here... And now there are only 38 downloads and 2 replies. So it seems there is no need to continue the development.

Also it's really strange that users in this community don't want to share their knowledge anyway; Before I make the tool public, one of the testers asked me not to release it! Well... I know there is competition between cookers but I personally prefer to share everything because I hope others do so. This way we gain knowledge and make our community better and better.

I have sent more than 5 PMs to a few experts here to ask them something (It was about the relocation problem with osKitchen O2 project) and almost no one answered. It seems everyone wants to publish their work just for the fame!

OK, I know this is somehow irrelevant to this topic, but I really became disappointed when I saw this state... I think there is no need to continue working on these projects.


Thanks for the great tool that helps us cooks, and also I am of the opinion to share up its own knowledge and experience for the good of the whole comunity, I would be willing as a beta tester for the project osKitchen O2 Mod

  • 0

#9
Bryan W.

Bryan W.

    Enthusiast

  • Members
  • PipPipPip
  • 153 posts
  • Devices:Omnia II

You just saved me about an hour of work waiting for buildOS to fail on 32 different files. I think it is wonderful that you created this tool. I would like, personally, if you could make it a priority thing where you get shown the duplicates and then you choose the priority of the packages, cause once you run this tool your kitchen gets ripped apart and you have to put everything back where it goes except the new project you are working on. A lot of duplicates can be taken care of by the option.xml file, where some things don't get "cooked" together.

Otherwise this is beautiful, but I don't use it on i8000.

X


I just spent an hour trying to find a way around this while repeatedly rebuilding and renaming doubles...

Then this took precisely 0.23 seconds to fix the rest...

Thank you!

  • 0

#10
tobbbie

tobbbie

    Regular

  • Members
  • PipPip
  • 106 posts
  • Location:Germany
  • Devices:Tornado (+ see signature)
Hi, thanks for the tool and sharing :-)

When merging bases and adding OEM I came across the need to weed out also duplicate modules/files this is something that your tool does as well - thanks :-)
So in the context of checking to make things unique it is very handy!

I will not be able to use that on a regular base (i.e. in the cooking workflow) as I have on purpose duplicate files in package directories. These have to be selected either/or and not together.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users