[HD2 Android SD Development] boonbing:
Archive 1st Post for Old Portadroid SuperRAM GB v.1x

***********************************

LATEST NEWS FROM OP

***********************************

(Always check back on the first post for updates from OP)

All latest updates below in

Red

Portadroid SuperRAM 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. 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 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 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.3 & 2.3.4 ROMs:

1) HTC Desire

- Oxygen 2.x.x by Adamg and Team (http://xdaforums.com/showthread.php?t=971904)

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

2) HD2 GB NAND

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

- Hyperdroid CM7 cLK version 2.x.x by pongster (http://xdaforums.com/showthread.php?t=769026)

XDA Community tested Gingerbread 2.3.3 & 2.3.4 ROMs:

Refer to Portadroid

wiki

page for list of ROMs

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) Unzip the downloaded Portadroid SuperRAM GB package with the Android folder into the root of your SD card

2) Unzip the downloaded ROM (listed above) of your choice and put their "system" and "META-INF" folders into the "/Android/root" folder (Please refer to to diagram here if unsure of the exact location of where to put the folders)

3) Edit startup.txt on cmdline (ported_rom=desire OR ported_rom=nand) depending on what ROM (ie HTC Desire ROM or HD2 NAND ROM) you put into the root folder above. Do not change the rest of the parameters other than gps_zone if you're booting for the first time with Portadroid. Change the other parameters only if you really are confident with Portadroid and know what you're doing!

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

5) First boot at HTC green logo takes ~3 minutes (based on default to create a 256MB data.img and a 150MB system.ext2 partition) AND AFTER THAT SCREEN WILL GO BLACK AND REBOOT. So do not panick if you see a reboot! (If HTC green logo hangs above 5 minute, take battery out, wait 30secs and reinsert battery to boot into WM6.5)

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

7) Second boot should be ~1 minute. You will see HTC logo, black screen, ROM animation, Android welcome screen. (If HTC green logo hangs above 3 minutes, take battery out, wait 30secs and reinsert battery to boot into WM6.5. Then run CLRCAD.exe and then haret.exe again)

It is highly recommended to use a new Portadroid package when switching ROM or upgrading ROM!!!

Pay attention to the ROM size if you're downloading one that is different from the tested and supported list above. If unpacked size is more than 150MB, then it won't fit into the default 150MB system.ext2.!!!

Troublshooting:

1) Hang at HTC Green Logo on First Boot

- Did you follow the installation steps mentioned above?

- Did you format your SD card with the SD Card formatter?

- Did you change any of the default settings, modify any script or files that came with Portadroid package?

- Are you trying to use the same data.img file? It is highly recommended to start with a new/fresh Portadroid installation package when upgrading or changing ROM.

1) Hang at HTC Green Logo on Second/Subsequent Boot (likely due to file system not mounted properly to RAM)

- Did you follow the installation steps mentioned above?

- Did you change any of the default settings on startup.txt or modify/delete any files after first boot?

- Did you really enter the correct ported_rom=desire OR ported_rom=nand into the startup.txt?

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:

31-May:

Portadroid SuperRAM GB v1.1

Changelog:

- Change kernel_files structure to give flexibility for user to self-upgrade kernels based on GB v2.3.3 or GB v2.3.4

- Added support for rapigna kernel with kernel selection using cmdline 'kernel_type' in startup.txt (I do not recommend using his current 1.9GB OC now until he makes another update upon his return in a few weeks time.)

- Added support to clear cache (dalvik-cache) on boot using cmdline 'clear_cache' in startup.txt (if you encounter strange or FC issue, setting clear_cache=yes may possibly fix them. Need further feedback from XDA community)

