yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] FrAsErTaG:
The old Initrd gave me 2800 on Quadrant Advanced using 1.1ghz overclock.

New Initrd gives me 1800 on 1.1ghz overclock..
[HD2 Android Q&A, Help & Troubleshooting and Genera] vartp:
Got -4% in 7 hours of standby with hastarin 8.5, not sure if it's because of kernel update, but had -8% in 7 hours with 8.4.
[HD2 Android Q&A, Help & Troubleshooting and Genera] romka.t:
The current state of android on hd2 is very unpredictable, don't know what's the reason but I get quite unstable results, from very good 6mA/hour till 70 (had yesterday), though I killed all the background processes in both cases... this made me return to winmo
[HD2 Android Q&A, Help & Troubleshooting and Genera] lucian777:
Fix for data corruption - still in development!

1.Download Gscript form Android Market.

2.Download the attached file and place it in Sdcard/Gscript folder. (be sure to remove the .txt extension first!)

3.Open Gscript app , press menu (the windows logo button) -Add script-Load file- select - preshutdown.sh - Save.

4.Run the script before shutting down the device. (do not run the script if you are not going to shutdown because it will eat your battery.

If anyone wants to see if the data.img is corrupted fallow this steps.

First of all you will gonna need a Linux machine to test the data integrity

1.Connect the sd card to linux pc (card reader or built in sd reader)

2.Open terminal.

3. write

sudo su

to get root acces

4. write

sudo losetup -f --show /media/9AA1-35EA/desire_cs/data.img

(9AA1-35EA is my sdcard your numbers are different)

After this command the Terminal must show something like this "/dev/loop1" or "/dev/loop0"

5. write

sudo e2fsck -f -y /dev/loop1

or

sudo e2fsck -f -y /dev/loop0

(depends of your loop number)

After this command the Terminal must show something like this:

e2fsck 1.41.12 (17-May-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 3A: Optimizing directories
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/loop1: ***** FILE SYSTEM WAS MODIFIED *****
/dev/loop1: 861/32768 files (7.9% non-contiguous), 26406/131072 blocks
root@ubuntu:/home/ubuntu#

If you respone is similar without no errors means that your data.img is not corrupted, but if on those 5 steps the Term shows errors your data is corrupted.

THX Cedesmith!
[HD2 Android Q&A, Help & Troubleshooting and Genera] cedesmith:
hastarin 8.4 is know to have that bug.

basically proximity sensor stays on after phone call end and eats battery.

update kernel.

.
[HD2 Android Q&A, Help & Troubleshooting and Genera] idevmag:
got same problem when I was using 3gb data.img, I switched to 1gb and all working fine :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] cedesmith:
there is no benefit even for 1gb data image except if you will it only waste space on sd but if you like to see 3gb on about screen have it your way :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] jirka607:
Well why the 3GB dont work i need that space at least 2GB are they working OK?

thanks because this is the best build out there
[HD2 Android Q&A, Help & Troubleshooting and Genera] cedesmith:
files bigger then 2gb require large file support (32bits signed int has range of -2^16 => 2^16 <=> -2bg => 2gb ) and is probably implemented different on kernel
[HD2 Android Q&A, Help & Troubleshooting and Genera] khanem:
hi cedesmith. i have been using desire builds and never had issue with data connection except with yours. i can get connection but only up arrow lights up and cannot get data transfert. i am using kwbr winmo roms. Any suggestions?
[HD2 Android Q&A, Help & Troubleshooting and Genera] lucian777:
Try reading this thread. http://xdaforums.com/showthread.php?t=824413
[HD2 Android Q&A, Help & Troubleshooting and Genera] GavTheStoner:
The script seems to work so far for me. Thanks very much!

Cant wait for a properly implemented solution. :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] jirka607:
Mz question is how big data.img i can use to prevent the market no memory thing

OR can i modify it to be 1,9GB and not get bigger than 2GB as its stated as problematic?

I have made myself 1.5GB file and its working fine

EDIT i think i must wait for some patch i have corrupted data :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] cedesmith:
back to butter

made some programs to auto spam sync on shutdown

kind of beta :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] cedesmith:
if you have auto apn update try adding a new apn with your connection settings and use that.

the auto apn for you may have wrong settings.
[HD2 Android Q&A, Help & Troubleshooting and Genera] simphony:
With update.initrd.gz.24.11.2010.7z for the first time I can not install android.It stops in the middle of the instalation.
[HD2 Android Q&A, Help & Troubleshooting and Genera] matutemhn:
hi

