yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] kunsam:
It's been 3 years since our beloved HD2 was born. But you folks are just not letting him die. Hats off to you chefs out there. Keep cooking... mmmmnnnn delicious!!
[HD2 Android SD Development] CAXZ:
Sorry friends, but will it support more??
[HD2 Android SD Development] Robbie P:
I have booted sense 4 test rom using v5

http://xdaforums.com/showpost.php?p=40569037&postcount=139

Thanks boonbing:good::cool::highfive::D
[HD2 Android SD Development] poyensa:
I have booted too from winmo & clrcad+haret :) I am trying gilbert solution for wifi, but still not working. Data is OK.

Sent from my time-machine-HD2
[HD2 Android SD Development] Robbie P:
I posted mine here http://xdaforums.com/showpost.php?p=40578959&postcount=156 but forgot to remove a2sd script:o

If I have time today, I will try Tribullatifather's sense 4.1 http://xdaforums.com/showthread.php?t=2255056
[HD2 Android SD Development] dimdimdim:
that would be great, Tribullatifather makes great progress there with sense 4
[HD2 Android SD Development] poyensa:
Great work! I am using your build now. Initially data did not work so I flashed clk-ppp-patch from tytung ics r3.6 kernel. Now data is ok and wifi too after the fix from here, and a few reboots. Nice :)
[HD2 Android SD Development] Robbie P:
trib's 4.1 has just booted (magldr) it has taken about 40 minutes on first boot. I will see how it is after a couple of reboots.:highfive:
[HD2 Android SD Development] poyensa:
I cannot make boot Trib's v08, so waiting for v09
[HD2 Android SD Development] Robbie P:
v07 portadroid was very laggy for me, I gave up on it after a while:o Someone said it was laggy on that thread.

Didn't try v8 portadroid, don't think I will now:), looked at NSD v8 but it was v complicated and didn't seem to have right symlinks and enough perms. Agree on waiting;)
[HD2 Android SD Development] poyensa:
v09c portadroid has booted from WM+haret, but i had to add setup folder from here and moved some system.folder from data to system. Phone & wifi works out of the box but it is very laggy and has many graphics glitches. I will reboot a few more times to see if it settle down.

Much better after second reboot :) weather, clock, screenshot, lockscreen selection. sense task manager also works
[HD2 Android SD Development] Robbie P:
well done, have you tried zexmunde's egl files for glitches? haven't looked at that yet so not sure where it goes.

I did try it last night, but it didn't boot. Then i realised i had run out of storage space on sd card, even though there was 1.7gb before install:o

