[Q] can i recover files on nexus 7 - Nexus 7 Q&A, Help & Troubleshooting

i moved file via mtp mode,because copy/paste is so slow while you have so many files(I move about 5 or 6 files/directory every ) But
while i Move 2 or 3 times, all files on nexus 7 disappeared. Indeed I only moved about a half files, there should be many files left on nexus 7.too weird. after this action I lost many photos. The nexus 7 has no files. Photos doesn't exist my computer too.
I know if nexus 7 could mount as USB mass storage I can recovery files through recovery software like recuva, But I didn't very familiar with this device and I didn't find a solution to mount nexus 7 as USB storage on the Web.
So I want to ask is there a method to recovery files through some file recovery software or some other method. please help me, this nexus 7 is my friend's.

You could try to do a image backup of your /sdcard and loop mount it later on your PC. Then you have something like a virtual disk where you could run some photo recovery programs. I wrote / am still writing a program which is able to back up the partitions of your device directly to the PC. You might want to have a look at http://anddisa.tk. It's still in alpha/beta state, but the backup functions are working.
Sent from my Nexus 7 using xda app-developers app

thannnk you
thannnk you very much.AndDiSa
Is it art.jar(0.2), which on your site, which can make a full image backup.
It seems can't run on windows,I will try it after I installed a linux client on virtualbox. I will rely if it works
but I wonder whether nexus7 could connected through virtual machine.

It should work in Windows, too, but I didn't check yet. Have a look at art.sh, which is a wrapper to start the java program. The Windows .cmd file should be similar. For starting the application, open a command shell and then
art.cmd ...
Be sure to have java 1.6 / 1.7 installed and a working adb environment. Good luck!
BTW. as soon as I find some time I will write the windows wrapper and test it on Windows.
Edit: I've added a windows wrapper file which can be downloaded from http://anddisa.tk
Sent from my Nexus 7 using xda app-developers app

I tried many times arguments of ART.cmd, but don't work. like:
art.jar -backup -i -bd /backups -tsf yyyy-MM-dd-hh-mm UDA or RECOVERY or CACHE or userdata...
Click to expand...
Click to collapse
always show "unknown partition name for device: XXX.
if without type the last argument. like
art.jar -backup -i -bd /backups -tsf yyyy-MM-dd-hh-mm
it will show no errors, but the programe will terminated, and i can't get any image file also.

Could you try to call
art.cmd -info
it will print you some device informations and also the partitions known for the device connected.
Btw.: do you have grouper or talipa? Only grouper partitions are build in, otherwise you need to pass a pif as parameter.

Related

Duel booting thread Finished :)

One of my favorite things about android is being able to duel-boot os's and playing around with Linux distros ,but ive seen a drop off of them being brought to Android sadly . so im starting this thread in order to get all the duel-boot,chroot boots and all other ones into one place if i forget one please let me now and ill do my best to add it
Note these are not all native boots and i take no responsibility for anything that happens to your device, these are not mine either and the owners should be thanked im just bringing them together :victory:
Native Boots
My favorite and best (in my opinion) are the native boots Starting off is Ubuntu as a native boot
UBUNTU
The original creators in bringing Ubuntu to the Acer a500 first are right here on XDA netham45 and sp3dev The original thread can be found here Here
To start off on booting Ubuntu Natively you're going to need Root obviously and acer recovery installer which can be downloaded from the Android market
for the sake of this tutorial ill go over booting it off the internal storage :laugh:
1.Start by making sure you have 8gigs free of internal storage as this is how big the .rar is unpacked
2. after you download acer recovery installer youll need to flash this recovery Here
3. After that download all 3 of these .rar's onto your pc put them in a folder of there own and extract the first one they should all merge giving you one rootfs File1 File2 File3
4.once you get the rootfs move it to the home directory of your internal storage
5. power off your tab and boot into your recovery using power and volume- and your good to go
6.some tweaks you could do would be
For sound
Code:
usermod -a -G audio <your username here>
For cpu frequency scale
Code:
sudo add-apt-repository ppa:artfwo/ppa
sudo apt-get update
sudo apt-get install indicator-cpufreq
it will appear in you task bar on reboot best set to performance
:laugh:
Backtrack
Ive been told it works the same way but replacing the ubuntu.img with the backtrack.img which you can download from
http://www.backtrack-linux.org/
Cannot confirm this if someone tests it please reply back
BODHI LINUX
Bodhi Linux is another Linux brought to android with the dev being here on XDA apapousek Make sure to look at the original thread and thank it Here
There are to differant builds Alpha1 and Alpha2 ill be going over Alpha2
1.Start off by using gparted or any partitioning tool should work, and partion your micro sdcard make the first one as ext4 and make it at least 1.5gb name it bodhi make your second partition 128mb at least of fat32 format
2.mount the partitions
3.download bodhi Linux from Here
4.Extract the bodhi tarball to the root of your micro sdcard by using the commands
Code:
sudo su
cd /media/bodhi/
tar -jxvf /home/name/bodhi_alpha2.tar.bz2
5.Copy recovery.img to the second partition and flash it using Acer recovery installer from Here
6.Boot into recovery and you should be good to go
7.once booted into bodhi open terminal and type in setupwifi
CHROOT
Not as good in my opinion alot less functionality but there still fun for testing out a Linux distro and require less space without having to sacrifice your recoveryThere basically running a virtual machine on top of android to run a Linux distro all the ones I've tried have been slower so i just tend to stay away from them but feel free too XD
First of all there's a couple of different apps that will help you get it installed hassle free (for the most part)
starting off there's Linux installer standard Here
There's also Complete Linux installer with two donate versions available Here
Manual Method
There's also a more manual way of setting up chroot.
1.Make sure you have a terminal emulator Here 7zip Here and a .img file for a linux distro ill put up backtrack since it seems to work well make sure you get the ARM version of Backtrack And finally Android VNC Here
2.Download the .Img file of your choice in this case Backtrack 5 and extract it once this is done you will get another folder with bt5.img.gz and a whole other bunch files right click on the bt5.img.gz and go to extract here now copy them all into a folder called BT5
3.copy the folder called BT5 to the internal storage of your device it will be around 5gigs
4.Make sure you have Root access and busybox installed
5.Now open up your terminal emulator app and type in
Code:
su
cd/sdcard/BT5
Then hit enter and type in
Code:
sh bootbt
You should see [email protected] if it worked if it did then you can go ahead and use BT5 commands or you can get a gui by typing in.
Code:
tightvncserver -geometry 1280x800
Hit enter then type in
export USER=root
hit enter then
vncpasswd
Now its going to ask you for a password just create any random one and then verify it . After that it will ask you if you want to create a view only password hit n
6.Finally open VNC android you'll have nickname which doesn't matter port which is usually 5901 if that doesn't work try 5902 or 5903 address leave bank and make sure your connected to [email protected] just hit connect and your done one final thing to remember though is when you want to exit you have to go back to terminal and type in exit to shutdown
WINDOWS
WINDOWS95
windows is actually run through an app which emulates it i believe it has little to none drivers instaled and you cant really do much that ive found but its fun to mess around with and show off :laugh: to get this up and running is pretty simple all you have to do is.
1.Download this .rar HERE
2.Extract the folder to get a sdl.apk and a folder called sdcard move both of them to the root of your sdcard
3install the .apk and open it when shutting down though you have shutdown the right way by hiiting shutdown if you dont on reboot youll get a scandisk error
WINDOWS XP
Windows xp is even slower more useless and way more complicated to run BUT its still kinda cool to have
1.First you'll want to download everything you'll need bochs for android from HERE Sdl.zip from HERE Bochs for pc from HERE and Qumu manager for pc HERE. Last thing you will need is a windows xp.iso file not .img but .iso (ide post one but i read somewhere its ilegal to post .iso for windows :/ )
2.Download and install boch's for android on your tablet then move the SDL.zip to the root of your SDcard
3.Install Boch's and Qemu manager onto your pc
4. what you going to need to do is run a virtual machine with the .iso you have so first thing you'll want to do is once you install Boch's for your pc hit the start button then go to all programs and find the Boch's folder inside of that folder there should be a program called Disk image creation tool.
5. Next type in hd then hit enter, after that type in flat then hit enter ten after that its telling you what size you want it to be usually windows xp doesnt need more than 1.5gb so type in 1500 and hit enter then finally type in c.img and hit enter.
6. Now you want to open Qemu, once inside Qemu you want to start a new virtual machine do this by going to the vm tab and click on new virtual machine.
7.you can give it any nickname it doesnt matter just give it one and hit next.
8.Now it wants to know how much ram you want to allocate to this virtual machine 512mb to 1gb is usually fine pick and hit next.
9. Then hit finish now what you want to do is install the .iso to the blank image file but you need to specify what it is so go to the drives tab, click on Harddisk zero.
10.now you have to find the file c.img its usually located in program files/bochs you might have to make sure all files is selected in your file type bar.
11.Select thec.img file and hit ok
12. Now you want to click on your cd-rom that is your windows xp.iso file so browse and find your windows xp.iso and click ok.
13.Now your ready to run your virtual machine just hit the run button (green one) and if everything went alright you should see it start to boot up.
14. Now you'll have some on screen prompts make sure you follow them and choose ntfs file system when it prompts you to. (process will take 30min+ depending on computer speed)
15. Once your installation has been completed and your at the desktop you want to stop virtual machine. click yes end session. (i know right all that time just to spend two seconds in it)
16.Now you want to find the c.img file which is no longer blank and has windows xp installed to it. Usually in program files/bochs copy it then paste it inside the folder called sdl on your sdcard. If there is already a c.img inside of it just overwrite it.
17.okay almost done (i promise ) your going to want to copy all this code
Code:
megs: 256
cpu: count=1, ips=6000000, reset_on_triple_fault=1, ignore_bad_msrs=1
# filename of ROM images
romimage: file=BIOS-bochs-latest
vgaromimage: file=VGABIOS-lgpl-latest
vga: extension=cirrus, update_freq=25
pci: enabled=1, chipset=i440fx, slot1=cirrus
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
ata0-master: type=disk, path="c.img"
#ata0-slave: type=disk, path="d.img"
#ata1-master: type=disk, mode=vvfat, path=/sdcard/HDD, journal=vvfat.redolog
#type=cdrom, path="CD.ISO", status=inserted
boot: c
config_interface: textconfig
#display_library: x
# other choices: win32 sdl wx carbon amigaos beos macintosh nogui rfb term svga
log: bochsout.txt
sb16: enabled=1
mouse: enabled=1
sb16: wavemode=1, dmatimer=500000
clock: sync=none, time0=1
Now go to your sdcard/and go the sdl folder and find the bochssrc.txt file overwrite everything in that file with the lines of code you just copied
The megs value at the top is how much ram you want to allocate to windows xp
18 Save te text document and your ready to run windows xp just open up bochs on your phone
Miscellaneous
These are all the os's that ive found that have been duel booted but are not worth it or a tutuoriol was never released will update it as i find them.
so far the only one i know of is Armedslack thsnks to hellvy from what i know of its the same way as bodhi linux but using armedslack packages
MAC OS
Im trying to figure out old mac os and newer ones right now ill be righting a tut once i get it figured out
Just adding another distro. I'm running ARMEDslack. You can use BODHI LINUX approach for installation, but use armedslack's Mini root filesystems instead. For me, there's so many stuff i have to do after installation (mainly recompiling apps & libs) and i'm not sure if anyone interesting in Slackware distro this day. So i'm not recommend this distro unless you have too much free time and know how Slackware work
Another thing, is there anyone get nvidia display driver works? i can't see any practical step to get it working, just ac100 display driver unbuntu package. If anyone get it working, pls share xorg.conf to me
Does ext4 partition has to be the first partition or second to boot bodhi because vfat as second partition cannot be recognized by cwm recovery and I cannot copy any files from internal to external sdcard
el.quechon said:
Does ext4 partition has to be the first partition or second to boot bodhi because vfat as second partition cannot be recognized by cwm recovery and I cannot copy any files from internal to external sdcard
Click to expand...
Click to collapse
first and its not meant to be copied you haven to dd it to it sorry you can't just copy it directly i don't think and fat32 is what the second partition needs to be
gears177 said:
first and its not meant to be copied you haven to dd it to it sorry you can't just copy it directly i don't think and fat32 is what the second partition needs to be
Click to expand...
Click to collapse
it booted in to terminal but usb port didnt work so couldnt use keyboard
No need to flash the kernel to recovery partition, use my dualboot bootloader.
It booted ok for me but it wont let me login at all
Sent from my LG-MS695 using Tapatalk 2
I have a couple questions...
How well does Linux(mainly Ubuntu) run on the A500? Like is it smooth and all the various controls work well.
Does the HDMI out work? If so can you extend the desktop through the HDMI out to another screen. Like have two different windows on each screen.
Drewmungus said:
I have a couple questions...
How well does Linux(mainly Ubuntu) run on the A500? Like is it smooth and all the various controls work well.
Does the HDMI out work? If so can you extend the desktop through the HDMI out to another screen. Like have two different windows on each screen.
Click to expand...
Click to collapse
I'm not sure bout hdmi if you do all the tweaks it runs reasonably well but won't run games and still lags when opening huge programs i had it for a couple of months for the most part you can install whatever you want some programs have missing repositories and you would need to create you own but there not that common i used it for compiling c+ as i need the multiwindow to do it but it will most likely crash if you try to update it i updated it to 12.04 successfully but was then having wifi problems you wil need an external usb keynoard to set it up at first when you boot up click on the top right corner and connect to wifi before doing the setup saves you a couple of steps
gears177 said:
I'm not sure bout hdmi if you do all the tweaks it runs reasonably well but won't run games and still lags when opening huge programs i had it for a couple of months for the most part you can install whatever you want some programs have missing repositories and you would need to create you own but there not that common i used it for compiling c+ as i need the multiwindow to do it but it will most likely crash if you try to update it i updated it to 12.04 successfully but was then having wifi problems you wil need an external usb keynoard to set it up at first when you boot up click on the top right corner and connect to wifi before doing the setup saves you a couple of steps
Click to expand...
Click to collapse
gears177 can you tell me how did you fix wifi after upgrading to 12.04, are you using the ubuntu image from netham and while upgrading did you have any trouble with the packages related to plymouth
el.quechon said:
gears177 can you tell me how did you fix wifi after upgrading to 12.04, are you using the ubuntu image from netham and while upgrading did you have any trouble with the packages related to plymouth
Click to expand...
Click to collapse
i never did fix it i tried everything i could think of nthing worked i dont know it seems that its not even turning on your wifi card i dont know maybe mess around in terminal and try to turn it on with wlan0 up or whatnot im not sure maybe if i get some free time ill try again as for updating i did it in small amounts and i didnt update everything im not sure but i did have a couple of errors they might of been related to plymouth
gears177 said:
i never did fix it i tried everything i could think of nthing worked i dont know it seems that its not even turning on your wifi card i dont know maybe mess around in terminal and try to turn it on with wlan0 up or whatnot im not sure maybe if i get some free time ill try again as for updating i did it in small amounts and i didnt update everything im not sure but i did have a couple of errors they might of been related to plymouth
Click to expand...
Click to collapse
Thats it plymouth i dont know why it keeps failing to instAll and i tryed that thousand times upgrading it always break wifi
Sent from my LG-MS695 using Tapatalk 2
el.quechon said:
Thats it plymouth i dont know why it keeps failing to instAll and i tryed that thousand times upgrading it always break wifi
Sent from my LG-MS695 using Tapatalk 2
Click to expand...
Click to collapse
try installing it manually might work
sorry it took so long guys but its finally done for the most part
does netham have a source code for his kernel
el.quechon said:
does netham have a source code for his kernel
Click to expand...
Click to collapse
maybe in the original thread i didnt find one but then again i didnt really look
http://forum.xda-developers.com/showthread.php?t=1158260
Great work man! I am so happy as a huge ubuntu fan to have this tutorial here for my beloved device.
Sent from my A500 using xda app-developers app
Hey guys is there a script like v6supercharger for ubuntu
Sent from my LG-MS695 using Tapatalk 2
lifeofcoding said:
Great work man! I am so happy as a huge ubuntu fan to have this tutorial here for my beloved device.
Sent from my A500 using xda app-developers app
Click to expand...
Click to collapse
Thanks
el.quechon said:
Hey guys is there a script like v6supercharger for ubuntu
Sent from my LG-MS695 using Tapatalk 2
Click to expand...
Click to collapse
I dont believe so someone could always make one....
Backtrack works natively.
If you go on kernel-xp website there is a RTL8187 kernel for chroot which works well. Its based on acer ICS source code
Sent from my Galaxy Nexus using xda premium

