Backup files - LG Optimus G (International)

Hi people! I need backups from your phone F180L. Those who have F180L phone please make a backup. Go to the terminal emulator and type:
su
cd /sdcard
mkdir 123
cd /123
dd if=/dev/block/mmcblk0p1 of=modem.img
dd if=/dev/block/mmcblk0p15 of=drm.img
dd if=/dev/block/mmcblk0p12 of=m9kefs1.img
dd if=/dev/block/mmcblk0p13 of=m9kefs2.img
dd if=/dev/block/mmcblk0p26 of=persist.img
Please Share a link to files that are in the /123

mazahaka1997 said:
Hi people! I need backups from your phone F180L. Those who have F180L phone please make a backup. Go to the terminal emulator and type:
su
cd /sdcard
mkdir 123
cd /123
dd if=/dev/block/mmcblk0p1 of=modem.img
dd if=/dev/block/mmcblk0p15 of=drm.img
dd if=/dev/block/mmcblk0p12 of=m9kefs1.img
dd if=/dev/block/mmcblk0p13 of=m9kefs2.img
dd if=/dev/block/mmcblk0p26 of=persist.img
Please Share a link to files that are in the /123
Click to expand...
Click to collapse
Those who know what this is about, need no explanations. Those who are not so sure, be aware that by doing this (specifically the line in red), you will be sharing your phone's identity. Nothing's wrong with that, as long as you know it.

What's in drm and persist images?
Sent from my LG-E975 using Tapatalk

davevinci said:
What's in drm and persist images?
Click to expand...
Click to collapse
For these two, I don't know... Since I am not familiar with nuts and bolts of the DRM implementation on Android, I don't know what exactly is stored on that partition. As for persist, I was trying to get some info on it quite a while ago, for a different phone that is long gone, but couldn't find much.

Related

[REQUEST] SGH-T999V SBL Dumps

Hi there,
I'm working at creating a solution for JTAG repair on the SGS III T999V model and I'm in need of a SGH-T999V SBL dumps and a few other zones. I need a rooted user to simply perform the following command from a terminal on the phone, or while using ADB SHELL under the su user. Once at the command line issue this command, then simply upload the files which end up on your sdcard to me here. That's it!
Thanks in advance! If you are rooted, please step up and do the community a favor to make this solution possible...
NOTE: THE SGH-T999 HAS DIFFERENT LOADERS THAN THAT OF THE SGH-T999V. FOR THIS REASON, THE DONOR DEVICE OF THESE FILES MUST BE SGH-T999V.
Code:
dd if=/dev/block/mmcblk0p2 of=/sdcard/sbl1 bs=4096
dd if=/dev/block/mmcblk0p3 of=/sdcard/sbl2 bs=4096
dd if=/dev/block/mmcblk0p4 of=/sdcard/sbl3 bs=4096
dd if=/dev/block/mmcblk0p5 of=/sdcard/aboot bs=4096
dd if=/dev/block/mmcblk0p6 of=/sdcard/rpm bs=4096
dd if=/dev/block/mmcblk0p7 of=/sdcard/boot bs=4096
dd if=/dev/block/mmcblk0p8 of=/sdcard/tz bs=4096
dd if=/dev/block/mmcblk0p9 of=/sdcard/pad bs=4096
dd if=/dev/block/mmcblk0p10 of=/sdcard/param bs=4096
dd if=/dev/block/mmcblk0p18 of=/sdcard/recovery bs=4096
Bump. This is an easy operation for any rooted user. I can even make it easier with a batch script if needed. The community needs this for your T999V...
Super simple request guys. If you have a rooted T999V please post up after running the above commands. These dumps do not capture any personal data and there is ZERO risk at doing anything damaging to your device.
I can probably help you with this man! If I'm having problems, I'll PM you by tonight
This would be fantastic. As long as you have a T999V this would be exactly what is needed to ensure the T999V is repairable when hard bricked via JTAG...
I'm kinda confused mann, I'm entering all the CODES ? By downloading Terminal Emulator on my phone?
Yes terminal emulator would work fine. Then you can enter them one by one, they will be saved to your sdcard on the phone. Then just put them online so I can download them.
Any luck buddy? I can walk you through any questions you may have.
Bump!!
Come on guys! Don't worry, this is important.
Ok I think I got all the files for you guys here..
let me know if I missed anything.
http://www.mediafire.com/?o77cos8yuh6k0dd
Just so other's know, we produced the world's first T999V a little over a month ago so this thread has succeeded it's purpose. Flash away guys, your hard bricks are fully repairable now...
Hahaha ^ yup! We are in safe hands.
Thanks to you...

taking a system image using "dd" command for

Hi, bit of a noob - not sure if i have the terminology right but i have a Note II N7100 and need to do some forensics for a pal whos wife is possibly having an affair and hides it thru kik online chat not txts. I am planning to take an image to a 32gb microsd, move to PC,run winhex and finally testdisc over the resulting drive to hopefully recover some deleted sqlite db's!
I am going off this guide - forensicfocus.com/2012/09/12/android-forensics/ - I have rooted the phone all fine. But i am having a job with the "dd" command for example
dd if=/dev/block/mmcblk0p16 of=/extSdCard/image.img
This returns "/extSdCard/image.img - cannot open for write. No such file or directory"
Or dd if=/dev/block/mmcblk0p16 of=/dev/block/vold/179:33/image.img
returns "/dev/block/vold/179:33/image.img - cannot open for write. Not a directory"
Ive used "diskdigger" to look for images and devices are:
/system 2gb (/dev/block/mmcblk0p16)
/efs 20mb (/dev/block/mmcblk0p3)
/cache 1.34gb (/dev/block/mmcblk0p12)
/data 10.6gb (/dev/block/mmcblk0p16)
/storage/extSdCard, 29gb (dev/block/vold/179:33)
Any help or links on the syntax appreciated greatly
Off the top of my head the first thing I would try is sending the dd image to the internal sdcard first, then moving it to the external later. Might be that it's having trouble going the extra step away from the device.
You could always just plug it into a computer and use adb to pull the dd image(s) directly to the computer and skip putting them on the phone at all. It's what I would do to minimize my residual impact on the device at hand.
Also, try naming them as the mmcblk.img corresponding to what partition you are pulling, makes it easier to go through later.
Try this:
Code:
dd if=/dev/block/mmcblk0p13 of=/storage/extSdCard/system.img bs=4096
This should give you a dd of /system (which is /dev/block/mmcblk0p13, not /dev/block/mmcblk0p16).
dwitherell said:
Try this:
Code:
dd if=/dev/block/mmcblk0p13 of=/storage/extSdCard/system.img bs=4096
This should give you a dd of /system (which is /dev/block/mmcblk0p13, not /dev/block/mmcblk0p16).
Click to expand...
Click to collapse
ah you are a hero! :good::good::good:
G2 Mini
dwitherell said:
Try this:
Code:
dd if=/dev/block/mmcblk0p13 of=/storage/extSdCard/system.img bs=4096
This should give you a dd of /system (which is /dev/block/mmcblk0p13, not /dev/block/mmcblk0p16).
Click to expand...
Click to collapse
Thanks dude! you saved my ass with the D620!

[Q] How to restore images which are backuped with dd via ADB

First of all I'm still exploring Androide and Linux = bit of a noob still
I rooted and then saved those images like this:
dd if=/dev/block/mmcblk0p10 of=/storage/extSdCard/backup/recovery/recovery_dd.img
dd if=/dev/block/mmcblk0p3 of=/storage/extSdCard/backup/efs/efs_dd.img
How can I restore them ?? (via ADB, Odin, Flashify)
In the opposite way
dd if=/storage/extSdCard/backup/recovery/recovery_dd.img of=/dev/block/mmcblk0p10
dd if=/storage/extSdCard/backup/efs/efs_dd.img of=/dev/block/mmcblk0p3
radkor said:
In the opposite way
dd if=/storage/extSdCard/backup/recovery/recovery_dd.img of=/dev/block/mmcblk0p10
dd if=/storage/extSdCard/backup/efs/efs_dd.img of=/dev/block/mmcblk0p3
Click to expand...
Click to collapse
THX, didnt know that it is that simple. Can this be done during the device is in normal ON mode or do I have to set the device into a special mode after boot ?
How would you restare a system.img made with dd ? (I think ist not such a good idea to do it in normal ON mode ??)
How would you restore a system.img ?
a) extracted from StockROM package (does it need any conversion first ?)
b) made with dd
I think ist might not be a good idea to do it in normal ON mode ?? (Odin, ....???)

