yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] DeXa:
Updated to 2.9 from original rom, wiped before update and ....

My Hero is in bootloop here is logcat where I think the problem is.

I/SurfaceFlinger( 413): SurfaceFlinger is starting

I/SurfaceFlinger( 413): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...

D/SurfaceFlinger( 413): pid 413 requesting gpu core (owner = -1)

W/SurfaceFlinger( 413): couldn't grant gpu core to pid 413

D/EGL ( 413): requestGPU returned -1

E/GLLogger( 413): h/w accelerated eglGetDisplay() failed (EGL_SUCCESS)

I/SurfaceFlinger( 413): EGL informations:

I/SurfaceFlinger( 413): # of configs : 6

I/SurfaceFlinger( 413): vendor : Android

I/SurfaceFlinger( 413): version : 1.31 Android META-EGL

I/SurfaceFlinger( 413): extensions:

I/SurfaceFlinger( 413): Client API: OpenGL ES

I/EGLDisplaySurface( 413): using (fd=26)

I/EGLDisplaySurface( 413): id = msmfb

I/EGLDisplaySurface( 413): xres = 320 px

I/EGLDisplaySurface( 413): yres = 480 px

I/EGLDisplaySurface( 413): xres_virtual = 320 px

I/EGLDisplaySurface( 413): yres_virtual = 960 px

I/EGLDisplaySurface( 413): bpp = 16

I/EGLDisplaySurface( 413): r = 11:5

I/EGLDisplaySurface( 413): g = 5:6

I/EGLDisplaySurface( 413): b = 0:5

I/EGLDisplaySurface( 413): width = 45 mm (180.622223 dpi)

I/EGLDisplaySurface( 413): height = 68 mm (179.294113 dpi)

I/EGLDisplaySurface( 413): refresh rate = 60.00 Hz

W/HAL ( 413): load: module=/system/lib/hw/copybit.hero.so error=Cannot find library

W/HAL ( 413): load: module=/system/lib/hw/copybit.hero.so error=Cannot find library

I/SurfaceFlinger( 413): OpenGL informations:

I/SurfaceFlinger( 413): vendor : Android

I/SurfaceFlinger( 413): renderer : Android PixelFlinger 1.0

I/SurfaceFlinger( 413): version : OpenGL ES-CM 1.0

I/SurfaceFlinger( 413): extensions: GL_OES_byte_coordinates GL_OES_fixed_point

GL_OES_single_precision GL_OES_read_format GL_OES_compressed_paletted_texture GL

_OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix GL_ARB_texture_compressi

on GL_ARB_texture_non_power_of_two GL_ANDROID_direct_texture GL_ANDROID_user_cli

p_plane GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap

W/HAL ( 413): load: module=/system/lib/hw/copybit.hero.so error=Cannot find library

W/HAL ( 413): load: module=/system/lib/hw/copybit.hero.so error=Cannot find library

W/HAL ( 413): load: module=/system/lib/hw/overlay.hero.so error=Cannot find library

W/HAL ( 413): load: module=/system/lib/hw/overlay.hero.so error=Cannot find library

W/HAL ( 413): load: module=/system/lib/hw/overlay.msm7k.so error=Cannot find library

W/HAL ( 413): load: module=/system/lib/hw/overlay.default.so error=Cannot find library
[Hero, G2 Touch Android Development] Sergio PC:
Waww, thanks for the heads up, I had no idea a new radio was out.
[Hero, G2 Touch Android Development] danibjor:
*donated* a few beers are headed your way!
[Hero, G2 Touch Android Development] dieseldk:
updated to 2.9 and new radio everything looks fine and its fast :D

comming from 2.51
[Hero, G2 Touch Android Development] risterdid:
no problem bro!

Paul forgot to edit his first post about the radio, no worries though we all know he's a busy guy.

*donating* this week!
[Hero, G2 Touch Android Development] justbabu:
Totally agree. I'm really happy with my Hero now. with 2.8 rom, 1.8 kernel update and new radio. I'm going to stick with these three for a while now.
[Hero, G2 Touch Android Development] tisungho:
Thanks Paul for the great ROM

The problem of unable remount sdcard still persists :'(
[Hero, G2 Touch Android Development] fcknghll:
I tried the new 2.9 ROM coming from the pre-rooted 2.73 generic rom from the Modaco forum without wiping the device (as it wasnt mandatory) and now im stuck on the 'htc' screen. (i installed the latest radio prior to trying the 2.9 rom which booted fine i then tried the 2.9 ROM)

