FORUMS
Remove All Ads from XDA

[13.FEB.2011][DFT|CWM]AF403 DesireHD stock base 1.5 [/data ext4onSD][Krn:RAFPIGNA1.7]

167 posts
Thanks Meter: 154
 
By andrewf403, Senior Member on 10th January 2011, 12:00 PM
Post Reply Email Thread
Description:
Yet another approach to Desire HD ROM for Euro (LEO512) HD2.

The goal was maximum performance and enough user storage for applications.

So let me introduce to you unsquashfsed gauner1986 HD-FI with real ext4 /data partition on SD card.

Now it is as stock as never before! ) It is not squashfsed with the real ext4 /data partition on SD card. based on original WWE 1.72.405.3

Still, I removed Google Maps and Adobe Reader, as better and newer versions are available at Market. For those living in countries were Google apps are not in market (like me) link to Google Maps is attached.


So what is the difference?
  1. Unlike "data.img" method, this is actual real ext4 partition on the SD card. I believe this is more efficient and elegant solution, but this is not scientifically proven yet
  2. Unlike APP2SD+ this method does not use internal storage for user data at all. It makes possible to better fit huge Desire HD ROM into 512 MB. It has downsides too, but later on that
  3. Because uncompressed, unstripped Desire HD ROM takes nearly all European HD2's NAND it is unusable with internal storage. Squashfsed and stripped versions are good, but I wanted to get as close as possible to unmodified ROM.

Because I'm novice I took gauner1986's HD-FI 0.3 excellent ROM as a base. Basically, only modifications I made are:
  • Unsqushfsed system
  • Put back HTC Calculator widget (really missed that one)
  • Put SoundHound app back. It is usefull as for me, and free version has less restrictions than Shazam
  • Modified initrd to make use of /data on SD possible
  • Switched to MDJ's kernel (Looks like gauner1986's kernel does not support ext4, or did something not right with it. Anyhow, it works with MDJ's kernel). Rafpigna kernel now.

Requirements:
European HD2 (LEO1024 users: you do not need this ROM)
MAGLDR 1.13 or newer
PROPERLY PARTITIONED SD CARD

Installation:
  1. First you need to partition your SD card. Process is not different to APP2SD+ method. First partition should be FAT32, second - ext4. Both primary partitions. Detailed guide you can find here. I'm using it with 1GB ext4 partition, and I recommend that size, but you can try any other and report bugs if any.
  2. If you have already partitioned your card, for use with another build, please reformat (clear) your ext4 partition.
  3. Enter MAGLDR (hold power button during boot) and select "Flasher" using "VolUp" and "VolDown" keys. Confirm with "green" button.
  4. Connect USB cable and run DAF.exe. Follow instructions.

Version 1.5 release notes: (detailed description)
  • You will have to upgrade MAGLDR to version 1.13.
  • This version includes CWM but you will need to flash DFT installation first. Standard CWM installations are not compatible with this ROM. So providing DFT installer I'm basically saving your time, because if your moving from another ROM you would need to reflash CWM anyway.
  • Do not apply any kernel update.zip files not from this thread. This ROM using non-standard partition table, so in bright scenario that zips would not work, and in worst case they will render your installation unbootable.
  • All future updates to this ROM will come as DFT installation (for sure) and deferential update.zip files (highly possible).
  • Main reason to include CWM was ability to reformat SD card partitions on device. So you do not have to format your card on your PC to do hardreset.

Notices and warnings:
  1. No warranties. I'm not responsible for any damage that can be done to your device or data. Do backup. Always.
  2. I made this for myself, but I think there are people here interested in data partition on SD, so I share this with you. There be bugs, please report back.
  3. This build will not boot if SD card is not preset or if it is not partitioned in right way. This is only downside comparing to APP2SD+. But I intentionally did not provide any checks or options to use storage on NAND, because not much storage is available on NAND after flashing this ROM.
  4. First boot takes more time, as it creates directory structure on /data partition
  5. On slow cards (not SD-HC) there may be warning "System in not responding" during boot. Just tap wait. On my class 4 SanDisk everything is fine.
  6. /data partition on card is left intact when you flash versions of this ROM. So you will be able to upgrade to new versions saving your apps and settings.
  7. On other hand, hardreset does not work. To wipe your data you will have to format ext4 partition using your PC. You can do hardreset using CWM's card formatting features.
  8. Like every other Desire HD ROM after first boot it is slightly laggy. Do all you settings, install some apps, make reboots. It will go away.
  9. Every other note from gauner1986 except sqashfs related are relevant too
  10. Reported that ext4 partitions more than 2GB may cause stability issues. But for some users 3GB works fine. Personally I recommend 1024MB partition. It is stable and more than enough for all your apps. On real Desire HD you would had same amount of storage

Credits:
Besides the concept and some hours of research and init editing, here is not much of my work, so credits go to:
  • Cotulla and DFT for MAGLDR and making all this possible
  • gauner1986 for Desire HD system I used in first builds to understand how all works
  • RaiderX303 for ClockWork Recovery Mod.
  • m-deejay for kernels in previous versions
  • rafpigna for kernel
  • rafpigna for ideas from his init script for data.img (he credits Kouno.Takaaki) and performance tweaks
  • white-energy for help with rooting issue
  • Every other single htc-linux and xda-developers.com developer who worked on Android for HD2, and whose names I did not lean yet. Thank you!

Roadmap
  • Switch to fully unmodified Desire HD system image Almost done
  • Find and eliminate bugs

