Hello,
I tired to root my phone, (lg g4 ,marsllmow v20f)
when i do this command
Code:
dd if=/dev/block/mmcblk0 bs=8192 skip=55296 count=529920 of=/data/media/0/system.img
Code:
C:\Users\danie\Desktop\ROT>Send_Command.exe \\.\COM3
Author : blog.lvu.kr
SPECIAL COMMAND : ENTER, LEAVE
#dd if=/dev/block/mmcblk0 bs=8192 skip=55296 count=529920 of=/data/media/0/system.img
FAIL
#
thanks for help, if have some tut in video step by step , i will help
Thanks !!!!!
Try:
Code:
dd if=/data/media/0/system.img bs=8192 seek=55296 count=529920 of=/dev/block/mmcblk0
Danic0 said:
Hello,
I tired to root my phone, (lg g4 ,marsllmow v20f)
when i do this command
Code:
dd if=/dev/block/mmcblk0 bs=8192 skip=55296 count=529920 of=/data/media/0/system.img
Code:
C:\Users\danie\Desktop\ROT>Send_Command.exe \\.\COM3
Author : blog.lvu.kr
SPECIAL COMMAND : ENTER, LEAVE
#dd if=/dev/block/mmcblk0 bs=8192 skip=55296 count=529920 of=/data/media/0/system.img
FAIL
#
thanks for help, if have some tut in video step by step , i will help
Thanks !!!!!
Click to expand...
Click to collapse
With that method, it's not possible to root LG G4 with MM. In MM, first you need modify kernel, and then install SuperSu throu Custom Recovery (so you need unlocked bootloader). The latest versions of SuperSU, are able to patch kernel and then apply root.
lept_2014 said:
With that method, it's not possible to root LG G4 with MM. In MM, first you need modify kernel, and then install SuperSu throu Custom Recovery (so you need unlocked bootloader). The latest versions of SuperSU, are able to patch kernel and then apply root.
Click to expand...
Click to collapse
have some tutrial for this ?
Danic0 said:
have some tutrial for this ?
Click to expand...
Click to collapse
You can't. Right now there's no option to unlock the H815L bootloaders,
so.. no root for MM soon...
Related
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, ....???)
Hi1 my device running 5.1 V10C (H815). I want to flash prerooted v10c or D. Please give a guide to how to flash. Thanks
Do you have an image for it?
*edit*
Here's a pre-rooted H815 EUR 10D image I made:
https://www.androidfilehost.com/?fid=24052804347837030
With this image, SuperSu will ask to update. I'd recommend doing it.
Knowbody42 said:
Do you have an image for it?
*edit*
Here's a pre-rooted H815 EUR 10D image I made:
https://www.androidfilehost.com/?fid=24052804347837030
With this image, SuperSu will ask to update. I'd recommend doing it.
Click to expand...
Click to collapse
Thank you. I am new on Lg. How can i flash this image safely?
Use thete steps: http://forum.xda-developers.com/g4/orig-development/root-tmo-vzw-intl-variants-soon-root-lg-t3164765
With this command (H815 specific):
Code:
dd if=/data/media/0/rootedsystem.img bs=8192 seek=55296 count=529920 of=/dev/block/mmcblk0
If you want to back up your current system partition first, use this command before running the above one:
Code:
dd if=/dev/block/mmcblk0 bs=8192 seek=55296 count=529920 of=/data/media/0/system.img
And if things go wrong, you can restore your backup with this:
Code:
dd if=/data/media/0/system.img bs=8192 seek=55296 count=529920 of=/dev/block/mmcblk0
Knowbody42 said:
Do you have an image for it?
*edit*
Here's a pre-rooted H815 EUR 10D image I made:
https://www.androidfilehost.com/?fid=24052804347837030
With this image, SuperSu will ask to update. I'd recommend doing it.
Click to expand...
Click to collapse
Thanks a lot.
Could you make the same image for H815 V10F ??
Thanks in advance..
Knowbody42 said:
Use thete steps: http://forum.xda-developers.com/g4/orig-development/root-tmo-vzw-intl-variants-soon-root-lg-t3164765
With this command (H815 specific):
Code:
dd if=/data/media/0/rootedsystem.img bs=8192 seek=55296 count=529920 of=/dev/block/mmcblk0
If you want to back up your current system partition first, use this command before running the above one:
Code:
dd if=/dev/block/mmcblk0 bs=8192 seek=55296 count=529920 of=/data/media/0/system.img
And if things go wrong, you can restore your backup with this:
Code:
dd if=/data/media/0/system.img bs=8192 seek=55296 count=529920 of=/dev/block/mmcblk0
Click to expand...
Click to collapse
What will happen if i don't backup partition (actually i don't know what is that)?
Darudakos said:
Thanks a lot.
Could you make the same image for H815 V10F ??
Thanks in advance..
Click to expand...
Click to collapse
If you have an unrooted system.img I could make it a rooted one.
Or follow the root injection method here to do it yourself (requires a linux OS):
http://forum.xda-developers.com/g4/general/lg-g4-100-root-success-directives-root-t3180586
xdaorxan said:
What will happen if i don't backup partition (actually i don't know what is that)?
Click to expand...
Click to collapse
If you don't back up your system partition, it means more effort required to re-flash a stock KDZ if it breaks. Or if you needed to revert to the previous version (v10c) or something.
You could also keep the rootedsystem.img I made on there and use that as a backup, assuming it works on your device.
Hello!
The fact is, I somehow hard-bricked my M9 (international version, MID: 0PJA10000, CID: originally HTC__A07, but probably any will be OK) - when flashing one of the firmwares it (I don't know why) flashed the 64 GB partition table instead of a 32 GB one and went into reboot, now I'm in 9008 BULK mode). My only hope now is to find an SDCard - on some of Qualcomm SoCs it is a safeguard - and try to boot from it - but for that I need an image of the working system.
Can somebody help me getting this - anyone with rooted 32 Gb version and S-OFF (S-ON dump didn't helped)? The command is very easy:
Code:
dd if=/dev/block/mmcblk0 of=/sdcard/backup.bin bs=1048576 count=768
If it doesn't work, just:
Code:
dd if=/dev/block/mmcblk0 of=/sdcard/backup.bin bs=1048576 count=768
Then just give me pls that 768 Mb backup.bin file (it shouldn't have any personal information).
Help me please! This is my last hope.
Evengard said:
Hello!
This is my last hope.
Click to expand...
Click to collapse
[30;[email protected]:/ # busybox dd if=/dev/block/mmcblk0 of=/sdcard/backup.bin bs=1M count=768
ybox dd if=/dev/block/mmcblk0 of=/sdcard/backup.bin bs=1M count=768 <
tmp-mksh: 0: not found
tmp-mksh: 120Rbusybox: not found
127|[email protected]:/ #
not sure what I'm doing wrong.
try without "busybox", just
dd if=/dev/block/mmcblk0 of=/sdcard/backup.bin bs=1048576 count=768
S-ON dump didn't helped, seeking now an S-OFF dump!
Evengard said:
S-ON dump didn't helped, seeking now an S-OFF dump!
Click to expand...
Click to collapse
one sec.. Figured it out.
You have S-OFF?
Evengard said:
You have S-OFF?
Click to expand...
Click to collapse
Ya mon.
https://drive.google.com/file/d/0B9bgIP18PHxZLVluM2ZfYjhnVzg/view?usp=sharing
Wow thanks will try!
Evengard said:
Wow thanks will try!
Click to expand...
Click to collapse
If your phone explodes, you can't have mine.
It didn't explode but didn't helped neither
Hi, i'm stuck on TWRP 2.8.7.1 after a failed attempts to update LineageOS via OTA.
I cannot boot in bootloader nor in system, it always shows TWRP.
I found everywhere that in this case you should use these command lines :
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
but it gives me "no such file or directory" error :
Code:
~ # dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd: can't open '/dev/block/platform/msm_sdcc.1/by-name/fota': No such file or directory
~ # ls /dev/block/platform/
7824900.sdhci 7864900.sdhci
These are the only files I have in /dev/block/platform/
I don't know why but I can't update TWRP via TWRP : when I try to flash the image it just proposes me to flash the boot partition (not the recovery).
What could I do ?
I forgot to mention I flashed the correct crackling LineageOS image afterward, and it worked, but I'm still blocked in TWRP.
I handled it !
I just changed the command line to :
Code:
dd if=/dev/zero of=/dev/block/platform/7824900.sdhci/by-name/fota
dd if=/dev/zero of=/dev/block/platform/7824900.sdhci/by-name/misc
Too bad I completely wiped all my phone trying to make things work. I hope it will be useful to someone !
Hello, same twrp loop with 3.0.0 or brick with twrp 3.0.3 by fastboot
I find "fastboot continue" to boot in system
I'm testing with last nightly,
after update twrp with playstore
krodelabestiole said:
I handled it !
I just changed the command line to :
Code:
dd if=/dev/zero of=/dev/block/platform/7824900.sdhci/by-name/fota
dd if=/dev/zero of=/dev/block/platform/7824900.sdhci/by-name/misc
Too bad I completely wiped all my phone trying to make things work. I hope it will be useful to someone !
Click to expand...
Click to collapse
This just saved my son's phone
Thanks for your message and knowledge on this matter. The force salutes you and is with you
I keep coming to this thread for the commands.
Thanks krodelabestiole
krodelabestiole said:
I handled it !
I just changed the command line to :
Code:
dd if=/dev/zero of=/dev/block/platform/7824900.sdhci/by-name/fota
dd if=/dev/zero of=/dev/block/platform/7824900.sdhci/by-name/misc
Too bad I completely wiped all my phone trying to make things work. I hope it will be useful to someone !
Click to expand...
Click to collapse
This finally saved me. I was trying the same two commands that you started with and got the same "no such directory..." error and your new commands worked. That was a tense few hours.
This guide will help you to take backup of your device Stock ROM manually. For this you need a Moto E4 Device.
Requirements :
• Moto E4 Any Variant
• Unlocked Bootloader
• Rooted
• Installed Terminal Emulator Application
Procedure :
Install Terminal Emulator
--- After Installing Follow These Commands ---
Terminal commands :
Type :
PHP:
su
After getting Superuser permission type all the below commands
---- For Mediatek Variant ----
Boot image
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/boot of=/sdcard/boot.img
Expdb
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/expdb of=/sdcard/expdb.img
Frp
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/frp of=/sdcard/frp.img
Logo
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/logo of=/sdcard/logo.img
Preloader
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/lk of=/sdcard/lk.img
Nvram
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/nvram of=/sdcard/nvram.img
Nvdata
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/nvdata of=/sdcard/nvdata.img
OEM
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/oem of=/sdcard/oem.img
Protect1
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/protect1 of=/sdcard/protect1.img
Protect2
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/protect2 of=/sdcard/protect2.img
Persist
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/persist of=/sdcard/persist.img
Proinfo
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/proinfo of=/sdcard/proinfo.img
Para
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/para of=/sdcard/para.img
Recovery
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/recovery of=/sdcard/recovery.img
Secro
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/secro of=/sdcard/secro.img
Seccfg
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/seccfg of=/sdcard/seccfg.img
Tee1
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/tee1 of=/sdcard/tee1.img
Tee2
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/tee2 of=/sdcard/tee2.img
System
PHP:
dd if=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/system of=/sdcard/system.img
---- For Qualcomm Variant ----
System
PHP:
dd if=/dev/block/bootdevice/by-name/system of=/sdcard/system.img
Keystore
PHP:
dd if=/dev/block/bootdevice/by-name/keymaster of=/sdcard/keymaster.img
Boot image
PHP:
dd if=/dev/block/bootdevice/by-name/boot of=/sdcard/boot.img
Recovery
PHP:
dd if=/dev/block/bootdevice/by-name/recovery of=/sdcard/recovery.img
OEM
PHP:
dd if=/dev/block/bootdevice/by-name/oem of=/sdcard/oem.img
Persist
PHP:
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img
Radio
PHP:
dd if=/dev/block/bootdevice/by-name/modem of=/sdcard/modem.img
Misc
PHP:
dd if=/dev/block/bootdevice/by-name/misc of=/sdcard/misc.img
Nvram
PHP:
dd if=/dev/block/bootdevice/by-name/nvram of=/sdcard/nvram.img
Nvdata
PHP:
dd if=/dev/block/bootdevice/by-name/nvdata of=/sdcard/nvdata.img
Here in these commands i use *.img format. You can change *.img format to *.bin format.
What's the need when you have twrp recovery to backup.
Moderator Edit:
I have deleted your quote of the entire OP (the post above this). There is no need to do this - apart from being unnecessary, it can cause issues for those members on limited bandwidth or when Mobile. Thanks for your future consideration.
drganbds said:
What's the need when you have twrp recovery to backup.
Click to expand...
Click to collapse
TWRP is limited.
you can only take backup of system, data, cache & boot with TWRP recovery. you cannot take backup of nvram with twrp recovery. If you accidently wiped nvram data, you will lost all your device wireless functionality like wifi, radio, bluetooth & etc. so only this guide will going to help you.
You should specify this guide as being for the mtk variants, not all variants because the commands are not the same as the Qualcomm variants
amarc78 said:
You should specify this guide as being for the mtk variants, not all variants because the commands are not the same as the Qualcomm variants
Click to expand...
Click to collapse
Yes qualcomm variant of Moto E4 have different "block device path" and thanks for your suggestion will update the OP when i get free time.
If anyone has a backup of the XT1766 Boost Mobile Qualcomm variant I would love to have a copy of it
PimpMy5Ton said:
If anyone has a backup of the XT1766 Boost Mobile Qualcomm variant I would love to have a copy of it
Click to expand...
Click to collapse
Their's a qualcomm subforum ask there for help or stock backup :good:
Worked great, though there were no nvram partitions to back up on my metro model.
Nice to have a full stock backup just in case, thanks!
Sent from my XT1765 using Tapatalk
nekomancey said:
Worked great, though there were no nvram partitions to back up on my metro model.
Nice to have a full stock backup just in case, thanks!
Sent from my XT1765 using Tapatalk
Click to expand...
Click to collapse
-OP- is dead now.
No thanked to him. LOL
---------- Post added at 08:18 AM ---------- Previous post was at 08:16 AM ----------
nekomancey said:
Worked great, though there were no nvram partitions to back up on my metro model.
Nice to have a full stock backup just in case, thanks!
Sent from my XT1765 using Tapatalk
Click to expand...
Click to collapse
*Radio* is your device nv partition.
Francesco Franz said:
Their's a qualcomm subforum ask there for help or stock backup :good:
Click to expand...
Click to collapse
I'm asking here because this is a backup thread, I will not ask elsewhere.