[OS Porting] UmairSaifullah:
Im facing this problem..

Umair@Umair-PC ~

$ cd port

-bash: cd: port: No such file or directory

Umair@Umair-PC ~

$ cd c:

Umair@Umair-PC /cygdrive/c

$ cd port

-bash: cd: port: No such file or directory

Umair@Umair-PC /cygdrive/c

$ port

-bash: port: command not found

Umair@Umair-PC /cygdrive/c

$ cd c

-bash: cd: c: No such file or directory

Umair@Umair-PC /cygdrive/c

$ cd c:\cgywin

-bash: cd: c:cgywin: No such file or directory

Umair@Umair-PC /cygdrive/c

$ cd c:\cygwin

Umair@Umair-PC /cygdrive/c/cygwin

$ port

-bash: port: command not found

Umair@Umair-PC /cygdrive/c/cygwin

$ cd port

Umair@Umair-PC /cygdrive/c/cygwin/port

$ ./menu

./menu: line 10: clear: command not found

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

PORT TOOL v1.0.0 by AlfasMP [MENTION=2305715]xda-developers.com[/MENTION])

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

____________________________________________________________

Port tool is made by AlfasMP [MENTION=2305715]xda-developers.com[/MENTION].

This tool innovated for making rom porting procedure more

easier and doubtless . Anyway I am not offering a

clean/successful ported rom at this time. You may need to

edit some components manually and there is always a chance

for getting abricked device .

Since the tool is at its initial stage and has also

less codes . So don't judge everything too hard ,and positive

suggestions are always welcomed .

Change log

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

v1.0.0

* initial version

____________________________________________________________

Press any key to continue

./menu: line 32: clear: command not found

./scripts/admenu: line 9: clear: command not found

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

PORT TOOL v1.0.0 by AlfasMP [MENTION=2305715]xda-developers.com[/MENTION])

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

1 - Port

2 - Zip ported folder

3 - Sign the output

4 - Wipe folders

5 - Install/Update to new version

6 - About

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

Q - Quit kitchen

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

Enter the desired option and press enter .

1

./scripts/port1: line 10: clear: command not found

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

PORT TOOL v1.0.0 by AlfasMP [MENTION=2305715]xda-developers.com[/MENTION])

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

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

===

===

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

You need two firmwares in zip format .

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

base = A rom created for your device

port = A rom , which you wanna port

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

Name them base.zip and port.zip respectively and copy

them into the input folder .

____________________________________________________________

PRESS ENTER AFTER DOING THE ABOVE STEP

./scripts/port1: line 42: clear: command not found

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

PORT TOOL v1.0.0 by AlfasMP [MENTION=2305715]xda-developers.com[/MENTION])

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

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

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

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

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

Wiping all files ...

------------------------------------------------------------

This will extract base.zip to working/base and port.zip to

working/port folder .

------------------------------------------------------------

Proceed with building Working folder ?

____________________________________________________________

Press any key to continue

./scripts/port1: line 65: unzip: command not found

./scripts/port1: line 66: unzip: command not found

./scripts/port1: line 67: clear: command not found

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

PORT TOOL v1.0.0 by AlfasMP [MENTION=2305715]xda-developers.com[/MENTION])

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

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

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

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

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

------------------------------------------------------------

This will extract base.zip to working/base and port.zip to

working/port folder .

------------------------------------------------------------

Working folder created !

____________________________________________________________

Press any key to continue

./scripts/port1: line 91: clear: command not found

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

PORT TOOL v1.0.0 by AlfasMP [MENTION=2305715]xda-developers.com[/MENTION])

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

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

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

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

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

Porting ...

-----------------

Deleting contents from base...

rm: cannot remove ‘./working/base/system/app’: No such file or directory

rm: cannot remove ‘./working/base/system/framework’: No such file or directory

rm: cannot remove ‘./working/base/system/fonts’: No such file or directory

Extracting modules from base...

cp: cannot stat ‘./working/base/system/etc/vold.fstab’: No such file or director y

rm: cannot remove ‘./working/base/system/etc/vold.fstab’: No such file or direct ory

cp: cannot stat ‘./working/base/system/lib/hw’: No such file or directory

