hi looking for help with using DD code to push modem image to sprint lg v20 me2151 shared the modem file with me but says i have to use DD code to install it would appreciate the help with fixing my PAPERWEIGHT V20. i need to know the exact wording in DD to fix my v20 again THANKS XDA COMMUNITY
possible wording for dd push
CAN I USE THIS DD CODE BELOW TO PUSH MODEM IMAGE TO SPRINT LG V20?
dd if=/data/media/0/modem.img bs=8192 seek=65536 count=557312 of=/dev/block/mmcblk0
Related
So i think i messed up and installed a 16gb KDZ file instead of a 32GB file. What do i do to get the 32GB back?
Flash a 32GB kdz
Andr3y29 said:
Flash a 32GB kdz
Click to expand...
Click to collapse
Lol, what a pathetic answer. I wish it was as easy as that.
By flashing a 16 GB kdz you actually messed with your partitions - that's not so good.
I feel very sorry for you since it's quite a mess you have to go through. Here's the guide.
http://forum.xda-developers.com/showpost.php?p=50790181&postcount=49
Thanks, surprisingly it wasnt as bad as i thought, had to change the command lines and add /xbin and worked like a charm.
Fullmetalalchemist said:
Thanks, surprisingly it wasnt as bad as i thought, had to change the command lines and add /xbin and worked like a charm.
Click to expand...
Click to collapse
how? which command lines?
vPro97 said:
Lol, what a pathetic answer. I wish it was as easy as that.
By flashing a 16 GB kdz you actually messed with your partitions - that's not so good.
I feel very sorry for you since it's quite a mess you have to go through. Here's the guide.
http://forum.xda-developers.com/showpost.php?p=50790181&postcount=49
Click to expand...
Click to collapse
the difference of 32-16 gb is only form kdz? or for custom rom zip too?
4Freedom said:
how? which command lines?
the difference of 32-16 gb is only form kdz? or for custom rom zip too?
Click to expand...
Click to collapse
Only for kdz. Custom roms don't mess with your partitions (unless you're flashing the Korean lollipop)
adb shell
su
cd /system/xbin
parted /dev/block/mmcblk0
and
adb shell
su
cd /system/xbin
dd if=/system/xbin/sgpt32g.img of=/dev/block/mmcblk0 bs=512 seek=61071327 conv=notrunc
dd if=/system/xbin/pgpt32g.img of=/dev/block/mmcblk0 bs=512 seek=0 conv=notrunc
I'm trying to get a debrick image for a friend. Could anyone run this on their GTI9505 and upload the output? Thanks in advance!
busybox dd if=/dev/block/mmcblk0 of=/sdcard/backup.bin bs=100000000 count=5
I had a problem with my SM-N9005.
They lost her baseband (baseband null) and also IMEI (IMEI null) with a malicious app.
So, no one baseband can't be flashed, but this was solved just flashing a PIT FILE + KIT KAT ROM + some commands in ADB (adb shell, su... etc).
Like in this topic:
http://forum.xda-developers.com/showthread.php?t=2567133
But I have a GT-I9500, with baseband... But IMEI is generic... Well, I can try to repair it with a repairer box.
But I'd like to know if exists some similar way to restore the partitions of S4 (and maybe the partition with the IMEI and the CERT), like I did with my SM-N9005.
Well, exists here some similar thread for S4 GT-I9500?
Like for example, installing together some ROM with a PIT file, and after tiping commands like this at some ADB program?
Comands like this?
adb shell
su
dd if=/external_sd/mmcblk0p1 of=/dev/block/mmcblk0p1
dd if=/external_sd/mmcblk0p2 of=/dev/block/mmcblk0p2
...
dd if=/external_sd/mmcblk0rpmb of=/dev/block/mmcblk0rpmb
Well... If exists a similar method... I'd like to try...
Thanks!
you can copy PIT using adb shell
dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=580 skip=2176.
Under odin there is option to creat pit partition.
You can copy all your partition before repartition.
Hello everyone, can someone send me a dd backup of mmcblk0? I need it to recover my device from hardbrick
Here's the command to take the dd backup
Code:
dd if=/dev/block/mmcblk0 of=/sdcard/backup.img bs=512
Darkness1 said:
Hello everyone, can someone send me a dd backup of mmcblk0? I need it to recover my device from hardbrick
Here's the command to take the dd backup
Code:
dd if=/dev/block/mmcblk0 of=/sdcard/backup.img bs=512
Click to expand...
Click to collapse
I will but my computer already shut down,,would be send the link tomorrow morning,just be patient
ozykes said:
I will but my computer already shut down,,would be send the link tomorrow morning,just be patient
Click to expand...
Click to collapse
Wow, thanks! Will wait for that, thanks!
Darkness1 said:
Wow, thanks! Will wait for that, thanks!
Click to expand...
Click to collapse
Here you go and sorry for the slow response https://drive.google.com/file/d/1EivvGFdUwGfYEDe_FTskz7EqW76TwSha/view?usp=drivesdk
Hi mates, thank you for helping!
Really a complicated story mine, had on this phone already issues with baseband (when I bought it had LL 5.01) when I upgraded it to RR 7.1.2, then I figured out I needed to upload the latest stock 6.0.1 G900PVPS3CQD1 to have it working, I also PITted the phone before, it worked for 5-6 monts, then the signal went off.
I've tried different solutions:
1) in TWRP typed in its terminal the commands I've found here:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
It said "not enough space" but it looks in the end it copied around 3MB. Rebbited but no changes
2) Again thr TWRP:
dd if=/dev/block/platform/msm_sdcc.1/by-name/efs of=efs.bak
dd if=/dev/block/bootdevice/by-name/modemst1 of=modemst1.bak bs=4096
dd if=/dev/block/bootdevice/by-name/modemst2 of=modemst2.bak bs=4096
find /efs -exec ls -l {} \; > efs-permissions
nothing changed
3) updated to lineage 15.1, it says "no sim card" (the sim works fine in another 900V) with rooted ADB shell tried the "dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1" but no such file. Then I decided to flash stock LL 5.01 BOK but like in stock 6.01 says "invalid sim card".
4) I run in adb:
adb shell
mount
and can't see /stl4 /efs so this is why I assume that efs is corrupted.
Somebody says to flash (under Odin PDA) EFS-Fix-regalstreak.tar.md5, but I won't risk to flash other phones data on my phone, including its IMEI.
Someone else says I have to backup EFS (I suppose this is possibile because when I executed adb commands it never said me that the files don't exist) and reflash it to fix the corruption. How this is possible to do? Thank you!
PS: I attached the backupof EFS made by TWRP, seems all good (not corrupted), why sim doesn't work?
I'm now on stock LL BOK, using in adb mount I have this
/dev/block/platform/msm_sdcc.1/by-name/efs /efs ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0