- Added tytung fast gps fix lib patch v1.0 into gps_files folder to allow user to self-upgrade when new version is released. (if you don't like this patch, just delete the files from the "/update/gps_files/system" folder)

- Fixed permission/root issues on some ROMs (eg.NexusHD2) when installing apps that require root/superuser access (eg. root explorer, titanium backup)

- Fixed possibility of incorrect detection of Gingerbread version 2.3.3 or 2.3.4 in the build.prop file resulting in wrong kernel version being applied for some NAND ROMs (eg.Hyperdroid GBX12).

- Updated all kernels with a more stable version 8b4 of "libhtc_ril_wrapper.so" file which has better re-connectivity in cases of 3G data drop (http://xdaforums.com/showthread.php?t=901305)

Download here:

Portadroid_SuperRAM_GB_v1.1.zip

25-May:

Portadroid SuperRAM GB v1.0

Changelog:

- First Release

Download here:

Portadroid_SuperRAM_GB_v1.0.zip

Experimental Downloads & Changelog:

8-Jun:

Portadroid SuperRAM GB Sense Beta v0.2

(WARNING: FOR EXPERIENCED PORTADROID USERS ONLY)

Pre-requisite:

- Have successfully booted up ROMs using non-Sense version of Portadroid with all basic functions working.

- Willing to provide feedback on Sense ROM tested

- Lots of patience!!!

How to Install (Based on Default setting with imilka Desire HD ROM):

1) Unzip the downloaded Portadroid SuperRAM GB Sense Beta v0.2 package with the Android folder into the root of your SD card

2) Unzip the downloaded Sense ROM (try to test imilka Desire HD V2.0 ROM first) of your choice and put their "system", "META-INF" & "sd-ext" folders into the "/Android/root" folder (Please refer to to diagram here if unsure of the exact location of where to put the folders)

3) Make sure the startup.txt on cmdline has "ported_rom=sense". Determine the ROM size that you put in the "/Android/root" folder in (2) above and edit system_size=

XXX

accordingly with +5-10% buffer (Default is set as system_size=350 for imlka Desire HD ROM). Try not to change the rest of the parameters other than gps_zone when you're booting for the first time.

(For Magldr user, just download and unzipped the 600MB system.ext2 file attached in this post below into the Android folder since startup.txt is not supported)

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

5) First boot at HTC green logo takes ~6 minutes (based on default to create a 256MB data.img and a 350MB system.ext2 partition) AND AFTER THAT SCREEN WILL GO BLACK AND REBOOT.

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

7) Second boot should be ~3 minute. You will see HTC green logo, black screen, HTC Quietly Brilliant logo, HTC lock screen.

8) Recommend to allow Sense Android OS to "settle" down (~5minutes) before unlocking and setting up Android phone.

9) Go to Autokiller Memory app and apply preset setting = "Extreme" (Apply preset setting = "Ultimate" for Sense 3.0 ROM).

10) Test basic functions listed above and feedback where necessary.

11) Use a new Portadroid and change the kernel to tytung (default is rapigna). Feedback accordingly.

Thank you for supporting Portadroid development!

(IMPORTANT NOTE: Many Sense v2.1 & v3.0 ROMs may be still in the early-mid stage of development so a number of functions may not be working or may contain bugs. Please read the ROM developer notes on working or non-working functions before providing your feedback.)

(MAGLDR USER PLEASE NOTE: You have to download the zipped empty system.ext2 file from a separate attachment below)

(Hint: Some Desire Sense ROMs can also be ported if you know how to copy and rename the folders in their "sd-ext" folder correctly for Portadroid Sense (ie. follow the file structure for HD2 NAND Sense ROM). However, camera and camcorder is not ported currently and will not work. Example Cool3D Sense 3.0: http://xdaforums.com/showthread.php?t=1040121)

(Tricks to porting Sense 3.0 ROMs successfully: You need lots of patience!!! After successful second boot into Sense Lock screen, do not touch the phone or press any buttons, leave to "settle" 1 hour or more. After you perform initial setup and manage to get into the Home screen, go immediately to Automemory killer and apply preset setting = "Ultimate". Reboot phone. At any point if Sense calls for FC just pull battery and reboot. Other minor FCs you can click on wait. If screen hang or lock screen disappear, use another phone to call the phone to "wake" it up. A few more reboot and it will become stable. Tested with AngelDeath NAND ROM)

(Subsequent reboot if hang at HTC green logo, please take battery out and wait for 30 secs, then reboot into Android again)

Changelog:

- Fix wifi issue.

- Added Autokiller Memory & Advanced Task Killer apps to stabalize Sense 2.1 & 3.0 ROMs

- Tweaked init.rc file to optimize memory usage especially for Sense 2.1 & 3.0 ROMs

- RAM is NOT yet supported in this experimental version (ram_system=0).

Download here:

Portadroid_SuperRAM_GB_Sense_Beta_v0.2.zip

OR for Magldr Users can try here (Thanks to Claus72)

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

And if you're still feeling generous and insist on buying me a drink, you can click on the link below to do so. Thank you.

https://www.paypal.com/cgi-bin/webs...onationsBF:btn_donateCC_LG.gif:NonHostedGuest