Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
mainfram3
Old
(Last edited by mainfram3; 4th March 2010 at 10:59 PM.)
#1  
mainfram3's Avatar
Senior Member - OP
Thanks Meter 1
Posts: 184
Join Date: Mar 2006
Default Custom boot.img

Here you go, a boot.img with a custom default.prop & init.rc:
- ro.secure = 0, which means ADB running as root;
- /, /system, /data mounted as rw;
- /data/local/bin added to PATH, to ease usage of installed local commands.

Anyone wanting to use this should already now how to flash it by now

Update:
Version 2 of this boot image, that automatically loads tattoo-hack.ko, uploaded here http://forum.xda-developers.com/show...0&postcount=38.
Attached Files
File Type: zip boot.mf3.zip - [Click for QR Code] (1.95 MB, 617 views)
At some point, Android development became synonymous with being proficient with WinZip - Koush
 
leon1984
Old
#2  
Member
Thanks Meter 0
Posts: 35
Join Date: Feb 2010
thx,
Someone has tested? comment to be helping mainfram3
 
chusen
Old
(Last edited by chusen; 2nd March 2010 at 11:49 AM.)
#3  
Member
Thanks Meter 0
Posts: 76
Join Date: Dec 2009
leon i go to test

mainfram3 thanks for you hard work
 
HTCDevil
Old
(Last edited by HTCDevil; 2nd March 2010 at 11:56 AM.)
#4  
HTCDevil's Avatar
Senior Member
Thanks Meter 43
Posts: 783
Join Date: Mar 2009
Location: Caserta
Thank you very much

adb push ./boot.mf3.img /sdcard

- Then, open a shell to your phone via 'adb shell', get root (type "su"), and do the following two commands to flash your new boot image:

# cat /dev/zero > /dev/mtd/mtd2
write: No space left on device [this is ok, you can ignore]
# flash_image boot /sdcard/boot.mf3.img

-Reboot

Is it right?
Device: Samsung GT-I9300 Galaxy S3 Pebble Blue - Android Version: 4.1.1
Radio: I9300XXDLID - Build: JRO03C.I9300XXDLJ4 - microSD: Kingston 16Gb
 
chusen
Old
#5  
Member
Thanks Meter 0
Posts: 76
Join Date: Dec 2009
Itīs work!!!! Thanks a lot mainfram3
 
HTCDevil
Old
#6  
HTCDevil's Avatar
Senior Member
Thanks Meter 43
Posts: 783
Join Date: Mar 2009
Location: Caserta
Quote:
Originally Posted by chusen View Post
Itīs work!!!! Thanks a lot mainfram3
How have you installed it?
Device: Samsung GT-I9300 Galaxy S3 Pebble Blue - Android Version: 4.1.1
Radio: I9300XXDLID - Build: JRO03C.I9300XXDLJ4 - microSD: Kingston 16Gb
 
chusen
Old
#7  
Member
Thanks Meter 0
Posts: 76
Join Date: Dec 2009
*.- adb shell
*.- su
*.- insmod /data/local/bin/tattoo-hack.ko
*.- mount -o rw,remount /dev/block/mtdblock5 /data
*.- mount -o rw,remount /dev/block/mtdblock3 /system
*.- chmod 755 /data/local/bin/flash_image
*.- /data/local/bin/flash_image boot /sdcard/boot.mf3.img

You need flash_image by mainfram3 in /data/local/bin
 
HTCDevil
Old
#8  
HTCDevil's Avatar
Senior Member
Thanks Meter 43
Posts: 783
Join Date: Mar 2009
Location: Caserta
Quote:
Originally Posted by chusen View Post
*.- adb shell
*.- su
*.- insmod /data/local/bin/tattoo-hack.ko
*.- mount -o rw,remount /dev/block/mtdblock5 /data
*.- mount -o rw,remount /dev/block/mtdblock3 /system
*.- chmod 755 /data/local/bin/flash_image
*.- /data/local/bin/flash_image boot /sdcard/boot.mf3.img

You need flash_image by mainfram3 in /data/local/bin
Thank you chusen
Device: Samsung GT-I9300 Galaxy S3 Pebble Blue - Android Version: 4.1.1
Radio: I9300XXDLID - Build: JRO03C.I9300XXDLJ4 - microSD: Kingston 16Gb
 
svprm
Old
#9  
svprm's Avatar
Senior Member
Thanks Meter 321
Posts: 1,172
Join Date: Dec 2007
Location: Salem-TamilNadu

 
DONATE TO ME
I got this:
Code:
# /data/local/bin/flash_image boot /sdcard/boot.mf3.img
/data/local/bin/flash_image boot /sdcard/boot.mf3.img
mtd: read error at 0x00000000 (Cannot allocate memory)
.............
mtd: read error at 0x00160000 (Cannot allocate memory)
flashing boot from /sdcard/boot.mf3.img
#
It is correct?
If you like my works,please DONATE to me.Thanks
Support my work by buying pro version

Mine:Galaxy Nexus
Bootloader Unlocked

Dad: Galaxy S3
Try my Works:
My Works:


My Other Android works at:www.CyBApps.com

Old:HTC Touch,HTC Tattoo,Xerpia Mini pro,Xperia X10i and HTC Desire,Xperia Neo V
 
chusen
Old
#10  
Member
Thanks Meter 0
Posts: 76
Join Date: Dec 2009
Quote:
Originally Posted by svprm View Post
I got this:
Code:
# /data/local/bin/flash_image boot /sdcard/boot.mf3.img
/data/local/bin/flash_image boot /sdcard/boot.mf3.img
mtd: read error at 0x00000000 (Cannot allocate memory)
.............
mtd: read error at 0x00160000 (Cannot allocate memory)
flashing boot from /sdcard/boot.mf3.img
#
It is correct?
mmmm.. i think no but i dont help you sorry

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

XDA University: Porting ClockworkMod Recovery to New Devices

Having a good recovery makes the process of modifying, tweaking, maintaining, … more

One Stop Guide Shop for the Newbie and Dev

It’s been well established that XDA-Developers isthedestination for resources relating to … more

What Happened at Google I/O 2013 – XDA Developer TV

Unless you just emerged from a deep, dark, dank cavern under the Earth, you know … more

Forums Added for the LG Optimus G Pro and Sony Xperia Tablet Z

Not too long ago, we talked about how Sony was continuing its AOSP efforts on … more