[Q] Really nervous about accidentally bricking, so just some cautionary questions... - Sprint LG Optimus G

So I have an Optimus G LS970, added a couple apps, but other than that it's pretty basic. I'm wanting to root this device and eventually add a custom rom on it perhaps, but I've very new to this and don't want to accidentally brick my device.
1) I've been looking for stable linux rooting methods, the only one I've found that looks promising is here, but it's 2 years old. Does anyone know anything about it's stability for android 4.1.2, kernel 3.4.0?
2) In order to transfer files (music, pictures, pdfs/ebooks) to/from my device it needs to be mounted, but I haven't been able to mount it for this (or any other) purpose at all. It shows up as connected (command "lsusb" shows "Bus 002 Device 028: ID 1004:631d LG Electronics, Inc.") but it won't mount. Will this be possible once rooted, or is there some other cause to this?
3) Once rooted, I want to get rid of some of the Preinstalled apps but I'm not sure which will lead to instability and which would be fine to remove, does anyone know where I can check this, or would I just need to list all the apps I don't want on my phone and have you all tell me on an app-by-app basis which is safe to remove?
4) Lastly, when it comes to using alternative app markets, I haven't had much luck. I was trying to test using alt stores with f-droid and nothing showed in the lists, so I don't know if that's a thing with f-droid or my device. Is there anything you need to do to use alt app stores aside from enabling it in the system settings, and installing the app store's .. app?
Thanks in advance!

JustAk said:
So I have an Optimus G LS970, added a couple apps, but other than that it's pretty basic. I'm wanting to root this device and eventually add a custom rom on it perhaps, but I've very new to this and don't want to accidentally brick my device.
1) I've been looking for stable linux rooting methods, the only one I've found that looks promising is here, but it's 2 years old. Does anyone know anything about it's stability for android 4.1.2, kernel 3.4.0?
2) In order to transfer files (music, pictures, pdfs/ebooks) to/from my device it needs to be mounted, but I haven't been able to mount it for this (or any other) purpose at all. It shows up as connected (command "lsusb" shows "Bus 002 Device 028: ID 1004:631d LG Electronics, Inc.") but it won't mount. Will this be possible once rooted, or is there some other cause to this?
3) Once rooted, I want to get rid of some of the Preinstalled apps but I'm not sure which will lead to instability and which would be fine to remove, does anyone know where I can check this, or would I just need to list all the apps I don't want on my phone and have you all tell me on an app-by-app basis which is safe to remove?
4) Lastly, when it comes to using alternative app markets, I haven't had much luck. I was trying to test using alt stores with f-droid and nothing showed in the lists, so I don't know if that's a thing with f-droid or my device. Is there anything you need to do to use alt app stores aside from enabling it in the system settings, and installing the app store's .. app?
Thanks in advance!
Click to expand...
Click to collapse
All of your questions are answered here. http://forum.xda-developers.com/showthread.php?t=2050582
And the FAQ.
1. See above
2. Install the LG drivers, link is in that OP, then tick MPT. That should transfer your files. If not, you may need to uninstall, then reinstall them.
3. DO NOT remove any apps unless you unlock! Info is in that link also.
4. I have no idea on that one.
Sent from my LG-LS970 using XDA Premium 4 mobile app

engine95 said:
All of your questions are answered here. http://forum.xda-developers.com/showthread.php?t=2050582
And the FAQ.
1. See above
2. Install the LG drivers, link is in that OP, then tick MPT. That should transfer your files. If not, you may need to uninstall, then reinstall them.
3. DO NOT remove any apps unless you unlock! Info is in that link also.
4. I have no idea on that one.
Sent from my LG-LS970 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
1) *EDIT* [Doesn't say anything about linux rooting, how am I supposed to install a windows drive on a linux system?] I overlooked the linux mention. Thanks! Can't find something. How/where do I find adb?
2) Ignore, see 1) [Again, how am I supposed to install the Windows driver in linux?]
3) Thanks for that. I didn't know the importance of unlocking the bootloader.

JustAk said:
1) *EDIT* [Doesn't say anything about linux rooting, how am I supposed to install a windows drive on a linux system?] I overlooked the linux mention. Thanks! Can't find something. How/where do I find adb?
2) Ignore, see 1) [Again, how am I supposed to install the Windows driver in linux?]
3) Thanks for that. I didn't know the importance of unlocking the bootloader.
Click to expand...
Click to collapse
Sorry bout that. Linux drivers are native, so they're anyway installed.
You use either fiddy629 root for Linux, or Framaroot.
Sent from my LG-LS970 using XDA Premium 4 mobile app
---------- Post added at 10:53 PM ---------- Previous post was at 10:51 PM ----------
Edit. You don't have to have ADB, but there's alot of info if you google it.
Sent from my LG-LS970 using XDA Premium 4 mobile app

engine95 said:
Sorry bout that. Linux drivers are native, so they're anyway installed.
You use either fiddy629 root for Linux, or Framaroot.
Sent from my LG-LS970 using XDA Premium 4 mobile app
---------- Post added at 10:53 PM ---------- Previous post was at 10:51 PM ----------
Edit. You don't have to have ADB, but there's alot of info if you google it.
Sent from my LG-LS970 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I tried fiddy619's thing here using the universal linux one. It asked me for ADB. Found that debian has "android-tools-adb" so I installed that, now there's this:
Code:
Using: /usr/bin/adb
Waiting for device... Connect your LGOG via USB in Charge Only Mode
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Device found
Beginning Root Process
Disconnect your phone from USB
Disable USB Debugging
Enable USB Debugging
Press enter to Continue
I can't tell if this is telling me to do these things, or if it's saying it already did them. Any idea?

JustAk said:
I tried fiddy619's thing here using the universal linux one. It asked me for ADB. Found that debian has "android-tools-adb" so I installed that, now there's this:
Code:
Using: /usr/bin/adb
Waiting for device... Connect your LGOG via USB in Charge Only Mode
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Device found
Beginning Root Process
Disconnect your phone from USB
Disable USB Debugging
Enable USB Debugging
Press enter to Continue
I can't tell if this is telling me to do these things, or if it's saying it already did them. Any idea?
Click to expand...
Click to collapse
Nevermind that, I got it working just fine. took o nly a couple seconds and it was done. Now I have "SuperSU" in my apps menu, so I'm guessing it worked.

JustAk said:
Nevermind that, I got it working just fine. took o nly a couple seconds and it was done. Now I have "SuperSU" in my apps menu, so I'm guessing it worked.
Click to expand...
Click to collapse
Awesome, glad to hear it worked! Which if you have SuperSU it should have. I too only use linux(Linux Mint specifically) and while most guides are made for Windows, things are usually easier from the linux terminal because we don't need to download drivers, android uses a modified linux kernel, etc. Welcome to the forums, glad to have you here! All the info you need is here and plenty of people will be glad to help(as engine has already demonstrated). As for the alternative app markets, Ive read plenty and tested a few but really, nothing comes close to the play store. On our phone Banks Gapps is the standard google apps package to install if you are flashing a custom rom. Just make sure you get the correct version of gapps for the version of android your rom is based on.

HPTesla said:
Awesome, glad to hear it worked! Which if you have SuperSU it should have. I too only use linux(Linux Mint specifically) and while most guides are made for Windows, things are usually easier from the linux terminal because we don't need to download drivers, android uses a modified linux kernel, etc. Welcome to the forums, glad to have you here! All the info you need is here and plenty of people will be glad to help(as engine has already demonstrated). As for the alternative app markets, Ive read plenty and tested a few but really, nothing comes close to the play store. On our phone Banks Gapps is the standard google apps package to install if you are flashing a custom rom. Just make sure you get the correct version of gapps for the version of android your rom is based on.
Click to expand...
Click to collapse
Ah. brilliant, thanks!
The only problem I'm now having is getting the phone to connect to my computer so I can transfer music or ebooks or whathaveyou to/from my device. I've gone through the arch wiki for android (even though I'm running debian) and this forum postt but I keep getting an error:
Code:
$ android-connect
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. V909 G-Slate.
Found 1 device(s):
LG Electronics Inc.: V909 G-Slate (1004:61f9) @ bus 2, dev 8
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1
I can start a separate thread regarding this issue, but if you have any insight, figured it couldn't hurt to ask real quick.

JustAk said:
Ah. brilliant, thanks!
The only problem I'm now having is getting the phone to connect to my computer so I can transfer music or ebooks or whathaveyou to/from my device. I've gone through the arch wiki for android (even though I'm running debian) and this forum postt but I keep getting an error:
Code:
$ android-connect
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. V909 G-Slate.
Found 1 device(s):
LG Electronics Inc.: V909 G-Slate (1004:61f9) @ bus 2, dev 8
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1
I can start a separate thread regarding this issue, but if you have any insight, figured it couldn't hurt to ask real quick.
Click to expand...
Click to collapse
This may or may not help, but when I've had issues with Linux hooking up I've had to format my SD. Something gets stuck in there that Linux just didn't like.
Sent from my LG-LS970 using XDA Premium 4 mobile app

JustAk said:
Ah. brilliant, thanks!
The only problem I'm now having is getting the phone to connect to my computer so I can transfer music or ebooks or whathaveyou to/from my device. I've gone through the arch wiki for android (even though I'm running debian) and this forum postt but I keep getting an error:
Code:
$ android-connect
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. V909 G-Slate.
Found 1 device(s):
LG Electronics Inc.: V909 G-Slate (1004:61f9) @ bus 2, dev 8
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1
I can start a separate thread regarding this issue, but if you have any insight, figured it couldn't hurt to ask real quick.
Click to expand...
Click to collapse
Are you doing this with the phone turned on and booted into the os? It gives you a PTP error first, make sure the phone is in MTP. At the bottom you also have a LIBMTP error tho. I don't have much experience with debian but from what I understand it is extremely stable but the downside is that it can be a bit out of date at times. Ubuntu and all ubuntu derivatives had a major mtp flaw awhile back but it has since been fixed. Im not sure if it has been fixed in debian. Yes ubuntu is based off of debian, but just like linux mint will add things to the ubuntu base, ubuntu will do the same to the debian base. So LIBMTP MAY be out of date, Im not sure. I know that I have no problem seeing my phone from either the terminal or file browser. Check this out and see if it helps any.
If not you may have to follow engine's advice and format the sd.
EDIT: Also this might work, it is for linux mint but adding the repository and installing it should work on debian(I think) since they all use .deb files. Before ubuntu officially supported mtp by default this was the most popular work around.

HPTesla said:
Are you doing this with the phone turned on and booted into the os? It gives you a PTP error first, make sure the phone is in MTP. At the bottom you also have a LIBMTP error tho. I don't have much experience with debian but from what I understand it is extremely stable but the downside is that it can be a bit out of date at times. Ubuntu and all ubuntu derivatives had a major mtp flaw awhile back but it has since been fixed. Im not sure if it has been fixed in debian. Yes ubuntu is based off of debian, but just like linux mint will add things to the ubuntu base, ubuntu will do the same to the debian base. So LIBMTP MAY be out of date, Im not sure. I know that I have no problem seeing my phone from either the terminal or file browser. Check this out and see if it helps any.
If not you may have to follow engine's advice and format the sd.
EDIT: Also this might work, it is for linux mint but adding the repository and installing it should work on debian(I think) since they all use .deb files. Before ubuntu officially supported mtp by default this was the most popular work around.
Click to expand...
Click to collapse
The first thing you linked to (steneteg.org or somesuch) was another avenue I went down trying to solve this, but alas it resulted with much the same problems. The second link to the linuxmint forums looked very promising, the only problem with it is the ppa has been dropped by webupd8 so it no longer is available (404s).
I have just discovered earlier today that adb push/pull works for getting things onto/off of my device, but I can't use adb to mount the device to allow it to be seen with a filemanager (thunar in this case). So, that's progress I think.
EDIT : I just saw mention somewhere of androidair, have yyou any experience with this app's reliability/security?

JustAk said:
The first thing you linked to (steneteg.org or somesuch) was another avenue I went down trying to solve this, but alas it resulted with much the same problems. The second link to the linuxmint forums looked very promising, the only problem with it is the ppa has been dropped by webupd8 so it no longer is available (404s).
I have just discovered earlier today that adb push/pull works for getting things onto/off of my device, but I can't use adb to mount the device to allow it to be seen with a filemanager (thunar in this case). So, that's progress I think.
EDIT : I just saw mention somewhere of androidair, have yyou any experience with this app's reliability/security?
Click to expand...
Click to collapse
You can try searching for other places where go-mptfs is located, other ppas where it still might be. The ubuntu forums also has this as a possible solution. I haven't used androidair but I have moved files over wifi using the sshdroid app and an ssh server on my pc with great success. If you have any experience with ssh that could be a possible solution although it is obviously slower than usb. But ssh in general is a simple and great tool, also pretty secure since you are simply connected to your home wifi - as long as your wifi is secure you should be fine.
On my pc I believe its openssh that I use - plenty of tutorials out there for that - and here is the link to sshdroid in the play store. Hope this helps!
EDIT: I will also be at work until 2p.m. EST so may not be able to reply back until then - don't worry, I will as soon as I get home if you have any other issues.

Related

Help with linux

Ok before anyone asks, Yes I did read the linux threads. Problem is my windows box no longer works. I had to take my slide back to stock before i carried it to tmobile. I had it rooted. Now I am trying to re-root it in ubuntu 10 and im not having any luck getting ADB to connect to the slide while in recovery. I am a complete newb to linux. I do have ADB working because I can adb to the device while it is booted into its normal state(OS loaded).
Was wondering if anybody can lend me a point in the right direction so to speak.
So ADB is working but only while booted into the normal OS.
Crap. Time to see if I can fix my winblows Box then!
Thank's
sultan.of.swing said:
Crap. Time to see if I can fix my winblows Box then!
Click to expand...
Click to collapse
You do realize that there are a lot of other distributions out there other than Ubuntu? Ubuntu is easy, yes, but almost too easy. You're not going to learn anything about Linux with that disguise around it. Besides, openSUSE 11.3 was just released and it has YaST: the best system configuration tool ever. It's almost as easy as Ubuntu. Try it out: http://software.opensuse.org/113/en.
More specifically though, I personally use openSUSE 11.3 and it plays nicely with ADB and rooting with the ADB race exploit (which, for the record, is what you're trying to do).
Ok say I install openSUSE 11.3. Will I have to do any hackery to get adb running? I'm not well trained on linux. But from last nights experience I know how to work with the terminal and nautilus
Sent from my T-Mobile myTouch 3G Slide using XDA App
sultan.of.swing said:
Ok say I install openSUSE 11.3. Will I have to do any hackery to get adb running? I'm not well trained on linux. But from last nights experience I know how to work with the terminal and nautilus
Click to expand...
Click to collapse
No, nothing other than what you did on Ubuntu. Just install ADB using the Android SDK from their website and plug in your phone to your computer. Done.
Also of note, when you install openSUSE it defaults to KDE as your desktop environment. If you want Gnome, select it during install. Nautilus isn't present in KDE, but it has Konqueror (which is arguably better). Personally I use KDE, but I have a bias towards it since I was a developer for it long ago. Flamewars rage, have raged, and will always continue to rage about what is better: KDE or Gnome. There's no clear answers, but most of KDE's recent bad publicity was due to its 4.0 and 4.1 releases. 4.2 is much better and it can be greatly appreciated.
That being said, you can use Nautilus in KDE if you want as well as Pidgin (Kopete is dieing and doesn't really work anymore).
nbetcher said:
No, nothing other than what you did on Ubuntu. Just install ADB using the Android SDK from their website and plug in your phone to your computer. Done.
Also of note, when you install openSUSE it defaults to KDE as your desktop environment. If you want Gnome, select it during install. Nautilus isn't present in KDE, but it has Konqueror (which is arguably better). Personally I use KDE, but I have a bias towards it since I was a developer for it long ago. Flamewars rage, have raged, and will always continue to rage about what is better: KDE or Gnome. There's no clear answers, but most of KDE's recent bad publicity was due to its 4.0 and 4.1 releases. 4.2 is much better and it can be greatly appreciated.
That being said, you can use Nautilus in KDE if you want as well as Pidgin (Kopete is dieing and doesn't really work anymore).
Click to expand...
Click to collapse
To get ADB installed and running on Ubuntu I had to follow the guide posted here on XDA which involved some editing here and there. If its the same in openSUSE then I should be able to get it running. Thank's for your help and I am going to probably go ahead and download and install openSUSE. I need to learn linux anyway.
EDIT- Whew, 4gb. Guess I will let this download tonight and come back tomorrow night and install and try it again.
sultan.of.swing said:
To get ADB installed and running on Ubuntu I had to follow the guide posted here on XDA which involved some editing here and there. If its the same in openSUSE then I should be able to get it running. Thank's for your help and I am going to probably go ahead and download and install openSUSE. I need to learn linux anyway.
EDIT- Whew, 4gb. Guess I will let this download tonight and come back tomorrow night and install and try it again.
Click to expand...
Click to collapse
Strange, the SDK worked out-of-the-box for me on openSUSE 11.3 - no editing of anything required.
And yeah, it's 4GB - that is the entire repository. Ubuntu gives you a smaller CD (as opposed to a DVD) then allows you to download anything else you want later. Personally I prefer the DVD, but I also have a 20mbit connection.
nbetcher said:
Strange, the SDK worked out-of-the-box for me on openSUSE 11.3 - no editing of anything required.
And yeah, it's 4GB - that is the entire repository. Ubuntu gives you a smaller CD (as opposed to a DVD) then allows you to download anything else you want later. Personally I prefer the DVD, but I also have a 20mbit connection.
Click to expand...
Click to collapse
Well hopefully I wont have to do any editing to get it to work either.
It's downloading at 400kb/s about 3 hours to download so it aint gonna take that long.
Thank's for your help. If I didn't have work tomorrow I would be up late setting all this up because my slide without root just plain suck's. LOL
sultan.of.swing said:
Well hopefully I wont have to do any editing to get it to work either.
It's downloading at 400kb/s about 3 hours to download so it aint gonna take that long.
Thank's for your help. If I didn't have work tomorrow I would be up late setting all this up because my slide without root just plain suck's. LOL
Click to expand...
Click to collapse
i hear ya. I'll be on late tomorrow on IRC (irc.fredenode.net #teamslide) and i can help you with anything Linux related.
nbetcher said:
i hear ya. I'll be on late tomorrow on IRC (irc.fredenode.net #teamslide) and i can help you with anything Linux related.
Click to expand...
Click to collapse
Awesome. I'm gonna try to do everything by myself and if all that fails then I'm sure I will need some help. I hate having to ask for help. I usually search and find the answers I am looking for so hopefully that will be the case once all this is up and running.
P.S.-- If the Mod's would like to move this thread to the Q&A/General section then feel free. I only posted it here because no one ever seems to look at the linux thread over in Q&A.
Well I'm sitting here trying to install openSUSE and its not working. It goes though all its checks at the beginning and then just goes to a black screen and stays there.
Sent from my T-Mobile myTouch 3G Slide using XDA App
sultan.of.swing said:
Well I'm sitting here trying to install openSUSE and its not working. It goes though all its checks at the beginning and then just goes to a black screen and stays there.
Click to expand...
Click to collapse
It sounds like it's an X display issue which is surprising in all honesty. What kind of computer do you have? If it's a custom built what is the video card (or if you know the video card and it is a pre-built)?
nbetcher said:
It sounds like it's an X display issue which is surprising in all honesty. What kind of computer do you have? If it's a custom built what is the video card (or if you know the video card and it is a pre-built)?
Click to expand...
Click to collapse
Its an older prebuilt hewlett crappard. I got out of building custom computers a while ago.
Anyway I got installing now using text mode. Its at 83 percent right now. Will see what happens.
Ok wtf. It finished installing, then rebooted and says something about hard disk not found or something.
Sent from my T-Mobile myTouch 3G Slide using XDA App
sultan.of.swing said:
Ok wtf. It finished installing, then rebooted and says something about hard disk not found or something.
Click to expand...
Click to collapse
Do you have two hard drives? Like, one Windows and one Linux? Also, check your boot order in your BIOS (especially if you have two hard drives).
nbetcher said:
Do you have two hard drives? Like, one Windows and one Linux? Also, check your boot order in your BIOS (especially if you have two hard drives).
Click to expand...
Click to collapse
Nope just one drive and I set it up as the first boot device. Guess its time to see if I can find my windows disk.
Sent from my T-Mobile myTouch 3G Slide using XDA App
sultan.of.swing said:
Nope just one drive and I set it up as the first boot device. Guess its time to see if I can find my windows disk.
Click to expand...
Click to collapse
*shrug* I won't stop you from running Windows if you want.
Sometimes certain drivers can interfere with the proper tagging of the drives - most of the has been eliminated which is why I'm surprised to see that issue at all anymore. What I would try first though is making sure that you're NOT booting from the openSUSE DVD when you reboot after that install. Remove the DVD, then boot from your hard drive directly.
If that doesn't fix it then if you're interested you can do this:
Boot into 'Rescue' from the DVD.
Once loaded and at login type 'root' (it won't ask for a password).
Type 'dmesg |more' and look for your hard drive (press 'Space' to go down one-by-one page - it will take a few pages before you get to what you're looking for) immediately followed by something like "sda sda1 sda2 sda3". (The 'a' may be different for you and THAT is what we're looking for).
Once you have that changed letter (e.g. instead of 'sda' you have 'sdb' or 'sdc') type: 'fdisk /dev/sdX' where 'X' is the changed letter.
Then look for the first line that says 'Linux' to the right of it - it will most likely be THE first line. Make note of that number next to '/dev/sdXN' (where 'N' is the number).
Reboot (you can hard reset if you want) and make sure your openSUSE DVD isn't in the drive. Once the boot menu comes up press ESC, then Enter.
In that menu press 'e', then change where it says change 'root=/dev/blahblahblah' to 'root=/dev/sdXN' (where X and N are what you recorded earlier).
Press 'Enter' then 'b'
See if that works.
Otherwise, enjoy the next several hours of installing Windows, Windows patches, applications, and configuration of everything.
EDIT: keep in mind that all of those instructions are from memory, so YMMV
EDIT2: Eh, I had the dmesg grep wrong. Updated to make it a bit more painful, but actually work
An example of the lines in the dmesg you're looking for is something like:
[ 2.640793] scsi 3:0:0:0: Direct-Access ATA HDS728080PLAT20 PF2O PQ: 0 ANSI: 5
[ 2.641334] sd 3:0:0:0: [sdb] 160836480 512-byte logical blocks: (82.3 GB/76.6 GiB)
[ 2.641459] sd 3:0:0:0: [sdb] Write Protect is off
[ 2.641465] sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 2.641523] sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or F
UA
[ 2.641901] sdb: sdb1 sdb2 sdb3
I'm trying a different install this time. Set up the formatting to see if it will make a difference. If not I will try your method. I was booting without the dvd in the drive as well. I booted into recovery before and tried a bunch of different passwords and what not and decided to try root and that brought up a bunch of stuff I couldn't comprehend. now I know. Lol
Let's see what doesn't happen!
Sent from my T-Mobile myTouch 3G Slide using XDA App
Well it got farther this time. Now its at the yast2 installation screen. Getting somewhere now.
Got a green from now! And bam I'm on the desktop!!!!
NICE!
Ok how the F do I get my internet working? I went through the network settings but it still don't work
Sent from my T-Mobile myTouch 3G Slide using XDA App
razr315 said:
I completed the installation, but of course my wireless card isnt working. Normally on ubuntu it has an option to enable them. I cant seem to find it in Suse.
Click to expand...
Click to collapse
Same here can't seem to get my internet working. With ubuntu it worked automagically. I'm wired too
Sent from my T-Mobile myTouch 3G Slide using XDA App
razr315 said:
Im wired and on the net now. I just cant be wired up on my laptop the whole time. Id much rather get wireless working.
Click to expand...
Click to collapse
How did u get your wired connection working if u don't mind me asking
Sent from my T-Mobile myTouch 3G Slide using XDA App

[PROGRAM] Heimdall - Open-Source Cross-Platform Flashing Suite (1.4.0 Now Available)

What is Heimdall?
Heimdall is a cross-platform open-source tool suite used to flash ROMs onto Samsung Galaxy S devices.
How does it work?
Heimdall uses the same protocol as Odin to interact with a device in download mode. USB communication in Heimdall is handled by the popular open-source USB library, libusb-1.0.
Why “Heimdall”?
The flashing software Odin is named after the king of gods in Norse mythology. Loke, the software component on the Galaxy S that provides functionality to flash, may also to be named after an important character in Norse mythology, often translated as Loki. As such I have named my flashing software Heimdall, after the Norse god, and guardian of the Bifrost Bridge.
What platforms does Heimdall run on?
Linux, OS X and Windows (XP, Vista, 7 etc.)
Why use Heimdall when we can use Odin?
Odin is generally unreliable and only runs on Windows systems. Furthermore, Odin is leaked Samsung software that is not freely available or well understood by the community.
Is Heimdall safe?
No matter what method you chose, flashing firmware onto your phone has a lot of potential for disaster. We have tested Heimdall with a variety of phones flashing several different firmware versions resulting in a 100% success rate. As such we believe that Heimdall is generally reliable. However keep in mind, just like any flashing software, Heimdall has the potential to brick your phone if not used correctly.
How do Galaxy S phones get bricked when flashing?
Besides the inherent risks like power outs, accidental removal of the USB cable etc. The Galaxy S appears to be running extremely unreliable USB control software.
A failure to flash does not automatically equate to a bricked phone. However if you're extremely unlucky and the flash fails whilst transferring the primary boot-loader, secondary boot-loader or params.lfs (all quite small) than you've got yourself a paper weight that you're hoping Samsung will replace.
Please be extremely careful mixing files from different firmware releases. Don't do so unless you're certain it will work!
What Galaxy S variants has Heimdall been tested with?
We’ve tested Heimdall with a Galaxy S GT-I9000 (8 GB) from the United Kingdom and Galaxy S GT-I9000 (16 GB) from Australia. We don’t personally have access to any other devices to test with, however users have confirmed Heimdall functions correctly with the AT&T Captivate, Bell Vibrant, Telstra GT-I9000T, Epic 4G and the Galaxy Tab.
Enough talk, where can we get it?
The latest release is available here. Please read the instructions and README files included in the archives.
I love you, man. Will you have my baby?
No, but I will very gladly accept donations. If you appreciate my work and would like to support future development you can make a donation here. If you think you have something else to offer, then feel free to shoot me a PM or contact me via the contact form on the Glass Echidna website.
Sounds interesting.. Certainly something to watch in the future..
for linux? YES! i love u
Kudos for you! wow it looks impressive
A question though....
the instructions seems to be very... Windows oriented.
What about Linux or MAC OS?
Do we need to run it with WINE, or just run it as a DOS executable?
same question for MAC OS, you know people in MAC are so used to plug and play, If i were a MAC user i'll just plug my phone in, and expect to run Heimdall by click on it and have it come up.
However at the moment it seems to require Windows emulation for it to run.
Thanks guys.
Also, I forgot to add in the README that you also need the same PIT file as the one that is installed on your device, probably version 512.
I can see by my website's bandwidth usage that people have been downloading the alpha. Has anyone tested it yet?
AllGamer said:
the instructions seems to be very... Windows oriented.
What about Linux or MAC OS?
Do we need to run it with WINE, or just run it as a DOS executable?
same question for MAC OS, you know people in MAC are so used to plug and play, If i were a MAC user i'll just plug my phone in, and expect to run Heimdall by click on it and have it come up.
However at the moment it seems to require Windows emulation for it to run.
Click to expand...
Click to collapse
The alpha release is just the Windows binaries. Whilst the source code certainly compiles for OS X and Linux I want to make sure that everything is running fine on Windows first, with Odin nearby if need be.
Benjamin Dobell said:
The alpha release is just the Windows binaries. Whilst the source code certainly compiles for OS X and Linux I want to make sure that everything is running fine on Windows first, with Odin nearby if need be.
Click to expand...
Click to collapse
ahh, Good to know, i was worried there for a second
I can't test it yet, my phone hasn't come back from repair.
i'll help test as soon as my phone is back.
go public linux binary too, else ppl will use odin instead your and you wont receive much feeback as much as if you release linux binaries.
husq510 said:
go public linux binary too, else ppl will use odin instead your and you wont receive much feeback as much as if you release linux binaries.
Click to expand...
Click to collapse
I know it's a pain that Linux users have to wait (as usual). As much as I do want feedback, I don't want feedback from Linux users saying that the flash failed for some reason and that they don't have access to Windows/Odin.
I'm not actually sure if I'll ever release Linux binaries as binary compatibility across multiple Linux distributions is problematic. Of course once I've confirmed everything is working on other peoples' devices, what phone models are supported etc. then I will release the source code with instructions to compile for all supported platforms.
EDIT: Has Heimdall really been downloaded ~45 and no-one has bothered to install and run it?
I'm having trouble with the following step:
4. Under Universal Serial Bus Controllers right click on the Samsung composite driver and chose Properties.
I don't have such device in device manager.
Windows 7 x86
very cool stuff, thank you a lot!!!
first of all. i am a linux only user and had to run odin on a virtual box which is a pain in the ass but i fully understand your argument to first only release a windoze version to get it out of alpha state.
now, while i know that it's also possible to brick the device with odin and i have flashed several times now. i am a little afraid to try heimdall (to be honest). did you implement the additional security measures (delay+resend) after you bricked your device or before? you wrote that heimdall supports only full firmware flashes atm. it would be cool if we could also use it to just flash a kernel. any plans to implement this?
thanks!
mike.sw said:
I'm having trouble with the following step:
4. Under Universal Serial Bus Controllers right click on the Samsung composite driver and chose Properties.
I don't have such device in device manager.
Windows 7 x86
Click to expand...
Click to collapse
Is your device plugged in to your PC and in download mode?
I suppose you would also have needed to install Kies at some stage. However, Odin makes use of this driver so if Odin works it should be there.
Oh god, I'm an idiot.
Connected phone to wall charger, and was sure it's my USB cable.... *facepalm*
jodue said:
very cool stuff, thank you a lot!!!
first of all. i am a linux only user and had to run odin on a virtual box which is a pain in the ass but i fully understand your argument to first only release a windoze version to get it out of alpha state.
now, while i know that it's also possible to brick the device with odin and i have flashed several times now. i am a little afraid to try heimdall (to be honest). did you implement the additional security measures (delay+resend) after you bricked your device or before? you wrote that heimdall supports only full firmware flashes atm. it would be cool if we could also use it to just flash a kernel. any plans to implement this?
thanks!
Click to expand...
Click to collapse
I implemented the delay and resend after my phone was bricked.
I think I was ludicrously unlucky in how my phone got bricked. Given that the primary boot loader is only 256 KiBs whilst the factory filesystem is over 250 MiB (plus other files). The chance of failing whilst the primary or secondary boot loader is being sent is quite slim.
When I was debugging Heimdall I would often intentionally stop at other points during the flash. After resetting it would just result in the connect phone to PC image being displayed (instead of booting). Then I could just restore with Odin (after several attempts) and then further restore using ClockworkMod backups.
However, by no means do I want to pressure anyone into running the software, especially whilst it's only an alpha release.
EDIT: I just realised I didn't answer your question about just kernel flashing. Yes, I definitely intend to implement functionality to only flash singular components at a time. I'd also like to implement functionality to dump files if possible. However I won't know if I can do that until I get my phone repaired or get my hands on another Galaxy S device.
Hey again
I'm looking the flash.bat and see it need two files that my firmware (I9000JPJG8) don't have in zip/tar file:
-boot boot.bin -sbl Sbl.bin
How heimdall will handle it? Is it safe to go on?
mike.sw said:
Hey again
I'm looking the flash.bat and see it need two files that my firmware (I9000JPJG8) don't have in zip/tar file:
-boot boot.bin -sbl Sbl.bin
How heimdall will handle it? Is it safe to go on?
Click to expand...
Click to collapse
Heimdall won't let you continue as the first thing it does (before connecting to your phone) is check that the specified files exist. Those two files are the primary boot loader and the secondary boot loader. I'm a bit surprised they're missing from your firmware. They're usually in the Code tar archive.
You'll have to grab them from somewhere. If you don't want to download more firmware then you can retrieve them from your device. Err, I'll update this post in a minute or two with instructions.
This is one little tricky FW.
The last one I tried was I9000XWJM5 and it had 3 tar files as supposed.
This one just have one tar file, and people who installed it with Odin said to use only the PDA section with the single tar file.
I'm not sure, but it seem to work for them.
BTW in your README I think you should remind for the folks to put the pit file in the dir as well
Also here in WIN7 it didn't let me change the driver as simply as stated in README.
What I had to do is to use the Have Disk option, and point it to the dir. Otherwise it says that Windows already have the correct driver installed.
mike.sw said:
This is one little tricky FW.
The last one I tried was I9000XWJM5 and it had 3 tar files as supposed.
This one just have one tar file, and people who installed it with Odin said to use only the PDA section with the single tar file.
Click to expand...
Click to collapse
If you still have I9000XWJM5 laying around you could give that a go, it is the firmware I use.
If not you can get the boot loaders by copying them first to your sdcard using:
Code:
sudo dd if=/dev/block/bml1 of=/sdcard/boot.bin
sudo dd if=/dev/block/bml4 of=/sdcard/Sbl.bin
Clearly your phone needs to be rooted to use sudo.
EDIT: I need to go to bed now (it's actually well and truly morning here). I'll be on in 5-6 hours if you require any more help. Thanks for going to all this effort so far!
Yea, I'll grab JM5 again just in case the **** hits the fan
Benjamin Dobell said:
I implemented the delay and resend after my phone was bricked.
I think I was ludicrously unlucky in how my phone got bricked. Given that the primary boot loader is only 256 KiBs whilst the factory filesystem is over 250 MiB (plus other files). The chance of failing whilst the primary or secondary boot loader is being sent is quite slim.
When I was debugging Heimdall I would often intentionally stop at other points during the flash. After resetting it would just result in the connect phone to PC image being displayed (instead of booting). Then I could just restore with Odin (after several attempts) and then further restore using ClockworkMod backups.
However, by no means do I want to pressure anyone into running the software, especially whilst it's only an alpha release.
EDIT: I just realised I didn't answer your question about just kernel flashing. Yes, I definitely intend to implement functionality to only flash singular components at a time. I'd also like to implement functionality to dump files if possible. However I won't know if I can do that until I get my phone repaired or get my hands on another Galaxy S device.
Click to expand...
Click to collapse
thank you for the additional information on the process. i think i will give it a shot next time i want to flash a new firmware. donation is on the way!

Updated version to enable Unknown Sources

This is the latest release of my fix (June 14, 2011). This version addresses the Market ID and Moto Blur issue.
This version does not require the use of scripts on the phone. It uses ADB and sqlite3 (both are included in the zip file).
I created a new thread here because the older version was so full of bugs and comments about said bugs I figured it was time to start fresh, seeing how I am using a different method (the method I should have used to begin with) for this hack. Also, this should have been in development to begin with.
I have not had a chance to test the latest version, aside from verifying the awk command works as exptected. The rest is a strong educated guess, mixed with a re-tooling of it to just use Android Debug Bridge to do what I was having scripts do in the past. Should be much more reliable.
IF YOU DECIDE TO USE THESE INSTRUCTIONS: PLEASE, read through this page entirely from top to bottom at least once prior to doing anything. This way, if you are unsure on anything, you can ask the questions you need answers to. I am not liable for anybody messing up their phone because they didn't think to read the F'n manual prior to following these steps.
If you don't read this through completely before starting, and you brick your system, Don't come crying to me. I warned you.
This version makes it close to impossible to brick the system, but I left that bit in to cover my arse.
If you do not have the phone rooted, download the second zip file, and install the drivers found below:
Motorola Driver(install before you run the batch file)
You will need to enable USB Debugging:
On your phone,go to Settings->Applications->Development->Check "USB Debugging"
Latest version installs busybox for you, but if it doesn't, the script will pause for you to check, and tell you how to quit out of my script before proceding. If you have issues with that, let me know. I haven't tested this version, but by all accounts, it should be more reliable than my previous iterations, with the plus side of not having to purchase an app.
I have not tested it, so you may still need to tell it to install, but it should install the apk.
1. Download the attachment located in this post.
Unzip to a folder on your desktop.
PLUG IN YOUR PHONE NOW!!!
Double click on the batch file ("enable_unknown_sources.bat"). You may have to run as administrator, but I don't think so. Built on Windows XP (I'm a linux guy who wrote this at work in a couple minutes)
When it prompts for you to OK the super user for "unknown", look at your phone. It should have a prompt. If not, it may be ok. We will see....
once your phone has rebooted, you phone will have "unknown sources" enabled already. Don't worry about rebooting. The batch file did that for you.
Quite a bit less work than before. Good news: it's done! never to worry about it again...unless you upgrade....
DISCLAIMER:
DO NOT FOLLOW ANY OF MY STEPS IF YOU ARE UNSURE OF WHAT YOU ARE DOING! I have done my best to ensure that the instructions are accurate, but I made mistakes in the first revision, so who's to say that I didn't miss something this go 'round as well? If you decide to follow this walk-through, your actions are an agreement to not hold me liable if your phone becomes a pretty brick. I am not responsible for what you do with this information. If you have no idea how to do any portion of these instructions, you can either walk away (best idea), or ask for help here.
I am also not the 2nd shooter on the grassy knoll, nor am I the cause of all your woes throughout life. I always wanted to say that in a disclaimer.
Thanks to Vahnyyz for reminding me that I forgot to have you enable USB Debugging.
IF YOU HAVE PROBLEMS:
Have you installed the Motorola Drivers?
Do you have Debugging enabled?
If the answer to the 2 questions above are "yes, damnit! Give me a good answer, and stop wasting my time with these stupid questions", then you will need to tell me at what point the scripts fail. I will look into the problem as fast as I can.
so I tried the program you put on and everything because I haven't been able to root my phone as of yet, but the file I downloaded that included rooting did not work, everytime I ran the application it stated that "Device Not Found" and my phone is connected through USB at the moment.
Forgot a part
Thanks for letting me know about your issue. You need to do the following:
Ensure you have installed the drivers on you computer
Ensure USB Debugging is turned on
To enable USB Debugging, (on your phone...duh) go to Settings->Applications->Development->Check "USB Debugging"
as soon as I run the. bat file, command screen tells me to make sure that busybox is installed, which it is, to unplug phone, go to, busybox and install. Wife's phone is already rooted, once I hit next, "unknown" will pop up on the screen for a second and then....nothing.
Need to fix that to state "....after you ensure busybox is installed, plug phone back in"
Just plug the phone back up prior to proceding
Sent from my GT-I9000 using XDA App
How is the no blur version coming along....anxiously waiting for that!
JBallin4life27 said:
How is the no blur version coming along....anxiously waiting for that!
Click to expand...
Click to collapse
I am running into a problem I believe is caused by an older version of clockworkmod. I am trying to see if I can get a newer version running.
The issue:
It appears that the update file I generate is incompatable with the updater built into the version of ClockWorkMod I am running. Anybody have a newer build of the CWM I can use for testing?
jonsjava said:
I am running into a problem I believe is caused by an older version of clockworkmod. I am trying to see if I can get a newer version running.
The issue:
It appears that the update file I generate is incompatable with the updater built into the version of ClockWorkMod I am running. Anybody have a newer build of the CWM I can use for testing?
Click to expand...
Click to collapse
I had CM6 running on my motorola backflip and still have all the files saved on my computer...would it be in there somewhere and would that be useful to you?
JBallin4life27 said:
I had CM6 running on my motorola backflip and still have all the files saved on my computer...would it be in there somewhere and would that be useful to you?
Click to expand...
Click to collapse
I'm needing the second stage recovery file to make ClockWorkMod something newer than 2.x.x Needing to have it somewhere in the neighborhood of 3.x
jonsjava said:
I'm needing the second stage recovery file to make ClockWorkMod something newer than 2.x.x Needing to have it somewhere in the neighborhood of 3.x
Click to expand...
Click to collapse
Yea lol...no idea what that all means...sorry i'm not any help

[Q] MTP USB Device?

I thought I was doing great after uninstalling bloatware. However, when I tried to connect my Note 2 to my PC via USB I received the error that MTP USB Device driver could not be loaded. Apparently I must have uninstalled something on my Note 2 that is not allowing me to connect to the PC via USB. I have been searching for days, read many postings with the same problem, downloading various Driver apps to no avail. I even downloaded and installed Samsung Drivers which also did not work. I still can use my USB plug from NOTE 2 to my Flash Drive to get stuff transfered to/from Note2/PC.
It never ends. Fix one thing and then another pops up. LOL
What else can I say except - H-E-L-P.
What de-bloater tool did you use ?
Does it show the apps it uninstalled ?
By default any de-bloater should only delete apps from /system/app and
/data/app.
Have you considered starting over by flashing root injected stock Rom?
Sent from my SGH-T889 using xda app-developers app
ciphercodes said:
What de-bloater tool did you use ?
Does it show the apps it uninstalled ?
By default any de-bloater should only delete apps from /system/app and
/data/app.
Have you considered starting over by flashing root injected stock Rom?
Click to expand...
Click to collapse
I did not use any de-bloater. I used Titanium Backup Pro (TBP) and have a complete list of all apks uninstalled.
In TBP under Backup/Restore all apks uninstalled are listed. Plus, I kept a list of all that I deleted.
No, I have not considered starting over by flashing root injected stock ROM. Thought about it, however, if I
do flash, I'm back to square one.
If I don't resolve this one problem, I will remain at this point until new OS comes out. I do have a work around for time being.
I do appreciate your help, time and concern. Thank you.
What really amazes me is that this problem is all over the Internet and I can't find a simple solution. I have Googled it,
been on here doing searches, reading postings, etc. I have even tried Driver Booster.
asctony said:
I did not use any de-bloater. I used Titanium Backup Pro (TBP) and have a complete list of all apks uninstalled.
In TBP under Backup/Restore all apks uninstalled are listed. Plus, I kept a list of all that I deleted.
No, I have not considered starting over by flashing root injected stock ROM. Thought about it, however, if I
do flash, I'm back to square one.
If I don't resolve this one problem, I will remain at this point until new OS comes out. I do have a work around for time being.
I do appreciate your help, time and concern. Thank you.
What really amazes me is that this problem is all over the Internet and I can't find a simple solution. I have Googled it,
been on here doing searches, reading postings, etc. I have even tried Driver Booster.
Click to expand...
Click to collapse
Sometimes we miss something small and obvious. Have you disabled USB debugging mode in Developer options?
AE74 said:
Sometimes we miss something small and obvious. Have you disabled USB debugging mode in Developer options?
Click to expand...
Click to collapse
Yes, I just tried that based on your suggestion. However, still got the same: MTP USB Device error. Thanks for your help.
asctony said:
Yes, I just tried that based on your suggestion. However, still got the same: MTP USB Device error. Thanks for your help.
Click to expand...
Click to collapse
Can you check your phone setting by dialing *#7284#?
Method 3 on the link below.
http://www.danrichard.com/2013/06/1...nect-to-pc-via-usb-with-unknown-device-error/
AE74 said:
Can you check your phone setting by dialing *#7284#?
Method 3 on the link below.
http://www.danrichard.com/2013/06/1...nect-to-pc-via-usb-with-unknown-device-error/
Click to expand...
Click to collapse
Tried this and again no success.
Method 3 – Ensure you have the right settings By default my phone was already set to the right settings for USB file transfers so I’ll assume most of these ship with the same configuration, hence why I have this as method 3. I found this on a forum and while it did not work for me, it seems a few other folks declared it a success.
1. Launch the phone key pad on your note and press *#7284# (don’t forget to start with that * symbol!) When you press the last pound sign (#) this will bring up an option that will allow you to change your USB connection settings (modem or PDA) – change it to PDA.
I did not get any option that allowed me to change the USB Connection settings when I entered *#7284#. So I dialed that number and got an error Unable to process request.
Tried new USB cable and it still tried to load/install device drivers but not successful. Same error MTP USB Device Failed.
Thanks again for trying to help. I do appreciate your help and time. Still looking for a resolution.
asctony said:
Tried this and again no success.
Method 3 – Ensure you have the right settings By default my phone was already set to the right settings for USB file transfers so I’ll assume most of these ship with the same configuration, hence why I have this as method 3. I found this on a forum and while it did not work for me, it seems a few other folks declared it a success.
1. Launch the phone key pad on your note and press *#7284# (don’t forget to start with that * symbol!) When you press the last pound sign (#) this will bring up an option that will allow you to change your USB connection settings (modem or PDA) – change it to PDA.
I did not get any option that allowed me to change the USB Connection settings when I entered *#7284#. So I dialed that number and got an error Unable to process request.
Tried new USB cable and it still tried to load/install device drivers but not successful. Same error MTP USB Device Failed.
Thanks again for trying to help. I do appreciate your help and time. Still looking for a resolution.
Click to expand...
Click to collapse
Perhaps you may not have the system file Phone Utility 1.0.0 or corrupted.
AE74 said:
Perhaps you may not have the system file Phone Utility 1.0.0 or corrupted.
Click to expand...
Click to collapse
Yes, I do have Phone UTL as shown in TBP. How do I access it? I can't under the Method 3.
asctony said:
Yes, I do have Phone UTL as shown in TBP. How do I access it? I can't under the Method 3.
Click to expand...
Click to collapse
I am trying to find out if you have all the files and compare with my files to find out why I can access phone utility and you can't. Your issue may be the driver or files idk. Tbh, I am not an expert. Just another android enthusiast trying to help. I have Tweaked Rom so mine may be different. I have found 2 system files in TBU, Service Mode and MTP Application. Do you have them also? Does service mode work for you when you dial, for example, *#0011#?
SUCCESS-Thanks to Y-O-U!!!!
AE74 said:
I am trying to find out if you have all the files and compare with my files to find out why I can access phone utility and you can't. Your issue may be the driver or files idk. Tbh, I am not an expert. Just another android enthusiast trying to help. I have Tweaked Rom so mine may be different. I have found 2 system files in TBU, Service Mode and MTP Application. Do you have them also? Does service mode work for you when you dial, for example, *#0011#?
Click to expand...
Click to collapse
Yes, I uninstalled both of those. Re-installed both Service Mode and MTP Application, powered off both PC and Note 2. Rebooted, USBd Note 2 to PC and SUCCESS!!!!!!!!!
Thank you very much for your help!!!!! You are no longer a Jr. U R A SR!!!

Linux & Heimdall

Just want to flash TWRP and root sm-t700 using linux anyone tried this?
Sent from my Moto G using XDA Free mobile app
Want this also. No Windows available here at home nor at work.
Thanks All
I'm also a Linux only PC user but have concluded that l have two options. One is a Windows Virtualbox environment using an old Windows OS (e.g. XP, Vista) that I own. My concern with this option is the reliability of the VM's USB connection. I have used it successfully to update firmware on a TV remote but would be more cautious in an activity which may brick an expensive device.
The more reliable option is to use a USB Hard drive bay and an old unused 30-40GB hard drive (Sata or IDE) or a 32-64GB bootable USB flash drive to install a Windows OS and boot off it just when up need Odin or KIES 3.
All of my research and reading conclude that Heidelberg and/or the Java alternative combined with recent Samsung devices are not ready yet so these other options are safer and faster to set up and use at this time.
If you do not presently have a copy of a Windows OS you likely can find a friend who has a old unused XP CD lying around.
Up to a week ago when I bought my Tab S I only had Nexus devices (10 and 5) so their Linux ADB capability made any firmware changes a breeze. Too bad Google does not enforcement ADB as a standard. Let OEM's put out their own KIES equivalents, as much of that functionality can be worked around anyway (e.g. network shares).
Sent from my SM-T800 using XDA Premium HD app
3DSammy said:
I'm also a Linux only PC user but have concluded that l have two options. One is a Windows Virtualbox environment using an old Windows OS (e.g. XP, Vista) that I own. My concern with this option is the reliability of the VM's USB connection. I have used it successfully to update firmware on a TV remote but would be more cautious in an activity which may brick an expensive device.
Click to expand...
Click to collapse
The way I understand it (I might be horribly wrong is that you should be ok if all you're going to do is to flash a custom recovery, not an entire ROM since only the recovery partition would be affected.
If you do not presently have a copy of a Windows OS you likely can find a friend who has a old unused XP CD lying around.
Click to expand...
Click to collapse
There are actually legal ways of downloading Windows for free. One is to download a copy from Microsoft itself. Google for "Windows evaluation copy". This will get you a perfectly free copy of Windows 8.1. The only catch, besides the need to register and give some personal info, is that your Windows installation will time out after 30 days, which should be more than enough time to flash a custom recovery onto your Android device.
I've also heard of a probably legal way to download a copy of Windows 7 from a licensed online distributor. This was supposed to be a backup copy of the OEM version (for those who lost or damaged their Windows installer), which needs to be activated with a valid key. However, you can run your Windows install without activation also for 30 days.
Speaking of legal, I'm actually more concerned about the legality of Odin. Does anybody have any idea who authored the software?
Odin is samsungs official software.
Microsoft also has VM images for download, which are meant for testing Internet Explorer versions... They also have limited lifetime, but if you want a VM it's a faster option.
Too lazy to Google for the url, cause I'm on the phone and all
EDIT: http://dev.modern.ie/tools/vms/
Real or virtual Windows is the only way to go. Heimdall or anything that uses its code doesn't work on the tab s.
fred_be9300 said:
Microsoft also has VM images for download, which are meant for testing Internet Explorer versions... They also have limited lifetime, but if you want a VM it's a faster option.
Too lazy to Google for the url, cause I'm on the phone and all
EDIT: http://dev.modern.ie/tools/vms/
Click to expand...
Click to collapse
Seems to be the better option if you don't want to bother with the process of virtual disk setup and OS installation. Like you said it's also a much smaller download if you choose the IE6 on XP VM (1GB vs. the 3GB+ needed for Windows 7/8). But does the VM copy actually provide USB access? I'm asking because I usually use KVM/QEMU rather than VirtualBox, which is quite hard to set up from the command line compared to KVM.
Gondwanaland said:
But does the VM copy actually provide USB access?
Click to expand...
Click to collapse
I don't know. I guess that's depends more on the features of the VM player software (VMware, kvm, VirtualBox, ..) than on the VM. I've never tried using USB within a VM.
fred_be9300 said:
I don't know. I guess that's depends more on the features of the VM player software (VMware, kvm, VirtualBox, ..) than on the VM. I've never tried using USB within a VM.
Click to expand...
Click to collapse
USB's working fine. I just checked with the IE8 on WinXP image for Virtualbox, which I ran under KVM! Tip for KVM users the zip archive contains a file with an .ova extension. This appears to be a standard Unix tar archive that in turn contains two files with .vdmk and .ovf extensions. The .vdmk file is the Virtualbox image that you can run through KVM in read-only mode. If you want to save changes, you need to convert the image to KVM's native qcow2 format. Note: I only tested if Odin can recognize a Samsung device is connected. I haven't actually tried flashing an image, yet.
Gondwanaland said:
... Note: I only tested if Odin can recognize a Samsung device is connected. I haven't actually tried flashing an image, yet.
Click to expand...
Click to collapse
If you attempt to flash please post your results either way, thanks.
Sent from my SM-T800 using XDA Premium HD app
Successful Odin flashing from a Virtualbox VM
I have successfully flashed Samsung stock firmware to a SM-T800 from a Virtualbox Windows 7 VM guest with Odin v3.10 and a Ubuntu 14.04 host. The guide is general to Windows VMs. I set up both an XP and Windows 7 which had both KIES3 and Odin v3.10 access to the SM-T800 but only flashed with the Win7 VM.
[How-To] Linux, Virtualbox and ODIN for your Samsung device
Also I rooted without tripping KNOX using this guide:
[GUIDE] How to root without tripping knox - Kitkat and Lollipop, Locked bootloader
It's also quite easy to create a bootable version of Windows on a usb drive.
Use Heimdall, worked for me
lucasavalos said:
Just want to flash TWRP and root sm-t700 using linux anyone tried this?
Sent from my Moto G using XDA Free mobile app
Click to expand...
Click to collapse
I just installed TWRP 3.1.1; then Lineage 14.1
Here's my setup:
Target: SM-T700
Workstation: Arch Linux, system update 2011-11-11
Heimdall 1.4.2
Run heimdall command line as root, one command per boot works and if I got an error I needed to unplug the battery to get another successful command
Try
Code:
#heimdall print-pit
and if that works and reboots your device then
Code:
#heimdall flash --RECOVERY twrp-3.1.1-0-klimtwifi.img --no-reboot
Then unplug the battery, boot straight to recovery; failing recovery boot on first try overwrites your TWRP recovery image.
Good luck!
Unplug the battery? On a T700? Interesting lol.

Categories

Resources