Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,814 Members 43,670 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
manusfreedom
Old
(Last edited by manusfreedom; 9th May 2011 at 01:38 PM.)
#1  
manusfreedom's Avatar
Senior Member - OP
Thanks Meter 56
Posts: 222
Join Date: Jul 2008

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

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)
/**************/
The Following 3 Users Say Thank You to manusfreedom For This Useful Post: [ Click to Expand ]
 
manusfreedom
Old
#2  
manusfreedom's Avatar
Senior Member - OP
Thanks Meter 56
Posts: 222
Join Date: Jul 2008

 
DONATE TO ME
Full version available:
http://www.multiupload.com/62O6KW7AP6
 
adecostres
Old
#3  
Member
Thanks Meter 11
Posts: 64
Join Date: Nov 2010
Location: Sosnowiec
Screenshots please
 
arifqur
Old
#4  
Senior Member
Thanks Meter 306
Posts: 1,774
Join Date: Nov 2005
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.
 
Lizzo
Old
#5  
Senior Member
Thanks Meter 19
Posts: 502
Join Date: Jan 2009
Location: Waterloo, Trinidad
i just flashed it about 2 hrs ago, rebooted my device at least 6 times and it is still freezing and crashing
Why sleep when there's modding to be done!
 
manusfreedom
Old
#6  
manusfreedom's Avatar
Senior Member - OP
Thanks Meter 56
Posts: 222
Join Date: Jul 2008

 
DONATE TO ME
Quote:
Originally Posted by Lizzo View Post
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.
 
manusfreedom
Old
#7  
manusfreedom's Avatar
Senior Member - OP
Thanks Meter 56
Posts: 222
Join Date: Jul 2008

 
DONATE TO ME
Quote:
Originally Posted by adecostres View Post
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.
 
manusfreedom
Old
(Last edited by manusfreedom; 10th March 2011 at 02:31 PM.)
#8  
manusfreedom's Avatar
Senior Member - OP
Thanks Meter 56
Posts: 222
Join Date: Jul 2008

 
DONATE TO ME
Quote:
Originally Posted by arifqur View Post
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).
 
manusfreedom
Old
#9  
manusfreedom's Avatar
Senior Member - OP
Thanks Meter 56
Posts: 222
Join Date: Jul 2008

 
DONATE TO ME
Default 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).
 
mooooooa
Old
#10  
Senior Member
Thanks Meter 29
Posts: 345
Join Date: Oct 2007
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?
Samsung Galaxy S3:
Rom: Stock!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


ARChon Lets You Run Android Apps in Google Chrome Browser

Not too long ago, Google added the ability torun select Android applications on … more

Flyme OS Finds Its Way to the Google Nexus 5

Flyme OS is a heavily modified Android variantdeveloped by the Meizu team for their MX … more

MultiROM Makes Its Way to the LG G2

Over the last few weeks, we’ve seen quite a fewflagship (and former flagship) devicesget to … more