yashsingh1/xdaforums huggingface dataset:
[8525, TyTN, MDA Vario II, JasJam ROM Development] Roam23:
do you think you can send me the audio manager too thanks
[8525, TyTN, MDA Vario II, JasJam ROM Development] PBMax:
Here is a thread that has lots of WLM versions:

http://xdaforums.com/showthread.php?t=334621
[8525, TyTN, MDA Vario II, JasJam ROM Development] hotrodbx:
Burn Burn Baby Burn

:eek: :eek: :cool: Disco Inferno!!!
[Samsung Galaxy Gear] filipemelo:
I received as gift a samsung watch, that come with Tizen, I will describe how to do all the steps to install the custom rom.

I have a lot of problem and I write this to help all in special noobs like me.

(no wondershare, no root, no phone needed)

Things I used:

Odin 3.12 - Will write into rom of your device, in this case gear.

Stock Rom (Go to Sammobile, you will have to do a account) - "Rom original to install".

Null rom (don't get the 27, the last version is 23)

ADB

Samsung Drivers

In some cases:

SDB

Downgrade Tizen To Android

I will write the other steps bellow it's just too much things to do it.

I will came back to say all steps. and putting links and forum I was based.
[Samsung Galaxy Gear] filipemelo:
Process

Steps

[Step USB Debuging](Gear)

[Preparation 1 - ADB and verify android](Windows)

[Preparation 1.1 - In case you have tizen installed](Windows)

[Preparation 2 - Intall custom recovery](Windows)

[Preparation 3 - Copying null_23 to sdcard](Windows)

[Installing Null rom 23](Gear)
[Samsung Galaxy Gear] filipemelo:
[Step USB Debuging]

Unlock you phone, and enable usb debuging

You don't need to use a phone to do it. At any version of SO installed you can go without a phone.

In case you think you need the phone to go to configuration you don't need.

Press the touchscreen on the version of your watch, at least 10 times, then press and hold where is writed gear, and you will unlock the phone.

Go to configurations, about the phone select usb debuging.

If you are not seeing the usb debuging, then go to the menu and click 7 times on version, and will unlock the usb debuging.

Go back and enable usb debuging. If you having problems I do a tutorial, but send a picture of your watch and screen.
[Samsung Galaxy Gear] filipemelo:
[Preparation 1](Windows)

First thing you need to know if you are using Android or Tizen OS.

Install Samsung Drivers, to recognize your gear, connect the gear to computer.

Install ADB, or download it.

Then open a terminal, windows + R type cmd and press enter.

Navigate ADB folder, and type adb devices, if no device is show and you have gear plugged and dock and at pc with the right part of gear at the dock, and Samsung drivers, maybe you are using Tizen.

You can't go on until you see the device at adb devices.
[Samsung Galaxy Gear] filipemelo:
[Preparation 1.1](Windows)

In case you wanna see if you are using Tizen then:

Install SDB, or download it.

Then open a terminal, windows + R type cmd and press enter.

Navigate SDB folder, and type sdb devices, if are showing devices you are using Tizen and need to do a Downgrade to Android to continue the installation.

Download the downgrade, unzip and do as I say, because I was doing wrong and my touch stopped working, then I need to reinstall the stock rom.

[Go to download option]Hold power button for 10 seconds, than press it at least 10 times, press until download and then press for 3 seconds and released.

Open Odin, connect you gear to pc.

You have to see [com:X] to see that your gear is connect.

Than select the pit tab, select the file .pit inside the folder you unziped.

Select the file at AP that started with 1.

Uncheck all, and leave only Reset time and Repartion checked.

WAIT until you see PASS, don't remove it at RESET.

Please now you don't go again to download option, you have to go to recovery, if you don't do it your touch will not work, and you will need to reinstall stock and restart full proccess.

[Go to recovery option] Hold power button for 10 seconds, than press it at least 10 times, press until recovery and then press for 3 seconds and released.

[Black screen]You now have to see the lack screen of death to continue, it say you have to connect to Kies and stuff(Just don't do it).

Now at this black screen you can continue.

Close Odin, and open it again.

Select at Ap rom that started with 2, uncheck auto restart, and press start.

WAIT until Odin say to Pass, don't remove at RESET.

If every thing goes right you installed MK7, and can continue the proccess.

Reboot and do the step again [Step USB Debuging].
[Samsung Galaxy Gear] filipemelo:
[Preparation 2 - Intall custom recovery](Windows)

You have android installed at your gear, if you don't have the mk7 version, please download it at sammobile, use odin with checked restart and reset time, and hit start.

Now with MK7 version you will install a modification to when you use the [Go to recovery option], and now will have another feature this recovery.

At this new feature you can install a custom rom, and this case we will install null23(that is the lastest version, do not install null27)

To do so you will install a custom recovery TWRP, this will only affect the recovery option of your rom.

Open Odin, select the twrp.tar, and hit start.

Wait for PASS, and reboot and do the step again [Go to recovery option].

Check if touch is working, if this is not working, and you did a downgrade you need to do it again, i did this step at least 10 times, and the problem was I wasn't doing exatcly as I said.

If touch work you can go to the next step.
[Samsung Galaxy Gear] filipemelo:
[Installing Null rom 23](Gear)

Now if your recovery changed you can go to your new customized recovery.

[Go to recovery option]

Click at wipe.

Wait, and back to menu.

Install, look for null_23.zip

Click at it.

Now you are installing the custom rom.

End :)

Hope I Helped.
[Samsung Galaxy Gear] Karo Marvel:
In what step did you actually install null_23 onto the gear??? In recovery I see twrp folder, but null 23 is not under it. I'm stuck at this point because I can't put null 23 in my sd card so I can install it. :(
[LG G5 Questions & Answers] BrunoSlivar:
Today i left my g5 in service for screen in screen effect. After few hours man from service call me and he told me that he cant repair my phone because phone is rooted. Wtf? I buy brand new in store and i didnt root. He show me lg server and it write that my phone is rooted. I take my phone and install 3 apps and it shows that my phone is NOT rooted. And i didnt unlock bootloader. What can i do?
[LG G5 Questions & Answers] vader20:
Have you requested a bootloader unlock key from LG Developer website?
[LG G5 Questions & Answers] BrunoSlivar:
No. I find on hidden menu by rtc that my phone is triger like root one by instaling app superuser. To me that is too funny. Installing app like superuser lose waranty
[LG G5 Questions & Answers] BrunoSlivar:
Can i find out are the bootloader unlocked or locked?
[LG G5 Questions & Answers] vader20:
Get the adb tool from here install and do the following:

1. Enable USB-Debugging on your phone. USB-Debugging is required for the commands “adb” and “fastboot” to work. To enable USB-Debugging, go to Settings >> About phone >> Software info and tap Build number 7 times. Return to the previous screen, select Developer options and enable USB-Debugging.

2. Open CommandPrompt or Terminal and enter the following ADB command to reboot into the bootloader:

adb reboot bootloader

If ADB is not detecting your device try switching your phone's USB mode from Charging to MTP or PTP.

3. Type and see you you get info on the device:

fastboot oem device-info

4. Reboot device

fastboot reboot
[LG G5 Questions & Answers] BrunoSlivar:
I find this:
[LG G5 Questions & Answers] vader20:
I would uninstall the root app and get the phone to warranty again. Did they cancel it?
[LG G5 Questions & Answers] BrunoSlivar:
I dont have that app. I delete app after instal. Same day
[LG G5 Questions & Answers] vader20:
Then do factory reset just to be sure and make the trip again to service.
[LG G5 Questions & Answers] BrunoSlivar:
He do factory reset in service. Phone was triger like root one on lg server after installing superuser app.
[LG G5 Questions & Answers] vader20:
So you actually got your device repaired on warranty?

P.S. The command to check for bootloader status is fastboot getvar unlocked not fastboot oem device-info
[LG G5 Questions & Answers] BrunoSlivar:
No. He give me phone with problem that i left it. He connect my phone on lg server and there write that my phone is rooted. And my phone have locked bootloader and cant be rooted without unlock bootloader. He cant repair my phone under the waranty because my phone are triger like rooted.
[LG G5 Questions & Answers] vader20:
Try to go to LG service if you went to your carrier service/third party seller and the other way around, if you went to LG service in the first place.
[LG G5 Questions & Answers] BrunoSlivar:
I contact other lg service that i have and they told me if the lg server triger phone like rooted that is rooted.
[LG G5 Questions & Answers] vader20:
It may be possible that your phone got flagged as "rooted" when it was checked in the service because of that app you had installed. I suppose the verification software that they have and use checks for certain files that are known to be installed on rooted phones and flags the verified device as "rooted" even though it doesn't really have root capabilities. This is bad news.

To verify what i said you could go to a different LG service shop and see if your device is flagged as "rooted". Maybe you can try and convince someone over at the LG shop that you installed, for whatever reason that app (fool a buddy of yours that you have root on your phone etc.), and you have not obtained root capabilities because you have not unlocked bootloader which is mandatory for obtaining root. Maybe you can find a reasonable person that can remove the "rooted" flag and accept the display repair on warranty.

Found another user with this kind of problem here but it's a different variant of the phone (T-mobile H830)
[LG G5 Questions & Answers] BrunoSlivar:
Something bad is with LG

Hope i will get something from them. New phone without this or to fix mine. For me is same because my phone is like new one.

On monday i will contact them because i get phone numb. from lg and i will post what they told me.

[emoji120]
[LG G5 Questions & Answers] vader20:
Good luck!
[LG G5 Questions & Answers] BrunoSlivar:
They send me that i leave phone in service and they will fix it under the waranty

???
[LG G5 Questions & Answers] vader20:
Great news! I'm happy for you and i hope your get your device repaired as soon as possible :) Cheers!
[Huawei P9 Lite Guides, News, & Discussion] TheOneWhoSpeaks:
I found something interesting. When i used the OTG checker, i noticed that 3 system files are disabled(they don't have full permissions).

Here's what you have to do(if the FIX button doesn't work)

1.Use a root explorer (Xplore is needed)

2.Find the files with the X from the screenshot

3. Change the permissions and check all the boxes.

4.Reboot and done!

Someone test this and comment if it does or if it doesn't work.

I didn't tried ( i didn't root yet) but i hope it will work

(Tried on my s4 mini and it worked)
[Huawei P9 Lite Guides, News, & Discussion] Zeph1990:
Hey, just tried. I've fixed permission for android.hardware.usb.host.xml file and now the otg checker give me only green check. Rebooted the phone but when i plug in my usb pen anything happen
[Huawei P9 Lite Guides, News, & Discussion] TheOneWhoSpeaks:
You must do on the all files. Now only android.hardware.usb.host.xml
[Huawei P9 Lite Guides, News, & Discussion] TheOneWhoSpeaks:
Do it for all of the files. Not only on android.hardware.usb.host.xml
[Huawei P9 Lite Guides, News, & Discussion] snapdesign:
doesn't work..

you must make changes to kernel also for otg to work
[Huawei P9 Lite Guides, News, & Discussion] TheOneWhoSpeaks:
Did you checked all the boxes on the permissions?
[Huawei P9 Lite Guides, News, & Discussion] snapdesign:
what do you see in the photo? also otg needs support from kernel... it doesn't work without it
[Huawei P9 Lite Guides, News, & Discussion] BadWolfYe:
i make a custom kernel with host permissions but doesn't work anyway...

Possible problem its software and managed vold's...

In the RAMDISK it's pointed correct for USB OTG

/devices/hisi-usb-otg/usb1/* auto auto defaults voldmanaged=usbotg:auto
[Huawei P9 Lite Guides, News, & Discussion] snapdesign:
can you make a kernel with multirom support?

edit: you are the same bad wolf from htcmania?
[Huawei P9 Lite Guides, News, & Discussion] BadWolfYe:
Yes the same

And in this moment MultiROM its innecesary (no support for other roms only EMUI...)
[Huawei P9 Lite Guides, News, & Discussion] snapdesign:
well, someone is working on a cm build... when that will boot we should have a kernel with multirom...
[Huawei P9 Lite Guides, News, & Discussion] HassanMirza01:
i tried on more way too for OTG already,,, added lines too vold.fstab etc etc but it wont support,,,
[Huawei P9 Lite Guides, News, & Discussion] TheOneWhoSpeaks:
UPDATE

My phone is rooted and i am testing it. Hope it works on mine. If it doesn't, the post should be removed
[Huawei P9 Lite Guides, News, & Discussion] Meticulus:
Hiya Fellas,

I was messing around with my development build last night and I was able to turn on USB host mode and successfully plug in and use a usb flash drive. Now keep in mind that this was on CM 13 but, this might also work on a rooted stock.

Using adb or terminal app.

1. Look for a path in /sys/devices that ends with hisi_usb (e.g /sys/devices/f4000000.hisi_usb)

2. Now inside that folder there should be a file called plugusb.

3. use this command

echo hoston > /sys/devices/f4000000.hisi_usb/plugusb

Replace "f4000000" with the real value.

Now plug in your device and see if it is recognized!

EDIT: You may need to be root to do this!

ADB: "adb root"

TERMINAL APP: "su"
[Huawei P9 Lite Guides, News, & Discussion] snapdesign:
The value changed... I forgot my USB adapter in the car... will update the in a few minutes... if it works you resolved a big thing in what..2 days from having the device? great dev... thanks!

EDIT: unfortunately it doesn't work on my device... also after reboot the value changed to OFF again... great find although
[Huawei P9 Lite Guides, News, & Discussion] tonioricciato:
WORK !!! THANK YOU !

- install from Playstore Universal Init.d

- Open Universal Init.d and activate support

- Create a generic text file Ex. usbotg in /etc/init.d folder with the following content

#!/system/bin/sh

echo hoston > /sys/devices/f4000000.hisi_usb/plugusb

!!!! Replace "f4000000" with the value found in your smartphone (my: ff100000) !!!!

- give to the file 755 permission

- reboot

I used Root Explorer to do all.

Enjoy !
[Huawei P9 Lite Guides, News, & Discussion] SevenSlevin:
ThankS!!!! It worked but, there are some troubles:

after using that command doesn't work the usb cable phone - PC (need reboot or to write "hostoff" instead of "hoston");

after rebbot need again to rewrite the command.

With universal Init.d it can be a little easy cause you can make 2 file ( 1 for hoston and 1 for hostoff) and just run them from app, so with 2 touch you can enable and disable otg instead of wirting everytime the command using terminal.

Edit: universal init.d doesn't work properly so I used a script runner and just run from it (with root permissions) 1 of 2 script (enable, disable).

Edit2: Look these images to see what I've done(don't need to reboot phone after):

Image 1: http://prnt.sc/ckk9hs

Image 2: http://prnt.sc/ckka26 (used this app: https://play.google.com/store/apps/details?id=com.snclabs.scriptrunner&hl=it)
[Huawei P9 Lite Guides, News, & Discussion] Noel.89:
Don't know if anyone else has this problem but for some weird reason when I try plug in my 8gb or 128gb it won't work but if plug in the 32gb memory stick bam it works fine any one know the reason y?
[Huawei P9 Lite Guides, News, & Discussion] SevenSlevin:
I've tried with my 16gb usb pendrive, 500gb external HD, 2TB external HD and it worked fine with all of them...
[Huawei P9 Lite Guides, News, & Discussion] Noel.89:
Really :( how did you get yours to work maybe I'm doing something wrong putting the file in wrong place
[Huawei P9 Lite Guides, News, & Discussion] SevenSlevin:
What are doing to active otg?? which is your method?
[Huawei P9 Lite Guides, News, & Discussion] Noel.89:
Used your method with the app to run the scripts and it works just only works with one of my memory sticks
[Huawei P9 Lite Guides, News, & Discussion] SevenSlevin:
Your files don't have the good permissions: they need 644

on my screenshot you can see rw-r-r not as yours.

edit: the folder "OTG" = 755

files hoston and hostoff = 644
[Huawei P9 Lite Guides, News, & Discussion] Noel.89:
Changed to 644 and still no luck only works with 32gb still nothing else

---------- Post added at 07:41 PM ---------- Previous post was at 07:40 PM ----------

Okay I'll give that a go now :)

---------- Post added at 07:43 PM ---------- Previous post was at 07:41 PM ----------

My OTG folder was 755 and my files are now 644 but still the same
[Huawei P9 Lite Guides, News, & Discussion] SevenSlevin:
I don't think it is a problem of otg cause I use 1 from china shop bought for 1euro (but if you can try another1). The format and the brand of pendrives?

I used a pendrive in ntfs sandisk and others are in Ntfs Western Digital.

Or try to do again from beggining the procedure, delete all files and put them again after (reboot also the phone).

Edit: all my hard disks and pendrives are in NTFS format.

Edit2: have you wrote the correct path of plugusb file on hoston and hostoff files? in vns-l31 I think that is the same for all but I'm not sure at 100%
[Huawei P9 Lite Guides, News, & Discussion] BadWolfYe:
App for activate and deactivate OTG:

https://www.dropbox.com/s/mywj36xpyftz07z/RevolutionOTG.apk?dl=0

It's from my bundle for OTG in Huawei P9 Lite :)

http://www.htcmania.com/showthread.php?t=1232090

Root needed for APP Work

Remember; after USB OTG use, push Desactivar OTG for de-activate

APP only in spanish, and not permitted edit or use in another bundles/roms

Regards

Edit; i have a 8 pendrives... only 1 works

1- 64GB SANDISK with OTG adaptor(NTS/FAT) dont connect... (mmm appear, dissappear... loop)

2- i-joy OTG pendrive 8 GB dont connect... not appear

1- USB CARD wit OTG adaptor 8GB appear and ussable

1- PENDRIVE OTG 16GB dont connect, not appear

Another's dont work...
[Huawei P9 Lite Guides, News, & Discussion] Noel.89:
Deleted files and tried again same thing all Files and folder has correct permissions too it's weird.. Found another 4gb memory stick and that works also but the main ones the 128gb won't work its ntfs as well
[Huawei P9 Lite Guides, News, & Discussion] SevenSlevin:
Probably there are some troubles on your pendrive. Can you try to format your pendrive using a PC? format that with 8gb first :)

I've tried on my 16gb pendrive and it work in ntfs and also in fat32
[Huawei P9 Lite Guides, News, & Discussion] Noel.89:
I'll give it a go be back tommorow and let you know

Edit: formatted 8gb memory stick still doesn't work it's in fat32
[Huawei P9 Lite Guides, News, & Discussion] lost3:
1st , thanks for your work (in HTCMania and here)

2nd, question , why not give your apps and more(Revolution Recovery ) in English to ? to many people (like me) would like to test your work , but, without English we cant (I'm Hellinas (Greek)).

3rd RevolutionOTG works fine with my Kingstone microduo 32GB
[Huawei P9 Lite Guides, News, & Discussion] snapdesign:
yeah i would like to try also but even with google translate it's hard to check the thread on htc mania... also I'm curious what did you merged from p9...a video of the rom works adopt more users...cheets!
[Huawei P9 Lite Guides, News, & Discussion] Zeph1990:
I follow the new guide but the phone does not recognize my sandisk dual usb pen =( Any ideas?
[Huawei P9 Lite Guides, News, & Discussion] BadWolfYe:
Hi, to all

In this moment busy with fixing errors in Recovery, ROM and OTG, the Kernel Works perfect...(no more updates for kernel) after i fix the errors in Recovery, and ROM i Translate there apps in spanish and recovery to english for all

Sorry for inconvenience...

Regards

ps; ****ing deodexing systems... in this moment working in deodex rom for apply Kang-Vip mods... but the phone dont boot after deodex framework, app and priv-app
[Huawei P9 Lite Guides, News, & Discussion] skycasaway:
Without root can I do otg? Pls help
[Huawei P9 Lite Guides, News, & Discussion] BadWolfYe:
No...
[Huawei P9 Lite Guides, News, & Discussion] w3se:
Hi guys

Thanks for your work!
[Huawei P9 Lite Guides, News, & Discussion] kornel616:
Thank you
[Huawei P9 Lite Guides, News, & Discussion] mac9erd:
ScriptRunner works for me.. :D
[Huawei P9 Lite Guides, News, & Discussion] sonneper:
It works !!

yes, I've tried ScriptRunner too, it's ok .

It's ok now to use usb storage ! thx !

I've tried to use a usb cam ( worked with other phone USB OTG ) , I've try many app from Play Store, but no one is ok. everytime I had : No otg support on this device.

Excuse my poor English
[Huawei P9 Lite Guides, News, & Discussion] ivanwong1989:
.... great!!!. I'll try it out!
[Huawei P9 Lite Guides, News, & Discussion] Kruu:
I've rooted phone. Installed apk and both icons are grayed out cant click on it?
[Huawei P9 Lite Guides, News, & Discussion] bogdanmihajlov:
Thanks, it works on my P9 lite VNS-L21

I used Universal Init.d

But, does not work with all pen drives e.g. Kingston DataTraveler 8GB

I also found that IT WORKS with my Logitech Unifying receiver so mouse and keyboard work.

I also have grayed options in Revolution OTG. It says ROOT detected but I can't grant ROOT permissions to app.
[Huawei P9 Lite Guides, News, & Discussion] asumisuhh:
script file

can someone upload the script file on and off

because i dont understand this step

!!!! Replace "f4000000" with the value found in your phone..

thanks before
[Huawei P9 Lite Guides, News, & Discussion] parhamshid:
tanx

I sincerely and with my all heart appreciate you.
[Huawei P9 Lite Guides, News, & Discussion] JustChris20:
Seems not working with usb 3.x usb sticks. 2.0 supported.
[Huawei P9 Lite Guides, News, & Discussion] millo1978:
No Luck with Nougat :(

plugusb is in

/sys/devices/platform/ff100000.hisi_usb/

But hoston and hostoff make nothing!

OTG_DEV_OFF doesn't change in OTG_DEV_HOST

Maybe is there a kernel issue?

Something is missing?
[Huawei P9 Lite Guides, News, & Discussion] millo1978:
BOOT.IMG

Android 6.0 B170...

in init.chip.usb.rc we have:

on boot

chown system system /sys/devices/ff100000.hisi_usb/plugusb

OTG_DEV_OFF change to OTG_DEV_HOST

hoston and hostoff work good.

Android 7.0 B370...

in init.hisi.usb.rc we have

on boot

chown system system /sys/devices/platform/ff100000.hisi_usb/plugusb

chmod 0660 /sys/devices/platform/ff100000.hisi_usb/plugusb

OTG_DEV_OFF doesn't change to OTG_DEV_HOST

hoston and hostoff don't work.

Could be here the problem or not?

I don't know
[Huawei P9 Lite Guides, News, & Discussion] miststudent2011:
For those who are looking for OTG,Multi Window,Eye Protection and Multi user support on EMUI 3.0+ devices here(https://xdaforums.com/android/general/how-to-enable-otg-multi-window-eye-t3594001) is the guide .

Enable Root and install Build Prop Editor app (https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor) and grant root access now open it and backup Stock Build.prop file and add the following lines (if present edit the values respectively )

##otg_support

ro.config.support_otgstorage=true

ro.config.hw_otgFeature=true

##Multi_User

fw.show_multiuserui=1

fw.max_users=5

The OTG drive must be formatted as FAT32

[MENTION=4473319]BadWolfYe[/MENTION] , [MENTION=6932685]Johnny TDN[/MENTION] Think it helps ;);)
[Huawei P9 Lite Guides, News, & Discussion] millo1978:
With

ro.config.hw_otgFeature=true

My "Smart Assistant" menu crashes.

Emui 4.1.2

L21C432B170

Android 6.0

Edit: I don't see the link for the guide.