[HOWTO] Backup and Restore the System Software

The recently posted rooting method for the KFHD has been great for owners to get started on modifying the device to suit their own tastes. However, I've been a little concerned about everybody jumping in without a safety net in place. There are numerous ways that this device can get bricked. Not to put all of you into a panic, but just getting an eventual OTA update from Amazon might put some of these rooted KFHDs in jeopardy. With no custom recovery on the horizon, I think it's important to have some backup/restore plan to get these devices booting again.
Overview
This backup plan involves making raw data clones of all critical storage partitions required to boot the device. These backup archives can then be stored somewhere off the device. In case of some critical failure that prevents the device from booting normally, these archives can be used to get the device booting normally again. The restore procedure requires the use of fastboot to write the backup archives back to their proper partitions. The use of fastboot requires a working bootloader, so the device will need to boot to the bootloader's bootlogo at a minimum. If the device has a broken bootloader, this guide will not be helpful. There's currently no working procedure for repairing a broken bootloader on the 2nd generation Kindle Fire devices.
To be clear, this guide is not a backup/restore plan for your data. This is strictly for backing up the system software while in a bootable state and recovering it if some modification bricks the device. This procedure has been tested on a KFHD with system software version 7.1.1. Although I have not tested it, I'm nearly certain it will work just fine on version 7.1.5. If the KF2 has the same partition layout as the KFHD, there's no reason why it shouldn't work for that device as well. Check the post on KFHD partitions for details.
Warning: Everything below is inherently dangerous and can potentially brick your device if they are not executed properly. I have tested various aspects to the best of my ability, but you assume all responsibility for performing any of these steps.
Backup
Attached is a small shell script written to do the following…
Make a "kindlebackups" directory in /sdcard (if necessary) and make it user read/writeable.
Create gzipped backup archives of partitions 1 through 11. This includes all partitions except /cache and /data.
Make all archive files user read/writeable.
The entire backup (stock) takes up approximately 550 MB, so be sure to have at least that much available in /sdcard. Root privileges are required for the script to run properly. The best time to use this script is after step two of the published rooting procedure. That's after the second reboot of the process when the device boots up in emulation mode and allows root access for the first time. At this point, the system partition is completely stock and has not been exposed to any modifications. Even if you are past this point, the backups will still be useful for any bootable state that allows root privileges.
Download the script, unzip and place it into your current working directory where you still have access to adb, then run the following adb commands to copy the script to the Kindle Fire and prepare it to be executed...
Code:
adb push backup.sh /data/local/backup.sh
adb shell chmod 777 /data/local/backup.sh
If the device is in the process of being rooted and it has just finished rebooting for the second time...
Code:
adb shell /data/local/backup.sh
If the device has already been rooted and the su binary is available on the system...
Code:
adb shell su -c "/data/local/backup.sh"
The entire process should take approximately 5 minutes. Once the script has completed the backup, access the Kindle Fire's storage area from your computer, then copy the contents of the "kindlebackups" folder to it. The "kindlebackups" folder may be deleted after transferring to your computer.
Restore
To begin the restore procedure, the device must be put into fastboot mode. My factory cable did the job for me, so I have not explored the possibility of changing bootmodes. I developed this guide on a borrowed KFHD and I do not intend to risk the device more than necessary. Unless someone comes forward with a procedure to change bootmodes into and out of fastboot mode, I'm going to say that a factory cable is required for the time being. Besides, based on my experience with the original Kindle Fire, a broken system almost always means there is no way to change the bootmode through it. Since this procedure will very likely be used on a device that cannot boot completely or otherwise has a bad system, a factory cable will probably be the only way into fastboot mode. If you plan to root or modify your system software, invest in a factory cable.
Use the factory cable (with the device turned off, plug into the device, then the computer) to get to fastboot mode. If successful, a "fastboot" logo will take the place of the original "kindle fire" logo.
Decompress the gzipped archive to be flashed… Linux users have gunzip, Mac OS X users also have gunzip and a built-in GUI utility, and Windows users can use 7-zip. The archive must be decompressed before flashing. Skipping this step will brick your device.
Flash the image file(s) back to the device. In most cases, the device will just have to get a working system partition flashed back to it, but the others are available if they are needed. To flash the system partition...
Code:
fastboot -i 0x1949 flash system system.img
- Optionally erase the cache and/or userdata partitions if the contents of either interfere with the operation of the system software. The system will rebuild them on reboot…
Code:
fastboot -i 0x1949 erase cache
fastboot -i 0x1949 erase userdata
Once the process is complete, long-press the power button (~20 seconds) until it powers down, unplug the factory cable, and power the device back up.
Good luck.
Thanks kinfauns. I appreciate everything you did for the original kindle fire. This should help a lot of people.
Sent from my Kindle Fire
My kindles /system directory is already screwed. Do you have a system.img file I can use?
Sent from my Galaxy Nexus using xda app-developers app
When i boot my kindle fire hd to fastboot (by factory cable) and connect it to pc, pc can't recognize kindle, it don't have driver for it.
Could anybody post his clean backup here? Screwed my kindle, want go back to stock. Backup is only way.
Copying kindlebackup folder
Thanks for the script - the backup procedure was smooth -
I couldnt find the kindlebackups folder while browsing through my PC and for others like me who wonder how to take these out of your KFHD, here is a simple way - I used a program called Wondershare MObilego (Manage SDcard option under more tools) Backing up was a cakewalk.
I have no affiliation to this tool maker - Just sharing a way that helped a n00b like me. (First rooting experience)
Thanks for the efforts!
BTW, will a backup from a clean device work for other devices instead of the same one which the backup was created from? Just wondering if people who have already fiddled around their root devices can get a fresh start.
vuhai6 said:
When i boot my kindle fire hd to fastboot (by factory cable) and connect it to pc, pc can't recognize kindle, it don't have driver for it.
Click to expand...
Click to collapse
I don't know if anybody has packaged the device drivers set up for this device. If nothing else, you can get the device driver installer in the "Kindle Fire Utility" for the original KF and use that. You just have to change the PID from 0006 to 0007 before installing it and should work. Refer to this post if you still have problems...
http://forum.xda-developers.com/showpost.php?p=23747671&postcount=2
for device driver information. Again, written for the original KF, but the process for installing device drivers is the same. Only the PID is slightly different and that should get edited in the INF before installation.
ceebu said:
Thanks for the script - the backup procedure was smooth -
I couldnt find the kindlebackups folder while browsing through my PC and for others like me who wonder how to take these out of your KFHD, here is a simple way - I used a program called Wondershare MObilego (Manage SDcard option under more tools) Backing up was a cakewalk.
I have no affiliation to this tool maker - Just sharing a way that helped a n00b like me. (First rooting experience)
Click to expand...
Click to collapse
Glad to hear it worked out for you. I am not familiar with that program, but the KFHD should connect automatically to a Windows device as external storage... does it not?
dreamcryer said:
Thanks for the efforts!
BTW, will a backup from a clean device work for other devices instead of the same one which the backup was created from? Just wondering if people who have already fiddled around their root devices can get a fresh start.
Click to expand...
Click to collapse
I have not tested this and don't have a way to do so. I have some concerns about it, but I'm sure someone desperate enough will jump in and try it out. I know it's too late for some, but my suggestion is for everybody to make a backup if you can and not rely on someone else to give you archives after the fact. It's better to have your own backups.
Not recognized
My kindle is also not recognized when plugged in
kinfauns said:
I don't know if anybody has packaged the device drivers set up for this device. If nothing else, you can get the device driver installer in the "Kindle Fire Utility" for the original KF and use that. You just have to change the PID from 0006 to 0007 before installing it and should work. Refer to this post if you still have problems...
http://forum.xda-developers.com/showpost.php?p=23747671&postcount=2
Click to expand...
Click to collapse
But pc don't recognize as Kindle, it as Tate-PVT-08 (sorry, i use mac cho screenshot, but windows too)
vuhai6 said:
But pc don't recognize as Kindle, it as Tate-PVT-08 (sorry, i use mac cho screenshot, but windows too)
Click to expand...
Click to collapse
I know that the vendor id is correct.
Sent from my Kindle Fire
kinfauns said:
Glad to hear it worked out for you. I am not familiar with that program, but the KFHD should connect automatically to a Windows device as external storage... does it not?
Click to expand...
Click to collapse
I was only able to see the contents of /sdcard using windows...
Sent from my GT-I9100 using xda app-developers app
cesdev89 said:
My kindle is also not recognized when plugged in
Click to expand...
Click to collapse
Then you're first going to have problems getting root privileges. You need to get adb working before you attempt any part of rooting or backing up with this procedure.
vuhai6 said:
But pc don't recognize as Kindle, it as Tate-PVT-08 (sorry, i use mac cho screenshot, but windows too)
Click to expand...
Click to collapse
This is the correct "product" reported by the KFHD. This and the product ID (0007) are the only differences between the KFHD and the original when it comes to installing the device drivers on Windows.
ceebu said:
I was only able to see the contents of /sdcard using windows...
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
/data/media and /sdcard are essentially the same thing (see the second post in this thread for an explanation of why this is the case). You should have seen kindlebackups in that directory.
kinfauns said:
You should have seen kindlebackups in that directory.
Click to expand...
Click to collapse
For some reason I didn't see it there, on hindsight I guess I panicked a bit (n00b) and fell back to the solution I already had.. (been using mobilego to manage my sgs2)..
Sent from my GT-I9100 using xda premium
kinfauns said:
I don't know if anybody has packaged the device drivers set up for this device. If nothing else, you can get the device driver installer in the "Kindle Fire Utility" for the original KF and use that. You just have to change the PID from 0006 to 0007 before installing it and should work. Refer to this post if you still have problems...
http://forum.xda-developers.com/showpost.php?p=23747671&postcount=2
for device driver information. Again, written for the original KF, but the process for installing device drivers is the same. Only the PID is slightly different and that should get edited in the INF before installation.
Glad to hear it worked out for you. I am not familiar with that program, but the KFHD should connect automatically to a Windows device as external storage... does it not?
I have not tested this and don't have a way to do so. I have some concerns about it, but I'm sure someone desperate enough will jump in and try it out. I know it's too late for some, but my suggestion is for everybody to make a backup if you can and not rely on someone else to give you archives after the fact. It's better to have your own backups.
Click to expand...
Click to collapse
I'm ready to try
Didn't show at first
Kindlebackups showed up in root browser right away, but didn't show on PC until I rebooted KF2. So now should
I decompress and put in folder containing ADB?
Yuretz said:
Could anybody post his clean backup here? Screwed my kindle, want go back to stock. Backup is only way.
Click to expand...
Click to collapse
I got the same situation, could anyone kindly help to provide a backup?
Same here ... just need the system image ... Please
I'd appreciate it if everybody would refrain from making this a "beg for a system image" thread.
strat6 said:
Kindlebackups showed up in root browser right away, but didn't show on PC until I rebooted KF2. So now should
I decompress and put in folder containing ADB?
Click to expand...
Click to collapse
You can put the the images wherever you want, but you'll need to specify the path to the file. For example, if you are using Windows and put the kindlebackups directory on C:, you just need to modify the command to...
Code:
fastboot -i 0x1949 flash system C:\kindlebackups\system.img
Thank you for posting how to do this. It opens a lot of doors with at least a little security.
I made a backup earlier without a problem, then went ahead and made myself a factory cable(easy to do and worked great- old asus usb cable, 1k resistor, soldering iron, shrink tape and voila!). I feel much better about doing any mods to this device now knowing I can just flash my backup.

