FORUMS

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading … more

XDA Picks: Best Apps of the Week (June 27 – July 4)

Apps are at the front and center of any smartphone experience, and with over a … more

HTC One M9 Developer Edition Android 5.1 OTA

The Developer Edition of the HTC One M9 is receiving an over-the-air update to Android 5.1. … more

Index Project For XDA Device Subforums

Another ambitious project from the collaborative efforts of Recognized Contributors and Forum … more

rom cooking - unyaffs

424 posts
Thanks Meter: 11
 
By theresthatguy, Retired Forum Mod on 19th December 2009, 08:45 AM
Post Reply Subscribe to Thread Email Thread
5th January 2010, 05:44 AM |#11  
Senior Member
Thanks Meter: 2
 
More
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
 
 
5th January 2010, 11:23 AM |#12  
theresthatguy's Avatar
OP Retired Forum Mod
Thanks Meter: 11
 
More
Thanks for everyone's help. Almost done with my rom.
9th January 2010, 12:57 PM |#13  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by royalmitkaese

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, 299 views)
28th August 2010, 10:29 AM |#14  
fone_fanatic's Avatar
Senior Member
Flag Central Texas
Thanks Meter: 241
 
Donate to Me
More
Quote:
Originally Posted by jabbslad

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 :/
30th August 2010, 03:44 PM |#15  
Member
Maryland
Thanks Meter: 2
 
More
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.
30th August 2010, 08:47 PM |#16  
Junior Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by anika200

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?
31st August 2010, 05:24 AM |#17  
fone_fanatic's Avatar
Senior Member
Flag Central Texas
Thanks Meter: 241
 
Donate to Me
More
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, 88 views)
Last edited by fone_fanatic; 1st September 2010 at 05:15 AM.
31st August 2010, 02:28 PM |#18  
Member
Maryland
Thanks Meter: 2
 
More
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.
16th November 2010, 06:03 PM |#19  
Senior Member
Thanks Meter: 25
 
More
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. :/
16th November 2010, 06:23 PM |#20  
erasmux's Avatar
Retired Recognized Developer
Thanks Meter: 458
 
Donate to Me
More
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, 142 views)
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes