[Request] Oppo Find 5 'boot.img' extract from device - Oppo Find 5

Hey Folks,
Is there anyone who wants to extract the basic stock kernel from the Oppo Find 5.
I don't have the Oppo Find 5 yet, but I want to make a custom kernel for it.
Instructions:
- Make sure you have ADB set up
- Make sure your device is in USB debugging
Code:
adb shell
su
dd if=/dev/block/mmcblk0p18 of=/sdcard/boot.img
exit
adb pull /sdcard/boot.img
Thanks in advance!
Ps: A big thanks to the one that wants to do this!

brakke97 said:
Hey Folks,
Is there anyone who wants to extract the basic stock kernel from the Oppo Find 5.
I don't have the Oppo Find 5 yet, but I want to make a custom kernel for it.
Instructions:
- Make sure you have ADB set up
- Make sure your device is in USB debugging
Code:
adb shell
su
dd if=/dev/block/mmcblk0p18 of=/sdcard/boot.img
exit
adb pull /sdcard/boot.img
Thanks in advance!
Ps: A big thanks to the one wants to do this!
Click to expand...
Click to collapse
you probably want the ramdisk.gz ?
http://files.ngvincent.com/android/oppo-find-5/kernel/ramdisk.gz
if you want a walk through of building the kernel source
https://git.ngvincent.com/projects/oppo-x909-cm10/wiki

@paperWastage Thanks for the help!

paperWastage said:
you probably want the ramdisk.gz ?
http://files.ngvincent.com/android/oppo-find-5/ramdisk.gz
if you want a walk through of building the kernel source
https://git.ngvincent.com/projects/oppo-x909-cm10/wiki
Click to expand...
Click to collapse
The link from the ramdisk.gz is dead.
Do you have a mirror site?

brakke97 said:
Hey Folks,
Is there anyone who wants to extract the basic stock kernel from the Oppo Find 5.
I don't have the Oppo Find 5 yet, but I want to make a custom kernel for it.
Instructions:
- Make sure you have ADB set up
- Make sure your device is in USB debugging
Code:
adb shell
su
dd if=/dev/block/mmcblk0p18 of=/sdcard/boot.img
exit
adb pull /sdcard/boot.img
Thanks in advance!
Ps: A big thanks to the one that wants to do this!
Click to expand...
Click to collapse
Code:
c:\AndroidSDK\platform-tools>adb shell
[email protected]:/ $ su
su
[email protected]:/ # dd if=/dev/block/mmcblk0p18 of=/sdcard/boot.img
dd if=/dev/block/mmcblk0p18 of=/sdcard/boot.img
20480+0 records in
20480+0 records out
10485760 bytes transferred in 0.552 secs (18995942 bytes/sec)
[email protected]:/ # exit
exit
[email protected]:/ $ adb pull /sdcard/boot.img
adb pull /sdcard/boot.img
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
error: device not found
However found the boot.img on the root of sdcard but failed to open it, maybe you have a better luck

Hello everyone,
I was wondering if there is any support for the T-Mobile LG Optimus F6? I was able to pull the aboot.img from the device, but I am not sure if this is even compatible or not? Here is the aboot.img attached to this post. Is it possible for someone to take a look at this? Thanks!

KaminoReal said:
Code:
c:\AndroidSDK\platform-tools>adb shell
[email protected]:/ $ su
su
[email protected]:/ # dd if=/dev/block/mmcblk0p18 of=/sdcard/boot.img
dd if=/dev/block/mmcblk0p18 of=/sdcard/boot.img
20480+0 records in
20480+0 records out
10485760 bytes transferred in 0.552 secs (18995942 bytes/sec)
[email protected]:/ # exit
exit
[email protected]:/ $ adb pull /sdcard/boot.img
adb pull /sdcard/boot.img
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
error: device not found
However found the boot.img on the root of sdcard but failed to open it, maybe you have a better luck
Click to expand...
Click to collapse
thats because you need to split it first! with

Related

[REQ] Nexus 4 16G partition table dump

I would really appreciate if someone with 16G Nexus 4 can make a primary partition table dump.
It is only 17KB in size and has no personal information and is same on all 16G devices.
Device has to be rooted and root for adb should be enabled in dev options or it can be booted into cwm
Code:
adb shell
su (skip this test if booted into cwm)
dd if=/dev/block/mmcblk0 of=/sdcard/pgpt.img bs=512 count=34
exit
exit (skip this step if booted into cwm)
adb pull /sdcard/pgpt.img
Please post pgpt.img or send a PM to me.
Thanks!
http://d-h.st/bR1
Good luck with getting the full 16GB on the LOG to N4 conversion
Sent from my Nexus 4 using xda premium
android88 said:
http://d-h.st/bR1
Good luck with getting the full 16GB on the LOG to N4 conversion
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Thanks! Yep, you nailed it, I'm converted (my phone, to be precise)
Can I ask another favor to make a dump of more partitions? I want to make sure they do not differ from 8G version.
Code:
...
dd if=/dev/block/platform/msm_sdcc.1/by-name/sbl1 of=/sdcard/sbl1.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/sbl2 of=/sdcard/sbl2.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/sbl3 of=/sdcard/sbl3.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/tz of=/sdcard/tz.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/rpm of=/sdcard/rpm.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/sdcard/aboot.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/misc of=/sdcard/misc.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/persist of=/sdcard/persist.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/DDR of=/sdcard/DDR.img
...
adb pull /sdcard/sbl1.img
adb pull /sdcard/sbl2.img
adb pull /sdcard/sbl3.img
adb pull /sdcard/tz.img
adb pull /sdcard/rpm.img
adb pull /sdcard/aboot.img
adb pull /sdcard/misc.img
adb pull /sdcard/persist.img
adb pull /sdcard/DDR.img

[Q] Loki flash??

ok here's the lowdown.
Verizon lg g2
rooted = yes
downloaded or a update in December = yes
installed twrp using the freegee app in the app market. not sure if their method implies the Loki boot loader bypass.
my question is is their a way to imply Loki bypass no. twrp does work but I can't successfully flash any roms and I believe it's the lack of Loki being implemented.
Here's loki patched twrp and loki patched boot
extract and flash
datechnerd said:
Here's loki patched twrp and loki patched boot
extract and flash
Click to expand...
Click to collapse
Still kinda new to the whole flash game.. I'm using flashify and it has three flash options
boot image
recovery image
and zip file..
which option do I use to flash.
sorry if the question seems obscene.
joewaz said:
Still kinda new to the whole flash game.. I'm using flashify and it has three flash options
boot image
recovery image
and zip file..
which option do I use to flash.
sorry if the question seems obscene.
Click to expand...
Click to collapse
Those are great questions..
I am having a issue close to yours..
I am going to use the boot as boot and the recovery as recovery.
These phone are quite a bit different than htc
http://forum.xda-developers.com/showthread.php?t=2449670 here's a guide
example for twrp
[email protected]:~$ adb push twrp.lok /data/local/tmp
[email protected]:~$ adb push loki_flash /data/local/tmp
[email protected]:~$ adb shell
[email protected]:/ $ su
[email protected]:/ # /data/local/tmp/loki_flash
Usage: /data/local/tmp/loki_flash [boot|recovery] [in.lok]
[email protected]:/ # /data/local/tmp/loki_flash recovery /data/local/tmp/twrp.lok
[+] Loki validation passed, flashing image.
2253+1 records in
2253+1 records out
9230848 bytes transferred in 0.656 secs (14071414 bytes/sec)
[+] Loki flashing complete!
example for boot
[email protected]:~$ adb push boot.lok /data/local/tmp
[email protected]:~$ adb push loki_flash /data/local/tmp
[email protected]:~$ adb shell
[email protected]:/ $ su
[email protected]:/ # /data/local/tmp/loki_flash
Usage: /data/local/tmp/loki_flash [boot|recovery] [in.lok]
[email protected]:/ # /data/local/tmp/loki_flash boot /data/local/tmp/boot.lok
[+] Loki validation passed, flashing image.
2253+1 records in
2253+1 records out
9230848 bytes transferred in 0.656 secs (14071414 bytes/sec)
[+] Loki flashing complete!
datechnerd said:
http://forum.xda-developers.com/showthread.php?t=2449670 here's a guide
example for twrp
[email protected]:~$ adb push twrp.lok /data/local/tmp
[email protected]:~$ adb push loki_flash /data/local/tmp
[email protected]:~$ adb shell
[email protected]:/ $ su
[email protected]:/ # /data/local/tmp/loki_flash
Usage: /data/local/tmp/loki_flash [boot|recovery] [in.lok]
[email protected]:/ # /data/local/tmp/loki_flash recovery /data/local/tmp/twrp.lok
[+] Loki validation passed, flashing image.
2253+1 records in
2253+1 records out
9230848 bytes transferred in 0.656 secs (14071414 bytes/sec)
[+] Loki flashing complete!
example for boot
[email protected]:~$ adb push boot.lok /data/local/tmp
[email protected]:~$ adb push loki_flash /data/local/tmp
[email protected]:~$ adb shell
[email protected]:/ $ su
[email protected]:/ # /data/local/tmp/loki_flash
Usage: /data/local/tmp/loki_flash [boot|recovery] [in.lok]
[email protected]:/ # /data/local/tmp/loki_flash boot /data/local/tmp/boot.lok
[+] Loki validation passed, flashing image.
2253+1 records in
2253+1 records out
9230848 bytes transferred in 0.656 secs (14071414 bytes/sec)
[+] Loki flashing complete!
Click to expand...
Click to collapse
is this something you have to use adb or can you use flashify
joewaz said:
is this something you have to use adb or can you use flashify
Click to expand...
Click to collapse
Looks like adb to me.
i read a post were someone said you could change .lok to ,img and use flashify, you could give it a shot, they said it the same thing
I am getting errors
C:\max\loki-master>adb devices
List of devices attached
LG-LS980-03a89c4cdf4ce82c device
C:\max\loki-master>adb push loki_flash /data/local/tmp/loki_flash
cannot stat 'loki_flash': No such file or directory
C:\max\loki-master>adb push openrecovery-twrp-2.6.3.2-g2vzw.img /data/local/tmp/
openrecovery-twrp-2.6.3.2
cannot stat 'openrecovery-twrp-2.6.3.2-g2vzw.img': No such file or directory
C:\max\loki-master>adb push loki_flash /data/local/tmp
797 KB/s (3271 bytes in 0.004s)
C:\max\loki-master>adb shell
[email protected]:/ $ su
su
1|[email protected]:/ $ /data/local/tmp/loki_flash
/data/local/tmp/loki_flash
/system/bin/sh: /data/local/tmp/loki_flash: can't execute: Permission denied
126|[email protected]:/ $ su
su
# /data/local/tmp/loki_flash
# /data/local/tmp/loki_flash
1|[email protected]:/ $ # /data/local/tmp/loki_flash
1|[email protected]:/ $ /data/local/tmp/loki_flash [boot|recovery] [in.lok]
/data/local/tmp/loki_flash [boot|recovery] [in.lok]
/system/bin/sh: recovery]: not found
/system/bin/sh: /data/local/tmp/loki_flash: can't execute: Permission denied
127|[email protected]:/ $ # /data/local/tmp/loki_flash recovery /data/local/tmp/twrp
.lok
recovery /data/local/tmp/twrp.lok <
127|[email protected]:/ $ adb push boot.lok /data/local/tmp
adb push boot.lok /data/local/tmp
error: device not found
1|[email protected]:/ $ exit
exit
C:\max\loki-master>adb push boot.lok /data/local/tmp
4553 KB/s (9848832 bytes in 2.112s)
C:\max\loki-master>adb push loki_flash /data/local/tmp
1595 KB/s (3271 bytes in 0.002s)
C:\max\loki-master>adb shell
[email protected]:/ $ su
su
# /data/local/tmp/loki_flash
# /data/local/tmp/loki_flash
1|[email protected]:/ $ # /data/local/tmp/loki_flash
1|[email protected]:/ $ /data/local/tmp/loki_flash [boot|recovery] [in.lok]
/data/local/tmp/loki_flash [boot|recovery] [in.lok]
/system/bin/sh: recovery]: not found
/system/bin/sh: /data/local/tmp/loki_flash: can't execute: Permission denied
127|[email protected]:/ $ # /data/local/tmp/loki_flash boot /data/local/tmp/boot.lok
boot /data/local/tmp/boot.lok <
127|[email protected]:/ $
Try renaming boot.lok to boot.img and twrp.lok to twrp.img and using flashify. If you still can't get it to work let me know
12B?
If yes, you're out of luck.
If no, what datechnerd said.
Steamer86 said:
12B?
If yes, you're out of luck.
If no, what datechnerd said.
Click to expand...
Click to collapse
I patched twrp for 12b I also patched cwm for 12b
@datechnerd I just saw that. Nice. I used the flashify method for CWM ( loki version) on 11A, loki errors. Never got around to pushing loki. Is your CWM pre loki and flashable after extraction? Thinking about flashing and doing the OTA dirty flash of 12B.
Steamer86 said:
@datechnerd I just saw that. Nice. I used the flashify method for CWM ( loki version) on 11A, loki errors. Never got around to pushing loki. Is your CWM pre loki and flashable after extraction? Thinking about flashing and doing the OTA dirty flash of 12B.
Click to expand...
Click to collapse
when i updated, i did temp unroot(ended up being permanent), plugged phone into pc and used lg tool to update. then used ioroot to root again
the cwm is lokied and i believe only works with 12b
datechnerd said:
when i updated, i did temp unroot(ended up being permanent), plugged phone into pc and used lg tool to update. then used ioroot to root again
the cwm is lokied and i believe only works with 12b
Click to expand...
Click to collapse
I had so much trouble trying to modd my phone after the update.. I pushed lg stock ROM on here and am leaving it that way lol.. Now I have cyan mod 11 on here and its working beautifully.. I'm leaving it on as my daily os

[Q] twrp d80010o....SOLVED.....

Have anyone figured out how to put twrp on version ATT D80010o
If you pull the aboot.img I'll patch twrp for the device
[email protected]:~$ adb shell
[email protected]:/ $ su
[email protected]:/ # dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/data/local/tmp/aboot.img
[email protected]:/ # chmod 644 /data/local/tmp/aboot.img
[email protected]:/ # exit
[email protected]:/ $ exit
[email protected]:~$ adb pull /data/local/tmp/aboot.img
3293 KB/s (2097152 bytes in 0.621s)
datechnerd said:
If you pull the aboot.img I'll patch twrp for the device
[email protected]:~$ adb shell
[email protected]:/ $ su
[email protected]:/ # dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/data/local/tmp/aboot.img
[email protected]:/ # chmod 644 /data/local/tmp/aboot.img
[email protected]:/ # exit
[email protected]:/ $ exit
[email protected]:~$ adb pull /data/local/tmp/aboot.img
3293 KB/s (2097152 bytes in 0.621s)
Click to expand...
Click to collapse
how do i do this
ralphie1267 said:
how do i do this
Click to expand...
Click to collapse
enable usb debugging, plug phone into pc, and you'll need adb in attachments
open the folder you extracted adb to, shift right click in the folder, open command window here, then follow the example in the previous post
datechnerd said:
enable usb debugging, plug phone into pc, and you'll need adb in attachments
open the folder you extracted adb to, shift right click in the folder, open command window here, then follow the example in the previous post
Click to expand...
Click to collapse
i have minumal adb and fastboot can i use this
datechnerd said:
If you pull the aboot.img I'll patch twrp for the device
[email protected]:~$ adb shell
[email protected]:/ $ su
[email protected]:/ # dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/data/local/tmp/aboot.img
[email protected]:/ # chmod 644 /data/local/tmp/aboot.img
[email protected]:/ # exit
[email protected]:/ $ exit
[email protected]:~$ adb pull /data/local/tmp/aboot.img
3293 KB/s (2097152 bytes in 0.621s)
Click to expand...
Click to collapse
sorry for the late response I was at work....
datechnerd said:
If you pull the aboot.img I'll patch twrp for the device
[email protected]:~$ adb shell
[email protected]:/ $ su
[email protected]:/ # dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/data/local/tmp/aboot.img
[email protected]roid:/ # chmod 644 /data/local/tmp/aboot.img
[email protected]:/ # exit
[email protected]:/ $ exit
[email protected]:~$ adb pull /data/local/tmp/aboot.img
3293 KB/s (2097152 bytes in 0.621s)
Click to expand...
Click to collapse
for some reason I cant run command I downloaded it to the desktop
antawnm26 said:
for some reason I cant run command I downloaded it to the desktop
Click to expand...
Click to collapse
put it in a folder, then open the folder, hold shift and right click in a blank spot of the fold and open command window
datechnerd said:
put it in a folder, then open the folder, hold shift and right click in a blank spot of the fold and open command window
Click to expand...
Click to collapse
sweet it came up...Im not that great at it so Im going to need you to walk me through it
[email protected]:~$ adb shell- this should be my user name?
[email protected]:/ $ su
[email protected]:/ # dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/data/local/tmp/aboot.img
[email protected]:/ # chmod 644 /data/local/tmp/aboot.img
[email protected]:/ # exit
[email protected]:/ $ exit
[email protected]:~$ adb pull /data/local/tmp/aboot.img
3293 KB/s (2097152 bytes in 0.621s)
antawnm26 said:
sweet it came up...Im not that great at it so Im going to need you to walk me through it
[email protected]:~$ adb shell- this should be my user name?
[email protected]:/ $ su
[email protected]:/ # dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/data/local/tmp/aboot.img
[email protected]:/ # chmod 644 /data/local/tmp/aboot.img
[email protected]:/ # exit
[email protected]:/ $ exit
[email protected]:~$ adb pull /data/local/tmp/aboot.img
3293 KB/s (2097152 bytes in 0.621s)
Click to expand...
Click to collapse
the username is just from an example
datechnerd said:
the username is just from an example
Click to expand...
Click to collapse
ok im getting errors when I copy ~$ adb shell
C:\Users\Bull\Desktop\adb>~$ adb shell
'~$' is not recognized as an internal or external command,
operable program or batch file.
antawnm26 said:
ok im getting errors when I copy ~$ adb shell
C:\Users\Bull\Desktop\adb>~$ adb shell
'~$' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
just type
Code:
adb shell
don't type $ or #
C:\Users\Bull\Desktop\adb>:/ $ su
C:\Users\Bull\Desktop\adb>:/ # dd if=/dev/block/platform/msm_sdcc.1/by-name/aboo
t of=/data/local/tmp/aboot.img
C:\Users\Bull\Desktop\adb>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[email protected]:/ $ su
su
[email protected]:/ # dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/data/loc
al/tmp/aboot.img
dcc.1/by-name/aboot of=/data/local/tmp/aboot.img <
2048+0 records in
2048+0 records out
1048576 bytes transferred in 0.100 secs (10485760 bytes/sec)
[email protected]:/ # chmod 644 /data/local/tmp/aboot.img
chmod 644 /data/local/tmp/aboot.img
[email protected]:/ # exit
exit
[email protected]:/ $ exit
exit
C:\Users\Bull\Desktop\adb>pull /data/local/tmp/aboot.img
'pull' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Bull\Desktop\adb>~$ adb pull /data/local/tmp/aboot.img
'~$' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Bull\Desktop\adb>
d80010o
Any success guys?
datechnerd said:
just type
Code:
adb shell
don't type $ or #
Click to expand...
Click to collapse
i have abb running .i have att d80010c i downloaded openrecovery twrp 2.6.3.3 g2att.img .what comand do i need to use thanks
ralphie1267 said:
i have abb running .i have att d80010c i downloaded openrecovery twrp 2.6.3.3 g2att.img .what comand do i need to use thanks
Click to expand...
Click to collapse
think i got it i had to use esfile explorer to get it from the data/local because i suck at adb, but i got all the way with but started getting errors..hold on let me put it in drive
Code:
[CODE]
[/CODE]
antawnm26 said:
C:\Users\Bull\Desktop\adb>:/ $ su
C:\Users\Bull\Desktop\adb>:/ # dd if=/dev/block/platform/msm_sdcc.1/by-name/aboo
t of=/data/local/tmp/aboot.img
C:\Users\Bull\Desktop\adb>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[email protected]:/ $ su
su
[email protected]:/ # dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/data/loc
al/tmp/aboot.img
dcc.1/by-name/aboot of=/data/local/tmp/aboot.img <
2048+0 records in
2048+0 records out
1048576 bytes transferred in 0.100 secs (10485760 bytes/sec)
[email protected]:/ # chmod 644 /data/local/tmp/aboot.img
chmod 644 /data/local/tmp/aboot.img
[email protected]:/ # exit
exit
[email protected]:/ $ exit
exit
C:\Users\Bull\Desktop\adb>pull /data/local/tmp/aboot.img
'pull' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Bull\Desktop\adb>~$ adb pull /data/local/tmp/aboot.img
'~$' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Bull\Desktop\adb>
Click to expand...
Click to collapse
Code:
adb pull /data/local/tmp/aboot.img
datechnerd said:
Code:
[CODE]
[/CODE]
Code:
adb pull /data/local/tmp/aboot.img
Click to expand...
Click to collapse
https://www.dropbox.com/sh/xfv49im0n1s3uy3/l6dxsrpKy9
antawnm26 said:
https://www.dropbox.com/sh/xfv49im0n1s3uy3/l6dxsrpKy9
Click to expand...
Click to collapse
NON-flashablezips
flash with loki
if you don't know how rename the .lok to .img and put it on your phone and flash it with flashify instead
datechnerd said:
flash with loki
if you don't know how take the .img put it on your phone and flash it with flashify instead
Click to expand...
Click to collapse
I know its asking a lot but is there a guide on flashing with loki? also, do i just copy the image without the other files to my sdcard and flash with flashify?

[LOCKED BL] Fix: No Service or Emergency Calls Only

finally i figured a way to fix this issue. it worked for my locked H818P, hope it helps everyone
you need root for it.
here are the steps:
1. setup adb
2. enable USB Debugging
3. connect your phone to the PC and open an adb command window
4. execute these commands
Code:
adb shell
Code:
su
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
Code:
reboot
i found this on here
datscoolmetoo said:
finally i figured a way to fix this issue. it worked for my locked H818P, hope it helps everyone
you need root for it.
here are the steps:
1. setup adb
2. enable USB Debugging
3. connect your phone to the PC and open an adb command window
4. execute these commands
Code:
adb shell
Code:
su
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
Code:
reboot
i found this on here
Click to expand...
Click to collapse
I really thank you very very much. I have found the way to fix this problem more than a week. Finally found this post. Current Im very happy because my phone is working, It has signaled. Once again I would like to thank you very very much. Good luck to you.
How do you enter su mode. For me it is denied despite phone being rooted and running adbd app on phone to supposedly allow the su mode.

Rooting LG V20 H990DS?

Been reading this guide here --» https://forum.xda-developers.com/v20/development/dirtysanta-h990-t3624296
despite much of a mess that it is and poorly written in some regards. I can make perfectly good sense of it all, but the commands issued most of them are pretty useless, or don't work as they're instructed to do.
Let me point out some stuff here, cuz I'm trying to work my way through the tutorial to root my LG V20 H990DS (International) btw;
ok so the first part here it explains the following;
6. Using dirtysanta's steps: Run "RUNMEFIRST.bat" <-- Do not close.
7. Run "step1.bat" <-- Wait until you can type something again.
Click to expand...
Click to collapse
in my case here I'm using Linux, not Windows to do this, so things are simpler, the RUNMEFIRST.sh executable literally does nothing, when I can see it clearly is suppose to do something, let's take a look at what that files trying to run;
Code:
#!/bin/sh
# runmefirst.sh
#
#
# Created by me2151 on 12/13/16.
#
adb logcat | grep -a dirtysanta
OK, so it's using logcat to see what the phone is doing while piping to grep to watch out for dirtysanta being written to the phone while you have step1.sh running in another terminal instance, when that command completes you're left in ADB Shell of your device. Meanwhile the first shell script doesn't report anything going on, OK that's fine, doesn't matter since it wrote the contents of the required files to the phone, so it's there, as it should and as it's described in the shell script;
Code:
#!/bin/sh
# Step1.sh
#
#
# Created by me2151 on 12/11/16.
#
adb push dirtysanta /storage/emulated/0
adb push aboot.img /storage/emulated/0
adb push dirtycow /data/local/tmp
adb push my-run-as /data/local/tmp
adb shell chmod 0777 /data/local/tmp/*
adb shell /data/local/tmp/dirtycow /system/bin/run-as /data/local/tmp/my-run-as
adb shell /data/local/tmp/dirtycow /system/bin/applypatch /data/local/tmp/dirtycow
adb shell
Now this next part, doesn't work at all, because in the tutorial guide, they said to do chmod 777 permissions on "/storage/emulated/0/*" this doesn't work because operation is not permitted by the file owner and group root, there is no write permission to change permissions of that directory structure.
Code:
chmod: chmod '/storage/emulated/0/Android' to 40777: Operation not permitted
and yes /storage/emulated/0/ is suppose to be your storage userspace of where you save your files and stuff. Your "virtualized" SD Card space, you have normal read-write access there anyways. The next part of that tutorial says to check the id output from the Terminal Emulator app on Android, and check for the response "untrusted_app", that I do get, if you're doing it through ADB Shell you'll get "context=u:r:shell:s0" instead.
Part 12 of the tutorial has misuse or incorrect command line usage for applypatch, it will not simply execute because the command line usage is incorrect like so;
Code:
applypatch /system/bin/atd /storage/emulated/0/dirtysanta
it'll just simply return the following;
Code:
usage: applypatch [-b <bonus-file>] <src-file> <tgt-file> <tgt-sha1> <tgt-size> [<src-sha1>:<patch> ...]
or applypatch -c <file> [<sha1> ...]
or applypatch -s <bytes>
or applypatch -l
Filenames may be of the form
MTD:<partition>:<len_1>:<sha1_1>:<len_2>:<sha1_2>:...
to specify reading from or writing to an MTD partition.
obviously the step2 shell script can't do anything because there is nothing to backup, since it's calling to backup the boot images off the device.
So far I haven't been able to find any comprehensive or updated rooting guide for LG V20 H990DS in particular, nothing new worked on seems to popup anywhere as of yet.
bump this
No help for this at all? Just gonna be another one of those dead-end topics with no answers?

Categories

Resources