yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] tytung:
My vold changes for AOSP Gingerbread 2.3.* using 2.6.32 kernel are as follows.

[COLOR="Blue"]project system/vold/[/COLOR]
[COLOR="SeaGreen"][B]diff --git a/VolumeManager.cpp b/VolumeManager.cpp[/B][/COLOR]
[COLOR="blue"]index 32b5679..b8fb5c9 100644[/COLOR]
[COLOR="green"][B]--- a/VolumeManager.cpp
+++ b/VolumeManager.cpp[/B][/COLOR]
[COLOR="DarkRed"][B]@@ -86,7 +86,7 @@ void VolumeManager::readInitialState() {[/B][/COLOR]
/*
* Read the initial USB connected state
*/
[COLOR="DarkOrchid"]- if ((fp = fopen("/sys/devices/virtual/switch/usb_configuration/state", "r"))) {[/COLOR]
[COLOR="MediumTurquoise"]+ if ((fp = fopen("/sys/devices/platform/msm_hsusb/usb_cable_connect", "r"))) {[/COLOR]
if (fgets(state, sizeof(state), fp)) {
mUsbConnected = !strncmp(state, "1", 1);
} else {
[B][COLOR="DarkRed"]@@ -177,8 +177,8 @@ void VolumeManager::handleSwitchEvent(NetlinkEvent *evt) {[/COLOR][/B]
}

bool oldAvailable = massStorageAvailable();
[COLOR="DarkOrchid"]- if (!strcmp(name, "usb_configuration")) {
- mUsbConnected = !strcmp(state, "1");[/COLOR]
[COLOR="MediumTurquoise"]+ if (!strcmp(name, "usb_mass_storage")) {
+ mUsbConnected = !strcmp(state, "online");[/COLOR]
SLOGD("USB %s", mUsbConnected ? "connected" : "disconnected");
bool newAvailable = massStorageAvailable();
if (newAvailable != oldAvailable) {
[HD2 Android NAND Development] Rick_1995:
Hey arif, i have written the following download log routine method.

function logfile($path,$inc=1,$dir="")
{
$log_path="./logs";
if (!is_dir($log_path)){
if(!mkdir($log_path, 0775)){
die('Log direcory not found, unable to create one.');
}
}
$log_file=$log_path.'/'.pathinfo($path,PATHINFO_BASENAME).'.xml';
if((!file_exists($log_file))||(filesize($log_file)<"5")){
$log_file_create=fopen($log_file,'w') or die('Log file not found, unable to create one.');
$stringData="".
"<file>
<name>".pathinfo($path,PATHINFO_BASENAME)."</name>
<size>".FormatFileSize(filesize($dir.'/'.$path))."</size>
<rawsize>".filesize($dir.'/'.$path)."</rawsize>
<downloaded>".'0'."</downloaded>
<traffic>".'0'."</traffic>
</file>";
fwrite($log_file_create, $stringData);
fclose($log_file_create);
}

$log = new DOMDocument();
$log->load($log_file);
$logs = $log->getElementsByTagName( "file" );
foreach( $logs as $flog )
{
$name = $flog->getElementsByTagName( "name" );
$fname = $name->item(0)->nodeValue;
$size = $flog->getElementsByTagName( "size" );
$fsize = $size->item(0)->nodeValue;
$rsize = $flog->getElementsByTagName( "rawsize" );
$rfsize = $rsize->item(0)->nodeValue;
$downloaded = $flog->getElementsByTagName( "downloaded" );
$downloads = $downloaded->item(0)->nodeValue;
$traffic = $flog->getElementsByTagName( "traffic" );
$ftraffic = $traffic->item(0)->nodeValue;
}
if(($fname)&&($inc==1)){
$log_file_create=fopen($log_file,'w') or die('Log file not found, unable to create one.');
$stringData="".
"<file>
<name>".$fname."</name>
<size>".$fsize."</size>
<rawsize>".$rfsize."</rawsize>
<downloaded>".parseInt($downloads+1)."</downloaded>
<traffic>".FormatFileSize(parseInt(parseInt($downloads+1)*$rfsize))."</traffic>
</file>";
fwrite($log_file_create, $stringData);
fclose($log_file_create);
}
}

any criticism shall be appreciated, i have not yet put it into the wild yet, though it works perfectly in my environment as of now :D

code documentation, comments remaining under TODO :/

the dependency methods are as follows:

function parseInt($string) {
if(preg_match('/(\d+)/', $string, $array)) {
return $array[1];
} else {
return 0;
}
}
function FormatFileSize($Size)
{
if ($Size === false)
return "???";

if ($Size < 1024) return "$Size Byte";

$Size *= 10;
$Size /= 1024;
if ($Size < 10240) return sprintf("%d.%d KB", $Size/10, $Size%10);

$Size /= 1024;
if ($Size < 10240) return sprintf("%d.%d MB", $Size/10, $Size%10);

$Size /= 1024;
return sprintf("%d.%d GB", $Size/10, $Size%10);
}

The raw log output will be stored in ./logs which will be inaccessible for general public.

The mirror 2 is all done, files uploaded, script tested. Domain name is the only thing left which cant be done till i get the nameserver problem sorted out with godaddy support :/

http://edudroid.in/rickg9x/xda_cm/ - RC mirror 2

Rick
[HD2 Android NAND Development] deckoff:
I have a few questions, since I am away from this ROM from some time( a month ago)

1) Are BT and GPS issues fixed?

2) Any news on the wakeup lag issue? Charns was going to fix it some time ago, and after that it seems his laptop went down. Any news on this?
[HD2 Android NAND Development] Elmo108:
Isn't the wakeup lag also present on other roms?
[HD2 Android NAND Development] raymon73:
http://xdaforums.com/showpost.php?p=14005262&postcount=4994

about the wake up lag
[HD2 Android NAND Development] Rick_1995:
Thats not wake up lag fyi, thats the call mute delay where the other person's voice would be muted for the initial few seconds in prev GB builds.

Wake up lag is reffered the the around the 3~5 sec delay between the user pressing the power button when mobile in standby mode and the screen turning on and loading the lockscreen.
[HD2 Android NAND Development] deckoff:
Yes, it is. Charns expressed desire to fix it, that is why he is my only hope...

The lag is an issue in the "VERY ANNOYING" department. Nothing more, nothing less :-)

What about gps and bluetooth? Everything working ok?
[HD2 Android NAND Development] UbuntuBhoy:
I can't get apps2sd to work on this ROM, I am using the dt zip provided and tytung 10. Is this working for everyone else?
[HD2 Android NAND Development] chris10230:
Its in the issues in one of the first 4 posts... So no its not working Brainmaster has been having issues with it too and is has not been fixed to my knowledge

http://xdaforums.com/showpost.php?p=13738708&postcount=4

:)

On another note this does work on this ROM, have not had a chance to test if any performance increases are there though yet http://xdaforums.com/showthread.php?p=14021579 Chainfire 3D
[HD2 Android NAND Development] arif-ali:
I did however did get is successfully working when I was testing for brainmaster, and all my tested were good. i was also using tytungs latest kernel.

let me know what errors you guys are getting, and could start diagnosing again. I think when I get a bit of time, I will write how I did it in a step-by-step guide

btw, we plan to have the next nightly available today prob ~2-3 hrs, it is currently compiling, AirforcProductions will let you know when it is done. Or check the mirror cmleonightly1.co.cc

wrt to my issues, My broadband line has ********, been chasing my ISP all day. Haven't been able to do a clean repo sync for several days.
[HD2 Android NAND Development] arif-ali:
Ok, updated to latest nightly
[HD2 Android NAND Development] ksubedi:
Thanks a lot guys, i really appreciate your work on this. Everything is working, but a small issue, headphone controls in oem hd2 headphones dont work on this for some reason. It works on other roms and even sense roms, but not on this one. Its still the best cm port out there :)
[HD2 Android NAND Development] arif-ali:
afaik, The kernel does not have the updates that all the others wrt to gitorious, and we don't have charans sources for the kernel either, otherwise I would have added it in.

If you want this feature, then flash tytungs kernel, which is as good as any
[HD2 Android NAND Development] skymera:
Is app2d working fully? I have aboug 600MB of apps on my sd-ext
[HD2 Android NAND Development] AirforcProductions:
By bluetooth issues do you mean the 60mah drains? With Charans kernel it has not been fixed but , if you flash one of the provided kernels, they have the patch implemented. As for GPS there is a link on the op for AngelDeaths instantaneous gps fix, it works really well compared to what it was.
[HD2 Android NAND Development] chris10230:
I could have sworn that Bluetooth Drain was fixed or is that only in the build that is sitting on his laptop....
[HD2 Android NAND Development] UbuntuBhoy:
Managed to get apps2sd working

I moved /data/app to ext, then created a symlink to it in /data.

after a reboot sd-ext didn't automount, so I pushed the 10apps2sd from Typhoon ROM to /ext/init.d, and all is now good.
[HD2 Android NAND Development] skymera:
working here too.
[HD2 Android NAND Development] mic213:
Afaik, the Bluetooth drain issue has been fixed
[HD2 Android NAND Development] arif-ali:
latest nightlies are up
[HD2 Android NAND Development] mdskrzypczyk:
cLK working nicely here.
[HD2 Android NAND Development] skymera:
Where can we see the changes for this?
[HD2 Android NAND Development] skymera:
Simple then :P I'll look later
[HD2 Android NAND Development] XL3N7:
http://cm-nightlies.appspot.com

Unofficial changelog by Igor.tonky

HTH
[HD2 Android NAND Development] skymera:
Settings => CyanogenMod Settings => Interface => LED notifications

This is missing but was present in Typhoon?
[HD2 Android NAND Development] deckoff:
No. Some time ago BT was unable to connect and GPS was not fixing at all ( with ffix applied or not, pun intended ;)

So, it suits me then :) I will give a try tonight :)
[HD2 Android NAND Development] raymon73:
i had taken some pics with flash and had a green/yellow glow on my pictures, i saw that the build.prop, had a different text then the other roms.

