yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] anand12:
update!

ok i have flashed the same rom 8 times since yesterday starting right from task 29 to formatting the sd card each time. it is now that i have been able to run it smooth without problems so far for the past hour or so. :fingers-crossed:

Carl, i lost my su permission even after using the last zram file that you attached. so the last time i flashed prior to this, i did not flash the zram file at all! and after a couple of reboots and trying to update my su binary, i lost root permissions. so this time i ran task 29, reflashed the rom and immediately after one reboot flashed the su and su binary through recovery. i restarted and boom! my su binary got updated just fine (even though it was the latest, i still updated to check it). later i rebooted and flashed the zram file and after restart i did not lose root permission! the problem was not with the zram file. it was the

su binary

.

thanks carl for all the help! i shall check how the rom is running and return with my updates to you. :highfive:
[HD2 Android NAND Development] srdjanLeo:
I calibreted battery when I bought her and when I reflashed Rom yesterday. Cleared Batteey stats for just in case. :) I think Sense account is draining battery and HTC Locations. I didn't downloaded Locations this time and I turned them off in Start up and now I have better battery life. Since last night without data on all time (just when I need it) it is on 38%. That is ok with me ;)

Thank you for your help, Carl

EDIT: This is weard, look
[HD2 Android NAND Development] srdjanLeo:
I froze some apps with Link2SD, such as Locations, Peep, Google Maps, Search, HTC Hub, Likes, etc. All apps I don't use. And I managed to have CPU at 5% :D and 13 mAh.
[HD2 Android NAND Development] carl1961:
That high number is ok, long as it is just a app or momentary
[HD2 Android NAND Development] Neilg:
Hi,

since trying to sort out the volume issue my phone has been restarting itself regularly, like every few hours, also during the night.

I don't know if it is connected to the fix we applied for the volume, or just chance that it is happening now.

I have re-flashed the rom, using the wipe option, but the restarts keep occuring. (Also the wipe option appeared not to do what I thought it would do, as most settings were still available after flashing the rom again).

Any ideas what I can do to get back to a stable image? I will try deleting the contents of the sd-card this time and see what happens.

Edit: Managed to wipe it properly this time. Will see if it is stable now.
[HD2 Android NAND Development] bzhmobile:
Yes, you can backup the content of your Sdcard on your PC, format the Sdcard, wipe (the tree wipes) , in mount & storage (of the Recovery) format boot and partition system...

So your new install will be very clean...
[HD2 Android NAND Development] carl1961:
when I do a new install I always do the factory wipe/restore thats in Clock Work Recovery (CWR) I don't know whats happening on your end but I never have had the reboot issue. when you do try a complete install again you may want to check for bad blocks in your nand , you can use the attached CWR installer to check it will copy a badblocks.log to your sdcard that you can read with any txt editer. this will format all your nand partitions so do a backup of your personal stuff. hopefuly we can find your issue
[HD2 Android NAND Development] msdn70:
Hi Carl..

First of all thank you for your good work.

I can't find the Arabic keyboard in V.2.7

Where can I find update for 2.7 (for Arabic Support)?

if I install update (for Arabic Support) is will affect the overall ROM performance?

When applying update what file replaced?

Thank you in advance.
[HD2 Android NAND Development] Neilg:
Ok thanks, the full wipe from CWR worked (I used the "Wipe" option that comes up in the rom installer previously, which didn't wipe everything), so far everything is stable, no spontaneous reboots, I haven't re-installed everything, so not sure if it was a rouge app or something was corrupt I will keep adding apps, and checking it.

Any chance you can make the following available for me please?

HtcProfileWidget.apk

HtcScreenBrightnessWidget.apk

thanks a lot.

Edit: I spoke too soon, it just rebooted itself!

Edit2: 3 Bad blocks found, I've increased the partition size to 130Mb, will see if that helps.

Edit3: System is now hanging (not rebooting) when installing apps again.

Edit 4: Reinstalled everything again successfully, but phone just rebooted itself :(
[HD2 Android NAND Development] marcoman64:
I don't understand the reason of many troubles for so many user!

I have installed the rom 2.7 EU/CLK with system Partition size 5/120/5 MB updating from the 2.6.2 release and all works perfectly, fast & smooth!

Great job Carl1961! Your is really the best sense rom for HD2.

P.S.: Are you working on any new rom for HD2?

All the best

Domenico
[HD2 Android NAND Development] Neilg:
After the last re-install I ran a fix permissions which seems to have helped. So far no reboot.
[HD2 Android NAND Development] carl1961:
Neilg, see if this installs the apps and works
[HD2 Android NAND Development] carl1961:
msdn70, I'll have to check and do a arabic installer, been very busy with sickness in the family along with me getting over a minor auto wreck, I'm ok, just sore and a few stiches and 10 staples, no broken bones, I was lucky, a lesson learned from driving to fast to get to work on time LOL
[HD2 Android NAND Development] Neilg:
Hi Carl,

The installer ran ok, but the widgets are still missing in settings.

Also, got a spontaneous reboot last night again :(

System partition has 27mb free, is this enough to prevent problems?

Sorry to hear about your accident! Hope everything heals ok.
[HD2 Android NAND Development] srdjanLeo:
Rest, Carl, the health is the most important, we can stick with this as long you are being healed. :)
[HD2 Android NAND Development] marcoman64:
Health

All the best for you heatlh Carl from Italy

Domenico
[HD2 Android NAND Development] bzhmobile:
Still alive and nothing broken :good:

Be carefull, we got only one life ... :angel:
[HD2 Android NAND Development] -pixelfreak-:
All the best for you heatlh Carl from me

Pixelfreak
[HD2 Android NAND Development] msdn70:
Thanks God that you are safe, please take care while driving..
[HD2 Android NAND Development] vikasraj:
A Question to be answered :)

Hey Carl....

Hope you have a speedy recovery.....

@all Guy i have a general question regarding the cache size. Since the current ROM nees 5mb as cache size can we increase it to ~45MB as with the current partition of 5MB usually the apps force stop what's doesn't recieve pic or loaction or video also Google Map force closes and it takes a lot of time for the phone to get back to main screen after going into any application....

Require your inputs my inference can also be wrong that all these ar enot happening due to cache... Hence i seek some more input on this to know about what can be done to restore normalcy...

Thanks in advance..

Cheers...:)
[HD2 Android NAND Development] carl1961:
you can try to increase cache, but this means you will have to completely reinstall your rom to make space fore larger cache
[HD2 Android NAND Development] secaplus:
Thanks God to keep Carl a live

Carl : As NRGZ said : Never drive faster than your angel can fly ...

Sent from my fantactic HD2...
[HD2 Android NAND Development] vikasraj:
Will surely update you on the performance..

also a few bugs at the moment...

Beats audio force closes on application..
[HD2 Android NAND Development] vikasraj:
Cache change didn't help.....

Hello all....

Well it looks like the the force close is jus not limited to Maps it also happens with opera mobile and other application from time to time :(

I changed the cache to 45mb through HD2 tool. But it served no good hence i would have to roll back to my last working ROM,

Has anyone else also faced similar issues..

Kindly update me regarding the same...
[HD2 Android NAND Development] anand12:
no I haven't had the force close issue, but I experience a big lag on the Rom. I would like to know whether the Rom has a2sd scripts. because when I run the app a2sd from play store, it says it could not find te scripts. although Titanium Backup says that my ext partition is being utilised. how come?
[HD2 Android NAND Development] carl1961:
the 05apps2sd script file in the system/etc/init.d folder symbolic links files to the sd-ext folder in the linux partition on your sdcard, no ap2sd script is needed,

I do not have these FC issues, I have the tmoble phone setup as the EU phone, I always have done that, any lag could be from some application or app you may have installed. you can install a cache cleaner or boot into CWR and under advanced option delete cache there. also it would not hurt to wipe the dalvik cache and let your apps rebuild them self.

you can run the attached Dalvik_Cache_Wipe_EU_TMOUS.zip from CWR and it will wipe the cache folder and the dalvik cache. just remember the next boot will take longer because dalvik cache has to be rebuilt.

also any time you try themes or any add-on that changes system files and (or) framework files, you need to do a dalvik cache wipe because if you do not you will be using the wrong dalvik cache file for that app ( lets say you changed a quick menu, or a battery icon)

just verify you setup your phone with correct system size 5-120-5 ( both EU and TMOUS) if you still have FC you may want to check for bad blocks and learn where they or at, you can do that with the attached UrDroid_bad_blocks_logger_CWR.zip , look at the log file and where the bad block is just look at what was formated. if any having FC or lag issues could write more info of how and what you did it will help pin point the problem.

with a clean ROM install, from the drop down quick menu and clicking on the memory icon, you should have close to 160MB free, as you install apps this will decrease, but you can install system audit ( the payed version) and set all your apps to not start at boot then you will gain your memory back
[HD2 Android NAND Development] srdjanLeo:
I had similar problems with 2.7 so I get back to 2.6. I found it more stable. Wipe all with HD2 Tool. Then with SD MiniTool partition Wizard delete All partitions and make a new one, as Fat32, Cluster Default. You may want to back up your SD cuz this will format it. After you did it, Install Clk or Magdlr, what you prefer, CWR with 5/130/5 cuz you may have Bad blocks, 5MB means nothing to you but it can make device faster. Enter into CWR and make ext3 partition. Copy ROM zip on SD and install it. When on ENTER PIN screen, take a break, go and drink water or something :D let it be 5 minutes without touching. Then just go Next, dont log in with Google or FB. When Home screen is loaded, take another break, this time 10 minutes. Then Turn off device, DO NOT RESTART (Dungphp told me to do this way cuz restart bites system apps). Turn it on, install LINK2SD, it's free on Play Store and Freeze stuff you dont use, such as e.g. Flickr, Twitter, FB, Daemon controller etc and move on SD apps such as Maps, Gmail and your personal apps. Now you should have fast HD2 without FCs and with 240 MB free. :) Also with ES Task Manager you may turn off apps from booting with system, as it is free app from Play Store. Hope you will make it work. ;)

---------- Post added at 07:48 AM ---------- Previous post was at 07:35 AM ----------

Btw Carl, maybe I am borring with this :D but is there any progress with Sense 3.6 and ICS? Jelly Bean is out there and we are still on Ginger. :)
[HD2 Android NAND Development] Tarpe:
I think the problem with slows down of a rom is because new build prop file from bomax i have menu issues with new custom urdroid rom menu freezes and lags,bad block can cause random re boot's with me system is 130mb but some times 135mb
[HD2 Android NAND Development] morfeusz747:
Do you have any link to trasparent quick menu+ % battery but without URDROID background for v2.7? :)

THX
[HD2 Android NAND Development] :
You don't need to resize /cache to increase its size. You can just bind mount it to /data/cache or /sd-ext/cache if it is present.

Use this script, put it in a file and rename it to 03bindcache

#!/system/bin/sh
# 2010-08-05 Firerat, bind mount cache to sd ext partition, and mount mtdblock4 for Clockwork recovery's use

busybox umount /cache
cacheDir=/data/cache

if [ ! -d $cacheDir ];
then
busybox install -m 771 -o 1000 -g 2001 -d $cacheDir
fi
busybox mount -o bind $cacheDir /cache
if [ ! -d $cacheDir/dalvik-cache ];
then
busybox install -m 771 -o 1000 -g 1000 -d $cacheDir/dalvik-cache
fi

if [ ! -d /dev/cache ];
then
busybox install -d /dev/cache
fi

if [ "`grep -q \"/dev/cache\" /proc/mounts;echo $?`" != "0" ];
then
busybox mount -t yaffs2 -o nosuid,nodev /dev/block/mtdblock4 /dev/cache
fi
if [ ! -d /dev/cache/recovery ];
then
busybox install -m 770 -o 1000 -g 2001 -d /dev/cache/recovery
fi
if [ ! -L $cacheDir/recovery ];
then
ln -s /dev/cache/recovery $cacheDir/recovery
fi
[HD2 Android NAND Development] carl1961:
I know Tarpe posted it somewhere in this thread, maybe he can repost his. I think this is it, you can see if it works
[HD2 Android NAND Development] Tarpe:
Yes that's it!

re uploading...

Carl I edit a single post with my custom stuff,I will put pictures this days and keep that page updated with all custom stuff you have link in my signature!:)
[HD2 Android NAND Development] -pixelfreak-:
re

work the RCTweaks with non reboot and freez problems to 100% TARPE ? have you found the mistakes?

Pixelfreak

best regards
[HD2 Android NAND Development] Tarpe:
??? if you ask for ver 2.7.1 with rctweaks, that is a same version I posted first time,no update for that,i can do some things but i can't do a xml edit stuff :rolleyes: sorry for now rc is out :cool:
[HD2 Android NAND Development] -leo-:
i dont know where did i download ver 2.7.1 and find it very very brilliantly excellent:eek:

the only pitty is that initrd period is so long, for me it takes about 1~1.5minute lol:crying:

and found a possible bug w/ zram and cpu governor: 384~1036.8 interactive/96~384 ondmandx; sometimes

after a period of use the rom become very slow and may see sense fc... or deep sleep cant be waken up........

dont know if it's because of wrong cpu settings?

hope can be improved:laugh:

thanks for your great rom carl~! and modder Tarpe!

edit: i use eu hd2 5-130-2 w/1gb ext4
[HD2 Android NAND Development] Tarpe:
you have it in my signature :)
[HD2 Android NAND Development] Neilg:
I have also gone back to 2.6 due to my "spontaneous reboot" issue. So far I have no problems with it. (other than it occasionally hanging when it has been on charge, but I find this less irritating than it rebooting at random times, as the other day it rebooted itself twice with 30 minutes on 2.7)

Edit: I take it all back, it just rebooted, after running ok all night!
[HD2 Android NAND Development] Tarpe:
What are you are using which cause reboot issue?
[HD2 Android NAND Development] carl1961:
When you say reboot, you mean a complete reboot or a htc scense reboot
[HD2 Android NAND Development] Neilg:
Urdroid 2.7 and 2.6 without any modifications

It's a complete reboot not just a sense reboot.

Yesterday it rebooted at 12:21, 14:22, 15:02 and 16:21, I figure it may be something happening when it tries to sync something, but turning off the sync options doesn't help.

since then, it hasn't rebooted, was ok overnight, a lot of times it rebooted itself overnight as well.
[HD2 Android NAND Development] carl1961:
I say something is wrong with your phone, you could have bad blocks in your nand rom
[HD2 Android NAND Development] sjakie71:
Thanx for this EXCELLENT rom! v2.7 even better and smoother than 2.6:laugh:

But the phone info says it contains the marc 0.2.1 kernel, not the 0.2.2 version. But no problem, although i'm wondering if there's really a difference between 0.2.1 and 0.2.2. In the meanwhile I noticed a newer 0.2.3 version .. Is the newest version always the most recommended?

Keep on this great job! After 2,5 years my HD2 still not retired :cowboy:

Grtzz
[HD2 Android NAND Development] frounzn:
I had the same problem with random reboots. The phone often rebooted when I did nothing with the phone.

Try to disable automatic network provider search. Manually select your provider for example "T-Mobile".

For me this solved my problems with random reboots.
[HD2 Android NAND Development] morfeusz747:
I have problem when i'm calling. I can't end talking. When I press any button they only shining so I must restart phone (red button) and next when phone turn on, all my setting, widget disappeared and only I see default wallpaper. My version v2.7
[HD2 Android NAND Development] Tarpe:
did you do a full wipe,if you use a backup of settings that can do some bugs with new installation,I had that problem so I don't do backup any more only wipe,and all files that i need copy to PC :)
[HD2 Android NAND Development] carl1961:
2.7 has the 2.2 kernel, it was a update info error on marc's part, but the marc 2.3 kernel you can install as it does just fine
[HD2 Android NAND Development] carl1961:
that has happened to me a couple times, but I really thought it was my phone, I found that pressing the back button and give the phone time for the other side to drop the call, I will look into what apps control the phone and try some different ones, thanks for reporting, thats how things get fixed
[HD2 Android NAND Development] srdjanLeo:
I need help. What are the best settings for Camcorder? I wasn't using it untill now. When I record something, it looks like Photo Slideshow :D
[HD2 Android NAND Development] carl1961:
have you installed the marc 2.3 kernel, I read it has updated drivers and helps recording
[HD2 Android NAND Development] marcimix:
I look forward to maybe update :) With theme clean as possible. 100% Stock :fingers-crossed:

Can you add this function? This is app draw to flash?
[HD2 Android NAND Development] carl1961:
you mean the recent apps at the top
[HD2 Android NAND Development] Neilg:
It seems that this could have something to do with the issue, I noticed as I was out of reception of my network at the weekend, that it rebooted itself very frequently, though as far I can tell it is already set manually (When you say "disable automatic network provider search" is there a setting for disabling it, or do you mean just select it manually from the "search networks" dialogue)?
[HD2 Android NAND Development] carl1961:
Neilg what network is your phone with?

I have never had this issue and I am constantly moving from with different networks here as I travel, from ATT - tmobile and a few others I can't remember the name, and is it with only this rom or has any other caused this problem, I would like to help pin point the issue for you
[HD2 Android NAND Development] Neilg:
If this is the case, is there a way to fix it?

---------- Post added at 11:25 AM ---------- Previous post was at 11:08 AM ----------

It is with a German network Blau - which uses the network infrastructure of e-plus (and doesn't always have particularly good coverage in some areas where I am)

the issue only started after upgrading to the 2.7 version of your rom, v. 2.5 and 2.6 worked fine (only used SD based roms previous to that).

So I figured it must have been the update to 2.7, but downgrading to 2.6 still gives the same errors. I am wondering if the issue came with the update to 2.6 as I may not have made a clean install of 2.6 over 2.5, not wiping dalvic cache at that point, so it may not have occured in 2.6 the first time if certain things we retained from the 2.5 rom, if you understand what I mean.

My next test to this theory would be to install 2.5 again and see if the helps, unless you have any other ideas to test?

Thanks for your support Carl!!
[HD2 Android NAND Development] carl1961:
you cannot fix bad blocks as it is burned in the nand, some OS have a way to map and skip them ( wP 6.5) and some here on xda has managed to locate their bad blocks and make a small partition around them (and just do not use that partition)

but don't rule you have bad blocks until you test. you can run this attached CWR install and the read the badblocks.log file it makes on the root of your sdcard with any text editor and see if it notes any bad blocks, be aware that this CWR install will format your partitions, so do a backup because you have to re-install your rom.

if you see something like this:

mtd: not erasing bad block at 0x05800000");this was after my system partiton was formated

below was after my data partiton was formated ( when I installed TMOUS rom)

mtd: not erasing bad block at 0x04260000");

mtd: not erasing bad block at 0x0eac0000");

mtd: not erasing bad block at 0x11e20000");

mtd: not erasing bad block at 0x27d80000");

mtd: not erasing bad block at 0x29ea0000");
[HD2 Android NAND Development] Neilg:
Ok, I did this already, a couple of weeks ago when you posted it, it found bad blocks, so I increased the size of the system partition to 130Mb as recommended, is there anything else that I should have done?
[HD2 Android NAND Development] carl1961:
so you sure you know which partition it was in? do you still have your badblock.log
[HD2 Android NAND Development] srdjanLeo:
Yes, I flashed 2.3 kernel. It still lags, not as before, although, but still. Which bitrate is best to use? It's on 16mbps I think as default
[HD2 Android NAND Development] frounzn:
Same here. I use an Austrian provider called Bob, which is using the netwok from A1. I´ve to use my phone with roaming enabled.

You can only select the network manually. I think there is no option to disable automatic searching.
[HD2 Android NAND Development] srdjanLeo:
When you choose network manually, he doesnot search automatic anymore. There is not an option to choose only Manual, but it acts like you've chosen it.
[HD2 Android NAND Development] sjakie71:
Thank you Sir! Currently installed marc kernel v 0.2.3. Rom is running very fast smooth and stable. Maybe in the future stock wifi hotspot will be fixed. But for now my HD2 entered his second life:D Really appreciate your work and support!
[HD2 Android NAND Development] Neilg:
I lost my badblocks.log through an SD format, so have just run it again, looks like Data is the problem. I am now lost as to what to do, any advice would be welcome.

Checking All Partitons For Bad_Blocks

Formatting BOOT

Formatting SYSTEM

Formatting DATA

mtd: not erasing bad block at 0x09a40000

mtd: not erasing bad block at 0x09a80000

mtd: not erasing bad block at 0x09b80000

Formatting CACHE

about to run program [/sbin/busybox] with 4 args

P.s It is running on an EU HD2 if that makes any difference.
[HD2 Android NAND Development] carl1961:
do you install EU or TMOUSE and or you CLK or Magldr?

EU has user-data stuff on sd-card, TMOUS is in data partiton of NAND

so best setup may be EU rom with CLK
[HD2 Android NAND Development] Neilg:
I use EU with Magldr. If the Eu version has user data in the SD card, does this mean that the bad blocks in the data partition in nand should not cause a problem?

I will see if I can get CLK working and try that.
[HD2 Android NAND Development] carl1961:
yes I would try clk

just install clk like you did magldr from the tri color screen, then when it boots to bootloader go to setting and set system partition to 120 MB it is default set to 200 MB I think, if I remember right, you can use the CLK install guide if you need pictures to help you
[HD2 Android NAND Development] Neilg:
Super, thanks for digging those out, that makes life easier for me.
[HD2 Android NAND Development] secaplus:
Hi Carl

I'd tried to moove on clk 1.5. But I have data issue, no letter (E,3G or H) appear near reception level.

Is there a fix for that ?
[HD2 Android NAND Development] Neilg:
Alas, it has not helped unfortunately.

The only thing I reninstalled after flashing it, was appbackup & reinstall, so I don't think it is a problem with a third party app.
[HD2 Android NAND Development] vikasraj:
Cam

Hello All,

The cam in the rom doesn't have the feature of panorama. Can we make any amendments to it... ???

Kindly provide your inputs...