[Q] accidentally deleted files - Android Software/Hacking General [Developers Only]

sorry for my question but wanted to know if anyone can help, 7 days ago bought a acer stream, I made the root and then exploring delete files by mistake apk system, of course, many things do not work now. If anyone can help they would appreciate a lot. Thanks.

You're pretty much out of luck. If you deleted the files 7 days ago, they are likely un-recoverable. If they are on the sd card, and less than a day or so, you have a chance to recover them using GetDataBack.
Your best bet is to do a factory reset to get all the files back.

dead
remove them from the system and are apk files, there is no method to revive my acer?, it means that I throw it, only serves, I can not load a new rom?

juanreboiras said:
remove them from the system and are apk files, there is no method to revive my acer?, it means that I throw it, only serves, I can not load a new rom?
Click to expand...
Click to collapse
grab this dump and extract the files you need and put them back where they belong
http://forum.xda-developers.com/showthread.php?t=691464

thanks
these are the files I needed but when I try to run with the browser gets me close to applied force and will not let me run it. There is some solution to this?

Factory reset the phone. If you cant do it via settings, try recovery menu.

all
I tried to start from the menu, I did restart buttons and no screen goes black and does not reset to factory settings with some other idea?

Related

Hard reset =/= restoring all the system files?

I am using Touch HD (BlackStone), I installed one of the hot fix from HTC and it seems causing my phone lock up with the ICR program. I did hard reset and reinstall the ICR and it still crashing all the time. I spended 2 days playing around with countless hard reset and the problem was still there. Finally I flashed my ROM and the problem seem gone now. Seems like the hot fix replaced some of the system files and the hard reset didn't restored them.
I just wondering what exactly hard reset does? Does it just delete the extra files and settings installed by users without restoring all the system files?
a hard reset restore all files of your phone (delete all contacts, messages, settings, programs....) to original parameters.
It's like a "fomat c:" for a computer !
So when I flash the ROM image into the phone, it will put it in a protected area in the flash ROM and hard reset will copy all the files from there to another portion of the flash ROM and execute from there?
when you flash a rom, it erase (or replace, it's the same) the 'older' rom !
a hard reset just delete all files ! if you hard reset your phone, it will be like you buy it, when you power on your phone at the first time !
there is no multi-partitions, one and only one OS can be flash, install and run at the same time !
I hope it's clear, and I answer your question, because my english is very bad....
Hey, if you try format c: ,you get rid of ALL datas on your disk, including OS !! So, it´s not like hard-reset Hard-reseting deletes all user-made data, but it doesn´t do anything with ROM/firmware files, so if you changed them, you can get them back only by reinstalling OS ;-)
vitavirgl said:
Hey, if you try format c: ,you get rid of ALL datas on your disk, including OS !! So, it´s not like hard-reset Hard-reseting deletes all user-made data, but it doesn´t do anything with ROM/firmware files, so if you changed them, you can get them back only by reinstalling OS ;-)
Click to expand...
Click to collapse
Ah that explain why hard reset didn't fix my problems but re-flash the same ROM into phone did.
So there is a list of files in ROM to tell the hard reset program which are needed to keep?
thanks
sorry, it's to hard for me to explain what I think in english

Hardware Reset nightmare

My tab developed problems and all got worse after I tried to update the Contacts.apk from a thread. I backed-up the original files and restored them but still nothing worked. I decided to do a full hardware reset but things only got dramatically worse.
Now the tab is basicall destroyed. I get crashes one after the next, cant use the phone, cant open contacts, all crashes again again.
Doesnt a full hardware reset recover all all stock apps in its place or not? I have no idea what to do at this point anymore
It seems whatever system files that were damaged are still there and worse... dont understand the mechanics of this... I thought a hardware reset meant THAT. But it just "looks" like all my custom apps and confirations were reset to original but all problems with system files are there and even worse than before. Have no clue what to do
I also tried with the system off the method of pressing and holding the “Volume Up” and “Power” buttons at the same time, then after recovery screen appears navigate and select “wipe data / Factory reset” and pressing the “Home” button, but after that and the system re-starts, same thing! All bad.
Can someone please help me? How can I restore all files and everything back into the Tab as originally shipped? OMG, what a nightmare....
Thanks in advance.
Once you mess with files in the root folders they are damaged for good. A master reset does wipe everything but it does not have some magical copy of all system files stashed away to overwrite, this is why the phones are rooted, to keep you from messing with these files. Your best bet would be to just flash the device and start from scratch. You could also just extract the contacts.apk from an appropriate rom and possibly copy it over from your sd to the unit using ADB.
Sorry, like he said, you will have to rebuild. But think of it as an opportunity to try a few new things.
Do you have a backup made by CWM3 when you installed your latest rom? You can restore it if you can get into recovery.

