Jump to content

[ROM] CM6-clean for development / testing


Guest dr.flo
 Share

Recommended Posts

I'm having a weird problem with Gmail. I need to do some more testing, but this is what I'm seeing.

Gmail seems to by syncing properly; all known email shows up in the list. After sync, I start Gmail and and try to open one email. One of three things happens:

1. I get a blank white email screen that shows for a second or two, and then I'm dumped back to the email list.

2. The email opens as normal, but in a few seconds I'm dumped back to the email list.

3. I get a black screen for a second or two, and then I'm dumped back to the email list.

Can anyone else confirm the Gmail is or isn't working? What did you do to install Gmail/gapps? What version of Gmail are you using?

Link to comment
Share on other sites

I'm having a weird problem with Gmail. I need to do some more testing, but this is what I'm seeing.

Gmail seems to by syncing properly; all known email shows up in the list. After sync, I start Gmail and and try to open one email. One of three things happens:

1. I get a blank white email screen that shows for a second or two, and then I'm dumped back to the email list.

2. The email opens as normal, but in a few seconds I'm dumped back to the email list.

3. I get a black screen for a second or two, and then I'm dumped back to the email list.

Can anyone else confirm the Gmail is or isn't working? What did you do to install Gmail/gapps? What version of Gmail are you using?

Just checked it and the same behaviour.

UPDATE:

uninstalled gmail updates in market, after a FC on activity:conversation it is working for me.

Gaaps: http://wiki.cyanogen...ion#Google_Apps CM6 -

20110501

Edited by hzf
Link to comment
Share on other sites

Just checked it and the same behaviour.

UPDATE:

uninstalled gmail updates in market, after a FC on activity:conversation it is working for me.

Gaaps: http://wiki.cyanogen...ion#Google_Apps CM6 -

20110501

Yeah, I've tried with that Gapps and with "tiny". Same results either way. I also used the gapps I made for my "Basic CM6.1" rom. No help. I also updated Gmail from the Market, but it didn't help.

I've also noticed that the initial "information" box when opening Gmail for the first time, sometimes keeps coming back, even after I clicked OK. So something is definitely not working right with Gmail.

I can't test any more at the moment because I need my Gmail to work. But if dr.flo can figure anything out, I'm very willing to test it some more.

Edited by twrock
Link to comment
Share on other sites

I can't test any more at the moment because I need my Gmail to work. But if dr.flo can figure anything out, I'm very willing to test it some more.

That's bad. I would have thought this has s.th. to do with the gapps version, but since you already tried several, I have no clue.

But I will have CM6-clean built from branch froyo-stable ready this evening. Maybe that build will behave correctly.

Another thing: I noticed that TXG video playback from file manager can be close via back button as expected. Is this a feature of your file manager or did you add another media player to TXG?

Link to comment
Share on other sites

That's bad. I would have thought this has s.th. to do with the gapps version, but since you already tried several, I have no clue.

But I will have CM6-clean built from branch froyo-stable ready this evening. Maybe that build will behave correctly.

Another thing: I noticed that TXG video playback from file manager can be close via back button as expected. Is this a feature of your file manager or did you add another media player to TXG?

IIRC, TXG has a standard media player (at least whatever Tom put in there). I don't recall doing any change on that.

The Gmail thing is strange. I can't even start to think of why that one app is having trouble.

It'd be great if you can get the froyo-stable going for us to test.

Link to comment
Share on other sites

It'd be great if you can get the froyo-stable going for us to test.

will take some hours... actually it's built, but upload already aborted several times. Too much traffic currently. Will try again after sleep :)

Link to comment
Share on other sites

First post is now updated with newer version.

I also played with original CM6.1-Pulse-beta-0.40.zip for comparison. That rom has exactly the same media player behaviour (cannot abort video playback).

But I figured out that you can use Camera.apk of that rom on cm6-clean -> camera hardware button will be working than. Taking pictures won't crash on cm6-clean even with original, unmodified Camera.apk...

(I didn't include this in rom yet, discovered it after uploading)

As this cm6-clean should be a relatively close match to the original port (but of course with cam and wifi fixed), trying the same gapps would maybe help fix GMail issues....?

I did not include the GPS icon workaround in the newer version of the rom. Thats because I still want to find a more clean solution. If I don't find any better way, I will of course enable the workaround again later (it's better than nothing)... For now just ignore GPS icon as usual...

Link to comment
Share on other sites

