J.Michael said:
I don't think that's too big to post without compressing -- just attach the file.
Are you using Windows on your PC?
Did you copy "recovery.log" to your PC?
Did you look at "recovery.log" in a text editor?
Click to expand...
Click to collapse
AquilaDroid said:
No longer relevant.
Click to expand...
Click to collapse
When I asked those questions, I had no interest in seeing the log file. I wanted to pursue what I thought were strange problems doing something that should have been simple.
Spiralling out from the middle, I didn't understand the "file not found, or no read permission". I wanted to pin down whether Windows Explorer was manipulating a file on your phone, which might (although I don't know why) explain the problem.
I asked about you looking at the file just to get confirmation that you had succeeded in copying the file to your PC.
Maybe it has something to do with where you put the file. The context menu option to compress a file is convenient, but gives me no control. (I think it was quite nice in Windows XP; not so nice in Windows 8 or 10.)
The way I remember it, you select the files, but you can't tell it where to put the ZIP file. Maybe the way you copied the file from phone to PC had enough privilege to put it where you put it, but later, in Windows Explorer, you did not have enough privilege to put the ZIP file in the same directory. (And maybe the error message is less than accurate, and it is not "Read" privilege that is lacking.)
If you want to pursue the ability to make ZIP files:
move the file somewhere else and try again. I don't know exactly where you put it the first time, so I can't suggest a clearly different and safer choice. I would think that the personal directory Windows wished on you (maybe C:\Users\Aquiladroid) would be safe.
Look into 7zip: There's a free version. It has both Windows GUI and command line "apps".
{Mod edit: Quoted post has been deleted}
This thread was a sidebar to another thread, to avoid cluttering the other thread with material I thought was off-topic.
You do not describe your 7 GB file, or what you consider "not very effective". Not all files compress "well" (to me, large reduction in size). I expect 7zip has options to control the trade-off between time spent compressing, and amount of compression achieved.
You should start a new thread, asking for advice. There are a lot of people who will notice a new thread, but who do not "watch" this thread.
Related
Ok, maybe I'm going a little overboard here, but I jailbroke the phone just yesterday. I thought that it was time to see what all I would be able to do with it. So i got to looking around trying to figure out what I could skin. /system/app/Launcher.apk provided what i needed to redo the app bar. Here are my results.
I didn't do any modification to the xml files yet. I would like to get where I can edit the images out of those files as well. I removed the up/down arrows, but it was more of a replace with a 1x1px png. you get errors if the files are not put back with the right names or if files are missing. So I'm sure in the xml you would be able to edit it out.
One last thing. There really isn't much space on the /system mount. even when coping the file back up after repacking, I would ofter get not enough space on disk error. Trying again resulted in a success.
How about something else. I am not the best artist or graphics person. I'm sure that my files are larger then they should be. I had to do a 255 index on the color to get the image files down small enough. I'm sure with proper programming on my part, I wouldn't need the bar image, just the tux image. /shrug. I'm tired and going to be.
Enjoy.
Impressive. What does it look like with the apps menu expanded?
Oh, and how do you take screenshots?
It looks like it would noramally but with a tux on it instead of the grey bar. I will have to gt another image up.
The program to take screen shots is ddms (i think). It is in the tools directory of the sdk. Sorry, I just woke up for work.. not much sleep. But I do know if you are running linux it has to be on a 32bit os. It wouldn't run on my 64bit ubuntu.
a question I received
kron2 said:
can you help me i am new to linux and would like to edit some off the images in the app folder on the G1 my phone is jailbroke and i have the files to resign the apk's but don't no how to use them i no how to remove the files from the phone and edit them with rar. and thin i put the files back and rename the file apk but don't no how to resign it i have the emulator and ddms plus eclipse working i would think i resign it after i edit it but don't no where to put the files or how to use signapk.jar thx for your help
Click to expand...
Click to collapse
I don't know how much help I can be with the jar tool. I can tell you what I did though.
I used adb to get the /system/app/Launcher.apk file. The I extracted the file. So now I have the .apk file and a folder with all of the files in it. I then copied the .apk file to make a backup of it, just in case I needed to push it to the device.
Ok now I am set to do the editing of the files. I use Linux so I started gimp up editing an image. Then saved the image, keeping it the same size (56x295 - something like that) as the previous file. The files size (k/mb) will change. You need to keep this as small as you can.
I then started up Archive Manager, I think that you said that you use winrar or something. You might want to try 7zip, not sure though. Onward. I opened the .apk with the archive manager. The allowed me not to have repack the archive. I then dragged and dropped the edited .png file into the same folder I edited it from, into the same folder browsing though the archive manager. This did nothing more than update the .apk archive with the edited file.
then I pushed the file back to the droid. I hit the end button to turn the screen off and then menu x2 to get into the interface again. This refreshed the interface. and my edits were there.
That is about it. I'm going to copy and paste this reply in the forum so others will benefit from your question.
im trying to extract some cabs from a NHB file...can anyone guide me in the direction on how to do this
I'd say the best way to do that is to extract the ROM into regular files.
You need to download a bunch of EXE files: NBHextract.exe, NBSplit.exe, ImgfsToDump.exe, and ImgfsFromNB.exe
You need to extract the NBH with NBHextract.exe. This will yield a .nb file
You need to use NBSplit (use the "-kaiser" parameter) to split the .nb into a .nb.payload file and a .nb.extra file
You then need to use ImgfsFromNB on the .nb.payload file, which will create a file called imgfs.bin
Use ImgfsToDump on imgfs.bin, which will create a folder called "Dump". When it finishes, All of the ROM's files will be there. You will probably want to search the folder for .cab files, since there are thousands of files in the average ROM dump.
That should do the job for you.
Or just use Visual Kitchen to Dump the ROM, and then rebuild the OEMs to CABs.
Dave
could u walk me through the visual kitchen program?
Hmmm look for htcRIE_0.4.0.47 and extract what you want.
im trying to extrct the streaming media player cab...the one thats in most of the 6.5 roms that has a look a like HTC ablum look to it, but i cant find a cab using "htcRIE_0.4.0.47"
little help will might ...
You do not search for it at you WM ROM,
Search at the site...
Anyway i have been find it for you !
A newer version of htcRIE, enjoy!
michealmyers said:
im trying to extrct the streaming media player cab...the one thats in most of the 6.5 roms that has a look a like HTC ablum look to it, but i cant find a cab using "htcRIE_0.4.0.47"
Click to expand...
Click to collapse
i have that program, but im unsure on how to properly use it to get the cab files.....can u help me?
michealmyers said:
i have that program, but im unsure on how to properly use it to get the cab files.....can u help me?
Click to expand...
Click to collapse
With Visual Kitchen, just click on the Dump button at the bottom - and then browse to the NBH file .
Dave
i guess all nbh files dont have cabs because in the dump folder it creates...its only a couple of cabs and whole lot of systems files
michealmyers said:
i guess all nbh files dont have cabs because in the dump folder it creates...its only a couple of cabs and whole lot of systems files
Click to expand...
Click to collapse
Yeah, you have to rebuild the EXT packages to CAB's I don't know if there is a tool for that actually. Might be better dumping it the Dave (TyTNII) way, that will give you OEM's. There are tools for OEM 2 CAB.
Jason8 is working on a tool to convert all 3 all ways IIRC.
Dave
the nbh extract file launches for a quick second...it doesnt stay on the screen, as well as a lot of other files such as nbh split....do i need to update something in order to have these programs run properly?
michealmyers said:
the nbh extract file launches for a quick second...it doesnt stay on the screen, as well as a lot of other files such as nbh split....do i need to update something in order to have these programs run properly?
Click to expand...
Click to collapse
You have to run them from the windows command line (CMD.exe). If you really want me to, I'll upload a batch file I made which automates most of this. You just put the NBH and tools in certain folders and run the batch file and it does the rest.
DaveTheTytnIIGuy said:
You have to run them from the windows command line (CMD.exe). If you really want me to, I'll upload a batch file I made which automates most of this. You just put the NBH and tools in certain folders and run the batch file and it does the rest.
Click to expand...
Click to collapse
that would be so helpful
Alright, I fixed all the bugs in it (it was still in progress) and added some new features I had meant to add for a while, such as renaming the processed files by date processed (though you probably won't need them if you're only extracting one ROM). Hit [WINDOWS KEY] and R on your keyboard at the same time to open the Windows Run dialog, and type "%USERPROFILE%" without the quotes. Simply unzip the file and drag the folder called "Flashing" in the user folder (it's vital to have the Flashing folder in the correct spot. Otherwise, the entire script will fail). Place the NBH file you want to extract in the NBHDUMP folder (in the Rhodium folder, which is in the Flashing folder), and go to the IMGFS folder (in the Rhodium folder, which is in the Flashing folder). Now, run RhodiumRomDump.bat and the dump should commence, and a folder with your dump should appear in the same directory.
If anything should go wrong, please tell me so I can try to fix it.
EDIT: Please redownload, all issues I could find are fixed in this version. If you get errors about needing MSVCr71.DLL with this version, google is your friend.
maybe im not doing something right, ive been at it for days now...i put the "flashing folder" in C:\Documents and Settings\Sean (sean's my name..haha), put the nbh file in the NBH folder, ran "DumpRhodiumRom", i got 2 folders named "and" and "Setings"....when i run "dumpRhodiumRom", its just stays on the screen for half a second
ive extracted the rom before using visual kitchen...im trying to get some of the programs into cabs...the problem is that in the dump file, i see the programs i want, but they arent in cabs, so i cant just take its "exe" file and put it into another phone (well at least that didnt work for me)
michealmyers said:
maybe im not doing something right, ive been at it for days now...i put the "flashing folder" in C:\Documents and Settings\Sean (sean's my name..haha), put the nbh file in the NBH folder, ran "DumpRhodiumRom", i got 2 folders named "and" and "Setings"....when i run "dumpRhodiumRom", its just stays on the screen for half a second
Click to expand...
Click to collapse
That's odd. Can you tell me two things?
Where do these folders ("Settings" and "And") show up?
Hit [Windows Key] + R and type "CMD" (without quotes), then hit okay, then type "cd %USERPROFILE%\Flashing\Rhodium\IMGFS" (without quotes). Now, type "DumpRhodiumRom" (without quotes), and tell me exactly what is says (you don't actually have to include all the formatting and everything). Also, if you could tell me what color it's in, that would help.
I'm going to test it in a virtual Windows XP environment and see if it's compatiblity with XP that's the problem.
EDIT: So the problem seems to be the fact that it doesn't like the spaces in the folder name "Documents and Settings", hence the creation of the "and" and "settings" folders. Unfortunately, it's an important folder, so renaming isn't really possible. However, I think I know a simple fix to the original script, so I'll test that and post it shortly.
michealmyers said:
ive extracted the rom before using visual kitchen...im trying to get some of the programs into cabs...the problem is that in the dump file, i see the programs i want, but they arent in cabs, so i cant just take its "exe" file and put it into another phone (well at least that didnt work for me)
Click to expand...
Click to collapse
Try downloading cabtools V 0.3 and use pkg2cab to build the package back into a .cab file. I've never done it myself, but this looks like what you want.
DaveTheTytnIIGuy said:
That's odd. Can you tell me two things?
Where do these folders ("Settings" and "And") show up?
Hit [Windows Key] + R and type "CMD" (without quotes), then hit okay, then type "cd %USERPROFILE%\Flashing\Rhodium\IMGFS" (without quotes). Now, type "DumpRhodiumRom" (without quotes), and tell me exactly what is says (you don't actually have to include all the formatting and everything). Also, if you could tell me what color it's in, that would help.
I'm going to test it in a virtual Windows XP environment and see if it's compatiblity with XP that's the problem.
EDIT: So the problem seems to be the fact that it doesn't like the spaces in the folder name "Documents and Settings", hence the creation of the "and" and "settings" folders. Unfortunately, it's an important folder, so renaming isn't really possible. However, I think I know a simple fix to the original script, so I'll test that and post it shortly.
Click to expand...
Click to collapse
This is What i got....where the "and" and "settings" folder apear is "untitled2.zip"
I'm attempting to "theme" (might be a stretch to call what i'm doing a theme) my first app. I started with intuitit's Launcher, modified the pull down icon and the background to suit my likings, dumped the image files back into the archive via 7zip. When I attempt to install to my phone I get this error in the command line:
[INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION]
Thinking this is because I didn't sign it after I made the changes? What is the best, most easiest way to sign my apps? I already have Eclipse installed, a workspace created, the most recent Android SDK files and the Android plugin's configured for Eclipse. But I'm thinking there is just some sort of batch file out there that will self sign the file.
Also, maybe this isn't a signing issue. If not, what is it?
DaveKid said:
I'm attempting to "theme" (might be a stretch to call what i'm doing a theme) my first app. I started with intuitit's Launcher, modified the pull down icon and the background to suit my likings, dumped the image files back into the archive via 7zip. When I attempt to install to my phone I get this error in the command line:
[INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION]
Thinking this is because I didn't sign it after I made the changes? What is the best, most easiest way to sign my apps? I already have Eclipse installed, a workspace created, the most recent Android SDK files and the Android plugin's configured for Eclipse. But I'm thinking there is just some sort of batch file out there that will self sign the file.
Also, maybe this isn't a signing issue. If not, what is it?
Click to expand...
Click to collapse
I use a script I found on the G1 boards...I'll zip it up for you and post it here...Its a modification of the zip signing thing, I use it all the time for Hello IM (horrible company multiple facets btw, no updates anymore they suck) and Chomp SMS
Simply extract the file to any directory, and in the root folder place ur customized APK file then run the sign.bat your file will be named your_app_signed.apk
sometimes I have to remove the META-INF from inside the APK then sign it for it to work (it recreates meta info)
have fun.
Also, you do not name a topic HOW TO unless you are offering a HOW TO, it is misleading...this is a question...you know that...it belongs in Q&A
AbsoluteDesignz said:
Also, you do not name a topic HOW TO unless you are offering a HOW TO, it is misleading...this is a question...you know that...it belongs in Q&A
Click to expand...
Click to collapse
your absolutely right! I sometimes am not sure where the best place is. and [HOW-TO] is definitely misleading.
thanks again for all your help.
I didn't feel like plugging my phone into the computer so I emailed myself an apk file (arctu's Mms.apk) because for some reason...it seems to revert back to stock every reboot...
Anyway, I didn't have any terminal apps so I used Root Explorer to copy then paste over the existing apk. didn't work. Why not? Is there a something different about copy/paste?
If you didn't say you mounted the partition I can only assume it was not mounted as r/w and still at r/o.
copy/paste - visual representation of cp
push - pushing files from computer to phone
They are not the same.
SiNJiN76 said:
I didn't feel like plugging my phone into the computer so I emailed myself an apk file (arctu's Mms.apk) because for some reason...it seems to revert back to stock every reboot...
Anyway, I didn't have any terminal apps so I used Root Explorer to copy then paste over the existing apk. didn't work. Why not? Is there a something different about copy/paste?
Click to expand...
Click to collapse
Yeah, what didn't work? lol.
djmcnz said:
Yeah, what didn't work? lol.
Click to expand...
Click to collapse
the mms app didn't overwrite. But it could have been user error. I'm using Enom's ROM and didn't have the Community Mms Mod checked...so maybe if I had done that first...it would have worked.
Pushing is taking a file from the computer to copy and paste/overwrite the existing file on the phone. What's the difference where the file is being copied over from? Are you sure about what you were trying to explain?
SiNJiN76 said:
Are you sure about what you were trying to explain?
Click to expand...
Click to collapse
k?
I didn't try and explain anything (in this thread at least)?
Either way, yes push literally "pushes" a file to a specified location. However that file needs to be written and if the file system is mounted as read only you will get errors.
If it didn't work you must have received an error message (in root explorer for example), what was that message? If you don't get an error message and the file is still not being written then get a better file manager (ES File Explorer).
The suggestion above by 'evilkorn' was to make sure the file system is in read/write mode before you copy the file over... you can do this in Root Explorer or ES File Explorer.
If your file system is in r/w AND you still don't get an error message AND it still doesn't work then I would try an ADB push as a last resort and if that didn't work, reflash and start from step one I think...
SiNJiN76 said:
What's the difference where the file is being copied over from? Are you sure about what you were trying to explain?
Click to expand...
Click to collapse
Because that was your question in the title, which I answered, they are different terms for different things. You can't push a file on your phone to your phone, you copy it (cp).
You still didn't answer my question... It's hard to help someone when the suggestions fall on deaf ears and all you get is reverb and static back.
evilkorn said:
Because that was your question in the title, which I answered, they are different terms for different things. You can't push a file on your phone to your phone, you copy it (cp).
You still didn't answer my question... It's hard to help someone when the suggestions fall on deaf ears and all you get is reverb and static back.
Click to expand...
Click to collapse
LoL. You gotta ask a question first before I can answer it. You made assumptions, didn't ask questions. LoL. Anyway, I wasn't trying to crawl under your skin. But maybe next time you can read the OP in addition to just reading the title of the thread? Usually, details are given to accompany the title of the thread on the first post. Either way, I guess I wasn't detailed enough. Thanks for your feedback, tho, appreciate it.
@djmcnz - Sorry, my error in quoting the wrong person. Thanks for you explanation, also.
So, to summarize...Push and Copy/Paste should produce the same outcome, right? Cool...like I said earlier...it was my error in not knowing that I had to use the Spare Parts option in Enom's ROM to enable Community MMS.
I use root explorer all the time when I can't use a computer to use adb. It works fine. Usually if its the system partition you have to click the icon that says r/o and it changes to r/w. This will allow you to write files to the partition. Then from what I noticed a reboot usually fixes any issues of stuff not working.
Zip & Xap coruption in windows 8
I can zip. I can rename to xap and I can send to my phone and it works but when I try and extract I get error this is causeing a lot of headache and is happening on more than one zip file I have tried both versions of 7zip and WinRAR with no avail. searched the internet for days on end I cant figure out why this is happening.
OK, basic bug reporting steps here:
1: summarize the problem. All I got is that it has something to do with zips, xaps, WP8, and Win8.
2: explain what you're trying to do, what the expected result is and what actually happens (the screenshot helps with, but does not replace, this step).
3: give the steps to reproduce the problem. Do it as actual steps, not a run-on sentence with no details. For example, how are you sending the file to your phone?
GoodDayToDie said:
OK, basic bug reporting steps here:
1: summarize the problem. All I got is that it has something to do with zips, xaps, WP8, and Win8.
2: explain what you're trying to do, what the expected result is and what actually happens (the screenshot helps with, but does not replace, this step).
3: give the steps to reproduce the problem. Do it as actual steps, not a run-on sentence with no details. For example, how are you sending the file to your phone?
Click to expand...
Click to collapse
Okay this really has nothing to do with my phone. other than the fact that zip's can be turned in to xap files.
lets say I have a folder with some pictures in it I right click on it and hit add to archive ok now folder is zipped.
then I try to unpack it but I cant because its corrupted.. I can not extract the file or a pic I get this error.
I Have found only one other person having this error on 7-zip forum and he says in only one post he fixed an error he was having with his zip by turning off IDM. I honestly don't see how that's related.
I have lost files due to this error.
If you copy the file off the PC, can you open the archive on another machine?
jackrabbit72380 said:
Okay this really has nothing to do with my phone. other than the fact that zip's can be turned in to xap files.
lets say I have a folder with some pictures in it I right click on it and hit add to archive ok now folder is zipped.
then I try to unpack it but I cant because its corrupted.. I can not extract the file or a pic I get this error.
I Have found only one other person having this error on 7-zip forum and he says in only one post he fixed an error he was having with his zip by turning off IDM. I honestly don't see how that's related.
I have lost files due to this error.
Click to expand...
Click to collapse
OK so.
I take a folder, 7zip it to .zip
renamed .zip to .xap
Extracted file just fine, windows 8 x64 pro.
Soooooooooooooooooooo...update your 7zip?
Not even sure why you're asking this in a phone forum, but did it work to extract the files on another machine? The fact that sending XAPs to the phone wors suggests that the problem is with the decompressor on your PC, not the compressor.