[Q] Removing CDFS partition without rooting?

Is it possible to remove the CDFS partition (Verizon Mobile) without rooting the phone?
It is the company's phone, so no rooting for me but I would love to be able to use the TB as a USB stick on my JVC KD-AVX77 in the car. Right now it doesn't see any music and I suspect that's because of that CDFS partition.
Any help would be appreciated.
Thanks.
I'd like to know this as well...
Bumping this up. Even if it requires root, would still like to know how to do it period, as I can't seem to find any info anywhere.
you have to delete a file and you need to be rooted to do so because it is a system file.
/system/etc/cdrom.iso is the file that needs to be deleted
magneticzero said:
you have to delete a file and you need to be rooted to do so because it is a system file.
/system/etc/cdrom.iso is the file that needs to be deleted
Click to expand...
Click to collapse
Awesome, thanks!
magneticzero said:
you have to delete a file and you need to be rooted to do so because it is a system file.
/system/etc/cdrom.iso is the file that needs to be deleted
Click to expand...
Click to collapse
How big is the file "cdrom.iso"?
bignew67 said:
How big is the file "cdrom.iso"?
Click to expand...
Click to collapse
I dont recall offhand...it isnt that big....more annoying than how big it is
The ISO is only about 6mb. However, after removing it, the CD drive still shows up when connected, just with no data. Any thoughts, or is this something a kernel dev/CM7(lol down with Sense!) is going to have to take care of?
In the programming menu the option was removed. Take the Incredible for instance, you could disable it, but not so on the TB for now. Unless someone figures out a way to change it Im out of ideas, but removing it worked for me.
magneticzero said:
In the programming menu the option was removed. Take the Incredible for instance, you could disable it, but not so on the TB for now. Unless someone figures out a way to change it Im out of ideas, but removing it worked for me.
Click to expand...
Click to collapse
Well at least removing it gets rid of the autorun prompt. Good enough for now, and I'm sure the CM team will figure it out.
Root here. Didn't work for me. I can't mount my sd card through my phone after deleting that file.
I did flash adrenalyn's 1.9 kernal some days before which may be the cause of my having a different result from others in this thread however I think it's a good idea to DO A NANDROID BACKUP BEFORE ATTEMPTING!
or at least rename the file with a .old or .bak extension, whatever ya like... luckily I have the backup from before the kernal flash
would logcat be able to track down what's being accessed while the phone is mounting volumes while enabling disk mode?
Rather than removing it, I replaced it with an ISO of my own that has the Tether for Android setup exe and dmg, and a few other misc files I might need

[Q] phone doesn't start after deleting two files from system partition

Hi,
I have an MTK6582 quad core phone.
In another forum, I have taken an advice from a poster, which later proved to be the worst thing I could do..
I have deleted two files from \system\etc folder, namely:
agold_cheat_evaluating_software.xml and
changeram.xml
Due to these two files fake system info was reported (there was another advice to edit these files, but I was too lazy, and the poster told that he had been deleted them, and then the system could boot thereafter with the correct system info. I believed it..)
Anyway, I have deleted them, and since then I cannot start my phone, it stops at welcome screen.
I could log into Android recovery mode, I have made a factory reset, but the problem still persists, and I'm going mad. How could I be so idiot...
Does anyone have any idea how to start my phone? "Fortunately" I have these two files on my computer, I saved them before deletion. Maybe it helps..
Thank you in advance.
BTW it's an M-pai 809t
reinstall the stock ROM of your phone!!

Recovering data from opo after deleting /storage folder and factory reset

