yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] docent14:
Hi.

There is an error:

/dev/sdb4 * 63 3862527 1931232+ b W95 FAT32[/QUOTE]

to work properly partition must be set as primary and FIRST (sdb1) not (forth) sdb4. I suspect some kind of an error.

if you want to start over just zero first couple of sectors on sdcard for example:

# dd if=/dev/zero of=/dev/sdb bs=512 count = 1024

WARNING!!!

This will delete ALL data on sdcard - MBR, partition table etc.

Start over from my tutorial with fdisk, or use gparted, or cfdisk...
[HD2 Android SD Development] uzi2:
It's included in the update. You don't need to do anything else, just be prepared for your device to turn off after about 5mins.
[HD2 Android SD Development] uzi2:
Excellent - it's now just a case of setting it up the way you want it :)
[HD2 Android SD Development] davidthomson:
HUGELY Improved Battery life made easy

For those that missed my earlier post I've found 2 things that make a HUGE difference to battery life. I believe they are related and a bug the DEVS can fix but until that happens here's how I've got my battery drain down to the levels of some other builds. (Now at 5-6mA in sleep mode)

1) Settings -> Location & Security. Uncheck "Use wireless networks" and reboot. This gets my Battery drain down from continuous 60mA and WiFi frequently left on in sleep to 5-15mA. I appreciate this is not ideal for those who use maps or like the weather forecast updating based on location but as I said until the bug is fixed at least you get a huge increase in battery life.

2) CPU governor. Using SetCPU's stats I can see that the default On demand governor is giving some instability when the phone is idling. The clock speed is constantly cycling between 998MHz and 245Mhz. The stats show that the CPU pretty much spends equal amounts of time at 998MHz and 245Mhz. This appears to stop sleep mode properly initiating. By changing the governor to "conservative" I've not noticed any performance slow down in normal use but have found that the clock speed spends all idle time at 245MHz and the CPU, Wifi, etc all enter sleep mode when the screen turns off. This gets your sleep mode battery drain down to 5-7mA. Lets face it the rest of the build is so fast I doubt you'll notice

Until what I believe is a bug in the the location service is understood and fixed I'd say 1) is essential to get a reasonable battery life and 2) certainly seems to help as well.
[HD2 Android SD Development] docent14:
I am not convinced. I use this settings all the time and have 2-6 mAh

The main difference between 'ondemand' and 'conservative' is time in switch is made. In conservative mode it takes longer to change CPU clock - less rapid changes. In ondemand mode - which is set for high response units like CM7 - it takes less time.

Anyway - if battery saving mode is a priority for you - feel free to experiment. In the other way - I see no much point in exchanging governors.
[HD2 Android SD Development] shamez23:
Working just fine.

But I'm not going to tell you what you have to do to make it work.

The answer is on almost every page of this thread, on some pages even two or three times. It can also be found in the faq.

Go figure it out yourself.
[HD2 Android SD Development] __s:
cyanogen removed ad-hoc support from version 7. damn.... there's a patch http://szym.net/android/wpa_supplicant-ibss.patch

but it uses git, some1 know how to install git?
[HD2 Android SD Development] docent14:
depends on a system.

apt-get install git

zypper install git

;)
[HD2 Android SD Development] __s:
patch must be applied to android. there's no atp-get or zypper on current build
[HD2 Android SD Development] __s:
nope its not git its a switch to diff.

diff --git

there's no such switch in droid's diff
[HD2 Android SD Development] docent14:
it's a normal patch file. Download android cm7 source - plenty of files.

Download this patch as a file:

Goto directory where file: ctrl_iface.c lies

do a:

# patch -p1 --dry-run </filename_of_patch

If no hunks rejected -0 remove --dry-run and try again.
[HD2 Android SD Development] dark alex:
So devs will have to fiddle around with that unfortunately...

Why the **** did CM take that out?

Would you, devs, implement this patch for next release please? =)
[HD2 Android SD Development] chemass:
DracoX - seriously... SEARCH!

The angry birds issue/led issue and data issues have all been well covered.

Anyway - go to settings > applications > manage applications and move angry birds to the phone. Then it'll work!
[HD2 Android SD Development] Rollo82:
how can i test my battery drain in mA?

thanks
[HD2 Android SD Development] davidthomson:
HUGELY Improved Battery life made easy
[HD2 Android SD Development] geenyous:
APR02 feedback

- data still moving... (very very strange, some folders dont get touched, others are gone after every reboot... also I made 2 reboots after update and each time another folder was gone :confused: )

