[Tutorials] How to enable Wireless Display/screencast/miracast in Lenovo K8 Note/Plus - Android General

As many have asked about this, I am writing this tutorial. It is a simple trick. But for that you need to root your device or atleast have TWRP recovery installed. I am going to give two methods, if first simpler method does not work (it does not for me), then go to second.
If you know how to edit build.prop, then just do this, add 3 lines given below:
Code:
ro.hdmi.enable=true
ro.hdmi.mirror.enable=true
persist.debug.wfd.enable=1
If you have any issues see method 2.
If you don't know what is build.prop don't worry, I will say steps.
Method 1
This method involves directly editing the build.prop using es file explorer.
Download ES File Explorer from play store
Enable "Root Explorer" in ES and give root permission. Click the "Root Explorer" and then "mount R/W" and then mount system "RW".
Now click "device" in ES and then go to "system" folder, you will find a file named "build.prop".
Open that file in ES note editor which is already installed by ES. Click pencil icon to edit.
Scroll to last and then add the 3 lines I mentioned in this thread and save the file.
Now simply exit the app and restart your device.
Now open settings then display then cast, click 3 dots on top right and enable Wireless Display.
Method 2
As I seen in many phone, the build.prop file restores to original during reboot, which is causing the method 1 to not work, so use this method to to do the edit from TWRP file manager. This method worked perfectly in my phone. See steps below:
Follow till 3rd step in method 1 and just copy the file "build.prop" to Internal storage.
Now edit the copied file in internal storage as mentioned in 4th and 5th step of method 1 by adding 3 lines.
Reboot to twrp recovery, you may use the app named Quick Reboot [ROOT] from play store.
Now in TWRP go to Advanced and then choose file manager.
Scroll down and go to the folder "sdcard" that is your internal storage. Now click the build.prop file there and choose copy.
Now go to system folder and copy/paste the file.
Reboot to android. Now do 7th step in method 1.
Screen cast can be enabled by magisk too. See this https://www.xda-developers.com/magi...iracast-and-tethering-and-disable-adb-notify/
For me that did not work so I myself made magisk module zip. Please check the attachment. Just download and install from magisk or twrp. It is tested to work in magisk 15.0+
Note this method may work in other phones too, but I don't have those phones with me. I have received many messages asking how to do this, so I am making this to help all of them.
Thanks to Dhruv_Agarwal in Telegram for giving me the 3 lines of code.

Please help me im using lenovo k8 note oreo. I have entering that 3 lines on build.prop then i rebooted my mobile it got stuck on bootloop,

Many many thanks your magisk module worked like a charm

i tried ,but still doesnt work
im on lineage16 with by SONY z3compact ,after i edited buildprop ,it can find my sony tv,when i try to link,phone get back ,,,and cant link successfully,i will try magisk moudle

PremVijayV said:
As many have asked about this, I am writing this tutorial. It is a simple trick. But for that you need to root your device or atleast have TWRP recovery installed. I am going to give two methods, if first simpler method does not work (it does not for me), then go to second.
If you know how to edit build.prop, then just do this, add 3 lines given below:
Code:
ro.hdmi.enable=true
ro.hdmi.mirror.enable=true
persist.debug.wfd.enable=1
If you have any issues see method 2.
If you don't know what is build.prop don't worry, I will say steps.
Method 1
This method involves directly editing the build.prop using es file explorer.
Download ES File Explorer from play store
Enable "Root Explorer" in ES and give root permission. Click the "Root Explorer" and then "mount R/W" and then mount system "RW".
Now click "device" in ES and then go to "system" folder, you will find a file named "build.prop".
Open that file in ES note editor which is already installed by ES. Click pencil icon to edit.
Scroll to last and then add the 3 lines I mentioned in this thread and save the file.
Now simply exit the app and restart your device.
Now open settings then display then cast, click 3 dots on top right and enable Wireless Display.
Method 2
As I seen in many phone, the build.prop file restores to original during reboot, which is causing the method 1 to not work, so use this method to to do the edit from TWRP file manager. This method worked perfectly in my phone. See steps below:
Follow till 3rd step in method 1 and just copy the file "build.prop" to Internal storage.
Now edit the copied file in internal storage as mentioned in 4th and 5th step of method 1 by adding 3 lines.
Reboot to twrp recovery, you may use the app named Quick Reboot [ROOT] from play store.
Now in TWRP go to Advanced and then choose file manager.
Scroll down and go to the folder "sdcard" that is your internal storage. Now click the build.prop file there and choose copy.
Now go to system folder and copy/paste the file.
Reboot to android. Now do 7th step in method 1.
Screen cast can be enabled by magisk too. See this https://www.xda-developers.com/magi...iracast-and-tethering-and-disable-adb-notify/
For me that did not work so I myself made magisk module zip. Please check the attachment. Just download and install from magisk or twrp. It is tested to work in magisk 15.0+
Note this method may work in other phones too, but I don't have those phones with me. I have received many messages asking how to do this, so I am making this to help all of them.
Thanks to Dhruv_Agarwal in Telegram for giving me the 3 lines of code.
Click to expand...
Click to collapse
Hi !
If I flash the attached file "screen cast enabler.zip", by adb , will that work for me? I have lenovo k8 plus oreo, latest version. (Unrooted, but still the bootloader is unlocked)

Related

Help changing permission

I am updating to Thiaiz rom, and he told me to change permission on the init.d file. but ising the root explorer I cant seem to change it, because it is a read only file. can anyone help me on this issue please..
-Navigate with a file explorer to /system/etc/init.d and change permission on both scripts to "777" it means mark the 9 permission options.
-Install Script manager from market.
-Open script manager, navigate till system/etc/init.d and run the 2 scripts at boot.
thats the instruction, but i cant seem to follow it.
stunny said:
I am updating to Thiaiz rom, and he told me to change permission on the init.d file. but ising the root explorer I cant seem to change it, because it is a read only file. can anyone help me on this issue please..
-Navigate with a file explorer to /system/etc/init.d and change permission on both scripts to "777" it means mark the 9 permission options.
-Install Script manager from market.
-Open script manager, navigate till system/etc/init.d and run the 2 scripts at boot.
thats the instruction, but i cant seem to follow it.
Click to expand...
Click to collapse
There's ES File Explorer installed. Update to latest version in market if needed.
Open up app
Press Settings
Scroll down to root settings...
Check Root Explorer and Mount File System. If you fail to check Root Explorer, update to latest version of ES File Explorer in market.
Now that you got root explorer mode...
Press back till you go back to the file explorer.
Press the Sdcard looking icon on the row of icons. Its the leftmost icon in that row of 6 icons.
After you've pressed it, click into system folder
Next, click into etc folder
Next, click into init.d folder
You will see two files in there.
Hold down on the file (whichever first doesn't matter), then press properties.
Click Change in the permissions section, and then check everything.
Press Okay and repeat for the 2nd file.
After you are done, restart the phone.
After phone is restarted, go check to see if the permissions are changed.
thank you very much for the detailed instruction. i love this forum i tried em and it works

Will not Boot into CWM

Ive been trying to install Glorious overdose for three days now and no matter what I do, I cant get my SK4G to boot into CWM, im rooted, have rom manager and have the zip for GO 3.3 in my root folder but it just seems to boot to normal recovery no matter what I do, any help please? I read that rom manager doesnt work, is that still true?
Thanks
Have you overwritten the stock recovery file on your phone? You'll need a file manager that can use SU in addition to root access. Also, you'll need to mount your internal storage as rw in order to overwrite the stock recovery using the root file manager of your choice.
ged92781 said:
Have you overwritten the stock recovery file on your phone? You'll need a file manager that can use SU in addition to root access. Also, you'll need to mount your internal storage as rw in order to overwrite the stock recovery using the root file manager of your choice.
Click to expand...
Click to collapse
Alright, bear with me I am a mega noob, I pick up on thigns fast though.
I have ES File explorer, and downloaded total commander, I tried to overwrite the recovery file in the system/bin and it says SU error, only giving me the option to Skip "failed /mnt/sdcard/sdcard" cross device link
Im not really sure how to mount/ unmount
I would download Ghost Commander from Google Play. It supports SU mode and is free. Most options to do anything can be accessed through the menu key. You'll have to enable root/SU mode in Ghost Commander since it's not enabled by default. Plus, you'll need to copy the file in that app and mount the file system as rw- (read-write). I forget the folder off-hand where the recovery is located at. *Standard Disclaimer*: Do these things at your own risk.
ged92781 said:
I would download Ghost Commander from Google Play. It supports SU mode and is free. Most options to do anything can be accessed through the menu key. You'll have to enable root/SU mode in Ghost Commander since it's not enabled by default. Plus, you'll need to copy the file in that app and mount the file system as rw- (read-write). I forget the folder off-hand where the recovery is located at. *Standard Disclaimer*: Do these things at your own risk.
Click to expand...
Click to collapse
See, I still have no idea how to mount or unmount lol. And Ill try that, thanks
I moved file to bin with the ghost commander app, it had a #rw next to the bin folder name. Now how to check mounts?
Junkyardspecial said:
See, I still have no idea how to mount or unmount lol. And Ill try that, thanks
I moved file to bin with the ghost commander app, it had a #rw next to the bin folder name. Now how to check mounts?
Click to expand...
Click to collapse
I'm guessing you are referring to checking mounts during ROM installation? That is done in CWM itself. If it says # means you have root and if it says rw means you have read and write capabilities. Once you have that, move the recovery.bin you downloaded from krylon and move it to system. It should ask you if you want to replace existing recovery. Then once thats there and you have the update zip on the root (main part of your SD card, not a folder or anything), go into normal Samsung recovery and reinstall. Should take you to CWM if you moved recovery correctly! Thats when you need to check mounts.
I haven't used Ghost Commander, but I downloaded the free version of SuperManager 3.0 to move the recovery file.
If you use SuperManager, you just go to the file manager (slide to screen 4, top left), you will start out in MNT/SDCARD. First, click the menu button and choose "setup." You will see "ROOT" and click on it, check "Enable ROOT function" then you will be promoted by SuperUser [su] to allow access, hit yes. Back out of the menu so that you are back to the SDCard [note: sometimes you find that you are in the system file after enabling root, if so scroll to the top and click 'Back up level folder' then choose 'SDCard' If you get a popup which says "Switch system r/w" at the top, choose "R/W"].
Once back at MNT/SDCARD, scroll to the recovery file, click and hit 'copy'. Scroll back to the top and click 'Back up level folder' until you are back where the "system" file is located - top where it read "MNT/SDCARD" will read "/ (R/O)" or "/ (R/W)" and if it only shows "/" then you need to enable ROOT still. If it shows "(R/O)" at this level, that is okay. Scroll to "system" [if you have already been promoted to choose "R/W" you will likely notice that the top reads "/SYSTEM (R/W)"] and click to enter, click "bin" to enter, click "paste." If you have not already been promoted to do so, you will be promoted to change directory to R/W [read/wright, versus R/O read only]. If it asks about replacing the file, choose whichever option replaces the file, you do not want to save with a different file name.
If you are using a different file manager, you may find the process very similar. Good luck! Glorious Overdose is a good ROM [though I have not used v.3, I have used v.2 and really enjoy it].
You may find this thread very helpful.

[Q] Atrix 2 Issue Enabling Hotspot and ICS Update

[QUOTE from Another Thread]
Using SQLite
1.open settings storage (com.motorola.android.providers.settings)
2.open settings.db
3.settings
4.search for dun_apn_changeable and dun_enable
5.Change both of their values to 1
---------------
I have an Atrix 2 running 2.3.6 rooted. (Rooted with SuperOneClick)
I want to enable the Wifi Hotspot feature, I have read several threads on this group, but I do not understand if I download SQlite on my pc and run it or my phone.
I downloaded the program on my phone, but when I open it all I get is a black screen with a box in the upper left corner with a magnifying glass in it, below that I see this "/data/data/com.xuecs.sqlitemanager/databases/defaultdb" The instructions I have read make absolutely no sense to me, the first step says "open settings storage" There is no way to open any thing as far as I can tell. I'm kind of lost here....Can someone help me out?
I want to update to ICS, I get an error, it downloads the file, resets the phone, when the android screen comes up the insallation bar goes about a third of the way then it stops and then it reboots, once its up and running it says "update failed" I have opened SuperOneClick and hit the unroot button, it says it was sucessful and it removes the Superuser app but the ICS OTA update still does not work. ANY SUGGESTIONS?
More detailed instructions for enabling wifi tether can be found at the following link, and I'm also pasting them here in full for anyone else curious. Note that this was the procedure for enabling everything on ICS. I'm not sure whether anything is different on Gingerbread.
http://forum.xda-developers.com/showpost.php?p=32347835&postcount=4
Things you will need:
ES File Explorer (free from play store)
aSQLiteManager (free from play store)
1. Launch ES File Explorer and within its settings, grant it full root permissions (near the bottom of settings, go in and check all four checkboxes).
2. From ES File Explorer navigate upward out of your SD card and onto the root of your device, then go into Data/Data/com.motorola.android.providers.settings/databases
3. Copy the "settings.db" file found there over to your SD card
4. Using aSQLiteManager select "Open Database" and pick that settings.db file on your SD card.
5. Select "settings" from the four tables you are presented with
6. Select "Data" from the top button menu
7. You'll see a long list of crap. Hit PgDn until you see line 113 "entitlement_check". Hit Edit and change the value from 1 to 0.
8. While you're here, also go to lines 117 and 118 that start with "dun" and change them both from 0 to 1. This is not necessary for Webtop but will enable wifi hotspot tethering.
9. Exit aSQLiteManager, go back into ES File Explorer and this time copy the modified "settings.db" back into the previous/original folder from Step 2, overwriting the old file.
10. Exit ES File Explorer, reboot your device and Webtop should work as expected.
paleozord said:
More detailed instructions for enabling wifi tether can be found at the following link, and I'm also pasting them here in full for anyone else curious. Note that this was the procedure for enabling everything on ICS. I'm not sure whether anything is different on Gingerbread.
http://forum.xda-developers.com/showpost.php?p=32347835&postcount=4
Things you will need:
ES File Explorer (free from play store)
aSQLiteManager (free from play store)
1. Launch ES File Explorer and within its settings, grant it full root permissions (near the bottom of settings, go in and check all four checkboxes).
2. From ES File Explorer navigate upward out of your SD card and onto the root of your device, then go into Data/Data/com.motorola.android.providers.settings/databases
3. Copy the "settings.db" file found there over to your SD card
4. Using aSQLiteManager select "Open Database" and pick that settings.db file on your SD card.
5. Select "settings" from the four tables you are presented with
6. Select "Data" from the top button menu
7. You'll see a long list of crap. Hit PgDn until you see line 113 "entitlement_check". Hit Edit and change the value from 1 to 0.
8. While you're here, also go to lines 117 and 118 that start with "dun" and change them both from 0 to 1. This is not necessary for Webtop but will enable wifi hotspot tethering.
9. Exit aSQLiteManager, go back into ES File Explorer and this time copy the modified "settings.db" back into the previous/original folder from Step 2, overwriting the old file.
10. Exit ES File Explorer, reboot your device and Webtop should work as expected.
Click to expand...
Click to collapse
I figured out what I was doing wrong, I didnt have the File Explorer at first..lol Once I did take care of things and rebooted the phone I kept getting errors that said "The process com.motorola.service.main has stopped unexpectedly" I hit force close and cancel both but the error would keep popping up at random times, plus other errors would pop up random apps running in the background would stop unexpectedly. Then the power button would not lock the screen anymore....The tethering worked though! I ended up doing a factory reset because the errors popped up so often the phone was useless.
I did not touch anything else but Line 150 which was the Entitlement Check line so I have no idea what went wrong.
One other thing, I would like to uprgade to ICS but since my phone is rooted I can't do it OTA, is there a way to manually do it? I remember when I upgraded to 2.3.6 I just put a file on the SD card and installed it, can I do that with ICS 4.0?

RESOLVED: Unable to change file permissions (Is this a SuperSU issue?)

I have Unlocked my device using this for reference. Where I Unlocked, Flashed TWRP, then flashed firmware NXT_C900B162 & SuperSU. Worked as expected, except for the theme issue. Next day, to change my ROM, I flashed TWRP, flashed C185B190 and SuperSU on my NXT-L29. All well so far, except the theme issue.
Now I am attempting to fix the missing theme issue faced by others here. As suggested in the same thread, I tried Root Explorer (Paid) and allowed Root access. I also went to root of System partition and changed permissions to RW. Now I need to change permissions for the folder which is inside Data folder in Internal Storage.
However when I try to change the permissions of a file or folder, I get the following error.
"Permissions change was not successful. Please note that some file systems do not allow permission changes."
What is the issue? How do I fix this?
Is this a case of my SuperSU not being the correct one when I flashed second time with stock ROM? I used SuperSU from over here which was for NXT_C900B162.
Update:
Trying to add more info for someone to help me out here.
In these steps I am using ES File Explorer. This is what I am trying.
1. Open ES -> Select Root Explorer -> Tap on it again -> Select Mount R/W -> Select All.
2. Select any file -> File Properties -> Has 3 properties -> Readable, Writeable, Hidden -> Next to them there is an option to edit (Available only for some folders).
I next checked for which folders these options are available. Here is what I observed.
1. With SD Card or Internal Storage, options to edit are NOT available . Checked multiple folders within them.
2. I immediately go to /storage, and check the folder emulated. These options are available.
3. Within /storage, I check the folder which contains my sd card items. These options are NOT available.
3. I then navigate int /storage, and check folder "0", these options are NOT available.
I resolved this myself. Was looking at the wrong Data folder at the wrong path!
Man, I wasted almost an entire day.
Go to / data/media/0/ folder
The best n easiest way to do it is...
If u want to change the permission of file in your internal storage then just open root explorer ( I assume it already rooted) navigate to /data/media/0/(yourfolder)/(yourfile)
N long press n change the permission..Voila good u did it!!
This is basically due to some of them have Fat32 Filesystem format while they r in storage/sdcard which are different than Linux/UNIX file system permissions!
So if u go through /data/media/0/ then it's in ext3/ext4 format which is why u can change the permissions!!😄😃

[GUIDE]How to fix Wi-Fi not connecting/forgetting network

-Warning-
This was only tested by me yet, worked like a charm in my SM-G935F from Brazil with
Android MM 6.0.1
Build Number: MMB29K.G935FXXU1BPLB
Do it at your own risk​
Well, since I rooted my S7 Edge, I noticed that it's Wi-Fi wasn't working right, it didn't save the networks I had previously connected, and took a lot of time to recognize the networks when you turned on Wi-Fi, and after searching and searching for a while, finally found out how to fix it.
Requirements
- Phone must be rooted.
- Es File Explorer(you can download it on Play Store or download the .apk file)
I used ES File Explorer because it's easy to enable Root Explorer, but you can use any other file explorer if you want(since it enable you to use Root Explorer)
It's a easy process, but you need to be careful because any pass you follow incorrectly can brick your device(I guess).
So once you installed ES File Explorer, open it and click on the menu(upper left side), scroll down and enable the Root Explorer option, then go to your internal storage main folder(" / "), scroll down and enter the system folder, in this folder, you will find a txt archive named "build.prop", backup this archive, open it and tap options then edit.
You will:
1. Find the line "ro.securestorage.support=true";
2. Change true to false;
2. Save in the system folder;
3. Reboot the phone.
PS: If you haven't enabled the Root Explorer option, you will not be able to save the file.
If it don't work, replace the build.prop archive you backed up previously in the system folder.
Nice guide. But it probably won't work on Nougat, you need to replace secure storage libs with ones from Superkernel.
kykint said:
Nice guide. But it probably won't work on Nougat, you need to replace secure storage libs with ones from Superkernel.
Click to expand...
Click to collapse
Appreciate you like it!
Yeah, already expected that, but as I said, I only tested it with MM, still waiting for the official release of Nougat for my region.
guuimauricio said:
Appreciate you like it!
Yeah, already expected that, but as I said, I only tested it with MM, still waiting for the official release of Nougat for my region.
Click to expand...
Click to collapse
Nougat still hasn't been released in your region? jesus... Work, Samsung!
Delete
I want know the KNOX 0*1 how to fix 0*0. or use xposed hide it! let my phone look at no fusing. tks!

Categories

Resources