[HD2 Android SD Development] boonbing:
Archive first post

All latest updates below in

Red

Portadroid SuperRAM/SuperPartition GB is being put together based on the original development work by these great guys listed below. All credits goes to them so please thank or donate to them:

1) Darkstone: Source of inspiration for Portadroid SuperRAM GB. Originator of SuperRAM Froyo build with numerous contribution to HD2 Android. (http://xdaforums.com/showthread.php?t=870518). Sadly he has announced to "retire" from HD2 and move to Samsung Galaxy S2

2) Takaaki, crawlingcity, cedesmith: Original initrd.gz for Gingerbread that enables RAM system (http://xdaforums.com/showthread.php?t=885985 & https://bitbucket.org/takaaki/leo-initrd) where I have have done some minor tweaking and modification.

3) Tytung: HD2 Kernels & init.rc/init.htcleo.rc file as well as many lib and miscellaneous files from his NexusHD2 build for porting Desire ROM. GB2.3.4 would never be able to work properly without his kernels and files! (http://xdaforums.com/showthread.php?p=10429937#)

4) Rapigna: Added support for his kernel as he mentioned he'll be coming back soon:D. One of his best well known kernel rapigna_1.9_GB_OC is being used by a number of Sense build.(http://xdaforums.com/showthread.php?t=940823)

5) imilka, boxmax: All their init files for getting a boot on Sense (Imilka RAM Desire HD & Boxman KS) :)

6) 3dak: He said he was "lazy" so he created HD2 SD/MALDR System.ext2 Auto Builder V1.0 (http://xdaforums.com/showthread.php?t=1055923)... that makes me even "lazier" by creating Portadroid using part of his code :)

7) SyLvEsTeR20007: Graciously provided his server for hosting Portadroid SuperRAM GB.

8) Szczepanik: For creating a wiki for Portadroid (http://xdaforums.com/wiki/index.php?title=Portadroid) and putting it on xda news article (http://www.xda-developers.com/andro...-running-and-testing-android-builds-a-breeze/). Honestly I don't think this simple and humble tool deserve such publicity and work but appreciate all his effort.

9) Paypal Donor: (a)OMNISOFT. (b)TeaMsTaZ (c)yugoport. Thanks for buying me a drink and supporting my work on Portadroid :)

10) All HTC HD2 Android NAND ROM and HTC Desire ROM developers for their great work on providing customised Gingerbread ROMon HD2!

What is Portadroid SuperRAM/SuperPartition GB?

- Portadroid (a.k.a Port-a-Droid) SuperRAM GB is NOT A ANDROID ROM!

- It is a tool whioch I build mainly with scripts that enables SUPPORTED Gingerbread HD2 NAND or HTC Desire ROMs to be booted via SD card into RAM on the top of your stock WM6.5 ROM.

(Theoretically, all current HD2 NAND Gingerbread ROMs can be ported via Portadroid SuperRAM GB with the basic functionalities working listed below.)

- It is meant to be a self-service/self-help tool where you have to download the supported ROM (including new ROM revision) directly from the ROM developer thread. Do not request for any additional ROM features here as I am not a ROM developer. I can only try to support the basic functionalities listed below.

- I believe this tool is mainly for beginners or intermediate level users of Android on the HD2. Advanced user should migrate to install Android via NAND if possible.

- In addition to running Android, you can perhaps pick up some lesson on ROM porting by looking at my scripts and files I use. And feel free to use them (Remember to give credits to the great guys mentioned above if you use some of their work too)!

What are the basic functionalities supported by Portadroid SuperRAM/SuperPartition GB?

1) Basic smartphone features (voice calls, sms, apps, games etc)

2) GPRS/3G Data Network based on ppp

3) Camera/Video Recording

3) Wifi (tested on WEP encrypted Network)

4) Bluetooth (tested on Jabra Extreme headset)

5) GPS (tesed with GPS status app)

