SAN FRANCISCO — After an extra round of briefing and hearings, Apple Inc.’s second bid for a permanent injunction against Samsung Electronics Co. ended just like the first—rejection from U.S. District Judge Lucy Koh.

The San Jose federal judge reconsidered Apple’s motion to block its rival’s sales after the U.S. Court of Appeals for the Federal Circuit ruled that she had applied its new “causal nexus” standard for granting an injunction too strictly. But in a 42-page order issued Thursday, Koh found that Apple still had not done enough to show that its patented features drove consumer demand for Samsung’s infringing products.