Sideload twrp backup?

Search This thread

AstralA

Member
Dec 17, 2022
35
6
So ive searched for an answer to this but couldnt find it with google/xda.

I tried to install a custom rom.
My first rom install attempt ever on android
It failed with a signal 11 error
So after lots of trouble shooting trying any "fix" I could find suggested.
I read wiping before a rom install was required.
So I made a twrp backup, placed it on my pc, this is where I messed up and nobody in the countless threads I read said

I deleted the twrp backup on device
Then wiped with twrp, following the era proper directions for device allegedly.
Which was wipe everything but internal storage, also read to format in the many topics I perused.
Then found everything was wiped, including /sdcard, and system/OS

WELL I STILL GOT SIGNAL 11 on rom flash attempt via sideload, since the zip got erased on sd.

I did manage to flash a rom, but wouldnt you know it, its a rom that cant connect to pc through usb.
If I try to push the twrp backup folder, it just says error in cmd while in sideload

Anybody know the proper way to do that? Or is it just a case of murphys law getting a right good laugh at my devices expense.
I did read I could use a micro usb to external storage to mount, but I lack that.
I need to restore twrp because I think I need to pull the vendor directory off device to try to overcome the signal 11 error.

Anyway any advice is appreciated and hopefully can serve others in the future.
Thanks and cheers
 

AstralA

Member
Dec 17, 2022
35
6
Well I dont think the device in question has a stock rom. Or I cant find one at first glance.
I had to roll back the version to unlock bootloader and root.
But that .bin wouldnt help I think.. hmm
Back to the drawing board I guess.
Perks of a decade old device.
 

AstralA

Member
Dec 17, 2022
35
6
Apparently androidmtk.com has stock roms available, but is that site safe to use?
Sorry for my noobiness.

Edit: actually that bin is the stock firmware apparently. I hope at least.
Will try and report back.

Thanks jwoegerbauer

Edit2: that worked flashing the bin. Was able to mount on pc and add the backup back up.
Did have a stumble as without making a backup there wasnt a backups folder. I tried to manually create one, but twrp couldnt see the folder I made.
Not sure if it was the naming. I tried "Backups" but twrp created "BACKUPS"
I just backed up efs since it was smallest to get twrp to make it.

Cool. Now I can backup vendor for rom comparison. Was overstressed for half the day about it, but the solution was simple and right there in front of me.

Thanks again Jwoegerbauer
 
Last edited:

alecxs

Forum Moderator
Staff member
Feb 17, 2016
3,683
5
1,558
gitlab.com
what do you mean "it's a rom that can't connect to pc through usb"?

what do you mean "was able to mount on pc"?

you have backup of old ROM on pc. what do you want to do with?
 
  • Like
Reactions: AstralA

AstralA

Member
Dec 17, 2022
35
6
No worries alecxs
Yeah I was able to sideload a custom rom but that rom had broken/missing usb drivers so mtp on pc failed.
That was before I knew I had the stock rom.
I needed stock rom to be able to restore with twrp in order to pull vendor folder off original device.
(I need vendor folder to try to fix that broken custom rom)

Just me being a noob. Sorry again.
 

alecxs

Forum Moderator
Staff member
Feb 17, 2016
3,683
5
1,558
gitlab.com
you're welcome. just asking for clarity.

you have answered one question, so let me give you hint on guesswork.

you can connect device with usb-debugging from developer options. adb is the recommended way to transfer files. MTP is a faulty implemented Microsoft protocol I wouldn't use for large amount of data (for small files is okay).

Android devices cannot mounted since Android 5.0.1 Lollipop as UMS has been dropped in favour of MTP. /sdcard is no longer separate FAT partition but emulated storage in /data/media.

Bear in mind TWRP backup does not include /data/media so one have to backup pictures manually. this can be done from adb.
Code:
adb pull -a /sdcard

For the same reason you will lose /sdcard every time you format /data.

If you're interested to restore backup to different ROM, you cannot use TWRP. backup of /data can only restored to the exact same ROM.

For restoring backup to different ROM use Migrate.
 
  • Like
Reactions: AstralA

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Re-flash Stock ROM.
    1
    what do you mean "it's a rom that can't connect to pc through usb"?

    what do you mean "was able to mount on pc"?

    you have backup of old ROM on pc. what do you want to do with?
    1
    you're welcome. just asking for clarity.

    you have answered one question, so let me give you hint on guesswork.

    you can connect device with usb-debugging from developer options. adb is the recommended way to transfer files. MTP is a faulty implemented Microsoft protocol I wouldn't use for large amount of data (for small files is okay).

    Android devices cannot mounted since Android 5.0.1 Lollipop as UMS has been dropped in favour of MTP. /sdcard is no longer separate FAT partition but emulated storage in /data/media.

    Bear in mind TWRP backup does not include /data/media so one have to backup pictures manually. this can be done from adb.
    Code:
    adb pull -a /sdcard

    For the same reason you will lose /sdcard every time you format /data.

    If you're interested to restore backup to different ROM, you cannot use TWRP. backup of /data can only restored to the exact same ROM.

    For restoring backup to different ROM use Migrate.