Dear all,
According to the guides for Android data recovery,
[Guide] Undelete / Data Recovery - Internal Memory
Hello here is a guide to Recover Deleted files from internal memory From Any android Phone You Need 1.Rooted Android phone ( In my case i used Note 2 N7105 ) 2.Install busybox ( Note : Install in /system/bin NOT at system/xbin ) 3.Drivers...
forum.xda-developers.com
[GUIDE] Internal Memory Data Recovery - Yes We Can!
This method does not seem to work on newer phones that apply TRIM or some other type of partition clearing implementation. If anyone has recovered their data on a device newer than Android 4.3 please pm me and let me know. The Preamble Did you...
forum.xda-developers.com
Netcat (nc) is required to transform userdata partition to RAW.
After superuser privilege was granted ("su") on my Redmi S2 (Android 12, rooted), I stuck on the Command line (Cygwin on Windows)
nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p12.raw,
it prompts:
bash: pv: command not found
Unable to find nmap-services! Resorting to /etc/services
Failed to resolve "5555".
Failed to resolve "5555".
Failed to resolve "5555".
I found several netcats online, but all of them produced the same result as described above:
- http://netcat.sourceforge.net/download.php
- https://github.com/diegocr/netcat
- https://nmap.org/download.html
- https://github.com/skyformat99/netcat-for-windows/tree/master/1.11
Has anyone got or found any netcat able to transform userdata partition to RAW, susceptible of VHD conversion?
Thanks in advance!
Regards,
wenyendev said:
Has anyone got or found any netcat able to transform userdata partition to RAW, susceptible of VHD conversion?
Click to expand...
Click to collapse
Hello and good afternoon, @wenyendev
Prior to your next posting please read the guidances that are stuck on top of every forum like
[Read Before Posting]QUESTIONS DO NOT BELONG IN GENERAL
Hello Everybody, In order to attempt to keep this forum neat and tidy the moderation team is asking you to post your questions into the Questions and Answers (Q&A) forum and not into the General section. You can find the Q&A forum by clicking...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
Related
After installing a Magisk module my OS just died, or rather, everything is black but unrelated things such as the widget I have on my lockscreen and the power menu are still visible, I still see me taking screenshots too. But the rest of the OS is black and doesnt seem to respond to gestures. Im able to boot into TWRP too. getting to the point, I want to get my stuff off of it and putting it into my new phone but Im unsure how to proceed. TWRP to PC backup doesnt help cuz, well, yknow. Neither does just dumping the files over a cable, although that seems to be Windows´ fault. Any ideas?
_Unknown? said:
After installing a Magisk module my OS just died, or rather, everything is black but unrelated things such as the widget I have on my lockscreen and the power menu are still visible, I still see me taking screenshots too. But the rest of the OS is black and doesnt seem to respond to gestures. Im able to boot into TWRP too. getting to the point, I want to get my stuff off of it and putting it into my new phone but Im unsure how to proceed. TWRP to PC backup doesnt help cuz, well, yknow. Neither does just dumping the files over a cable, although that seems to be Windows´ fault. Any ideas?
Click to expand...
Click to collapse
@_Unknown?
Please read the guidances that are stuck on top of every forum prior to your next posting like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
I've moved the thread to Q&A.
Regards
Oswald Boelcke
Senior Moderator
Oswald Boelcke said:
@_Unknown?
Please read the guidances that are stuck on top of every forum prior to your next posting like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
I've moved the thread to Q&A.
Regards
Oswald Boelcke
Senior Moderator
Click to expand...
Click to collapse
oh Im so sorry, thanks for doing that!
Serious hackers ensure that the door to Android OS always is open before they start hacking Android OS.
This is done by
either
enabling USB Debugging ( AKA ADB ) on Android device - take note that ADB always gets started by device's bootloader when device gets powered on
or
installing LAN Drive ( a SMB server & client ) on Android device what allows one turn the Android device into a Windows PC's network drive.
Both allows one to dump / transfer files located on Android device to Windows PC.
If Android device supports OTG then you also can access Android's user-data when connected by an USB-C-cable.
Hi. Looking for help with my strange situation. Namely, I made some photos/videos on vacations using Z5C and while trying to transfer all my data to PC (99%) system just hanged and after that, forgot most of the data, so only 33% left on internal memory. I recovered this amonut, but trying to "undelete" those which have been lost got real dragons. No recovery software couldn't do that. One said, I need to root my system to do it as I did such operations on PC. So I tried and failed - now only recovery mode works (sometimes) and the Android is not waking any more.
Please, give me a hint what way is better to recover my data. Communication with PC is now not available - only in fastboot mode. No recovery programs see my phone. Recovery mode shows no deleted (lost) files, but the whole system is visible. How to connect/recover that data? Is it possible to do it via fastboot? I didn't load any new files and didn't make any modifications to not overwrite potentially hidden files on the storage.
The system not working because I fastbooted something accidently (wrong kerner) - this maybe the reason. Recovery didn't work as well, but it sometimes starts.
PyeR said:
Hi. Looking for help with my strange situation. Namely, I made some photos/videos on vacations using Z5C and while trying to transfer all my data to PC (99%) system just hanged and after that, forgot most of the data, so only 33% left on internal memory. I recovered this amonut, but trying to "undelete" those which have been lost got real dragons. No recovery software couldn't do that. One said, I need to root my system to do it as I did such operations on PC. So I tried and failed - now only recovery mode works (sometimes) and the Android is not waking any more.
Please, give me a hint what way is better to recover my data. Communication with PC is now not available - only in fastboot mode. No recovery programs see my phone. Recovery mode shows no deleted (lost) files, but the whole system is visible. How to connect/recover that data? Is it possible to do it via fastboot? I didn't load any new files and didn't make any modifications to not overwrite potentially hidden files on the storage.
The system not working because I fastbooted something accidently (wrong kerner) - this maybe the reason. Recovery didn't work as well, but it sometimes starts.
Click to expand...
Click to collapse
Hello and good morning, @PyeR
Welcome to XDA. I hope you'll always find and get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
Hi,
I've rooted a SMT575 (samsung tab active 3) by following this tutorial : https://www.reddit.com/user/mschust...ung_galaxy_tab_active_3_smt575_rooting_guide/
Magisk is installed, adb and applications have root access.
I'd like to patch the system in order to get the tablet to boot when the power cable is connected. I've already done that on the samsung tab active 2 by replacing the "/system/bin/lpm" program with a shell script that run "/bin/reboot".
I can't do that on the tab3, even as root I can't modify the /system/bin/lpm file. I tried to make a "magisk module" by putting the modified lpm file in "/data/adb/modules/startup/system/bin". When I reboot the /system/bin/lpm" file is my shell script as expected but when I connect the power cable, the tablet does not boot. I think this is because the mounting of the magisk modules is not done yet.
How can I acheive "boot on charge" on the SMT575 ?
Thank you,
teriblus said:
Hi,
I've rooted a SMT575 (samsung tab active 3) by following this tutorial : https://www.reddit.com/user/mschust...ung_galaxy_tab_active_3_smt575_rooting_guide/
Magisk is installed, adb and applications have root access.
I'd like to patch the system in order to get the tablet to boot when the power cable is connected. I've already done that on the samsung tab active 2 by replacing the "/system/bin/lpm" program with a shell script that run "/bin/reboot".
I can't do that on the tab3, even as root I can't modify the /system/bin/lpm file. I tried to make a "magisk module" by putting the modified lpm file in "/data/adb/modules/startup/system/bin". When I reboot the /system/bin/lpm" file is my shell script as expected but when I connect the power cable, the tablet does not boot. I think this is because the mounting of the magisk modules is not done yet.
How can I acheive "boot on charge" on the SMT575 ?
Thank you,
Click to expand...
Click to collapse
Hello and good afternoon, @teriblus
Welcome to XDA. I hope you'll always find and get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
Hello. I've got a backup of
Code:
mmcblk0
It's probably encrypted, but I'm not sure. If it is, I do have the password, but then I wouldn't know where to insert it.
Is there any detailed tutorial on how to mount this file and work with it? If it's a Linux solution then preferably some guide or tutorial on how exactly to figure out this mess.
Thanks for any help.
RecoverVery said:
Hello. I've got a backup of
Code:
mmcblk0
It's probably encrypted, but I'm not sure. If it is, I do have the password, but then I wouldn't know where to insert it.
Is there any detailed tutorial on how to mount this file and work with it? If it's a Linux solution then preferably some guide or tutorial on how exactly to figure out this mess.
Thanks for any help.
Click to expand...
Click to collapse
Hello and good morning, @RecoverVery
Welcome to XDA! I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
[Read Before Posting]QUESTIONS DO NOT BELONG IN GENERAL
Hello Everybody, In order to attempt to keep this forum neat and tidy the moderation team is asking you to post your questions into the Questions and Answers (Q&A) forum and not into the General section. You can find the Q&A forum by clicking...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
I don't know what's the goal but you can extract the userdata partition from disk image with dd. the output of parted is in bytes, must divided by block size of your choice (bigger bs is faster)
Code:
parted mmcblk0 unit B print
dd if=mmcblk0 of=userdata.img skip=$off count=$len bs=$bs
another way is boot into TWRP from fastboot and pull the partition image directly.
Code:
fastboot devices
fastboot boot twrp-3.6.2_9-0-lavender.img
adb devices
adb pull /dev/block/bootdevice/by-name/userdata
Note: even if the partition image is mountable, the files are encrypted and manually decryption requires healthy keystore (not included in mmcblk0) and the device of origin itself.
Mate 9 - how to retrieve encrypted files from a broken system (userdata partition)
It's surprising that a bunch of people are interested in this article. But I have to say that some processes I mentioned in this article just happened to work. I don't necessarily understand why they work, which also means they probably cannot be...
forum.xda-developers.com
I have a HTC Desire 650 running android 6 and I am trying to root it and also keep the original recovery.
I have found this thread: https://forum.xda-developers.com/t/root-htc-desire-650.3713325/ and apparently someone built a twrp for it. Doesn't that need a root in the first place to extract the kernel source?
Anyway, are there any apps or known vulnerabilities that would allow me to root the phone or at least extract the recovery image?
The problem is that I couldn't find any stock rom images or anything else for this phone. I was only able to unlock the bootloader.
Dan Ti said:
I have a HTC Desire 650 running android 6 and I am trying to root it and also keep the original recovery.
I have found this thread: https://forum.xda-developers.com/t/root-htc-desire-650.3713325/ and apparently someone built a twrp for it. Doesn't that need a root in the first place to extract the kernel source?
Anyway, are there any apps or known vulnerabilities that would allow me to root the phone or at least extract the recovery image?
The problem is that I couldn't find any stock rom images or anything else for this phone. I was only able to unlock the bootloader.
Click to expand...
Click to collapse
Hello and good morning, @Dan Ti
Prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
Only to clarify things:
1. Recovery is a small and independent operating system that is set up in its own partition in many Android smartphones and tablets.
The "Recovery mode" is useful for you if you want to access the Android system of your smartphone or tablet beyond the conventional settings.
Since the recovery system is on its own partition next to the actual operating system and is thus intact even after a virus attack, it is often used for system repair.
2. Android's bootloader is a program that is responsible forbooting Android device.
3. Rooting is how you get complete access to everything in the Android OS, and those elevated permissions allow you to change it all. Root, at least the way I'm understanding it, is the superuser.
When you root your Android, you're simply adding a standard Linux function that was removed by OEM. A small file called su is placed in the system and given permissions so that another user can run it. It stands for Switch User, and if you run the file without any other parameters, it switches your credentials and permissions from a normal user to that of the superuser. You are then in complete control and can add anything, remove anything, and access functions on your phone or tablet that you couldn't reach before. This is pretty important and something you should think about before you begin.
To root Android OS it's neither necessary to unlock devices bootloader nor to install TWRP: this is an obviously not eradicable old nurse's tale!