[Q&A] [INFO]Partition List HTC ONE M8 / RAW DUMP SCRIPT

Q&A for [INFO]Partition List HTC ONE M8 / RAW DUMP SCRIPT
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [INFO]Partition List HTC ONE M8 / RAW DUMP SCRIPT. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Roundabout Method
I don't mean to be a grave digger, but this method worked for me, perhaps someone else may find it useful:
Problems:
I couldn't get access to the partitions through adb shell, it kept giving 'access denied' and adb was not asking SuperSu for root permissions.
Solution: [I disclaim everything for legal purposes]
After a number of things, I finally copied the following into Google Keep (you can use anything, notepad, whatever, mainly to transfer a script-like function). WARNING, you DO need an External SD CARD (Verify through Root Explorer that the /sdcard2/ is your EXTERNAL SD card. Make a folder on it called "World" [or whatever], it will save there, else change [use replace all in notepad?] it to work):
Code:
dd if=/dev/block/mmcblk0p1 of=/sdcard2/World/mmcblk0p1
dd if=/dev/block/mmcblk0p2 of=/sdcard2/World/mmcblk0p2
dd if=/dev/block/mmcblk0p3 of=/sdcard2/World/mmcblk0p3
dd if=/dev/block/mmcblk0p4 of=/sdcard2/World/mmcblk0p4
dd if=/dev/block/mmcblk0p5 of=/sdcard2/World/mmcblk0p5
dd if=/dev/block/mmcblk0p6 of=/sdcard2/World/mmcblk0p6
dd if=/dev/block/mmcblk0p7 of=/sdcard2/World/mmcblk0p7
dd if=/dev/block/mmcblk0p8 of=/sdcard2/World/mmcblk0p8
dd if=/dev/block/mmcblk0p9 of=/sdcard2/World/mmcblk0p9
dd if=/dev/block/mmcblk0p10 of=/sdcard2/World/mmcblk0p10
dd if=/dev/block/mmcblk0p11 of=/sdcard2/World/mmcblk0p11
dd if=/dev/block/mmcblk0p12 of=/sdcard2/World/mmcblk0p12
dd if=/dev/block/mmcblk0p13 of=/sdcard2/World/mmcblk0p13
dd if=/dev/block/mmcblk0p14 of=/sdcard2/World/mmcblk0p14
dd if=/dev/block/mmcblk0p15 of=/sdcard2/World/mmcblk0p15
dd if=/dev/block/mmcblk0p16 of=/sdcard2/World/mmcblk0p16
dd if=/dev/block/mmcblk0p17 of=/sdcard2/World/mmcblk0p17
dd if=/dev/block/mmcblk0p18 of=/sdcard2/World/mmcblk0p18
dd if=/dev/block/mmcblk0p19 of=/sdcard2/World/mmcblk0p19
dd if=/dev/block/mmcblk0p20 of=/sdcard2/World/mmcblk0p20
dd if=/dev/block/mmcblk0p21 of=/sdcard2/World/mmcblk0p21
dd if=/dev/block/mmcblk0p22 of=/sdcard2/World/mmcblk0p22
dd if=/dev/block/mmcblk0p23 of=/sdcard2/World/mmcblk0p23
dd if=/dev/block/mmcblk0p24 of=/sdcard2/World/mmcblk0p24
dd if=/dev/block/mmcblk0p25 of=/sdcard2/World/mmcblk0p25
dd if=/dev/block/mmcblk0p26 of=/sdcard2/World/mmcblk0p26
dd if=/dev/block/mmcblk0p27 of=/sdcard2/World/mmcblk0p27
dd if=/dev/block/mmcblk0p28 of=/sdcard2/World/mmcblk0p28
dd if=/dev/block/mmcblk0p29 of=/sdcard2/World/mmcblk0p29
dd if=/dev/block/mmcblk0p30 of=/sdcard2/World/mmcblk0p30
dd if=/dev/block/mmcblk0p31 of=/sdcard2/World/mmcblk0p31
dd if=/dev/block/mmcblk0p32 of=/sdcard2/World/mmcblk0p32
dd if=/dev/block/mmcblk0p33 of=/sdcard2/World/mmcblk0p33
dd if=/dev/block/mmcblk0p34 of=/sdcard2/World/mmcblk0p34
dd if=/dev/block/mmcblk0p35 of=/sdcard2/World/mmcblk0p35
dd if=/dev/block/mmcblk0p36 of=/sdcard2/World/mmcblk0p36
dd if=/dev/block/mmcblk0p37 of=/sdcard2/World/mmcblk0p37
dd if=/dev/block/mmcblk0p38 of=/sdcard2/World/mmcblk0p38
dd if=/dev/block/mmcblk0p39 of=/sdcard2/World/mmcblk0p39
dd if=/dev/block/mmcblk0p40 of=/sdcard2/World/mmcblk0p40
dd if=/dev/block/mmcblk0p41 of=/sdcard2/World/mmcblk0p41
dd if=/dev/block/mmcblk0p42 of=/sdcard2/World/mmcblk0p42
dd if=/dev/block/mmcblk0p43 of=/sdcard2/World/mmcblk0p43
dd if=/dev/block/mmcblk0p44 of=/sdcard2/World/mmcblk0p44
dd if=/dev/block/mmcblk0p45 of=/sdcard2/World/mmcblk0p45
dd if=/dev/block/mmcblk0p46 of=/sdcard2/World/mmcblk0p46
(Copy with or add a final return character for the last line to run okay)
I installed Terminal Editor
I went into Terminal Editor, typed "SU" pressed enter, a window pops up from SuperSu, Grant TE superpowers!!
Now, copy the above 'script', paste into TE (It will start immediately)
Connect your phone to your computer, and copy the World folder from your external storage to your computer.
PS it takes about 3GB on near-stock, without User Data.
Mainly I wanted the radio files and such, but whatever now I have a whole backup
Yea you'll need an unsecured kernel for ADB with root and some other modifications. It will get only worse moving forward. On the M9, even more stuff is required to run ADB as root.
My script still works, you just need to work out how to grant root to ADB.
Unfortunately, that also means you will not have any means to run a full and true stock backup (clone) of your phone because you need to modify at least the kernel and the ROM (add SU) in order to have access.
On the M9, DD has even been disabled for most partitions even with S-OFF. There, you can not access quite a few partitions with dd write (read works), rendering such clone backups useless.

