Related
Is there any tool that can backup my kernel? I mean just the kernel. I tried google and stuff but I can't find a thing.
makaramk said:
Is there any tool that can backup my kernel? I mean just the kernel. I tried google and stuff but I can't find a thing.
Click to expand...
Click to collapse
You can use ADB. I'll post the command when I get home.
The Dark Lestat said:
You can use ADB. I'll post the command when I get home.
Click to expand...
Click to collapse
That would be great But is there some app like the samsung kernel manager?
makaramk said:
That would be great But is there some app like the samsung kernel manager?
Click to expand...
Click to collapse
Nope. I don't believe there is.
The Dark Lestat said:
Nope. I don't believe there is.
Click to expand...
Click to collapse
Oh ok.. Waiting for your tutorial then
makaramk said:
Oh ok.. Waiting for your tutorial then
Click to expand...
Click to collapse
Open command prompt.
Code:
adb shell
su
dd if=/dev/block/mmcblk0p5 of=/sdcard/boot.img
exit
exit
If you use Terminal on the phone, use this.
Code:
su
dd if=/dev/block/mmcblk0p5 of=/sdcard/boot.img
exit
exit
The Dark Lestat said:
Open command prompt.
Code:
adb shell
su
dd if=/dev/block/mmcblk0p5 of=/sdcard/boot.img
exit
exit
If you use Terminal on the phone, use this.
Code:
su
dd if=/dev/block/mmcblk0p5 of=/sdcard/boot.img
exit
exit
Click to expand...
Click to collapse
Thanks And just one question.. Can you tell me a got kernel for baseband v21a? I was looking in the Android Development section but I can't find one...
Titan Kernel or update to v21e and use promethius
Sent from my LG-P920 using Tapatalk
Titan Kernel or update to v21e and use promethius kernel
Sent from my LG-P920 using Tapatalk
Ok, here's my problem. Everything was going great until yesterday night. I was on FlyRom V2 since a couple of weeks. So yesterday I thought of changing my Rom. So I made a nandroid back up and wiped everything in TWRP 2.4.1. Then I tried to flash the new rom (Apex Sense V1. don't know if that's important). Well it was stuck at boot-loop. So I thought it's the usual problem faced by many others.
Then I tried restoring the back up, even that got stuck at boot-loop. Since then I tried every Rom that's available but none of them crossed the boot animation. I waited for 30-40mins each time.
Luckily today evening CM9 bulid#11 booted, but everything were force closing even before I had a chance to flash gapps.
I managed to take a look at my internal memory without any apps installed and it showed just 20kb free and after a minute, nothing was free.
I realized I might have burnt my nand (I would like to note that I haven't used oc kernel ever). So tried recovering my nand by the methods mentioned by cute prince, derefas and Sachin Thomas in the various threads. But none of seem to work. Not able to boot any Rom from GB to JB.
Any help would be appreciated a lot. It's really driving me nuts!!
Thanks in advance.
Re: Help needed!! Outta my wits!
Did you properly follow the nand recovery method by cute_prince?
Sent from my HTC Explorer A310e using Tapatalk 2
immortal_yash said:
Did you properly follow the nand recovery method by cute_prince?
Sent from my HTC Explorer A310e using Tapatalk 2
Click to expand...
Click to collapse
Yes I did the time I was allowed to boot into a Rom. From the next time the Rom doesn't it even boot for me to place the flash_erase file \system\xbin
I tried the method through recovery by sachin thomas around 4 times but even then nothing boots.
I don't understand how can I have burnt my Rom (assuming I did) without an over clock?
Re: Help needed!! Unable to recover nand!
Did you get any bad block errors when you followed the nand recovery procedures? Did you try cute_prince's method from recovery?
Sachin Thomas said:
Did you get any bad block errors when you followed the nand recovery procedures? Did you try cute_prince's method from recovery?
Click to expand...
Click to collapse
No, there were no bad block errors like the other users got. No errors at all. And how can I try cut_prince's method from recovery?
I can't place flash_erase binary file, as there is no xbin folder. And also there is no su or sh file in bin or sbin.
I tried by placing the flash_erse file in sbin, but it shows access denied. So can't erase anything from that side.
mahenderkumar.dr said:
No, there were no bad block errors like the other users got. No errors at all. And how can I try cut_prince's method from recovery?
I can't place flash_erase binary file, as there is no xbin folder. And also there is no su or sh file in bin or sbin.
I tried by placing the flash_erse file in sbin, but it shows access denied. So can't erase anything from that side.
Click to expand...
Click to collapse
U can use his method here try this wipe everything flash cm9 don't boot it go back to menu mount system then copy flash_erase to xbin using the file manager in twrp then connect it to pc and run cmd type adb shell then su then cd /system/xbin then chmod 0755 flash_erase and then the recovery commands like ./flash_erase -N /dev/mtd/mtd2 0 0
Re: Help needed!! Unable to recover nand!
mahenderkumar.dr said:
No, there were no bad block errors like the other users got. No errors at all. And how can I try cut_prince's method from recovery?
I can't place flash_erase binary file, as there is no xbin folder. And also there is no su or sh file in bin or sbin.
I tried by placing the flash_erse file in sbin, but it shows access denied. So can't erase anything from that side.
Click to expand...
Click to collapse
You should mount system in recovery first
chand9336 said:
U can use his method here try this wipe everything flash cm9 don't boot it go back to menu mount system then copy flash_erase to xbin using the file manager in twrp then connect it to pc and run cmd type adb shell then su then cd /system/xbin then chmod 0755 flash_erase and then the recovery commands like ./flash_erase -N /dev/mtd/mtd2 0 0
Click to expand...
Click to collapse
Well tried that.
When I start adb shell, I get this
Code:
C:\A310E Recovery>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
~ # ←[6n
then I go ahead and type su and I get this
Code:
su
/sbin/sh: su: not found
~ # ←[6n
So what do I do?
Edit: Yes I did mount sytem, cache and data.
Logcat?
well this is the adb logcat..
http://pastebin.com/XQ9Ck7vP
Idk if it's even helpful.
su is not necessary when you do it from recovery. The # indicates that you already have root privileges
But you should first determine whether you have bad blocks on your NAND. When some ROM boots for you do a
adb shell dmesg > dmesg.txt
Click to expand...
Click to collapse
Then compare it with this log:
http://forum.xda-developers.com/showpost.php?p=36834189&postcount=2237
Re: Help needed!! Unable to recover nand!
mahenderkumar.dr said:
Ok, here's my problem. Everything was going great until yesterday night. I was on FlyRom V2 since a couple of weeks. So yesterday I thought of changing my Rom. So I made a nandroid back up and wiped everything in TWRP 2.4.1. Then I tried to flash the new rom (Apex Sense V1. don't know if that's important). Well it was stuck at boot-loop. So I thought it's the usual problem faced by many others.
Then I tried restoring the back up, even that got stuck at boot-loop. Since then I tried every Rom that's available but none of them crossed the boot animation. I waited for 30-40mins each time.
Luckily today evening CM9 bulid#11 booted, but everything were force closing even before I had a chance to flash gapps.
I managed to take a look at my internal memory without any apps installed and it showed just 20kb free and after a minute, nothing was free.
I realized I might have burnt my nand (I would like to note that I haven't used oc kernel ever). So tried recovering my nand by the methods mentioned by cute prince, derefas and Sachin Thomas in the various threads. But none of seem to work. Not able to boot any Rom from GB to JB.
Any help would be appreciated a lot. It's really driving me nuts!!
Thanks in advance.
Click to expand...
Click to collapse
Just follow my method u r phone will be OK
Frndz those phone are stuck at boot animation bcoz of oc kernal (nand problem) do below following steps:-
you should hv installed on your pc/laptop 1)htc sync
2)adb
Frist flash twrp 2.4.1.0 recovery by cute prince after that,
download flash_erase file from cute prince forum,
now copy cm9 rom and flash_erase file to sd card,
go to recovery(twrp recovery) click install nw install cm9 rom,
nw go to mount and mount system & mount sdcard,
after that go to advanced>file manager>sdcard> in sd card u vill see flash_erase.txt rename dat file to flash_erase,
now copy flash_erase file by clicking on it(it vill show copy option) go back to root of ur internal memory,
there u vill see system,go to system>xbin ,
copy dat file in xbin after copying dat file u vill see flash_erase in xbin folder,
click on flash_erase u vill see chmod755 click it nw go back to recovery and unmount everything,
nw connect ur phone to pc/laptop(u should hv adb and htc sync),
open cmd as administrator>nw copy below all code and paste it in cmd,
code:-
adb shell
su
cd /system/xbin
./flash_erase -N /dev/mtd/mtd2 0 0
./flash_erase -N /dev/mtd/mtd4 0 0
./flash_erase -N /dev/mtd/mtd5 0 0
thanks to sheker developer of flyrom
and cute prince for nand recovery procedure
hit thanks if i helped yuh....:thumbup:
Sent from my HTC Explorer A310e using xda premium
Sachin Thomas said:
su is not necessary when you do it from recovery. The # indicates that you already have root privileges
But you should first determine whether you have bad blocks on your NAND. When some ROM boots for you do a
Then compare it with this log:
http://forum.xda-developers.com/showpost.php?p=36834189&postcount=2237
Click to expand...
Click to collapse
well as of now, not a single Rom boots. nothing at all :crying:
and when I erase from my recovery it shows no errors.. just gets done in a couple of seconds!
Re: Help needed!! Unable to recover nand!
mahenderkumar.dr said:
well as of now, not a single Rom boots. nothing at all :crying:
and when I erase from my recovery it shows no errors.. just gets done in a couple of seconds!
Click to expand...
Click to collapse
Just follow above method
Sent from my HTC Explorer A310e using xda premium
9282gkg said:
open cmd as administrator>nw copy below all code and paste it in cmd,
code:-
adb shell
su
cd /system/xbin
./flash_erase -N /dev/mtd/mtd2 0 0
./flash_erase -N /dev/mtd/mtd4 0 0
./flash_erase -N /dev/mtd/mtd5 0 0
Click to expand...
Click to collapse
Well I don't think we can just copy and paste the code. we gotta type them.
And when I do that. It shows me a error like I mentioned in the above posts!
Re: Help needed!! Unable to recover nand!
mahenderkumar.dr said:
Well I don't think we can just copy and paste the code. we gotta type them.
And when I do that. It shows me a error like I mentioned in the above posts!
Click to expand...
Click to collapse
Bro i did dat way n Ma phone got started n we can copy whole code n paste in cmd. If u want your phone back Dan follow dat method
EDIT- if u type them dan u vil get su not found n when u paste dat whole code dn hit enter u vil see in cmd 100percent complete return
Sent from my HTC Explorer A310e using xda premium
mahenderkumar.dr said:
Well tried that.
When I start adb shell, I get this
Code:
C:\A310E Recovery>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
~ # ←[6n
then I go ahead and type su and I get this
Code:
su
/sbin/sh: su: not found
~ # ←[6n
So what do I do?
Edit: Yes I did mount sytem, cache and data.
Click to expand...
Click to collapse
just had to cd /system/xbin after that and type chmod 0755 flash_erase
after then type ./flash_erase -N /dev/mtd/mtd2 0 0
./flash_erase -N /dev/mtd/mtd4 0 0
./flash_erase -N /dev/mtd/mtd5 0 0
Okay I did all the above mentioned methods. Tried copying and also typing em.
But nope, nothing. I end up with error:
Code:
~ # su
/sbin/sh: su: not found
~ #
~ # cd /system/xbin
/sbin/sh: cd: can't cd to /system/xbin
~ #
~ # ./flash_erase -N /dev/mtd/mtd2 0 0
/sbin/sh: ./flash_erase: not found
~ #
~ # ./flash_erase -N /dev/mtd/mtd4 0 0
/sbin/sh: ./flash_erase: not found
~ #
~ # ./flash_erase -N /dev/mtd/mtd5 0 0
/sbin/sh: ./flash_erase: not found
~ # ←[6n
I double-checked it and yes it is in the right folder. I also chmod 0755 flash_erase.
Anything else I missed?
Sachin Thomas said:
su is not necessary when you do it from recovery. The # indicates that you already have root privileges
But you should first determine whether you have bad blocks on your NAND. When some ROM boots for you do a
Then compare it with this log:
http://forum.xda-developers.com/showpost.php?p=36834189&postcount=2237
Click to expand...
Click to collapse
where will the dmesg.txt get saved?
Re: Help needed!! Unable to recover nand!
mahenderkumar.dr said:
where will the dmesg.txt get saved?
Click to expand...
Click to collapse
On your PC
Lol yeah I just found out that.
Well I finally erased everything.. and managed to boot up CM9.
I'm attaching the screenshot.
@Sachin Thomas: Yeah I checked out dmesg.txt but I haven't found any bad blocks!
And now the only question that remains is, why did I burn my nand when I haven't used an oc kernel?
Any explanations?
Hi, i don't know if i've wrong the section sorry. However, i have a question.. is possible to flash a zip file from the terminal emulator?? Is there any way to create a shell that flash zip file from the terminal? i've seen that is possible flash a recovery image so i think is almost the same for the zip.. is it wrong? Thanks.
punticci said:
Hi, i don't know if i've wrong the section sorry. However, i have a question.. is possible to flash a zip file from the terminal emulator?? Is there any way to create a shell that flash zip file from the terminal? i've seen that is possible flash a recovery image so i think is almost the same for the zip.. is it wrong? Thanks.
Click to expand...
Click to collapse
Yes you can but that's depend. For example:
If you want to push the TWRP recovery (for a TF300T) with Terminal emulator it's:
Code:
su
dd if=/sdcard/twrp.blob of=/dev/block/mmcblk0p4
exit
try
Code:
echo "--update_package=/sdcard/path/to.zip" > /cache/recovery/command
reboot recovery
philos64 said:
Yes you can but that's depend. For example:
If you want to push the TWRP recovery (for a TF300T) with Terminal emulator it's:
Code:
su
dd if=/sdcard/twrp.blob of=/dev/block/mmcblk0p4
exit
Click to expand...
Click to collapse
Can you update supersu through terminal? For example I have su 2.65 and I download the 2.67 beta zip and do the update through terminal.
lolet said:
try
Code:
echo "--update_package=/sdcard/path/to.zip" > /cache/recovery/command
reboot recovery
Click to expand...
Click to collapse
This work! Thank you very much!
lolet said:
try
Code:
echo "--update_package=/sdcard/path/to.zip" > /cache/recovery/command
reboot recovery
Click to expand...
Click to collapse
Yeah! It's work! Thank!
is this only for recovey images, or can any flashable zip be flashed that way?
I would like to install opengapps pico 4.4 on my kindle paperwhite 2 (6th gen)
Hey
Please can anyone have 'Evita-Utl' (Middle eastern variant) help me by dumping (hboot,misc partition,radio,adsp,wcnss) imgs from his working device .. and here is how:
1)first you must get into recovery(cwm) because img token from booted device is useless for me
2)then while you are in cwm recovery connect to pc and adb
Code:
adb shell
dd if=/dev/block/mmcblk0p12 of=/sdcard/hboot.img
exit
adb pull /sdcard/hboot.img
adb shell
dd if=/dev/block/mmcblk0p23 of=/sdcard/misc.img
exit
adb pull /sdcard/misc.img
adb shell
dd if=/dev/block/mmcblk0p17 of=/sdcard/radio.img
exit
adb pull /sdcard/radio.img
adb shell
dd if=/dev/block/mmcblk0p18 of=/sdcard/adsp.img
exit
adb pull /sdcard/adsp.img
adb shell
dd if=/dev/block/mmcblk0p19 of=/sdcard/wcnss.img
exit
adb pull /sdcard/wcnss.img
and upload these 5 files from your sdcard .. I will be grateful
Thanks for help
Why?
tjhooker73 said:
Why?
Click to expand...
Click to collapse
Do you have the middle eastern variant?
Sent from my Evita
tjhooker73 said:
Why?
Click to expand...
Click to collapse
timmaaa said:
Do you have the middle eastern variant?
Sent from my Evita
Click to expand...
Click to collapse
Someone in other thread tell that middle east version(ul flashed) can be fixed by those 3 blocks and radio block ofcours .. but do you have any suggestions for recover my misc partition .. if I was lucky and someone upload it to me .. do you think that adb can restore it ??
dr.scofield said:
Someone in other thread tell that middle east version(ul flashed) can be fixed by those 3 blocks and radio block ofcours .. but do you have any suggestions for recover my misc partition .. if I was lucky and someone upload it to me .. do you think that adb can restore it ??
Click to expand...
Click to collapse
What's wrong with your phone?
Need the imgs because no firmwares or ruu fo this phone .. and my utl flashed ul and bricked .. then relifed with evita-ul dll because no dll for it .. so since there no firmwares for it and I replaced mine .. I need it from any working phone by dumping it .. if you can help
Anyone??
Sent from my HTC One XL using XDA Premium 4 mobile app
dr.scofield said:
Anyone??
Click to expand...
Click to collapse
I upload these 5 files on my google drive
But I can't post the link
Send me you contact at "sladefoto" a t gmail
Sladefoto said:
I upload these 5 files on my google drive
But I can't post the link
Send me you contact at "sladefoto" a t gmail
Click to expand...
Click to collapse
Thanks .. i've managed these files and fixed this phone
dr.scofield said:
Hey
Please can anyone have 'Evita-Utl' (Middle eastern variant) help me by dumping (hboot,misc partition,radio,adsp,wcnss) imgs from his working device .. and here is how:
1)first you must get into recovery(cwm) because img token from booted device is useless for me
2)then while you are in cwm recovery connect to pc and adb
Code:
adb shell
dd if=/dev/block/mmcblk0p12 of=/sdcard/hboot.img
exit
adb pull /sdcard/hboot.img
adb shell
dd if=/dev/block/mmcblk0p23 of=/sdcard/misc.img
exit
adb pull /sdcard/misc.img
adb shell
dd if=/dev/block/mmcblk0p17 of=/sdcard/radio.img
exit
adb pull /sdcard/radio.img
adb shell
dd if=/dev/block/mmcblk0p18 of=/sdcard/adsp.img
exit
adb pull /sdcard/adsp.img
adb shell
dd if=/dev/block/mmcblk0p19 of=/sdcard/wcnss.img
exit
adb pull /sdcard/wcnss.img
and upload these 5 files from your sdcard .. I will be grateful
Thanks for help
Click to expand...
Click to collapse
i have same problem and still my device (no service )not antenna after jtag with riff box
my device one xl (evita utl pj83500) s-off and super cid
i dumped this 5 files but i dont know how to solve my problem and flash misc.radio and hboot files ==> when i write fastboot flash radio radio.img say error : not allowed
how to eng-s-off this model to flash radio.img and hboot.img
pls help
How did you flash them?
I have the same problem but I don't know how to flash the partitions.
Thread Cleaned, there is no "trading", "selling" for device files or anything of that sort, of funds or gifts, as per Forum Rules.
dr.scofield said:
Hey
Please can anyone have 'Evita-Utl' (Middle eastern variant) help me by dumping (hboot,misc partition,radio,adsp,wcnss) imgs from his working device .. and here is how:
1)first you must get into recovery(cwm) because img token from booted device is useless for me
2)then while you are in cwm recovery connect to pc and adb
Code:
adb shell
dd if=/dev/block/mmcblk0p12 of=/sdcard/hboot.img
exit
adb pull /sdcard/hboot.img
adb shell
dd if=/dev/block/mmcblk0p23 of=/sdcard/misc.img
exit
adb pull /sdcard/misc.img
adb shell
dd if=/dev/block/mmcblk0p17 of=/sdcard/radio.img
exit
adb pull /sdcard/radio.img
adb shell
dd if=/dev/block/mmcblk0p18 of=/sdcard/adsp.img
exit
adb pull /sdcard/adsp.img
adb shell
dd if=/dev/block/mmcblk0p19 of=/sdcard/wcnss.img
exit
adb pull /sdcard/wcnss.img
and upload these 5 files from your sdcard .. I will be grateful
Thanks for help
Click to expand...
Click to collapse
thanks god, could you tell me how did you do with 5 files, please share? we have the same problems, hope you help us? pls!
vincent844 said:
thanks god, could you tell me how did you do with 5 files, please share? we have the same problems, hope you help us? pls!
Click to expand...
Click to collapse
Do you have these 5 files If yes please please send them to me [email protected]
u will send for evita UTL?
and u have all the 5 files?
Hboot.img
Misc.img
Radio.img
Adsp.img
Wcnss.img
Can you send me these files please
I will also help you to flash them but please send them to me
I keep getting conflicting information on this device.
Can it be rooted on Nougat? Is a root being developed? Or has the G5 been abandoned?
I too am waiting to hear.
Sent from my LG-H830 using Tapatalk
You can use the dirtycow exploit. This doesn't really root your phone, it allows you to flash twrp and boot you into twrp so you can flash supersu
Dirtycow worked for me on Nougat 7.0, It will run like charm if u do ur steps correctly (Dnt forget to unlock fastboot oem) I was getting an error cuz or that 😂Rookie mistake.
Xperienced Noob said:
I keep getting conflicting information on this device.
Can it be rooted on Nougat? Is a root being developed? Or has the G5 been abandoned?
Click to expand...
Click to collapse
Any luck with this?
http://forum.xda-developers.com/tmobile-lg-g5/development/root-h830-running-30a-nougat-t3524322
Here's a link to a new way to root the G5. I used the dirty cow exploit, that worked for me, it was pretty easy.
An alternate method that worked great for my h830 was to LGUP the twrped 10D tot, then use that TWRP to flash autoprime's 20A Nougat zip. After booting up once into unrooted 20A, i powered off and did factory reset (volume down with power button released for just a second at the LG logo) and entered TWRP to flash the latest SuperSU zip. Upon reboot into 20A, it maintained root and has been withstanding my assaults on system apps for about a week now.
=>>update: still rooted and TWRPd, flashed the NSS kernel, almost a month later and no problems!
Skyline GTR78 said:
http://forum.xda-developers.com/tmobile-lg-g5/development/root-h830-running-30a-nougat-t3524322
Here's a link to a new way to root the G5. I used the dirty cow exploit, that worked for me, it was pretty easy.
Click to expand...
Click to collapse
Did not work for me. Stuck on no command when rebooting to recovery...
RicardoSal24 said:
You can use the dirtycow exploit. This doesn't really root your phone, it allows you to flash twrp and boot you into twrp so you can flash supersu
Click to expand...
Click to collapse
mxmagia said:
Dirtycow worked for me on Nougat 7.0, It will run like charm if u do ur steps correctly (Dnt forget to unlock fastboot oem) I was getting an error cuz or that Rookie mistake.
Click to expand...
Click to collapse
I saw that page, i seem to have lost it and can not find it using search, any link to that page would be helpful.
Thanks
warriorvibhu said:
I saw that page, i seem to have lost it and can not find it using search, any link to that page would be helpful.
Thanks
Click to expand...
Click to collapse
I'll get you the link to download it, Im not at home right now, once I get there I'll send it to you.
EDITED: Credits to @godfather123189
This is what you need, if you need some help PM me
Download all the files from here:
https:// build.nethunter. com/android-tools/dirtycow/arm64/ (Erase the spaces, I cant post links)
and follow these instructions:
**pushing files**
adb push dirtycow /data/local/tmp
adb push recowvery-applypatch /data/local/tmp
adb push recowvery-app_process64 /data/local/tmp
adb push recowvery-run-as /data/local/tmp
adb push twrp.img /sdcard/twrp.img
**end pushing files**
1) adb shell
2) cd /data/local/tmp
3) chmod 0777 *
4) ./dirtycow /system/bin/applypatch recowvery-applypatch
"<wait for completion>"
5) ./dirtycow /system/bin/app_process64 recowvery-app_process64
"<wait for completion, your phone will look like it's crashing>"
6) exit
7) adb logcat -s recowvery
"<wait for it to tell you it was successful>"
8) CTRL+C
9) adb shell reboot recovery
"<wait for phone to boot up again, your recovery will be reflashed to stock>"
10) adb shell
11) getenforce
"<it should say Permissive, adjust source and build for your device!>"
12) cd /data/local/tmp
13) ./dirtycow /system/bin/run-as recowvery-run-as
14) run-as exec ./recowvery-applypatch boot
"<wait for it to flash your boot image this time>"
15) run-as su
16) dd if=/sdcard/twrp.img of=/dev/block/bootdevice/by-name/recovery
Yes, it can be.
Checkout my guide I just made: https://forum.xda-developers.com/lg-g5/how-to/guide-root-stock-n-using-jcadduonos-t3529093
Dumboguy03 said:
Did not work for me. Stuck on no command when rebooting to recovery...
Click to expand...
Click to collapse
Download link for dirty cow......
https://build.nethunter.com/android-...irtycow/arm64/
and follow these instructions:
**pushing files**
adb push dirtycow /data/local/tmp
adb push recowvery-applypatch /data/local/tmp
adb push recowvery-app_process64 /data/local/tmp
adb push recowvery-run-as /data/local/tmp
adb push twrp.img /sdcard/twrp.img
**end pushing files**
1) adb shell
2) cd /data/local/tmp
3) chmod 0777 *
4) ./dirtycow /system/bin/applypatch recowvery-applypatch
"<wait for completion>"
5) ./dirtycow /system/bin/app_process64 recowvery-app_process64
"<wait for completion, your phone will look like it's crashing>"
6) exit
7) adb logcat -s recowvery
"<wait for it to tell you it was successful>"
8) CTRL+C
9) adb shell reboot recovery
"<wait for phone to boot up again, your recovery will be reflashed to stock>"
10) adb shell
11) getenforce
"<it should say Permissive, adjust source and build for your device!>"
12) cd /data/local/tmp
13) ./dirtycow /system/bin/run-as recowvery-run-as
14) run-as exec ./recowvery-applypatch boot
"<wait for it to flash your boot image this time>"
15) run-as su
16) dd if=/sdcard/twrp.img of=/dev/block/bootdevice/by-name/recovery
You can copy and paste everything into cmd window to make it easier.
Does this unlock bootloader?
Sent from my LG-H830 using Tapatalk
<quote>Download link for dirty cow......
https://build.nethunter.com/android-...irtycow/arm64/</quote>
Link 404's @Skyline GTR78
Dumboguy03 said:
<quote>Download link for dirty cow......
https://build.nethunter.com/android-...irtycow/arm64/</quote>
Link 404's @Skyline GTR78
Click to expand...
Click to collapse
https://forum.xda-developers.com/v20/development/h918-recowvery-unlock-v20-root-shell-t3490594
Try this
mxmagia said:
I'll get you the link to download it, Im not at home right now, once I get there I'll send it to you.
EDITED: Credits to @godfather123189
This is what you need, if you need some help PM me
Click to expand...
Click to collapse
Thanks this worked esp coz it gave me the confidence, I used this and another step by step LG V20 instructions to install TWRP and achieve root on LG G5.
Here is the link:
http://android.wonderhowto.com/how-to/root-your-t-mobile-lg-v20-using-dirty-cow-0175329/
Skyline GTR78 said:
https://forum.xda-developers.com/v20/development/h918-recowvery-unlock-v20-root-shell-t3490594
Try this
Click to expand...
Click to collapse
Thanks. I had found it, and it worked. Kinda. I have twrp installed, and I'm assuming root, but there's nothing there. Through file explorer and terminal everything is gone. Including external sd I loaded RR on with a working phone. Not good. Idk where to even go from here
Edit; Can read external sd and install packages, but "reboot system" just takes me back into TWRP. The install seems to go well (result was [1.00000]) and system is no longer blank. But can't boot into it. A little closer tho
Edit 2: If you get stuck in a boot loop to TWRP, use these commands (provided by @z28james):
dd if=/dev/zero of=/dev/block/platform/soc/624000.ufshc/by-name/misc
dd if=/dev/zero of=/dev/block/platform/soc/624000.ufshc/by-name/fota
All good now!
Looks like I can't delete my reply. I had a problem after rooting and I had either misread the instructions to get into recovery or they were typed wrong where I was looking. I finally found a site that gave the correct procedure: vol down+power then at LG screen release power while still holding vol down then hold power again with vol down. I was able to flash a rom at that point.
could you give me a hand if i pm you?
edit: replied in wrong thread. sorry