[Q] Multipart Archive File - General Questions and Answers

I would like to create a .ZIP file of a large folder of files (~6 GB). In order to meet the upload requirements of a cloud service I use, the largest a single file can be is 1 GB. So, I need to create a multipart .ZIP file with each part being say, 512 MB.
I have found a few apps that say they can do this. The other requirement I have is that the process has to be either scriptable or automated in some way. That part I can't seem to figure out how to accomplish.
I have Tasker and I'm rooted so I hope there is a way to do this.
Thanks for any pointers, links, app suggestions, etc.

SJMarty said:
I would like to create a .ZIP file of a large folder of files (~6 GB). In order to meet the upload requirements of a cloud service I use, the largest a single file can be is 1 GB. So, I need to create a multipart .ZIP file with each part being say, 512 MB.
I have found a few apps that say they can do this. The other requirement I have is that the process has to be either scriptable or automated in some way. That part I can't seem to figure out how to accomplish.
I have Tasker and I'm rooted so I hope there is a way to do this.
Thanks for any pointers, links, app suggestions, etc.
Click to expand...
Click to collapse
Search RAR in the play store. It might do what you want. Unfortunately it can only be in the .rar format.
Edit: link here
Sent from a Nameless fellow licking Lollipop.
Singaporean Oppo Find 7a
Click that "Thanks" button if I helped you!

SJMarty said:
I would like to create a .ZIP file of a large folder of files (~6 GB). In order to meet the upload requirements of a cloud service I use, the largest a single file can be is 1 GB. So, I need to create a multipart .ZIP file with each part being say, 512 MB.
I have found a few apps that say they can do this. The other requirement I have is that the process has to be either scriptable or automated in some way. That part I can't seem to figure out how to accomplish.
I have Tasker and I'm rooted so I hope there is a way to do this.
Thanks for any pointers, links, app suggestions, etc.
Click to expand...
Click to collapse
Use WinRAR software to create a multipart RAR file and also choose self-extract option while creating part.
There will be one of all parts which is used to extract all parts automatically but you have to place all parts in same folder for extraction.
Then upload each part into cloud .

Irwenzhao said:
Search RAR in the play store. It might do what you want. Unfortunately it can only be in the .rar format.
Edit: link here
Click to expand...
Click to collapse
An .RAR is fine...I should have mentioned that it doesn't have to be a .ZIP.
I do see that this app will create a multipart .RAR but I don't see how to do this in an automated fashion...?

dkchalotra said:
Use WinRAR software to create a multipart RAR file and also choose self-extract option while creating part.
There will be one of all parts which is used to extract all parts automatically but you have to place all parts in same folder for extraction.
Then upload each part into cloud .
Click to expand...
Click to collapse
Unfortunately, WinRAR isn't going to help. I need to run the archive operation on the phone.

SJMarty said:
An .RAR is fine...I should have mentioned that it doesn't have to be a .ZIP.
I do see that this app will create a multipart .RAR but I don't see how to do this in an automated fashion...?
Click to expand...
Click to collapse
When you choose a file/folder, under Advanced Options, type in the size of a single part, then click OK. It's automated (unless I'm mistaken on your meaning of automated)
Sent from a Nameless fellow licking Lollipop.
Singaporean Oppo Find 7a
Click that "Thanks" button if I helped you!

Irwenzhao said:
When you choose a file/folder, under Advanced Options, type in the size of a single part, then click OK. It's automated (unless I'm mistaken on your meaning of automated)
Click to expand...
Click to collapse
I have a Tasker profile that creates a TWRP Nandroid backup using Online Nandroid Backup. Then, I'm using FolderSync to upload the backup to one of the cloud services. Since the service I'm using has a 1 GB single file size limit, the upload fails.
So, what I need is a shell script (or Tasker plug-in) that can combine all of the files in the TWRP Nandroid into a multipart archive. I have to be able to add the shell script/plug-in to the tasks for this profile. I would insert it in between the Nandroid backup and the cloud sync.
HTH clear it up a bit.