- iptables error still there (Droidwall will not work since MAR26 release...) -> of course this is not a killer problem but still not good, I like to be in control and tell which app to go online and which to stfu...

- again had an app there after reboot that I deleted before so I had to delete it again and then also identify the app from sd-ext/app and delete it there as well - somehow this script is not getting executed propperly, I never shut down any other than through the menu... -> so far this backup feature cost me a lot more time than it saved... :D

-> I just noticed that it happened with apps that I either bought or that had a new release (GoSMS), so in both cases I had two similar apps and after uninstalling one and rebooting it was there again. Maybe that helps with problemshooting

- First reboot stayed at the green htc logo and then shut down, dont know if that is intentional but permissions script was gone after and everything seems to be ok.

other than that no major problems but all still very fresh, will keep testing and report back.

btw, I second what some other guy said about the loading animation, the second part is not that nice (irregular pulsing), rather just have cyan under the aca font and I think it would be better to have an endeless stream of us and can flags in the first part.
[HD2 Android SD Development] uzi2:
Looks like the quotes are a bit mixed up in posts 4145-7 (XDA?)

Anyway we know what we said :)

Oh, I see, it's because post 4145 is missing the close quote and that post has been quoted...
[HD2 Android SD Development] uzi2:
Currentwidget
[HD2 Android SD Development] angajs:
i have installed the latest version of April 2, i have some issues

1. Sometime the call quality is near bad, i cannot hear the caller but the caller can hear me well.

2.LCD light is always on!

3.Doesn't restart automatic after the setup.

Voice quality is a issue , i always have to disconnect and call again to get a clear voice , The mobile signal bar is full , so it is not the problem with the mobile network, incoming calls are fine

hope some can suggest me a solutions

thank you
[HD2 Android SD Development] jordan45h:
SD speed

system/etc/init.d/05mountsd the section in there is CLEARLY labelled and easy to change

what i need to change there ? , and can i do it using root explorer ?
[HD2 Android SD Development] t-mizzle:
So nice to see people walk into a thread and refuse to read, it's been answered many many times.

Sure, here is a solution: Go back to winmo if you can't read!!!
[HD2 Android SD Development] shamez23:
You don't have to ask the same question three times in a row. That's quite rude.

Either noone has a answer to your question or those that do don't think it's worth their time to answer it.

Either way, live with it instead of making this thread more unreadable than it already is.

The Lockscreen is a minor thing. Even if it is a little buggy the build is usable. If you want perfection or as near as you can get, stick with winmo.
[HD2 Android SD Development] uzi2:
If you're using the 240 build, you won't have a problem.

Sent from my ahd2oid
[HD2 Android SD Development] ben.marks:
Same for me. no issues with using Windows Explorer.
[HD2 Android SD Development] pascalsg:
air attack HD not working for me
[HD2 Android SD Development] shamez23:
It does work.

Read faq (link on first page of this thread).
[HD2 Android SD Development] pascalsg:
Sorry, forget to read the thread. My mistake!!
[HD2 Android SD Development] TheSkepticalGuy:
Modern Combat: Black pegassus and Gun Bros don't work with new updates? any suggestions
[HD2 Android SD Development] shamez23:
Did you try moving moving from sd to phone?
[HD2 Android SD Development] Animefan:
tyvm Uzi2 is nice that someone knows and replys ^^
[HD2 Android SD Development] shamez23:
It's not about knowing or not.

It's about wanting to answer a question that has been asked 3 times to force that answer.

It's about if you want to do the work of someone that can't be bothered to do it himself.

You don't read, you don't use the search engine, you don't find things out for yourself, you don't think. You do however, terrorize others to do your bidding.

Things like that make reading this thread ever more painful.
[HD2 Android SD Development] docent14:
1. Change cache parametrs

On your own risk!.

Edit only in Linux, or with proper editor (notepad++/systempad/vi)

/system/etc/init.d/05mountsd

# All Credit For SDCARD Fix goes to xda user brainmaster. For details

# see http://xdaforums.com/showthread.php?t=1010767 (2048 fix)

if [ -e /sys/devices/virtual/bdi/179:0/read_ahead_kb ];

then

/system/xbin/echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb;

fi;

Change bolded value on whatever you like, multiple of 128 (16x128 = 2048 for example)

2. Securing sdcard:\android\data

again:

/system/etc/init.d/05mountsd

find and place # on the first lines from

# extra data/ folder collection and clean up

for i in sdcard/android;

do

if [ -d /$i/data ];

then

busybox cp -a /$i/data/* /data/data/;

busybox rm -rf /$i/data;

fi;

done;

to:

# extra data/ folder collection and clean up

# for i in sdcard/android;

# do

# if [ -d /$i/data ];

# then

# busybox cp -a /$i/data/* /data/data/;

# busybox rm -rf /$i/data;

# fi;

# done;
[HD2 Android SD Development] htc_HD2:
first 3 restarts battery consumption is 5-8 mA

after that 4,5,6.... baterry consumption is 60 mA

use ver. from 28 march on euro Leo win rom 3.14 radio 2.15

why is that?
[HD2 Android SD Development] ptrics:
Mod Version ??

first of all... thanks for this build... exxxxxxellnt

one thing on version 0402, i override the Android folder from this build (0402) to the lasd one (2903) and in Mod version it says "cope & warrenb present: AmericanAndroid GB 233 CyanogenMod7 HTC LEO 032911

Is just me, or someone else...???:confused:

or should i make a fresh instal???
[HD2 Android SD Development] light_n_roses:
ok I have tranfert air attach from SD to the "phone memory" and now it works...is there a particolar reason for this ?
[HD2 Android SD Development] uzi2:
I think you need to try again. Make sure you

overwrite all the files with the ones from the new build.
[HD2 Android SD Development] uzi2:
It would be even better if you would search before you post. Had I realised you had posted the same question 3 times without waiting for a reply, I wouldn't have bothered...
[HD2 Android SD Development] ptrics:
thanks for the fast answer...

I´ll try this but my frkn windows xp don´t recognize my device... dam xp....
[HD2 Android SD Development] uzi2:
Do you have a card reader?
[HD2 Android SD Development] Razor1973:
I am having trouble with the first bootup and was wondering if anyone can advise.

I have WP7 on NAND and booting up OK. I also have RAFDROID on SD (\Android folder) booting up OK. And, on top of that, I also have BOYPPC on SD (\GINGER_B folder) booting up fine.

So my first attempt was to boot AmeriCanDroid from a folder named AmeriCanDroid right off the root of my SD. I made sure I edited startup.txt as set cmdline "rel_path=AmeriCanAndroid gps_zone=us nand_boot=0". The bootup sequence got stock in the splash CM7 screen with the android and the spinning arrow (or the one that says AMERICAN ANDROID, I forgot, cause I did many different tests). I edited the file using Notepad++ and tried lines ending both in Windows (CR+LF) and Unix (LF) formats with the same results.

At this point, I gave up on renaming the folder, so I renamed my current Android folder (RAFDROID) and unzipped the AmeriCanAndroid "Android" folder onto my SD card again. Same result. Changed startup.txt to Unix format... Same.

What am I doing wrong?

P.S. I am using the TMo ROM, since I am a paying TMo customer.
[HD2 Android SD Development] uzi2:
This build needs to use the Android folder, so your attempts to rename it might have caused problems. If you already have an Android folder on the card, rename it. Then copy the Android folder from the AmCan build to your SD card and you should be there.

One thought, with all the other builds, is there enough space on the card?
[HD2 Android SD Development] Razor1973:
Yes, that's exactly what I did after my first attempts to rename the folder. I went to the SD card, deleted the AmeriCanAndroid folder, renamed my Android folder as RAFDROID and copied the Android folder contained in the warrenNcopeTMo 040211.7z file I downloaded from here to the root of my SD card. Then, in MAGLDR 1.13, I did the usual Services -> Bootloader -> Pick AD folder and selected my new Android folder. Then, I started SD AD and got stuck in that bootup screen.

Yes, after copying the Android folder to the card, I had about 3.5 GB free. :\
[HD2 Android SD Development] docent14:
Look at FAQ and start wondering about partition layout.

WP7 partition must be last, not first.

People, don't be lazy.
[HD2 Android SD Development] copenhagen:
OMFG.

We already use the bloody adhoc patch on our build.

You guys wanna take over the project all together?

Perhaps you can do a better job then we are currently doing.

You can make ur own kernel. You can solve your own problems...... you can deal with all this already posted BS that is going on in this thread.....

just say the word and the project is yours.
[HD2 Android SD Development] Razor1973:
Lazy? Did you read the part where I mention I boot up two other Android ROM's from this same partition layout? People, don't jump the gun.
[HD2 Android SD Development] sharkmarc:
Thanks,

Couldn't find the correct DNS for Vodafone NL.

I've tried 3 different DNS setting that I found on the web but none of them fixed my data-drops. Now I've put in the DNS that I got from this program 9 hours ago and haven't had a data-drop so far :D

I did had some minor problems installing the app but thats because my HD2 is in dutch and then the path to the program is "Programmabestanden/Network analyser" but the "network analyzer" folder needs to be in the folder "Programfiles" to work. Just made the folder "Programfiles", copied the "network analyzer" folder in there and it worked.
[HD2 Android SD Development] copenhagen:
the reason your build is showing the wrong date is because you are using the 240buildprop from a previous build. majorly confusing i know.
[HD2 Android SD Development] Earthbrain:
How do I get rid off the little arrow in the middle of the right side of the screen. It is very annoying. It shows up everywhere....even when I watch a movie.

Thanks.
[HD2 Android SD Development] crayola555:
Good build, been using it so far without any issues. I should be just hitting the thanks button but I decided an "e-Beer" would be nice :)
[HD2 Android SD Development] sanjayav:
Superb Build

Guys, amazing build...Thanks a lot for your work

One question:

Cant able to play any movies of avi/mkv format. Tried Rock,Meridian,MixZing. The only one does work is QQPlayer but the quality is not good(both audio and video). Any suggestions?

The above doesn't matter to me. Just good to have thing :)....Keep rocking fellows :)...cheers
[HD2 Android SD Development] Earthbrain:
Do you guys see that annoying little arrow in the middle right side of the screen?

How do you get rid of it? It is displayed on all screens.
[HD2 Android SD Development] sanjayav:
Its an application called Button Savior.

Do this:

Go to Settings -->Application -->Manage Applications --> All -->press Button Savior in that list --> press uninstall

This will remove the little arrow

To avoid auto installation of the application after reboot, do the below

Go to sdcard/android/android apps/ using any file manager in phone or browse through explorer in PC ...then delete swkey11.apk.
[HD2 Android SD Development] toneylaser:
go to the app button savior and click kill/start button savior service i think you got a do it every time u reboot the device
[HD2 Android SD Development] euikyu86:
Whoa... just whoa...

i've been checking out most of your releases

and downloading the latest right now

Feb 16 release was the greatest build so effing smooooooth and faaaaast lol loving it

but how does everyone update when a new build comes out?

I always backup few things i would like to keep, and delete everything on sd card, then put the new one...

is that unnecessary...?
[HD2 Android SD Development] warrenb213:
Hey bud,

This time around don't worry about it. Just replace all the files when you copy over, leave the sd just as it is and also leave the data.img.

My first test of the new build before it was released was using our data.img and sd-ext as it existed in the 2/16 build.

Tomorrow we'll release the full "world" edition.
[HD2 Android SD Development] clarkg:
I use Rockplayer on mine. Works flawlessly.
[HD2 Android SD Development] docent14:
QQPlayer works and a new edition of Vplayer also works.
[HD2 Android SD Development] me3pheap:
how to enhance the ring tone ????
[HD2 Android SD Development] postmeister:
Is anyone else having problems with low quality widgets? I love this build but that just keeps bugging me and I've tried everything I could think of to fix it. Arhgg
[HD2 Android SD Development] notilad:
Hi Warren,

Copying over and replace also applicable to apps2sdext setup (fat32-ext3-linuxswap)?

Regards,
[HD2 Android SD Development] mishans:
... keypad lights stay...

hi Warren, copenhagen...

Please

I want to have keypad lights stay on for about 5 seconds and then to fade away until the next time you press them.

in build 16.feb keypad lights always on, when phone not locked, of course!

I found this

The keypad backlight can be controlled via /sys/class/leds/keyboard-backlight/brightness. It appears that it's a simple on-off control (echoing '0' turns it off, echoing '1' or higher turns it on)

but every time I lock and unlock the screen it returns to the previous setting '255'.

solution?

Thanks in advance!
[HD2 Android SD Development] adi_tya89:
Unable to install !!

STUCK AT THE CYANOGEN (MOD) 7 SCREEN ,after the htc green logo screen.

its been 1 hour and still i am stuck at the blue circle cyanogen mod 7 screen which is freezed.

even the arrow is not moving.

& the keypad lights are constantly on.

what must be wrong??

i hav tried again nd again ,

formatted the sd card completely

im using magldr1.13

what could be wrong?? thank you:confused::confused::confused::confused:
[HD2 Android SD Development] Avatiach:
Help with apps2sdext

I've carefully read this explanation of how apps2sdext work on this post:

http://xdaforums.com/showpost.php?p=11312966&postcount=2058

Sounds cool :-)

So I partitioned the SD card based on the (excellent) instructions on docnet's FAQ and things seem to work fine.

Today I updated my build from the 16th to the 19th. I deleted all android related folders from my SD card, as well as the data.img file, in order to test the apps2sdext functionality (all backed up, of course). I did not do anything to the sd-ext partition. However after the installation ended my apps from the previous build are not there.

when typing mount|grep sd-ext on terminal, output is:

/dev/block/mmcblk0p2 on /sd-ext type ext3 (rw,nosuid,nodev,noatime,nodiratime,errors=remount-ro,data=writeback)

Any advice on what I might be doing wrong?

(not sure if it's related, but I used world version of the 16th, but switched to TMo on the 19th).

Thanks in advance!
[HD2 Android SD Development] titoxperiax10:
Wow.... I love this ROM, stable, fast, everything works for me... Thank you for your work AmeriCandroid... happy...
[HD2 Android SD Development] Rollo82:
sorry i was saying that i read the faq... i can't write english so good so probably you undestand that i haven't...
[HD2 Android SD Development] DanijasDub:
Q????

How do you charge your baterry ???? I'm using mains charger, in gingerbread charging stuck @ 87% i rebooted back to WM and there baterry was full 100%... Does it makes a difference to baterry depending which OS you are using ???

Thank you
[HD2 Android SD Development] docent14:
in terminal emulator do:

# cd /sd-ext

# ls -l

and put output here.
[HD2 Android SD Development] copenhagen:
where is the screenshot of your battery consumption we asked users to post when they make a comment on their battery life?

the next user that asks a question about battery life that doesnt post a screenshot of their consumption.... .gets posting privledges on this thread revoked.

I'm starting to get pssd off... do you understand this? no more garbabge posts. thats the end of it.
[HD2 Android SD Development] ptrics:
no i don´t :(... im gonna have to wait till i get my home :(:(

thanks again..
[HD2 Android SD Development] docent14:
Did you read the part when I am telling you to look at FAQ? I don't care how many other distros you have - THIS distro HAS to be on first primary partition. Period.

Look at pictures, compare and then complain.
[HD2 Android SD Development] Razor1973:
It is. Period.

From the RAFRDROID thread:

Talk about reading. There is no reason to assume people don't do their homework.

Thanks for your help.
[HD2 Android SD Development] ptrics:
so, just instal the new 240buildprop from 0402 will solve it??? ok, trying it right now

thanks...

ps. never happen this before cause i always use to make new folder and remove the old one (makin backup of data.img first of course ;) )

done this, and did the job... thanks cope...
[HD2 Android SD Development] docent14:
All I can say is: partition layout is wrong. Connect phone in adb mode during start and read logs.

We do not offer MAGLDR support here - sorry.
[HD2 Android SD Development] Razor1973:
You still think so?
[HD2 Android SD Development] docent14:
Are you able to do a simple:

# fdisk -l

under any linux ?
[HD2 Android SD Development] Razor1973:
No Linux box or VM, sorry. Would Cygwin work? I could install it.
[HD2 Android SD Development] docent14:
Hmmm... no, it inherites layout from windows, which I suppose is incorrent. 4 pages back were THE SAME situation, where FIRST PRIMARY partition was recognizes as first in windows and sdb4 (forth) in Linux.

So ... back to basic: or fdisk -l or adb logcat (Android SDK needed)
[HD2 Android SD Development] Razor1973:
Update: I just downloaded it and there's just TOO many options in the installer and I just don't know which packages to install. I don't think this is viable for me. Maybe I cannot give AmeriCanAndroid a try and have to stick to one of those ROM's that have worked for me (same card, same partition layout).
[HD2 Android SD Development] nygmam:
Just checking, but you did follow the first post, and went into the SDMAGLDR folder that includes optional rootfs.img that allows to boot build from magldr (Read the readme! in /sdcard/Android/SDMAGLDR)

This could be your problem, or ignore this, if you have already replaced the rootfs.img file, and read the readme...
[HD2 Android SD Development] docent14:
I assumed that he did that.But ... we're gonna find out.
[HD2 Android SD Development] nygmam:
As he pointed out, never assume, I will add, it usually makes an Ass out of U and Me! Nowhere in his first post did he mention doing this, and that could be the cause of his problems...
[HD2 Android SD Development] docent14:
Nowhere in his post did he mention he can breath air, but I figured it out. Smart me ...

:p