If you lost data from your android phone, the first thing, check out the backup, whether you have synced the data to Gmail account, or saved on your pc. Then, you should never add more data to your phone after data loss, cuz they can take up more space, the lost data will be overwritten. Last thing, you can try recovery methods, you can also try professional data recovery programs: samsung galaxy data recovery
iphone passcode unlock. You can remove the passcode by restoring your device from iTunes or Find My iPhone if you've turned it on before. The catch here is that you will lose your data by following the above method, so you should be aware of that.