Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,807 Members 52,859 Now Online
XDA Developers Android and Mobile Development Forum

Tattoo Custom Recovery Image

Tip us?
 
mainfram3
Old
#1  
mainfram3's Avatar
Senior Member - OP
Thanks Meter 2
Posts: 184
Join Date: Mar 2006
Default Tattoo Custom Recovery Image

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
At some point, Android development became synonymous with being proficient with WinZip - Koush
 
mainfram3
Old
#2  
mainfram3's Avatar
Senior Member - OP
Thanks Meter 2
Posts: 184
Join Date: Mar 2006
Default 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, 2490 views)
At some point, Android development became synonymous with being proficient with WinZip - Koush
 
chusen
Old
#3  
Member
Thanks Meter 0
Posts: 76
Join Date: Dec 2009
thanks for you work
 
chusen
Old
#4  
Member
Thanks Meter 0
Posts: 76
Join Date: Dec 2009
i try to flahs and get permission denied, do you know why?
 
leon1984
Old
#5  
Member
Thanks Meter 0
Posts: 35
Join Date: Feb 2010
flash_image: permission denied
 
-bm-
Old
#6  
Member
Thanks Meter 0
Posts: 75
Join Date: Jun 2005
Quote:
Originally Posted by chusen View Post
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-
 
HTCDevil
Old
#7  
HTCDevil's Avatar
Senior Member
Thanks Meter 43
Posts: 782
Join Date: Mar 2009
Location: Caserta
Thank you very much for your excellent job
LG G2
Rom: Stock 4.4.2 Italy
-------------
Nexus 7 (2012)
Rom: CM 11 Nightly
Kernel: M Kernel a67
 
leon1984
Old
#8  
Member
Thanks Meter 0
Posts: 35
Join Date: Feb 2010
Someone could install custom alpha recovery?
thx
 
chusen
Old
#9  
Member
Thanks Meter 0
Posts: 76
Join Date: 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?
 
mainfram3
Old
(Last edited by mainfram3; 28th February 2010 at 07:54 PM.)
#10  
mainfram3's Avatar
Senior Member - OP
Thanks Meter 2
Posts: 184
Join Date: Mar 2006
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, 2035 views)
At some point, Android development became synonymous with being proficient with WinZip - Koush

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

Advanced Search
Display Modes


TRENDING IN THEMER...