yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] Szczepanik:
Reseved for Learning Never Ends team

If you find this thread helpful then do not forget to

Rate: *****

Submit thread as News Tip

If you find a particular post is helpful, please click on the :good: Thanks button.

If you are using XDA App or Tapatalk, long press on the post and select :good: Thanks

The Learning Never Ends team is a very small group of a few HTC HD2 Android enthusiasts who have been inspired by our dear friend and LNE team member Kuzibri to remember that Learning Never Ends and share our learning with you. I suggest that you do not send PM to the team as they may take a long time to be answered (if at all - particularly those that start with the subject "I want"!) Remember that all of us volunteer our free time.

Cheers

Tom
[HD2 Android SD Development] kuzibri:
Hi Tom,

thanks my very dear friend for the credits :highfive:. I will try my utter best to be of help on this thread too. Members can ask me all kind of questions related to WinMo 6.5.5 and/or Android Native SD. Regarding the Native Android SD, your posts are as clear as possible and can IMO hardly lead to a lot of questions, so I will focus on the software side of it. , i.e. which ROM to use, how to solve problems with Android, etc, etc. I would like to suggest that it's, in my personal case, allowed for members to send me a PM if necessary, cause, for well known reasons, I have the time to answer and I'm used to always answer my PM's ASAP.

very best regards and good luck with this new thread, Kuzibri
[HD2 Android SD Development] wis1152:
I would like to say a BIG HELLO to the latest member of the LNE TEAM, kuzibri:):thumbup:

Its an honour to have you on board:)
[HD2 Android SD Development] kuzibri:
Thanks very much my very dear friend, highly appreciated and much honoured to be part of your team now!!!!!!

very best regards, Kuzibri

P.S. Edit your signature!!!!I I changed mine, so you can change it too, the learning never ends is back!!:victory:
[HD2 Android SD Development] vikingzou:
I haven't say thank you to people for a long time, but this time I have to say: Thank you, LNE Team.

Will try it later.
[HD2 Android SD Development] Wuehli:
First: Thank you VERY much for this Guide, i just startet to "learn" about Android NativeSD with WM 6.5 and it was hard to get information together for absolute beginners.

Second: Questions!

Requirements, i have a HD2 (Europe version) with the lastest original WM 6.5 ROM from my Provider,

do i have to flash a Hard SPL or upgrade the Radio to later version to use Android NativeSD?
[HD2 Android SD Development] kuzibri:
Hi,

First of all: welcome to this thread!!!

if you have the latest ROM version from your provider, which is HTC's 3.14 ROM, you already have SPL 3.03 and Radio 2.15. The SPL version you can check on your tricolor bootscreen and the radio version in settings-software. If you have these versions, there is no need to flash a Hard SPL,

best regards, Kuzibri
[HD2 Android SD Development] Wuehli:
Now there is a guide i just had to try it out. Everything worked fine till i tried to start Android after flashing by first executing clrcad.exe.

I received the Message: Application not signed,..blablabla.

From this point, a lot of other applications from WM6.5 wont work any longer to :crying:

But i found a solution here:

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

maybe you can add this to the guide, or make it a step to change settings befor starting to flash because its very hard for a normal beginner to

change Regkeys when most apps wont work any longer.

After changing the RegKeys Android starts and iam very happy to use it and can always switch back to WM6.5!

Thanks again!!

(sorry 4 bad english :laugh:)
[HD2 Android SD Development] kuzibri:
Hi my friend,

First of all: after pressing clrcad, you have to press haret.exe!!

maybe something went wrong with the partitioning of your SD card for the .EXT4 partition, therefore I would like to advise you to use another program for partitioning your SD card. Have very good experiences with that one. See attached file. Backup your SD card to PC, unzip this file and copy it to the root of your SD Card . Then download the Native SD Android build of your choice and put it unzipped in this recovery folder and press clrcad and thereafter haret.exe and your Native SD Android will be installed without ruining the WinMo apps and/or changing reg keys because they are at this moment not on your SD Card. .After installing the Native Andoid build, copy your WinMo progs back to the SD Card and they will be copied in the FAT32 partition of your SD Card.

very best regards, Kuzibri
[HD2 Android SD Development] musti35:
Thank you very much for your post.

Class 10 or Class 4 micro Sd better for Native SD Android roms.?

Before i used Class 10 micro sd for Sd Android roms.

But it is very slow and with a lot of problems when SD rom starting.
[HD2 Android SD Development] Robbie P:
What name did you use for the recovery folder, on the root of your sdcard, which you put Haret and the other files into?
[HD2 Android SD Development] techcntr:
I used "4extrecovery",
[HD2 Android SD Development] Robbie P:
Then you need to edit startup.txt to reflect this name change rel-path="4extrecovery"

Edit; or change the folder name back to exactly what it was originally (ie Whatever_it_was if rel_path="Whatever_it_was")

Edit; Actually, i just read the bit about installing recovery (post#3 of this thread) and the recovery mentioned (4ext_recovery2.2.7sd), is no longer on Xylograph's goo repository, and the above about editing startup.txt is not mentioned.

I will edit post#3 when i have a moment, but am not on wm ATM so can't test the ones that are there.
[HD2 Android SD Development] techcntr:
I wound up using "recovery_cwr_5.5.0.4_leo" because, as you said, the Xylograph file is no longer there.

This is an example of the issues I'm having - broken and out-of-date links. Isn't there SOMEPLACE where everything is up-to-date?

Thanks, with more thanks to come.
[HD2 Android SD Development] Robbie P:
You have to expect broken and out of date links and guides to a certain extent, this is an old phone, Devs and users move on, hosting sites (and accounts) are closed down, hard disc drives get corrupted, etc, and it would be a huge amount of work to get everything up to date for the benefit of a diminishing number of new users.

However, there may still be copies of files in existence, and there are still quite a few people willing to help users with issues.

I hope to start posting some useful links here soon- http://xdaforums.com/showpost.php?p=50497876&postcount=2

Good luck
[HD2 Android SD Development] poyensa:
Attaching xylo's 4ext recovery 2.7.7, working fine in my winmo-leo sd

http://d-h.st/Nqe

I like this: http://xdaforums.com/showthread.php?t=1292146
[HD2 Android SD Development] theonepharaoh:
cache mount problem nativesd

I have a problem with hd2 native-sd

My phone

EU HD2 Windows Phone 7.8 nand

bootloader magldr

32 GB class 10 sdcard ==> 10gb fat / 5gb Ext / 16gb wp

Native-SD android 4 versions

Some native-sd roms and even some recoveries

in fact anything that mount the cache partition

it stops at green htc logo then restarts

they boot when formatting nand for android

I think it is Because all of the nand is Windows Phone formatted

I will need a tutorial on how to fix the issue without removing the windows phone

I think this issue is on Windows mobile 6.5 too

And also a tutorial on how to change a rom's name before flashing

For native-sd , data on Ext , direct-sd
[HD2 Android SD Development] Robbie P:
You are right in that all of the nand is used by windows phone. That is why there are edited recoveries for NativeSD, exactly like the one Poyensa mirrored in the post above yours. Have you tried it too? It should work for both wm and wp7.

Changing the rom name depends on which rom is being installed. tytung's roms involve editing ROM_NAME.prop in the boot folder of the rom.zip and init.rc in initrd.gz using linux. With some other roms updater script needs editing along with init.rc.

Why do you want to change rom name?
[HD2 Android SD Development] theonepharaoh:
1st the problem is the roms that mount the cache partition such as sense 4 and 5 roms ... is there a way to edit them to work too

I already have a good recovery

I attached one of the kernels I am having this problem with would you edit it to stop mounting the cache partition

2nd about the rom name I am working on a little project of my own may own

and maybe if it works I will share it
[HD2 Android SD Development] Robbie P:
The ramdisk you posted seems to mount the cache first then move it to /data

The actual coding of this is a bit beyond my meagre skills, and i have no linux on pc at the moment. perhaps [MENTION=3907492]gilbert32[/MENTION] might be able to help.
[HD2 Android SD Development] gilbert32:
2nd issue: just like Robbie P said.

First issue: you can comment the mount cache line, and i HIGLY RECOMMEND that you checkout ueventd.htcleo.rc. if it has a misc@mtd line, comment or delete it. That's what prevents many roms from booting on wm
[HD2 Android SD Development] HypoTurtle:
on fs
# mount mtd partitions
exec /bin/busybox sh -c "/bin/e2fsck -p /dev/block/mmcblk0p2 > /fsck.log"
mkdir /NativeSD
mount ext4 /dev/block/mmcblk0p2 /NativeSD wait noatime nodiratime barrier=0
mkdir /NativeSD/primo
mkdir /NativeSD/primo/system
mkdir /NativeSD/primo/data
exec /bin/busybox mount --bind /NativeSD/primo/system /system
exec /bin/busybox mount --bind /NativeSD/primo/data /data
mount yaffs2 mtd@persist /mnt/persist nosuid nodev
mount yaffs2 mtd@cache /mnt/cache nosuid nodev
mount yaffs2 mtd@persist /mnt/persist nosuid nodev
on post-fs
# once everything is setup, no need to modify /
#mount rootfs rootfs / ro remount

Looking at this first off remove / comment out the yaffs2 lines as they aren't doing anything anyway. I believe the persist partition is only on sense roms, not sure of it's purpose so not sure if it's essential. If it is then you should get around it by creating another folder similar to the system and data ones and bind mounting it.

mkdir /NativeSD/primo/persist
exec /bin/busybox mount --bind /NativeSD/primo/persist /persist

Have a look at patcher in my sig. which patches the ramdisk for you during install and allows for the changing of rom name essentially on the fly.

I don't recall testing it on/with Sense roms and if the issue is this persist partition that can be easily fixed/added. You can run the patcher from a running Android rom so no need to run linux .

(In short the patcher comments the yaff lines from uevent.d and init.rc, adds the nativesd mounts and adds in the desired rom name)
[HD2 Android SD Development] didimos:
if i have the stock rom 3.14 and 3.03 hspl will i be able to flash android in sd card and have both of them? is the steps from page 1 the same or i have to do something else?

thanks
[HD2 Android SD Development] Robbie P:
should be ok. I think some users had some problems with 3.03 on some roms.

Try it.
[HD2 Android SD Development] DavidBiodE:
Zunächst benötigen Sie eine Lizenz zur Installation von Windows 10. Anschließend können Sie das Media Creation Tool herunterladen und ausführen. https://getintopc.site/windows-10-pro-core-iso-32-64-bit-free-download/
[HD2 Android SD Development] wis1152:
In theory a class 10 card should be better but it also depend on the make of the card,i was using scandisk:)
[HD2 Android SD Development] kuzibri:
Hi,

Class 4 should do it.

best regards, Kuzibri

EDIT: sorry Wis, missed your post! I also use Sandisk
[HD2 Android SD Development] Szczepanik:
#2 Setup Partition

Kuzibri, I have changed the post #2 Setup Partition to emphasise that there are two methods to create an EXT4 partition on your SD card.

i) On your PC using MiniTool Partition Wizard (recommended by Xylograph)

ii) On your HD2 using the 4EXT Recovery Classic program mentioned in the next post #3 Install Recovery

Kuzibri I recall you are using the EvoHd2v10 ROM from mr-evil1 that I suggested for you because you had asked for one where ext4 is created automatically on the SD card. However I had some issues and the installation is not consistent with Xylograph and Tytung ROMs that install to a sub-directory of NativeSD.

Cheers

Tom
[HD2 Android SD Development] hd2009:
i just launched haret.exe, nothing happens, black screen, the phone is stuck at "jumping to kernel (custom)..."
[HD2 Android SD Development] musti35:
Thanks for your answers.

I will buy Class 4 Sandisk micro SD.
[HD2 Android SD Development] hd2009:
maybe it has to do with radio version or RAM SIZE ?!?!?!?, i dont know...

Just let me remind you I'm a new user.

I found this youtube video, i have the same exact problem . Help please :confused:

youtube.com/watch?v=b5E1aATY8Mw (i can't paste external links , OMG.. This forum is not for beginners or for helping new users....)

My radio version is 2.06.51.07

Manila version is 2.5.19211619.0

RAM SIZE 448 MB.

Hope this helps.
[HD2 Android SD Development] hd2009:
Now i have ROM version 3.14.408.2 and Radio version is 2.15.50.14.

Everything works fine, thank you. EvoHD2v10 aboard.
[HD2 Android SD Development] kuzibri:
Hi Tom,

using PACman now. Works fast and stable.

very best regards, Kuzibri
[HD2 Android SD Development] kuzibri:
Hi my friend,

of course this forum is also for beginners and for helping new users.Your "OMG" remark is IMHO premature and not justified, If you had mentioned in your first post what you did in this post, then we could have helped you directly by telling you that you need SPL 3.03 and Radio 2.15, which both come with HTC 3.14 ROM, as you already found out. It's always advisible when you report a problem also to mention your ROM version, (H)SPL version and radio version, then we can be of quick help. :)

BTW, not being able to paste/post external links has to do with your amount of posts at this moment. These are the official XDA rules. and has nothing to do with this forum ;)

best regards, Kuzibri
[HD2 Android SD Development] pakure:
Little More clarification. ..You need radio 2.08 or above to run Android on the Hd2.you can run Android even on the early 1.42 rom. . But you need correct radio.... The problem was that your radio was. .2.06

P.s.Great guide. . LNE TEAM. . Congrats kuzibri. Keep going:thumbup:

handwritten from my note 2 (N7100)
[HD2 Android SD Development] Szczepanik:
HTC HD2 Windows Mobile 6.5 Requirements

Added to #2 Setup

Thanks to pakure

Cheers

Tom
[HD2 Android SD Development] vikingzou:
Just tried, simply followed the instructions step by step, everything works smoothly :), thanks LNE Team for the super detailed instructions.:good:

What I did:

1, backup sd to PC.

2, format SD to FAT32 (NOT quick format).

3, create an EXT4 partition by MiniTool Partition Wizard Home Edition.

4, copy the whole 4EXTRecovery folder to SD root folder and put downloaded NativeSD ROM (from MIUI official website) to SD.

5, flash ROM to SD-EXT partition and reboot.

Done.

I have the system selector in NAND which is for SD based Android so I saved some time for this step :)

Moving everything back to SD now....it takes a while.

BTW, I noticed "c) Format sd-ext (do not format sd-ext2, this is your WP7 partition, if present) ", does it mean we can install WP on SD too ? I mean keep WM in NAND and install WP and Android on SD. I did some search but coudn't find any clue, can someone please help me?
[HD2 Android SD Development] pakure:
No wp7 on SD card..(until and unless cotulla releases magldr2.0 :p)........,............it says if present (on nand)
[HD2 Android SD Development] kuzibri:
Hi my friend,

thanks very much for your positive reaction, Very much appreciated!!!!! We always try to do the best we can!! Credits for the guide go to LNE member Szczepanik :)

very best regards, Kuzibri
[HD2 Android SD Development] kuzibri:
New PACman version

Hi all,

there is a new version of PACman released: V1.2a. You can update to it OTA.

very best regards, Kuzibri
[HD2 Android SD Development] blamp1:
Hello all :)

Many thanks for this guide !

I have try many nativeSD roms and all work but i doesn't have internet data/3G

I usually use normal sd roms and no problem with data.

I have try to unset/set data and reinstall apn for the same result

Anyone have an idea ?
[HD2 Android SD Development] Szczepanik:
Internet data/3G

blamp1, sorry to hear you don't have interent data/3G. I don't use it myself - I just use WiFi. There are other people that have had your problem. Please give us some more information. a) Which country are you in? b) Which carrier do you use? c) What does it show when you go into Settings > wireless & Networks > Data Usage? d) Is Mobile data "ON" and can you Set mobile data limit? e) When you install the ROM, which option do you select PPP or RMNET? For many ROMs the default is PPP - which is what you want for WM - and you should NOT check RMNET -see screenshot. f) Which NativeSD ROMs (state the version) have you tried? g) Which Radio are you using?

Cheers

Tom
[HD2 Android SD Development] Szczepanik:
WP7

vikingzou thank you for the positive comments and glad to hear that your MIUI NativeSD went smoothly. As pakure said, you cannot install WP7 on SD card. (See Windows Phone (WP7) Installation in #8 Links to Other OS) I have removed the note about WP7 from step c. I appreciate this feedback from users like you. With your help, we can improve the guide.

Cheers

Tom
[HD2 Android SD Development] blamp1:
Thank you Szczepanik :)

You're right, i forgot some informations:

a) Country: France

b) sorry, i don't understant what 'carrier' mean :)

c) Data usage: 0 ko used

d) Mobile data is ON and i can set mobile data limit

e) I select PPP during the installation

f) I have try ics and jb roms (both miui version)

g) Radio 2.12.50.02_2

And internet is ok with the wifi.
[HD2 Android SD Development] kuzibri:
New PACman version

Hi all,

Sorry, the OTA update does not funtion//work like it should. So, If you want to upgrade to V1.2.a, visit the home page of Xylograph to DL and install it.

very best regards, Kuzibtri
[HD2 Android SD Development] Szczepanik:
Internet data/3G

blamp1 thanks. I suggest you try any one of Tytung ROM (ICS/JB):

[Nov. 18, 2012][ROM][720p] NexusHD2-ICS-4.0.4-CM9-HWA V2.8 [NativeSD]

[3.Nov.2012][ROM] NexusHD2-JellyBean-4.1.2-CM10 V1.2 [NativeSD]

Let us know if data works for you with Tytung ROM.

"carrier" means Service provider or telephone operator (for me it is O2). It is good to put this information in your "signature".

Cheers

Tom

---------- Post added at 11:27 PM ---------- Previous post was at 11:16 PM ----------

Kuzibri thank you for your support of this thread.

OTA Update allows you to receive notification and easily download an updated version of a ROM. This is saved to a folder on your SD card called sdcard/OTA-Updater/download. Using OTA is the same as downloading from the home page but possibly more convenient. You then have to use recovery to Choose a zip to apply - for example from OTA-Updater/download.

I will add this to the OP #6 Updating. By the way I added some screen shots to #4 Install Native SD.

Cheers

Tom
[HD2 Android SD Development] kuzibri:
Hi my friend.

1. carrier=provider

2. do not chose ppp during installation

3, regarding ROM.s, I need some more information from you in order to give an advice on this matter

4. Radio version is good.

best regards, Kuzibri

---------- Post added at 01:21 AM ---------- Previous post was at 01:15 AM ----------

Hi Tom,

glad to be of help, so no thanks are needed (just doing my normal and now also LNE job!!!)!! I know the sequence of downloading OTA and how to use it, but it did not work for me for unknow reasons. It told me everytime that, after completely installing it, the DL was not good, so I choose for the DL from Xylograph's page ;)

BTW, PACman version V1.2a is faster than the previous one. Cannot judge about the stability yet.

very best regards, Kuzibri
[HD2 Android SD Development] kuzibri:
Backup/Restore

Hi my dear friends,

now we are using Native SD, I wonder which is the best backup/restore program for a partioned SD Card?? Normally I use Sprite Backup, which works fantastic, untill I format my SD Card. After that. Sprite restores everything, besides the "hidden" partition for Native SD. If I do not format the SD card. it works very fine and also restores the Native SD section.

very best regards, Kuzibri
[HD2 Android SD Development] pakure:
he he he...atlast pulled kuzibri onto the native sd roms especially xylos pacman;)
[HD2 Android SD Development] kuzibri:
Hi my very dear friend,

I'm on Native SD already for several weeks (my sig already mentioned PACman almost four weeks ago!!), maybe you missed that!! :) Now on PACman V1.2.a!!

very best regards, Kuzibri
[HD2 Android SD Development] Szczepanik:
Backup NativeSD

Kuzibri, first you need to backup the EXT4 partition onto the FAT32 partition of tje SD card and then backup the FAT32 partition. This is covered in section #5 Applications (Run Backup Restore Delete) but I am happy to rewrite to make it clear. There are several ways and the choice is yours. You can do the backup from Recovery or from Android.

From Recovery you can use Tytung's "NativeSD Touch Recovery" which allows you to backup a single ROM to FAT32. Alternatively you can use the 4EXT Recovery menu option for Backup | Restore (see 1st screenshot in #4) to Backup all the EXT4 Partition to FAT32 but I think the limit may be 2 GB (can anyone confirm) and it takes a long time.

From Android you can use datagr's Android app "nativeSDMultiBoot" Version 10.0 has button to Backup rom. His estimated time is 3-10 minutes for each ROM.To be honest, the updates come so frequently and it does not take long to install a ROM again so I only use the above just before I update to a new ROM version (just in case!).

My frequent backup is using the Android App "Titanium Backup root" that has Schedules that run several times a week. This keeps my data and apps safe and makes it easy to restore to different ROMs. It includes xml backup of mms and calls and an option to synch to the Cloud. About once a month I copy the entire FAT32 Partition of the SD card to my PC (note this can take some time!). I do use the Cloud for synching documents between my PC and mobile and keep my Contacts and Calendar synched with Hotmail and my email is synched with Google. This has worked perfectly for me - I was only mildly inconvenienced by mr evil1 wiping my EXT4 Partition when I tried his first release. I could restore everything to a different phone just using the Cloud.

Do you use Sprite Android Backup - what do you think of ii?

Cheers

Tom
[HD2 Android SD Development] kuzibri:
Hi Tom,

I indeed use Sprite Backup. but the WinMO one. Use it now for more than three years and it works perfectly for me. Backup is very fast, about 5 mins for 1,5 Gb, only "nasty" thing is that the restore takes very, very long, about 2,5 hours, but after a restore everything works perfect.

very best regards, Kuzibri
[HD2 Android SD Development] hd2009:
im sorry :)

I appreciate your help, just keep in mind I was a little frustrated. :)
[HD2 Android SD Development] kuzibri:
Sorry not needed my friend, my post was just meant as a good advice for a new user of how to post problems in the near future in order to get a quick as possible reply/solution. ;)

very best regards, Kuzibri
[HD2 Android SD Development] blamp1:
Thanks Szczepanik for your help.

I finally found the problem

One of the rom not work for me and i have to put manually the apn because my apn tool cannot work in JB (i tought it was ok)

Now it's work :)

And apparently, the most improvement in nativeSD is the battery life. It's really good !
[HD2 Android SD Development] kuzibri:
No news??

Is there no news anymore in this thread??? Can hardly imagine that!

very best regards, Kuzibri
[HD2 Android SD Development] pakure:
Unfortunately kuzibri. . Many have moved on from wm 6.5... They are all dual booting wp7.8 with Android native sd now:D:p:rolleyes:

handwritten from my note 2 (N7100)
[HD2 Android SD Development] kuzibri:
I know my dear friend, but I still cannot understand that you swap the most versatile OS for a closed one, like wp7.8 and or iOS, just MPO.

very best regards, Kuzibri