MultiROM Makes its Way Over to the HTC One (M8)

While browsing our forum, you will undoubtedly find more than a few enticing ROMs available … more

Welcome to the New XDA-Developers Portal!

You may recall that a few weeks ago, we opened up the XDA-2015 forum themesto intrepid users … more

An Android Enthusiast’s Apple iPhone 6 Challenge

The media has gone batty again over Apple “revolutionizing” smartphones. … more

Sony to Extend its AOSP Program to Other Devices

Sony will be offering its users the possibility to use AOSP ROMs as an alternative to the … more
Post Reply

[09 MAY][DFT/CWM]ManusFreedom-Gingerbread[NAND&SD]based on[NexusHD2-Gingerbread V2.7]

10th March 2011, 08:34 AM   |  #1  
manusfreedom's Avatar
OP Senior Member
Thanks Meter: 56
 
222 posts
Join Date:Joined: Jul 2008
Donate to Me
More
It's for Leo512 users who want a data (data.img) storage on SD card.

It's the tytung version (NexusHD2-Gingerbread_V2.7_NAND_(Android-2.3.4)) updated:
- No Data on NAND.
- data.img (ext4) in .data/ of root of SD Card (FAT32).
- data.img sizable (bigger or smaller) with .data/data.config of root of SD Card.
- Able to choose options to mount ext4 data.img (In data.config default&secure: data_ext4_options=noatime,nodiratime,sync,data=jou rnal / optimized: noatime,barrier=0,nobh,data=writeback,noauto_da_al loc )
- Able to choose to have dalvik-cache on data partition ( use dalvik_cache_datapartition=y in data.config ) or on NAND cache partition ( use dalvik_cache_datapartition=n in data.config )
- ro.HOME_APP_ADJ 1 in init.rc

Default data.img ext4 mount options in data.config:
noatime,nodiratime,sync,data=journal
It's secure but slow (very slow in some case, boot time can take 10 minutes)
Optionnal data.img optimized ext4 mount options in data.config:
noatime,barrier=0,nobh,data=writeback,noauto_da_al loc

For information, I will not modify Android components.
Why? Because I have not thoses skills .

Created this thread to support my version of tytung android rom (NexusHD2-Gingerbread_V2.7_NAND_(Android-2.3.4): http://forum.xda-developers.com/showthread.php?t=905060)

Installation Guide for MAGLDR 1.13 (based on Tytung guide):
1. Flash MAGLDR
- Download MAGLDR 1.13 (606 KB): http://cotulla.pp.ru/leo/Android/DFT...LDR113_DAF.rar
- Enter SPL by holding VOL DOWN key while booting the phone. (Make sure you have HSPL.)
- Run ROMUpdateUtility.exe to flash MAGLDR 1.13 (magldr.nbh).
2. Flash ClockworkMod Recovery
- Download MAGLDR_CWM_Recovery_v3.0.2.5_for_NexusHD2_System27 0M_Cache129M_NoData.zip (5.17 MB): http://www.multiupload.com/DQ9PHQ6O5Z
- Enter MAGLDR 1.13 by holding power key while booting the phone, and then select "USB Flasher" via "VolUp" and "VolDown". Confirm key is green "Call" button.
- Run DAF.exe to flash ClockworkMod Recovery 3.0.2.5 (MAGLDR_recovery_3.0.2.5.img).
3. Flash Android ROM
- Enter ClockworkMod Recovery when you're on MAGLDR 1.13 (hold "Power" button during boot) and select "AD Recovery" or "Boot AD SD" (if ever copied CWM's initrd.gz and zImage to SD).
- Flash NexusHD2-Gingerbread_V2.7_NAND_(Android-2.3.4)_update.zip (84.51 MB): http://forum.xda-developers.com/showthread.php?t=905060
- Flash Manus_NAND&SD_DATA_V2.7_(Android-2.3.4).0_update-signed (3.45 MB): http://www.multiupload.com/SPADDT5XXN

No direct upgrade possible from my previous Froyo version.
Upgrade with Titanium Backup:
1. Backup everything with Titanium Backup Pro (Batch/Run Backup all user apps + system data)
2. Follow my installation step
3. Get from the market and install Titanium Backup Pro
4. Restore everything with Titanium Backup Pro (Batch/Run Restore all apps with data)
5. Reboot

[B]Upgrade from my ROM 2.3, 2.4, 2.5, 2.6 to 2.7/B]:
0. Backup everything with Titanium Backup Pro (Batch/Run Backup all user apps + system data), it's to be secure
1-3. Follow "Installation Guide for MAGLDR 1.13"
4. Reboot

To resize to a bigger data.img (backup your data.img before):
1. If you don't have on sd a directory .data copy .data from install to the root of your sd
2. Open .data/data.config of root of SD Card
3. Change data_size to the size you want in megabytes (recommand not less than 128MB and not over 2GB)
4. Change data_resize to y
5. Boot your phone
6. Wait (time depend)
7. You will be normally under Android
8. You can change data_resize to n for security