Issues reported
  • Camera app force close if tap "Share" from preview screen. Looks like common issue among Desire HD roms. I'm looking for Camera.apk that will no FC. Meanwhile you can share photos you made from Gallery app. Or use this camera.
  • Try to set one of included (form HTC Wallpapers list) wallpapers causing "No more memory" message. Actually, I simply forgot to place these wallpapers in ROM image . Please set you own wallpapers from Gallery option until update.
  • Rooting problems
  • Wakeup lag (I do not have notable, is it for everyone, or not?)

Change log
Version 1.5
  • Switched to Rafpigna 1.7 Kernel. More stable performance and battery consumption. G-Sensor calibration fix.
  • Clockwork Recovery integrated thanks to MAGLDR 1.13

Version 1.1
  • All ringtones are in place
  • Implemented performance tweaks from rafpigna. It also should seriously decrease data corruption possibilities.
  • Upgraded Kernel to MDJ 10.3
  • Maybe I forgot something

Version 1.0a
  • Fixed Camcorder in favor of sharing from preview screen of Camera app. Read more here.
  • MMS size limit upped to 1024KB. You can still choose 300KB, if your carrier has smaller limits. New users - every thing will work automatically. Updating users - please Read more here.
Version 1.0
  • Fixed issue with standard wallpapers. They are there now )
  • Fixed camera force close after sharing pressed on preview screen.
  • Even more stock now )

Version 0.9
  • Fixed rooting issue. Thanks to white-energy

Downloads
As for screenshots
It is stock Desire HD look and feel. There are plenty of pics on Internet. On my device I already changed wallpaper and widget layout, so it is late to take screens. Just google Desire HD

But, just for information what it is all about look at this:




Yet again, it is my first ROM, originally made for myself, but I feel that somebody want this too, so I'm sharing. Be advised, there may be bugs, so test and please report.
The Following 89 Users Say Thank You to andrewf403 For This Useful Post: [ View ] Gift andrewf403 Ad-Free
 
 
10th January 2011, 12:08 PM |#2  
Senior Member
Flag BrasoV
Thanks Meter: 334
 
Donate to Me
More
excelent news. downloading now. can u consider roatating sense in future versions ?
The Following User Says Thank You to criszz For This Useful Post: [ View ] Gift criszz Ad-Free
10th January 2011, 12:10 PM |#3  
Member
Thanks Meter: 1
 
More
Congrats Andrew, looks promising. I'm still on mdeejay's 1.9 CM7 NAND with S10.1 kernel, and I experience extensive powerdrain - even a constant 54mA when in flight mode.

Could you tell me how your power consumption is? I prefer Desire HD over Gingerbread CM7 but if the powerdrain is the same (as you are using MDJ S10.1 kernel as well) I won't bother flashing (yet...).
10th January 2011, 12:14 PM |#4  
Senior Member
Flag Pescara
Thanks Meter: 1
 
More
Just what i was waiting for! a DHD stock rom with ext4! tryin' right now!
10th January 2011, 12:17 PM |#5  
Member
Thanks Meter: 1
 
More
does the ext4 have to be behind the fat32?
10th January 2011, 12:20 PM |#6  
OP Senior Member
Flag Odessa
Thanks Meter: 154
 
More
Quote:
Originally Posted by BobaFeTT_NL

Congrats Andrew, looks promising. I'm still on mdeejay's 1.9 CM7 NAND with S10.1 kernel, and I experience extensive powerdrain - even a constant 54mA when in flight mode.

Could you tell me how your power consumption is? I prefer Desire HD over Gingerbread CM7 but if the powerdrain is the same (as you are using MDJ S10.1 kernel as well) I won't bother flashing (yet...).

Current widget shows 4mA in standby with 3G network. For me battery dropped only 4% overnight. But results my vary.
The Following 3 Users Say Thank You to andrewf403 For This Useful Post: [ View ] Gift andrewf403 Ad-Free
10th January 2011, 12:21 PM |#7  
OP Senior Member
Flag Odessa
Thanks Meter: 154
 
More
Quote:
Originally Posted by victorfungcy

does the ext4 have to be behind the fat32?

yes. First partition should be FAT32, EXT4 should be second
The Following 2 Users Say Thank You to andrewf403 For This Useful Post: [ View ] Gift andrewf403 Ad-Free
10th January 2011, 12:22 PM |#8  
hamdir's Avatar
Recognized Contributor
Beirut
Thanks Meter: 24,941
 
More
nice this is should be the fastest version!

now all we need is one more version based on gauner squashed v0.2 (only app and framework squashed) with a2sd+
10th January 2011, 12:23 PM |#9  
overshadowss's Avatar
Senior Member
Damascus
Thanks Meter: 69
 
More
any screen shots
10th January 2011, 12:29 PM |#10  
Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by andrewf403

Current widget shows 4mA in standby with 3G network. For me battery dropped only 4% overnight. But results my vary.

Wow, that´s a lot better than the 28% I lost from 2.20 A.M. until 10:30 A.M this morning.

Any special installation instructions? Should I do a task29 first or can I just flash your version over mdeejay's? And do I get to keep my apps then? (I am using an ext4 partition on my SD card).
10th January 2011, 12:31 PM |#11  
swordfish2009's Avatar
Senior Member
mumbai
Thanks Meter: 28
 
More
Quote:
Originally Posted by andrewf403

Current widget shows 4mA in standby with 3G network. For me battery dropped only 4% overnight. But results my vary.

only 4% in night .. are you kidding

will give it a try..

thanks mate..

Is there ZIP version available? to flash by CWM?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes