FORUMS

XDA Picks: Best Apps of the Week (July 25 – Aug 1)

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

Voices Of XDA: Orbiting The Earth With Android

Editor’s note: This week’s feature has been written by forum … more

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

Tattoo Custom Recovery Image

184 posts
Thanks Meter: 2
 
By mainfram3, Senior Member on 27th February 2010, 03:34 PM
Post Reply Subscribe to Thread Email Thread
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, 05:37 PM |#2  
mainfram3's Avatar
OP Senior Member
Thanks Meter: 2
 
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, 2498 views)
28th February 2010, 05:50 PM |#3  
Member
Thanks Meter: 0
 
More
thanks for you work
28th February 2010, 06:16 PM |#4  
Member
Thanks Meter: 0
 
More
i try to flahs and get permission denied, do you know why?
28th February 2010, 06:29 PM |#5  
Member
Thanks Meter: 0
 
More
flash_image: permission denied
28th February 2010, 06:33 PM |#6  
Member
Thanks Meter: 0
 
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, 06:45 PM |#7  
HTCDevil's Avatar
Senior Member
Flag Caserta
Thanks Meter: 44
 
More
Thank you very much for your excellent job
28th February 2010, 06:56 PM |#8  
Member
Thanks Meter: 0
 
More
Someone could install custom alpha recovery?
thx
28th February 2010, 07:26 PM |#9  
Member
Thanks Meter: 0
 
More
@-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, 07:48 PM |#10  
mainfram3's Avatar
OP Senior Member
Thanks Meter: 2
 
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, 2042 views)
Last edited by mainfram3; 28th February 2010 at 07:54 PM.
28th February 2010, 10:18 PM |#11  
Member
Thanks Meter: 0
 
More
It works I like drawing, jejeje.
Backup and Restore functionality appears to have no further
The adb root shell is perfect

Very good Work

for when the beta version? and the final version? lol

Read More
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes