yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] themadproducer:
Instead of /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

Try: /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs

Instead of /system/etc/init.d/98cpu_voltage

Try:/system/etc/init.d/15cpu_voltage

The 15cpu_voltage may be named something else (eg 20cpu_voltage.)

Use File Explorer or Root Explorer and navigate to the /system/etc/init.d/ directory and you will be able to see the correct name of this file.
[HD2 Android NAND Development] themadproducer:
Hey Dr_Grip,

Ever since I started using the Dorimanx Kernel and using a tweak that stops the OS from kicking in and killing apps too early (allows 50+ processes before killing any apps) I have been on the trail of what seems like LEAKY RAM. A few have us have been diagnosing it. Long story short, there's something in there eating up ram and sometimes it can be reclaimed. I am convinced that there are some memory management issues. I bet it is not exclusive to the Typhoon release and only the nitty gritty users like use are noticing it. If you want dig in deeper, PM me.
[HD2 Android NAND Development] tmotard:
hi,

i've tested warrenb213's kernel this week end and got, after a while, no sound bug..
[HD2 Android NAND Development] themadproducer:
Were you using BT Voice Command before or during the NSB?

What was the scenario? Did the system freeze up too?
[HD2 Android NAND Development] tmotard:
I was using BT A2DP (music streaming) for about 2 hours.

After that, one og my children was using google map (10 minutes, inside the house, with GPS on even if GPS wasn't able to have a signal).

After that, ma child payed for about 10 minutes to angry birds. I loose the sound during the game.

that was the scenario...

don't know if that could help..
[HD2 Android NAND Development] themadproducer:
So would you say that during Angry birds the sound was still working?

And...which Kernel were you using? If it was Dorimanx...which version etc.
[HD2 Android NAND Development] tmotard:
I'm sure that at the beginning of andry birds, the sound was here... and suddlenly, no sound, during the game.

i was using warenb213 's kernel (25.01.2012 version).

since that, i'm using dorimanx's kernel. (4.1 for the moment).
[HD2 Android NAND Development] tazeemn:
Brilliant ROM. Used it as my daily driver before moving to ICS. Would love to get it as a SD/MAGLDR.
[HD2 Android NAND Development] gats:
Awesome Rom, it's really smooth and fast!!

Thanks tyween for your hard work!

Just one thing, it's possible increase the internal storage size?
[HD2 Android NAND Development] themadproducer:
Create a 2nd EXT partition if you haven't already. This will extend your Internal storage capacity

Easiest way

- backup your rom via CWM

- copy the entire contents of your SD card onto your PC

- reformat the SD card via CWM and say YES to 1gb EXT partition

(you will end up with first partition Fat32 and 2nd partition 1gb EXT)

- you can also choose 500mb if 1gb is too big for your sdcard

- then place your backed up contents on to the sdcard

- go into CWM, find your backup and RESTORE it.

- the EXT partition will automatically become a virtual extension of your internal storage with no hit on speed. You will need a r3d party app like Root Explorer or Titanium Backup to be able to see a GAUGE that shows your NEW Internal (virtual Internal) Storage.
[HD2 Android NAND Development] nchall:
I am getting can't wake from sleep bug about once a day on this. Present on warrenb and stock kernel for 3.7.6. Anyone else have this? Have screen animations off as well. Thanks.
[HD2 Android NAND Development] :
Since the installation of version 3.7.6 i am getting signal drops for my carrier. while my motorola shows full signal. Should i got back to old version ....
[HD2 Android NAND Development] nchall:
I am back on 3.7.0 with 4.1 dormainx kernel and so far so good other than not observing wifi sleep policy I think.
[HD2 Android NAND Development] Pivo99:
My rom does great after a fresh update but it seems as time goes on it gets slower and I get more force closes. I can barely download or uninstall an app with the market force closing or something going wrong. I cleared cache and dalvik cache multiple times and it did nothing. Is anyone else experiencing this or know of anything to help solve the problem. Anything would help, thanks.
[HD2 Android NAND Development] lihkin:
How is the battery life of 3.7.6 as compare to 3.7.0 because I find battery life of 3.7.0 'THE BEST'
[HD2 Android NAND Development] walidhazem:
well i got 90% after 8 hours in standby but with 2 phonecalls and one time sync in the morning only(wifi and data off after sync) i think its still the best battery life;)
[HD2 Android NAND Development] gats:
That's it, thank you themadproducer for your guide, really simple and working....:)
[HD2 Android NAND Development] cdrov:
Has anybody encountered signal loss when 3g/hspa data is enabled?
[HD2 Android NAND Development] Pivo99:
Yeh I get it also and I don't know how to fix it... Toggle airplane mode is the best advice I can give.
[HD2 Android NAND Development] iphuang:
Lost of contact list

I am running Typhoon 3.7.6 with seader_R9 kernel.

After continuous using the phone for two days (without shutting down), suddenly I found the contact list is gone. When I receive a phone call, the known caller's name is not shown. However, the other function of the phone is normal. After reboot, the contact list is back.

I have about 1000 contacts in my phone.

What is the cause of the problem? Can it be solved?:cool:
[HD2 Android NAND Development] cdrov:
Something new..... I get no service the bars seem that i do not have signal but the phone is working (no 3g though) Anybody?

---------- Post added at 08:23 AM ---------- Previous post was at 08:05 AM ----------

Maybe it is related to the preffered network???
[HD2 Android NAND Development] Desigen:
Did anyone tried to use USB OTG Cable with this ROM?

Thanks
[HD2 Android NAND Development] cdrov:
Does anybody experiences a delay when answering the phone????
[HD2 Android NAND Development] john0902:
Doesn't 'no hit on speed' assume that the SD memory is as fast as the SD flash memory? Is that a valid assumption? Can the two speeds be tested to confirm it's true?

Also, what does using A2SD+ mean for optimal partitioning? On my HD2, the storage that looks like it gets offloaded to SD is app, app-private, and dalvik-cache:

#ls -l /data/ |grep lrwx
lrwxrwxrwx 1 root root 11 Jan 16 19:10 app -> /sd-ext/app
lrwxrwxrwx 1 root root 19 Jan 16 19:10 app-private -> /sd-ext/app-private
lrwxrwxrwx 1 root root 20 Feb 2 13:36 dalvik-cache -> /sd-ext/dalvik-cache

which -- with the suggested 150MB system/10MB cache partition -- only leaves just about 267MB (mostly from /data/data, i.e. app data) still in the /data partition in internal memory, despite the data partition being almost 500MB bigger:

#df -h
/dev/block/mtdblock3 150.0M 140.3M 9.8M 94% /system
/dev/block/mtdblock5 761.9M 266.5M 495.4M 35% /data
/dev/block/mtdblock4 10.0M 1.1M 8.9M 11% /mnt/cache

Does it make sense to have that much of the data partition un-utilized? Unless the SD memory is massively faster, wouldn't it help to distribute the storage i/o burden more evenly over different storage locations? If so, is there another partition scheme and use that would make better sense? How about at least moving the dalvik-cache back to internal memory, rather than SD? If so, how would you do that? A script, manually, etc.?
[HD2 Android NAND Development] themadproducer:
I never seen so many questions in one post! ;)

1) Ext vs Nand Speed

I can't feel the difference. It's not dramatic. It's been tested and debated.

2) Internal partition utilization.

If you don't have the 1gb internal storage version of the HD2, and if you like to install many apps, then the internal storage will not be enough. At this point, close to 800mb of my EXT is being used for APPs and 165mb internal used for DATA leaving about 85mb free. (aside from my 150mb System partition. So, if I want to install another 50 apps, I would likely have to run a DATA-TO-EXT script to compensate because I surely would run the internal 85mb down to empty.

Rereading your post, it sounds like you are saying that you DO have the 1gb version HD2. If I was you, I would consider to keep everything internal by simply not creating an EXT partition...and by NOT activating any other Apps-to-SD script.

3) Speed of SD

From day one, I've had a class 10 (16gb) but it really only makes an obvious difference when I pull it out to use in my PC card reader. My wife's SDcard is a mere Class 2, 2gb with a minimalistic setup and it runs flawlessly.

4) Ram

Wth proper Ram memory management, things fly on this old crusty HD2. If only the HD2 had come with 1gb ram...then all apps would be pretty much loaded and be able to stay resident in ram and everything would run lightening quick.

Talk about lightening...tip of the week. I Like ADW a lot....I prefer Go Launcher....KILLER....I settled with Launcher Pro....old v0.8.4.1. WHY? It's better coded. (and outdated I know) I've done the tests on multiple handsets. It consistently has fast and smooth framerate (on it's highest cache preset) unless you have a small setup. Here is an example where the software coding (and RAM) is the main deciding factor....not the other hardware or storage scripts.

5) Dalvik to EXT vs INTERNAL

