Jump to content


[ROM] CM6-clean for development / testing

* * * * * 1 votes

220 replies to this topic

#61
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220
the file in cm6 & cm7 is basically what was in stock eclair rom for pulse.

likely cm7 build also need at least focus button as I've already heard complains that hardware camera button does not take pictures (though it does start camera app fine).


#62
dr.flo

dr.flo

    Diehard

  • Members
  • PipPipPipPip
  • 429 posts

View Postpier11, on 08 February 2012 - 12:28 PM, said:

the file in cm6 & cm7 is basically what was in stock eclair rom for pulse.

likely cm7 build also need at least focus button as I've already heard complains that hardware camera button does not take pictures (though it does start camera app fine).
Then we would just need to add the "FOCUS" line to the keymap.

The camera button seems to be tri state (unpressed, half pressed == focus, and pressed == camera button). This explains that depending on autofocus mode, camera button is ignored by camera app. Thats because in certain modes, the app wants 1st to get FOCUS then to get CAMERA. Therefore FOCUS must be contained in keymap.


#63
desalesouche

desalesouche

    Diehard

  • Members
  • PipPipPipPip
  • 471 posts
  • Gender:Male
  • Devices:u8230/u8860

View Postpier11, on 08 February 2012 - 12:28 PM, said:

the file in cm6 & cm7 is basically what was in stock eclair rom for pulse.

likely cm7 build also need at least focus button as I've already heard complains that hardware camera button does not take pictures (though it does start camera app fine).
i changed the key map as suggered   in cm72...it is working...


#64
twrock

twrock

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,588 posts
  • Location:Taiwan
  • Devices:CHT8000 (Huawei U8220)
24 hour report.

After replacing the keymap, updating or replacing a few system apps, and reinstalling with DT Apps2SD and gapps, I have had an extremely stable phone for the past 24 hours. No FC's even with heavy use. 3G, Bluetooth (including BT keyboard), Wifi, camera, gapps and everything else I used have all worked without any problems. I have not done anything with GPS, but dr.flo has already said that bug is still in the rom. Wow, this is feeling like a very nice rom! Thanks for making it available.
No report on battery life yet. I haven't been following my usual usage pattern, so it isn't fair to comment on that yet.
Incidentally, I modfied the build.prop slightly to turn off compcache and set vmsize to 24 (jit was already off). I also am running cachesd, swappy30, and lowmem-moderate, all of which are the usual way I run things on my phone.

dr.flo, I am curious why you chose to remove your GPS patch. Was it really that bad, or just less than perfect? Have you got other ideas for how to fix that?

Want a quicker answer?
  • Use the search function in the right hand column to search this forum or a particular thread.
  • Click on this link to go to "The Ultimate Pulse Owners Guide" and find your answer there.
  • Rom installation problems? Try this link.
(If you aren't willing to do any of that, don't be surprised if you receive a "harsh" answer from someone.)

#65
hzf

hzf

    Regular

  • Members
  • PipPip
  • 57 posts
  • Gender:Male
  • Interests:Installing a Custom ROM:
    1. BACKUP
    2. FACTORY RESET
    (OPTIONAL: FORMAT /BOOT , /SYSTEM )
    3. INSTALL ZIP FROM SD CARD
    (OPTIONAL: INSTALL GAPPS)
  • Devices:Huawei RBM2
I've checked the forum with Browser and the timestamps are in GMT but I am GMT+1, strange.
And I absolutely agree with twrock this is a really nice rom, no problems with it - except the ones I caused :)


Any suggestions I make are just that, suggestions. I am not responsible for what you do to your phone.

#66
dr.flo

dr.flo

    Diehard

  • Members
  • PipPipPipPip
  • 429 posts
I'm glad to hear the rom works stable for you! It also does for me (I'm still using the first version).

View Posttwrock, on 09 February 2012 - 10:33 AM, said:

dr.flo, I am curious why you chose to remove your GPS patch. Was it really that bad, or just less than perfect? Have you got other ideas for how to fix that?

I was not really happy with it. Although the GPS icon goes away, it only does because I send an extra notification from within the java framework. Normally the GPS driver itself should be fixed.
I thought that I would have time to look at the driver and fix the issue there. Thats why I decided to revert the patch in java component of location services.

As a temporary solution, I could add it again if there is demand.

I noticed the following - cited from TomGs original thread:

View PostTom G, on 08 October 2010 - 02:13 PM, said:

0.20 - 10th October 2010
Updated to latest source from git. Now based on Android 2.2.1 (FRG83)
GPS problem fixed.
...

0.10
Reboots if GPS is turned off then back on.
...

