yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] timoz73:
Bad Blocks

Forgive me to have this off topic here, but on my last couple of clean install flashings with Hyperdroid new builds, some weird stuff began to emmerge, can someone help me, i become skeptic about having a bad block, i did the test described in link below and found that i have one bad block at 0x09d60000 , is this matters & how to fix it, thanks in advance (i am also attaching my error report log from CWM renamed to txt for ease of attaching here).

erase failure at 0x04bc0000

mtd: erase failure at 0x06480000

mtd: not erasing bad block at 0x09d60000

mtd: erase failure at 0x0e420000

mtd: erase failure at 0x0ebc0000

Formatting /cache...

Formatting /sd-ext...

N.B.:

I read most of the posts in the link below, but was really confused what to do, task2a or what is the correct procedures to fix this, since too many posts without a clear way to fix bad blocks ....

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

.
[HD2 Android NAND Development] clyder:
You can do a task 2a through mtty. On this page you can find some nice info on how to install it.

Try to install mtty on windowsXP machine because getting it to work on Vista/Win7 is so much pain. I barely get it to see USB connection after several tries in Windows 7. After that I installed it on WinXP in virtualBox and it worked on first try.

Good luck with fixing them. I haven't tried to do a task 2a. I have only one bad block on data partition and never noticed any problems because of it.
[HD2 Android NAND Development] thuynh022:
To me it is. I just turned it all of now. I just like having every thing working on my phone. It's not just the unlock sound either, its also the clicks when you touch the screen.
[HD2 Android NAND Development] clyder:
Ok, dont take my previous post the wrong way. I just think you are upsetting yourself because of an issue that doesnt impact functionality in any way. I off course respect your wish to use that feature.

I am currently using updated version that is still not released. Waiting for feedback from magldr users before I post the links. On my phone all sounds works, audible selection and lockscreen sound and they hear fine.

BTW, I have sent you a PM.
[HD2 Android NAND Development] timoz73:
Just want to say thank you very much Clyder for your help, however the thanks button is not found under the post, any ideas why it sometimes disappear...
[HD2 Android NAND Development] clyder:
No idea, but I dont care that much about that. Glad that I could help in any way. Feel free to PM me if you get stuck at some point.
[HD2 Android NAND Development] clyder:
Hyperdroid 5.7.0.

This is new version. Changes now are very minimal but since last one had a kernel that created lots of issues for some users I wanted that the last released version have a more stable kernel base.

Changes are:

built on CM7 sources from 7th January

included drizztje v5 audiolib. This audio lib dont have that annoying loud noise when you answer the call. If you prefer to use the gpc's that was included until now just extract the libaudio.so from previous rom and replace the one in 5.7.0 before flashing. Or you can do it later with root explorer or adb.

updated zoneinfo data to 2011n....thanx to hashnon

fikret r1.15 kernel

fixed the apn settings for VIP Serbia and Telenor

(both apn types for data and mms were set to default,supl,mms)

magldr / md5: 301cb1202cd903b43d4c01c0199fe37e

clk / md5: cdaef3a23c43d27e155b520d646d2223

edit: I just realized that I forgot to change the filename of the magldr zip. So please dont get confused. It is the 5.7.0 and after you flash it it in settings/about it will display correct name. I have a very crappy upload speed at home so dont feel like reuploading it again. When it gets uploaded to hyperdroid server it will be corrected. Or maybe I reupload it little later.

EXPERIMENTAL FEATURE (USE AT YOUR OWN RISK!)

There is another a2sd script from amarullz that isnt included in the rom because I am still testing it, so if anyone wants to try it you can get it from this link.

It is the same a2sd script that is mentioned in tytung ICS thread. What is different than the one in the hyperdroid is that this one keeps dalvik cache and system app data on the device internal memory and app and app data on the sd-ext. With this script internal memory status displayed in settings/storage (total and free) takes into account sd-ext. For example I have 607MB of internal memory on a 512 leo :)

Also titanium backup doesnt see a2sd but also displays size of the ext partition

as a internal memory. I am not sure but I think that it requiresa ext4 partition.

Inform yourself before trying it on a page from the link above and please post here your results so maybe it will be included on next release. For me it works just fine....for now at least.
[HD2 Android NAND Development] bever86:
I know it's always advised to do a full wipe before update, but since you say the changes are minimal and it's mainly a new kernel do you think I can just install the new version over the old one without problems??

