DISCONTINUED! [DAF] RAFDROID HD 2.0 [DATA.IMG SUPPORT][Kern:MDJ 9.5][RMNET]

Search This thread

rafpigna

Retired Recognized Developer
Nov 2, 2008
1,334
2,250
44
Rome
This version is now discontinued. find the data2ext version or tmous version here

http://xdaforums.com/showthread.php?p=10503046


RAFDROID HD 2.0 - NAND VERSION

--- FIRST OF ALL, PLEASE READ POST 2 FOR UPDATED FAQ. IF YOU HAVE QUESTIONS OR ISSUES, MOST PROBABLY YOU WILL FIND THE ANSWER THERE WITHOUT NEEDING TO POST A NEW MESSAGE ---

I'm not a dev. I'm just a curious user that want to learn, fail, search, retry, fail again :D and then succeed also thanks to people here that helped me with tips and knowledge sharing :D

This is a personal build made for my self, based on DESIRE HD.
Is 90% stock, % battery indicator and some animations/icons.

It's fully DEODEXED so you can theme it as you want.
I tried also to keep most of the apps, wallpapers and other stuff in it.

But most important it uses DATA.IMG on SDCARD so you dont have to worry about storage limite on LEO512
Please note: this, as happenend whe using Android from SD, could cause data corruption and causes a little lag during app installation. There is nothing I can do to solve those two issues. You are warned! :D

Credits and thanks:
-Cotulla and DFT for making all this possible
-darkstone for his big help
-mdeejay for initrd.gz (modified by me to support data.img) and kernel
-Kouno.Takaaki for his idea and init file
-Rajko
-crawling
-ocm
-Cass
-cedesmith
-domineus
-imilka for help me solving wifi issue :D
-all people on #htc-linux
and probably a lot of other people I'm forgetting


FEATURES:

- Deodexed and Zipaligned, not sqashfsed
- Latest kernel
- RMNET
- Multilanguage
- Rooted (SU app + permessi SU)
- AdFree
- 5mpx camera with face recognition + 800*400 camcorder
- HSDPA, GPS, Bluethoot, WiFi all working
- % battery icon and status bar icons changed (use original framework-res.apk to go back to stock attached in 2nd post)
- fonts changed (use original fonts to go back to stock attached in 2nd post)
- Working HTC-SENSE.COM (at least for me)
- data.img on SD support

WHAT'S WORKING
Everything except stock HTC Reader (removed)

CHANGELOG
Code:
2.0 
New base Desire HD 1.72.405.3
RMNET
Rooted (su + Superuser APP)
Bootanimation changed
Bootsound changed (very very low, just a "beep")
Auto APN
AdsFree (updated)
New Advanced Power menu (credit to reef2009)
New initrd/data2sd system (credit to Takaaki.Takuno)
some minor tweaks & fixes

1.0 - Initial Release
Based on RUU 1.32.405.6
Removed HTC E-Reader
Removed SoundHound
Removed AmazonMP3

INSTRUCTIONS
- You need at least MAGLDLR 1.10
- Download the Data size package you want
- Unzip it and copy all the content to your SD root respecting the folder structure. Insert the SD in the HD2
IF YOU NOT DO THIS BEFORE, YOUR INSTALLATION WILL FAIL
IF YOU ARE ON A 1024 LEO YOU CAN AVOID THIS.

- Download the RAFDROID HD package
- Unzip it on your computer, enter in MAGDLR bootloader, choose USB flasher, connect your HD2 to your computer and use INSTALL.EXE
- Wait the rebooting. Keep always the SD inside.
- First install takes up to 5 min
- Enjoy :D
- As all HD build, initially this will be slugghis and lagging, specially if you select to restore your google settings. The build will become fast after some hours and a couple of reboots.


WARNING 1) Data system changed between RafDroid HD1 and RafDroid HD2. Now you need a "config.txt" in the data2sd folder. I suggest to old 1.0 users to download the new packages here to be sure that all works.

WARNING 2) I assure compatibility only with 512 and 1024 data images. Using bigger images, specially more than 2gb, could cause issues (no boot, errors installing apps...)

WARNING 3) I suggest always to start with a fresh data.img. Anyway you can try too keep your old data.img but I cannot assure you that you will have no bugs. Important is to keep the "data2sd" folder with the config.txt inside.

DATA PACKAGE for RAFDROID HD 2.0 512MB -> http://www.multiupload.com/MA47VX8ALS
DATA PACKAGE for RAFDROID HD 2.0 1024MB -> http://www.multiupload.com/6BA2EZ49L0

RAFDROID HD 2.0 -> http://www.multiupload.com/CLK8LXQG0M



--------------------------------------------------------------------



DATA PACKAGE 512MB -> http://www.multiupload.com/F91OFAFDX7
DATA PACKAGE 1024MB -> http://www.multiupload.com/GWRDNTXALF

RAFDROID HD 1.0 -> http://www.multiupload.com/P2AWG7IRR7

If you need more space, you can replace the data.img with ones bigge but I NOT SUGGEST THIS. We have clues that data.img bigger than 2gb causes issues. So please, if you want to avoid bugs, stay with 1gb maximum that is plenty space for everything.

I dont think it's fair to ask for donations because all this was possible thanks to the people credited above.
Anyhow, because some one pm'ed me asking to donate, and becouse I spent a lot of time in this, if you want to buy me a coffee for all the time I spent, you can do this here DONATE
Anyway I would suggest to donate to Cotulla and DFT team and other devs.


BE ADVISED: THIS BUILD, CAUSE IT'S SIZE, WILL WORK ONLY WITH THIS METHOD OF DATA2SD. IT'S TOO BIG TO WORK WITHOUT IT. EXCEPT FOR 1024 LEO WHER IT *SHOULD*(MUST BE TESTED) WORK WITHOUT DATA.IMG



 
Last edited:

rafpigna

Retired Recognized Developer
Nov 2, 2008
1,334
2,250
44
Rome
If you want DesireHD standard fonts, download this package and replace the entire /system/fonts content with the ones included, using droid explorer or adb, after first boot
http://www.multiupload.com/5EXLIPO3N4

If you want the stock look this is the stock framework-res.apk. i will not explain how to mess with it, google if you dont know. anyway be careful. messing with this file could cause loop reboots and you will have to reflash
RAFDROID HD 2.0 -> http://www.multiupload.com/EBTBFZV8F8
RAFDROID HD 1.0 -> http://www.multiupload.com/889C7U9B0T

FAQ - QUESTIONS and BUG FIXES
PLEASE READ


q) I'm having high battery drain
a) Try reboot. Try disabling gps in location. As you can see from the screenshot I have 4mA with WIFI active! Also be careful. If during google account setup you choose to backup/restore all your data, the sync process will be dramatic heavy because it has to reinstall all your apps. It could need a couple of hours to settle. Also high battery drain could be caused by SD. try another one.

q) It's really laggy!!!!
a) as all Desire HD builds this is BIG! This needs at least 10-15 minutes after boot to be usable. Then try to use it for 5-6 hours.. and do a couple of reboots.. you will see that the speed will improve. After 24 hours of use and 4-5 rebots this will be really fast.

q) I have no GPS or the fix is really slow
a) Firs fixt can take up to 5 minutes. just wait. If still not works, try to change the gps zone in the config.txt (read below)

q) I have low quadrant scores
a) yes, this is true. This is because data sync is enabled by default. You can try to disable it but this will give you more risks of data corruption.

q) Can I unmount the SD while in use or connect the phone as mass storage to my pc while in use
a) No. This will cause data corruption. Power down the pone and use an SD card reader to copy your files.

q) I have no SU permission!!!
a) Install z4root (google for it) and execute permaroot. Reboot.

q) It not boots
a) be sure that the ".config" file is in your SD on the root. and there is also the folder "data2sd" with "data.img" inside. If still no boot, try to reformat your SD card, copy the img again, and retry.

q) I have no data/3G/HSDPA
a) probably you have to set your apn manually. google it for tips on how to do and what settings are need for your carrier

q) How do I remove BOOTSOUND / How do I change bootanim
a) bootsound and bootanim are located in /system/etc/customer. Just delete android_audio.mp3 if you dont want sound


ABOUT THE CONFIG.TXT FILE

You can change some parameters directly in the config.txt before booting:

Code:
data_sd=0
 - 0, default, use nand userdata, THIS WILL CAUSE NO BOOT for 512 LEO
 - 1, enable external data.img support (/sdcard/data2sd/data.img)
data_size=512
 - size of data.img, only work when data.img support enabled and first install if you dont have a data.img.. it will create for you. No need to specify it if you already have a data.img in the data2sd folder
data_sync=1
 - 0, fast, default, disable sync option when mount data.img MAY CAUSE DATA CORRUPTION. I SUGGEST TO NOT USE THIS
 - 1, safe, enable sync option when mount data.img, use this if experiencing data corruption
lcd_density=240
 - size of icons
gps_zone=europe
 - country string for better gps fix. you can find your country code here [URL="http://www.pool.ntp.org/zone/@"]http://www.pool.ntp.org/zone/@[/URL]
 
Last edited:

tstee3

Senior Member
Nov 1, 2008
77
0
Calgary
Having the DATA PACKAGE 1024MB now :) Waiting For the RAFDROID HD 1.0 now :)
Hey man, you're really rock :) Wonderful Rom, everything is work fine on my HD2 ! Now I'm having 2GB data.img on my sd card it works man, you are right now i got no worry about storage limite on LEO512 :)
Thank you so much !!
 
Last edited:

Krendelrus

Senior Member
Nov 17, 2010
716
473
Nice, but could you also provide us with stock framework (so it can be 100% stock :D lol)?
and can we use Kouno's method of modifying /system with "update" folder on sdcard?
 

pack21

Senior Member
Dec 14, 2009
2,102
227
Wooooow


Fantastic HD2 scene!


Thanks Raf

:D

PS: I would like too, in future a stock framework.
 
Last edited:
  • Like
Reactions: azncoolprince

2happy

Senior Member
Mar 9, 2009
230
31
LONDON
if you can provide some SCREENSHOTS also.i am looking forward to this,specially extra memory part is cool.
 

manish2039

Member
Feb 28, 2010
28
17
isnt it better to have PPP rather than RMNET because RMNET is slower.

having said that, has there been a fix for PPP because im lossing network bar frequently.

BTW thanks for the build, will be testing it out soon :)
 

artwork

New member
Aug 16, 2009
4
0
When is this boiled going to be out? I wanna try out this build as I can't seems to install much of applications on any otherbrom asnitbonly gives me less then 100mb. And nownthe current remaining soqcenisnlessnthen ten mb. Can't waitbto try out a new and a better rom. How aboutbthe cam coder is the quality better?
 

daysey

Senior Member
Nov 19, 2007
225
42
guys, because initially I made this for myself.
Now that is released I will try to update it in the nexts :p

Good work Raf, been waiting for this. I've downloaded the data package and was wondering if it will be possible to use my old data.img file from another SD HD build and possibly use a 2GB data.img file too?
 

rafpigna

Retired Recognized Developer
Nov 2, 2008
1,334
2,250
44
Rome
Good work Raf, been waiting for this. I've downloaded the data package and was wondering if it will be possible to use my old data.img file from another SD HD build and possibly use a 2GB data.img file too?

Dont know.. maybe there will be bugs, but try it.. if this not work or you have bugs, delete all things from SD, reflash NAND, and start again :D

about 2gb data, yes, you can. just replace the file. I will upload 2GB and 4GB for convenience, later as soon I have time
 

seavers11