6) Wifi Tether/Hotspot (Install "wifi_tether_v3_0-pre14.apk" attached below or from (http://code.google.com/p/android-wifi-tether/downloads/list) and select Device-Profile="Google NexusOne" in the settings. Thanks to jcsy for pointing this out)

What does not work:

Let me know if you find any of the basic funtionalities listed above is broken from the supported ROMs.

Pre-requisite & Min Requirements:

- As per all HD2 Android SD build... basically stock HD2 ROM and at least radio 2.08 and above (No HSPL, cLK, MAGLDR, CWM etc. needed)

(Recommended but not compulsory: hard reset WM6.5 before booting up with Portadroid for optimal performance)

- Format your SD card with SD Card Formatter if using it on Android boot for the first time (http://www.sdcard.org/consumers/formatter_3/)

Currently tested and supported non-Sense Gingerbread 2.3.4 & 2.3.5 ROMs:

1) HTC Desire

- Oxygen 2.1.x & 2.2.x by Adamg and Team (http://forum.oxygen.im/)

>>> I personally recommend this ROM as I prefer a minimal, clean and hack-free ROM.

2) HD2 GB NAND

- NexusHD2 version 2.8+ by tytung (http://xdaforums.com/showthread.php?t=905060)

Currently tested and supported Sense 2.1/3.0 Gingerbread 2.3.3 ROMs:

1) HD2 Sense 2.1/3.0

- Sorry guys, tested a couple but all still fall short of my expectation so I decided not to support them until they are really good and stable (...hopefully :rolleyes:)

XDA Community tested Gingerbread ROMs:

Refer to Portadroid

wiki

page for list of ROMs (may need updating for v2.0)

Please let Szczepanik know or update wiki page if you have tested other ROMs and the basic functionalities works with Portadroid.

Installation based on default settings and orginal zip package (PLEASE READ CAREFULLY!):

1) Porting a New ROM

a. Unzip the downloaded Portadroid v3.1 package and put the "Android" folder into the root of your SD card

b. Unzip the downloaded ROM of your choice (only MAGLDR & CWR type ROMs are supported for v3.1) and put their "system", "META-INF", "boot" and/or "sd-ext" folders into the "/Android/root" folder (Please refer to the diagram here(http://xdaforums.com/showpost.php?p=14144102&postcount=89) if unsure of the exact location of where to put the folders)

c. Depending on what type of ROM you're porting above:

Oxygen ROM from HTC Desire Development - Copy the file "portadroid_desire.gz" from Portadroid v3.1 package and put it into the "Android" folder.

Non-Sense HD2 ROM from Nand Development - Copy the file "portadroid_nand.gz" from Portadroid v3.1 package and put it into the "Android" folder.

Sense HD2 ROM from Nand Development - Copy the file "portadroid_sense.gz" from Portadroid v3.1 package and put it into the "Android" folder.

d. Edit startup.txt on cmdline if required (eg. change data_size=256 to another value if default 256MB is too small for your phone data storage). Note that based on user feedback, Magldr do not support reading cmdline from startup.txt so your default would be 512MB.

e. Run CLRCAD.exe and then haret.exe (or use Rundroid for convenience: http://xdaforums.com/showthread.php?t=973921)

f. Depending on the size of the ROM you're porting, first boot at HTC green logo may takes between 5-12 minutes (based on default to create a 256MB data.img and porting a 100MB(~5min) - 600MB(~12min) size ROM) AND AFTER THAT SCREEN WILL GO BLACK AND REBOOT. So do not panick if you see a reboot!

g. Once back into WM6.5, run CLRCAD.exe and then haret.exe again.

h. Second boot should be between 2-5 mins depending on ported ROM size. You will see the original ported NAND ROM logo, black screen, ported NAND ROM animation, Android welcome screen. Subsequent boot will be faster at 2-3 mins.

2) Performing minor updates/fixes (excluding kernel) on ported ROM

a. Unzip the downloaded updates/fixes and put the "system", "META-INF" folders into the "/Android/root" folder of the current ROM.

b. Reboot into WM6.5 and then back to Android.

3) Performing kernel upgrade or changing default kernel (for Sense Port Only) on ported ROM (Default kernel for Portadroid is Tytung r10)

a. Unzip the downloaded kernel package and put the "system", "META-INF" folders into the "/Android/root" folder of the current ROM. Look for the new zImage file in the kernel package and overwrite the existing zImage in the "Android" folder of the current ROM.

b. Reboot into WM6.5 and then back to Android.

(c. You may need to modify permissions of wpa_supplicant if wifi is broken)

4) Performing version upgrade of the Ported ROM (eg. Oxygen 2.1.5 to Oxygen 2.1.6)

Method 1 (Quick and "Dirty" but not recommended):

a. Unzip the downloaded ROM put their "system", "META-INF" and/or "sd-ext" folders into the "/Android/root" folder of the current old ROM.

b. Copy either "portadroid_desire.gz", "portadroid_nand.gz" or "portadroid_sense.gz" (depend on the type of ROM to be ported) & "reboot" file from Portadroid v3.1 package and put it into the "Android" folder of the current ROM.

c. Reboot into WM6.5 and then back to Android. Good Luck! :p

Method 2 (Recommended):

a. Back up all your apps+data from the current old ROM using a program such as Titanium Backup.

b. Use a new portadroid v3.0 package and follow instructions from No.1 above.

c. Restore all your apps+data using the same program.

Disclamer:

This tool was made for testing and educational purposes. It is not intended for commercial use.

Software included may be subject to copyright.

Install this tool at your own risk. Developer is not responsible for what you do on your device.

Downloads & Changelog:

19-Aug:

Portadroid Lite SuperRAM GB v3.1

Changelog:

- Port HD2 NAND ROMs made for MAGLDR AND CWR only (ie. ROMs package must come with "boot" folder that contains "zImage" & "initrd.gz" files). Clk ROMs are not supported.

- Auto modify and repack initrd.gz from original NAND ROM for Portadroid SD/RAM boot. Portadroid will use original zImage (kernel) from NAND ROM instead of default Portadroid zImage on second boot. Keep ported NAND ROM as stock as possible to optimize performance from original ROM developer.

- Support all versions of Sense and non-Sense Gingerbread (2.3.3 - 2.3.5) without any patch files required.

Download here:

Portadroid_Lite_v3.1_MAGLDR_CWR.zip

3-Aug:

Portadroid Lite SuperRAM GB v3.0

Changelog:

- Removed SuperPartition concept as it causes some boot issue for some users. Maintain SuperRAM concept for light ROMs (less than 200MB) and use normal SD boot for heavy ROMs (including all Sense ROM).

- Repacked portadroid_nand.gz and portadroid_desire.gz to fix error on mounting yaffs2

- Added default_kernel_to_rafpigna (portadroid_sense.gz and zImage) patch files to support default kernel change from tytung to rafpigna when porting Sense ROM only

Download here:

Portadroid_Lite_v3.0.zip

Portadroid v/3.0 Patch files for Unique ROMs that does not boot with default portadroid_xxx.gz

(Download from attached files at the bottom of this post)

Typhoon CM7 (http://xdaforums.com/showthread.php?t=933951)

24-Jul:

Portadroid SuperRAM/SuperPartition GB v2.0

WARNING!!!

Some users have reported seeing random flashing white light problem when porting/booting with Portadroid v2.0 on certain non-Sense ROM and one reported incident on Portadroid v1.x. I have not fully understood this problem and is investigating the issue. If you're not comfortable seeing this issue on your device, please do not use this tool. I shall not be responsible for any damage caused on your device!

Changelog:

Important Note - v2.0 is implemented with concept different from v1.x. Portadroid v2.0 supports Gingerbread v2.3.4 for non-Sense ROM and Gingerbread v2.3.3 for Sense (2.1/3.0) ROM only. Please refer to Readme.txt for new installation/porting instructions.

- Added new SuperPartition concept to SuperRAM. Improved performance and support for porting Sense ROM.

- Changed cmdline control in startup.txt to only four: (1)rel_path (2)data_size (3)lcd_density (4)gps_zone

- Fixed SU/Root issues. Verified ok with Root Checker.

- Added support for user to perform minor updates/fixes and kernel upgrades on current ported ROM.

- Fixed issue with hang on second or subsequent boot when porting.

Download here:

Portadroid_v2.0.zip

Archive for the 1st post of the older Portadroid v1.x can be found here.

Don't forget to click the Thanks button below for me while downloading....