how to recover deleted files in Nexus 4 ?

hello
all my files gone after i installed stock factory image .. is there anyway to recover them ?
AW: how to recover deleted files in Nexus 4 ?
Hello,
If the files you mean was on an external sd card, take that one directly out and use your pc to rescue the files. Google for sd card undelete. There are so many programs out there...
It's really important to keep in mind, that you can only rescue that files that sectors are not overwritten by new stuff. But you will see that by using such a software.
A good one is "runtime get data back for ntfs & fat" search for it.
And remember to push thanks if I can help you - sorry for my bad english.
----------------------------------
.\\ario
SGS2
Nova Prime Launcher
Kernel: latest Dorimanx
merlin21 said:
Hello,
If the files you mean was on an external sd card, take that one directly out and use your pc to rescue the files. Google for sd card undelete. There are so many programs out there...
It's really important to keep in mind, that you can only rescue that files that sectors are not overwritten by new stuff. But you will see that by using such a software.
A good one is "runtime get data back for ntfs & fat" search for it.
And remember to push thanks if I can help you - sorry for my bad english.
----------------------------------
.\\ario
SGS2
Nova Prime Launcher
Kernel: latest Dorimanx
Click to expand...
Click to collapse
thx but nexus 4 have internal storge not external
AW: how to recover deleted files in Nexus 4 ?
Don't know if it works when you connect to pc as mass storage device?! Perhaps..
----------------------------------
.\\ario
SGS2
Nova Prime Launcher
Kernel: latest Dorimanx
refer to this thread:
works for N4, but you must find the correct number. think is mmcblk0p23 instead of mmcblk0p12
http://forum.xda-developers.com/showthread.php?t=1994705
merlin21 said:
Don't know if it works when you connect to pc as mass storage device?! Perhaps..
----------------------------------
.\\ario
SGS2
Nova Prime Launcher
Kernel: latest Dorimanx
Click to expand...
Click to collapse
Nexus4 doesn't not have mass storage device mode, it uses MTP.
ngsngn said:
refer to this thread:
works for N4, but you must find the correct number. think is mmcblk0p23 instead of mmcblk0p12
http://forum.xda-developers.com/showthread.php?t=1994705
Click to expand...
Click to collapse
I tried this for build JDQ39. It did not detect any file. I guess *evil* google is zeroing out the data now.
-juanito- said:
hello
all my files gone after i installed stock factory image .. is there anyway to recover deleted files in Nexus 4 ?
Click to expand...
Click to collapse
You can try the Myjad Android Data Recovery to recover deleted files on Nexus 4.
Step 1: First you need to connect your Android phone to computer, just via a USB cable.
Step 2: When the program detects your Android device, press the "Scan" button to start scanning all lost data including photos, videos, audio files, etc.
Step 3: After the scanning, all the fount data are categorized by file types, you can preview the photos, click the "Recover" button to get back files one per time or in batch.
armstrongcobb said:
You can try the Myjad Android Data Recovery to recover deleted files on Nexus 4.
Step 1: First you need to connect your Android phone to computer, just via a USB cable.
Step 2: When the program detects your Android device, press the "Scan" button to start scanning all lost data including photos, videos, audio files, etc.
Step 3: After the scanning, all the fount data are categorized by file types, you can preview the photos, click the "Recover" button to get back files one per time or in batch.
Click to expand...
Click to collapse
For some reason, Myjad Android Data Recovery and other recovery programs I have tried don't recognize my phone. Any idea why that is and/or how to resolve the issue?
AcePrimed said:
For some reason, Myjad Android Data Recovery and other recovery programs I have tried don't recognize my phone. Any idea why that is and/or how to resolve the issue?
Click to expand...
Click to collapse
An old thread, but the app diskdigger worked very well for me with the help of coreFTP on the PC
Just Google Android Data Recovery to get a program to help you recover
If you flash the stock image, your data partition including the internal sdcard gets overwritten. That's why the recovery tools are not working.
They might only work if the filesystem gets corrupted, you accidentally delete stuff our quick format the partition - hence the data is still there but not referenced in the filesystem table anymore.
Data recovery, Nexus 4
Sad to say but if you are on Android 4.3, Build JWR66Y, Google has enabled 'TRIM' for managing data on the NAND flash drive for your nexus 4 memory, and recovering data from a TRIM enabled drive is almost impossible as of now.
Though, if you are on Android 4.2, there are some softwares to recover data but is tricky for an unrooted Device as one cannot recover data via MTP/PTP.
Hi
plz Help
I lose my data after stock flash. any way to recover??
pmazny said:
Hi there, I once accidentally deleted my sdcard and I used DiskDigger to get my stuff back. Its such an amazing app as it got all my music and images back.
Sent from my Nexus 4 using XDA Free mobile app
Click to expand...
Click to collapse
It does not work for me!
not other way? no one?
memi_pt said:
It does not work for me!
not other way? no one?
Click to expand...
Click to collapse
Sorry to say this again, but if you flashed the factory image without changing the flash-all script, the answer is no. It's called "image" because it contains a mirrored image of the whole system, not just individual files. So flashing it completely overwrites your memory from first to last bit.
How recovering deleted files usually works:
When you delete a file the system just marks the place where it's stored as free. It doesn't actually delete it. So until that place is taken by another file it will still be there and can be recovered by said software. Once it gets actually overwritten it's finally gone.
Before try an recovery app named DiskDigger. If it doesn't work try the second method (with cygwin and recovery pc-app) recovery more files (follow the link below). In addition , block meemory of data partion, you can use on many differents programs of recovery (recuva, photo rec,...) to succed recovering your files.
http://forum.xda-developers.com/gal...de-internal-memory-data-recovery-yes-t1994705
the method is roughly this:
-install cygwin in c:\cygwin. Don't forget installing pv and util-unix packages
-copy adb drivers and unzipped ncat in c:\cygwin\bin.
adb drivers are in \adt-bundle-windows-x86_64-20130717\sdk\platform-tools
the link for zipped ncat: http://www.daemon.de/idisk/Apps/netcat-openbsd-cygwin/netcat-openbsd-win32-1.10.2.3.tar.gz
-follow the method describe on http://forum.xda-developers.com/gal...de-internal-memory-data-recovery-yes-t1994705. But be careful to apply these modifications:
-replace mmcblk0p12 by mmcblk0p23 in this line
/system/bin/busybox nc -l -p 5555 -e /system/bin/busybox dd if=/dev/block/mmcblk0p12
-replace nc by ncat in this line:
nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p23.raw
for recovery program in windows, i try recuva and photo-rec. Photo-rec is better:
Select "Msft Virtual Disk".
In menu options, switch Paranoid and "Keep corrupted files" to YES
Select for partition "Unknown [Whole disk]".
Select système files ext3.
and select where in your computer the program must save the recovery file
this method is not efficient in 100%. It's better than nothing and we can keep hope.
But with luck, faith and speed (use it just after an error deleting) we will recovery your important files (photo, music, video)... perhaps
I find all thes informations on two forums:
http://forum.xda-developers.com/gal...de-internal-memory-data-recovery-yes-t1994705
http://forum.frandroid.com/topic/16...s-en-mémoire-interne/?hl=+cygwin#entry3025139.
Thanks to its authors.
CoreFTP
floepie said:
An old thread, but the app diskdigger worked very well for me with the help of coreFTP on the PC
Click to expand...
Click to collapse
Hey, could you please tell me how to use the core FPT with the diskdiggeer to recover lost photos and data from my Nexus 4.
Thanks in advanced.
You can use this command,, :
/system/bin/busybox nc -l -p 5555 -e /system/bin/busybox dd if=/dev/block/vold/mmclbk0
Click to expand...
Click to collapse
after you type su command on cygwin terminal.
IT WOrk's...

