The disclosed processes can be effective for treating various materials comprising several different metals. These materials can be leached with HCl for obtaining a leachate and a solid. Then, they can be separated from one another and a first metal can be isolated from the leachate. Then, a second metal can further be isolated from the leachate. The first and second metals can each be substantially selectively isolated from the leachate. This can be done by controlling the temperature of the leachate, adjusting pH, further reacting the leachate with HCl, etc. The metals that can be recovered in the form of metal chlorides can eventually be converted into the corresponding metal oxides, thereby allowing for recovering HCl. The various metals can be chosen from aluminum, iron, zinc, copper, gold, silver, molybdenum, cobalt, magnesium, lithium, manganese, nickel, palladium, platinum, thorium, phosphorus, uranium, titanium, rare earth element and rare metals.