As this cm6-clean should be a relatively close match to the original port (but of course with cam and wifi fixed), trying the same gapps would maybe help fix GMail issues....?

Many thanks for uploading!

gmail:

gapps from TomG port(except Market) - same behaviour: Activity:Conversation in application Gmail FC - then Inbox appears with Initial Welcome message...

CM gapps - flashed it over above gapps - after sync at least opens the mail but after touching(start to read), Inbox appears with Initial Welcome message...

back to first version while working, will do more tests later..

Edited by hzf
Link to comment
Share on other sites

First post is now updated with newer version.

I also played with original CM6.1-Pulse-beta-0.40.zip for comparison. That rom has exactly the same media player behaviour (cannot abort video playback).

But I figured out that you can use Camera.apk of that rom on cm6-clean -> camera hardware button will be working than. Taking pictures won't crash on cm6-clean even with original, unmodified Camera.apk...

(I didn't include this in rom yet, discovered it after uploading)

As this cm6-clean should be a relatively close match to the original port (but of course with cam and wifi fixed), trying the same gapps would maybe help fix GMail issues....?

I did not include the GPS icon workaround in the newer version of the rom. Thats because I still want to find a more clean solution. If I don't find any better way, I will of course enable the workaround again later (it's better than nothing)... For now just ignore GPS icon as usual...

Great! Thanks. I'll download now and give any feedback I have later.

Edit: One other thing I failed to mention previously was the appearance of ROMManager.apk in /sysytem/app, but it is messed up somehow, and doesn't even show up in my computer's file manager as a valid apk.

Edited by twrock
Link to comment
Share on other sites

Edit: One other thing I failed to mention previously was the appearance of ROMManager.apk in /sysytem/app, but it is messed up somehow, and doesn't even show up in my computer's file manager as a valid apk.

I know. Just delete that file. It's broken because build process wants to download ROMManager.apk from non existing web server. The contents of this file are in effect the error message one would see in a web browser. This could be fixed by telling the build process where a current copy of ROMManager.apk can be downloaded.

Link to comment
Share on other sites

this gmail issue is very strange...

one should test with toms original beta 0.4 rom to see if the issue also exists there. maybe in txg is doesn't happen because of some mods in another place?

Link to comment
Share on other sites

this gmail issue is very strange...

one should test with toms original beta 0.4 rom to see if the issue also exists there. maybe in txg is doesn't happen because of some mods in another place?

i have some work to do but will check it later

Link to comment
Share on other sites

this gmail issue is very strange...

one should test with toms original beta 0.4 rom to see if the issue also exists there. maybe in txg is doesn't happen because of some mods in another place?

:lol: If I did any mods that fixed this, it was truly by accident.

Seriously I don't think that is the issue. TXG is nothing more than my old "Basic CM6.1" rom with Gapps and DT A2SD pre-installed. Adn the Basic CM6.1 was nothing more than Tom's rom with a few tweaks. I was able to install and run Gmail fine back when I first started using Tom's port.

I could be wrong, but I really think it has to be something else.

Link to comment
Share on other sites

:lol: If I did any mods that fixed this, it was truly by accident.

I know... ;) But you also didn't know you somehow fixed the mediaplayer bug. Toms original port has the same broken mediaplayer as cm6-clean.

Link to comment
Share on other sites

I used my phone today for some calls - interesting feature :P

38 mins call w and w/o loudspeaker - 10% of battery gone

85 mins on loudspeakers - 27% - of battery gone

Link to comment
Share on other sites

I used my phone today for some calls - interesting feature :P

38 mins call w and w/o loudspeaker - 10% of battery gone

85 mins on loudspeakers - 27% - of battery gone

Up to know I only used pulse as dev phone, never did a call with it. I can't judge whether this values are normal for the pulse or not...

Link to comment
Share on other sites

Up to know I only used pulse as dev phone, never did a call with it. I can't judge whether this values are normal for the pulse or not...

I can't help judge that either. I haven't got unlimited calling, so 85 minutes on a call is something I've never done. ;)

Link to comment
Share on other sites

:lol: If I did any mods that fixed this, it was truly by accident.

Seriously I don't think that is the issue. TXG is nothing more than my old "Basic CM6.1" rom with Gapps and DT A2SD pre-installed. Adn the Basic CM6.1 was nothing more than Tom's rom with a few tweaks. I was able to install and run Gmail fine back when I first started using Tom's port.

I could be wrong, but I really think it has to be something else.

Basic CM6.1 + gapps - gmail working fine....

Link to comment
Share on other sites