wheres this update? i dont see it on downloads 1st page.... only one i see is update.initrd.gz.20.11.2010.7z:confused:
[HD2 Android Q&A, Help & Troubleshooting and Genera] reocej:
3 posts back.
[HD2 Android Q&A, Help & Troubleshooting and Genera] matutemhn:
thanks

thanks.... lol I looked around but just couldn't see it.... thanks a lot again:D
[HD2 Android Q&A, Help & Troubleshooting and Genera] matutemhn:
help?

can you tell me how do i aptly the kernel update...?

just lil confuse bout it.... thanks a lot bro....
[HD2 Android Q&A, Help & Troubleshooting and Genera] leeyunfook:
Finally found my perfect build! Great job! I still prefer the old initrd.gz dated 19.11 to the latest one, as long as I unmount the SDcard before shut down, no problem so far. Everything run very smooth and prefect. BIG THANK YOU! Hopefully data corrupt due to shutdown issue to be solved soon.

Edit: Just notice new initrd.gz released, will try now.. thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] lucian777:
It seems the patch does the job, I don't get data errors on Linux. Well done!
[HD2 Android Q&A, Help & Troubleshooting and Genera] leeyunfook:
Opps.. I just experienced data corruption using latest initrd.gz :(
[HD2 Android Q&A, Help & Troubleshooting and Genera] GavTheStoner:
Why cant you make it unmount the SD card like darkstone et al?

Spammy hack fixes is not what you said this build was about...
[HD2 Android Q&A, Help & Troubleshooting and Genera] GavTheStoner:
Just lost my install of pocket legends and angry birds.. again....

This was with the sync script running before shutdown too.
[HD2 Android Q&A, Help & Troubleshooting and Genera] lucian777:
First of all the corruption of the data has nothing to do with unmounting the card, its all about syncing buffers (sdcard is mounted buffered, data.img is on sdcard and is also bufferd, those buffers must be synced before shutdown to prevent data corruption. Anyway to solve this issue you must use a data.img without corruption before applying the patch.

patch- click to download http://xdaforums.com/attachment.php?attachmentid=449114&d=1290639842
[HD2 Android Q&A, Help & Troubleshooting and Genera] GavTheStoner:
I already had no corruption before the patch. If you say its not because it doesnt umount, how come this is the only build with corruption... and also the only build that does not unmount the sdcard when it shuts down.

I wish I knew how to pull the setting or script from another build to test it.
[HD2 Android Q&A, Help & Troubleshooting and Genera] lucian777:
Are you sure you used this? Be sure to apply the patch to a new data.img.
[HD2 Android Q&A, Help & Troubleshooting and Genera] lucian777:
Did you read what ive just wrote? This build has nothing to do with all other builds, why on the other builds quadrant is 1700 points max and in Spot build is 2500 and why you can download from market with 1.5mb/s and on the other with 300kb/s. and why it boots in 30sec and the others in 1 min? About the unmounting stuff , Android unmounts sdcard automatically on shutdown, corruption is not because unmounting is about SYNCING BUFFERS. If you dont like this build try another they are plenty of them.
[HD2 Android Q&A, Help & Troubleshooting and Genera] GavTheStoner:
The problem is not that I do not like the build, I would be using another if that was true.

The problem is that the build does not work as it should.

The reason it scores so high in quadrant (a biased benchmark) is because it had sync disabled on the initial initrd. it scores LOWER with sync enabled as other builds have it. If you use quadrant advanced you can see that its only scoring higher on the filesystem.

I am not here to bash or attack the build. I only want it to work.
[HD2 Android Q&A, Help & Troubleshooting and Genera] khanem:
Hi lucian777. i just want to say that this is a great build that i wish to use daily. the only problem is that i cannot have data download. i already tried all the rils, patches, apn auto config available, edited my build.prop deleted the auto settings created new ones to no avail. the exact same setup applied on any deferent build will make the data connection work. does the new initrd have anything to do with data connection? can i use a different system file? i noticed that this build use *.img while the others a *.ext2 format. any way to convert between them?
[HD2 Android Q&A, Help & Troubleshooting and Genera] cedesmith:
just to be clear..... NO BUILD I KNOW OF UNMOUNTS ANYTHING.

if you curios how it works read the logcat.

ok you will see in logcat unmounting /sdcard but that is android and is called in every build (including this) but no use.

if you know basics about linux you know you cannot unmount a mount point while is in use and /sdcard IS IN USE as /data and /system ARE NEVER UNMOUNTED by android.

so about unmounting as far as i know this is same as other builds.

about sync...

old initrd mounts /data with sync flag witch disable buffering and every time someone writes a byte it is written to sdcard device witch is a buffered device.

24.11.2010 mounts the /data without sync flag witch means /data is a buffered device on to of a buffered device.

now android on shutdown on automaticly calls sync kernel syscall to flush all buffers.

i think this is done sequentially:

- flush device001

- flush device002

........................

- flush mmcblk0 ( sdcard => buffers to physical sdcard )

........................

- flush loop1 ( /data => mmcblk0 (buffered device ) )

if you read the android source you will see it only calls sync once

/data is flushed to its support device witch is a buffered device with empty buffers so data goes to sdcard buffers instead of physical device

another sync call is required so that sdcard buffers are flushed to physical card.

this is where test sh script or programs in 24.11 initrd come into play.

they do the basically the same thing the only main difference is how they start:

- sh script you have to start manually

- 24.11 initrd apk is start by android on shutdown intent broadcast and in turn starts cssync with calls sync in a loop for 30 seconds.

by calling sync in a loop we flush the buffers early so when android calls sync all data is already synced or at least data is flushed into sdcard buffers.

this is less a hack and more a workaround, if you have problems with it use the version of initrd that mounts with sync as dan1j3l's initrd (found in all other builds)
[HD2 Android Q&A, Help & Troubleshooting and Genera] bjcolema:
This build performs better after using it daily myself. I am getting 2300 consistently with the sending version of the initrd....its still faster than any other sense build and at least on par with the 'stock' ones.
[HD2 Android Q&A, Help & Troubleshooting and Genera] jubeh:
Going on two weeks, no drops, no problems, nothing but the contents of the original package. best build ever.
[HD2 Android Q&A, Help & Troubleshooting and Genera] fracmo2000:
I have been watching this thread for a while, only thing putting me off is reading about corruption. Two weeks and still ok?

Can we expect an update with all these extra fixes included soon or should I update just now?
[HD2 Android Q&A, Help & Troubleshooting and Genera] LondonTownGuy:
The latest initrd is pretty fast so its worth upgrading
[HD2 Android Q&A, Help & Troubleshooting and Genera] vartp:
Also running it from the first day, using everyday, rebooted in wince about 5 times, once phone turned off on 0% batt, but still no corruption.
[HD2 Android Q&A, Help & Troubleshooting and Genera] zoth:
Thanks for the great build. I agree with people trying this build as sort of a hit or miss. But if you are willing to learn and not just be spoon fed. I man is this a wonderful build or what.

Clean...

Fast...

Just simply a great build...

Thanks you Sir,
[HD2 Android Q&A, Help & Troubleshooting and Genera] francescozanghetta:
Hi everyone,

thanks cedesmith for your great rom. After upgrading to the new initrd everything works fine.

I'm using your build with hastarin kernel 8.5. The only thing i want to point at is the battery drain, that is around 24mA in standby condition (no wifi/data/ecc). Is this normal? because with the same kernel but with other builds the drain is between 2and 5 mA.

Thanks in advance
[HD2 Android Q&A, Help & Troubleshooting and Genera] zoth:
issue's with Fix Permissions

I can't seem to run fix_permissions under terminal and spare parts. Anyone else having these problems.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Matt V:
Went from 1300 on Quadrant to 2200 with the newest initrd. Great job!
[HD2 Android Q&A, Help & Troubleshooting and Genera] cedesmith:
nope, mine is about 7ma no mater the build and i have a very week gsm signal.

backup your data.img and put the empty one from the build instead. install just current widget.

it may be some application or who know what.
[HD2 Android Q&A, Help & Troubleshooting and Genera] gumataotao:
Love this build so far. Only issue I have is mms send and receive size for tmous users. Has anyone tried making a patch for this? If I try to edit values within files and delete data img to apply patch will this build create a new data img on boot?
[HD2 Android Q&A, Help & Troubleshooting and Genera] arva:
Awesome build

This has been best build I have tried so far. Almost no screen lags. This is the first build where bluetooth is able to sync my Phone Book, Calls details with my Skoda. Also really fast. I have upgraded to hastarin 8.5.1 and looking good so far. Right now running on 3.14 stock rom with this build.

Some problems that I encountered and the solution,

Initially I had issue with first call having robo voice, I copied the default.acdb and htcleo.acdb from hastarin 7.7 kernel and that problem too has disappeared.

Had issue with Data connectivity, copied additional ppp settings from the 8.5.1 hastarin kernel and that issue has also been solved.

Had to initially reboot couple times to get the stability with this build, ever since then it has been great. Running since last one day.
[HD2 Android Q&A, Help & Troubleshooting and Genera] ivku:
AWESOME build with new initrd, no probs so far. I am glad to see following old road on Kaiser/Vogue/Polaris builds with no more rootfs, there is missing only tinboot :-). Is it possible to spread this idea also to CM6 based build ?

Cedesmith, is it possible to use base from Desire HD ?

Very fast, with speed comparable with native device.

Thanks.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Beretta93:
Awesome build, just by updating initdr.gz, I went up to 2150pts with quadrant from barely 1650pts before. Everything is smooth and solid. I have 20ma drain on standby but it may come from hastarin's latest kernel or some parasite app I dunno.

Anyway, thx for this masterpiece really.
[HD2 Android Q&A, Help & Troubleshooting and Genera] elgrego4:
Hi all, Ive been using this build for a week now, but changed the zimage to hast 8.5 so the usb will charge but now im getting data drop and the signal doesnt seem as good. Anyone else have these problems?
[HD2 Android Q&A, Help & Troubleshooting and Genera] etere:
...you can try with SetCpu 9.0.4 with permission: 5ma on standbye!
[HD2 Android Q&A, Help & Troubleshooting and Genera] LondonTownGuy:
The signal on orange uk is crap here for the past week or so, I think they are upgrading their network due to joining up with T Mobile, well I hope that's the reason, I tested with WinMob and it was the same.
[HD2 Android Q&A, Help & Troubleshooting and Genera] najir:
hi, thank for this wonderful, fast stable build. just wondering. can somebody help me.

how to make phone charge when connected to computer. the icon and led light show charging but its not. i'm using this build with the given kernel (not changing anything) except using the latest initdr.gz

thank you
[HD2 Android Q&A, Help & Troubleshooting and Genera] fracmo2000:
Ok, so after reading all the great reviews i jumped ship to this build. So far, so good (no freezes etc), market seems fasts as does the phone in general.

However, I have to small problems which i cant fix (I have searched both this thread and others)

1) This update thing, I have unrared the file, put it into desire_cs and rebooted...but still only get 1250...how do you guys setup setcpu?

2) This build goes into desire_cs...the loader in wm only looks for android folders...which loader is best?

thanks for the build, apart from that it seems nice to use
[HD2 Android Q&A, Help & Troubleshooting and Genera] teamrf:
nice Build but one big Problem.... DATA

First of all this is a very nice, fast, and stable build....

I´m having problems getting my Data Connection to work it only shows Upstream (Arrow Up blinks) Downstream cann´t be established on my provider (bob Austria).

Works fine in other builds (currently using Hasatrin 8.5, MDJ matted 1.4)

With a SIM from (A1 Austria) i´ve no Problems with Data at all.

The bob SIM is roaming in A1 Network (local roaming) maybe there is a setting within the build that prevents Data in Roaming (not the Option set under Wireless Network)

i have tried all rilwrappers found here on the forum please advice as i would like this to be my build for daily use.

if someone has suggestions i´ll test it and report back, or point me in some directions.

nice greetings from Austria *snowing outside*
[HD2 Android Q&A, Help & Troubleshooting and Genera] xpedax:
Great Build

For me this build works great, everything is going fine, no problems detected

THX!

@teamrf :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] szfjcr:
I ran into this same issue. Ended up reinstalling onto sd card with the latest initrd found in this thread.

Haven't had the problem since. This is one of the best builds I've come across.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Beretta93:
I am using setcpu of course, but still I have this power drain problem, I have checked my apps but no parasite. Problem comes from system and sense which burn way too much cpu occupation. I will try with another to check precisely the origin of issue.
[HD2 Android Q&A, Help & Troubleshooting and Genera] najir:
what kernel are u using, i'm already using initrd 24.11.10 but still my phone not charging with usb cable from pc or even incar charger.
[HD2 Android Q&A, Help & Troubleshooting and Genera] lucian777:
This is 99% a kernel issue, try latest kernel and modules from autobild http://oe.netripper.com/files/htcleo_autobuild_evo_tree/?C=M;O=D , or latest Hastarin http://xdaforums.com/showthread.php?t=787588
[HD2 Android Q&A, Help & Troubleshooting and Genera] szfjcr:
I reinstalled with the 11.24.10 initrd and the hastarin 8.5 update.
[HD2 Android Q&A, Help & Troubleshooting and Genera] najir:
thank you szfjcr, now the usb charging working after changing kernel to hastarin:)
[HD2 Android Q&A, Help & Troubleshooting and Genera] GavTheStoner:
Just had my first corruption with the new initrd + fresh data + formatted SD card (again). It was fine for 2 days then this morning when I turned it on sense wouldnt load.

