yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] cossey:
Slow performance of NAND Roms

Hi,

Until 2 days ago I've always used the WinMo + SD card versions of Android. I used MDJ FroYo HD v.4.6=-[FRG83D][kernel:MDJ S8.0. The performance was really fast. I am using a Europe HD2 version (512MB) and the default Sandisk 8GB class 2 SD card that came with it.

Since switching to NAND versions I experience a real slow performance of my HD2. One of the reasons for me to switch to a NAND version was that it should be faster. Am I wrong?

Last night I installed this v2 version (EFP v.2 HD2 Desire HD stock (last Gauner's kernel)). It is at least much slower and has more lag than the non-NAND versions I've used so far. I followed every single step in the instructions and created a ext4 second partition of 1 GB. I also tried using a Transcent 16 GB class 6 SD card. That one seemed even slower. Sandisk should be fine, but why is it slow?

I've installed around 25 apps. It seems that the NAND version cannot handle that, because just after installation of the NAND ROM the phone is very speedy. After synching all apps, it is getting slow. Also battery drain with both SD cards is high.

I am using the latest radio 2.15.

Can someone please advice or help?
[HD2 Android NAND Development] PlayStation:
23rd January for his Desire Z rom>>>> http://xdaforums.com/showthread.php?t=925311
[HD2 Android NAND Development] EFyodor:
Bluetooth works properly in this ROM! :) Bluetooth MAC means only that the system uses not native bluetooth adapter MAC address. All android builds for HD2 have this issue. I am trying to resolve it.
[HD2 Android NAND Development] SkywalkerPD:
That is not a NAND problem. The problem is in the choice of the ROM. The Desire HD ROM is very large and not the fastest around. If you want a fast ROM choose a non HD based build without Sense.

For me this ROM is great. It's stable and although not very fast I can work with it very well.

What are the changes in version 2?
[HD2 Android NAND Development] EFyodor:
What is currently installed ROM in your phone? If this ROM, please, send the result of command: adb shell df -m
[HD2 Android NAND Development] EFyodor:
v2 - Performance improvement.

-----

And it is strange for me to hear that this rom is not very fast... :) I attached the video which shows how this ROM works in my phone. I do not understand why some peoples have lags. I can make other video with your scenario to show you that I do not have lags.
[HD2 Android NAND Development] EFyodor:
Yes, I confirm.
[HD2 Android NAND Development] SkywalkerPD:
I don't have lag issues myself, what I wanted to say is that this ROM is not so fast as a non-sense minimized ROM, but that this is normal behavior.

Thnx for all the hard work you put in to this.
[HD2 Android NAND Development] PlayStation:
Thank you very much. It is a very good kernel...... :rolleyes:
[HD2 Android NAND Development] davebert:
Nandroid Backup

Hey,

first of all, this ROM is great.

Now the only problem I could find...

While doing Nandroid Backup it says after finishing backup of /system, /data cannot be mount.

I dont know how this could be solved. I hope you can fix that, because I really like the Nandroid feature and never had problems with that using your prior builds.
[HD2 Android NAND Development] cossey:
My installed ROM is your latest v2 version. I don't know how to do a command line, sorry.
[HD2 Android NAND Development] cossey:
I saw your video and that makes me jealous ;-). That's the way it should be I believe. How many apps do you have installed? Do you have the same performance if you install around 30 apps? I also tried another NAND ROM, this one: RAFDROID HD v2.3 (20 JAN). And there I have the same issues. Very slow as well.
[HD2 Android NAND Development] cossey:
EFyodor,

What cluster size do you recommend to format the SD card? Would that cause the slow response. The FAT32 partition has 32Kb cluster size. Should 64kb increase performance? The ext-sd is ext4.

Thanks for your help.
[HD2 Android NAND Development] EFyodor:
1. You should connect your phone to PC by USB cable.

2. You should have Android SDK already installed in your PC, or use the attached archive if SDK is not installed. Extract content of this archive and include path into windows system enviroment path varibale.

3. Open cmd window and type: adb shell df -m
[HD2 Android NAND Development] EFyodor:
Where I can get Nandroid Backup? I never used it before.
[HD2 Android NAND Development] EFyodor:
Leave all parameters by default.
[HD2 Android NAND Development] cossey:
Thank you, I have to install this at home tonight. I will try and let you know as soon as I succeeded. :-)
[HD2 Android NAND Development] EFyodor:
To be more true I ask you send me the list of your applications. I will install it in my phone and make new video for you.
[HD2 Android NAND Development] cossey:
Which parameters do you mean using what program? Do you mean the default Windows Explorer formatting tool (Default size)? I used the Panasonic SD Formatter. There are different options over there, but no cluster size I think, 32 KB is default. But in Windows that's not the default size. I am using Windows 7.
[HD2 Android NAND Development] totalcmdext:
I have the following issue (i don't know if it is due to v2). in the HTC Sense Weather tab the weather is updated but the location remain the same.

any idea?
[HD2 Android NAND Development] londonzombie:
EFyodor , I have been using 32k cluster size on loads of different roms and I dont see any lag at all. Also Nandroid isnt a apk its an option in the Clockwork Recovery Rom.

hope that helps!

Mark
[HD2 Android NAND Development] cossey:
That is really kind of you. I've attached my installed apps list from AppBrain. I hope that works for you. Thank you so much in advance for making the video.

Edit: Oops, the image does not work. I'll try a Word document and RAR both.

47 apps have been installed on my phone.
[HD2 Android NAND Development] EFyodor:
You told about this

1.

or this

2.

?
[HD2 Android NAND Development] totalcmdext:
It is for both Weather widget and the clock widget which loading data from weather widget.
[HD2 Android NAND Development] davebert:
Its a feature of cwm to backup the build you are using.
[HD2 Android NAND Development] EFyodor:
Send screen, please. I do not understand what means: the location remain the same.
[HD2 Android NAND Development] Shurup:
This Rom is a rocket, quadrant 1871 and I/O is the best I've seen on DHD nand: 3781. If you could try to remove sence and repace it with launcherpro or adw it would be really the best!
[HD2 Android NAND Development] totalcmdext:
I mean the following.

I am making of the weather in Location A and the Weather widget say "Lacation A (current)" and also update the clock widget.

I am going to another loacation 20KM away and the weather is updated it but say "Lacation A (current)" and also update the clock widget.

In the past also the location is update and said say "Lacation B (current)" and also update the clock widget
[HD2 Android NAND Development] EFyodor:
Oh... I did not know that CWM backup is called as Nandroid backup.

---

So, you have got the error of /data backup because CWM is trying to mount NAND userdata partition(/dev/block/mtdblock5) to /data, but this partition does not exist, because this ROM use 399Mb for system partition in NAND. Therefore we have this partition layout:

/dev/block/mtdblock1 - recovery 5Mb

/dev/block/mtdblock2 - boot 5Mb

/dev/block/mtdblock3 - system 399Mb

/dev/block/mtdblock4 - cahe 10Mb

--

Total is 420Mb. I do not know why, but only 420Mb is available in NAND. Therefore /dev/block/mtdblock5 is null.

If you would like to use CWM backup and restore I should change NAND partition layout, because CWM needs userdata /dev/block/mtdblock5 partition, and I should change installation script, and directories layout.
[HD2 Android NAND Development] EFyodor:
1. Quadrant shows 2241 in my phone. You can see that in my video.

2. I would like to not remove Sense, because it is stock ROM. I like stock ROMs only.
[HD2 Android NAND Development] swmenzies:
Does this ROM have Super User privileges?
[HD2 Android NAND Development] EFyodor:
It is not bug of this ROM. It is bug of google location service and settings of cellular base stations. Sometimes I saw some strange locations on my phone with winmo.
[HD2 Android NAND Development] EFyodor:
Yes of course!
[HD2 Android NAND Development] swmenzies:
Please ignore me, I'm being a complete idiot. forgot to reboot after initial setup.

Thanks for making this ROM!

Sorry!
[HD2 Android NAND Development] cossey:
Hi EFyodor,

Here are my results of adb shell df -m:

Filesystem 1M-blocks Used Available Use% Mounted on

/dev/block/mmcblk0p2 1008 227 729 24% /data

tmpfs 205 0 205 0% /dev

tmpfs 205 0 205 0% /mnt/asec

/dev/block/mtdblock3 399 391 8 98% /system
[HD2 Android NAND Development] HTCHD2-FL:
I'm not sure where to obtain the output you are requesting. The phone itself does not have the typical Linux /var/log/messages file. I have found that CWM has the option to dump a recovery file. If that is what you are requesting, then I can supply it. If not, could you please detail what file is being requested.

Thanks.
[HD2 Android NAND Development] EFyodor:
Well, the partitions layout is ok.

So, about your applications. Please, send me apk files of your all additional applications which you have installed.
[HD2 Android NAND Development] conscept:
Confused,

this was CRAZY slow for me. Like anything I did had like a 3-4 second wait :S..
[HD2 Android NAND Development] EFyodor:
You should:

1. Connect your phone to PC by USB.

2. Your phone should be in standby mode.

3. Open MS Windows command window and type: adb shell logcat.

4. Wait until a log output will finished.

5. Remember a last line in the log.

6. Press phone Power button.

7. Wait.

8. Press Ctrl+C in the command window.

9. Copy and send me the lines starting with the line which you have remembered in step 5.

If you do not have Android SDK use this archive to execute adb command.
[HD2 Android NAND Development] ftd01:
is this sense rom?

Thanks
[HD2 Android NAND Development] EFyodor:
Yes! And, please, continue to tell me anything like this.... Your sentence contain so useful and interesting information... Please, welcome, all who have lags. Yes, this is very bad, slow ROM. I am sure that you make all right, you have fastest sdcard and best of the best HD2... Do not believe, if anybody will say to you that it is great ROM. And do not believe your eyes, if you watch my video. Please, use other ROM...

P.S. If you would like to understand why you have lags, you should investigate this issue or provide more really useful information to this thread.
[HD2 Android NAND Development] EFyodor:
:) Yes! Because this is stock Desire HD ROM.
[HD2 Android NAND Development] kinggrave:
Thanks for this Great Rom. I had some lags too, but after 3 times reboot everything is smooth and Fast !:D Big thanks greetz from Germany

