Hello here is a guide to Recover Deleted files from the internal memory for your Note II
You Need
1.Rooted Android phone ( In my case i used Note 2 SPH-L900 )
2.Install busybox ( Note : my busybox is installed at system/xbin )
3.Drivers Installed on your computer
4.Download Cygwin [ http://www.cygwin.com/install.html ] install to C:\cygwin - make sure you install with pv and util-linux - Make sure to open Cygwin once to make sure that the /bin folder is created. Also create a folder called "NoteII" under C:\cygwin...this will come in use later for the export of the .RAW file
5. Download Recuva [ http://www.piriform.com/recuva/download ]. This is the Software going to recover your file , or you can use your favourite Data recovery software . But i suggest Recuva
6. Install android SDK tool kit so you have access to ADB - I installed mine inside the root of Cygwin - C:\cygwin\android-SDK
Steps :
1. Take your rooted phone . Go to Setting->Developer Options -> Tick on Stay awake and USB debugging
2.Connect your Phone to the Computer , Let the driver Install .
3.Click Start -> Run ,
Type " CMD " Press Enter
5.Dos Window will open up Now Type " cd c:\cygwin\android-SDK\platform-tools " Press Enter (note the path is where you installed SDK on C:\)
6. Type " adb devices " Press Enter
** Make sure it returning out Some numbers (IMEI) under list of devices
7.Type " adb Shell mount " Press Enter
Now this is something important , After the command adb shell mount it will give a long List you need to fine "dev/block/mmcblkop"xx" /data(or user data "
Note : The xx can be any number
In SPH-L900 its " mmcblk0p17 " = userdata Partition .
The last two number (xx) will change from mobile to mobile . Just note the partition name . In our case its " mmcblk0p17 "
You can also download Partition Table apk from the market and it will give you a layout of what each partition is.
8.Close the CMD window . Go to My Computer->C:/->cygwin->Open Cygwin Terminal - this is where you installed the Cygwin terminal and click on the Cygwin.bat to launch terminal
9.Type " export PATH=/cygdrive/c/cygwin/android-SDK/platform-tools:$PATH " Press Enter
10.Type " adb forward tcp:5555 tcp:5555 " Press Enter
11.Type " adb shell " Press Enter
12.Type " su " Press Enter
13.Grant Superuser Right on your Phone
14.Type " /system/xbin/busybox nc -l -p 5555 -e /system/xbin/busybox dd if=/dev/block/mmcblk0p17 " Press Enter
15.Minimize the window , Open another cygwin Terminal i.e. My Computer->C:/->cygwin->Open Cygwin Terminal
16.Type " export PATH=/cygdrive/c/cygwin/android-SDK/platform-tools:$PATH " Press Enter
17.Type " adb forward tcp:5555 tcp:5555 " Press Enter
18.Type " cd /NoteII " Press Enter
19.Type " nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p17.raw " Press Enter
20. Now let it Run this will take long time for me it took me One hour to complete
21.After it Compltes Click start->Run Type " cmd " Press Enter
22. Type " cd c:\cygwin\NoteII\ " Press Enter
23.Type " VhdTool.exe /convert mmcblk0p17.raw " Press Enter
24.Now Close Everything .. Right Click My Comuter->Manage
25.Now Select Storage-->Disk Management.
26.In the menu select Action-->Attach VHD.
27.For Location enter " c:\cygwin\NoteII\mmcblk0p17.raw " and select the OK button.
28.Right-click on the name (e.g. "Disk 1") to the left of the Unallocated space and select Initialize Disk.
29.Select the GPT (GUID Partition Table) radio button and select the OK button.
30.Right-click on the Unallocated space and select New Simple Volume...
31.In the Wizard select Next>, leave the default for the volume size, select Next>, select a drive letter (e.g. K), select Next>, MAKE SURE to select
the 'Do not format this volume' radio button, select Next>, select Finish.
32.A box will pop up asking you to format the drive. You DO NOT want to format the drive at this time.
33.Right-click on the RAW space and select Format... MAKE SURE to change the File system to FAT32. Set the Allocation unit size dropdown to 'Default.' MAKE SURE that the Perform a quick format checkbox is CHECKED. You do not want to overwrite the entire new drive with all zeroes (0's) and destroy your data. Quick Format means that it will only attempt to destroy the index for the drive by establishing a new index. Without this box checked the Windows operating system will write zeroes (0's) across the entire volume, potentially destroying your data. Select the OK button.
34.A box will pop up saying that Formatting this volume will erase all data on it. That would be doubly true if you actually didn't check the 'Perform a quick format' checkbox. Double check that you actually did check the box and select the OK button.
35.Open the Piriform Recuva application. In the wizard select the 'Next >' button. Select the 'Other' radio button and select Next >. Select the 'In a specific location' radio button and enter: k:\ (assuming K is the drive letter you chose...) Select the Next > button. Select the Enable Deep Scan checkbox.
36.The application may take about an hour to do the 'Deep Scan.'
37.Once the application has returned its results you can choose which files to recover using the checkboxes. Select the 'Recover...' button and choose the location to which you wish to output your files.
This is not my work , i just gathered information and used some Copy/Paste. Have a nice day - followed instructions from this thread and modified some steps for our phone - http://forum.xda-developers.com/showthread.php?t=2140410
Note : Im not Responsible if you brick your phone . I did this and it worked for me . So im Sharing with you guys. Hit the thanks button if it helped at all!
Related
Free Unlock For I9000 - I897 - T959 To All Users
I9000 unlock instructions
1. Power on the phone and go to Applications->Settings->About Phone->USB
settings
2. Select Mass Storage
3. Connect the phone to USB cable
4. Swipe down the top notification bar then tap “USB Connected” then select
MOUNT
5. Copy update.zip file to phone mass storage root
6. Power off the phone
7. Press Volume Up+Home+Power on key to start the phone into recovery
mode
8. Go to “apply sdcard:update.zip” using volume keys then select it using
home key
9. Power on the phone then go to Andoid Market and install Terminal
Emulator
10. Run Terminal Emulator
11. Type cat /efs/nv_data.bin >> /sdcard/nv_data.bin into terminal then type
Enter
12. Connect the phone to PC in USB Storage Mode then copy nv_data.bin file
to your pc
13. Open nv_data.bin file with any hex editor (ex. Hex workshop) then go to
address 00181460
14. There are the codes
15. Power on the phone with any unaccepted sim card inside then type in the
first code to unlock the phone
Top man!
Not that I need it, but it may come of use to my cousin whose just purchased a T-Mobile I9000.
Thanks.
I thied this method but it didn't work
cellularhut said:
Free Unlock For I9000 - I897 - T959 To All Users
I9000 unlock instructions
1. Power on the phone and go to Applications->Settings->About Phone->USB
settings
2. Select Mass Storage
3. Connect the phone to USB cable
4. Swipe down the top notification bar then tap “USB Connected” then select
MOUNT
5. Copy update.zip file to phone mass storage root
6. Power off the phone
7. Press Volume Up+Home+Power on key to start the phone into recovery
mode
8. Go to “apply sdcard:update.zip” using volume keys then select it using
home key
9. Power on the phone then go to Andoid Market and install Terminal
Emulator
10. Run Terminal Emulator
11. Type cat /efs/nv_data.bin >> /sdcard/nv_data.bin into terminal then type
Enter
12. Connect the phone to PC in USB Storage Mode then copy nv_data.bin file
to your pc
13. Open nv_data.bin file with any hex editor (ex. Hex workshop) then go to
address 00181460
14. There are the codes
15. Power on the phone with any unaccepted sim card inside then type in the
first code to unlock the phone
Click to expand...
Click to collapse
did'nt work.
there is no nv_data.bin on efs
i tried this method, it did create the nv bin file, but there is no address for 00181460 all others are there
komalattah said:
i tried this method, it did create the nv bin file, but there is no address for 00181460 all others are there
Click to expand...
Click to collapse
same here. please help
The line is the 18146D, you have there a 8 digit code, works fine.
Just replace 01 by 00 in the line 0018146x.
works on galaxy s, vibrant and s2.
maybe just flash an updated custom rom instead of doing this thing ??? odin is easy !!!
Finding update package...
Opening update package...
Installing update package...
assert failed: gtprop("ro.product.device") == "
GT-I5800" || getprop("ro.build.product") =
= "GT-I5800" || getprop("ro.product.device
") == "GT-I900" || getprop("ro.build.prod
uct") == "GT-I9000"
E:Error in /sdcard/update.zip
(Status 7)
Installation aborted.
Click to expand...
Click to collapse
Whats goin on here?
nalinbhatt said:
Whats goin on here?
Click to expand...
Click to collapse
Same result for me, Any ideas?
I get a permission denied when I type in the script in the terminal.
Any ideas?
kepz said:
I get a permission denied when I type in the script in the terminal.
Any ideas?
Click to expand...
Click to collapse
try typing su first... then yes to the root prompt (also make sure you're not connected via usb and mounted as mass storage, that makes it read only). That should solve your permission issue... but im still having my own issues with installing the zip.
anyone have any suggestions for getting this working?
@cellularhut
i use sghI897.update.zip is aborting installation in cwm.what is wrong?
is this a method to unlock the simcard, if so there's a free app in the market that does it... GalaxSim
pryerlee said:
is this a method to unlock the simcard, if so there's a free app in the market that does it... GalaxSim
Click to expand...
Click to collapse
Some time apps in playstore may delete your orginal IMEI number to 0049999 because i also face the same problem when i use this galaxy app to unlock.
I followed this
(Setting up the Android SDK
Download the file from above
Unzip to your desktop
Take the "android-sdk-windows" folder and move it to the root of your hard drive (C:\)
Right click on My Computer and click properties
Select the Advanced Tab or Advanced System Setting (Vista/Windows 7)
Select Environment Variables...
Press New
For Variable Name type: adb
For Variable Value type: C:\android-sdk-windows\tools)
and when I try to do this
(1. Run SDK Setup.exe
2. If it gives you an error go to settings and click on "Force http//....."
3. Select all options and let it download and install)
I have issues cause I dont have the SDK Setup.exe I have searched for it and can not find it, please help thanks Davey
also I installed the windows version
http://developer.android.com/sdk/index.html
If you've added the tools folder to your path, you don't need to install anything, just type "adb <command>" in the cmd prompt and you're good to go.
if you talking about this
For Variable Name type: adb
For Variable Value type: C:\android-sdk-windows\tools)
yes i have done it and it still wont work. I have my phone is debugging and on charge only and when i open the cmd and type in adb it gives me is not recoginzied as an internal or external command, operable program or batch file,
then when i type (android-sdk-windows\tools) it gives me the system cannot find the path specified. I am lost
ok So on my other computer I got some progress, I opened sdk manager and got it all updated and the only real problem i am having now is (this is dumb) but I dont know my sdk name, like when it says
cd C:\**your sdk name**\tools (Press Enter)
I have been trying C:\android-sdk-windows\tools
thanks for the help! Davey
thank you I got it running now!!!!!! I did what you said and added it to the path not just a new varibable, thank you very much!!!
This is a tutorial to Deodex stock Rom
{ Disclaimer : This tutorial is to help people deodex their stock rom , I am no way responsible for bricking your device }
Requirement :
1. A Android SmartPhone with root access (" Dah")
2. A Pc
Tools Required :
1. ADB in an working PC
2. Android Kitchen
3. Root Explorer in Mobile ( Preferably 'Solid Explorer ')
4 .Custom Recovery ( CWM preferred )
Tutorial :
Step 1:
Make an Nandroid Backup
( In case something goes wrong , you can always come back )
Step 2:
Connect your Android device to PC
Start ADB
type : " adb devices " to make sure the device is detected
type : " adb pull /system/app "
this pull's all the files inside the system/app directory to the current ADB directory
Move these files to a folder named "app"
type : " adb pull /system/framework "
this pull's all the files inside the system/framework directory to the current ADB directory
Move these files to a folder named "framework"
Now We got the necessary files
Step 3 :
Move the folders "app" and " folder " to the Android kitchen working folder
Place the folders inside " WORKING_deodex/system "
Open the Android kitchen " Google it "
Select option " 0 " -advanced option
Now select option " 11 " -De-odex files in your rom
Set the Correct API version by selecting the option " v "
Now select the option " b " to de-odex both folders
Zipalign the apks by selecting the option " 5 "
Now move the folders "app" and "framework" back to the adb folder
Step 4: [ Important Step ]
Go to the " sytem " folder of your device
And Select both " app " and " framework " folder
Now comes the tricky part "Delete both folders "
Don't worry if the devices " reboots " we will get to it
Step 5 :
Reboot into recovery
Mount the " /system " inside " mounts and storage " option
Now connect your device to pc
Wait for the Device to be detected
Now open ADB again in "cmd"
type : " adb shell "
type : " cd system "
type : " mkdir app "
type : " mkdir framework "
type : " exit "
Now we have created empty folders for the de-odexed filles
now type " adb push app /system/app "
Wait till all the files are pushed
now type " adb push framework /system/framework "
Again wait till the process is completed
now type " adb reboot "
Tadaaa " Your Stock rom is now deodexed "
First boot takes long time so " Please Wait "
Special Thanks To :
All the developers who created those tools:angel:
Yali developer said:
type : " adb pull /system/app "
this pull's all the files inside the system/app directory to the current ADB directory
Move these files to a folder named "app"
Click to expand...
Click to collapse
If the user following this guide has windows and has set ADB as a system variable the default path when performing this action is C:\Users\[Current Users Name]\. If they don't have it set as a variable they will either have to us the cd command to get to where they have the ADB tool saved or open a command prompt inn the folder they have the ADB tool in.
Yali developer said:
type : " adb pull /system/framework "
this pull's all the files inside the system/framework directory to the current ADB directory
Move these files to a folder named "framework"
Click to expand...
Click to collapse
Refer to the above comment.
Yali developer said:
Step 4: [ Important Step ]
Go to the " sytem " folder of your device
And Select both " app " and " framework " folder
Now comes the tricky part "Delete both folders "
Don't worry if the devices " reboots " we will get to it
Click to expand...
Click to collapse
This is a dangerous recommendation to give, especially if the user following this guide didn't pay attention that they need a recovery. And if you are going to tell the user to use a recovery then tell them how to create a flashable zip out of the files they have just created. This can be done with the kamome tool in the Sony cross-device development.
Side note, full flashable zip files for all the versions of android the Xperia M has received can be found in the Themes & Apps section.
Another side note, a guide on how to deodex the system partition has already been created. This too can be found in the Themes & Apps section.
How To Get NFS Sharing working with AFTV Kodi on OSX
Part 1)
OSX>Open Terminal
type in Terminal "sudo nano /System/Library/LaunchDaemons/com.apple.nfsd.plist"
Scroll Down and find "<string>/sbin/nfsd</string>" now move cursor to end of line and press return
This will insert a new line, press tab
type "<string>-N</string>"
press ctrl + o, press enter , press ctrl + x.
Part 2)
Download NFS Manager 3.9 from here.
Install App
Start app,
Configure Shares:
1. Select NFS Server > Share Definitions
2. Click plus + to add a share in Shared Folders window
3. Click "Select" below the + - and add your Folder you want to Share
4. Options - tick only this >> 'Allow clients to also mount objects in the shared folder"
5. User Mapping > Don't map users
6. Minimum Security > System standard only
7. Access Permission > Allow access from any network computer
8. Click "Apply" and you done.
9. NFS manager can now be Quit and OSX will still continue to share files and folders even after rebooting
Part 3)
Open Terminal
type or paste "sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.nfsd.plist"
type or paste"sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.nfsd.plist"
OSX > System Preferences > File Sharing > Options > Untick - Share Files and Folders using SMB > Done
OSX > System Preferences > File Sharing > Options > Tick - Share Files and Folders using SMB >
Under Windows File Sharing Select On next to the account> Done
Open Terminal
if using Yosemite
type or copy "sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist"
type or copy"sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist"
if using Mavericks:
type or copy "sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist"
type or copy "sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist"
Now NFS Shares Should work with KODI
Part 4
Open KODI on AFTV
1) Select System>System>Power Saving>Try to wake remote servers on access On
2)Go Back to Main Menu Select System>File Manager
3)Add Source>Select None> Now Type "nfs://your OSX iport Number/" example "nfs://192.168.1.64:2049/"
(You can get the OSX IP from OSX > System Preferences > File Sharing)
(You can get the Port No From OSX> terminal type "rpcinfo -p | grep nfs" this will bring up "udp (port number) nfs" example "100003 3 udp 2049 nfs")
Now you can remove the ugly f__k dual sim card manager from notification panel, even after updating your phone to android oreo.
Till date you could just install overlay apps and it'd work. But on oreo that doesn't work so simply. Follow these steps.
This method does NOT void your warranty
Steps -->
1> Download the attached file to your computer.
2> Extract.
3> Install the following app provided on your device : aaa.quicksetting.hidesimpanel.apk, and restart your phone.
(If you're using any update upto Nougat, following these three steps would do. People using oreo or later, follow further)
4> Go to the directory and open a Command Prompt Window over there.
[Right click + Open Command Prompt Window Here; or hit Window Key + R, type cmd, and hit enter, then use 'cd' command to move to that directory]
5> Make sure you have USB Debugging turned on. If you don't have it enabled, go to Settings -> About Device -> Tap 7 times on build number quickly -> Enter your Pin, now go back to Settings -> Developer Options -> Switch USB Debugging on.
6> Connect your phone as 'Transfer Files' mode.
7> On the Command Prompt window on your computer, type 'adb shell' and click on allow this computer on your phone.
8> Now enter the following command : adb shell cmd overlay enable aaa.quicksetting.hidesimpanel
9> Reboot your phone.
10> Congratulations!