cp: cannot stat ‘./working/base/system/lib/modules’: No such file or directory

cp: cannot stat ‘./working/base/system/usr’: No such file or directory

Replacing with port...

cp: cannot stat ‘./working/port/system/app’: No such file or directory

cp: cannot stat ‘./working/port/system/framework’: No such file or directory

cp: cannot stat ‘./working/port/system/fonts’: No such file or directory

cp: cannot stat ‘./working/port/system/media’: No such file or directory

cp: cannot stat ‘./working/base/system/etc/permissions/platform.xml’: No such fi le or directory

cp: cannot stat ‘./working/port/system/etc/permissions/*’: No such file or direc tory

rm: cannot remove ‘./working/base/system/etc/permissions/platform.xml’: No such file or directory

cp: cannot create directory ‘./working/base/system/etc/permissions/platform.xml’ : No such file or directory

cp: cannot create directory ‘./working/base/system/etc/permissions/handheld_hard ware.xml’: No such file or directory

Adding modules to base...

cp: cannot stat ‘./working/temp/system/etc/vold.fstab’: No such file or director y

cp: cannot stat ‘./working/temp/system/lib/hw’: No such file or directory

cp: cannot stat ‘./working/temp/system/lib/modules’: No such file or directory

cp: cannot stat ‘./working/temp/system/usr’: No such file or directory

Porting is Done !

____________________________________________________________

Press any key to continuen

./scripts/port2: line 10: clear: command not found

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

PORT TOOL v1.0.0 by AlfasMP [MENTION=2305715]xda-developers.com[/MENTION])

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

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

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

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

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

------------------------------------------------------------

Now I am gonna build ported.zip from the base folder .

------------------------------------------------------------

____________________________________________________________

Press any key to continue

./scripts/port2: line 31: clear: command not found

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

PORT TOOL v1.0.0 by AlfasMP [MENTION=2305715]xda-developers.com[/MENTION])

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

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

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

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

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

------------------------------------------------------------

Now I am gonna build ported.zip from the base folder .

------------------------------------------------------------

Building...

./scripts/port2: line 49: zip: command not found

mv: cannot stat ‘./base/META-INF.zip’: No such file or directory

mv: cannot stat ‘./base/ported.zip’: No such file or directory

Building Zip file completed !

It can be found at the output folder .

____________________________________________________________

Press any key to continue

./scripts/port2: line 59: clear: command not found

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

PORT TOOL v1.0.0 by AlfasMP [MENTION=2305715]xda-developers.com[/MENTION])

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

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

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

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

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

------------------------------------------------------------

Do you wanna sign the ported zip file (y /n)?

------------------------------------------------------------

____________________________________________________________

n

./scripts/port2: line 80: clear: command not found

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

PORT TOOL v1.0.0 by AlfasMP [MENTION=2305715]xda-developers.com[/MENTION])

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

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

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

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

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

------------------------------------------------------------

Do you wanna sign the ported zip file (y /n)?

------------------------------------------------------------

ported.zip is in output folder

GOOD BYE

./scripts/port1: line 176: clear: command not found

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

PORT TOOL v1.0.0 by AlfasMP [MENTION=2305715]xda-developers.com[/MENTION])

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

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

===

===

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

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

Something is missing ...

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

base.zip or port.zip or both files are missing from input

folder .

So , Port Tool can't work properly !

____________________________________________________________

Press any key to continue

./menu: line 10: clear: command not found

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

PORT TOOL v1.0.0 by AlfasMP [MENTION=2305715]xda-developers.com[/MENTION])

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

____________________________________________________________

Port tool is made by AlfasMP [MENTION=2305715]xda-developers.com[/MENTION].

This tool innovated for making rom porting procedure more

easier and doubtless . Anyway I am not offering a

clean/successful ported rom at this time. You may need to

edit some components manually and there is always a chance

for getting abricked device .

Since the tool is at its initial stage and has also

less codes . So don't judge everything too hard ,and positive

suggestions are always welcomed .

Change log

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

v1.0.0

* initial version

____________________________________________________________

Press any key to continue

Umair@Umair-PC /cygdrive/c/cygwin/port

$