I finally turned the bike upside down, adjusted the cable slack and derailleur while manually pedaling, going through the gears and managed to get it...