Make a Debrick Image? - Galaxy Tab 2 Q&A, Help & Troubleshooting

Hey, I'm hardbricked on my tab2 (sch-i705) and so have a few others because of loading this aboot.img at http://forum.xda-developers.com/showthread.php?t=1942674
I was thinking that someone with a working bootloader could run this script:
Code:
#!/sbin/sh
mkdir -p /sdcard/Unbrick_Files/;
dd if=/dev/block/mmcblk0 of=/sdcard/Unbrick_Files/200MB.img bs=4096 count=50000;
busybox gzip /sdcard/Unbrick_Files/*;
mv /sdcard/Unbrick_Files/200MB.img.gz /sdcard/Unbrick_Files/Unbrick_IMG.gz;
chmod -R 777 /sdcard/Unbrick_Files
and post the output so we can have an unbrick image here.

Nine days have gone by and nobody has a working tab 2 of any variant? Is it possible to take a similar debrick.img and overwrite each partition with the partitions in an odin tar?
Update: Ordered a replacement motherboard so I can make one myself.

How does this solve hardbrick may I ask?

Well, the tab 2 like similar devices allows for booting from sdcard when it is partitioned the same way as the emmc, containing bootloader, SBL, etc. With this script we copy the first 200mb of the emmc to an image file. When the image file is written to sdcard the sdcard is partitioned like emmc (but not complete) so the tab boots from it but only allows entering download mode. Thus we are able to fix hardbrick caused by corrupt emmc.

I've been very busy but the replacement board came in and I installed it yesterday. So I'll have an image for y'all to test soon.

Okay, now everyone posting that they're bricked can try this...
https://drive.google.com/file/d/0B9vvBRDZ3jJFVTlVakFadF9UdHM/view?usp=sharing
Download this image and copy it to a microsd (supposed to be >8GB class 10) using dd in osx/linux or Roadkil's Disk Image in Windows http://www.roadkil.net/program.php/P12/Disk Image
If it works for you feel free to donate.

in need of help with bricked device
hi will this work for my Samsung galaxy tab 2 GT-P3110 as all it is able to do at min is show me an empty grey looking battry bar once plugged into a charger and that's it.. if so would you please help me in detail as i am new too all of this.. would be appreciated.. cheers

mudtub said:
Okay, now everyone posting that they're bricked can try this...
https://drive.google.com/file/d/0B9vvBRDZ3jJFVTlVakFadF9UdHM/view?usp=sharing
Download this image and copy it to a microsd (supposed to be >8GB class 10) using dd in osx/linux or Roadkil's Disk Image in Windows http://www.roadkil.net/program.php/P12/Disk Image
If it works for you feel free to donate.
Click to expand...
Click to collapse
Have you or anybody else used this and successfully restored an i705?
Have a hardbricked Tab 2 and am familiar with SD unbricking as Sammys are MOSTLY unbrickable. But seriously, a definitive answer here would be nice...
Last note, writing a bootable img to SD is always best done through Linux Terminal dd commands. Windows applications don't write the partition table. Roadkil only wrote the files into a folder called "image". When properly done in Linux, a windows PC won't recognize the SD card.
So any answers here please?

mudtub said:
Okay, now everyone posting that they're bricked can try this...
https://drive.google.com/file/d/0B9vvBRDZ3jJFVTlVakFadF9UdHM/view?usp=sharing
Download this image and copy it to a microsd (supposed to be >8GB class 10) using dd in osx/linux or Roadkil's Disk Image in Windows http://www.roadkil.net/program.php/P12/Disk Image
If it works for you feel free to donate.
Click to expand...
Click to collapse
I tried this method with a micro-sd 16gb class 4, used roadkil, without results, the device not turning on or going to download mode, and if i go to device settings in windows i see qloader 9008 in the com section.
Could the cause of not working be class of the sd card that it's 4 instead of 10?
Thanks in advance.

mudtub said:
Okay, now everyone posting that they're bricked can try this...
https://drive.google.com/file/d/0B9vvBRDZ3jJFVTlVakFadF9UdHM/view?usp=sharing
Download this image and copy it to a microsd (supposed to be >8GB class 10) using dd in osx/linux or Roadkil's Disk Image in Windows http://www.roadkil.net/program.php/P12/Disk Image
If it works for you feel free to donate.
Click to expand...
Click to collapse
then what? plug into charger/boot into twrp/boot into download mode?? what should i do

fhope93 said:
in need of help with bricked device
hi will this work for my Samsung galaxy tab 2 GT-P3110 as all it is able to do at min is show me an empty grey looking battry bar once plugged into a charger and that's it.. if so would you please help me in detail as i am new too all of this.. would be appreciated.. cheers
Click to expand...
Click to collapse
Even I'm getting the same problem... Do you have a solution for this?

Related

[GUIDE] How to run SD version of CM7.1 on HTC Desire S (fried emmc chips too).

I designed this version of the system for my broken phone with fried emmc chip. This disk can be used in the working devices as "Recovery Disk"/"Emergency Disk" for testing purposes or other google's account))
1. Get “adb” and “fastboot” from Android SDK tool.
2. Prepare a blank memory card (Micro SD 4GB and more) for recording an image of the system.
3. Download the system image to a memory card sdcard_4g.rar.
4. Decompress/unrar archive, and u get the image of the SD card sdcard_4g.img.
5. Write image to your sdcard with:
Linux:
Code:
dd if=/path_to/sdcard_4g.img of=/dev/sdX
”, where X your device.​Windows:
Write image with Image writer for Windows to Micro SD card​Experts can make own sized partitions with this structure:
Code:
sdb1 – fat32 (rest size) the external storage
sdb2 – extendet partition
sdb5 – ext2 – 4MB
sdb6 – ext2 – 4MB
sdb7 – ext4 – 585MB /system
sdb8 – ext4 – 315MB /cache
sdb9 – ext4 – 28MB /devlog
sdb10 – ext4 – about 1-1.2GB /userdata
then decompress and copy system.7z:
Code:
dd if=/path_to/system.img of=/dev/scX7
, where X your device.​6. Dowload bootloader's image “bootsd.img”.
7. Boot your phone to “BOOTLOADER” (VolDown+Pwr → Pwr).
8. Connect device to computer via USB cable.
9. Boot your device:
Command line
Code:
fastboot boot /path_to/bootsd.img
Wait 3-5 minutes (The 1st boot can take some time, depend on speed of memory card).​
If all goes well, you get the device working without using the phone's internal memory!!!
Good Luck!!!
PS: Be careful the image of the memory card will erase all existing information on it! Select the correct device before recording an image on the memory card. The author assumes no responsibility for the integrity of your data and equipment damage!
If you think the author's helpful, buy him a beer!
Booting from "Recovery":
To launch an android from the "Recovery", copy the "update.zip" to your memory card at root directory of the fat32 partition. In the "RECOVERY" select "apply update from sd card" and confirm "install" by selecting "Yes - Install ...". Installing update.zip only starts the Android system from the SD card. Now you can run the system without a PC.
This method is suitable to run in an emergency, if discharged or the phone needs a restart. He uses the chroot method and kernel in your RecoveryMod, so there may be some limitations of the functional (ex. WiFi module bcm4329.ko - wifi dont work after boot from Recovery).
Downloading and testing...
Will give you feed back as soon as i boot
Now I'm working on others ROMs based on CM7.2 and ICS... Waiting for your replay
Sent from my HTC Desire S using xda app-developers app
It works!
Everything is working ok! How about a mini-guide on how to build customized sd-images?
Mini howto)
U can modify the contents of the memory card directly through the card reader. U need a PC with Linux only, because Android - a Linux + virtual machine Dalvik. Now you do not need "RECOVERY" to clear/wipe the cache or user data. Simply delete unnecessary or format /cache or /date partitions, without fear of damaging the data on your phone, you can always restore from an image memory card, or take another card.
Change "/system" partition to add/remove programs, sounds, pictures and more right on the disk.
PS: Howto about progamming, compiling kernel or android... It's not a trivial task, it can be described in several books. And the principles have been repeatedly described in the Internet. I may write later. Still a lot of things I can do.
the mposelys
Hah if only HTC could come up with a solution such as this! +1 :angel:
Mostly Devices can boot by this way, if they have MicroSD or USB port. This is "Linux way".
Sent from my HTC Desire S with fried EMMC Chip using xda-developers app
Awesome! it is working! I almost got my phone boot after 10 months. THANK YOU SO MUCH!. Is it possible to directly boot into SDcard after rebooting?
Im working on boot from the Recovery. U need SD Card Class 10 or 6 to quick booting phone.
Sent from my HTC Desire S with fried EMMC Chip using xda-developers app
you can upload an image flash drive with the original firmware 4.0
Great !!
for me it works !! i got my phone back after 3 months of death
but there is small problem ! when i switched it off then turned it on it gets stuck on HTC logo
and i have to do the last few steps again and again to turn the HTC on.
"7. Boot your phone to “BOOTLOADER” (VolDown+Pwr → Pwr).
8. Connect device to computer via USB cable.
9. Boot your device"
is there any way to avoid this ??
Many thanks for you man
AWESOME!!!
Unfortunately,mine Volume down key doesn't work well...ANYWAY,THANKS!
Added loader from the "RECOVERY" menu...
Added loader from the "RecoveryMod" by install update.zip .
kibril said:
Added loader from the "RecoveryMod" by install update.zip .
Click to expand...
Click to collapse
how can i do this ??
i copied it the SD card and tried to install it from recovery mode but nothing happened
and another thing ,, is there any way to enlarge the free space of my SD card
its 16 Giga and after writing the system image on it it turned to 1.79 G only.
Thanks
Not running
Hey
When I try to run this on my branded desire S I get stuck at the carrier screen, if I try to boot via recovery method I get an sd card mount error, I have tried writing this to my sd card in both linux and windows.
Thanks
U have problem in sdcard slot. I have same problem after service. Place correctly MicroSD in the slot.
Sent from my HTC Desire S using xda app-developers app
tetotarek said:
how can i do this ??
i copied it the SD card and tried to install it from recovery mode but nothing happened
and another thing ,, is there any way to enlarge the free space of my SD card
its 16 Giga and after writing the system image on it it turned to 1.79 G only.
Thanks
Click to expand...
Click to collapse
Try boot from fastboot 1st time. About 16G make own sized partitions or u can resize partitions in Gparted/parted under Linux.
Sent from my HTC Desire S using xda app-developers app
kibril said:
U have problem in sdcard slot. I have same problem after service. Place correctly MicroSD in the slot.
Sent from my HTC Desire S using xda app-developers app
Click to expand...
Click to collapse
I can run this: http://forum.xda-developers.com/showthread.php?t=1575272 just fine though so I don't think it's and issue this my SD card,
thanks for the reply though
kibril said:
Try boot from fastboot 1st time. About 16G make own sized partitions or u can resize partitions in Gparted/parted under Linux.
Sent from my HTC Desire S using xda app-developers app
Click to expand...
Click to collapse
Now I can restart / shutdown my phone perfectly by your suburb solve ( update.zip )
also i partitioned my SD card so now the external memory is about 12 Giga
Many thanks man you rooked my life
Important thing
Now, and after couple of days using my desire s, i can say that everything works great and perfectly except two important things
1- it can't read any of Pic's files that i copied it on my SD card from PC - when i open the gallery it says - there is no items - despite when i capture photo from the camera he can read it and i can find it in the gallery !!
2- it can't read any of music files that i copied on my SD card also
i tried everything but it seems it is something unsolvable.
Any ideas ??

[Q] nexus s strange brick

Hello there guys i got an issue on my nexus s i9023 and am describing you the situation fast.
Nexus running good custom rom matrix kernel etc and one day i was in need to remove battery cause of a small stuck.
after that moment the nexus booted on android staying there on the main screen playing the live wallpaper and then poof reboot and the same forever till the battery is of..
i tried wiping everything even sd card at last but it seems that i cant touch it at all.the sd card coudnt be deleted.(i had it encrypted before throught the phone)
i tried formating my sd card from home pc and i got ''format complete'' but when i opened again cwm everything was still there on sd. old forders old everything..cant restore from nandroid too.
do you have any idea whats the matter or some command to use to fix it?
i really need help there i cant afford bying one new..:highfive:
what ROM?
ej8989 said:
what ROM?
Click to expand...
Click to collapse
AOKP Build 5 Milestone 1 Jelly Bean
have you tried flashing another rom in cwm recovery?
ej8989 said:
have you tried flashing another rom in cwm recovery?
Click to expand...
Click to collapse
i tried flashing another rom both throuth the cwm and command promt from my pc...
cant understand whats really happened..but i think there is a problem in the sd(cause of that i cant erase it)
remake partition
try remake partition
for windows
run -> diskpart can remake partition for your nexus s
command sequence: select disk, select partition, delete partition, create partition primary
for linux
terminal -> fdisk
am gonna try it at once...
I found my disk of nexus s but it seems that i can handle partition...
it saying when i type ''list partition'' only one partition the one of nexus s..
the i command select partition=1
and the respond is no partition is found..am i doing something wrong?
yeah am sure now i just check select partition of another disk on my computer and is ok...
the system doesnt letting me to touch partition
here is the picture of cmd while giving commands...dunno what am doing wrong.
i achived to select other partition from other disk and it was fine but not on nexus.
image
wertytemplar said:
here is the picture of cmd while giving commands...dunno what am doing wrong.
i achived to select other partition from other disk and it was fine but not on nexus.
Click to expand...
Click to collapse
image size is too small to recognize.
when you select partition, diskpart displays what?
first i select disk example ''select disk 2''
''disk 2 is now selected''
then i press ''list partition'' so i can see how many partitions there are there (there is only one)
then ''select partition 1''
''there is no partition selected''
dl. dropbox. com/ s /m3uvqik9gk27tst/ I9023_XEN_I9023XXKD1_.zip ?dl=1
remove spaces
download above and flash using Odin in download mode
if u can get in fastboot
uxmanz said:
dl. dropbox. com/ s /m3uvqik9gk27tst/ I9023_XEN_I9023XXKD1_.zip ?dl=1
remove spaces
download above and flash using Odin in download mode
if u can get in fastboot
Click to expand...
Click to collapse
your link is invalid...
what this does?
i cant really find a way to format the memory...so bad that is intergrated....
anyone else help me please?
i have PM you some links and read,...please follow the steps
couldnt fix it.... odin doesnt seem to be responding with my nexus cause of pdanet couldnt be installed on my device...
am almost sure that there is a problem on the memory...
I'd first trying using Diskpart, and if that doesn't work, try flashing Stock using the command prompt. Like I mean full stock and with everything erased and whatnot. There's a guide somewhere in the forum's if you search for it.
Give that a try and let me know.
Regards,
Bomboholic
Bomboholic said:
I'd first trying using Diskpart, and if that doesn't work, try flashing Stock using the command prompt. Like I mean full stock and with everything erased and whatnot. There's a guide somewhere in the forum's if you search for it.
Give that a try and let me know.
Regards,
Bomboholic
Click to expand...
Click to collapse
i have tried many thinks till now....it doesnt seem like i can fix it really.
the only way to give command and take some feedback is from bootloader...
example(fastboot flash recovery.img)
(fastboot flash system.img) etc
when am trying to copy-paste something on sd (after mount it from cwm) its lost when i go back to mobile...
thank you for your time reading all these bro!:good:
Are you seeking to save the current data on your storage or you can afford losing it?
have you tried to format sdcard from cwm?...,..
if u can mount scdard from usb to computer ,.. u can use any partition software or even windows disk manager to format sdcard,...have u tried?

[Q] can you recover photos and vids after conducting a format on you asus tf700t?

I want to find an way on how to turn my asus tf700t into a storage mass usb so that i can run a recovery data software on my laptop and hope to recover photos and videos that i accidentally lost after I did a factory reset and wiped all my info!!!
Can you guys let me know if there is another way?
If your device is rooted and you have a microSD or SD card that is at least as big as the device's internal storage, you can make a full image of the data partition and try running your data recovery software on that image. The partition to copy is /dev/block/mmcblk0p8.
I do have root access and the sd card to conduct such procedure! now I need to figure out how to get to that particular file partition and copy it into my sd card.
/dev/block/mmcblk0p8.
manga\\//Colombia said:
I do have root access and the sd card to conduct such procedure! now I need to figure out how to get to that particular file partition and copy it into my sd card.
/dev/block/mmcblk0p8.
Click to expand...
Click to collapse
Run this in adb shell:
Code:
su (if you are not already root)
dd if=/dev/block/mmcblk0p8 of=/Removable/MicroSD/data.ext4 bs=32k
For the full size SD card in the dock, adjust the output path appropriately. It will take a while, as it needs to copy almost 32 or 64 GB.
If the image is only 4 GB, that's because of a limitation in your dd commmand and you need to find a version with large file support. Of course you should not install any apps as this reduces your chance for data recovery.
Thank you for your time.! I will let you know what happens. if it works, it can help those who are in the same shoes. as of today, I havent really found an answer. Although I am not an expert on using adb shell. I see I need the SDK android install in my laptop to run a cmd and then the adb shell.
once I run the code you mentioned above. how do i manage to copy/ mirror that file into my sd card? any codes I need to know? sorry
_that said:
Run this in adb shell:
Code:
su (if you are not already root)
dd if=/dev/block/mmcblk0p8 of=/Removable/MicroSD/data.ext4 bs=32k
For the full size SD card in the dock, adjust the output path appropriately. It will take a while, as it needs to copy almost 32 or 64 GB.
If the image is only 4 GB, that's because of a limitation in your dd commmand and you need to find a version with large file support. Of course you should not install any apps as this reduces your chance for data recovery.
Click to expand...
Click to collapse
manga\\//Colombia said:
once I run the code you mentioned above. how do i manage to copy/ mirror that file into my sd card? any codes I need to know? sorry
Click to expand...
Click to collapse
The "dd" command with the given parameters copies an image of your /data partition into a file on the sd card.
help
View attachment 2478723
I am kind of lost--figuring out how to do that! sorry
I have connected my asus tablet to my laptop. I ran cmd and input the data! nothing happens..
manga\\//Colombia said:
View attachment 2478723
I am kind of lost--figuring out how to do that! sorry
I have connected my asus tablet to my laptop. I ran cmd and input the data! nothing happens..
Click to expand...
Click to collapse
Your screenshot does not show what you typed. When you run "adb shell", you should get a prompt from your TF700 where you can run the su and dd commands (type Ctrl+D or "exit" and Enter to exit).
manga\\//Colombia said:
View attachment 2478723
I am kind of lost--figuring out how to do that! sorry
I have connected my asus tablet to my laptop. I ran cmd and input the data! nothing happens..
Click to expand...
Click to collapse
You may want to check out this guide on adb and adb shell:
http://forum.xda-developers.com/showthread.php?t=2141817
_that said:
Your screenshot does not show what you typed. When you run "adb shell", you should get a prompt from your TF700 where you can run the su and dd commands (type Ctrl+D or "exit" and Enter to exit).
Click to expand...
Click to collapse
I followed the instructions..bernblb provided below... here it is a picture of what i got.
Am I supposed to run this adb shell command with a terminal emulator...install one and run the code?
manga\\//Colombia said:
I followed the instructions..bernblb provided below... here it is a picture of what i got.
Am I supposed to run this adb shell command with a terminal emulator...install one and run the code?
Click to expand...
Click to collapse
That does not look as if you have root on your tablet. Here's what it looks like when I start an adb shell on mine:
Code:
C:\android-sdk\sdk\platform-tools>adb devices
List of devices attached
C9OKAS062039 device
C:\android-sdk\sdk\platform-tools>adb shell
[email protected]:/ #
Here is where you would run the dd command.
What do you get if you type:
adb shell - then hit <enter>
su <enter>
manga\\//Colombia said:
I followed the instructions..bernblb provided below... here it is a picture of what i got.
Click to expand...
Click to collapse
You forgot to run "su" before "dd".
I do have root access!!! check out my picture....
berndblb said:
That does not look as if you have root on your tablet. Here's what it looks like when I start an adb shell on mine:
Code:
C:\android-sdk\sdk\platform-tools>adb devices
List of devices attached
C9OKAS062039 device
C:\android-sdk\sdk\platform-tools>adb shell
[email protected]:/ #
Here is where you would run the dd command.
What do you get if you type:
adb shell - then hit <enter>
su <enter>
Click to expand...
Click to collapse
okay.. after i typed su i got [email protected]:/ #... then i copy paste then dd command and i got this!!! i have a 32 gb micro sd card inserted in the asus tablet keyboard dock...
manga\\//Colombia said:
okay.. after i typed su i got [email protected]:/ #... then i copy paste then dd command and i got this!!! i have a 32 gb micro sd card inserted in the asus tablet keyboard dock...
Click to expand...
Click to collapse
It's hard to help you if you don't read carefully what I wrote:
_that said:
For the full size SD card in the dock, adjust the output path appropriately.
Click to expand...
Click to collapse
I assume you have the microSD card in a microSD to SD adapter, so you have to treat it as a full size SD card - change MicroSD to SD in the dd command line.
_that said:
Run this in adb shell:
Code:
su (if you are not already root)
dd if=/dev/block/mmcblk0p8 of=/Removable/MicroSD/data.ext4 bs=32k
For the full size SD card in the dock, adjust the output path appropriately. It will take a while, as it needs to copy almost 32 or 64 GB.
If the image is only 4 GB, that's because of a limitation in your dd commmand and you need to find a version with large file support. Of course you should not install any apps as this reduces your chance for data recovery.
Click to expand...
Click to collapse
Hello _That
I did run the command with the proper SD path! but I got 4 gb image!!
in your response--regarding to find a version with a large file support? you mean maybe a 64 gb sd card?
I am gonna try to see if I can run a data recovery on that SD card and see what I can recover from there!! what data recovery for ext4 files software do you recommend??
manga\\//Colombia said:
I did run the command with the proper SD path! but I got 4 gb image!!
in your response--regarding to find a version with a large file support? you mean maybe a 64 gb sd card?
Click to expand...
Click to collapse
No - as I wrote this is a limitation of the dd implementation. I think Busybox comes with a better dd, but you'd need to push it via adb to a temporary filesystem to avoid overwriting anything in /data. Try playing with the truncated image you have now - if you can recover any files from it, it's worth trying to make a complete image.
manga\\//Colombia said:
I am gonna try to see if I can run a data recovery on that SD card and see what I can recover from there!! what data recovery for ext4 files software do you recommend??
Click to expand...
Click to collapse
I have no experience with any data recovery tools. Try googling "recover formatted ext4" or so. Note that the software must be able to work with an image file, not only a raw partition.
Free and open source recovery software that I can recomend. http://www.cgsecurity.org/
after running a recovery data soft on that external sd card where i copy the image of that 4 gb (partition) i wasnt able to recover the data i was looking for!!!! any ideas how to do step by step pushing that partition to a temp file system via adb
manga\\//Colombia said:
after running a recovery data soft on that external sd card where i copy the image of that 4 gb (partition) i wasnt able to recover the data i was looking for!!!!
Click to expand...
Click to collapse
You have to run the recovery software on the image file, not on the card. If you can recover *any* files from the image, it makes sense to try the next steps with a complete image.

How to dump /sdcard/ partition as .img to recover lost precious photos

I have a Moto G falcon and unlocked bootloader. I then installed twrp and then CM 11. I had taken pics of my childs 16th bday on the stock rom and screwed up big time.
I would like to dump the 5.5 gig partition to sd card to try and run recovery software on it to recover photos.
so far I have been given the following advice, I dont know how to implement it however.
If you don't use the phone's internal SD storage - there is still a chance you can recover the photos.
You can dump the /sdcard/ partition as a .img and use data recovery software on it.
I would make a backup of this partition asap, before attempting anything else.
To make this backup you will need a usb OTG cable and some external storage (sdcard or pen.) The .img will be around 5.5GB.
You will need root and the command is: dd if=/dev/block/platform/msm_sdcc.1/by-name/userdata of=/<external_storage>/userdata.img
Do not accidentally dump the .img onto /sdcard/ (internal storage)
After making a backup - you can explore your options.
There are undelete apps for android such as DiskDigger undelete.
Click to expand...
Click to collapse
I have my Moto G connected to PC with otg cable and a 16 gig sd card in PC and usb debugging is on. I am in fastboot
Appreciate your help. thanks
Holysmoke99 said:
I have a Moto G falcon and unlocked bootloader. I then installed twrp and then CM 11. I had taken pics of my childs 16th bday on the stock rom and screwed up big time.
I would like to dump the 5.5 gig partition to sd card to try and run recovery software on it to recover photos.
so far I have been given the following advice, I dont know how to implement it however.
I have my Moto G connected to PC with otg cable and a 16 gig sd card in PC and usb debugging is on. I am in fastboot
Appreciate your help. thanks
Click to expand...
Click to collapse
What does "I don't know how to implement it" mean, exactly?
Do you need help following the quoted instructions?
thenookieforlife3 said:
What does "I don't know how to implement it" mean, exactly?
Do you need help following the quoted instructions?
Click to expand...
Click to collapse
sadly, yes
Holysmoke99 said:
sadly, yes
Click to expand...
Click to collapse
Ah.
I'm busy with school at the moment, but I will give you in-depth instructions in a few hours.
Sound good?
thenookieforlife3 said:
Ah.
I'm busy with school at the moment, but I will give you in-depth instructions in a few hours.
Sound good?
Click to expand...
Click to collapse
absolutely!
Okay, so let's get started!
from previous post said:
If you don't use the phone's internal SD storage - there is still a
chance you can recover the photos.
You can dump the /sdcard/ partition as a .img and use data
recovery software on it.
I would make a backup of this partition asap, before attempting
anything else.
To make this backup you will need a usb OTG cable and some
external storage (sdcard). The .img will be around 5.5GB.
You will need root and the command is:
Code:
dd if=/dev/block/platform/msm_sdcc.1/by-name/userdata of= <external_storage>/userdata.img
(the above is all one line)
Do not accidentally dump the .img onto /sdcard/ (internal storage)
After making a backup - you can explore your options.
Click to expand...
Click to collapse
To follow the above instructions, follow my steps:
1. Root your phone!
2. Download and install the attached terminal app.
3. Plug in your empty sdcard.
4. Open the terminal app and execute the following command:
Code:
su
5. Now, execute the command found in the quote above.
• This should create a file called userdata.img on your sdcard.
6. Eject your sdcard from your phone, plug it into your PC, and extract the userdata.img file with an archive manager (7zip, WinRAR).
7. Retrieve your photos!
Hope this helps!
thanks so much for your reply...
I am using an OTG cord. Do the same instructions apply?
Holysmoke99 said:
thanks so much for your reply...
I am using an OTG cord. Do the same instructions apply?
Click to expand...
Click to collapse
What are you using an OTG cable for?
Why do you need one?
thenookieforlife3 said:
What are you using an OTG cable for?
Why do you need one?
Click to expand...
Click to collapse
my phone doesnt have an sd slot
Holysmoke99 said:
my phone doesnt have an sd slot
Click to expand...
Click to collapse
Okay, and yes, it's the same procedure.
thenookieforlife3 said:
Okay, and yes, it's the same procedure.
Click to expand...
Click to collapse
I will report back tomorrow how this goes. thanks!
thenookieforlife3 said:
Okay, so let's get started!
To follow the above instructions, follow my steps:
1. Root your phone!
2. Download and install the attached terminal app.
3. Plug in your empty sdcard.
4. Open the terminal app and execute the following command:
Code:
su
5. Now, execute the command found in the quote above.
• This should create a file called userdata.img on your sdcard.
6. Eject your sdcard from your phone, plug it into your PC, and extract the userdata.img file with an archive manager (7zip, WinRAR).
7. Retrieve your photos!
Hope this helps!
Click to expand...
Click to collapse
do you know what to put for the red part?
dd if=/dev/block/platform/msm_sdcc.1/by-name/userdata of=/<put_correct_location_for_external_storage_here>/userdata.img
Holysmoke99 said:
do you know what to put for the red part?
dd if=/dev/block/platform/msm_sdcc.1/by-name/userdata of=/<put_correct_location_for_external_storage_here>/userdata.img
Click to expand...
Click to collapse
300TH POST! :laugh:
Yes, you put the exact directory on the USB stick you've got plugged into your OTG cable where you want to dump the .img.
thenookieforlife3 said:
300TH POST! :laugh:
Yes, you put the exact directory on the USB stick you've got plugged into your OTG cable where you want to dump the .img.
Click to expand...
Click to collapse
thanks, but how do I determine what the directory is named?
Holysmoke99 said:
thanks, but how do I determine what the directory is named?
Click to expand...
Click to collapse
You need to first be sure your USB stick is mounted on your device.
Then, you use a file explorer app to find out where the stick actually is. I don't know for sure, but try looking for a /mnt in the root of your device.
After you find where it's mounted, it's all easy from there. Just go into the stick's filesystem, and create a folder like "images".
Lastly, the directory name you put into the dd command will look something like this:
Code:
/mnt/usb/images
Please note that it may not be exactly like that.

How can I check which model I have after motherboard replacement?

Hi Everybody,
I just got the motherboard replaced on my 64GB Oneplus One. I have just installed Ubports ubuntu touch and the storage is showing 16GB!
Is there a way of checking which motherboard I have, 16GB or 64GB? Maybe with fastboot or adb?
I think one of 2 things happened:
1. The repair guy replaced my 64GB motherboard with a 16GB motherboard, the bastard . It was hard to find somebody to do it so I will have to live with it.
2. Ubuntu touch is misreporting the disk size.
Thanks folks.
The only way you would be able to check is to download the original firmware
and flash it and if it flashes it is 64gb if not you will have the 16 GB variant
belofid said:
(...)
Ubuntu touch is misreporting the disk size.
.
Click to expand...
Click to collapse
1. If you already have Ubuntu, use the parted command from Ubuntu.
2. If you still have TWRP then download parted for android according to the instruction. Before executing the command, give executable permissions:
Code:
chmod 755 parted

Categories

Resources