Tried to restore the nandroid i made just before updating, but when that boots it has the same issue...goes past the hero sign and the jingle but stays at the 'htc' screen...need help please...:(
[Hero, G2 Touch Android Development] dipje:
First of all, it can take a full 5 minutes for the first boot to complete.

2nd, although it says that a wipe is not needed, it might be the answer for you :). Please remember that if you wipe, you gotta wipe _before_ flashing, so in your case: wipe, flash 2.9 again, let it boot and wait patiently.

On the first boot it is generating a lot of binary-java files for the apps in the ROM which takes a while.
[Hero, G2 Touch Android Development] PhotoGroupie:
Upgraded from 2.8 to 2.9 with no issues at all. Thanks again for another great release.

Anyone tried the new Radio on Orange UK?
[Hero, G2 Touch Android Development] fcknghll:
Thanks for the reply dipje, I wiped and reverted back to the pre-rooted stock rom and worked just fine :). So then tried to the nandroid backup i made (as i didnt want to lose any data), and that had the same problem, stuck at the 'htc' screen :confused:.

Now i'm trying the 2.9 again with a fresh wipe...as i cant get my nandroid to work for some reason....which realy sucks cos i didn't want to have 2 re-install/re-customise everything again.

Is there any way of restoring just the data partition from the nandroid or something?
[Hero, G2 Touch Android Development] confirm045:
hi. ive updated to MCR 2.9 along with the new radio and now my phone keeps rebooting and loading the rom..... help
[Hero, G2 Touch Android Development] B1ny:
Everything including Market Enabler seems to work perfect for me with v2.9 and new radio, coming from v2.8
[Hero, G2 Touch Android Development] confirm045:
Now its even worse. Wiped the data out, flashed it with MCR 2.9, it keeps looping from the HERO sign to the HTC sign and then back to HERO sign again....
[Hero, G2 Touch Android Development] dying4004:
is this release of 2.9 really buggy?? i am getting confused.
[Hero, G2 Touch Android Development] soulehmoo:
Worked perfect for me, no wipe done either.
[Hero, G2 Touch Android Development] Foka002:
2.9 is not stable for me. I couldn't end call sometimes and also about <30 MB is gone from phone storage.
[Hero, G2 Touch Android Development] B1ny:
Seems I spoke to soon. The gps doesn't release after use on my phone. So I am back on v2.8 I also got back the 23 mb I lost on v2.9 when I went back to v2.8 New radio seems ok through.
[Hero, G2 Touch Android Development] keyra74:
good rom but i have problems to stop wifi with 2.9 :/
[Hero, G2 Touch Android Development] :
My 2.9 install couldn't have gone more smoothly, and the speed with this new update is phenomenal.

Whoever created this should be working for HTC/Android.
[Hero, G2 Touch Android Development] deano777:
had some issues with this rom after an upgrade, but have upgraded since version 2.2

Wiped and installed and all is fine find it much quicker, gps works fine with co-pilot and gps switcher works fine. wireless is good like the new icon to suggest turning off the wireless. not sure why it take 30meg more space, but i do have an 8gb sd card. all in all a great improvement in my experience. wheres the donate button?
[Hero, G2 Touch Android Development] keyra74:
for the 30 mb thing
[Hero, G2 Touch Android Development] snailbaby:
i'm chinese i waiting new roms
[Hero, G2 Touch Android Development] vlamers:
updated to 2.9

Yesterday I updated to 2.9.

Seems to be buggy.

It always reboots my phone without an end.

Back to 2.8 chinese and all is perfect.

Waiting for the 2.9 chinese hope its running on my phone.
[Hero, G2 Touch Android Development] kwiksand:
It's strange to see the vast variety of problems that some people have each release, wifi not working, someone else reports GPS not functioning properly or calls/dialer not working properly.

Apart from 2.2 -> 2.3 there hasn't been a single release that I'd consider any less stable than its predecessor.

I know its annoying to have to download them again, but the best remedy for any problems I've had is wipe the AP2SD partition, wipe the data (after a backup - "Backup for Root users" seems to work well), wipe the dalvik cache and install the ROM clean. Also, I stick by the core install -> reboot, enhanced install -> reboot, wave secure install -> reboot methodology (if indeed there is one to android flashing!!!) after some issues i had with doing them all at once a few releases back.

If I stick by these rules it's perfect every time, and god its quick those first few boots with no apps on there!!
[Hero, G2 Touch Android Development] vlamers:
swapper

Hi there

just killed swapper and deleted dalvik cache. Now its no longer in bootloop.

typed adb shell rm -rf /data/dalvik-cache in recovery mode. Im Running recovery-ra-hero-v1.2.3.img.

