yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] Szczepanik:
Portadroid Lite v3.0

Boonbing - thank you very much for this Portadroid Lite v3.0 - I will try at the weekend.

I have run out of 5 presses of the xda thanks button for today but will make it up later. I really appreciate the extra work you do sharing the fruit of your labours with us. You do not really think that any of us will really be "happy with the current ported ROM" - part of the fun is trying new things and I just got my 32GB card specially for this! I think it even has a name - Obsessive-ROM Updating Disorder (ORD)

http://www.xda-developers.com/announcements/do-you-have-obsessive-rom-updating-disorder-ord/

I know you have taken a step back but that is sometimes necessary to move forwards. Looking at the quadrant scores >2000! with SuperPartition I think you will be trying again!

Cheers

Tom
[HD2 Android SD Development] Graeme748:
I have just installed Portadroid Lite v3.0 with Oxygen 2.2.1 and it is rocketing along - Quadrant score 2123, I love it! Thanks again boonbing. Now it just has to pass my Bluetooth test to see if I can reliably use it in my car - I'm keeping my fingers crossed that it will work.

Cheers

Graeme
[HD2 Android SD Development] Graeme748:
Sorry boonbing, I wanted to clarify this. I have installed Portadroid Lite v3.0 with Oxygen 2.2.1 and I will test Bluetooth this afternoon. If Bluetooth fails as it has in the past, I would be very happy to try replacing tytung's kernel with the Hastarin 8.6 kernel. But according to your instructions the kernel replacement process is only meant for Sense ROMs not non-Sense ROMs. Is this correct?

Sorry if I am just being dumb, but I don't understand.

Cheers Graeme
[HD2 Android SD Development] boonbing:
Hi Graeme, you're not dumb and thanks for taking time to read the instructions on the first post.... I already had the kernel switch capability built into Portadroid Lite but did not put it in the installation instruction as I had not tested it yet since we only had tytung kernel as the most current one in the forum.... what you need to do is replace the zImage from Hastarin 8.6 in "/Android" folder and put his "META-INF" and "system" folders into the "/Android/root" folder as well in your ported ROM and then reboot.... hope this works for you.
[HD2 Android SD Development] ketzazu:
Would iou have a sense patch?
[HD2 Android SD Development] greencloudz:
That's very helpful, Thanks.
[HD2 Android SD Development] boonbing:
Just tried PATs JW MIUI port.... no problem booting up with it.... did not test if it had freeze issue though.... at least I did not see it while running it for awhile with data on and syncing with contacts.
[HD2 Android SD Development] boonbing:
I think all Sense ROM are on Gingerbread 2.3.3 so wifi should be working fine with default... you have an issue with a specific Sense ROM?
[HD2 Android SD Development] yugoport:
Thank you for your great support, will try it later and will give you feedback..

Thanks once more..
[HD2 Android SD Development] Graeme748:
boonbing, My next problem is that I have copied "update.kernel.hastarin.16.12.2010" from http://www.multiupload.com/MGJPBEJKXC which seems to be the final version of the Hastarin kernel, only to find there no "META-INF" folder. The zImage is there and the "System" folder, but no "META-INF" folder. Does that indicate that I have picked up an update rather than the full kernel? If so, where can I find the full version of this older kernel?

Cheers Graeme
[HD2 Android SD Development] boonbing:
Sorry I forgot its the old kernel method of updating.... just make sure you copy the file "update.kernel.sh" found in the "update" folder of the zip package (ignore the "readme" and "dev" folders) into "Android/update/" folder of your current ROM in addition to the zImage file and "/root/system" folder... and Portadroid will take care of that... basically that file is similar to "META-INF" which sets permission.
[HD2 Android SD Development] Graeme748:
boonbing - just to clarify again. I copied the "zImage" file from Hastarin to the Android folder of the Portadroid/Oxygen ROM. Then I copied the "system" folder and "update.kernel.sh" file from Hastarin to the Android/update/ folder of the Portadroid/Oxygen ROM and re-booted from WM6.5.

Result: 1. Hastarin kernel installed OK, but with a wifi error.

2. Bluetooth successfully paired, but call did not go through.

3. Phone hung when call failed - requiring me to remove the battery & re-boot.

So different, but the desired result yet.

Cheers

Graeme
[HD2 Android SD Development] boonbing:
Sorry, I should be more specific... "system" folder goes into "/android/root/" folder... only that "update.kernel.sh" file goes into "/android/update/" folder.
[HD2 Android SD Development] Graeme748:
OK, I'll start over again with a clean install of Portadroid Lite v3.0 and Oxygen 2.2.1, then change the kernel - correctly this time.
[HD2 Android SD Development] boonbing:
I don't think you need to start again since nothing is overwritten earlier without any "system" folder in root... just move the "system" folder to "/android/root/".
[HD2 Android SD Development] arifqur:
Thanks Boonbing once again.

About to start testing version3.0lite.

I use MAGLDR and have an ext partition which I don't want the ported rom to see. Any workarounds for that?

Thanks
[HD2 Android SD Development] boonbing:
I'll take a look at it tonight.... but no guarantee :)
[HD2 Android SD Development] boonbing:
Typhoon CM7 ROM now Supported

Guys, I know there are some interest in non-Sense Typhoon CM7 ROM for some of you... I have attached the portadroid patch on the first post in case anyone is interested to port this ROM.

Typhoon CM7: http://xdaforums.com/showthread.php?t=933951
[HD2 Android SD Development] yourender2:
I have wifi issue with foryo sense rom,any idea?
[HD2 Android SD Development] boonbing:
Would appreciate if you can provide more info on what wifi issue you're seeing and which Froyo Sense ROM from the NAND section have you ported.
[HD2 Android SD Development] boonbing:
Please back up whatever you have on both partitions of the SD card before you apply the attached patch (initrd.gz) on Portadroid Lite v3.0... replace the initrd.gz file with the default one on Portadroid Lite before you start any ROM porting.

If you have info or knowledge about the partition (eg. mmcblk0p1, mmcblk0p2, mmcblk0p3 or mmcblk0p4) belonging to ext2 or FAT32, then it will be very helpful.

Disclaimer: I am not responsible for any damage caused on your card because of using this patch and cannot guarantee that it will work!
[HD2 Android SD Development] yourender2:
CMYLXGOroms.Stock.Desire.HD.v1.1.18n.NAND.

BOYPPC-SHIFTPDA DHD

same issue wifi cant open,

like this
[HD2 Android SD Development] hawild:
MIUI 1.7.29 or 30 - WiFi problem

I have the connection problem with PortaDroid versions 1.0, 1.1 and lite version.

http://xdaforums.com/showthread.php?t=1175728

WiFi tries to obtain IP number then disconnects.

Thanks a lot
[HD2 Android SD Development] MarkAtHome:
From MAGDLR, choose Advanced, and there should be an option to see logs. If there are bad blocks, it would be noted there (I am using CWM 4.0.1.4, so it is possible that you might need a version newer than 3.1.x.x - I'm not sure).
[HD2 Android SD Development] arifqur:
I am using a 1GB ext4 partition and the rest is fat32. First partition is Fat32 as is advised in various threads.

Thanks for taking the trouble on my request. It is very much appreciated.

However, if I replace the default intrid.gz with the patched one you provided, it reboots after a few seconds of the green HTC logo
[HD2 Android SD Development] boonbing:
To understand the problem a bit more, am I right to say that with that ext partition in your SD card, all your ported Rom is using that partition for data storage instead of the data.img created by Portadroid?
[HD2 Android SD Development] sungc007:
Hello, boonbing

It's really nice and I tried it....I could boot it up and got 3G network...but when I enabled wif, I got 'error'..What do I do to solve this problem? anyone tried this?
[HD2 Android SD Development] tuuquy:
Sorry, I have a noob question: How to boot SD ROM from MAGLDR (I installed MAGLDR 1.13)? And is this boot anything better than boot from WM?
[HD2 Android SD Development] Szczepanik:
How to see if you have bad blocks

Mark - thank you, appreciate your reply. I do not use MAGLDR. I just copy the files to the Android directory on my SD and everything works great (apart from 60ma standby drain). I will look up how to implement MAGLDR and have a go. Maybe MAGLDR will help the battery drain?

Boonbing - you may want to add a note that Portadroid Lite SuperRAM v3.0 (non-Sense) ONLY works (for me at least) in a directory named "Android" (keeping the path to "Android" in startup.txt). It does not work in other directories e.g. Android3 (even if you change the path to "Android3" in startup.txt) . However, once you have Ported a ROM successfully, you can rename the directory as long as you also change the path in startup.txt to reflect the directory name.

Portadroid Lite SuperRAM v3.0 looks great so far with Oxygen - thank you!

Cheers

Tom
[HD2 Android SD Development] arifqur:
Thanks for your reply.

The ext4 partition is only used for NAND boot Android.

The ported Roms should not use this by default.
[HD2 Android SD Development] greencloudz:
wifi patch

Any tip?

Dear boonbing,

Searching all folders and items in an unported ROM (HyperdroidGBX )... yet have found no"init.htcleo" there to replace, and cannot access the current system folder now that the GBx is already ported.

Also none found in the portadroid 3.0 folder.

Perhaps I'm looking in the wrong places to find and replace the init.htcleo.

Any tip?
[HD2 Android SD Development] boonbing:
Create a folder named "system" in "/android/root/" of your ported rom. Put the "init.htcleo.rc" file inside the "/android/root/system/" folder. Reboot. Hope it helps.
[HD2 Android SD Development] boonbing:
The permission on "/data/misc/wifi" folder is not set correctly for some reason on the rom.... use root explorer to change permission to rwxrwxrwx (read write execute for all) Or use terminal emulator to do "chmod 777" on the folder.
[HD2 Android SD Development] greencloudz:
Yes, it works well now. Thank you. :)
[HD2 Android SD Development] greencloudz:
re android3

Dear Szczepanik,

If I may ask...you have more than one or two android ROMs in you SD card?

If so, do you favor a particular app to set which one to activate?
[HD2 Android SD Development] yugoport:
Hi Boonbing and guys, finally ported 2 miui roms, but still having the hanging/freeze issue, it happens not so often as it did in the past, but still happens, I found one interest thing, when I have the hanging/freeze issue, if I kill all apps with a task killer the problem goes away, this probably its related with RAM or something, because the freezing issue happens with a fresh install or with all my apps installed, I just need to "fight" to go to the task killer widget and after killing all apps all goes well.. but now it doesn't happen right after turning the data on.. I'm using patensas miui that its fast as hell, Thank you Boonbing for this amazing tool you created..
[HD2 Android SD Development] yugoport:
Edit1: it seems that the magic number its 200 mb ram, below that value the system starts to be unresponsive and laggy, after all tasks killed all goes well..
[HD2 Android SD Development] boonbing:
Hi, based on your feedback, this is the modification I have done on the attached initrd.gz for Portadroid Lite... I am going to remove the lines where the initialization file create "devices" for partition 2, 3 & 4 for mounting. So only partition 1 device will be created by Portadroid for mounting your FAT32 partition. Assuming Magldr doesn't create its own "devices", then maybe this method will work... Good luck!
[HD2 Android SD Development] boonbing:
Thanks for your observation and feedback... now I need all the brains here to contribute ideas to make Portadroid Lite better in v3.1...

I have set aside a "magic" value of 150MB RAM to mount non-Sense ROMs of below 200MB.... now you may ask, so how does a 200MB ROM fits into the 150MB RAM space? The answer is using "symlinks" (Google and read if you want to know more) for some system folders/files and reduce that real size space required to below 150MB.

Now for some history lesson on SuperRAM Froyo (non-Sense version) by Darkstone, he chose "Oxygen ROM" because it is extremely lightweight (typically below 100MB, 80+MB to be exact for SuperRAM Froyo, the predecessor of Gingerbread). And he created the RAM space to be close to 100MB so you have extra 50MB RAM compared to current Portadroid Lite. My first version of Portadroid v1.0 created RAM size right to the exact ROM size which also introduces root issues as well as boot problems so I have no choice but to choose something higher and use "symlinks" when necessary since nowadays ROMs grow bigger and bigger like nobody's business... And as you may have already realize, "symlinks" simply means files/folders stay in SD card and not RAM so does it really helps in performance?

So now my question is what should be the "magic" number? My HD2 has ~450MB RAM size only, so how would you guys propose I use for v3.1? ;)
[HD2 Android SD Development] arifqur:
Thanks man. You are a Gem.

However, with this intrid.gz it boots after some minutes ( as it normally does) and when the Rom boots again it has all the apps installed in the ext4 partition by the NAND rom.

So not working.
[HD2 Android SD Development] yugoport:
Thanks boonbing, not only for your great work but also for your great support.. we have to think in the next steps, but for now your tool is a great achievement, I hope people support you with a few coffees to help you with the sleepless nights..

For now is it possible to load this bigger roms without load them in RAM using your tool? I would love to try it to see how it performs..

Thanks once again.
[HD2 Android SD Development] boonbing:
Sure... but so your magic number for the "big" size Rom is? :)
[HD2 Android SD Development] Szczepanik:
Android Loader

The one I use is Exceller:

[APP] Exceller Multiple Build Loader for Android/Ubuntu

http://xdaforums.com/showthread.php?t=737001

Boonbing recommends RunDroid:

[APP][4/17/11] RunDroid-dual boot to (multi) Android [SD] or WM6

http://xdaforums.com/showthread.php?t=973921

Another alternative is Android Loader:

[APP] Android Loader v6.0 Final for HD2

http://xdaforums.com/showthread.php?t=733752

I used to use ProfileSwitch for this

[APP] Profile Switch for Phone, Wifi, Bluetooth and Data [1.17.0.0 - 17.06.2011]

http://xdaforums.com/showthread.php?t=762656

which is a great program that I still use for Windows Mobile. For Android I now prefer Exceller as it is very simple as it automatically recognizes all the ROMs (however the display can only show 11 of them). You can choose one as the default or easily choose another or Windows when you run the App. Thank you for asking and do let us know your experience.

Cheers

Tom
[HD2 Android SD Development] yugoport:
Something like 200 mb.. not more :)
[HD2 Android SD Development] Claus72:
Have someone successfully booted this rom Ginger 2.3.5 CM7_V40 http://xdaforums.com/showthread.php?t=1199917 ?
[HD2 Android SD Development] Claus72:
I have tried this build with Portadroid lite 3 and magldr but wifi it is not working.

I have tried also with the fix "magldr wifi fix GB234.zip" but nothing.
[HD2 Android SD Development] yugoport:
Have you tried to give full permissions to wpasuplicant?
[HD2 Android SD Development] iandy1:
Magldr or Clk?

Hi, please excuse me if this has been answered before.

Are magldr roms more compatible with the Portadroid v3 porting process than clk roms?

Thanks to boonbing for this awesome tool.

Thanks.
[HD2 Android SD Development] greencloudz:
Thanks Tom for the great response. I definately will try this and give feedback. Mark
[HD2 Android SD Development] Claus72:
Thank tou for your answer but wifi give error when I try to enable it.
[HD2 Android SD Development] yourender2:
I can't give full permissions to wpasuplicant

because always FC with root explore.

I have try 3 Roms, same issue.
[HD2 Android SD Development] Claus72:
I have solved. The wifi now it is working but it seems that I have to do this operation every time I restart the phone. :(

Thank you.
[HD2 Android SD Development] neoissuperman:
UNCLEAR?

so can i use this to port a sense 3.0 ROM to SD build?
[HD2 Android SD Development] yugoport:
Yes u can: o)
[HD2 Android SD Development] yugoport:
Hmm.. are you using root explorer or the chmod777?
[HD2 Android SD Development] yugoport:
One thing that I noticed, why the system folder in one of the ported roms has 140 mb aprox. (with 80 mb used and 60 mb free) and the system.ext file has 200 mb?
[HD2 Android SD Development] Szczepanik:
Magic number for RAM

Boonbing

"magic" value to mount non-Sense ROMs maybe should be 160 MB RAM

According to Titanium backup "Internal" (presumably RAM) measures:

157 MB Nexus SD v2.8

152 MB Oxygen 2.2

104 MB Hyperdroid

I do not understand all this but 160 MB is a round number that is slightly larger than the 157 MB required for Nexus SD and would still leave 290 MB free out of the 450 MB you quote. Hope that makes sense and thank you for working on v3.1

May I add that my main concern with all HD2 Android SD Development is the standby battery drain at 60 ma which prevents me from switching full time to Android. Any advice or development you can do in that respect would be greatly appreciated.

Cheers

Tom
[HD2 Android SD Development] yugoport:
I'm currently testing 7 SD roms and all of them have a standby drain of 4-10 ma, are you booting from winmo? If so try to put it in airplane mode, install Exceller autoboot or rundroid, and boot to android as soon as you can after boot.. check if you have Bluetooth on, as some roms have a 60 ma drain with it on..
[HD2 Android SD Development] Szczepanik:
Standby drain

Yugoport thanks and yes I am booting from winmo using Exceller but I had not been putting it in airplane mode first - I will try that! Cheers, Tom
[HD2 Android SD Development] Graeme748:
boonbing, sorry for the delay in providing my next update. After following your instructions, I was able to load Portadroid Lite v3.0/Oxygen 2.2.1 and change the kernel to Hastarin 8.6.

Unfortunately it is unstable and re-boots unexpectedly. I thought the re-boot was occurring when I attempted to load Fancy Widget, but then I realised that it re-booted even when I just left it alone for a while. The last time I attempted to boot up I found I was back to the original set-up screen, so I assumed that all my settings had been lost.

So, I haven't actually reach the point where I can test Bluetooth.

So I am back on Jaguaralani GE, while I think of something else to try!

Maybe I'll give the Typhoon CM7 a go...

Still, thanks for all your great work - I'm sure I'll be able to use it eventually.

Cheers

Graeme
[HD2 Android SD Development] kyrunter3:
I have successfully ported every MUIUI ROM i tried .

But none of them had working wifi and none got root acces :/

anyone else tried any MUIUI rom ?

-Tried using portadroid v1.1,v2 and v3

-with tytung kernel

..same issues.
[HD2 Android SD Development] greencloudz:
android loader

Thanks Tom. Rundroid was working well with one ported ROM. But per your tip Exceller is perfectly handling the Hyperdroid GBx, and the latest versions of Oxygen, and TyphooN CM 7.

:)

Thanks again. Also I'll try shutting off any open Bluetooth & putting winmo into airplane mode.

In addition to having Leo's sense off. M
[HD2 Android SD Development] greencloudz:
))

Looks like my wifi in TyphooN CM 7, also is not enabling. The wifi folder per a look with root exployer shows

rwxrwxrwx is fine.

Is there an instruction somewhere how to give full permission to wpa-

suplicant?
[HD2 Android SD Development] Claus72:
I have solved the problem. :D

Delete the folder /data/misc/wifi, it is working for me.
[HD2 Android SD Development] greencloudz:


Thanks! I'll try it.
[HD2 Android SD Development] Szczepanik:
Rafpigna is back with 2.0