How can I access & write to my /data partition

Hi,
My tablet was having some issues yesterday and wouldn't turn on, so I managed to do a factory reset, planning on restoring everything from Titanium Backup (from my TWRP backup), however, when I look at my TWRP Backup in TiBu, there doesn't seem to be anything there?
However, when I copy the data.win file to my computer and extract it, I can see all the files and I would like to try and copy some of the saves back to my data partition, however, I can't seem to find a way to find it or write to it?
Any ideas?
Stewart
There are many possibilities, on of them:
- boot Nexus 7 into recovery mode
- connect the Nexus 7 with USB to you PC
- mount /data in recovery
- adb push the files / directories you want to restore to the /data partition
- ...
There is only one problem: as you have done a factory reset / wipe the corresponding apps are no longer installed and even if you install them again,they will get a different uid so that the restored data is no longer accessible to them. Probably fix_permissions can help in that situations, but I didn't try yet.
AndDiSa said:
There are many possibilities, on of them:
- boot Nexus 7 into recovery mode
- connect the Nexus 7 with USB to you PC
- mount /data in recovery
- adb push the files / directories you want to restore to the /data partition
- ...
There is only one problem: as you have done a factory reset / wipe the corresponding apps are no longer installed and even if you install them again,they will get a different uid so that the restored data is no longer accessible to them. Probably fix_permissions can help in that situations, but I didn't try yet.
Click to expand...
Click to collapse
Ah ok, that sucks!
Is there not anyway I can use an Android based GUI tool to copy the files from my SDCard to /data.
I am not the best with adb, but I imagine the command would be "./adb push <insert file name here> /data/com.bigideas.swys/files", would that work?
Cheers
Stewart
Yes, that should work. Unfortunately I don't know any tool providing the functionality you are looking for.
Sent from my Nexus 7 using xda app-developers app
Ummm... how about you restore it in TWRP like you're supposed to?
Sent from my SGH-I777 using xda premium
TWRP should work, too, but if I remember well, the USB id is different, so you might get problems with adb if you do not have the correct driver installed.
To push a file to the device:
- unzip/untar data.win on your PC
- boot device to recovery
- on PC cmd-line:
- adb shell mount /data
- adb push <file_or_dir_to_push> /data/
But as I said, most likely it's not enough ...
Sent from my Nexus 7 using xda app-developers app
korockinout13 said:
Ummm... how about you restore it in TWRP like you're supposed to?
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
Because that caused it to stop booting like it did when it first powered off!
Sent from my Nexus 4 using Tapatalk 2
StuMcBill said:
Because that caused it to stop booting like it did when it first powered off!
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
The data.win file is just a tar archive. You can extract whatever you want, although there are a couple caveats:
- the .tar archives seem to be absolutely rooted (e.g. /foo/bar instead of ./foo/bar) so you might need to fool with -C or other tar command line options to get the result you are after.
- while you certainly could use 7-zip or similar to unpack the archive and cherry pick whatever you want on a Windoze box, you probably ought to do offline unpacking using Linux so you don't lose file permission settings. An alternative would be to unpack on the device itself to someplace such as /data/local/tmp using your preferred terminal emulator (or adb command line) and busybox combination. Then you can adjust ownership via "chmod -r" as needed and "mv" to move your cherry picks into place. Note you also need to pay attention to /data/app-lib/* in addition to /data/data/* and /data/app/* cherry picks.
- To reiterate about file ownership, probably what you should do is install only the .apks you want first, and then after rebooting, note the assigned user/group IDs chosen for each app install, and change the restored /data/data/* and /data/app-lib/* files to that uid.
Confused? Well, you asked. Look up a decent Linux administration guide for clarification.
good luck

[Q] Nexus 4 File Transferring Issue

My computer recognizes my nexus 4, but I can't seem to copy a large amount of files. Or to be honest copy certain files. For example, pictures on my nexus 4 show up fine, but if I connect it to my computer and copy it to my computer it will show up as 0 bytes. Can't open the file at all. I have switched between MTP and PTP. (Only MTP allows me to access my nexus 4, but not PTP.)
I've made a nandroid back up for my phone ( just in case ) but can't back it up to my computer. File size on the device is 896 MB and when copied to the computer it only shows up as 22.0 MB. I have tried airdroid, es file explorer, and even wifi file explorer to try to copy these files to my computer, but when it does copy over it still shows up as 22.0 MB. I also did try copying with usb debugging off and on and same problem. Different usb ports and even a different computer still the same problem happens.
I'm stock on 4.3, rooted, boot loader unlocked, and have twrp recovery. Thanks in advance for any help!
edit : adb pull worked fine. ( just needed to install the correct drivers ) thanks!
Zip your nandroid backup folder in your phone and then send it across to your PC.. You can use adb pull command to copy files from your device to PC.. Obviously, you need to enable USB debugging and installed proper drivers for this to work
Sent from my Nexus 4 using Tapatalk 4
Which Operating system ?
ytv said:
My computer recognizes my nexus 4, but I can't seem to copy a large amount of files. Or to be honest copy certain files. For example, pictures on my nexus 4 show up fine, but if I connect it to my computer and copy it to my computer it will show up as 0 bytes. Can't open the file at all. I have switched between MTP and PTP. (Only MTP allows me to access my nexus 4, but not PTP.)
I've made a nandroid back up for my phone ( just in case ) but can't back it up to my computer. File size on the device is 896 MB and when copied to the computer it only shows up as 22.0 MB. I have tried airdroid, es file explorer, and even wifi file explorer to try to copy these files to my computer, but when it does copy over it still shows up as 22.0 MB. I also did try copying with usb debugging off and on and same problem. Different usb ports and even a different computer still the same problem happens.
I'm stock on 4.3, rooted, boot loader unlocked, and have twrp recovery. Thanks in advance for any help!
Click to expand...
Click to collapse
Which operating system are you in ? For windows you need proper drivers, for OSX you need not have any drivers. Since you don't talk about Android file transfer app, I think you must be on Windows. In that case take a look at Nexus 4 tool kit, they might have different USB drivers .
Hm. I did install 4.3 manually (used adb to install) so I can only assume that I have correct drivers. I did try adb pull, but same results. I'll try to zip the directory for the backup and then adb pull. Will post back tomorrow with results ty!
Sent from my Nexus 4 using xda app-developers app
ytv said:
Hm. I did install 4.3 manually (used adb to install) so I can only assume that I have correct drivers. I did try adb pull, but same results. I'll try to zip the directory for the backup and then adb pull. Will post back tomorrow with results ty!
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
You must have used fastboot while installing 4.3, I think in windows fastboot drivers are different. In other words, with wrong USB drivers fastboot could work on windows I guess. I'm not Mac. So I'm not certain, sorry.

Categories

Resources