I'm a newbie, so can't post in development, so I have to open a thread here. I've thouroughly read Cmahendra's excellent rooting guide in development. The process seems clear, but it is totally Windows based. Is there a way to accomplish the same thing in Linux? I could convert the. bat files to scripts, and already have a Linux version of adb, so that is no problem. What other software do I need drivers, executables, etc. to get this done? If that is impossible, can I accomplish the root in a VMware virtual machine running XP?
I have attached the phone to my linux box in LG software mode, and it appears in adb using the device command. With adb shell, I am able to noodle around the phone, so I'm sure that I can convert the .bat files to .sh and do all of the necessary adb tasks. It is the flashing steps that I'm not sure about.
I'm anxious to get rooted, so I'd appreciate any help.
[Q] Can Cmahendra/Lelus root method be done in Linux?
bearymore said:
I'm a newbie, so can't post in development, so I have to open a thread here. I've thouroughly read Cmahendra's excellent rooting guide in development. The process seems clear, but it is totally Windows based. Is there a way to accomplish the same thing in Linux? I could convert the. bat files to scripts, and already have a Linux version of adb, so that is no problem. What other software do I need drivers, executables, etc. to get this done? If that is impossible, can I accomplish the root in a VMware virtual machine running XP?
I have attached the phone to my linux box in LG software mode, and it appears in adb using the device command. With adb shell, I am able to noodle around the phone, so I'm sure that I can convert the .bat files to .sh and do all of the necessary adb tasks. It is the flashing steps that I'm not sure about.
I'm anxious to get rooted, so I'd appreciate any help.
Click to expand...
Click to collapse
Hi, at least I dont know any such flashing tool released by LG on linux platform. So without Update tool (flashing application) working on other things is useless. This tool is service center tool and not released for general public. They might be working only on windows.
But there could be some other command line methods to flash kdz on linux. Please search elsewhere on xda.
PS: Please change title to only "Lelus method". There is no cmahendra method. Lelus should be always mentioned first for his great work. I am not necessary. Thanks
Sent from my LG-P765 using xda app-developers app
It should work in a VM. If not you can make a windows partition and dual boot.
Sent from my LG-P760 using xda premium
cmahendra said:
Hi, at least I dont know any such flashing tool released by LG on linux platform. So without Update tool (flashing application) working on other things is useless. This tool is service center tool and not released for general public. They might be working only on windows.
But there could be some other command line methods to flash kdz on linux. Please search elsewhere on xda.
PS: Please change title to only "Lelus method". There is no cmahendra method. Lelus should be always mentioned first for his great work. I am not necessary. Thanks
Sent from my LG-P765 using xda app-developers app
Click to expand...
Click to collapse
Your guide is so helpful, I just naturally put your name on the method. The change has been done.
Hello.
I rooted my p760 v20c (open bootloader) with this method: http://forum.xda-developers.com/showthread.php?p=39114847.
+ flash supersu update.zip with cwm
Perhaps fastboot work with Linux.
Tablechair said:
It should work in a VM. If not you can make a windows partition and dual boot.
Sent from my LG-P760 using xda premium
Click to expand...
Click to collapse
I used the VM machine to flash an old Coby Kyros tablet. It worked for that, so I see no reason that it won't for the LG. It's just that things are so much simpler in Linux, no drivers or folderol like that.
ramrod said:
Hello.
I rooted my p760 v20c (open bootloader) with this method: http://forum.xda-developers.com/showthread.php?p=39114847.
+ flash supersu update.zip with cwm
Perhaps fastboot work with Linux.
Click to expand...
Click to collapse
I have a P769 with ICS - T-Mobile hasn't released JB, so it doesn't have an open bootloader. I don't think I can flash unsigned boot images.
Related
It would, at this time to be prepared for s-off, making sure you have all htc drivers install, sdk tools and the like, have you recovery.img ready to go and your supersu zip in the proper place, don't wait to the last minute to do this, then your ready to go.
I've been working on gathering everything up. I'm unlocked so I need to relock, install update, unlock and get root back yet. I've been holding off cause I hate to give up viper and go back to stock.
Where would one start? I don't know where to get sdk....not to mention how to use it. Do you think you could come up with a list of you have the time? Every phone I've rooted has had unlock tools (unrevoked for og Inc and alpha rev for Inc 2)
Linch89 said:
Where would one start? I don't know where to get sdk....not to mention how to use it. Do you think you could come up with a list of you have the time? Every phone I've rooted has had unlock tools (unrevoked for og Inc and alpha rev for Inc 2)
Click to expand...
Click to collapse
go to unlimited.io and you can get latest htc drivers and adb sdk tools too, they have links there. you can get recovery from hasoons tool. we don't have a root tool yet, it's coming.i should say s-off tool
as far as using adb and sdk tools, should be some instruction here somewhere, search the forums for it you should find it.
Thanks boss yeah I know no tool yet
Aldo101t said:
go to unlimited.io and you can get latest htc drivers and adb sdk tools too, they have links there. you can get recovery from hasoons tool. we don't have a root tool yet, it's coming.i should say s-off tool
as far as using adb and sdk tools, should be some instruction here somewhere, search the forums for it you should find it.
Click to expand...
Click to collapse
Do we need root tool, or can we just flash recovery then su binary?
Sent from my Nexus 7 using Tapatalk 2
jamminjon82 said:
Do we need root tool, or can we just flash recovery then su binary?
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
you can't flash recovery til you either get s-off or unlocked bootloader, you can't flash SU til you have recovery, so.
Aldo101t said:
you can't flash recovery til you either get s-off or unlocked bootloader, you can't flash SU til you have recovery, so.
Click to expand...
Click to collapse
I was saying once you have s-off
Sent from my DROID SPYDER using Tapatalk 2
I'd say get a ROM ready, once u get s-off, u can install recovery, then install a ROM.
the superuser root .zip is only needed if you plan to use the stock ROM.
I am so going to have to take my laptop to town to get to Wi-Fi to update Windows so I can root my phone.
To quote the juggernaut, "sh!t I've been ready to f!ck"
Sent from my DROID SPYDER using Tapatalk 2
Aldo101t said:
go to unlimited.io and you can get latest htc drivers
Click to expand...
Click to collapse
Whether I try to use the drivers from unlimited.io or the ones linked by jose51197 in the automatic unlock post I can't get them to install on my computer. I'm running 64-bit Windows 8 Release Preview Version 6.2 (Build 8400). OldNut5 mentioned that it worked for him on 64-bit Windows 8 Pro, so I don't think my operating system is the problem. As soon as the installer starts running, it shows an error message which reads:
Code:
The Driver Installer is not supported for this Operating System!
Has anyone else had this problem? I tried running it as administrator, as well as running it in compatibility mode for both Windows 7 and Windows XP (SP3), but it always produced the same error. Am I missing something obvious, or does this only work on the Pro version of Windows 8 for some reason?
altayh said:
Whether I try to use the drivers from unlimited.io or the ones linked by jose51197 in the automatic unlock post I can't get them to install on my computer. I'm running 64-bit Windows 8 Release Preview Version 6.2 (Build 8400). OldNut5 mentioned that it worked for him on 64-bit Windows 8 Pro, so I don't think my operating system is the problem. As soon as the installer starts running, it shows an error message which reads:
Code:
The Driver Installer is not supported for this Operating System!
Has anyone else had this problem? I tried running it as administrator, as well as running it in compatibility mode for both Windows 7 and Windows XP (SP3), but it always produced the same error. Am I missing something obvious, or does this only work on the Pro version of Windows 8 for some reason?
Click to expand...
Click to collapse
Drivers are designed to work for a specific operating system. I personally haven't been able to get a single driver for any device to work on Windows 8 that was designed for Windows 7. Vista drivers more often than not did work on Windows 7, though. Go figure.
In this thread, someone says they installed the most recent version of HTC Sync on Windows 8 and managed to get the drivers working. Try that.
EDIT: Just tried this on Windows 8 and it worked perfectly.
IceDragon59 said:
EDIT: Just tried this on Windows 8 and it worked perfectly.
Click to expand...
Click to collapse
Thanks a bunch! Installing HTC Sync didn't help, but this worked perfectly.
bleh, just use linux and you dont need to worry about drivers
nitsuj17 said:
bleh, just use linux and you dont need to worry about drivers
Click to expand...
Click to collapse
To be honest I dual-boot my computer and primarily use Ubuntu, but the automatic bootloader unlock guide was written for Windows with a handy zip of executables and a batch script, and I didn't want to have to figure out how to properly install adb on Ubuntu as well as risk messing something up if there happens to be a Linux-only issue.
It's nice to know that it should work on Ubuntu without any need for the drivers. I assume this is how I would have to install adb. It's a shame I can't just "sudo apt-get install adb" it...
altayh said:
To be honest I dual-boot my computer and primarily use Ubuntu, but the automatic bootloader unlock guide was written for Windows with a handy zip of executables and a batch script, and I didn't want to have to figure out how to properly install adb on Ubuntu as well as risk messing something up if there happens to be a Linux-only issue.
It's nice to know that it should work on Ubuntu without any need for the drivers. I assume this is how I would have to install adb. It's a shame I can't just "sudo apt-get install adb" it...
Click to expand...
Click to collapse
looks like a decent guide
Hello, I have a lg optimus l9 p769 runninc ics 4.0.4 its V10g and i need rooting assistance. I have tried many rooting software but none are working. I tried superoneclick, z4root and many more. I recently tried Root With Restore by Bin4ry and i tried both Runme.bat and Runme_L9.bat when i run as an admin, and i press root, it gives me all errors, when i run normally, I get to the part where im supposed to press restore on my phone, and when i press it it says "restoring..." and three seconds it says restore complete and it doesnt reboot or anything.
Unfortunately I'm a super noob at this stuff, I dont need root to flash roms i need it for apps.
If im doing anything wrong please inform me, I read in places that you have to unlock bootloader and stuff but i dont know what or how.
It'd be great if someone could post some steps and guidance.
Thanks
Ishi55 said:
Hello, I have a lg optimus l9 p769 runninc ics 4.0.4 its V10g and i need rooting assistance. I have tried many rooting software but none are working. I tried superoneclick, z4root and many more. I recently tried Root With Restore by Bin4ry and i tried both Runme.bat and Runme_L9.bat when i run as an admin, and i press root, it gives me all errors, when i run normally, I get to the part where im supposed to press restore on my phone, and when i press it it says "restoring..." and three seconds it says restore complete and it doesnt reboot or anything.
Unfortunately I'm a super noob at this stuff, I dont need root to flash roms i need it for apps.
If im doing anything wrong please inform me, I read in places that you have to unlock bootloader and stuff but i dont know what or how.
It'd be great if someone could post some steps and guidance.
Thanks
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2173465
Please read few threads before posting new thread. It is not practical for us to reply every newcomer to ask for reading.
I've already looked at all those forums. I'm not concerned with flashing ROMS. All I need is simple root access and I've tried all the methods yet to no avail. If I can get cwm recovery without root and then flash the root. Zip file it might work but I can't find any forum that explains it.
Sent from my LG-P769 using xda premium
Also I got really close with root with restore. Only problem was that my phone says Restoring... Then 3 secs later it says restore complete. No reboot no nothing. Any thoughts?
Sent from my LG-P769 using xda premium
Ishi55 said:
Also I got really close with root with restore. Only problem was that my phone says Restoring... Then 3 secs later it says restore complete. No reboot no nothing. Any thoughts?
Sent from my LG-P769 using xda premium
Click to expand...
Click to collapse
On P769 V10G, You cannot use old rooting method from Bin4ry, it only for some model and version (most 10A, 10B, 10C). You can only root your phone with cmahendra guide. And there are no easy one-click method to rooting our phone for now.
Ok I'll try that method. Thanks
Sent from my LG-P769 using xda premium
The commands written in your guide won't work. I ran as an administrator but it says 'C:\' isn't a internal or external command, operable program or batch file.
Sent from my LG-P769 using xda premium
Ishi55 said:
The commands written in your guide won't work. I ran as an administrator but it says 'C:\' isn't a internal or external command, operable program or batch file.
Sent from my LG-P769 using xda premium
Click to expand...
Click to collapse
this doesn't always work, but try moving the files to a different drive and replace c:/ with whatever the drive letter is. otherwise, wait till we get jelly bean and use that one click method.
Alright ill try that. Btw do you know when jb will come out for our phone?
Sent from my LG-P769 using xda premium
I followed cmahendra's guide step by step http://forum.xda-developers.com/show....php?t=2173465 to root my P769.
I'm trying to get this tool Minimal ADB and Fastboot installed on my PC, wan't to get rid of the large android-sdk folder. Problem is that I'm on Windows 8.1. Are there any drivers out for the Rezound that are compatible with my OS? I need the drivers so my phone is recognized.
xXezmacXx said:
I'm trying to get this tool Minimal ADB and Fastboot installed on my PC, wan't to get rid of the large android-sdk folder. Problem is that I'm on Windows 8.1. Are there any drivers out for the Rezound that are compatible with my OS? I need the drivers so my phone is recognized.
Click to expand...
Click to collapse
to put it lightly....no not really....most are made for windows 7...a google search may be able to help more....you may be able to do a compatability mode install but i cant guarantee itll work
HTC hasn't made drivers for any device on windows 8.1. Why not just use a linux live CD for your phone needs? Or just use linux all together, no need for drivers there
Sent from my dlx using xda app-developers app
Uzephi said:
HTC hasn't made drivers for any device on windows 8.1. Why not just use a linux live CD for your phone needs? Or just use linux all together, no need for drivers there
Sent from my dlx using xda app-developers app
Click to expand...
Click to collapse
Thx for the advice but I wouldn't even know where to begin. I'm pretty tech Davy but computer's, os, aren't really my strong point. Even ubuntu scares me lol.
Sent from my ADR6425LVW using Tapatalk
There are some noob friendly distros out there for the beginner who knows nothing about linux. Almost all linux distros have live CDs to try them out before install.
Sent from my dlx using xda app-developers app
I am using this: http://forum.xda-developers.com/showthread.php?p=45417322
For adb and fastboot stuff, and I'm running Win8.1.
Sent from my ADR6425LVW using Tapatalk
tmanschuette said:
I am using this: http://forum.xda-developers.com/showthread.php?p=45417322
For adb and fastboot stuff, and I'm running Win8.1.
Click to expand...
Click to collapse
Thanks for posting that link here. I know the Rezzy is a dying breed, but I still have mine, and I always have a heck of a time getting my Windows 8-OS computer to recognize my device correctly. The tool pointed to in your link seems to keep adb/fastboot updated as well.
I'm already rooted, but I started up the app as administrator connected the phone, refreshed in the About Phone tab, and lo and behold, it recoginized it. The only test I ran was to boot into the bootloader using the tool. No problems. Hope other tasks go just as well...
cheers,
john
Uzephi said:
HTC hasn't made drivers for any device on windows 8.1. Why not just use a linux live CD for your phone needs? Or just use linux all together, no need for drivers there
Click to expand...
Click to collapse
so just running a live disc can connect me with fastboot commands?
I imagine this is consistent for all of the android phones I'm tinkering and learning with (rezound, one, s3)?
sockaplaya14 said:
so just running a live disc can connect me with fastboot commands?
I imagine this is consistent for all of the android phones I'm tinkering and learning with (rezound, one, s3)?
Click to expand...
Click to collapse
if trying to obtain s-off or flashing anything via fastboot via linux my guide is what you will need bud....seeing as windows 8 still has many bugs and issues...
REV3NT3CH said:
if trying to obtain s-off or flashing anything via fastboot via linux my guide is what you will need bud....seeing as windows 8 still has many bugs and issues...
Click to expand...
Click to collapse
I have to agree with this... use the Linux version and boot via a live CD.
jrredho said:
The only test I ran was to boot into the bootloader using the tool.
Click to expand...
Click to collapse
Since the time of my original post in this thread, I've now tried to use fastboot commands. No dice. This all-in-one is definitely not a panacea for Win8.1 users.
So I'd have to agree with other users in this thread: Use a Linux variant for your work on HTC phones. Adb and fastboot are line commands for Heaven's sake, so most tasks won't require one to learn and understand the ins and outs of Linux.
Good luck,
john
jrredho said:
Since the time of my original post in this thread, I've now tried to use fastboot commands. No dice. This all-in-one is definitely not a panacea for Win8.1 users.
So I'd have to agree with other users in this thread: Use a Linux variant for your work on HTC phones. Adb and fastboot are line commands for Heaven's sake, so most tasks won't require one to learn and understand the ins and outs of Linux.
Good luck,
john
Click to expand...
Click to collapse
or downgrade to windows 7...lol
Install TWRP 2.3.6.2 in the simplest fashion
How to Install
It will require that drivers be installed and the device must be rootedDownload the file and unpack itUSB debugging must be enabled and connect the Gpad as MTPclick to run it with the right mouse button as an Administrator and follow the instructions for connection type "yes" to the recovery to start or "no" for exit
Download TWRP 2.6.3.2 installer
This is the easiest way without any write or copy something and paste to install TWPR 2.6.3.2.I have tested it with 10a/b/c and with Windows 7 64 bit it works great
Use only at your own risk, I take no responsibility if your device is damaged!
Sorry for my bad English!
Thanks a lot for this! Worked great on my new g pad.
Doesn't work for me ...
badaboumcrac said:
Doesn't work for me ...
Click to expand...
Click to collapse
It did work for me when I didn't run it as administrator.
Sent from my LG-V500 using Tapatalk
badaboumcrac said:
Doesn't work for me ...
Click to expand...
Click to collapse
Run as administrator? Which operating system?
Doesn't work for me either, unpacked as said, I have a rooted Gpad with USB-debugging enabled, MTP-mode, but it says that ADB isn't recognized as an batchfile or program...or something (translated from dutch...)
michd2 said:
Doesn't work for me either, unpacked as said, I have a rooted Gpad with USB-debugging enabled, MTP-mode, but it says that ADB isn't recognized as an batchfile or program...or something (translated from dutch...)
Click to expand...
Click to collapse
I had the same problem. I solved it by not running it as administrator.
Sent from my LG-V500 using Tapatalk
Worked perfectly on windows 8.1...Thank you.
You weren't kidding. This was EASY!!!!!! Thanks!!!!!!!!
Work on my V500
This method worked flawlessly thumbs up for the developer!!
Sent from my LG-V500 using xda app-developers app
Very easy to do! Thanks!
Sent from my LG-V500 using Tapatalk
Worked perfect. Crazy simple. Did NOT run as administrator. Windows 8.1 64 bit.
Just installed and doing a nandroid backup.
Just had to run it without admin rights.
Win8.1 64 bit on macbook pro.
made this little video on this install process to get TWRP on your device hope it helps some noobs out
TWRP RECOVERY INSTALL VIDEO
please put the video in the OP if you think it will help
OOPS.
Is this twrp the same as the other one posted in the forum? Just an easier install for this one?
Thanks for this script... Today was a lazy day
Thanks for this. Not tried it yet as I already installed a version of TWRP, but can you update it to flash 2.7 that was announced today / yesterday?
Is the device repo to build this TWRP public?
Hi forum,
Just wondereing if there is a method to unlock a redmi note 3 using a version of linux?
I dont have access to a windows system
Have you tried making miflash work with wine?
thanks for the reply - I've not tried with wine.
Could be an option - or perhaps VirtualBox.
Just hoped there might be another solution that someone knows.
paulsmith288 said:
thanks for the reply - I've not tried with wine.
Could be an option - or perhaps VirtualBox.
Just hoped there might be another solution that someone knows.
Click to expand...
Click to collapse
Vbox stinks, the device may not be detected due to the fact that that's a virtual USB controller in it. And make sure you have a 64bit system
Only adb and fastboot after bootloader unlock, nothing other work on Linux.
This is the reason, why I got dualboot.
Yes it is true that only adb and fastboot work perfectly in linux.
paulsmith288 said:
Hi forum,
Just wondereing if there is a method to unlock a redmi note 3 using a version of linux?
I dont have access to a windows system
Click to expand...
Click to collapse
Did you manage to do it with linux ?
I don't want to install windows just for this.
Hello. I have just successfully unlocked my Mi5 from Linux. The tool I used is MiUnlockTool - it is an unofficial tool which replicates the official one, but is written in Java and hence is cross-platform.
One notice: if you launch the tool using the included .sh script, it will require root privileges. But on my system, root is not required for fastboot. So I launched it directly as "java -jar bin/MiUnlockTool.jar" and it worked like a charm.
paulsmith288 said:
Hi forum,
Just wondereing if there is a method to unlock a redmi note 3 using a version of linux?
I dont have access to a windows system
Click to expand...
Click to collapse
Hi,
Here is a great way to do it. Maybe it will help - works on Linux
https://forum.xda-developers.com/t/guide-vm-xiaomi-unlock-bootloader-using-linux-and-mi-unlock-tool-or-any-other-virtual-machine.4569985/