The version 0.10 GPS drivers are compiled from source in CM6. The GPS icon completely functions as expected there. But the device reboots as stated when toggeling GPS - this behavior can be reproduced on my roms when building the GPS driver from source.

The version 0.20 (and above, including TXG, and currently cm6-clean) GPS drivers were taken from eclair. They work, do not crash, but they do not interact correctly with the framework regarding GPS icon update.

It would be better to fix the reboot issues with GPS drivers included in CM6 - this would give fully working GPS without any hacks in java components of the framework.

Edited by dr.flo, 09 February 2012 - 03:07 PM.


#67
pier11

pier11

    Addict

  • Members
  • PipPipPipPipPip
  • 883 posts
  • Gender:Male
  • Location:New York, USA
  • Devices:T-Mobile Pulse U8220
how gps is functioning(?) on cm7? May be worth to look there...


#68
dr.flo

dr.flo

    Diehard

  • Members
  • PipPipPipPip
  • 429 posts

View Postpier11, on 09 February 2012 - 03:38 PM, said:

how gps is functioning(?) on cm7? May be worth to look there...

from source and as far as I know without issues.
But api has changed a lot, many files differ completely :(


#69
twrock

twrock

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,588 posts
  • Location:Taiwan
  • Devices:CHT8000 (Huawei U8220)
My first "seriously" bad thing happened today with this rom.

I was unable to accept an incoming call, and I let it just quit ringing. 15 minutes later I tried to return the call. There was no sound on my end of the call, no ringing, and no voice from the other person after they picked up. I verified my phone's sound was on (it was). I hung up, called back again, and it happened the same. They could hear me (verified later), but I could not hear anything. I rebooted, and was able to place the call normally.

I suppose I should attempt to reproduce the problem, but maybe it was just one-off.

Want a quicker answer?
  • Use the search function in the right hand column to search this forum or a particular thread.
  • Click on this link to go to "The Ultimate Pulse Owners Guide" and find your answer there.
  • Rom installation problems? Try this link.
(If you aren't willing to do any of that, don't be surprised if you receive a "harsh" answer from someone.)

#70
dr.flo

dr.flo

    Diehard

  • Members
  • PipPipPipPip
  • 429 posts

View Posttwrock, on 12 February 2012 - 07:08 AM, said:

My first "seriously" bad thing happened today with this rom.

Did something like that ever happen with original TomG port? Maybe some build.prop setting can fix it...?


#71
jace7

jace7

    Newbie

  • Members
  • Pip
  • 7 posts
  • Devices:pulse

View Posttwrock, on 12 February 2012 - 07:08 AM, said:

My first "seriously" bad thing happened today with this rom.

I was unable to accept an incoming call, and I let it just quit ringing. 15 minutes later I tried to return the call. There was no sound on my end of the call, no ringing, and no voice from the other person after they picked up. I verified my phone's sound was on (it was). I hung up, called back again, and it happened the same. They could hear me (verified later), but I could not hear anything. I rebooted, and was able to place the call normally.

I suppose I should attempt to reproduce the problem, but maybe it was just one-off.

Hi TWROCK , I have experienced the same problem a couple of times with your TXG06 rom , had to reboot to get the phone working again . Just updated to TXG07 , no probs yet . Thanks to all you guys for the great work


#72
twrock

twrock

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,588 posts
  • Location:Taiwan
  • Devices:CHT8000 (Huawei U8220)

View Postdr.flo, on 12 February 2012 - 08:33 AM, said:

Did something like that ever happen with original TomG port? Maybe some build.prop setting can fix it...?

I haven't, but Jace7 definitely did with TXG. So it looks like it isn't specific to this rom, but it has happened to at least two of us.
I will go back and delete any changes I made to the build.prop of this rom and try running it for a while again. Maybe I can test that particular sequence of events both before and after I modify the build.prop.

Want a quicker answer?
  • Use the search function in the right hand column to search this forum or a particular thread.
  • Click on this link to go to "The Ultimate Pulse Owners Guide" and find your answer there.
  • Rom installation problems? Try this link.
(If you aren't willing to do any of that, don't be surprised if you receive a "harsh" answer from someone.)

#73
dr.flo

dr.flo

    Diehard

  • Members
  • PipPipPipPip
  • 429 posts

View Posttwrock, on 13 February 2012 - 03:53 AM, said:

I haven't, but Jace7 definitely did with TXG. So it looks like it isn't specific to this rom, but it has happened to at least two of us.
I will go back and delete any changes I made to the build.prop of this rom and try running it for a while again. Maybe I can test that particular sequence of events both before and after I modify the build.prop.

Might also be interesting to see if it happens on the newer froyo branch (instead of froyo-stable). Maybe the issue got fixed there...?


#74
dr.flo

dr.flo

    Diehard

  • Members
  • PipPipPipPip
  • 429 posts
You may want to try this libloc_api.so
It is a candidate for fixing gps icon bug within gps driver itself. Should work on TXG as well. Since this originates from the gps driver that previously caused reboots when switching gps off/on, we also should verify that we do not introduce this "old" bug again.

Edited by dr.flo, 13 February 2012 - 09:02 PM.


#75
didije

didije

    Regular

  • Members
  • PipPip
  • 56 posts
  • Devices:t mobile pulse

View Postdr.flo, on 13 February 2012 - 08:59 PM, said:

You may want to try this libloc_api.so
It is a candidate for fixing gps icon bug within gps driver itself. Should work on TXG as well. Since this originates from the gps driver that previously caused reboots when switching gps off/on, we also should verify that we do not introduce this "old" bug again.
verified. works great on TXG as well


#76
twrock

twrock

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,588 posts
  • Location:Taiwan
  • Devices:CHT8000 (Huawei U8220)

View Postdr.flo, on 13 February 2012 - 08:59 PM, said:

You may want to try this libloc_api.so
It is a candidate for fixing gps icon bug within gps driver itself. Should work on TXG as well. Since this originates from the gps driver that previously caused reboots when switching gps off/on, we also should verify that we do not introduce this "old" bug again.

Excellent! I'm using it in this rom (Stable). So far so good.
Looks like yet another bug has met its match. Great work!

I'm still working on trying to reproduce the loss of sound when making a call. So far, nothing to report.

Edited by twrock, 15 February 2012 - 04:14 AM.

Want a quicker answer?
  • Use the search function in the right hand column to search this forum or a particular thread.
  • Click on this link to go to "The Ultimate Pulse Owners Guide" and find your answer there.
  • Rom installation problems? Try this link.
(If you aren't willing to do any of that, don't be surprised if you receive a "harsh" answer from someone.)

#77
mustafa_ale

mustafa_ale

    Newbie

  • Members
  • Pip
  • 29 posts
  • Devices:MOTO Q8
Dr. flo
How to make front camera available in this ROM?
i just tried replace *.camera libs UM840 to this ROM, and replaced camera.apk into system, adding text into build.prop :

ro.config.hwcameraset=2
ro.config.hwfeature_slavecamera=yes


there's  menu front camera avaliable but crash when to switch on

Edited by mustafa_ale, 15 February 2012 - 07:59 AM.


#78
dr.flo

dr.flo

    Diehard

  • Members
  • PipPipPipPip
  • 429 posts

View Postmustafa_ale, on 15 February 2012 - 07:57 AM, said:

Dr. flo
How to make front camera available in this ROM?
i just tried replace *.camera libs UM840 to this ROM, and replaced camera.apk into system, adding text into build.prop :

ro.config.hwcameraset=2
ro.config.hwfeature_slavecamera=yes


there's  menu front camera avaliable but crash when to switch on

I tried that long ago - see here. It is not possible unless you find out what other files need to be replaced. It seems to miss classes inside java framework. Those cannot be exchanged as far as I know (because it is not a simple .so file - it is inside android framework itself).

You can access the front camera in cm6 using adb shell with that trick. This would have to be done every time you switch cameras. One could write shell scripts to automate this task. There is a market app that allows you to execute shell scrips with a few clicks on the UI, so once this is set up, it would be a relatively simple solution.

Edited by dr.flo, 15 February 2012 - 08:17 AM.


#79
mustafa_ale

mustafa_ale

    Newbie

  • Members
  • Pip
  • 29 posts
  • Devices:MOTO Q8

View Postdr.flo, on 15 February 2012 - 08:10 AM, said:

I tried that long ago - see here. It is not possible unless you find out what other files need to be replaced. It seems to miss classes inside java framework. Those cannot be exchanged as far as I know (because it is not a simple .so file - it is inside android framework itself).

You can access the front camera in cm6 using adb shell with that trick. This would have to be done every time you switch cameras. One could write shell scripts to automate this task. There is a market app that allows you to execute shell scrips with a few clicks on the UI, so once this is set up, it would be a relatively simple solution.

sorry,   i did not read in detail the prev posting :D


#80
twrock

twrock

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,588 posts
  • Location:Taiwan
  • Devices:CHT8000 (Huawei U8220)
Dr.flo, any possibility of getting the front camera working in this rom as well?

Want a quicker answer?
  • Use the search function in the right hand column to search this forum or a particular thread.
  • Click on this link to go to "The Ultimate Pulse Owners Guide" and find your answer there.
  • Rom installation problems? Try this link.
(If you aren't willing to do any of that, don't be surprised if you receive a "harsh" answer from someone.)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users