v521 Bootloop after upgrading to TWRP 3.1.1-0, flashing latest Lineage

So it's been a while since I played with ROMs on my v521, but i just upgraded to TWRP 3.1.1-0, and tried to update lineage to the newest nightly. I'm not swuck in a boot-loop.
I've run the commands in terminal that fixed the issue last time I ran into it:
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
To no avail - terminal says it can't find the files.
I've wiped everything, reformatted data, reinstalled TWRP, etc.
What's next? How can I break out of the loop?
I fixed it. Grabbed the wrong bookmark. Should have run:
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/fota
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc
Xerloq said:
I fixed it. Grabbed the wrong bookmark. Should have run:
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/fota
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc
Click to expand...
Click to collapse
I recently ran into this issue. Thanks for posting the fix!
You saved my butt with this, OP! Thank you!
For those who stumble onto this, the "terminal" he's referring to is the TWRP terminal that is accessible in TWRP>>Advanced>>Terminal.
Thanks for this fix! Could someone please tell me how to type an equal sign (=) in the TWRP terminal keyboard? I can't find it anywhere. I managed to give the tablet these commands with the adb shell.
How to upgrading 3.1.1-0?
How to upgrading 3.1.1-0?
yangseunghwan said:
How to upgrading 3.1.1-0?
Click to expand...
Click to collapse
I am using 3.1.1-0.
Thanks, this worked perfectly! I'm running TWRP-V521-3.0.2.0
How to type an "=" sign in TWRP terminal kb
channeledbymodem said:
Thanks for this fix! Could someone please tell me how to type an equal sign (=) in the TWRP terminal keyboard? I can't find it anywhere. I managed to give the tablet these commands with the adb shell.
Click to expand...
Click to collapse
I'll answer my own question in case someone comes here looking for the answer:
in twrp terminal keyboard to type "=" sign, tap ?123, then ~\{ for special characters including "="
Xerloq said:
I fixed it. Grabbed the wrong bookmark. Should have run:
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/fota
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc
Click to expand...
Click to collapse
I have been stuck on this issue for over 5 hours thank you so mucn

Categories

Resources