yashsingh1/xdaforums huggingface dataset:
[Droid Eris Android Development] bftb0:
That seems consistent with what Decad3nce is saying, although I don't know specifically what Conap might have done for his CM6 builds. He was aware of the problem with his CM5.0.8 builds - a couple of people reported it directly in his dev thread for his (CELB 2.8-CMS5.0.8) ROM, so maybe he took some measures in his CM6 builds.

As for my hypothesis about the libhtc_rild.so vendor library being the source of the problem - I experienced the same problem less than 8 hours after replacing only that library - again, a crash of "rild" was reported exactly at the moment of failure.

At this time, I am running a CM6 ROM with both "rild" and "libhtc_ril.so" replaced by the HTC Eris 2.1 (July 17 OTA) versions of the code to see if the problem will disappear.

bftb0
[Droid Eris Android Development] Conap:
I have had reports of this with my 2.2 rom as well....and this is not just a problem with the eris...other phones have reported it also...specifically someone with an DI running cm6 has the same issue...
[Droid Eris Android Development] Decad3nce:
Take note if you see the linker library crapping out though. Replacing libraries seems kind of iffy if you want to conduct a proper experiment. The best way to go about it would be to compile with those replaced RIL libraries prelinked.
[Droid Eris Android Development] Decad3nce:
Might be bad prelink map :(
[Droid Eris Android Development] Conap:
i'll look at that...

Edit: They don't seem to be prelinked...
[Droid Eris Android Development] hallstevenson:
How did you replace them ? Can you just 'adb push' them to the phone and reboot ?
[Droid Eris Android Development] Decad3nce:
libhtc_ril.so is prelinked.

Ours:

# libraries for specific hardware
libgsl.so 0xA2E00000 # [~1M]
libhtc_acoustic.so 0xA2D00000 # [<64K]
libhtc_ril.so 0xA2C00000 # [~1M]
liblvmxipc.so 0xA2B00000 # [~1M] for vendor/nxp
libreference-cdma-sms.so 0xA2A00000 # [<64K] for hardware/ril
[Droid Eris Android Development] bftb0:
You can do it with the OS running (I did). But, you do need to be careful about file permissions and owner/group ownership on all files you fool around with - "adb push" won't set those correctly. (In particular "rild" seems to have user/group = root/shell, mode 755 on Tazz 2.0). It is probably safest to do it offline (meaning, with Amon_RA booted, using adb and "mount /system").

I think I did something like this (interactively, with the regular OS booted):

adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
adb push libhtc_ril.so /system/lib/libhtc_ril.so.Eris
adb push rild /system/bin/rild.Eris
adb shell
md5sum /system/bin/rild.Eris /system/lib/libhtc_ril.so.Eris [COLOR=grey]( safety check )[/COLOR]
chmod 755 /system/bin/rild.Eris
chgrp shell /system/bin/rild.Eris
chmod 644 /system/lib/libhtc_ril.so.Eris

mv /system/lib/libhtc_ril.so /system/lib/libhtc_ril.so.CM6
cp /system/lib/libhtc_ril.so.Eris /system/lib/libhtc_ril.so

mv /system/bin/rild /system/bin/rild.CM6
cp -p /system/bin/rild.Eris /system/bin/rild

ps | grep rild
kill -HUP <pid of the rild process>

logcat -d [COLOR=grey]( look for any complaints about rild failing ) [/COLOR]
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
reboot

Or something close to that ;)

Note I did it this way so that it would be easy to revert - there seems to be plenty of space in /system with Froyo ROMs

bftb0
[Droid Eris Android Development] bftb0:
I agree with you - I recursively walked through all the dependencies

arm-eabi-objdump -x $obj | grep NEED

and thought, "dlopen() is going to barf immediately", based on all the libraries that potentially get demand-loaded - but it didn't.

Sort of a low cost experiment in the meantime. Too bad we don't know how to force the segfault deterministically - getting any sort of result experimentally takes friggin forever because the incidence of the problem is sporadic. (Anybody want to run rild under strace for several days? - LOL)

I'm trying to keep my eyes on it. (In the meantime, I'll also try to figure out what "prelink map" means)

bftb0
[Droid Eris Android Development] Conap:
Maybe i'm checking the prelink wrong...i am using isprelink. I type ./isprelink libgps.so...it gives me the number. When i do it on the libhtc_ril it says its not prelinked...is there another way to do it?
[Droid Eris Android Development] tjthebest:
bumpitty bump. I really want to figure this out. Any way for me to help.
[Droid Eris Android Development] Decad3nce:
Well, conap and I looked into it.

The first thing we noticed is that, even though libhtc_ril.so is in the prelink.map, it doesn't get linked properly.

One of two things could cause this:

1. The libraries being mapped before it(address wise), exceed their bounds and thusly don't leave enough allocated memory for libhtc_ril.so

Conap and I looked further into this and we noticed that libhtc_acoustic.so ALSO doesn't get mapped correctly, even though it is in the prelink map.

To fix this, we'd have to just simply restructure the prelink map.

2. Now this one would be a bit more tricky, and I think this may be what the cause is.

When the prelink map sets up all the addresses, everything gets mapped correctly. You can tell that it does because everything following libhtc_acoustic.so/libhtc_ril.so gets mapped properly. The thing that MAY be happening is that libhtc_acoustic.so(most likely) or something before it, exceeds its allocated bounds when it's ACTIVE. This is a problem that just about every Froyo compile has faced. Currently, libhtc_acoustic is mapped with \\ libhtc_acoustic.so 0xA2D00000 # [<64K] \\

At less than 64k space. If it exceeds that bound, while active, then it could offset libhtc_ril.so.

I haven't tested any of this, as I don't really mess with the froyo compilation side of things.
[Droid Eris Android Development] Conap:
I went through all the libs in my build and found ten that are not prelinked but are on the prelink map.....

lib/libhtc_acoustic.so: not prelinked

lib/libhtc_ril.so: not prelinked

lib/libjpeg.so: not prelinked

lib/libmm-adspsvc.so: not prelinked

lib/libmm-omxcore.so: not prelinked

lib/libOmxCore.so: not prelinked

lib/libOmxH264Dec.so: not prelinked

lib/libOmxMpeg4Dec.so: not prelinked

lib/libOmxVidEnc.so: not prelinked

lib/libspeech.so: not prelinked

I guess off to google to figure out how to correctly change the prelink map so that these libs get prelinked...
[Droid Eris Android Development] It IS Lupus:
I haven't had any call drop issues other than the normal amount being in the basement surrounded be concrete kills cell reception
[Droid Eris Android Development] darchstar:
you don't prelink them. not every single lib needs to be prelinked fyi, its just to optimize boot time. with that being said, those libs are proprietary, so if u were to indeed prelink them, you'd need source for them and compile them with a specific prelink address.
[Droid Eris Android Development] Decad3nce:
Ahh that fixes the picture. Thanks for the input man.
[Epic 4G General] Kcarpenter:
Anyone else using Juice Defender? I really liked the app on my hero, but it seems like it takes about 45 seconds or so after I unlock the phone for 3G data to resume. Is anyone else noticing this? It was fine on my Hero- possibly because it was so slow it took me longer than 45 seconds to open a program that used data. :confused:
[Epic 4G General] nicknomo:
yep, it appears that I have the same problem, although I normally don't use juicedefender to turn off 3g, just wifi.
[Epic 4G General] Pops_G:
I have the same exact issue and it caused me to cease using it. It did work, I noticed a pretty big increase in battery time. However the aggravation of waiting for data to turn back on was not worth it.

With my life style I always have a USB port or a car charger near me. Its the kind of application I will only enable when I know I will be out and about a lot.
[Epic 4G General] kaokollaa:
I'm using juice and I'm getting 2x more battery life coz the 3g drains the battery even if you not using the phone
[Epic 4G General] ryoung07:
I tried it but for some reason 4g wouldn't work and 3g took forever to enable. I uninstalled it. I'll try it again when the issues get resolved.

Sent from my Epic 4g
[Epic 4G General] pjree:
4G doesn't work, but it only takes around 5 seconds to data to turn on for me when I turn on my screen.
[Epic 4G General] gobmonster:
It does seem a bit slow, but i mainly use juice defender for the 3g widget. Theres no other way to disable mobile networks on this phone and it fustrates me :confused::confused::mad::mad:

Im getting more than a days worth of energy by cutting he mobile internet when not using it.. but id still be happier if juice defender worked faster so i wouldnt have to do it manually
[Epic 4G General] Eazail70x7:
Which part is it slow turning on? For me 3g turns on and off at very decent speeds. No more than about 5 seconds do I have to wait. (For auto data and manual data toggling)
[Epic 4G General] ravizzle:
Takes only about 5 to 10 second too turn back on 3g for me.

Sent from my Epic 4G
[Epic 4G General] mlee0921:
same here.

i'm loving it. i'm getting, on average, 18 hrs per charge. i was getting 9 hrs before. cant wait for more updates
[Epic 4G General] johnnyappleseed:
I love the program, but it is not allowing my e-mail to be checked using the built-in e-mail app. No email notifications is a killer for me, so I actually just uninstalled JD. Even tried the newer beta version with the "sync" option.
[EVO 4G Q&A, Help & Troubleshooting] lowspeed:
How do i reset the calendar and tell it to re-download what's on the server?

Also it's not showing all my calendars. pretty annoying. (Gmail and exchange are not listed in the cal listing but exchange does show up appointments)

Weird.
[EVO 4G Q&A, Help & Troubleshooting] fachadick:
Going to menu, more, refresh from within the calendar app has worked for me in the past. Or I suppose you could go to manage apps in settings and clear the data and cache for calendar, but I've yet to do that one. Possibly account and sync in settings, and resync?

Sent from my blah blah blah blah
[HD2 General] explicitsoundz1984:
Hello there guys. This is my first post on this forum, so please bear with me. I have problem on my device. Basically my htc hd2 was running fine, i had all my programs installed etc. I have created various backups of the phone using sprite backup.

I decided to do a hard reset because the phone never used to go into standby (screen off) when charging, only the backlight used to dim. I checked all the settings and i set the device to dim after 1 min and switch off after 2 mins when connected to external power. It still never switched off, this was turning out to be a nuisence specially when getting missed calls at night and screen staying on.

Therefore i done a hard reset and used sprite backup to restore various backup's as i had a few, but they wernt making the device function correctly. So once the backup file's were restored everything would be fine on the phone untill it went into standby, it then would fail to respond, sometimes the hardware button light up, sometimes nothing. The screen would remain off. I would really like to use the backup files as restoring the phone manually would be teadous. Any clues in what could be causing this, cant be the case off a bad backup as i have created a few.

P.S When hd2 is returned to stock it functions normally. Programs installed battlog, clear temp, bsb tweakes opera 10, opnmarket, skype, spb wireless monitor, coreplayer, srs wowhd 1.5.1.0 v2.1, coreplayer 1.3.6, myplayer, 1NETCFv35.wm.armv4i, 2NETCFv35.Messages.EN.wm, resco explorer + reg editor, cht cookie hometab.

Really appreciate it if you pros can shed any light on this? cheers:)
[HD2 General] Neville.Holland:
do you have s2u2 installed?

if so goto settjng power and switch power of in setting to off.

i had a similar problem, this seemed to cure it

hth

nev
[HD2 General] explicitsoundz1984:
Hi nev, thans for your reply, no i do not have s2u2 installed, also i would like to add that when the device was left overnight on charge, it fails to wake up,the screen stays blank only the hardware buttons light up and shows the orange charging light. Please guys help me out here, thanks
[HD2 General] Neville.Holland:
I'm a little stuck for another solution. I'd always thought that this was an issues with sprite and s2u2, seems no now.

Would you be willing to test? worse case you could un-install S2U2 or disable it.

It would be interesting to see if installing S2U2 and disabling the power option would fix the problem.

Which lock screen do you currently use?

All of the problems you are describing are exactly the same issues I was having.
[HD2 General] explicitsoundz1984:
Hi Nev, so you reckon sprite backup software could be the problem? I have never had S2U2 installed.

I have restored the phone to factory it works as it should. Nev are you suggesting that i install S2U2 after restoring the sprite backup file, then disable the power option?

oh i am using the winmo default lockscreen with device password.

How did you manage to fix your device then? Were you having the same issues when restoring using sprite back up files? If so could you please give me a brief rundown on what i should do?

Seems like this is not a common issue on here judging on lack of replies. Thanks for your help nev.
[HD2 General] Neville.Holland:
I'd give it a go. You have nothing to lose.

S2U2 is an excellent piece of software, amongst other things, it has password protection, and allows you the option of reviewing txt, mail, reminders, etc all from the lockscreen. Additionally, you can set it to allow quick switching between vibrate and sound profiles. ("sales" pitch over)

If your not going down this route I suspect that another hard reset and re-installing you apps from scratch is in order.... I did this about three times before I realised that there was a conflict when restoring from Sprite.