did various tests myself.

Sadly the conclusion for now is that GMail is broken on both builds of cm6-clean, while it works on TomG's original port. This is regardless of gapps version used and it doesn't matter if you do any combination of wipe / clear cache etc....

This will be a major issue to resolve, because it means that parts of the source is obviously broken. I will have to look into the repository for all changes that were commited after 20th oct 2010 (where TomG last built the rom).

Might take quite a while....

Link to comment
Share on other sites

did various tests myself.

Sadly the conclusion for now is that GMail is broken on both builds of cm6-clean, while it works on TomG's original port. This is regardless of gapps version used and it doesn't matter if you do any combination of wipe / clear cache etc....

This will be a major issue to resolve, because it means that parts of the source is obviously broken. I will have to look into the repository for all changes that were commited after 20th oct 2010 (where TomG last built the rom).

Might take quite a while....

may be it makes sense to just recompile the whole version from the same date Tom did his build, but this time without eclair compatibility flags. This with your camera wrapper would make any camera apps working.

Wifi solution is not relevant to particular build.

So this two major annoyances will be solved...

Link to comment
Share on other sites

may be it makes sense to just recompile the whole version from the same date Tom did his build, but this time without eclair compatibility flags. This with your camera wrapper would make any camera apps working.

Wifi solution is not relevant to particular build.

So this two major annoyances will be solved...

Possibly would. But to be honest I don't know how to get sources of all those individual git repositories from a specific date. I think I've already posted I'm totally unfamiliar with that kind of version control. Only have known and used cvs / svn before.

BUT: Contrary to what I expected I already found a quick fix for the GMail problem! Post will follow in a few minutes. So maybe we can avoid the need to compiling older versions of the source.

(But still, if you know how to get such a snapshot, tell me...)

Link to comment
Share on other sites

This fixes the GMail problem for me on rom version 20120206 (20120202 untested, might also work there)

Replace libwebcore.so with this one (origin: update-cm-6.1.0-DS-signed.zip, official CM6.1 release for HTC dream). This effectively reverts just libwebcore to the official CM6.1 release version.

libwebcore from TomG's rom cannot be used on cm6-clean because lib dependencies differ (due to eclair camera hack in TomG's version).

Link to comment
Share on other sites

This fixes the GMail problem for me on rom version 20120206 (20120202 untested, might also work there)

Replace libwebcore.so with this one (origin: update-cm-6.1.0-DS-signed.zip, official CM6.1 release for HTC dream). This effectively reverts just libwebcore to the official CM6.1 release version.

libwebcore from TomG's rom cannot be used on cm6-clean because lib dependencies differ (due to eclair camera hack in TomG's version).

Great news to wake up to! I haven't had a chance to install your latest rom yet, so I'll integrate this fix and test this morning.

Thanks again.

Link to comment
Share on other sites

Yes, I will also confirm that the Gmail problem is fixed. I am continuing to test.

Incidentally, for anyone who wants to test this rom with an updated Gapps, here is a link to the file I am using for myself: http://www.mediafire.com/?9kcqw09aaij4dal

This is a heavily modified and fairly minimalistic gapps. It has a lot of extraneous stuff deleted. But it also has a number of apps added to /data, making the file size a bit larger than some other gapps. Of course you can easily uninstall the /data apps after your first boot.

NOTE: This particular file is designed specifically for installation with this rom. Please do not assume it will work in other situations with other roms. The script file has been heavily edited, so it will not install in the same way that "standard" gapps files will. Also, when installing dr.flo's cm6 roms, you should format /system and do a full wipe before starting. There is no point in reporting bugs if you have not followed those instructions.

Link to comment
Share on other sites

Looks like I need to replace the keymap. This rom seems to have the same problems Tom's did back in the beginning, not responding to hardware buttons when the screen is off. I can't remember all of the edits that needed to be done on Tom's rom, so I hope the one in TXG doesn't cause any problems. I'll post the file after I've found it and tested it.

(Dang, I wish I had a better memory.) :blink:

Edit: The file to replace/edit is /system/usr/keylayout/qwerty.kl

Here is my version of it. I think I've got things working with this. This is not an installable zip.

Note: I was unsuccessful in just installing that one file. After a reboot, none of my hard buttons worked. I rebooted into recovery and wiped cache/Dalvikcache. Still nothing worked. I gave up and rebuilt the rom with that file and reinstalled the rom. That worked. YMMV.

qwerty.kl.zip

Edited by twrock
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.