yashsingh1/xdaforums huggingface dataset:
[BLU R1 HD Guides, News, & Discussion] Jô$èph D:
this might help with unfamiliar words and/or phrases. it might make root terminally seem less confusing http://www.androidbeat.com/2014/02/android-rooting-glossary/
[BLU R1 HD Guides, News, & Discussion] leandrox:
First thing to say., thanks for the awesome tool! I have been using the phone after unlocking it for quite a while now and it has never failed me.

I have a problem now. Am I the only one who could not get the FM Radio to work? I just tried it this week after installing it originally, but I can only get an error message "Currently not available".

Any ideas?
[BLU R1 HD Guides, News, & Discussion] mrmazak:
Do you have mode changer installed and have it set to permissive?
[BLU R1 HD Guides, News, & Discussion] mrmazak:
I do not have the patients or hardware to make videos. But I started to walk through the process using "steps recorder" (a built in feature of windows, that records screenshots of every mouse click and screen change with notes ) .

But stopped, steps recorder or a video seem more complicated than the original directions.

1. download files from links in op.

2. install adb/ fastboot including drivers.

( install is an automatic tool, just rightclick , run as admin. It does the rest for you)

3. unzip the downloaded tool and click the .bat file

4. read the window options, do steps 1-4

I understand troubleshooting problems will get complicated, but running the tool when there are no problems is easy.
[BLU R1 HD Guides, News, & Discussion] leandrox:
Is that an extra step in the Tool? If so, that might be the problem. Let me see if I can try to do that...

EDIT: I guess it is not a step in the tool, after all. I am sure I have not done anything beyond the tool's options, so probably that is what I need to fix. Not sure how to do it, though. Any help will be appreciated!

EDIT 2: Finally managed to install mode changer. I don't know why it was not yet installed because I had followed every step when unlocking the phone. I set it as permissive and the radio worked.

Now, what about this mode changer? Should I keep it permissive or only when using the radio? What does it actually do?
[BLU R1 HD Guides, News, & Discussion] mrmazak:
if you trust all the apps you use you can leave it permissive. But if you have any dought then switch it off when not needed.
[BLU R1 HD Guides, News, & Discussion] bw 1:
I've read through this entire thread and didn't see if anyone used this tool on V6.1. I have version BLU_R0010UU_V6.1_GENERIC on an Amazon Prime version of the BLU R1 HD. Is this tool the best way to unlock the bootloader, install TWRP recovery and root?

It looks like it is, but I just want to confirm before proceeding. Thanks.
[BLU R1 HD Guides, News, & Discussion] mrmazak:
This will work on v6.1

Your other option is to use sp flash tool
[BLU R1 HD Guides, News, & Discussion] barcodelinux:
I have the non-Amazon OEM version with v21. Will this tool still work to unlock the bootloader?
[BLU R1 HD Guides, News, & Discussion] yaconsult:
If your phone came with V21 or was over-the-air updated to V21 then this tool and SP Flash Tool have been disabled and you will not be able to flash any ROMs or replace the bootloader. Sorry!
[BLU R1 HD Guides, News, & Discussion] barcodelinux:
No downgrade possible?
[BLU R1 HD Guides, News, & Discussion] yaconsult:
Downgrading the ROM wouldn't help you. The vulnerability that allowed unlocking the bootloader has been fixed and SP Flash Tool has been disabled. So even if you downgraded the ROM you would still have the locked bootloader and not be able to flash any modified ROM.

Apparently, you can still remove most of the ad stuff though, as described in the following thread - read all the way through to the end: https://xdaforums.com/r1-hd/help/remove-ads-fresh-blu-r1-hd-t3654431
[BLU R1 HD Guides, News, & Discussion] mrmazak:
There is some miss-information going around here. Yes this should work on v21.

So flash tool has been blocked by the preloader being updated but the dirty-cow still works in v21..

Edit.::

I was mistaken. V21 did also update kernel and patched the dirty-cow exploit, so this tool will not work on v21 and prime versions above V7.4.3
[BLU R1 HD Guides, News, & Discussion] barcodelinux:
Argh! Thanks for the confirmation. Is anyone working on a v21 root method?
[BLU R1 HD Guides, News, & Discussion] RicoD:
I just bought this phone and it came with v21 installed. Is anyone working on a new root method? Is there a process I can learn myself?
[BLU R1 HD Guides, News, & Discussion] vampirefo:
No, no one is working on root for this version, I doubt there will ever be, I can't see anyone spending time on this phone, as it's out dated.

Blu has showed no desire to upgrade it so it's dead.
[BLU R1 HD Guides, News, & Discussion] Matthias Angermann:
Hello, I ve used the Dirtycow Tool on Lenovo Vibe C2 and saw that whoami resulted in root access. Is it possible to modify the tool in that way that it makespossible to copy su and busybox to system/bin for rooting purposes. I guess the bootloader will never be unlocked. Thanks a lot.
[BLU R1 HD Guides, News, & Discussion] mrmazak:
may be possible. But remember changes to /system are lost on reboot.

This tool worked here because we did not change /system with the tool. Only a different partiton (frp) that in our case allowed the bootloader to be unlocked.

Then because of that it allowed recovery to be installed. Thats where we made root.

If you are willing to try things(and potentially bricking). Maybe directly putting custom recovery to phone with tool similar to this one. But if phone has not already been rooted then probably does not have a ready made recovery.

**EDIT**

This post implies the OEM unlock does work. Trick is to push volume+ and power together.

https://xdaforums.com/showpost.php?p=72707412&postcount=17

now if that is true. you should be able to use the dirty-cow test tool , like you did. and use it to pull your boot.img, to then make twrp or a port of it.
[BLU R1 HD Guides, News, & Discussion] asterius:
Hi, Can I use this tool for an another MTK device , I want to use on Homtom Zoji Z6 , MTK6580 with Android 6.0 , it has same install-recovery.sh script on sytem/bin folder which prevents me to boot into TWRP (which I ported for my device) after flashing with SP Flash Tools. So I need Dirtc0w's help . I am planing to use as menu 1-push files for Dirty-cow then 2- Run commands,3-I already unlocked bootloader, 4- TWRP Flash which I ported-I replaced TWRP in Pushed folder with my ported one and other recovery.img with stock one- 5 Extra menu > Run install SuperSu 7- Exit. can I place my recovery.img instead of one come with software? Any idea especially from developers will be appreciated.

PS: I am really excited that what you did in here,works for me or not it is a great work , anyways
[BLU R1 HD Guides, News, & Discussion] mrmazak:
This tool will not be help to you. This we use to allow us to unlock the bootloader. Then from fastboot flash the recovery. I saw your other post , where you said you had been able to unlock bootloader already.

Here is what I suggest for you.

You have sp flash tool working, yes.

Do a "read" on device (need to fill in scatter file) and save you stock recovery and stock boot.

Use the kernel from your stock images to Port or build twrp.

Then use fastboot to

boot

your attempt of recovery untill you get it to run.

Then try your rooting from recovery.

The script you mention about flash.recovery.sh is common to most phones, and not likely the reason you cannot boot your recovery.

If you need help on these steps I can try to help

I also see you have a thread in hovatek.com, that the admin has offered to help Port you a recovery. (He did not say exactly that, but asked you to upload recovery.bin and scatter file made with miriclebox. ) This would be the most best thing to do.
[BLU R1 HD Guides, News, & Discussion] Hikove:
It worked perfect on Build 6.6, Thank you.
[BLU R1 HD Guides, News, & Discussion] bareinhard:
This worked great! I have spent the past few days trying to get this thing rooted with the spft with no luck, 5 different systems, linux, windows 10, windows 7, windows 10 home, windows 7 enterprise , a dozen usb ports, 5 cables and it just wouldn't work. Finally came across this thread, after about an hour of toying around with the directions I finally was able to get through 1-5.

So on behalf of my sanity, Thank you for this amazing tool!

What I did find that finally worked was using these drivers from this blog post on blogtechtips on how-to-install-mtk-usb-driver-for-blu-and-other-android-smartphones/

I used source 1 and installed them, it was quick and easy since it used an executable to install the drivers. From there I turned on the device and allowed the device to authorize the adb connection and went through the steps.

Not sure how much of a difference it makes but, Im on Android 6.0 with custom 6.6.

Note: I am very new to android (just bought the phone last Friday specifically to root and use essentially as an iPod on steroids). So if any of this information is trivial for android users I apologize.

Once again, thank you!
[BLU R1 HD Guides, News, & Discussion] yaconsult:
I am surprised that you had problems with Linux. I did my two phones on Linux and no drivers are needed. Just install android-tools and go. The driver stuff on windows is a royal pain.
[BLU R1 HD Guides, News, & Discussion] bareinhard:
Well it was also done through parallels and not on a clean install of Ubuntu 16. I also haven't ever done a root with Android before. If I needed to do it again I documented it and did some more testing so that I could probably get it done in about 5-10 minutes depending on download times for files. I'm sure if it was a dedicated Linux box it would have been easier but I've had to make some budget cuts so I'm stuck with a multi os Mac.
[BLU R1 HD Guides, News, & Discussion] yaconsult:
Ah, ok - yes virtual machines can have issues accessing USB devices sometimes. In your place, I would use a Mac-native version of adb and fastboot as described here: https://lifehacker.com/the-easiest-way-to-install-androids-adb-and-fastboot-to-1586992378 This should have no problem accessing the phone without needing to install any drivers or anything.
[BLU R1 HD Guides, News, & Discussion] bareinhard:
This is great to know! Thank you. I see that the R1 HD Unlock tool is both compatible with OSX and Linux, thinking about backing up my phone and giving this a shot.
[BLU R1 HD Guides, News, & Discussion] yaconsult:
Note that you only need the adb and fastboot programs that are very small. Note that you do NOT need the entire Android software development kit, which is huge - like 50 GB! For example, on Fedora, the files needed are in a package called android-tools which is only 1.5 MB and it contains only the following files:

/usr/bin/adb

/usr/bin/fastboot

/usr/bin/img2simg

/usr/bin/simg2img

/usr/lib/systemd/system/adb.service

/usr/share/doc/android-tools

/usr/share/doc/android-tools/51-android.rules

/usr/share/doc/android-tools/NOTICE

/usr/share/doc/android-tools/OVERVIEW.TXT

/usr/share/doc/android-tools/SERVICES.TXT

/usr/share/doc/android-tools/protocol.txt

/var/lib/adb​
[BLU R1 HD Guides, News, & Discussion] Carsfv:
help

hello! how can deleted the root?
[BLU R1 HD Guides, News, & Discussion] yaconsult:
You want to unroot your phone? Just run SuperSU, go to Settings, and then scroll most of the way down to the bottom. The option you want is called "Full unroot".
[BLU R1 HD Guides, News, & Discussion] White_Lion:
Hello! Could you tell me in wich folder of the phone the Dirty Cow files from the step 1 of the script are stored? I had a serius mental lapsus an trying to root again i was using again this tool when i just had to flash SU via TWRP, but i did the step 1 again and the files were stored in the phone losing some internal memory, and i want to erase them.

Thank you (:
[BLU R1 HD Guides, News, & Discussion] mrmazak:
step one pushes 6 files total 2.16mb

not loosing much space at all.

stored in "/data/local/tmp"

can see them and anything else in there with "adb shell ls -l /data/local/tmp"

and to quickly clear them use "adb shell rm -f /data/local/tmp/*"
[BLU R1 HD Guides, News, & Discussion] White_Lion:
Thank you for your answer, i also made at that time step 2 before i realized that i didn't have to do the process again to do root, in the step 2 any files are pushed or decompressed to the phone internal memory? Thank you again!
[BLU R1 HD Guides, News, & Discussion] mrmazak:
Nope, nothing is pushed in step 2.

Step two uses the files pushed in step one. Then through the use of the exploit, replaces the contents of the frp partion with the contents of one of the files pushed from step 1.
[BLU R1 HD Guides, News, & Discussion] Mjp_80:
odd, on step two I am getting a new_frp_md5 does not match. And a something went wrong restarting phone and try again.

Any advice would be helpful. I am a noob on this kind of thing and cannot find the answer when searching. Thank you!
[BLU R1 HD Guides, News, & Discussion] mrmazak:
if you just got your phone, chances are that this will not work.

this exploit was already patched little more than a year ago.

What build number does your phone have?
[BLU R1 HD Guides, News, & Discussion] Aman gee:
I have a LG v20 H990DS international Model use in KSA. Every think is working good after I factory reset then it’s started the boot loop, shows Lg boot screen and restart again and again.

I try to enter into Download mode (Vol+ then plug in to pc) but say Download mode please wait then continuous looping the lg logo. The only mode that I can get to is fast boot. Even doing a factory reset does not work.

I know only Fastboot mode is last hope for my phone alive.

I know the method of partition but problem is when I erase laf.img through fastboot mode its say device is lock cannot erase.

Shall this tool work @ lg v20 for unlock bootloader ?

Waiting for good reply

---------- Post added at 07:41 AM ---------- Previous post was at 07:39 AM ----------

I have a LG v20 H990DS international Model use in KSA. Every think is working good after I factory reset then it’s started the boot loop, shows Lg boot screen and restart again and again.

I try to enter into Download mode (Vol+ then plug in to pc) but say Download mode please wait then continuous looping the lg logo. The only mode that I can get to is fast boot. Even doing a factory reset does not work.

I know only Fastboot mode is last hope for my phone alive.

I know the method of partition but problem is when I erase laf.img through fastboot mode its say device is lock cannot erase.

Shall this tool work @ lg v20 for unlock bootloader ?

Waiting for good reply
[BLU R1 HD Guides, News, & Discussion] PimpinAintEasy:
Studio G HD LTE

Question for you mrmazak

Do you think if the script was changed from R1-HD to Studio_G_HD_LTE everywhere, as well as replacing/swapping out the twrp recoveries, and obviously swap out the R1-HD files in the "after_bootloader_roll_back_5.zip" with the Studio_G_HD_LTE files? ..... I've got one to toss on the sacrificial alter :)

Just wanted to toss it out on the table.....I only have a few files that must have fell out of my computer after watching what I've been conjuring up for them.

Files in your "after_bootloader_roll_back_5.zip" that I can't seem to find even using Google's GPS.

1. tee1.bin

2. tee2.bin

3. seccfg.bin

4. Meta-INF Folder (Isn't that Google's ... aka gapps)
[BLU R1 HD Guides, News, & Discussion] mrmazak:
NO.

its gonna be more involved than just changing names. The places you see R1-HD in the script are only comments or folder names that are displayed while running the script.

After roll-back script is changing the bootloader. A process if done wrong WILL make device no longer able to be fixed.

tee1 and tee2 are both trustzone.bin file. (independent to device firmware, NOT RECOMNDED to just find file with same name from the inter-webs.

meta-inf is common directory found in recovery flashed zips. It contains the directions to recovery on what to do with the files in the zip.
[BLU R1 HD Guides, News, & Discussion] PimpinAintEasy:
Studio G HD LTE 6.0 MM

That figures, it could never go that easy for me. This phone just happens to have the dreaded "fastboot oem unlock disable volume + to confirm yes I want to unlock dis bootloader" .... which blows donkey rumpshakaz

Was able to use Magisk to patch boot.img > spft flash'd > rebooted to recovery > wiped user data > & rebooted smooth as silk. Flashing twrp renamed to recovery-verified.img via spft will grant the flasher some ground and pound with one of the "brick" brothers?
[BLU R1 HD Guides, News, & Discussion] Techguy777:
I'm wondering if this unlock bootloader zip maybe able to help me. I bought a Blu studio m5 plus it's also known as dash xl is what recovery calls it. Anyway I tried oem unlock when I first opened up the box and it brings up the option to hit volume up to unlock or down to cancel. Volume down works but volume up to unlock bootloader is disabled or something. I was able to get root by making a full stock backup then having magisk patch bootimg. After which I used S p flash tool to flash the new boot. Then I used twrp porter to make a twrp recovery and flashed it using s p flash tool. So now I have recovery and root access. I still would like to get my bootloader unlocked. I've been researching for 4 days straight I don't understand what stopped the Blu r1 hd from unlocking bootloader before the tool and maybe wonder if I could do the same thing. There's no thread on xda for my phone so I'm trying to gather ideas. Could someone explain exactly what the tool does or know how I could get my bootloader unlocked? Thanks
[BLU R1 HD Guides, News, & Discussion] mrmazak:
I have not followed this thread in quite some time. I did not see your question.

The tool here uses an already patched kernel explit (dirty-cow) (copy-on-write).

And the unlock here still needs the volume button to be activated.

The trick here was that blu intentionaly left out the "allow oem unlock" from dev options page. This hack gets around that missing option. Do not think it will help your case.
[BLU R1 HD Guides, News, & Discussion] Techguy777:
Right on thanks for the reply.
[BLU R1 HD Guides, News, & Discussion] Techguy777:
Thanks for the reply it doesn't matter I guess I have root with twrp and it was only 20 dollar phone on clearance at Walmart just bought it to mess with. Mediatek has the worst battery life I've ever seen that phone is awful it drops battery every minute I can't stand it I've tried everything powersave mode on ex manager and greenify with all the system apps disabled. It doesn't even have a Sim I couldn't see how anyone could use it for real. It does stand by all day.
[BLU R1 HD Guides, News, & Discussion] clow468:
I have a blu v9.2 is it possible to root using magisk??
[BLU R1 HD Guides, News, & Discussion] mrmazak:
If you have an unlocked boot loader.
[BLU R1 HD Guides, News, & Discussion] clow468:
What are the ways to verify if it is blocked or not?
[BLU R1 HD Guides, News, & Discussion] mrmazak:
well, did you unlock it?

They come as new locked. In order to modify them you need to unlock it. And after the updates that where released they made it real hard (maybe impossible) to unlock anymore.

There is fastboot command to show lock status.

fastboot getvar all

last couple lines of the out put shows lock status
[BLU R1 HD Guides, News, & Discussion] mrmazak:
Unlock tool has been update, It now uses a newer exploit to get temp root, then this will allow unlocking and full root. Please give a try.

oops, i left in a troubleshooting line in the first copy of new tool.

uploading -V2
[BLU R1 HD Guides, News, & Discussion] ravb90:
Not working with V9.2, any suggestions?
[BLU R1 HD Guides, News, & Discussion] bibikalka:
Ought to ping [MENTION=5312578]mrmazak[/MENTION] in a more direct way ;)
[BLU R1 HD Guides, News, & Discussion] mrmazak:
What is not working, on V9.2

the mtk-su tool?

Or are you using the original Dirty-cow tool?

also. mtk-su has been updated at least 3 times since i put this together, so maybe I send you to the mtk-su devs site to troubleshoot further.

look here to try and see if the mtk-su root works, then let me know if need help the get bootloader to unlock from there.

https://xdaforums.com/showpost.php?p=79626434&postcount=135
[BLU R1 HD Guides, News, & Discussion] mrmazak:
I made video. It is not clear on the phone screen but you should be able to understand what is going on.

[YOUTUBE]aS6f17KQy_E[/YOUTUBE]
[BLU R1 HD Guides, News, & Discussion] gabriel986:
I understood, the problem is that my phone won't take that command, so it doesn't reboot.

What should I do in that case?
[BLU R1 HD Guides, News, & Discussion] mrmazak:
ohh

I can make the video simulating that, if needed, but it should be easily described

At the same point just hold volume button same way. but also press power button, for long time (like 20-30 sconds should do). Phone shuts off. Then while holding the volume button press power for about 5 seconds should do. Let go of power, keep holding volume like in video.
[BLU R1 HD Guides, News, & Discussion] gabriel986:
lun. 27/02/2017 16:54:06,92 Vamirefo's v7.1 TWRP Recovery flashed .

lun. 27/02/2017 17:07:40,35 Vamirefo's v7.1 TWRP Recovery flashed .
[BLU R1 HD Guides, News, & Discussion] mrmazak:
The log is just saying that is was selected. I didnt have a way to check if it was actually flashed until have root access and can read mmcblk info
[BLU R1 HD Guides, News, & Discussion] gabriel986:
It didn't work it says that failed to mount something while in recovery mode, and when it boots it reverts to the original recovery
[BLU R1 HD Guides, News, & Discussion] mrmazak:
Now we are getting somewhere , with your problem.

So it opened into twrp recovery and gave an error message.?

please try again and take picture. I have not seen this message with this recovery , on this Phone. (BLU R1-HD) you do have the r1-hd,. right.?
[BLU R1 HD Guides, News, & Discussion] gabriel986:
repeating the process and taking pics

of course it's a blu r1hd prime edition 2gb/16gb
[BLU R1 HD Guides, News, & Discussion] mrmazak:
had to make sure. One time I spent hours helping this one guy in web chat , and come to find out he had different device and was trying this software on it
[BLU R1 HD Guides, News, & Discussion] mrmazak:
check your uploaded pictures. 1-6 are not shown.

the ones that do show have superSU failing to install. But I need to see , I guess the ones just before to see how twrp is.
[BLU R1 HD Guides, News, & Discussion] gabriel986:
I just updated the pictures, they should be all visible now
[BLU R1 HD Guides, News, & Discussion] mrmazak:
i think i see problem.

I made assumption, people knew what to do when twrp boots up.

at the twrp screen where it says swipe to allow modifications. You need to do that.

[IMG="swipe to allow modificaton to system"]https://lh3.googleusercontent.com/hHBdPFlsnsnE3Xwdm2taUj9BZl9nvCg90F1h2uxXXLCRxUHp5spIcPngdUkIm2VKG8nNGg0ffjyu15rdYBAIHvqN2FFWlFIHGfKHHusuL9c7f0S9Ghd43D-Kzi2G9rHjWN2dZE9FU1wPIzD4L2Vh9hjtWji2milnqBNIR2B2LvV-nepSHmxJv1oQVcEAPn9oHrmNGdMARB8XmAQwGD0xB_5nxqCXiBs54QcayeDGuD9OiSroXcX3K9QYm0_hiULxIN0ozf0_mVROUfb_2fbkUjjVmxBDezACdgOghowb7sl0_oFNfXBNa-t9E_TEnkuYmPpgNrXfBFIpItpgULsezY5iM9QQoEAwAuwmvF39gbydLMsHmKg9ZphmP5hXWkQQPGs258_88eF6yJR0oOe1hHXo0RYyMxYMzFfZ_IcsTWlTNdfNITpuKdGXCSLQx9ILkAyEYCPgQ9PedCm2VqU1yuCsZXY-as5IluQqdh2TOiRGl3zSVi7FZiVbeuTk_B-XTomTtRVEoNXvAIWreG2pGLj7K-luAN5yJ61LUl_qyaQwMJV3ACArnEhuGopp8_REo-zUsw5PkIpqQjb1ozK_d_38avoFwWmoEF6_Z-YkSDUViAYaew=w121-h215-no[/IMG]
[BLU R1 HD Guides, News, & Discussion] gabriel986:
I have done that.... nothing changes
[BLU R1 HD Guides, News, & Discussion] mrmazak:
and after install twrp you do reboot without any other install at same time?

I see the screen shot says installing from external_sd.

normally not a problem but not the way my tool is coded to do it, (not as originally written).

did you change something?
[BLU R1 HD Guides, News, & Discussion] gabriel986:
I think I found my mistake, Checking...

---------- Post added at 06:29 PM ---------- Previous post was at 06:27 PM ----------

Nothing changed, My understanding of coding is not that good