yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] copenhagen:
edit your /system/build.prop file

i guess ill go and check over the lcd change code now also.

shosts. your pay is cut for 1 week. lol

notworking:

if ( grep "lcd_density=" /proc/cmdline > /dev/null );
then
LCD_DENSITY=`awk 'BEGIN { FS = "lcd_density=" } ; /lcd_density/ {print $2;}' /proc/cmdline | awk '{print $1;}'`

if ( ! grep "ro\.sf\.lcd_density=$LCD_DENSITY$" /system/build.prop > /dev/null );
then
sed "s/^ro.sf.lcd_density=.*\$/ro.sf.lcd_density=$LCD_DENSITY/" /system/build.prop > /system/build.prop.tmp
mv /system/build.prop.tmp /system/build.prop
chmod 644 /system/build.prop
fi
fi

working:

if ( grep "lcd_density=" /proc/cmdline > /dev/null );
then
LCD_DENSITY=`awk 'BEGIN { FS = "lcd_density=" } ; /lcd_density/ {print $2;}' /proc/cmdline | awk '{print $1;}'`;
sed "s/^ro.sf.lcd_density=.*\$/ro.sf.lcd_density=$LCD_DENSITY/" /system/build.prop > /system/build.prop.tmp;
mv /system/build.prop.tmp /system/build.prop;
chmod 644 /system/build.prop;
fi;

ill update the rootfs's again and change the links in the post in my sig. :) (called it EDIT2)
[HD2 Android SD Development] uzi2:
Shouldn't you be catching some zzzzzzzz...... I've just realised what your local time is :)
[HD2 Android SD Development] PlayStation:
Thank you . But strange enough I copied the usual 240buildprop root file from a previous build and it still works!!!! ;)
[HD2 Android SD Development] benpaddlejones:
Cope sorry if these are dumb questions:

Does this apply to CLK users (replace rootfs.img & startup.txt)?

benpaddlejones
[HD2 Android SD Development] PlayStation:
No this is specifically for the new test SD build (08012011) only..... Cope has not yet released the new CLk and Magdlr builds which I am sure will include teh proper Rootfs when released :)
[HD2 Android SD Development] uzi2:
Yes, it's a dumb question and probably even dumber at 3:30am

You don't have those files with your cLK build, so how would you expect to replace them?
[HD2 Android SD Development] azazellov:
Best build so far...

Hey Cope and Warren,

Once again thank you for the hard work, everything works great for me.

It's by far the best build I've used so far and I've been using Android builds since last August on my HD2, everything from 2.1 to 2.3, Sense and stock, Evo, Desire, Nexus builds etc...

Only issue I have is that it seems my battery drains quickly but honestly I'm not even sure it's the build. I've had this HD 2 since March 2010 so I just think my battery is getting old, I've abused the crap out of it....

Anyway I'll look forward to your next release...
[HD2 Android SD Development] gargon01:
I was wondering the exact same thing! I always lose this animation too when I do a restore. To be honest, I was going to ask about the best way to restore stuff with Titanium because I've always felt that I might be overwriting/removing some newer functions with old ones when doing a full restore. Is the apps & data setting the way to go then because I always go for apps+data+system settings?

Thanks in advance
[HD2 Android SD Development] zarathustrax:
Thank you for the suggestion and comfirming that it's a bug in the build and not just me. I will give PowerControl a try.

Well, the biggest problem about this issue for me is that since I don't get a good 3g signal in my house, it keeps switching between E and 3G and causing my battery to drain quicker. I get 4-6ma on standby with build 022111, but on this build with settings the same I get an average of 20ma drain on standby.

I think when it's grey and trying to connect to data, it may even drain battery more because it keeps trying to connect... not positive about that, but it does definitely still drain the battery when it's gray.
[HD2 Android SD Development] benpaddlejones:
Update 2

Just flicked on Global roaming & I've had a stable connection all morning. However, I'm not moving geographically far enough to jump between towers. I wonder if its when moving that the problem occurs, would explain stable connection at home last night & this morning at work but a very unstable connection on the ferry to work?

When my new SD card rocks up I'll flash everything, be interesting to see if a change in kernal but old data.img is causing issues?

benpaddlejones :)
[HD2 Android SD Development] tommykry:
Keep us posted on this please! If the same kind of fix can be used for Dsp as with for the Camera green tint fix, that would be great!

Im loving this buid (022611) not having alot of the problems some are having, Thank you guys (Cope/Warrenn)! Im Loving my HD2!:D
[HD2 Android SD Development] copenhagen:
UPDATE

okay ladies and gentlemen

check this out.

UPDATE!

030111

-new kernel (by the one and only WarrenB) AmCanAndroid r3.01

(not sure whats exactly been updated in this baby.. but Warren can update the OP with the details for you) :) Um YAY!

-Major Major Cyanogenmod Updates from Feb 26 to March 1st

-more work done on bkup2sdext to guarentee no loss of data

-camera fix included in the build, you dont have to do it yourself.

(and THANKYOU for providing what I needed in order to go ahead with this fix you know who u are)(who gets the thanks for bringing this to our attention?)

-removed some useless files - remnants of earlier builds no longer being used.

===========================

-magloader users who want to use bkup2sdext feature

(first

make 100% sure your wp7 partition is NOT any of the first 3 partitions

on your sdcard.. if it is dont think about using this feature)

edit 05mountsd (/system/etc/init.d)

find this at the top of the file

...
if [ `getprop aca.nandboot.active` != 1 ];
...

and change it EXACTLY as follows

if [ `getprop aca.nandboot.active` = 1 ]; (your spaces matter for this)

then edit 01shutdown (in /system/etc/shutdown.d)

and make the exact same change.

then reboot.

===================

-removed button savior.. you can get it from the market

-further tweeking on data has done to again increase reliability of the data connection

-as far as I can tell the rogue data on problem is gone

standby for updated first post.
[HD2 Android SD Development] Segnale007:
I have been extensively using this rom for about 4 hours now and I must say its great, really fast, smooth and I haven't noticed any sort of lags so far.

Great job @AmericanAndroid, keep the good work up ..

Anyways, I was wondering if there are any kernels for sd roms that support OC. I have been looking through the forum for the past two hours but I haven't had any luck. I'd like to see how it react with few mhz of power more :)

Any idea ?? :D

Thanks
[HD2 Android SD Development] AmeriCanAndroid:
Thankyou for the kind words :) We appreciate your interest in our build :)!!

Now.....

i left space for emphasis.

THE INCLUDED KERNEL SUPPORTS OCing

!!!!!!

(caps = emphasis not yelling or angry) ;0

side note:

the user asking if dspmanager could be patch fixed like the camera.

I highly doubt it. How about we just wait until cyanogen fixes it.. since that is their department. If they arn't moving fast enough with the fix, you could always try to email them your discontent ;) or lol like I said..we can wait for it.

IMO without dsp working...you should find music player that has a built in eq.

thats the best I can offer for a work around at this time.
[HD2 Android SD Development] eXceed:
Literally just downloaded the 26th March version and you released this just now haha :).

EDIT - any link to just the kernel?
[HD2 Android SD Development] killa_kota327:
super excited

I cant wait to get this new build running Too bad i have a bunch of online training for work to finish (shame on me for procrastinating).

but as always I look forward to testing and ill give a heads up if I find anything that can be considered no bueno. Ill also tell ya if its all good :D
[HD2 Android SD Development] AmeriCanAndroid:
no. the modules have been built into the build.. so if you want the newest kernel you gotta dl the new build. :)

you dont lose any data and you can keep your old data.img.. so...

:P

hahah this IS a Nightlies build... even tho some nights I dont put up a release... you should always expect this to happen just after you upgrade to the build before lol

ie: like you said you just downloaded 26 and BAM now theres a March 1. lol :) hehehe

but common who doesnt like new updated stuff? Its like crack for techies.
[HD2 Android SD Development] AmeriCanAndroid:
stop backing up and restoring "everything" on your device.

all you need to backup is "apps and user data"

when you restore, start by only restoring "missing user apps only"

if you dont know what your doing with titanium backup you can really mess up your android install.

USER APPS ONLY!!!!!

alternatively partition your sdcard and take advantage of the auto backup/restore the build has for apps, user data, app settings, and dalvik-cache.
[HD2 Android SD Development] AmeriCanAndroid:
dont let ACA get you in trouble... ;) we dont have the man power to get you out of it :)
[HD2 Android SD Development] tommykry:
I have no problem waiting till Cyanogen fixes the Dsp, i just figured if it was as easy as the camera green tint fix thing just putting a file in a folder that would be cool, but if not, no big im patient:)

Looking foward to trying the new build souds like some good things going on in it, can't wait to take it for a spin.

Hope warren is felling better, and thank you guys for your great work and dedication!

Tommy
[HD2 Android SD Development] 2b2b:
che scherzi - it's 2:43 night here ;-) - if that isn't a nightly one..

greeeeeeez, 2b2b
[HD2 Android SD Development] PlayStation:
Cope you dont mention battery drainage yet a number of your users keep on requesting for tweaks to ensure better juice saving. Perfect builds but there is a ghost inside swallowing batt blood. And please dont hang me. I had to state this fact as i f5 for the download link. He he :)
[HD2 Android SD Development] gargon01:
Much appreciated! You learn something new every day!

Thanks
[HD2 Android SD Development] copenhagen:
hmm

i dont have a proper answer.

I can tell you that my device hovered @ ~5 to ~10 ma all day with just data on.

I can tell you that 1 of my 2 batteries can no longer hold a charge longer then 1.5 hours.

I can tell you that data turns off when wifi is on that that wifi turns off when the device is off.

I can tell you that task killers actually work against you if you are trying to save battery life.

I can tell you that battery life is better if you turn off radio's you arnt using such as wifi or gps or data.

I can tell you that you have pretty eyes and that you look good in that dress, but it would look better on the floor.... mewhahaha (of course you'd have to be female blonde tall and gorgeous..) lolololol but thats just silly and really far off topic ;) and not helpful to anyone but me and the tall blonde woman. lol!

Battery life and android has ALWAYS been a problem, esp one found in the earlier generation of smartphones (which the hd2 happens to be). Even phones made by google at the same time as our hd2; ie the nexus.. had unbelievably short battery life.

What to do? I donno other then what I've said ^^ up there.

Keep a spare battery on you. Keep a car charger in your car, and a wall charger at your desk at work, and a dock station @ home. lol

I wish I could give a better answer, but its simple. Our batteries are small. They are getting old. We are driving a 'hummer' in the sense that it just EATS the gas (power in this case). Start lookin for OEM spare batteries on ebay.

Dont buy the cheap knock offs out of china.. (I WARNED YOU) otherwise after a short period of time your spare battery will end up like mine. < 1.5 hours total on full charge. My oem battery still lasts the whole day if I use it wisely.

shyt. I gotta add that extended info to the partioning guide... (the sdcard format util et al) thanks for the non-intentional reminder gargon.
[HD2 Android SD Development] THXWOW:
Battery life solution???? and 3G Rogers

Of course, with any new setup, it's best to reboot a few times.

After that, try turning off "Wireless Networks" in "Location & security".

See if your battery life improves.

I get about 4-5 mA according to "CurrentWidget".

When the ROM boots up, it says 3G ROGERS, as the SD card is preparing, the 3G part disappears. WinMo has 3G ROGERS solid. Dunno if that's really an issue, as I get 3G speeds with data. But it does make me wonder, if voice is using 3G or not, I can't tell.

PS. Does anyone get the screen staying black when you turn the phone on, instead of showing the lock screen? I see that happen on occassion. I'd like to lengthen the timeout on the lockscreen.

PSS. Thanks for the new Mar. 1 ROM!!!
[HD2 Android SD Development] copenhagen:
:) I hope no-one got to you on this yet (cause I like to be first!)

YES YES THERE IS A WAY!!!!

:) and its suuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuper easy.

open TERMINAL app.

type what i type and ill show 'hit return/enter' with this character ";" .. press enter where you see these - forgive me if I'm low balling your tech savvyness here.

su;

cd /sdcard/dcim/.thumbnails;

ls; <- verify all your thumbnail FILES should be showing in the ls. if so

touch .nomedia;

ls -l .nomedia; <-(thats an L) just to verify there is now a .nomedia file present

ALL DONE ;) no way!?! way!

what did we just do. we touched (created an empty) file called .nomedia

any folder with a .nomedia in it is exempt from being added to the gallery

you can do this for any folder containing files that are showing up in your album. you may have to rescan media or reboot after you do this

TADAH!

DAMMIT! the partition guide! must do////lololol sidetracked
[HD2 Android SD Development] geenyous:
I haven't asked for help, just thought I might help by providing feedback on a known issue that happened to others and happened to me too although I am on a different kernel which might help in narrowing down the source of the problem (in this case, as you also confirmed above, the build).

I wouldn't have reported it if it wasn't for dtttung80s post and I believe this info helps as it appears to be some cyan stuff cope and warren can't control and that has been changed again in 072911 and not kernel related which would mean that, if other users also report the same, they had some work to do.

I think I have described why I use what I do, and I would also say that you are wrong. ACA has enough full ACA testers with all the various HD2 versions covered, by having a different kernel I can report on issues that seem to be build but not kernel related, or vice versa. I do hope you can see the value in that.
[HD2 Android SD Development] noija:
dalvik cache again.. and a little BT ;)

Still having some issuing during some boots. Not all... Stuck during the green android dancing dude. This happens after i use the darktremor app2sd commands to move dalvik. I removed the dalvik cache script from ACA zipfile before applying it. Could this be related in some way of how the partitions are mounted or dismounted by the build? Rebooting usally works but power off and then on never does.

Do I really need to move the dalvik-cache? I move my apps with the darktremor script but could not moving the dalvik cache after moving the apps cause any issues or is it just to release even more space?

I'm going to say this again... I know it's been up before but I really need/want someone to please take a look at it again or try to involve other developers to try to solve the BT drain issue. It's really annoying that it's there when everything else is working as good as it is. I use a bluetooth headset on my helmet going to and from work and then I have another bluetooth headset at work. I need to keep a charger at work as well just to get through the workday.

I will donate $100 when it is solved and I urge the rest of you here to donate (not having to be $100 but something) when it's solved. If you care about it write down how much you'll donate when it's solved in the thread...
[HD2 Android SD Development] uzi2:
Don't go complaining it shows the wrong date, though ;)
[HD2 Android SD Development] plnf:
Hi All,

Before thanks for this excellent work on this Android Rom.

Now, from the 23062011 version I cannot upgrade to a newer version of AmeriCanAndroid, always it stops at the first grey screen and do nothing more.

Guys do you have a solution for me.

Please help me to solve this little pbm.

Thanks in advance

Kindest Regards

Plnf
[HD2 Android SD Development] uzi2:
You can move the dalvik-cache with dtapps2sdext.

open up terminal

su

a2sd cachesd

Here's the result

http://xdaforums.com/showpost.php?p=16066667&postcount=13607

Wiping the cache should help with your reboots.
[HD2 Android SD Development] benpaddlejones:
Sounds like it's time for bed for you too.... #cranky

Appologies I don't know what time zone people are in and the file is taking 30min to download so I haven't seen it's contents and I wanted to check.

....
[HD2 Android SD Development] noija:
That's what I did (but via adb shell). First time I didn't wipe the cache but after updating to (and actually doing a clean install as well) of 290711. Still having these boot problems.

Here is my diskusage:

# df -h
df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 205.8M 32.0K 205.8M 0% /dev
tmpfs 205.8M 0 205.8M 0% /mnt/asec
tmpfs 205.8M 0 205.8M 0% /mnt/obb
/dev/block/mtdblock3 190.0M 179.2M 10.8M 94% /system
/dev/block/mtdblock5 214.0M 25.7M 188.3M 12% /data
/dev/block/mtdblock4 5.0M 780.0K 4.2M 15% /mnt/cache
/dev/block/mmcblk0p2 914.7M 118.4M 747.5M 14% /sd-ext
/dev/block/vold/179:1
6.4G 989.7M 5.5G 15% /mnt/sdcard
/dev/block/vold/179:1
6.4G 989.7M 5.5G 15% /mnt/secure/asec
[HD2 Android SD Development] PlayStation:
Yes of course it now says 27/7 but do I really care about that? No. I know what I have.......:D

Back to the EU HD2 discussed in previous page. I got conflicting response from you and Cope. I am absolutely sure my device has 512 Mb of rom and not 1024. It was one of the earliest HD2 even before there was any talk of T-Mobile HD2. I even recall unlocking something (ram???) to 576 where it was originally 448 or something during the early days of Winmo custom roms. I know I might be making a fool of myself here confusing rom and ram but I never claim to be an expert in these things.....;)

So I agree with you here and not Cope but I guess the simple explanation is that Titanium Backup system info reports what it has been tricked to see and not the actual System rom. My actual system rom is in any event under Windphone 7 and I doubt TT would be capable of seeing items under winphone. But I stand to be corrected. :)
[HD2 Android SD Development] Nelthalin:
The only Phone i really like is the HTC Sensation. The GSII feels to cheap with that carbon firber/plastic feel. It is lighter but it feels like its gonna break when you drop it one time.

The hardware is better but stock both phones doe not feel that snappy. Especially the sensation. But i wonder what that phone could do with custom roms.

I think i'm gonna wait for the follow up of the Sensation. Maybe that will be a worthy followup for the HD2.
[HD2 Android SD Development] uzi2:
There was nothing conflicting between my explanation and Cope's, so you can agree with both of us :)

TB doesn't see the true internal rom with an SD build, it is reporting the data.img and system.ext2

Compare that to a nand build

http://xdaforums.com/showpost.php?p=16066667&postcount=13607

The System ROM and Internal Storage represent the total available rom on the system (TMOUS users would have double this). The SDcard (a2sd) is my ext-sd partition.
[HD2 Android SD Development] copenhagen:
Edit I just saw evo's post above... okay.. good. thx evo

okay so the clk and magldr builds are posted. let me know if the gps is any better now on the clk build.

the rootfs is fixed in the sdbuild now to correctly handle the lcd setting. (see the seperate rootfs dl's)

any other issues we may be running into could also possibly be due to the version update to 2.3.5 so.. keep that in mind also.. cause nothing has really changed over here except what I've documented for you all... and have been working on with you over the past few days.

id like to ask the clk and magldr users:

before you go adding in "stuff to sdext" scripts

to make sure the builds are wokring correctly as is

--> that said ... move all the apps u can to ur sd card in app settings and choose the sd card as the default install location.

THEN after you know its working as it should be, add in your scripts.

its getting hard to trouble shoot the causes of these problems amongst all the changing
[HD2 Android SD Development] cariocap:
Hi Cope,

I checked the date of:

/system/lib/libgps.so

/system/lib/hw/gps.htcleo.so

In 080111 they're older and smaller.

As soon I installed GPS_Libraries_v1.9_NMEA_for_HD2_Gingerbread_update my GPS now fix in seconds.

Thanks
[HD2 Android SD Development] clarkg:
Agree with you completely, I have a pair of Bluetooth headphones and really like just being able to turn them on and play music without even taking the phone out of my pocket.
[HD2 Android SD Development] copenhagen:
https://github.com/AmeriCanAndroid/android_device_htc_leo/commits/

Updated GPS to Tytung 1.9 NMEA

AmeriCanAndroid (author)

3 days ago

commit 8204f9eee7e40af0ca91

tree f3ddcc7315e501d2f117

parent 06b6555f7b9a2dfb6f68

i give up.

warren have you anything to add to this conversation?
[HD2 Android SD Development] uzi2:
The added line in the gps.conf is already a proven fix for the cLK build, but it doesn't address the underlying problem.

http://xdaforums.com/showpost.php?p=16237872&postcount=14234

Downloaded - will install and report back later...

Evo :)
[HD2 Android SD Development] PlayStation:
My browser or something does not allow me to multi-quote but this is what Cope said...
[HD2 Android SD Development] cariocap:
If T10 means tytung r10 kernel I decide to not use it because of it's low BT implementation that uses less battery but it also gave problems with my AVRCP (FF / REW / STOP) functions that doesn't work.

EDIT: I have a Sony DT-BT22
[HD2 Android SD Development] uzi2:
He did apologise for that in an earlier edit of his post. It was me that started the confusion as I suggested you had a TMOUS HD2 earlier. You have 512MB rom not 1024MB. We were in full agreement about how it was used...
[HD2 Android SD Development] copenhagen:
*in this case.. acknowledged the mistake of assuming the device has 1024mb of internal mem.

:) (except i still dont think he gets it)

uzi.........

some day...

ima come and take you for some beers.
[HD2 Android SD Development] shost:
I will find rock big enough to hide myself under it.
[HD2 Android SD Development] ecb5:
i did apply the libraries also.

Never fix in seconds.

Have you modify your gps.conf

i will install latest clk and see.
[HD2 Android SD Development] p107r0:
the simplest solution seems to be start from the scratch - make backup (with e.g. Titanium Backup), rename your current android folder so you can go back to it if all fails, switch to WinMo and put the latest build in the new android folder on the card, run it, let it create the data.img and then restore your apps and settings
[HD2 Android SD Development] cykeltossen:
thank for the help, but it did not work, my startup line is

"set cmdline "rel_path=Android nand_boot=0 lcd_density=240""

pleas can you help...
[HD2 Android SD Development] ketabruce:
Unable to boot...

Hi,

I repartitioned (deleted linux swap) and recreated, formatted FAT32 partition on my SD card. I copied back my Android folder onto the card but now it cannot boot any more. I stops at the "powered by" screen and cannot get any further.

Any ideas how to repair it?

Thanks!

SOLVED: had to reformat it under winmo, now it boots fine again.
[HD2 Android SD Development] PlayStation:
Me too 240 did not work even with Edit 2 Rootfs. But I edited the build.prop and now I am enjoying the 240 density with proper system description as opposed to using old 240build file.... :cool: