[Q] Accidently Deleted My Fota File in /Data - Samsung Galaxy S (4G Model)

I was trying to fix my fota files after reading this guide, http://forum.xda-developers.com/showthread.php?t=1025610 and I was unsure when it said
"Step 9: Navigate to /data/fota and paste the 2 files in this folder"
So at first glance I didn't notice the actual folder, and just deleted a file that I think said, "Fota" and pasted the folders in the /data folder.
Only now after I reread and checked everything did I realize that I did the wrong thing so now I'm wondering if there's anyway I can find a copy of that file and push it back in.
EDIT: Nvm, I was able to fix it by loading up a backup. Ergo..

Related

[Q] AndRootFile Noob

I am trying the get my Viewsonic G Tablet up and running.
As of now, I have it rooted. I'm using AndRootFile to TRY to move files to various System folders, to install them.
Problem 1)The files I need are in a Folder called G Tablet on my SDCard1 (internal storage, not actually an SD Card). Though AndRootFile sees every other file and folder in the SDCard folder, it doesn't see G Tablet. Every other file manager does, but AndRootFile doesn't. That is odd, of course.
Problem 2)This is where my noobism really comes out. Even though AnfRootFile claims to be a bit of a one stop shop file system explorer (allowing copying and moving of files), I do not no how to actually copy a file. I press and hold and get no pop-up menu. There is no "move," copy," or "edit" feature when hitting the menu tab. The small selection of features that pop up with the menu tab are unlabeled, but after trial and error to figure out what they actually do, not a single one actually allows any type of management of files or folders, except to make a folder R/W -- not that I can actually DO anything with that information since I cant move anything around.
HELP!!
Nevermind. I'm dumb.
I still do not know why it did see my G Tablet folder, but I made a new folder and copied the need file to it. As for the moving... I just missed that tool in the toolbar.
[A] Why AndRootFile can't see G Tablet folder
This got me stuck for a while too. It's the space in the folder name that's the problem.
Just rename the folder from "G Tablet" to "G-Tablet" and it will work just fine.
I have also been messing around with this program. I see how to change it to R/W, but I don't see a way to change it back to R/O. Is there a need to do this, or am I just missing something? Thanks for any help you can provide.
Not able to copy to system/app
I am trying to install g/Market, gmail and maps on my viewsonic gtablet by following this link
http://forum.xda-developers.com/showthread.php?t=827209
i installed the AndRootFile and trying to copy files from sdcard to system/etc/permission and system/app but it is not able to copy.
It shows the error that this is read only area and not able copy.
Please guide me how am i able to go ahead to fix it.
Thanks so much.

How to make a CWM file

Hello, I have searched everywhere and cant find the answer to my question. I wanted to replace a file using CWM .zip how in the heck do I do that? Most of all I just wanted to learn how to do it as well...
Thanks,
Chad
Well to begin with you can take an existing zip with the file path you need, delete everything in the folders not touching the META-inf folder at all, those are the install instructions, and put the file you want to flash in the correct folder. I think thats how everyone starts out.
studacris said:
Well to begin with you can take an existing zip with the file path you need, delete everything in the folders not touching the META-inf folder at all, those are the install instructions, and put the file you want to flash in the correct folder. I think thats how everyone starts out.
Click to expand...
Click to collapse
but your update-script has to match what you are flashing via cwm. if you take a rom zip and just pop in a few files in place of the whole rom structures, your flash will fail because your update-script is looking for specific structures.
Oxicottin said:
Hello, I have searched everywhere and cant find the answer to my question. I wanted to replace a file using CWM .zip how in the heck do I do that? Most of all I just wanted to learn how to do it as well...
Thanks,
Chad
Click to expand...
Click to collapse
One way would be to use: Update Zip creator/modifier (Requires Windows)
yeah it would be bad mojo if you used a wipe rom zips META INFO to make an update zip.....
Thanks a million everyone......
Sorry for being late to the party again.. Here goes my attempt at an explanation though:
Essentially, a CWM flashable zip is just a zip file with the file system replicated in it. So for example, if you wanted to add swype, and you know Swype.apk would regularly go in /system/app, then you would create a blank folder called 'system', and another folder inside system called 'app', and put your Swype.apk inside that. (/system/app/Swype.apk)
After that, all that's left is to build an update script. So, from your root directory (where your system folder is), you would make another directory called META-INF, with a folder inside called 'com', another one inside that called 'google', and finally one called 'android' inside that (/META-INF/com/google/android), you put a text file in there called 'update-script' that tells recovery what you want to do (in this case, copy swype over to the corresponding directory on the file system).
http://forum.xda-developers.com/showthread.php?t=641223
^There's a guide for how to make those. You can also pick apart any rom you find in the dev section and check out the update script for reference.
After that, it's just a matter of zipping up all the contents in your root directory, then signing the zip with testsign.jar
modest_mandroid said:
Sorry for being late to the party again.. Here goes my attempt at an explanation though:
Essentially, a CWM flashable zip is just a zip file with the file system replicated in it. So for example, if you wanted to add swype, and you know Swype.apk would regularly go in /system/app, then you would create a blank folder called 'system', and another folder inside system called 'app', and put your Swype.apk inside that. (/system/app/Swype.apk)
After that, all that's left is to build an update script. So, from your root directory (where your system folder is), you would make another directory called META-INF, with a folder inside called 'com', another one inside that called 'google', and finally one called 'android' inside that (/META-INF/com/google/android), you put a text file in there called 'update-script' that tells recovery what you want to do (in this case, copy swype over to the corresponding directory on the file system).
http://forum.xda-developers.com/showthread.php?t=641223
^There's a guide for how to make those. You can also pick apart any rom you find in the dev section and check out the update script for reference.
After that, it's just a matter of zipping up all the contents in your root directory, then signing the zip with testsign.jar
Click to expand...
Click to collapse
Is there a way from the CWM interface to do the same with a backup you create? I noticed backups are not in the same format, they are usually .img, .tar, and an md5 file?

