Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
crawlingcity
Old
(Last edited by crawlingcity; 24th December 2010 at 05:26 PM.)
#1  
crawlingcity's Avatar
Recognized Developer - OP
Thanks Meter 1106
Posts: 839
Join Date: Sep 2010
Location: Porto

 
DONATE TO ME
Default [initrd] Takaaki's initrd for Gingerbread - NOT A BUILD

I'm leaving this here for you guys to test, don't spam the thread with thanks,IF you don't know what you're doing don't bother. report any problems you find so we can make this as perfect as possible.

IF I READ MORE COMMENTS ABOUT RAM I'LL TAKE THIS OFFLINE AND ASK A MOD TO DELETE THIS THREAD. The purpose for this is NOT to enable RAM on a gingerbread build, is to use the new initrd that gives you more I/O therefore making the build faster. This is a dev thread if i wanted random comments or spam thanks, i would have posted this in general. If you wanna say thanks, use the button.

I will release my own gingerbread build in time, so far i just packed this to work with "any" gingerbread build available. Don't credit me, all the coding was done by Darkstone and Takaaki (HD2ONE chef) i just took it and made it work on gb.
This was done with a fresh install, if you wanna try with your current setup, i won't take any responsibility if anything happens.

Steps:
1 - Delete initrd.gz rootfs.img
2 - extract the contents of the 7z into Android folder

since this initrd is the same as Takaaki, it can be used to create a new data.img with the size you want, enabling ram or not. I won't discuss if you should use RAM or not, i advise against it at this point of development.

Also, i'll include the startup.txt, use it if you want

THIS BREAKS ROOT. Working on it
Attached Files
File Type: 7z ginger-initrd.7z - [Click for QR Code] (1.71 MB, 688 views)
Twitter: http://twitter.com/crawlingcity
I like cookies
The Following 19 Users Say Thank You to crawlingcity For This Useful Post: [ Click to Expand ]
 
pieryx
Old
#2  
Member
Thanks Meter 2
Posts: 57
Join Date: Jan 2007
already testing!

PING^^^
 
hd945157206
Old
#3  
Senior Member
Thanks Meter 15
Posts: 277
Join Date: Jun 2010
Location: 苍城
first? will try thanks
 
pack21
Old
#4  
pack21's Avatar
Senior Member
Thanks Meter 192
Posts: 1,929
Join Date: Dec 2009
Bom dia,

Good morning,


Can we use this, to run gingerbread in RAM, if yes how can we do it?


Thanks.


Bom Natal.

HTC HD2 - Lumia 800 - Nexus 7 - soon Galaxy S4 LTE

 
crawlingcity
Old
#5  
crawlingcity's Avatar
Recognized Developer - OP
Thanks Meter 1106
Posts: 839
Join Date: Sep 2010
Location: Porto

 
DONATE TO ME
Quote:
Originally Posted by pack21 View Post
Bom dia,

Good morning,

Can we use this, to run gingerbread in RAM, if yes how can we do it?

Thanks.

Bom Natal.

bom dia

yes we can. the info is in the startup.txt, all you need is rel_path=Android ram_system=1

bom natal!
Twitter: http://twitter.com/crawlingcity
I like cookies
The Following User Says Thank You to crawlingcity For This Useful Post: [ Click to Expand ]
 
the_scotsman
Old
#6  
the_scotsman's Avatar
Assistant Forum Admin / Moderator Committee / XDA News Writer
Thanks Meter 5969
Posts: 20,048
Join Date: Jan 2006
Location: NSW, Australia Likes: Anything alcoholic or caffeinated

 
DONATE TO ME
So what are the benefits of switching to this initrd? Apart from the ability to use the RAM mod?
 
crawlingcity
Old
#7  
crawlingcity's Avatar
Recognized Developer - OP
Thanks Meter 1106
Posts: 839
Join Date: Sep 2010
Location: Porto

 
DONATE TO ME
Quote:
Originally Posted by the_scotsman View Post
So what are the benefits of switching to this initrd? Apart from the ability to use the RAM mod?
faster I/O resulting in a faster build.
Twitter: http://twitter.com/crawlingcity
I like cookies
 
minimalism
Old
#8  
Junior Member
Thanks Meter 0
Posts: 17
Join Date: Jun 2006
Location: Groningen
Default Testing

Ok, took:
[23.12.10][BUILD] -=MDJ Gingerbread=- v. 1.0 RC [2.3.1 / GRH78] [Kernel: MDJ S8.0]

Used a 256 ram image.
Deleted the inird
Did an edit of the startup file whick looks like this:

set mtype 2524
set ramaddr 0x11800000
set ramsize 0x1e400000
set initrd_offset 0x00a00000
set KERNEL zImage
set initrd initrd.gz
set cmdline "rel_path=Test lcd-density 200 ram_system=1"
boot

And it's working!
Going to test the setup now further for any system hickups.

Thank you!
-=MDJ Gingerbread=- v. 1.0 RC [2.3.1 / GRH78] [Kernel: MDJ S8.0]
ChuckyRom
Radio : 2.10.50.08_2
 
the_scotsman
Old
#9  
the_scotsman's Avatar
Assistant Forum Admin / Moderator Committee / XDA News Writer
Thanks Meter 5969
Posts: 20,048
Join Date: Jan 2006
Location: NSW, Australia Likes: Anything alcoholic or caffeinated

 
DONATE TO ME
Quote:
Originally Posted by crawlingcity View Post
faster I/O resulting in a faster build.
Ahh right, well I'll give it a try then. Don't want to use RAM mod just now though.

Thanks
 
crawlingcity
Old
#10  
crawlingcity's Avatar
Recognized Developer - OP
Thanks Meter 1106
Posts: 839
Join Date: Sep 2010
Location: Porto

 
DONATE TO ME
Quote:
Originally Posted by the_scotsman View Post
Ahh right, well I'll give it a try then. Don't want to use RAM mod just now though.

Thanks
thats an option, it's written in there..
Twitter: http://twitter.com/crawlingcity
I like cookies

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

Advanced Search
Display Modes

report this ad
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

Nandroid Manager Receives Major Update

Do you find yourself obsessively jumping from ROM to ROM? And do you hate having to restore a full … more

Careers in Android: Recruiter Reveals How Resumes are Chosen – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

HttpClient Tutorial to Upload and Download with Your App

Developers wanting to interact with the Internet need to choose a package to do the … more

Profile Flow: A Tasker Alternative

By now, we’re all quite familiar with Tasker, the personal automation app that seems to be able to … more