Solution for error 4000
iphone x update to ios 15.4
problem
stuck in preparing update
itunes updating error 4000
the fix is
display and brightness , auto-lock set to, never
face id & password , turn password off
now update with itunes
done.
after the update you can turn ur password and display auto lock back on as pleases.
iPhone X, iOS 15