Root explorer folder overwrite bug?

In Root Explorer, if I try to paste a folder in a situation where it should overwrite the target folder, it is instead placed inside it. For example:
1) create /sdcard/test/
2) copy the new folder
3) paste into /sdcard/
The result should be that one test folder overwrites the other, with no structure change. However, you end up instead with /sdcard/test/test/
If I instead delete "test" before step 3, the pasted test ends up where it should (inside /sdcard/, rather than inside /sdcard/test/). The moral seems to be if you know you are going to overwrite a folder, you must manually delete it first (which makes backup restoration with multiple indentured over-writes problematic).
Try for yourself and see. Am I missing something? Is this a known issue?

System "semi" Writable?

I recently Wiped my Phone completely and decided to Re-Flash Viper 1.2.1.
I noticed a problem prior to re-installing but thought nothing of if since it wasn't crucial at the time.
In Root explorer, I am able to delete [i normally delete boot animations] system files but not add where I need to add. Example, I wanted to add a ringtone to my system/media/ringtones folder. I normally [for the last six years] could just copy and paste such files using a root file manager.
However, when I any these files to for example /system/customize/resource/ it doesnt add it. BUT IT DOES rename the file and save it under a dif folder.
Example. Tried copying-copy to-moving to "androidtwirp.mp3" from sdcard to /system/media/notifications and a message pops up saying"notificationsandroidtwirp.mp3 successfully copied-moved to" and it saves notificationsandroidtwirp.mp3 to /system/media/ and it stays there. retrying from that location only results in "notificationsnotificationsandroidtwirp.mp3".
So not only does it rename the file but it saves it in the wrong location. I am at a loss for word. I tried the basics to tryand fix this but i cant seem to hit it on the head.
Thanks!
Edit: Not updating Super SU app, file explorer seems to have worked. Will attempt to duplicate problem to see what actually caused.it.
FOUND IT!
Updating my ES File explorer broke my system writing ability. DO NOT UPDATE is because when you do...
Any file you move, copy/paste to the system will not work properly.
This first happened when I tried to copy and paste a boot animation after I updated ES root explorer. It would rename whatever file i was trying to paste/move/copy over and save it under a sub folder.
example.
copying a ringtone [i.e. androidtwirp.mp3] from SDCard to System folder, the path is /system/media/audio/ringtones/ and it would rename it "ringtonesandroidtwirp.mp3" and save it under /system/media/audio/.
So basically not only was it renamed [which i didnt want it to be] but it would save it to the folder before the actual folder i needed it to be in, plus it would corrupt the file deeming it useless.
moving "ringtonesandroidtwirp.mp3" into the correct folder would only result in "ringtonesringtonesandroidtwirp.mp3"
this happened across the board with all files being moved around
The ES File Explorer version 1.2.1 comes with works flawlessly so don't update it.
I uninstalled ES [also any folders in SDcard related to it] and downloaded JRummy's root explorer and everything is back to normal except i have to reboot the phone to see files [like ringtones and notifications] that i added to the system.
I think it has something to do with our devices having an unlocked bootloaader, but still S-ON. There's S-OFF in the Dev section now if you really need to write to the system folder a lot.
I came from the Vibrant so I know what you're going through
Yeah, im on a low hboot so s-off might not be in my plans since I can practically flash what I want but it was ES file explorer, when I updated the apk the root permissions broke when writting to the system. I emailed the dev and they said they'd have it fixed on the next update.
echo en Android

Titanium backup just creates a "file" instead of a folder.

I have tried changing the location, rebooting my phone, changing the file to a .zip, etc. but nothing is working. When i change it to a zip and try to open it, it says the archive is damaged. When i delete the backup file and then recreate a backup, its still just a "File" type of file. Am i missing a setting or something? No matter where i place the backup it's the same thing. Im trying to turn it into a folder so i can drag in other backup files. I keep breaking the phone due to the locked bootloader, and the other 3 times titanium made a folder with all the backup contents in it.
P.S. I dont want to back it up to something like google drive. Someone always says to do that on every thread i look at

Categories

Resources