CM, Micromax and OnePlus – Sales Ban Lifted

It’s less than a week since our recent in-depth analysis of the legal battle over the … more

The History of Flagships: Part I – Sony

Every OEM aspiring to conquer the mobile world undoubtedly releases its take on the so-called … more

XDA & New Relic Performance Monitoring [Sponsored]

In other posts we’ve raved about New Relic Mobile for monitoring performance of our … more

XDA’s Top 5 Stories and Videos for 2014 – XDA TV

Yesterday we talked about our favorite Xposed Mods from 2014 on XDA Xposed … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Tattoo Custom Recovery Image

OP mainfram3

27th February 2010, 04:34 PM   |  #1  
mainfram3's Avatar
OP Senior Member
Thanks Meter: 2
 
184 posts
Join Date:Joined: Mar 2006
More
I'm starting this thread to document the work on creating a custom recovery image for the Tattoo.

The main goal is to provide a recovery image that will serve as the launchpad for flashing custom roms.

The Tattoo Custom Recovery Image will provide:
1) A way to use an update.zip signed with test-keys (already accomplished);
2) A way to perform a full backup of mtd2,mtd3,mtd4 and mtd5 (boot,system,cache and data).
3) A way to perform a full restore of the backup achieved by 2);
4) Adb support (already accomplished);
4.1) Adb shell support.



I'm open to input about using nandroid. Right now, without a S-OFF/ENG SPL this looks useless.
Also, if you have any other special need for recovery, please feel free to express it
28th February 2010, 06:37 PM   |  #2  
mainfram3's Avatar
OP Senior Member
Thanks Meter: 2
 
184 posts
Join Date:Joined: Mar 2006
More
Alpha release
Tattoo's Custom Recovery Image, Alpha Release

This first release includes:
- ADB enabled recovery
- ADB enabled root shell
- Accept update.zip signed with test keys
- All partitions mounted
- Custom recovery program (the last two options are stubs, not really working yet)
- Included in /sbin: busybox, flash_image and BART
- I've not used BART and, at the moment, cannot attest if it works or not.
- Backup script in /sbin/backup.sh
- Restore script in /sbin/restore.sh

With this custom recovery you can now do a full backup of your unit, by dumping the mtd block devices to your sdcard. Afterwards, you can use flash_image to recover your Tattoo to it's previous state.

I'm releasing this image as is. This is not a point-and-click recovery tool. If you don't know what you're doing, you can seriously damage your unit. The only reason I'm releasing this is in an effort to provide other devs with a way to easily recover their units, back to day-to-day configuration, while experimenting with them.

To flash:
Copy TCRI.alpha.img to /sdcard.
Run "flash_image recovery /sdcard/TCRI.alpha.img"

To reboot into recovery (quickest way)
adb reboot recovery

Please comment
Attached Files
File Type: zip TCRI.alpha.zip - [Click for QR Code] (2.72 MB, 2492 views)
28th February 2010, 06:50 PM   |  #3  
Member
Thanks Meter: 0
 
76 posts
Join Date:Joined: Dec 2009
thanks for you work
28th February 2010, 07:16 PM   |  #4  
Member
Thanks Meter: 0
 
76 posts
Join Date:Joined: Dec 2009
i try to flahs and get permission denied, do you know why?
28th February 2010, 07:29 PM   |  #5  
Member
Thanks Meter: 0
 
35 posts
Join Date:Joined: Feb 2010
flash_image: permission denied
28th February 2010, 07:33 PM   |  #6  
Member
Thanks Meter: 0
 
75 posts
Join Date:Joined: Jun 2005
More
Quote:
Originally Posted by chusen

i try to flahs and get permission denied, do you know why?

Partition remounted writeable from a fresh rebooted system with the tattoo-hack.ko module inserted??

But I'm sure you did that before because of:
Quote:

I'm releasing this image as is. This is not a point-and-click recovery tool. If you don't know what you're doing...

;)
-bm-
28th February 2010, 07:45 PM   |  #7  
HTCDevil's Avatar
Senior Member
Flag Caserta
Thanks Meter: 44
 
782 posts
Join Date:Joined: Mar 2009
More
Thank you very much for your excellent job
28th February 2010, 07:56 PM   |  #8  
Member
Thanks Meter: 0
 
35 posts
Join Date:Joined: Feb 2010
Someone could install custom alpha recovery?
thx
28th February 2010, 08:26 PM   |  #9  
Member
Thanks Meter: 0
 
76 posts
Join Date:Joined: Dec 2009
@-bm-:yes I will try that way since the beginning. i mount with rw permissions /system and /data. i know is not a point-and-click recovery tool but i think i need more permissions but where?
28th February 2010, 08:48 PM   |  #10  
mainfram3's Avatar
OP Senior Member
Thanks Meter: 2
 
184 posts
Join Date:Joined: Mar 2006
More
Where did you guys get your flash_image binary from ?

The error you're getting is from flash_image, not from my recovery image.
I'll attach the flash_image I've been using to this post.

Please tell me if this solves your problem. You need tattoo-hack.ko module inserted, if you're using a release kernel.

Edit: You have the correct permissions in your flash_image binary, right ? After pushing it to the device, don't forget to chmod 755
Attached Files
File Type: zip flash_image.zip - [Click for QR Code] (27.8 KB, 2038 views)
Last edited by mainfram3; 28th February 2010 at 08:54 PM.

Post Reply Subscribe to Thread

Tags
tattoo recovery
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes