Please remember to add a category to the bottom of each page that you create.
See categories help for further details, but most will probably be [[Category:HTC ModelName]].

HTC HD2/Portadroid

From XDA-Developers
< HTC HD2(Redirected from Portadroid)
Jump to: navigation, search

Portadroid

Portadroid (a.k.a. Port-a-Droid) SuperRAM GB is a tool for the HTC HD2 which boonbing built mainly with scripts that enables supported Android Gingerbread and Ice Cream Sandwich (ICS) HD2 NAND or HTC Desire ROMs to be booted via SD card into RAM on the top of your stock WM6.5 ROM. Portadroid Ultimate v4.0 supports porting of Ice Cream Sandwich ICS NAND ROM only. Theoretically, all current HD2 NAND Gingerbread or Ice Cream Sandwich (ICS) ROMs can be ported via Portadroid SuperRAM GB with the basic functionalities working listed below. All you have to do is simply copy the files from Portadroid into an "Android" folder on your SD card. Next you copy the "META-INF" and "system" folders from your chosen Android ROM into the "/Android/root/" sub-folder. You can then run your choice of Android in RAM whenever you want from your stock Windows Mobile 6.5 ROM by running CLRCAD.exe and then haret.exe.

More information is available on the forum thread: HTC Leo: HD2 > HD2 Android > HD2 Android SD Development > [25-MAY][RAM] Portadroid SuperRAM GB v1.0 [kernel:tytung] http://forum.xda-developers.com/showthread.php?t=1094372

This is a list of some Android ROMs that have been tested on HTC HD2 with Portadroid.

Desire Android Development

http://forum.xda-developers.com/forumdisplay.php?f=628

Currently tested and supported by Portadroid

User community tested working:

HD2 Android NAND Development

http://forum.xda-developers.com/forumdisplay.php?f=928

Currently tested and supported by Portadroid

User community tested working

  • [15.Apr.11][CWM/clk] Ultimate Droid 3.3 [Tytung r9][Approved by Darkstone] (http://forum.xda-developers.com/showthread.php?t=958953)
    Tested OK in Portadroid v1.0 post # 117 (had to replace the modules from Tytung's r10 kernel through Droid Explorer to get Wifi/Data working in the above-mentioned Rom's with working Wifi/Data)
    Tested OK in Portadroid v1.0 post # 263 using magldr wifi fix GB234.zip from Post # 213 and using static IP.

Ice Cream Sandwich (ICS) Android 4.x NAND/SD

Portadroid Ultimate v4.0 Currently tested ICS ROMs:
1) HD2 ICS NAND

NAND/SD ICS Beta Development

ICS Kernels

Android 4 Ice Cream Sandwich Kernels for HTC HD2
These Kernels are for ICS ROM only. Usually the ICS rom is in a folder called ICS but this can be changed in startup.txt. Please check appropriate forum to see current status on porting these ICS kernels (alphabetical order):

  • Dorimanx ICS Kernel for HD2 based on Tytung Latest ICS kernel [2]
  • marc1706 2.6.35.14 ICS Kernels based on the HTC Desire 2.6.35.10 kernel source code ported by warrenb213. Used in Xylograph's IceCreamTosti [3]
  • securecrt HWA Kernel For HD2 based on dorimanx 6.6C version [4] with an SD version [5]

To port a new ICS kernel to an existing ICS ROM, simply copy a few folders from the new kernel. Copy the META-INF and system folders from your chosen ICS kernel into the /ICS/root/ sub-folder. If necessary you may have to create the root sub-folder yourself. Occasionally you may need to use a different initrd.gz and / or copy other files such as clk/*.* into /ICS/root/system/. When you reboot into ICS you will see message about the modifications being made. After successful changing the ROM, it is wise to check that the root sub-folder is empty and delete any remaining files if necessary.

Instructional Thread Helps Users Learn and Tune ICS Kernels

Reference to ICS kernel related stuff [7]

SuperRAM

PortaDroid is a set of scripts developed by boonbing that enables supported HD2 NAND ROMs to be booted via SD card on the top of your stock WM6.5. Portadroid Ultimate v4.0 supports ICS only.

SuperRAM developed by darkstone has the entire Android O/S filesystem stored in RAM before it is booted [8]. RAM is faster than NAND (ROM) and SD Card so the SuperRAM build is superfast too. Only ROMs below a certain size (approximately 100MB) can be stored in RAM. For large ROMs, RAM boot is temporarily disabled by the presence of the file SD_Boot. For ICS Full RAM Boot, a different RAM boot initrd.gz must be used and the SD_boot file deleted from ICS folder before porting. (You will see a file named system.ext4 at the root of your phone if RAM boot is successful) [9].

Devices with same Processor

The following devices use the same Qualcomm SnapDragon S1 QSD 8250 ARMv7 Processor as the HTC HD2 and should therefore be good candidates for porting their ROMs. Their codenames are shown in brackets.

Basic Functionalities

The basic functionalities that are supported by Portadroid SuperRAM GB include:

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" - see thread)

Note that Portadroid can only support functionalities that are available with the HTC HD2 hardware.

startup.txt

The file startup.txt contains parameters that can be edited to change the way Portadroid initially ports your ROM. For example the default line:

set cmdline "rel_path=Android ram_system=1 data_size=256 system_size=150 ported_rom=desire lcd_density=240 gps_zone=sg"

Can be edited for larger size of data.img and gps zone of "uk"

set cmdline "rel_path=Android ram_system=1 data_size=512 system_size=150 ported_rom=desire lcd_density=240 gps_zone=uk"

Meaning of Variable in cmdline

1. rel_path     folder name of the build (Android)
2. ram_system=1 for RAM enable
3. data_size    size of data.img, 1024 means 1024MB
4. system_size  size of system.ext2, 150 means 150MB
5. ported_rom   nand or desire
6. lcd_density  default value for android is 240
7. gps_zone     country code, uk, us, it etc.
Leave cmdline as default if you don't know what you are doing

Kernel change

These are the steps to change the kernel (assumes your files are in "ics" folder)

1.) download a different kernel 
2.) extract the files (meta-inf, system, zImage)
3.) copy the files to ics folder 
/sdcard/ics/root/meta-inf
/sdcard/ics/root/system
/sdcard/ics/zImage
4.) boot android
5.) kernel should be updated

For background info see wiki ROM-VS-Kernel

Thanks to arjaylight

Complementary Programs

For further details please see forum thread: http://forum.xda-developers.com/showthread.php?t=1094372