Ps . sorry for my Bad English
[HD2 Android NAND Development] davebert:
I would really appreciate it if you could change that and provide it as an update or if this isn't possible to include it in the next version of this Rom. Thanks in advance
[HD2 Android NAND Development] jpal2007:
How do you press the Calibrate button, when your phone is facing down?
[HD2 Android NAND Development] rasumia:
LOL thats easy face down your phone and put down in a table enough that you can click the calibrate. then do it...:D

want to take a picture and post here how? let me know thanks...
[HD2 Android NAND Development] hengmy:
flash not working

flash is not working in this build? anyone can load flash video?
[HD2 Android NAND Development] EFyodor:
I have chosen the easy way,- I have fixed CWM 1.2 :)

You should copy this file to sdcard where you store CWM files: initrd.gz and zImage, i.e. you should replace initrd.gz
[HD2 Android NAND Development] EFyodor:
You are not right. Flash is working properly.

Perhaps you have deleted flash player. Install it again.
[HD2 Android NAND Development] HTCHD2-FL:
adb shell logcat

Thanks for the instruction. I have executed the following:

1. Open a CMD window.

2. CD to the location (my case, YMMV: C:\Android\sdk\platform-tools) of ADB.exe

3. Execute the command: adb shell logcat -f dev_log_system.log

4. Wait some time and press: <control> C

5. Execute the command: adb pull dev_log_system.log

6. Used the latest 7zip application for smallest size.

Optional to remove the file output from the phone:

7. Execute the command: adb shell rm -f dev_log_system.log

Just a note, I tried with "Droid Explorer/Tools/Plugins/LogCat Console" but noticed that the debug level was stripped since they colorize the text based on the level. With the logcat command there was also an option to output the file in binary format should it be required.

Thank you once again for your continued support.
[HD2 Android NAND Development] EFyodor:
Man, your log not contains info needed for me. You did it wrong. You should press Ctrl+C only with 3 sec delay after you pressed Power button. Please, do this again as I asked you. I no needed your full log. I need only the part of log which contains set of lines when you press Power button to wakeup of your phone.
[HD2 Android NAND Development] wholly1:
got sandisk 32 gb class4 card,

followed instrictions and phone seems not see second partition.

don't save any data and have 0B memory left.

should i reflash once again?

on the partition magic in pc i can see two partitions but second is unknown...
[HD2 Android NAND Development] davebert:
Thank you very much for this fast solution. Its nice to see how you support your builds.
[HD2 Android NAND Development] EFyodor:
Please, send the result of these commands:

1. adb shell df -m

2. adb shell fdisk -l /dev/block/mmcblk0

You should run it in cmd window.

P.S. If you do not have Adroid SDK use this archive
[HD2 Android NAND Development] hengmy:
tried a few version of flash but still not working..

youtube video the browser auto exit, facebook videa cant load..

any idea how to fix it?
[HD2 Android NAND Development] osanvc:
i am wondering how can i update the new version from the old one without losting the old data/setting???
[HD2 Android NAND Development] EFyodor:
What means: tried a few version of flash? You should install the last version of adobe flash. Use this, or update from the Market.
[HD2 Android NAND Development] EFyodor:
You should read the first post!

Update the previous version ROM:

If you would like to update the previous version you should not touch your sdcard. You should do this only: format NAND by task29, install magldr, flash new CWM partition layout, install new ROM.
[HD2 Android NAND Development] Athar Mansoor:
Same here.. Browser auto exits on loading.
[HD2 Android NAND Development] SsZzliMm:
576MB RAM

I have a question about RAM. I don't have 576MB, only the default 448MB RAM, but why ? MAGLDR or the kernel doesn't support it yet ? What do you know or think ?

Thanks !
[HD2 Android NAND Development] EFyodor:
You should update adobe flash from the Market.
[HD2 Android NAND Development] EFyodor:
I think that some RAM is used by video adapter. But other question, why we can not use 512Mb ROM? I have acces to 420Mb only. Therefore I can not flash my stock Desire HD to NAND. What is a reason?
[HD2 Android NAND Development] HTCHD2-FL:
Wake Up LogCat Output

EFyodor,

Thank you for your patience. Sorry, I read the original request as capture the full power on log sequence (very difficult to do). I was not clear on your original request to just capture the wake up log sequence. I am trying to follow your instructions to the best of my ability.

Steps followed:

1. Connect phone to USB - No Problem

2. Standby mode = Screen Display Off - No Problem

Truncate Log Files for easier capture in steps 3 through 5:
adb shell logcat -b 'main' -c
adb shell logcat -b 'radio' -c
adb shell logcat -b 'events' -c
adb shell logcat -b 'system' -c
adb shell logcat

3. Get current syslog with adb shell logcat - No Problem

4. Let logcat complete dump - No Problem

5. Get last log entry - No Problem

6. Wake phone with power button (end call button) - No Problem

7. Wait 3~5 seconds - No Problem

8. Press Ctrl+C to stop log display - No Problem

9. Output starting from step 5

--------- beginning of /dev/log/main
D/KeyguardViewMediator( 200): wakeWhenReadyLocked(6)
D/KeyguardViewMediator( 200): handleWakeWhenReady(6)
D/KeyguardViewMediator( 200): pokeWakelock(15000)
D/lights ( 200): set_light_backlight
D/lights ( 200): Setting brightnessMode=1 brightness=128
D/lights ( 200): set_light_buttons
I/power ( 200): *** set_screen_state 1
D/SurfaceFlinger( 200): Screen about to return, flinger = 0x132b38
D/PowerManagerService( 200): setScreenStateLocked++, on: true, err: 0
V/KeyguardViewMediator( 200): password timeout delay 227296ms
V/KeyguardUpdateMonitor( 200): getKeyboardFly mbKeyboardFly:false
V/KeyguardUpdateMonitor( 200): getKeyboardFly mbKeyboardFly:false
--------- beginning of /dev/log/system
I/InputManagerService( 200): Receive : Intent.ACTION_SCREEN_ON
I/InputManagerService( 200): Enable input method client.
D/UsbnetService( 200): BroadcastReceiver::onReceive+
D/UsbnetService( 200): onReceive SCREEN_ON
D/UsbnetService( 200): BroadcastReceiver::onReceive-
D/SuggsetionUtils( 295): -------setEnabled:false
I/BatteryStatsImpl( 200): notePhoneSignalStrengthLocked: 4->3
D/ConnectivityService( 200): getMobileDataEnabled returning true
D/ConnectivityService( 200): getMobileDataEnabled returning true
D/ConnectivityService( 200): getMobileDataEnabled returning true
D/ContactWidget Matrix( 313): Received intent:android.intent.action.SCREEN_ON
^C

I hope the above step 9 output is complete and contains the information you are requesting.

Thanks again.
[HD2 Android NAND Development] HTCHD2-FL:
Flash Player Works For Me

This is the first NAND that I have used where Flash Player worked out of the box. The NAND's default web page (www.htc.com/us/) loads a flash slide show and does not force close like other loads.

The market update version 10.1.106.6 also works on my phone with both the web browser and youtube videos.

Thanks again EFyodor!
[HD2 Android NAND Development] EFyodor:
Thank you for the log! This is what I need.

And second question. What is wakeup time of your phone? Less 1 sec, 1 sec, 2 sec ... ?
[HD2 Android NAND Development] totalcmdext:
I have check again the thread for MAGLDR and i am wondering if you could use the following parameter:

"UseLast24NAND" - allow to use last 24 megabytes of NAND. EXPERIMENTAL.

But if you update MAGLDR via RUU or press WM65 hard reset keys.

you will lost this 24 megabytes of data. I

It means data will be corrupted or device won't boot more.

Default is OFF.
[HD2 Android NAND Development] HTCHD2-FL:
Less than or equal to one second. It's quick.

Thanks!
[HD2 Android NAND Development] EFyodor:
No. I do not want to use this. Because I do not like this sentence: It means data will be corrupted or device won't boot more. There is no any explanations about "device won't boot more".
[HD2 Android NAND Development] dXsL:
First of all, excellent work on your ROM!

I definitely don't want to offend you or anyone else but I have to say I do love your 2nd recommendation for this ROM :) :) , which now reads as follows (I underlined the relevant part):
[HD2 Android NAND Development] EFyodor:
:) Yes, but I know only one easy way of properly calibration: face-down.
[HD2 Android NAND Development] spoogedemon:
I´ve an issue with "com.android.settings", everytime I start the phone, or want to go to the settings.

Any idea, how to fix this?

Many thanks in advance.
[HD2 Android NAND Development] EFyodor:
I do not have "com.android.settings" issue. What do you want to fix? How I should understand the details of your issue? Perhaps you would like to attach screenshot...
[HD2 Android NAND Development] Athar Mansoor:
Yes, the HTC page works fine.. But its only with the videos loaded on the web page..

Also tried after installing the latest flash player from the market. Still the browser auto exits on playing youtube videos in the browser.
[HD2 Android NAND Development] spoogedemon:
here are the screens... :(

many thanks in advance.
[HD2 Android NAND Development] totalcmdext:
Question about HTC Hub

The following issues maybe aren't any connection with the current build (or maybe...)

1. HTC Hub

It isn't possible to connect to all category in the HTc hub for 5 days now

2. Wrong Location (Current) in the Htc sense widget

The weather is update it but the loacation remain constant in one place.

3. The Date&Time location

In the Automatic activate in Date&time the time show the first location with the same time differnce +GMT

4. Flip for Speaker

The feature doesn't work for me
[HD2 Android NAND Development] DannyBiker:
I must say I'm impressed with this build. I thought Rafddroid was the fastest out there but this ROM proved me wrong ! I'll wait several days to give my final opinion but it could become my favorite Sense ROM...

Great work, especially for stock lovers !
[HD2 Android NAND Development] EFyodor:
You saw the screenshots from my phone. I do not have this issue. :) I do not know, how I can help you?

Try to do this:

1. Remove Flash Player.

2. Delete /system/lib/libflashplayer.so

3. Install flash player from the Market.
[HD2 Android NAND Development] meletios:
Thanks for the nice build.But its draining a lot of battery.

Have to admit though I have removed apps , gmail & soundhound(using droid explorer)...

any tips will be great...am going to try and re-install it again now...
[HD2 Android NAND Development] swmenzies:
Since I unplugged it at 6 this morning it has only used 40% of the battery, I've been on the phone played games and done some wireless surfing.

Awesome ROM!
[HD2 Android NAND Development] HTCHD2-FL:
Mixed Flash Player Results

I used the following site for some testing:

http://m.adobe.com/#/home/

I have experienced mixed results from the different featured sites. There are some successes and some force closures.
[HD2 Android NAND Development] osanvc:
Sorry sir~i missed this...

i followed you step and get it done~thanks~!
[HD2 Android NAND Development] totalcmdext:
Workaround: Flip to speaker

Sanity application can automatically turn on handsfree (Speaker On) when the phone isn't close to your ear (using proximity sensor)

In this way, Sanity can be useful while you're driving car: throught automatic handsfree, the headsets are no longer needed.

Also a lot of other features are available....!
[HD2 Android NAND Development] cossey:
Hi EFyodor,

I finally have a smooth running ROM. Probably my very slow system was caused by using the wrong (default) kernel. I had partitioned with ext4 and the default Gauner kernel that comes with the ROM does not support ext4, am I right? That might have caused all troubles.

What I did is the following to have a very fast and smooth operating ROM:

2 GB ext3 partition (ext4 seems to work slower) on a Transcend 16 GB Class 6 SD card.

Swap file 256 MB.

Installed your ROM with default kernel.

I deleted my HTC Sense account on their website, and I did not synchronize my Google account when first starting the ROM. I didn't want all stuff to get installed back, because I suspected that it was causing problems.

I manually installed all my apps (and did not use the automatic Google backup function). After installation all custom apps, I still have a very smooth and fast ROM.

Nou my ROM flies and is comparible with your video on the first page.

What kernel is the fastest and has best battery life? Should I try a different one? What's your experience?

One note: HTC HUB sync is not working. HTC Sync keeps syncing when HTC Sense automatic syncing is selected. It drains the battery.

Thank you EFyodor for making this fabulous fast ROM and giving all the support/advice.