SJMarty said:
I have a Tasker profile that creates a TWRP Nandroid backup using Online Nandroid Backup. Then, I'm using FolderSync to upload the backup to one of the cloud services. Since the service I'm using has a 1 GB single file size limit, the upload fails.
So, what I need is a shell script (or Tasker plug-in) that can combine all of the files in the TWRP Nandroid into a multipart archive. I have to be able to add the shell script/plug-in to the tasks for this profile. I would insert it in between the Nandroid backup and the cloud sync.
HTH clear it up a bit.
Click to expand...
Click to collapse
Ahh, I see. I don't really use Tasker, so you'll have to figure out that part on your own. Sorry.
Sent from a Nameless fellow licking Lollipop.
Singaporean Oppo Find 7a
Click that "Thanks" button if I helped you!

Related

expand a nandroid img file

for those who do not know how to do this yet, follow directions given here.
Just took this info from the web. None of this except for the guide is written by me.
I am not responsible for anything please do not contact me if a green sludge starts attacking your neighborhood eating one person at a time.
************************************************************
************************************************************
************************************************************
http://code.google.com/p/unyaffs/downloads/list
made for linux, but if you know a bit of c, you can probably change it to work with windows, maybe I will do that if I have some time this week.
********OR********
http://jiggawatt.org/badc0de/android/unyaffs-x86-win.zip
or http://www.4shared.com/get/fgryPnPx/unyaffs-windows.html
for windows..... instructions below apply for both
if not included in the zips above, cygwin1.dll and unyaffs.exe are included as an attachment of this reply.
open up a command line, in windows vista/7 just press start and then type cmd press enter and change the directory to the folder with the unyaffs and the img in it. in xp press start>run>cmd... then the same
the usage is: unyaffs /path/to/img
example:
(if unyaffs.exe and system.img are both in c:\temp)
"c:\temp> unyaffs /temp/system.img"
note: the '/' is the way linux determines the pathname of a file and since it is built using cygwin(a file allowing for windows) it is preferrable that the path to the actual file is in unix POSIX format ie: / instead of \ between folders and files.
*********WARNING************
this will extract to directory that unyaffs binary is in.
That's so weird -- I was gonna post the same thing tonight. Thx for writing this up. It's odd that more people don't talk or ask about this tool!
I remember reading this stuff back when I got my G1, and tonight I was trolling the themes and apps section cause I couldnt sleep. (which I rarely look at)
I was baffled that this wasnt common knowledge. I figured if there was no threads about it that people just knew how and didnt have any problems with it. My mistake lol...
enjoy.
can you please explain what is it? what it does? thanks
ericizzy1 said:
can you please explain what is it? what it does? thanks
Click to expand...
Click to collapse
Umm, it expands nandroid img files not sure how else to explain it. Clockworkmod backups are in the img file format. This process allows you to extract those files to get stuff out of them
Sent from my SPH-D700 using XDA App
When you create a backup in Clockwork recovery, it leaves you with a folder like this:
2010-11-18.08.52.49
As you can prob figure out, I made that backup on 11/18 at 8:52am
Inside that folder are .img files, such as: data.img and system.img
Those files basically contain your data (like apps you've installed from market) and system (..system apps that might've come with the phone).
In the orig post, he's explaining how to extract the files from these large .img files.
To give an example, I had a couple of corrupted clockwork backups, and wanted to ONLY pull out some database files (like text messages and call logs) which were not corrupted. Even tho the backup was messed up, I could still extract the files I needed by using the method above, then copied them manually to my phone.
decalex said:
When you create a backup in Clockwork recovery, it leaves you with a folder like this:
2010-11-18.08.52.49
As you can prob figure out, I made that backup on 11/18 at 8:52am
Inside that folder are .img files, such as: data.img and system.img
Those files basically contain your data (like apps you've installed from market) and system (..system apps that might've come with the phone).
In the orig post, he's explaining how to extract the files from these large .img files.
To give an example, I had a couple of corrupted clockwork backups, and wanted to ONLY pull out some database files (like text messages and call logs) which were not corrupted. Even tho the backup was messed up, I could still extract the files I needed by using the method above, then copied them manually to my phone.
Click to expand...
Click to collapse
thx
Sent from my SPH-D700 using XDA App
smeyerhuky said:
Umm, it expands nandroid img files not sure how else to explain it. Clockworkmod backups are in the img file format. This process allows you to extract those files to get stuff out of them
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Right, like if you wanted a file or a few files from clockworkmod img backup, then this process would give you an extended file system, other than what you would normally use to extract the img files. Just trying to understand this so, please correct me if im wrong.... I've been trying to get more knowledge of this, so im still learning.
I prolly sound like a complete idiot, lol...
Sweet! Thanks for this man. I'd been looking for how to do this for some time and kept ending up learning about emulation or some other tangential topic. This is the basic functionality I was looking for. Thanks for posting!
Np. I'm working on writing some stuff on top of the source code that should allow you to browse and pull just one our more file
Its been a but since I looked theory source code so it might take a while... Maybe in between semesters?
Sent from my SPH-D700 using XDA App
Dode you saved my as** thx big thx
Great, now how can I re-compress back to .img after I've made the changes that I want?
EDIT: Nevermind. I just made a zip of the new system folder and flashed it in CWM.
This worked great for me.
Thanks,
Bud
Man, I do not know how to thank you. I was able to recover some important stuff off of my cwm recovery backup. THANKS!!