Hi,
tl;dr:
Is there a theoretic way to recover data from the phone after:
1. deleting /storage folder
2. and then rooting (which means factory reset?)
If there is a theoretic way to recover it from the bits, is there a way to take a snapshot of the current state of the bit, so I can (in theory) recover the media in the future?
Long version:
First of all I know I'm very stupid..
Yesterday I've deleted my /storage folder since in first glance it looked empty.
Then I figured out what did I do, so I tried to recover the information.
I've searched the web for an application that does that and I found one that required rooting the phone, so I rooted the phone which means I made factory reset.
Then I tried to recover but it didn't manage to recover the photos and videos.. (it did recover whatsapp photos and some other things but not from the dcim folder).
I tried then several different applications that may not ask for rooting the phone so maybe I made a mistake by doing that (not sure that they wouldn't request for rooting either) but no success with that...
I'm willing to pay money to save that data but do you think it's not recoverable anymore?
I also called the 3 biggest recovery companies in my country, 2 of them told me that they don't think it's possible and one agreed to take it to their labs for a small price and then give me an offer.
If there is a theoretic way to recover it from the bits, is there a way to take a snapshot of the current state of the bit, so I can (in theory) recover the media in the future?
I'm very desperate and would be very thankful for your help
PeroPy said:
Hi,
tl;dr:
Is there a theoretic way to recover data from the phone after:
1. deleting /storage folder
2. and then rooting (which means factory reset?)
If there is a theoretic way to recover it from the bits, is there a way to take a snapshot of the current state of the bit, so I can (in theory) recover the media in the future?
Long version:
First of all I know I'm very stupid..
Yesterday I've deleted my /storage folder since in first glance it looked empty.
Then I figured out what did I do, so I tried to recover the information.
I've searched the web for an application that does that and I found one that required rooting the phone, so I rooted the phone which means I made factory reset.
Then I tried to recover but it didn't manage to recover the photos and videos.. (it did recover whatsapp photos and some other things but not from the dcim folder).
I tried then several different applications that may not ask for rooting the phone so maybe I made a mistake by doing that (not sure that they wouldn't request for rooting either) but no success with that...
I'm willing to pay money to save that data but do you think it's not recoverable anymore?
I also called the 3 biggest recovery companies in my country, 2 of them told me that they don't think it's possible and one agreed to take it to their labs for a small price and then give me an offer.
If there is a theoretic way to recover it from the bits, is there a way to take a snapshot of the current state of the bit, so I can (in theory) recover the media in the future?
I'm very desperate and would be very thankful for your help
Click to expand...
Click to collapse
try Undeleter from play store..worked for me on N4..never tried on OPO
atulclassic said:
try Undeleter from play store..worked for me on N4..never tried on OPO
Click to expand...
Click to collapse
Didn't work :crying:
You might give DiskDigger a shot. I never tried it though.
PeroPy said:
Didn't work :crying:
Click to expand...
Click to collapse
are you rooted since undeleter requires root
atulclassic said:
are you rooted since undeleter requires root
Click to expand...
Click to collapse
I'm...
After few weeks of working on that, I didn't make it to recover any of my photos/videos/whatsapp chat history (the things that were most important to me)
I tried several stuff, apperently all of the recovery programs that using the adb to directly connect to the phone through the PC doesn't work well enough, as well as the programs that works from the device...
I tried this article:
http://www.dflund.se/~jokke/androidfilerecovery/
but it didn't work for some reason...
Then I tried that one :
http://forum.xda-developers.com/gal...de-internal-memory-data-recovery-yes-t1994705
I used a centos VM to get a image of the device partiotns the way they suggested (I couldn't make the busybox work).
I mapped that file as hard disk
I tried to use 'Recuva' it seems like it managed to restore files but something apperantly went wrong and the files wasn't helpful...
I tried to use 'easeus data recovery' it worked better, it found around 20k files.. There were alot of directories and I didn't look up at it so much but it recoverd alot of photos which I think were from the whatsapp media.
Incase someone who made the same mistake by deleting the 'storage' folder, get to this post, I recommend to turn off the phone immidietly and find a way to do that without rooting the device.. (although it might be impossible since as far as I know all of the methods I used were depends on a rooted device, but I didn't look up on this since the first thing I done is to root my device - which might be the mistake)...

Categories

Resources