5,595,428 Members 47,613 Now Online
XDA Developers Android and Mobile Development Forum

rom cooking - unyaffs

Tip us?
 
fwers
Old
#11  
Senior Member
Thanks Meter 2
Posts: 104
Join Date: Nov 2009
download xcode from apple developer site for free

download source unyaffs from google site
and run gcc -o unyaffs unyaffs.c.
thats it ur done
 
theresthatguy
Old
#12  
theresthatguy's Avatar
Retired Forum Mod - OP
Thanks Meter 11
Posts: 424
Join Date: Nov 2009
Thanks for everyone's help. Almost done with my rom.
 
jabbslad
Old
#13  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Nov 2006
Quote:
Originally Posted by royalmitkaese View Post
Thanks, but where can I get a binary for OSX?
The code.google.com page only offers one version of the binary..
I've attached version i compiled for OSX 10.6
Attached Files
File Type: zip unyaffs.zip - [Click for QR Code] (2.6 KB, 297 views)
 
fone_fanatic
Old
#14  
fone_fanatic's Avatar
Senior Member
Thanks Meter 226
Posts: 2,725
Join Date: Aug 2005
Location: Central Texas

 
DONATE TO ME
Quote:
Originally Posted by jabbslad View Post
I've attached version i compiled for OSX 10.6
sorry for reviving a dead thread but i was getting the "cannot execute binary file" so i used your attached compiled unyaffs and now i'm getting "Bad CPU type in executable"

I'm not registered on apple as a developer and can't download xcode :/
| Magician | Wizard | Hermes | Kaiser | Raphael | Rhodium | Dell STREAK (sorry HTC )
__________________
Dell Streak MO1M
Streakdroid v161-1

__________________
Streak Boot Animations: Stock , Bios & Scribble
 
anika200
Old
#15  
Member
Thanks Meter 2
Posts: 85
Join Date: Jul 2010
Location: Maryland
Quote:
i'm getting "Bad CPU type in executable"
Are you running a 32 or 64 bit kernel on osx. You need a compile binary that is correct for your cpu. Let me know I will attach the right one in a reply. Check under apple menu >> about this mac >> more info >> software >> 64 bit kernel and extensions, yes or no.
 
chenthil
Old
#16  
Junior Member
Thanks Meter 13
Posts: 24
Join Date: Jun 2010
Quote:
Originally Posted by anika200 View Post
Are you running a 32 or 64 bit kernel on osx. You need a compile binary that is correct for your cpu. Let me know I will attach the right one in a reply. Check under apple menu >> about this mac >> more info >> software >> 64 bit kernel and extensions, yes or no.
@anika200 I'm also getting "Bad CPU type in executable". Mine is a 32bit one...

64-bit Kernel and Extensions: No

Could you please build one for 32bit kernel?
 
fone_fanatic
Old
(Last edited by fone_fanatic; 1st September 2010 at 05:15 AM.)
#17  
fone_fanatic's Avatar
Senior Member
Thanks Meter 226
Posts: 2,725
Join Date: Aug 2005
Location: Central Texas

 
DONATE TO ME
I got a hold of xcode (i love torrents ) and compiled it myself.

Heres the attached compiled OSX 32 bit unyaffs

Extract it and place it wherever you want, and to use it in another directory make sure you append it to your .bash_profile
Attached Files
File Type: zip unyaffs.zip - [Click for QR Code] (2.4 KB, 86 views)
| Magician | Wizard | Hermes | Kaiser | Raphael | Rhodium | Dell STREAK (sorry HTC )
__________________
Dell Streak MO1M
Streakdroid v161-1

__________________
Streak Boot Animations: Stock , Bios & Scribble
 
anika200
Old
#18  
Member
Thanks Meter 2
Posts: 85
Join Date: Jul 2010
Location: Maryland
Hey alright. You got it done before I could even check the thread again. I figured it was a 64 bit. Now we have both on here, nice.
 
wilnotdie
Old
#19  
Senior Member
Thanks Meter 24
Posts: 404
Join Date: Sep 2009
Anyone familiar with doing this on windows?

I tried a couple of binaries, but i get errors.

Microsoft Windows XP [Version 5.1.2600]

C:\g2orgsys>unyaffs systemg2.img
28852 [main] unyaffs 3212 _cygtls::handle_exceptions: Exception: STATUS_ACCESS
_VIOLATION
30677 [main] unyaffs 3212 open_stackdumpfile: Dumping stack trace to unyaffs.e
xe.stackdump
348883 [main] unyaffs 3212 _cygtls::handle_exceptions: Exception: STATUS_ACCESS
_VIOLATION
375003 [main] unyaffs 3212 _cygtls::handle_exceptions: Error while dumping stat
e (probably corrupted stack)

Perhaps windows just sucks with this. I've never really used bash, but I got some LiveCDs around. :/
 
erasmux
Old
#20  
erasmux's Avatar
Recognized Developer
Thanks Meter 458
Posts: 1,437
Join Date: May 2010

 
DONATE TO ME
I use the attached file, works fine on windows. I think you need cygwin installed but not sure.
Attached Files
File Type: zip unyaffs-x86-win.zip - [Click for QR Code] (3.9 KB, 140 views)
Hero: Floyo 1.4 w/ LasVenturax 0.6.2 @ smartassV2 614/176
Nexus One: CM7 private build

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Add Swipe Utilities to Your App with SimpleFingerGestures Library

Gestures have become an increasingly important element in smartphone UI … more

Android App Review: Lock it Down with Lockdown Pro – XDA Developer TV

Our smartphones are our lives. They store our contacts, emails, … more

Get the AOSP Lock Screen on Your ICS-Powered Samsung Device

Android is the only popular mobile operating system that allows users, … more

Motorola Droid RAZR HD and M to Receive KitKat in a “Few More Weeks”

Verizon and Motorola shocked us all back in November when … more