Rooting the LG Stylo 2 (Verizon) VS835
credits to hovatek for mtksu, diplomatic for mtksu and suboot, & topjohnwu for Magisk
Needed...
1. Init.d Support Script apk
2. mtk-su_r23.zip
3. Magisk-v18.1.zip
4. MagiskManager-v7.1.1 apk
5. suboot.zip
6. magisk-update-block.txt
DISCLAIMER: I'm not at fault if you f&#$ your phone up.
I'm using a computer to do this procedure, if you want to rework this to be done without a PC be my guest. It is possible without a PC. I just seen people needed root for this device, I happen to own the device, and figured i'd be nice and give back to the same community that taught me android development for years...
STEP 1:
Connect to PC in file transfer (MTP) mode. and make a new folder on the device root directory called init.d
STEP 2:
Extract the suboot.zip file and locate suboot.sh you need to place this file inside init.d
Now you need to create another folder named bin (inside the first folder you made)
STEP 3:
Extract mtk-su_r23.zip and inside the arm folder is a file called mtk-su this file needs to go into the bin folder
Extract Magisk-v18.1.zip and inside the arm folder place ONLY magiskinit inside the same bin folder
if you did this correctly your files should look like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
*note* you DO NOT need to put the magisk-update-block.txt inside the init.d folder. That's just where i placed it. You only need the URL for the next step.
STEP 4:
Now from the phone install MagiskManager-v7.1.1.apk DO NOT LET IT UPDATE
Open MagiskManager and goto settings > update channel > custom
and paste this URL from the magisk-update-block.txt or from below
https://raw.githubusercontent.com/topjohnwu/magisk_files/841e978604f989d04549013cd4dcc7e34aea5288/stable.json
Click to expand...
Click to collapse
Now you'll see that Magisk Manager thinks it is already up to date.
STEP 5:
Install the init.d scripts support apk provided.
* tick/checkmark on "Run scripts at boot time"
* Set Execution Delay to "No Delay"
* For Selected Folder set it the init.d folder you made, and then click save at the top right.
It will say 2 script files in this folder if done correctly
** NOW scroll down and click "Run scripts now"
It's free version so watch an ad... after 2 ads it will grant you pro access for 24 hours.
** Again click "Run scripts now"
You'll see "Show last execution results" appear below the "Run scripts now".
Your results should look like this.
Use root checker to confirm...
Thats it. Enjoy.
Related
this is my first attempt at a boot animation and has been tested on my own device (LG optimus one running Mik_OS 6.5.4 cm7 rom)
i take no liability in how it runs on your device
i am still trying to figure out how to add sound to the bootanimation as all methods i have seen online do not work on my device. if you would like the sound file that goes with this and know how to activate your boot sound pm me and i will send it too you
instructions
*device must be rooted*
**i use root explorer for file moving**
download vtwinboot.zip
extract files (bootanimation.zip, please read mefirst.txt) to an easy accesable folder on your computer
get the bootanimation.zip onto your sd card
copy it from sd card root to devices "/data/local" folder
Reboot
anyone feel free to add CONSTRUCTIVE info to this thread, PLEASE DO NOT RESELL this anywhere i do not mind distribution for FREE to anyone, if some one wants to pay me for my time via donation great but otherwise if i see this in the market requireing payment and i dont get none you can bet yer butt i wil lsend an army of smurfs to your home to sodmize your garden gnomes.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
http://www.youtube.com/watch?v=wkRZOHTLNKU
i dont have a gif file to show the animation as i dont have a program to make gif's to match the same settings as the bootfile
if anyone knows how to get the phones vibrate function to operate during boot animation please pm me
Thank you; great work.
i havent been able to get the sound file to work with my phone running mik_os' cm7 2.3.4 rom but if you would like to try and add the sound here are some instructions (i take no credit in the creationg of the sound instructions as i found them here http://forum.xda-developers.com/showthread.php?t=1096068
Originally Posted by hockeyfamily737
0. It's recommended to do a nandroid backup first!
1. Download the "bootsound.sh" file and put it on the root of your sd card.
2. Download the "android_audio.mp3" file and using root explorer copy it to /system/media
3. Open Terminal Emulator and type the following commands using the stock keyboard. Press enter after each line:
su
cd /sdcard
sh bootsound.sh
reboot
4. As the device boots up you will be greeted by the "Dolby THX" test sound heard before movies. You are now free to replace the android_audio.mp3 file in /system/media with any .mp3 file you like as long as you rename it to "android_audio.mp3"
5. DO NOT ATTEMPT TO OUTSMART THESE DIRECTIONS OR YOU WILL BE RESTORING YOUR NANDROID BACKUP!
6. Enjoy
http://dl.dropbox.com/u/30200380/bootsnd.sh
http://dl.dropbox.com/u/30200380/android_audio.mp3
Click to expand...
Click to collapse
here is the correct sound that goes with the v-twin engine animation
download and extract the android_audio.mp3 file, move to your sd card then follow the above instructions to replace the audio with this file
when i try to make WORKING ROM folder of SWKTM.tar.md5 after changing it to .TAR using dsixda
i get this error
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
that means that your tar file doens't have the kernel in it (boot.img) you have to put the boot.img file inside of working folder also
Don't try to use the .tar.md5 file directly. Do this:
- Extract the .tar.md5 file to a folder, lets say "/home/yourname/Stock". You'll get these files:
Code:
amss arm11boot boot.img mibib oemsbl qcsbl recovery.img system.rfs
We'll need to mount the "system.rfs" one. Now, do the following:
- Under your home folder (/home/yourname/) create an folder and name it "mntandroid". Create another folder named "system";
- Open a terminal window, navigate to the folder where you extracted the .tar.md5 file and get root user rights (sudo su/your pass);
- Type the following commands:
Code:
mount -o loop system.rfs /home/yourname/mntandroid
(remember to change "yourname" to your username);
- A new window shold open, it is the "system.rfs" contents. Select everything and copy to the "system" folder you've previously created;
- On the file manager, unmount the "mntandroid" drive;
- Compress the "system" folder - not its contents - to a zip file. The name don't matter;
- copy this .zip file to the "original_update" folder;
- try again now, it should work;
You can make it even better if you download any kernel (like Battery Extender) and place it in the .zip you've compressed before. This way, your zip should look something like this:
Yes, without any "META-INF" dir. Leave it like this.
Also, don't use the kitchen install script, I've read somewhere that it doesn't works. Use the Stocklite or some other stock-based ROM script.
Tell me if it worked for you. At least, this is what I did
Oh, by the way, this thread is where I got the mount rfs thing. I've just simplified it for you.
Having found the fix'es on this site for the GPS, I am having a great deal of trouble applying it.
Using ES File Explorer I can navigate to root/etc - but I if I try to add or delete it just tells me the file can not be deleted (or added/copied/renamed or whatever I try). So how do I overcome this?
Secondly, I have to change the file permissions.
e.g.
5.Set permissions as follows
gps.conf rw- r-- r--
gps_brcm_conf.xml rwx rwx --x
Where do I go to make these changes?
Thanks.
1. I think your system partition is mounted as read-only, so you have to mount it as read/write - then changes are allowed. In Es file explorer there is such option in settigs menu.
2. To change permission using Es, put your finger on file you want to change permisions and hold a while. When 'operations' menu appers, go to option 'properties' and there is window where you can change permissions
yomek88 said:
1. I think your system partition is mounted as read-only, so you have to mount it as read/write - then changes are allowed. In Es file explorer there is such option in settigs menu.
2. To change permission using Es, put your finger on file you want to change permisions and hold a while. When 'operations' menu appers, go to option 'properties' and there is window where you can change permissions
Click to expand...
Click to collapse
1. Cant find any options that do this.
2. doing this only gives me buttons for "check checksum" and "OK", but I suspect if once I can change things in root I may get different options.
If you have rooted phone and root permiossions for Ex file explorer granted, then:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
in my case it looks like this... and work well
and:
Arr yes, I see it now. But its greyed out and wont let me activate it. When I try to enable root explorer I get this message:
Warning: When 'SU Request' dialog popup, please select 'always allow' or make system 'remember' your 'allow' choice. Do you want to try this feature anyway?
It then says "sorry, test failed, this feature cannot be run on your phone"
So looking up this new problem I installed some adb software to fix my SU Request problem. But it adb software only says it only works on rooted devices and wont let me do anything..... frustrating
EDIT: I have installed GingerBreak to root it. But its been trying to do so for over an hour...
You need to be your phone rooted.
The method changed in versions 20, the best option is bin/fls converter:
http://forum.xda-developers.com/showthread.php?t=1692191
noobguy001 said:
EDIT: I have installed GingerBreak to root it. But its been trying to do so for over an hour...
Click to expand...
Click to collapse
Yes, you need to root your device for this feature, if gingerbreak didn't work the first time is not going to work at all, i had to flash from smartflash tool in N00BY0815's guide for noobs =)
ErnuB said:
Yes, you need to root your device for this feature, if gingerbreak didn't work the first time is not going to work at all, i had to flash from smartflash tool in N00BY0815's guide for noobs =)
Click to expand...
Click to collapse
Thanks, but way to complex for me. All this stuff seems to be about changing ROMs, not just unrooting the phone, which is probably why I am having trouble grasping it.
ErnuB solution unfortunately has a youtube video which isn't in English and doesn't seem to apply to my particular version of phone which is V20c with Android 2.3.4
I will keep looking.....
How to revert back to Kitkat from MIUI lollipop in easiest way
Requirements :
MIUI 7.1 KK Rom
MiFlash
Important :
Before flashing it is advised to take the backup of data and make sure that your phone battery is charged enough.
Steps :
1. Download ROM from the above link and extract it to Desktop.
Note: - Some users get error while extracting onDesktop Because there is space in the username of PC or the folder as shown.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The users should put the ROM In C Drive in a folder without spaces. E,g C:/ROM/MIUI
The Error shown when using space between foldername.
2. Download flashing tool from the above link and install it.
3. Once installation is complete, Run MiFlash application.
4. Click on browse
5. Select ROM folder from Desktop(From the location where ROM is saved)
Note: -The path of the ROM folder Should be like "C:\Users\zeus\Desktop\MIUI" Not "C:\Users\zeus\Desktop\MIUI\images"
The MIUI Rom folder should Contain the following files
6. Turn off the phone, press and hold the Volume Down key and the Power button at the same time to enter Fastboot mode, then connect the phone to a computer.
7. Press Refresh button to see you device in flashing tool.
After pressing refresh button you will see connected device.
Here You have 3 options to select.
Choose the options carefully as per your need:-
1. Flash_all:- Clears all the data of the built-in storage, clear all user data, please be careful!(Clean Install)
2. Flash_all_except_storaget:- Will erase all user data does not clear the built-in storage data.
3. Flash_all_except_data_storage:- Does not clear the built-in storage data does not clear user data
8. Click on Flash and it will start process
Device Mismatch error ? Don't worry, click below.
Steps :
1. Dowload Notepad++ from here. Go to folder where you have extracted the Rom
2 .Right Click on any of 3 Batch Files ( .bat extension) you want to choose and open it with Notepad++
3. Delete those 2 lines ( line no. 10 and 11 ) and then Save it using ctrl+s or file menu.
4. Done , now you can flash fastboot rom on your device using Mi flash tool without having that error
9. Once flashing process completes Device will automatically reboot. Reboot might take upto 5 minutes.
Done !
its working 100% thanks for ur guide
Hi,
My phone is stuck in fastboot loop. I cant turn it off or restart to recovery. I've tried everything i could find on the web, but no result.
ADB is not recognizing the phone properly. The same as MiFlash. I've tried dozen of Miflash version and either they crash or have that message.
Pictures:
Miflash error
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Fastboot and adb dont recognize the phone:
What are the other steps, what can i try? Is there a Miflash that works?
try this,
1) download platform tools folder
2) download fastboot rom 12.0.2 i.e .TGZ file
3) extract platform tools (u will find one folder inside named "platform tools"
4) extract TGZ file
5) copy all extracted tgz files in that "platform tools" folder.
6) connect device.
7) double click on "flash all.bat" file
8) done
rasik107 said:
try this,
1) download platform tools folder
2) download fastboot rom 12.0.2 i.e .TGZ file
3) extract platform tools (u will find one folder inside named "platform tools"
4) extract TGZ file
5) copy all extracted tgz files in that "platform tools" folder.
6) connect device.
7) double click on "flash all.bat" file
8) done
Click to expand...
Click to collapse
I've tried it, after clicking flash all, command prompt window flashes (too fast, i cant see the content of the window) and closes. Nothing changes...
Image of platform tools folder with fastboot rom inside:
1. Open command prompt.
2. Navigate to the directory which contains flashall.bat.
3. Now run flashall.bat from command prompt.
With this you can see the error.
Advise: Check your path and see if any folder has a space in the name. Remove the spaces from the folder names.