yashsingh1/xdaforums huggingface dataset:
[Moto G5 Guides, News, & Discussion] TheFixItMan:
How to root Moto G5 very easy on LineageOS

Since iv been reading some very strange ways people have been rooting this device I will tell you how to root this phone very easily if you are on LineageOS

This is for LineageOS 14.1 only

For LineageOS 15 please use Magisk

Requirements

Unlocked Bootloader

TWRP Recovery

LineageOS rom or based on LineageOS rom

SU zip in attachment

How To

Once you have installed LineageOS (or any rom that is based on it)

Go into TWRP Recovery

Install Zip

Select addonsu-14.1-arm-signed.zip

Wait till flash has finished

Wipe Cache

Restart Phone

Once phone has restarted do the following

Open phone settings

Go to about phone

Keep pressing on build number until it tells you that you are a developer

Go back to phone settings

Select Developer Options

Under Root access select Apps and ADB

Done - you now have a rooted phone

Don't install any other superuser/supersu app as it may conflict
[Moto G5 Guides, News, & Discussion] NM99:
Is wipe cache really needed? I don't want to setup all my apps for the third time this week (root on stock, then installing LineageOS).
[Moto G5 Guides, News, & Discussion] TheFixItMan:
wiping cache does not delete any app data or removes any apps

Cache is a temp folder that apps use so things can load quicker - wiping the cache is always recommended after flashing any zip (the option wipe cache/dalvik will appear after flashing zip)

What you are talking about is data - wiping data would remove all user data/apps and at no point do you need to wipe data in this process
[Moto G5 Guides, News, & Discussion] NM99:
Did I mess up that bad? Jesus.

Well, sorry for that. Thanks for correcting me. :)
[Moto G5 Guides, News, & Discussion] No_Signal:
It would be interesting to know who the author of the SU is?
[Moto G5 Guides, News, & Discussion] TheFixItMan:
It's the lineageos su addon so lineageos
[Moto G5 Guides, News, & Discussion] No_Signal:
Appreciated, thank you TheFixItMan!
[Moto G5 Guides, News, & Discussion] manoloyloles:
Works f... great :D
[Moto G5 Guides, News, & Discussion] m-rufflesmcghie:
Have you ever come across "Manage root accesses" being greyed out in Dev Options ?? After flashing add-on su downloaded from this post and also Los site

Am running Colt OS with LOS Kernal
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Probably who ever built the rom hasn't used lineageos sources for rooting/settings

You will have to take it up with them
[Moto G5 Guides, News, & Discussion] zdoe:
ok - i get root with this no problem, but i need superSU (standard, not addonSU) for foldermount that doesn't like the addonSU.

what to do?
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Supersu zip - Flash in twrp

https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.82-201705271822.zip
[Moto G5 Guides, News, & Discussion] zdoe:
i had already in fact tried this very ZIP. now i tried it a 2nd time. flash completes, but with RAMdisk errors: Extracting RAMdisk -- failure, aborting.

and booting with it, the system boots, but i don't have root.

are you saying you've succeeded with this?
[Moto G5 Guides, News, & Discussion] TheFixItMan:
On previous versions of lineageos 14.1 yes (but not tried it for ages as didn't use it for my root so kernel may have changed)

If you are using lineageos 15 you need to use magisk
[Moto G5 Guides, News, & Discussion] zdoe:
k. i don't really fancy going back in history on lineageos...

unfortunately i can only use superSU as that's what foldermount expects to see. and the developer for it is AWOL, so he won't be fixing this anytime soon.

or - do you know of any alternatives to foldermount?

or2 - perhaps the lineageos developer could make it compatible with superSU?
[Moto G5 Guides, News, & Discussion] TheFixItMan:
I would advise using lineageos 15 & then using magisk

The chances are there is a magisk module that will do the same/similar job

Linking things to sd card isn't really advised - it slows the device down & makes it laggy - the g5 has 16gb internal storage so what benefit are you looking for as just installing apps I can't see anyone filling up internal storage & anything else can go on sd card like music pictures downloads etc
[Moto G5 Guides, News, & Discussion] zdoe:
is 15 better than 14.1? there does seem to be magisk module that attempts to do this, but seemingly not ready for prime time yet.

right, it's no longer about space. it's about: setting up a removable hard drive (=sdcard), and with it, being able to houseclean for misbehaving apps. in my case it's mostly wechat, that will fill any amount of space and not provide tools to keep it operational. and yes, i got a fast sdcard, speed shouldn't be an issue.
[Moto G5 Guides, News, & Discussion] TheFixItMan:
Well it's oreo as opposed to nougat

Only main bug is camera apps crash after taking 1 pic but I'm sure that will be fixed in next build

Since I don't use apps like that I can't recommend anything
[Moto G5 Guides, News, & Discussion] spiritflare01:
Thank you for creating this. I tried to root Moto g5 lineage 14.1 using SuperSU. Unfortunately it doesn't work. I tried the latest beta 2.82, 1.97, etc.

Although magisk works, it wasn't as simple as SuperSU

So this app is great substitute. I hope you can make it work for lineage 15 also
[Moto G5 Guides, News, & Discussion] Techcri:
at the end of the process,

what if i disable now dev options(toggle to deactivate) with the root access apps and adb allowed(as you described),

will i remain root?

anyway, how come i dont find any supersu app installed? did i do something wrong then? or is the addonsu-14.1-arm-signed integrated by flashing it in custom recovery?
[Android General] WildsideUK:
So here it is after weeks of trying to root my VFD 500 I've decided to port TWRP to make it possible.

I have ONLY tried this on my own Vodafone Smart Turbo 7, no guarantees of success if you use on a different device. I am NOT a developer and I work 60+ hours a week, therefore I will not be updating this or offering support if your device bricks.

TWRP VERSION: 3.0.2

This might break OTA, so keep an original recovery (provided below).

METHOD

1. Download TWRP_VFD_500.ZIP and extract (You should have recovery.img, SuperSU.zip and MT6735M_Android_scatter.txt and recovery-original.img) Copy the SuperSU.zip to your phones SD card, KEEP the recovery-original.img safe for future use..

2. Turn off phone and run SP Flash Tool (I used V5.1644).

3. On SP Flash Tool click choose for Scatter-Loading file and select the MT6735M_Android_scatter.txt that you received in step 1.

4. In the list of partitions make sure that ONLY recovery is selected and that it says Download Only in the drop down menu above the partition list.

5. On the recovery partition line, where it says location, click and browse to the recovery.img provided in step 1 and click open.

6. Press the big green downward arrow.

7. Connect phone to USB cable and plug into computer. The bottom of the SP Flash Tool window will go yellow / red as it flashes the phone. After a few seconds you will be presented with a green tick signifying the end of the process, your phone screen SHOULD have remained off during the entire flash.

8. Turn phone on by pressing the +vol button and power at the same time, your phone should go into TWRP recovery.

9. In TWRP click install, browse to where you copied SuperSU.zip and select it. Follow instructions on screen to install.

10. Once installed reboot to system.​

Enjoy! This is a one off from me, it worked on my phone. If like me you wish to remove all the bloatware and Google Apps you don't need you'll be able to do this using Apps2SD: All In One Tool [ROOT]..... I won't be writing a tutorial for this.

Best of luck, Steve.

TWRP VFD 500.zip

SP Flash Tools
[Android General] AshGFX:
Hey This Seems cool what is the likely hood of this bricking/bootlooping your device?
[Android General] Videlp:
I can confirm that this does work, i have just installed this on a brand new Vodafone Smart Turbo 7 (VFD 500).

Thanks a lot for your time and effort for porting this. :)
[Android General] casabato:
I installed TWRP on a Vodafone Smart Turbo 7 (VFD 500) and it works! Thanks...
[Android General] Neoaoi:
Would this work on VFD 502?
[Android General] renedrive:
Hi WildsideUK.

