yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] fromaron:
I have asked the question at SBryan's kernel thread and got a suggestion it might be a Rom issue and I wonder if anyone else experienced the same.

I experience the same problem which I reported before - My phone doesn't reliably detect USB connection to my PC.

What happens is when I plug usb cable the charging starts but the connection type (Charge Only, Disk drive, Sync etc) screen doesn't always pop up.

Sometimes it pops up after few minutes delay, sometimes straight away or never. Rebooting my phone fixes it on a spot but after few connections it starts playing up again. If I get the screen and after selecting one of the options let's say Charge only and phone goes to sleep, I can almost guarrantee that if I wake it up the pop up screen will be there for me again. The problem is if I use my phone as a disk drive and start copying something then after awhile my phone can change itself to a Charge Only connection type interrupting the copy of course. It doesn't happen always but after awhile it becomes pretty consistent. I even see the pop up screen few times in a row after some delay without disconnecting the cable .

Am I the only one with this strange issue or was it discussed earlier anywhere? I seems cannot find anything related on the forum.

I have to add the same is happening with any type of kernel I tried, marc's (including the latest), versions i - k as well as SBryan's kernel ver 4 and 5.
[HD2 Android NAND Development] dansta34:
nope nothing wrong with the rom for usb id say its with your PC as i have never had that issue and nobody has reported that issue ether!
[HD2 Android NAND Development] fromaron:
Thanks Dan. I needed the confirmation. I'll see if I can update my htc sync drivers. I now think I might have done something wrong before which could caused the problem.
[HD2 Android NAND Development] casemandan:
Also check your USB cable and maybe try using another USB port...I had an issue with mine that did the same thing you're describing.
[HD2 Android NAND Development] Sneakyghost:
@fromaron

I have that too and asked the same question with the same answer.

It must be the plug or cable, i have it really bad on my cheap docking station and not quite as bad with my cable. Since using Android the plug in the device has worn down badly because of so many flash and copy actions and most of all a lot of charging. So I guess it's just a defunct connection.

Sent from my TBD Runny
[HD2 Android NAND Development] fromaron:
I thought so as well but the fact that after phone reboot the problem gone 100% guarantee every time, sort of iliminates the cable or plug hardware failure. I more inclined to believe it's my USB port or HTC sync drivers corruption. Since Dan's reply I renstalled my HTC sync and HTC USB driver and so far so good. I hope that will be it :). What also improved is the internet pass through mode. After reinstalling USB driver the pass through works reliably when before I had the mode droping out after awhile.
[HD2 Android NAND Development] delta-roh:
I watched this as well and it has nothing to do with the cable, because I use the same cable with my HTC Sensation. It is always gone after a reboot. I will have an eye on it and also try to reinstall the HTC drivers.
[HD2 Android NAND Development] Sneakyghost:
Interesting as I use modified x64 drivers to be able to use Mtty. Might investigate that on my legacy OS, check some other drivers out.

Sent from my TBD Runny
[HD2 Android NAND Development] SagaPer:
Mail widget works fine in my stock rom version 2.5. Sync with Exchange and Gmail.

---------- Post added at 12:21 PM ---------- Previous post was at 12:14 PM ----------

Maybe this is a type of cable issue? Is this an original HTC USB cable? It is well known that it is important to buy a cable that is made for phone and charge of phone. I only use original HTC USB cables (included the one from the charger) and I have never had any issues with the problem described above.

Fake HD2 batteries can also create charge problems...
[HD2 Android NAND Development] delta-roh:
I only use original cable from HTC and original battery.

Mail widget works fine in version 2.5.
[HD2 Android NAND Development] Sneakyghost:
I just re-read the previous posts on the USB issue and actually one thing is quite obvious:

The Cable has been put out of the game, the ROM itself has been put out of the game. Remains the drivers. That theory can be supported by my observation of extremely bad cwr usb mount performance and failing mgldr performance. That i had originally put down to the cable but as there is evidence that it's not that i'd seriously think its the drivers.

That in turn makes me go test drivers on my legacy win 7 installation. Not a big pain.

Concerning the new 0.1.1 Kernel: it doesn't work well with 2.5. Everything is really slow again. I am going back to the 0.1.0 version which has a bad BT but otherwise is really working well...

[EDIT]

First thing i noticed when i entered my testing OS is that windows installs ADB Drivers for HTC Dream (Australian G1) with this Sensation ROM.

After the second reboot and connect it draws generic htc drivers from windows update. Those also contain the quite old 2006 active sync drivers.

After the then necessary reboot i had a look and found them drivers working well, downloaded htc sync. thats what i am up checking next. Will be back to report my findings but it looks already like even the generic htc drivers from windows update do not produce connection fails on a running android system.

Mgldr installs another set of generic usb drivers as it seems and it doesn't copy large files, aborts quickly, unmounts usb. also it says just 1 mbit transfer rate. It then hangs the phone. Reset.

CWR 5.0.2.6 installs generic android usb drivers. Transfer OK, speed at 750 Kbits and 10 Mins for the ROM to transfer pretty slow.

This all was tested before htc sync has been installed.

[EDIT 2]

After installing HTC Sync the first thing to note is this: no additional drivers installed. It works on the Drivers the System fetched from Windows Update before, including the old USB Mass Storage drivers.

The second thing to note is this: the connection drop-outs began to occur right after OS reboot. Not as frequently as on my main System with the modified drivers yet it does happen.

The Transfer Speeds and reliability appear to be best when the phone is connected with a live Android so the HTC Android and Windows USB Mass Storage drivers are used.

MagLoader doesn't work right on the standard x64 drivers and also not on the modified ones ( i believe them are from an XP machine originally).

CWR does work right but can't achieve USB 2.0 speeds, it sticks to 750kbits which equals USB 1.0 i believe. Windows spits out an error sometimes saying "This device can achieve higher speeds if connected to a USB 2.0 Port".

So my resumeé will remain the same as before: take the card out and use your readers guys. You will be better off. Or use the phone with a live android, that's giving the best performance. Using Mgldr is not recommended.

On a side-note: i got the strange feeling that the connection gets reset each time windows explorer tries to access the phone first time after a longer inactivity. absolutely not sure on this one tho...
[HD2 Android NAND Development] car01:
I had the same problem but if you choose SmartassV2 as governor the rom works really fast again.
[HD2 Android NAND Development] AngryDinosaur:
how do i flash the v2.4 Kernel for v2.5??

Hieros 1.7.4 to exact
[HD2 Android NAND Development] hamzawi:
ver 2.6

is there any plan for a 2.6 ver?
[HD2 Android NAND Development] tuktukscotty:
If you read a few pages back you'll see that it's out to the testers and won't be long!!
[HD2 Android NAND Development] AngryDinosaur:
can i flash HierOS 1.7.4 kernel from the v2.4 rom onto v2.5 rom in CWM???????????
[HD2 Android NAND Development] Sneakyghost:
Don't get Angry, Dinosaur... :D

You can of course install HierOS 1.7.4 but you will have to put up with some disadvantages like glitches and the like...
[HD2 Android NAND Development] AngryDinosaur:
couldnt the glitch be fixed with the glitch fix?
[HD2 Android NAND Development] Sneakyghost:
It possibly can but then you need to fix the camera again.

What is your reason to go for HierOS 1.7.4 if i may ask? Possibly you missing some information there?

The currently available stock kernel on 2.5 (Marks 1.k as stated on the OP) is bug free in the widest sense. I mean, not to mention the Sense 3.5 typical things like Wallpaper preview, Camcorder Lag, no tethering. Everything else is actually working really well if you stick to the ROM's stock layout (theming might interfere with performance and cause some sense restarts possibly - not for all tho).

Are you looking for ways to OC your Phone? Well then... no good for it but i believe you know that. As far as i have understood OC'ing is gradually added with the new kernel streak the more stable it gets the more frequencies you will have available.
[HD2 Android NAND Development] tureka:
Hi!

I've tried that already. Except of glitches there was no data connection too with HierOS 1.7.4 kernel flashed in CLK. I would like to flash my HD2 using CLK because there's charge control implemented while the phone is off.

Will it be long till those fixes you mentioned, dansta34? This rom is outstanding :D and it would be complete if we had all I wrote.

A question...

"Warning: If the CLK kernel does not flash then install Maglrd kernel till i redo the CLK kernel!"

Does it mean that i should try to choose MAGLDR install option during flash with CLK and try if it works?
[HD2 Android NAND Development] mrvearn:
yes wifi hotspot and usb tethering is not working on any gingerbread rom!Not sure if it worked on the froyo roms ether did it?[/QUOTE]

Yes Dan.. it's work... like a charm... last froyo rom i'm using Mikhei777.

Here : http://xdaforums.com/showthread.php?t=1259110 ;)
[HD2 Android NAND Development] SagaPer:
Me, and many other users in here, use the stock ROM version 2.5 with stock kernel and are VERY satisfied. I think we should focus on the stock version included stock kernel and not demand all kind of compatibilities towards other kernels. Dansta is delivering an excellent rom and he is working his ass off to satisfy us all. Donate money and wish that he will continue this work...
[HD2 Android NAND Development] shaedz:
plz a link to the stock kernel on v2.5 marcks 1k kernel.the current kernel has no bluetooth and it is slowing down my phone
[HD2 Android NAND Development] dipaolnv:
Dino... I guess the biggest question is, why would you want to? Of course you are free to flash it, but the new 2.6.35 kernel's are fast, stable and glitch free. So why would you want to flash a 2.6.32 kernel that requires flashing a "glitch fix"?
[HD2 Android NAND Development] vysus:
Yep, have to completely agree. I've been managing a XL since last Friday and - believe me - apart from the known issues and a little bit of speed, Leo running TBD ROM and the Sensation are more or less the same, quite unbelievable....
[HD2 Android NAND Development] Sneakyghost:
No it doesn't mean you can run mgldr install option if you run CLK. It means, you should just change to CWR for the time being and go back to CLK once the new ROM is out as Dansta said he has fixed the CLK mistake he made from 2.5. The new ROM is already being tested so its not long to go.

Have some patience, bro.

---------- Post added at 10:54 PM ---------- Previous post was at 10:49 PM ----------

I have uploaded the 1K kernel for you as i still have it here but i can't find the original link anymore. So you can find it on my MediaFire Folder in the Android Subfolder.

Concerning the Question for the HierOS 1.7.4 Kernel: its on the OP under MAGLDR Kernels and also one for the CLK but its fixed up for the 1.3 release so i don't know if its working with 2.5 just try.

A Thanks would be appreciated if i could help you. Thanks.
[HD2 Android NAND Development] AngryDinosaur:
want OC with daemon

using mag
[HD2 Android NAND Development] tureka:
No, nothing like that. I just wanted to flash using CLK to charge my battery when the phone is off and have a data connection. I used MAGLDR till now. I flashed 1K kernel already and it works. I am sorry for my impatience but I will be off my computer for few days and won't be able to flash my phone. Great thanks for all of you for your work and advices.
[HD2 Android NAND Development] dansta34:
Hey mate sorry for the late reply i have been extremly busy and also my PC has had major issues,crashing when i go on the net and windows explorer freezing all the time!Well to answer your question i think its cause i amy insane LOL It is very demanding and does take hours and hours and days and days,Use truely would not realise how much time it actually takes unless use have done roms before!Majority of the chefs have it easy with the copy and pasting and calling other guys work there own i wish it was as simple as that but then thats cheating lol

Thanks for the compliment mate its what keeps me going!
[HD2 Android NAND Development] dansta34:
Updated Rom version will be up in the next day just need to fix a couple more issues and then it will be ready!

All clk kernels will be fixed for data and wifi! Also i will release a seperate themed rom for the people who would like to have a themed rom with colored icons its more of a blue theme but has a very lot of different color icons!Then i will release a themed rom after that and it will be nuteral with no specific color!
[HD2 Android NAND Development] holylove02:
ok. NOW VIBRATE DOESNT WORK! LOL! PLEASE HELP!

First, I want to thank those who responded to my first need, and to the chef! Tonight, I was using my phone like normal, and the vibrate aspect stopped working..thinking it was a hiccup, I restarted up to5 Times, and ended up reflashing.

The outcome was that the volume started working, but still no vibrate .

Cleared davsk (or however you spell it) cache , fixed permissions, and reflashed ROM. Even on bootup, no vibrate. Anyone have any help or ideas?

Thanks!
[HD2 Android NAND Development] Ty5982:
ready and waiting lol,roll out the red carpet for the red theme lol,the blue 1 is ****e lol................kep up the good work
[HD2 Android NAND Development] Sneakyghost:
Are you already testing those themes?

Are they working good? No slow downs?

Sent from my TBD Runny
[HD2 Android NAND Development] fromaron:
In my case the problem was caused by HTC drivers on my Win7 64 bit machine.

After re-installing everything the problem has gone for good.

I didn't bother installing USB drivers as Sneakyghost did, I reinstalled HTC sync which automatically installs drivers first as pre-requisit.

Obviously I manually uninstalled HTC sync and USB driver prior to installation.

I also would like to mention that when I created 2GB EXT4 partition my phone gives me 630MB of free RAM :eek: and I have EU version only. But having class 4 SD card really makes my phone unstable. I will wait for the 2.6 release before wiping everything and going go back to 1024MB partition.

I am not sure if anyone else had good experience running bigger ext4 but it doesn't work good for me.
[HD2 Android NAND Development] dansta34:
Well this is my theme not the theme Kamerius ported so its different its more what id call skined!

This is my theme/skin i have been testing it and it dont seem to make a diff to me but you have to realize any theme will slow the rom down to some degree no mater what phone and what theme !

I have never ever had anyone say to me my themes have slowed down there roms!
[HD2 Android NAND Development] Ty5982:
im sure your version and a mix of Kamerius's theme will be a sweet cocktail of success...............ROLL ON 2.6,don't even look at anymore nand builds,just look out for yours,keep up the good work and THANK YOU
[HD2 Android NAND Development] sandymac:
For those of you who can't wait, I have attached updated framework-res.apk and systemgui.apk with more coloured icons (and, of course, the honeycomb battery). See screenshots for examples. Remember:

1. Backup your ROM in CWM.

2. Push framework-res.apk to /sd-ext/sys-parts/framework/

3. Push systemui.apk to /sd-ext/sys-parts/app_s/

4. Reboot to CWM and clear cache and dalvik cache

5. Reboot.

Enjoy :D
[HD2 Android NAND Development] sandymac:
Streaming Audio & Beats Audio

Don't know why I didn't test this before, but I have just noticed that if you try playing Streaming Video with headphones then it won't play because Beats Audio is enabled by default. Works perfectly if headphones are disconnected. Unfortunately, I can't find a way to disable Beats Audio in Streaming Media as it fails before you get a chance to disable it. Looks like I'll have to remove Beats completely to ensure compatibility (unless, of course, someone has figured out a way to do this!). :(
[HD2 Android NAND Development] dansta34:
Go into tweaks settings in there and you will find a option for the beats there hopefully it will solve your issue,Im sure it will...!
[HD2 Android NAND Development] sandymac:
Thanks, Dan, but the only option relating to Beats Audio is in RCMix and I have set Beats Boost on which is great for listening to music but doesn't affect Streaming Media unfortunately.
[HD2 Android NAND Development] fromaron:
+1 on the new marc's kernel.

I saw it slows down the rom as well. Also I started to have mobile and wifi data problems after awhile. The good thing though the FM radio works very well.

It's all could be related to other problems with my particular phone/installation but meanwhile, went back to Marc's stock kernel 1k. I prefer to have good mobile data and not to have the radio working.

Hopefully marc will fix these issues very quick as he is doing an absolutely brilliant job.

Perfect kernel for already perfect rom that's all what we could wish for :).
[HD2 Android NAND Development] delta-roh:
Have a look at the /data/lost+found directory with a file explorer with root access. This directory should be empty, but I noticed a few weird directories and files that cannot be deleted (e.g. named "objXXX"). This lost chains indicate a corrupted /data file system, which leads to some weird behaviour of the device. dansta knows this and recognized it as a kernel bug which should be fixed in the release V2.6.
[HD2 Android NAND Development] Sneakyghost:
Thanks for your input. As for the USB drivers: they where pulled from Windows Update as soon as i connected the HD2. It got different drivers for each scenario. I couldn't and didn't want to break the process of automatic driver search as i wanted to see what happens on a completely unmodified, "Stock" system.

HTC Sync did offer to install drivers when i first launched it for setup before the automatic driver install had finished. I aborted that to let windows do its thing and when i later ran the setup again HTC Sync did not add any drivers anymore. It took the system drivers. :confused:

Are we two now having different drivers :scratching my head: ?

Sounds like i should re-do it again because i have connection drop outs again on my testing system with the native windows drivers (are they really different drivers than the ones from HTC Sync??)

[EDIT]

Alright i uninstalled the MTTY x64 drivers and took the normal USB drivers from Windows Update onto my main System and it makes Magloader read from Disk with 8 Mbit and write to it with 2.5 Mbit but the connection still fails after some seconds and the phone hangs even with the standard drivers. Something is just not right with that mgldr mount. Or it simply is the x64 drivers. Relly no idea. They don't make a diff on the CWR mount and neither do they on the Live Android. Just with mgldr.

---------- Post added at 01:20 PM ---------- Previous post was at 01:19 PM ----------

Allright then i'll have a look at the allmighty Dansta-Themes :D

very much looking forward to it!
[HD2 Android NAND Development] Dunc001:
marc1706 0.1.2 kernel zips for TBD

As promised here is the latest 0.1.2 repacked for TBD (well the cLK zip is, the MAGLDR one is just as Marc posted it as it doesn't contain the initrd so can be flashed as is). He has reverted back to BFQ I/O Scheduler for now (was noop) to cure lag. Should still have fix for HTC Radio, lower wifi voltage, VM readahead tweaks, etc. Just flashing it now so I can't comment yet.

EDIT: OK, so after some initial lag waking up after flashing it seems to be OK. I'll test and report any findings...
[HD2 Android NAND Development] Sneakyghost:
Yeah very cool. I was wondering if the Scheduler was anything to do with it altho i was rather thinking if them guys where doing some experiments with the process scheduling not the I/O scheduling i.e. the BFS or CFS or something like that.

Gonna flash that now as the testing around with the USB drivers is really doing my head in now. I'm a little sick of it now as no matter what drivers i use and what i do, the friggin connection resets don't go away, which would prove all my previous theories wrong. grrrr.....
[HD2 Android NAND Development] sandymac:
Marc1706 v0.1.2 Test Results

OK Just downloaded and tested Marc's V0.1.2 (magldr) with the following results:

1. wifi - working

2. data - working

3. bluetooth - working

4. GPS - working

5. FM Radio - working

6. Speed - looking good!

Looks like real progress, Marc. Well done. :D

---------- Post added at 05:35 PM ---------- Previous post was at 05:33 PM ----------

Just so that you know, I also have lags on USB connecting. I know for a fact that all drivers are correct and cables etc are working. I just wait and it connects (can take a couple of minutes but no big deal). Give your head a rest knowing that you aren't alone. :D
[HD2 Android NAND Development] Sneakyghost:
:D i just f***d my USB completely all my usb connections are gone its enough now need to redo them all.

I wasn't talking about lags on usb, i am still trying to find out who's guilty of the frequent connection drop outs some users do have, some don't
[HD2 Android NAND Development] walidhazem:
Hi the Rom is amazing, does it support a2sd ?? Because after installing the scripts i rebooted and all my apps were gone and so was my partition? And down to 30 mb memory what should.I do thx
[HD2 Android NAND Development] johnnyvb78:
a2sd is standard installed and operational with install of this rom. you dont need to install these scripts
[HD2 Android NAND Development] SagaPer:
Test report from Norway with this updated kernel (CWM):

1. wifi - working

2. data - working

3. bluetooth - working

4. GPS - working

5. FM Radio - working

6. HTC headset now controls music (previous, start/stop, next)

7. HTC headset now controls call (answer and end call with start/stop button), mic on headset also works, mic volume level (outgoing) seems to be ok

8. HTC headset still has high volume when call starts, volume button has to be adjusted up and down again to get normal volume level

9. Speed - looking very good!
[HD2 Android NAND Development] dysprosi:
I had a this issue a year and a half ago. I flashed stock winmo back and still had no vibration. Mine was still under warranty and I swapped it out with T-Mobile.
[HD2 Android NAND Development] walidhazem:
oh ok thanks
[HD2 Android NAND Development] Dunc001:
Thanks for the feedback - are you on MAGLDR or cLK?
[HD2 Android NAND Development] SagaPer:
I'm on MAGDLR.
[HD2 Android NAND Development] Sneakyghost:
Can confirm all points except that i had a rough time gettin internet on all interfaces to work after the first boot. It simply wouldn't allow any data transmission on any channel even though being perfectly connected. Only after another reboot it worked.

Bluetooth connection works amazingly well this time, with all controls enabled. Sound quality is very good, no stuttering, drop outs and the like.

Speed: only thing I'd disagree. It behaves weird, when a new program is launched or when coming back from screen off everything feels like walking through deep, sticky mud. Then it slowly wakes up. Maybe from the I/O Scheduler and reading the Cache from Disk? Just a guess.

I have a feeling that the Battery drain is a little lower.

I use mgldr.