It's debated and yes there are scripts for this and every other combination of apps/data/dalvik/cache etc. My HD2 runs like a dream with Typhoon rom and Dorimanx Kernel. Everything is snappy. Even the loading of big games work great. Every game I have ever used works well on this rom.
[HD2 Android NAND Development] stanburn:
Hi john0902, I found your exchange with themadproducer quite fascinating. Like you, I have a TMobile HD2 and had an almost unused data partition. My experience with Linux helped a lot when I had the same question on finding a way to move back the dalvik-cache to the data partition.

You're half-way there actually by just removing the symlinks. But on your next reboot, the dalvik is recreated in sd-ext. There's an init script in /etc/init.d/11dalvikpartition (at least in my Typhoon ROM) that I removed in the zip package and flashed into my phone. With this, I was able to retain the app2sd feature, but maximize my data partition for the dalvik cache. If you want, I can send you the ROM zip, tho it's pretty easy to modify as I described above.

Hope this helps!
[HD2 Android NAND Development] themadproducer:
I have a 16gb SD card, but I'm not sure of the class. It tests out on SD Tools to 11.3MB/s write and 8.8MB/s read.

Do you have a PC SDcard reader? You should test the card on a PC. Your read speed should be much quicker. A class 10 card should theoretically have a minimum write speed of 10mbs.

Even with the 1gb HD2, using a 150mb system partition ...alternatively, if there is some other approach that would make the most of the 1gb HD2's storage.

I like how you tried things like making your system partition larger etc. But it sounds like the user stanburn has given some advise that should work for you based on his own similar experience with the 1gb hd2.

I actually notice frequent slow downs on my HD2,

Any advice?

Yes, I find RAM and Cache management to be major factors in speed and transitions. (besides efficient coding) Here's what I recommend:

1) As I mentioned, Launcher Pro v 0.8.4.1. VERY IMPORTANT to get this specific version. It's the only one that has ever proved to be like BUTTER. DON'T get the NEWEST one!!! And...go to LP settings/advanced settings/memory usage settings/memory usage preset...and choose HIGH and make sure the only other check mark on that page is "Use Homescreen Caches".

2) The MEMORY FREE figure you gave me (Mem: 420860 407268 13592free) is not what it seems. (you ran Terminal right) I mean 13592 is not your FREE memory. (maybe you already know this) With System Tuner Pro, or Advanced Task Manger etc., you will see your true available ram. After boot, you should have typically 150mb to 220mb free unless you have a crazy amount of startup apps using ram.

3) When installing large apps, there is a reasonable amount of delay...nothing unordinary...but I am using EXT partition. I must have close to 100 contactsor more and it scrolls like butter except that at first, the contact pictures are delayed slightly from appearing because the contact list does not PRELOAD the images in CACHE. LARGE Menu's that need building or CACHING all exhibit some kind of delay the first time they are opened...depending on their size. AND ALSO some menu's written by some apps are just plain SLOW and herky jerky. Here is a link to a scrolling HACK that has helped greatly for me...especially for certain apps like Tasker and Titanium Backup where the lists are super slow...(this is not for beginners....and skip the Volume hack on this same page) http://xdaforums.com/showthread.php?t=1411317

But launching apps and games, and their fluidity are pretty darn good...at least with my setup and months and months worth of older versions of this rom and kernel etc.
[HD2 Android NAND Development] nsmart:
After updating vom v3.7.5 to v3.7.6 I don't get my signal back / device does not log in to mobile network when leaving airplane mode. I have to reboot to make it work again. Went back to my v3.7.5 nandroid backup and everything works as is should.

Anyone else with this issue ?
[HD2 Android NAND Development] insanix:
Throughout all its course the most reliable and consistent CM7 ROM for the HD2. IMHO the best ROM for HD2. Keep up the great work!
[HD2 Android NAND Development] themadproducer:
I would consider getting a class 6 card....and some class 4 cards are known to write as fast as class 6.

Once free ram is down to 50mbs, GB gets unstable. Go down to 30-40mbs and you get long freeze delays and/or crashes. Some of us observed that there seems to be a memory leak in GB....or somehow, after a few days of normal operation....but especially running large games or apps, you might notice free ram never getting fully reclaimed. For some reason, it's not a HOT topic!!!
[HD2 Android NAND Development] john0902:
My phone has been running much better since moving the dalvik-cache back to internal memory. I took a look at this script and I wonder if it might be a good idea to change it to test whether the hardware on which it's running is a US TMobile HD2 and if so, skip relocating the dalvik-cache to sd-ext.

If the first test of the script

if [ -e /dev/block/mmcblk0p2 ];

were changed to something like

if [ -e /dev/block/mmcblk0p2 ] && [ "`df /data |grep data |awk '{print $2}'`" -lt 512288 ];

anybody with a data partition greater than 512MB, which is only possible on the US model, wouldn't get dalvik-cache relocated.

If this test were included in the ROM, US HD2 people wouldn't need to modify the ROM before flashing in order to get a configuration better suited to their hardware, while the European models would still get the dalvik-cache on external memory.

Do you not suggest a class 10 card? Looking at the 32GB class 6 and class 10 cards, they are very close in price.
[HD2 Android NAND Development] NYLimited:
Unless you are recording lots of video on the card you don't need a Class 10. :)

Check

this

for a longer explanation if curious.

---

When you get to the point where you really understand your phone, it's probably obsolete...
[HD2 Android NAND Development] MarkAtHome:
Actually, it happens the moment you buy it.

__________________
[HD2 Android NAND Development] microcell:
I have a question regarding VPN configuration on version 3.7.6. I have configured the phone to connect to the remote end using PPTP protocol. No matter what I try it won't connect. Connection works fine on the PC to the same remote domain. Can anybody confirm VPN actually works on this Android version?
[HD2 Android NAND Development] arceangel:
ttmaker isnt working for me can someone post the tablet tweaks for TyphooNs 3.7.0. also the graphic fix thing if possible. I tried out ics miui but it wasnt fast or stable. i did like the themes tho
[HD2 Android NAND Development] SOHOM:
Hi,

I want to know is there any chances to get this awesome rom in SD version SD/MAG??

Please reply.
[HD2 Android NAND Development] Dnst:
Do the cpu frequencies and vdd levels that are listed on the first page represent all the levels on which the governor can move or do they just show the theoretically possible levels and i have to set the range with an app like cpu master? On my devices the current min is 245 and max is 998. It seems that these are the standard frequencies but i would like to give it bit more power when needed and let it decrease to 128 when sleeping. Do I have to include the list in the rom befor flashing?
[HD2 Android NAND Development] Funnydwarf:
Cpu frequencies and governors are kernel related, you can set them under settings -> cyanogenmod -> performance, or use an app like setcpu, your choice.

As for the vdd levels, they can be edited by changing the values in the 98cpu_voltage file, already included on original rom but with conservative values. First post example is a good start point, you can either use it as it is or tweak it a little until you're satisfied but don't go too low: i use 825 mV for 128 MHz, if i go for 800mV it's unstable. Each phone is different though.
[HD2 Android NAND Development] marzinho:
I applied for the MOD from this topic:

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

I hope tyween will not mind me for doing so.

As soon as i recieve modded ROM, i'll post testing results and i'll ask tyween for permission to post a link to such modded ROM.
[HD2 Android NAND Development] earl.grey:
Hey! I have a Problem.

I want to install this Rom and use a2sd+.

1)So ill partitionate my Class 10 SD card first with ClockworkMod (advanced -> partition sd card) (1024 mb / 256 swap)

2)Wipe everything (incl. dalvic cache)

3)install Typhoon 3.7.6

4)When i go now to the cyanogenmod settings it is not possible to install apps on the "external" internal Partition (field is uncheckable)

5)if i try to move the cache with a2sdgui it is not possible.

How can i use typhoons awesome rom and upgrade my internal storage?

greetz
[HD2 Android NAND Development] walidhazem:
there is no sd version, but i think u can port it with portadroid
[HD2 Android NAND Development] Dr_Grip:
You need a formatted ext3 partition. And no swap. If a ext3 partition is there, the ROM will automatically use it, you don't have to do anything for that, not even wipe the device. Simply boot up, give the phone fifteen minutes or so to move stuff around (the phone will lag or not react at all during this time) and you're good to go.
[HD2 Android NAND Development] dealkk:
My phone recently been auto restart very often. Any idea and suggestion to fix this
[HD2 Android NAND Development] gats:
I follow this mini guide by themadproducer and it's work like a charm:

I think it's your first install of TyphooN rom, i recomend wipe all data and cache!
[HD2 Android NAND Development] anakete:
same, i flashed back to 3.7.5....
[HD2 Android NAND Development] tmihai20:
There are 2 ways to use an EXT3 partition on the microSD card: one is DATA2SD and the other is A2SD+. The main difference is that with Data2SD you will see an increase in internal memory and with A2SD+ you won't. This doesn't mean Data2SD is better. Data2SD moves the whole data directory to the EXT3 partition, this will slow down your phone a lot. A2SD+ only moves the app and the Dalvik Cache folders on the EXT3 partition, apps will not see that they are not installed on the EXT3 partition, you won't get force close on any of them. There is also a big difference between moving an app to microSD card from within Android and these 2 scripts. If you move an app from within Android, it will be moved to .android_secure folder on the FAT partition of the microSD card, Dalvik Cache will still remain in the internal memory (and it is quite large, around 200-250 MB). Bottom line: create a EXT3 partion on the microSD card (I used a 512 MB for a long time and I installed dozens of apps, you can make it 1 GB if you like, but it won't be used more than half). The first partition must be FAT, the second one must be EXT3. When you boot the phone for the first time, the A2SD+ script will detect it and will move app and Dalvik cache folders on it. Launch Titanium Backup and it should show that you have an EXT3 partition and it is used. You don't need to do anything else than creating a FAT and an EXT3 partition, the ROM will do the rest.
[HD2 Android NAND Development] lmas0604:
32GB MicroSD card class 10

Hello!!!

Is it okay to install this rom with a 32GB MicroSD card class 10?

I have already installed the rom and it works fine, but then when you restart the phone it gets stuck in the early boot android and can not start until the end.

With a 16GB MicroSD card class 4, the rom works perfectly without any problem.

Can anyone tell me why this happens or if this situation ever happened to anyone?

Thanks for the help.
[HD2 Android NAND Development] tmotard:
You can try to wipe cache + Dalvik cache ...

Wich kernel do you use ? did you OC/UV ?
[HD2 Android NAND Development] relic:
i dont have VA options on gtalk using latest typhoon. Is it restricted to North america? Am imissing something i have to do to enable it?
[HD2 Android NAND Development] Dnst:
Since the latest update the camera app has a bug: if you try to switch to front cam which as you know does not exist, the app produces a forced close and won't start anymore, always returning a forced close message. Wiping caches, restarts, reinstallation does not help anything.

Can anybody confirm or confound that this is a general bug?
[HD2 Android NAND Development] NYLimited:
Drop down to a Class 4 or 6. The HD2 was designed for Class 2 only. A Class 10 does not improve anything even if it should work - it was not designed for this kind of use.

---

When you get to the point where you really understand your phone, it's probably obsolete...
[HD2 Android NAND Development] lmas0604:
Thanks for the help.

I have another rom running on a 32GB MicroSD card class 10 without any problem.

I love this rom and it's a waste not to use this rom, but I will combine another rom and use the 32GB MicroSD Card Class 10.

Thanks for the help.
[HD2 Android NAND Development] runningdap:
I am having some graphical issues running this rom. I placed a widget from the "Any.Do" app from the market on one of my homescreens using GoLauncher but when the home remains still (im not touching the screen or moving through the homescreens) those white blocks appear on the widget. When im moving through the screens those white blocks dissapear, but they re-appear when i stop the movement. I'm pretty sure it's not because of the widget since i've seen this thing happening before elsewhere on my phone, but i can't remember if it was a widget or an app with the same problem, or even the same rom :/
[HD2 Android NAND Development] fatappel:
I think it's your wallpaper. The issue happens when the background behind the widget is stark white. All other colors and even other shades of white do not have this issue but the same thing happens to me with this rom even when using default launcher and standard android widgets with wallpapers containing bright white. In your screenshot, the white blocks seem to only happen where your wallpaper is white. Change wallpaper and the issue should be gone.
[HD2 Android NAND Development] GulliverBG:
This was already described and did work for me.
[HD2 Android NAND Development] -gb-:
Hello i accidentially clicked on change camera in the default camaera app. But, the HD2 has no second camera. So the camera app crashes every time i trie to change from picture to video becaus a not available second camera is now the default.

A reboot did not help and reflashing the rom is a bit of work. So is there a way to just reset all camera setting?

Edit: Deleting the app-data solved the problem.

-gb-
[HD2 Android NAND Development] Dnst:
I had exactly the same problem but didn't thought deleting the app would help because then it would have been gone :rolleyes: . So I reflashed the whole thing... I think this bug came up with one of the latest updates.

http://xdaforums.com/showthread.php?p=22366982#post22366982