Special police teams analysed CCTV camera footage and mobile phone signals, before tracing the boy at a hideout in Bengaluru