good luck
[HD2 General] p107r0:
your symptoms seem kinda similar to "Leo Screen freeze crash Issue"
[HD2 General] explicitsoundz1984:
Thanks guys for your help, i think i am going to leave it stock for a while and see if the screen plays up. I dont fancy doing all the sofware installs, incase the device is faulty. Thank you that link p107r0
[HD2 General] p107r0:
good luck with yours, btw I used to have the described 'syndrom', hard reset helped, since than I keep most of the old backup copies, assuming that if anything similar happens some of those should work properly
[HD2 General] fast_jan:
Same problem here - SOLVED

Guys,

I very recently faced the same problem that it was virtually impossible to wake up my HD2 from standby after I had to do a restore with Sprite Backup (same problem as reported by explicitsoundz1984).

Since I actually found two solutions to fix the problem permanently, I like to share them with you:

Solution 1) After I removed all non-stock program links from the autostart folder, the problem was still exisiting. Therefore, I checked the list of installed apps from explicitsoundz1984 with mime and found a potential suspect: "srs wowhd" which obviously is buried deeper in the OS. After de-installing "srs wowhd", the standby of death problem was permanently gone!

Solution 2) I read in another threat that the standard restore options of Sprite Backup do not replace the current registry with the backup registry, but tries to "merge" them - this obiously leads to the situation that a full restore from a stable backup set can result in an unstable configuration.

After changing the restore setting for "system settings" to "replace" instead of "merge", the resulting restore was again a stable one.

:):)

Cheers,

Jan
[HD2 General] johnboatcat:
Yes

with Sprite you must use erase and restore. You have to reset these parameters each time you are going to do a restore. It merges by default. If you are going to restore directly from the backup file on the SD then just double click on the file and restore. Then go into Sprite and change the parameters to restore and erase and restore again. The first one directly from the file execute will merge A pain but it works.
[Galaxy S I9000 Android Development] aeo087:
Please post your first impressions of the JPH firmware. A changelog and bugs encountered would also be helpful.

Thanks!
[Galaxy S I9000 Android Development] hacksome:
Exchange email does not send replies properly. The replies goes with just the original content.
[Galaxy S I9000 Android Development] nonreviad:
I'd be curious to know whether the thing that occurred with JPC on sim locked phones is still happening with this firmware - the product code changing and the phone asking for a network code. I really don't want to root my phone and go through the file copying again - I like it nice and stock-y.
[Galaxy S I9000 Android Development] FrezoreR:
If you pinch-zoom in the applications menu this is now smooth =)

edit:

That was only true until I installed apps and had 5 pages of apps :(
[Galaxy S I9000 Android Development] riz157:
First impressions best 2.2 out there at the moment. No lag, very responsive mind you not downloaded many apps at the moment. No market missing apps.
[Galaxy S I9000 Android Development] Jordiharrison:
I find 2.2 is hardly as exciting as what people make it out to be.
[Galaxy S I9000 Android Development] INeedYourHelp:
For someone that uses flash 99% of the time on the web, 2.2 is a gift from God himself.
[Galaxy S I9000 Android Development] cantIntoCode:
Couldn't agree agree any more :)
[Galaxy S I9000 Android Development] RyanZA:
JPH After 3 Hours Review:

Zero issues so far for me. I'm using the APK lagfix. Everything is nice and snappy (with and without the lagfix, although the lagfix seems to makes it better).

GPS seems to get an accurate lock very quickly indoors. (Started up maps, it found the nearest cellphone tower instantly with a 1km radius or something, then found my location perfectly after ~6 seconds. Going to street view once it had my location took my directly outside my house. Not the best GPS test ever, but it worked as well as any other GPS I've ever seen for that simple task.)

Compass seems to be as flaky as ever. This might be a hardware problem with my phone though, since the compass has always been flaky. ;)

Blacks in videos seem as good as ever, and it played a few video files I gave it without issues.

Google market worked without issue, and wifi/hsdpa worked well. No issues with sdcards or anything like that either.

Internet browser is the best I've seen it, with flashing loading and playing smoothly without affecting speed on the rest of the page. Full page engadget with flash ads along the top and right side scrolled very smoothly after loading fully.

Games work the same that they've always worked (zero change, there aren't any games out that tax the GPU yet.)