maybe I'll try again after a bit of cleaning, or a smaller data.ext4.
[HD2 Android SD Development] poyensa:
not yet for those zexmunde's egl. After installed the system.ext is 727mb, plus 636mb in root_tmp folder, and it created 512mb data.ext4 file. The rom is getting quick now :) sense4 task manager also working
[HD2 Android SD Development] wis1152:
Well done guys:thumbup::thumbup::thumbup: really miss this:(
[HD2 Android SD Development] kundanjuit:
I couldn't get my Wifi to connect on WPA/PSK. My APN settings showed correct data connection but I could never turn it on. Using MAGLDR to boot on fresh formatted SD card.
[HD2 Android SD Development] Claus72:
Have you tried to use the files .ko posted by and2?
[HD2 Android SD Development] yugoport:
I will try the dual mont app,thanks for the tip, you can change the system ext size in startup file before the first boot to other size..

I'm wondering if someone could boot a sense rom so far..
[HD2 Android SD Development] ebliss:
Actually the files posted by and2 are exactly the same as those found in the zip file provided by the OP. You can find them at Android -> update -> kernel_files -> tytung_r10 -> system -> lib -> modules.
[HD2 Android SD Development] Claus72:
I'm confused because, with MAGLDR and Hyperdroid rom, I have data and wifi only if I put these file manualy in Android\root\system\lib\modules.

The automatic update doesn't copy these files in the system.ext2.
[HD2 Android SD Development] ebliss:
If I am not wrong, after the initial setup, whatever changes you make to the system folder itself will not be saved. ie, reboot and it is lost. I am puzzled why it works for you after the inital setup. That's the disadvantage of loading the system to RAM. Whatever changes will not be saved.

Below is part of the script found in the zipfile by the OP. You can find it in the file "update.initrd.gz.sh" in the update foler.

The script will check in startup.txt to see if "ported_rom" is desire or nand. And it will also check for the value of "ro.build.id" in the build.prop file of the ROM you are importing. The build.prop file is found in the system folder. If it is "GRI40", it will use the kernel files from tytung_r9. If not, it will use the files from tytung_r10 folder.

# copy files required for porting based on ROM type (desire or nand) And GB version (2.3.3-GRI40 or 2.3.4-GRJ22)
ROM_TYPE=`grep -o '\bported_rom=\w*' /proc/cmdline | sed 's/ported_rom=//'`
GB_VERSION=`grep -o '\bro.build.id=\w*' /system/build.prop | sed 's/ro.build.id=//'`
if [ "$ROM_TYPE" == "desire" ]; then
if [ "$GB_VERSION" == "GRI40" ]; then
cp -af $ANDROID_PATH/update/portadroid_files/system233/* /system
cp -af $ANDROID_PATH/update/kernel_files/tytung_r9/system/* /system
cp -af $ANDROID_PATH/update/kernel_files/tytung_r9/zImage $ANDROID_PATH
cp -af $ANDROID_PATH/update/kernel_files/tytung_r9/init.rc /system
cp -af $ANDROID_PATH/update/kernel_files/tytung_r9/init.htcleo.rc /system
else
cp -af $ANDROID_PATH/update/portadroid_files/system234/* /system
cp -af $ANDROID_PATH/update/kernel_files/tytung_r10/system/* /system
cp -af $ANDROID_PATH/update/kernel_files/tytung_r10/zImage $ANDROID_PATH
cp -af $ANDROID_PATH/update/kernel_files/tytung_r10/init.rc /system
cp -af $ANDROID_PATH/update/kernel_files/tytung_r10/init.htcleo.rc /system
fi
elif [ "$ROM_TYPE" == "nand" ]; then
if [ "$GB_VERSION" == "GRI40" ]; then
cp -af $ANDROID_PATH/update/kernel_files/tytung_r9/system/* /system
cp -af $ANDROID_PATH/update/kernel_files/tytung_r9/zImage $ANDROID_PATH
cp -af $ANDROID_PATH/update/kernel_files/tytung_r9/init.rc /system
cp -af $ANDROID_PATH/update/kernel_files/tytung_r9/init.htcleo.rc /system
else
cp -af $ANDROID_PATH/update/kernel_files/tytung_r10/system/* /system
cp -af $ANDROID_PATH/update/kernel_files/tytung_r10/zImage $ANDROID_PATH
cp -af $ANDROID_PATH/update/kernel_files/tytung_r10/init.rc /system
cp -af $ANDROID_PATH/update/kernel_files/tytung_r10/init.htcleo.rc /system
fi
fi

Maybe you might want to check the "ro.build.id" value of Hyperdroid rom?
[HD2 Android SD Development] Claus72:
It has ro.build.id=GRI40.
[HD2 Android SD Development] ebliss:
That means the kernel files from tytung_r9 will be used.
[HD2 Android SD Development] Claus72:
So, in order to work with MAGLDR, we can use tytung_r10 kernel only, that's right?
[HD2 Android SD Development] ebliss:
honestly, I don't know. still a noob trying to decipher the world of Android. it maybe that the kernel files in r9 is incomplete? you might want to compare the meta-inf and system folder between magldr and clk builds of the same rom and see how different they are.

If you look at tytung's kernel description, maybe it might point to something.
[HD2 Android SD Development] :
Hi,

As mentioned in a previous post, I used the .ko file set provided by and2 and was able to get data, WiFi and SuperUser working fine on HyperDroid-CM7-v.2.0.1_cLK ROM.

However, none of the applications I installed were retained after a reboot as it basically reverted to the stock set. A couple of questions:

01. IIRC, DarkStone's original SuperRAM would retain the user data even after a reboot since the data was being writted to data.img. It doesn't appear to be doing so in this build. Could someone confirm this is indeed the case?

02. In case it is not possible to retain data after a reboot, how do I add some "cannot-live-without-them" apps like GMail, Facebook, Dialer One etc into the initial build so it becomes a part of the stock build?
[HD2 Android SD Development] ebliss:
It can retain data. I have over 160 apps and all of them are present after a reboot.

It just cannot retain anything placed in the system folder. ie. .ko files are gone after a reboot. If you want the .ko files in, you will have to rebuild the system.ext2 file.
[HD2 Android SD Development] :
hi ebliss,

If it is retaining apps, I must be doing something wrong 'cause I have tried with three different builds of NAND/Desire ROMs and all of them seem to exhibit this behavior. I am following the instructions to the T (except for wiping the SD card since I have WP7 on NAND and a few other Android builds on SD card).

Any suggestions on what I could check to see why this is happening?
[HD2 Android SD Development] ebliss:
Try using a new data.img and see if it works.

Regarding building your own system.ext2, the short-cut is to read this post and figure out which folder is used (most likely tytung_r09). Place all your required .ko files in that folder, in their respective folders. Re-do everything from step 1. There shouldn't be a system.ext2 and data.img file first.
[HD2 Android SD Development] :
Data.img file is always new since I do a fresh extract of Android folder from Portadroid's zip file and META-INF and System folders from the HyperDroid's NAND ROM.

I do have a spare SD card that I can use for this purpose. Will try it out and post my results here.

Thanks for your help, ebliss.
[HD2 Android SD Development] toma62:
Children could make a list of nand rom

that work on Portadroid.

so as to make more 'simple choice
[HD2 Android SD Development] arifqur:
Tested the following Roms using MAGLDR:

Working Data/Wifi/SU (Everything else also working)

1)Hyperdroid 2.0.1

2)Ultimate Droid UD3.3

Working Data/Wifi No SU Permissions

1)Tytung Nexus2.7

No Network Signal

1)Desire Oxygen

2)JawsMIUI1.5.20

Does Not Boot

1)Typhoon3.3.3

I 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
[HD2 Android SD Development] ebliss:
Weird. Desire Oxygen 2.1.3 works well for me, including data and wifi. Only the USB connection not working.
[HD2 Android SD Development] yugoport:
X2..it's working here too..only USB not working ..nexushd2 can't get root access, and hyperdroid can't connect to adhoc connections..
[HD2 Android SD Development] toma62:
[QUOTE = arifqur; 14188703] Testato il seguente Rom utilizzando MAGLDR:

I Dati di Lavoro / Wifi / SU (Tutto Il Resto also di Lavoro)

1) Hyperdroid 2.0.1

2) Ultimate Droid UD3.3

Dati di Lavoro / Wifi nessuna autorizzazione SU

1) Tytung Nexus2.7

Nessun Segnale di Rete

1) Il Desiderio di Ossigeno

2) JawsMIUI1.5.20

Non SI AVVIA

1) Typhoon3.3.3

Ho dovuto sostituire i moduli da Gli Tytung r10 kernel tramite Droid Explorer per ottenere Wifi / Dati Che lavorano NEL suddetto Rom di Lavoro con Wifi / Dati [/ QUOTE]

+1
[HD2 Android SD Development] and2:
same here :confused:

edit: but they are listed in the applications
[HD2 Android SD Development] Choski:
Dial of wrong numbers

Hello.

I have a quite strange problem, using the HTC Desire ROM (from first post)

When I dial 122 (the number of my Telephone company), the phone daill 112 (the number of Emergecny services, like 911 in US).

Does anyone have seen that? Any glue to solve it?

For the rest, all is OK for me, except Wifi with WEP encrypted networks.

I have tested a lot of SD based ROMs, but I could connect only the ones with HTC Sense to those Wifi WEP networks

Thanks
[HD2 Android SD Development] Gauss75:
Was anyone be able to run a sense rom?

I tried some sense 2.1 and 3.0 but none of that start.

I also noticed that data_size and system_size are always the default ones even if I change their sizes in the startup.txt. Does someone can post a initrd.gz with system.ext size of 400MB?
[HD2 Android SD Development] Gauss75:
Was anyone able to run a sense rom?

I tried some sense 2.1 and 3.0 but none of that start.

I also noticed that the system.ext and data.img have always the default size even if I change their sizes in the startup.txt by data_size and system_size parameters. Should someone post a initrd.gz with system.ext size of 400MB?
[HD2 Android SD Development] boonbing:
Message from OP

A quick note... you can refer to the first post (http://xdaforums.com/showpost.php?p=14101216&postcount=1) for latest news from me.

Thanks for supporting Portadroid :)
[HD2 Android SD Development] jvitor83:
Same problem here...
[HD2 Android SD Development] Szczepanik:
Portadroid on the xda News Portal

At my suggestion on May 26, 2011 egzthunder1 kindly published a very positive news article on the xdadevelopers Portal titled "Port-A-Droid Makes Running and Testing Android Builds a Breeze"

http://www.xda-developers.com/android/port-a-droid-makes-running-and-testing-android-builds-a-breeze/

Don't forget to click the buttons to Say Thank You to boonbing For His Useful Posts ... you can Find all posts by boonbing and thank him for each of them! ;)

Cheers

Tom
[HD2 Android SD Development] Claus72:
I have not this problem. Have you installed any storage manager?

You should install the application in data.img (external memory).

I'm not sure but I think that only the application installed in the system folder (internal memory) are lost when you reboot.
[HD2 Android SD Development] reynaldo_pn:
Hey i need help. I followed the instructions and got to the first boot but when i go back to WM to run the files again it wont let me. Error shows that it may not be signed with a trusted certificate or one of the components cannot be found. It says reinstall and redownload and i did both but nothing happens. Help please much appreciated.
[HD2 Android SD Development] jvitor83:
Try this:

Menu Button -> More -> Configurations -> Conf.CyanogenMod -> Application -> Instalation path -> SD Card

It seems that solve the problem.
[HD2 Android SD Development] yugoport:
Anyone was able to solve root problems in Nexushd2?
[HD2 Android SD Development] :
Hi jvitor83,

I didn't get the menu options as you have mentioned but I did get to the "Application -> Instalation path -> SD Card" path from Settings > CyanogenMod Settings > Application > Installation path > SD card. I am assuming this setting is what you meant.

I tried to set the path to SD card but it didn't have any effect at all. I continue to lose applications though they are still listed in Applications.

ebliss,

I formatted a new Sandisk 16GB, class 2 SD card for running Portadroid but the problem of applications disappearing after a reboot persists. So, it's not linked to the SD card.

I really would like to have HyperDroid running via Portadroid but am not able to do so due to this issue with disappearing apps. :(
[HD2 Android SD Development] Claus72:
I do not have this problem but I have had a problem with the data.img file.

After one reboot the file was corrupted and the home widget was gone. A have replace the data.img with a new one and now all is ok.

I think that I have corrupted the data.img because I have reboot the phone and I don't have shut down and then power on the phone.

I suggest all the people with apps problem to try to restart with a new one data.img and DON'T USE THE REBOOT FUNCTION because this function corrupt the data.img specialy in the ram builds.
[HD2 Android SD Development] ebliss:
I would suggest using the shutdown function instead of reboot.

Sent from my HTC HD2
[HD2 Android SD Development] uio88:
Can someone help me to have port honeycomb from nand with this method?
[HD2 Android SD Development] and2:
size of the system.ext2

i think someone has to change the size of the system.ext2 in the initrd.gz\initrd\init to maybe 450 and than also the data.img to 1024.

i can´t to it- no linux. :o
[HD2 Android SD Development] ebliss:
changing data_size value will change the size of data.img.

changing system_size value will change the size of system.ext2.

Both values are found in the startup.txt.

If you change the system.ext2 to 450, you better have enough RAM from winmo to do so.
[HD2 Android SD Development] and2:
the changes do nothing for me. always the same size: data= 512 system= 153 with MAGLDR
[HD2 Android SD Development] Almazick:
Using Oxygen rom I get 60 ma in standby mode. GPS, WifI and location are off. Battery dies in 6 hours. Can somebody suggest a better rom with no 60ma bug.

EDIT: Problem solved by reseting winmo to default restore.
[HD2 Android SD Development] uzi2:
It's not likely to be the ROM. You should recalibrate your battery.
[HD2 Android SD Development] yugoport:
I'm getting 5 ma in standby with data GPS and location on..you might want to check if you don't have any app eating your battery, a setcpu screen off profile will help you a lot saving your battery ..
[HD2 Android SD Development] Almazick:
Problem solved by reseting winmo to default restore.
[HD2 Android SD Development] uzi2:
So what battery drain do you get if you turn bluetooth off?
[HD2 Android SD Development] yugoport:
My standby ma is with Bluetooth off, i bet his 60 ma in standby is caused by Bluetooth .. ..
[HD2 Android SD Development] EngineerMind:
A few weeks back someone fixed the Bluetooth drain issue (http://xdaforums.com/showthread.php?t=1007774), but it's up to the chefs to incorporate the fix into their roms.
[HD2 Android SD Development] Szczepanik:
Portadroid wiki - list of ROMs that work

I have created a wiki page for Portadroid which includes a list of ROMs.

http://xdaforums.com/wiki/index.php?title=Portadroid

http://goo.gl/XmqO5

If you find a ROM that works, please add it to the list or PM me.

Cheers

Tom
[HD2 Android SD Development] yugoport:
Wow, thanks Tom, very nice work..
[HD2 Android SD Development] Almazick:
For some reason I get NETWORK CONNECTION LOST and I have to toggle the switch 2G/3G to get internet back to work. I have two HD2's with the latest Tmobile ROM and one of them running Boombing 0.1 rom and the other Portadroid Oxygen 2.3.4 and the same problem on both. Is anyone else having similar problem? Never had a problem with internet in WinMO.
[HD2 Android SD Development] ebliss:
Hi all,

I have attached a created system.ext2 together with the necessary files and folders except data.img which you need to create your own. I am using my own old data.img from oxygen 2.1.3

This is created from Desire Oxygen rom. This is a test build after 2.1.3. I have also added in tytung's new GPS libraries v1.0 into system.ext2.

Alter the data_size to your own needs in startup.txt before you run this build. I have booted a few times with this system.ext2 and it runs well.

This is for people with problems porting the oxygen rom into sd build. So there is no need for you to create the system.ext2 file again.

Due to lack of sleep, I named the zip file wrongly. Ignore the digits. :p

Download here.
[HD2 Android SD Development] toma62:
Hello ebliss

I tried your solution, but nothing remains

black screen with the word oxygen
[HD2 Android SD Development] dragonovus:
i tried the http://xdaforums.com/showthread.php?t=918899 but i can't get the wifi working.. is it because portadroid is using kernel r10?
[HD2 Android SD Development] ebliss:
if you see the word oxygen, wait for about 10 minutes, depending on the size of the data.img you are creating. if it's more than 10 minutes, pull battery and wait for 30 seconds and try again. give it at least 3 tries before concluding failure.
[HD2 Android SD Development] Graeme748:
I love the sound of your 5ma on stanby with gps & bluetooth on. I am getting around 60ma. So I have just downloaded and installed setCPU. Can you advise what settings you are using on your screen off profile? I have mine currently set for 384 max, 245 min and I cannot go any lower.

Cheers

Graeme
[HD2 Android SD Development] ebliss:
Ndt miui ginger rom v12.0

This is the download for NDT MIUI GINGER ROM V12.0 English. I have included a 256mb data.img.

Again, this is for those having trouble creating their own system.ext2.

Download here.

There seems to be a problem with MMS. So, you might want to try fixing it on your own or wait for me to create a new system.ext2.

I am also trying to create the test build of oxygen, released yesterday.
[HD2 Android SD Development] ebliss:
Sometimes, if you see that your current is always around 60ma, you might need to do a battery calibration. Occasionally, a few shut down and startup helps for me.
[HD2 Android SD Development] adityo97:
which ROM with the most functional working?

such as (file data transfer via usb, Data network, Wifi, GPS, Bluetooth)
[HD2 Android SD Development] ebliss:
I would actually say that since all the ROMs are using the same tytung_r10 kernel files, they shouuld be the same in terms of connectivity.
[HD2 Android SD Development] yugoport:
I mate, not Bluetooth on,only data and GPS, with Bluetooth and wifi on would be an extra power drain.. that's the profile i have, I'm always checking if i don't have any app sucking my battery too..

Im using juice defender too..
[HD2 Android SD Development] toma62:
[QUOTE = ebliss; 14260644] se si vede la parola d'ossigeno, attendere circa 10 minuti, a seconda delle dimensioni del data.img si sta creando. se si tratta di più di 10 minuti, estrarre la batteria e attendere per 30 secondi e riprovare. dare almeno 3 tentativi prima di concludere il fallimento. [/ QUOTE]

Thank you very much I'll try ebliss' as you say

thanks for the work you do, I will try all your improvements

future;)

great ebliss:)

tried but does not start anything ,black screen viewing experience and written oxygen
[HD2 Android SD Development] adityo97:
as i recall, ACA 220511 (the versions after that always contain somekind of weird problems), all the above problems are gone, the only problem i have just the data stability, and i wanna experience the nand ROM, with bugless as it can be.
[HD2 Android SD Development] ebliss:
There is no need to thank me. I'm only trying to help by creating the system.ext2 using the scripts provided by the OP.

Try this one. It has the data.img of 768mb. See if it boots. This one is from the oxygen thread, a test version (2905).

Try booting this with the usb wire disconnected from the phone.
[HD2 Android SD Development] toma62:
[QUOTE = ebliss; 14273203] Non c'è bisogno di ringraziarmi. Sto solo cercando di aiutare con la creazione del system.ext2 usando gli script forniti dal PO.

Prova [URL = "http://www.multiupload.com/MR4RIGD04V"] questo [/ URL]. Ha la data.img di 768MB. Vedere se stivali. Questo è dal thread di ossigeno, una versione di prova (2905).

Prova a fare il boot con questo il filo usb scollegato dal telefono. [/ QUOTE]

Thanks it worked:D

Roma light, but 'not working the wi.fi :(

I will wait 'new releases with your rom more' complete,

or sense 3.0

thanks :)
[HD2 Android SD Development] boonbing:
My friend, thanks for your effort and supporting Portadroid... honestly, I am not sure if this simple and humble tool need such publicity and work... but I do sincerely appreciate all your hard work in creating this wiki page. Thanks! :)
[HD2 Android SD Development] EngineerMind:
He said "DATA" and "GPS", not "Bluetooth and GPS"....so he probably has bluetooth off when he gets his 5ma instandby.

And I would take a guess that you have bluetooth ON, which is probably the cause for your 60ma (and it is a known bug) and setcpu won't really fix it.

The bluetooth bug has been fixed (see a few posts back that I made) but it's up to the ROM chefs to incorporate the fix.
[HD2 Android SD Development] arifqur:
Hey man don't be so humble.

This is a remarkable tool and should be given its due credit.

Great job
[HD2 Android SD Development] rugo80:
Very easy to understand to see that explanation for all people that dont have a good english translation like me..:-) TNX.
[HD2 Android SD Development] Zahurtex:
Anyone encounter missing installed user applications after reboot?

I am having this problem with cm7 n some other roms. Installed apps. are shown in mansge application dowloded section with the sd card icon but all greyed out. I dont know what am i missing...
[HD2 Android SD Development] bigx86:
thanks for ur efforts and work man ;)
[HD2 Android SD Development] Graeme748:
Thanks mate, I see your point. I will keep an eye on the Oxygen thread to see when they address it.

Cheers