Any new ideas?
[HD2 Android Q&A, Help & Troubleshooting and Genera] bjcolema:
Still loving this build. I was getting low storage errors so I backed up, and restored to a 2gig data. Still smooth and still 2300 Quadrant.
[HD2 Android Q&A, Help & Troubleshooting and Genera] GavTheStoner:
Can I ask, do you turn your phone off? How many restarts a day (guess is good enough) just wondering.
[HD2 Android Q&A, Help & Troubleshooting and Genera] bjcolema:
Sometimes...yes. Mostly just to update the kernel. I try to unmount before I restart because of the possible data loss, but that has not been a problem since the beginning.
[HD2 Android Q&A, Help & Troubleshooting and Genera] michal_alton:
Hello. Its a great build, Im having score of ~2k and more. I was having issue with WiFi keeps on scanning for network and not able to find one but its gone when updated to hastarin 8.5 kernel and updated initrd.

Thank You for a great build.

Btw which autoboot do u recommend?
[HD2 Android Q&A, Help & Troubleshooting and Genera] LondonTownGuy:
Try excellor autoboot it recognises the desire cs folder without problems.
[HD2 Android Q&A, Help & Troubleshooting and Genera] fiftyz:
Desire HD Dump

Will you dump a Desire HD rom also?

By the way: Felicitari

The best Android Rom I used.
[HD2 Android Q&A, Help & Troubleshooting and Genera] tonyc:
Latest initrd and the hastarin 8.5 updated but I am still having intermittent battery charging not working issue... :(
[HD2 Android Q&A, Help & Troubleshooting and Genera] pieryx:
i'm experiencing data losses at every reboot; it seems it doesn't write to data.img all changes of the system between reboots
[HD2 Android Q&A, Help & Troubleshooting and Genera] imcmang:
I have lost data too after reboot system. Despite I apply to update patch. It could be restore by only re-download related app. Every thing is nice build but, its a critical problem :( Anyway thanks a lot of your build!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] chripo72:
Wow, this is great stuff! :) It's the build with the best technical concept I have tried so far, and I really like the idea to start with an unmodified image and apply comprehensible changes to it.

cedesmith, thank you very much for this brilliant work! :)

Since I like this build so much, I want to make at least a small contribution with three update packages which might be of use to other users of this build.

M-Deejay's kernel (version 7.1, including the fix for the camera's green tint)

LeTama's latest ril wrapper (version 0.7)

Additional ringtone and sounds from the Desire HD

--Chripo
[HD2 Android Q&A, Help & Troubleshooting and Genera] fracmo2000:
How do you apply these intrid things? i used winrar to unzip, put the files in the desire_cs folder reboot android/wm then it should be done? is there a way to tell?

i tried to use the one in the first post, but quadrant is still 1200?
[HD2 Android Q&A, Help & Troubleshooting and Genera] chripo72:
Yes, that's all you have to do. You should try cedesmith's initrd from 24.11.2010, it seems to fix data corruption: http://xdaforums.com/showpost.php?p=9406525&postcount=306

Well, it's not always that easy to monitor successful installation of an update. If you want to be really sure, you could run "adb shell" in debug mode and check for updated files.

Hmmm, a score of 1200 seems to be a bit low (mine is 1800 without o/c). Have you tried to run quadrant two or three times in a row?

--Chripo
[HD2 Android Q&A, Help & Troubleshooting and Genera] ilanifer:
help with script for update

Hi, I need help in writing a script for updating my framework.jar

This update is availa le for my language and I hav one file :framework.jar which should replace the existing /system/framework/framework.jar file.

Could you help ? I want to keep using this awsom build!

Thanks!!q