thanks for the amazing rom and fast updates btw :D

(dont worry I always make backups before doing anything ;) )
[HD2 Android NAND Development] clyder:
It should be safe to install it over the old rom. I did like that and had no issues.

You dont have to wipe dalvik because it will be wiped anyway during flashing.
[HD2 Android NAND Development] grgczyz:
Hi,

For me Hyperdroid 5.7 works great ... there is no more issue with gprs/wifi switch. Good work. Thank you Guys.
[HD2 Android NAND Development] caracal reloaded:
[With 5.6.0 I had problems with BT connection, and very little internal memory. A disaster]

I would like to try the 5.7.0.

When I format the SD what steps have to be done before installing the ROM? it is important that the memory is greater than 150 mb

Recovery to install?

===

In wipe data/factory reset

"No app2sd partition found". It is normal??

On rom5.7.0

Release 5.7.0 Internal storage: Too little

Total space 151 mb

free 99mb !!!!!!!!!!!!!!!!!!!!!!! :(
[HD2 Android NAND Development] bever86:
you install the 150mb clockworkmod recovery from here:

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

have you partitioned your SD card with an EXT3 or EXT4 partition?
[HD2 Android NAND Development] caracal reloaded:
I do not remember, how can I can check the 150mb recovery?

It is probably the absence of the partition ext, I believe...
[HD2 Android NAND Development] bever86:
If you install that clockworkmod you can repartition the SD card from that by going advanced -> partition SD card -> 1024 -> 0MB

make sure to make a backup of your sdcard first
[HD2 Android NAND Development] caracal reloaded:
The ext partition on SD cannot do it in clockworkmod, right? Or is possible?

(It would explain why I do not have more than 150MB internal memory)
[HD2 Android NAND Development] dertester123:
CWM only formats ext3. Also has problems to delete a ext4 so you will need to wipe sd-ext manually everytime if you use ext4.

I personally think ext4 gives a good performance boost but could be imagination.

To check partition size you can check with df command in any terminal emulator or with app titanium backup

There is a new clk that allows you to repartition on the device itself and also shows the actual partition layout... VERY NICE!
[HD2 Android NAND Development] bever86:
if you have the right version of clockworkmod you can partition your sdcard with it..

if that doesn't work for you or you don't trust it, follow this guide:

http://xdaforums.com/showthread.php?t=905089
[HD2 Android NAND Development] giol:
Clock sync and changing battery

Hi i have i weird problem with hyperdroid. So far this ROM worked excellent for my EU HD2 but then i bought a spare battery and i have changed the battery a couple times. What happens after i change the battery is that the clock and the date get way out of sync (we are talking days). I tried syntrant from the market to update the clock automatically but the application crashes. Also when i select update time automatically from provider it does not always work.

Any suggestions before i reflash.

P.s. i use CLK.
[HD2 Android NAND Development] caracal reloaded:
ext3. Reboot 5.7.0, freeze on android logo.

Op:

Old 10ad2sx, rename BAKad2sx

New, copy and permission with name 10ad2sx

:cool:
[HD2 Android NAND Development] dertester123:
Know this problem, not sure what the cause is.

But it seems after initial run some permissions are wrong. So that the second boot works you have to go into recovery again and fix perm. again.

Also watch that there is a zip with the script which cant be flashed in cwm and a zip that can be flashed (named "...-recovery")

You have to do the following:

Optional: Remove old app2sd script

1)install rom and first boot

2)reboot into recovery and install amarullz script (i used recovery version you can also install with adb or what you like)

3)fix permissions and reboot into android

..could take a while in android logo

4)Wait till settled and reboot into recovery

=>Fix permissions again

5) => Reboot into android and schould work now.

I would not clear dalvic cache as rebuilding at reboot could cause trouble with initial script....

Have it running now for a while and filled with the first apps. Will report later.

BTW:

5.7 not sur but i needet to install kernel manually on clk 1.5rc0 or i got kernel heador error...

But this could also be my fault as i edited the build.. but i only was in apps:rolleyes:
[HD2 Android NAND Development] caracal reloaded:
It seems to work. great.

1,09GB Internal storage!!!

Some initial crash (setting on but), but after few boot should ok. I hope :rolleyes:

I think it's very well to be tested, Tab search in the market does not start ...
[HD2 Android NAND Development] npocmo:
Evening people, not long ago I realised that I can not find some apps on android market due to incompatible version so I started digging. I found out that I need to change phone ID from Leo to something more androidy by editing "build.prop" file. I can edit the file, but I am not sure what to change exactly.

Can anyone tell me what do I need to change to make my phone pretend like for example Samsung Galaxy II ?
[HD2 Android NAND Development] clyder:
search works here fine in market.

About the a2sd script from amarullz.

Still works fine here. Phone seems to boot much faster with it. It was little laggy on first few boots but after that it was working very smooth.

My instalation procedure was next:

On installed rom with lots of apps installed (so havent tried on a fresh rom) with adb I deleted old script from init.d, pushed this one, set its permission to 755 and did two reboots. No problems.

You can also do it with Root explorer. There is a app Root Browser on market. It has a free version and does the job quite well.
[HD2 Android NAND Development] tin2404:
I have had a similar problem.Try putting this strings into build.prop (backup old ones) :

ro.product.board=vision
ro.product.brand=tmobile
ro.product.device=vision
ro.product.model=HTC Vision
ro.product.name=vision
ro.build.description=2.36.405.8 CL47853 release-keys
ro.build.fingerprint=tmobile/htc_vision/vision/vision:2.2/FRF91/277427:user/release-keys

it works excellent on my HD2 pretending native HTC Vision. ;-)
[HD2 Android NAND Development] sambont007:
where is download link? i am confused
[HD2 Android NAND Development] newhtcuser78:
http://www.multiupload.com/SUNZHLXAHY for cLK

http://www.multiupload.com/EGB6L962B4 for magldr
[HD2 Android NAND Development] rubledub:
tried something new with this version of hyperdroid (coming from 5.5.2) i simply flashed it! i didnt wipe or restore or anything. all widgets in place all apps still there and not one single solitary problem! ive been running hard for 24 straight.

i only mention this because ive always restored this and wiped that when doing any type of rom change. yet, as ive been reading post after post regarding bad nand blocks i tried the less is more approach.

cheers
[HD2 Android NAND Development] idrozd:
Welcome!

Tell me, why not load Hyperdroid ROM 5.6.0 and 5.7.0 for cLK (1.6.5DE and 1.5.0.0)?

Strange, why lay out clearly dysfunctional assembly for cLK ...
[HD2 Android NAND Development] ratelutz:
su problem

Hi HyperDroid Team,

i allready posted about problem with freezing apps witch require SU with fikrets kernel.

so i hoped the new release including fikret1.15 fixes this. but problem is there again.

i allready started from scratch:

full wipe

installed cLK,

installed CWR

and installed ROM 5.7.0

i did fsck on SDCARD and ext3 partition just to be sure.

here is a logcat. please can you take a look at it

i'm getting crazy and don't know what to do

thank you in advance
[HD2 Android NAND Development] clyder:
I have no idea why this su problem is happening for some users. I never once experienced it, and I was testing kernels for fikret before he started releasing them. Only thing that comes to me now is that it may be based on you using ext3. Maybe fikret's kernel has some problems with that FS. I am using ext4.

Try to reformat your sd-ext to ext4. If you have a external SD card reader just use tools like gparted or some other. There are probably windows tools for that. Try looking here or on the web for such tools.

Or you can flash some other 2.6.32 kernel. There were of links recently here to dorimanx kernel. Seader r9 kernel is here.
[HD2 Android NAND Development] ratelutz:
ohh sorry typo i'm using a ext4 already. since yesterday i had an additional swap partition which i now deleted and resized the ext4 partition.

without luck

edit: i'm using gparted to do this
[HD2 Android NAND Development] caracal reloaded:
Only a small problem: email client like "Maildroid" not works

Voip app like "Bria" not works

any solution?
[HD2 Android NAND Development] thuynh022:
Anybody know what the stock voltages are supposed to be? I flashed 5.7.0 over my 5.6.0 running seader kernel(undervolted) and I'm not sure system tuner pro has the right voltages set. I'm afraid it's still running the undervolt from my 5.6.0 install.
[HD2 Android NAND Development] sambont007:
can you guys help me real quick installed hyperdroid works fine but when i want go to market and i want to download youtube app it says "your device isn't compatible with this item" can you guys help please i have t mobile
[HD2 Android NAND Development] HD2_addict:
Thanks mate. New market kept feeding me ****, but this helped. Will go back to dpi 167, because dpi 240 just looks silly.
[HD2 Android NAND Development] ratelutz:
i see not only SU is impacted. when i start alogcat nothing is displayed

only blank page
[HD2 Android NAND Development] clyder:
Also something I never experienced so far. I use alogcat about 10 times a day. Obviously there is some factor that is different between users that is causing this. Maybe some hardware differences or something else. Have no idea. If you are unable to solve it try using a different kernel.

For me this rom with 1.15 kernel works perfect and incredibly fast.

BTW the a2sd script from ammarulz is definitely working great for me. There is a newer one but it is requires a full wipe and it is for some HTC Desire rom so not sure if it will work. I tried it on installed rom but couldnt boot with it. I plan to try it one of this days.
[HD2 Android NAND Development] ratelutz:
with dorimanx kernel there is no SU problem.
[HD2 Android NAND Development] clyder:
If you are Ok with dorimanx kernel then better use it if it doesn't cause you problems.

I am afraid that I dont know how to help you with an issue I have never experienced and have no way of reproducing.

Try to list everything about your device, what exactly is happening, is there any recognizable pattern when it happens, do you use a2sd.......

We need to locate some common factor that exists on all users who is having that issue.

For example, I have a Europe leo with latest radio, cLK 1.4.0.1, a2sd with ext4 600MB partition, I keep data and GPS always on, almost never use bt, I use wifi sometimes but not so often because I have 1GB data plan so mostly dont need to, I have su that comes with 5.7.0 (3.07(41 and 3.0.3.2 binaries))....

when you get an su issue look athe the log list in superuser app. Is there some errors or some apps that failed to get superuser permission.....
[HD2 Android NAND Development] jerme:
Can't install this 5.7.0 I always get in bootloop.

tried update from 5.6.0 and clean install (task29). Result is always same. I am running magldr. Checked md5sum and downloaded rom 2 times...

Other who has same problem?

cwm layout 150/44 and sd-ext 1g ext4
[HD2 Android NAND Development] ratelutz:
so here are my details

-Device: Leo Europe

-Radio: latest

-cLK: 1.5-rc0

-a2sd with ext4 1GB partition

-DATA GPS always on

-BT always off

-WiFi usage most of the day

-su that comes with 5.7.0 (3.07(41 and 3.0.3.2 binaries))

-when error happens the started app freezes completly (e.g TitaniumBackup shows requesting root permission) and freezes

here is an example logcat

- no recognizable pattern when it happens

-Superuser Log shows nothing

this happend right now while starting SystemTuner:

I/ActivityManager( 1393): Starting: Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=ccc71.pmw.pro/.pmw_monitor bnds=[192,708][288,770] } from pid 1938

E/JavaBinder( 1393): !!! FAILED BINDER TRANSACTION !!!
[HD2 Android NAND Development] molann:
Had the same issue. But my phone finally started after 5-10 attempts. Have you tried leaving it in boot loop for longer time?

Flashing 5.5.2 solves this issue. Moreover I have some other issues: reboots on installing heavy apps (Navitel, Touchdown....), the same with restoring large backups with TitaniumBackup. Managed to decrease the number of problematic apps playing with Titanium Options (using systems SQLite \ Busybox, etc)..but only flashing over 5.5.2 solved the issue. Now installed 5.7 and again the same issue. Russian forums also suffer from this issue and replacing the kernel solved this issue for others.

Maybe I`ll also try this later.

On previous versions I`ve had the same issues - had to stop Titanium completely and then start restoring rest of the apps again. This never happenned on v.3. And starting from 5.5.2 reboots have added to this issue.

P.S. I`m having 1Gb Ext4 partition, CLK.
[HD2 Android NAND Development] YZ:
Have you checked if you have bad blocks?

I do. My partition size is 160/5 and misc is 25
[HD2 Android NAND Development] clyder:
Hm...still dont have a clue on where to look for causes. I just installed system Tuner....very nice app :)

try to play with different cpu gouvernors and I/O schedulers.
[HD2 Android NAND Development] ratelutz:
i already tryed ondemand, smartassv2, superbad

all the same

so i will try I/O schedulers. But I do not have much hope of success
[HD2 Android NAND Development] clyder:
Only solution I can offer you for now is to use the kernel which dont creates this problem.

Have you tried this one from warrenb213? It has the same base as fikrets one. In fact fikret started his kernel on warrenb213 one.
[HD2 Android NAND Development] ratelutz:
ahhhhhhhhh i think i found the cause:

it seems it was a leftover from dorimanx kernel instalaltion. there was an init script included with some tweaks made by dorimanx. i deleted the script rebooted and no more freezes till now.

i have to do some more testings but it seems good
[HD2 Android NAND Development] YZ:
Didn't you do a fresh install?
[HD2 Android NAND Development] ratelutz:
i did, but i dorimanx had the tweaks in 01modules. don't ask me why, but i moved them to 99comp and restored 99comp after wipe and the installation

i'm so dumb

edit: f*** it wasn't the cause error back again
[HD2 Android NAND Development] ny_west15:
somemany programs not install. Facebook and Es Explorer vs vs
[HD2 Android NAND Development] YZ:
What do you mean won't install?

Explain your issue a bit more detailed.

The app is not compatible with your device (market)?
[HD2 Android NAND Development] jerme:
Yes. I checked and didn't find any bad blocks. I changed partition layout to 160/5 and after first bootloop rom starts.
[HD2 Android NAND Development] YZ:
You phone enters a bootloop, you re start your phone, and then it works?
[HD2 Android NAND Development] molann:
Dear developers,

could you please let me know whether there is real need to change ro.product.... values in build.prop? Its format was constant till 5.5.2. Some apps are bound to these values and thus fail to register with wrong values. I`ve changed them back and now issue is fixed, but with next firmware I`ll have to do it again. Was it really necessary to change them? I guess that was made in attempt to fix app incompatibilities in the market, but as far as I see they don`t help that much - changing them to SGS2 seems to help better.

old values:

ro.product.model=HD2
ro.product.name=leo
ro.product.board=leo

new values:

ro.product.model=HTC HD2
ro.product.name=passion
ro.product.board=htcleo

In my case the phone finally starts after 5-10 attempts.

I described the similar issue - in my case phone just reboots while installing\restoring SOME apps.
[HD2 Android NAND Development] kafer12:
guys, please post here only initrd.gz file from the fresh build. thx!
[HD2 Android NAND Development] jerme:
yes it starts finally, but i got media fc, after that I rebooted and stuck go go go! screen. pulled battery and booted up. When i start restore programs with titanium backup I got couple random reboots. After that I restored 5.6.0 from cwm backup.

I have deleted few programs from rom zip. But these programs I am deleted also earlier roms. So I think it's not problem. Also when i tried base hyperdroid i had same bootloop issue.
[HD2 Android NAND Development] totos1234:
I have bootloops like you, I investigate something but until now I dont have isolated the cause of the problem. I have installed another time 5.5.2 because I have a graphics lower perfomance visible when starts XDA App and on others places. Bootloops persist... I have terror on possible freeze doing something, freeze is not usual when bootloops ends, 5.5.2 or newer versions are very stable, but only if bootloops has ended. I will investigate more, and if I finally find the cause of bootloops I will post to Devs. thanks to all!
[HD2 Android NAND Development] ny_west15:
Yes............
[HD2 Android NAND Development] drlalitbida:
Plz keep this rom alive

pls keep on updating this rom

thanks alot
[HD2 Android NAND Development] jcsy:
until Fikret's kernel resolves SU problems, or apps that use SU just hang and doesnt do anything for minutes, until you manually close it through some ridicolous Task KIller which we shouldnt be using, I guess we will have random HD2's popping up with this problem..

testing other kernels, dorimanx and seader, there are no issues.

if you run fikret , even from 1.04 (which I consider it stable slightly before many SU problems existed on 1.06 onwards), open SUPERUSER app, launch the update, the update FAILS to find the SU binaries

repeating this on dorimanx, SUPERUSER app can identify 3.0.3.2 binaries, and update to the latest (coming from 3.0.3)

i strongly believe this is a bug for some users, as some other users dont face it

i am , running EXT3 but unlike others have mentioned, this is not the problem

EDIT :

Breakthrough in a discovery.

For the first time in fikret kernel history, I am able to see the version of SU binaries from SUPERUSER app.

Superuser > Menu > Preferences > Su Binary v.3.0.3.2 latest

by default on Hyperdroid 5.5.2, the Su Binaries are v3.0.3

for those who are NOT facing SU problems with fikret, I suppose that your SU binaries are 3.0.3.2

and for those who are facing SU problems with fikret, I suppose that your SU binaries are 3.0.3

In order to update the SU binaries, I flashed dorimanx kernel, and updated SU binaries to 3.0.3.2

and now , flashed fikret 1.15

I will give this a few tests , especially running all APPS requiring SU