[Q] How to extract xap file?

I've downloaded the lil'messeger free app from the marketplace and it has been since removed from the marketplace. Is there anyway I can extract the xap file so that when nodo comes i can reinstalled the app?
you shouldn't lose any apps or data when you upgrade
yeah but is there a way to extract the xap? i want to keep a backup copy just in case
Rename it to .zip, and extract it.
ale07 said:
Rename it to .zip, and extract it.
Click to expand...
Click to collapse
Thanks but no thanks. You completely missed the point.
What i wanted to do was to extract the xap file FROM my wp7.
info5i2002 said:
Thanks but no thanks. You completely missed the point.
What i wanted to do was to extract the xap file FROM my wp7.
Click to expand...
Click to collapse
Use Advanced Explorer. Go into "My Device/Applications/Install/" and open every folder and take a look at the " backround.jpg" until you find the icon of your app. Then send every file in the folder to your pc.
Then pack it as a .zip and rename it as a .xap .
Elerador said:
Use Advanced Explorer. Go into "My Device/Applications/Install/" and open every folder and take a look at the " backround.jpg" until you find the icon of your app. Then send every file in the folder to your pc.
Then pack it as a .zip and rename it as a .xap .
Click to expand...
Click to collapse
Thanks that is much better. But however, I have forgotten to mention that i am using an Omnia 7.
info5i2002 said:
Thanks but no thanks. You completely missed the point.
Click to expand...
Click to collapse
You have missed the point. This is the development and hacking section.
eried said:
You have missed the point. This is the development and hacking section.
Click to expand...
Click to collapse
I.e. a place to work on how to extract xaps from omnia 7.
A) There are forums for device-specific questions.
B) There are forums for general (non-development) questions.
C) There are tools for filesystem access that should work on the Omnia 7 (I don't have one; I can't test). The instructions are the same, though the app and exact steps are different. Also, Advanced Explorer has experimental support for Samsung devices now.

Possible to download files on device?