Now its perfect for me.
[Hero, G2 Touch Android Development] clarkEEE1:
Cheers 4 putting me right I thought it was right but couldn't quote remember what it said when I partitioned.

Eric to see if its changed to ext 4 in adb shell type

parted /dev/block/mmcblk0

print

This will show you your partitions should now say ext4 instead of ext3 if you have done it correctly.
[Hero, G2 Touch Android Development] paulobrien:
So.

When upgrading if you have bootloops.

- Remove swapper if you have it installed

- clear your dalvik cache (rm /data/dalvik-cache/*)

and you should be OK.

The version of 2.9 online now definitely has no market issues.

The 30MB has gone because the files aren't ODEX'd by default and therefore dalvik-cache is bigger, but what does it matter? We're not running out of space on data with A2SD are we? Besides, dalvik-cache can always be moved to SD if you REALLY want the space (I prefer keeping it onboard for speed).

There are other benefits to using the un-odex'd core that 2.9 is based on such as much more customisability!

P
[Hero, G2 Touch Android Development] markoc84:
How do you get "Back up for Root Users" to work properly? I tried to use it and it seemed to back up fine, i got the back up files backed up on my pc, but when i went to restore nothing was put back, I was left with everything empty still.
[Hero, G2 Touch Android Development] Branwen:
I cant even install mybackup pro anymore.

Somewhat frustrated.

w/r/t the market, this might be the issue?

"Thanks for your feedback on the market issue. Once any ROM upgrade is issued and signed-off for release it subsequently needs to be authorised on the Android Market Platform, which is currently being undertaken by Google. They will update us as soon as their authorisation has been granted. Once we have this confirmation from Google we will let you know, although at this point we don’t have a firm timeline."

It may be that the new ROM, being unofficial is not authorised on the Market?

From:

http://www.google.com/support/forum/p/Android+Market/thread?tid=53e803b8ca2f3378&hl=en

Huh, so even my last Nandroid restore is not complete. URGH!

Still, back on 2.8 and the market seems to be working alright again.
[Hero, G2 Touch Android Development] dipje:
Overnight, suddenly more (purchased) apps appeared in the Market, in the My Downloads section. So (without flashing or fixing or even rebooting), a whole bunch of new apps came available.

Crystallight Defense Free for example WAS in the Market before, but the paid versionw as gone. Overnight the paid version suddenly came available.

The thing is, I still don't see all the apps!! Neocore for example can't be found, while Armadillo Roll from the same developer is available. Argh :(.

For the rest, if people kinda read the information from the kernel included in the ROM you would know that you had to remove swapper.

And if you (still) get weird reboots or it's stuck in booting, try wiping first.
[Hero, G2 Touch Android Development] GhostSeven:
Question about flashing the radio, I have a UK Hero (On Vodafone) do I need to flash the 63.18.55.06EU_6.35.06.18 (EU one?) or am I ok flashing the latest 63.18.55.06IU_6.35.08.22 one?

Sorry to ask never flashed the radio before and I have no idea if there are different ones for EU/UK/US etc?

Thanks
[Hero, G2 Touch Android Development] Branwen:
IU is fine (on UK T-Mob anyway), I remeber having the same worries when I rooted. And I have no idea what EU/IU stand for, most probably nothing to do with European Union though :)
[Hero, G2 Touch Android Development] GhostSeven:
Thanks for the info, looks like I will give this a bash today then!
[Hero, G2 Touch Android Development] kendong2:
if all the newbies would just wipe and try again there wouldn't be this much whining about bootloops... also i don't really understand why this hasn't been put into the installation instructions, but that is not for me to decide.
[Hero, G2 Touch Android Development] thespeed:
I have updated my phone and had no errors.

Swapper was working fine and no a2sd problems.

I think its a little faster then 2.8.. Thanks Modaco.

ps.. how about the life span of the SD card when you

use the swapper?. Is it really bad for the SD card?,

So that i need to buy a new card over about a year?
[Hero, G2 Touch Android Development] Branwen:
YES PLEASE!

I appoint no blame to you Paul, I love the rom, but i'm getting fed up with not having a reliable back up. Meh.

Anyway, at least our hero is now smoking fast :)

What would be nice would be a way to create a separate set of Nandroid backups which are made every morning at 00:00, and keep say 3 days rolling versions
[Hero, G2 Touch Android Development] danibjor:
I don't understand what some of you guy's are doing so horribly wrong to mess up your installations?

I bought my Hero with the first (slow) firmware. Then found the modaco roms and upgraded/flashed the phone with the custom rom.

Since then, I've been upgrading, without wiping, every time there has been a new release. The phone performance have improved every single time. No stabiliti issues what so ever! And the phone is my every-day work companion.

I'm using Exchange, GPS, WiFi, mobile internet, and several other features/apps on a regular basis. And no issues what so ever! (paid apps in the market is the only thing I haven't tested yet)

And to my big supprise - the phone actually connected to the work wireless network today.. all by itself! - and this WiFi is running from a crappy router with hidden SSID - and we even have trouble getting regular computers on it. Both windows 2k -> Win7 and Linux.

My advise; Follow the rules and you don't get problems.

nandroid backup -> upgrade radio, if any new releases -> upgrade core rom -> boot twise and let the OS settle -> add other enhancements if needed, but boot between each install.

I know both friends and co-workers who run the custom rom - and not one single one of us have problems..

</rant>

just my $00.5
[Hero, G2 Touch Android Development] Neo-Dragon:
Cheers for the latest version. It does feel a bit faster switching between the home screens. It's smoother.

Also, for people wondering, I didn't do a whip, just updated from version 2.8 and everything went fine.

Looking forward to the next release.
[Hero, G2 Touch Android Development] Nemo0815:
I find with 2.9, the camera, album and market apps are horribly slow (market very often gets a "server error" which wasn't there before with 2.8).

Think i'll revert back to 2.8...
[Hero, G2 Touch Android Development] BlueHawk:
How often the swap is written to will determine how long before the sector writes fail (there is a limit to how many times you can write). Using a swap partition limits the damage to a specific area, and since the swap is not more than 32MB usually, you can easily repartition to exclude the worn out area of your SD card when it does die. Anyway, in a year's time, the cost of the SD cards will have come down and they don't cost that much to start with.
[Hero, G2 Touch Android Development] us1111:
1. The same bytes are spread across your SD card, always. This is an algorithm to protect wear on the same area and ensures that no single area has an "hotspot"

2. Why use swap at all on this phone, there is plenty of memory?
[Hero, G2 Touch Android Development] BlueHawk:
Yes. But you write to a sector which holds more than a single byte. Also, wear-leveling is a function of the SD card but only class-6 devices are guaranteed to have wear-leveling. Finally, partition boundaries limit the "write area" since you can't write to a sector outside the partition you are targeting.

Swap is a necessary buffer because there is always going to be some point where physical memory is going to be exhausted and the aim is to ensure there is always some working physical memory for the kernel so it doesn't panic and die. Swap allows the kernel to move off in-memory applications as it feels necessary so it can do other operations. I should add that Teknologist's kernel uses compcache, which creates a swap space in memory for storing compressed kernel pages - so the swap required by the kernel is still there, but stored in RAM itself rather than on the SD - hence the reason for not having Swapper installed (which would then switch the swap space back to the SD card). For those who care, the swap space in the Teknologist kernel is around 80MB. OF course, that subtracts from your RAM. I still run Advanced Task Manager, so my RAM needs are already low in most instances - currently, after about a day of running, I still have no pages swapped out.

In theory, the use of RAM for swap balances out the loss of said RAM from main kernel use as attested to by Teknologist's analysis - http://android.teknologism.org/compcache/. You can also enable ramzswap to have a backing cache on SD by editing the init file for the compcache swap.
[Hero, G2 Touch Android Development] jaredakelly:
will this work for cdma hero?
[Hero, G2 Touch Android Development] BlueHawk:
Unfortunately not AFAIK - I think the hardware implementation is sufficiently different that the kernel doesn't run properly (if at all). :(
[Hero, G2 Touch Android Development] mach2005:
Fully agree.

90% of the flashers have no probs and most of them dont post here.
[Hero, G2 Touch Android Development] xenkato:
Please where can i download Modaco 2.8 rom.

J have searched and could not find it.

It would be very cind if someone give a link

Thanks
[Hero, G2 Touch Android Development] bhellim:
It's on the first page have a look
[Hero, G2 Touch Android Development] tofrost:
hmm, flashed 2.9 with the new radio .. now every app crashes when i press the menu button. And the messages and mail app are also crashing when i do a long push on a message... great... :(

Comming from 2.7.1 with no problems. Any suggestions?
[Hero, G2 Touch Android Development] BlueHawk:
Re-flash starting with the core. Reboot after each re-flash. That fixed it for me.
[Hero, G2 Touch Android Development] tofrost:
re-flashed and now it works. I maybe also have found the reasons for the problems. This time, i did not delete HTC sync, twitter and footprints and i did not applied the clear lockscreen mod from drizzy. Everything seems to run fine now....
[Hero, G2 Touch Android Development] us1111:
I don't think you're correct about the write spreading. Write spreading is completely independent of the filesystem or partition on top of it, that's all software, the hardware does not know anything about that. Every time you logicaly write a block to the same sector/block/partition, the controller will spread this write to another physical area.

Swap for android is not necessary imho.. The process lifecycle is not that of a tradidional linux process. Only application which is comparable is a android service component within an application.

Indeed, Linux would kill processes when lacking memory.. Android will save the context of an inactive process so it will not take up memory.

I wonder what the practical performance gain of comcache with a native android app will be.. Is that in the graphs of teknologist?
[Hero, G2 Touch Android Development] BlueHawk:
I'm not sure that write spreading can be completely independent of the file partitions and the encapsulated file systems (limited by partition boundaries). There is an FTL (Flash Translation Layer) abstraction that separates the simulated C/H/S to the underlying NAND pages. But there is a limitation to all of this. It probably falls somewhere in between but I do know there are certain "bad" arrangements of the mappings that can create hotspots. For example, you could reprogram the C/H/S simulated geometry or set partitions and the contained filesystem in a "bad" way.

As for the performance gain of the compcache? First of all, you really don't want to kill off an application (or so the theory goes) as the subsequent effort to restart it would be much more than just re-awakening it - the kernel would need to create space in memory for it, initialize resources for it and then start it. I suppose the benefit of the compcache would be that the idle processes get moved out of main memory, but then also compacted and put into the swap memory so it has a smaller footprint. Of course, there are some inefficiencies due to the boundary partitioning. But it would be faster than moving to and from flash memory as well as the reduction in wear and energy usage probably (although marginal) - whatever either of these would contribute to flash life and energy use. As I also said, I tend to have Advanced task killer going anyway so I don't usually stretch my memory usage.

I do notice that a lot of apps start up when you boot the phone - Notes, GMail, Mail, Contacts, Calendar, WaveSecure, etc. So there can be quite a lot loaded up by default
[Hero, G2 Touch Android Development] Phil_UK:
Internal Memory Loss

I moved to 2.9 from 2.8....my internal memory usage appears to have jumped from 85M to 107M :eek:

Is this normal??? Are my apps no longer on the SD? How can I tell?

Thanks in advance :)

Phil

Update...Nandroided back to 2.8...Internal memory back down to ~85M.
[Hero, G2 Touch Android Development] thespeed:
Thanks for all the answers about the swapper.

I 'm going to try if i see a lot of difference in using swapper or not.

So i am turning it off and look if my phone is slowing down.

It's much clearer now
[Hero, G2 Touch Android Development] benlc:
Same for me, MoDaCo is starting to take too much space (because hero's internal memory is ridiculous...)

What is taking so much on this patch ?
[Hero, G2 Touch Android Development] shiver78:
Compiled answer from modaco forums:

This ROM doesn't use odex files by default. ODEX files are compiled versions of the java bytecode of the normal apks that usually are stored on the system partition with the system apk. This results in an extra 20-30 MB of space being used up when the equivalent files are instead created by Dalvik in /data/dalvik-cache.

Since we're running Apps2SD we really should not be running out of space on the data partition. If you really want to, you can move the dalvik-cache to SD and take the performance hit.
[Hero, G2 Touch Android Development] kendong2:
taking too much space for what? this is ridiculus, everybody is complaining about internal memory going down, not a single person could answer the question why this should be a problem. as long as the internal memory is not completely full this is imho pretty stale...
[Hero, G2 Touch Android Development] benlc:
Thanks shiver78 for these details, about apps2sd, just waiting my next paycheck for a 16Gb class 6.
[Hero, G2 Touch Android Development] liden:
Hi,

I updated to 2,9 but I can´t mount my SD card anymore. I don´t even get the "mount usb" in scroll down menu.

Tried to format my SD card but it dosen´t help.

Help please!!

BR,
[Hero, G2 Touch Android Development] crypt0night:
Installed 2.9 + wavesecure and everything is working correctly!

Nice work Paul!
[Hero, G2 Touch Android Development] liden:
Even tried to rollback to 2,2 and 2,8 and it did not help.

Tried new SD card and new USB cable and no luck!!
[Hero, G2 Touch Android Development] tisungho:
I've got the same problem here...
[Hero, G2 Touch Android Development] Tibor Gáts:
Call history problem

Yesterday I updated to MoDaCo ROM 2.9. Everything works fine except there are no newer entries in the phone call history. The calls from today are not listed, but all the older previous calls are there.

Anybody had this problem?