To resize to a smaller data.img [CHECK THE FREE SPACE BEFORE SHRINK] (backup your data.img before):
1. If you don't have on sd a directory .data copy .data from install to the root of your sd
2. Open .data/data.config of root of SD Card
3. Change data_size to the size you want in megabytes (recommand not less than 128MB and not over 2GB)
4. Change data_resize to y
5. Change data_force_shrink to y
6. Boot your phone
7. Wait (time depend)
8. You will be normally under Android
8. You can change data_resize and data_force_shrink to n for security


Big thanks to tytung and RaiderX for his help.
Please consider making a donation to Cotulla for his great MAGLDR.
Please consider making a donation to tytung for the ROM.
Please consider making a donation to RaiderX303 for the ClockworkMod Recovery.
Please consider making a donation to Hastarin for the Kernel Base.
And if you appreciate my work and want to buy me a drink, please consider making a donation too, thanks.


Flash.cfg
Code:
misc ya 1M
recovery rrecov|ro|nospr 10M MAGLDR_recovery_3.0.2.5.img
boot yboot|ro 10M
system ya 270M
cache ya|asize allsize
Changelog
Code:
2.7.0:
- Based on NexusHD2-Gingerbread_V2.7_NAND_(Android-2.3.4) by tytung
- Added options to mount ext4 data.img
- Added option to have dalvik-cache on data partition or on NAND cache partition
- Added mount NAND cache partition before Android (and dalvik-cache if in NAND cache partition)
- data.img type ext4 forced (convert old ext3 to ext4)
- ro.HOME_APP_ADJ 1 in init.rc (before it was 6)
/**************/
Last edited by manusfreedom; 9th May 2011 at 01:38 PM.
The Following 3 Users Say Thank You to manusfreedom For This Useful Post: [ View ]
10th March 2011, 08:54 AM   |  #2  
manusfreedom's Avatar
OP Senior Member
Thanks Meter: 56
 
222 posts
Join Date:Joined: Jul 2008
Donate to Me
More
Full version available:
http://www.multiupload.com/62O6KW7AP6
10th March 2011, 08:55 AM   |  #3  
Member
Flag Sosnowiec
Thanks Meter: 11
 
64 posts
Join Date:Joined: Nov 2010
More
Screenshots please
10th March 2011, 08:57 AM   |  #4  
Senior Member
Thanks Meter: 308
 
1,782 posts
Join Date:Joined: Nov 2005
More
Welcome back ManusFreedom.
Going to try this Rom as soon as it is uploaded.
Any workaround for the Bluetooth current drain in standby?
Wish somebody like you would spin some dev magic for this problem to be corrected.
Can't use a phone without my BT Head Set.
10th March 2011, 10:55 AM   |  #5  
Senior Member
Flag Waterloo, Trinidad
Thanks Meter: 19
 
502 posts
Join Date:Joined: Jan 2009
i just flashed it about 2 hrs ago, rebooted my device at least 6 times and it is still freezing and crashing
10th March 2011, 02:01 PM   |  #6  
manusfreedom's Avatar
OP Senior Member
Thanks Meter: 56
 
222 posts
Join Date:Joined: Jul 2008
Donate to Me
More
Quote:
Originally Posted by Lizzo

i just flashed it about 2 hrs ago, rebooted my device at least 6 times and it is still freezing and crashing

It crash under Android? or during boot?
For information you can't use your old data.img (from Froyo version) with this one.
10th March 2011, 02:03 PM   |  #7  
manusfreedom's Avatar
OP Senior Member
Thanks Meter: 56
 
222 posts
Join Date:Joined: Jul 2008
Donate to Me
More
Quote:
Originally Posted by adecostres

Screenshots please

See tytung version for that, the only change I did, it's that I moved data partition in a data.img file on SD. So no display change between tytung ROM and mine.
10th March 2011, 02:05 PM   |  #8  
manusfreedom's Avatar
OP Senior Member
Thanks Meter: 56
 
222 posts
Join Date:Joined: Jul 2008
Donate to Me
More
Quote:
Originally Posted by arifqur

Welcome back ManusFreedom.
Going to try this Rom as soon as it is uploaded.
Any workaround for the Bluetooth current drain in standby?
Wish somebody like you would spin some dev magic for this problem to be corrected.
Can't use a phone without my BT Head Set.

It's uploaded.
I think the bluetooth current drain is solved under Gingerbread. Now we have WIFI drain problem. (Information comes from tytung thread).
Last edited by manusfreedom; 10th March 2011 at 02:31 PM.
16th March 2011, 09:21 AM   |  #9  
manusfreedom's Avatar
OP Senior Member
Thanks Meter: 56
 
222 posts
Join Date:Joined: Jul 2008
Donate to Me
More
Upgrade 2.3.4
Added instructions to install 2.3.4 in the first post.

Thanks tytung again for this update.

(DFT install is always 2.3.2).
16th March 2011, 01:14 PM   |  #10  
Senior Member
Thanks Meter: 29
 
345 posts
Join Date:Joined: Oct 2007
More
With tytungs NexusHD2-Gingerbread V2.4, and with the "Manus_NAND&SD_DATA_V2.3_update-signed.zip" done, the phone keeps restarting when reaching the booting "HTC" logo?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in HD2 Android NAND Development by ThreadRank