ro.product.device=leo

ro.product.board=htcleo

change it to :

ro.product.device=bravo

ro.product.board=bravo

and my photos with flash are normal again.
[HD2 Android NAND Development] seadersn:
@ compilers :)

for adding the led setting open config.xml in device/htc/leo/overlay/apps/cmparts/res/values and add the following line

<bool name="has_dual_notification_led">true</bool>

under the "has_trackball" line.

maybe it makes sense to submit a commit for that; but i thought this is already be present...? however, this is working for the led settings :)
[HD2 Android NAND Development] seadersn:
@ raymon: jep, possible 'workaround', but this can break other things :( are your sensors etc working after this edit?
[HD2 Android NAND Development] arif-ali:
thanks, I'll get that submitted to gerrit
[HD2 Android NAND Development] 2000impreza:
Agreed. Not the best workaround. I figured how to fix this at the source when I compiled cm7 a couple months ago but can't recall how it did it.

Edit: may have hex edited one of the libs. I'll see if I can find it later.

Raymon73, have you checked if the gps or light sensor is working? I would imagine at minimum, the following libs would need to be renamed along with this "fix".

gps.leo.so

lights.htcleo.so
[HD2 Android NAND Development] raymon73:
Until now i don't have found problems. I will test more today. Thx for the warning

Update: yes your right gps and light is broken... but for me now is photos important.
[HD2 Android NAND Development] AirforcProductions:
Latest nightlies are up, sorry for the delay, we had technical difficulties
[HD2 Android NAND Development] Rick_1995:
Hey arif, the nameserver problem has been sorted,

the site script has been thoroughly tested and is working perfectly.

The current link for Mirror2 for now is http://cmleonightly.co.cc i will PM you the nameservers in a jiffy.

also arif, yes ive implemented stats tracking on your request :) and hotlinking should be difficult unless you know the exact file path on server :)
[HD2 Android NAND Development] Rick_1995:
@webmanya

I/DEBUG ( 63): Build fingerprint: 'google/passion/passion:2.3.3/GRI40/102588

:user/release-keys'

I/DEBUG ( 63): pid: 167, tid: 167 >>> zygote <<<

I/DEBUG ( 63): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000000

0

looks to me like a kernel segfault,

im no kernel dev, but since its working for us you could try redownload the rom concerned and try again. dont forget to wipe Data/System before reflashing. always crosscheck MD5 signature of files before flashing anything.
[HD2 Android NAND Development] skymera:
Did anyone see if renaming

gps.leo.so

lights.htcleo.so

works?

edit: renamed them and changed build.prop to bravo. all seems to work fine.
[HD2 Android NAND Development] fredulus:
Rename them to what?
[HD2 Android NAND Development] Rick_1995:
lights.bravo.so

gps.bravo.so (rename the leo to bravo for all shared objects)
[HD2 Android NAND Development] Derek0228:
If you use the camera libs from hyperdroid gbx, green tint is gone. They were edited and you can use Leo in build.prop
[HD2 Android NAND Development] raymon73:
here is a cwm zip file for the cam libs i made

http://www.megaupload.com/?d=7ROF0V3H

thx for the tip Derek0288
[HD2 Android NAND Development] arif-ali:
If these tests are successful, I will try adding these in tomorrow's nightly,

btw todays nightlies are online now

mirror1: http://cmleonightly1.co.cc/rom

mirror2: http://cmleonightly2.co.cc/rom

mirror3, will be setup soon
[HD2 Android NAND Development] Elmo108:
im kinda late to the new-nightly-game. can i flash this over an old nightly by charnsighn? :)
[HD2 Android NAND Development] arif-ali:
i don't think there should be any problems, as it only replaces the /system and /boot partitions, so you data should be all intact.

but I would recommend making a backup just in-case.

btw, don't forget to clear the dalvik-cache before upgrading.
[HD2 Android NAND Development] Elmo108:
thanks, it worked ;)
[HD2 Android NAND Development] chris10230:
When I try to download the rom from the mirror on my phone downloads a 8kb file. Now I could download it on a PC and transfer it but its much easier to download direct. Any chance it could be looked into?
[HD2 Android NAND Development] diesburg:
I tried on my phone and it did the same thing as you said.... it's something to do with that script that lists the roms.... go here: http://cmleonightly1.co.cc/rom/cm_leo_full-20110527.zip the direct download link worked fine on my phone... click that and you should be good..... that script should maybe be changed so it works when links are clicked on the phone....also, for future reference, (I guess only if you are using cLK) rom manager works perfect to download the nightly roms from here....
[Droid Incredible General] chirose:
Long time reader first time poster so sorry if I'm doing this wrong..... I would like to sell my incredible since I got thunderbolt. Original launch with amoled screen near perfect condition 2 siedo batts and batt charger case and screen protectors all included.

Again thanks for any help if I did this wrong.

250$ or best offer? Don't really know what these are going for.
[Droid Incredible General] k_nivesout:
Might want to post in the marketplace section as well?
[Droid Incredible General] chirose:
Dang I knew there was one of those didn't know where to find it Ty I will start looking and post there.
[Droid Incredible General] breathtakingevil:
Yeah... trying to sell an Incredible to a bunch of people who are members who are members of an Incredible forum probably wouldn't be too efficient either lol.
[Droid Incredible General] d_1000:
Oh you would be surprised...I sold a 1 1/2 year old blackberry in a blackberry forum. It is amazing what people will buy.
[Droid Incredible General] k_nivesout:
Marketplace section is in general discussion by the way.
[Desire Q&A, Help & Troubleshooting] gordongartrell:
Any way of getting the new Netflix app to work on the the Desire? It's compatible with the Nexus One, but it doesn't work on the Desire which have similar specs.
[Desire Q&A, Help & Troubleshooting] MrJustAGuy:
This may be very ROM-dependent, but I got it working on a CDMA Desire with CM7 Nightly by editing build.prop, removing whatever exists in the following lines or adding them, to make Netflix identify the phone as a Droid Incredible.

ro.build.modelid=ADR6300
ro.product.model=ADR6300
ro.product.brand=verizon_wwe
ro.build.fingerprint=verizon_wwe/inc/inc/inc:2.2/FRF91/264707:user/release-keys
ro.build.product=inc
ro.product.board=inc
ro.product.device=inc
ro.product.name=inc

Then install Flash 10.3 from the market. Then install the particular Netflix APK found here. There seems to be at least two versions floating around.
[Desire Q&A, Help & Troubleshooting] alexphi:
Works perfectly on my Desire running CM7. Followed instructions from androidpolice.com (sorry, can't post links yet)

There are only two lines that need to be edited:

ro.product.model=HTC Vision

ro.product.manufacturer=HTC
[Desire Q&A, Help & Troubleshooting] gordongartrell:
Thanks guys.
[Nook Color Q&A, Help & Troubleshooting] JKshowman:
is there any way to use the emmc as a sd card REPLACEMENT? i tried searching it, but couldnt find anything really good except a way to use adb and that wasn't very clear either.
[Nook Color Q&A, Help & Troubleshooting] chilre:
+1

Any way to do it?

In CM7 memory properties, the 5GB emmc partition is shown as mounted, but apps like gallery etc. doesn't seem to be able access files in it. just curious, since it is anyway mounted, shouldn't one be able to access files from the partition?

Am I missing something here?
[Nook Color Q&A, Help & Troubleshooting] hockeyfamily737:
I use the EMMC to store all of my videos, however you're right, it can't be accessed directly from gallery or your music / video player. You need to use a file explorer like Astro.
[T-Mobile LG G2x] nraudigy2:
They are starting to add HD games to market. Modern Combat 2 and Asphalt 6 are in there. Hope for more coming.
[T-Mobile LG G2x] demo23019:
Yea they rip you off its $2 more than on their website

Asphalt 6 is $4.99 on gameloft and $6.99 on market
[T-Mobile LG G2x] Camille68:
Last week the Gameloft site was running a buy one/get one free special. I purchased Asphalt for 4.99 and picked up Avatar for free.
[T-Mobile LG G2x] demo23019:
i guess it cost more on market becasue they have to pay google a fee or something

they do the same on itunes $6.99 for new games
[T-Mobile LG G2x] maciek82:
So are all the games under Android in Gameloft compatible with our phones? When I'm trying to buy GT Racing, and select p999, everything is grayed out and I cannot proceed with the purchase :confused:
[T-Mobile LG G2x] xalucardx:
If you put you live in india its just 2 bucks :D
[T-Mobile LG G2x] Camille68:
I purchased my games directly from the Gameloft site. In the phone browser, just go to www.gameloft.com, and it should automatically detect the phone that you are using and display the games that are compatible with your phone.
[T-Mobile LG G2x] prettyboy85712:
The extra $$ may be associated with the fact they can't make you buy the game again if you switch phones.
[T-Mobile LG G2x] maciek82:
I see. Thanks. So yea, GT Racing is not available for our phones :(
[T-Mobile LG G2x] EmceeGeek:
crap... how did i miss that?
[T-Mobile LG G2x] player911:
well it about damn time. I hate when all these companies try to make their own "App Stores".

Come on guys, just put them were we can EASILY get them. Plus at least now they are tied to your account. The bad is that it probably won't work with your next phone anyway. Gameloft games are real picky hence why I don't bother.

Thats why hopefully NVidia can gain some ground to stop all this fragmentation with games. They should make phones using the tried and true method, put whatever CPU in there and just add an NVIDIA GPU so the instructions are the same across the board.

This is why I got the G2x; to support the Android Gaming platform!
[Desire HD Q&A, Help & Troubleshooting] mjchung:
Hi everyone,

First off, I'd like to thank the devs for their tireless work. I'm currently using CM 7.0.3, and it's working like a charm. I've been wanting to test out some Sense based ROMS as well, and nothing seems to be working.

LeeDroid 3.0.3. keeps me stuck at the HTC boot screen. Full wipe and then flashed in CMR. Waited two hours and nothing happened. I've tried this approximately 8 or 9 times over the past two days.

RCMix3D KINGDOM v0.2 boots me back into CMR (v.3.0.2.6). I followed the wipe instructions per the attached video. I've reflashed three times in the past hour, same result every time.

I'm currently:

ACE PVT ENG S-OFF

HBOOT-0.85.2007 (PD9815000)

MICROP-0438

RADIO-26.09.04.11_M2

eMMC-boot

Am I missing something? I haven't partitioned my SD card yet (and to be completely honest, I'm not exactly sure how to go about doing that without losing my backups), but from what I gathered it doesn't seem to be absolutely essential. Any help would be greatly appreciated. Thanks!
[Desire HD Q&A, Help & Troubleshooting] I'm TheQuest:
Hi mjchung

It is Not Essential or Needed.

Something you probably did anyway but just in case, did you check the MD5 Checksums to those two no-booting Roms?

Take Care

TheQuest :cool:
[Desire HD Q&A, Help & Troubleshooting] tmh:
Are you installing directly from CWM or via ROM Manager? 'Cause ROM Manager can mess up the install, so I'd advice againt using it...
[Desire HD Q&A, Help & Troubleshooting] mjchung:
Thanks for the prompt response-

Uh, looks like you've given me too much credit. I didn't check the MD5 checksums, and now it turns out they don't match. *Facepalm*

Like they say in in-flight safety messages, "the nearest exit may be right behind you".

So do I just try redownloading from different mirrors until they match up?
[Desire HD Q&A, Help & Troubleshooting] mjchung:
Yeah, I made sure not to make this mistake this time after nearly bricking a few weeks back. Thanks for the response though-
[Desire HD Q&A, Help & Troubleshooting] tmh:
That's exactly how you do it :-)
[Desire HD Q&A, Help & Troubleshooting] mjchung:
Hrm. So I redownloaded, performed the MD5 checksums, full wipes, installed through recovery. Still stuck on the HTC bootscreen.

BUT. Using AFV, I noticed I get different checksums once the .zip is on my SD card. I'm transferring via card reader. Is there a chance that the transfer process is somehow corrupting my roms?
[Desire HD Q&A, Help & Troubleshooting] tmh:
Everything is possible. If you change anything in the ROM .zip before flashing, that'll change the MD5 as well.
[Desire HD Q&A, Help & Troubleshooting] raze599:
The best way to transfer files is to mount the phone to the PC. Most reliable way.
[Desire HD Q&A, Help & Troubleshooting] mjchung:
THANK YOU! After three days of frustration, I've finally been able to flash successfully! I had no idea that transferring via card reader could alter the ROM so dramatically.

Again. THANK YOU!!
[Desire HD Q&A, Help & Troubleshooting] mjchung:
Oh, and thanks again to everyone who has chimed in to help me with this (admittedly elementary) issue!

Thanks all around!
[Windows Phone 7 Q&A, Help & Troubleshooting] mwiz123:
My lg quantum is not working please help
[Windows Phone 7 Q&A, Help & Troubleshooting] hardcoreplur:
Wow, helpful... How about some symptoms... What is it doing, when did it start, what were you doing last on it?
[Windows Phone 7 Q&A, Help & Troubleshooting] munkeyphyst:
also, if you ave a device specific question, try the device specific forum

LG Quantum Forum
[Windows Phone 7 Q&A, Help & Troubleshooting] mwiz123:
the screen comes on when i plug it in but it dosent do anything after that
[Windows Phone 7 Q&A, Help & Troubleshooting] derausgewanderte:
"plug it in"? does it work without plugging it in? I assume you mean USB to PC or power. Maybe a problem with the battery? not seated correctly?

If you turn the phone on and it doesn't respond I suggest you go to the next ATT store.
[Windows Phone 7 Q&A, Help & Troubleshooting] mwiz123:
when i plug it out everything gose black