[How-To][No Recovery/No Flashfire] Install "Xposed Framework" on Lenovo Vibe K4 Note - Lenovo Vibe K4 Note Guides, News, & Discussion

Finally i found a method to install Xposed framework on K4 note (I am on S152 ROW version) :victory::cyclops: ​Requisites:-
1. Rooted Phone
2. Busybox
3. Terminal Emulator
4. Xposed zip and installer apk files
5. SuperSu and not Kinguser
Here are the steps:-
1. Download the Zip file from here: [url]https://drive.google.com/file/d/0B7DMgItCtbjhY2hwQlM0dWdVVlE/view?usp=sharing[/URL]
2. Extract it into your phone's internal storage using any of the file manager (Though i prefer ES)
3. Install busybox from the folder and open it. Click on install and let it install the lib files.
4. Now copy the installer.bin file and xposed-sdk22-arm64.zip to root of your internal storage.
5. Now install terminal emulator and open it.
Type su and enter and allow SuperSu permission and then it will show '#' instead of '$'.
6. Now type sh /sdcard/installer.bin and press enter. (Note:- If it fails to install, rename the xposed.zip file in the root folder with xposed-vsdk.zip and installation should go through. Thanks @Ondipuli for this suggestion.)
7. It will ask whether to install Xposed or not. Press 1
Wait for the process to finish and then it will say install is successful.
8. Reboot the Phone. It might seem it is stuck at boot but give it some time(5 mins). Then it will start optimizing the apps and let it finish with that.
Now open xposed app and Voila! Xposed is installed​Enjoy Xposing!!​Credit goes to Razor Beam from youtube...
Hit Thanks if i helped:fingers-crossed::fingers-crossed:..​

Dear Bro, I Installed several times but never ever this installer.bin file ever used. And every time I got succeded. Via Flashfire 0.24

ramisumi said:
Dear Bro, I Installed several times but never ever this installer.bin file ever used. And every time I got succeded. Via Flashfire 0.24
Click to expand...
Click to collapse
Bro, this method is for those who don't want to install flashfire to flash xposed or for those who simply cant get xposed working through Flashfire(I myself was unable to install it through flashfire).
Though flashfire is recommended, sometimes it fails to flash the zip on some devices and that is a known issue. Chainfire is working on the solution.

It works great. Thanks, but at first installer.bin doesn't detect xposed zip file, as the installer search for a file xposed-v*, then i renamed zip file as xposed-vsdk like that & it installed perfectly.
Sent from my Lenovo A7010a48 using XDA Premium 4 mobile app

Ondipuli said:
It works great. Thanks, but at first installer.bin doesn't detect xposed zip file, as the installer search for a file xposed-v*, then i renamed zip file as xposed-vsdk like that & it installed perfectly.
Sent from my Lenovo A7010a48 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes its true. I also tried but renaming is useful or I have xposed zip already i flashed with flashfire. That also worked with this installer.bin. But as it is provided zip is not installing without renaming or the otherr copy.

Ondipuli said:
It works great. Thanks, but at first installer.bin doesn't detect xposed zip file, as the installer search for a file xposed-v*, then i renamed zip file as xposed-vsdk like that & it installed perfectly.
Sent from my Lenovo A7010a48 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
ramisumi said:
Yes its true. I also tried but renaming is useful or I have xposed zip already i flashed with flashfire. That also worked with this installer.bin. But as it is provided zip is not installing without renaming or the otherr copy.
Click to expand...
Click to collapse
Actually, for me it installed without the need of renaming. But still if you guys say so, I will edit the post and mention the need to rename the zip if it's not working by default.
Thanks..

Worked for me after renaming. Thanks.

Virus0044 said:
Worked for me after renaming. Thanks.
Click to expand...
Click to collapse
I am glad it did!

Krishnas096 said:
Finally i found a method to install Xposed framework on K4 note (I am on S152 ROW version) :victory::cyclops: ​Requisites:-
1. Rooted Phone
2. Busybox
3. Terminal Emulator
4. Xposed zip and installer apk files
5. SuperSu and not Kinguser
Here are the steps:-
1. Download the Zip file from here: https://drive.google.com/file/d/0B7DMgItCtbjhY2hwQlM0dWdVVlE/view?usp=sharing
2. Extract it into your phone's internal storage (Though i prefer ES)
3. Install busybox from the folder and open it. Click on install and let it install the lib files.
4. Now copy the installer.bin file and xposed-sdk22-arm64.zip to root of your internal storage.
5. Now install terminal emulator and open it.
Type su and enter and allow SuperSu permission and then it will show '#' instead of '$'.
6. Now type sh /sdcard/installer.bin and press enter. (Note:- If it fails to install, rename the xposed.zip file in the root folder with xposed-vsdk.zip and installation should go through. Thanks @Ondipuli for this suggestion.)
7. It will ask whether to install Xposed or not. Press 1
Wait for the process to finish and then it will say install is successful.
8. Reboot the Phone. It might seem it is stuck at boot but give it some time(5 mins). Then it will start optimizing the apps and let it finish with that.
Now open xda installer app and Voila! Xposed is installed​Enjoy Xposing!!​Credit goes to Razor Beam from youtube...
Hit Thanks if i helped:fingers-crossed::fingers-crossed:..​
Click to expand...
Click to collapse
[email protected]:/ $ su
[email protected]:/ # sh /sdcard1/installer.bin
sh: /sdcard1/installer.bin: No such file or directory
127|[email protected]:/ # sh /sdcard1/installer.bin
sh: /sdcard1/installer.bin: No such file or directory
127|[email protected]:/ # '$'.
k_shell/10161:17229: $.: not found
127|[email protected]:/ #
Plz help how to install

Help
executed installer.bin then pressed 1 but after that it shows cant create folder

PLEASE HELP**
In terminal window it is saying :
k_shell/10259:12535: sh/sdcard/installer.bin: not found
i did rename xposed-sdk22-arm64.zip into xposed-vsdk.zip but it still saying failed . what should i do now ?

shanky_x said:
PLEASE HELP**
In terminal window it is saying :
k_shell/10259:12535: sh/sdcard/installer.bin: not found
i did rename xposed-sdk22-arm64.zip into xposed-vsdk.zip but it still saying failed . what should i do now ?
Click to expand...
Click to collapse
Are you trying this method on Lollipop or Marshmallow. If so then on what version(Build no).
Sorry for the late reply. I am a student and i am not able to come online on xda regularly.

Permission ?
Hi,
I try this method, follow every steps, but it tell me this:
mount: Operation not permitted
/sdcard/installer.bin[25]: can't create /test.txt: read-only file system
Error: Busybox is not installed
I'm rooted under SuperSu, Xposed installer is installed, same as Busybox (by install the lib file too)
Can i get some help please.

Thnx BUT...
OK the first time I tried it did not work so I renamed the xposed package to xposed-vsdk.zip but it did not install the zip so xposed did not recognize or find it. So I when online and downloaded the latest sdk22 (sdk22=lollipop). I renamed it and it worked so I think you should update the master zip with the latest xposed zip.
BTW This also this works on Kindle Fire HD 8 cuz FlashFire doesn't support it.

shanky_x said:
PLEASE HELP**
In terminal window it is saying :
k_shell/10259:12535: sh/sdcard/installer.bin: not found
i did rename xposed-sdk22-arm64.zip into xposed-vsdk.zip but it still saying failed . what should i do now ?
Click to expand...
Click to collapse
Your command is missing " "(space)
The correction command is
sh /sdcard/installer.bin
Enjoy

chitranjn_k said:
[email protected]:/ $ su
[email protected]:/ # sh /sdcard1/installer.bin
sh: /sdcard1/installer.bin: No such file or directory
127|[email protected]:/ # sh /sdcard1/installer.bin
sh: /sdcard1/installer.bin: No such file or directory
127|[email protected]:/ # '$'.
k_shell/10161:17229: $.: not found
127|[email protected]:/ #
Plz help how to install
Click to expand...
Click to collapse
may be the installer.bin is in sdcard, not sdcard1

can i install on any device using this method actually I have mobile which has android 5.1.1 and arm 32bit system can i install frame work using this technique

Rename the file txt at the place of bin.then try

shanky_x said:
PLEASE HELP**
In terminal window it is saying :
k_shell/10259:12535: sh/sdcard/installer.bin: not found
i did rename xposed-sdk22-arm64.zip into xposed-vsdk.zip but it still saying failed . what should i do now ?
Click to expand...
Click to collapse
Ans:-Give space after sh. (sh /sdcard/installer.bin)

atif ahmad said:
can i install on any device using this method actually I have mobile which has android 5.1.1 and arm 32bit system can i install frame work using this technique
Click to expand...
Click to collapse
No. You cannot. The script and the xposed apk inside the zip file are for arm64 so it wont be possible. Don't try it and brick your device.

Related

[SS/DS] Deodex 4.3 Firmware on LOCKED BOOTLOADER (NOOB FRIENDLY)

Hey guys this is a noob-friendly tutorial on how to deodex stock 4.3 Firmware on a locked bootloader. This tutorial is for windows only, im sorry, that's what i have.
Requirements:
1. A fully rooted xperia M.
2. Busybox installed
3. Winrar
4. A brain
5. Time and patience.
BEFORE WE START, MAKE SURE YOU HAVE INSTALLED BUSYBOX:
1. Go to playstore.
2. Search busybox
3. Download the one by stericsson, not busybox x, not anyother busybox. If you are using busybox x or something else. This app will replace the one you downloaded so do it anyway.
4. Open the app
5. Click normal install
6. After installation, reboot.
PART 1:
Here i will show you how to setup adb as a variable. This is NOT optional.
1. Go to this website: http://developer.android.com/sdk/index.html
2. Scroll down
3. Click download for other platforms.
4. Go to the sdk tools only list and download the zip for windows 32&64 bit. NOT THE EXE, THE ZIP.
5. After downloading is finished, right click on the file and click "extract files..."
6. Click the "C:\" directory and the extract.
6.1. Download this file: http://www.mediafire.com/?d5wj9bslikmf53d
6.2. Extract it into the root of the android-sdk-windows folder, in the "C:\" directory.
7. After thats done, Right click on "Computer" ("my computer" for windows xp)
8. Click "properties"
9. Click on the advanced tab
10. Click environment variables
11. double click on the text entry named "Path" in the lower list box
12. At the end of it, add: ";C:\android-sdk-windows\platform-tools" (without quotation marks)
13. Click on OK to exit out of the dialog
14. then OK again to get out of My computer's properties
15. Reboot computer.
PART 2:
Here i will show you how to deodex your firmware.
16. For both single sim download this: http://d-h.st/VWr
For C2004 download this: https://www.dropbox.com/s/90qbypc36kde8y9/deodex_c2004_dual.zip
For c2005 download this: https://www.dropbox.com/s/mkzfnt05vhwjcta/deodex_c2005__Latest.zip
17. Extract to anywhere, the file for you from the above links.
18. In the extracted folder open system
19. Take both app and framework folders and paste them onto your desktop.
20. Rename the app folder to done_app
21. Rename the framework folder to done_framework.
22. Connect your phone to computer via usb
23. Copy the done_app and done_framework folders to the root of your external sd card. So these files can be found at /ext_card/done_app and /ext_card/done_framework.
24. disconnect phone
25. On phone, go to settings
26. Click developer options
27. Enable usb debugging
28. Click revoke usb debugging authorisation, then ok
29. Connect phone to pc again
30. On pc, Click start
31. Click run
32. Type cmd in the box, then ok
33. A command prompt window should open up.
34. Type adb shell, and hit enter. If it says that your phone is unauthorised, then check your phone, grant the computer permissions to use adb.
35. Type adb shell and hit enter again if you got the unauthorised error. This should start daemon. If you didn't get the unauthorised error, dont type it again.
36. Now type these commands line by line, hitting enter as you type each line, NOT all of them at the one go. Copy and paste would be better than typing them.
su
stop
mount -o rw,remount /system
rm /system/app/*.odex
rm /system/framework/*.odex
cp /ext_card/done_app/* /system/app/
cp /ext_card/done_framework/* /system/framework/
mount -o ro,remount /system
reboot
39. When you're phone reboots itself, you will have a fully deodexed
Stock firmware.
TROUBLESHOOTING (MUST READ THIS!!!!) :
1. If you got an error like system is busy when typing in the second last command, wait a minute then retype it. If it happens again after you retype it then run the STOP command again and retry.
2. If settings app force closes after you deodex, download this on your phone: http://www.mediafire.com/?ygyuln0heu25qb9. Extract it using a file manager. In the extracted folder, open system then app then move all three files there to /system/app overwriting the old settings app. Set all three files' permissions to rw-r-r. Reboot. It should now work fine.
3. If any other of your apps give a force close, then uninstall and reinstall them. This is very unlikely though, none of your apps should give a force close error.
CREDITS: @paper13579 for creating this thread and editing the code a little bit. A big thanks to @gamer649 who showed me the method to deodex. @arshh19 for providing deodexed files for single sim. @stalin.sk2 for providing deodexed files for C2004 and C2005. @ansebovi for creating the moddified settings.apk
Sent from my C2004 using xda app-developers app
thks bro but one Mistake = brick So until ı hava à Lots öf money., i cant RİSK that.
...... Bull**** this SwiftKey Keyboard ı cant close auto Fix.
Sent from my C1905 using XDA Premium 4 mobile app
abuzer3 said:
thks bro but one Mistake = brick So until ı hava à Lots öf money., i cant RİSK that.
...... Bull**** this SwiftKey Keyboard ı cant close auto Fix.
Sent from my C1905 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Bro, i gave you this guide step by step, you don't need to figure anything out yourself. It's all done for you. It works, trust me, i used that exact procedure on my permanently locked bootloader and ut worked. Same for other people
Sent from my C2004 using xda app-developers app
Thanks for this thread it's very helpfull but It's not so noob friendly. ADB won't work with your setup guide because adb.exe is placed in different location. In my case proper location is: C:\adt-bundle-windows-x86_64-20140321\sdk\platform-tools but it's sdk version/os type related.
iks8 said:
Thanks for this thread it's very helpfull but It's not so noob friendly. ADB won't work with your setup guide because adb.exe is placed in different location. In my case proper location is: C:\adt-bundle-windows-x86_64-20140321\sdk\platform-tools but it's sdk version/os type related.
Click to expand...
Click to collapse
You downloaded the wrong package
Is you read it properly, you would have realised that this is what i wanted you to download it from here http://developer.android.com/sdk/index.html#download. Scroll down. Click download for other platforms. Scroll down to sdk tools only. Click the first windows zip package. It says all of that in the guide
Sent from my C2004 using xda app-developers app
paper13579 said:
You downloaded the wrong package
Is you read it properly, you would have realised that this is what i wanted you to download it from here http://developer.android.com/sdk/index.html#download. Scroll down. Click download for other platforms. Scroll down to sdk tools only. Click the first windows zip package. It says all of that in the guide
Sent from my C2004 using xda app-developers app
Click to expand...
Click to collapse
Yes, you're right. Sorry xD
iks8 said:
Yes, you're right. Sorry xD
Click to expand...
Click to collapse
No problem bro.
Sent from my C2004 using xda app-developers app
When i download the zip you said to download, there is no adb in folder \tools, just a txt file saying that adb has been moved to an other directory. Do you have a direct link where i could download the right zip ?
PS : Sorry for my bad english
krarche said:
When i download the zip you said to download, there is no adb in folder \tools, just a txt file saying that adb has been moved to an other directory. Do you have a direct link where i could download the right zip ?
PS : Sorry for my bad english
Click to expand...
Click to collapse
This is the .zip what you are told to download. I've just had a look in my SDK folder and it is the same, have you got a platform-tools folder?
No, no platform-tools folder
krarche said:
No, no platform-tools folder
Click to expand...
Click to collapse
Download the .zip I'm attaching to this post and then extract it in the root of the SDK folder. So you can choose between going to platform-tools and tools. Once you have done that edit the path so instead of it finishing with /tools it will finish with /platform-tools.
That worked ! Thanks for your help
krarche said:
That worked ! Thanks for your help
Click to expand...
Click to collapse
Not a problem, I have the entire ADT and SDK so I have every file Remember to hit the thanks button for me and paper13579.
Sorry, i just saw your comments. did i miss something in my guide that i should add?
Sent from my C2004 using xda app-developers app
paper13579 said:
Sorry, i just saw your comments. did i miss something in my guide that i should add?
Sent from my C2004 using xda app-developers app
Click to expand...
Click to collapse
In the zip you're saying to download in your guide, adb is missing in the folder \tools
Hi bro can make tutorial for unlocked bootloader to.thx
YsfIsma said:
Hi bro can make tutorial for unlocked bootloader to.thx
Click to expand...
Click to collapse
Bro there is already a tutorial for unlocking bootloader, here it is(for dual Sim) http://forum.xda-developers.com/showthread.php?t=2484622
For single sim- http://forum.xda-developers.com/showthread.php?t=2650510
Sent from my C2004 using Tapatalk
paper13579 said:
Hey guys this is a noob-friendly tutorial on how to deodex stock 4.3 Firmware on a locked bootloader. This tutorial is for windows only, im sorry, that's what i have.
Requirements:
1. A fully rooted xperia M.
2. Winrar
3. A brain
4. Time and patience.
PART 1:
Here i will show you how to setup adb as a variable. This is NOT optional.
1. Go to this website: http://developer.android.com/sdk/index.html
2. Scroll down
3. Click download for other platforms.
4. Go to the sdk tools only list and download the zip for windows 32&64 bit. NOT THE EXE, THE ZIP.
5. After downloading is finished, right click on the file and click "extract files..."
6. Click the "C:\" directory and the extract.
6.1. Download this file: http://www.mediafire.com/?d5wj9bslikmf53d
6.2. Extract it into the root of the android-sdk-windows folder, in the "C:\" directory.
7. After thats done, Right click on "Computer" ("my computer" for windows xp)
8. Click "properties"
9. Click on the advanced tab
10. Click environment variables
11. double click on the text entry named "Path" in the lower list box
12. At the end of it, add: ";C:\android-sdk-windows\platform-tools" (without quotation marks)
13. Click on OK to exit out of the dialog
14. then OK again to get out of My computer's properties
15. Reboot computer.
PART 2:
Here i will show you how to deodex your firmware.
16. For both single sim download this: http://d-h.st/VWr
For C2004 download this: https://www.dropbox.com/s/90qbypc36kde8y9/deodex_c2004_dual.zip
For c2005 download this: https://www.dropbox.com/s/mkzfnt05vhwjcta/deodex_c2005__Latest.zip
17. Extract to anywhere, the file for you from the above links.
18. In the extracted folder open system
19. Take both app and framework folders and paste them onto your desktop.
20. Rename the app folder to done_app
21. Rename the framework folder to done_framework.
22. Connect your phone to computer via usb
23. Copy the done_app and done_framework folders to the root of your external sd card. So these files can be found at /ext_card/done_app and /ext_card/done_framework.
24. disconnect phone
25. On phone, go to settings
26. Click developer options
27. Enable usb debugging
28. Click revoke usb debugging authorisation, then ok
29. Connect phone to pc again
30. On pc, Click start
31. Click run
32. Type cmd in the box, then ok
33. A command prompt window should open up.
34. Type adb shell, and hit enter. If it says that your phone is unauthorised, then check your phone, grant the computer permissions to use adb.
35. Type adb shell and hit enter again if you got the unauthorised error. This should start daemon. If you didn't get the unauthorised error, dont type it again.
36. Now type these commands line by line, hitting enter as you type each line, NOT all of them at the one go. Copy and paste would be better than typing them.
Su
Stop
mount -o rw,remount /system
rm /system/app/*.odex
rm /system/framework/*.odex
cp /ext_card/done_app/* /system/app/
cp /ext_card/done_framework/* /system/framework/
mount -o ro,remount /system
Reboot
39. When you're phone reboots itself, you will have a fully deodexed
Stock firmware.
TROUBLESHOOTING (MUST READ THIS!!!!) :
1. If you got an error like system is busy when typing in the second last command, wait a minute then retype it. If it happens again after you retype it then run the STOP command again and retry.
2. If settings app force closes after you deodex, download this on your phone: http://www.mediafire.com/?ygyuln0heu25qb9. Extract it using a file manager. In the extracted folder, open system then app then move all three files there to /system/app overwriting the old settings app. Set all three files' permissions to rw-r-r. Reboot. It should now work fine.
3. If any other of your apps give a force close, then uninstall and reinstall them. This is very unlikely though, none of your apps should give a force close error.
CREDITS: @paper13579 for creating this thread and editing the code a little bit. A big thanks to @gamer649 who showed me the method to deodex. @arshh19 for providing deodexed files for single sim. @stalin.sk2 for providing deodexed files for C2004 and C2005. @ansebovi for creating the moddified settings.apk
Sent from my C2004 using xda app-developers app
Click to expand...
Click to collapse
I did as indicated but I'm not getting through the Su command!
pedroj666 said:
I did everything you say but I'm not getting through the point 30!
I downloaded the SDK Tools Only for other platforms and platform-tools. Unzipped the sdk and moved the "android-sdk-windows" folder to the root of pc c: \.
After that unzipped platform-tools folder and moved into android-sdk-windows.
After that I went to "environment variables" and added the "Path" in the lower box the list you have indicated (C: \ android-sdk-windows \ platform-tools).
did the remaining steps in sony M but when I get to step 30 nothing appears on the pc!
Click to expand...
Click to collapse
Ok, first of all, don't quote the full thread from he OP. Second, step 30 is telling you to press start. What do you mean y don't know his to get past this step. It's as basic as it can get
Sent from my E15i using xda app-developers app
paper13579 said:
Ok, first of all, don't quote the full thread from he OP. Second, step 30 is telling you to press start. What do you mean y don't know his to get past this step. It's as basic as it can get
Sent from my E15i using xda app-developers app
Click to expand...
Click to collapse
Ya sorry xD!
I have noticed this but now my probelema is not this! I can not run the command Su. Give me the error "not found".

[Q] How to build custom ROM include Superuser?

Hi everyone! I'm researching about build custom ROM with AOSP. Now I get problem about how to include Superuser in the ROM. I want after flash ROM user can be already using. I tried copy su binary and superuser apk from zip file and put into system/xbin/su and system/app folder. After flash ROM superuser appear but it notify Su binary need update... Second way I tried work with the guide from Cyanogenmod but same problem. How can I add superuser into custom ROM by other solution?
What superuser and what binaries are you using
Sent from my LG-D803 using XDA Free mobile app
deadgiveaway said:
What superuser and what binaries are you using
Sent from my LG-D803 using XDA Free mobile app
Click to expand...
Click to collapse
I downloaded it from github Superuser. After extract I get su binary and superuser.apk.
You need to set file permissions on su and Superuser.apk.
Download the flashable installer and check the install script, all the permissions that need to be set are listed in it.
TheManii said:
You need to set file permissions on su and Superuser.apk.
Download the flashable installer and check the install script, all the permissions that need to be set are listed in it.
Click to expand...
Click to collapse
How can I change permission file on the system folder, I tried to use Root Browser and copy su binary to another file but can not change.
hoang.l.nguyen said:
How can I change permission file on the system folder, I tried to use Root Browser and copy su binary to another file but can not change.
Click to expand...
Click to collapse
Help me, plz!!!

What a way to delete the core programs

Hello every one
First of all. I have a problem I can not delete the basic device software note I have root authority
II. Was installed busyBox but I can not install it and when the installation device works Risterat What problem
read about write system protection.
tutos are available on this forum (wp_mod.ko file to push in system/lib/modules, and run a command on the phone with a terminal app)
#su
insmod system/lib/modules/wp_mod.ko
if im speaking chinese, dont try
but as you tried to change partitions before having write protection removed, you wont be able to do it without a restart until you reflash your rom (clean install)
fabulous69 said:
read about write system protection.
tutos are available on this forum (wp_mod.ko file to push in system/lib/modules, and run a command on the phone with a terminal app)
#su
insmod system/lib/modules/wp_mod.ko
if im speaking chinese, dont try
but as you tried to change partitions before having write protection removed, you wont be able to do it without a restart until you reflash your rom (clean install)
Click to expand...
Click to collapse
Excuse me, I hope if they do not understand you, and my heartfelt thanks for the quick feedback if possible, a simple explanation for the action steps
i think you shouldn't try to do it...
a bad understanding of a Tutorial, and you could make your phone bug.
Follow These Steps....
muhamadalani said:
Excuse me, I hope if they do not understand you, and my heartfelt thanks for the quick feedback if possible, a simple explanation for the action steps
Click to expand...
Click to collapse
Quoted from Step 2 Here,
http://forum.xda-developers.com/desire-816/general/guide-vm-htc-desire-816-root-how-to-t2862470 ,
2. Hopefully you were able to successfully install custom recovery and root.
Now this part is a bit tricky. Even with root HTC is stopping us from writing to system. For this we need to apply the wp_mod.ko module.
Download it here: http://forum.xda-developers.com/show....php?t=2707378
Copy this file to the root of your internal storage.
Now download Terminal Emulator from play store, run it and enter the following commands (you only need to do this once):
su
insmod /sdcard/wp_mod.ko
Once you do this go into a root explorer app and mount /system as R/W. Copy the wp_mod.ko file to /system/lib/modules
Now go to /system/etc and find install-recovery.sh. Open it with a text editor and add a new line at the end with the following:
insmod /system/lib/modules/wp_mod.ko
Reboot! If all went well the wp_mod module will run at boot every time so you won't have to do it manually each time!
Congratulations, you now have a fully rooted Desire 816!
jayblaze406 said:
Quoted from Step 2 Here,
http://forum.xda-developers.com/desire-816/general/guide-vm-htc-desire-816-root-how-to-t2862470 ,
2. Hopefully you were able to successfully install custom recovery and root.
Now this part is a bit tricky. Even with root HTC is stopping us from writing to system. For this we need to apply the wp_mod.ko module.
Download it here: http://forum.xda-developers.com/show....php?t=2707378
Copy this file to the root of your internal storage.
Now download Terminal Emulator from play store, run it and enter the following commands (you only need to do this once):
su
insmod /sdcard/wp_mod.ko
Once you do this go into a root explorer app and mount /system as R/W. Copy the wp_mod.ko file to /system/lib/modules
Now go to /system/etc and find install-recovery.sh. Open it with a text editor and add a new line at the end with the following:
insmod /system/lib/modules/wp_mod.ko
Reboot! If all went well the wp_mod module will run at boot every time so you won't have to do it manually each time!
Congratulations, you now have a fully rooted Desire 816!
Click to expand...
Click to collapse
Thank you
Unfortunately, I could not do a thing did not work the way and I do not know why:crying::crying::crying:

Xposed for Xperia M5

Now I'm successful to install Xposed on Xperia M5.
Same way with Meizu MX5, but Xposed will have some problem with Xperia apps.
Just install Xposed by this method and copy files replace system folder for fix Xperia app's problem.
>> How to. <<
>> Download Tools + Fixed App <<
- Root your phone.
- Install busybox.
- Install Terminal Emulator.
- Copy installer.bin and xposed-v80-sdk22-arm64.zip to Phone memory.
- Run Terminal Emulator.
- Type su and then Enter.
- Type sh /sdcard/installer.bin and then Enter.
- Wait for script prompt and then type 1 and then Enter.
- Wait for script prompt and then type SDK 22 and then Enter.
- Wait for script run successful and close Terminal Emulator.
- Copy Xperia App files and replace to system folder.
- Restart Phone.
- Well now you can install >> Xposed.apk <<
Enjoyed.
Credit: iicc and all guy who made it happen.
tried to follow instruction, but no luck, it can not installed.
well i only understand english. could you explain on how to do it. cause from what i googled, to install xposed, one need a custom recovery to do so. and there is no custom recovery for xperia m5 (is it??)
squillaciukm said:
well i only understand english. could you explain on how to do it. cause from what i googled, to install xposed, one need a custom recovery to do so. and there is no custom recovery for xperia m5 (is it??)
Click to expand...
Click to collapse
For this method, Install Xposed with Terminal Emulator no need custom recovery.
- Root your phone.
- Install busybox.
- Install Terminal Emulator.
- Copy installer.bin and xposed-v80-sdk22-arm64.zip to Phone memory.
- Run Terminal Emulator.
- Type su and then Enter.
- Type sh /sdcard/installer.bin and then Enter.
- Wait for script prompt and then type 1 and then Enter.
- Wait for script prompt and then type SDK 22 and then Enter.
- Wait for script run successful and close Terminal Emulator.
- Copy Xperia App files and replace to system folder.
- Restart Phone.
- Well now you can install >> Xposed.apk <<
That's it.
What do you mean by
Copy Xperia App files and replace to system folder.
It did work, now I have xposed running on my M5, but silly me forgot to make a backup of my system file and now I can't use my camera. I get "Unfortunately, Camera has stopped". Could somebody upload them, please?
[Edit]
Made it work, just needed to change the file permissions after copying. Now I can use my camera again.
inpixies said:
It did work, now I have xposed running on my M5, but silly me forgot to make a backup of my system file and now I can't use my camera. I get "Unfortunately, Camera has stopped". Could somebody upload them, please?
Click to expand...
Click to collapse
You tell me what it means by copy Xperia app files and replace to system folder and how to get the camera files and I'll upload it
ih8redsn0w said:
You tell me what it means by copy Xperia app files and replace to system folder and how to get the camera files and I'll upload it
Click to expand...
Click to collapse
Use a file explorer with root access, I really like to use Es File Explorer, and overwrite the file located at /system/priv-app with the files you download from this post Xposed+FixedApps. They have the same folder estructure so just copy to the root of the phone system memory referred as /.
Don't do what I did and make a copy of the folders and its content /system/priv-app/CameraCommo and /system/priv-app/SemcAlbum-albumLive-release before you copy the fixed apps
inpixies said:
Use a file explorer with root access, I really like to use Es File Explorer, and overwrite the file located at /system/priv-app with the files you download from this post Xposed+FixedApps. They have the same folder estructure so just copy to the root of the phone system memory referred as /.
Don't do what I did and make a copy of the folders and its content /system/priv-app/CameraCommo and /system/priv-app/SemcAlbum-albumLive-release before you copy the fixed apps
Click to expand...
Click to collapse
Thank you
ParotZ said:
Now I'm successful to install Xposed on Xperia M5.
Same way with Meizu MX5, but Xposed will have some problem with Xperia apps.
Just install Xposed by this method and copy files replace system folder for fix Xperia app's problem.
>> How to. <<
>> Download Tools + Fixed App <<
- Root your phone.
- Install busybox.
- Install Terminal Emulator.
- Copy installer.bin and xposed-v80-sdk22-arm64.zip to Phone memory.
- Run Terminal Emulator.
- Type su and then Enter.
- Type sh /sdcard/installer.bin and then Enter.
- Wait for script prompt and then type 1 and then Enter.
- Wait for script prompt and then type SDK 22 and then Enter.
- Wait for script run successful and close Terminal Emulator.
- Copy Xperia App files and replace to system folder.
- Restart Phone.
- Well now you can install >> Xposed.apk <<
Enjoyed.
Credit: iicc and all guy who made it happen.
Click to expand...
Click to collapse
No se encuentra el zip de Xposed en /sdcard
sh: /sdcard/installar.bin: No such file or directory
Dreamer62 said:
No se encuentra el zip de Xposed en /sdcard
sh: /sdcard/installar.bin: No such file or directory
Click to expand...
Click to collapse
Did you copy the file to root of internel phone memory and not inside any folder?? Otherwise you will have to specify when using the command.. Example..
Sh /sdcard/download/installer.bin
Or
Sh /sdcard/folder-name-here/installer.bin
Might sound like a silly question, but sometimes we can make small mistakes like that...
If the file is in the root of your internal phone memory ( /sdcard/installer.bin) then there should be no reason for it to give you a no such folder / file directory.. Just double check the location of the file and make sure it is not in your download folder or any other folder inside phone memory.
If it is, then just move the file from inside of the folder it is in, to the root of the internal memory of the phone. (called "sdcard").
Hopefully that's all the problem was..
Good luck bro
Dreamer62 said:
No se encuentra el zip de Xposed en /sdcard
sh: /sdcard/installar.bin: No such file or directory
Click to expand...
Click to collapse
I had the same thing. I tried internal and external sd card, but it didn't work.
Then I just restarted my phone and it worked fine.
Dreamer62 said:
No se encuentra el zip de Xposed en /sdcard
sh: /sdcard/installar.bin: No such file or directory
Click to expand...
Click to collapse
asegúrese de que ha instalado la caja ocupado y abierto durante el uso de un emulador de terminal
make sure you have busy box installed and open while using terminal emulator
JudgeDread11 said:
I had the same thing. I tried internal and external sd card, but it didn't work.
Then I just restarted my phone and it worked fine.
Click to expand...
Click to collapse
The sequence is --- sh /sdcard/installer.bin ---- not sh: /sdcard/installer.bin
First you put the files on root of phones/internal memory ,open terminal emulator
1.wright " su " and then enter/confirm
2.wright " su /sdcard/installer.bin " (WITHOUT (( " )) AND CONFIRM)
and then it starts follow the instruction it works it did for me well now i'm gonna try and install xposed and report back.
To OP thank you for making this happen.Good job
inpixies said:
It did work, now I have xposed running on my M5, but silly me forgot to make a backup of my system file and now I can't use my camera. I get "Unfortunately, Camera has stopped". Could somebody upload them, please?
[Edit]
Made it work, just needed to change the file permissions after copying. Now I can use my camera again.
Click to expand...
Click to collapse
Hi, I got the same problem but dont know how and which files to change permission. Please guide with pictures. Thx in advance
imranclick said:
Hi, I got the same problem but dont know how and which files to change permission. Please guide with pictures. Thx in advance
Click to expand...
Click to collapse
So you have to copy two folders you downloaded and extracted from zip file,and copy them to system/priv-apps and overwrite the stock ones,but you could back them up before doing so.Then when you copied in the folder "Camera Common" is an .apk file click on it and change permission, and do the same for "Semc Album-albumLive-release"...
you can use a root explorer or any explorer that has root.Good luck
Sent from my Xperia M5 E5603 using XDA-Developer premium
I followed all the steps on installing xposed and it works, but I forgot to install the camera before restarting the phone, now the camera ia not working, and I am not able to copy the apk into system as I am not able to change the permission.
Did anyone had the same issue and found the solution? Or I just re-install xposed with all the steps followed?
Any comment welcome please.
AlgebraTheBard
owned devices:
Sony Xperia M5 dual (recent)
ZTE Nubia Z7 mini (backup)
Motorola RAZR XT910 custom
hey buddy, I try this on my sony M5 phone and succeeded, thanks man. anyway i want to ask how whichever way you eliminate indicators sim card 1 uses the same practice uses the xposedinstaler or whether there are other applications again to remove the indicator
How I can remove this completely?
Well what did was unroot,and then repair with Xperia Companion/Pc Companion.but it does delete everything on the phone except sd card...
Sent from my E5603 using XDA-Developers mobile app

[Guide] AdAway for systemless hosts file

About the only reason I root my phone is to install AdAway. I'd prefer to not modify the system partition to help make OTA's easier to get and to allow Android Pay to work. AdAway has a flashable .zip file that preps the hosts file to use the systemless root structure that comes along with SuperSU. Unfortunately, that script depends on being able to access the /data partition inside of TWRP which isn't going to happen any time soon on the HTC 10. Fortunately, it is easy for us to manually replicate what the flashable .zip is trying to do.
This isn't a detailed how-to, but more of a set of guidelines. Don't blame me if your phone explodes.
Root the phone with the latest SuperSU.
Download the AdAway_systemless_hosts_v2.zip file from the Unofficial AdAway thread.
Extract the files from inside the zip. We are only interested in two files in the support folder.
Connect the phone to your PC and turn on file transfer mode.
Copy "hosts" and "0000adaway.script" that you just extracted to the internal storage of your phone.
Use a program file Root Explorer to move "hosts" into /su/etc and move "0000adaway.script" into /su/su.d (this probably could have been done with ADB push, but I got permission errors when I tried it that way and I'm impatient and lazy).
Chmod 0755 /su/su.d/0000adaway.script (I used a root shell on the phone via ADB)
Install AdAway (I used the link in the Unofficial AdAway thread.)
Reboot the phone.
Run AdAway like normal. By default it should use /system/etc/hosts which is what you want.
If something doesn't work, figure out why and fix it. I'm happy to answer questions to the best of my ability.
AdAway works without problems here, with simple press activate button.
starbase64 said:
AdAway works without problems here, with simple press activate button.
Click to expand...
Click to collapse
Yup
Sent from my HTC 10 using Tapatalk
starbase64 said:
AdAway works without problems here, with simple press activate button.
Click to expand...
Click to collapse
Yes, but it modifies the /system partition unless you do the trick in OP. If I'm correct, you will have problems with OTA updates and Google Pay if you let AdAway directly modify the hosts file on /system.
Now that TWRP can access /data, can we just flash the zip?
goodtimes50 said:
Now that TWRP can access /data, can we just flash the zip?
Click to expand...
Click to collapse
Yes, you can. I downloaded that zip and apk from the Unofficial AdAway thread linked above. Booted into TWRP, flashed the newest betaSuperSU2.74-2-forceencrypt (not related to this, just so I'd be on the latest version), then the AdAway_systemless_hosts_v2.zip, rebooted and installed the apk and let it run. Rebooted. Showing hosts location as /system32/etc/hosts as the OP says is a good thing, and both files mentioned are in their correct places per Root Browser. [emoji106]
Sent from my HTC 10 using XDA-Developers mobile app
Sorry that it doesn't completely match the thread here but I think my question could fit in here anyway.
Do I suggest correctly that with systemless root, systemless AdAway and the stock recovery OTAs should be fully usable? Since there's no other modification to /system then.
bmwbasti said:
Sorry that it doesn't completely match the thread here but I think my question could fit in here anyway.
Do I suggest correctly that with systemless root, systemless AdAway and the stock recovery OTAs should be fully usable? Since there's no other modification to /system then.
Click to expand...
Click to collapse
I believe that is correct. There hasn't been a new OTA for my phone yet so I can't verify. However, when I do the check for new software it tells me no new updates (as opposed to the message about the files system being corrupt). I believe Android Pay should also work. I have it installed and added a new card, but I haven't tested making a purchase yet.
Thanks for the guide.
My device is rooted, but I didn't found su folder in anywhere when I use Root Explorer with root access, does anyone tell me how to get su folder and make AdAway work?
Fix for AdAway.
matif525 said:
Thanks for the guide.
My device is rooted, but I didn't found su folder in anywhere when I use Root Explorer with root access, does anyone tell me how to get su folder and make AdAway work?
Click to expand...
Click to collapse
Your device may use su, & still not have an su folder (at all) that is used for hosts file (ie systemless root). Just do this..
Download... Terminal emulator.
https://play.google.com/store/apps/details?id=jackpal.androidterm
Open terminal
Then enter these commands.. "Quote"
su
mount -orw,remount /system
rm /system/etc/hosts
ln -s /data/data/hosts /system/etc/hosts
mount -orw,remount /system
Now open AdAway go to preferences and select option to " Target hosts file"
Select /data/data/hosts
Enjoy..
If you still have ads in apps do this!!!
githyanki said:
Open the 3 dot menu in adaway, chose log DNS request. Enable TCP dump.
Open the app with ads, when ad loads, go back to adaway, and open log.
Long press any entries and chose black list.
Profit
Click to expand...
Click to collapse
All credit where credit is due. I just shared what I read else where.
Read here for more details..
https://github.com/AdAway/AdAway/issues/770
&
http://forum.xda-developers.com/showthread.php?t=2190753&page=143#post68988079
There is a known issue in HTC devices involves S-off. If the above doesn't solve this for you message here I'll follow. Or pm me. I work wierd hours be patient.
Rom Maximus 3.0.0 ( Android 7 ).Any instruction don't works,adaway no blocked ads.
regarding su folder to move files to
FreydNot said:
About the only reason I root my phone is to install AdAway. I'd prefer to not modify the system partition to help make OTA's easier to get and to allow Android Pay to work. AdAway has a flashable .zip file that preps the hosts file to use the systemless root structure that comes along with SuperSU. Unfortunately, that script depends on being able to access the /data partition inside of TWRP which isn't going to happen any time soon on the HTC 10. Fortunately, it is easy for us to manually replicate what the flashable .zip is trying to do.
This isn't a detailed how-to, but more of a set of guidelines. Don't blame me if your phone explodes.
Root the phone with the latest SuperSU.
Download the AdAway_systemless_hosts_v2.zip file from the Unofficial AdAway thread.
Extract the files from inside the zip. We are only interested in two files in the support folder.
Connect the phone to your PC and turn on file transfer mode.
Copy "hosts" and "0000adaway.script" that you just extracted to the internal storage of your phone.
Use a program file Root Explorer to move "hosts" into /su/etc and move "0000adaway.script" into /su/su.d (this probably could have been done with ADB push, but I got permission errors when I tried it that way and I'm impatient and lazy).
Chmod 0755 /su/su.d/0000adaway.script (I used a root shell on the phone via ADB)
Install AdAway (I used the link in the Unofficial AdAway thread.)
Reboot the phone.
Run AdAway like normal. By default it should use /system/etc/hosts which is what you want.
If something doesn't work, figure out why and fix it. I'm happy to answer questions to the best of my ability.
Click to expand...
Click to collapse
Hi there, ive got a mate 8, not sure if this adblocker will work on it but i want to try it out anyway. Ive unzipped the file but which folder in su do i move the files to? screenshot of the folders i have in su

Categories

Resources