[07.aug.11][KERNEL]RAFPIGNA 2.0 OC [1.5ghz-Ext2/3/4-CIFS-UTF8-EAP-UV-EB-CLK]

http://xdaforums.com/showthread.php?t=940823

2.0 OC GB Patched for high BT drain on GB builds (remember that to have this working, your rom must support it in init.rc! read here http://xdaforums.com/showthread.php?t=1007774 )

Would appreciate feedback on this and how to implement ....

Cheers

Tom
[HD2 Android SD Development] boonbing:
Looking into it... the patch lines is in Portadroid but in another file init.htcleo.rc.

Also working on Portadroid Lite 3.1, to auto merge init.rc and init.htcleo.rc from actual rom... I think this should take care of most unable to boot and wifi issues.
[HD2 Android SD Development] greencloudz:
Thanks. I renamed & moved the wifi folder to a different part of the card.

Rebooted, but attempting to enable wifi still gets "error".

The other two ROMs Oxygen & Hyperdroid 's wifi work fine.

Perhaps reinstalling will help.
[HD2 Android SD Development] Graeme748:
I too have installed the TyphooN CM7 ROM and have the same issue with the wifi error. My problem is that I can't even find the "/data/misc/wifi" folder!!! Is it on the root of the SD card?
[HD2 Android SD Development] Claus72:
Try to delete the entire wifi folder.
[HD2 Android SD Development] Claus72:
Use root explorer to find and delete the folder.
[HD2 Android SD Development] greencloudz:
Okay. See in SD card: android/update/data_files/misc/wifi.Let. us know how it goes.
[HD2 Android SD Development] greencloudz:
Grazie(Thank you)The wifi folder is now deleted, but same "error" response when attempt to turn on wifi in settings.

Bene(Good) that yours is working.
[HD2 Android SD Development] hawild:
MIUI rom WiFi working with v1.0

With Portadroid V1.0 and orijinal MIUI.US rom for HD2, WiFi works.
[HD2 Android SD Development] kyrunter3:
@hawild

v1 was the only version i did not try ...and i still wonder why :P

it does work my friend ;)

Thank you

btw the portadroid v1 link gives v1.1 instead .
[HD2 Android SD Development] yugoport:
Is it working well or are you experiencing some lags with data on?
[HD2 Android SD Development] boonbing:
Thanks to clause72 for the idea... A quick tip for those experiencing wifi issue on non-sense Rom like Typhoon cm7... Delete the entire "data_files" folder found in "/Android/update/" before you port with the patch.

But beware that the above may not work for some roms ... you may end up stuck at HTC logo without the "data_files".
[HD2 Android SD Development] hawild:
For V1.0 use the following link:

http://boonbing.sylvester20007.com/Portadroid_SuperRAM_GB_v1.0.zip

I don't know the reason but Nand roms for HD2 have always WiFi problem except orijinal MIUI.US rom and no data lag.
[HD2 Android SD Development] Claus72:
I have a problem with Typhoon cm7 and xmarex-rc6. Data connection is not working with no apn, any suggestions?
[HD2 Android SD Development] yugoport:
Hi boonbing and guys, just an update ..

I booted the same rom (pats miui sense) with portadroid 1.0 but disabled ram system in startup.txt, the data lags and the slowdowns when we had only 200 mb or less of free ram went away .. and this thing its so fast and smooth that I just can't believe..

It's not perfect, because after a few hours i start to have a few slowdowns and lags, but I'm just trying to find what's causing that, but for now this thing is running very well and smooth .. portadroid can be used to port roms without load them in ram too .. what a versatile tool ..

Will give more feedback in next days ..
[HD2 Android SD Development] boonbing:
U

Hi. If possible, can you try to download autokiller memory optimizer and use preset settings = ultimate and see if it prevents the lag?

SuperRAM may need a more strict management on the memory compared to Nand or pure SD boot. If the above helps, I'll put those value on Portadroid boot.