Senior Member
May 11, 2007
1,948
229
This build will be awesome when it runs correctly... Is it right, it uses for data the data.img on the sd card, when you release a new uodate we can safe our data and can make a update without loosing my apps ? This will be great news ?!:D:D:D
 

JosephAGT

Senior Member
Oct 17, 2010
77
1
so will all my texts get saved to the sd card?
as on other NAND builds my phone can barely operate after a couple days use due to insufficient storage.

also, what determines whether I should get the 512MB or 1024MB data package?
 
Last edited:

tinuz97

Senior Member
May 26, 2008
1,824
232
OnePlus 5
isnt it better to have PPP rather than RMNET because RMNET is slower.

having said that, has there been a fix for PPP because im lossing network bar frequently.

BTW thanks for the build, will be testing it out soon :)

Not true,atleast not for me. (the build i use in my sig)
Sinds NAND rmnet is as fast for me as ppp,same up and download speed.
In the time with sd card builds ppp was faster for me,now not (for me)
Just test it with speedtest.net app in the market for free :D
 
  • Like
Reactions: manish2039

Top Liked Posts

  • There are no posts matching your filters.
  • 100
    This version is now discontinued. find the data2ext version or tmous version here

    http://xdaforums.com/showthread.php?p=10503046


    RAFDROID HD 2.0 - NAND VERSION

    --- FIRST OF ALL, PLEASE READ POST 2 FOR UPDATED FAQ. IF YOU HAVE QUESTIONS OR ISSUES, MOST PROBABLY YOU WILL FIND THE ANSWER THERE WITHOUT NEEDING TO POST A NEW MESSAGE ---

    I'm not a dev. I'm just a curious user that want to learn, fail, search, retry, fail again :D and then succeed also thanks to people here that helped me with tips and knowledge sharing :D

    This is a personal build made for my self, based on DESIRE HD.
    Is 90% stock, % battery indicator and some animations/icons.

    It's fully DEODEXED so you can theme it as you want.
    I tried also to keep most of the apps, wallpapers and other stuff in it.

    But most important it uses DATA.IMG on SDCARD so you dont have to worry about storage limite on LEO512
    Please note: this, as happenend whe using Android from SD, could cause data corruption and causes a little lag during app installation. There is nothing I can do to solve those two issues. You are warned! :D

    Credits and thanks:
    -Cotulla and DFT for making all this possible
    -darkstone for his big help
    -mdeejay for initrd.gz (modified by me to support data.img) and kernel
    -Kouno.Takaaki for his idea and init file
    -Rajko
    -crawling
    -ocm
    -Cass
    -cedesmith
    -domineus
    -imilka for help me solving wifi issue :D
    -all people on #htc-linux
    and probably a lot of other people I'm forgetting


    FEATURES:

    - Deodexed and Zipaligned, not sqashfsed
    - Latest kernel
    - RMNET
    - Multilanguage
    - Rooted (SU app + permessi SU)
    - AdFree
    - 5mpx camera with face recognition + 800*400 camcorder
    - HSDPA, GPS, Bluethoot, WiFi all working
    - % battery icon and status bar icons changed (use original framework-res.apk to go back to stock attached in 2nd post)
    - fonts changed (use original fonts to go back to stock attached in 2nd post)
    - Working HTC-SENSE.COM (at least for me)
    - data.img on SD support

    WHAT'S WORKING
    Everything except stock HTC Reader (removed)

    CHANGELOG
    Code:
    2.0 
    New base Desire HD 1.72.405.3
    RMNET
    Rooted (su + Superuser APP)
    Bootanimation changed
    Bootsound changed (very very low, just a "beep")
    Auto APN
    AdsFree (updated)
    New Advanced Power menu (credit to reef2009)
    New initrd/data2sd system (credit to Takaaki.Takuno)
    some minor tweaks & fixes
    
    1.0 - Initial Release
    Based on RUU 1.32.405.6
    Removed HTC E-Reader
    Removed SoundHound
    Removed AmazonMP3

    INSTRUCTIONS
    - You need at least MAGLDLR 1.10
    - Download the Data size package you want
    - Unzip it and copy all the content to your SD root respecting the folder structure. Insert the SD in the HD2
    IF YOU NOT DO THIS BEFORE, YOUR INSTALLATION WILL FAIL
    IF YOU ARE ON A 1024 LEO YOU CAN AVOID THIS.

    - Download the RAFDROID HD package
    - Unzip it on your computer, enter in MAGDLR bootloader, choose USB flasher, connect your HD2 to your computer and use INSTALL.EXE
    - Wait the rebooting. Keep always the SD inside.
    - First install takes up to 5 min
    - Enjoy :D
    - As all HD build, initially this will be slugghis and lagging, specially if you select to restore your google settings. The build will become fast after some hours and a couple of reboots.


    WARNING 1) Data system changed between RafDroid HD1 and RafDroid HD2. Now you need a "config.txt" in the data2sd folder. I suggest to old 1.0 users to download the new packages here to be sure that all works.

    WARNING 2) I assure compatibility only with 512 and 1024 data images. Using bigger images, specially more than 2gb, could cause issues (no boot, errors installing apps...)

    WARNING 3) I suggest always to start with a fresh data.img. Anyway you can try too keep your old data.img but I cannot assure you that you will have no bugs. Important is to keep the "data2sd" folder with the config.txt inside.

    DATA PACKAGE for RAFDROID HD 2.0 512MB -> http://www.multiupload.com/MA47VX8ALS
    DATA PACKAGE for RAFDROID HD 2.0 1024MB -> http://www.multiupload.com/6BA2EZ49L0

    RAFDROID HD 2.0 -> http://www.multiupload.com/CLK8LXQG0M



    --------------------------------------------------------------------



    DATA PACKAGE 512MB -> http://www.multiupload.com/F91OFAFDX7
    DATA PACKAGE 1024MB -> http://www.multiupload.com/GWRDNTXALF

    RAFDROID HD 1.0 -> http://www.multiupload.com/P2AWG7IRR7

    If you need more space, you can replace the data.img with ones bigge but I NOT SUGGEST THIS. We have clues that data.img bigger than 2gb causes issues. So please, if you want to avoid bugs, stay with 1gb maximum that is plenty space for everything.

    I dont think it's fair to ask for donations because all this was possible thanks to the people credited above.
    Anyhow, because some one pm'ed me asking to donate, and becouse I spent a lot of time in this, if you want to buy me a coffee for all the time I spent, you can do this here DONATE
    Anyway I would suggest to donate to Cotulla and DFT team and other devs.


    BE ADVISED: THIS BUILD, CAUSE IT'S SIZE, WILL WORK ONLY WITH THIS METHOD OF DATA2SD. IT'S TOO BIG TO WORK WITHOUT IT. EXCEPT FOR 1024 LEO WHER IT *SHOULD*(MUST BE TESTED) WORK WITHOUT DATA.IMG



    19
    If you want DesireHD standard fonts, download this package and replace the entire /system/fonts content with the ones included, using droid explorer or adb, after first boot
    http://www.multiupload.com/5EXLIPO3N4

    If you want the stock look this is the stock framework-res.apk. i will not explain how to mess with it, google if you dont know. anyway be careful. messing with this file could cause loop reboots and you will have to reflash
    RAFDROID HD 2.0 -> http://www.multiupload.com/EBTBFZV8F8
    RAFDROID HD 1.0 -> http://www.multiupload.com/889C7U9B0T

    FAQ - QUESTIONS and BUG FIXES
    PLEASE READ


    q) I'm having high battery drain
    a) Try reboot. Try disabling gps in location. As you can see from the screenshot I have 4mA with WIFI active! Also be careful. If during google account setup you choose to backup/restore all your data, the sync process will be dramatic heavy because it has to reinstall all your apps. It could need a couple of hours to settle. Also high battery drain could be caused by SD. try another one.

    q) It's really laggy!!!!
    a) as all Desire HD builds this is BIG! This needs at least 10-15 minutes after boot to be usable. Then try to use it for 5-6 hours.. and do a couple of reboots.. you will see that the speed will improve. After 24 hours of use and 4-5 rebots this will be really fast.

    q) I have no GPS or the fix is really slow
    a) Firs fixt can take up to 5 minutes. just wait. If still not works, try to change the gps zone in the config.txt (read below)

    q) I have low quadrant scores
    a) yes, this is true. This is because data sync is enabled by default. You can try to disable it but this will give you more risks of data corruption.

    q) Can I unmount the SD while in use or connect the phone as mass storage to my pc while in use
    a) No. This will cause data corruption. Power down the pone and use an SD card reader to copy your files.

    q) I have no SU permission!!!
    a) Install z4root (google for it) and execute permaroot. Reboot.

    q) It not boots
    a) be sure that the ".config" file is in your SD on the root. and there is also the folder "data2sd" with "data.img" inside. If still no boot, try to reformat your SD card, copy the img again, and retry.

    q) I have no data/3G/HSDPA
    a) probably you have to set your apn manually. google it for tips on how to do and what settings are need for your carrier

    q) How do I remove BOOTSOUND / How do I change bootanim
    a) bootsound and bootanim are located in /system/etc/customer. Just delete android_audio.mp3 if you dont want sound


    ABOUT THE CONFIG.TXT FILE

    You can change some parameters directly in the config.txt before booting:

    Code:
    data_sd=0
     - 0, default, use nand userdata, THIS WILL CAUSE NO BOOT for 512 LEO
     - 1, enable external data.img support (/sdcard/data2sd/data.img)
    data_size=512
     - size of data.img, only work when data.img support enabled and first install if you dont have a data.img.. it will create for you. No need to specify it if you already have a data.img in the data2sd folder
    data_sync=1
     - 0, fast, default, disable sync option when mount data.img MAY CAUSE DATA CORRUPTION. I SUGGEST TO NOT USE THIS
     - 1, safe, enable sync option when mount data.img, use this if experiencing data corruption
    lcd_density=240
     - size of icons
    gps_zone=europe
     - country string for better gps fix. you can find your country code here [URL="http://www.pool.ntp.org/zone/@"]http://www.pool.ntp.org/zone/@[/URL]
    12
    1000 downloads :D
    but only 28 thanks :(

    :mad: :D
    6
    Wanna thanks the two people that donated to buy me some coffee & beers
    Was not really necessary but.. THANKS :p

    Anyway, just to let all know, I'm working now on the 1.1 release.
    Still solving some issues but you will got this:

    - Based on 1.72.405.3
    - Working root
    - Boot Sound dramatically decreased in volume, barely udible now.
    - Boot Sound and Boot anim only in one folder, so easier to remove them
    - RMNET
    - data.img mounted with sync method that will give you lower quadrant score but less cases of corrupted data that is the cause of no more booting or bugs with data and so on
    - Auto APN (still fixing this)


    ETA around the end of this week.
    5
    WOW!
    Guys, I'm really considering to not update this anymore!!!
    This request a lot of time and I was not oblijed to upload it and keep it using for myself, but I thinked that sharing is a must. But now I see:

    -People reporting issues already solved some posts before (no search before posting) example: how to remove boot sound -> find it, it was already answered
    - People asking to make the build how they like -> google it and understand how to change the things you want. Also read the second OP there is link to original framework and fonts.. but NO ONE reads it.
    - People complaining that is slow and the XXXX ones is faster. Yes, maybe, but you dont ask why on about 2000 downloads only 2-3 users says that is SLOW? Maybe is YOUR problem, not the build.
    - People still messing around with 3gb or upper img when is clearly written that could cause bugs

    Really... i'm impressed :(
    Anyway thanks to anyone for supporting.
    I will not reply anymore to already replied things. You have to learn using search.

    AT THE END, LET ME SAY:
    If you dont like, dont use :)