I assume your structure is like this:
You have a camera lens or some other interesting part surrounded by a beveled frame. The interesting part is in my image only dark grey, but I call it Mid part, the bevel area is lighter grey. You want to color the bevel as described in the question, but Mid part must stay as is.
Bevel & Emboss should do it. Here's a test of it:
At first we have BW test background layer, then we have two copies of the problematic shape. One copy has the beveled area and Mid part (= all), the other copy is the Mid part only. You need it because beveling easily affect to the whole shape. Delete the bevel area with a selection or set a layer mask to get the Mid part only.
Apply Bevel & Emboss to the whole shape layer. Find rich enough shading to make the bevel different than both possible backgrounds. I made my own bumpy bevel curve. It unfortunately lightens the Mid part, but we have a copy:
Place the Mid part only version to cover the affected Mid part. Test the looks on both background colors:
ADD: One long time member suggested that you actually want the phone body to be shaded. He has quite often written something that should be noted. So, here's a single Bevel&Emboss setting for both black and white phone bodies: