Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,329 Members 39,301 Now Online
XDA Developers Android and Mobile Development Forum

[Tool] Yaffey - Utility for reading, editing and writing YAFFS2 images

Tip us?
 
necro_
Old
(Last edited by necro_; 23rd May 2012 at 11:06 PM.) Reason: Added v0.2 info, screenshot and links
#1  
necro_'s Avatar
Junior Member - OP
Thanks Meter 137
Posts: 14
Join Date: May 2012
Location: London
Default [Tool] Yaffey - Utility for reading, editing and writing YAFFS2 images

I've created a GUI utility for reading, editing and creating YAFFS2 images that hopefully people will find useful. You can read Android system and data partitions and modify them how you like. Import and export files to and from the images. The tool is up on Google Code with source, written in Qt 4.8.1.

http://code.google.com/p/yaffey

Features
- Create new YAFFS2 image
- Open existing image
- Export files/directories from image
- Import files into image (permissions inherited from parent directory, dates created/modified/accessed set to current date & time)
- Delete files
- Edit filenames
- Edit permissions
- Edit user and group ids
- Edit symbolic link aliases
- ECC (Error Checking & Correction) support

New in v0.2
Added import dialog to choose to import file(s) or a directory
Added support to import multiple files
Added support to import 1 directory at a time (using dialog)
Added drag & drop importing (which supports multiple directories & files!)
Added support to delete more than one item at a time
Added summary dialog after saving an image
Added text below icons in toolbar at the request of varun.chitre15!



I've been using it to modify the stock system image for my Xperia Play. You can easily add/remove APKs etc. It's a nice alternative to the unyaffs/mkyaffs command line tools.

It has limitations but am happy to extend the functionailty if it's found to be useful...
The Following 120 Users Say Thank You to necro_ For This Useful Post: [ Click to Expand ]
 
varun.chitre15
Old
#2  
varun.chitre15's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 9,797
Posts: 2,830
Join Date: Oct 2011
Location: Sangli
Wow!!
Was looking for this since ages
Thanks a lot
This is indeed useful

Burned from my laser torch using pencil cells
Official CyanogenMod Maintainer

Like my work? Please consider a donation via Paypal



Contributions

Sony Xperia L (Official CM | Kernel | Kernel control app) / Samsung Galaxy S Advance: (Custom ROM | Kernel) / Micromax A110 (ROM | Kernel) / Xiaomi Mi3 (Unofficial CM)

The Following 2 Users Say Thank You to varun.chitre15 For This Useful Post: [ Click to Expand ]
 
necro_
Old
#3  
necro_'s Avatar
Junior Member - OP
Thanks Meter 137
Posts: 14
Join Date: May 2012
Location: London
Hi varun, that's good news. Spread the word! I've been wanting to reply to some threads about YAFFS images and tools etc but can't post in most forums yet... Need to spend some time on here to get my post count up I guess.

I'm planning on adding more features to the app like adding su, superuser.apk & busybox with a few clicks for easy rooting and a GUI for fastboot for easy flashing to make the whole image editing and rooting process as easy as possible.
The Following 4 Users Say Thank You to necro_ For This Useful Post: [ Click to Expand ]
 
varun.chitre15
Old
#4  
varun.chitre15's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 9,797
Posts: 2,830
Join Date: Oct 2011
Location: Sangli
Great!!!
Can u add a feature to make images directly from a flashable zip?
Thanks!!

Burned from my laser torch using pencil cells
Official CyanogenMod Maintainer

Like my work? Please consider a donation via Paypal



Contributions

Sony Xperia L (Official CM | Kernel | Kernel control app) / Samsung Galaxy S Advance: (Custom ROM | Kernel) / Micromax A110 (ROM | Kernel) / Xiaomi Mi3 (Unofficial CM)

 
varun.chitre15
Old
#5  
varun.chitre15's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 9,797
Posts: 2,830
Join Date: Oct 2011
Location: Sangli
Here is the suggestion list
1. Add support for adding multiple files at once while creating image file
2. Add support to add folders inside image fle
3. Add Drag and drop if possible
4. In the tool bar of the tool, can u add the text below the icons as it is somewhat difficult to identify which option does what and to see its function I had to move mouse over the buttons
5. Add support for EXT2, EXT4 images too
Your tool is very great
Official CyanogenMod Maintainer

Like my work? Please consider a donation via Paypal



Contributions

Sony Xperia L (Official CM | Kernel | Kernel control app) / Samsung Galaxy S Advance: (Custom ROM | Kernel) / Micromax A110 (ROM | Kernel) / Xiaomi Mi3 (Unofficial CM)

 
necro_
Old
#6  
necro_'s Avatar
Junior Member - OP
Thanks Meter 137
Posts: 14
Join Date: May 2012
Location: London
Quote:
Originally Posted by varun.chitre15 View Post
Here is the suggestion list
1. Add support for adding multiple files at once while creating image file
2. Add support to add folders inside image fle
3. Add Drag and drop if possible
4. In the tool bar of the tool, can u add the text below the icons as it is somewhat difficult to identify which option does what and to see its function I had to move mouse over the buttons
5. Add support for EXT2, EXT4 images too
Your tool is very great
Never thought about converting a zip to YAFFS2 image, that's a good idea.
On your suggestion list:
1, 2 & 3 are definites and will do those next.
4. I could add the text to the toolbar but will look ugly so not sure about that one yet. :P
5... maybe one day
The Following 3 Users Say Thank You to necro_ For This Useful Post: [ Click to Expand ]
 
kangkong!
Old
#7  
kangkong!'s Avatar
Senior Member
Thanks Meter 135
Posts: 133
Join Date: May 2012

 
DONATE TO ME
Linux version would be cool
 
necro_
Old
#8  
necro_'s Avatar
Junior Member - OP
Thanks Meter 137
Posts: 14
Join Date: May 2012
Location: London
Quote:
Originally Posted by kangkong! View Post
Linux version would be cool
I have built the code and got a Linux version working. When I put up the next update I'll include a Linux build!
The Following User Says Thank You to necro_ For This Useful Post: [ Click to Expand ]
 
TheUnkn0wn
Old
#9  
TheUnkn0wn's Avatar
Senior Member
Thanks Meter 881
Posts: 250
Join Date: Nov 2011
Cant find it on Google Code.
 
varun.chitre15
Old
#10  
varun.chitre15's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 9,797
Posts: 2,830
Join Date: Oct 2011
Location: Sangli
Yaffey now on XDA Portal
http://www.xda-developers.com/androi...-yaffs2-needs/


Congo necro_!!!
Waiting eagerly for next update!

Burned from my laser torch using pencil cells
Official CyanogenMod Maintainer

Like my work? Please consider a donation via Paypal



Contributions

Sony Xperia L (Official CM | Kernel | Kernel control app) / Samsung Galaxy S Advance: (Custom ROM | Kernel) / Micromax A110 (ROM | Kernel) / Xiaomi Mi3 (Unofficial CM)


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes