yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] tytung:
CWM also has fix_permissions function.
[HD2 Android NAND Development] tytung:
Do you ever try this one?

hastarin_r8.6_eb_oldcam_NAND_#8

http://nexus-hd2.googlecode.com/fil...in_r8.6_eb_oldcam_NAND_compiled_by_tytung.zip

It seems that someone has reboot issue (loop in the "X" animation)

I will try to build a kernel when I have time.
[HD2 Android NAND Development] R3dox:
I just tried connecting to the network here at the university and it's still stuck on authenticating like before :(. All I did was replacing the wpa supplicant file as mentioned in the code 8804 issue. I renamed the old supplicant so it should be using the new one

Bummer :(.
[HD2 Android NAND Development] tytung:
Did you set the correct permission?

Please type the following command to make sure it has the executable permission.

adb shell chmod 755 /system/bin/wpa_supplicant
[HD2 Android NAND Development] myaditya:
I am using it for the last 7 days & I can say it is one of the best gingerbread rom ever.

running very smoothly.
[HD2 Android NAND Development] Jerommeke:
Used navigation this morning (Google Maps & Motonav) and GPS is working like a charm. Going to install Navigon later, but I don't expect any issues.

Nice! :D

Only "issue" is widgetlocker being "killed" by the default lockscreen now and then. Not really an issue, but it annoys me sometimes.
[HD2 Android NAND Development] enrierosi:
Dear friends one questione,if i flash another rom on this the clockwork remain save inside the phone?
[HD2 Android NAND Development] Macelangelo77:
CWM isn't "in" your phone. It's on your sd card.

Sincerely,

Mac
[HD2 Android NAND Development] Yank555:
Managed to record around 18 minutes. Then the camera app just died :( No file on the card...

Recording started to stutter a few times before crashing, so maybe SD card speed is an issue afterall ?

JP.
[HD2 Android NAND Development] general1977:
Since people experience different lengths of possible recording time and afterwards there is no file on the SD-card, could it be that the camera buffers into NAND and then writes to SD? I would suspect that if NAND-buffer is full, the camera crashes. Just a thought.

Regards

Achim
[HD2 Android NAND Development] Yank555:
This could explain why it seems to work with SD Android ... ?

Anyone has more insight on this theory ?

JP.
[HD2 Android NAND Development] corrsea:
Did you try sd speed increase? It works by changing the size of the cache on the sd card from the default 128kb to 2048kb or higher. This allows Android to actually take advantage of the higher class cards. It certainly helps with gallery loading etc. I don't experience the freezes using miui camera though I used to with stock. Admittedly I have not tested much past 10 - 12 minutes.

There is a thread on XDA.
[HD2 Android NAND Development] Yank555:
Just installed it, set cache to 4096 (max). Is this using 4Mb of RAM as cache ?
[HD2 Android NAND Development] corrsea:
Yes as far as I know, although the largest setting isn't always the best. In my case 2048 appeared to be the sweet spot. It probably depends on the sd card you are using.

Its a long shot but its the only thing that I can think of that I have altered on my phone that might be having an effect. Hope it works.
[HD2 Android NAND Development] abofihmi:
Any better answer???
[HD2 Android NAND Development] corrsea:
I doubt it. Tytung recommends it in the first post so if there was a better solution i'm sure he would have mentioned it.
[HD2 Android NAND Development] corrsea:
@ Yank555 re camera freezes.

I have managed to reproduce the camcorder freeze after about 17 minutes of running. I have attached an alogcat log file. Hopefully this might help someone to figure out what the problem is. ( I was using miui camera from first post.)
[HD2 Android NAND Development] Yank555:
Hi corrsea,

Just gave a look at your logfile (btw, there is no /var/spool/log ... where can I find it in the filesystem ?)

There are "Total encode time for buffer ... is too long" first, then "Frame arrives too late!" entries later before the app dies, which obviously means, there is most definately a performance bottleneck as root cause to camera problems. Nothing new, but I suppose we can consider this a proven point, since we can add to this that there doesn't seem to be a bug in the camera itself, since stock camera and MIUI camera have the same issue.

My guess is that the buffer is filled slightly faster than it can write to the destination file on the SD card, which means that at some point the buffer will overflow.

This happens more or less after 10 to 20 minutes, I suppose that this difference is due to compression, since the volume of data to be written depends a lot on what you're filming (some images can be compressed more than others).

At the end of the log-files there's a lot of reference to dalvik ... I assume the dalvik cache resides in "/data/dalvik-cache" and since I'm using DATA2SD, it means that it resides on the sd-ext partition in my case, which in turn would exclude NAND space or speed, or cache space being too small (I have almost 3Gb of free space left on my sd-ext partition).

On the other hand, if cache AND destination both reside on the SD card as it is the case for me since using DATA2SD, that would make matters worse, since that would mean loads of IOs exclusively on the card vs. split IOs to NAND and SD card.

I would exclude this again, since my testing on a fresh copy of NexusHD2 v3.0 (without DATA2SD) came more or less to the same crash after a more or less siminlar amount of time...

This in turn also would exclude pure SD speed as the problem, since there is no difference in behaviour if cache resides on NAND (less IOs on card) vs. sd-ext (much more IOs on card), IF the cache is on a filesystem that is.

So my guess would be, the buffer overflow would be due to RAM, rather than a filesystem, running full, since the same happens whether the cache resides in NAND or on sd-ext.

Is there any way to tell the camera app to use a bigger RAM buffer ?

Or ... is it the CPU that is too slow to compress the frames coming from the camera ... and it is simply a hardware limit at this resolution ??

But then again, this is just me guessing ... maybe I'm jumping to conclusions too quickly ?!

Any other oppinion / conclusion ?

JP.
[HD2 Android NAND Development] corrsea:
Sorry I don't have any other ideas. There is the difference in cameras though. With stock I would experience this regularly but with miui I thought it was gone.

I also experienced a constant battery drain of 60mh last night after testing this (never had that before!) Might just be a coincidence though.

I will have a play around again tonight to see if I can reproduce it and look for what caused it. If it is related then its another bit of info that might help.
[HD2 Android NAND Development] boomboomer:
Just incase anyone has the "try again error" in the Market when clicking on a pay app, I've cured mine - but the cure was a little extreme.

I've also been getting a few isolated lockups and other weird data drops, setting switches being changed - but not by me - and so decided to do a fresh install.

Did a task29 (the first since I've had the phone), install radio, MAGLDR, CWM with 135Mb instead of previous 150Mb and V3.2a - also decided to try the dtapps2sd option. Titanium backup put everthing back, apart from widgets, after a restart so very little drama.

Market now working perfectly, so far no data drops and wow - what a difference dtapps2sd makes over the Android apps to sd option, the phone starts in a third the time after unlock and shuts down in half the time. It's nice having 1Gb space for apps, no need to worry about running short of space.

Hopefully the phone will behave itself now, I was not too happy giving it a mental cosh just because it wasn't 'perfect' but the results are worth it.
[HD2 Android NAND Development] general1977:
I remember that there is a way to change the encoder for the camera. Maybe one should try to use a less CPU consuming codec.

Regards

Achim
[HD2 Android NAND Development] corrsea:
@yank555

Been having another play. I can get freezes with both the latest miui and stock camcorder. However if I delete all files recorded with these 2 apps including the blank duds that show in gallery and then instal the miui camera from post 1 everything appears to work perfectly again. Have just recorded 2 x 30 minute videos without any issues. Perhaps the presence of these files somehow messes things up?

I'm going to leave camcorder running continuously from now till I go to bed (probably about an hour and see what happens.)

Edit. I can't reproduce the freeze I got yesterday (left it about 45 minutes). So either it was totally random or it was related to me having a play with stock cam and latest miui. Removing the files they produced apparently solving the problem again.
[HD2 Android NAND Development] Yank555:
Hi corrsea,

Good point !

I have loads of files (pictures & video) in my DCIM folder ... it's kind of my logbook of what I've done and where I've been in the past few year :o

Maybe a cluttered DCIM folder IS the problem eventually ?

Going into that folder with a file explorer takes a lot of time before it will display the files (though galery seems to cope with this quite well as it's caching everything).

I'll try to move those files away, and retry this with an empty DCIM as soon as I have the time to and get back to you.

If that's it, well than it will be easy, now and then move the files from DCIM to "picture-logbook" and that's that ;)

Can others having the problem confirm that they, too, have a clutterd DCIM folder ? Thanx !

JP.
[HD2 Android NAND Development] Baker0:
Ive been using this ROM for ages now and its superb but the last couple of days the pattern lock screen has been playing up.

If I use it the green line that joins the dots up wont appear. If I do the pattern it unlocks the phone I just see where im going.

Any one else had this problem? Using the r14 kernel.

Cheers

Baker0
[HD2 Android NAND Development] samthu:
Check your settings under settings/location & security, and see if the option to use visible pattern is checked. If it's un checked u won't see the green line as u unlock.
[HD2 Android NAND Development] Baker0:
thanks that worked
[HD2 Android NAND Development] sblar:
Well, at least it didn't fix it for stock camera. I emptied dcim and the freeze happened after approx. 5 minutes.

Update: Trying the MUIU v.17...freeze after 4 minutes or so. Sigh! :(

Sent from XDA App, the one and only
[HD2 Android NAND Development] corrsea:
Have you tried the miui camera from first post? (not the new one posted a few pages back)
[HD2 Android NAND Development] sblar:
No, only the ver 17 .apk mentioned ealier. I didn't feel like replacing the stock camera just yet, as I can understand that the .zip file will?
[HD2 Android NAND Development] trex3300:
The one on the first post will not replace the stock camera. I have both stock and the one on the first post on my phone.
[HD2 Android NAND Development] sblar:
Okay, but how do I install that then? Is it via CWM? Haven't tried that before as I'm new on NAND.
[HD2 Android NAND Development] trex3300:
Yes. Just put the zip file on your SD card, go to CWM and flash it.
[HD2 Android NAND Development] sblar:
EDIT: Found out how, trying....

Update: 10:35 and counting...
[HD2 Android NAND Development] wodahs87:
Sensore.

Hello. Have a small problem with the Nand: (When I call, then the phone will be dark by the sensor. And the screen will not light until after that I hung up and waited for about. 2 min. Is there any patch I need to it? Have tried everything but no success.

I hope you can help me.

THX
[HD2 Android NAND Development] trex3300:
Here is a suggestion that may or may not help. Backup your apps with Titanium backup, wipe your phone and do a clean install. Hope that help.
[HD2 Android NAND Development] wodahs87:
Hello. thx

I have already done it twice. NO HELP ON THAT :/
[HD2 Android NAND Development] sblar:
Confirmed!

Here's what I did:

1. Emptied DCIM.

2. Tried stock camcorder - no go, freeze after 4-5 minutes.

3. Installed MUIU ver. 17 camcorder - same error.

4. Flashed MUIU ver. 15 from first post - recorded 20:39 succesfully and are able to playback.

5. Copied everything back to DCIM and started recording with MIUI ver. 15 - result: Freeze after 5-6 minutes.

Conclusion: An empty, or nearly empty, DCIM folder AND MIUI ver. 15 camcorder will fix the problem.

Anyone know where these findings should be reported to get a real fix?
[HD2 Android NAND Development] trex3300:
Try another rom and if you have the same issue, then the problem could be hardware related.
[HD2 Android NAND Development] reijkelhof:
thank you for this good tip.

I used it before on AmeriCandroid on the sd card version, but never thought to try it on this Nexus nand version.

I downloaded sd speed increase from market and set it to 2048 (from the original 128), and noticed a big increase in sd card loading speed.
[HD2 Android NAND Development] Yank555:
Hi,

I've tested MIUI v17 with an empty DCIM and an SD cache of 2048.

When I gave a look at the HD2 again, 27+ minutes were gone, counting still up, but with frozen image. The system was responding, but the video file was corrupted :(

Purely emptying DCIM and using SD Speed Increase does not the trick, I can confirm that much.

I will give it a try with MIUI v15.

JP.

--------------- Update :

MIUI v15 froze after less than 10 minutes :(

JP.
[HD2 Android NAND Development] corrsea:
Afraid i'm out of ideas for the moment. Will keep trying to get mine to freeze again.

You did delete the corrupt file from v17 before installing v15 again?
[HD2 Android NAND Development] Yank555:
Yes, my DCIM was totally empty, 0 files in it :confused:

If I get the time today, at the latest tonight, I will try this on my test-HD2 with a plain clean install and just SD speed increase and MIUI v15, then v17 respectively... and see what happens.

I have no multi-media file anywhere on that phone's sd card, so nothing should disturbing the experiment :cool:

JP.
[HD2 Android NAND Development] corrsea:
Damn, i've managed to get a freeze again. About 13 minutes in. I've made no changes since last night other than switching my battery over.

The log is pretty similar to the last one I posted but I will zip it and upload it next time i'm at a computer. I've also got the 60mA battery drain I noticed the last time. according to betterbatterystats app its being caused by a kernel Wakelock AudioHardwareQSDIn

Does this make sense to anyone. Cause or effect or unrelated?
[HD2 Android NAND Development] Robertho:
Please help if it possible to this rom.

How can I get to android market apps install to SD automatically?
[HD2 Android NAND Development] Yank555:
Now that you mention it, I also had a strange ~60mA drain yesterday, which I never had since NAND, but I couldn't say if it was related with the camera issue :confused:

But Audio surely is part of video, so I suppose this could be related ! We may have been looking in the wrong direction afterall...

There is no way to record a pure video, without audio I mean, is there ?

JP.

---------- Post added at 09:35 AM ---------- Previous post was at 09:27 AM ----------

This is not related to this ROM, but is a general feature of Android. There are 3 ways (I know of) :

1) Stock Android

Got to settings, Applications, Manage applications. Then tap on "On SD card". You will have a list of your apps (only the apps that allow it, that is !), check the checkbox to move it to SD.

2) Use dtapp2SD / APP2SD

Apps will be moved to SD automatically as you install them.

You can search this thread, it's been discussed already (download available in first post)

3) Use DATA2SD

Data folder (where local apps are stored) will reside on SD card, on a second partition, so apps on internal memory in fact will be on this second SD card partiton. It's a bit tricky to get going, since you need to partition your SD card, but my preferred.

You can search this thread, it's been discussed already (download available in first post)

JP.
[HD2 Android NAND Development] corrsea:
I don't know if there is any way to turn the audio off. At least not from within the camera.

I'm sure the battery drain is related

as i've now had it twice. Both times after camera freeze.

Off to bed now but not working tomorrow so I will have time to check this.

I'm also wondering now if its kernel related so I will try some of the older kernels tomorrow to see of there is any difference.
[HD2 Android NAND Development] Yank555:
I did test fresh installations of v3.0 (with kernel r11) as well as v3.2a with kernel r13 and r14... I had the camera freeze on all variations, but I believe it was with stock camera.

But I wasn't looking for the drain, though, so no idea if it happened there.

Will take drain into account as well when testing with a fresh installs tonight, but MIUI v15 this time (and I time allows, v17 as well).

JP.
[HD2 Android NAND Development] hmmmmm:
Thanks first of all for the great work, image works like a charm! Only thing i cant get to work is the market. It shows every app correctly but when i try to download it, i get a generic error. (as in: cant download from market due to error)

Ive tried resetting, removing download management data, factory reset, sd card format etc but still i cant download any app.. Is there something im missing here?

There are over 850 pages on this thread so i might be asking something thats already been answered, sorry if so..
[HD2 Android NAND Development] KCLT:
Thanx.

I have tried again all from the start, step by step and was able to make the ROM install with Data2SD.

Everything but the 3G works. 3G speed is 100kb/sec. very slow ::(.
[HD2 Android NAND Development] lexuz:
hello,

i'm new to android and installed this amazing rom into my leo512 but also removed some apps from the zip file, now if i understand correctly everything i've readed until now is the partition size for the system also smaller (more room for other apps).

How to i know to whitch partition size to i have to set??
[HD2 Android NAND Development] trex3300:
The CWM file in the first post has a 135mb system partition size, if you use that file, you should be fine. Otherwise read this:

http://xdaforums.com/showthread.php?t=1044830
[HD2 Android NAND Development] reijkelhof:
last night I had a rather unpleasant experience where my phone shut down because the battery had drained.

Luckily, after plugging it into the power source and booting, it charged again. (magdlr)

I have battery monitor widget, and saw that throughout the night, it was showing a 185+ma battery drain.

Since the device shut down, I cannot recall what programs may have been active which possibly caused this, and I do not see an option to check later what application caused this.

any tips to hunt this down?

does this sound familiar to anyone reading this? (some known issue?)
[HD2 Android NAND Development] trex3300:
This typically happen when you have an app that keep your phone from sleeping. You can trace the culprit app by checking your battery usage in settings anytime you notice unusual drain and before the battery go dead.
[HD2 Android NAND Development] corrsea:
Had plenty of time today to do some testing.

1st

Stock cam with r14. Freezes after a couple of minutes. Followed by a Kernel wakelock with 60mA battery drain. Only resolved by rebooting.

Miui 1.5 with r14. Freezes after 20 minutes. + kernel Wakelock and battery drain as above.

Lg camera with r14. (uses Mv4 rather than 3gp) freezes after a couple of minutes + Wakelock and battery drain

2nd

Stock cam with r12 v3. Freezes after a couple of minutes. Followed by kernel Wakelock etc

Miui 1.5 with r12 v3. Freezes after 12 minutes. + Wakelock etc.

Lg camera with r12 v3. freezes after a couple of minutes + Wakelock etc.

3rd

Flashed this kernel.

http://xdaforums.com/showthread.php?t=1268247

Its based on tyring r12 so can be flashed without altering any files. Its now abandoned though so the recent fixes (mike gain and colour banding are not included)

Stock cam. Recorded for about 20 minutes before freezing. File corrupted. However no Wakelock or battery drain.

Miui. Recorded for exactly 30 minutes then some sort of auto cut off occurred. Unfortunately I was not watching at the time. The resulting file was uncorrupted though. No Wakelock etc.

Lg. Recorded for about 1 hour 15 minutes before I stopped it. (had the phone on the dashboard while out driving, initially the file played ok but when I tried again at home it refused to play.

That's as far as I have got for now. If I get time in the next few days I will try some other developers kernels and see what the results are.

An early guess is that the stock cam has its own issues independent of the kernel but overall there is some kind of kernel related problem going on.
[HD2 Android NAND Development] adnguyen:
experience with "power.apk" & battery drain

Hi,

Thanks for the rom. I'd like to report some feedback.

Each time I reboot, it show force close about "android setting" or something like that. The effect of it is there was no sign appearing in the widget "power control" even if I can see 5 grey case of the notification widget, wifi, BT, light, data etc ... I have to reinstall the setting.apk from \system\app

At the first boot, battery drai was strong, quite far from the annoucememnt in the first post "3-5 ma with wifi, BT, data, GPS ON at standby". To get such result, I have to siable animation wall paper, delete from home screen the weather&news widget, disable automatic synchro data&mail

If there could be some fix for the first point...

CHeers.
[HD2 Android NAND Development] boomboomer:
Your symptoms are unique to you, probably a corrupt installation. Try a task29 and start from scratch with fresh downloads, make sure you follow the first post to the letter.
[HD2 Android NAND Development] sblar:
Great job corrsea. Hope you find a combination that'll work - without causing other errors, and of course hopes it can fixed in the current kernel ss well.

Thank you for taken the time.

Sent from XDA App, the one and only
[HD2 Android NAND Development] lexuz:
yes, i do know that but what i mean is:

I took some apps from the NexuzHD2-gingerbread v3.2a.zip and therefore the size of the zip file is smaller, what i would like to know is how do i see how big does the system partition has to be in my particular case.

Thanx for the reply(past) anyway.

I don't wanna waste space in my euleo
[HD2 Android NAND Development] sblar:
How about a PPP_to_RMNET_for_MAGLDR.zip if I want to go back - or is there another way?
[HD2 Android NAND Development] corrsea:
Quoting myself lol

Just to report that I tested dorimanx kernel today (based on tytung r14.) I can confirm identical results to r14 kernel with all camcorders tested freezing within 10 to 15 minutes followed by 60mA battery drain.
[HD2 Android NAND Development] trex3300:
You can always flash MAGLDR again to get default RMNET
[HD2 Android NAND Development] kcfong2:
Power Button to Phone Options Lockup / Freeze

Tytung,

I just bought an "extra" TMOUS HD2 from a friend and installed a fresh copy of 3.2a (also tried 2.7 and 3.0.

All works fine, except when I hit and hold the "power button", the usual "Phone Options" menu comes up that allows me to switch to airplane mode, reboot, etc. When I get to, this menu, I cannot select any option. All the hard buttons work, but the screen stops accepting input. I can power off and back on again, and the screen will return to normal, but I still can't get the Phone Options menu to work.

My other two HD2's do not have this problem. I don't think the button is defective, as it does "hang up" a phone call...

Any idea?

Thanks.
[HD2 Android NAND Development] trex3300:
I dont have any such issue on my two HD2 either, problem is most likely with the one you just bought from a friend. You could try the following:

(1). Task 29, then download a fresh rom, incase old one is corrupt (sorry if you already tried that)

(2). Check the phone for bad blocks

(3). provide a logcat, maybe someone can help you spot the issue

Good luck.