Related
Hi!
I read how to make Data2System rom. (http://forum.xda-developers.com/showpost.php?p=14047481&postcount=14)
I try it and it works so good. I wrote a script which do that steps automatically. There is one more difference. Now the script don't flash your rom, just transform the selected nandroid backup. So you don't lose any of your data.
1. Download this zip, and unpack it to your linux running computer.
2. Backup your rom in recovery, and copy the folder (clockworkmod/backup/<yourbackup>) from your phone to the directory where you unpacked the zip.
3. Rename in data2system <yourbackup> folder to <yournewbackup>. Take care <yournewbackup> don't contain spaces.
4. Open a terminal, and type cd <the unpacked folder> (e.g. /home/user/data2system).
5. Type ./data2system <yournewbackup>, check the output in terminal. It should be something like this:
Extract boot.img
806 blocks
Command line: mem=214M console=ttyMSM2,115200n8 androidboot.hardware=swift
End extract boot.img
Change boot configuration
Pack boot-new.img
Resize boot-new.img
Boot image prepared
System and data images replacedIf you get any errors, try this tutorial again!
6. Done, copy back, and you can make a restore It works if:
you have a nandroid backup
your system.img is not bigger than your data partition on your phone
Download zip here: http://dl.dropbox.com/u/18578045/Data2system.zip
If you do it again with the changed backup in practice you'll get your original backup.
Awesome. Gonna try this out.
This doesn't work!!
did you even try it yourself??
i followed everything carefully
data2system is not a recongised command
Because you have to type ./data2system <the name of the folder> and not .\data...
AND check that on your computer is running LINUX
vkrissz said:
Because you have to type ./data2system <the name of the folder> and not .\data...
AND check that on your computer is running LINUX
Click to expand...
Click to collapse
i did that and how do i check if i have linux?
how do i install it?
i am windows 7
Linux is a kind if OS.
Did you heard about Google? You can find for example how to install Ubuntu. Ubuntu is just one of linux OSs. You can run it in virtual machine, or just boot from live cd, or install instead of windows, or install to another partition beside the windows.
androidboss7 said:
i did that and how do i check if i have linux?
how do i install it?
i am windows 7
Click to expand...
Click to collapse
I dont wanna be rude, but I have to ask is this serious?
delsus said:
I dont wanna be rude, but I have to ask is this serious?
Click to expand...
Click to collapse
yes i am being serious!!
I know a little about android and computers!!
androidboss7 said:
yes i am being serious!!
I know a little about android and computers!!
Click to expand...
Click to collapse
Well Linux is an open source operating system, there are alot of differant distributions of it, (infact Android is based on Linux) you can download most distributions of it free, a few are Ubuntu (which I have in a VM) Fedora, Back Track and Red Hat (paid).
It is recommended to either dual boot your PC or run Linux in a virtual machine because program compatibility isnt great with it although you can use emulators to run programs like wine.
The switch from Windows to Linux isnt easy though especially if your not great with computers because there is so much differant.
Here is a download link for ubuntu and VMWare player (both free) for you to try out, and the data2system method in this post will work.
http://www.ubuntu.com/download
http://www.filehippo.com/download_vmware_player/
PM me if you need instructions to install and run them
delsus said:
Well Linux is an open source operating system, there are alot of differant distributions of it, (infact Android is based on Linux) you can download most distributions of it free, a few are Ubuntu (which I have in a VM) Fedora, Back Track and Red Hat (paid).
It is recommended to either dual boot your PC or run Linux in a virtual machine because program compatibility isnt great with it although you can use emulators to run programs like wine.
The switch from Windows to Linux isnt easy though especially if your not great with computers because there is so much differant.
Here is a download link for ubuntu and VMWare player (both free) for you to try out, and the data2system method in this post will work.
http://www.ubuntu.com/download
http://www.filehippo.com/download_vmware_player/
PM me if you need instructions to install and run them
Click to expand...
Click to collapse
thanks bro!!
but i think this is a bit too complicated for me!
but i have 1 question!
if i use mur4iks bootloader to resize my partitions like this (or whatever)
150 system partition and 234 data partition
is that still like data2system??
androidboss7 said:
thanks bro!!
but i think this is a bit too complicated for me!
but i have 1 question!
if i use mur4iks bootloader to resize my partitions like this (or whatever)
150 system partition and 234 data partition
is that still like data2system??
Click to expand...
Click to collapse
Its 2 different things. When you change bootloader it really resize your partitions. It take effect until you change it again.
This script (Data2system) only change one of your nandroid backups. So when you flash a new rom, or restore one of your elder backups the system partition will be the original partition. Its safer then change the bootloader, but it take effect only for one backup.
For you: if your data partition size is 234 and your system is 150 (because you change your bootloader) and then you do Data2system. On that rom you will have only 150 data.
Data2system is for someone, who need more space, but don't want to resize partitions or change bootloader.
09/01/2012:
this tutorial may work for those who are having encryption issues on ics or jb roms (the error is related to mmcblk0p2(data))
well, after some months of work, here´s an tutorial about how to fix the mostly common sdcard issues.
1º Of all :***Be sure of what you´re doing,or else you can corrupt the partition table of you sdcard/brick your phone,and I´ll not be responsible of it***
2º-Do Not send me PMs, post here so everyone that have the same problem can now how to fix it.
3º-If you are an starter, you can post here your questions,but be sure that you haven´t found answers on Google or other threads.
and 4º-Read ALL topic before start and try one solution than the other,they´re in order of difficulty and risk of get an "permanent" brick.
0 - Always backup your EFS folder, maybe its not related to this thread but it´s also very important to remember.
I -If you have a folder called "voodoo" in your sdcard, you may have voodoo enabled on your ROM, so be sure of disabling it before trying a new rom or a stock rom.
if you´re on another rom already and having problems in mounting partitions, try to flash you last rom or a kernel that supports voodoo and it´s compatible with your new rom.
II-If you´re getting problems in mounting DBDATA,Download a full rom that contains DBDATA to flash with odin(or only flash dbdata,but you´ll have to do a full wipe later). To see if it haves dbdata.rfs by opening your .tar file in 7zip or others.
III-If you´re getting Can´t mount data (dev/block/mmcblkl0p2) File exists, try to flash an kernel with voodoo suport,if it still the same, format data in the menu of your recovery.
IV-If you´re getting can´t mount sdcard (/dev/block/mmcblk0p1)File exists, try to access it via ADB and send pull file command to recover your files(must have root),if you could do that, so try to format it via recovery.If not work,Download gparted, burn it on cd (it´s an CD with a tool of linux) and go to ADB shell to run this command:
su
echo /dev/block/mmcblk0 > /sys/devices/platform/s3c-usbgadget/gadget/lun1/file
now
reboot your PC in gparted and format mmcblk0p1(it´s the first partition) in FAT32.
Done
V-If you´re getting cant mount sdcard (/dev/block/mmcblk0p1) with (invalid argument) You can try the fix IV and see if it works,if not, proceed to VI.
VI-If you´re getting cant mount data(dev/block/mmcblk0p2) or can´t mount sdcard (/dev/block/mmcblk0p1) with (invalid argument) or (no such file or directory) you may have to do this:
***search on google for 'fdisk' commands first***
You MUST*¹ remake your partition table manually,so the phone have the /data partition back to boot.
*¹
In some cases you can use gparted to do this, without doing it manually,
you shoud only mount mmcblk0 before.
you can run this command line on adb shell to mount it:
echo /dev/block/mmcblk0 > /sys/devices/platform/s3c-usbgadget/gadget/lun1/file
You Will have to format it and it MUST have the partitions as said below.
YOU SDCARD MUST HAVE THE FOLLOWING PARTITION TO BOOT ON AND RECOGNIZE INTERNAL SDCARD:
/dev/block/mmcblk0p1
AND
/dev/block/mmcblk0p2
Start:
Open ADB,comnect your phone and proceed.
run adb shell
su
fdisk /dev/block/mmcblk0
p (you should see your partition table,POST HERE BEFORE CONTINUING)
YOU ARE NOW ABOUT TO REMAKE YOUR PARTITIONS:
partition 1 will correspond to mmcblk0p1(SDcard) and partition 2 will correspond to mmcblk0p2 (DATA)
**DO ONLY AS I SAY HERE, UNLESS YOU MAY GOT I/O ERROR ON YOUR SDCARD AND ITS ALL OVER. I say because it happened to me and i had to dissolder the internal sdcard an use only the external.**
**********IF YOU DONT HAVE ANY IDEA OF LINUX COMANDS: DO NOT PROCEED !!!!!!!!!*************
tap on adb:
n (will create a new partition)
1 (partition number)
press enter on keyboard so it selects the first block
get a calculator and estimate the size of the partition 1.IT MUST HAVE around 2GB left.
write the block number you got in calculator(BE SURE OF WHAT YOU TAPE HERE)
t
b (partition 1 is done and formatted as fat 32)
Now again:
n
2
enter on keyboard
enter again so it select the last block
(DO NOT TYPE COMMAND "T" FOR PARTITION 2, IT BY DEFAULT SET TO LINUX EXT FORMAT)
p (you will see you new partition table)
****IT MUST HAVE 2 partitions, partition 1 is in fat 32 format and partition 2 is in linux format(AND MUST HAVE AROUND 2GB)****
w (IT WILL WRITE YOU NEW PARTITION TABLE ON YOU SDCARD,SO BE SURE IT's ALL CORRECT)
Done,
now tap:
q
fdisk /dev/block/mmcblk0
p (you should see your new partition table, if ok reboot your phone, flash an stock rom for vibrant (I sugest an T959UVJFD ROM only to correctly format your partitions),root it,backup it,and enjoy,You can put a custom rom if you want so.)
If You have an error That does not appear here and you think it may me related to you sdcard just ask. In one or two days I or others developers may post here a possible solution.
Thanks For Google and some XDA users who indirectly helped me doing this.
You can try Paragon Hard Disk Manager in place of gparted
but remember: mmcblk0p1 is FAT32 and mmcblk0p2 in EXT2 (in truth it´s not EXT2, its in rfs, but the stock rom T959UVJFD is the only that I have absolute sure that will do the conversion).
Sorry for my bad english, it´s not my native language.
Great post doiiido!
Hay doiiido, you have been thanked and this post has been added to the [REF][KERNEL] ✰ The Official Vibrant Kernel ßible Thread ✰ → 07/05/12.
Great post!
News
Original pos by: ferhanmm
link to it:
http://forum.xda-developers.com/showthread.php?t=1665123
[FIX] Data wipe error or Can't mount /dev/block/mmcblk0p1
Data wipe error, Can't mount /dev/block/mmcblk0p1, or Vibrant screen boot loop even after flashing stock odin JFD phone will not boot. Phone will only boot Eugenes JK2 but internal and external storage will still list as corrupted and Lists 0.00 MB in storage.
Internal storage has been destroyed, I’ve been able to fix a phone using this technique to be mostly working. The external SD card will always have to be in the phone for this to work.
1. Partitioning the MicroSD Card
Get an 8gb(or larger) micro sd card. Class 10 would be better here. Put it into a Card Reader, then run Gparted.
Gparted (usb method is easiest) - http://gparted.sourceforge.net/liveusb.php
Using Gparted, delete everything else and create 2 partitions and :
6000mb FAT32 as PRIMARY
1607mb(remainder) Reiser as PRIMARY
2. Flash to Stock
Open up Odin flash stock JFD with pit file and repartition checked.
After phone boots completely, power off.
3. Flashing CM9
Take MicroSD out of phone an put it in pc, then copy update.zip, GAPPS, Cyanogenmod Rom all to the FAT32 partition that we created earlier. In Windows it should show up where all of your drives are listed in.
update.zip (https://www.dropbox.com/s/ju5eg5ernxcaqpt/update.zip),
GAPPS (http://www.goo-inside.me/gapps/gapps...317-signed.zip)
CyanogenMod Rom Zip(http://download.cyanogenmod.com/get/...mtd-signed.zip)
Enter recovery mode with volume buttons and power.
Reinstall packages twice.
Install zip from sd card select update-cm-9-20120520-nightly-vibrantmtd-signed.zip phone will boot loop on vibrant screen so take out the battery then enter recovery a second time installing the cm9 update again.
Then flash Gapps zip the same way.
When phone boots up camera, and gallery will not work until the next step.
4. Edit Vold.Stab file
Downlad ES File Explorer from play store.
Hit Menu button, settings, Check box for Root Explorer, Check box for mount file system, check box for Up to Root
Press Up once, you should now be at "/"
Open system directory, open etc directory, scroll to bottom and select Vol.fstab, select Text, Select ES Note Editor, update text to the following:
#internal sdcard dev_mount emmc /mnt/sdcard 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
#external sdcard dev_mount sdcard /mnt/emmc auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
After edits, click back and click yes to save changes. Exit out of es file explorer and restart phone. Post results:
Should work with any version of CM9, newer nightlies would obviously be preferred. Will make more detailed guide soon.
Credit to these guys for providing the solution -
http://www.youtube.com/watch?v=zdMhYYdMB08
http://forum.xda-developers.com/show....php?t=1447303
Samsung Vibrant
News
Original post by:
draikz
Link to original post:
http://forum.xda-developers.com/showthread.php?t=848737
** [GUIDE] FIX AND RESCUE YOUR VIBRICK + ODIN SUPPORT! N00b Friendly **
Fixing so-called "Bricks"/Odin Errors
This guide is open to contribution/editing/correcting
I DO REALIZE THAT MOST OF THESE LINKS ARE BROKEN, PLEASE SCAN THE THREAD TO FIND UPDATED LINK. I'M NOT VERY ACTIVE ANYMORE, SORRY!
-----------------------------------------------------------------------------------------------------
BOOT CYCLE
This is where you get the annoying Samsung Screen/Galaxy S screen.
DOWNLOAD REQUIRED (CREDITS TO JUSTANOTHERCROWD):
Quote:
Originally Posted by justanothercrowd
JFD ODIN Images from Samsung (PDA)
www.justanotherdev.slackdev.com/T959UVJFD.tar
MD5:632730f6b637f53e5b10e5cbc8b966a7
512 PIT File (PIT Extract first!)
www.justanotherdev.slackdev.com/s1_odin_20100512.rar
MD5:b5628c8e183fdd8f4c703321ca40e33a
ODIN
www.justanotherdev.slackdev.com/Odin3.rar
ALL 3 Files plues the root update.zip
http://tinyurl.com/2bc5b6r
thx to KopyKatKiller
1. Get into Download Mode (WITH THE PHONE PLUGGED IN) by following the steps below
*Turn off the phone until you get to the charging battery screen (keep in mind, your phone is currently PLUGGED IN)
*Press volume up and down, and power all at once.
*As soon as the screen turns black, release your power button.
2. Unplug phone from USB
3. Open Odin (in Administrator if you're running W7 or Vista), try one of the ones I attached to this post, at least one of them is bound to work, some don't work for me, but works for others, some doesn't work for others, but works for me, whatever floats your boat
4. Load in the files into Odin that you have downloaded from above Just load in the files corresponding to the text field.
DO NOT CHECK REPARTITION.
5. Plug in your phone with the DL mode
6. Click start and wait for the magic
-----------------------------------------------------------------------------------------------------
NO-BOOT PHONES
This is where your phone does NOT turn on, no combo of buttons works and power button does nothing.
DO THIS ONLY WHEN YOU PLUG IN YOUR PHONE AND NOTHING SHOWS UP ON THE SCREEN!!! If else, follow the steps from above.
This method is basically same as above, EXCEPT the way you get into Download Mode as your phone is HARD BROKEN.
1. Download all the files required in the "BOOT CYCLE" section of this post.
2. Remove everything from your phone (SD card, sim, battery).
3. Plug your phone into your computer WITHOUT the battery, as you have already taken it out in the last step.
4. Press and HOLD vol. up and vol. down.
5. As you are HOLDING these buttons, reattach your battery.
6. You should be in Download Mode.
7. Unplug phone from USB
8. Follow steps 4-8 from the "BOOT CYCLE" section.
Troubleshooting:
-Odin stuck at some random process?
*Switch to another odin
*Make sure you did NOT check repartition, if you did, just repeat all the steps over again, except for the downloading parts, obviously.
-Phone not responsive?
*Try "NO-BOOT PHONES"section of this guide
-Phone stuck at Galaxy S logo screen?
*Put it in to DL mode, and run Odin again, it's just a bad install.
-All three ODIN is nonfunctional, stuck or giving "FAILED" errors?
*DO NOT CLOSE ODIN ONCE IT HAS FAILED!
*Unplug your phone
*Replug in your phone, get it into DL mode
* Unplug once it is in DL mode
*Replug and ODIN should recognize your phone
*Leave all the settings the same, then click "Start" again.
-Cannot get into download mode using the method I listed? Use the method(s) below:
Soldering Method
More methods coming soon
-----------------------------------------------------------------------------------------------------
I know how much of a pain posting in the Q/A section can be and the wait time is pretty bad, so if you need help regarding UNBRICKING and ONLY UNBRICKING feel free to post in here.
Hope you enjoy, this is my first guide, please don't flame. Any comments or suggestion is suggest, or if you have your own method I'll also post it
POST YOUR RESULTS!
-Steven
The only forums this guide should be posted on is XDA, DZ, and PHANDROID under the username DRAIKZ and EXPLOSIVE. If it helped you, feel free to donate a coke or two!
Hi All,
I wanted to update my ideos s7-104 (best buy US) to the Joenilan froyo fusion rom and made one mistake along the way. I copied the .zip file to the external sd card not the internal sd card. So zip file is not available to CWM (2.5.1.8). I tried manually pushing the file to the tablet with ADB (from computer) but the tablet is not visible to the system (windows 7 64bit with drivers installed, I could not get HiSuite to install with upgrade.cmd). This is strange becasue the Upgrade utility which uses adb flashes the rom just fine. Of course I wiped the system and reformatted the device per the instructions. Now when the unit boots it goes the fastboot and then stops with option to reboot with back/home which works. I don't think the unit is bricked just yet since I can still get into the CWM recovery.
Does anyone have any bright ideas to move the Ideos S7 Froyo v1.3-EXT4 Stable.zip to the internal sdcard?
Thanks for all the useful information previously posted!
Bruce
St. Louis MO
Hi, let see if i can help you, if you have a backup restore, if you dont that implies some work, i dont use windows i prefer linux, you can try to create a virtual machine, with windows xp or linux ubuntu and then with fastboot commands push the file to sd card.
Another way, get the oficial rom for your tablet copy the file to ext-sdcard and follow the install instrutions of the rom, you must create the dload directory in ext-sdcard.
it look like you lost the system files and the kernel of the device, so it boot in to fastboot, fastboot does not acept adb, but fastboot has some commands to copy kernel and system file to the device, it cant copy a zip file, must be a img file.
Version 6.0.1 of cwm reads update files from ext-sdcard so you can also try to install that recovery version with fastboot.
Remember: it always a good idea to have a backup before doing anything.
Hope that helps.
Fixed
hal_2000 said:
Hi, let see if i can help you, if you have a backup restore, if you dont that implies some work, i dont use windows i prefer linux, you can try to create a virtual machine, with windows xp or linux ubuntu and then with fastboot commands push the file to sd card.
Another way, get the oficial rom for your tablet copy the file to ext-sdcard and follow the install instrutions of the rom, you must create the dload directory in ext-sdcard.
it look like you lost the system files and the kernel of the device, so it boot in to fastboot, fastboot does not acept adb, but fastboot has some commands to copy kernel and system file to the device, it cant copy a zip file, must be a img file.
Version 6.0.1 of cwm reads update files from ext-sdcard so you can also try to install that recovery version with fastboot.
Remember: it always a good idea to have a backup before doing anything.
Hope that helps.
Click to expand...
Click to collapse
Thanks so much for the tips. I was able to flash the trzmod-v3 image and now I have a working tablet again. Pretty slick I must say.
Hi, well done, i'm working with cm9 for s7 maybe in some few days you can try cm9
hal_2000
does anyone know the combination to get into recovery and cwm.
thank's
sorry my bad english
BANOUNDROID said:
does anyone know the combination to get into recovery and cwm.
thank's
sorry my bad english
Click to expand...
Click to collapse
Hi, with s7 power off press, menu + call(green key) + power, wait a few seconds and you get cwm screen if it is install
Hal_2000
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...
Greetings,
i did go through dual-booting linux on our device kind of process and spend a bit of time, trying to figure out the correct steps.
Was not easy, for a newbie like me, i dont know much about linux itself, most of the inscrutions are written in "foreing language" for me, so here is more of a detailed guide.
This guide is only for installation on the SDCARD, i did not try out internal storage
!!! Im not responsible for anything that happens during/using these steps, you and only you are responsible to what happens, use with caution !!!
Requirements:
Unlocked bootloader: https://forum.xda-developers.com/t/...6c-boot-for-asus-memo-pad-7-me176c-x.3780225/
Installed TWRP: https://forum.xda-developers.com/t/...p-3-3-1-for-asus-memo-pad-7-me176c-x.3745190/
Both of these guides are made step by step, so there should be no questions about this
First of all, go to https://images.postmarketos.org/bpo/v22.12/asus-me176c/ , there are 3 different types of UI, the kernel itself should be the same, but i dont know for sure myself
Phosh - very well working on our device, missing a bit of RAM to launch firefox stable for example
Plasma-mobile - i found this one was very hardware heavy, it takes quite alot of more storage aswell, i do not recommend this for our device
Sxmo - this one did boot up just fine, but i wasnt able to get more testing as my hardware inputs were not recognized by the software, i do not recommend this one
There are multiple software version, i did try only the latest one
Possible to try out the lower (outdated) versions yourself
After downloading these files, you should have 2 of the .xz archives, unpack them somewhere, i did put them into the same folder, but thats just my own preference
After unpacking them, you should have
XXX-asus-me176c-bootpart.img
XXX-asus-me176c.img
XXX are reference to date of the build
To have ourself things easier, we will rename both of these build and leave only the "asus-me176c.img/asus-me176c-bootpart.img", you can leave them named as theyre, but it will take you a bit more time in the terminal
After that, we will move one of our images (the non-bootpart one) to the internal storage of the device.
Make sure, to have enough space available. I have the 8GB version and it was kind of struggle for me to install the plasma-mobile version.
I did also try moving that file to USB-OTG and SDCARD, but i had some problems with USB-OTG in TWRP and SDCARD gets wiped when you install the OS.
So, please, use internal storage for the file, the OS IS NOT GOING TO GET INSTALLED ON YOUR INTERNAL STORAGE IN THIS WAY, WE ARE GOING TO INSTALL IT ON A SDCARD.
After moving our file to the internal memory, we will go and reboot our tablet to fastboot mode
when powered off, press volume down + power on, release power when screen lights up
in the custom bootloader menu, using volume keys (power one does not work), we select Fastboot (power down to move and power up to select)
Our phone should boot into fastboot mode, we go and connect our phone to the computer
after connecting the phone, we go to the folder where our xxx asus-bootpart.img is located, go ahead and SHIFT+RIGHTCLICK on empy space in the folder, select Open a terminal/powershell window here
in the terminal/powershell we type in command " fastboot flash APD asus-me176c.img "
let the command process, after its done, go and type in " fastboot reboot-bootloader "
our phone gets rebooted into the bootloader, with volume keys once again, select RECOVERY
when our device gets booted to TWRP, go to Mount -> Tick ESP
anywhere on your PC, open up the default text editor, paste in:
title postmarketOS
volume 80868086-8086-8086-8086-000000000007
linux /vmlinuz-edge
initrd /intel-ucode.img
initrd /initramfs
# Comment this out to get more output on screen while booting
options console=null
this text is only used for the latest version of the OS, for lower versions, please follow https://wiki.postmarketos.org/wiki/ASUS_MeMO_Pad_7_(asus-me176c)
select the file type as "every files" instead of text document
name it pmos.conf and save it anywhere you like
at your computer, download MiniDiskPartition tool, or other partition tool
partition your sdcard using the selected tool
i have 32GB sdcard, i did partition my sdcard roughly 8GB with FAT32 for file sharing between android/linux/windows and the rest with EXT4 for the Linux itself
i believe the partition size for Linux doesnt matter aslong as its over 4GB, the installation itself should resize the partition on sdcard itself, depending on how it needs, BUT im still not 100% how this works
connect your phone to the computer
in TWRP go to MOUNT and tick ESP
in the folder where you saved the pmos.conf, open up a terminal (once again SHIFT+RIGHTLICK and open terminal/powershell here)
type in " adb push pmos.conf /esp/loader/entries/ " , press enter
in TWRP go to Advanced and go to Terminal
type in " df "
then you should see your partitions, we are looking for one that belongs to /external_sd/ , usually dev/block/mmcblkX0Y (X and Y are not specified), it should have it written at the end
mine was " /dev/block/mmcblk0p1 " YOURS CAN BE DIFFERENT! in the original guide, they specify, it can be also SDXY (XY belongs to any number)
after we find our partition that belongs to /external_sd/ , we go into the terminal in TWRP and type in:
dd if=/PATHTOYOURIMGFILE/ of=/PATHTOYOUREXTERNALSDCARDPARTITION/ bs=4m
i did have the IMG file in my internal storage, therefore my command was:
dd if=/sdcard/asus-me176c.img of=/dev/block/mmcblk0p1 bs=4m
make sure to use the bs=4m instead of bs=4M (as specified in the original guide), otherwise you will get "illegal number" error
after this, you should wait! The file is 1,6 - 2,4 GB, it takes time
your result should appear in the terminal
if your installation was succesfull, you can go in TWRP to REBOOT and select BOOTLOADER
you should have postmarketOS option available in the bootloader boot options, select it
you should boot your postmarketOS now
if you didnt, you probably didnt follow the guide correctly, read the steps once again
if you couldnt install the postmarketOS and youre sure you did follow the steps correctly, contact me on XDA (preferably make a comment under this thread)
Original thread:
ASUS MeMO Pad 7 (asus-me176c) - postmarketOS
wiki.postmarketos.org