I'll post a further review after using it for 24 hours or so. :)
[Galaxy S I9000 Android Development] pbruck:
Sorry to disturb your happyness and the overall enthusiasm :(

But.

Similar to JPC there is still an great Problem or Bug.

As JPC, JPH also dont sync tasks and appointments that are created with another app than the built in stock calendar :eek: :eek:

This is (for me, and for everyone who want to use the Galaxy seriously for Buisiness and Task planning) an absolutely bad behaviour.

I use Jorte and at first Quick Addroid for adding and editing Tasks. Because the Stock Calendar is to poor in Functionality and not very comfortable.

So if i add an Task with e.g. Quick Addroid, it appears in Device in all installed Calendar apps but is not synced with Google.

If i then edit and save it in Stock Calendar, then it will be synced.

Maybe, it belongs to changes in the code in Froyo, that ar not compatible with not samsung apps. Maybe the programmers have to fix it in their Software.

But also maybe that it is an Bug and Samsung have to fix this.
[Galaxy S I9000 Android Development] RyanZA:
To be honest, I doubt this is a dealbreaker for 99% of people. ;)

I think it would be classed as a 'minor annoyance'! As far as I know, syncing (google integration in general) has changed a bit in 2.2, so it's probably the app that has to be updated. I could be way off here though.
[Galaxy S I9000 Android Development] dnsp:
Scrolling trough the Touchwiz icons in the menu is very sluggish here. Eclair was way smoother. Is just me?
[Galaxy S I9000 Android Development] trenje:
Nope, it isn't just you. I've done factory reset and it's the same.

I knew it isn't so good when I saw that the boot animation was slow and sluggish.
[Galaxy S I9000 Android Development] pbruck:
Maybe you´r right.

But this is my experience and my oppinion.

So far, so bad.

If this is (and i think so, as you) an problem of the apps, that ar not compatible with Froyo, then i hope they fix it asap.

For me is the proper sync of all Data and tasks absolutely mandatory. And so i have to downgrade (once again) to JM8 :(

Very bad.

Much more because i really appreciate and like the new Functions in Froyo.
[Galaxy S I9000 Android Development] mrwookie6379:
Yep feels sluggish on Touchwiz and even worse on Home replacemant apps such as Launcher Pro and ADW.....sadly! :(
[Galaxy S I9000 Android Development] uberberben:
Is WiFi Router working for you? I just get on H icon in notification bar upload arrow highlighted, download arrow stays gray all the time and theres no connection on PC. On USB tethering i get few pings nicely and then connection is broken for few seconds. I have to try this with other FW, maybe it's my provider fault but maybe you have simmilar problem?
[Galaxy S I9000 Android Development] alexandruvlad:
Well...then , not worth upgrading from JM8 , i guess :)
[Galaxy S I9000 Android Development] uberberben:
Uhhh, theres also problem with compass and calibration. Every phone restart they are changing to default which is bad and compass after reboot always shows that theres wrong magnetic field and it shows wrong directions.
[Galaxy S I9000 Android Development] anzo:
Yes, working WiFi Router. ;)
[Galaxy S I9000 Android Development] dnsp:
Going back to JM7. Samsung engineers and programmers are a bunch of monkeys.

GPS, FM MONO!!!, LAG, SLUGGISH SCROLL, mehhhh

Never had good experiences with Samsung products and support... they only want to sell, get OUR money, and then tell their customers to screw themselves.
[Galaxy S I9000 Android Development] craigyb:
Bluetooth is totally fecked in the release, cannot get the SGS to pair with anything. All previous eclair releases were fine. So if it is a final release and I suspect it ain't then I will have to return the phone as it was sold with bluetooth functional and now it isn't.
[Galaxy S I9000 Android Development] RyanZA:
Full day of use so far with this rom, and no complaints for my usage. Sounds like there are quite a few bugs left though, but to me, they are very far from critical. I'm pretty happy with this release!

Only real issue is the low total ram. I wonder what's up with that.
[Galaxy S I9000 Android Development] spyrale:
how many apps have you installed? how many of them are running in background? are you using any task killer/manager? what flashing procedure have you used? sorry, these are a lot of questions :)
[Galaxy S I9000 Android Development] Fuctifino:
Have you done a factory reset?

Since I did this bluetooth has been fine.
[Galaxy S I9000 Android Development] jjqqww:
Just wondering how exactly do you get the number in "Twice as fast than my sgs with a lagfix applied"? I don't see the dude doing anything apart from flipping the icons, maybe the icons move twice as fast?