NOVELTY - A method (100; 100a; 100b; 100c) for manufacturing a solar cell comprises creating (103) by diffusion of a dopant of the first conductivity type a first conductivity-type doped layer (2c); removing (105; 104a) the first conductivity-type doped layer from the textured front surface by an etching process; and creating (106) a layer (6) of a second conductivity type on the textured front surface by diffusion of a dopant of the second conductivity type into the textured front surface.    USE - The method is used for manufacturing a solar cell from a semiconductor substrate (claimed).    ADVANTAGE - The method is used for manufacturing the solar cell with p- or n-type base. The method is an enhanced manufacturing with less variation between individual solar cells: A parasitic doping (either p-type or n-type) from one surface of the silicon substrate to another surface, especially from the BSF side to the emitter side, is prevented in an easy way by the method. A screen printing step is omitted which reduces yield loss due to breakage. Two-sided diffusion of phosphorus in both front and back surfaces allows an improved gettering of impurities from the silicon substrate.    DETAILED DESCRIPTION - A method (100; 100a; 100b; 100c) for manufacturing a solar cell from a semiconductor substrate (1) of a first conductivity type, the semiconductor substrate having a front surface (2) and a back surface (3), the method comprises texturing (102) the front surface to create a textured front surface (2a); creating (103) by diffusion of a dopant of the first conductivity type a first conductivity-type doped layer (2c) in the textured front surface and a back surface field (BSF) layer (4) of the first conductivity type in the back surface; removing (105; 104a) the first conductivity-type doped layer from the textured front surface by an etching process adapted for retaining texture of the textured front surface; and creating (106) a layer (6) of a second conductivity type on the textured front surface by diffusion of a dopant of the second conductivity type into the textured front surface. An INDEPENDENT CLAIM is a solar cell comprising a semiconductor substrate of a first conductivity type having a textured front surface and a back surface, where the textured front surface comprises a second conductivity-type doped layer, where the back surface comprises a surface field layer of the first conductivity type.    DESCRIPTION OF DRAWING(S) - The drawing shows a flow chart of a method for manufacturing a solar cell.    Semiconductor substrate (101)    Texturing (102)    Creating (103)    Removing (104)    Removing (105)    Creating (106)    Etching (107)