Trying to follow your procedure for my sister's tcl vfd 500, using the current version of SP Flash Tool, version 5.18, I stop at step 6 with some doubts.

In the SP Flash Tool, in that moment, I can not find any "big green downward arrow" buttons.

The only button with some "green" is the "Download" button which has a green arrow icon.

Using that nothing happens.

Furthermore, by connecting the phone the bottom part of the SP Flash Tool does not change any color.

I do not know if I do something wrong.

[Update]

[past some experiment and several attempts]

Following the instructions of SP Flash Tool I tried to do the same procedure by removing the battery from the phone.

In this way the procedure worked and the program finished the procedure until confirmed with the green tick.

Wonderful.

Thank you
[Android General] Al_Jourgensen:
Hello community

Can someone please give me valid links and tutorials for unlock this phone, i´ve been here for more than 6 hours looking on how to do this, but there´s always a software or file missing. I can´t even install the USB drivers, or find a TWRP properly.

What a headache..

Thanks in advance
[Android General] BravestarrZA:
Hi

Does anybody have the files in the above post, the links is not working anymore.

Thanks
[Android General] Paolo1806:
Hi, I too am looking for those files. Did you get them?

My best greetings
[Android General] Paolo1806:
I found the files at this link and all went fine!

Archivos recovery+root Vodafone Smart Turbo 7

En esta Descarga tenéis a vuestra disposición todos los archivos requeridos para hacer root al teléfono móvil Vodafone Smart Turbo 7, dispositivo conocido también por el nombre de VFD500. Dichos ar…

www.ayudaroot.com
[Xiaomi Mi 6 Questions & Answers] ArcOnFire:
I have tried 2 version of MiFlash :

7.4.25 gave me "Length cannot be less than zero error", so I changed to MiFlash Beta as has been suggested here

My PC definitely reckon the device in fastboot mode. fastboot devices showed the device is detected. It's just both version of MiFlash failed to recognize it.

I have tried to Update Driver on "Android Bootloader Interface". Out of 4 similar options I have tried (see attached pic), it doesn't make MiFlash recognize the phone. I have also tried to "search automatically" for updated driver.

MiFlash still doesn't recognize the phone.

second pic :

adb devices from the system -> recognized

fastboot devices from fastboot mode -> recognized

but MiFlash didn't detect the device.

So I'm kinda stuck. Any suggestion?

I'm using Win7 SP1, Official TWRP 3.1.1, and Xiaomi.eu ROM 7.5.19
[Xiaomi Mi 6 Questions & Answers] smooth_gl:
If your device is recognized in fastboot /device manager then I guess it's a Mi flash problem. Try other Mi flash version. Maybe will do the trick.
[Xiaomi Mi 6 Questions & Answers] ArcOnFire:
Additional attempts I have tried :

- Install Mi PC Suit manager : nope, Mi PC Suite manager can't detect the device

- fastboot oem edl : command prompt says OKAY, but the device is turned off

- Because the adb and fastboot in MiFlash's Source\ThirdParty\Google\Android folder can't detect my device, I tried to replace them with the working adb and fastboot. Executing adb and fastboot via cmd can detect my device, but MiFlash still can't detect the device.
[Xiaomi Mi 6 Questions & Answers] ArcOnFire:
I'm wondering if my target reported max download size 536870912 bytes is actually an error.

This guy said it's an error. But from my log, it doesn't say it's an error.

Maybe I should try the other version of MiFlash (Beta) for this? :/
[E 2015 Q&A, Help & Troubleshooting] ghrgui:
im facing wifi bug everywhere, i play clash royale, and this wifi bug is tilting me so hard.
[E 2015 Q&A, Help & Troubleshooting] akshat1000:
not everywhere dude it will be in only nougat roms

I'm using Cardinal AOSP 6.0.1
[E 2015 Q&A, Help & Troubleshooting] testerexp345:
LineageOS gave me problems since it couldn't save or download anything, so I had to swap to AOSPExtended.

It now works, even the wifi is functioning well.
[Samsung Galaxy S7 Questions and Answers] GeekTN:
Hello. Does anyone know when Samsung will release Samsung Experience 8.1 (the one on the S8 and S8+) for Galaxy S7 and S7 Edge? I'm aware that you can unofficially download the launcher, but will Samsung actually release the update? Can the Galaxy S7 receive this new interface with the update android 7.1.1? Of course I speak in case the version 7.1.1 will be deployed to the Galaxy S7 / S7 edge.
[Samsung Galaxy S7 Questions and Answers] Edge330:
New touchwiz on S8 is much heavier then one on S7.

Actually, we have much more optimized user interface, there is no reason to change that with semi finished product like one on S8.

Poslano sa mog SM-G930F koristeći Tapatalk
[Samsung Galaxy S7 Questions and Answers] vibealite:
I actually prefer the one on the s7 my self after using a s8 rom not really to keen on s8
[Samsung Galaxy S7 Questions and Answers] GeekTN:
Yes you are right. But the interface of the Galaxy S8 is more pleasant and modern than that of the Galaxy S7. Especially with the disappearance of the icon "applications" and the new restyled icons. Moreover, it would be interesting to receive Android 7.1.1 and in this case Samsung could integrate it with the Samsung Experience 8.1 interface that will be optimized for the Galaxy S7.
[Samsung Galaxy S7 Questions and Answers] Cyterafle:
Samsung Experience 8.1 will come with Oreo ?
[Samsung Galaxy S7 Questions and Answers] michel333alfa:
They said that it's not with Oreo.
[Samsung Galaxy S7 Questions and Answers] michel333alfa:
They said Likely(but the site said, not Samsung). And 8.1 is 7.x android, not 8. Are they so dumb to release old version of SE with the new os?

*** MOD EDIT ***
[Samsung Galaxy S7 Questions and Answers] GeekTN:
Yes you are right. SE 8.1 is for android 7.0 and SE 8.5 this is for android 7.1.1. I think Android 8.0 will be launched with SE 9.0 probably. The Galaxy S7 should get directly this interface.
[Samsung Galaxy S7 Questions and Answers] Cyterafle:
Samsung will port SE8.1 with Oreo (J 2017 will have Oreo with the same SE 8.1)

---------- Post added at 10:49 AM ---------- Previous post was at 10:47 AM ----------

I think Samsung doesn't do this for S7 (For exemple:S6 won't get Samsung Experience 8.1)
[Samsung Galaxy S7 Questions and Answers] michel333alfa:
*** MOD EDIT ***

HI 2017 already has se 8.1. Oreo will have se9
[Samsung Galaxy S7 Questions and Answers] Cyterafle:
I know this but S7 probably don't get SE9
[Samsung Galaxy S7 Questions and Answers] michel333alfa:
*** MOD EDIT ***

J7 already has 8.1. Oreo will have se9. S6 won't get SE cuz of the ended update cycle. S7 is not out of cycle.
[Samsung Galaxy S7 Questions and Answers] Cyterafle:
I know J7 2016 and 2017 has SE8.1 the S7 can't get SE9 because the next year Samsung will stop updates for S7 (And the last Galaxy S who have a new Android never get new interface)
[Samsung Galaxy S7 Questions and Answers] GeekTN:
The Galaxy S6 has not received HE 8.1 because at the time of the update to Android 7.0 this interface does not exist! The Galaxy S6 (like the Galaxy S7) received grace UX because it was the latest interface at the time! So the Galaxy S7 will receive android 8.0 with the latest interface (SE 9.x). The J7 2016 has received SE 8.1 because at the moment it is the most recent interface for android 7.0
[Samsung Galaxy S7 Questions and Answers] Cyterafle:
Galaxy A5 2016 has got Nougat 3 month after SE8.1 but It has SE 8
[Samsung Galaxy S7 Questions and Answers] michel333alfa:
Its not flagship
[Samsung Galaxy S7 Questions and Answers] Cyterafle:
J7 2016 is not flagship too
[Samsung Galaxy S7 Questions and Answers] michel333alfa:
And so? I said you that S7 is flagship and it obviously should receive and update, unlike your j7
[Samsung Galaxy S7 Questions and Answers] Cyterafle:
The next year,S7 will get Bixby and Samsung Experience 8.1 with Oreo.Here's the source
[OnePlus X Q&A, Help & Troubleshooting] drunken_m:
Okay guys, I'm in full panic mode. I was just getting ready to reinstall my X with Lineage OS. I had CM 13.0 up until now. I've backuped everything, then powered off my phone (simple, normal power down).

After that I was trying to get into TWRP (I had 2.x.x.x installed), but VolDown+Power got me in a boot loop. The OnePlus Logo flashes, phone vibrates short then reset and it flashes/vibrates again. I tried booting normally, that doesn't work either.

The only thing I can do is get into fastboot, but I can't flash anything! The phone says it's locked (though I unlocked it before I put CM 13.0 on it)

c:\Android>fastboot flash recovery twrp-3.1.1-1-onyx.img
target reported max download size of 536870912 bytes
sending 'recovery' (16002 KB)...
OKAY [ 0.505s]
writing 'recovery'...
FAILED (remote: Device not unlocked cannot flash or erase)
finished. total time: 0.509s

c:\Android>fastboot oem unlock
...
FAILED (remote: oem unlock is disabled)
finished. total time: 0.005s

c:\Android>fastboot oem device-info
...
(bootloader) Device tampered: true
(bootloader) Device unlocked: false
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
(bootloader) console_enabled: 0
(bootloader) exec_console_unconsole: 0
OKAY [ 0.010s]
finished. total time: 0.011s

Help! I can't boot my phone and I can't flash anything either. Is there anything I can do or missed?
[OnePlus X Q&A, Help & Troubleshooting] drunken_m:
After 2 hours of trying everything I found I'm now at a point where I could install the original (?) recovery via the MSM DownloadTool 2.0.2. Now I have a recovery which looks like stock... I can "Install from local" and "Install from USB". Tried the latter and I get the "adb sideload" mode. Tried to upload the latest Lineage OS Nightly through this sideload, but it fails after 47%. :(
[OnePlus X Q&A, Help & Troubleshooting] intoxicated.mad:
If possible Flashing oos 3 might help or there's unbricking guide for opx you might want to see
[OnePlus X Q&A, Help & Troubleshooting] drunken_m:
Thanks! That was actually the solution: the stock recovery can only flash OOS, it seems. I flashed OOS 3.1.4, then enabled oem unlock, flashed TWRP and Lineage.

Still no idea why my phone wouldn't boot after powering it off or why my bootloader was locked in the first place.
[OnePlus X Q&A, Help & Troubleshooting] intoxicated.mad:
Anyway you got out of trouble ??
[OnePlus X Q&A, Help & Troubleshooting] adamantiumXT:
I have the exact same problem, only I am running Sultan's ROM. Unfortunately, my phone is not backed up, because I wasn't going to install a new rom or anything. Is there any way to restore my phone without losing data. I downloaded the MsmDownloadTool V2.0, and am wondering if I could replace the stock recovery.img in there with the one for my ROM, or would this not work?
[OnePlus X Q&A, Help & Troubleshooting] adamantiumXT:
Ok, so I tried replacing the recovery.img, and it didn't work, so I used the original one from the tool and dirty flashed OOS 3.1.4. All my original files and apps are still there, but none of them will open, except for google apps, which I assume came in the OOS ROM (Google Play works but says 'download pending' if I try to download an app). Unfortunately, this mix of software doesn't let me enable developer options in the settings (when I tap the build number nothing happens) so I can't use ADB to make a backup. I think the only way to get things working is to do a clean install OxygenOS, which would lose all my files. I'll think I'll try to use a file manager to copy the contents of the internal storage to a USB device, then do a full clean install.

Also, in this weird state of software, only the back button works, the home and recent apps keys don't, so if I do something in Chrome, I need to restart the phone to do something else ;)
[OnePlus X Q&A, Help & Troubleshooting] Dinesh6252:
I also faced that issue too and it happens when you have installed custom rom or recovery without first unlocking the bootloader. Do It Now If you haven't
[OnePlus X Q&A, Help & Troubleshooting] drunken_m:
Actually the bootloader was already unlocked (I needed that to install CM in the first place), but I think I accidentally re-locked it when I tried to remove root (to install a banking app).

As I wrote I already fixed the issue by installing the original bootloader/recovery and OOS over a serial link, then unlocked the bootloader again and installed the latest TWRP And Lineage. So all is fine now.
[OnePlus X Q&A, Help & Troubleshooting] drunken_m:
Rule #1 of flashing: always have a backup ready. ;)

If you have TWRP installed and can get into recovery you can pull your files via ADB. After that I'd also recommend a clean install (full wipe).
[OnePlus X Q&A, Help & Troubleshooting] adamantiumXT:
I have to agree, but I wasn't flashing when the phone decided to brick itself :confused:, so I didn't have a recent backup. In the bricked state I could only access fastboot mode, not recovery :(. I ended up copying what I could from the internal storage partition (which basically had everything I needed anyway), then clean installing a new ROM, and restoring my files.

For anyone else who gets into the same situation, I recommend that you make sure to not turn on WiFi or mobile data after you dirty flash OxygenOS, and remove your Google account. This will mean that Google's backup of your phone and apps (if you turned that feature on) will be of your working setup. As I tried to use Google Play in the messed up system, Google decided to replace my backup with the bad config so I couldn't restore in the new ROM - although looking at the Google Drive app now, the good setup is backed up, only I have no way to restore it
[OnePlus X Q&A, Help & Troubleshooting] bigtastie:
Maybe I have the same problem, not sure. I can't boot the phone. Holding vol down + power only makes the phone reboot over and over until I let go. It turns off afterwards, never enters recovery mode. I can access fastboot mode, but my bootloader is locked so I can't flash anything. Any suggestions?
[LeEco Le Pro3 Questions & Answers] wjcunning:
New LEX727's run Android 6.1 out of the box.

Only the "critical partitions" can be unlocked using adb/fastboot. Recovery partition is not "critical" apparently.

No SU in the native 6.1 binaries, so no way to flash non-critical partitions.....i.e.. Recovery.

Bottom line, been at it three days, this thing appears to be root and flash resistant, so far.
[LeEco Le Pro3 Questions & Answers] trizex:
Fastboot boot recovery option? Flashing emmc_appsboot partition from a x720?
[LeEco Le Pro3 Questions & Answers] Kopavi:
Did you try the steps in this post?

Post 203 Persistent Bootloader...

Please note that where it says "adb devices" it should really be "fastboot devices"
[LeEco Le Pro3 Questions & Answers] wjcunning:
Wow, THANK YOU SOOOOO MUCH

Worked beautifully, thank you so much.

New best friend.

: )
[ONE Q&A, Help & Troubleshooting] sunil.avvas:
Hello Devs,

Need help help :crying:

I have been using RR(7.1) for last 4 months. from 05/27 I have been updating to latest in between installed substratum and applied tweaked themes on it... all of a sudden I started observing below problems

1. Screen freezes on my OPO(can't able to unlock the screen forcing me to restart it).

2. Some letters from keyboard are not functioning properly, I thought some touch screen issues..installed some touch screen test apps it shows everything fine.

So I roll back to 05/27 but no use same problems, then clean flash - no use, reset the phone i.e, factory reset wiped everything.. and flashed latest Lineage 14.1 - but no use still I see same problems.

Switched to Tuga power - No use same problems

Finally decided to rollback to 6.0(Marshmallow) and flashed (sultan's CM13 latest) - Still I am facing the above mentioned problems. :confused: :crying:

NOTE : in between TWRP touch screen also behaving differently ?? :rolleyes:
[ONE Q&A, Help & Troubleshooting] psxda97:
Are you sure it is not a hardware issue?