Is it possible to download files (RAR) on the device using internet and transfer it later to the PC? I don't think its possible in stock ROM but perhaps an App or something.
My device is Dev+Interop unlocked.
if you find where ie9 stores temporary downloaded file, like pdf, mp4 ecc ecc, i can tell you how to complete the download, and, once completed, tranfer the file to the pc...
It's very possible (download any file that fits to handset's isolated storage file from your homebrew app, and transfer that file to PC using ISETool.exe) but why not use cloud file storage such as SkyDrive, DropBox etc.? If you have no experience with DropBox, click on link in my signature; it's very simple and useful
davide136 said:
if you find where ie9 stores temporary downloaded file, like pdf, mp4 ecc ecc, i can tell you how to complete the download, and, once completed, tranfer the file to the pc...
Click to expand...
Click to collapse
I think I can find it. Will I be able to save files like RAR too?
It's very possible (download any file that fits to handset's isolated storage file from your homebrew app, and transfer that file to PC using ISETool.exe) but why not use cloud file storage such as SkyDrive, DropBox etc.? If you have no experience with DropBox, click on link in my signature; it's very simple and useful
Click to expand...
Click to collapse
I think I would then have to transfer twice.
lamborg said:
Is it possible to download files (RAR) on the device using internet and transfer it later to the PC? I don't think its possible in stock ROM but perhaps an App or something.
My device is Dev+Interop unlocked.
Click to expand...
Click to collapse
Yes it is possible to download files. I do it with ultrashot's Opera Mobile port which allows you to select the location of the downloaded files and transfer it using Gooddaytodie's Webserver
Opera Mobile requires full-unlock, so that's not an option for the OP.
Downloaded files typically go to \Application Data\Volatile\<SUBFOLDER> where <SUBFOLDER> depends on where and how they were downloaded (IE, email attachment, etc.).
If you look at the source for my XapHandler app, you'll see how an app can register a filetype. You'd need to do this, or the phone will simply refuse to download extensions that it doesn't recognize (hmm... I wonder if a .* handler would work?)
GoodDayToDie said:
Opera Mobile requires full-unlock, so that's not an option for the OP.
Downloaded files typically go to \Application Data\Volatile\<SUBFOLDER> where <SUBFOLDER> depends on where and how they were downloaded (IE, email attachment, etc.).
If you look at the source for my XapHandler app, you'll see how an app can register a filetype. You'd need to do this, or the phone will simply refuse to download extensions that it doesn't recognize (hmm... I wonder if a .* handler would work?)
Click to expand...
Click to collapse
If Opera Mobile can do, then perhaps some other browser can do that too? Metro internet explorer doesn't work
All the browsers that are based on the IE engine will be unable to do it until the necessary registry keys in HKCR are created. An app can manually download from a URI and save the resulting file, but in the WebBrowserControl if the user clicks a link to a file the handling for what to do with the file is the same as on IE.
GoodDayToDie said:
All the browsers that are based on the IE engine will be unable to do it until the necessary registry keys in HKCR are created. An app can manually download from a URI and save the resulting file, but in the WebBrowserControl if the user clicks a link to a file the handling for what to do with the file is the same as on IE.
Click to expand...
Click to collapse
yes I can see why it doesn't work. So, does an app like that exists in the MP?
lamborg said:
yes I can see why it doesn't work. So, does an app like that exists in the MP?
Click to expand...
Click to collapse
No. And nobody here not even meant marketplace. Interop-unlock + homebrew only.
BTW, could you share with us your scenario: why do you need to download rar archive to the phone and transfer to the PC? I still can't achieve why do you need things like this.
sensboston said:
No. And nobody here not even meant marketplace. Interop-unlock + homebrew only.
BTW, could you share with us your scenario: why do you need to download rar archive to the phone and transfer to the PC? I still can't achieve why do you need things like this.
Click to expand...
Click to collapse
well the thing is, sometimes I need to download files which may take a while to download completely. So, I can download on the go with the cellular data and then transfer to PC when home. Sometimes the file download is completed in the time same as reaching from work to home.
ok, i'll solve the mistere the only thing u need to do is to add a reg key in hkcr , it will be called .rar for rar files etc...then insisde it u create a string that names Default, the value is rarfile
u go back to hkcr, and create a key that is called rarfile, inside it u will create a dword named EditFlags and with the value of 65536
that's all, now you need to know where ie9 stores data...
davide136 said:
ok, i'll solve the mistere the only thing u need to do is to add a reg key in hkcr , it will be called .rar for rar files etc...then insisde it u create a string that names Default, the value is rarfile
u go back to hkcr, and create a key that is called rarfile, inside it u will create a dword named EditFlags and with the value of 65536
that's all, now you need to know where ie9 stores data...
Click to expand...
Click to collapse
I don't know if it'll work or not but can you guide the how-to. I can edit the reg-edit using MFG. It has following options:
Root Path
Sub Path
Input key and type
Input data
Just confirming as incorrect reg edit can render unstable.
lamborg said:
So, I can download on the go with the cellular data and then transfer to PC when home.
Click to expand...
Click to collapse
Oh, I see... Seems like India still have a "last mile" problem and your cell connection is more reliable and faster than home internet. For countries with fast broadband home internet connection this "feature" just have no sense.
lamborg said:
I don't know if it'll work or not but can you guide the how-to. I can edit the reg-edit using MFG. It has following options:
Root Path
Sub Path
Input key and type
Input data
Just confirming as incorrect reg edit can render unstable.
Click to expand...
Click to collapse
ok, this is what you have to do:
-open mfg, engineer menu, other settings, edit registry
root path: HKEY_CLASSES_ROOT
input sub path: .rar
input key: default (string)
input data: rarfile
SET
-without closing
root path: HKEY_CLASSES_ROOT
input sub path: rarfile
input key: EditFlags (dword)
input data: 65536
SET
pay attention at the caps...sry for bad eng...

[Q] joining TWRP backup files

I recently did a backup using TWRP (v.2.8.1.0) and now have multiple files (data.ext4.win000, data.ext4.win001, data.ext4.win002 etc).
Can anyone please help by proving information on how to easily merge these files together in Windows 7?
Ultimately I would like to be able to view these using 7-zip.
Thanks!
toggly said:
I recently did a backup using TWRP (v.2.8.1.0) and now have multiple files (data.ext4.win000, data.ext4.win001, data.ext4.win002 etc).
Can anyone please help by proving information on how to easily merge these files together in Windows 7?
Ultimately I would like to be able to view these using 7-zip.
Thanks!
Click to expand...
Click to collapse
That's normal. You don't want to merge them. They're all in a folder that is the backup
Sent from my Nexus 9 using XDA Free mobile app
Those files are separate archives, open then like any other tar.gz
GR0S said:
Those files are separate archives, open then like any other tar.gz
Click to expand...
Click to collapse
I get an invalid archive error when I try to open the data backups though I don't on any of the other backup files (cache.ext4.win, system.ext4.win etc).
I'm pretty sure they need to be concatenated together though I am not sure if this is easily to accomplish in Windows 7. Here is an other post with a similar problem that was solved using the Ubuntu.
On ubuntu I've just appended .tar to file name and it works.
You should try merging files with total commander and renaming to .tar
GR0S said:
On ubuntu I've just appended .tar to file name and it works.
You should try merging files with total commander and renaming to .tar
Click to expand...
Click to collapse
Gave that a shot but it didn't work
Should work just copying and pasting them into the same folder. TWRP treats the backup for a partition to be separate and complete from another. I've mixed and matched restoring partitions from different backups and it's worked. You'll have to use your judgment as to whether the restored partitions will play nice with each other.
EDIT - A workaround is to restore the partitions that you want and then back them up into a new archive.

Help with Currency Converter Small App ( com.sony.smallapp.currency)

Hey all,
This "small app" has recently become broken because the source for the currency file's URL has changed.
When the app is newly installed, it pops an error at first launch:
"Unable to download currency file. Please try again later".
It broke around mid-july 2018.
What I'm looking for is the latest available currency file so that the program can at least work (even if it can't update).
It should be located at:
Android/data/com.sony.smallapp.currency/files/
If someone could kindly .zip and upload the "files" folder here, it would be majorly helpful.
Thanks.
i think is that the data to work again
I think is the data to work..i hope work again
Ps24u said:
Hey all,
This "small app" has recently become broken because the source for the currency file's URL has changed.
When the app is newly installed, it pops an error at first launch:
"Unable to download currency file. Please try again later".
It broke around mid-july 2018.
What I'm looking for is the latest available currency file so that the program can at least work (even if it can't update).
It should be located at:
Android/data/com.sony.smallapp.currency/files/
If someone could kindly .zip and upload the "files" folder here, it would be majorly helpful.
Thanks.
Click to expand...
Click to collapse
Thanks much for your reply stathis, sadly that doesn't fix it.
If your device is rooted, could you copy and upload the following folder as well:
/data/data/com.sony.smallapp.currency/
I believe something in the .xml changes when the soft has successfully downloaded the .csv file by itself.
Thank you.
This is only found ..i hope work
Ps24u said:
Thanks much for your reply stathis, sadly that doesn't fix it.
If your device is rooted, could you copy and upload the following folder as well:
/data/data/com.sony.smallapp.currency/
I believe something in the .xml changes when the soft has successfully downloaded the .csv file by itself.
Thank you.
Click to expand...
Click to collapse
I clear data from the app and delete the .csv file from Android/data/com.sony.smallapp.currency/files/ and the app not work after i put again the file .csv and work again
and i made and one backup with Titanium backup if can help
It worked finally!
Also while the app's internal update mechanism is broken, we can update manually, here is the most recent currency database file :
https://www4.bcb.gov.br/Download/fechamento/20180927.csv
Thank you again for your help!
Here's how to update manually:
1. Download the newest .csv file from: https://ptax.bcb.gov.br/ptax_internet/consultarTodasAsMoedas.do?method=consultaTodasMoedas
2. Delete the old .csv file and copy the new .csv file in:
Android/data/com.sony.smallapp.currency/files/
3. Disable WiFi, then launch Currency Converter app. It'll detect and use the newest .csv
4. Done!

Categories

Resources